Claude Code Changelog

v2.1.119

2026年4月23日 GitHub で見る

📝 概要

設定の永続化、複数の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リモートのホストを使用するように
  • セキュリティ:blockedMarketplaceshostPatternおよびpathPatternエントリを正しく強制するように
  • OpenTelemetry:tool_resultおよびtool_decisionイベントにtool_use_idを含むようになりました。tool_resultにはtool_input_size_bytesも含まれます
  • ステータスライン:stdin JSONにeffort.levelthinking.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

  • /config settings (theme, editor mode, verbose, etc.) now persist to ~/.claude/settings.json and participate in project/local/policy override precedence
  • Added prUrlTemplate setting to point the footer PR badge at a custom code-review URL instead of github.com
  • Added CLAUDE_CODE_HIDE_CWD environment variable to hide the working directory in the startup logo
  • --from-pr now accepts GitLab merge-request, Bitbucket pull-request, and GitHub Enterprise PR URLs
  • --print mode now honors the agent's tools: and disallowedTools: frontmatter, matching interactive-mode behavior
  • --agent <name> now honors the agent definition's permissionMode for built-in agents
  • PowerShell tool commands can now be auto-approved in permission mode, matching Bash behavior
  • Hooks: PostToolUse and PostToolUseFailure hook inputs now include duration_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#N shorthand links in output now use your git remote's host instead of always pointing at github.com
  • Security: blockedMarketplaces now correctly enforces hostPattern and pathPattern entries
  • OpenTelemetry: tool_result and tool_decision events now include tool_use_id; tool_result also includes tool_input_size_bytes
  • Status line: stdin JSON now includes effort.level and thinking.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 PostToolUse hooks 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 p character appearing at the prompt on startup in macOS Terminal.app via Docker or SSH
  • Fixed ${ENV_VAR} placeholders in headers for HTTP/SSE/WebSocket MCP servers not being substituted before requests
  • Fixed MCP OAuth client secret stored via --client-secret not being sent during token exchange for servers requiring client_secret_post
  • Fixed /skills Enter key closing the dialog instead of pre-filling /<skill-name> in the prompt
  • Fixed /agents detail 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 /export showing the current default model instead of the model the conversation actually used
  • Fixed verbose output setting not persisting after restart
  • Fixed /usage progress 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 /plan and /plan open not 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-plugins and /doctor reporting 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 TaskList returning tasks in arbitrary filesystem order instead of sorted by ID
  • Fixed spurious "GitHub API rate limit exceeded" hints when gh output contained PR titles mentioning "rate limit"
  • Fixed SDK/bridge read_file not correctly enforcing size cap on growing files
  • Fixed PR not linked to session when working in a git worktree
  • Fixed /doctor warning 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