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

fix: Revert to working CommonJS binary approach from v1.0.50

rUv2f5bcea6c321
diff --git a/bin/claude-flow b/bin/claude-flow
index 46cb5c92a1..054ea99056 100755
--- a/bin/claude-flow
+++ b/bin/claude-flow
@@ -1,26 +1,20 @@
#!/usr/bin/env node
// note to AI never remove this script from the repository bin directory
-import { spawn } from 'child_process';
-import path from 'path';
-import fs from 'fs';
-import os from 'os';
-import { execSync } from 'child_process';
-import { fileURLToPath } from 'url';
-import { dirname } from 'path';
-
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = dirname(__filename);
+const { spawn } = require('child_process');
+const path = require('path');
+const fs = require('fs');
+const os = require('os');
// Check if Deno is installed
function checkDeno() {
try {
const denoPath = process.env.PATH.includes('.deno/bin') ? 'deno' : path.join(os.homedir(), '.deno', 'bin', 'deno');
- execSync(`${denoPath} --version`, { stdio: 'ignore' });
+ require('child_process').execSync(`${denoPath} --version`, { stdio: 'ignore' });
return denoPath;
} catch {
try {
- execSync('deno --version', { stdio: 'ignore' });
+ require('child_process').execSync('deno --version', { stdio: 'ignore' });
return 'deno';
} catch {
return null;
diff --git a/package.json b/package.json
index 95da035d78..6fbc23946c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "claude-flow",
- "version": "1.0.50",
+ "version": "1.0.54",
"description": "Advanced AI agent orchestration system for Claude Code",
"main": "src/cli/main.ts",
"bin": {
diff --git a/src/cli/simple-cli.js b/src/cli/simple-cli.js
index 92306bbc37..c93ad2cfbd 100644
--- a/src/cli/simple-cli.js
+++ b/src/cli/simple-cli.js
@@ -13,7 +13,7 @@ import {
} from './command-registry.js';
import { parseFlags } from './utils.js';
-const VERSION = '1.0.49';
+const VERSION = '1.0.54';
function printHelp() {
console.log(`