ruflo 3.5.80 → 3.5.82

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.
Files changed (2) hide show
  1. package/bin/ruflo.js +11 -4
  2. package/package.json +1 -1
package/bin/ruflo.js CHANGED
@@ -43,8 +43,15 @@ if (isMCPMode) {
43
43
  name: 'ruflo',
44
44
  description: 'Ruflo - AI Agent Orchestration Platform',
45
45
  });
46
- cli.run().catch((error) => {
47
- console.error('Fatal error:', error.message);
48
- process.exit(1);
49
- });
46
+ cli.run()
47
+ .then(() => {
48
+ // #1641/#1653: Exit cleanly after one-shot commands.
49
+ // HNSW VectorDb, sql.js WASM, and ONNX worker threads keep the
50
+ // event loop alive after the command handler returns.
51
+ process.exit(0);
52
+ })
53
+ .catch((error) => {
54
+ console.error('Fatal error:', error.message);
55
+ process.exit(1);
56
+ });
50
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruflo",
3
- "version": "3.5.80",
3
+ "version": "3.5.82",
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",