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.229 Home All releases olderv2.1.228 v2.1.231newer
Claude Code v2.1.229

Caches moved from module globals onto the session

Under the hood
Useful2 Signal2
Session State

Web fetch and user context caches are now per session, so forked sessions no longer share them.

What

User context, the cache-breaker, the WebFetch cache and prompt-cache-break state all moved from process-wide memoized storage onto per-session state, so forked and concurrent sessions no longer share them.

Details
  • The settings-change subscriber now clears context through the session-aware path rather than emptying a global cache.
  • WebFetch results live in a WebFetchCache entry in tool state instead of a module-level map.
  • Prompt-cache-break state sits in a per-source map with a flag recording whether hydration was attempted.
Evidence

WebFetchCache

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.229 →