@recallai/desktop-sdk 2.0.0 → 2.0.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.0.1 [patch] (MacOS+Windows) - 2025-12-15
2
+
3
+ - Several crash fixes across macOS + windows
4
+ - Fixed an error when shutting down the sdk
5
+ - Fixed an issue capturing google meet meetings on windows when there are multiple windows
6
+ - Fixed an issue capturing teams on windows when using virtual desktops
7
+ - Streaming upload stability fixes
8
+
1
9
  ### 2.0.0 [major] (MacOS+Windows) 2025-12-03
2
10
 
3
11
  - Captured data now is streamed to the Recall API backend rather than uploading after call
@@ -119,4 +127,4 @@
119
127
 
120
128
  ### 1.0.0 [major] (MacOS+Windows) - 2025-07-24 (deprecated)
121
129
 
122
- - Initial Changelog Entry
130
+ - Initial Changelog Entry
package/index.js CHANGED
@@ -74,8 +74,16 @@ 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;
80
+ process.on("exit", () => {
81
+ exiting = true;
82
+ if (proc && !proc.killed) {
83
+ proc.kill();
84
+ proc = null;
85
+ }
86
+ });
79
87
  function appendError(error) {
80
88
  lastErrorOut.push(error);
81
89
  if (lastErrorOut.length > 100) {
@@ -301,7 +309,7 @@ function startProcess() {
301
309
  rlStderr?.close();
302
310
  rlStdout = null;
303
311
  rlStderr = null;
304
- if (code === 0 || signal === 'SIGINT') {
312
+ if (code === 0 || signal === 'SIGINT' || exiting) {
305
313
  return;
306
314
  }
307
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": "2.0.0",
3
+ "version": "2.0.1",
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": "8ea4cf1b6546f249d1ed3c2f61aa70542ff55eed"
23
+ "commit_sha": "4cedfc8f22df6b62dbb38dec3c21983ff3bf383c"
24
24
  }