🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js

This commit is contained in:
rUv committed 2025-08-06 13:22:15 +00:00
1 parent f7976da7bd
commit 3a2916deb2
2 files changed
+11 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"checkpoint": "task-20250806-132057", "task": "don't overwrite, just review changes or files ", "timestamp": "2025-08-06T13:20:58Z", "commit": "f7976da7bd4b15d7caeb51d841ef5b1d1554b6ab", "github_release": "true"}
+10 -1
View File
@@ -1481,7 +1481,16 @@ export async function hiveMindCommand(args, flags) {
break;
case 'spawn':
if (flags.wizard || subArgs.length === 0) {
// Check for non-interactive mode FIRST (like alpha.83)
if (flags['non-interactive'] || flags.nonInteractive) {
// In non-interactive mode, skip wizard and use defaults
if (subArgs.length === 0) {
console.error(chalk.red('Error: Objective required in non-interactive mode'));
console.log('Usage: claude-flow hive-mind spawn "Your objective" --non-interactive');
return;
}
await spawnSwarm(subArgs, flags);
} else if (flags.wizard || subArgs.length === 0) {
await spawnSwarmWizard();
} else {
await spawnSwarm(subArgs, flags);