eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
35 lines (34 loc) • 1.43 kB
TypeScript
interface InstalledPackageInfo {
name: string;
version: string;
}
/**
* Resolves the installed eve package root.
*/
export declare function resolvePackageRoot(): string;
/**
* Resolves one package-owned source file from the currently executing eve installation.
*
* Source checkouts use `src/...` paths so local tests exercise live source files.
* Installed or built package executions use `dist/src/...` so published builds do
* not depend on unpublished TypeScript sources.
*/
export declare function resolvePackageSourceFilePath(relativeSourcePath: string): string;
/**
* Resolves one package-owned source directory from the currently executing eve installation.
*/
export declare function resolvePackageSourceDirectoryPath(relativeSourcePath: string): string;
export declare function resolvePackageDependencyPath(specifier: string): string;
/**
* Resolves the installed eve package identity from package.json.
*/
export declare function resolveInstalledPackageInfo(): InstalledPackageInfo;
/**
* Resolves a Workflow runtime module from eve's narrowed Workflow dependencies.
*
* Older Workflow builder output still uses `workflow/*` specifiers. eve maps
* those historical specifiers to the smaller `@workflow/*` packages it actually
* needs, plus an eve-owned builtins module for response body step helpers.
*/
export declare function resolveWorkflowModulePath(specifier: string): string;
export {};