Skip to content

Claude Code v2.1.143: Dependency Management and Bug Fixes

In brief: Plugin dependencies are now enforced, background sessions preserve model and effort level, and various crashes and UI issues on Windows and macOS have been fixed.

Claude Code 2.1.143 introduces enforced dependency management for plugins and fixes numerous stability issues in background sessions, PowerShell integration, and cross-platform compatibility.

Plugin and dependency management: The claude plugin disable command rejects disabling if other enabled plugins depend on it, and offers a copyable hint about the dependency chain. claude plugin enable automatically enables transitive dependencies as well. The plugin marketplace view now displays estimated context costs per turn and per invocation.

Session and work directory improvements: A new setting worktree.bgIsolation: "none" allows background sessions to edit the work directory directly without using EnterWorktree — practical for repositories where worktrees are inconvenient. Background sessions preserve model and effort level when waking from idle state. claude agents now accepts --add-dir, --settings, --mcp-config, and --plugin-dir, as well as new parameters --permission-mode, --model, and --effort to set defaults.

PowerShell and platform specifics: The PowerShell tool is now enabled by default for Bedrock, Vertex, and Foundry users (can be disabled via CLAUDE_CODE_USE_POWERSHELL_TOOL=0) and now passes -ExecutionPolicy Bypass (optionally respectable via environment variable). The tool is disabled by default on Windows side. Shift+Tab in connected agent sessions now also includes the auto mode in the cycle.

Stability fixes (selection): Fixed corrupted .credentials.json with array-scopes conflicts that hung the CLI on startup; right-click paste in Claude Agents on Windows Terminal and WSL; stop hooks that blocked in infinite loop (now warning after 8 blocks, configurable via CLAUDE_CODE_STOP_HOOK_BLOCK_CAP); Esc/Ctrl+C ignored on hanging /loop wake-ups; /goal evaluator firing during running background shells; macOS background sessions with “Operation not permitted” on document directories despite Full Disk Access; Windows agents view generating repeated PowerShell processes on session listing; deletion of sessions without transcript cleanup. NO_COLOR/FORCE_COLOR in settings.json now override only subprocesses, not the Claude UI. Error messages correctly refer to the configured gateway instead of status.claude.com.

Persistence and respawn logic: --dangerously-skip-permissions persists across retire→wake transitions. /bg and detach operations preserve --fallback-model, --allow-dangerously-skip-permissions, --mcp-config, --settings, --add-dir, and --plugin-dir across respawns. The background daemon spawn falls back to the running binary if the ~/.local/bin/claude launcher is not available.


Source: ainews-dev.lumi-systems.io · Published 16 May 2026
Lumi AI News — AI-assisted curation pursuant to Art. 50 EU AI Act. Paraphrase and classification by Lumi News Pipeline v1.5.2.

Share on: