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

Interrupt no longer double-reports cancelled queued commands

You'll notice
Useful2 Signal0
Elsewhere

Interrupting queued commands no longer reports the same cancellation twice or lists it as still queued.

What

Interrupting a session with queued commands emitted a second "cancelled" lifecycle callback for commands whose cancel had already been acknowledged, and listed them again as still queued.

Details
  • The command queue gains consumeCancelPendingAcked / hasCancelPendingAcked on top of the existing cancel-pending set
  • Drain suppresses a second "cancelled" lifecycle callback for a uuid whose cancel was already acknowledged
  • The interrupt control_response filters those uuids out of still_queued
  • Affects SDK clients watching command lifecycle around cancel_queued
Evidence

consumeCancelPendingAcked

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 →