Type Alias: CrewEventMap
CrewEventMap =
object
Defined in: packages/orchestration/src/crew/types.ts:148
Properties
crew.done
crew.done:
object
Defined in: packages/orchestration/src/crew/types.ts:157
result
result:
CrewResult
crew.run.event
crew.run.event:
object
Defined in: packages/orchestration/src/crew/types.ts:152
A worker's stream event, with the ticket its run serves and the agent running it.
agentName
agentName:
string
event
event:
BaleybotStreamEvent
runId
runId:
string
ticketId
ticketId:
string
crew.snapshot
crew.snapshot:
object
Defined in: packages/orchestration/src/crew/types.ts:150
The session's state changed (at most every CrewConfig.snapshotIntervalMs, and at once when a text segment opens).
snapshot
snapshot:
CrewSnapshot
crew.stopping
crew.stopping:
object
Defined in: packages/orchestration/src/crew/types.ts:156
The session began to end: on its own (settled, see CrewConfig.autoStop) or by stop().
reason
reason:
"settled"|"stopped"
crew.text
crew.text:
object
Defined in: packages/orchestration/src/crew/types.ts:154
Text that grew a segment already in the last crew.snapshot (runId absent for the coordinator).
agentName
agentName:
string
delta
delta:
string
runId?
optionalrunId?:string
segmentId
segmentId:
string