Claude v2.1.133 版本更新
阅读原文· github.comClaude Code 这个版本修了一堆让人抓狂的 bug,并行会话掉认证、网络驱动器权限、子代理找不到 skill 都解决了,重度用户应该尽快升级。
Claude 发布 v2.1.133 版本,新增多项配置与优化。主要新增 worktree.baseRef 设置以选择工作树分支基础,引入 sandbox.bwrapPath 等设置允许指定自定义二进制路径,并添加 parentSettingsBehavior 键供管理员控制设置合并策略。功能上,钩子现在可接收活动努力级别信息,Bash 工具命令可读取相应环境变量。此外,改进了焦点模式行为,并在内存压力下优化了后台工作进程的释放。本次更新修复了大量问题,包括并行会话死锁、权限规则误匹配、代理设置不生效、网络驱动器访问被拒、远程控制中断不彻底、努力级别跨会话更改以及子代理技能发现失败等。claude --help 现已列出远程控制选项,VSCode 扩展也修复了相关错误。
What's changed
- Added
worktree.baseRefsetting (fresh|head) to choose whether--worktree,EnterWorktree, and agent-isolation worktrees branch fromorigin/<default>or localHEAD. Note: the defaultfreshchangesEnterWorktree's base back toorigin/<default>(it has been localHEADsince 2.1.128) — setworktree.baseRef: "head"to keep unpushed commits in new worktrees - Added
sandbox.bwrapPathandsandbox.socatPathmanaged settings (Linux/WSL) to specify custom bubblewrap and socat binary locations - Added
parentSettingsBehavioradmin-tier key ('first-wins' | 'merge') to let admins opt SDKmanagedSettings(parent tier) into the policy merge - Hooks now receive the active effort level via the
effort.levelJSON input field and the$CLAUDE_EFFORTenvironment 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/Writeallow 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/ SDKadditionalDirectories - 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
/effortin 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 --helpnow lists--remote-controlalongside--remote-control-session-name-prefix- [VSCode] Fixed
claudeCode.claudeProcessWrapperfailing with "Unsupported platform" when the extension build doesn't bundle a Claude binary