releaseintermediate
[Release] anthropics/claude-code v2.1.140: v2.1.140
By ashwin-antgithub
View original on githubClaude Code v2.1.140 releases multiple bug fixes and improvements focused on agent tool matching, background service reliability, settings management, and terminal behavior. Key enhancements include case-insensitive subagent type matching, fixed `/goal` command hanging issues, improved background service startup on enterprise networks, and resolved event-loop stalls on Windows. The release also addresses validation issues with the Read tool and improves plugin diagnostics.
Key Points
- •Subagent type matching now accepts case- and separator-insensitive values (e.g., 'Code Reviewer' → 'code-reviewer')
- •Fixed `/goal` command silently hanging when `disableAllHooks` or `allowManagedHooksOnly` is set — now displays clear error messages
- •Resolved background service connection drops during idle-exit by improving request handling
- •Extended background service startup timeout to support enterprise endpoint security software
- •Fixed symlinked settings files causing misattributed change events and spurious ConfigChange hooks
- •Remote managed settings now retry once with force-refreshed token on 401 errors
- •Fixed managed `extraKnownMarketplaces` auto-update policy persistence to `known_marketplaces.json`
- •Eliminated redundant wakeup scheduling in `/loop` for background tasks that already notify on completion
- •Resolved Windows event-loop stalls caused by synchronous `where.exe` re-spawns for missing executables
- •Fixed Read tool validation to accept whitespace-padded and `+`-prefixed offset strings
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete