UNPKG

eve

Version:

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

13 lines (12 loc) 702 B
import type { EveChannel, EveChannelInput } from "#eve-channel/types.js"; export * from "#eve-channel/types.js"; /** * Builds the default eve HTTP channel: a {@link defineChannel} instance serving the * built-in `/eve/v1` routes (GET inspects the agent, POST creates a session, * ID-addressed POST routes deliver follow-ups and controls, and GET streams a * session's NDJSON event feed). Every route * runs {@link EveChannelInput.auth} via {@link routeAuth} before dispatching. * Default-export the result as your `agent/channels/eve.ts` channel; reach for * {@link defineChannel} directly only for a custom transport. */ export declare function eveChannel(input: EveChannelInput): EveChannel;