@openclaw/google-meet 2026.5.28-beta.1 → 2026.5.28-beta.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.
|
@@ -8,6 +8,7 @@ import path from "node:path";
|
|
|
8
8
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
9
9
|
import { createInterface } from "node:readline/promises";
|
|
10
10
|
import { format } from "node:util";
|
|
11
|
+
import { parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
|
|
11
12
|
//#region extensions/google-meet/src/cli.ts
|
|
12
13
|
const GOOGLE_MEET_GATEWAY_DEFAULT_TIMEOUT_MS = 5e3;
|
|
13
14
|
const PLAIN_DECIMAL_NUMBER_RE = /^\d+(?:\.\d+)?$/;
|
|
@@ -64,6 +65,12 @@ function parsePositiveNumber(value, label) {
|
|
|
64
65
|
if (!Number.isFinite(parsed) || parsed <= 0) throw new Error(`${label} must be a positive number`);
|
|
65
66
|
return parsed;
|
|
66
67
|
}
|
|
68
|
+
function parsePositiveIntegerOption(value, label) {
|
|
69
|
+
if (value === void 0) return;
|
|
70
|
+
const parsed = parseStrictPositiveInteger(value);
|
|
71
|
+
if (parsed === void 0) throw new Error(`${label} must be a positive integer`);
|
|
72
|
+
return parsed;
|
|
73
|
+
}
|
|
67
74
|
async function callGoogleMeetGateway(params) {
|
|
68
75
|
try {
|
|
69
76
|
const timeoutMs = typeof params.timeoutMs === "number" && Number.isFinite(params.timeoutMs) ? Math.max(1, Math.ceil(params.timeoutMs)) : GOOGLE_MEET_GATEWAY_DEFAULT_TIMEOUT_MS;
|
|
@@ -369,7 +376,7 @@ function resolveArtifactTokenOptions(config, options) {
|
|
|
369
376
|
refreshToken: options.refreshToken?.trim() || config.oauth.refreshToken,
|
|
370
377
|
accessToken: options.accessToken?.trim() || config.oauth.accessToken,
|
|
371
378
|
expiresAt: parseOptionalNumber(options.expiresAt) ?? config.oauth.expiresAt,
|
|
372
|
-
pageSize:
|
|
379
|
+
pageSize: parsePositiveIntegerOption(options.pageSize, "page-size"),
|
|
373
380
|
includeTranscriptEntries: options.transcriptEntries !== false,
|
|
374
381
|
allConferenceRecords: Boolean(options.allConferenceRecords),
|
|
375
382
|
includeDocumentBodies: Boolean(options.includeDocBodies),
|
|
@@ -850,7 +857,7 @@ function registerGoogleMeetCli(params) {
|
|
|
850
857
|
code: await waitForGoogleMeetAuthCode({
|
|
851
858
|
state,
|
|
852
859
|
manual: Boolean(options.manual),
|
|
853
|
-
timeoutMs: (
|
|
860
|
+
timeoutMs: (parsePositiveNumber(options.timeoutSec, "timeout-sec") ?? 300) * 1e3,
|
|
854
861
|
authUrl,
|
|
855
862
|
promptInput,
|
|
856
863
|
writeLine: (message) => writeStdoutLine("%s", message)
|
package/dist/index.js
CHANGED
|
@@ -4543,7 +4543,7 @@ async function exportGoogleMeetBundleFromParams(config, raw) {
|
|
|
4543
4543
|
lateAfterMinutes: resolved.lateAfterMinutes,
|
|
4544
4544
|
earlyBeforeMinutes: resolved.earlyBeforeMinutes
|
|
4545
4545
|
})]);
|
|
4546
|
-
const { buildGoogleMeetExportManifest, googleMeetExportFileNames, writeMeetExportBundle } = await import("./cli-
|
|
4546
|
+
const { buildGoogleMeetExportManifest, googleMeetExportFileNames, writeMeetExportBundle } = await import("./cli-Bnu0qPW-.js");
|
|
4547
4547
|
const calendarId = normalizeOptionalString(raw.calendarId);
|
|
4548
4548
|
const request = {
|
|
4549
4549
|
...resolved.meeting ? { meeting: resolved.meeting } : {},
|
|
@@ -4959,7 +4959,7 @@ var google_meet_default = definePluginEntry({
|
|
|
4959
4959
|
handle: handleGoogleMeetNodeHostCommand
|
|
4960
4960
|
});
|
|
4961
4961
|
api.registerCli(async ({ program }) => {
|
|
4962
|
-
const { registerGoogleMeetCli } = await import("./cli-
|
|
4962
|
+
const { registerGoogleMeetCli } = await import("./cli-Bnu0qPW-.js");
|
|
4963
4963
|
registerGoogleMeetCli({
|
|
4964
4964
|
program,
|
|
4965
4965
|
config,
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/google-meet",
|
|
3
|
-
"version": "2026.5.28-beta.
|
|
3
|
+
"version": "2026.5.28-beta.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/google-meet",
|
|
9
|
-
"version": "2026.5.28-beta.
|
|
9
|
+
"version": "2026.5.28-beta.2",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"commander": "14.0.3",
|
|
12
12
|
"typebox": "1.1.38"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.5.28-beta.
|
|
15
|
+
"openclaw": ">=2026.5.28-beta.2"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/google-meet",
|
|
3
|
-
"version": "2026.5.28-beta.
|
|
3
|
+
"version": "2026.5.28-beta.2",
|
|
4
4
|
"description": "OpenClaw Google Meet participant plugin for joining calls through Chrome or Twilio transports.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typebox": "1.1.38"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.5.28-beta.
|
|
15
|
+
"openclaw": ">=2026.5.28-beta.2"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"minHostVersion": ">=2026.4.20"
|
|
30
30
|
},
|
|
31
31
|
"compat": {
|
|
32
|
-
"pluginApi": ">=2026.5.28-beta.
|
|
32
|
+
"pluginApi": ">=2026.5.28-beta.2"
|
|
33
33
|
},
|
|
34
34
|
"build": {
|
|
35
|
-
"openclawVersion": "2026.5.28-beta.
|
|
35
|
+
"openclawVersion": "2026.5.28-beta.2"
|
|
36
36
|
},
|
|
37
37
|
"release": {
|
|
38
38
|
"publishToClawHub": true,
|