Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Assistant messages tell you which prompt they answer

Use it now
Useful3 Signal3
SDK not in their notes

SDK replies now carry the uuid of the prompt they answer, on the first frame.

user_message_uuidoptions.uuid
What

SDK assistant messages can now carry user_message_uuid, the id you passed as options.uuid when you sent the prompt. It is stamped on the turn's first reply frame only, so a consumer can bind a reply to the send it answers without waiting for the result message.

Details
  • Sits at the wrapper level next to type and session_id, never inside message.content.
  • With --include-partial-messages, it lands on the first non-ping stream event of the turn instead.
  • Also attached to error results (error_max_turns, error_during_execution, error_max_budget_usd, error_max_structured_output_retries) and to success results even when is_error is set.
  • Absent on subagent frames, on synthetic or scheduled turns, and on turns where you sent no client uuid.
Evidence

Client uuid of the user message that triggered this turn (submitMessage options.uuid), stamped on the turn's FIRST reply frame only, user_message_uuid

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →