In Brief: Claude Code v2.1.142 introduces eight new agent flags, uses Opus 4.7 as the standard for Fast Mode, and fixes critical bugs affecting background sessions on macOS and Windows.
Claude Code v2.1.142 expands the configurability of agent sessions through new command-line flags and switches the default for Fast Mode to Opus 4.7. The version also fixes several stability issues affecting background sessions.
The new version documents eight additional command-line flags for configuring distributed agent sessions: –add-dir, –settings, –mcp-config, –plugin-dir, –permission-mode, –model, –effort, and –dangerously-skip-permissions. These significantly extend control over background sessions. Fast Mode now uses Opus 4.7 by default; users can switch back to Opus 4.6 using the environment variable CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1.
The version fixes several stability issues affecting long-running sessions: a bug prevented background sessions from detecting existing Git worktrees, blocking editing operations. Following macOS sleep/wake cycles, sessions would disappear or the daemon failed to reconnect — this was resolved through improved detection of system time jumps. Another bug caused the daemon to not shut down cleanly after binary upgrades (e.g., brew upgrade), leading to crash loops in distributed agents.
For Windows users, a deadlock affecting network drive working directories has been fixed; Ctrl+C now works during startup. Plugin management was refined: root-level SKILL.md files without a skills/ subdirectory are now displayed as skills. The /plugin details section displays LSP servers that a plugin provides. A bug in plugin cache cleanup that deleted active plugin version directories has been corrected.
Additional fixes address usability: the /web-setup command now warns before overwriting an existing GitHub App connection. The MCP_TOOL_TIMEOUT issue, which limited remote HTTP and SSE MCP servers to 60 seconds per request, has been resolved for larger tool invocations. Session titles are no longer derived from URLs when the first message is a link.
Source: ainews-dev.lumi-systems.io · Published 15 May 2026
Lumi AI News — AI-assisted curation in accordance with Article 50 EU AI Act. Paraphrase and classification through Lumi News Pipeline v1.5.2.