@recallai/desktop-sdk 1.3.0 → 1.3.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/index.js +10 -0
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.3.1 [patch] (MacOS+Windows) - 2025-10-31
2
+
3
+ - Fixed issues running DSDK on enterprise networks, vpns, proxies, with custom certificates.
4
+ - Improved support for getting urls from various providers.
5
+ - Improved support for chromium based browsers with Google Meet.
6
+ - Teams audio fixes on Windows.
7
+ - Better debug logging for crashes.
8
+
1
9
  ### 1.3.0 [minor] (MacOS+Windows) - 2025-10-17
2
10
 
3
11
  - Initial support for Google Meet on macOS Safari
package/index.js CHANGED
@@ -69,12 +69,19 @@ let rlData;
69
69
  let rlStdout;
70
70
  let rlStderr;
71
71
  const listeners = [];
72
+ const lastErrorOut = [];
72
73
  const pendingCommands = {};
73
74
  let lastOptions;
74
75
  let remainingAutomaticRestarts = 10;
75
76
  let unexpectedShutdown = false;
76
77
  let logBuffer = [];
77
78
  let logIndex = 0;
79
+ function appendError(error) {
80
+ lastErrorOut.push(error);
81
+ if (lastErrorOut.length > 100) {
82
+ lastErrorOut.shift();
83
+ }
84
+ }
78
85
  function flushLogBuffer() {
79
86
  const buf = logBuffer.slice(); // just here for the copy
80
87
  logBuffer = [];
@@ -264,6 +271,7 @@ function startProcess() {
264
271
  rlData?.on('line', onLine);
265
272
  rlStdout.on('line', onLine);
266
273
  rlStderr.on('line', (line) => {
274
+ appendError(line);
267
275
  if (process.env.RECALLAI_DESKTOP_SDK_DEV) {
268
276
  console.error(line);
269
277
  }
@@ -296,6 +304,8 @@ function startProcess() {
296
304
  if (lastOptions.restartOnError && remainingAutomaticRestarts > 0) {
297
305
  remainingAutomaticRestarts--;
298
306
  logError(`Automatically restarting Desktop SDK due to unexpected exit! Automatic restarts left: ${remainingAutomaticRestarts}`);
307
+ logError(`Last error output from Desktop SDK:\n${lastErrorOut.join("\n")}`);
308
+ lastErrorOut.length = 0;
299
309
  doInit(lastOptions);
300
310
  }
301
311
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "1.3.0",
3
+ "version": "1.3.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": "3b3394ac612c9f13bd39bf245ddb8499a0092453"
23
+ "commit_sha": "90fec3a8509bc5c18be8f4c2d0df746eb870b525"
24
24
  }