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.223 Home All releases olderv2.1.222 v2.1.224newer

Session-scoped globals refactored into a resettable cell registry

Under the hood
Useful2 Signal0
Elsewhere

Session state is now reset through a central registry, so switching sessions clears things more reliably.

What

Module-level mutable globals with hand-written getter and setter pairs were replaced by cells produced by a factory and tracked in a registry.

Details
  • the factory returns a {get, set, reset} cell and pushes it onto the registry
  • session reset now clears the maps and loops the registry calling reset() instead of nulling each variable by name
  • a number of one-line getters and setters were removed as a result
Evidence

reset: () => {

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.223 →