@openclaw/teams-meetings 2026.9.1-beta.1 → 2026.9.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.
@@ -1,10 +1,2 @@
1
- import { MeetingPlatformAdapter } from "openclaw/plugin-sdk/meeting-runtime";
2
- //#region extensions/teams-meetings/src/cli-output-mode.ts
3
- const TEAMS_MEETINGS_CLI_METADATA = MeetingPlatformAdapter.createCliMetadata({
4
- commandName: "teamsmeetings",
5
- description: "Join and manage Microsoft Teams meeting guests",
6
- id: "teams-meetings",
7
- name: "Microsoft Teams meetings"
8
- });
9
- //#endregion
1
+ import { t as TEAMS_MEETINGS_CLI_METADATA } from "./cli-output-mode-DfEjC8Y8.js";
10
2
  export { TEAMS_MEETINGS_CLI_METADATA as default };
@@ -0,0 +1,19 @@
1
+ import { getRootOptionAwareCommandPath } from "openclaw/plugin-sdk/cli-argv";
2
+ //#region extensions/teams-meetings/src/cli-output-mode.ts
3
+ const descriptor = {
4
+ name: "teamsmeetings",
5
+ description: "Join and manage Microsoft Teams meeting guests",
6
+ hasSubcommands: true,
7
+ machineOutput: ({ argv }) => getRootOptionAwareCommandPath(argv, 2).length === 2
8
+ };
9
+ const TEAMS_MEETINGS_CLI_METADATA = {
10
+ id: "teams-meetings",
11
+ name: "Microsoft Teams meetings",
12
+ description: "Microsoft Teams meetings CLI metadata",
13
+ descriptor,
14
+ register(api) {
15
+ api.registerCli(() => {}, { descriptors: [descriptor] });
16
+ }
17
+ };
18
+ //#endregion
19
+ export { TEAMS_MEETINGS_CLI_METADATA as t };
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { t as TEAMS_MEETINGS_CLI_METADATA } from "./cli-output-mode-DfEjC8Y8.js";
1
2
  import { t as teamsMeetingsConfig } from "./config-BIqv-97D.js";
2
3
  import { MeetingPlatformAdapter } from "openclaw/plugin-sdk/meeting-runtime";
3
4
  import { normalizeAgentId } from "openclaw/plugin-sdk/routing";
@@ -651,8 +652,9 @@ function teamsMeetingStatusScript(params) {
651
652
  }) + teamsMeetingStatusCallSource();
652
653
  }
