feat(webui): show when the agent picks up queued messages (#6719)
This commit is contained in:
1 parent
3025a01cf0
commit
b453de9cf6
26 files changed
+642
-29
No files matched your search
@@ -17,6 +17,7 @@ export interface UIContextCompaction extends ContextCompaction {
|
||||
|
||||
export type UITurnPhase = "user" | "reasoning" | "activity" | "answer" | "complete";
|
||||
export type MessageDeliveryStatus = "sending" | "accepted" | "failed";
|
||||
export type InputProcessingStatus = "pending" | "consumed";
|
||||
export type MessageDeliveryErrorKind =
|
||||
| "message_too_big"
|
||||
| "workspace_scope_rejected"
|
||||
@@ -184,6 +185,8 @@ export interface UIMessage {
|
||||
reasoningStreamId?: string;
|
||||
/** Ephemeral delivery lifecycle for optimistic user messages. */
|
||||
deliveryStatus?: MessageDeliveryStatus;
|
||||
/** Live UI hint; not part of the persisted transcript. */
|
||||
processingStatus?: InputProcessingStatus;
|
||||
deliveryErrorKind?: MessageDeliveryErrorKind;
|
||||
}
|
||||
|
||||
@@ -1569,6 +1572,7 @@ export type InboundEvent =
|
||||
event: "message_accepted";
|
||||
chat_id: string;
|
||||
turn_id: string;
|
||||
waiting_for_model?: true;
|
||||
media_urls?: UIMediaAttachment[];
|
||||
starts_turn?: boolean;
|
||||
active_turn_id?: string;
|
||||
@@ -1578,6 +1582,7 @@ export type InboundEvent =
|
||||
event: "user_message";
|
||||
chat_id: string;
|
||||
text: string;
|
||||
waiting_for_model?: true;
|
||||
turn_id?: string;
|
||||
active_turn_id?: string;
|
||||
starts_turn: boolean;
|
||||
|
||||
Reference in new issue
Block a user