Files
hermes-agent/apps
Teknium b1a88beeaa fix(desktop): cancelling a card while offline closes it instead of trapping the window
94e0d135 made every unsent card answer throw "offline" so the card stays up
to answer again. That included the cancel path: Escape, the backdrop and the
Cancel / Skip / Don't save buttons all send an empty answer, so with the socket
down the sudo, secret and vault (unlock / save-login / code) modals could not
be dismissed until the socket came back.

A refusal needs no answer. `sendCardAnswer` now throws only for a real value;
an empty one that could not be sent forgets the request and closes the card,
and the backend times the request out as a refusal, as it did before.
2026-12-01 17:02:25 -08:00
..