@openclaw/google-meet 2026.9.5 → 2026.9.6
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/dist/.setup/{cli-MJjnaxoP.mjs → cli-CbxqjjTC.mjs} +2 -2
- package/dist/.setup/{create-sGWmlpgC.mjs → create-CG9Pgwsb.mjs} +1 -1
- package/dist/.setup/{node-host-BOzEP_Us.mjs → node-host-BUrsParx.mjs} +1 -4
- package/dist/.setup/{plugin-helpers-rGjL9QFK.mjs → plugin-helpers--7X3icub.mjs} +2 -2
- package/dist/.setup/{plugin-registration-CfZbUMDY.mjs → plugin-registration-B3LXKV4R.mjs} +29 -10
- package/dist/.setup/{runtime-D_C0dFI1.mjs → runtime-BuIZ5e3V.mjs} +4 -0
- package/dist/index.js +7 -2
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as resolveGoogleMeetTokenFromParams, c as buildGoogleMeetPreflightReport, d as fetchGoogleMeetSpace, f as fetchLatestGoogleMeetConferenceRecord, i as resolveArtifactQueryFromParams, l as createGoogleMeetSpace, m as listGoogleMeetCalendarEvents, n as fetchResolvedGoogleMeetAttendance, o as resolveMeetingFromParams, p as buildGoogleMeetCalendarDayWindow, s as resolveSpaceFromParams, t as fetchResolvedGoogleMeetArtifacts, u as endGoogleMeetActiveConference } from "./plugin-helpers
|
|
1
|
+
import { a as resolveGoogleMeetTokenFromParams, c as buildGoogleMeetPreflightReport, d as fetchGoogleMeetSpace, f as fetchLatestGoogleMeetConferenceRecord, i as resolveArtifactQueryFromParams, l as createGoogleMeetSpace, m as listGoogleMeetCalendarEvents, n as fetchResolvedGoogleMeetAttendance, o as resolveMeetingFromParams, p as buildGoogleMeetCalendarDayWindow, s as resolveSpaceFromParams, t as fetchResolvedGoogleMeetArtifacts, u as endGoogleMeetActiveConference } from "./plugin-helpers--7X3icub.mjs";
|
|
2
2
|
import { i as resolveGoogleMeetGatewayOperationTimeoutMs } from "./config-C-6enWkx.mjs";
|
|
3
3
|
import { buildGoogleMeetAuthUrl, exchangeGoogleMeetAuthCode, resolveGoogleMeetAccessToken, waitForGoogleMeetAuthCode } from "./oauth-22Ey-zCb.mjs";
|
|
4
|
-
import { n as hasCreateSpaceConfigInput, r as resolveCreateSpaceConfig } from "./create-
|
|
4
|
+
import { n as hasCreateSpaceConfigInput, r as resolveCreateSpaceConfig } from "./create-CG9Pgwsb.mjs";
|
|
5
5
|
import { clampTimerTimeoutMs, parseStrictNonNegativeInteger, parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
|
|
6
6
|
import { callGatewayFromCli, isGatewayClientRequestError, isGatewayTransportError } from "openclaw/plugin-sdk/gateway-runtime";
|
|
7
7
|
import { generateHexPkceVerifierChallenge } from "openclaw/plugin-sdk/provider-auth";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as __exportAll, l as createGoogleMeetSpace } from "./plugin-helpers
|
|
1
|
+
import { h as __exportAll, l as createGoogleMeetSpace } from "./plugin-helpers--7X3icub.mjs";
|
|
2
2
|
import { resolveGoogleMeetAccessToken } from "./oauth-22Ey-zCb.mjs";
|
|
3
3
|
import { t as createMeetWithBrowserProxyOnNode } from "./chrome-create-BZRBHJp9.mjs";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -13,7 +13,7 @@ function normalizeMeetKey(value) {
|
|
|
13
13
|
return value;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
const
|
|
16
|
+
const handleGoogleMeetNodeHostCommand = MeetingPlatformAdapter.createNodeHostHandler({
|
|
17
17
|
commandName: GOOGLE_MEET_NODE_COMMAND,
|
|
18
18
|
displayName: "Google Meet",
|
|
19
19
|
browserLabel: "Meet",
|
|
@@ -42,8 +42,5 @@ const googleMeetNodeHost = MeetingPlatformAdapter.createNodeHostHandler({
|
|
|
42
42
|
openedNotes: ["Browser page control is handled by OpenClaw browser automation when using chrome-node."]
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
|
-
async function handleGoogleMeetNodeHostCommand(paramsJSON) {
|
|
46
|
-
return await googleMeetNodeHost(paramsJSON);
|
|
47
|
-
}
|
|
48
45
|
//#endregion
|
|
49
46
|
export { handleGoogleMeetNodeHostCommand };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as loadGoogleMeetCliModule, p as resolveMeetingInput } from "./plugin-registration-
|
|
1
|
+
import { c as loadGoogleMeetCliModule, p as resolveMeetingInput } from "./plugin-registration-B3LXKV4R.mjs";
|
|
2
2
|
import { t as googleApiError } from "./google-api-errors-BDYXfKRa.mjs";
|
|
3
3
|
import { t as normalizeMeetUrl } from "./meet-url-BP2Jlvjs.mjs";
|
|
4
4
|
import { normalizeOptionalString, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -773,7 +773,7 @@ var plugin_helpers_exports = /* @__PURE__ */ __exportAll({
|
|
|
773
773
|
resolveMeetingFromParams: () => resolveMeetingFromParams,
|
|
774
774
|
resolveSpaceFromParams: () => resolveSpaceFromParams
|
|
775
775
|
});
|
|
776
|
-
const loadGoogleMeetCreateModule = createLazyRuntimeModule(() => import("./create-
|
|
776
|
+
const loadGoogleMeetCreateModule = createLazyRuntimeModule(() => import("./create-CG9Pgwsb.mjs").then((n) => n.t));
|
|
777
777
|
async function createMeetFromParams(params) {
|
|
778
778
|
return (await loadGoogleMeetCreateModule()).createMeetFromParams(params);
|
|
779
779
|
}
|
|
@@ -4,10 +4,10 @@ import { asNonArrayRecord as asParamRecord, normalizeOptionalString } from "open
|
|
|
4
4
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
6
6
|
//#region extensions/google-meet/src/plugin-registration.ts
|
|
7
|
-
const loadGoogleMeetPluginHelpers = createLazyRuntimeModule(() => import("./plugin-helpers
|
|
8
|
-
const loadGoogleMeetCliModule = createLazyRuntimeModule(() => import("./cli-
|
|
9
|
-
const loadGoogleMeetNodeHostModule = createLazyRuntimeModule(() => import("./node-host-
|
|
10
|
-
const loadGoogleMeetRuntimeModule = createLazyRuntimeModule(() => import("./runtime-
|
|
7
|
+
const loadGoogleMeetPluginHelpers = createLazyRuntimeModule(() => import("./plugin-helpers--7X3icub.mjs").then((n) => n.r));
|
|
8
|
+
const loadGoogleMeetCliModule = createLazyRuntimeModule(() => import("./cli-CbxqjjTC.mjs"));
|
|
9
|
+
const loadGoogleMeetNodeHostModule = createLazyRuntimeModule(() => import("./node-host-BUrsParx.mjs"));
|
|
10
|
+
const loadGoogleMeetRuntimeModule = createLazyRuntimeModule(() => import("./runtime-BuIZ5e3V.mjs"));
|
|
11
11
|
const loadGoogleMeetNodeInvokePolicyModule = createLazyRuntimeModule(() => import("./node-invoke-policy-hwXq9MfV.mjs"));
|
|
12
12
|
const loadGoogleMeetGatewayRuntimeModule = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/gateway-runtime"));
|
|
13
13
|
const loadGoogleMeetNodeInvokePolicy = async (config) => (await loadGoogleMeetNodeInvokePolicyModule()).createGoogleMeetChromeNodeInvokePolicy(config);
|
|
@@ -83,15 +83,34 @@ function keepTrustedToolAgentId(raw, client) {
|
|
|
83
83
|
} : rest;
|
|
84
84
|
}
|
|
85
85
|
function createGoogleMeetRuntimeAccessor(params) {
|
|
86
|
+
let transcriptsEnabled = params.api.config.transcripts?.enabled !== false;
|
|
87
|
+
let runtime;
|
|
86
88
|
let runtimePromise;
|
|
89
|
+
params.api.registerService({
|
|
90
|
+
id: "google-meet-transcripts",
|
|
91
|
+
reload: { configPrefixes: ["transcripts.enabled"] },
|
|
92
|
+
start: ({ config }) => {
|
|
93
|
+
transcriptsEnabled = config.transcripts?.enabled !== false;
|
|
94
|
+
return runtime?.reconcileTranscriptPolicy(transcriptsEnabled);
|
|
95
|
+
},
|
|
96
|
+
stop: () => {
|
|
97
|
+
transcriptsEnabled = false;
|
|
98
|
+
return runtime?.reconcileTranscriptPolicy(false);
|
|
99
|
+
}
|
|
100
|
+
});
|
|
87
101
|
return async () => {
|
|
88
102
|
if (!params.config.enabled) throw new Error("Google Meet plugin disabled in plugin config");
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
103
|
+
runtimePromise ??= loadGoogleMeetRuntimeModule().then(async ({ GoogleMeetRuntime: Runtime }) => {
|
|
104
|
+
runtime = new Runtime({
|
|
105
|
+
config: params.config,
|
|
106
|
+
fullConfig: params.api.config,
|
|
107
|
+
runtime: params.api.runtime,
|
|
108
|
+
logger: params.api.logger
|
|
109
|
+
});
|
|
110
|
+
await runtime.reconcileTranscriptPolicy(transcriptsEnabled);
|
|
111
|
+
return runtime;
|
|
112
|
+
});
|
|
113
|
+
return await runtimePromise;
|
|
95
114
|
};
|
|
96
115
|
}
|
|
97
116
|
function createLazyGoogleMeetNodeInvokePolicy(config, loadPolicy = loadGoogleMeetNodeInvokePolicy) {
|
|
@@ -482,6 +482,9 @@ var GoogleMeetRuntime = class {
|
|
|
482
482
|
#createdBrowserTabs;
|
|
483
483
|
#voiceCallGateway;
|
|
484
484
|
#sessions;
|
|
485
|
+
reconcileTranscriptPolicy(enabled) {
|
|
486
|
+
return this.#sessions.reconcileTranscriptPolicy(enabled);
|
|
487
|
+
}
|
|
485
488
|
constructor(params) {
|
|
486
489
|
this.params = params;
|
|
487
490
|
this.#createdBrowserTabs = /* @__PURE__ */ new Map();
|
|
@@ -561,6 +564,7 @@ var GoogleMeetRuntime = class {
|
|
|
561
564
|
speakViaTransport: async (session, instructions) => await this.#speakViaTransport(session, instructions),
|
|
562
565
|
durableTranscripts: {
|
|
563
566
|
config: params.fullConfig.transcripts,
|
|
567
|
+
openclawConfig: params.fullConfig,
|
|
564
568
|
providerId: "google-meet",
|
|
565
569
|
providerName: "Google Meet"
|
|
566
570
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as GOOGLE_MEET_CLI_DESCRIPTOR } from "./.setup/cli-output-mode-BwH_6tH8.mjs";
|
|
2
2
|
import { n as GOOGLE_MEET_NODE_COMMAND } from "./.setup/google-meet-platform-constants-Bs5iAg3E.mjs";
|
|
3
3
|
import { r as resolveGoogleMeetConfig } from "./.setup/config-C-6enWkx.mjs";
|
|
4
|
-
import { a as createLazyGoogleMeetNodeInvokePolicy, c as loadGoogleMeetCliModule, d as normalizeMode, f as normalizeTransport, h as shouldJoinCreatedMeet, i as createGoogleMeetRuntimeAccessor, l as loadGoogleMeetNodeHostModule, m as sendGoogleMeetGatewayError, n as assertGoogleMeetAgentToolActionSupported, o as formatGoogleMeetGatewayError, p as resolveMeetingInput, r as callGoogleMeetGatewayFromTool, s as keepTrustedToolAgentId, t as asParamRecord, u as loadGoogleMeetPluginHelpers } from "./.setup/plugin-registration-
|
|
4
|
+
import { a as createLazyGoogleMeetNodeInvokePolicy, c as loadGoogleMeetCliModule, d as normalizeMode, f as normalizeTransport, h as shouldJoinCreatedMeet, i as createGoogleMeetRuntimeAccessor, l as loadGoogleMeetNodeHostModule, m as sendGoogleMeetGatewayError, n as assertGoogleMeetAgentToolActionSupported, o as formatGoogleMeetGatewayError, p as resolveMeetingInput, r as callGoogleMeetGatewayFromTool, s as keepTrustedToolAgentId, t as asParamRecord, u as loadGoogleMeetPluginHelpers } from "./.setup/plugin-registration-B3LXKV4R.mjs";
|
|
5
5
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
6
6
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { jsonResult } from "openclaw/plugin-sdk/tool-results";
|
|
@@ -357,11 +357,16 @@ var google_meet_default = definePluginEntry({
|
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}), { name: "google_meet" });
|
|
360
|
+
let nodeHost;
|
|
360
361
|
api.registerNodeHostCommand({
|
|
361
362
|
command: GOOGLE_MEET_NODE_COMMAND,
|
|
362
363
|
cap: "google-meet",
|
|
363
364
|
dangerous: true,
|
|
364
|
-
|
|
365
|
+
hasActiveWork: () => nodeHost?.handleGoogleMeetNodeHostCommand.hasActiveWork() ?? false,
|
|
366
|
+
handle: async (paramsJSON) => {
|
|
367
|
+
nodeHost ??= await loadGoogleMeetNodeHostModule();
|
|
368
|
+
return await nodeHost.handleGoogleMeetNodeHostCommand(paramsJSON);
|
|
369
|
+
}
|
|
365
370
|
});
|
|
366
371
|
api.registerNodeInvokePolicy(createLazyGoogleMeetNodeInvokePolicy(config));
|
|
367
372
|
api.registerCli(async ({ program }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/google-meet",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.6",
|
|
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.3.30"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.9.
|
|
15
|
+
"openclaw": ">=2026.9.6"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"minHostVersion": ">=2026.4.20"
|
|
31
31
|
},
|
|
32
32
|
"compat": {
|
|
33
|
-
"pluginApi": ">=2026.9.
|
|
33
|
+
"pluginApi": ">=2026.9.6"
|
|
34
34
|
},
|
|
35
35
|
"build": {
|
|
36
|
-
"openclawVersion": "2026.9.
|
|
36
|
+
"openclawVersion": "2026.9.6"
|
|
37
37
|
},
|
|
38
38
|
"release": {
|
|
39
39
|
"publishToClawHub": true,
|