🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
rUvc39723146792
diff --git a/benchmark/.claude/checkpoints/task-1754575710.json b/benchmark/.claude/checkpoints/task-1754575710.jsonnew file mode 100644index 0000000000..4164fc2eda--- /dev/null+++ b/benchmark/.claude/checkpoints/task-1754575710.json@@ -0,0 +1 @@+{"checkpoint": "task-20250807-140828", "task": "it needs to end with --non-interactive similar to npx claude-flow@alpha swarm "test commands" --no", "timestamp": "2025-08-07T14:08:30Z", "commit": "46bd1b8a40d6e5313020c3c9438ef7a2dc488e41", "github_release": "true"}diff --git a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py b/benchmark/src/swarm_benchmark/swe_bench/official_integration.pyindex b11812dbc4..b43074b588 100644--- a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py+++ b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py@@ -115,21 +115,29 @@ Return ONLY the git diff patch in proper format."""# Escape the task prompt for shellescaped_prompt = task_prompt.replace('"', '\\"').replace('\n', ' ')- # Use swarm or hive-mind based on complexity+ # Build command with proper order - --non-interactive must be at the endif self.config.mode == CoordinationMode.MESH:# Use hive-mind for complex mesh coordination- cmd = f'npx claude-flow@alpha hive-mind spawn "{escaped_prompt}" --claude --non-interactive'+ cmd_parts = [+ 'npx', 'claude-flow@alpha', 'hive-mind', 'spawn',+ f'"{escaped_prompt}"'+ ]+ if self.config.max_agents:+ cmd_parts.extend(['--agents', str(self.config.max_agents)])+ cmd_parts.append('--non-interactive')+ cmd = ' '.join(cmd_parts)else:# Use swarm for other modes- cmd = f'npx claude-flow@alpha swarm "{escaped_prompt}" --claude --non-interactive'-- # Add configuration options- if self.config.max_agents:- cmd += f" --agents {self.config.max_agents}"-- # Add strategy for swarm- if self.config.mode != CoordinationMode.MESH:- cmd += f" --strategy {self.config.strategy.value.lower()}"+ cmd_parts = [+ 'npx', 'claude-flow@alpha', 'swarm',+ f'"{escaped_prompt}"'+ ]+ if self.config.strategy:+ cmd_parts.extend(['--strategy', self.config.strategy.value.lower()])+ if self.config.max_agents:+ cmd_parts.extend(['--agents', str(self.config.max_agents)])+ cmd_parts.append('--non-interactive')+ cmd = ' '.join(cmd_parts)print(f" 📋 Executing: {cmd[:100]}...")