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

rUv8f94e4b90d18
diff --git a/v3/@claude-flow/cli/.claude/helpers/statusline.cjs b/v3/@claude-flow/cli/.claude/helpers/statusline.cjs
index 9ebda33938..6ae10cea13 100644
--- a/v3/@claude-flow/cli/.claude/helpers/statusline.cjs
+++ b/v3/@claude-flow/cli/.claude/helpers/statusline.cjs
@@ -235,11 +235,17 @@ function getSwarmStatus() {
let coordinationActive = false;
try {
- const ps = execSync('ps aux 2>/dev/null | grep -c agentic-flow || echo "0"', { encoding: 'utf-8' });
- activeAgents = Math.max(0, parseInt(ps.trim()) - 1);
+ if (isWindows) {
+ // Windows: use tasklist and findstr
+ const ps = execSync('tasklist 2>NUL | findstr /I "agentic-flow" 2>NUL | find /C /V "" 2>NUL || echo 0', { encoding: 'utf-8' });
+ activeAgents = Math.max(0, parseInt(ps.trim()) || 0);
+ } else {
+ const ps = execSync('ps aux 2>/dev/null | grep -c agentic-flow || echo "0"', { encoding: 'utf-8' });
+ activeAgents = Math.max(0, parseInt(ps.trim()) - 1);
+ }
coordinationActive = activeAgents > 0;
} catch (e) {
- // Ignore errors
+ // Ignore errors - default to 0 agents
}
return {