claude-flow 2.0.0-alpha.25 → 2.0.0-alpha.26

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/bin/claude-flow CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
  # Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
3
3
 
4
- VERSION="2.0.0-alpha.25"
4
+ VERSION="2.0.0-alpha.26"
5
5
 
6
6
  # Determine the correct path based on how the script is invoked
7
7
  if [ -L "$0" ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "2.0.0-alpha.25",
3
+ "version": "2.0.0-alpha.26",
4
4
  "description": "Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)",
5
5
  "main": "cli.mjs",
6
6
  "bin": {
@@ -497,7 +497,7 @@ export async function initCommand(subArgs, flags) {
497
497
  // Check for Claude Code and set up MCP servers (always enabled by default)
498
498
  if (!initDryRun && isClaudeCodeInstalled()) {
499
499
  console.log('\nšŸ” Claude Code CLI detected!');
500
- const skipMcp = args && args.includes && args.includes('--skip-mcp');
500
+ const skipMcp = subArgs && subArgs.includes && subArgs.includes('--skip-mcp');
501
501
 
502
502
  if (!skipMcp) {
503
503
  await setupMcpServers(initDryRun);
@@ -1134,7 +1134,7 @@ ${commands.map(cmd => `- [${cmd}](./${cmd}.md)`).join('\n')}
1134
1134
  // Check for Claude Code and set up MCP servers (always enabled by default)
1135
1135
  if (!dryRun && isClaudeCodeInstalled()) {
1136
1136
  console.log('\nšŸ” Claude Code CLI detected!');
1137
- const skipMcp = (options && options['skip-mcp']) || (args && args.includes && args.includes('--skip-mcp'));
1137
+ const skipMcp = (options && options['skip-mcp']) || (subArgs && subArgs.includes && subArgs.includes('--skip-mcp'));
1138
1138
 
1139
1139
  if (!skipMcp) {
1140
1140
  await setupMcpServers(dryRun);
@@ -45,7 +45,7 @@
45
45
 
46
46
  // 3. NPX with latest alpha version (prioritized over global)
47
47
  async () => {
48
- return spawn('npx', ['claude-flow@2.0.0-alpha.25', ...process.argv.slice(2)], { stdio: 'inherit' });
48
+ return spawn('npx', ['claude-flow@2.0.0-alpha.26', ...process.argv.slice(2)], { stdio: 'inherit' });
49
49
  }
50
50
  ];
51
51