textOptional
string | undefined
Text event appended after the supplied events; omitted means no additional answer text.
eventsOptional
readonly AgentEvent[] | undefined
Events emitted in order before text and usage. Conversation IDs belong to the agent and cannot be supplied here. A finished event is appended when absent.
usageOptional
Usage | undefined
Simulated token counters for normal workflow accounting. Defaults to complete zero counters unless events contains usage; combining both sources is rejected.
commitOptional
ScriptedCommit | undefined
Real host Git commit applied before emitting events, even for a nonzero scripted status. No commit is made when omitted.
statusOptional
number | undefined
Simulated process exit status, an integer from 0 to 255, default 0. Nonzero status exercises normal dispatch failure and workflow retry behavior.
stderrOptional
string | undefined
Simulated standard error emitted after the events; empty by default.