2.1.199

Claude Code 2.1.199 - リリースノート

2026年7月2日
Claude Code

日本語サマリー

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

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

本リリースに該当する重大な破壊的変更やセキュリティ修正はありません。ただし、プロキシや証明書に関する重要なエラー処理の改善が含まれています。

主な変更点・バグ修正

  • スラッシュスキルの複数同時呼び出し: /skill-a /skill-b do XYZ のような記述で、先頭から最大5つまでのスキルを同時にロードできるよう修正されました。
  • ネットワーク・APIエラーの堅牢性向上:
    • SSL証明書エラー発生時、無駄なリトライを消費せず即座に適切な修正ヒントを表示するよう修正されました。
    • サーバーの過負荷エラー発生時、破棄されていた途中までの出力(部分レスポンス)が保持されるようになりました。
    • サブスクライバーに対する一時的なサーバーレート制限(429エラー)が、自動的なバックオフリトライによりリカバリーされるよう改善されました。
  • サブエージェントのエラーハンドリング改善: レート制限やAPIエラー(使用量上限到達など)で中断された際、暗黙的に失敗したり成功と誤認されたりする問題が修正され、親エージェントに正しくエラーや部分結果が返されるようになりました。
  • バックグラウンドエージェントの安定性向上:
    • Linux環境のデーモンが約50秒ごとに自己終了してしまう問題を修正しました。
    • macOS (SSH経由) でのコールドスタート失敗や、claude stop がバックグラウンドエージェントの再起動によって無効化される問題などを解消しました。
  • 設定・ファイル破損時の安全性向上: 起動時のリカバリダイアログから破損した config ファイルをリセットする際、ファイルが復旧不可能になる致命的なバグを修正しました(バックアップを生成するように変更)。
  • リトライ設定の上限緩和: CLAUDE_CODE_RETRY_WATCHDOG がデフォルトのリトライ回数を300に引き上げ、CLAUDE_CODE_MAX_RETRIES の上限(15)を撤廃しました。
  • plan mode の動作修正: plan mode 中に状態を変更するブラウザツール呼び出しのプロンプトが出ない問題を修正し、読み取り専用の browser_batch は自動的に許可されるようにしました。
  • フックとCLIコマンドの修正:
    • SessionStart 等の hooks が exit code 2 で終了した際、stderr が隠蔽される問題を修正しました。
    • claude --dangerously-skip-permissions daemon <subcommand> がチャットプロンプトとして誤認識されるバグを修正しました。
  • UI/表示の改善: 待機中のサブエージェントが折りたたみ表示されるようになり、claude agents のセッション行で PR リンクが簡潔な #N 形式で表示されるようになりました。

原文(Release Notes)

What's changed

  • Stacked slash-skill invocations like /skill-a /skill-b do XYZ now load all leading skills (up to 5), not just the first
  • Fixed SSL certificate errors (TLS-inspecting proxies, missing NODE_EXTRA_CA_CERTS, expired certs) burning retries before showing actionable guidance — they now fail immediately with the fix hint
  • Fixed streaming responses being discarded when the API emits a mid-stream overloaded/server error after partial output — the partial is now kept with an incomplete-response notice
  • Fixed subagents cut off by a rate limit or server error silently failing instead of returning their partial work to the parent
  • Fixed subagents reporting API errors (e.g. usage limit reached) as successful results — the error is now reported to the parent agent
  • Fixed the background-agent daemon on Linux killing itself and every running agent every ~50 seconds after an unclean shutdown left a corrupted worker record
  • Fixed background agents failing to cold-start over SSH on macOS with "Could not switch to audit session" (regression in 2.1.196)
  • Fixed claude stop being silently undone when it raced a background-agent respawn — the respawn now honors the stop
  • Fixed background job progress indicators stalling for minutes while the job ran long commands
  • Fixed background sessions on memory-starved machines showing a generic error — they now indicate low memory and suggest freeing resources
  • Fixed remote sessions briefly flapping between Working and Idle in the agent view when a background agent completes
  • Fixed idle subagents vanishing from the agent panel while other subagents were still working; surplus idle agents now collapse into an expandable summary row
  • Fixed typing /model or /fast while viewing a subagent silently opening the lead's model picker — a notice now explains the command applies to the lead
  • Fixed SessionStart, Setup, and SubagentStart hooks silently hiding stderr when exiting with code 2 — the error is now shown in the transcript
  • Fixed claude --dangerously-skip-permissions daemon <subcommand> being treated as a chat prompt instead of running the subcommand
  • Fixed SendMessage silently misrouting when a re-spawned agent reuses a previous agent's name — the tool now detects the mismatch and asks the caller to retarget
  • Fixed opening or resuming a session with no new messages needlessly growing the transcript file
  • Fixed backgrounding a session with ← or /background dropping its /color from the agent view row
  • Fixed resetting a corrupted config file from the startup recovery dialog destroying it unrecoverably — it now backs up the file first
  • Fixed Claude in Chrome repeatedly opening the reconnect page when sessions run from different builds or config directories
  • Fixed plan mode not prompting for state-changing browser tool calls; read-only browser_batch calls are now correctly auto-allowed
  • Transient server rate-limit errors (429s unrelated to your usage limit) are now retried automatically with backoff for subscribers instead of failing the turn
  • CLAUDE_CODE_RETRY_WATCHDOG now raises the default retry count for non-capacity transient errors to 300 and lifts the cap of 15 on CLAUDE_CODE_MAX_RETRIES
  • claude agents session rows now show pull-request links as bare #N without the redundant "PR" label