mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
This commit is contained in:
1 parent
94603abdc4
commit
3e76badcf9
2 files changed
+7
-6
No files matched your search
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250806-120240", "task": "is this actually using claude-flow? I don't see the hello world and runs really quickly. and the hiv", "timestamp": "2025-08-06T12:02:42Z", "commit": "94603abdc4fa567f3a138dabcdf183bf69dc03ec", "github_release": "true"}
|
||||
@@ -326,22 +326,22 @@ class RealClaudeFlowExecutor:
|
||||
|
||||
def execute_sparc(self, config: SparcCommand) -> RealExecutionResult:
|
||||
"""Execute a real SPARC command."""
|
||||
# SPARC command format: claude-flow sparc <mode> "<task>"
|
||||
command = [
|
||||
self.claude_flow_path,
|
||||
"sparc",
|
||||
"run",
|
||||
config.mode,
|
||||
config.task,
|
||||
"--non-interactive"
|
||||
config.task
|
||||
]
|
||||
|
||||
if config.memory_key:
|
||||
command.extend(["--memory-key", config.memory_key])
|
||||
# Add output format if needed
|
||||
if config.output_format:
|
||||
command.extend(["--format", config.output_format])
|
||||
|
||||
# Add additional flags
|
||||
command.extend(config.additional_flags)
|
||||
|
||||
return self._execute_streaming_command(command, 300) # 5 minute default timeout
|
||||
return self._execute_streaming_command(command, 60) # 1 minute timeout for sparc
|
||||
|
||||
def _execute_streaming_command(self, command: List[str], timeout_seconds: int) -> RealExecutionResult:
|
||||
"""Execute command and parse streaming output."""
|
||||
|
||||
Reference in new issue
Block a user