Claude Code Changelog·2026年5月5日 08:01·約6分
v2.1.128 の新機能:ランダム色、ツール数表示、ZIP プラグイン対応など
TL;DR
バージョン v2.1.128 では、コマンドの色設定がランダムに切り替わるようになり、MCP サーバーの接続状態やツール数が明確に表示されるようになりました。また、プラグインディレクトリ指定で ZIP 形式のアーカイブも利用可能となり、コンソール認証との連携機能も強化されています。
変更点
- /color(引数なし)は、ランダムにセッションカラーを選択するようになりました。
- /mcp は、接続されているサーバーのツール数を表示し、0 ツールで接続されたサーバーにはフラグを立てます。
- --plugin-dir は、ディレクトリに加えて .zip 形式のプラグインアーカイブも受け付けるようになりました。
- --channels は、コンソール(API キー)認証でも動作するようになりました。管理設定を持つコンソール組織では、チャンネルを有効にするために channelsEnabled: true を設定する必要があります。
- /model ピッカーを更新しました:重複した Opus 4.7 のエントリを折りたたみ、現在の Opus は「Opus 4.7」ではなく単に「Opus」として表示されます。
- サブプロセス(Bash、フック、MCP、LSP)は OTEL_* 環境変数を継承しなくなったため、Bash ツールを介して実行される OTEL インストルメント化されたアプリが、CLI 自身の OTLP エンドポイントを自動的に取得しなくなりました。
- MCP: workspace は予約済みサーバー名となりました。この名前の既存サーバーは警告と共にスキップされます。
- MCP サーバーの再接続時に、会話にフルツール名のリストを繰り返し表示して混乱させることがなくなりました。再通知されるツールは、サーバープレフィックスで要約表示されます。
- SDK ホストは、Bash 権限プロンプトに対して永続的な localSettings の提案を受け取るようになりました。これにより、「常に許可」を選択すると .claude/settings.local.json に書き込まれます。
- EnterWorktree は、文書通りローカル HEAD から新しいブランチを作成するようになり、origin/ を基準にしていた従来の動作から変更されました。未プッシュのコミットが失われることはなくなりました。
- オートモード:分類器がアクションを評価できない場合、エラーメッセージにはヒント(再試行、/compact コマンドの実行、または --debug での実行)が含まれるようになりました。
- フォーカスモードで新しいプロンプトを送信した際に、直前のレスポンスが一瞬暗くなる不具合を修正しました。
- Kitty および OSC 9 を通知として解釈するその他のターミナルにおいて、/exit コマンド実行時に毎回表示されていた誤ったデスクトップ通知「4;0;」を修正しました
- レート制限時に実用的なアップセルオプションが表示されるべきところ、「Opening your options…」(オプションを開いています…)という空のメッセージを表示していたリモートコントロール機能を修正しました
- 画像読み取りに失敗した際に「Pasting text…」(テキストを貼り付け中…)でフリーズしていたドラッグ&ドロップによる画像アップロード機能を修正しました
- 標準入力(stdin)経由で claude -p コマンドに非常に大きな入力(10 MB を超えるデータ)をパイプ処理した際に発生するクラッシュループを修正しました
- フルスクリーンモードにおいて、折り返された各行の長 URL が個別にクリック可能ではなかった問題を修正しました
- --plugin-dir オプションで読み込まれたプラグインに対して「Marketplace 'inline' not found」(マーケットプレイス『inline』が見つかりません)と表示されていた /plugin コンポーネントパネルを修正しました
- サーバーが構造化コンテンツとコンテンツブロックの両方を返す場合に、MCP ツールの結果から画像が欠落していた問題を修正しました
- リスト項目内の囲み付きコードブロック(fenced code blocks)をコピー&ペーストする際に、先頭の空白文字がクリップボードに含められていた不具合を修正しました
- /config 設定画面でのタブナビゲーションにおいてフォーカスが固定されてしまう問題を修正しました。現在はタブヘッダーが常にフォーカス状態となり、矢印キーや Esc キーで操作が可能になりました
- OSC 8 ハイパーリンクサポートを持たないターミナル環境で Markdown リンクレベルが失われていた問題を修正しました。現在は URL のみ表示されるのではなく、「ラベル (url)」という形式でレンダリングされます
- 1M コンテキストモデルにおいて、自動圧縮ウィンドウが小さい場合に実際の API 制限に達する前に誤って「Prompt is too long」(プロンプトが長すぎます)とブロックされていたセッション問題を修正しました
- パラレルシェルツール呼び出しにおいて、読み取り専用コマンド(grep, git diff, ls など)の失敗が兄弟プロセスの呼び出しをキャンセルしてしまう不具合を修正しました
- エフォート機能をサポートしていないモデルに対して「with X effort」(X の努力で)と表示されていたバナーメッセージを修正しました
- 3P プロバイダーに対する /fast コマンドのファジーマッチングが、関連のないスキルに一致して「利用不可」を表示するべきところを修正
- Bedrock のデフォルトモデル解決が、地域に適したプレフィックスではなく global.* に解決される問題を修正
- vim モードの修正:NORMAL モードでのスペースキー入力でカーソルが右に移動し、標準的な vi/vim の動作と一致するように修正
- 端末進捗インジケーター (OSC 9;4) がツール呼び出し間で点滅して消える問題を修正し、一連のターン全体で表示され続けるように修正
- 引数なしの /rename コマンドが、最後のエントリがコンパクト境界である再開セッションで失敗する問題を修正
- --resume/--continue 実行後に、以前のセッションからの「リモートコントロールがアクティブ」状態を示す古いステータス行が表示される問題を修正
- 削除されたキャッシュディレクトリを指す古くなった installed_plugins.json エントリが PATH を汚染する問題を修正
- CLAUDE_CODE_SHELL_PREFIX が設定され、引数にスペースやシェルメタ文字が含まれる場合に、MCP stdio サーバーが破損した引数を受け取る問題を修正
- サブエージェントの進捗サマリーでプロンプトキャッシュ(約 3 倍の cache_creation 削減)が表示されていない問題を修正
- npm ソースのプラグインの新バージョンを /plugin update が検出しない問題を修正
- サブエージェントのトランスクリプトが静止している間もサブエージェントのサマリーが繰り返し発火し、アイドル状態のサブエージェントにおける最悪ケースのトークンコストを抑制する問題を修正
- ヘッドレスモードでの --output-format stream-json 設定において、init.plugin_errors に依存関係の降格に加え、--plugin-dir の読み込み失敗も含まれるように修正
原文を表示
What's changed
- Bare /color (no args) now picks a random session color
- /mcp now shows the tool count for connected servers and flags servers that connected with 0 tools
- --plugin-dir now accepts .zip plugin archives in addition to directories
- --channels now works with console (API key) authentication — console orgs with managed settings must set channelsEnabled: true to enable
- Updated /model picker: 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: workspace is 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 localSettings suggestion for Bash permission prompts, so "Always allow" writes to .claude/settings.local.json
- EnterWorktree now creates the new branch from local HEAD as documented, instead of origin/ — 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 /exit in 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 -p via stdin
- Fixed long URLs not being individually clickable on every wrapped row in fullscreen mode
- Fixed /plugin Components 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 /config stranding 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 /fast on 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: Space in 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 /rename without 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.json entries pointing at deleted cache directories polluting PATH
- Fixed MCP stdio servers receiving corrupted arguments when CLAUDE_CODE_SHELL_PREFIX is set and an argument contains spaces or shell metacharacters
- Fixed sub-agent progress summaries missing the prompt cache (~3× cache_creation reduction)
- Fixed /plugin update never 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_errors now includes --plugin-dir load failures in addition to dependency demotions
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み