@openclaw/zoom-meetings 2026.9.2 → 2026.9.3

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 (2) hide show
  1. package/dist/index.js +2 -41
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -22,6 +22,7 @@ const ZOOM_MEETING_SELECTORS = {
22
22
  "[role=\"listbox\"]",
23
23
  "[role=\"menu\"]"
24
24
  ],
25
+ microphoneDeviceScope: "[data-tid=\"device-settings-microphone\"]",
25
26
  selectedMicrophoneDevice: [
26
27
  "a[role=\"button\"][aria-label^=\"Select a microphone\" i][aria-label$=\"selected\" i]",
27
28
  "option:checked",
@@ -352,47 +353,7 @@ function zoomMeetingStatusPreludeSource(params) {
352
353
  ) {
353
354
  controlManualAction = manualActionFor("zoom-camera-required", inCall ? "Turn the Zoom camera off and verify the in-call camera control shows it is off." : "Turn the Zoom camera off and verify the camera control shows it is off, then retry joining.");
354
355
  }
355
- const isVirtualAudioDevice = (value) =>
356
- /^(?:blackhole 2ch(?: \\(virtual\\))?|openclaw meeting audio)$/i.test(
357
- String(value || "").replace(/\\s+/g, " ").trim()
358
- );
359
- const isVirtualAudioDeviceNode = (node) => [
360
- node?.getAttribute?.("aria-label"),
361
- node?.getAttribute?.("title"),
362
- node?.label,
363
- node?.value,
364
- text(node),
365
- ].some(isVirtualAudioDevice);
366
- const microphoneDeviceRoots = () => {
367
- // Consumer in-call controls expose the listbox itself, without the prejoin
368
- // selected-device button/combobox wrapper.
369
- const control = firstRaw(selectors.microphoneDevice) || firstRaw(selectors.microphoneDeviceMenu);
370
- if (!control) return { control, roots: [] };
371
- const roots = [control];
372
- const scope = control.closest?.('[data-tid="device-settings-microphone"]');
373
- if (scope && !roots.includes(scope)) roots.push(scope);
374
- const listboxId = control.getAttribute?.("aria-controls");
375
- const listbox = listboxId ? document.getElementById?.(listboxId) : undefined;
376
- if (listbox && !roots.includes(listbox)) roots.push(listbox);
377
- const liveMenu = firstRaw(selectors.microphoneDeviceMenu);
378
- if (liveMenu && !roots.includes(liveMenu)) roots.push(liveMenu);
379
- return { control, roots };
380
- };
381
- const selectedMicrophoneLabel = () => {
382
- const { control, roots } = microphoneDeviceRoots();
383
- const selectedOption = control?.selectedOptions?.[0];
384
- if (selectedOption && isVirtualAudioDeviceNode(selectedOption)) {
385
- return label(selectedOption) || selectedOption.value;
386
- }
387
- if (control && isVirtualAudioDeviceNode(control)) return label(control) || control.value;
388
- for (const root of roots) {
389
- const selected = firstWithin(root, selectors.selectedMicrophoneDevice);
390
- if (selected && isVirtualAudioDeviceNode(selected)) {
391
- return label(selected) || selected.value;
392
- }
393
- }
394
- return undefined;
395
- };
356
+ const { isVirtualAudioDevice, isVirtualAudioDeviceNode, microphoneDeviceRoots, selectedMicrophoneLabel } = meetingAudioInput;
396
357
  let audioInputRouted;
397
358
  let audioInputDeviceLabel;
398
359
  let audioInputRouteError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/zoom-meetings",
3
- "version": "2026.9.2",
3
+ "version": "2026.9.3",
4
4
  "description": "OpenClaw Zoom browser meeting participant plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "typebox": "1.3.18"
12
12
  },
13
13
  "peerDependencies": {
14
- "openclaw": ">=2026.9.2"
14
+ "openclaw": ">=2026.9.3"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "openclaw": {
@@ -29,10 +29,10 @@
29
29
  "minHostVersion": ">=2026.7.2"
30
30
  },
31
31
  "compat": {
32
- "pluginApi": ">=2026.9.2"
32
+ "pluginApi": ">=2026.9.3"
33
33
  },
34
34
  "build": {
35
- "openclawVersion": "2026.9.2",
35
+ "openclawVersion": "2026.9.3",
36
36
  "bundledDist": false
37
37
  },
38
38
  "release": {