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.219 Home All releases olderv2.1.218 v2.1.220newer
Claude Code v2.1.219

API-error assistant messages round-trip through the SDK

Under the hood
Useful2 Signal0
Sessions

Resumed sessions can now still tell which past messages were API errors rather than real replies.

What

Assistant messages flagged as API errors keep that flag across serialization, so a resumed or replayed session can distinguish them from real assistant output.

Details
  • Transcript serialization emits is_api_error_message: !0 for such messages.
  • The reverse conversion maps it back to isApiErrorMessage.
  • This joins the existing aborted and is_virtual flags.
Evidence

is_api_error_message

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.219 →