From b353bff94fc7da50f2ed8f577e2372171e8f49f7 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 12:30:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/src/swarm=5Fbenchmark/core/claude?= =?UTF-8?q?=5Fflow=5Freal=5Fexecutor.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754483425.json | 1 + .claude/checkpoints/1754483426.json | 1 + .../src/swarm_benchmark/core/claude_flow_real_executor.py | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .claude/checkpoints/1754483425.json create mode 100644 .claude/checkpoints/1754483426.json diff --git a/.claude/checkpoints/1754483425.json b/.claude/checkpoints/1754483425.json new file mode 100644 index 0000000000..1365651ec8 --- /dev/null +++ b/.claude/checkpoints/1754483425.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-123024", "file": "/workspaces/claude-code-flow/benchmark/bin/claude-flow-non-interactive", "timestamp": "2025-08-06T12:30:25Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754483426.json b/.claude/checkpoints/1754483426.json new file mode 100644 index 0000000000..e18b148279 --- /dev/null +++ b/.claude/checkpoints/1754483426.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-123026", "file": "/workspaces/claude-code-flow/benchmark/bin/claude-flow-non-interactive", "timestamp": "2025-08-06T12:30:26Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 +++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 ++--- .claude/checkpoints/1754483411.json | 1 + .claude/checkpoints/1754483413.json | 1 + benchmark/bin/claude-flow-non-interactive | 44 +++++++++++++++++++++++++++++++ claude-flow-wiki | 0 7 files changed, 74 insertions(+), 4 deletions(-) "} diff --git a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py index 99aa804290..bf0542cf46 100644 --- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py +++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py @@ -245,14 +245,17 @@ class RealClaudeFlowExecutor: def __init__(self, claude_flow_path: Optional[str] = None, - working_dir: Optional[str] = None): + working_dir: Optional[str] = None, + force_non_interactive: bool = True): """ Initialize the real executor. Args: claude_flow_path: Path to ./claude-flow executable working_dir: Working directory for execution + force_non_interactive: Always use non-interactive mode (default: True) """ + self.force_non_interactive = force_non_interactive self.claude_flow_path = claude_flow_path or self._find_claude_flow() self.working_dir = Path(working_dir) if working_dir else Path.cwd()