Claude Code v2.1.217: Subagent Depth Cap, Emoji Autocomplete, and Critical Fixes

✍️ OpenClawRadar📅 Published: July 22, 2026🔗 Source
Claude Code v2.1.217: Subagent Depth Cap, Emoji Autocomplete, and Critical Fixes
Ad

Anthropic released Claude Code v2.1.217 with notable changes to subagent governance, a long-requested emoji autocomplete feature, and a dozen bug fixes addressing memory leaks, session isolation, and Windows auto-update corruption.

Subagent Controls

The release introduces two environment variables to prevent runaway background agents:

  • CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS (default: 20) — caps how many subagents can run in parallel from a single message.
  • CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH — subagents no longer spawn nested agents by default. Set this to allow deeper nesting.

Also, --max-budget-usd now stops background subagents: once the budget cap is hit, new spawns are denied and running background agents are halted.

Emoji Autocomplete

You can now type :heart: to insert ❤️, or :hea for suggestions. Disable with the emojiCompletionEnabled setting.

Ad

Notable Bug Fixes

  • Memory leak fixed — truncated MCP tool outputs no longer keep the full untruncated result in memory for the rest of the session.
  • Windows auto-update corruption — failed updates that could leave claude.exe missing now restore the preserved executable automatically.
  • Background session isolation — symlinked working directories are now canonicalized, preventing sessions from escaping their workspace folder.
  • Claude Opus 4.8 on Bedrock — auto-compact now triggers properly, and /compact no longer fails once over the limit.
  • Corporate settings — mTLS, TLS-verify, OAuth scope, and proxy settings are now respected in Claude Desktop sessions.
  • Screen reader mode — startup announcement no longer cut off, and the thinking status row re-renders efficiently.
  • Telemetry routing — managed OTEL_EXPORTER_OTLP_ENDPOINT now governs all signals; lower-scope overrides no longer redirect telemetry away.
  • Transcript handling--resume and /resume no longer crash with malformed attachment entries; warnings added when transcript writes fail (e.g., disk full).
  • Remote Control — permission prompt now shows to viewers that connect after the prompt appears.
  • Brace expansionCLAUDE.md / SKILL.md paths with many brace groups no longer OOM-kill the CLI; expansion is now budget-bounded.
  • Footer links — PR badge links are clickable hyperlinks even over ssh/tmux; set FORCE_HYPERLINK=0 to opt out.

Other Changes

  • Login-expiry warning moved from 5 to 3 days before expiry.
  • Frontend-design plugin suggestion tip capped at 3 lifetime impressions.
  • Transcript preview gap fixed when attaching to a starting background session.

📖 Read the full source: GitHub Claude-Code

Ad

👀 See Also