Under the hood
The command queue gained an internal subscription channel for removal events.
The internal command-queue store adds subscribeToRemovals, backed by a new emitter, alongside the existing dequeue/remove APIs. The shared removal helper now fires this emitter whenever queued commands are removed, with listener errors caught and reported via a commandsRemoved listener aborted log rather than allowed to throw.