@recallai/desktop-sdk 2.0.0 → 2.0.2

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 (3) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/index.js +9 -1
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ### 2.0.2 [patch] (MacOS+Windows) - 2025-12-17
2
+
3
+ - Fixed a crash on macOS that was triggering very often.
4
+ - Fixed a crash on windows that happened sometimes during shutdown of the sdk.
5
+ - Fix for delayed meeting end events on macOS.
6
+
7
+ ### 2.0.1 [patch] (MacOS+Windows) - 2025-12-15
8
+
9
+ - Several crash fixes across macOS + windows
10
+ - Fixed an error when shutting down the sdk
11
+ - Fixed an issue capturing google meet meetings on windows when there are multiple windows
12
+ - Fixed an issue capturing teams on windows when using virtual desktops
13
+ - Streaming upload stability fixes
14
+
1
15
  ### 2.0.0 [major] (MacOS+Windows) 2025-12-03
2
16
 
3
17
  - Captured data now is streamed to the Recall API backend rather than uploading after call
@@ -119,4 +133,4 @@
119
133
 
120
134
  ### 1.0.0 [major] (MacOS+Windows) - 2025-07-24 (deprecated)
121
135
 
122
- - Initial Changelog Entry
136
+ - 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.2",
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": "429205353a8a9a1a3f727b3c2417b1a43a3bcbe8"
24
24
  }