🌊 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
rUvf21b7ba3da56
diff --git a/.claude/checkpoints/task-1754341999.json b/.claude/checkpoints/task-1754341999.jsonnew file mode 100644index 0000000000..bda93122f6--- /dev/null+++ b/.claude/checkpoints/task-1754341999.json@@ -0,0 +1 @@+{"checkpoint": "task-20250804-211318", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T21:13:19Z", "commit": "23ea921694a27b19269cfd8aa90c4047b21b2b27", "github_release": "true"}diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.jsindex aa53e59edc..9d33b7e38e 100644--- a/src/cli/simple-commands/automation-executor.js+++ b/src/cli/simple-commands/automation-executor.js@@ -218,19 +218,24 @@ export class WorkflowExecutor {claudeArgs.push('--dangerously-skip-permissions');claudeArgs.push(prompt);} else {- // Interactive mode+ // Interactive mode - pass prompt as argument to ClaudeclaudeArgs.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 ?- (this.options.outputFormat === 'stream-json' ? '--print --output-format stream-json --verbose' : '--print') : '';+ (this.options.outputFormat === 'stream-json' ? '--print --output-format stream-json --verbose --dangerously-skip-permissions' : '--print --dangerously-skip-permissions') : '';console.log(` 🤖 Spawning Claude for ${agent.name}: claude ${flagsDisplay} "${displayPrompt}"`);+ // Determine stdio configuration based on mode+ const stdioConfig = this.options.nonInteractive ?+ ['inherit', 'pipe', 'pipe'] : // Non-interactive: pipe output for processing+ ['inherit', 'inherit', 'inherit']; // Interactive: inherit all for normal Claude interaction+// Spawn Claude processconst claudeProcess = spawn('claude', claudeArgs, {- stdio: ['inherit', 'pipe', 'pipe'], // Pipe stdout/stderr for processing+ stdio: stdioConfig,shell: false,});