Skip to main content

Interface: SimpleStageResult<TOutput>

Defined in: packages/workflow-engine/src/core/stage-factory.ts:131

Simplified execute result - just output and optional custom metrics

Type Parameters​

TOutput​

TOutput

Properties​

artifacts?​

optional artifacts?: Record<string, unknown>

Defined in: packages/workflow-engine/src/core/stage-factory.ts:142

Optional artifacts to store


customMetrics?​

optional customMetrics?: Record<string, number>

Defined in: packages/workflow-engine/src/core/stage-factory.ts:138

Custom metrics specific to this stage (e.g., itemsProcessed, sectionsFound) Timing metrics (startTime, endTime, duration) are auto-calculated by executor AI metrics should be added here by stages that create their own AIHelper


output​

output: TOutput

Defined in: packages/workflow-engine/src/core/stage-factory.ts:132