Claude Code Changelog

v2.1.76

2026年3月14日 GitHub で見る

📝 概要

MCP対話的入力サポート、スパースチェックアウト機能、多数のバグ修正とパフォーマンス改善

🔄 主な変更点

新機能

  • MCP elicitationサポート - MCPサーバーがタスク実行中に構造化入力を対話的に要求可能に
  • ElicitationElicitationResultフックを追加し、レスポンスの傍受・上書きが可能に
  • -n / --name <name>フラグでセッション表示名を設定可能に
  • worktree.sparsePaths設定で大規模モノレポの特定ディレクトリのみをチェックアウト可能に
  • PostCompactフック、/effortコマンド、セッション品質調査機能を追加

バグ修正

  • 会話圧縮後にdeferred toolsのスキーマが失われる問題を修正
  • スラッシュコマンドが"Unknown skill"と表示される問題を修正
  • プランモード、音声モード、クリップボード、MCP再接続など多数の問題を修正
  • Remote Controlセッションの安定性向上(アイドル環境の刈り取り、メッセージバッチング、JWT更新後の再配信問題など)

改善

  • --worktree起動パフォーマンスの向上(git refsの直接読み取り)
  • バックグラウンドエージェントの動作改善(部分結果の保持)
  • モデルフォールバック通知の改善(常時表示、人間にやさしい名称)
  • ダークテーマでのblockquote可読性向上

💡 解説・活用案

MCP elicitationにより、サーバーがユーザーに追加情報を動的に要求できるようになり、より柔軟なワークフローが実現します。大規模モノレポではworktree.sparsePathsを活用することで、必要なディレクトリのみをチェックアウトし、起動時間を大幅に短縮できます。また、バックグラウンドエージェントの中断時に部分結果が保持されるようになったため、長時間タスクでの作業ロスを最小限に抑えられます。

🌐 日本語訳

変更内容

  • MCP elicitationサポートを追加 — MCPサーバーがタスク実行中に対話的ダイアログ(フォームフィールドまたはブラウザURL)を通じて構造化入力を要求できるようになりました
  • 新しいElicitationElicitationResultフックを追加 — レスポンスが送り返される前に傍受して上書きできます
  • -n / --name <name> CLIフラグを追加 — 起動時にセッションの表示名を設定できます
  • worktree.sparsePaths設定を追加 — 大規模モノレポでclaude --worktreeを使用する際、git sparse-checkoutを介して必要なディレクトリのみをチェックアウトできます
  • PostCompactフックを追加 — 圧縮完了後に発火します
  • /effortスラッシュコマンドを追加 — モデルの努力レベルを設定できます
  • セッション品質調査を追加 — エンタープライズ管理者はfeedbackSurveyRate設定でサンプルレートを設定できます
  • deferred tools(ToolSearch経由で読み込まれたもの)が会話圧縮後に入力スキーマを失い、配列や数値パラメータが型エラーで拒否される問題を修正
  • スラッシュコマンドが"Unknown skill"と表示される問題を修正
  • プランモードがプラン承認後に再承認を求める問題を修正
  • 音声モードが許可ダイアログやプランエディタが開いている間にキー入力を飲み込む問題を修正
  • npm経由でインストールした際にWindowsで/voiceが動作しない問題を修正
  • 1M-contextセッションでmodel:フロントマターを持つスキルを呼び出した際の偽の"Context limit reached"エラーを修正
  • 非標準モデル文字列使用時の"adaptive thinking is not supported on this model"エラーを修正
  • 引用符で囲まれた引数に#が含まれている場合にBash(cmd:*)許可ルールがマッチしない問題を修正
  • Bash許可ダイアログの"don't ask again"がパイプや複合コマンドの完全な生コマンドを表示する問題を修正
  • 連続失敗後に自動圧縮が無限にリトライする問題を修正 — サーキットブレーカーが3回の試行後に停止するようになりました
  • 再接続成功後にMCP再接続スピナーが残る問題を修正
  • マーケットプレイスの調整前にLSP Managerが初期化された場合にLSPプラグインがサーバーを登録しない問題を修正
  • SSH経由のtmuxでクリップボードコピーができない問題を修正 — 直接的なターミナル書き込みとtmuxクリップボード統合の両方を試みるようになりました
  • /exportの成功メッセージがファイル名のみを表示し、完全なファイルパスを表示しない問題を修正
  • テキスト選択後にトランスクリプトが新しいメッセージに自動スクロールしない問題を修正
  • ログイン方法選択画面でEscキーが機能しない問題を修正
  • 複数のRemote Control問題を修正: サーバーがアイドル環境を刈り取った際にセッションが静かに終了する問題、高速メッセージが一度に一つずつキューイングされる問題(バッチ処理されるべき)、JWT更新後に古い作業アイテムが再配信される問題
  • 長時間のWebSocket切断後にブリッジセッションが回復できない問題を修正
  • ソフト非表示コマンドの正確な名前を入力した際にスラッシュコマンドが見つからない問題を修正
  • --worktree起動パフォーマンスを改善 — git refsを直接読み取り、リモートブランチがローカルで既に利用可能な場合は冗長なgit fetchをスキップします
  • バックグラウンドエージェントの動作を改善 — バックグラウンドエージェントを終了しても、その部分的な結果が会話コンテキストに保持されるようになりました
  • モデルフォールバック通知を改善 — verboseモードの背後に隠れず常に表示され、人間にわかりやすいモデル名を使用します
  • ダークターミナルテーマでのblockquote可読性を改善 — テキストがイタリック体になり、左側にバーが表示され、dimではなくなりました
  • 古いworktreeのクリーンアップを改善 — 中断された並列実行後に残されたworktreeが自動的にクリーンアップされるようになりました
  • Remote Controlセッションタイトルを改善 — "Interactive session"ではなく、最初のプロンプトから派生したタイトルになりました
  • /voiceを改善 — 有効化時に音声認識言語を表示し、language設定が音声入力でサポートされていない場合に警告します
  • --plugin-dirをサブコマンドをサポートするために一つのパスのみ受け入れるように更新 — 複数のディレクトリには繰り返し--plugin-dirを使用してください
  • [VSCode] カンマを含むgitignoreパターンが@メンションファイルピッカーからファイルタイプ全体を静かに除外する問題を修正
