Streaming
STREAM_DELTA is a transitory artifact — it is not persisted to the Task’s durable state.
The client uses it for live display only.
ASTREAM_DELTAsequence ends with the next durable message (TaskStatusUpdateEvent(working, message=...)) or with the terminal task status. EverySTREAM_DELTAupdate carries content, and the next partial event after a durable message opens a new section withappend=false.
Artifacts
Outbox
An outbox payload is not announced as an event of its own. The server merges it into the task it is already keeping, and the terminalTask that closes the stream is what carries it — the same
object a unary SendMessage returns and a later GetTask answers with.
Look for the reply in the closing task, not among the status updates. A turn that used the outbox
says nothing through the thread, so an empty stream of status events is what an outbox reply looks
like from outside.
Terminal
Every execution ends with exactly one terminal event.Related Pages
- Streaming Delta Semantics —
append,lastChunk, and how a chunked reply ends - Streaming and Artifacts
- Message Mapping