🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/mcp/mcp-server.js

This commit is contained in:
rUv committed 2025-08-16 14:51:32 +00:00
1 parent 8fd0864116
commit df126eba15
3 files changed
+4 -2

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"branch": "checkpoint/pre-edit-20250816-145111", "file": "/workspaces/claude-code-flow/src/mcp/implementations/agent-tracker.js", "timestamp": "2025-08-16T14:51:11Z", "type": "pre-edit", "original_branch": "alpha90"}
+1
View File
@@ -0,0 +1 @@
{"tag": "checkpoint-20250816-145113", "file": "/workspaces/claude-code-flow/src/mcp/implementations/agent-tracker.js", "timestamp": "2025-08-16T14:51:13Z", "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/1755355866.json | 1 + .claude/checkpoints/1755355868.json | 1 + claude-flow-wiki | 0 src/mcp/implementations/agent-tracker.js | 25 ++ 8 files changed, 678 insertions(+), 34 deletions(-) "}
+2 -2
View File
@@ -1640,9 +1640,10 @@ class ClaudeFlowMCPServer {
}
case 'task_orchestrate':
const taskId = `task_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
// Track task creation
if (global.agentTracker) {
const taskId = `task_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
global.agentTracker.trackTask(taskId, {
task: args.task,
strategy: args.strategy || 'parallel',
@@ -1651,7 +1652,6 @@ class ClaudeFlowMCPServer {
swarmId: args.swarmId,
});
}
const taskId = `task_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
const swarmIdForTask = args.swarmId || (await this.getActiveSwarmId());
const taskData = {
id: taskId,