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

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
/bgnow preserves--mcp-config,--settings,--add-dir,--plugin-dir,--strict-mcp-config,--fallback-model, and--allow-dangerously-skip-permissionsacross 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/claudelauncher is missing.
Bug Fixes
- Fixed corrupt
.credentials.jsonwith non-arrayscopeshanging the CLI on startup. - Fixed right-click paste in
claude agentson 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
/loopwakeup. - Fixed
/goalevaluator firing while background shells or delegated subagents are running. - Fixed
NO_COLOR/FORCE_COLORinsettings.jsonenv 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
/bgwithout a prompt sending "continue" — the fork now waits for input. - Fixed
--agent <name>not finding plugin-contributed agents withoutplugin: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 -rfwhengit worktree removefails. - Fixed background-job sessions on macOS getting "Operation not permitted" for
~/Documents,~/Desktop,~/Downloadseven with Full Disk Access. - Fixed background sessions capturing IDE file references into warm spare input.
- Fixed
claude agents --allow-dangerously-skip-permissionsdefaulting 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
👀 See Also

soul.py adds persistent memory to local LLMs with simple file-based approach
soul.py is a Python library that adds persistent memory to any LLM using two markdown files for identity and conversation logging, working with Ollama, OpenAI, and Anthropic models without requiring databases or servers.

Claude Workflow Library Now Tracks and Rates Reddit- Sourced Workflows Automatically
A searchable, auto-updated index of Claude and Claude Code workflows from major subreddits, with steps, artifacts, and community ratings.

Improving Claude Code Sessions with claude-self-improve
Claude-self-improve is a CLI tool that enhances Claude Code's AI performance by analyzing session data and updating memory files automatically.

OpenClaw-WebTop: Run OpenClaw with Ollama and Ubuntu Desktop in GitHub Codespaces
OpenClaw-WebTop provides a way to run a complete OpenClaw instance with Ollama and Ubuntu MATE desktop directly in a browser using GitHub Codespaces, requiring no local Docker installation or VPS.