Claude Code Changelog·2026年6月4日 06:31·約5分
Claude Code v2.1.162 の変更点
TL;DR
Anthropic は Claude Code のバージョン 2.1.162 をリリースし、待機セッションのブロック原因を表示する機能や、ネイティブビルドでの検索ツールの明示的利用、作業レベルのデフォルト設定確認機能を追加しました。
変更点
- claude agents --json により、待機中のセッションが何によってブロックされているか(例:権限プロンプト)を示す waitingFor が追加されました。
- --tools オプションで Grep/Glob を明示的にリスト指定すると、埋め込み検索機能を備えたネイティブビルドにおいて専用の検索ツールが利用可能になります(以前はこれらの名称は無視されていました)。
- /effort コマンドにより、選択したレベルが新規セッションのデフォルトとして永続化されることを確認できるようになりました。
- 自動補完メニューでスラッシュコマンドをクリックすると、即座に実行されるのではなくプロンプトに入力されるようになりました。実行するには Enter キーを押してください。
- リモートコントロールは起動時のメッセージではなく、セッションへのリンクを含む永続的なフッターピルとして表示されます。
- エディタのブランド名変更に伴い、/ide メニュー、/terminal-setup、および /scroll-speed において「Windsurf」が「Devin Desktop」に改名されました。
- 設定ディレクトリが読み取り専用または書き込み不可の場合に発生していた起動時のサイレントハングを修正しました。Claude Code は now メモリ内設定で起動し、空白画面の代わりに起動エラーを表示します。
- WebFetch の権限ルールが組み込み事前承認ドメインに適用されていなかった問題を修正しました。明示的な WebFetch(domain:...) の deny/ask/allow ルールは、事前承認ホストの自動許可よりも優先されます。
- バックスラッシュ(~\, \\server\share)や大文字小文字が異なるパス表記で Windows 権限ルールが一致しなかった問題、および Read deny ルールが Glob/Grep の結果からファイルを隠さなかった問題を修正しました。
- 1 ラウンドの非常に初期に送信された割り込み (Esc) が、stream-json/SDK セッション内で静かにドロップされ、「中断」フィードバックなしでターンが実行され続ける不具合を修正しました
- クラスファイア側の副問い合わせや、切り捨て境界付近に絵文字を含む MCP サーバーの説明において、文字列内に低いサロゲートがない場合に発生する API 400 エラーを修正しました
- MCP のサーバーごとのタイムアウト設定値が 1000 ミリ秒未満の場合、すべてのツール呼び出しを中止する 1 秒間のウォッチドッグに切り下げられていた不具合を修正しました。現在は 1000 ミリ秒未満の値は無視され (MCP_TOOL_TIMEOUT またはデフォルト値にフォールバック)、claude mcp get コマンドでそれらが適切に注釈付けされます
- LSP ツールの workspaceSymbol オペレーションが結果を返さなかった不具合を修正しました。現在はクエリパラメータを受け取り、それを言語サーバーに渡すようになりました
- 広画面のターミナルにおいて、claude エージェントが生ステータステキスト (ツール引数、返信、プロンプト、実行出力) を 60〜120 カラムで切り捨てていた不具合を修正しました。現在はステータス詳細がターミナルの全幅を使用します
- claude エージェントが長いセッション名を 40 カラムで切り捨てていた不具合を修正しました。現在、名前カラムはターミナルの幅に応じて拡張されます
- バックグラウンドサービス再起動後、1 回目の試行で claude エージェントがセッションリストに直接戻ってしまうことが稀にあった不具合を修正しました
- dispatch 入力欄およびセッション返信ボックス内で、Ctrl+V による画像貼り付けが無効だった不具合を修正しました。現在は画像なしでの貼り付け時にヒントが表示されます
- バックグラウンドサービスを開始できない場合に、←キーでセッションをバックグラウンド化すると会話が静かに失われる不具合を修正しました。セッションは失敗した行としてリストに残り、Enter キーで起動できるようになります
- エージェントビューからの返信送信に失敗して失われていたものを修正し、次回のセッション開始時に配信キューに登録されるようにしました
- CLAUDE_CODE_TMPDIR または $TMPDIR が深いディレクトリを指している場合に、クロスセッションメッセージング (SendMessage) が静かに破損する問題を修正しました
- クロードエージェントから実行中のバックグラウンドセッションを開いた際に、5 秒間停止してからアタッチされる不具合を修正しました
- スタートアップ時の通知を静かにし、深刻度ごとにグループ化して、セッション情報とアナウンスは起動ごとに 1 行に統合しました
- スタートアップ警告をより短く明確な形に書き換え、それぞれ具体的な修正方法を明記しました
- ランチプロンプト警告(ディープリンク/プリフィルされたプロンプト)は、ユーザーが対応するまで入力欄の下に固定表示されるようになり、スクロールして消えることがなくなりました
- 失敗したターンでは、複数行の赤いエラーブロックの代わりにコンパクトな警告ラインを表示するようにしました
- バックグラウンドサービスの起動と Claude の更新検証を改善し、新しいバイナリのエンドポイントセキュリティスキャンが完了するまで待機し、5 秒後に失敗するのではなく正常に処理されるようにしました
- バックグラウンドディスパッチの生成失敗時に errno が利用できない場合でも、エラークラス名を報告するように修正しました
- 「Chrome で Claude が有効化されました」および「マーケットプレイスがインストールされました」という起動メッセージを削除し、モデルの自動更新とチームオンボーディングのヒントは、ロゴの下で静かな通知として表示されるように変更しました
原文を表示
What's changed
- claude agents --json now includes waitingFor showing what a waiting session is blocked on (e.g. permission prompt)
- --tools: explicitly listing Grep/Glob now provides the dedicated search tools on native builds with embedded search (previously these names were silently ignored)
- /effort now confirms when your chosen level will persist as the default for new sessions
- Clicking a slash command in the autocomplete menu now fills it into your prompt instead of running it immediately; press Enter to run
- Remote Control now shows as a persistent footer pill (with a link to the session) instead of a startup message
- Renamed Windsurf to Devin Desktop in the /ide menu, /terminal-setup, and /scroll-speed, following the editor's rebrand
- Fixed a silent startup hang when the config directory is read-only or unwritable — Claude Code now starts with in-memory config and surfaces startup errors instead of showing a blank screen
- Fixed WebFetch permission rules not being applied to built-in preapproved domains; explicit WebFetch(domain:...) deny/ask/allow rules now take precedence over the preapproved-host auto-allow
- Fixed Windows permission rules never matching when spelled with backslashes (~\, \\server\share) or case-variant paths, and Read deny rules not hiding files from Glob/Grep results
- Fixed an interrupt (Esc) sent at the very start of a turn being silently dropped in stream-json/SDK sessions, leaving the turn running with no "Interrupted" feedback
- Fixed API 400 no low surrogate in string errors for classifier side-queries and MCP server descriptions containing emoji near a truncation boundary
- Fixed MCP per-server timeout config values below 1000 ms being floored to a 1-second watchdog that aborted every tool call; sub-1000 ms values are now ignored (falling back to MCP_TOOL_TIMEOUT or default), and claude mcp get annotates them accordingly
- Fixed the LSP tool's workspaceSymbol operation returning no results; it now accepts a query parameter and passes it to the language server
- Fixed claude agents cutting live status text (tool args, replies, prompts, exec output) at 60–120 columns on wide terminals; the status detail now uses the full terminal width
- Fixed claude agents truncating long session names at 40 columns; the name column now grows with terminal width
- Fixed claude agents attach occasionally bouncing straight back to the session list on the first try after a background-service restart
- Fixed claude agents Ctrl+V image paste doing nothing in the dispatch input and the session reply box; pasting with no image now shows a hint
- Fixed backgrounding a session with ← silently losing the conversation when the background service cannot start; the session stays in the list as a failed row you can wake with Enter
- Fixed replies from the agents view that fail to send being lost; they are now queued for delivery on the next session start
- Fixed cross-session messaging (SendMessage) silently breaking when CLAUDE_CODE_TMPDIR or $TMPDIR points at a deep directory
- Fixed opening a running background session from claude agents stalling for 5 seconds before attaching
- Quieter startup: notices group by severity, and session info and announcements share a single line per launch
- Startup warnings rewritten to be shorter and clearer, each with a concrete fix
- Launch-prompt warnings (deep link/pre-filled prompt) now stay pinned below the input until you act instead of scrolling away
- Failed turns now show a compact warning line instead of a multi-line red error block
- Improved background service startup and claude update verification to wait out endpoint-security scanning of new binaries instead of failing after 5 seconds
- Background dispatch spawn failures now report the error class name when no errno is available
- Removed the "Claude in Chrome enabled" and "marketplace installed" startup messages; model auto-updates and the team-onboarding tip now show as quiet notices under the logo
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み