@recallai/desktop-sdk 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
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
+
9
+ ### 1.3.0 [minor] (MacOS+Windows) - 2025-10-17
10
+
11
+ - Initial support for Google Meet on macOS Safari
12
+ - Fixed more issues with missing participants on Windows
13
+ - Fixed active speaker detection on teams for Windows
14
+ - Fixed missing audio on teams for Windows
15
+ - Added enhanced crash detection and reporting for macOS
16
+ - Fixed some audio issues on macOS
17
+ - Fixed issue getting meet urls on multiple profile installs
18
+ - Support more languages for Zoom and Google Meet on macOS
19
+ - Support google meet titles on Windows
20
+
1
21
  ### 1.2.0 [minor] (MacOS+Windows) - 2025-09-26
2
22
 
3
23
  - Initial support for Google Meet on Windows
package/index.d.ts CHANGED
@@ -113,6 +113,7 @@ export declare function resumeRecording({ windowId }: ResumeRecordingConfig): Pr
113
113
  export declare function uploadRecording({ windowId }: UploadRecordingConfig): Promise<null>;
114
114
  export declare function prepareDesktopAudioRecording(): Promise<string>;
115
115
  export declare function requestPermission(permission: Permission): Promise<null>;
116
+ export declare function testUnexpectedShutdown(): Promise<null>;
116
117
  export declare function addEventListener<T extends keyof EventTypeToPayloadMap>(type: T, callback: (event: EventTypeToPayloadMap[T]) => void): void;
117
118
  declare const RecallAiSdk: {
118
119
  init: typeof init;
@@ -125,5 +126,6 @@ declare const RecallAiSdk: {
125
126
  prepareDesktopAudioRecording: typeof prepareDesktopAudioRecording;
126
127
  requestPermission: typeof requestPermission;
127
128
  addEventListener: typeof addEventListener;
129
+ testUnexpectedShutdown: typeof testUnexpectedShutdown;
128
130
  };
129
131
  export default RecallAiSdk;
package/index.js CHANGED
@@ -43,6 +43,7 @@ exports.resumeRecording = resumeRecording;
43
43
  exports.uploadRecording = uploadRecording;
44
44
  exports.prepareDesktopAudioRecording = prepareDesktopAudioRecording;
45
45
  exports.requestPermission = requestPermission;
46
+ exports.testUnexpectedShutdown = testUnexpectedShutdown;
46
47
  exports.addEventListener = addEventListener;
47
48
  const path = __importStar(require("path"));
48
49
  const child_process_1 = require("child_process");
@@ -68,12 +69,19 @@ let rlData;
68
69
  let rlStdout;
69
70
  let rlStderr;
70
71
  const listeners = [];
72
+ const lastErrorOut = [];
71
73
  const pendingCommands = {};
72
74
  let lastOptions;
73
75
  let remainingAutomaticRestarts = 10;
74
76
  let unexpectedShutdown = false;
75
77
  let logBuffer = [];
76
78
  let logIndex = 0;
79
+ function appendError(error) {
80
+ lastErrorOut.push(error);
81
+ if (lastErrorOut.length > 100) {
82
+ lastErrorOut.shift();
83
+ }
84
+ }
77
85
  function flushLogBuffer() {
78
86
  const buf = logBuffer.slice(); // just here for the copy
79
87
  logBuffer = [];
@@ -263,6 +271,7 @@ function startProcess() {
263
271
  rlData?.on('line', onLine);
264
272
  rlStdout.on('line', onLine);
265
273
  rlStderr.on('line', (line) => {
274
+ appendError(line);
266
275
  if (process.env.RECALLAI_DESKTOP_SDK_DEV) {
267
276
  console.error(line);
268
277
  }
@@ -295,6 +304,8 @@ function startProcess() {
295
304
  if (lastOptions.restartOnError && remainingAutomaticRestarts > 0) {
296
305
  remainingAutomaticRestarts--;
297
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;
298
309
  doInit(lastOptions);
299
310
  }
300
311
  });
@@ -380,6 +391,9 @@ function prepareDesktopAudioRecording() {
380
391
  function requestPermission(permission) {
381
392
  return sendCommand("requestPermission", { permission });
382
393
  }
394
+ function testUnexpectedShutdown() {
395
+ return sendCommand("unexpectedShutdown", {});
396
+ }
383
397
  function addEventListener(type, callback) {
384
398
  listeners.push({ type, callback });
385
399
  }
@@ -394,5 +408,6 @@ const RecallAiSdk = {
394
408
  prepareDesktopAudioRecording,
395
409
  requestPermission,
396
410
  addEventListener,
411
+ testUnexpectedShutdown
397
412
  };
398
413
  exports.default = RecallAiSdk;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "1.2.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": "f1c3fbbb113f8f5a51d801dd9fe240b371125539"
23
+ "commit_sha": "90fec3a8509bc5c18be8f4c2d0df746eb870b525"
24
24
  }