2.1.119
Claude Code 2.1.119 - リリースノート
2026年4月23日
Claude Code
日本語サマリー
以下は、Claude Code 2.1.119 のリリースノートの要約です。
⚠️ 破壊的変更・セキュリティ修正
- Security:
blockedMarketplacesがhostPatternおよびpathPatternのエントリを正しく適用するよう修正されました。- 動作変更:
tools:およびdisallowedTools:フロントマターを尊重するようになり、インタラクティブモードと動作が統一されました。- 動作変更: ツール検索機能が Vertex AI でデフォルト無効化されました(サポート外のベータヘッダーエラーを回避するため。
ENABLE_TOOL_SEARCHで有効化可能)。
主な変更点・新機能
- 設定の永続化と優先順位:
/configの設定(テーマ、エディタモード、verboseなど)が~/.claude/settings.jsonに保存され、プロジェクト/ローカル/ポリシーによる上書きの優先順位が適用されるようになりました。 - PR統合の拡張:
prUrlTemplate設定の追加、および--from-prが GitLab、Bitbucket、GitHub Enterprise の URL に対応しました。 - エージェント・権限制御の向上:
--agent <name>が組み込みエージェントのpermissionModeを尊重するようになり、PowerShell ツールコマンドも Bash と同様に権限モードで自動承認されるようになりました。 - MCP・プラグインの改善: サブエージェントや SDK MCP サーバーの再構成が並列処理されるようになり、接続が高速化されました。
- 起動画面のプライバシー保護:
CLAUDE_CODE_HIDE_CWD環境変数を追加し、起動時のロゴに表示される作業ディレクトリ(CWD)を非表示にできるようになりました。 - Vimモードの改善: 挿入モード(INSERT)中に Esc を押しても、キューに入ったメッセージが入力欄に戻らないように修正されました。
- UI/UXの改善: スラッシュコマンドの検索時に一致した文字がハイライトされるようになり、長い説明文が切り捨てられず折り返して表示されるようになりました。
主なバグ修正(15選)
- WindowsやXcodeからのクリップボード貼り付け時(CRLF)、余分な空行が挿入される問題を修正。
Bashツールが権限で拒否されている際、macOS/Linux環境でGlobやGrepツールが消える問題を修正。- MCP HTTP接続において、OAuth検出リクエストがJSON以外を返した際に "Invalid OAuth error response" で失敗する問題を修正。
- 自動モード(auto mode)が、矛盾する「今すぐ実行」の指示により計画モード(plan mode)を意図せず上書きしてしまう問題を修正。
- HTTP/SSE/WebSocket MCPサーバーの
headers内にある${ENV_VAR}プレースホルダーがリクエスト前に置換されない問題を修正。 isolation: "worktree"を指定した Agent ツールが、以前のセッションの古い worktree を再利用してしまう問題を修正。/exportが、会話で実際に使用されたモデルではなく現在のデフォルトモデルを表示する問題を修正。- マークダウンのリスト項目において、文末の数字が不自然に改行されてしまう問題を修正。
原文(Release Notes)
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 URLstools: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