eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
13 lines (12 loc) • 658 B
TypeScript
import type { ConnectionProtocol } from "#shared/connection-types.js";
import type { ResolvedConnectionDefinition } from "#runtime/types.js";
/** Builds the opaque, reconstruction-stable identity for one resolved connection instance. */
export declare function createConnectionInstanceId(input: {
readonly connectionName: string;
readonly instanceKey?: string;
readonly protocol: ConnectionProtocol;
readonly sourceId: string;
readonly url: string;
}): string;
/** Returns the cache and callback scope for one resolved connection. */
export declare function connectionAuthorizationScope(connection: ResolvedConnectionDefinition): string;