Claude Code Changelog·2026年6月24日 06:03·約3分
Claude Code v2.1.187 の変更点
TL;DR
Claude Code がバージョン 2.1.187 に更新され、サンドボックスコマンドによる機密情報の読み取りをブロックする設定が追加されました。また、組織のポリシーに基づき利用可能なモデルを制限する機能が強化されました。
変更点
- サンドボックス化されたコマンドが認証情報ファイルや機密環境変数を参照できないようにするため、sandbox.credentials 設定を追加しました。
- モデルピッカー、--model オプション、/model コマンド、ANTHROPIC_MODEL 変数に、組織が設定したモデル制限機能を追加しました。制限されたモデルが選択された場合、「組織の設定により制限されています」というメッセージが表示されます。
- フルスクリーンモードにおいて、マウスクリックでメニュー(権限プロンプト、/model、/config など)を選択できる機能を追加しました。
- 元の -p 実行でモデルの応答が一度も生成されなかった場合に --resume が「会話が見つかりません」とエラーになる不具合を修正しました。
- --json-schema およびワークフローエージェント({schema})による構造化出力の不具合を修正しました。これにより、モデルは成功した呼び出し後に StructuredOutput を無限に再呼び出すことができなくなり、その後の応答で確実に構造化された出力が返されるようになりました。
- リモート MCP ツール呼び出しが 5 分間応答なしで停止する不具合を修正しました。現在は indefinitely にブロックするのではなくエラーで中止されます(CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT で上書き可能)。
- エージェントプロキシ CA システム信頼インストール追加後、Claude Code リモートセッションの起動が約 2.7 秒遅くなる不具合を修正しました。
- テルミナルで貼り付け操作がバイト単位拡張キーイベントとして処理される環境において、貼り付けた韓国語/CJK テキストが文字化けする不具合を修正しました。
- リモートコントロール時に起動時の信頼ダイアログが表示されるはずだった場合に /update コマンドが停止する不具合を修正しました。
- エージェントビュー内のバックグラウンドジョブで、エージェントが構造化出力を生成せずにターンを終了した場合に「作業中」状態から抜け出せない不具合を修正しました。
- エージェントビューへ移動して戻った後、および /bg, /tui, または /update コマンド実行後にチャンネル接続が切断される不具合を修正
- エージェント停止通知において、誰がエージェントを停止したかの特定が正しく行われていなかった点を修正し、表現を改善("came to rest" の代わりに "finished"/"stopped" を使用)
- サブエージェントの深さ追跡機能を修正:再開されたサブエージェントは元の生成深さを復元するようになり、フォークされたサブエージェントも深さ制限のカウント対象となるように変更
- 漏洩していたエージェントワークツリー登録の不具合を修正:終了したエージェントによってロックされていた .git/worktrees/ エントリが自動的にクリーンアップされるようになった
- macOS 環境の Ghostty で Cmd+クリックしてもフルスクリーンモードで URL が開かない不具合を修正
- claude --help コマンドで --bg/--background フラグが表示されない不具合を修正
- /share コマンドによるアップロード中に Esc, Ctrl-C, Ctrl-D キーが無効になる不具合を修正
- /install-github-app コマンドを改善:GitHub Actions ワークフロー設定をオプション化し、GitHub App のみインストールしてワークフロー/シークレット手順をスキップできるようになった
- /btw コマンドを改善:←/→ 矢印キーによるナビゲーションを追加し、過去の回答を順次確認できるようにした
- /plugin コマンドを改善:最近使用していないプラグインをリスト表示し、整理しやすくした
- [VSCode] 大規模セッションの再開時に拡張機能が応答しなくなる不具合を修正
原文を表示
What's changed
- Added sandbox.credentials setting to block sandboxed commands from reading credential files and secret environment variables
- Added org-configured model restrictions to the model picker, --model, /model, and ANTHROPIC_MODEL, with a "restricted by your organization's settings" message when a restricted model is selected
- Added mouse click support to select menus (permission prompts, /model, /config, etc.) in fullscreen mode
- Fixed --resume failing with "No conversation found" when the original -p run produced no model turns
- Fixed --json-schema and workflow agent({schema}) structured output: the model can no longer re-call StructuredOutput indefinitely after a successful call, and follow-up turns now reliably return structured output
- Fixed remote MCP tool calls that hang with no response for 5 minutes — they now abort with an error instead of blocking indefinitely (override with CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT)
- Fixed Claude Code Remote sessions taking ~2.7s longer to start after the agent proxy CA system-trust install was added
- Fixed pasted Korean/CJK text turning into mojibake in terminals that deliver paste as per-byte extended-key events
- Fixed /update over Remote Control hanging when a startup trust dialog would have shown
- Fixed background jobs in the agents view getting stuck in "working" indefinitely when the agent ended a turn without producing structured output
- Fixed channel connections dropping after navigating to the agents view and back, and after /bg, /tui, or /update
- Fixed agent stop notifications not correctly attributing who stopped the agent, and improved wording ("finished"/"stopped" instead of "came to rest")
- Fixed subagent depth tracking: resumed subagents now restore their original spawn depth, and forked subagents now count toward the depth cap
- Fixed leaked agent worktree registrations: locked .git/worktrees/ entries from killed agents are now cleaned up automatically
- Fixed Cmd+click not opening URLs in fullscreen mode in Ghostty on macOS
- Fixed claude --help not listing the --bg/--background flag
- Fixed Esc, Ctrl-C, and Ctrl-D not working while /share is uploading
- Improved /install-github-app: GitHub Actions workflow setup is now optional — you can install just the GitHub App and skip the workflow/secret steps
- Improved /btw with ←/→ arrow navigation to step through earlier answers
- Improved /plugin to surface plugins you haven't used recently so you can clean them up
- [VSCode] Fixed extension becoming unresponsive when resuming a large session
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み