UNPKG

cortexweaver

Version:

CortexWeaver is a command-line interface (CLI) tool that orchestrates a swarm of specialized AI agents, powered by Claude Code and Gemini CLI, to assist in software development. It transforms a high-level project plan (plan.md) into a series of coordinate

66 lines 2.74 kB
import { CognitiveCanvas } from '../../cognitive-canvas'; import { PromptImprovementWorkflow } from '../../prompt-improvement'; import { PersonaLoader } from '../../persona'; import { ClaudeClient } from '../../claude-client'; import { PromptApprovalResult, PromptUpdateAudit } from './types'; /** * PromptWorkflowManager handles prompt improvement workflow and proposal processing for the Governor agent */ export declare class PromptWorkflowManager { private promptImprovementWorkflow; private cognitiveCanvas; private personaLoader; private claudeClient; private config; private currentTask; private createPheromones; private sendToClaude; private reportProgress; private promptUpdateAudits; constructor(promptImprovementWorkflow: PromptImprovementWorkflow | null, cognitiveCanvas: CognitiveCanvas | null, personaLoader: PersonaLoader | null, claudeClient: ClaudeClient | null, config: any | null, currentTask: any | null, createPheromones: (pheromones: any[]) => Promise<void>, sendToClaude: (prompt: string, options?: any) => Promise<any>, reportProgress: (status: string, message: string) => Promise<void>); /** * Process prompt improvement workflow approvals (V3.0) */ processPromptApprovalWorkflow(): Promise<PromptApprovalResult>; /** * Evaluate prompt proposal using intelligent analysis */ private evaluatePromptProposalWithWorkflow; /** * Create approval response pheromone for workflow communication */ private createApprovalResponsePheromone; /** * Check for and process Reflector improvement proposals (V3.0) */ processReflectorProposals(): Promise<void>; /** * Review and approve/reject prompt improvement proposals from Reflector (V3.0) */ private reviewAndProcessPromptProposals; /** * Evaluate whether to approve a prompt improvement proposal (V3.0) */ private evaluatePromptProposal; /** * Apply an approved prompt update (V3.0) */ private applyPromptUpdate; /** * Reject a prompt improvement proposal (V3.0) */ private rejectPromptProposal; /** * Apply diff to content (simplified implementation) */ private applyDiffToContent; /** * Get audit trail for prompt updates (V3.0) */ getPromptUpdateAudits(): PromptUpdateAudit[]; /** * Update references for dependency injection */ updateReferences(promptImprovementWorkflow: PromptImprovementWorkflow | null, cognitiveCanvas: CognitiveCanvas | null, personaLoader: PersonaLoader | null, claudeClient: ClaudeClient | null, config: any | null, currentTask: any | null): void; } //# sourceMappingURL=prompt-workflow-manager.d.ts.map