🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
checkpoint: File edit:
rUvcc3e59b3d795
diff --git a/v3/swarm/unified-coordinator.ts b/v3/swarm/unified-coordinator.tsindex 342d3f995b..bcae9ebe8e 100644--- a/v3/swarm/unified-coordinator.ts+++ b/v3/swarm/unified-coordinator.ts@@ -246,16 +246,22 @@ export class UnifiedSwarmCoordinator extends EventEmitter implements IUnifiedSwa// Stop background processesthis.stopBackgroundProcesses();- // Shutdown components+ // Shutdown all components including domain poolsawait Promise.all([this.messageBus.shutdown(),this.consensusEngine.shutdown(),...Array.from(this.agentPools.values()).map(pool => pool.shutdown()),+ ...Array.from(this.domainPools.values()).map(pool => pool.shutdown()),]);- // Clear agents and tasks+ // Clear all tracking datathis.state.agents.clear();this.state.tasks.clear();+ this.agentDomainMap.clear();+ this.taskAssignments.clear();+ for (const queue of this.domainTaskQueues.values()) {+ queue.length = 0;+ }this.state.status = 'stopped';