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.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Telemetry exporter flushes before shutdown

Under the hood
Useful1 Signal1
Telemetry

Pending telemetry is flushed on exit instead of being dropped.

What

Pending first-party events now get a final flush on exit instead of being dropped. The exporter is held on the host, and shutdown starts the flush and waits for it alongside the telemetry provider's own shutdown.

Details
  • The exporter also gained token-refresh bookkeeping: which credential a refresh was attempted for, the in-flight refresh, and a retry time for workload identity minting.
  • Two timeouts are now configurable, one for the OAuth refresh and one for waiting on the credential helper process.
  • Applies whenever first-party event logging is enabled.
Evidence

signalFinalFlush

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →