What probably matters to youSection of the release
What
In the Agent SDK, interrupt() now accepts an options object. Passing cancelQueued: true also cancels messages waiting in the queue, and the resolved value includes a cancelled list of message ids alongside the existing still_queued. Previously it took no arguments.
Details
cancelQueued: true adds cancel_queued: true to the control request sent to the CLI.
Available to any SDK caller on this build, with no flag.
The surrounding SDK transport and query code was re-bundled from lazily loaded module wrappers into plain top-level classes, with no behaviour change.
Usage
const result = await query.interrupt({ cancelQueued: true });
console.log(result.cancelled, result.still_queued);
Evidence
cancel_queued
Strings lifted out of the shipped bundle, so the claim above can be checked against them.