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}")