Claude Code v2.1.223 ·
Session-scoped globals refactored into a resettable cell registry
Session state is now reset through a central registry, so switching sessions clears things more reliably.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.223,
Internal ChangesSection of the release
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 →