@openclaw/google-meet 2026.10.10 → 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-DIcW4QCh.mjs → chrome-create-BlDlV2YP.mjs} +11 -30
- package/dist/.setup/{cli-9linTFHb.mjs → cli-C-MrY7IZ.mjs} +275 -309
- package/dist/.setup/{cli-export-CaDYoSP8.mjs → cli-export-6eiywS3T.mjs} +16 -35
- package/dist/.setup/{cli-output-mode-BJSm88N9.mjs → cli-output-mode-DztqqVeZ.mjs} +5 -6
- package/dist/.setup/config-CMTw0Anh.mjs +110 -0
- package/dist/.setup/{create-D3fHR8uX.mjs → create-DMk4zbMq.mjs} +23 -9
- package/dist/.setup/{google-meet-platform-adapter-D7poqL1J.mjs → google-meet-platform-adapter-DgchqNLV.mjs} +52 -18
- package/dist/.setup/{node-host-B196lvNZ.mjs → node-host-BIZD9InM.mjs} +2 -2
- package/dist/.setup/{node-invoke-policy-BzRAe25r.mjs → node-invoke-policy-bg7p_BWB.mjs} +1 -1
- package/dist/.setup/oauth-DZkuGMs1.mjs +1 -0
- package/dist/.setup/{plugin-helpers-Buhixxsx.mjs → plugin-helpers-ChCBuyAl.mjs} +363 -69
- package/dist/.setup/{plugin-registration-B_nOxAym.mjs → plugin-registration-CAW7_zO_.mjs} +8 -8
- package/dist/.setup/{runtime-D-dwEsSW.mjs → runtime-Cyc6bv1i.mjs} +37 -38
- package/dist/.source-module-urls/c06239f68b6f4959b5d3db7e0cee004911d8eb43092f4135c729b507e37f6333.json +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/doctor-contract-api.js +25 -21
- package/dist/index.js +14 -13
- 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-Cu3zsl_3.mjs +0 -239
- package/dist/.setup/oauth-DGv28ZgA.mjs +0 -158
- 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,26 +1,7 @@
|
|
|
1
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
|
-
// extensions/google-meet/src/transports/chrome-browser-proxy.ts
|
|
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
5
|
// extensions/google-meet/src/transports/google-meet-urls.ts
|
|
25
6
|
function forceMeetEnglishUi(url) {
|
|
26
7
|
const parsed = URL.parse(url);
|
|
@@ -163,17 +144,19 @@ const CREATE_MEET_FROM_BROWSER_SCRIPT = `async () => {
|
|
|
163
144
|
};
|
|
164
145
|
}`;
|
|
165
146
|
async function createMeetWithBrowserProxyOnNode(params) {
|
|
166
|
-
const nodeId = await
|
|
147
|
+
const nodeId = await resolveMeetingBrowserNode({
|
|
167
148
|
runtime: params.runtime,
|
|
168
|
-
requestedNode: params.config.chromeNode.node
|
|
149
|
+
requestedNode: params.config.chromeNode.node,
|
|
150
|
+
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
169
151
|
});
|
|
170
152
|
const timeoutMs = Math.max(GOOGLE_MEET_BROWSER_CREATE_TIMEOUT_MS, params.config.chrome.joinTimeoutMs);
|
|
171
153
|
const stepTimeoutMs = Math.min(timeoutMs, GOOGLE_MEET_BROWSER_STEP_TIMEOUT_MS);
|
|
172
|
-
const callBrowser = (request) =>
|
|
154
|
+
const callBrowser = (request) => callMeetingBrowserProxyOnNode({
|
|
173
155
|
...request,
|
|
174
156
|
runtime: params.runtime,
|
|
175
157
|
nodeId,
|
|
176
|
-
timeoutMs: stepTimeoutMs
|
|
158
|
+
timeoutMs: stepTimeoutMs,
|
|
159
|
+
adapter: GOOGLE_MEET_BROWSER_NODE_ADAPTER
|
|
177
160
|
});
|
|
178
161
|
let openedByPlugin = false;
|
|
179
162
|
let tab = asMeetingBrowserTabs(await callBrowser({
|
|
@@ -207,10 +190,9 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
207
190
|
const targetId = tab?.targetId;
|
|
208
191
|
if (!targetId) throw new Error("Browser fallback opened Google Meet but did not return a targetId.");
|
|
209
192
|
const notes = /* @__PURE__ */ new Set();
|
|
210
|
-
let lastResult;
|
|
211
193
|
let lastError;
|
|
212
|
-
const deadline =
|
|
213
|
-
while (
|
|
194
|
+
const deadline = performance.now() + timeoutMs;
|
|
195
|
+
while (performance.now() <= deadline) try {
|
|
214
196
|
const result = readBrowserCreateResult(await callBrowser({
|
|
215
197
|
method: "POST",
|
|
216
198
|
path: "/act",
|
|
@@ -220,7 +202,6 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
220
202
|
fn: CREATE_MEET_FROM_BROWSER_SCRIPT
|
|
221
203
|
}
|
|
222
204
|
}));
|
|
223
|
-
lastResult = result;
|
|
224
205
|
for (const note of result.notes ?? []) notes.add(note);
|
|
225
206
|
if (result.meetingUri) return {
|
|
226
207
|
source: "browser",
|
|
@@ -248,6 +229,6 @@ async function createMeetWithBrowserProxyOnNode(params) {
|
|
|
248
229
|
if (!isBrowserNavigationInterruption(error)) throw error;
|
|
249
230
|
await sleep(GOOGLE_MEET_BROWSER_NAVIGATION_RETRY_MS);
|
|
250
231
|
}
|
|
251
|
-
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)}` : ""}`);
|
|
252
233
|
}
|
|
253
|
-
export { isSameMeetUrlForReuse as a,
|
|
234
|
+
export { isSameMeetUrlForReuse as a, isRecoverableMeetTab as i, forceMeetEnglishUi as n, normalizeMeetUrlForReuse as o, isEnglishMeetTab as r, readMeetAuthUser as s, createMeetWithBrowserProxyOnNode as t };
|