Expand description
Turn submission, acceptance, cancellation, and queue DTOs.
Structs§
- Turn
Accepted - Accepted turn response.
- Turn
Attachment - One client-read text attachment for a submitted turn.
- Turn
Cancel Params - Parameters for cancelling an active turn.
- Turn
Queue Status - Authoritative queued-message snapshot published by the service.
- Turn
Queue Take Latest Params - Parameters for popping the newest queued message back for editing.
- Turn
Queue Take Latest Result - Result of popping the newest queued message.
- Turn
Submit Params - Parameters for submitting a prompt to the selected session.
Constants§
- MAX_
QUEUE_ PREVIEW_ CHARS - Maximum characters per queued-message preview before truncation. Mirrors the CLI sidebar preview width.
- MAX_
QUEUE_ STATUS_ PREVIEWS - Maximum queued-message previews carried by one queue-status notification. Mirrors the CLI sidebar, which renders the first few queued inputs.
- SESSION_
START_ TURN_ ID - Fallback turn id for interactions raised with no active turn (startup decisions). Produced by the service, matched by the desktop client.
- STARTUP_
INTERACTION_ PENDING_ ERROR - A turn was rejected before delivery because a startup interaction is pending.
Functions§
- queue_
preview_ label - Build the display preview for one queued message: the full text when it
fits, otherwise the first
MAX_QUEUE_PREVIEW_CHARScharacters plus an ellipsis. Truncation is char-boundary safe; newlines are preserved for the client to render.