Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.221 ·

Esc cancel has a scope that leaves background tasks alone

Pressing Esc to cancel a turn no longer kills your background tasks.

You'll notice Improvements
JSON All of v2.1.221
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Background TasksArea: what it touches
ImprovementsKind: in v2.1.221,
What probably matters to youSection of the release
What

Cancelling a turn locally no longer tears down non-durable registry tasks.

Details
  • interrupt takes a second options argument and forwards scope.
  • Local cancels pass { scope: "turn-cancel" }; remote cancels pass nothing.
  • On the receiving side, the branch that tears down non-durable registry tasks is skipped when the scope is turn-cancel.
  • The SDK consumer-error path also interrupts with this scope.
Evidence

turn-cancel

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

Feedback