ruflo 3.70.0 → 3.71.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/ruflo.js +8 -0
  2. package/package.json +2 -2
package/bin/ruflo.js CHANGED
@@ -29,6 +29,14 @@ const cliBase = pkgDir
29
29
  ? join(pkgDir, 'node_modules', '@claude-flow', 'cli')
30
30
  : resolve(__dirname, '../../v3/@claude-flow/cli');
31
31
 
32
+ if (!pkgDir && !existsSync(join(cliBase, 'bin', 'cli.js'))) {
33
+ console.error(
34
+ `ruflo installation is incomplete: @claude-flow/cli could not be found from ${resolve(__dirname, '..')}. ` +
35
+ 'Stop running Ruflo MCP servers and their hosts, then reinstall with npm install -g ruflo@latest.'
36
+ );
37
+ process.exit(1);
38
+ }
39
+
32
40
  // The exact dependency pin prevents mismatches in normal installs. Existing
33
41
  // partial upgrades can still resolve a different CLI (#3306); make that
34
42
  // visible on stderr without taking an otherwise working command offline.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruflo",
3
- "version": "3.70.0",
3
+ "version": "3.71.1",
4
4
  "description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
5
5
  "main": "bin/ruflo.js",
6
6
  "type": "module",
@@ -40,7 +40,7 @@
40
40
  "package:rvf": "bash src/scripts/package-rvf.sh"
41
41
  },
42
42
  "dependencies": {
43
- "@claude-flow/cli": "3.70.0"
43
+ "@claude-flow/cli": "3.71.1"
44
44
  },
45
45
  "optionalDependencies": {},
46
46
  "overrides": {