2.1.225
Claude Code 2.1.225 - リリースノート
2026年8月8日
Claude Code
日本語サマリー
以下は Claude Code 2.1.225 のリリースノートの要約です。
注意・破壊的変更・セキュリティ修正
- バグによる破壊的挙動の修正: 一時的な401エラーが発生すると、
CLAUDE_CODE_OAUTH_TOKENが保存されている短命なトークンに置き換えられ、headlessセッションが再起動まで壊れる問題を修正しました(headless環境のユーザーに影響)。- macOSのkeychain読み取りタイムアウト時にMCP OAuthサーバーで401エラーが多発する問題を修正しました。
その他の主な変更点
- Usage / Gateway:
- Usage warningにgatewayの利用上限サポートを追加し、上限に達した際にリセット時間や上限名などが表示されるようになりました(gatewayの2.1.225以降が必要)。
- エージェントとセッション機能の向上 (Remote Control /
SendMessage):SendMessageが、相手からのメッセージを待たずに、名前を指定して他マシンのRemote Controlセッションへの新規会話を開始できるようになりました(ListAgentsでname [ref]として表示)。- Remote Controlで、Claudeアプリから添付された写真を別ツール呼び出しでディスクから読み取るのではなく、直接Claudeに表示するよう改善されました。
- セッション・動作のバグ修正:
- autoモードにおいて、自身のpermission checkに対するsafety-filterの拒絶を連続ブロック上限として誤ってカウントし、リトライを繰り返す問題を修正しました。
- headlessセッション中等のクロスセッションメッセージが無期限で保留状態になる問題や、大規模な会話のcompact後の履歴破損、Claude Code on the webでの再接続時のイベント滞留バグを修正しました。
claude agentsで信頼されていないディレクトリに対するworkspace trustプロンプトを追加しました(claudeの挙動に準拠)。claude self-hosted-runnerが、--base-dirの作成や書き込みができない場合に起動時点で明確なエラーを出して終了するよう修正しました。
- VSCode:
- Focus viewで最新のto-do listや質問コンテキストなどが折りたたまれてしまう問題を修正し、thinking-onlyの折りたたみには「Thought for Ns」と表示するようにしました。
原文(Release Notes)
What's changed
- Added gateway spend-limit support to Claude Code's usage warning; the limit-reached message now names the cap, its reset time, and the operator's message (requires the gateway on 2.1.225)
- Added a workspace trust prompt to
claude agentsfor untrusted directories, matching the behavior ofclaude- Fixed a transient 401 replacing a long-lived
CLAUDE_CODE_OAUTH_TOKENwith a stored login's short-lived token, breaking headless sessions until restart- Fixed MCP OAuth servers on macOS intermittently failing with a burst of 401 errors, as if never authenticated, after a keychain read timed out
- Fixed auto mode counting a safety-filter refusal of its own permission check toward the consecutive-block limit; the action is still denied, but the model is now told to move on rather than retry
- Fixed cross-session messages staying parked without a notice or expiry in headless sessions and during startup
- Fixed conversation history breaking on Remote Control session resume after very large conversations were compacted
- Fixed hovering over a session in another project in the agents list changing the directory the next agent starts in
- Fixed
claude self-hosted-runnerregistering and then failing every session when--base-dircannot be created or written; it now exits at startup with a clear error- Fixed Claude Code on the web sessions being misreported as stuck, re-sending a growing event backlog on every reconnect
- Improved Remote Control: photos attached from the Claude app are now shown to Claude directly instead of being read from disk with a separate tool call
- [VSCode] Fixed Focus view folding away the latest to-do list, a pending question's context, and settled answers; thinking-only folds show "Thought for Ns" and re-collapse when their turn completes
- SendMessage can now start a conversation with your Remote Control sessions on other machines by name (
ListAgentsshows them asname [ref]), instead of only replying after they message you first- SendMessage: a Remote Control recipient you already confirmed is never swapped for a same-named session on this machine when its own list couldn't be checked