2.1.169
Claude Code 2.1.169 - リリースノート
2026年6月8日
Claude Code
日本語サマリー
以下は Claude Code 2.1.169 のリリースノートの要約です。
概要
本バージョンでは、新しいデバッグ機能やディレクトリ移動コマンドの追加、多数のバグ修正、およびパフォーマンスの改善が行われています。
破壊的変更・セキュリティ修正
- セキュリティ修正: 信頼されていないプロジェクト設定(
untrusted project settings)が、信頼確認なしに OTEL クライアント証明書のパスを設定できる問題を修正しました。 - セキュリティ修正: 企業管理の MCP ポリシー(
allowedMcpServers/deniedMcpServers)が、初回接続時やリコネクト時などに正しく適用されないセキュリティ上の抜け穴を修正しました。
新機能・重要な変更点
--safe-modeフラグを追加: 環境変数CLAUDE_CODE_SAFE_MODEを設定することで、CLAUDE.md、プラグイン、スキル、MCP サーバーなどのカスタマイズをすべて無効化してトラブルシューティングが可能になりました。/cdコマンドを追加: セッション途中でプロンプトキャッシュを破棄することなく、作業ディレクトリを移動できるようになりました。- スキル非表示設定を追加:
disableBundledSkills設定およびCLAUDE_CODE_DISABLE_BUNDLED_SKILLS環境変数が追加され、バンドルされているスキルやコマンドをモデルから隠せるようになりました。 - アイドルタイムアウトの復元: Vertex/Foundry において、デフォルトの5分間アイドルタイムアウトが復元されました。ストールしたストリームが無限にハングアップするのを防ぎます(
API_FORCE_IDLE_TIMEOUT=0で無効化可能)。 claude agentsコマンドの改善:claude agents --jsonの出力にidとstateフィールドが追加され、完了セッションを含める--allフラグが追加されました。
バグ修正・パフォーマンス向上
- パフォーマンス改善: レスポンスのストリーミング中やスピナーアニメーション中の CPU 使用率を削減し、macOS ユーザーのターン開始時の UI 停止(約30-50ms)を修正しました。
- Windows 環境の修正: Windows における
claude -pの遅延・ハングアップ現象や、起動時の不要な GitHub 認証ポップアップ、MCPB プラグインキャッシュの無効な再抽出などを修正しました。 - 操作性の向上: 長い入力行の折り返し時における上下キーの挙動を修正し、カスタムステータスラインがあるユーザー向けのフッターヒント(例: "esc to interrupt")が正しく表示されるようになりました。
- バックグラウンド処理の安定性向上: バックグラウンドセッションがプロジェクト設定の
env値を無視する問題や、--ideなどのフラグがリセットされる問題を修正しました。 - その他:
TaskCreateの信頼性向上や、.in_usePID ロックファイルの無制限な蓄積防止(1日1回のクリーンアップ)、コンテキストウィンドウに応じたCLAUDE.mdの長さ警告の調整などが行われました。
原文(Release Notes)
What's changed
- Added
--safe-modeflag (andCLAUDE_CODE_SAFE_MODE) to start Claude Code with all customizations (CLAUDE.md, plugins, skills, hooks, MCP servers) disabled for troubleshooting- Added
/cdcommand to move a session to a new working directory without breaking the prompt cache mid-session- Added a
disableBundledSkillssetting andCLAUDE_CODE_DISABLE_BUNDLED_SKILLSenvironment 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-configservers 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 -pbeing 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 --jsonomitting blocked and just-dispatched background sessions; added--allto include completed sessions, plus newidandstatefields- 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
envvalues (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_usePID 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
/workflowsnow opens immediately even while a turn is in progress- Improved
TaskCreatereliability: 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=0to 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.exeis 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 agentswhen running multiple concurrent sessions