Skip to main content

Type Alias: DSLToolEvent

DSLToolEvent = { message: string; type: "parsing"; } | { bots: string[]; pipelines: string[]; pipelineStructures: Record<string, PipelineStructure>; type: "bots_defined"; } | { input: unknown; pipeline: string; type: "pipeline_start"; } | { childBotName: string; event: BaleybotStreamEvent; type: "event"; } | { pipeline: string; result: unknown; type: "pipeline_complete"; } | { pipeline: string; result: unknown; type: "result"; } | { error: string; pipeline?: string; type: "error"; } | { results: unknown[]; type: "complete"; }

Defined in: packages/tools/src/baleybots-dsl-v2/index.ts:355

Event type yielded by the DSL tool for streaming