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/src/swarm_benchmark/cli/main.py

rUvf64d5a247bfe
diff --git a/benchmark/.claude/checkpoints/task-1754488349.json b/benchmark/.claude/checkpoints/task-1754488349.json
new file mode 100644
index 0000000000..5f2c17dc12
--- /dev/null
+++ b/benchmark/.claude/checkpoints/task-1754488349.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250806-135228", "task": "update the swarm-bench cli to always use real, real doesn't seem nessary. ", "timestamp": "2025-08-06T13:52:29Z", "commit": "796c7971de07672a41d3f7e53e7d46b410d2be80", "github_release": "true"}
diff --git a/benchmark/src/swarm_benchmark/cli/main.py b/benchmark/src/swarm_benchmark/cli/main.py
index ac1ac8072f..48d6ba403b 100644
--- a/benchmark/src/swarm_benchmark/cli/main.py
+++ b/benchmark/src/swarm_benchmark/cli/main.py
@@ -17,12 +17,12 @@ from swarm_benchmark.core.real_benchmark_engine import RealBenchmarkEngine
@click.version_option(version=__version__)
@click.option('--verbose', '-v', is_flag=True, help='Enable verbose output')
@click.option('--config', '-c', type=click.Path(exists=True), help='Configuration file path')
[email protected]('--real/--mock', default=False, help='Use real claude-flow execution')
[email protected]('--mock', is_flag=True, default=False, help='Use mock execution instead of real claude-flow')
@click.option('--claude-flow-path', default='./claude-flow', help='Path to claude-flow')
@click.option('--timeout', default=300, help='Command timeout in seconds')
@click.option('--stream/--no-stream', default=True, help='Stream output')
@click.pass_context
-def cli(ctx, verbose, config, real, claude_flow_path, timeout, stream):
+def cli(ctx, verbose, config, mock, claude_flow_path, timeout, stream):
"""Claude Flow Advanced Swarm Benchmarking Tool.
A comprehensive Python-based benchmarking tool for agent swarms that interfaces
@@ -31,7 +31,7 @@ def cli(ctx, verbose, config, real, claude_flow_path, timeout, stream):
ctx.ensure_object(dict)
ctx.obj['verbose'] = verbose
ctx.obj['config'] = config
- ctx.obj['real'] = real
+ ctx.obj['real'] = not mock # Default to real execution unless --mock is specified
ctx.obj['claude_flow_path'] = claude_flow_path
ctx.obj['timeout'] = timeout
ctx.obj['stream'] = stream