List Session Queue
List open messages, recently delivered queued messages, and steering cutoffs.
Includes live dispatch claims so clients can restore an accepted queued message after a refresh without briefly losing its waiting state.
Consumed QUEUE rows are returned too, capped at the most recent
_DELIVERED_QUEUE_HISTORY, plus up to _AGENCY_DELIVERED_QUEUE_HISTORY compact
Agency choice and generation receipts so inbox state survives refresh. A message absorbed mid-run is announced by a
queued_input_injected event carrying only its input id, so the chat has no
other source for the text to render. The cap bounds this response because
clients poll it while a run is active; a session with more delivered
follow-ups than the cap renders its oldest injected bubbles without text.
The latest consumed interrupt bridges the primary-write/read-replica gap before its replacement run appears; clients discard it once that run is visible. Compact per-source cutoffs preserve every historical interrupted transcript boundary without returning every historical steering message and its attachments.