A broad refactor passes session, project root and storage explicitly, preparing for several sessions in one process.
What's wrong with this entry?
A large refactor across config writing, hooks, the status line, file suggestions, notifications and MCP elicitation: each now receives the session, its project root and cwd, or a storage handle as an argument instead of reading ambient globals, and the remaining shared state sits behind accessor objects. Groundwork for running more than one session correctly in a process.
- Covers the skills registry, teleport info, cached CLAUDE.md, sticky betas and cron tasks.
- A root session now carries a host object built by a factory.
backgroundHousekeeping
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