Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

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

rUvee0d0d3e1e83
diff --git a/.claude/checkpoints/1754486533.json b/.claude/checkpoints/1754486533.json
new file mode 100644
index 0000000000..5a1a0ca075
--- /dev/null
+++ b/.claude/checkpoints/1754486533.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-132213", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js", "timestamp": "2025-08-06T13:22:13Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754486535.json b/.claude/checkpoints/1754486535.json
new file mode 100644
index 0000000000..7831ac5244
--- /dev/null
+++ b/.claude/checkpoints/1754486535.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-132215", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js", "timestamp": "2025-08-06T13:22:15Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 1588 +++++++++++++++++++++++++++--- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/task-1754486458.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/hive-mind.js | 11 +- 6 files changed, 1439 insertions(+), 169 deletions(-) "}
diff --git a/src/cli/simple-commands/hive-mind.js b/src/cli/simple-commands/hive-mind.js
index cc73c667e5..efe763f737 100644
--- a/src/cli/simple-commands/hive-mind.js
+++ b/src/cli/simple-commands/hive-mind.js
@@ -426,11 +426,24 @@ async function spawnSwarmWizard() {
async function spawnSwarm(args, flags) {
const objective = args.join(' ').trim();
+ // Check for non-interactive mode FIRST
+ const isNonInteractive = flags['non-interactive'] || flags.nonInteractive;
+
if (!objective && !flags.wizard) {
- console.error(chalk.red('Error: Please provide an objective or use --wizard flag'));
- console.log('Example: claude-flow hive-mind spawn "Build REST API"');
+ if (isNonInteractive) {
+ console.error(chalk.red('Error: Objective required in non-interactive mode'));
+ console.log('Usage: claude-flow hive-mind spawn "Your objective" --non-interactive');
+ } else {
+ console.error(chalk.red('Error: Please provide an objective or use --wizard flag'));
+ console.log('Example: claude-flow hive-mind spawn "Build REST API"');
+ }
return;
}
+
+ // Log non-interactive mode status
+ if (isNonInteractive && flags.verbose) {
+ console.log(chalk.cyan('🤖 Running in non-interactive mode'));
+ }
// Validate parameters
if (flags.verbose) {