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

Knowledge Raven: A Model-Agnostic Knowledge Base Platform Built with Claude Code
Knowledge Raven is a knowledge base platform that lets any MCP-compatible LLM search and cite company documents. The entire platform was built with Claude Code by a solo founder, featuring Python/FastAPI backend, MCP tool layer, and agentic RAG pipeline.

Claude VS Code Extension Reasoning Effort Slider Sends Inconsistent Values
The reasoning effort slider in the Claude VS Code extension sends inconsistent numeric values to the model, with non-monotonic mapping where moving the slider up can send a lower number.

Ollama Update Adds OpenClaw Support for Kimi k2.5 Cloud Model
Ollama has released an update that integrates OpenClaw support for cloud models, including free access to the Kimi k2.5 model with web search functionality, running on NVIDIA data centers.

4-Pane iTerm2 Setup for Claude Code CLI Separates AI Roles
A developer built a four-pane iTerm2 terminal setup specifically for Claude Code CLI to address context drift and self-grading bias. Each pane is locked to a specific role with dedicated models and permissions.