Cost, cron, budget and presence state now reset with the session instead of lingering.
What's wrong with this entry?
Cost accounting, prompt assembly, the request journal, scratch space, cron, turn budget, user presence, surface capabilities and host-side slices are now properties of the live session rather than module-level singletons, so they reset with the session instead of persisting across it.
- The mutable holder for the main agent id and session project directory became an identity slice with accessors.
- No behaviour change was identified.
return gr.identity.mainAgentId(gr.id);
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