Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.269 ·

Inbound message handling gets an explicit disposable queueing handle

Inbound message paths, including the session.receive hook, now use a disposable queueing handle to track whether a message was actually enqueued

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

What

  • The peer-messaging and bridge:repl inbound-message handlers now hold onto a queueing object returned alongside the message content. It's declared with using (a pattern that runs cleanup automatically), and the handler calls .queued() once the message is actually enqueued; if the handler returns early without enqueueing, the cleanup logic fires instead.
  • The session.receive hook dispatch path now always returns a queueing field too: a no-op placeholder when no hook is registered, or a real one tied to an arrival-tracking mechanism when a hook consumes or holds onto the message.

Why

This ensures that whenever a message is received, there's a reliable, explicit way to know whether it was actually queued or dropped, so cleanup happens correctly in both cases instead of relying on implicit behavior.

Read from
Names in the bundlesession.receive
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up session.receive, on Use the mods API. `session.receive` and `session.send` let a mod observe the messages. Return `next(e)` from both to pass each message through unchanged: plugins/mods/api see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up session.receive, on Use the mods API.

See this entry in the whole of v2.1.269 →

Feedback