Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Result messages now get a per-session result_index stamp

Result messages sent over the SDK/stream-json transport now carry a per-session result_index number

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSDKwhat it touches
KindInternal Changesin v2.1.268,
Under the hood

Result messages sent over the SDK/stream-json transport now carry a per-session result_index number

What

Outgoing 'result' messages on the SDK and stream-json transport (the machine-readable output formats used by tools and scripts driving Claude Code) now get a result_index field, an incrementing number stamped on each message. A tracking mechanism ensures each message only gets stamped once, even if it passes through multiple times.

Why

This gives anything consuming Claude Code's programmatic output a reliable way to tell results apart and put them in order, which is useful for tooling that processes a stream of results rather than reading them one at a time in a terminal.

Read from
Names in the bundleresult_index
What the documentation says
Documented inapi/api/beta

See this entry in the whole of v2.1.268 →

Feedback