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

rUv34796dfea659
diff --git a/v3/@claude-flow/cli/src/mcp-tools/system-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/system-tools.ts
index f495c708c5..98587930dd 100644
--- a/v3/@claude-flow/cli/src/mcp-tools/system-tools.ts
+++ b/v3/@claude-flow/cli/src/mcp-tools/system-tools.ts
@@ -3,15 +3,16 @@
*
* V2 Compatibility - System monitoring tools: status, metrics, health
*
- * ⚠️ IMPORTANT: Metrics are ILLUSTRATIVE, not real system metrics.
- * - CPU/memory values are simulated for demo purposes
- * - Use for workflow coordination and state tracking
- * - For real metrics, use process.memoryUsage(), os module, etc.
+ * ✅ Uses REAL system metrics via Node.js APIs:
+ * - process.memoryUsage() for real memory stats
+ * - process.cpuUsage() for real CPU stats
+ * - os module for system information
*/
import type { MCPTool } from './types.js';
import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
import { join } from 'node:path';
+import * as os from 'node:os';
// Storage paths
const STORAGE_DIR = '.claude-flow';