Under the hood
Session and agent state accessors consolidated into shared factory functions
What
The code that builds the per-agent and per-session state object (used for things like advisor settings, MCP config, proactivity level, web browser state, and artifact tracking) was reorganized. A long list of individually written getter and setter functions was replaced with a single shared factory, and two related builders for queued notifications and task registries were renamed internally.
Why
This is an internal code-organization change with no expected effect on behavior; it consolidates duplicated accessor code into one shared place.