@recallai/desktop-sdk 2.0.3 → 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,22 @@
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
+
1
20
  ### 2.0.3 [patch] (MacOS+Windows) - 2026-01-07
2
21
 
3
22
  - Significantly reduce energy consumption on Chromium and Safari browsers on macOS.
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)) {
@@ -371,8 +393,10 @@ async function init(options) {
371
393
  if (options.restartOnError === undefined) {
372
394
  options.restartOnError = true;
373
395
  }
374
- lastOptions = options;
375
- await doInit(options);
396
+ const version = getPackageVersion();
397
+ const initConfig = version ? { ...options, sdkVersion: version } : { ...options };
398
+ lastOptions = initConfig;
399
+ await doInit(initConfig);
376
400
  return null;
377
401
  }
378
402
  async function shutdown() {
@@ -390,6 +414,9 @@ async function shutdown() {
390
414
  function dumpAXTree(procName) {
391
415
  return sendCommand("dumpAXTree", { procName });
392
416
  }
417
+ function dumpAllApplications() {
418
+ return sendCommand("dumpAllApplications", {});
419
+ }
393
420
  function startRecording(config) {
394
421
  return sendCommand("startRecording", { config: JSON.stringify(config) });
395
422
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "2.0.3",
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": "7026b82189689fa287e0d0474eae292d72a31eea"
23
+ "commit_sha": "7d31bac9f4995140465dbef18e8d85d6dc9f8a14"
24
24
  }
package/dummy.node DELETED
File without changes