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

rUv4647f01475c0
diff --git a/.claude/checkpoints/1754338682.json b/.claude/checkpoints/1754338682.json
new file mode 100644
index 0000000000..b362dc8269
--- /dev/null
+++ b/.claude/checkpoints/1754338682.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250804-201802", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js", "timestamp": "2025-08-04T20:18:02Z", "type": "pre-edit", "original_branch": "alpha-85"}
diff --git a/.claude/checkpoints/1754338684.json b/.claude/checkpoints/1754338684.json
new file mode 100644
index 0000000000..a405ac54e7
--- /dev/null
+++ b/.claude/checkpoints/1754338684.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250804-201804", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js", "timestamp": "2025-08-04T20:18:04Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 8970 +++++++++++++++++++++++- .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/task-1754338639.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/automation-executor.js | 72 +- 6 files changed, 9012 insertions(+), 51 deletions(-) "}
diff --git a/src/cli/simple-commands/automation.js b/src/cli/simple-commands/automation.js
index 6db93fade1..1be34aa7b0 100644
--- a/src/cli/simple-commands/automation.js
+++ b/src/cli/simple-commands/automation.js
@@ -317,8 +317,16 @@ async function runWorkflowCommand(subArgs, flags) {
});
}
+ // Ensure process exits properly in non-interactive mode
+ if (options['non-interactive'] || options.nonInteractive) {
+ process.exit(result.success ? 0 : 1);
+ }
+
} catch (error) {
printError(`Failed to execute workflow: ${error.message}`);
+ if (options['non-interactive'] || options.nonInteractive) {
+ process.exit(1);
+ }
}
}