Claude Code v2.1.120 版本更新与问题修复
v2.1.120
Claude Code 发布 v2.1.120 版本。主要更新包括:Windows 环境在缺失 Git Bash 时自动使用 PowerShell;新增 `claude ultrareview` 子命令,支持在 CI 脚本中非交互式运行审查;技能现可通过 `${CLAUDE_EFFORT}` 引用工作强度。多项体验获得优化,如为子进程设置环境变量、隐藏冗余提示、加快多连接器时的启动速度、改进自动模式显示信息等。此外,版本集中修复了十余项问题,涉及工具调用中断、交互覆盖层无响应、终端滚动重复、遥测禁用失效、危险操作误报、菜单显示异常、命令选择器跳动、插件市场加载失败及文件描述符耗尽导致崩溃等。VSCode 扩展也有相应改进。
Added claude ultrareview [target] subcommand to run /ultrareview non-interactively from CI or scripts — prints findings to stdout (--json for raw output) and exits 0 on completion or 1 on failure
Skills can now reference the current effort level with ${CLAUDE_EFFORT} in their content
Set AI_AGENT environment variable for subprocesses so gh can attribute traffic to Claude Code
Spinner tips that recommend installing the desktop app or creating skills/agents are now hidden when you already have them
Show a "use PgUp/PgDn to scroll" hint when the terminal sends arrow keys instead of scroll events
Faster session start when you have many claude.ai connectors configured but not authorized
The auto mode denial message now links to the configuration docs
claude plugin validate now accepts $schema, version, and description at the top level of marketplace.json and $schema in plugin.json
Auto-compact in auto mode now displays auto (lowercase, no token count) instead of a misleading token value
Fixed pressing Esc during a stdio MCP tool call closing the entire server connection (regression in 2.1.105)
Fixed /rewind and other interactive overlays not responding to keyboard input after launching with claude --resume
Fixed terminal scrollback duplication in non-fullscreen mode (resize, dialog dismiss, long sessions)
Fixed DISABLE_TELEMETRY / CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC not suppressing usage metrics telemetry for API and enterprise users
Fixed false-positive "Dangerous rm operation" permission prompts in auto mode for multi-line bash commands containing both a pipe and a redirect
Fixed long selection menus clipping below the terminal in fullscreen mode — the focused option now stays on screen as you scroll
Fixed Write tool output collapsing instead of expanding when clicking "+N lines" in fullscreen
Fixed slash command picker jumping while typing, and improved highlight to only match contiguous substrings in blue
Fixed /plugin marketplace failing to load when one entry uses an unrecognized source format — that entry is shown but installing it prompts you to update
[VSCode] /usage now opens the native Account & Usage dialog instead of returning plain-text session cost
[VSCode] Voice dictation now respects the language setting in ~/.claude/settings.json
Fixed find in the Bash tool exhausting open file descriptors on large directory trees, causing host-wide crashes (macOS/Linux native builds)
来源:Claude Code:GitHub Releases · github.com