v2.1.119
📝 概要
設定の永続化、複数のGitプラットフォーム対応、権限モード改善など、50以上のバグ修正と機能強化を含むメンテナンスリリース
🔄 主な変更点
/config設定が~/.claude/settings.jsonに永続化され、プロジェクト/ローカル/ポリシーの優先順位に対応--from-prがGitLab、Bitbucket、GitHub EnterpriseのPR URLに対応prUrlTemplate設定でカスタムコードレビューURLを指定可能に- PowerShellコマンドが権限モードで自動承認可能に(Bashと同様の動作)
- フック機能に
duration_ms(ツール実行時間)を追加 - MCPサーバーの再設定時に並列接続で高速化
- プラグインの自動更新がバージョン制約を満たす最新gitタグに対応
- ペースト時のCRLF処理、フルスクリーンモードのスクロール、OAuth対応など多数のバグ修正
💡 解説・活用案
今回のリリースでは、GitLabやBitbucketユーザーも--from-prでPRベースの作業が可能になり、マルチプラットフォーム開発環境での利用が大幅に改善されました。設定の永続化により、チーム全体で一貫した開発環境を構築しやすくなり、PowerShellの自動承認機能でWindows開発者の生産性も向上します。MCPサーバーの並列接続は、複数の外部ツールを使う場合の起動時間を短縮します。
🌐 日本語訳
変更内容
/config設定(テーマ、エディターモード、verboseなど)が~/.claude/settings.jsonに永続化され、プロジェクト/ローカル/ポリシーの優先順位オーバーライドに参加するようになりましたprUrlTemplate設定を追加し、フッターのPRバッジをgithub.comではなくカスタムコードレビューURLに向けることが可能にCLAUDE_CODE_HIDE_CWD環境変数を追加し、起動ロゴの作業ディレクトリを非表示にできるように--from-prがGitLabマージリクエスト、Bitbucketプルリクエスト、GitHub Enterprise PR URLを受け付けるように--printモードがエージェントのtools:およびdisallowedTools:フロントマターを尊重し、インタラクティブモードの動作と一致するように--agent <name>がビルトインエージェントのエージェント定義のpermissionModeを尊重するように- PowerShellツールコマンドが権限モードで自動承認可能になり、Bashの動作と一致
- フック:
PostToolUseおよびPostToolUseFailureフック入力にduration_ms(ツール実行時間、権限プロンプトとPreToolUseフックを除く)を追加 - サブエージェントとSDK MCPサーバーの再設定が、シリアルではなく並列でサーバーに接続するように
- 別のプラグインのバージョン制約によってピン留めされたプラグインが、満たす最高のgitタグに自動更新されるように
- Vimモード:INSERTモードでのEscがキューに入ったメッセージを入力に戻さなくなりました。中断するには再度Escを押してください
- スラッシュコマンド候補が、クエリに一致した文字をハイライト表示するように
- スラッシュコマンドピッカーが長い説明を切り詰めずに2行目に折り返すように
- 出力の
owner/repo#Nショートハンドリンクが、常にgithub.comを指すのではなく、gitリモートのホストを使用するように - セキュリティ:
blockedMarketplacesがhostPatternおよびpathPatternエントリを正しく強制するように - OpenTelemetry:
tool_resultおよびtool_decisionイベントにtool_use_idを含むようになりました。tool_resultにはtool_input_size_bytesも含まれます - ステータスライン:stdin JSONに
effort.levelとthinking.enabledを含むように - CRLF内容(Windowsクリップボード、Xcodeコンソール)のペースト時に各行の間に余分な空白行が挿入される問題を修正
- ブラケットペースト内のkittyキーボードプロトコルシーケンスを使用する端末で、複数行ペーストが改行を失う問題を修正
- Bashツールが権限で拒否された際に、ネイティブmacOS/Linuxビルドでglobおよびgrepツールが消える問題を修正
- フルスクリーンモードで上にスクロールすると、ツール終了時に毎回下部にスナップバックする問題を修正
- サーバーがOAuth検出リクエストに対して非JSONボディを返した場合、MCP HTTP接続が「Invalid OAuth error response」で失敗する問題を修正
- 画像添付付きメッセージで巻き戻しオーバーレイが「(no prompt)」と表示される問題を修正
- オートモードが矛盾する「即座に実行」指示でプランモードを上書きする問題を修正
- レスポンスペイロードを出力しない非同期
PostToolUseフックが、セッショントランスクリプトに空のエントリを書き込む問題を修正 - サブエージェントタスク通知がキューで孤立したときにスピナーが表示されたままになる問題を修正
- サポートされていないベータヘッダーエラーを回避するため、Vertex AIでツール検索がデフォルトで無効になりました(
ENABLE_TOOL_SEARCHでオプトイン) - 絶対パスを使用したスラッシュコマンド内で使用した場合、
@ファイルのTab補完がプロンプト全体を置き換える問題を修正 - Docker経由またはSSH経由のmacOS Terminal.appで起動時にプロンプトに余分な
p文字が表示される問題を修正 - HTTP/SSE/WebSocket MCPサーバーの
headers内の${ENV_VAR}プレースホルダーがリクエスト前に置換されない問題を修正 client_secret_postを必要とするサーバーのトークン交換時に、--client-secretで保存されたMCP OAuthクライアントシークレットが送信されない問題を修正/skillsでEnterキーを押すとダイアログが閉じ、プロンプトに/<skill-name>が事前入力されない問題を修正/agents詳細ビューが、サブエージェントで利用できないビルトインツールを「Unrecognized」と誤ってラベル付けする問題を修正- プラグインキャッシュが不完全な場合、WindowsでプラグインからのMCPサーバーが起動しない問題を修正
/exportが会話で実際に使用されたモデルではなく、現在のデフォルトモデルを表示する問題を修正- verbose出力設定が再起動後に保持されない問題を修正
/usageプログレスバーが「Resets …」ラベルと重なる問題を修正${user_config.*}がオプションフィールドを空白のまま参照した場合、プラグインMCPサーバーが失敗する問題を修正- 文末の数字を含むリスト項目が、数字を独自の行に折り返す問題を修正
- プランモードに入る際、
/planと/plan openが既存のプランに作用しない問題を修正 - 自動コンパクション前に呼び出されたスキルが次のユーザーメッセージに対して再実行される問題を修正
/reload-pluginsと/doctorが無効化されたプラグインのロードエラーを報告する問題を修正isolation: "worktree"を持つAgentツールが以前のセッションからの古いワークツリーを再利用する問題を修正/statusで無効化されたMCPサーバーが「failed」と表示される問題を修正TaskListがIDでソートされずに任意のファイルシステム順でタスクを返す問題を修正gh出力に「rate limit」を含むPRタイトルが含まれている場合、誤った「GitHub API rate limit exceeded」ヒントが表示される問題を修正- SDK/bridgeの
read_fileが増大するファイルのサイズ上限を正しく強制しない問題を修正 - gitワークツリーで作業している場合、PRがセッションにリンクされない問題を修正
/doctorが上位の優先順位スコープによってオーバーライドされたMCPサーバーエントリについて警告する問題を修正- Windows:誤検知の「Windows requires 'cmd /c' wrapper」MCP設定警告を削除
- [VSCode] macOSでマイク権限プロンプトが表示されている間、音声入力の最初の録音が何も生成しない問題を修正
原文(英語)を表示
What's changed
/configsettings (theme, editor mode, verbose, etc.) now persist to~/.claude/settings.jsonand participate in project/local/policy override precedence- Added
prUrlTemplatesetting to point the footer PR badge at a custom code-review URL instead of github.com - Added
CLAUDE_CODE_HIDE_CWDenvironment variable to hide the working directory in the startup logo --from-prnow accepts GitLab merge-request, Bitbucket pull-request, and GitHub Enterprise PR URLs--printmode now honors the agent'stools:anddisallowedTools:frontmatter, matching interactive-mode behavior--agent <name>now honors the agent definition'spermissionModefor built-in agents- PowerShell tool commands can now be auto-approved in permission mode, matching Bash behavior
- Hooks:
PostToolUseandPostToolUseFailurehook inputs now includeduration_ms(tool execution time, excluding permission prompts and PreToolUse hooks) - Subagent and SDK MCP server reconfiguration now connects servers in parallel instead of serially
- Plugins pinned by another plugin's version constraint now auto-update to the highest satisfying git tag
- Vim mode: Esc in INSERT no longer pulls a queued message back into the input; press Esc again to interrupt
- Slash command suggestions now highlight the characters that matched your query
- Slash command picker now wraps long descriptions onto a second line instead of truncating
owner/repo#Nshorthand links in output now use your git remote's host instead of always pointing at github.com- Security:
blockedMarketplacesnow correctly enforceshostPatternandpathPatternentries - OpenTelemetry:
tool_resultandtool_decisionevents now includetool_use_id;tool_resultalso includestool_input_size_bytes - Status line: stdin JSON now includes
effort.levelandthinking.enabled - Fixed pasting CRLF content (Windows clipboards, Xcode console) inserting an extra blank line between every line
- Fixed multi-line paste losing newlines in terminals using kitty keyboard protocol sequences inside bracketed paste
- Fixed Glob and Grep tools disappearing on native macOS/Linux builds when the Bash tool is denied via permissions
- Fixed scrolling up in fullscreen mode snapping back to the bottom every time a tool finishes
- Fixed MCP HTTP connections failing with "Invalid OAuth error response" when servers returned non-JSON bodies for OAuth discovery requests
- Fixed Rewind overlay showing "(no prompt)" for messages with image attachments
- Fixed auto mode overriding plan mode with conflicting "Execute immediately" instructions
- Fixed async
PostToolUsehooks that emit no response payload writing empty entries to the session transcript - Fixed spinner staying on when a subagent task notification is orphaned in the queue
- Tool search is now disabled by default on Vertex AI to avoid an unsupported beta header error (opt in with
ENABLE_TOOL_SEARCH) - Fixed
@-file Tab completion replacing the entire prompt when used inside a slash command with an absolute path - Fixed a stray
pcharacter appearing at the prompt on startup in macOS Terminal.app via Docker or SSH - Fixed
${ENV_VAR}placeholders inheadersfor HTTP/SSE/WebSocket MCP servers not being substituted before requests - Fixed MCP OAuth client secret stored via
--client-secretnot being sent during token exchange for servers requiringclient_secret_post - Fixed
/skillsEnter key closing the dialog instead of pre-filling/<skill-name>in the prompt - Fixed
/agentsdetail view mislabeling built-in tools unavailable to subagents as "Unrecognized" - Fixed MCP servers from plugins not spawning on Windows when the plugin cache was incomplete
- Fixed
/exportshowing the current default model instead of the model the conversation actually used - Fixed verbose output setting not persisting after restart
- Fixed
/usageprogress bars overlapping with their "Resets …" labels - Fixed plugin MCP servers failing when
${user_config.*}references an optional field left blank - Fixed list items containing a sentence-final number wrapping the number onto its own line
- Fixed
/planand/plan opennot acting on the existing plan when entering plan mode - Fixed skills invoked before auto-compaction being re-executed against the next user message
- Fixed
/reload-pluginsand/doctorreporting load errors for disabled plugins - Fixed Agent tool with
isolation: "worktree"reusing stale worktrees from prior sessions - Fixed disabled MCP servers appearing as "failed" in
/status - Fixed
TaskListreturning tasks in arbitrary filesystem order instead of sorted by ID - Fixed spurious "GitHub API rate limit exceeded" hints when
ghoutput contained PR titles mentioning "rate limit" - Fixed SDK/bridge
read_filenot correctly enforcing size cap on growing files - Fixed PR not linked to session when working in a git worktree
- Fixed
/doctorwarning about MCP server entries overridden by a higher-precedence scope - Windows: removed false-positive "Windows requires 'cmd /c' wrapper" MCP config warning
- [VSCode] Fixed voice dictation's first recording producing nothing on macOS while the microphone permission prompt is showing