UNPKG

eve

Version:

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

12 lines (11 loc) 585 B
import type { Approval } from "#approval/definition.js"; import type { ConnectionClient } from "#shared/connection-types.js"; import type { ResolvedConnectionDefinition } from "#runtime/types.js"; /** Per-session container mapping compiled connection names to live clients. */ export interface ConnectionRegistry { dispose(): Promise<void>; getClient(connectionName: string): ConnectionClient; getConnectionApproval(connectionName: string): Approval | undefined; getConnectionNames(): readonly string[]; getConnections(): readonly ResolvedConnectionDefinition[]; }