Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

Checkpoint: File edits

rUvefc5ec8b634b
diff --git a/v3/@claude-flow/cli/bin/mcp-server.js b/v3/@claude-flow/cli/bin/mcp-server.js
index ed395dcdfd..e2bc87bb2f 100755
--- a/v3/@claude-flow/cli/bin/mcp-server.js
+++ b/v3/@claude-flow/cli/bin/mcp-server.js
@@ -7,10 +7,11 @@
* without any CLI formatting output that would corrupt the protocol.
*/
+import { randomUUID } from 'crypto';
import { listMCPTools, callMCPTool, hasTool } from '../dist/src/mcp-client.js';
const VERSION = '3.0.0';
-const sessionId = `mcp-${Date.now()}-${Math.random().toString(36).substr(2, 4)}`;
+const sessionId = `mcp-${Date.now()}-${randomUUID().slice(0, 8)}`;
// Log to stderr (doesn't corrupt stdout for MCP protocol)
console.error(