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
45 lines • 1.91 kB
TypeScript
import { ClaudeClient } from '../../claude-client';
import { CognitiveCanvas } from '../../cognitive-canvas';
import { MCPClient } from '../../mcp-client';
import { KnowledgeExtractionResult, PheromoneOptimizationResult, ConsistencyValidationResult, PatternSynthesisResult, KnowledgeRecommendationResult, TaskCompletionEvent, TaskCompletionResult, ProjectMetricsResult } from './types';
/**
* KnowledgeUpdaterAgent - Refactored main class with simplified implementation
*
* This agent manages knowledge extraction, pheromone optimization, and pattern synthesis.
* The original 897-line implementation has been simplified to focus on core functionality.
*/
export declare class KnowledgeUpdaterAgent {
private claudeClient;
private cognitiveCanvas;
private mcpClient?;
constructor(claudeClient: ClaudeClient, cognitiveCanvas: CognitiveCanvas, mcpClient?: MCPClient | undefined);
/**
* Extract knowledge from completed tasks
*/
extractKnowledge(taskId: string): Promise<KnowledgeExtractionResult>;
/**
* Optimize pheromone strengths based on performance data
*/
optimizePheromones(): Promise<PheromoneOptimizationResult>;
/**
* Validate knowledge consistency and identify conflicts
*/
validateConsistency(): Promise<ConsistencyValidationResult>;
/**
* Synthesize patterns from knowledge base
*/
synthesizePatterns(): Promise<PatternSynthesisResult>;
/**
* Get knowledge recommendations for current context
*/
getRecommendations(context: string): Promise<KnowledgeRecommendationResult>;
/**
* Update knowledge based on task completion
*/
updateFromTaskCompletion(event: TaskCompletionEvent): Promise<TaskCompletionResult>;
/**
* Get project knowledge metrics
*/
getProjectMetrics(): Promise<ProjectMetricsResult>;
}
//# sourceMappingURL=knowledge-updater-agent.d.ts.map