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 .zip archive from a URL for the current session
  • Added CLAUDE_CODE_FORCE_SYNC_OUTPUT=1 env var to force-enable synchronized output on terminals that auto-detection misses (e.g. Emacs eat)
  • 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: themes and monitors should now be declared under "experimental": { ... }. Top-level declarations still work but claude plugin validate will warn
  • Gateway /v1/models discovery for the /model picker is now opt-in via CLAUDE_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_URL gateway) no longer see spinner tips pointing at first-party Anthropic surfaces
  • skillOverrides setting now works: off hides from model and /, user-invocable-only hides from model only, name-only collapses description
  • The claude_code.pull_request.count OTel 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 /clear not resetting the terminal tab title after a conversation
  • Fixed session title chip from /rename disappearing 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 /context dumping its rendered ASCII visualization grid into the conversation, wasting ~1.6k tokens per call
  • Fixed /agents Library list arrow-key navigation: the highlighted agent now stays visible when the list exceeds the viewport
  • Fixed /branch success 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:inference scope
  • 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 /clear or compaction when changing /effort or /model
  • Fixed Bash(mkdir *), Bash(touch *) and similar allow rules not being honored for in-project paths
  • Fixed deniedMcpServers patterns with a *:// scheme wildcard not matching mixed-case hostnames
  • Fixed harmless WebSocket warning being logged as an error in --debug during voice mode
  • [VSCode] Fixed /clear not clearing the conversation context and displayed transcript