Claude Code v2.1.216 でセッション遅延を修正
本文の状態
日本語全文を表示中
詳細モードで約8分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Claude Code Changelog
Claude Code のバージョン v2.1.216 は、ファイルシステム分離のスキップ機能追加や、セッション中のパフォーマンス劣化・認証エラー・バックグラウンド処理の不具合など多数の修正を含むアップデートである。
AI深層分析を開く2026年8月1日 03:37
AI深層分析
キーポイント
ファイルシステム制御の柔軟性向上
sandbox.filesystem.disabled 設定が追加され、ネットワーク出口制御を維持しつつファイルシステム分離をスキップできるようになった。
セッションパフォーマンスと認証バグの修正
長時間セッションでのメッセージ正規化による遅延や、OAuth トークン更新時の 401 エラー、およびセッションアイドル時の回答消失問題が解消された。
バックグラウンドエージェントとワークツリーの安定化
再開したエージェントのデフォルト復帰防止や、git リポジトリがない場合の削除不可問題など、背景処理およびプロジェクト管理関連の不具合が修正された。
UI/UX およびコマンド実行の改善
マウス操作の破損解消、Ctrl+X によるセッション削除の失敗修正、Windows でのネットワークパスアクセス許可プロンプトの実装など、ユーザー体験が向上した。
セキュリティとコマンド解析の修正
非ASCII文字や不可視Unicode文字を含むコマンドのパーシングおよび権限検証が修正され、誤った解釈を防ぐ。
重要な引用
Added sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control
Fixed a slowdown in long sessions where message normalization cost grew quadratically with the number of turns
Fixed @-mentions silently attaching nothing after file-modifying hooks
Fixed Bash command parsing of non-ASCII characters to match real shell word boundaries
編集コメントを表示
編集コメント
今回の更新は、実務で頻発していたパフォーマンス劣化や認証エラーといった痛点を的確に解消しており、安定運用を重視する開発者にとって即効性のある改善である。特にファイルシステム制御のオプション追加は、セキュリティ要件と開発効率のバランス調整を可能にする重要な機能と言える。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
変更点
- ファイルシステム分離を無効にする設定「sandbox.filesystem.disabled」を追加しました。これにより、ネットワークの外部通信制御は維持したまま、ファイルシステムの隔離をスキップできます。
- 長時間のセッションで発生していたパフォーマンス低下を修正しました。会話数が増えるにつれてメッセージ正規化のコストが二次関数的に増加し、数秒間の停止や復旧の遅延を引き起こす問題です。
- OAuth トークンの有効期限切れや回転(ローテーション)が発生した際に、「HTTP 401」エラーとして分類されたコマンドを自動モードが拒否する不具合を修正しました。
- ユーザーからの回答で「待ってほしい」「まず説明してほしい」と指示しているにもかかわらず、Claude に続行を促していた AskUserQuestion の挙動を修正しました。自由記述による回答は、現在は中立的な表現に統一されます。
- Web 版の Claude Code で、セッションが数分間アイドル状態になった後に同じ質問を再発問し、ユーザーの回答を破棄してしまう問題を修正しました。
- ファイル変更フック実行後や Vim のドットリピート(c-演算子)、貼り付け操作後に @メンションが何も付与されない不具合、再開時にステータスラインが二重に表示される問題、および失敗時にレジュームピッカーが応答しなくなる問題を修正しました。
- 背景で実行されていたエージェントセッションが、デフォルトのエージェントにリセットされてしまう不具合を修正しました。現在は、エージェントのプロンプトやツールの制限も正しく復元されます。
- ワークツリー分離型のサブエージェントが、git -C や --git-dir、GIT_DIR/GIT_WORK_TREE などの指定により、共有されたチェックアウト先に誤って git コマンドをリダイレクトする問題を修正しました。
- 作業ディレクトリが選択したプロジェクトと一致しない場合に、別のプロジェクトの残存ワークツリーにセッションが割り当てられてしまう不具合を修正しました。
- Git リポジトリが存在しないワークツリーを持つ背景セッションが削除できなくなる問題を修正しました。
- "claude daemon stop --any" コマンドが、古くからのロックファイル(レガシーなデモンロック)の存在により、関連のないプロセスを終了させてしまう可能性のある不具合を修正しました。
- 背景タスクを伴う長時間実行中のセッションにおいて、アイドル状態のプロンプトで「Esc」キーを連打してもリワインドピッカーが開かない不具合を修正しました。
- && リストや否定演算子の内部にリダイレクトが含まれる複合文に対する Bash コマンドの権限チェック機能を修正しました。
- エージェントリストで「Ctrl+X」を2回押してセッションを削除しようとした際に失敗したり、バックグラウンドワーカーが終了した後に削除されたセッションが再出現したりする不具合を修正しました。
- 起動直後の高優先度メッセージの到着により、背景サブエージェントがキャンセルされる不具合を修正しました。
- /memory、/plan、/keybindings のいずれかから GUI エディタを開いている際、または「Ctrl+G」でエディタを呼び出している際に、ターミナル内でマウスやフォーカスに関するゴミが表示される問題を修正しました。また、これにより /memory はエディタの終了を待たずに処理を進められるようになりました。
- セッションの OAuth トークンに必要なスコープが含まれていない場合に、Chrome 内の Claude が再接続時に 403 エラーでループする不具合を修正しました。
- .claude ディレクトリ内のシンボリックリンクを経由してワークフローの保存やスケジュールタスクの書き込みが行われた際、プロジェクト外へ誤って書き込まれる可能性があった問題を修正しました。
- MCP の再認証処理において、新しいサインインが成功する前に有効な資格情報が無効化される不具合と、背景セッションで「認証が必要」というメッセージが表示された際に実行不可能なコマンドを指し示す問題の両方を修正しました。
- Windows 上で読み取り専用コマンドを実行した際、ネットワークパスへのアクセス時に権限プロンプトが表示されない不具合を修正しました。
- Bash コマンドのパース処理において、非 ASCII 文字が実際のシェル単語境界と一致しない問題を修正しました。
- 不可視の Unicode 文字を含むコマンドに対する PowerShell ツールの権限検証機能を修正しました。
- フルスクリーンモードでダイアログが表示された際、パネルの右端を超えて広がってしまう不具合を修正しました。
- フルスクリーンモードで、/config の設定リスト表示時にキーボードヒントのフッターが切り捨てられていた不具合を修正しました。
- 104 カラムより狭いターミナル環境で、トランスクリプトモード(Ctrl+O)のフッターヒントが折り返されて表示されていた不具合を修正しました。
- Prometheus メトリクスエンドポイント(OTEL_METRICS_EXPORTER=prometheus)が無効な # UNIT ラインを出力していた不具合を修正しました。
- セッション中にスキルやコマンドが変更された際、再起動するまでスラッシュメニューに反映されなかった不具合を修正しました。
- 名前 frontmatter フィールドを持つプラグインスキルで、スラッシュコマンドの補完時にプラグイン接頭辞が失われていた不具合を修正しました。
- テレメトリによる権限拒否の誤報告を修正しました。権限プロンプトのリクエスト失敗はもはやユーザー拒否としてカウントされず、ユーザーによる中断は「拒否」ではなく「中止(abort)」として正しく報告されるようになりました。
- /fork コマンドの確認メッセージを改善し、新しいセッション名、Claude Attach ID、コピー元のチェックアウト情報を共有している場合の注記を 1 行にまとめました。
- PowerShell ツールにおける git および gh コマンド引数のバリデーションを強化しました。
- /ultrareview で「差分が大きすぎる」エラーが発生した際、設定された制限値、実際の差分サイズ、および差分に最も大きく寄与しているファイル名を表示するように改善しました。
- /code-review ultra の空の差分メッセージを改善し、正確なベースリファレンス(base ref)を明示するとともに、明示的なベース指定を提案するようになりました。
- 支出制限の変更が拒否された際、サーバー側の理由も併せて表示されるよう、制限値調整のプロンプトを改善しました。
- /context コマンドで会話のコンテキストウィンドウを超えた場合、明確な警告を表示するようにし、/compact の実行失敗はエラーとして表示されるようになりました。
- /rewind コマンドは、追跡対象のパスにおけるシンボリックリンクやハードリンクを通じてファイルの復元または削除を行わなくなり、スキップしたパスの数が報告されるようになりました。
- バックグラウンドセッションでは、/mcp および /install-github-app を実行する際、クライアントが接続されていない状態だと「入力を待機中」というリクエストがエージェントビューに一時保存されます。
- 同梱されたデータ可視化スキルを更新しました。デフォルトのチャートパレットの順序を再編成し、4 シリーズのグラフに対して直接ラベルを表示するよう提案していたガイドラインを修正しています。
- [VSCode] 英語やコードと混在している際、アラビア語、ヘブライ語、ペルシャ語などの右から左へ書く言語のテキストが誤った順序でレンダリングされる不具合を修正しました。
- セッションコンテナが処理途中に再起動した場合、進行中のメッセージが失われてセッションが応答しなくなっていた問題を修正しました。現在は中断されたターンは再開時に再実行されます。
原文を表示
What's changed
- Added sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control
- Fixed a slowdown in long sessions where message normalization cost grew quadratically with the number of turns, causing multi-second stalls and slow resumes
- Fixed auto mode denying commands with "HTTP 401" classifier errors after the OAuth token expired or rotated mid-session
- Fixed AskUserQuestion telling Claude to continue even when your answer asked it to wait or explain first — free-text answers now get neutral wording
- Fixed Claude Code on the web re-asking the same question and dropping your answer after the session sat idle for a few minutes
- Fixed @-mentions silently attaching nothing after file-modifying hooks, vim dot-repeat of c-operators and paste, statusline running twice on resume, and resume-picker hangs on failure
- Fixed resumed background agent sessions reverting to the default agent: the agent's prompt and tool restrictions are now restored
- Fixed worktree-isolated subagents redirecting git into the shared checkout via git -C, --git-dir, or GIT_DIR/GIT_WORK_TREE
- Fixed worktree sessions landing in another project's leftover worktree when the working directory did not match the selected project
- Fixed background sessions whose worktree has no git repository being undeletable
- Fixed claude daemon stop --any potentially terminating an unrelated process via a stale legacy daemon lockfile
- Fixed Esc-Esc at an idle prompt not opening the rewind picker in long-running sessions with background tasks
- Fixed Bash command permission checking for compound statements with redirects inside && lists or negations
- Fixed pressing Ctrl+X twice in the agent list failing to delete a session, and deleted sessions reappearing when their background worker had died
- Fixed background subagents getting cancelled when a high-priority message arrives during their startup window
- Fixed mouse and focus garbage in the terminal while a GUI editor from /memory, /plan, /keybindings, or Ctrl+G is open; /memory no longer waits for the editor to close
- Fixed Claude-in-Chrome 403-looping on reconnect when the session's OAuth token lacks a required scope
- Fixed workflow saves and scheduled-task writes following a symlink at .claude, which could redirect writes outside the project
- Fixed MCP re-authenticate revoking working credentials before the new sign-in succeeds, and the reconnect needs-auth message in background sessions pointing at an unusable command
- Fixed read-only commands on Windows accessing network paths without a permission prompt
- Fixed Bash command parsing of non-ASCII characters to match real shell word boundaries
- Fixed PowerShell tool permission validation of commands containing invisible Unicode characters
- Fixed dialogs in fullscreen mode stretching past the right-hand edge of their panel
- Fixed the /config settings list in fullscreen mode clipping its keyboard-hint footer
- Fixed the transcript-mode (Ctrl+O) footer hint wrapping on terminals narrower than 104 columns
- Fixed the Prometheus metrics endpoint (OTEL_METRICS_EXPORTER=prometheus) emitting invalid # UNIT lines
- Fixed skills and commands changed during a session not appearing in the slash menu until restart
- Fixed plugin skills with a name frontmatter field losing their plugin prefix in slash-command autocomplete
- Fixed telemetry misreporting permission denials: failed permission-prompt requests no longer count as user rejections, and user interrupts are now reported as user aborts instead of rejections
- Improved the /fork confirmation to one line with the new session's name, claude attach id, and a note when the copy shares your checkout
- Improved validation of git and gh command arguments in the PowerShell tool
- Improved the /ultrareview diff-too-large error to show configured limits, measured diff size, and largest contributing files
- Improved /code-review ultra empty-diff message to name the exact base ref and suggest passing an explicit base
- Improved the spend limit adjustment prompt to show the server's reason when a spend limit change is rejected
- /context now shows an explicit warning when the conversation exceeds the context window, and a failed /compact displays as an error
- /rewind no longer restores or deletes files through symlinks or hard links at tracked paths and reports how many paths it skipped
- Background sessions: /mcp and /install-github-app now park a "needs input" request in the agent view when no client is attached
- Updated the bundled dataviz skill: reordered the default chart palette and fixed guidance that suggested direct labels for four-series charts
- [VSCode] Fixed right-to-left text (Arabic, Hebrew, Persian) rendering in the wrong order when mixed with English or code
- Fixed cloud sessions dropping the in-flight message when the session's container restarts mid-turn — the interrupted turn now re-runs on resume instead of leaving the session unresponsive
AI算出
通常リリースainew評価高い
Claude Code の特定バージョン(v2.1.216)におけるパフォーマンス改善やセキュリティ修正を報じた公式リリース記事であるため、AI ツールの運用に直接関連する情報価値は高いが、新規性としては既存製品の継続的な更新とみなされる。検索意図は非常に明確な製品名とバージョン番号を含むため高得点となる。
6つの評価軸を見る
- AI関連度
- 75
- 情報源の信頼性
- 100
- 新規性
- 75
- 調べる価値
- 100
- 重複の少なさ
- 100
- 日本での有用性
- 25
関連記事
News to Guide
ニュースの次に確認する
発表内容を、現在の料金や仕様と照らし合わせられる関連ガイドです。
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み