eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
14 lines (13 loc) • 715 B
TypeScript
import type { WorkflowEntryInput, WorkflowEntryResult } from "#execution/session/entry-input.js";
/**
* Long-lived workflow entrypoint. Handles both root sessions and
* delegated child sessions: root sessions expose only parent
* control-plane events; delegated children publish their full progress
* on a child stream and resume the parked parent with a
* `subagent-result` on completion.
*
* The current owner directly executes every turn. An idle owner can transfer
* its settled checkpoint and hooks to an exact successor deployment while the
* original run remains parked as the public stream anchor.
*/
export declare function workflowEntry(input: WorkflowEntryInput): Promise<WorkflowEntryResult>;