pub struct QueuePendingItems {
pub agent_mode: SendAgentMode,
pub display_text: String,
pub id: String,
pub kind: QueuePendingItemsKind,
pub message_id: Option<String>,
pub source: Option<String>,
}Expand description
User-facing pending queue entry, with kind and display text for a queued message, slash command, or model change.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§agent_mode: SendAgentModeAgent mode stored on this queued entry, as stamped when it was enqueued. Items without an explicit mode report interactive. This is not necessarily the mode that will constrain the turn: a plan or autopilot session applies its own write gate, continuation loop and permission posture to every drained item regardless of the mode stored here.
display_text: StringHuman-readable text to display for this queue entry in the UI
id: StringStable opaque id for the canonical queued item. Batch rows share one id.
kind: QueuePendingItemsKindWhether this item is a queued user message or a queued slash command / model change
message_id: Option<String>Stable identity of the queued user message. Present for message rows and absent for slash commands and model changes.
source: Option<String>Optional source tag associated with this pending queue entry. This is an open string, not authenticated authorship. In particular, user does not prove that a person typed the message. If the source is absent or unrecognized, consumers must not infer human or agent authorship and should handle the entry neutrally. Consumers should tolerate future source values.