Skip to main content

Interface: DSLPipelineSegment

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

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:258

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:252

The DSL code being executed


definedBots

definedBots: DSLBotState[]

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

Defined bots from parsing


definedPipelines

definedPipelines: DSLPipelineState[]

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

Defined pipelines from parsing


error?

optional error?: string

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

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:266

Tool execution result (the return value from execute_baleybots tool)


results?

optional results?: object[]

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

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

pipeline

pipeline: string

result

result: unknown


status

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

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

Overall execution status


streamingState?

optional streamingState?: DSLStreamingState

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

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:250

Tool call ID for reducer tracking


type

type: "dsl_pipeline"

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