{"version":"2.1.321","anchor":"headless-interrupt-can-cancel-waiting-copies","canonical_anchor":"headless-interrupt-can-cancel-waiting-copies","heading":"Interrupting a headless session can now cancel queued waiting prompts","tier":"notice","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/headless-interrupt-can-cancel-waiting-copies","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Interrupting a headless session can now cancel queued waiting prompts\n\nA person's interrupt in headless mode with no turn running can now cancel queued waiting copies, and the reply lists what was cancelled\n\n**Unclear.** The remote setting that switches this on is not named, so it is unknown when it applies.\n\n**What**\n\nHeadless mode runs Claude Code without its interactive screen, usually driven by a program through the SDK (the developer kit for building on Claude Code). When a person sends an interrupt while no turn is running, Claude Code can now cancel the prompts that are queued and waiting to run.\n\nThe receipt Claude Code sends back after an interrupt gains a `cancelled` list naming what was cancelled. Before, it only listed items that were still queued and items that were put back. A remote setting decides whether the cancelling happens.\n\n**Why**\n\nPrograms driving Claude Code can now see exactly which waiting items an interrupt removed, rather than only what stayed in the queue.\n\n- Area: SDK\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}