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

Headless text output recovers the last full assistant message on an incomplete run

You'll notice
Useful4 Signal0
Headless Mode

In headless text runs, an incomplete ending no longer swallows the last full answer.

-p
What

In -p runs that print plain text, a run that ends incomplete no longer discards the last complete assistant message.

Details
  • Applies when the output format is neither json nor stream-json; the last and prior top-level assistant texts are tracked.
  • If the final result is a success-but-error whose text ends with "The response above may be incomplete." and equals the last assistant text, the prior assistant text is printed above the result.
  • Compact boundaries and superseded messages reset the tracker.
Evidence

The response above may be incomplete.

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.219 →