@autobe/agent
Version:
AI backend server code generator
28 lines (27 loc) • 1.28 kB
TypeScript
import { AutoBeHistory, IAutoBeCompiler, IAutoBeGetFilesOptions } from "@autobe/interface";
import { AutoBeState } from "../context/AutoBeState";
import { AutoBeTokenUsage } from "../context/AutoBeTokenUsage";
/**
* Aggregates all generated files from the development pipeline into a complete
* project structure.
*
* Collects artifacts from all completed phases (Analyze, Database, Interface,
* Test, Realize) and assembles them into a deployable project with proper
* directory organization. Includes requirements documentation, database
* schemas, API specifications, implementation code, test suites, and benchmark
* reports.
*
* The phase option controls which artifacts are included, enabling incremental
* file generation as development progresses through the pipeline stages.
*
* @param props Configuration including compiler, current state, histories, and
* options specifying target phase and database system
* @returns File paths mapped to complete contents for all generated artifacts
*/
export declare function getAutoBeGenerated(props: {
compiler: IAutoBeCompiler;
state: AutoBeState;
histories: Readonly<AutoBeHistory[]>;
tokenUsage: AutoBeTokenUsage;
options?: Partial<IAutoBeGetFilesOptions>;
}): Promise<Record<string, string>>;