Claude Code:GitHub Releases(RSS)· ashwin-ant·· 2026-05-06精选AI 评分58
Claude Code v2.1.129 版本更新
v2.1.129
AI 导读
Claude Code 发布 v2.1.129 版本,带来多项功能新增与问题修复。新增功能包括支持通过 `--plugin-url` 从 URL 获取插件压缩包、新增 `CLAUDE_CODE_FORCE_SYNC_OUTPUT` 环境变量以强制启用终端同步输出,以及为 Homebrew 或 WinGet 安装提供后台自动更新提示。功能调整方面,插件清单中的 `themes` 和 `monitors` 现在建议在 `"experimental"` 下声明;网关模型发现功能改为通过环境变量手动启用;Ctrl+R 历史记录选择器恢复为默认搜索所有项目的提示。此外,修复了约 20 项问题,涉及 `/clear` 命令、会话标题显示、外部编辑器切换、令牌浪费、OAuth 凭证刷新、缓存警告等多个方面。
推荐理由
Claude Code 用户最烦的 session 消失、token 浪费和缓存降级问题这次都修了,还支持从 URL 加载插件,日常体验会顺滑不少。
正文
What's changed
- Added
--plugin-url <url>flag to fetch a plugin.ziparchive from a URL for the current session - Added
CLAUDE_CODE_FORCE_SYNC_OUTPUT=1env var to force-enable synchronized output on terminals that auto-detection misses (e.g. Emacseat) - Added
CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE: when set on Homebrew or WinGet installations, Claude Code runs the upgrade command in the background and prompts to restart - Plugin manifests:
themesandmonitorsshould now be declared under"experimental": { ... }. Top-level declarations still work butclaude plugin validatewill warn - Gateway
/v1/modelsdiscovery for the/modelpicker is now opt-in viaCLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1(was automatic in 2.1.126–2.1.128) - Ctrl+R history picker now defaults to searching all prompts across all projects, matching pre-2.1.124 behavior. Press Ctrl+S to narrow to the current project or session
- Third-party deployments (Bedrock, Vertex, Foundry, or
ANTHROPIC_BASE_URLgateway) no longer see spinner tips pointing at first-party Anthropic surfaces skillOverridessetting now works:offhides from model and/,user-invocable-onlyhides from model only,name-onlycollapses description- The
claude_code.pull_request.countOTel metric now counts PRs/MRs created via MCP tools, not just shell commands - Policy refusal error messages now include the API Request ID for easier support debugging
- Fixed API errors with unrecognized 400 status codes showing raw JSON instead of the underlying error message
- Fixed
/clearnot resetting the terminal tab title after a conversation - Fixed session title chip from
/renamedisappearing while a permission or other dialog is active - Fixed agent panel below the prompt being hidden when subagents are running (regression in 2.1.122)
- Fixed external-editor handoff (Ctrl+G) blanking the conversation history above the prompt
- Fixed
/contextdumping its rendered ASCII visualization grid into the conversation, wasting ~1.6k tokens per call - Fixed
/agentsLibrary list arrow-key navigation: the highlighted agent now stays visible when the list exceeds the viewport - Fixed
/branchsuccess message not including the new branch's session id for/resume - Fixed bold headers with keycap/ZWJ/skin-tone emoji losing trailing characters in fullscreen mode
- Fixed server-managed settings policy not applying for enterprise/team users whose stored OAuth credentials lacked the
user:inferencescope - Fixed OAuth refresh race after wake-from-sleep that could log out all running sessions
- Fixed 1-hour prompt cache TTL being silently downgraded to 5 minutes
- Fixed cache-miss warning appearing spuriously after
/clearor compaction when changing/effortor/model - Fixed
Bash(mkdir *),Bash(touch *)and similar allow rules not being honored for in-project paths - Fixed
deniedMcpServerspatterns with a*://scheme wildcard not matching mixed-case hostnames - Fixed harmless WebSocket warning being logged as an error in
--debugduring voice mode - [VSCode] Fixed
/clearnot clearing the conversation context and displayed transcript
来源:Claude Code:GitHub Releases(RSS) · github.com