Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

REPL session state consolidated into a single scoped object

Under the hood
Useful2 Signal2
REPL

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

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.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.248 →