🌊 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/src/cli/simple-commands/automation-executor.js
rUv902abff3c7af
diff --git a/.claude/checkpoints/task-1754342131.json b/.claude/checkpoints/task-1754342131.jsonnew file mode 100644index 0000000000..a40d830b30--- /dev/null+++ b/.claude/checkpoints/task-1754342131.json@@ -0,0 +1 @@+{"checkpoint": "task-20250804-211530", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T21:15:31Z", "commit": "5da1bbe08ec376c6c4054716bf49fccef7b9d42b", "github_release": "true"}diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.jsindex 86d971b74f..58351b9807 100644--- a/src/cli/simple-commands/automation-executor.js+++ b/src/cli/simple-commands/automation-executor.js@@ -206,9 +206,9 @@ export class WorkflowExecutor {async spawnClaudeInstance(agent, prompt) {const claudeArgs = [];- // Add non-interactive flags if needed+ // Add flags based on modeif (this.options.nonInteractive) {- // Use print mode with stream-json output for non-interactive execution+ // Non-interactive mode: use --print with stream-json outputclaudeArgs.push('--print');if (this.options.outputFormat === 'stream-json') {claudeArgs.push('--output-format', 'stream-json');@@ -216,12 +216,11 @@ export class WorkflowExecutor {}// Skip permissions for automated workflowsclaudeArgs.push('--dangerously-skip-permissions');- claudeArgs.push(prompt);- } else {- // Interactive mode - pass prompt as argument to Claude- claudeArgs.push(prompt);}+ // Always add the prompt as the final argument+ claudeArgs.push(prompt);+// Log the command being executed (truncate long prompts)const displayPrompt = prompt.length > 100 ? prompt.substring(0, 100) + '...' : prompt;const flagsDisplay = this.options.nonInteractive ?