@recallai/desktop-sdk 0.0.0-nightly.20251213T012153-00bd59743ea82c9846eaaedf0ba4172f01aaba54 → 0.0.0-nightly.20251215T010603-2030bf600513d32e6363782ca8be3fc77d6d84c8
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/index.js +3 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -74,9 +74,11 @@ const pendingCommands = {};
|
|
|
74
74
|
let lastOptions;
|
|
75
75
|
let remainingAutomaticRestarts = 10;
|
|
76
76
|
let unexpectedShutdown = false;
|
|
77
|
+
let exiting = false;
|
|
77
78
|
let logBuffer = [];
|
|
78
79
|
let logIndex = 0;
|
|
79
80
|
process.on("exit", () => {
|
|
81
|
+
exiting = true;
|
|
80
82
|
if (proc && !proc.killed) {
|
|
81
83
|
proc.kill();
|
|
82
84
|
proc = null;
|
|
@@ -307,7 +309,7 @@ function startProcess() {
|
|
|
307
309
|
rlStderr?.close();
|
|
308
310
|
rlStdout = null;
|
|
309
311
|
rlStderr = null;
|
|
310
|
-
if (code === 0 || signal === 'SIGINT') {
|
|
312
|
+
if (code === 0 || signal === 'SIGINT' || exiting) {
|
|
311
313
|
return;
|
|
312
314
|
}
|
|
313
315
|
logError(`Desktop SDK: Process exited with code ${code}, signal ${signal}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recallai/desktop-sdk",
|
|
3
|
-
"version": "0.0.0-nightly.
|
|
3
|
+
"version": "0.0.0-nightly.20251215T010603-2030bf600513d32e6363782ca8be3fc77d6d84c8",
|
|
4
4
|
"description": "Recall Desktop SDK",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"@types/node": "^24.2.0",
|
|
21
21
|
"typescript": "^5.3.3"
|
|
22
22
|
},
|
|
23
|
-
"commit_sha": "
|
|
23
|
+
"commit_sha": "2030bf600513d32e6363782ca8be3fc77d6d84c8"
|
|
24
24
|
}
|