From cdd49504d33a79c07eb7eec7233d198797f6d084 Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 5 Aug 2025 02:49:39 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/automation.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/task-1754362175.json | 1 + .claude/checkpoints/task-1754362176.json | 1 + src/cli/simple-commands/automation.js | 9 +++++++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .claude/checkpoints/task-1754362175.json create mode 100644 .claude/checkpoints/task-1754362176.json diff --git a/.claude/checkpoints/task-1754362175.json b/.claude/checkpoints/task-1754362175.json new file mode 100644 index 0000000000..433b16f108 --- /dev/null +++ b/.claude/checkpoints/task-1754362175.json @@ -0,0 +1 @@ +{"checkpoint": "task-20250805-024935", "task": "{{user_prompt}} ", "timestamp": "2025-08-05T02:49:35Z", "commit": "33087cd31ef3e11247cf8f5767a0412c3164f782", "github_release": "true"} diff --git a/.claude/checkpoints/task-1754362176.json b/.claude/checkpoints/task-1754362176.json new file mode 100644 index 0000000000..7bad716d21 --- /dev/null +++ b/.claude/checkpoints/task-1754362176.json @@ -0,0 +1 @@ +{"checkpoint": "task-20250805-024935", "task": "{{user_prompt}} ", "timestamp": "2025-08-05T02:49:36Z", "commit": "33087cd31ef3e11247cf8f5767a0412c3164f782", "github_release": "true"} diff --git a/src/cli/simple-commands/automation.js b/src/cli/simple-commands/automation.js index 86195df446..ffce694766 100644 --- a/src/cli/simple-commands/automation.js +++ b/src/cli/simple-commands/automation.js @@ -365,10 +365,15 @@ async function mleStarCommand(subArgs, flags) { const targetColumn = options.target || 'target'; // Create executor with MLE-STAR optimized settings + // IMPORTANT: Default to non-interactive mode to prevent multiple Claude spawns + const isNonInteractive = options['non-interactive'] !== undefined ? + (options['non-interactive'] || options.nonInteractive) : + true; // Default to true for MLE-STAR to avoid multiple interactive sessions + const executor = new WorkflowExecutor({ enableClaude: options.claude !== false, // Default to true for MLE-STAR - nonInteractive: options['non-interactive'] || options.nonInteractive || false, - outputFormat: options['output-format'] || (options['non-interactive'] || options.nonInteractive ? 'stream-json' : 'text'), + nonInteractive: isNonInteractive, + outputFormat: options['output-format'] || (isNonInteractive ? 'stream-json' : 'text'), maxConcurrency: parseInt(options['max-agents']) || 6, timeout: parseInt(options.timeout) || 14400000, // 4 hours for ML workflows logLevel: options.verbose ? 'debug' : 'info',