v2.1.117
- Entity ID:
ent-20260423-r31a000000029 - Type:
version - Scope:
private - Status:
active
Description
Claude Code version 2.1.117 (April 21, 2026). Adds CLAUDE_CODE_FORK_SUBAGENT=1 env var to enable forked subagents on external builds (previously production-internal only). Agent frontmatter mcpServers now loaded for main-thread sessions via --agent. Critical fix: Opus 4.7 sessions were computing context percentages against a 200K window instead of the native 1M, causing autocompact to fire at ~20% actual utilization — now correctly uses the 1M window. Model selection persists across restarts.
Key claims
- v2.1.117 fixes Opus 4.7 using 200K instead of 1M for context percentages
- v2.1.117 gates external fork-subagent builds behind CLAUDE_CODE_FORK_SUBAGENT=1
Relations
- CLAUDE_CODE_FORK_SUBAGENT Env Var --[introduced_in]--> v2.1.117
- Opus 4.7 Context Window Bug (200K vs 1M) --[patched_by]--> v2.1.117