UNPKG

@mastra/core

Version:
13 lines • 836 B
/** * Create the durable isTaskComplete step. Behavior lives in the shared * `evaluateTaskCompletion` core; this glue owns registry/init-data access, * message-list rehydration/serialization, and projection back onto the * IterationState. * * The scorer instances + `onComplete` closure come from the in-process run * registry. They can't survive the wire, so a process that did not prepare * the run rebuilds a policy taken from the agent defaults, and warns and falls * back to `maxSteps` + `stopWhen` for one it cannot rebuild. */ export declare function createDurableIsTaskCompleteStep(defaultMaxSteps?: number): import("../../../../workflows").Step<"durable-is-task-complete", unknown, any, any, unknown, unknown, import("../../../../workflows").DefaultEngineType, unknown>; //# sourceMappingURL=is-task-complete.d.ts.map