Claude Code Changelog·2026年6月9日 06:57·約5分
Claude Code v2.1.169 の更新内容
TL;DR
Anthropic は Claude Code のバージョン 2.1.169 をリリースし、トラブルシューティング用の安全モード機能や、セッション中に作業ディレクトリを変更できる新コマンドを追加しました。
変更点
- クラブルコードのトラブルシューティングのために、すべてのカスタマイズ(CLAUDE.md、プラグイン、スキル、フック、MCP サーバー)を無効化して Claude Code を起動するための --safe-mode フラグ(および CLAUDE_CODE_SAFE_MODE 環境変数)を追加しました。
- セッションの最中にプロンプトキャッシュを破綻させることなく、セッションを新しい作業ディレクトリへ移動するための /cd コマンドを追加しました。
- モデルからバンドルされたスキル、ワークフロー、組み込みのスラッシュコマンドを非表示にするための disableBundledSkills 設定および CLAUDE_CODE_DISABLE_BUNDLED_SKILLS 環境変数を追加しました。
- 長い入力行の折り返し行を超えた過去の履歴へ上矢印・下矢印がジャンプする不具合を修正しました。現在は各視覚的行を順に移動し、履歴呼び出しは近い端から開始されます。
- インストール後の最初のセッション中やリモート設定が読み込まれる前、IDE 経由で入力された構成、--mcp-config サーバー、または再接続時にエンタープライズ管理下の MCP ポリシー(allowedMcpServers/deniedMcpServers)が適用されない不具合を修正しました。また、リモート設定を持たない組織におけるコールドスタートの遅延も改善しました。
- claude.ai の認証情報でログインしている macOS ユーザーにおいて、各ターン開始時に約 30〜50 ミリ秒の UI ストップが発生する不具合を修正しました。
- Windows 環境でスラッシュコマンド/スキルのスキャン待ち中に claude -p が遅くなる、またはフリーズしているように見える不具合(2.1.161 で発生した回帰)を修正しました。
- OAuth トークンの更新がセッション再開と同時に発生した場合に、リモートコントロールが「再接続中」の状態で停止する不具合を修正しました。
- 背景で実行された git コマンドにキャッシュされた認証情報がない場合に、Windows の起動時に Git Credential Manager の「GitHub に接続」ポップアップが表示される不具合を修正しました。
- カスタムステータスバーを持つユーザーに対して、固定フッターのヒント(例:"esc to interrupt")が表示されない不具合を修正
- ワーカーがこれらのプロンプト待ち中に終了したリモートセッションに再接続するたびに、期限切れの権限およびダイアログプロンプトが再表示される不具合を修正
- claude agents の --json オプションでブロックされたセッションや直ちにディスパッチされたバックグラウンドセッションが省略されていた不具合を修正。--all オプションを追加して完了したセッションを含め、新しい id および state フィールドを実装
- Windows Terminal 上で WSL からエージェントへ戻るナビゲーション後に、エージェントビューで期限切れまたは文字化けしたフレームが残る不具合を修正
- プロジェクトレベルの設定環境変数(例:ANTHROPIC_MODEL)を無視して、プリウォームされたワーカーにディスパッチされるバックグラウンドエージェントの不具合を修正
- Windows で MCPB プラグインキャッシュが誤って無効化され、不要な再抽出が発生する不具合を修正
- プラグインの .in_use PID ロックファイルが無制限に蓄積する不具合を修正。クラッシュしたセッションからの期限切れマーカーは現在、1 日に一度だけ掃除される
- 信頼されていないプロジェクト設定で、信頼確認なしに OTEL クライアント証明書パスを設定できてしまう不具合を修正
- /workflows コマンドがターン進行中であっても即座に開くように改善
- TaskCreate の信頼性を向上:不正な入力は自動的に修復され、未読み込みのツールに対する検証エラーにはスキーマ情報も含まれるように改善
- 組織で API キー認証が無効化されている場合に表示されるエラーメッセージを改善し、アクティブな API キーの発生源に基づいたガイダンスを追加
- レスポンスストリーミング中およびスピナーアニメーション中の CPU 使用量を削減
- Vertex/Foundry のデフォルトアイドルタイムアウトを 5 分に復元し、停止したストリームが無限に待機するのではなく中止されるようにしました。API_FORCE_IDLE_TIMEOUT=0 を設定することでこの機能を無効化できます
- 不正なエントリを含むリモート管理設定は、以前のようにペイロード全体を黙って破棄するのではなく、残りの有効なポリシーを適用し、検証エラーを表示するように変更されました
- バックグラウンドセッションでは、--ide、--chrome、--bare、--remote-control およびその他のフラグが retire→wake 状態遷移および respawn 状態の検証強化 across で保持されるようになりました
- バックグラウンドセッションは、ワークツリーに入るまで共有チェックアウト編集がブロックされることを通知され、EnterWorktree 実行前に無駄な拒否された編集が行われるのを防ぎます
- "CLAUDE.md が長すぎる"という警告の閾値は、モデルのコンテキストウィンドウに比例してスケーリングされるようになりました
- Windows の自動アップデーターでは、claude.exe が他のプロセスによって保持されているセッション内での再試行が停止するようになりました
- スラッシュコマンドメニュー内のスキルタグの色コントラストが改善されました
- 支払い方法を持たない Apple/Google 課金サブスクライバーのプロモーションクレジット請求において、支払い方法の追加先を説明するように変更されました
- 複数の並列セッションを実行する際に claude エージェントの使用を提案するヒントを追加しました
原文を表示
What's changed
- Added --safe-mode flag (and CLAUDE_CODE_SAFE_MODE) to start Claude Code with all customizations (CLAUDE.md, plugins, skills, hooks, MCP servers) disabled for troubleshooting
- Added /cd command to move a session to a new working directory without breaking the prompt cache mid-session
- Added a disableBundledSkills setting and CLAUDE_CODE_DISABLE_BUNDLED_SKILLS environment variable to hide bundled skills, workflows, and built-in slash commands from the model
- Fixed Up/Down arrows jumping to command history past the wrapped rows of a long input line — they now move through each visual row first, and history recall enters at the near edge
- Fixed enterprise managed MCP policies (allowedMcpServers/deniedMcpServers) not being enforced on reconnect, IDE-typed configs, --mcp-config servers during the first session after install, or before remote settings loaded; also fixed slow cold starts for orgs without remote settings
- Fixed a ~30-50ms UI stall at the start of each turn for macOS users logged in with claude.ai credentials
- Fixed claude -p being slow or appearing to hang on Windows while waiting for the slash-command/skill scan (regression in 2.1.161)
- Fixed Remote Control getting stuck on "reconnecting" after resuming a session when an OAuth token refresh happened at the same time
- Fixed Git Credential Manager's "Connect to GitHub" popup appearing on Windows at startup when background git commands ran without cached credentials
- Fixed footer hints (e.g. "esc to interrupt") not showing for users with a custom statusline
- Fixed stale permission and dialog prompts reappearing every time you reattached to a remote session whose worker had died while waiting on them
- Fixed claude agents --json omitting blocked and just-dispatched background sessions; added --all to include completed sessions, plus new id and state fields
- Fixed agents view leaving a stale/garbled frame after navigating back from an agent on WSL in Windows Terminal
- Fixed background agents ignoring project-level settings env values (e.g. ANTHROPIC_MODEL) when dispatched onto a pre-warmed worker
- Fixed MCPB plugin cache being spuriously invalidated on Windows, causing unnecessary re-extraction
- Fixed plugin .in_use PID lock files accumulating without bound; stale markers from crashed sessions are now swept once per day
- Fixed untrusted project settings being able to set OTEL client-certificate paths without trust confirmation
- /workflows now opens immediately even while a turn is in progress
- Improved TaskCreate reliability: malformed inputs are repaired automatically and validation errors for unloaded tools include the schema
- Improved the error message shown when your organization has disabled API key authentication, with guidance based on where the active API key comes from
- Reduced CPU usage while responses stream and during spinner animations
- Restored a default 5-minute idle timeout on Vertex/Foundry so a stalled stream aborts instead of hanging indefinitely; set API_FORCE_IDLE_TIMEOUT=0 to opt out
- Remote-managed settings with an invalid entry now apply their remaining valid policies and surface the validation error, instead of silently dropping the whole payload
- Background sessions now preserve --ide, --chrome, --bare, --remote-control, and other flags across retire→wake, and respawn state validation was hardened
- Background sessions are now told that shared-checkout edits are blocked until they enter a worktree, avoiding a wasted rejected edit before EnterWorktree
- The "CLAUDE.md is too long" warning threshold now scales with the model's context window
- Auto-updater on Windows now stops retrying within a session once claude.exe is held by another process
- Improved color contrast for skill tags in the slash-command menu
- Promo credit claims for Apple/Google-billed subscribers without a payment method now explain where to add one
- Added a tip suggesting claude agents when running multiple concurrent sessions
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み