Claude Code v2.1.143: Plugin Dependency Enforcement, PowerShell Defaults, and Background Session Fixes

✍️ OpenClawRadar📅 Published: May 16, 2026🔗 Source
Claude Code v2.1.143: Plugin Dependency Enforcement, PowerShell Defaults, and Background Session Fixes
Ad

Claude Code v2.1.143 is out, bringing plugin dependency management, PowerShell improvements, and a slew of bug fixes targeting background sessions, Windows usability, and macOS file permissions.

Plugin Dependency Enforcement

claude plugin disable now refuses when another enabled plugin depends on the target. It provides a copy-pasteable disable-chain hint. claude plugin enable force-enables transitive dependencies. The /plugin marketplace browse pane now shows projected context cost (per-turn and per-invocation token estimates).

PowerShell Changes

The PowerShell tool now passes -ExecutionPolicy Bypass by default. Opt out with CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY=1. On Windows, it is enabled by default for Bedrock, Vertex, and Foundry users; opt out with CLAUDE_CODE_USE_POWERSHELL_TOOL=0.

Worktree Isolation

Added worktree.bgIsolation: "none" setting to let background sessions edit the working copy directly without EnterWorktree — useful for repos where worktrees are impractical.

New Flags for claude agents

claude agents now accepts --add-dir, --settings, --mcp-config, --plugin-dir, --permission-mode, --model, --effort, and --dangerously-skip-permissions. These apply to the dashboard and to background sessions dispatched from it.

Background Session Improvements

  • /bg now preserves --mcp-config, --settings, --add-dir, --plugin-dir, --strict-mcp-config, --fallback-model, and --allow-dangerously-skip-permissions across respawn.
  • Background sessions preserve model and effort level after waking from idle.
  • Fixed false-positive worker-stall detection after host sleep or macOS App Nap.
  • Background daemon spawn falls back to the running binary when ~/.local/bin/claude launcher is missing.
Ad

Bug Fixes

  • Fixed corrupt .credentials.json with non-array scopes hanging the CLI on startup.
  • Fixed right-click paste in claude agents on Windows Terminal and WSL.
  • Stop hooks that block repeatedly now end the turn with a warning after 8 consecutive blocks (override via CLAUDE_CODE_STOP_HOOK_BLOCK_CAP).
  • Fixed Esc/Ctrl+C not cancelling a pending /loop wakeup.
  • Fixed /goal evaluator firing while background shells or delegated subagents are running.
  • Fixed NO_COLOR/FORCE_COLOR in settings.json env stripping Claude Code's own UI colors — they now apply to subprocesses only.
  • Fixed agent view spawning repeated PowerShell processes on Windows when listing sessions.
  • Fixed /bg without a prompt sending "continue" — the fork now waits for input.
  • Fixed --agent <name> not finding plugin-contributed agents without plugin: prefix.
  • Fixed deleting a session from agent view not removing its transcript file.
  • Fixed stale-fragment rendering when scrolling in attached background sessions on Windows Terminal.
  • Fixed 5xx error messages pointing at status.claude.com instead of naming the configured gateway.
  • Worktree cleanup no longer falls back to rm -rf when git worktree remove fails.
  • Fixed background-job sessions on macOS getting "Operation not permitted" for ~/Documents, ~/Desktop, ~/Downloads even with Full Disk Access.
  • Fixed background sessions capturing IDE file references into warm spare input.
  • Fixed claude agents --allow-dangerously-skip-permissions defaulting to bypass mode instead of just making it available in the permission cycle.

Shift+Tab Cycle

Shift+Tab in attached agent sessions now includes auto mode in the cycle.

📖 Read the full source: GitHub Claude-Code

Ad

👀 See Also

OpenClaw-superpowers adds reliability features for operational failure modes
Tools

OpenClaw-superpowers adds reliability features for operational failure modes

The openclaw-superpowers repository has expanded with eight new reliability-focused skills including deployment preflight checks, cron execution proofing, session reset recovery, and MCP auth lifecycle management. These additions bring the total to 60 skills, with 44 being OpenClaw-native and 23 designed for cron scheduling.

OpenClawRadar
Open-source Specialist Dispatch adapter delegates complex tasks to Claude Code
Tools

Open-source Specialist Dispatch adapter delegates complex tasks to Claude Code

expert-dispatch is a ~500-line bash script that lets a cheap AI assistant delegate complex coding tasks to Claude Code CLI. It uses commands like dispatch-cc run to send tasks and maintains per-project directories with CLAUDE.md for persistent context.

OpenClawRadar
Open-source MCP server bridges Claude Code with IDE tools
Tools

Open-source MCP server bridges Claude Code with IDE tools

An open-source MCP server gives Claude Code persistent access to IDE features including LSP, terminals, Git, GitHub, debugging, and diagnostics through 124+ tools. It enables coding from mobile devices when a machine is set up.

OpenClawRadar
Multi-LLM Paper-Trading Bot with Claude Opus as Lead Engineer and Gemini as Strategist: Architecture Breakdown
Tools

Multi-LLM Paper-Trading Bot with Claude Opus as Lead Engineer and Gemini as Strategist: Architecture Breakdown

A solo builder shares a 4,900-LOC paper-trading bot on Alpaca where Claude Opus 4 (Engineer) has veto power over Gemini Pro (Strategist), with a 270+ entry disagreement log called the Strategist Codex.

OpenClawRadar