2.1.142
Claude Code 2.1.142 - リリースノート
2026年5月14日
Claude Code
日本語サマリー
以下は、Claude Code 2.1.142 のリリースノートの要約です。
⚠️ 破壊的変更・セキュリティ修正 今回のリリースに該当する重大なお知らせはありません。
主な変更点
claude agentsの機能拡張:--add-dir,--settings,--mcp-config,--model,--dangerously-skip-permissionsなど、バックグラウンドセッションを設定するための新しいフラグが追加されました。- Fast mode のデフォルトモデル変更: Fast mode のデフォルトモデルが Opus 4.6 から Opus 4.7 に変更されました(以前のバージョンを固定する場合は環境変数
CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1を設定)。 - プラグインのスキル扱いの改善:
skills/サブディレクトリを持たず、ルート直下にSKILL.mdがあるプラグインがスキルとして認識されるようになりました。 - macOS スリープ/スリープ解除時の安定性向上: スリープ復帰後にバックグラウンドセッションが消失する問題を修正。デーモンが経過時間を正しく判定するようになりました。
- バイナリ更新時のクラッシュループ修正:
brew upgrade後にデーモンが正常に終了せず、エージェントがクラッシュし続ける問題が解消されました。 MCP_TOOL_TIMEOUTのバグ修正: 設定された値に関わらず、リモートMCPサーバーへのツール呼び出しが60秒でタイムアウトしていた問題が修正されました。- Windows環境のデッドロック解消: ネットワークドライブを作業ディレクトリとして
claude agentsを実行した際にデッドロックが発生する問題と、起動中のCtrl+Cが効かない問題が修正されました。 - プラグイン関連の不具合修正: キャッシュ削除による有効なプラグインの消滅や、
skills: ["./"]設定時の誤ったエラー表示など、複数のプラグイン関連バグが修正されました。 - コンテキスト要約(Reactive compaction)の最適化: 最初の要約試行時にコンテキスト上限に近い状態での無駄な再試行を避けるよう改善されました。
- 旧モデル名の参照を削除: Usage Policy の拒否メッセージに含まれていた古い
claude-sonnet-4-20250514の提案が削除されました。
原文(Release Notes)
What's changed
- Added new
claude agentsflags:--add-dir,--settings,--mcp-config,--plugin-dir,--permission-mode,--model,--effort, and--dangerously-skip-permissionsto configure dispatched background sessions- Fast mode now uses Opus 4.7 by default (previously Opus 4.6). Set
CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1to pin fast mode to Opus 4.6- Plugins with a root-level
SKILL.mdand noskills/subdirectory are now surfaced as a skill- The
/plugindetails pane andclaude plugin detailsnow show LSP servers a plugin provides/web-setupwarns before replacing an existing GitHub App connection- Fixed
MCP_TOOL_TIMEOUTnot raising the per-request fetch timeout for remote HTTP and SSE MCP servers, which capped tool calls at 60 seconds regardless of the configured value- Fixed background sessions not recognizing pre-existing git worktrees, blocking Edit while EnterWorktree refused to create a duplicate
- Fixed background sessions disappearing and daemon reconnect failing after macOS sleep/wake — the daemon now detects clock jumps instead of treating them as elapsed idle time
- Fixed daemon not exiting cleanly after the binary is upgraded (e.g.
brew upgrade), causing dispatched agents to crash-loop on the deleted path- Fixed background agents crash-looping when the Claude-in-Chrome extension is connected without a shared tab
- Fixed clicking links in an attached
claude agentssession — the background worker's headless browser shim no longer applies while attached- Fixed
claude agents"v to open in editor" using the daemon's default editor instead of your shell's$EDITOR/$VISUAL- Fixed
claude agentsdeadlocking on Windows with network-drive working directories; Ctrl+C now works during startup- Fixed background-color bleed when attaching to a
claude agentssession from Apple Terminal or other 256-color-only terminals- Fixed
claude --bg --dangerously-skip-permissionsnot persisting across retire/wake- Fixed session titles being derived from the URL when the first message is a link
- Fixed redundant
set_modelrequests from remote clients injecting duplicate/modelbreadcrumbs into the transcript- Fixed plugins using
skills: ["./"]showing a false "path escapes plugin directory" error- Fixed plugin cache cleanup deleting the active plugin version directory when no installation metadata is present
- Fixed
/pluginbrowse pane showing "0 installs" for newly published plugins- Fixed plugin advisories not naming every
plugin.jsonkey that shadows a default folder- Improved reactive compaction: the first summarize attempt now seeds from the original request's overflow size, avoiding a wasted near-full-context retry
- Improved hook configuration error: configuring a prompt- or agent-type hook for
SessionStart/Setup/SubagentStartnow shows a clear "use a command-type hook instead" error- Removed stale
/model claude-sonnet-4-20250514suggestion from Usage Policy refusal messages