pdca
Version:
🎯 AI 驅動的 PDCA 多代理開發系統 - 智能循環控制 + 成本管理 + Token 優化 + 多 AI 引擎支援
81 lines • 1.84 kB
TypeScript
/**
* 多 AI 引擎協調器
* 支援 Claude、Gemini、OpenAI 等多種 AI CLI
*/
import { EventEmitter } from 'events';
export interface MultiAIOptions {
sessionName?: string;
communicationDir?: string;
engine?: string;
}
export declare class MultiAIOrchestrator extends EventEmitter {
private engineManager;
private selectedEngine?;
private communicationManager;
private sessionName;
private agents;
private communicationDir;
constructor(options?: MultiAIOptions);
/**
* 初始化代理配置
*/
private initializeAgents;
/**
* 設置必要目錄
*/
private setupDirectories;
/**
* 啟動系統
*/
start(engineName?: string): Promise<void>;
/**
* 使用直接執行模式啟動(Gemini 等)
*/
private startWithDirectExecution;
/**
* 使用互動模式啟動(Claude 等)
*/
private startWithInteractiveMode;
/**
* 創建直接執行腳本(Gemini 模式)
*/
private createDirectExecutionScript;
/**
* 創建互動模式腳本(Claude 模式)
*/
private createInteractiveScript;
/**
* 創建 tmux session
*/
private createTmuxSession;
/**
* 在 tmux 中啟動代理
*/
private startAgentInTmux;
/**
* 啟動監控介面
*/
private startMonitor;
/**
* 分配任務
*/
assignTask(taskDescription: string): Promise<void>;
/**
* 獲取系統狀態
*/
getStatus(): {
engine: string;
session: string;
agents: string[];
};
/**
* 停止系統
*/
stop(): Promise<void>;
/**
* 執行 bash 命令
*/
private executeBash;
}
export default MultiAIOrchestrator;
//# sourceMappingURL=multi-ai-orchestrator.d.ts.map