Claude Code v2.1.74 — 2 New Environment Variables: Frame Timing & Session End Hooks#

Published on March 12, 2026

Part of the Claude Code Version Tracker series.

Claude Code v2.1.74 is a small release with 2 new environment variables and 1 removal compared to v2.1.73. No changes to feature gates, dynamic configs, model IDs, or slash commands.

What Changed#

v2.1.73v2.1.74
Environment variables173174 (+2, -1)
Model IDs1616 (no change)
Feature gates4141 (no change)
Dynamic configs2929 (no change)
Slash commands2222 (no change)

New Environment Variables (2)#

VariableLikely Purpose
CLAUDE_CODE_FRAME_TIMING_LOGEnable per-frame render timing logs in the terminal UI. A diagnostic variable — when set, it likely writes timing data for each UI frame render cycle, useful for identifying performance bottlenecks in the CLI's rendering path. Useful when profiling slow terminal refresh under heavy output loads.
CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MSSet the timeout in milliseconds for hooks that run when a Claude Code session ends. Session-end hooks (like SessionEnd in the hooks config) run cleanup scripts on exit — this variable controls how long Claude Code waits for those hooks to complete before force-exiting. Without a timeout, a misbehaving hook could hang the process indefinitely.

What These Tell Us#

Two distinct concerns surface in this release.

Session lifecycle is getting more precise. CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS is a direct companion to the SessionEnd hook type. The fact that Anthropic added a configurable timeout suggests real-world usage has surfaced the edge case where cleanup hooks stall — common in CI environments or when hooks shell out to slow external tools. This is a sign of the hooks system maturing from a feature demo into production-hardened infrastructure.

Performance observability is growing. CLAUDE_CODE_FRAME_TIMING_LOG joins other diagnostic variables like CLAUDE_CODE_PROFILE_STARTUP and CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS. The terminal UI renderer is getting more instrumented over time — Anthropic is building the tooling to diagnose and fix CLI performance complaints at scale, particularly as output volume from agentic workflows increases.

Together, these two additions point at operational maturity rather than new user-facing features: making the runtime safer to deploy and easier to debug.

Removed#

VariableNotes
CLAUDE_CODE_TWO_STAGE_CLASSIFIERAdded in v2.1.72 as an opt-in flag for two-stage intent classification. Its removal after just two versions suggests the feature graduated out of flag-gating — either enabled by default or folded into the main routing path without a toggle.

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.


Related: Context Window Management Guide | Claude Code Productivity Tips | The Agentic Engineering Playbook