ruflo 3.59.2 → 3.59.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ruflo.js +17 -5
- package/package.json +2 -2
package/bin/ruflo.js
CHANGED
|
@@ -69,11 +69,23 @@ if (isMCPMode) {
|
|
|
69
69
|
description: 'Ruflo - AI Agent Orchestration Platform',
|
|
70
70
|
});
|
|
71
71
|
cli.run()
|
|
72
|
-
.then(() => {
|
|
73
|
-
// #1641/#1653:
|
|
74
|
-
//
|
|
75
|
-
//
|
|
76
|
-
|
|
72
|
+
.then(async () => {
|
|
73
|
+
// #1641/#1653: HNSW VectorDb, sql.js WASM, and ONNX worker threads can
|
|
74
|
+
// keep the event loop alive after the command handler returns. Close the
|
|
75
|
+
// memory ControllerRegistry before relying on the event loop to drain.
|
|
76
|
+
//
|
|
77
|
+
// #3226: process.exit(0) here raced that teardown and intermittently
|
|
78
|
+
// aborted on Windows with a libuv UV_HANDLE_CLOSING assertion after a
|
|
79
|
+
// successful command. Set the exit status and let the loop drain.
|
|
80
|
+
if (process.exitCode === undefined) process.exitCode = 0;
|
|
81
|
+
try {
|
|
82
|
+
const { shutdownBridge } = await import(
|
|
83
|
+
toImportURL(join(cliBase, 'dist', 'src', 'memory', 'memory-bridge.js'))
|
|
84
|
+
);
|
|
85
|
+
if (typeof shutdownBridge === 'function') await shutdownBridge();
|
|
86
|
+
} catch {
|
|
87
|
+
// Best-effort cleanup; never turn a successful command into a failure.
|
|
88
|
+
}
|
|
77
89
|
})
|
|
78
90
|
.catch((error) => {
|
|
79
91
|
console.error('Fatal error:', error.message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ruflo",
|
|
3
|
-
"version": "3.59.
|
|
3
|
+
"version": "3.59.3",
|
|
4
4
|
"description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
5
|
"main": "bin/ruflo.js",
|
|
6
6
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"package:rvf": "bash src/scripts/package-rvf.sh"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@claude-flow/cli": "3.59.
|
|
43
|
+
"@claude-flow/cli": "3.59.3"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {},
|
|
46
46
|
"overrides": {
|