653
654
  function teamsMeetingTranscriptScript(meetingUrl, meetingSessionId, finalize) {
655
+ const expectedIdentity = normalizeTeamsMeetingUrlForReuse(meetingUrl);
654
656
  return createMeetingTranscriptSource({
655
- expectedIdentity: normalizeTeamsMeetingUrlForReuse(meetingUrl),
657
+ expectedIdentity,
656
658
  finalize,
657
659
  globals: {
658
660
  captionArchive: "__openclawTeamsCaptionArchive",
@@ -666,6 +668,7 @@ function teamsMeetingTranscriptScript(meetingUrl, meetingSessionId, finalize) {
666
668
  }
667
669
  function teamsMeetingLeaveScript(params) {
668
670
  const selectors = JSON.stringify(TEAMS_MEETING_SELECTORS);
671
+ const expectedIdentity = normalizeTeamsMeetingUrlForReuse(params.meetingUrl);
669
672
  return createMeetingLeaveSource({
670
673
  controlSource: `const first = (list) => {
671
674
  for (const selector of list) {
@@ -680,7 +683,7 @@ function teamsMeetingLeaveScript(params) {
680
683
  const postCall = first(selectors.postCall);
681
684
  const currentUrlMatches = Boolean(expectedIdentity && currentIdentity === expectedIdentity);`,
682
685
  departedMarkerSource: "postCall",
683
- expectedIdentity: normalizeTeamsMeetingUrlForReuse(params.meetingUrl),
686
+ expectedIdentity,
684
687
  leaveInitiated: params.leaveInitiated,
685
688
  meetingSessionId: params.meetingSessionId,
686
689
  pageIdentitySource: pageIdentityFunctionSource(),
@@ -829,7 +832,7 @@ const probes = MeetingPlatformAdapter.createRuntimeProbes({
829
832
  defaultSpeechMessage: "Say exactly: Microsoft Teams speech test complete.",
830
833
  invalidRequest: teamsMeetingsInvalidRequest,
831
834
  resolveTimeoutMs: (input, fallback) => MeetingPlatformAdapter.resolveProbeTimeoutMs(input, fallback, teamsMeetingsInvalidRequest),
832
- shouldWaitForListening: (session) => Boolean(session.chrome?.launched),
835
+ shouldWaitForListening: ({ chrome }) => Boolean(chrome?.launched || chrome?.browserTab?.targetId),
833
836
  talkBackMode: MeetingPlatformAdapter.isTalkBackMode
834
837
  });
835
838
  const testTeamsMeetingListening = probes.testListening;
@@ -964,7 +967,10 @@ var teams_meetings_default = MeetingPlatformAdapter.createPluginShellEntry({
964
967
  nodeHandler: handleTeamsMeetingsNodeHostCommand,
965
968
  createNodePolicy: createTeamsMeetingsNodeInvokePolicy,
966
969
  registerNodeWhen: () => true,
967
- cli: { load: async () => (await import("./cli-D3dhbuKV.js")).registerTeamsMeetingsCli }
970
+ cli: {
971
+ descriptor: TEAMS_MEETINGS_CLI_METADATA.descriptor,
972
+ load: async () => (await import("./cli-D3dhbuKV.js")).registerTeamsMeetingsCli
973
+ }
968
974
  });
969
975
  //#endregion
970
976
  export { teams_meetings_default as default };
@@ -1,4 +1,4 @@
1
- const Email = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[^"\\]|\\.)*")@(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*|\[(?:IPv6:[a-f0-9:]+|(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})\])$/i;
1
+ const Email = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[^"\\]|\\[\x20-\x7e])*")@(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*|\[(?:IPv6:[a-f0-9:]+|(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})\])$/i;
2
2
  /**
3
3
  * Returns true if the value is an Email
4
4
  * @specification https://datatracker.ietf.org/doc/html/rfc5322
@@ -1,6 +1,9 @@
1
1
  import * as FormatBidi from './format/bidi.mjs';
2
2
  import * as LabelUnicode from './label/unicode.mjs';
3
3
  import * as LabelPuny from './label/puny.mjs';
4
+ // ------------------------------------------------------------------
5
+ // IsLabel
6
+ // ------------------------------------------------------------------
4
7
  function IsValidLabelLength(value) {
5
8
  return value.length > 0 && value.length <= 63;
6
9
  }
@@ -8,9 +11,24 @@ function IsLabel(value) {
8
11
  return IsValidLabelLength(value) && (LabelPuny.IsPunyLabel(value) ||
9
12
  LabelUnicode.IsUnicodeLabel(value));
10
13
  }
14
+ // ------------------------------------------------------------------
15
+ // NormalizeHostname
16
+ //
17
+ // Normalizes a hostname for label validation. Normalizes for NFC
18
+ // such that equivalent codepoint sequences can be uniformly
19
+ // compared. It also removes codepoints that IDNA mapping ignores,
20
+ // and converts full stop variants to ASCII '.' so the hostname can
21
+ // be split into labels.
22
+ // ------------------------------------------------------------------
11
23
  function NormalizeHostname(value) {
12
- return value.normalize('NFC').replace(/[\u002E\u3002\uFF0E\uFF61]/g, '.');
24
+ return value
25
+ .normalize('NFC')
26
+ .replace(/[\u00ad\u034f\u180b-\u180d\u200b\ufe00-\ufe0f\u{e0100}-\u{e01ef}]/gu, '') // RE_IGNORED_MAPPING
27
+ .replace(/[\u002E\u3002\uFF0E\uFF61]/g, '.'); // RE_FULL_STOP_MAPPING
13
28
  }
29
+ // ------------------------------------------------------------------
30
+ // IsIdnHostname
31
+ // ------------------------------------------------------------------
14
32
  export function IsIdnHostname(value) {
15
33
  if (value.length === 0 || value.includes(' '))
16
34
  return false;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typebox",
3
3
  "description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
4
- "version": "1.3.16",
4
+ "version": "1.3.17",
5
5
  "keywords": [
6
6
  "typescript",
7
7
  "jsonschema"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/teams-meetings",
3
- "version": "2026.9.1-beta.1",
3
+ "version": "2026.9.1",
4
4
  "description": "OpenClaw Microsoft Teams browser meeting participant plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "typebox": "1.3.16"
11
+ "typebox": "1.3.17"
12
12
  },
13
13
  "peerDependencies": {
14
- "openclaw": ">=2026.9.1-beta.1"
14
+ "openclaw": ">=2026.9.1"
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.1-beta.1"
32
+ "pluginApi": ">=2026.9.1"
33
33
  },
34
34
  "build": {
35
- "openclawVersion": "2026.9.1-beta.1",
35
+ "openclawVersion": "2026.9.1",
36
36
  "bundledDist": false
37
37
  },
38
38
  "release": {