正文 · AI 翻译
变更内容
- 为 MCP 服务器配置新增了 alwaysLoad 选项——设为 true 时,该服务器的所有工具将跳过工具搜索延迟,始终可用
- 新增了 claude plugin prune 命令,用于移除孤立的自动安装插件依赖;plugin uninstall --prune 会级联清理
- 在 /skills 中新增了按类型筛选的搜索框,让你无需滚动即可在长列表中快速找到技能
- PostToolUse 钩子现在可以通过 hookSpecificOutput.updatedToolOutput 替换所有工具的输出(此前仅限 MCP)
- 全屏模式下:当你向上滚动阅读之前的输出后,在提示词输入框中打字不再会将滚动位置跳回底部
- 超出终端范围的对话框现在支持使用方向键、PgUp/PgDn、Home/End 以及鼠标滚轮滚动,全屏和非全屏模式均适用
- 在全屏模式下,点击跨行长 URL 的任意一行,现在会打开完整的 URL
- SDK 和 claude -p:CLAUDE_CODE_FORK_SUBAGENT=1 现在在非交互式会话中也能正常工作
- --dangerously-skip-permissions 不再对写入 .claude/skills/、.claude/agents/ 和 .claude/commands/ 的操作进行权限提示
- /terminal-setup 现在会启用 iTerm2 的“终端中的应用程序可访问剪贴板”设置,从而使 /copy 命令(包括在 tmux 中)能够正常工作
- 启动时遇到临时错误的 MCP 服务器现在会自动重试最多 3 次,而不再保持断开连接状态
- 终端标签页的会话标题现在会根据你配置的语言设置生成
- 具有相同上游 URL 的 Claude.ai 连接器现在会进行去重,而不再显示为重复项
- Vertex AI:支持基于 X.509 证书的工作负载身份联合(mTLS ADC)
- 升级后启动速度更快:从版本说明启动画面中移除了“最近活动”面板
- LSP 诊断摘要现在支持点击或按 ctrl+o 展开,并会显示展开提示
- SDK:mcp_authenticate 现在支持用于自定义协议完成和 Claude.ai 连接器的 redirectUri
- OpenTelemetry:在 LLM 请求跨度中新增了 stop_reason、gen_ai.response.finish_reasons 和 user_system_prompt(受 OTEL_LOG_USER_PROMPTS 控制)
- [VSCode] 当未配置 Claude Code 语言时,语音听写现在会遵循 accessibility.voice.speechLanguage 设置
- [VSCode] /context 现在会打开一个原生的 token 用量对话框
- 修复了在会话中处理大量图片时出现的内存无限增长问题(RSS 达到数 GB)。
- 修复了在拥有大量对话历史记录的机器上,`/usage` 命令泄露高达约 2GB 内存的问题。
- 修复了长时间运行的工具未能发出明确的进度事件时导致的内存泄漏问题。
- 修复了当 Claude 启动时的目录在会话中被删除或移动后,Bash 工具变得永久不可用的问题。
- 修复了在外部构建版本中,`--resume` 在启动时崩溃的问题。
- 修复了在大型会话中,当某条对话记录因非正常关闭而损坏时,`--resume` 失败的问题——现已跳过损坏的记录行。
- 修复了使用 Bedrock 应用推理配置文件 ARN 时出现的“thinking.type.enabled is not supported”错误。
- 修复了 Microsoft 365 MCP OAuth 因重复或不支持的 prompt 参数而失败的问题。
- 修复了在 tmux、GNOME Terminal、Windows Terminal 和 Konsole 的非全屏模式下,按下 Ctrl+L 或触发重绘时出现滚动回滚重复的问题。
- 修复了在启动时,当连接器列表获取遇到瞬时认证错误时,claude.ai MCP 连接器会静默消失的问题。
- 修复了远程会话中内置工具的“始终允许”规则在 worker 重启后无法保留的问题。
- 修复了在原生构建版本下,通过 managed-settings.json 设置的 NO_PROXY 未被所有 HTTP 客户端遵守的问题。
- 修复了托管设置批准提示在即使接受后也会退出会话的问题——现在会应用设置并继续运行。
- 修复了在 OAuth token 过期后,`/usage` 返回“rate limited”的问题——现在会自动刷新 token。
- 修复了 settings.json 中无效的旧版枚举值导致整个设置文件失效的问题。
- 修复了在无闪烁模式关闭时,`/usage` 对话框内容被裁剪的问题。
- 修复了在全屏渲染器关闭时,`/focus` 显示“Unknown command”的问题——现在会解释如何启用它。
- 修复了当正在运行的二进制文件在会话中被删除时,内嵌的 grep/find/rg shell 包装器失败的问题——现在会回退到已安装的工具。
- 减少了 Bash 工具在大型目录树上执行 find 操作时的峰值文件描述符使用量。
What's changed
- Added
alwaysLoadoption to MCP server config — whentrue, all tools from that server skip tool-search deferral and are always available - Added
claude plugin pruneto remove orphaned auto-installed plugin dependencies;plugin uninstall --prunecascades - Added a type-to-filter search box to
/skillsso you can find a skill in long lists without scrolling - PostToolUse hooks can now replace tool output for all tools via
hookSpecificOutput.updatedToolOutput(previously MCP-only) - Fullscreen mode: typing into the prompt no longer jumps scroll back to the bottom after you've scrolled up to read earlier output
- Dialogs that overflow the terminal are now scrollable with arrow keys, PgUp/PgDn, home/end, and mouse wheel in both fullscreen and non-fullscreen modes
- Clicking any line of a long URL that wraps across rows in fullscreen mode now opens the full URL
- SDK and
claude -p:CLAUDE_CODE_FORK_SUBAGENT=1now works in non-interactive sessions --dangerously-skip-permissionsno longer prompts for writes to.claude/skills/,.claude/agents/, and.claude/commands//terminal-setupnow enables iTerm2's "Applications in terminal may access clipboard" setting so/copyworks, including from tmux- MCP servers that hit a transient error during startup now auto-retry up to 3 times instead of staying disconnected
- The terminal tab session title is now generated in your configured
languagesetting - Claude.ai connectors with the same upstream URL are now deduplicated instead of appearing as duplicates
- Vertex AI: support X.509 certificate-based Workload Identity Federation (mTLS ADC)
- Faster startup after upgrading: removed the Recent Activity panel from the release-notes splash
- LSP diagnostic summaries now expand on click/ctrl+o and show the expand hint
- SDK:
mcp_authenticatenow supportsredirectUrifor custom scheme completion and claude.ai connectors - OpenTelemetry: added
stop_reason,gen_ai.response.finish_reasons, anduser_system_prompt(gated behindOTEL_LOG_USER_PROMPTS) to LLM request spans - [VSCode] Voice dictation now respects the
accessibility.voice.speechLanguagesetting when no Claude Code language is configured - [VSCode]
/contextnow opens a native token usage dialog - Fixed unbounded memory growth (multi-GB RSS) when processing many images in a session
- Fixed
/usageleaking up to ~2GB of memory on machines with large transcript histories - Fixed memory leak when long-running tools fail to emit a clear progress event
- Fixed Bash tool becoming permanently unusable when the directory Claude was started in is deleted or moved mid-session
- Fixed
--resumecrashing on startup in external builds - Fixed
--resumefailing on large sessions when a transcript line was corrupted by an unclean shutdown — the corrupt line is now skipped - Fixed
thinking.type.enabled is not supportederror when using Bedrock application inference profile ARNs - Fixed Microsoft 365 MCP OAuth failing with duplicate or unsupported
promptparameter - Fixed scrollback duplication when pressing Ctrl+L or triggering a redraw in non-fullscreen mode on tmux, GNOME Terminal, Windows Terminal, and Konsole
- Fixed claude.ai MCP connectors silently disappearing when the connector-list fetch hits a transient auth error at startup
- Fixed "Always allow" rules for built-in tools in remote sessions not surviving worker restarts
- Fixed
NO_PROXYnot being respected for all HTTP clients when set viamanaged-settings.jsonunder the native build - Fixed managed settings approval prompt exiting the session even when accepted — now applies settings and continues
- Fixed
/usagereturning "rate limited" after a stale OAuth token — now refreshes automatically - Fixed invalid legacy enum values in
settings.jsoninvalidating the entire settings file - Fixed
/usagedialog content being clipped when no-flicker mode is off - Fixed
/focusshowing "Unknown command" when the fullscreen renderer is off — now explains how to enable it - Fixed embedded grep/find/rg shell wrappers failing when the running binary is deleted mid-session — now falls back to installed tools
- Reduced peak file descriptor usage during
findin the Bash tool on large directory trees