@openclaw/googlechat 2026.5.31-beta.2 → 2026.5.31-beta.3
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/{actions-CZqDyDax.js → actions-DikQk2En.js} +1 -1
- package/dist/api.js +1 -1
- package/dist/{channel-DJdo8yPb.js → channel-3RUhOMCV.js} +5 -5
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-BeYlQtHv.js → channel.runtime-C_5B-wr5.js} +1 -1
- package/npm-shrinkwrap.json +3 -3
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveGoogleChatAccount, o as listEnabledGoogleChatAccounts } from "./channel-base-DpPD0ef1.js";
|
|
2
2
|
import { P as getGoogleChatRuntime } from "./runtime-api-BbVoWRxq.js";
|
|
3
3
|
import { c as sendGoogleChatMessage, o as listGoogleChatReactions, r as deleteGoogleChatReaction, t as createGoogleChatReaction, u as uploadGoogleChatAttachment } from "./api-DxtI9OoY.js";
|
|
4
|
-
import { n as resolveGoogleChatOutboundSpace } from "./channel-
|
|
4
|
+
import { n as resolveGoogleChatOutboundSpace } from "./channel-3RUhOMCV.js";
|
|
5
5
|
import { extractToolSend } from "openclaw/plugin-sdk/tool-send";
|
|
6
6
|
import { createActionGate, jsonResult, readPositiveIntegerParam, readReactionParams, readStringParam } from "openclaw/plugin-sdk/channel-actions";
|
|
7
7
|
import { loadOutboundMediaFromUrl } from "openclaw/plugin-sdk/outbound-media";
|
package/dist/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as googlechatSetupAdapter, i as googlechatSetupWizard } from "./channel-base-DpPD0ef1.js";
|
|
2
|
-
import { t as googlechatPlugin } from "./channel-
|
|
2
|
+
import { t as googlechatPlugin } from "./channel-3RUhOMCV.js";
|
|
3
3
|
export { googlechatPlugin, googlechatSetupAdapter, googlechatSetupWizard };
|
|
@@ -89,7 +89,7 @@ function resolveGoogleChatGroupRequireMention(params) {
|
|
|
89
89
|
}
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region extensions/googlechat/src/channel.adapters.ts
|
|
92
|
-
const loadGoogleChatChannelRuntime$2 = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
92
|
+
const loadGoogleChatChannelRuntime$2 = createLazyRuntimeNamedExport(() => import("./channel.runtime-C_5B-wr5.js"), "googleChatChannelRuntime");
|
|
93
93
|
function createGoogleChatSendReceipt(params) {
|
|
94
94
|
const messageId = params.messageId?.trim();
|
|
95
95
|
return createMessageReceiptFromOutboundResults({
|
|
@@ -252,7 +252,7 @@ const googlechatOutboundAdapter = {
|
|
|
252
252
|
const thread = typeof threadId === "number" ? String(threadId) : threadId ?? replyToId ?? void 0;
|
|
253
253
|
const effectiveMaxBytes = resolveChannelMediaMaxBytes({
|
|
254
254
|
cfg,
|
|
255
|
-
resolveChannelLimitMb: ({ cfg, accountId }) => (
|
|
255
|
+
resolveChannelLimitMb: ({ cfg: cfgLocal, accountId: accountIdLocal }) => (cfgLocal.channels?.googlechat)?.accounts?.[accountIdLocal]?.mediaMaxMb ?? (cfgLocal.channels?.googlechat)?.mediaMaxMb,
|
|
256
256
|
accountId
|
|
257
257
|
}) ?? (account.config.mediaMaxMb ?? 20) * 1024 * 1024;
|
|
258
258
|
const loaded = /^https?:\/\//i.test(mediaUrl) ? await readRemoteMediaBuffer({
|
|
@@ -346,7 +346,7 @@ const collectGoogleChatMutableAllowlistWarnings = createDangerousNameMatchingMut
|
|
|
346
346
|
});
|
|
347
347
|
//#endregion
|
|
348
348
|
//#region extensions/googlechat/src/gateway.ts
|
|
349
|
-
const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
349
|
+
const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-C_5B-wr5.js"), "googleChatChannelRuntime");
|
|
350
350
|
async function startGoogleChatGatewayAccount(ctx) {
|
|
351
351
|
const account = ctx.account;
|
|
352
352
|
const statusSink = createAccountStatusSink({
|
|
@@ -386,7 +386,7 @@ async function startGoogleChatGatewayAccount(ctx) {
|
|
|
386
386
|
}
|
|
387
387
|
//#endregion
|
|
388
388
|
//#region extensions/googlechat/src/channel.ts
|
|
389
|
-
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
389
|
+
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-C_5B-wr5.js"), "googleChatChannelRuntime");
|
|
390
390
|
const googlechatActions = {
|
|
391
391
|
describeMessageTool: ({ cfg, accountId }) => {
|
|
392
392
|
const accounts = accountId ? [resolveGoogleChatAccount({
|
|
@@ -406,7 +406,7 @@ const googlechatActions = {
|
|
|
406
406
|
},
|
|
407
407
|
extractToolSend: ({ args }) => extractToolSend(args, "sendMessage"),
|
|
408
408
|
handleAction: async (ctx) => {
|
|
409
|
-
const { googlechatMessageActions } = await import("./actions-
|
|
409
|
+
const { googlechatMessageActions } = await import("./actions-DikQk2En.js");
|
|
410
410
|
if (!googlechatMessageActions.handleAction) throw new Error("Google Chat actions are not available.");
|
|
411
411
|
return await googlechatMessageActions.handleAction(ctx);
|
|
412
412
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as googlechatPlugin } from "./channel-
|
|
1
|
+
import { t as googlechatPlugin } from "./channel-3RUhOMCV.js";
|
|
2
2
|
export { googlechatPlugin };
|
|
@@ -744,7 +744,7 @@ async function processMessageWithPipeline(params) {
|
|
|
744
744
|
senderEmail,
|
|
745
745
|
rawBody,
|
|
746
746
|
statusSink,
|
|
747
|
-
logVerbose: (
|
|
747
|
+
logVerbose: (messageLocal) => logVerbose(core, runtime, messageLocal)
|
|
748
748
|
});
|
|
749
749
|
if (!access.ok) return;
|
|
750
750
|
const { commandAuthorized, effectiveWasMentioned, groupBotLoopProtection, groupSystemPrompt } = access;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/googlechat",
|
|
3
|
-
"version": "2026.5.31-beta.
|
|
3
|
+
"version": "2026.5.31-beta.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/googlechat",
|
|
9
|
-
"version": "2026.5.31-beta.
|
|
9
|
+
"version": "2026.5.31-beta.3",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"gaxios": "7.1.4",
|
|
12
12
|
"google-auth-library": "10.6.2",
|
|
13
13
|
"zod": "4.4.3"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"openclaw": ">=2026.5.31-beta.
|
|
16
|
+
"openclaw": ">=2026.5.31-beta.3"
|
|
17
17
|
},
|
|
18
18
|
"peerDependenciesMeta": {
|
|
19
19
|
"openclaw": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/googlechat",
|
|
3
|
-
"version": "2026.5.31-beta.
|
|
3
|
+
"version": "2026.5.31-beta.3",
|
|
4
4
|
"description": "OpenClaw Google Chat channel plugin for spaces and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"zod": "4.4.3"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"openclaw": ">=2026.5.31-beta.
|
|
16
|
+
"openclaw": ">=2026.5.31-beta.3"
|
|
17
17
|
},
|
|
18
18
|
"peerDependenciesMeta": {
|
|
19
19
|
"openclaw": {
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"minHostVersion": ">=2026.4.10"
|
|
72
72
|
},
|
|
73
73
|
"compat": {
|
|
74
|
-
"pluginApi": ">=2026.5.31-beta.
|
|
74
|
+
"pluginApi": ">=2026.5.31-beta.3"
|
|
75
75
|
},
|
|
76
76
|
"build": {
|
|
77
|
-
"openclawVersion": "2026.5.31-beta.
|
|
77
|
+
"openclawVersion": "2026.5.31-beta.3"
|
|
78
78
|
},
|
|
79
79
|
"release": {
|
|
80
80
|
"publishToClawHub": true,
|