UNPKG

eve

Version:

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

15 lines (12 loc) 462 B
import type { QueuePrefix, World } from "#compiled/@workflow/world/index.js"; export type LocalWorld = World & { clear(): Promise<void>; registerHandler(prefix: QueuePrefix, handler: (request: Request) => Promise<Response>): void; }; export function createWorld(options?: { readonly baseUrl?: string; readonly dataDir?: string; readonly recoverActiveRuns?: boolean; readonly streamFlushIntervalMs?: number; readonly tag?: string; }): LocalWorld;