UNPKG

eve

Version:

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

19 lines (18 loc) 611 B
import { type BlockingWorkflowToolDefinition } from "#tools/workflow-definition.js"; import { type SleepToolInput, type SleepToolOutput } from "#execution/tools/sleep.js"; export type { SleepToolInput, SleepToolOutput }; /** * Defines the opt-in durable `sleep` tool. * * Export it from `agent/tools/sleep.ts`: * * ```ts * import { sleep } from "eve/tools/sleep"; * * export default sleep(); * ``` * * Each call runs as a durable workflow, so the wait does not hold an * application runtime open. */ export declare function sleep(): BlockingWorkflowToolDefinition<SleepToolInput, SleepToolOutput>;