Skip to main content

Interface: IUiPause

Defined in: entries/vercel-ui/types.ts:57

The pause of a thread as the client sees it: the ids resume takes and the cards, as IPausedResponse carries them (a RESULT_REVIEW without its draft, D111).

Set as IUiMessageMetadata.pause by history and by the stream of a call that paused.

Properties​

envelopes​

envelopes: TPauseEnvelopes

Defined in: entries/vercel-ui/types.ts:67

The cards of the pause, one decision each (D102), exactly as IPausedResponse.envelopes.


expiresAt​

expiresAt: string

Defined in: entries/vercel-ui/types.ts:65

ISO date.


kind​

kind: EPauseKind

Defined in: entries/vercel-ui/types.ts:63

TOOL_APPROVAL, USER_QUESTION or RESULT_REVIEW: what the client renders for the pause.


pauseId​

pauseId: string

Defined in: entries/vercel-ui/types.ts:61

The pause the decisions are for (D110); the SDK's approval card carries it as approval.id.


runId​

runId: string

Defined in: entries/vercel-ui/types.ts:59

The paused run; resume takes it.