@autobe/agent
Version:
AI backend server code generator
18 lines (17 loc) • 822 B
TypeScript
import { AutoBeAnalyze, AutoBeAnalyzeWriteSectionEvent } from "@autobe/interface";
import { AutoBeContext } from "../../context/AutoBeContext";
import { IFileDecisions } from "./utils/detectDecisionConflicts";
/**
* Extract key decisions from a single file's section content.
*
* This orchestrator calls the LLM to read one file's full section content and
* extract binary/discrete decisions as structured data. The extracted decisions
* are then used for programmatic cross-file contradiction detection.
*
* Called in parallel for each file (excluding 00-toc.md) after per-file review
* approves.
*/
export declare const orchestrateAnalyzeExtractDecisions: (ctx: AutoBeContext, props: {
file: AutoBeAnalyze.IFileScenario;
sectionEvents: AutoBeAnalyzeWriteSectionEvent[][];
}) => Promise<IFileDecisions>;