🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py

This commit is contained in:
rUv committed 2025-08-06 11:28:34 +00:00
1 parent 1ddb85d783
commit bf95e9b754
3 files changed
+8 -5

No files matched your search

+1
View File
@@ -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"}
+1
View File
@@ -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(-) "}
+6 -5
View File
@@ -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}")