Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.10 Home All releases olderv2.0.9 v2.0.11newer
Claude Code v2.0.10

Telemetry Flush on Logout

What: Telemetry data is now properly flushed when logging out, with configurable timeout How to use: Set the CLAUDE_CODE_OTEL_FLUSH_TIMEOUT_MS environment variable to control flush timeout (default: 5000ms):

export CLAUDE_CODE_OTEL_FLUSH_TIMEOUT_MS=10000
claude

Details:

  • New DEB() async function handles telemetry flushing with timeout protection
  • Default timeout is 5000ms (vs 1000ms for shutdown)
  • Uses Promise.race() to enforce timeout
  • Flushes both trace provider and metrics provider
  • Logs success/timeout/error messages at appropriate levels
  • Integrated into logout flow via IL0() function
  • Evidence: DEB() at line 398367 in v2.0.10 (did not exist in v2.0.9)

See this entry in the whole of v2.0.10 →