Claude Code Changelog·2026年6月11日 05:44·約6分
Claude Code v2.1.172 の更新内容
TL;DR
Anthropic は Claude Code のバージョン 2.1.172 をリリースし、サブエージェントがさらにサブエージェントを生成可能(最大 5 レベル)にしたほか、Amazon Bedrock の AWS リージョン設定やプラグイン検索機能の改善を行いました。
変更点
- サブエージェントは、最大 5 レベルの深さまで独自のサブエージェントを生成できるようになりました。
- Amazon Bedrock は、AWS_REGION が設定されていない場合、~/.aws の設定ファイルから AWS リージョンを読み取るようになりました。これは AWS SDK の優先順位に合わせたものであり、/status コマンドでリージョンがどこから取得されたかを確認できます。
- /plugin コマンドでマーケットプレイスのプラグインを閲覧する際、検索バーが追加されました。
- claude_code.lines_of_code.count という OTEL メトリックにモデル属性が追加されました。
- 使用クレジットを使わずに 1M のコンテキストを使用していたセッションが永久に停止してしまう不具合を修正しました。現在は、セッションが自動的に標準のコンテキスト制限以下にコンパクト化されます。
- 会話内に複数の画像が含まれていた場合に発生する、「会話内の画像が処理できず削除されました」というエラーが繰り返される不具合を修正しました。
- ワーカーからの返信後、最大 30 秒間エージェントビューでセッションが「作業中」のスピナー表示のままになっていた不具合を修正しました。
- 事前ウォームアップされたワーカーにディスパッチされた際、バックグラウンドエージェントが別のディレクトリのプロジェクト設定(.mcp.json の承認や信頼関係など)を読み込んでしまう可能性のある不具合を修正しました。
- デーモンが自動更新された後に古いバージョンで開始されたセッションの、バックグラウンドセッションのアタッチが EAUTH エラーで失敗する不具合を修正しました。
- ネストされたエージェントが停止した後、そのネストされたエージェントによって生成されたバックグラウンドサブエージェントがエージェントパネル上で「アクティブ」のまま停止してしまう不具合を修正しました。
- claude エージェントのディスパッチ入力における /model 提案が、誤解を招くスラッシュプレフィックス付きでレンダリングされ、組織に対して無効なモデルが表示されていた不具合を修正しました。
- サブエージェントモデルのオーバーライド、エージェントディスパッチモデルピッカー、およびアドバイザーモデルに対して、利用可能なモデルの制限が適用されていなかった問題を修正しました
- 利用可能なモデルの許可リストにより、バージョン固有の ID(例:claude-opus-4-8)を使用するエントリがある場合、/model ピッカーの Opus および Sonnet 1M の行が表示されない問題を修正しました
- Bedrock 上の /model ピッカーがプロバイダーが提供していないモデルを提供していた問題、およびそれを選択するとセッションモデルが静かに切り替わり、複数の行に選択マーカーが点灯する問題を修正しました
- ANTHROPIC_DEFAULT_OPUS_MODEL に既に 1M コンテキストの接尾辞が含まれている場合に、モデル ID に二重の 1M コンテキスト接尾辞(例:[1M][1m])が付与される問題を修正しました
- 権限を持つユーザーに対して plan モードで opusplan モデル設定が 1M コンテキストを含まずに提供されていた問題、および opusplan[1m] ワークアラウンドが plan モードでも正しく Opus に切り替わるようにしたことを修正しました
- WebFetch(domain:*.example.com) のワイルドカードドメインルールが、許可、拒否、および要求の位置でサブドメインを一度も一致させなかった問題、および中間パターンワイルドカード(例:Read(secrets-*/config.json))を含むファイル権限ルールが起動時に拒否される問題を修正しました
- 上矢印プロンプト履歴が表示する際、サブエージェントのチャットタブが開いている場合にメインエージェントのプロンプトを表示していた問題を修正しました
- リモートセッションでマウントされたチームメモリストア(CLAUDE_MEMORY_STORES)をメモリーリコールが見つけない問題を修正しました
- プロンプト文字列やコメントに Date.now()/Math.random() が単に触れられているだけで、ワークフロー検証がスクリプトを拒否する問題を修正しました
- マウス追跡を完全にサポートしていない Windows コンソールでのマウス追跡機能を無効化しました
- 長いプラグインリストから戻る際や、プラグインブラウザから Esc キーを押して別のタブに戻った際にカーソルが失われていた /plugin marketplace リストのバグを修正しました
- 冗長なメッセージ正規化を削除し、ツール使用状態に変更がない場合に完全なメッセージ履歴変換を行わないことで、長い会話におけるパフォーマンスを向上させました
- アイドル時の CPU 使用量を削減:/goal status チップがアイドル時にターミナルを毎秒 5 回再描画するのを停止し、サブエージェントが並列実行されている間の UI 再描画数を減らしました
- Chrome での Claude のツール読み込みを改善:ブラウザツールが個別にではなく、バッチ処理された単一の呼び出しでロードされるようになりました
- 非対話型の利用ポリシー拒否メッセージを改善し、新しいセッションを開始するかモデルを変更するよう提案するようにしました
- claude.ai にサインインしていない場合でも /code-review の「ultra」オプションが表示され続けるようにし、クラウドレビューには claude.ai アカウントが必要である旨の説明を追加しました
- リモートコントロールのフッターインジケーターを「/rc active」に短縮し、狭いターミナルでは非表示にしました
- 保留中のループがコンテナを維持しないリモートセッションにおいて、/loop のプロモーションを停止しました
- [VSCode] PowerShell ツール呼び出しが生の JSON としてレンダリングされず、適切なコマンド表示と権限ダイアログが表示されるよう修正し、表示されたシェル出力から ANSI エスケープコードを除去しました
原文を表示
What's changed
- Sub-agents can now spawn their own sub-agents (up to 5 levels deep)
- Amazon Bedrock now reads the AWS region from ~/.aws config files when AWS_REGION isn't set, matching AWS SDK precedence; /status shows where the region came from
- Added a search bar when browsing a marketplace's plugins in /plugin
- Added model attribute to the claude_code.lines_of_code.count OTEL metric
- Fixed sessions using 1M context without usage credits getting permanently stuck — the session now automatically compacts back under the standard context limit
- Fixed a repeating "an image in the conversation could not be processed and was removed" error when the conversation contained multiple images
- Fixed the agents view keeping a session under Working with a busy spinner for up to 30 seconds after the worker replied
- Fixed background agents potentially reading another directory's project settings (.mcp.json approvals, trust) when dispatched onto a pre-warmed worker
- Fixed background-session attach failing with EAUTH for sessions started on an older version after the daemon auto-updated
- Fixed a background sub-agent staying stuck as "active" in the agent panel after a nested agent it spawned was stopped
- Fixed /model suggestions in the claude agents dispatch input rendering with a misleading slash prefix and showing models disabled for your org
- Fixed availableModels restrictions not being applied to subagent model overrides, the agent dispatch model picker, and the advisor model
- Fixed availableModels allowlists hiding the /model picker's Opus and Sonnet 1M rows when entries use version-specific IDs like claude-opus-4-8
- Fixed the /model picker on Bedrock offering models the provider doesn't serve — selecting one silently switched the session model and lit the selection marker on multiple rows
- Fixed model IDs getting a doubled 1M-context suffix (e.g. [1M][1m]) when ANTHROPIC_DEFAULT_OPUS_MODEL already includes one
- Fixed opusplan model setting not shipping with 1M context in plan mode for entitled users; the opusplan[1m] workaround now also correctly switches to Opus in plan mode
- Fixed WebFetch(domain:*.example.com) wildcard domain rules never matching subdomains in allow, deny, and ask position, and file permission rules with mid-pattern wildcards (e.g. Read(secrets-*/config.json)) being rejected at startup
- Fixed up-arrow prompt history showing the main agent's prompts while a subagent's chat tab is open
- Fixed memory recall not finding mounted team memory stores (CLAUDE_MEMORY_STORES) in remote sessions
- Fixed workflow validation rejecting scripts whose prompt strings or comments merely mention Date.now()/Math.random()
- Disable mouse tracking on Windows consoles that don't fully support it
- Fixed the /plugin marketplace list losing its cursor after backing out of a long plugin list, and Esc from the plugin browser returning to the wrong tab
- Improved performance in long conversations by removing redundant message normalization and avoiding full message-history transforms when streaming tool-use state is unchanged
- Reduced idle CPU usage: /goal status chip no longer re-renders the terminal at 5 Hz while idle, and fewer UI re-renders while subagents run in parallel
- Improved Claude in Chrome tool loading: browser tools now load in a single batched call instead of one per tool
- Improved the non-interactive Usage Policy refusal message to suggest starting a new session or changing your model
- /code-review now keeps the ultra option visible when you're not signed in to claude.ai, with an explanation that the cloud review requires a claude.ai account
- Shortened the Remote Control footer indicator to "/rc active" and hid it on narrow terminals
- Stopped promoting /loop in remote sessions, where pending loops don't keep the container alive
- [VSCode] Fixed PowerShell tool calls rendering as raw JSON instead of a proper command display and permission dialog, and stripped ANSI escape codes from displayed shell output
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み