Files
hermes-agent/apps
Teknium af8fa8040d fix(desktop): Delete on a server-queued card cancels its admission
Every queue card offers Delete, but it only called the local
removeQueuedPrompt, which deliberately refuses server-owned rows
(admissions in the authority's FIFO). Clicking Delete on a queued
admission did nothing: no prompt.cancel was sent, the card stayed, and
the turn still ran when its turn came.

Delete on a server-owned row now goes to the authority through the
session's owner socket (the same requestForOwnedSession routing Discard
uses): `prompt.cancel` for a queued admission, and the existing
`prompt.resolve_unknown` acknowledgement for a lost `unknown` turn. The
authority's pending fanout retires the card; an admission that started
in the meantime is refused and keeps running, with the refusal shown as
a notification (new composer.queueCancelFailed key in every locale,
locales/_keys.desktop.json regenerated). Local rows keep the local
removal.

Review: https://github.com/NousResearch/hermes-agent/pull/106742#pullrequestreview-5460639040
2026-10-08 19:09:47 -07:00
..