UNPKG

@mastra/core

Version:
13 lines 736 B
/** * Create a durable signal drain step. * * Mirrors the regular agent's `signalDrainStep` which sits between * backgroundTaskCheckStep and isTaskCompleteStep: * - Drains any signals queued while tool execution was running * - Adds drained signals to the messageList transcript * - Emits signal chunks via pubsub for the stream adapter * - Sets isContinued=true so the LLM processes the signals on the next turn * - Best-effort: swallows errors so signals remain queued on failure */ export declare function createDurableSignalDrainStep(): import("../../../../workflows").Step<string, unknown, any, any, unknown, unknown, import("../../../../workflows").DefaultEngineType, unknown>; //# sourceMappingURL=signal-drain.d.ts.map