2.1.187
Claude Code 2.1.187 - リリースノート
2026年6月23日
Claude Code
日本語サマリー
Claude Code 2.1.187 リリースノート要約
⚠️ 破壊的変更・セキュリティ修正
- セキュリティ強化:
sandbox.credentials設定を追加し、サンドボックス環境下でのコマンド実行時、クレデンシャルファイルやシークレット環境変数の読み取りをブロック。 - セキュリティ・組織管理: Model picker、
--model、/model、ANTHROPIC_MODELに対象を絞った組織制限(model restrictions)を追加。制限されたモデル選択時は警告メッセージを表示。
🚀 新機能・改善
- UI/UX向上: フルスクリーンモードのセレクトメニュー(permission prompts、
/model、/configなど)でマウスクリックによる選択をサポート。 - GitHub連携:
/install-github-appを改善し、GitHub Actions workflow のセットアップをスキップ可能に(Appのみインストール可能)。 - ナビゲーション:
/btwで ←/→ 矢印キーを使用して過去の回答をトレースできる機能を追加。 - プラグイン管理:
/pluginに、最近使用していないプラグインを整理・削除しやすくする機能を追加。
🐛 バグ修正
- MCP/タイムアウト: 応答なしで5分間ハングする remote MCP tool calls を修正(エラーで中断)。
CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUTで上書き可能。 - 構造化出力:
--json-schemaや workflowagent({schema})で、成功後の不要なStructuredOutput再呼び出しを防止し、フォローアップ時の出力を安定化。 - テキスト入力: バイト単位の拡張キーイベントとしてペーストされる端末で、韓国語/CJKテキストが文字化け(mojibake)する問題を修正。
- エージェント/プロセス:
--resumeの "No conversation found" エラーや、background jobs が無限に "working" になる問題を修正。 - Git管理: 不意にキルされたエージェントの
.git/worktrees/エントリがロックされたまま残る問題を自動クリーンアップするよう修正。 - VSCode: 大規模なセッションを resume する際に拡張機能が応答しなくなる問題を修正。
- その他:
--resume実行時のエラーや、Claude Code Remote の起動遅延(約2.7秒)、/shareアップロード中のEsc/Ctrl-C/Ctrl-D无効化バグ等多数の不具合を修正。
原文(Release Notes)
What's changed
- Added
sandbox.credentialssetting to block sandboxed commands from reading credential files and secret environment variables- Added org-configured model restrictions to the model picker,
--model,/model, andANTHROPIC_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
--resumefailing with "No conversation found" when the original-prun produced no model turns- Fixed
--json-schemaand workflowagent({schema})structured output: the model can no longer re-callStructuredOutputindefinitely 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
/updateover 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 --helpnot listing the--bg/--backgroundflag- Fixed Esc, Ctrl-C, and Ctrl-D not working while
/shareis 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
/btwwith ←/→ arrow navigation to step through earlier answers- Improved
/pluginto surface plugins you haven't used recently so you can clean them up- [VSCode] Fixed extension becoming unresponsive when resuming a large session