AgentConversationEvents
AgentConversationEvents =
object
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:147
Events the Orchestrator emits for the Agent Session conversation.
Subscribe through orchestrator.agent.events.on(...).
The agent loop is experimental in 0.3 and may change in any minor release.
Properties
Section titled “Properties”accepted
Section titled “accepted”accepted:
AgentInputAcceptedEvent
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:149
Fires when the agent accepts an input, naming the run that handles it.
conversation_lost
Section titled “conversation_lost”conversation_lost:
ConversationLostEvent
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:173
Fires when the conversation is lost to a disconnect or connector
replacement, after which no further events arrive from that session. Also
fires with reason stale_run when an input or Agent Run goes silent. Late
events for that run may still arrive and a ui_applied for a change
still being applied is dropped.
error:
AgentErrorEvent
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:165
Fires when the agent reports a failure that is not an Agent Run’s own
ending, such as an admission rejection. It carries the inputId when the
failure relates to an input. It also reports a failed loop-driven UI change
of an Agent Run, named by runId and changeId, which can arrive mid-run
or after that run’s finished.
finished
Section titled “finished”finished:
AgentFinishedEvent
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:157
Fires when an Agent Run ends, whatever the reason.
message
Section titled “message”message:
AgentMessageEvent
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:155
Fires when the agent sends a conversational message for the user.
placeholder
Section titled “placeholder”placeholder:
AgentPlaceholderEvent
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:153
Fires when the agent sends a placeholder to show while it works.
ui_change
Section titled “ui_change”ui_change:
AgentUiChangeAppliedEvent
Defined in: packages/client/src/lib/orchestrator/conversation-event.types.ts:151
Fires once for each UI change after the Orchestrator applied it.