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
package/package.json
CHANGED
|
@@ -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 (!
|
|
498
|
+
if (!initDryRun && isClaudeCodeInstalled()) {
|
|
499
499
|
console.log('\nš Claude Code CLI detected!');
|
|
500
|
-
const skipMcp =
|
|
500
|
+
const skipMcp = subArgs && subArgs.includes && subArgs.includes('--skip-mcp');
|
|
501
501
|
|
|
502
502
|
if (!skipMcp) {
|
|
503
|
-
await setupMcpServers(
|
|
503
|
+
await setupMcpServers(initDryRun);
|
|
504
504
|
} else {
|
|
505
505
|
console.log(' ā¹ļø Skipping MCP setup (--skip-mcp flag used)');
|
|
506
506
|
}
|
|
507
|
-
} else if (!
|
|
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']) || (
|
|
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.
|
|
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.
|
|
1119
|
+
return spawn('npx', ['claude-flow@2.0.0-alpha.25', ...process.argv.slice(2)], { stdio: 'inherit' });
|
|
1120
1120
|
}
|
|
1121
1121
|
];
|
|
1122
1122
|
|