2.1.133

Claude Code 2.1.133 - リリースノート

2026年5月7日
Claude Code

日本語サマリー

以下は Claude Code 2.1.133 のリリースノート要約です。

⚠️ 破壊的変更・重要な修正

  • 破壊的変更: worktree.baseRef のデフォルトが fresh に変更され、EnterWorktree のベースが origin/<default> に戻りました(2.1.128以降は HEAD)。未プッシュのコミットを維持するには worktree.baseRef: "head" を設定してください。
  • 重要な修正: 並行セッション間でリフレッシュトークンの競合が発生し、全セッションが401エラーで動作不能になる致命的バグを修正しました。

💡 主な変更点・新機能

  • 新設定: sandbox.bwrapPath / sandbox.socatPath (Linux/WSL) により、カスタムの bubblewrap / socat バイナリパスを指定可能になりました。
  • 新設定: 管理者向けに parentSettingsBehavior キー (first-wins | merge) を追加し、SDK managedSettings のポリシーマージ動作を制御できるようになりました。
  • Hooks の拡張: Hooks がアクティブな effort.level の値を JSON入力および $CLAUDE_EFFORT 環境変数から取得可能になり、Bashツールでも同環境変数を参照できるようになりました。
  • パフォーマンス改善: メモリ圧迫時に予備のバックグラウンドワーカーを解放し、メモリ使用量を改善しました。また、フォーカスモードの挙動を改善しました。
  • ネットワーク・プロキシ修正: HTTP(S)_PROXY / NO_PROXY / mTLS が MCP OAuth フローの全プロセス(検出、クライアント登録、トークン交換等)で正しく適用されるよう修正しました。
  • 権限・ツール修正: C:\ や POSIX / をルートとする Edit / Write 許可ルールの誤マッチを修正し、ネットワークドライブの Read/Write/Edit が拒否される問題を解消しました。
  • セッション・連携の安定化: リモートコントロール(claude.aiからの停止/割り込み)がローカルの Esc と同等に機能するようになり、他セッションへの意図しない effort レベル伝播も修正されました。
  • その他: サブエージェントが Skill ツール経由でスキルを発見できないバグや、claude --help の出力欠落、VSCode拡張機能のエラーをそれぞれ修正しました。

原文(Release Notes)

What's changed

  • Added worktree.baseRef setting (fresh | head) to choose whether --worktree, EnterWorktree, and agent-isolation worktrees branch from origin/<default> or local HEAD. Note: the default fresh changes EnterWorktree's base back to origin/<default> (it has been local HEAD since 2.1.128) — set worktree.baseRef: "head" to keep unpushed commits in new worktrees
  • Added sandbox.bwrapPath and sandbox.socatPath managed settings (Linux/WSL) to specify custom bubblewrap and socat binary locations
  • Added parentSettingsBehavior admin-tier key ('first-wins' | 'merge') to let admins opt SDK managedSettings (parent tier) into the policy merge
  • Hooks now receive the active effort level via the effort.level JSON input field and the $CLAUDE_EFFORT environment variable, and Bash tool commands can read $CLAUDE_EFFORT
  • Improved focus mode behavior
  • Improved memory usage by releasing warm-spare background workers under memory pressure
  • Fixed parallel sessions all dead-ending at 401 after a refresh-token race wiped shared credentials
  • Fixed Edit/Write allow rules scoped to a drive root (C:\) or POSIX / matching incorrectly and always prompting
  • Fixed an unhandled rejection (ECOMPROMISED) when a history or session-log file lock is compromised by clock skew or slow disk
  • Fixed pressing Esc during conversation compaction showing a spurious "Error compacting conversation" notification
  • Fixed HTTP(S)_PROXY / NO_PROXY / mTLS not being respected for the full MCP OAuth flow including discovery, dynamic client registration, token exchange, and token refresh
  • Fixed Read/Write/Edit being denied on mapped network drives passed via --add-dir / SDK additionalDirectories
  • Fixed Remote Control stop/interrupt from claude.ai not fully canceling the CLI session the same way local Esc does, causing queued messages to never advance after interrupting a stuck tool or prompt
  • Fixed /effort in one session unexpectedly changing the effort level of other concurrent sessions, and a related issue where an IDE effort change could be silently dropped
  • Fixed subagents not discovering project, user, or plugin skills via the Skill tool
  • claude --help now lists --remote-control alongside --remote-control-session-name-prefix
  • [VSCode] Fixed claudeCode.claudeProcessWrapper failing with "Unsupported platform" when the extension build doesn't bundle a Claude binary