Skip to main content

Interface: DSLPipelineSegment

Defined in: packages/core/src/stream-segments/types.ts:237

Deprecated

Use ToolCallSegment with name='execute_baleybots' instead. Kept for v1 backward compatibility.

Extends

Properties

activePipeline?

optional activePipeline?: string

Defined in: packages/core/src/stream-segments/types.ts:248

Currently executing pipeline name


agentId?

optional agentId?: string

Defined in: packages/core/src/stream-segments/types.ts:20

Agent that produced this segment (populated in group chat contexts)

Inherited from

BaseSegment.agentId


agentName?

optional agentName?: string

Defined in: packages/core/src/stream-segments/types.ts:22

Display name of the agent

Inherited from

BaseSegment.agentName


avatarEmoji?

optional avatarEmoji?: string

Defined in: packages/core/src/stream-segments/types.ts:24

Avatar emoji for display

Inherited from

BaseSegment.avatarEmoji


code

code: string

Defined in: packages/core/src/stream-segments/types.ts:242

The DSL code being executed


definedBots

definedBots: DSLBotState[]

Defined in: packages/core/src/stream-segments/types.ts:244

Defined bots from parsing


definedPipelines

definedPipelines: DSLPipelineState[]

Defined in: packages/core/src/stream-segments/types.ts:246

Defined pipelines from parsing


error?

optional error?: string

Defined in: packages/core/src/stream-segments/types.ts:258

Error message if failed


id

id: string

Defined in: packages/core/src/stream-segments/types.ts:16

Unique identifier for React keys

Inherited from

BaseSegment.id


result?

optional result?: unknown

Defined in: packages/core/src/stream-segments/types.ts:256

Tool execution result (the return value from execute_baleybots tool)


results?

optional results?: object[]

Defined in: packages/core/src/stream-segments/types.ts:254

Final results from run statements (populated by DSL 'result' events)

pipeline

pipeline: string

result

result: unknown


status

status: "completed" | "running" | "failed" | "streaming" | "parsing"

Defined in: packages/core/src/stream-segments/types.ts:250

Overall execution status


streamingState?

optional streamingState?: DSLStreamingState

Defined in: packages/core/src/stream-segments/types.ts:252

Streaming state while code is being generated


timestamp

timestamp: number

Defined in: packages/core/src/stream-segments/types.ts:18

Timestamp for ordering

Inherited from

BaseSegment.timestamp


toolCallId

toolCallId: string

Defined in: packages/core/src/stream-segments/types.ts:240

Tool call ID for reducer tracking


type

type: "dsl_pipeline"

Defined in: packages/core/src/stream-segments/types.ts:238