eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
17 lines (16 loc) • 848 B
TypeScript
import type { DevelopmentServerHandle, DevelopmentServerOptions } from "#internal/nitro/host/types.js";
/**
* Rewrites a server URL whose hostname is a wildcard listen address into a
* loopback URL on the same address family.
*/
export declare function normalizeDevelopmentServerClientUrl(serverUrl: string): string;
/**
* Starts the development Nitro server for an eve application.
*
* Authored schedules are never registered with Nitro's cron scheduler in
* dev mode. To fire one authored schedule on demand, `POST` the dev-only
* `/eve/v1/dev/schedules/:scheduleId` route — the handler returns
* `{ scheduleId, sessionIds }` so callers can subscribe to the existing
* per-session stream route.
*/
export declare function startDevelopmentServer(rootDir: string, options?: DevelopmentServerOptions): Promise<DevelopmentServerHandle>;