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/benchmark/bin/claude-flow-non-interactive

rUvd7fcb2d0e657
diff --git a/.claude/checkpoints/1754483411.json b/.claude/checkpoints/1754483411.json
new file mode 100644
index 0000000000..d5c7163a62
--- /dev/null
+++ b/.claude/checkpoints/1754483411.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-123011", "file": "/workspaces/claude-code-flow/benchmark/config/non_interactive_defaults.yaml", "timestamp": "2025-08-06T12:30:11Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754483413.json b/.claude/checkpoints/1754483413.json
new file mode 100644
index 0000000000..528981af6f
--- /dev/null
+++ b/.claude/checkpoints/1754483413.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-123013", "file": "/workspaces/claude-code-flow/benchmark/config/non_interactive_defaults.yaml", "timestamp": "2025-08-06T12:30:13Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 +++++++++++++ .claude-flow/metrics/task-metrics.json | 6 ++-- .claude/checkpoints/1754483395.json | 1 + .claude/checkpoints/1754483397.json | 1 + benchmark/config/non_interactive_defaults.yaml | 47 ++++++++++++++++++++++++++ claude-flow-wiki | 0 7 files changed, 77 insertions(+), 4 deletions(-) "}
diff --git a/benchmark/bin/claude-flow-non-interactive b/benchmark/bin/claude-flow-non-interactive
new file mode 100644
index 0000000000..2b6d1965b2
--- /dev/null
+++ b/benchmark/bin/claude-flow-non-interactive
@@ -0,0 +1,44 @@
+#!/bin/bash
+# Claude Flow Non-Interactive Wrapper
+# Ensures all claude-flow commands run in non-interactive mode
+
+# Get the directory where this script is located
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+CLAUDE_FLOW_PATH="${SCRIPT_DIR}/../../claude-flow"
+
+# Check if claude-flow exists
+if [ ! -f "$CLAUDE_FLOW_PATH" ]; then
+ echo "❌ Error: claude-flow not found at $CLAUDE_FLOW_PATH"
+ exit 1
+fi
+
+# Parse command and add non-interactive flags
+COMMAND="$1"
+shift
+
+case "$COMMAND" in
+ "swarm")
+ # Always add non-interactive flags for swarm
+ exec "$CLAUDE_FLOW_PATH" swarm "$@" --executor --analysis
+ ;;
+
+ "hive-mind")
+ # Always add non-interactive flags for hive-mind
+ exec "$CLAUDE_FLOW_PATH" hive-mind "$@" --executor --analysis
+ ;;
+
+ "sparc")
+ # Add verbose flag for sparc
+ exec "$CLAUDE_FLOW_PATH" sparc "$@" --verbose
+ ;;
+
+ "task")
+ # Add non-interactive flags for task
+ exec "$CLAUDE_FLOW_PATH" task "$@" --executor
+ ;;
+
+ *)
+ # Pass through other commands with executor flag
+ exec "$CLAUDE_FLOW_PATH" "$COMMAND" "$@" --executor
+ ;;
+esac
\ No newline at end of file