@recallai/desktop-sdk 0.0.0-nightly.20251211T210749-213bf92607f0394e1ffa13c7283317c06019eeb5 → 0.0.0-nightly.20251212T051143-96dca8687116f4d1c2b8e5845c39f870ceabcece
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 +6 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -76,6 +76,12 @@ let remainingAutomaticRestarts = 10;
|
|
|
76
76
|
let unexpectedShutdown = false;
|
|
77
77
|
let logBuffer = [];
|
|
78
78
|
let logIndex = 0;
|
|
79
|
+
process.on("exit", () => {
|
|
80
|
+
if (proc && !proc.killed) {
|
|
81
|
+
proc.kill();
|
|
82
|
+
proc = null;
|
|
83
|
+
}
|
|
84
|
+
});
|
|
79
85
|
function appendError(error) {
|
|
80
86
|
lastErrorOut.push(error);
|
|
81
87
|
if (lastErrorOut.length > 100) {
|
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.20251212T051143-96dca8687116f4d1c2b8e5845c39f870ceabcece",
|
|
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": "96dca8687116f4d1c2b8e5845c39f870ceabcece"
|
|
24
24
|
}
|