Skip to content

basalt / ai/src / WorkflowProgress

Interface: WorkflowProgress ​

Defined in: ai/src/generate.ts:10

A progress event from a long-running workflow step. chunk/text carry streamed model output (streaming generations); message carries a coarse status (e.g. a make phase). All fields optional so a consumer maps whatever is present onto its own progress surface (e.g. MCP notifications/progress).

Properties ​

chunk? ​

> optional chunk?: string

Defined in: ai/src/generate.ts:14

The newest streamed text fragment.


message? ​

> optional message?: string

Defined in: ai/src/generate.ts:12

A short human-readable status.


text? ​

> optional text?: string

Defined in: ai/src/generate.ts:16

All model text received so far.

Released under the MIT License.