Group of 2 Under the hood
Commands and remote messages that are still being processed can now be cancelled before they finish
What
- Inbound messages coming through the remote-control bridge are now wrapped in a disposable 'ingest' handle that can be withdrawn while the message is still being processed, for example before its attachments are fully downloaded. If withdrawn, the message's lifecycle is reported as cancelled instead of completed.
- A new internal cancellation path can cancel an in-flight or queued command by its id: it can mark an in-flight command's cancellation as pending, remove matching commands still waiting in the queue, or withdraw an inbound bridge message that hasn't finished arriving, then reports the result as cancelled.
Why
This lets a command or a message sent through the remote bridge be called off before Claude Code finishes acting on it, instead of forcing a wait until it completes.