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

Session storage state moved off a module-level singleton

Under the hood
Useful1 Signal1
Sessions

Session storage is per-host now, so exit handling registers once instead of repeatedly.

What

The single shared session-storage object was replaced by a per-host holder, with the practical effect that exit handling is now registered once instead of repeatedly.

Details
  • The holder exposes the writer-health failure streak, degraded-store state, exit re-stamp providers, exit drains and a new subscription for when a session file has been written to disk.
  • The exit re-stamp and flush paths return early if the host check fails, and the process exit listener is only added when one is not already registered.
Evidence

sessionFileMaterialized

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 →