UNPKG

eve

Version:

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

31 lines (30 loc) 1.08 kB
import type { Nitro } from "nitro/types"; import type { PreparedApplicationHost } from "#internal/nitro/host/types.js"; type DevelopmentWatcherNitroOptions = Pick<Nitro["options"], "experimental" | "handlers" | "scheduledTasks" | "tasks" | "virtual"> & Partial<Pick<Nitro["options"], "dev" | "preset">>; interface DevelopmentWatcherNitro { hooks: { callHook: Nitro["hooks"]["callHook"]; }; options: DevelopmentWatcherNitroOptions; routing: { sync(): void; }; } /** * Handle for the authored-source development watcher. */ export interface AuthoredSourceWatcherHandle { close(): Promise<void>; flush(): Promise<void>; } /** * Starts the authored-source watcher used by `eve dev`. * * The watcher recompiles authored artifacts, refreshes runtime caches, and * triggers Nitro rebuild reloads only when structural runtime wiring changes. */ export declare function startAuthoredSourceWatcher(input: { nitro: DevelopmentWatcherNitro; preparedHost: PreparedApplicationHost; }): Promise<AuthoredSourceWatcherHandle>; export {};