原文(英語)を表示

What's changed

  • Added MCP elicitation support — MCP servers can now request structured input mid-task via an interactive dialog (form fields or browser URL)
  • Added new Elicitation and ElicitationResult hooks to intercept and override responses before they're sent back
  • Added -n / --name <name> CLI flag to set a display name for the session at startup
  • Added worktree.sparsePaths setting for claude --worktree in large monorepos to check out only the directories you need via git sparse-checkout
  • Added PostCompact hook that fires after compaction completes
  • Added /effort slash command to set model effort level
  • Added session quality survey — enterprise admins can configure the sample rate via the feedbackSurveyRate setting
  • Fixed deferred tools (loaded via ToolSearch) losing their input schemas after conversation compaction, causing array and number parameters to be rejected with type errors
  • Fixed slash commands showing "Unknown skill"
  • Fixed plan mode asking for re-approval after the plan was already accepted
  • Fixed voice mode swallowing keypresses while a permission dialog or plan editor was open
  • Fixed /voice not working on Windows when installed via npm
  • Fixed spurious "Context limit reached" when invoking a skill with model: frontmatter on a 1M-context session
  • Fixed "adaptive thinking is not supported on this model" error when using non-standard model strings
  • Fixed Bash(cmd:*) permission rules not matching when a quoted argument contains #
  • Fixed "don't ask again" in the Bash permission dialog showing the full raw command for pipes and compound commands
  • Fixed auto-compaction retrying indefinitely after consecutive failures — a circuit breaker now stops after 3 attempts
  • Fixed MCP reconnect spinner persisting after successful reconnection
  • Fixed LSP plugins not registering servers when the LSP Manager initialized before marketplaces were reconciled
  • Fixed clipboard copying in tmux over SSH — now attempts both direct terminal write and tmux clipboard integration
  • Fixed /export showing only the filename instead of the full file path in the success message
  • Fixed transcript not auto-scrolling to new messages after selecting text
  • Fixed Escape key not working to exit the login method selection screen
  • Fixed several Remote Control issues: sessions silently dying when the server reaps an idle environment, rapid messages being queued one-at-a-time instead of batched, and stale work items causing redelivery after JWT refresh
  • Fixed bridge sessions failing to recover after extended WebSocket disconnects
  • Fixed slash commands not found when typing the exact name of a soft-hidden command
  • Improved --worktree startup performance by reading git refs directly and skipping redundant git fetch when the remote branch is already available locally
  • Improved background agent behavior — killing a background agent now preserves its partial results in the conversation context
  • Improved model fallback notifications — now always visible instead of hidden behind verbose mode, with human-friendly model names
  • Improved blockquote readability on dark terminal themes — text is now italic with a left bar instead of dim
  • Improved stale worktree cleanup — worktrees left behind after an interrupted parallel run are now automatically cleaned up
  • Improved Remote Control session titles — now derived from your first prompt instead of showing "Interactive session"
  • Improved /voice to show your dictation language on enable and warn when your language setting isn't supported for voice input
  • Updated --plugin-dir to only accept one path to support subcommands — use repeated --plugin-dir for multiple directories
  • [VSCode] Fixed gitignore patterns containing commas silently excluding entire filetypes from the @-mention file picker