Claude Code v2.1.140
Released May 12, 2026 (3 months ago).
169 issues reference this build
10 still open
159 resolved (94%)
"References this build" means the issue body mentions running 2.1.140 (from the
bug-report template). It reflects report volume, not a proven defect count — an issue may mention a
version without being caused by it. First-party data from the anthropics/claude-code tracker.
Top issues reported on v2.1.140
Ranked by community engagement (reactions and comments).
- [BUG] Repeated "Image couldn't be processed" API errors consuming usage limit in Claude Code
- [Bug] Anthropic API Error: System role not supported on model
- [BUG] /goal Stop hook emits markdown to stdout, fails JSON schema validation ("JSON validation failed")
- [FEATURE] Resume sessions in a different working directory: --cwd flag
- [Bug] Session grouping by directory not working in `claude agents` view
- [BUG] Enter inserts a newline instead of submitting; keybindings.json override is ignored
- Unhandled case: [object Object] banner halts agent execution mid-run
- [BUG] The skill_activated event emits custom_skill instead of actual skill name
- TUI rendering: /agents view lines stack/overlap on Windows Terminal (2.1.140)
- [BUG] Compaction fails with "context window limit" error even when context usage is low (e.g., 20%) — regression in v2.1.153
- /resume should include background sessions (or add a separate picker for them)
- [BUG] Claude Max invoice paid but account remains past_due; Claude Code access blocked and cancellation page stuck
- [BUG] Managed settings aren't validated causing silent failures
- [BUG] Stream stall + sdk_stream_ended_no_result after update to 2.1.141
- [BUG] v2.1.141 regression: VSCode stream stalls at ~670 bytes after tool_use; UI hangs in "thinking" 5 min, work silently lost
- [Feature Request] Add interrupt hook for CLI termination events
- Plan mode: expose 'auto-classifier collapses plan body' as opt-in setting
- [Bug] Claude performs edits that do not match the approved ones, thereby replacing ASCII quotes with Unicode quotes in code generation, breaking syntax
- [BUG] /goal evaluator fires during background-shell wait windows, fragmenting agent execution
- Gateway model discovery does not use apiKeyHelper for authentication
- Renderer corrupts screen in long iTerm2 sessions — CLI emits cursor-up sequences far larger than the viewport, repaint anchors to row 1 (regression after 2.1.162, still present in 2.1.177)
- [BUG/ENHANCEMENT] Hooks added to settings.json mid-session aren't enforced until restart; no durable session-scoped hook state
- [Feature Request] Support Bedrock Guardrails Prompt Attack filter by injecting guard_content input tags
- [BUG] Claude Code now unable to orchestrate multi-level agent trees
- [BUG] MCP server child processes not terminated on Windows after session exit, causing process accumulation
- Mouse-tracking escape sequences leak into prompt input from new agent view
- [BUG] Security: permissions.deny rules not working
- [BUG] LSP goToDefinition silently drops results in git-ignored paths
- [BUG] Security: denyRead in sandbox not working
- [Bug] Native installer on Surface Pro 13 (ARM64) defaults to win32-x64 and causes Segmentation Fault
Changelog
What's changed
- Improved Agent tool
subagent_typematching to accept case- and separator-insensitive values (e.g."Code Reviewer"resolves tocode-reviewer) - Updated agent color palette
- Fixed
/goalsilently hanging whendisableAllHooksorallowManagedHooksOnlyis set — now shows a clear message instead of an indicator that never resolves - Fixed a regression in settings hot-reload where symlinked settings files caused misattributed change events and spurious
ConfigChangehooks - Fixed
claude --bgfailing with "connection dropped mid-request" when the background service was about to idle-exit - Fixed background service startup failing on machines with enterprise endpoint security by allowing more time
- Fixed remote managed settings not retrying on 401 — now retries once with a force-refreshed token
- Fixed managed
extraKnownMarketplacesauto-update policy not being persisted toknown_marketplaces.json - Fixed
/loopscheduling redundant wakeups to poll for background tasks that already notify on completion - Fixed a recurring event-loop stall on Windows when a missing executable (e.g.
gh) triggered synchronouswhere.exere-spawns on every check - Fixed
Readtool calls failing validation whenoffsetis passed as a whitespace-padded or+-prefixed string - Fixed native terminal cursor not staying at the input caret when the terminal loses focus
- Plugins now warn when a default component folder (e.g.
commands/) is silently ignored becauseplugin.jsonsets the matching key. Shown in/doctor,claude plugin list, and/plugin.