UNPKG

@mastra/core

Version:
11 lines 521 B
import type { WorkflowRunState } from '../../workflows/types.js'; /** * `pruneSnapshot` hook for the internal agent workflows. Reduces a persisted * run snapshot to what resume actually reads: the suspended step's * `suspendPayload` (one live `__streamState` copy) plus engine routing state. * Copy-on-write — never mutates the snapshot it is given. */ export declare function pruneAgentLoopSnapshot({ snapshot }: { snapshot: WorkflowRunState; }): WorkflowRunState; //# sourceMappingURL=prune-snapshot.d.ts.map