Claude Code Version Tracker: Environment Variables, Feature Gates & Models#
Published on March 7, 2026
We analyze every Claude Code release to document undocumented environment variables, feature gates, and model IDs. This page tracks all versions we've covered.
Looking for the full list? See The Complete List of Claude Code Environment Variables (500+) — every env var organized by category with practical tips.
Version History#
v2.1.114 — April 20, 2026#
250 env vars (+20 net) · 17 models (+1) · 24 slash commands
Seven-release stretch (v2.1.108 → v2.1.114). Two headline shifts: the CLI now spawns a native per-platform binary instead of bundled JS (v2.1.113) — packaging, supply-chain, and signing posture all tighten. And /fewer-permission-prompts (v2.1.111; originally announced as /less-permission-prompts) scans transcripts to build a prioritized settings allowlist — the first feature that actually reduces Claude Code's biggest daily friction point. Around those: fullscreen TUI (/tui fullscreen) with DECSTBM scrolling, /ultrareview cloud PR review, Opus 4.7 xhigh effort + /effort slider, 1-hour prompt caching on API key/Bedrock/Vertex/Foundry, proxy auth helper subprocess protocol (5 vars) for Kerberos/SSO, Agent Teams scaffolding (team name propagation, subagent prompt append, stall timeout, daemon backend), experimental Advisor Tool, session recap for telemetry-disabled users, readline-compatible Ctrl+A/E, wrapped-URL click targets, Windows Ctrl+Backspace. ~80 bug fixes across the range.
v2.1.108 — April 14, 2026#
234 env vars (+4 net) · 4 new, 0 removed
Limits reckoning release. Prompt cache TTL now user-configurable (ENABLE_PROMPT_CACHING_1H, FORCE_PROMPT_CACHING_5M). Rate limits vs. plan limits get separate error messages. Startup warning if caching accidentally disabled. DISABLE_TELEMETRY → 5-minute TTL bug fixed. REPL experimentation returns: CLAUDE_CODE_REPL and CLAUDE_REPL_VARIANT for A/B testing stateful execution. Skill discovery via Skill tool (CLAUDE_API_SKILL_DESCRIPTION). Internal team routing (CLAUDE_INTERNAL_ASSISTANT_TEAM_NAME). /undo alias for /rewind. /model warns before mid-conversation switch. /recap away summary. Lazy-loaded language grammars reduce memory footprint. 15+ bug fixes.
v2.1.107 — April 14, 2026#
230 env vars (+6 net) · 6 new, 0 removed
Multi-worktree orchestration plumbing: CLAUDE_CODE_BASE_REFS for diff base overrides, CLAUDE_CODE_REPO_CHECKOUTS for worktree storage paths, CLAUDE_CODE_RESUME_FROM_SESSION for session chaining. Away mode summaries (CLAUDE_CODE_ENABLE_AWAY_SUMMARY) for async agent supervision. Byte-level stream watchdog (CLAUDE_ENABLE_BYTE_WATCHDOG) catches stalled API connections below SSE layer. UltraReview preflight test fixture. PreCompact hooks, background plugin monitors, worktree reuse via path parameter. Stalled stream abort-and-retry, SSH color fix. v2.1.106 skipped.
v2.1.104 — April 12, 2026#
224 env vars (+2 net) · 2 new, 0 removed
Enterprise TLS certificate store control (CLAUDE_CODE_CERT_STORE) — OS CA store now trusted by default, bundled reverts to Node.js CAs. SDK OAuth refresh coordination (CLAUDE_CODE_SDK_HAS_OAUTH_REFRESH) prevents double-refresh races in IDE extensions. /team-onboarding command generates teammate ramp-up guides. /ultraplan auto-provisioning. Command injection fix in LSP binary detection. Virtual scroller memory leak fix. Hardcoded 5-minute timeout removed — respects API_TIMEOUT_MS. v2.1.101 changelog covers this range; v2.1.102–103 skipped.
v2.1.100 — April 10, 2026#
222 env vars (0 net) · 3 new, 3 removed
Context token ceiling (CLAUDE_CODE_MAX_CONTEXT_TOKENS) with DISABLE_COMPACT interop. Perforce VCS mode (CLAUDE_CODE_PERFORCE_MODE) — fail on read-only files with p4 edit hint. Script capability caps (CLAUDE_CODE_SCRIPT_CAPS) paired with PID namespace sandboxing. Google Vertex AI setup wizard. Focus view toggle (Ctrl+O). Monitor tool for streaming background script events. 30+ Bash permission security fixes closing bypass vectors and reducing false prompts. MCP memory leak fix (~50 MB/hr). REPL experiment variables removed. v2.1.99 skipped.
v2.1.96 — April 8, 2026#
222 env vars (0 net) · 0 new, 0 removed
Bedrock auth hotfix. Fixed 403 "Authorization header is missing" regression from v2.1.94 when using AWS_BEARER_TOKEN_BEDROCK or CLAUDE_CODE_SKIP_BEDROCK_AUTH. Binary extraction byte-identical to v2.1.94. v2.1.95 skipped.
v2.1.94 — April 7, 2026#
222 env vars (+5) · 5 new, 0 removed
Mantle auth proxy for Amazon Bedrock (CLAUDE_CODE_USE_MANTLE) with skip flag (CLAUDE_CODE_SKIP_MANTLE_AUTH). Sandbox state flag (CLAUDE_CODE_SANDBOXED). MCP server environment variable allowlist (CLAUDE_CODE_MCP_ALLOWLIST_ENV) — replaces all-or-nothing env inheritance. Team onboarding flows (CLAUDE_CODE_TEAM_ONBOARDING). --resume across worktrees. CJK text corruption fix. Write tool diff 60% faster. Default effort "high" for Team/Enterprise.
v2.1.92 — April 3, 2026#
217 env vars (+5) · 5 new, 0 removed
Proxy simulation without infrastructure (CLAUDE_CODE_SIMULATE_PROXY_USAGE). Fast mode org check bypass (CLAUDE_CODE_SKIP_FAST_MODE_ORG_CHECK). Remote Control session name prefix for CI/CD observability. CLAUDE_CODE_EXECPATH for symlinked/wrapped binary overrides. CLAUDE_BASE shorthand for base URL config. Interactive Bedrock setup wizard. Per-model cost breakdowns for subscribers. Policy-enforced remote settings refresh.
v2.1.91 — April 2, 2026#
212 env vars (−1 net) · 1 new, 2 removed
MCP 500K character tool result persistence override (_meta["anthropic/maxResultSizeChars"]). Plugin bin/ executable support — plugins can now ship and invoke native binaries. disableSkillShellExecution setting to lock down shell access in skills. Multi-line deep links via claude-cli://open?q=. Edit tool token optimization with shorter old_string anchors. CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION replaces typo predecessor. Net −1 env var.
v2.1.90 — April 1, 2026#
213 env vars (+3 net) · 24 slash commands (+1)
New "Anthropic AWS" API provider (CLAUDE_CODE_USE_ANTHROPIC_AWS) — Anthropic's own AWS-hosted infrastructure, distinct from Bedrock. Companion CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH for IAM ambient credentials. Offline-resilient marketplace plugin caching (CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE). /powerup interactive lessons. Prompt-cache regression fix (since v2.1.69). Quadratic SSE transport and transcript write fixes. PowerShell security hardening. Auto mode now respects explicit user constraints.
v2.1.89 — March 31, 2026#
210 env vars (+2 net) · 4 new, 2 removed
Agent cost steering for subagent delegation (CLAUDE_CODE_AGENT_COST_STEER). Session resume thresholds by time and token count. Claude API skill disable flag. Deferred tool execution for headless sessions. StructuredOutput schema cache ~50% failure rate fixed. Autocompact thrash loop detection. Edit tool no longer requires prior Read. MCP non-blocking connections. Named subagents in typeahead. CLAUDE_CODE_DISABLE_COMMAND_INJECTION_CHECK removed — safety check now mandatory.
v2.1.88 — March 30, 2026#
208 env vars (+4 net) · 41 feature gates · 16 models · 23 slash commands · 29 dynamic configs
7 new env vars, 3 removed. Terminal UX overhaul: CLAUDE_CODE_NO_FLICKER for flicker-free alt-screen rendering, CLAUDE_CODE_DISABLE_MOUSE / CLAUDE_CODE_DISABLE_MOUSE_CLICKS for granular mouse control, CLAUDE_CODE_SCROLL_SPEED for tunable scrolling. REPL mode emergence: CLAUDE_CODE_REPL and CLAUDE_REPL_MODE for lightweight stateless interactions. CLAUDE_CODE_DISABLE_POLICY_SKILLS for suppressing org-pushed skills. v2.1.87 hotfix for Cowork Dispatch. Prompt cache miss fix, structured output schema bug, memory leaks for 1 GiB+ files. Thinking summaries off by default.
v2.1.87 — March 30, 2026#
202 env vars (0 net, +2/-2) · 16 models · 22 slash commands · 29 dynamic configs
OAuth console override (CLAUDE_LOCAL_OAUTH_CONSOLE_BASE) completes the auth triptych. Trusted device token (CLAUDE_TRUSTED_DEVICE_TOKEN) for persistent sessions. MCP server env vars (CLAUDE_CODE_MCP_SERVER_NAME, CLAUDE_CODE_MCP_SERVER_URL) removed after 2 versions. Cowork Dispatch message delivery fix. Dispatch model selection. Boris Cherny's 15 hidden features thread: mobile app, /loop, /schedule, hooks, --bare default flip coming.
v2.1.86 — March 27, 2026#
204 env vars (+2) · 41 feature gates · 16 models · 22 slash commands · 29 dynamic configs
Trusted device token (CLAUDE_TRUSTED_DEVICE_TOKEN) for enterprise SSO and CI/CD environments. OAuth console base URL override (CLAUDE_LOCAL_OAUTH_CONSOLE_BASE) completes the full OAuth endpoint decomposition across three releases. 20+ bug fixes: --resume tool_use ID errors, /feedback OOM on long sessions, masked input token leaks on narrow terminals, MCP server startup stalls. X-Claude-Code-Session-Id header for proxy observability.
v2.1.85 — March 27, 2026#
202 env vars (+5 net) · 41 feature gates · 16 models · 22 slash commands · 29 dynamic configs
MCP server multiplexing env vars (CLAUDE_CODE_MCP_SERVER_NAME, CLAUDE_CODE_MCP_SERVER_URL). OAuth endpoint overrides (CLAUDE_LOCAL_OAUTH_API_BASE, CLAUDE_LOCAL_OAUTH_APPS_BASE). PowerShell parse timeout. Commit logging. Binary shrank 7.15 MB (194 → 187 MB) by replacing WASM yoga-layout with pure TypeScript. Conditional if fields for hooks. Scheduled task timestamps. /compact context-exceeded fix. Memory leak patches for remote sessions. CLAUDE_CODE_SUBAGENT_MODELU typo removed.
v2.1.84 — March 26, 2026#
197 env vars (+6) · 41 feature gates · 16 models · 22 slash commands · 29 dynamic configs
Idle session management with configurable thresholds, CLAUDE_STREAM_IDLE_TIMEOUT_MS stream watchdog (default 90s). Bedrock/Vertex/Foundry capability override env vars. TaskCreated and WorktreeCreate HTTP hooks. Deep links open in preferred terminal. PowerShell tool preview for Windows. MCP 2KB description cap and server deduplication. Stats screenshot via Ctrl+S in /stats (16x faster). Drive root deletion protection on Windows.
v2.1.83 — March 25, 2026#
191 env vars (+8) · 41 feature gates · 16 models · 22 slash commands · 29 dynamic configs
managed-settings.d/ drop-in directories for enterprise policy management. 8 new env vars including CLAUDE_CODE_SUBPROCESS_ENV_SCRUB, CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK, CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST. Transcript search, plugin keychain storage, CwdChanged/FileChanged hook events. Largest release by fix count — 40+ fixes spanning macOS exit hang, startup latency, MCP policy bypass, sandbox piped commands. v2.1.82 skipped in changelog.
v2.1.81 — March 21, 2026#
183 env vars (+1) · 41 feature gates · 16 models · 22 slash commands · 29 dynamic configs (-1)
--bare flag for stripped-down scripted -p calls (skips hooks, LSP, plugins, auto-memory). Concurrent OAuth fix for multi-session re-auth race condition (#24317). --channels permission relay to phone. /btw pasted text fix, ! bash mode discoverability. Plan mode hides "clear context" by default. 17 bug fixes across voice mode, enterprise proxies, worktrees, Remote Control, tmux.
v2.1.80 — March 20, 2026#
182 env vars (no change) · 41 feature gates · 16 models · 22 slash commands · 30 dynamic configs (+1)
--channels research preview for messaging platform integration (Telegram, Discord), simplified /plugin install flow, source: 'settings' plugin declarations, 80MB startup memory reduction on large repos. Fine-grained tool streaming fix for Bedrock/Vertex/proxy 400 errors, --resume parallel tool result restoration, voice mode WebSocket fix, managed settings startup bug. 7 bug fixes total.
v2.1.79 — March 18, 2026#
182 env vars (+3, -2) · 41 feature gates · 16 models · 22 slash commands
Subprocess env scrubbing (CLAUDE_CODE_SUBPROCESS_ENV_SCRUB), extra API metadata (CLAUDE_CODE_EXTRA_METADATA), refactored init path (CLAUDE_CODE_NEW_INIT). 18MB startup memory reduction, --console auth for API billing, non-streaming fallback timeout. 2 vars removed.
v2.1.78 — March 17, 2026#
181 env vars (+1) · 41 feature gates · 16 models · 22 slash commands
Plugin persistent state (CLAUDE_PLUGIN_DATA), custom model picker entries (ANTHROPIC_CUSTOM_MODEL_OPTION). StopFailure hook event, plugin agent frontmatter expansion, line-by-line streaming. Security hardening: sandbox bypass fixes, MCP deny rule enforcement.
v2.1.77 — March 17, 2026#
180 env vars (+1) · 41 feature gates · 16 models · 22 slash commands (+1 via changelog)
Cowork memory extra guidelines, /branch (renamed from /fork), /copy N index. Stabilization release with 25+ bug fixes: terminal rendering, tmux, teammate sessions, memory management.
v2.1.76 — March 14, 2026#
179 env vars (+3) · 41 feature gates · 16 models · 22 slash commands (+1 via changelog)
Account tagged ID, fast-mode network error bypass, workspace host paths. MCP elicitation support, /effort command. 14 bug fixes.
v2.1.75 — March 13, 2026#
176 env vars (+2) · 41 feature gates · 16 models · 22 slash commands (+1 via changelog)
Auto-compact window threshold, plugin option prefix, /color command. 1M context windows for Opus 4.6.
v2.1.74 — March 12, 2026#
174 env vars (+2, -1) · 41 feature gates · 16 models · 22 slash commands
Frame timing log, session-end hooks timeout. Two-stage classifier flag removed (graduated to default).
v2.1.73 — March 11, 2026#
158 env vars · 40 feature gates · 16 models · 22 slash commands (first baseline)
Maintenance release. First tracking of the full slash command inventory.
v2.1.72 — March 10, 2026#
173 env vars (+6) · 41 feature gates · 16 models
Brief mode, cron control, debug log levels, two-stage classifier.
v2.1.70 — March 6, 2026#
167 env vars (+3, -1) · 41 feature gates · 16 models
CCR v2 bridge, effort level toggle, delta MCP instructions.
v2.1.69 — March 5, 2026#
165 env vars (+82) · 41 feature gates (+41) · 16 models (+16)
Plugin system, mTLS, agent teams, context compaction.
v2.1.19 — January 27, 2025#
83 env vars · ~16 feature gates
First extraction. Agent swarms, Plan v2, debug flags.
What We Extract#
Each release goes through string extraction from the Claude Code npm package:
- Environment variables — undocumented configuration knobs not in official docs
- Statsig feature gates — A/B test flags that control unreleased features
- Model IDs — all models supported in the binary
- Architecture changes — new subsystems, removed features, renamed internals
Results are diffed against the previous version to surface what actually changed.
Official Documentation#
For officially supported environment variables, see the Anthropic Claude Code Environment Variables Reference. Our tracker covers the undocumented variables discovered through binary analysis that are not in the official docs.
Related Guides#
- Context Window Management — session strategies
- Productivity Tips — CLAUDE.md, permissions, custom commands
- Bulk Permissions Management — stop clicking Allow
- Debugging Claude Code — env vars for troubleshooting
- Settings Schema with Autocomplete — IntelliSense for settings.json
- Autonomous Task Workflow — /task command deep dive
FAQ#
How do you extract this data?
We analyze publicly observable behavior of the installed Claude Code software to document configuration options and feature flags.
Are these officially supported?
No. These are undocumented internals. They may change or disappear without notice.
How often do you update?
We cover every significant release shortly after it becomes available.
This analysis is conducted for independent security research and interoperability purposes under fair use principles. All trademarks belong to their respective owners. The information presented here documents publicly observable behavior of installed software and is not intended to circumvent any technological protection measures, infringe on intellectual property rights, or encourage unauthorized use. Use these findings at your own discretion.