Refactor UnifiedCoordinator to follow Single Responsibility Principle

- Create dedicated service classes for separated concerns:
  * AgentService: Agent management and health monitoring
  * WorkflowService: Workflow parsing and execution tracking
  * PerformanceService: Metrics and load balancing
  * BackgroundService: Background processes and cleanup
  * TaskService: Database persistence (already existed)

- Refactor UnifiedCoordinator into UnifiedCoordinatorRefactored
  * Clean separation of responsibilities
  * Improved maintainability and testability
  * Dependency injection pattern for services
  * Clear service boundaries and interfaces

- Maintain backward compatibility through re-exports
- Update main.py to use refactored coordinator

🚀 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-07-11 09:09:11 +10:00
parent 36c5e10a51
commit c6d69695a8
3042 changed files with 45137 additions and 46134 deletions

View File

@@ -1,5 +1,5 @@
/**
* @license lucide-react v0.294.0 - ISC
* @license lucide-react v0.453.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
@@ -11,18 +11,22 @@ const BrainCircuit = createLucideIcon("BrainCircuit", [
[
"path",
{
d: "M12 4.5a2.5 2.5 0 0 0-4.96-.46 2.5 2.5 0 0 0-1.98 3 2.5 2.5 0 0 0-1.32 4.24 3 3 0 0 0 .34 5.58 2.5 2.5 0 0 0 2.96 3.08 2.5 2.5 0 0 0 4.91.05L12 20V4.5Z",
key: "ixwj2a"
d: "M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",
key: "l5xja"
}
],
["path", { d: "M16 8V5c0-1.1.9-2 2-2", key: "13dx7u" }],
["path", { d: "M9 13a4.5 4.5 0 0 0 3-4", key: "10igwf" }],
["path", { d: "M6.003 5.125A3 3 0 0 0 6.401 6.5", key: "105sqy" }],
["path", { d: "M3.477 10.896a4 4 0 0 1 .585-.396", key: "ql3yin" }],
["path", { d: "M6 18a4 4 0 0 1-1.967-.516", key: "2e4loj" }],
["path", { d: "M12 13h4", key: "1ku699" }],
["path", { d: "M12 18h6a2 2 0 0 1 2 2v1", key: "105ag5" }],
["path", { d: "M12 8h8", key: "1lhi5i" }],
["path", { d: "M20.5 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", key: "1s25gz" }],
["path", { d: "M16.5 13a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", key: "127460" }],
["path", { d: "M20.5 21a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", key: "fys062" }],
["path", { d: "M18.5 3a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", key: "1vib61" }]
["path", { d: "M16 8V5a2 2 0 0 1 2-2", key: "u6izg6" }],
["circle", { cx: "16", cy: "13", r: ".5", key: "ry7gng" }],
["circle", { cx: "18", cy: "3", r: ".5", key: "1aiba7" }],
["circle", { cx: "20", cy: "21", r: ".5", key: "yhc1fs" }],
["circle", { cx: "20", cy: "8", r: ".5", key: "1e43v0" }]
]);
export { BrainCircuit as default };