01
Claude Code v2.1.143:Plugin 依赖校验与 background isolation 设置
插件依赖、context cost 与后台隔离增强。
Claude Code v2.1.143 强化 plugin dependency 管理、context cost 预估和 background session 配置,并修复凭据、Windows 粘贴和 stop hook 循环问题。该版本也引入 worktree.bgIsolation: "none",给 worktree 不适用的仓库提供直接编辑 working copy 的选择。
claude plugin disable现在会拒绝禁用仍被其他 enabled plugin 依赖的目标,并给出可复制的 disable-chain hint。claude plugin enable会强制启用 transitive dependencies。/pluginmarketplace browse pane 新增 projected context cost,包括 per-turn 和 per-invocation token estimates。- 新增
worktree.bgIsolation: "none",允许 background sessions 不经EnterWorktree直接编辑 working copy。 - PowerShell tool 现在传入
-ExecutionPolicy Bypass;可用CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY=1opt out。 - Background sessions 从 idle 唤醒后会保留当前 model 和 effort level。
- Attached agent sessions 中
Shift+Tab的循环包含 auto mode。 - 修复
.credentials.json中非数组scopes值导致 CLI 启动挂起或 OAuth token refresh 静默中止的问题。 - 修复 Windows Terminal 和 WSL 中
claude agents的 right-click paste。 - 修复阻塞型 stop hooks 反复循环的问题,连续 8 次 block 后 turn 会以 warning 结束。