@openclaw/google-meet 2026.10.10-beta.5 → 2026.11.5-beta.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.
- package/assets/activity.svg +1 -1
- package/dist/.setup/{chrome-create-CW_QQzuj.mjs → chrome-create-BlDlV2YP.mjs} +14 -36
- package/dist/.setup/{cli-CBLj67Qo.mjs → cli-C-MrY7IZ.mjs} +278 -318
- package/dist/.setup/{cli-export-3ijBYTqg.mjs → cli-export-6eiywS3T.mjs} +18 -39
- package/dist/.setup/{cli-output-mode-BwH_6tH8.mjs → cli-output-mode-DztqqVeZ.mjs} +6 -8
- package/dist/.setup/config-CMTw0Anh.mjs +110 -0
- package/dist/.setup/{create-DMUmVyQg.mjs → create-DMk4zbMq.mjs} +24 -11
- package/dist/.setup/{google-api-KAOF1Wn5.mjs → google-api-B5FR9zy2.mjs} +1 -2
- package/dist/.setup/{google-meet-platform-adapter-Bz77Bdt-.mjs → google-meet-platform-adapter-DgchqNLV.mjs} +60 -32
- package/dist/.setup/{google-meet-platform-constants-CnRfrYX7.mjs → google-meet-platform-constants-C83Cdmpd.mjs} +2 -4
- package/dist/.setup/{meet-url-i_QvIxnP.mjs → meet-url-DzLdrq0Z.mjs} +1 -2
- package/dist/.setup/{node-host-BP4g4zw3.mjs → node-host-BIZD9InM.mjs} +4 -5
- package/dist/.setup/{node-invoke-policy-67WaZNPN.mjs → node-invoke-policy-bg7p_BWB.mjs} +3 -4
- package/dist/.setup/oauth-DZkuGMs1.mjs +1 -0
- package/dist/.setup/{plugin-helpers-D3VKNUTD.mjs → plugin-helpers-ChCBuyAl.mjs} +369 -81
- package/dist/.setup/{plugin-registration-1Oc4T1Bj.mjs → plugin-registration-CAW7_zO_.mjs} +10 -11
- package/dist/.setup/{runtime-2_R9PsRx.mjs → runtime-Cyc6bv1i.mjs} +44 -51
- package/dist/.source-module-urls/c06239f68b6f4959b5d3db7e0cee004911d8eb43092f4135c729b507e37f6333.json +1 -1
- package/dist/cli-metadata.js +2 -3
- package/dist/doctor-contract-api.js +26 -23
- package/dist/index.js +17 -18
- package/node_modules/typebox/build/format/duration.d.mts +2 -2
- package/node_modules/typebox/build/format/duration.mjs +2 -2
- package/node_modules/typebox/build/format/idn_email.d.mts +1 -0
- package/node_modules/typebox/build/format/idn_email.mjs +1 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +1 -1
- package/node_modules/typebox/build/format/idn_hostname.mjs +1 -1
- package/node_modules/typebox/build/format/ipv4.d.mts +2 -2
- package/node_modules/typebox/build/format/ipv4.mjs +2 -2
- package/node_modules/typebox/build/format/ipv6.d.mts +1 -1
- package/node_modules/typebox/build/format/ipv6.mjs +1 -1
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +2 -2
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +2 -2
- package/node_modules/typebox/build/schema/build.mjs +1 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +4 -2
- package/node_modules/typebox/build/schema/engine/_unique.mjs +7 -3
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +0 -3
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +15 -17
- package/node_modules/typebox/build/schema/engine/contains.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/engine/index.mjs +1 -0
- package/node_modules/typebox/build/schema/engine/items.mjs +7 -4
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/minContains.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +2 -2
- package/node_modules/typebox/build/system/hashing/hash.mjs +63 -34
- package/node_modules/typebox/build/system/locale/en_US.mjs +2 -1
- package/node_modules/typebox/build/system/memory/assign.d.mts +2 -8
- package/node_modules/typebox/build/system/memory/assign.mjs +13 -6
- package/node_modules/typebox/build/system/memory/clone.d.mts +4 -5
- package/node_modules/typebox/build/system/memory/clone.mjs +8 -96
- package/node_modules/typebox/build/system/memory/create.d.mts +1 -5
- package/node_modules/typebox/build/system/memory/create.mjs +18 -13
- package/node_modules/typebox/build/system/memory/deep.d.mts +2 -0
- package/node_modules/typebox/build/system/memory/deep.mjs +108 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +1 -1
- package/node_modules/typebox/build/system/memory/discard.mjs +9 -8
- package/node_modules/typebox/build/system/memory/finalize.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/finalize.mjs +30 -0
- package/node_modules/typebox/build/system/memory/keys.d.mts +2 -0
- package/node_modules/typebox/build/system/memory/keys.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +1 -4
- package/node_modules/typebox/build/system/memory/update.mjs +43 -16
- package/node_modules/typebox/build/type/engine/call/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/call/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +2 -24
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +2 -29
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -1
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +6 -1
- package/node_modules/typebox/build/type/engine/evaluate/property.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/evaluate/property.mjs +29 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +1 -3
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +1 -4
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +2 -2
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +2 -2
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +1 -3
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +1 -4
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +1 -3
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +1 -4
- package/node_modules/typebox/build/type/engine/this/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/this/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +4 -3
- package/node_modules/typebox/build/value/clone/clone.mjs +5 -7
- package/node_modules/typebox/build/value/repair/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +25 -14
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +1 -1
- package/package.json +5 -5
- package/dist/.setup/config-BXGAMntj.mjs +0 -240
- package/dist/.setup/oauth-pXa-YQ9H.mjs +0 -159
- package/node_modules/typebox/build/system/memory/freeze.d.mts +0 -4
- package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
package/assets/activity.svg
CHANGED
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
import { r as GoogleMeetBrowserManualActionError, t as GOOGLE_MEET_BROWSER_NODE_ADAPTER } from "./google-meet-platform-constants-
|
|
1
|
+
import { r as GoogleMeetBrowserManualActionError, t as GOOGLE_MEET_BROWSER_NODE_ADAPTER } from "./google-meet-platform-constants-C83Cdmpd.mjs";
|
|
2
2
|
import { asFiniteNumber, asOptionalObjectRecord, asRecord, filterStringEntries, readStringValue } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
|
-
import { asMeetingBrowserTabs, callMeetingBrowserProxyOnNode, readMeetingBrowserTab, resolveMeetingBrowserNode
|
|
3
|
+
import { asMeetingBrowserTabs, callMeetingBrowserProxyOnNode, readMeetingBrowserTab, resolveMeetingBrowserNode } from "openclaw/plugin-sdk/meeting-runtime";
|
|
4
4
|
import { sleep } from "openclaw/plugin-sdk/runtime-env";
|
|
5
|
-
|
|
6
|
-
async function resolveChromeNodeInfo(params) {
|
|
7
|
-
return await resolveMeetingBrowserNodeInfo({
|
|
8
|
-
...params,
|
|
9
|
-
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
async function resolveChromeNode(params) {
|
|
13
|
-
return await resolveMeetingBrowserNode({
|
|
14
|
-
...params,
|
|
15
|
-
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
async function callBrowserProxyOnNode(params) {
|
|
19
|
-
return await callMeetingBrowserProxyOnNode({
|
|
20
|
-
...params,
|
|
21
|
-
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region extensions/google-meet/src/transports/google-meet-urls.ts
|
|
5
|
+
// extensions/google-meet/src/transports/google-meet-urls.ts
|
|
26
6
|
function forceMeetEnglishUi(url) {
|
|
27
7
|
const parsed = URL.parse(url);
|
|
28
8
|
if (!parsed) return url;
|
|
@@ -53,8 +33,7 @@ function isRecoverableMeetTab(tab, url) {
|
|
|
53
33
|
if (normalizeMeetUrlForReuse(tab.url)) return true;
|
|
54
34
|
return (tab.url ?? "").startsWith("https://accounts.google.com/") && /sign in|google accounts|meet/i.test(tab.title ?? "");
|
|
55
35
|
}
|
|
56
|
-
|
|
57
|
-
//#region extensions/google-meet/src/transports/chrome-create.ts
|
|
36
|
+
// extensions/google-meet/src/transports/chrome-create.ts
|
|
58
37
|
const GOOGLE_MEET_NEW_URL = "https://meet.google.com/new";
|
|
59
38
|
const GOOGLE_MEET_BROWSER_CREATE_TIMEOUT_MS = 6e4;
|
|
60
39
|
const GOOGLE_MEET_BROWSER_STEP_TIMEOUT_MS = 1e4;
|
|
@@ -165,17 +144,19 @@ const CREATE_MEET_FROM_BROWSER_SCRIPT = `async () => {
|
|
|
165
144
|
};
|
|
166
145
|
}`;
|
|
167
146
|
async function createMeetWithBrowserProxyOnNode(params) {
|
|
168
|
-
const nodeId = await
|
|
147
|
+
const nodeId = await resolveMeetingBrowserNode({
|
|
169
148
|
runtime: params.runtime,
|
|
170
|
-
requestedNode: params.config.chromeNode.node
|
|
149
|
+
requestedNode: params.config.chromeNode.node,
|
|
150
|
+
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
171
151
|
});
|
|
172
152
|
const timeoutMs = Math.max(GOOGLE_MEET_BROWSER_CREATE_TIMEOUT_MS, params.config.chrome.joinTimeoutMs);
|
|
173
153
|
const stepTimeoutMs = Math.min(timeoutMs, GOOGLE_MEET_BROWSER_STEP_TIMEOUT_MS);
|
|
174
|
-
const callBrowser = (request) =>
|
|
154
|
+
const callBrowser = (request) => callMeetingBrowserProxyOnNode({
|
|
175
155
|
...request,
|
|
176
156
|
runtime: params.runtime,
|
|
177
157
|
nodeId,
|
|
178
|
-
timeoutMs: stepTimeoutMs
|
|
158
|
+
timeoutMs: stepTimeoutMs,
|
|
159
|
+
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
179
160
|
});
|
|
180
161
|
let openedByPlugin = false;
|
|
181
162
|
let tab = asMeetingBrowserTabs(await callBrowser({
|
|
@@ -209,10 +190,9 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
209
190
|
const targetId = tab?.targetId;
|
|
210
191
|
if (!targetId) throw new Error("Browser fallback opened Google Meet but did not return a targetId.");
|
|
211
192
|
const notes = /* @__PURE__ */ new Set();
|
|
212
|
-
let lastResult;
|
|
213
193
|
let lastError;
|
|
214
|
-
const deadline =
|
|
215
|
-
while (
|
|
194
|
+
const deadline = performance.now() + timeoutMs;
|
|
195
|
+
while (performance.now() <= deadline) try {
|
|
216
196
|
const result = readBrowserCreateResult(await callBrowser({
|
|
217
197
|
method: "POST",
|
|
218
198
|
path: "/act",
|
|
@@ -222,7 +202,6 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
222
202
|
fn: CREATE_MEET_FROM_BROWSER_SCRIPT
|
|
223
203
|
}
|
|
224
204
|
}));
|
|
225
|
-
lastResult = result;
|
|
226
205
|
for (const note of result.notes ?? []) notes.add(note);
|
|
227
206
|
if (result.meetingUri) return {
|
|
228
207
|
source: "browser",
|
|
@@ -250,7 +229,6 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
250
229
|
if (!isBrowserNavigationInterruption(error)) throw error;
|
|
251
230
|
await sleep(GOOGLE_MEET_BROWSER_NAVIGATION_RETRY_MS);
|
|
252
231
|
}
|
|
253
|
-
throw new Error(
|
|
232
|
+
throw new Error(`Google Meet did not return a meeting URL from the browser create flow before timeout.${lastError ? ` Last browser automation error: ${formatBrowserAutomationError(lastError)}` : ""}`);
|
|
254
233
|
}
|
|
255
|
-
|
|
256
|
-
export { isSameMeetUrlForReuse as a, callBrowserProxyOnNode as c, isRecoverableMeetTab as i, resolveChromeNode as l, forceMeetEnglishUi as n, normalizeMeetUrlForReuse as o, isEnglishMeetTab as r, readMeetAuthUser as s, createMeetWithBrowserProxyOnNode as t, resolveChromeNodeInfo as u };
|
|
234
|
+
export { isSameMeetUrlForReuse as a, isRecoverableMeetTab as i, forceMeetEnglishUi as n, normalizeMeetUrlForReuse as o, isEnglishMeetTab as r, readMeetAuthUser as s, createMeetWithBrowserProxyOnNode as t };
|