eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
19 lines (18 loc) • 1.05 kB
TypeScript
/** Resolved producer inputs for an extension package. */
export interface ExtensionBuildConfig {
/** Absolute authoring root from `eve.extension.source`. */
readonly sourceRoot: string;
/** Absolute agent-shaped distribution root from `eve.extension.dist`. */
readonly distRoot: string;
/** Directory containing the dist root and generated package entrypoints. */
readonly outDir: string;
readonly packageName: string;
/** Short package name used for the generated named mount export. */
readonly shortName: string;
/** Packages allowed to remain as imports in the published distribution. */
readonly runtimeDependencies: readonly string[];
}
/** Reads and validates the extension producer contract from `package.json`. */
export declare function tryReadExtensionBuildConfig(rootDir: string): Promise<ExtensionBuildConfig | null>;
/** Ensures package exports point at the build output's generated entrypoints. */
export declare function ensureExtensionExports(appRoot: string, outDir: string): Promise<void>;