Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.248 ·

REPL session state consolidated into a single scoped object

Session state for commands, tools and MCP config now lives in one object with a lifecycle.

Under the hood Internal Changes
JSON All of v2.1.248
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
REPLArea: what it touches
Internal ChangesKind: in v2.1.248,
Internal ChangesSection of the release
What

The per-session state that drives the interactive session, commands, tools, dynamic MCP configuration, allowed agent types and the main-thread agent definition, moved out of scattered React hooks into one object with an explicit connect and dispose lifecycle. This is how the REPL works on this build; there is no flag.

Details
  • Exposes a subscribe/snapshot interface, memoized derivations, and a tool-pool cache keyed on the current permission context and MCP state.
  • Must be bound to a host screen before use and throws otherwise.
  • Plugin toast and status notifications route through it under plugin-toast- and plugin-status- keys.
Evidence

ReplSessionScope: used before its screen bound a host

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.248 →

Feedback