From bf95e9b754b0af6d807f25fab675bfdb92c3f0db Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 11:28:34 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/src/swarm=5Fbenchmark/cli/main.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754479701.json | 1 + .claude/checkpoints/1754479703.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 11 ++++++----- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 .claude/checkpoints/1754479701.json create mode 100644 .claude/checkpoints/1754479703.json diff --git a/.claude/checkpoints/1754479701.json b/.claude/checkpoints/1754479701.json new file mode 100644 index 0000000000..ff81c2d4ac --- /dev/null +++ b/.claude/checkpoints/1754479701.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-112821", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:28:21Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754479703.json b/.claude/checkpoints/1754479703.json new file mode 100644 index 0000000000..b5f9149f72 --- /dev/null +++ b/.claude/checkpoints/1754479703.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-112823", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:28:23Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 8 ++++---- .claude/checkpoints/1754479667.json | 1 + .claude/checkpoints/1754479669.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 19 ++++++++++++------- claude-flow-wiki | 0 6 files changed, 19 insertions(+), 12 deletions(-) "} diff --git a/benchmark/src/swarm_benchmark/cli/main.py b/benchmark/src/swarm_benchmark/cli/main.py index 984e797859..794cc936ec 100644 --- a/benchmark/src/swarm_benchmark/cli/main.py +++ b/benchmark/src/swarm_benchmark/cli/main.py @@ -423,17 +423,18 @@ def sparc(ctx, mode, task, namespace, timeout, non_interactive, output_dir): # Execute real SPARC command try: - from ..core.claude_flow_real_executor import ClaudeFlowRealExecutor + from ..core.claude_flow_real_executor import ClaudeFlowRealExecutor, SparcCommand executor = ClaudeFlowRealExecutor() - result = executor.execute_sparc( + # Create SPARC configuration + config = SparcCommand( mode=mode, task=task, - namespace=namespace, - timeout=timeout * 60, - non_interactive=non_interactive + memory_key=namespace ) + result = executor.execute_sparc(config) + if result.success: click.echo(f"✅ SPARC {mode} benchmark completed!") click.echo(f"📊 Results saved to: {output_dir}")