/** * dev-llm — Dev Pipeline LLM 引导引擎 * 理解用户对开发流程的选择/跳过/调整意图,返回结构化执行计划 * 规则引擎为 fallback,LLM 优先 */ export interface DevPhase { name: string; key: string; icon: string; cmd: string; done: boolean; description: string; args: string; /** 详细说明:该阶段做什么、为什么 */ detail?: string; /** 前置条件 */ prerequisites?: string[]; /** 产出物清单 */ outputs?: string[]; /** 使用技巧和注意事项 */ tips?: string; /** 常用命令示例 */ examples?: string[]; } export interface DevPipelineState { iteration: string; phases: DevPhase[]; currentIdx: number; currentPhase: DevPhase; } export interface DevActionResult { action: 'next' | 'skip-to' | 'start-from' | 'restart' | 'auto-all' | 'jump-to'; targetPhase: string; commands: Array<{ order: number; command: string; args: string; explanation: string; }>; summary: string; } export declare function devRuleEngine(state: DevPipelineState, userInput: string): DevActionResult; export declare function devAiGuide(state: DevPipelineState, userInput: string): Promise; //# sourceMappingURL=dev-llm.d.ts.map