`Claude Code` `v2.1.143` adds plugin dependency guards, cost previews, and direct background edits
Plugin management and background-session controls got noticeably safer and more transparent. The standout changes are dependency-aware enable/disable, projected token cost in the marketplace, and bgIsolation: "none" for repos where worktrees get in the way.
claude plugin disablenow blocks breaking dependency chains and shows a copy-pasteable fix path;enablealso force-enables transitive deps.- The marketplace browse pane now shows per-turn and per-invocation token estimates, making plugin cost visible before turning things on.
worktree.bgIsolation: "none"lets background sessions edit the main working copy directly, useful whengit worktreeis too awkward for a repo.- Background sessions now keep your chosen model and effort after idle wake, fixing a common long-run automation paper cut.
- Worktree cleanup no longer falls back to
rm -rfaftergit worktree removefails, reducing the chance of losing ignored or in-progress files.