eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
12 lines (11 loc) • 896 B
TypeScript
import { type AgentModuleBinding, type AgentSourceRegistry, type ProgrammaticModuleNamespace } from "#compiler/source-graph.js";
export type CompiledBindingNamespaceLoader = (sourceId: string) => Promise<ProgrammaticModuleNamespace>;
/** Loads one node's selected bindings with dependency ordering and per-phase caching. */
export declare function createCompiledBindingNamespaceLoader(input: {
readonly bindings?: Readonly<Record<string, AgentModuleBinding>>;
readonly onLoad?: (sourceId: string) => void;
readonly registries: readonly AgentSourceRegistry[];
readonly resolveBinding?: (sourceId: string) => AgentModuleBinding | undefined;
}): CompiledBindingNamespaceLoader;
/** Derives the stable package-owned scope used while loading an extension module. */
export declare function resolveCompiledModuleExtensionScopeNamespace(binding: AgentModuleBinding): string | undefined;