Claude Code Changelog·2026年5月6日 10:40·約4分
Claude Code v2.1.129 の新機能追加と環境変数拡張
TL;DR
Anthropic は Claude Code のバージョン 2.1.129 をリリースし、プラグインの URL 指定やターミナル出力の強制同期機能を追加しました。これにより、開発環境での柔軟性が向上します。
変更点
- 現在のセッション用に、プラグインの .zip アーカイブを URL から取得するための --plugin-url フラグを追加しました。
- クリップボードやターミナルで自動検出が漏れる場合(例:Emacs eat)に同期出力を強制的に有効にするための環境変数 CLAUDE_CODE_FORCE_SYNC_OUTPUT=1 を追加しました。
- CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE: Homebrew または WinGet のインストール設定でこの値を設定すると、Claude Code はバックグラウンドでアップグレードコマンドを実行し、再起動を促します。
- プラグインマニフェスト: テーマとモニターは現在 "experimental": { ... } 配下に宣言する必要があります。トップレベルでの宣言も引き続き動作しますが、claude plugin validate コマンドで警告が表示されます。
- /model ピッカー用の Gateway /v1/models ディスカバリー機能は、CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1 を設定することでオプトイン方式となりました(2.1.126~2.1.128 では自動でした)。
- Ctrl+R ヒストリピッカーのデフォルト動作が変更され、すべてのプロジェクト内のすべてのプロンプトを検索するようになりました。これは 2.1.124 以前の挙動に一致します。現在のプロジェクトまたはセッションに絞り込むには Ctrl+S を押してください。
- サードパーティ製デプロイメント(Bedrock, Vertex, Foundry、または ANTHROPIC_BASE_URL ゲートウェイ)では、第一世代の Anthropic サーフェスを指すスピナーのヒントが表示されなくなりました。
- skillOverrides 設定が機能するようになりました:off はモデルから非表示、user-invocable-only はモデルからのみ非表示、name-only は説明を折りたたみます。
- claude_code.pull_request.count OTel メトリクスは、シェルコマンドだけでなく MCP ツールを通じて作成された PR/MR もカウント対象となります。
- ポリシー拒否エラーメッセージに API リクエスト ID が含まれるようになり、サポート担当によるデバッグが容易になりました。
- 認識されない 400 ステータスコードに対して生 JSON を表示する代わりに、根本的なエラーメッセージを表示するように API エラーを修正しました
- /clear コマンド実行後にターミナルタブのタイトルがリセットされなかった問題を修正しました
- パーミッションやその他のダイアログがアクティブな際に /rename コマンドによるセッションタイトルのチップが消えてしまう問題を修正しました
- サブエージェントが実行されている際、プロンプト下のエージェントパネルが表示されないという問題(2.1.122 版での回帰)を修正しました
- 外部エディタへのハンドオフ(Ctrl+G)により、プロンプト上の会話履歴が空白化される問題を修正しました
- /context コマンドでレンダリングされた ASCII ビジュアライゼーショングリッドが会話に出力され、呼び出しごとに約 1.6k トークンを無駄にしてしまう問題を修正しました
- /agents ライブラリのリストにおける矢印キーによるナビゲーションを修正しました。リストがビューポートを超えた場合でも、ハイライトされたエージェントが見えるようにしました
- /branch コマンドの成功メッセージに、/resume コマンドで使用する新しいブランチのセッション ID が含まれていなかった問題を修正しました
- キーキャップ/ZWJ(ゼロ幅結合子)/スキンカラー絵文字を含む太字の見出しが全画面モードで末尾の文字を失う問題を修正しました
- 保存された OAuth 認証情報に user:inference スコープが含まれていないエンタープライズ/チームユーザーに対して、サーバー管理設定ポリシーが適用されなかった問題を修正しました
- サスペンド状態からの復帰後に OAuth リフレッシュ競合が発生し、実行中のすべてのセッションがログアウトされる可能性があった問題を修正しました
- プロンプトキャッシュの TTL(Time To Live)が 1 時間から 5 時間に静かにダウングレードされていた問題を修正しました
- /effort や /model を変更した際、/clear コマンド実行後やコンパクション後にキャッシュミス警告が誤って表示されるようになった問題を修正しました
- Bash(mkdir *), Bash(touch *) および同様の allow ルールがプロジェクト内のパスに対して無視されていた問題を修正しました
- *://スキームのワイルドカードを使用する deniedMcpServers パターンが、大文字小文字を混在させたホスト名に一致しない不具合を修正
- 音声モード時に --debug オプションでログ出力される、無害な WebSocket の警告がエラーとして記録されていた不具合を修正
- [VSCode] /clear コマンドが会話のコンテキストと表示されたトランスクリプトをクリアしなかった不具合を修正
原文を表示
What's changed
- Added --plugin-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
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み