2.1.128
Claude Code 2.1.128 - リリースノート
2026年5月4日
Claude Code
日本語サマリー
以下は Claude Code 2.1.128 のリリースノート要約です。
⚠️ 破壊的変更・注意喪項目
- MCPサーバーにおいて、
workspaceが予約名となりました。この名前を使用している既存のサーバーは警告とともにスキップされます。 --channelsが console(APIキー)認証で使用可能になりましたが、マネージド設定を持つ console org はchannelsEnabled: trueを設定する必要があります。
主な変更点・新機能
- プラグインの読み込み機能拡張:
--plugin-dirがディレクトリに加えて.zipアーカイブも直接受け付けるようになりました。 - UI/表示の改善:
/color(引数なし)でランダムなセッションカラーが選択され、/modelピッカーの表示が整理されました。 - API・MCP通信の最適化: Bashツールなどで起動したサブプロセスがCLIの
OTEL_*環境変数を継承しなくなりました。MCPサーバーの再接続時のツールリスト メッセージが簡略化され、ノイズが削減されました。 - Git Worktreeの修正:
EnterWorktreeがorigin/<default-branch>ではなくローカルの HEAD からブランチを作成するようになり、未プッシュのコミットが欠落しなくなりました。 - SDKの設定保存: SDKホストがBash権限プロンプトに対して「Always allow」を選択した際、
.claude/settings.local.jsonにlocalSettingsとして正しく保存されるよう改善されました。
バグ修正(主要なもの)
- 10MBを超える非常に大きな入力を
claude -pの標準入力からパイプした際のクラッシュループを修正しました。 - 並列で実行した
grepやgit diffなどの読み取り専用コマンドが失敗しても、他の並列呼び出しがキャンセルされなくなりました。 - MCPツールの結果として、サーバーが構造化コンテンツとコンテンツブロックの両方を返した際に画像がドロップされる問題を修正しました。
- コンテキスト長が1Mのモデルを使用した際、実際のAPI制限に達する前に「Prompt is too long」と誤ってブロックされる問題を修正しました。
- サブエージェントの要約処理において、プロンプトキャッシュが使用されずトークンコストが余分にかかっていた問題(約3倍の
cache_creationコスト削減)を修正しました。
原文(Release Notes)
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.jsonEnterWorktreenow 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