Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/automation.js

rUv45ea1246722a
diff --git a/.claude/checkpoints/1754338746.json b/.claude/checkpoints/1754338746.json
new file mode 100644
index 0000000000..759ff69425
--- /dev/null
+++ b/.claude/checkpoints/1754338746.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250804-201906", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation.js", "timestamp": "2025-08-04T20:19:06Z", "type": "pre-edit", "original_branch": "alpha-85"}
diff --git a/.claude/checkpoints/1754338748.json b/.claude/checkpoints/1754338748.json
new file mode 100644
index 0000000000..922eff26ce
--- /dev/null
+++ b/.claude/checkpoints/1754338748.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250804-201908", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation.js", "timestamp": "2025-08-04T20:19:08Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 8994 +++++++++++++++++++++++++++++- .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/1754338682.json | 1 + .claude/checkpoints/1754338684.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/automation.js | 8 + 7 files changed, 8983 insertions(+), 41 deletions(-) "}
diff --git a/src/cli/simple-commands/automation.js b/src/cli/simple-commands/automation.js
index 1be34aa7b0..86195df446 100644
--- a/src/cli/simple-commands/automation.js
+++ b/src/cli/simple-commands/automation.js
@@ -440,8 +440,16 @@ async function mleStarCommand(subArgs, flags) {
console.log('\n' + JSON.stringify(result, null, 2));
}
+ // Ensure process exits properly in non-interactive mode
+ if (options['non-interactive'] || options.nonInteractive) {
+ process.exit(result.success ? 0 : 1);
+ }
+
} catch (error) {
printError(`MLE-STAR execution failed: ${error.message}`);
+ if (options['non-interactive'] || options.nonInteractive) {
+ process.exit(1);
+ }
}
}