2.1.229

Claude Code 2.1.229 - リリースノート

2026年8月12日
Claude Code

日本語サマリー

Claude Code 2.1.229 リリースノート要約

⚠️ 破壊的変更・セキュリティに関する修正

  • /commit-push-pr の安全性向上: --force、--amend、--no-verify などの危険なフラグを持つ git/gh コマンドが自動承認されないように変更されました。
  • Windows向け破壊的変更: Windows環境でのセルフホストランナー起動時に、デフォルトのチェックアウトディレクトリが廃止され、明示的な --base-dir の指定が必須になりました。
  • セキュリティ(Sandbox)の改善: ネットワークドメインリスト内の IPv6 リテラルがブラケット(例: [::1]:443)で囲まれるようになり、曖昧な表記はフェイルセーフ(fail-closed)となり /doctor で警告されるようになりました。
  • MCP OAuthの修正: 厳格な認可サーバーでの問題を解決するため、リダイレクトURIの localhost が 127.0.0.1 に変更されました。

💡 新機能・改善

  • Remote Control機能: claude remote-control --continue による最新セッションの再開機能がドキュメント化されました。また、切断中のセッションが offline、クラウドセッションが cloud として表示されるようになりました。
  • プラグインの動的読み込み: IDEなどのローカルコマンド経由でプラグインディレクトリを指定・再解決し、再起動なしで適用できる機能(mode: "link" を含む)が追加されました。
  • Vertex / Bedrockの安定化: 長時間の思考中のタイムアウト切断を防ぐため、ゲートウェイストリーミングレスポンスに SSE keepalive ping が追加されました。
  • ワークフローの最適化: 同じプレフィックスを持つエージェントの実行タイミングをずらし(stagger)、後続エージェントがキャッシュを再利用できるように改善しました(CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0 で無効化可能)。
  • VSCode拡張の改善: サイドバーでのセッショングループ作成・管理が可能になり、/btw のサイドパネルがサイズ調整可能になりました。

🐛 バグ修正

  • クラッシュ修正: 狭いターミナルでの RangeError や、非文字列値を含むツール呼び出し、Windowsでの拡張パス (\\?\ / UNC) 参照時のクラッシュを修正しました。
  • ストリーミング・UI修正: 長いレスポンスの一部消失・二重表示、IDEの診断情報が多いファイル編集時の数秒間のUIフリーズを修正しました。
  • API制限・エラー処理: 32MBを超える会話の圧縮リトライ無限ループを防ぐ改善や、空白のみのメッセージ送信時の400エラーを修正しました。
  • 各種環境の修正: CLAUDE_CODE_ATTRIBUTION_HEADER 無効時の auto mode の失敗や、CPU制限のあるコンテナでのコア数誤認識を修正しました。

原文(Release Notes)

What's changed

  • Documented claude remote-control --continue for resuming the most recent Remote Control session
  • Added server-supplied Claude Code hook support for self-hosted runner sessions, matching managed-environment behavior
  • Added SSE keepalive pings to gateway streaming responses during long thinking pauses, preventing idle-timeout disconnects on Vertex and Bedrock upstreams
  • Added plugin marketplace command sources: a local command (e.g. an IDE) prints the plugin directory, which is re-resolved each session and applied without a restart; mode: "link" uses it in place
  • ListAgents now marks disconnected Remote Control sessions as offline and labels your cloud sessions as cloud
  • Fixed long responses partly disappearing while streaming and being printed twice in the terminal
  • Fixed a crash to the error screen (including on --resume of the affected session) when a tool call had a non-string glob, file_path, or command value
  • Fixed a RangeError crash when a progress bar or markdown table rendered in a very narrow terminal window (could also crash claude --continue/--resume at startup)
  • Fixed a crash on Windows when a tool call or message referenced a file by an extended-length (\\?\) or UNC path
  • Fixed auto mode failing on every tool call for users who disable the attribution header via CLAUDE_CODE_ATTRIBUTION_HEADER (direct Anthropic API connections)
  • Fixed /model rejecting Sonnet/Opus 1M for claude.ai subscribers using a custom ANTHROPIC_BASE_URL gateway
  • Fixed MCP OAuth with strict authorization servers by using 127.0.0.1 instead of localhost in the redirect URI
  • Fixed Remote Control clients showing a stuck working spinner after a slash command typed in the laptop terminal
  • Fixed the Claude Code Review workflow generated by /install-github-app completing without posting its review on the pull request
  • Fixed multi-second UI stalls after editing a file with thousands of IDE diagnostics while the IDE extension is connected
  • Fixed one-shot claude plugin commands leaving a stray liveness file that could prevent cleanup of outdated plugin versions
  • Fixed dynamic workflows inside CPU-limited containers using the host machine's core count instead of the container's CPU limit
  • Fixed a file-watcher handle leak after atomic file replacements, and an uncaught error on Windows when the scheduled-tasks watcher failed on a network or virtual filesystem
  • Fixed SDK and --input-format stream-json sessions getting a 400 API error when a whitespace-only message was submitted
  • Fixed conversations whose messages alone exceed the API's 32 MB request limit retrying compaction when no images or documents can be stripped; they now fail once with a clear message
  • Fixed OpenTelemetry export from Claude Desktop sessions being rejected by the Desktop-managed gateway when that gateway is also the telemetry endpoint
  • Fixed self-hosted runner and other remote sessions exiting at startup when managed-mcp.json is deployed and the server delivers MCP servers; those servers are now skipped with a warning
  • Fixed self-hosted runner repository preparation hanging on a Git Credential Manager prompt; git now fails fast when credentials are missing
  • Improved workflow fan-outs to stagger same-prefix sibling agents so subsequent agents read the cached prompt prefix instead of re-paying it (CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0 disables)
  • Improved "prompt is too long" errors to explain why automatic compaction could not recover instead of only suggesting /compact
  • Improved sandbox: IPv6 literals in network domain lists are now bracketed ([::1]:443), and ambiguous spellings are enforced fail-closed and flagged by /doctor
  • Updated /login to repeat the CLAUDE_CODE_OAUTH_TOKEN override warning after a successful login
  • Changed /commit-push-pr so git/gh commands with dangerous flags (--force, --amend, --no-verify, etc.) are no longer auto-approved
  • Changed self-hosted runner Windows startup to require an explicit --base-dir; there is no default checkout directory on Windows
  • [VSCode] "Report a problem" and /bug now open the built-in feedback dialog instead of a retired survey link
  • [VSCode] Made the /btw side-question panel resizable by dragging its boundary, in both side-docked and stacked layouts
  • [VSCode] Added session groups in the sidebar — right-click to create, rename, or delete; Cmd/Ctrl- or Shift-click to move several sessions at once