Claude Code Changelog

v2.1.92

2026年4月4日 GitHub で見る

📝 概要

ポリシー設定の強化、Bedrock対話セットアップ、コスト詳細表示、リモート制御改善など、多数の新機能追加とバグ修正

🔄 主な変更点

  • 新機能: forceRemoteSettingsRefreshポリシー設定追加(リモート設定取得の強制)
  • 新機能: Bedrockの対話型セットアップウィザード追加
  • 新機能: サブスクリプションユーザー向けに/costでモデル別・キャッシュヒット別の詳細表示
  • 改善: /release-notesが対話型バージョン選択に変更
  • 改善: Remote Controlセッション名にホスト名をデフォルト接頭辞として使用
  • 改善: Proユーザー向けにプロンプトキャッシュ期限切れ後のトークン数ヒント表示
  • 修正: tmuxウィンドウ削除時のサブエージェント生成エラー修正
  • 修正: Stop hookの動作修正
  • 修正: ツール入力検証のストリーミング時のエラー修正
  • 削除: /tagおよび/vimコマンドを削除

💡 解説・活用案

今回のアップデートでは、特に企業向けのポリシー管理とAWS Bedrock連携が強化されています。対話型セットアップウィザードにより、Bedrockの初期設定が大幅に簡単になり、AWSを利用する開発者にとって導入ハードルが下がります。また、Proユーザーはキャッシュ期限切れ時のトークン数が可視化されるため、コスト管理がより正確に行えるようになります。

🌐 日本語訳

変更内容

  • forceRemoteSettingsRefreshポリシー設定を追加: 設定時、CLIはリモート管理設定が新たに取得されるまで起動をブロックし、取得に失敗した場合は終了します(fail-closed方式)
  • 対話型Bedrockセットアップウィザードを追加: ログイン画面で「3rd-party platform」を選択した際にアクセス可能。AWS認証、リージョン設定、認証情報検証、モデル固定の手順をガイドします
  • サブスクリプションユーザー向けに/costでモデル別およびキャッシュヒット別の詳細表示を追加
  • /release-notesが対話型バージョン選択機能に変更
  • Remote Controlセッション名のデフォルト接頭辞がホスト名を使用するように変更(例: myhost-graceful-unicorn)。--remote-control-session-name-prefixで上書き可能
  • Proユーザーがプロンプトキャッシュ期限切れ後にセッションに戻った際、フッターヒントを表示: 次のターンでキャッシュなしで送信されるおよそのトークン数を表示
  • tmuxウィンドウが削除または番号変更された後、サブエージェント生成が「Could not determine pane count」で永続的に失敗する問題を修正
  • 小型高速モデルがok:falseを返した際にprompt-type Stop hookが誤って失敗する問題を修正し、非Stop prompt-type hookのpreventContinuation:trueのセマンティクスを復元
  • ストリーミングが配列/オブジェクトフィールドをJSON エンコード文字列として出力する際のツール入力検証失敗を修正
  • extended thinkingが実コンテンツと共に空白のみのテキストブロックを生成した際に発生し得るAPI 400エラーを修正
  • オートパイロットのキー入力や連続プロンプトの数字衝突による誤ったフィードバック調査送信を修正
  • フルスクリーンモードで処理中にテキスト選択がある場合、「esc to clear」と共に誤解を招く「esc to interrupt」ヒントが表示される問題を修正
  • Homebrewインストールの更新プロンプトがcaskのリリースチャネルを使用するよう修正claude-code → stable、claude-code@latest → latest)
  • 複数行プロンプトで既に行末にいる場合にctrl+eが次の行の末尾にジャンプする問題を修正
  • フルスクリーンモードで上にスクロールする際に同じメッセージが2つの位置に表示される問題を修正(iTerm2、Ghostty、その他DEC 2026サポートのターミナル)
  • アイドル復帰時の「/clear to save X tokens」ヒントが現在のコンテキストサイズではなく累積セッショントークンを表示していた問題を修正
  • claude.aiコネクタで未認証の重複がある場合、セッション開始時にプラグインMCPサーバーが「connecting」のまま動かなくなる問題を修正
  • 大きなファイルのWrite toolの差分計算速度を改善(タブ/&/$を含むファイルで60%高速化)
  • /tagコマンドを削除
  • /vimコマンドを削除(vimモードの切り替えは/config → Editor modeから)
  • Linuxサンドボックスがapply-seccompヘルパーをnpmおよびネイティブビルドの両方で提供するようになり、サンドボックス化されたコマンドのunixソケットブロッキングが復元されました
原文(英語)を表示

What's changed

  • Added forceRemoteSettingsRefresh policy setting: when set, the CLI blocks startup until remote managed settings are freshly fetched, and exits if the fetch fails (fail-closed)
  • Added interactive Bedrock setup wizard accessible from the login screen when selecting "3rd-party platform" — guides you through AWS authentication, region configuration, credential verification, and model pinning
  • Added per-model and cache-hit breakdown to /cost for subscription users
  • /release-notes is now an interactive version picker
  • Remote Control session names now use your hostname as the default prefix (e.g. myhost-graceful-unicorn), overridable with --remote-control-session-name-prefix
  • Pro users now see a footer hint when returning to a session after the prompt cache has expired, showing roughly how many tokens the next turn will send uncached
  • Fixed subagent spawning permanently failing with "Could not determine pane count" after tmux windows are killed or renumbered during a long-running session
  • Fixed prompt-type Stop hooks incorrectly failing when the small fast model returns ok:false, and restored preventContinuation:true semantics for non-Stop prompt-type hooks
  • Fixed tool input validation failures when streaming emits array/object fields as JSON-encoded strings
  • Fixed an API 400 error that could occur when extended thinking produced a whitespace-only text block alongside real content
  • Fixed accidental feedback survey submissions from auto-pilot keypresses and consecutive-prompt digit collisions
  • Fixed misleading "esc to interrupt" hint appearing alongside "esc to clear" when a text selection exists in fullscreen mode during processing
  • Fixed Homebrew install update prompts to use the cask's release channel (claude-code → stable, claude-code@latest → latest)
  • Fixed ctrl+e jumping to the end of the next line when already at end of line in multiline prompts
  • Fixed an issue where the same message could appear at two positions when scrolling up in fullscreen mode (iTerm2, Ghostty, and other terminals with DEC 2026 support)
  • Fixed idle-return "/clear to save X tokens" hint showing cumulative session tokens instead of current context size
  • Fixed plugin MCP servers stuck "connecting" on session start when they duplicate a claude.ai connector that is unauthenticated
  • Improved Write tool diff computation speed for large files (60% faster on files with tabs/&/$)
  • Removed /tag command
  • Removed /vim command (toggle vim mode via /config → Editor mode)
  • Linux sandbox now ships the apply-seccomp helper in both npm and native builds, restoring unix-socket blocking for sandboxed commands