UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

13 lines (12 loc) 621 B
import { type TurnWorkflowInput } from "#execution/durable-session-migrations/turn-workflow.js"; export type { TurnWorkflowInput }; /** * Runs one complete logical turn, including child-agent waits when supported. * * The turn-owned path also owns turn cancellation: resuming the * session-scoped cancel hook (`{sessionId}:cancel`) mid-turn aborts the * signal serialized into every `turnStep` and settles the turn as * `turn.cancelled` → `session.waiting` — never as a failure. A late or * guard-mismatched cancel is a benign no-op. */ export declare function turnWorkflow(rawInput: unknown): Promise<void>;