@openclaw/teams-meetings 2026.9.1-beta.1 → 2026.9.2

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,6 +1,6 @@
1
1
  /**
2
2
  * Returns true if the value is a json pointer
3
- * @specification
4
- * @source ajv-formats
3
+ * @specification https://datatracker.ietf.org/doc/html/rfc6901
4
+ * @source https://github.com/ajv-validator/ajv-formats
5
5
  */
6
6
  export declare function IsJsonPointer(value: string): boolean;
@@ -1,8 +1,8 @@
1
1
  const JsonPointer = /^(?:\/(?:[^~/]|~0|~1)*)*$/;
2
2
  /**
3
3
  * Returns true if the value is a json pointer
4
- * @specification
5
- * @source ajv-formats
4
+ * @specification https://datatracker.ietf.org/doc/html/rfc6901
5
+ * @source https://github.com/ajv-validator/ajv-formats
6
6
  */
7
7
  export function IsJsonPointer(value) {
8
8
  return JsonPointer.test(value);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Returns true if the value is a json pointer uri fragment
3
- * @specification
4
- * @source ajv-formats
3
+ * @specification https://datatracker.ietf.org/doc/html/rfc6901
4
+ * @source https://github.com/ajv-validator/ajv-formats
5
5
  */
6
6
  export declare function IsJsonPointerUriFragment(value: string): boolean;
@@ -1,8 +1,8 @@
1
1
  const JsonPointerUriFragment = /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;
2
2
  /**
3
3
  * Returns true if the value is a json pointer uri fragment
4
- * @specification
5
- * @source ajv-formats
4
+ * @specification https://datatracker.ietf.org/doc/html/rfc6901
5
+ * @source https://github.com/ajv-validator/ajv-formats
6
6
  */
7
7
  export function IsJsonPointerUriFragment(value) {
8
8
  return JsonPointerUriFragment.test(value);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Returns true if the value is a relative json pointer
3
- * @specification
4
- * @source ajv-formats
3
+ * @specification https://datatracker.ietf.org/doc/html/rfc6901
4
+ * @source https://github.com/ajv-validator/ajv-formats
5
5
  */
6
6
  export declare function IsRelativeJsonPointer(value: string): boolean;
@@ -1,8 +1,8 @@
1
1
  const RelativeJsonPointer = /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;
2
2
  /**
3
3
  * Returns true if the value is a relative json pointer
4
- * @specification
5
- * @source ajv-formats
4
+ * @specification https://datatracker.ietf.org/doc/html/rfc6901
5
+ * @source https://github.com/ajv-validator/ajv-formats
6
6
  */
7
7
  export function IsRelativeJsonPointer(value) {
8
8
  return RelativeJsonPointer.test(value);
@@ -1,11 +1,12 @@
1
1
  // deno-lint-ignore-file ban-types no-explicit-any
2
2
  // deno-fmt-ignore-file
3
3
  import { Metrics } from './metrics.mjs';
4
+ import { Freeze } from './freeze.mjs';
4
5
  /**
5
6
  * Performs an Object assign using the Left and Right object types. We track this operation as it
6
7
  * creates a new GC handle per assignment.
7
8
  */
8
9
  export function Assign(left, right) {
9
10
  Metrics.assign += 1;
10
- return { ...left, ...right };
11
+ return Freeze({ ...left, ...right });
11
12
  }
@@ -1,7 +1,7 @@
1
1
  // deno-lint-ignore-file no-explicit-any
2
- // deno-fmt-ignore-file
3
2
  import { Settings } from '../settings/index.mjs';
4
3
  import { Metrics } from './metrics.mjs';
4
+ import { Freeze } from './freeze.mjs';
5
5
  function MergeHidden(left, right) {
6
6
  for (const key of Object.keys(right)) {
7
7
  Object.defineProperty(left, key, {
@@ -23,8 +23,7 @@ function Merge(left, right) {
23
23
  */
24
24
  export function Create(hidden, enumerable, options = {}) {
25
25
  Metrics.create += 1;
26
- const settings = Settings.Get();
27
26
  const withOptions = Merge(enumerable, options);
28
- const withHidden = settings.enumerableKind ? Merge(withOptions, hidden) : MergeHidden(withOptions, hidden);
29
- return settings.immutableTypes ? Object.freeze(withHidden) : withHidden;
27
+ const withHidden = Settings.Get().enumerableKind ? Merge(withOptions, hidden) : MergeHidden(withOptions, hidden);
28
+ return Freeze(withHidden);
30
29
  }
@@ -1,7 +1,7 @@
1
1
  // deno-lint-ignore-file no-explicit-any
2
- // deno-fmt-ignore-file
3
2
  import { Guard } from '../../guard/index.mjs';
4
3
  import { Metrics } from './metrics.mjs';
4
+ import { Freeze } from './freeze.mjs';
5
5
  import { Clone } from './clone.mjs';
6
6
  /** Discards multiple property keys from the given object value */
7
7
  export function Discard(value, propertyKeys) {
@@ -14,5 +14,5 @@ export function Discard(value, propertyKeys) {
14
14
  descriptor.value = Clone(descriptor.value);
15
15
  Object.defineProperty(result, key, descriptor);
16
16
  }
17
- return result;
17
+ return Freeze(result);
18
18
  }
@@ -0,0 +1,4 @@
1
+ type ObjectLike = Record<PropertyKey, any>;
2
+ /** Conditionally freezes the value if `immutableTypes` is true, otherwise no action. */
3
+ export declare function Freeze(value: ObjectLike): ObjectLike;
4
+ export {};
@@ -0,0 +1,6 @@
1
+ // deno-lint-ignore-file no-explicit-any
2
+ import { Settings } from '../settings/index.mjs';
3
+ /** Conditionally freezes the value if `immutableTypes` is true, otherwise no action. */
4
+ export function Freeze(value) {
5
+ return Settings.Get().immutableTypes ? Object.freeze(value) : value;
6
+ }
@@ -1,6 +1,7 @@
1
- // deno-fmt-ignore-file
1
+ // deno-lint-ignore-file no-explicit-any
2
2
  import { Settings } from '../settings/index.mjs';
3
3
  import { Metrics } from './metrics.mjs';
4
+ import { Freeze } from './freeze.mjs';
4
5
  import { Clone } from './clone.mjs';
5
6
  /**
6
7
  * Updates a value with new properties while preserving property enumerability. Use this function to modify
@@ -28,5 +29,5 @@ export function Update(current, hidden, enumerable) {
28
29
  value: enumerable[key]
29
30
  });
30
31
  }
31
- return result;
32
+ return Freeze(result);
32
33
  }
@@ -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.18",
5
5
  "keywords": [
6
6
  "typescript",
7
7
  "jsonschema"
@@ -9,7 +9,6 @@
9
9
  "hasSubcommands": true
10
10
  }
11
11
  ],
12
- "icon": "https://res.cdn.office.net/files/fabric-cdn-prod_20230815.001/assets/brand-icons/product/svg/teams_48x1.svg",
13
12
  "enabledByDefault": true,
14
13
  "commandAliases": [{ "name": "teamsmeetings" }],
15
14
  "activation": {
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.2",
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.18"
12
12
  },
13
13
  "peerDependencies": {
14
- "openclaw": ">=2026.9.1-beta.1"
14
+ "openclaw": ">=2026.9.2"
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.2"
33
33
  },
34
34
  "build": {
35
- "openclawVersion": "2026.9.1-beta.1",
35
+ "openclawVersion": "2026.9.2",
36
36
  "bundledDist": false
37
37
  },
38
38
  "release": {