@openclaw/google-meet 2026.9.6 → 2026.9.7
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/assets/icon.png +0 -0
- package/dist/.setup/{chrome-create-BZRBHJp9.mjs → chrome-create-wuAK5Pnq.mjs} +14 -19
- package/dist/.setup/{cli-CbxqjjTC.mjs → cli-DVDq0TFu.mjs} +27 -695
- package/dist/.setup/cli-export-D4IM6KLJ.mjs +632 -0
- package/dist/.setup/config-BXGAMntj.mjs +240 -0
- package/dist/.setup/{create-CG9Pgwsb.mjs → create-UrHOmnWb.mjs} +4 -17
- package/dist/.setup/{google-meet-platform-adapter-DQZ74Kd5.mjs → google-meet-platform-adapter-gosgbMIM.mjs} +337 -228
- package/dist/.setup/{google-meet-platform-constants-Bs5iAg3E.mjs → google-meet-platform-constants-CnRfrYX7.mjs} +1 -4
- package/dist/.setup/{node-host-BUrsParx.mjs → node-host-Tr7Mx3da.mjs} +3 -3
- package/dist/.setup/{node-invoke-policy-hwXq9MfV.mjs → node-invoke-policy-Dd3krTYV.mjs} +2 -2
- package/dist/.setup/{oauth-22Ey-zCb.mjs → oauth-BoyruWcS.mjs} +2 -2
- package/dist/.setup/{plugin-helpers--7X3icub.mjs → plugin-helpers-CdQ_YNA7.mjs} +147 -236
- package/dist/.setup/{plugin-registration-B3LXKV4R.mjs → plugin-registration-aCEuCerg.mjs} +34 -10
- package/dist/.setup/{runtime-BuIZ5e3V.mjs → runtime-BdiF53A2.mjs} +85 -41
- package/dist/doctor-contract-api.js +3 -6
- package/dist/index.js +48 -12
- package/node_modules/typebox/build/compile/code.mjs +1 -2
- package/node_modules/typebox/build/compile/validator.mjs +5 -1
- package/node_modules/typebox/build/format/iri.mjs +16 -9
- package/node_modules/typebox/build/guard/emit.mjs +2 -2
- package/node_modules/typebox/build/guard/guard.d.mts +7 -5
- package/node_modules/typebox/build/guard/guard.mjs +14 -9
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
- package/node_modules/typebox/build/guard/{string.mjs → unicode/unicode_segment.mjs} +16 -19
- package/node_modules/typebox/build/schema/build.mjs +2 -3
- package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
- package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
- package/node_modules/typebox/build/schema/parse.mjs +3 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
- package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
- package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
- package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
- package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
- package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
- package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +3 -1
- package/package.json +5 -5
- package/dist/.setup/config-C-6enWkx.mjs +0 -328
- package/dist/.setup/google-api-errors-BDYXfKRa.mjs +0 -17
- /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
package/assets/icon.png
CHANGED
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as GoogleMeetBrowserManualActionError, t as GOOGLE_MEET_BROWSER_NODE_ADAPTER } from "./google-meet-platform-constants-
|
|
2
|
-
import {
|
|
1
|
+
import { r as GoogleMeetBrowserManualActionError, t as GOOGLE_MEET_BROWSER_NODE_ADAPTER } from "./google-meet-platform-constants-CnRfrYX7.mjs";
|
|
2
|
+
import { asFiniteNumber, asOptionalObjectRecord, asRecord, filterStringEntries, readStringValue } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { asMeetingBrowserTabs, callMeetingBrowserProxyOnNode, readMeetingBrowserTab, resolveMeetingBrowserNode, resolveMeetingBrowserNodeInfo } from "openclaw/plugin-sdk/meeting-runtime";
|
|
4
|
+
import { sleep } from "openclaw/plugin-sdk/runtime-env";
|
|
4
5
|
//#region extensions/google-meet/src/transports/chrome-browser-proxy.ts
|
|
5
6
|
async function resolveChromeNodeInfo(params) {
|
|
6
7
|
return await resolveMeetingBrowserNodeInfo({
|
|
@@ -20,8 +21,6 @@ async function callBrowserProxyOnNode(params) {
|
|
|
20
21
|
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
|
-
const asBrowserTabs = asMeetingBrowserTabs;
|
|
24
|
-
const readBrowserTab = readMeetingBrowserTab;
|
|
25
24
|
//#endregion
|
|
26
25
|
//#region extensions/google-meet/src/transports/google-meet-urls.ts
|
|
27
26
|
function forceMeetEnglishUi(url) {
|
|
@@ -96,7 +95,7 @@ function isGoogleMeetCreateTab(tab) {
|
|
|
96
95
|
return url.startsWith("https://accounts.google.com/") && /sign in|google accounts|meet/i.test(tab.title ?? "");
|
|
97
96
|
}
|
|
98
97
|
async function findGoogleMeetCreateTab(params) {
|
|
99
|
-
return
|
|
98
|
+
return asMeetingBrowserTabs(await callBrowserProxyOnNode({
|
|
100
99
|
runtime: params.runtime,
|
|
101
100
|
nodeId: params.nodeId,
|
|
102
101
|
method: "GET",
|
|
@@ -114,27 +113,23 @@ async function focusBrowserTab(params) {
|
|
|
114
113
|
timeoutMs: params.timeoutMs
|
|
115
114
|
});
|
|
116
115
|
}
|
|
117
|
-
function readStringArray(value) {
|
|
118
|
-
return Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
|
|
119
|
-
}
|
|
120
116
|
function readBrowserManualAction(value) {
|
|
121
|
-
|
|
122
|
-
const action = value;
|
|
117
|
+
const action = asRecord(value);
|
|
123
118
|
return typeof action.reason === "string" && typeof action.message === "string" ? {
|
|
124
119
|
reason: action.reason,
|
|
125
120
|
message: action.message
|
|
126
121
|
} : void 0;
|
|
127
122
|
}
|
|
128
123
|
function readBrowserCreateResult(result) {
|
|
129
|
-
const record = result
|
|
130
|
-
const nested = record.result
|
|
124
|
+
const record = asRecord(result);
|
|
125
|
+
const nested = asOptionalObjectRecord(record.result) ?? record;
|
|
131
126
|
return {
|
|
132
|
-
meetingUri:
|
|
133
|
-
browserUrl:
|
|
134
|
-
browserTitle:
|
|
127
|
+
meetingUri: readStringValue(nested.meetingUri),
|
|
128
|
+
browserUrl: readStringValue(nested.browserUrl),
|
|
129
|
+
browserTitle: readStringValue(nested.browserTitle),
|
|
135
130
|
manualAction: readBrowserManualAction(nested.manualAction),
|
|
136
|
-
notes:
|
|
137
|
-
retryAfterMs:
|
|
131
|
+
notes: Array.isArray(nested.notes) ? filterStringEntries(nested.notes) : void 0,
|
|
132
|
+
retryAfterMs: asFiniteNumber(nested.retryAfterMs)
|
|
138
133
|
};
|
|
139
134
|
}
|
|
140
135
|
const CREATE_MEET_FROM_BROWSER_SCRIPT = `async () => {
|
|
@@ -250,7 +245,7 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
250
245
|
});
|
|
251
246
|
const reusedUrl = tab.url ?? "";
|
|
252
247
|
const englishUrl = (/^https:\/\/meet\.google\.com\/new(?:$|[/?#])/i.test(reusedUrl) || reusedUrl.startsWith("https://accounts.google.com/")) && reusedUrl ? forceMeetEnglishUi(reusedUrl) : void 0;
|
|
253
|
-
if (englishUrl && englishUrl !== reusedUrl) tab =
|
|
248
|
+
if (englishUrl && englishUrl !== reusedUrl) tab = readMeetingBrowserTab(await callBrowserProxyOnNode({
|
|
254
249
|
runtime: params.runtime,
|
|
255
250
|
nodeId,
|
|
256
251
|
method: "POST",
|
|
@@ -262,7 +257,7 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
262
257
|
timeoutMs: stepTimeoutMs
|
|
263
258
|
})) ?? tab;
|
|
264
259
|
} else {
|
|
265
|
-
tab =
|
|
260
|
+
tab = readMeetingBrowserTab(await callBrowserProxyOnNode({
|
|
266
261
|
runtime: params.runtime,
|
|
267
262
|
nodeId,
|
|
268
263
|
method: "POST",
|