Claude Code 2.1.133: Worktree Config, Effort Level Hooks, Credential Fixes
Claude Code 2.1.133 adds worktree base configuration, effort level hooks, and fixes credential races, proxy handling, and session isolation bugs.
TL;DR
- New
worktree.baseRefsetting controls whether worktrees branch fromorigin/<default>or localHEAD— default changed tofresh - Hooks now receive effort level via
$CLAUDE_EFFORTenv var and JSON input - Fixed credential race condition causing parallel sessions to dead-end at 401
- Fixed proxy/mTLS not being respected for full MCP OAuth flow
- Fixed effort level changes leaking between concurrent sessions
New
worktree.baseRefsetting — choose whether--worktree,EnterWorktree, and agent-isolation worktrees branch fromorigin/<default>(fresh) or localHEAD(head). Default is nowfresh, which changesEnterWorktree's base back to remote default (it was localHEADsince 2.1.128) — setworktree.baseRef: "head"if you need unpushed commits in new worktrees.sandbox.bwrapPathandsandbox.socatPath— managed settings for Linux/WSL to specify custom bubblewrap and socat binary locations.parentSettingsBehavioradmin key — lets admins opt SDKmanagedSettingsinto policy merge instead of first-wins behavior.- Effort level in hooks — hooks now receive active effort level via
effort.levelJSON field and$CLAUDE_EFFORTenvironment variable; Bash tool commands can also read$CLAUDE_EFFORT. - Focus mode improvements — improved behavior and reliability.
- Memory optimization — warm-spare background workers now released under memory pressure.
Fixed
- Parallel sessions dead-ending at 401 after refresh-token race wiped shared credentials.
Edit/Writeallow rules scoped to drive root (C:\) or POSIX/matching incorrectly and always prompting.- Unhandled rejection (
ECOMPROMISED) when history or session-log file lock is compromised by clock skew or slow disk. - Spurious "Error compacting conversation" notification when pressing Esc during conversation compaction.
HTTP(S)_PROXY,NO_PROXY, and mTLS not being respected for full MCP OAuth flow (discovery, dynamic client registration, token exchange, token refresh).- Read/Write/Edit being denied on mapped network drives passed via
--add-diror SDKadditionalDirectories. - Remote Control stop/interrupt from claude.ai not fully canceling CLI session, causing queued messages to never advance after interrupting stuck tool or prompt.
/effortin one session unexpectedly changing effort level of other concurrent sessions; related issue where IDE effort change could be silently dropped.- Subagents not discovering project, user, or plugin skills via Skill tool.
claudeCode.claudeProcessWrapperfailing with "Unsupported platform" when extension build doesn't bundle Claude binary.claude --helpnow lists--remote-controlalongside--remote-control-session-name-prefix.
Update: npm install -g @anthropic-ai/claude-code or check your IDE extension marketplace for Claude Code 2.1.133.
Source: Claude Code