@openclaw/teams-meetings 2026.9.2 → 2026.9.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/dist/index.js CHANGED
@@ -58,6 +58,7 @@ const TEAMS_MEETING_SELECTORS = {
58
58
  "select[data-tid=\"microphone-select\"]"
59
59
  ],
60
60
  microphoneDeviceMenu: ["[data-tid=\"microphone-settings\"][role=\"listbox\"]"],
61
+ microphoneDeviceScope: "[data-tid=\"device-settings-microphone\"]",
61
62
  selectedMicrophoneDevice: ["option:checked", "[role=\"option\"][aria-selected=\"true\"]"],
62
63
  audioDeviceOptions: ["option", "[role=\"option\"]"],
63
64
  leave: [
@@ -271,47 +272,7 @@ function teamsMeetingStatusPreludeSource(params) {
271
272
  if (identityVerified && !inCall && join && cameraState !== "off") {
272
273
  controlManualAction = manualActionFor("teams-camera-required", "Turn the Teams camera off and verify the camera control shows it is off, then retry joining.");
273
274
  }
274
- const isVirtualAudioDevice = (value) =>
275
- /^(?:blackhole 2ch(?: \\(virtual\\))?|openclaw meeting audio)$/i.test(
276
- String(value || "").replace(/\\s+/g, " ").trim()
277
- );
278
- const isVirtualAudioDeviceNode = (node) => [
279
- node?.getAttribute?.("aria-label"),
280
- node?.getAttribute?.("title"),
281
- node?.label,
282
- node?.value,
283
- text(node),
284
- ].some(isVirtualAudioDevice);
285
- const microphoneDeviceRoots = () => {
286
- // Consumer in-call controls expose the listbox itself, without the prejoin
287
- // selected-device button/combobox wrapper.
288
- const control = firstRaw(selectors.microphoneDevice) || firstRaw(selectors.microphoneDeviceMenu);
289
- if (!control) return { control, roots: [] };
290
- const roots = [control];
291
- const scope = control.closest?.('[data-tid="device-settings-microphone"]');
292
- if (scope && !roots.includes(scope)) roots.push(scope);
293
- const listboxId = control.getAttribute?.("aria-controls");
294
- const listbox = listboxId ? document.getElementById?.(listboxId) : undefined;
295
- if (listbox && !roots.includes(listbox)) roots.push(listbox);
296
- const liveMenu = firstRaw(selectors.microphoneDeviceMenu);
297
- if (liveMenu && !roots.includes(liveMenu)) roots.push(liveMenu);
298
- return { control, roots };
299
- };
300
- const selectedMicrophoneLabel = () => {
301
- const { control, roots } = microphoneDeviceRoots();
302
- const selectedOption = control?.selectedOptions?.[0];
303
- if (selectedOption && isVirtualAudioDeviceNode(selectedOption)) {
304
- return label(selectedOption) || selectedOption.value;
305
- }
306
- if (control && isVirtualAudioDeviceNode(control)) return label(control) || control.value;
307
- for (const root of roots) {
308
- const selected = firstWithin(root, selectors.selectedMicrophoneDevice);
309
- if (selected && isVirtualAudioDeviceNode(selected)) {
310
- return label(selected) || selected.value;
311
- }
312
- }
313
- return undefined;
314
- };
275
+ const { isVirtualAudioDevice, isVirtualAudioDeviceNode, microphoneDeviceRoots, selectedMicrophoneLabel } = meetingAudioInput;
315
276
  let audioInputRouted;
316
277
  let audioInputDeviceLabel;
317
278
  let audioInputRouteError;
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "id": "teams-meetings",
3
+ "categories": ["voice", "tools"],
3
4
  "name": "Microsoft Teams meetings",
4
5
  "description": "Join Microsoft Teams meetings as a Chrome browser guest.",
5
6
  "cliCommands": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/teams-meetings",
3
- "version": "2026.9.2",
3
+ "version": "2026.9.4",
4
4
  "description": "OpenClaw Microsoft Teams 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.4"
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.4"
33
33
  },
34
34
  "build": {
35
- "openclawVersion": "2026.9.2",
35
+ "openclawVersion": "2026.9.4",
36
36
  "bundledDist": false
37
37
  },
38
38
  "release": {