claude-flow 2.0.0-alpha.24 → 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.24"
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.24",
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": {
@@ -495,16 +495,16 @@ export async function initCommand(subArgs, flags) {
495
495
  }
496
496
 
497
497
  // Check for Claude Code and set up MCP servers (always enabled by default)
498
- if (!dryRun && isClaudeCodeInstalled()) {
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
- await setupMcpServers(dryRun);
503
+ await setupMcpServers(initDryRun);
504
504
  } else {
505
505
  console.log(' ā„¹ļø Skipping MCP setup (--skip-mcp flag used)');
506
506
  }
507
- } else if (!dryRun && !isClaudeCodeInstalled()) {
507
+ } else if (!initDryRun && !isClaudeCodeInstalled()) {
508
508
  console.log('\nāš ļø Claude Code CLI not detected!');
509
509
  console.log(' šŸ“„ Install with: npm install -g @anthropics/claude-code');
510
510
  console.log(' šŸ“‹ Then add MCP servers manually with:');
@@ -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.24', ...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
 
@@ -1116,7 +1116,7 @@ function createWrapperScriptFallback(type) {
1116
1116
 
1117
1117
  // 3. NPX with latest alpha version (prioritized over global)
1118
1118
  async () => {
1119
- return spawn('npx', ['claude-flow@2.0.0-alpha.24', ...process.argv.slice(2)], { stdio: 'inherit' });
1119
+ return spawn('npx', ['claude-flow@2.0.0-alpha.25', ...process.argv.slice(2)], { stdio: 'inherit' });
1120
1120
  }
1121
1121
  ];
1122
1122