@recallai/desktop-sdk 2.0.2 → 2.0.4

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,32 @@
1
+ ### 2.0.4 [patch] (MacOS+Windows) - 2026-01-29
2
+
3
+ - Teams detection, diarization improvements on windows.
4
+ - Fix freeze requesting full disk access permission on macOS.
5
+ - Fix issue switching audio devices on windows for meeting capture.
6
+ - Fixes to phantom participants on Google Meet on both macOS/windows.
7
+ - Support Microsoft Edge browser for Google Meet on windows.
8
+ - Emulate all permission statuses on windows by default.
9
+ - Support meeting title scraping for Zoom on windows.
10
+ - Fixed an issue capturing video on macOS.
11
+ - Fixed an issue with short meetings not uploading properly.
12
+ - Improved energy consumption for Zoom on MacOS.
13
+ - Improved energy consumption for chrome and chromium users with multiple open windows on MacOS.
14
+ - Fix unexpected chrome title change on MacOS.
15
+ - Improve audio post-processing energy consumption on MacOS.
16
+ - Improve audio post-processing quality on MacOS.
17
+ - Fix GMeet compliance messaging for tabs with "Meet" in the title on MacOS.
18
+ - Improve logging and telemetry on MacOS.
19
+
20
+ ### 2.0.3 [patch] (MacOS+Windows) - 2026-01-07
21
+
22
+ - Significantly reduce energy consumption on Chromium and Safari browsers on macOS.
23
+ - Fix meeting-detection issues on Arc, Brave, Comet, and Dia on macOS.
24
+ - Support using Chrome with different session in multiple windows on macOS.
25
+ - Fix memory growth issue in hardware with excessive memory on macOS.
26
+ - Fixed issue with speaker labels on macOS at beginning of call.
27
+ - Fixed issue with PNGs on windows.
28
+ - Fixed an issue with invalid participant names on macOS/Windows.
29
+
1
30
  ### 2.0.2 [patch] (MacOS+Windows) - 2025-12-17
2
31
 
3
32
  - Fixed a crash on macOS that was triggering very often.
package/index.d.ts CHANGED
@@ -114,6 +114,7 @@ export interface LogEvent {
114
114
  export declare function init(options: RecallAiSdkConfig): Promise<null>;
115
115
  export declare function shutdown(): Promise<null>;
116
116
  export declare function dumpAXTree(procName: string): Promise<any>;
117
+ export declare function dumpAllApplications(): Promise<any>;
117
118
  export declare function startRecording(config: StartRecordingConfig): Promise<null>;
118
119
  export declare function stopRecording({ windowId }: StopRecordingConfig): Promise<null>;
119
120
  export declare function pauseRecording({ windowId }: PauseRecordingConfig): Promise<null>;
package/index.js CHANGED
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.init = init;
37
37
  exports.shutdown = shutdown;
38
38
  exports.dumpAXTree = dumpAXTree;
39
+ exports.dumpAllApplications = dumpAllApplications;
39
40
  exports.startRecording = startRecording;
40
41
  exports.stopRecording = stopRecording;
41
42
  exports.pauseRecording = pauseRecording;
@@ -77,6 +78,23 @@ let unexpectedShutdown = false;
77
78
  let exiting = false;
78
79
  let logBuffer = [];
79
80
  let logIndex = 0;
81
+ let packageVersion;
82
+ function getPackageVersion() {
83
+ if (packageVersion !== undefined) {
84
+ return packageVersion;
85
+ }
86
+ try {
87
+ const packagePath = path.join(__dirname, "package.json");
88
+ const packageJson = JSON.parse(fs.readFileSync(packagePath, "utf8"));
89
+ if (typeof packageJson.version === "string") {
90
+ packageVersion = packageJson.version;
91
+ }
92
+ }
93
+ catch {
94
+ packageVersion = undefined;
95
+ }
96
+ return packageVersion;
97
+ }
80
98
  process.on("exit", () => {
81
99
  exiting = true;
82
100
  if (proc && !proc.killed) {
@@ -220,7 +238,11 @@ function startProcess() {
220
238
  catch { }
221
239
  }
222
240
  if (!envExtra["EXE_NAME"]) {
223
- envExtra["EXE_NAME"] = path.basename(process.execPath);
241
+ envExtra["EXE_NAME"] = path.parse(process.execPath).name;
242
+ }
243
+ let sdk_version = getPackageVersion();
244
+ if (sdk_version) {
245
+ envExtra["SDK_VERSION"] = sdk_version;
224
246
  }
225
247
  const gst_dump_dir = process.env.RECALLAI_DESKTOP_SDK_DEV ? path.join(os.tmpdir(), "gst.nocommit") : os.tmpdir();
226
248
  if (!fs.existsSync(gst_dump_dir)) {
@@ -240,6 +262,8 @@ function startProcess() {
240
262
  // "DYLD_INSERT_LIBRARIES":"/opt/homebrew/lib/libjemalloc.dylib",
241
263
  // "MALLOC_CONF":"prof:true,prof_active:true,prof_prefix:jeprof",
242
264
  // "DYLD_FORCE_FLAT_NAMESPACE":"1",
265
+ // MallocStackLogging: "1",
266
+ // MallocStackLoggingNoCompact: "1",
243
267
  ...envExtra,
244
268
  }
245
269
  });
@@ -369,8 +393,10 @@ async function init(options) {
369
393
  if (options.restartOnError === undefined) {
370
394
  options.restartOnError = true;
371
395
  }
372
- lastOptions = options;
373
- await doInit(options);
396
+ const version = getPackageVersion();
397
+ const initConfig = version ? { ...options, sdkVersion: version } : { ...options };
398
+ lastOptions = initConfig;
399
+ await doInit(initConfig);
374
400
  return null;
375
401
  }
376
402
  async function shutdown() {
@@ -388,6 +414,9 @@ async function shutdown() {
388
414
  function dumpAXTree(procName) {
389
415
  return sendCommand("dumpAXTree", { procName });
390
416
  }
417
+ function dumpAllApplications() {
418
+ return sendCommand("dumpAllApplications", {});
419
+ }
391
420
  function startRecording(config) {
392
421
  return sendCommand("startRecording", { config: JSON.stringify(config) });
393
422
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
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": "429205353a8a9a1a3f727b3c2417b1a43a3bcbe8"
23
+ "commit_sha": "7d31bac9f4995140465dbef18e8d85d6dc9f8a14"
24
24
  }
package/dummy.node DELETED
File without changes