Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Streamed events are now counted and numbered

Headless output now counts stream events before sending them, and remote sessions mark their event stream as numbered

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

Unclear It is not clear whether programs reading streaming events now receive more, fewer or the same events.

What

While Claude is answering, Claude Code sends a series of small stream events. Two changes touch how they are tracked:

  • In headless output, used when another program reads Claude Code's output, the sender now counts each event. If its first check fails it records a skip. Otherwise it records the event and runs a second check before sending. Before, one combined check decided
  • The connection settings for remote sessions now set streamEventsAreNumbered to true and pass a restateOpenBlock setting through

Why

This may change which stream events reach programs built on the SDK, and how events are put in order for remote sessions.

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 clear whether programs reading streaming events now receive more, fewer or the same events.

See this entry in the whole of v2.1.331 →

Feedback