Claude Code 2.1.143: Plugin Dependencies Are Enforced, Token Costs Show Up in the Marketplace
Claude Code 2.1.143 shipped May 15 with smarter plugin management — disable commands now block if dependencies exist and print the full disable chain — plus per-turn token cost projections in the plugin marketplace.
Claude Code 2.1.143 shipped May 15 with two focused improvements to plugin management and a handful of quality-of-life fixes.
Plugin dependency enforcement
The bigger change: claude plugin disable now checks whether any other enabled plugin depends on the one you’re trying to disable. If there’s a dependency, the command refuses and prints a copy-pasteable command that disables the full chain in the correct order.
The flip side also works. Running claude plugin enable on a plugin that has unmet dependencies now auto-enables those transitive dependencies. The net effect is that you can’t accidentally break your plugin setup through a partial disable, and you don’t have to manually trace a dependency chain to get a new plugin working.
Token cost projections in the marketplace
The /plugin marketplace browse pane now shows projected token costs per turn and per invocation. This gives you something concrete to evaluate before installing a plugin — especially useful if you’re running plugins across background sessions where costs can add up.
Background isolation option
A new worktree.bgIsolation: "none" setting lets background sessions edit the working copy directly without creating a separate git worktree. For repos where worktrees are impractical (monorepos with complex tooling setups, certain CI environments), this unblocks the use of background sessions entirely.
PowerShell and Windows fixes
The PowerShell tool now passes -ExecutionPolicy Bypass by default on Windows. An environment variable is available if you need to opt out. This was a common friction point for Windows users where corporate policy settings would cause the tool to fail silently.
Two other Windows fixes in this release: corrupted .credentials.json files are now handled gracefully instead of causing a crash, and right-click paste in Windows Terminal and WSL now works correctly.
Background session improvements
Background sessions now preserve the model and effort level you set even after they wake from idle. Previously, a session that had been sleeping could come back using different defaults. Shift+Tab in attached agent sessions now also cycles through auto mode, not just the fixed model options.
Bug fixes
The /loop wakeup cancellation bug is fixed — previously, cancelling a scheduled wakeup didn’t actually stop the loop from firing. Stop hooks that block repeatedly now emit a warning after 8 consecutive blocks rather than continuing silently. The /goal evaluator had a timing issue that could cause it to fire too early; that’s also patched.
Source: Claude Code v2.1.143 Release Notes — GitHub, May 15, 2026