@mastra/core
Version:
15 lines • 839 B
TypeScript
/**
* Create the durable goal step.
*
* Behavior lives in the shared `evaluateGoal` core; this glue owns
* registry/init-data access, request-context reconstruction, message-list
* rehydration/serialization, and projection back onto the IterationState.
*
* The `goal` config (judge, scorer, tools closures) comes from the in-process
* run registry — closures can't survive the wire, so cross-process engines
* without this slot fall back to the agent's own config or skip goal
* evaluation. The objective and its progress are isolated by thread and
* loaded from storage inside the core.
*/
export declare function createDurableGoalStep(): import("../../../../workflows").Step<"durable-goal", unknown, any, any, unknown, unknown, import("../../../../workflows").DefaultEngineType, unknown>;
//# sourceMappingURL=goal.d.ts.map