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

Claude Code v2.1.300 ·

Restricted context object exposes tools, messages and MCP clients

A restricted context object now exposes tools, messages, the message queue, MCP clients and the permission phase, and drops file-read state

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

Unclear It is not shown whether hooks or anything else a user writes can read this object.

What

A limited view of Claude Code's internal state, already exposing hookOrigin and agentContext, now also exposes:

  • tools, the tools available
  • messages and messageQueue, the conversation and messages waiting to be sent
  • mcpClients, connections to MCP servers (add-ons that provide extra tools)
  • teammateContext
  • permissionPhase

It no longer exposes the record of which files have been read.

Why

This prepares the object for new code that needs more of the session's state.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not shown whether hooks or anything else a user writes can read this object.

See this entry in the whole of v2.1.300 →

Feedback