mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
fix: Revert to working CommonJS binary approach from v1.0.50
- Remove ES module complications that caused HTTPS URL scheme errors - Use pure CommonJS approach that worked in v1.0.50 - Update version to 1.0.54 - Clean up unnecessary ESM/CJS wrapper files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
ed5a52aa57
commit
f2d558cc31
3 files changed
+8
-14
No files matched your search
+6
-12
@@ -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;
|
||||
|
||||
+1
-1
@@ -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": {
|
||||
|
||||
@@ -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(`
|
||||
|
||||
Reference in new issue
Block a user