Claude Code Changelog·2026年4月24日 08:24·約7分
バージョン v2.1.119
TL;DR
Claude Codeチームはv2.1.119をリリースし、設定の永続化、カスタムPR URL指定機能、環境変数の追加、および`--from-pr`フラグの修正を行った。
変更内容
- /config 設定(テーマ、エディターモード、詳細表示など)が ~/.claude/settings.json に保存され、プロジェクト/ローカル/ポリシーのオーバーライド優先順位に参加するようになりました。
- フッターの PR バッジを github.com ではなくカスタムのコードレビュー URL に指すための prUrlTemplate 設定が追加されました。
- 起動ロゴで作業ディレクトリを非表示にするための CLAUDE_CODE_HIDE_CWD 環境変数が追加されました。
- --from-pr オプションが GitLab のマージリクエスト、Bitbucket のプルリクエスト、GitHub Enterprise の PR URL を受け付けるようになりました。
- --print モードがインタラクティブモードの動作に合わせ、エージェントの tools: および disallowedTools: フロントマターを尊重するようになりました。
- --agent オプションが、ビルトインエージェントの定義における 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 が追加されました
- Windows クリップボードや Xcode コンソールなどからの CRLF 内容の貼り付け時に、各行の間に不要な空行が挿入されていた問題を修正しました
- bracketed paste 内で kitty キーボードプロトコルシーケンスを使用するターミナルにおいて、複数行の貼り付け時に改行が失われる問題を修正しました
- 権限により Bash ツールが拒否された場合、ネイティブ macOS/Linux ビルドで Glob および Grep ツールが表示されない問題を修正しました
- フルスクリーンモードでツール実行完了時に常に下部にジャンプして戻っていた、上方向へのスクロールの問題を修正しました
- OAuth 発見リクエストに対して非 JSON のボディを返すサーバーが存在する場合、MCP HTTP 接続が「無効な OAuth エラーレスポンス」で失敗する問題を修正しました
- 画像添付付きのメッセージに対して、Rewind オーバーレイが「(no prompt)」と表示されていた問題を修正しました
- 矛盾する「即時実行」指示により、自動モードが計画モードを上書きしていた問題を修正しました
- 応答ペイロードを出力しない非同期 PostToolUse フックが、セッショントランスクリプトに空のエントリを書き込む問題を修正しました
- キュー内で孤立したサブエージェントタスク通知が発生した場合、スピナーが停止しない問題を修正しました
- サポートされていないベータヘッダーエラーを回避するため、Vertex AI においてツール検索がデフォルトで無効になりました(ENABLE_TOOL_SEARCH でオプトイン可能)
- 絶対パスを含むスラッシュコマンド内で使用された際、@-file のタブ補完がプロンプト全体を置き換えていた問題を修正
- Docker または SSH 経由で macOS Terminal.app を使用した場合、起動時にプロンプトに不要な p 文字が表示されていた問題を修正
- HTTP/SSE/WebSocket MCP サーバーのヘッダー内にある ${ENV_VAR} プレースホルダーが、リクエスト送信前に置換されていなかった問題を修正
- --client-secret 経由で保存された MCP OAuth クライアントシークレットが、client_secret_post を必要とするサーバーでのトークン交換時に送信されていなかった問題を修正
- /skills コマンドで Enter キーを押すとダイアログが閉じるのではなく、プロンプトに / がプリフィルされるべきだった問題を修正
- サブエージェントに対して利用不可なビルトインツールが、/agents の詳細ビューで「認識不可 (Unrecognized)」と誤ってラベル付けされていた問題を修正
- プラグインから読み込まれた MCP サーバーが、プラグインキャッシュが不完全な場合に Windows で起動しなかった問題を修正
- /export コマンドが、会話で実際に使用されたモデルではなく、現在のデフォルトモデルを表示していた問題を修正
- 冗長出力設定が再起動後に保持されなかった問題を修正
- /usage コマンドのプログレスバーが、「Resets …」ラベルと重なっていた問題を修正
- ${user_config.*} が空白のままのオプションフィールドを参照した場合、プラグインの MCP サーバーが失敗していた問題を修正
- 文の末尾に数字を含むリスト項目で、その数字が独自の行に折り返されていた問題を修正
- プランモードに入力した際、既存のプランに対して /plan および /plan open が機能していなかった問題を修正
- 自動圧縮前に呼び出されたスキルが、次のユーザーメッセージに対して再実行されていた問題を修正
- 無効化されたプラグインの読み込みエラーを、/reload-plugins および /doctor が報告していた問題を修正
- 隔離された「worktree」を使用するAgentツールが、以前のセッションから stale な worktree を再利用する問題を修正
- /status コマンドで無効化された MCP サーバーが「失敗」として表示される問題を修正
- TaskList が ID 順でソートされず、任意のファイルシステム順序でタスクを返す問題を修正
- gh の出力に「rate limit」という言葉を含む PR 題が含まれていた際に、誤って「GitHub API のレート制限超過」のヒントが表示される問題を修正
- 拡張し続けるファイルに対してサイズ上限を正しく適用していなかった SDK/bridge の read_file を修正
- git worktree 内で作業している場合、PR がセッションにリンクされない問題を修正
- より優先度の高いスコープによって上書きされた MCP サーバーエントリに関する /doctor の警告を修正
- Windows: 誤検出された「Windows では 'cmd /c' ラッパーが必要」という MCP 設定の警告を削除
- [VSCode] macOS 上でマイク許可プロンプトが表示されている間に、音声入力(dictation)の最初の録音が無反応になる問題を修正
原文を表示
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 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 / 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
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み