Claude Code:GitHub Releases(RSS)
v2.1.128版本更新
阅读原文· github.com精选理由
Claude Code 的日常维护版本,修了一堆小 bug 并给了 /color 随机色、插件支持 zip 等细节提升,重度用户建议升,非用户不必关注。
AI 摘要
本次更新包含多项功能优化与错误修复。主要功能上,/color 命令支持无参数随机选色,/mcp 命令显示已连接服务器的工具数量,--plugin-dir 参数新增支持 .zip 插件包。用户体验方面,优化了 /model 选择器的显示。关键问题修复包括:解决了通过标准输入传输超大文件时导致的崩溃循环、修复了长 URL 在全屏模式下无法逐行点击的问题,以及修正了并行 Shell 工具调用中一个命令失败会错误取消同级调用的问题。此外,还处理了 MCP 服务器重连时工具列表刷屏等多个稳定性问题。
原文 · 保持原样,未翻译
What's changed
- Bare
/color(no args) now picks a random session color /mcpnow shows the tool count for connected servers and flags servers that connected with 0 tools--plugin-dirnow accepts.zipplugin archives in addition to directories--channelsnow works with console (API key) authentication — console orgs with managed settings must setchannelsEnabled: trueto enable- Updated
/modelpicker: collapsed duplicate Opus 4.7 entries, and current Opus now shows as "Opus" instead of "Opus 4.7" - Subprocesses (Bash, hooks, MCP, LSP) no longer inherit
OTEL_*environment variables, so OTEL-instrumented apps run via the Bash tool no longer pick up the CLI's own OTLP endpoint - MCP:
workspaceis now a reserved server name — existing servers with that name will be skipped with a warning - Reconnecting MCP servers no longer flood the conversation with full tool-name lists on every reconnect — re-announced tools are summarized by server prefix
- SDK hosts now receive a persistent
localSettingssuggestion for Bash permission prompts, so "Always allow" writes to.claude/settings.local.json EnterWorktreenow creates the new branch from local HEAD as documented, instead oforigin/<default-branch>— unpushed commits are no longer dropped- Auto mode: when the classifier can't evaluate an action, the error now includes a hint (retry,
/compact, or run with--debug) - Fixed focus mode briefly dimming the previous response when submitting a new prompt
- Fixed stray "4;0;" desktop notification on every
/exitin Kitty and other terminals that interpret OSC 9 as a notification - Fixed Remote Control showing an empty "Opening your options…" message on rate limit instead of actionable upsell options
- Fixed drag-and-drop image upload hanging on "Pasting text…" when the image read fails
- Fixed crash loop when piping very large input (>10 MB) to
claude -pvia stdin - Fixed long URLs not being individually clickable on every wrapped row in fullscreen mode
- Fixed
/pluginComponents panel showing "Marketplace 'inline' not found" for plugins loaded via--plugin-dir - Fixed MCP tool results dropping images when the server returns both structured content and content blocks
- Fixed fenced code blocks inside list items carrying leading whitespace into the clipboard on copy-paste
- Fixed tab navigation in
/configstranding focus — the tab header now stays focused so arrows and Esc keep working - Fixed markdown link labels being lost on terminals without OSC 8 hyperlink support — links now render as
label (url)instead of just the URL - Fixed sessions on 1M-context models with a smaller autocompact window being falsely blocked with "Prompt is too long" before reaching the actual API limit
- Fixed parallel shell tool calls: a failing read-only command (grep, git diff, ls) no longer cancels sibling calls
- Fixed banner showing "with X effort" on models that don't support effort
- Fixed
/faston 3P providers fuzzy-matching to an unrelated skill instead of showing "not available" - Fixed Bedrock default model resolving to
global.*instead of the region-appropriate prefix - Fixed vim mode:
Spacein NORMAL mode now moves the cursor right, matching standard vi/vim behavior - Fixed terminal progress indicator (OSC 9;4) flickering off between tool calls — stays visible across the full turn
- Fixed
/renamewithout args failing on resumed sessions whose last entry is a compact boundary - Fixed stale "remote-control is active" status lines from prior sessions appearing after
--resume/--continue - Fixed stale
installed_plugins.jsonentries pointing at deleted cache directories polluting PATH - Fixed MCP stdio servers receiving corrupted arguments when
CLAUDE_CODE_SHELL_PREFIXis set and an argument contains spaces or shell metacharacters - Fixed sub-agent progress summaries missing the prompt cache (~3×
cache_creationreduction) - Fixed
/plugin updatenever detecting new versions of npm-sourced plugins - Fixed sub-agent summaries firing repeatedly while a sub-agent's transcript is static, capping worst-case token cost on idle sub-agents
- Headless
--output-format stream-json:init.plugin_errorsnow includes--plugin-dirload failures in addition to dependency demotions