eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
37 lines (36 loc) • 1.79 kB
TypeScript
import { type WorkflowBundleBuilderConfig, type WorkflowBundleCreateWorkflowsBundleOptions, type WorkflowBundleCreateWorkflowsBundleResult, type WorkflowBundleDiscoveredEntries } from "#internal/workflow-bundle/builder-support.js";
import { type WorkflowManifest } from "#internal/workflow-bundle/workflow-builders.js";
export declare class WorkflowBundleBuilder {
#private;
protected readonly config: WorkflowBundleBuilderConfig;
constructor(options: WorkflowBundleBuilderOptions);
build(options?: {
nitroStepOutfile?: string;
nitroWorkflowOutfile?: string;
}): Promise<void>;
protected get transformProjectRoot(): string;
protected findTsConfigPath(): Promise<string | undefined>;
protected getInputFiles(): Promise<string[]>;
protected discoverEntries(inputs: readonly string[], _outdir: string, _tsconfigPath?: string): Promise<WorkflowBundleDiscoveredEntries>;
protected createWorkflowsBundle({ bundleFinalOutput, discoveredEntries, format, inputFiles, keepInterimBundleContext, outfile, tsconfigPath, }: WorkflowBundleCreateWorkflowsBundleOptions): Promise<WorkflowBundleCreateWorkflowsBundleResult>;
protected createManifest({ manifest, manifestDir, }: {
manifest: WorkflowManifest;
manifestDir: string;
workflowBundlePath: string;
}): Promise<string | undefined>;
buildVercelOutput(options: {
flowNitroOutputDir: string;
outputDir: string;
runtime?: string;
}): Promise<void>;
}
interface WorkflowBundleBuilderOptions {
appRoot: string;
compiledArtifactsBootstrapPath: string;
outDir: string;
rootDir: string;
watch: boolean;
/** Test-harness-only: also scans `src/internal/testing/`. */
includeTestFixtures?: boolean;
}
export {};