2.1.129
Claude Code 2.1.129 - リリースノート
2026年5月6日
Claude Code
日本語サマリー
以下は Claude Code 2.1.129 のリリースノートの要約です。
⚠️ 破壊的変更・仕様変更
- Plugin manifests の記述場所変更:
themesとmonitorsは"experimental": { ... }内に宣言することが推奨されました。トップレベルの宣言は引き続き機能しますが、claude plugin validateで警告が出るようになります。 - Gateway モデル検索のデフォルト無効化: Gateway
/v1/modelsによる/modelピッカーのモデル検索(2.1.126〜2.1.128では自動化されていた)がデフォルトでオフになり、CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1によるオプトインが必要になりました。
🚀 新機能と仕様改善
- プラグインのURL読み込み: セッション中にURLからプラグイン
.zipアーカイブを取得できる--plugin-url <url>フラグが追加されました。 - パッケージの自動更新: 環境変数
CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATEを設定すると、Homebrew や WinGet 環境でバックグラウンド自動アップデートと再起動プロンプトが行われるようになりました。 - 同期出力の強制有効化: Emacs
eatのように自動検出に失敗するターミナル向けに、CLAUDE_CODE_FORCE_SYNC_OUTPUT=1で同期出力を強制できるようになりました。 - 履歴検索の挙動変更:
Ctrl+Rの履歴検索が全プロジェクト横断に戻りました(2.1.124以前と同じ挙動)。現在のプロジェクトやセッションに絞るには `Ctrl+S`` を押します。 - サードパーティ環境の改善: Bedrock, Vertex, Foundry,
ANTHROPIC_BASE_URLゲートウェイ等のサードパーティ環境において、Anthropic公式向けのヒントが表示されないようになりました。 skillOverridesの正常化:offでモデルとコマンドから隠蔽、user-invocable-onlyでモデルからのみ隠蔽、name-onlyで説明を省略、という設定が正常に機能するよう修正されました。
🐛 重要なバグ修正
- トークン・キャッシュ関連:
/context実行時に不要なASCIIグリッドが会話に含まれ約1.6kトークンを浪費していた問題や、1時間のプロンプトキャッシュTTLが5分にダウングレードされていた問題を修正しました。 - 権限・セキュリティ関連: 企業・チームユーザーの保存済みOAuthに
user:inferenceスコープが無い場合に設定ポリシーが適用されなかった問題や、deniedMcpServersのワイルドカード (*://) で大文字小文字が混在するホスト名にマッチしなかった問題、Bash(mkdir *)等の許可ルールが機能しなかった問題を修正しました。 - セッション・UI関連: スリープ復帰時のOAuth更新の競合で全セッションがログアウトされる問題、外部エディタ (
Ctrl+G) 呼び出し時の履歴消失、/clear後のターミナルタブタイトルリセット忘れ、サブエージェント実行時のパネル非表示(2.1.122でのデグレ)などを修正しました。 - VSCode拡張機能: 会話コンテキストとトランスクリプトがクリアされない
/clearの問題を修正しました。
原文(Release Notes)
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 surfacesskillOverridessetting 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