2.1.203
Claude Code 2.1.203 - リリースノート
2026年7月7日
Claude Code
日本語サマリー
Claude Code 2.1.203 リリースノート要約
⚠️ セキュリティ修正および破壊的変更
- [セキュリティ修正] background および agent-view sessions にて、shell-exported な
ANTHROPIC_BASE_URLが破棄され API keys が誤ってデフォルトエンドポイントに送信され 401 エラーが発生する問題を修正しました。 - [破壊的変更] background tasks, diff, workflow detail views を閉じる操作が左矢印キーから
Escキーに変更されました。
その他の重要な変更点
- パフォーマンス改善: interactive sessions でのメモリおよび CPU 使用量の増大を修正しました。また、バンドルされる依存関係の遅延ロードにより、バイナリサイズと起動時メモリをそれぞれ約 7 MB 削減しました。
- MacOS不具合修正: 誤ったメモリ不足検知により、background agent sessions の起動・切替が 15〜20秒間フリーズする問題(2.1.196のリグレッション)を修正しました。
- Worktree・Agentの安定性向上: git worktree が多数あるリポジトリでのエラーや、サブエージェントが親ディレクトリでコマンドを実行してしまう問題、不要な別サブエージェントへの丸投げ動作などを修正しました。
- Daemonの安定性修正: daemon の session token が古くなった際の応答停止や、auto-upgrade 失敗による実行中セッションの強制終了、Windows 環境で古い
PATHを継承してしまう問題などを修正しました。 - UI/UXの改善: ログイン有効期限切れの警告を追加し、manual permission mode であることを示す ⏸ バッジをフッターに表示するようになりました。
- MCP 連携強化: セッションの追加作業ディレクトリを MCP
roots/listに追加し、変更時にnotifications/roots/list_changedを送信するようになりました。 - 設定の不具合修正:
effortLevel変更の無視や、CLAUDE_CODE_DISABLE_MOUSE等のオプトアウト設定が無視される問題を修正しました。 - ターミナル操作性の向上: 長いレスポンスのストリーミング中の応答性を向上させ、スクロール時の画面ジャンプや bash mode 入力時のフリッカーを修正しました。
- VSCode: すべてのセッションで "Enable Remote Control" を有効にする設定トグルを追加しました。
原文(Release Notes)
What's changed
- Added a warning when your login is about to expire, so you can re-authenticate before background sessions are interrupted
- Added a grey ⏸ badge to the footer when in manual permission mode, making the active mode always visible
- Added the session's additional working directories to MCP
roots/list, withnotifications/roots/list_changedsent when the set changes- Fixed opening or switching background agent sessions on macOS stalling for 15–20 seconds due to a false low-memory detection (regression in 2.1.196)
- Fixed background sessions becoming permanently unresponsive to attach, replies, and stop when the daemon's session token went stale — the session now recovers automatically
- Fixed returning to
claude agentssilently stopping running subagents and re-running the prompt from scratch — their work now carries over- Fixed a memory and per-turn CPU regression in interactive sessions: the context-usage indicator no longer re-analyzes the entire transcript after every turn
- Fixed background agents inheriting a stale
PATHfrom the daemon instead of the dispatching shell, causing missing tools on Windows- Fixed background and agent-view sessions dropping a shell-exported
ANTHROPIC_BASE_URL, which sent API keys to the default endpoint and failed with 401- Fixed Bash failing with "argument list too long" in repos with many git worktrees
- Fixed worktree-isolated subagents sometimes running shell commands in the parent checkout instead of their own worktree
- Fixed worktree creation rejecting nested repositories in multi-repo workspaces, leaving background sessions unable to isolate and edit
- Fixed background agents crash-looping when their working directory was deleted, replaced by a file, or became an invalid path — they now fail once with a clear error
- Fixed a background daemon auto-upgrade failure silently killing all running background sessions
- Fixed
TaskStopandTaskOutputfailing to find background agents spawned by another agent — errors now list running agents by id and description- Fixed the
claude agentscomposer discarding your typed message when a slash command isn't available there- Fixed the agent list crashing when opening a stopped session whose conversation was already open in another session
- Fixed background sessions showing "Needs input" in the agent list after the question was already answered
- Fixed background agent startup failures showing only "exit_with_message" instead of the actual error
- Fixed background sessions ignoring
effortLevelchanges in settings.json when forked through the daemon- Fixed attached background sessions ignoring
CLAUDE_CODE_DISABLE_MOUSEandCLAUDE_CODE_DISABLE_MOUSE_CLICKSopt-outs- Fixed
/exitincorrectly warning about running background agents after all named agents had completed- Fixed background sessions started from a non-git directory unable to edit files when a
WorktreeCreatehook was configured- Fixed the
@directory picker inclaude agentsnot showing registered git worktrees- Fixed background task output on Windows being permanently replaced by an empty file after
/clear- Fixed content jumping when scrolling up through long transcript history
- Fixed the terminal flickering and jumping while typing in bash mode when a shell-history suggestion was shown
- Fixed literal
^[[I/^[[Oescape codes being printed when reattaching to a background session- Fixed LSP-only plugins being incorrectly flagged for disuse when their language servers deliver diagnostics or answer navigation requests
- Improved responsiveness while long responses stream: live-preview updates no longer re-render the whole screen
- Improved subagent behavior: agents are now less likely to re-delegate their entire task to another subagent
- Reduced binary size by ~7 MB and startup memory by ~7 MB by loading a large bundled dependency lazily instead of inlining it
- Changed left arrow to no longer close the background tasks, diff, and workflow detail views — press Esc instead
- Changed the empty
claude agentsview to always show the organized sections (Needs input / Working / Completed) with descriptions- Removed the startup "claude command missing or broken" warnings — they now appear in
/doctorand/statusinstead- Removed a redundant navigation hint from the
claude agentsfooter- [VSCode] Added a Settings toggle for "Enable Remote Control for all sessions"