Claude Code CLI 2.1.78 支持流式输出内容了

2026-04-11 15:301阅读0评论SEO问题
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:
github.com/anthropics/claude-code

CHANGELOG.md

main

# Changelog ## 2.1.78 - Added `StopFailure` hook event that fires when the turn ends due to an API error (rate limit, auth failure, etc.) - Added `${CLAUDE_PLUGIN_DATA}` variable for plugin persistent state that survives plugin updates; `/plugin uninstall` prompts before deleting it - Added `effort`, `maxTurns`, and `disallowedTools` frontmatter support for plugin-shipped agents - Terminal notifications (iTerm2/Kitty/Ghostty popups, progress bar) now reach the outer terminal when running inside tmux with `set -g allow-passthrough on` - Response text now streams line-by-line as it's generated - Fixed `git log HEAD` failing with "ambiguous argument" inside sandboxed Bash on Linux, and stub files polluting `git status` in the working directory - Fixed `cc log` and `--resume` silently truncating conversation history on large sessions (>5 MB) that used subagents - Fixed infinite loop when API errors triggered stop hooks that re-fed blocking errors to the model - Fixed `deny: ["mcp__servername"]` permission rules not removing MCP server tools before sending to the model, allowing it to see and attempt blocked tools - Fixed `sandbox.filesystem.allowWrite` not working with absolute paths (previously required `//` prefix) - Fixed `/sandbox` Dependencies tab showing Linux prerequisites on macOS instead of macOS-specific info - **Security:** Fixed silent sandbox disable when `sandbox.enabled: true` is set but dependencies are missing — now shows a visible startup warning - Fixed `.git`, `.claude`, and other protected directories being writable without a prompt in `bypassPermissions` mode - Fixed ctrl+u in normal mode scrolling instead of readline kill-line (ctrl+u/ctrl+d half-page scroll moved to transcript mode only) - Fixed voice mode modifier-combo push-to-talk keybindings (e.g. ctrl+k) requiring a hold instead of activating immediately - Fixed voice mode not working on WSL2 with WSLg (Windows 11); WSL1/Win10 users now get a clear error 此文件已被截断。 显示原始文件

第五条:

  • Response text now streams line-by-line as it’s generated
    响应文本现在按行流式传输,因为它正在生成

试了下,我用的CPA反代GPT-5.4,不是打字机效果,而是一行一行蹦出来的。

不过总比之前那种一下全出来的好多了哈哈

网友解答:
--【壹】--:

为啥我还是一下全蹦出来诶


--【贰】--:

感谢佬友分享


--【叁】--:

体验确实好多了


--【肆】--:

不错不错,感谢分享


--【伍】--:

好像是因为bug又改回去了


--【陆】--:

这个好!