🌊 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: Edit /workspaces/claude-code-flow/src/mcp/implementations/agent-tracker.js
rUv8fd086411629
diff --git a/.claude/checkpoints/1755355866.json b/.claude/checkpoints/1755355866.jsonnew file mode 100644index 0000000000..57c5de2d81--- /dev/null+++ b/.claude/checkpoints/1755355866.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250816-145106", "file": "/workspaces/claude-code-flow/src/mcp/mcp-server.js", "timestamp": "2025-08-16T14:51:06Z", "type": "pre-edit", "original_branch": "alpha90"}diff --git a/.claude/checkpoints/1755355868.json b/.claude/checkpoints/1755355868.jsonnew file mode 100644index 0000000000..88e523b5cb--- /dev/null+++ b/.claude/checkpoints/1755355868.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250816-145108", "file": "/workspaces/claude-code-flow/src/mcp/mcp-server.js", "timestamp": "2025-08-16T14:51:08Z", "type": "post-edit", "branch": "alpha90", "diff_summary": " .claude-flow/metrics/agent-metrics.json | 18 +- .claude-flow/metrics/performance.json | 4 +- .claude-flow/metrics/system-metrics.json | 652 ++++++++++++++++++++++++++++++- .claude-flow/metrics/task-metrics.json | 11 +- .claude/checkpoints/1755355694.json | 1 + .claude/checkpoints/1755355697.json | 1 + claude-flow-wiki | 0 src/mcp/mcp-server.js | 11 + 8 files changed, 664 insertions(+), 34 deletions(-) "}diff --git a/src/mcp/implementations/agent-tracker.js b/src/mcp/implementations/agent-tracker.jsindex 38bb199fd5..b9e924024b 100644--- a/src/mcp/implementations/agent-tracker.js+++ b/src/mcp/implementations/agent-tracker.js@@ -67,6 +67,31 @@ class AgentTracker {}return agents;}++ // Store task results+ storeTaskResult(taskId, result) {+ if (this.tasks.has(taskId)) {+ const task = this.tasks.get(taskId);+ task.result = result;+ task.completedAt = new Date().toISOString();+ this.updateTaskStatus(taskId, 'completed');+ return true;+ }+ // Store even if task wasn't tracked+ this.tasks.set(taskId, {+ id: taskId,+ result: result,+ status: 'completed',+ completedAt: new Date().toISOString(),+ });+ return true;+ }++ // Get task results+ getTaskResult(taskId) {+ const task = this.tasks.get(taskId);+ return task ? task.result : null;+ }// Get swarm statusgetSwarmStatus(swarmId) {