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
32 lines • 1.56 kB
TypeScript
/**
* GovernorAgent - Refactored into modular components for maintainability
*
* This file serves as the main entry point and maintains backward compatibility.
* The implementation has been split into focused modules under ./governor/
*
* Key modules:
* - CostMonitor: Handles cost tracking and analytics
* - BudgetEnforcer: Manages budget limits and enforcement
* - QualityAnalyzer: Analyzes test results and quality metrics
* - PheromoneManager: Creates and manages pheromones for agent coordination
* - PromptWorkflowManager: Handles prompt improvement workflow
* - ReflectorCoordinator: Manages Reflector agent spawning and coordination
* - GovernorAgent: Main orchestration class using composition pattern
*
* Total lines reduced from 1254 to ~200 per module (under 500-line limit)
*/
export { GovernorAgent } from './governor/governor-agent';
export * from './governor/types';
export { CostMonitor, BudgetEnforcer, QualityAnalyzer, PheromoneManager, PromptWorkflowManager, ReflectorCoordinator } from './governor/index';
/**
* @deprecated Legacy direct usage patterns - use the modular GovernorAgent instead
*
* The monolithic implementation has been refactored into focused, testable modules.
* This provides better separation of concerns, easier testing, and maintainability.
*
* Migration guide:
* - Replace direct class instantiation with the new GovernorAgent
* - Individual modules can be imported for unit testing or custom usage
* - All existing public APIs remain compatible
*/
//# sourceMappingURL=governor.d.ts.map