Your conversation messages now live in a per-session store that keeps token counters in step.
What's wrong with this entry?
The interactive session no longer holds its message list in a React reference; a per-session store holds it and roughly 50 call sites read a snapshot from it. Every write also records the message count and an estimated token count into transcript state, keeping the tool-use and token counters in step with the messages.
progress: { toolUseCount: 0, ...i.progress, tokenCount: n }
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.
-
v2.1.235
Process-wide caches are now scoped per host
Both mention state
-
v2.1.235
Per-session state replaces process-wide globals, and the render root takes explicit dependencies
Both mention state
-
v2.1.235
More file-scope variables replaced by accessor-backed containers
Both mention state