Claude Code v2.1.140 Fixes Agent Tool Matching, /goal Hangs, Windows Event-Loop Stall
Anthropic released Claude Code v2.1.140, a patch that addresses several bugs and adds minor improvements. Here are the key changes.
Agent Tool Matching
The subagent_type matching in the Agent tool is now case- and separator-insensitive. For example, "Code Reviewer" resolves to code-reviewer. This applies to any string input — you can use spaces, hyphens, underscores, or any casing, and the system will match the correct subagent type.
/goal Fix
Previously, /goal would silently hang when disableAllHooks or allowManagedHooksOnly was set. The indicator never resolved. Now it shows a clear error message instead.
Background Service & Hot-Reload
- Symlinked settings hot-reload fixed: A regression where symlinked settings files caused misattributed change events and spurious
ConfigChangehooks has been fixed. claude --bgidle-exit fix: No more"connection dropped mid-request"when the background service is about to idle-exit.- Enterprise endpoint security: Background service startup now allows more time, avoiding failures on machines with enterprise endpoint security software.
Remote Managed Settings & Known Marketplaces
- Remote managed settings now retry on 401 errors — retries once with a force-refreshed token instead of failing.
- The managed
extraKnownMarketplacesauto-update policy is now properly persisted toknown_marketplaces.json.
Event Loop & Tool Fixes
- Windows event-loop stall fixed: A recurring stall occurred when a missing executable (e.g.,
gh) triggered synchronouswhere.exere-spawns on every check. The stall is resolved. /loopwakeup fix: No more redundant wakeups polling for background tasks that already notify on completion.Readtool validation fix: Calls withoffsetpassed as a whitespace-padded or+-prefixed string now pass validation.- Cursor visibility: The native terminal cursor now stays at the input caret when the terminal loses focus.
Plugin Warnings
Plugins now warn when a default component folder (e.g., commands/) is silently ignored because plugin.json sets the matching key. This warning appears in /doctor, claude plugin list, and /plugin.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Ohio Suspends Data Center Tax Break: AI Cost Pressures Mount for Tech Firms
Ohio halts a sales tax exemption on equipment for new data centers, including those powering AI. The move signals growing state-level scrutiny of tax incentives as AI infrastructure demands surge.

Claude Code v2.1.153 Ships Skip LFS, MCP Fixes, and Agent Autocomplete
Claude Code v2.1.153 adds skipLfs option for Git LFS avoidance, fixes MCP server reconnect-loops, and improves agent dispatch with native slash command autocomplete.

Claude Pro User Documents Chronic Interface and Workflow Issues
A long-term Claude Pro subscriber details five persistent problems: file destruction during corrections, lack of versioning, amnesia after context compaction, inconsistent decision-making, and ignored user preferences. The user reports these issues occur despite explicit instructions in Claude's preferences section.

Developer Switches from Cursor Composer 2 and Kimi 2.6 to Qwen3.6:35b-a3b for Enterprise Workloads
A developer reports using Qwen3.6:35b-a3b for daily work on a 500-700k LOC enterprise suite, citing better performance than Kimi 2.6 and DeepSeek 4 Pro/Flash, with costs ~$0.08/1M tokens on OpenRouter.