UNPKG

eve

Version:

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

10 lines (9 loc) • 492 B
import type { TurnSelection } from "#execution/session/input-queue.js"; import type { SessionStateCursor } from "#execution/session/state-cursor.js"; export type RoutedTurnSelection = { readonly kind: "cancel-turn"; } | { readonly kind: "consumed"; } | TurnSelection; /** Routes one selected delivery exactly once, independent of active/parked mode. */ export declare function routeSelectedDelivery(selection: TurnSelection, cursor: SessionStateCursor): Promise<RoutedTurnSelection>;