claude-flow 2.0.0-alpha.20 → 2.0.0-alpha.22

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "2.0.0-alpha.20",
3
+ "version": "2.0.0-alpha.22",
4
4
  "description": "Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)",
5
5
  "main": "cli.mjs",
6
6
  "bin": {
@@ -43,16 +43,9 @@
43
43
  } catch {}
44
44
  },
45
45
 
46
- // 3. Global installation
46
+ // 3. NPX with latest alpha version (prioritized over global)
47
47
  async () => {
48
- try {
49
- return spawn('claude-flow', process.argv.slice(2), { stdio: 'inherit', shell: true });
50
- } catch {}
51
- },
52
-
53
- // 4. NPX fallback
54
- async () => {
55
- return spawn('npx', ['claude-flow@latest', ...process.argv.slice(2)], { stdio: 'inherit' });
48
+ return spawn('npx', ['claude-flow@2.0.0-alpha.22', ...process.argv.slice(2)], { stdio: 'inherit' });
56
49
  }
57
50
  ];
58
51
 
@@ -1114,16 +1114,9 @@ function createWrapperScriptFallback(type) {
1114
1114
  } catch {}
1115
1115
  },
1116
1116
 
1117
- // 3. Global installation
1117
+ // 3. NPX with latest alpha version (prioritized over global)
1118
1118
  async () => {
1119
- try {
1120
- return spawn('claude-flow', process.argv.slice(2), { stdio: 'inherit', shell: true });
1121
- } catch {}
1122
- },
1123
-
1124
- // 4. NPX fallback
1125
- async () => {
1126
- return spawn('npx', ['claude-flow@latest', ...process.argv.slice(2)], { stdio: 'inherit' });
1119
+ return spawn('npx', ['claude-flow@2.0.0-alpha.22', ...process.argv.slice(2)], { stdio: 'inherit' });
1127
1120
  }
1128
1121
  ];
1129
1122