Skip to content

Events ​

Emitted milestones ​

All six events have schemaVersion: 1. Import the AssistantEvents type from @substrat-run/engine-assistant for a vertical's consumers.

EventPayload
assistant.thread-createdthreadId
assistant.turn-startedthreadId
assistant.turn-finishedthreadId, reason (done, awaiting-approval, stopped, budget)
assistant.approval-requestedthreadId, callId, tool
assistant.approval-resolvedthreadId, callId, tool, approved
assistant.thread-closedthreadId

These are milestones, not the conversation stream. Text deltas and tool results live in assistant_events and are read through readEvents; each delta does not produce an outbox event.

Personal data ​

Milestones contain no text, tool input or output, approval preview or digest, or owner id in their payload. Each is pseudonymous with the thread owner's subjectId in the envelope, so subject erasure redacts its payload as well as deleting the stored conversation.

Consumed events ​

None. The host drives the engine by call.