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

Claude Code v2.1.269 ·

user_message_uuid stamping behavior for SDK streams clarified

Documentation for the SDK's user_message_uuid now matches its actual behavior across partial and complete assistant messages

Group of 2 You'll notice Improvements
JSON All of v2.1.269
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.269,
ImprovementsSection of the release

What

  • The documented behavior of user_message_uuid changed: it stamps the turn's first top-level assistant message (which may be only a thinking block, or a synthetic API-error message), not simply the first reply frame.
  • With --include-partial-messages, the first non-ping stream event is now stamped independently of the completed message, so the same uuid can appear on two frames instead of the partial stream replacing the complete-message stamp.
  • The SDK docstring now also clarifies that a turn started by a typed prompt stamps both its first non-ping stream event and, independently, its first complete assistant message (SDKAssistantMessage.user_message_uuid), so both can carry the same uuid.

Why This makes the SDK's documentation match its real streaming behavior, so integrators relying on user_message_uuid to correlate partial and complete messages get accurate expectations instead of being misled by outdated docs.

Read from
Names in the bundleuser_message_uuid
What the documentation says
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 user_message_uuid, on Agent SDK reference - TypeScript. Claude Code sets the list together with `user_message_uuid` on each reply frame that carries that field and on the result. For the full set of turn frames that echo the answered message's `uuid`, and the version each requires, see [`user_m… agent-sdk/typescript 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 user_message_uuid, on Agent SDK reference - TypeScript.

See this entry in the whole of v2.1.269 →

Feedback