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 や workflow agent({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.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