@openclaw/googlechat 2026.10.10-beta.5 → 2026.10.33
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/{actions-CSE3qGrO.mjs → actions-CTuBGHVR.mjs} +13 -11
- package/dist/.setup/{approval-auth-DH1sJm7S.mjs → approval-auth-Dd-6ne22.mjs} +1 -1
- package/dist/.setup/{approval-handler.runtime-Bx0dTqDd.mjs → approval-handler.runtime-ZJkCErV1.mjs} +2 -2
- package/dist/.setup/{channel-BBRTocXs.mjs → channel-p2FLMhYl.mjs} +6 -6
- package/dist/.setup/{channel.adapters--OFb3A2Y.mjs → channel.adapters-CLzwB-5-.mjs} +25 -3
- package/dist/.setup/{channel.runtime-uaSH6k2d.mjs → channel.runtime-Dlp4xvi9.mjs} +13 -7
- package/dist/.setup/secret-contract-api-Dx8QYxoR.mjs +3 -0
- package/dist/.setup/setup-plugin-api-yGEtLeXV.mjs +3 -0
- package/dist/api.js +1 -1
- package/dist/channel-plugin-api.js +2 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/doctor-contract-api.js +2 -1
- package/dist/runtime-api.js +2 -1
- package/dist/secret-contract-api.js +2 -1
- package/dist/setup-entry.js +2 -2
- package/dist/setup-plugin-api.js +2 -1
- package/package.json +4 -4
- package/dist/.setup/secret-contract-api-BG_8yVjr.mjs +0 -2
- package/dist/.setup/setup-plugin-api-CFDZH0Qp.mjs +0 -2
- package/dist/.source-module-urls/974ffefea973cf3ea18e1534d25b091bcf1b68760a2b9eda0cd9bd9392096c64.json +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as resolveGoogleChatAccount } from "./channel-base-sWlG7EP1.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as sendGoogleChatMessage, d as formatGoogleChatMediaText, v as resolveGoogleChatOutboundSpace } from "./channel.adapters-CLzwB-5-.mjs";
|
|
3
3
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { jsonResult, readStringArrayParam, readStringParam } from "openclaw/plugin-sdk/channel-actions";
|
|
5
5
|
//#region extensions/googlechat/src/actions.ts
|
|
@@ -11,14 +11,20 @@ const OUTBOUND_MEDIA_KEYS = [
|
|
|
11
11
|
"fileUrl"
|
|
12
12
|
];
|
|
13
13
|
const STRUCTURED_ATTACHMENT_MEDIA_KEYS = [...OUTBOUND_MEDIA_KEYS, "url"];
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
function readGoogleChatMediaUrls(params) {
|
|
15
|
+
return [
|
|
16
|
+
...OUTBOUND_MEDIA_KEYS.map((key) => readStringParam(params, key)),
|
|
17
|
+
...readStringArrayParam(params, "mediaUrls") ?? [],
|
|
18
|
+
...(Array.isArray(params.attachments) ? params.attachments : []).flatMap((attachment) => isRecord(attachment) ? STRUCTURED_ATTACHMENT_MEDIA_KEYS.map((key) => readStringParam(attachment, key)) : [])
|
|
19
|
+
].filter((value) => value !== void 0);
|
|
19
20
|
}
|
|
20
21
|
async function handleGoogleChatAction({ action, params, cfg, accountId, assertDirectAdapterHandoff, onPlatformSendDispatch }) {
|
|
21
|
-
if (action === "upload-file"
|
|
22
|
+
if (action === "upload-file") throw new Error("Google Chat outbound attachments require user OAuth and are not supported by this service-account channel.");
|
|
23
|
+
const mediaUrls = action === "send" ? readGoogleChatMediaUrls(params) : [];
|
|
24
|
+
const content = action === "send" ? formatGoogleChatMediaText(readStringParam(params, "message", {
|
|
25
|
+
required: mediaUrls.length === 0,
|
|
26
|
+
allowEmpty: true
|
|
27
|
+
}), mediaUrls) : "";
|
|
22
28
|
const account = resolveGoogleChatAccount({
|
|
23
29
|
cfg,
|
|
24
30
|
accountId
|
|
@@ -26,10 +32,6 @@ async function handleGoogleChatAction({ action, params, cfg, accountId, assertDi
|
|
|
26
32
|
if (account.credentialSource === "none" || account.tokenStatus === "configured_unavailable") throw new Error("Google Chat credentials are missing.");
|
|
27
33
|
if (action === "send") {
|
|
28
34
|
const to = readStringParam(params, "to", { required: true });
|
|
29
|
-
const content = readStringParam(params, "message", {
|
|
30
|
-
required: true,
|
|
31
|
-
allowEmpty: true
|
|
32
|
-
});
|
|
33
35
|
const threadId = readStringParam(params, "threadId") ?? readStringParam(params, "replyTo");
|
|
34
36
|
const space = await resolveGoogleChatOutboundSpace({
|
|
35
37
|
account,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as resolveGoogleChatAccount } from "./channel-base-sWlG7EP1.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { g as normalizeGoogleChatTarget, h as isGoogleChatUserTarget } from "./channel.adapters-CLzwB-5-.mjs";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { createChannelApprovalAuth } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
5
5
|
//#region extensions/googlechat/src/approval-auth.ts
|
package/dist/.setup/{approval-handler.runtime-Bx0dTqDd.mjs → approval-handler.runtime-ZJkCErV1.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as resolveGoogleChatAccount } from "./channel-base-sWlG7EP1.mjs";
|
|
2
|
-
import { A as
|
|
3
|
-
import { n as isGoogleChatNativeApprovalClientEnabled, r as shouldHandleGoogleChatNativeApprovalRequest } from "./channel-
|
|
2
|
+
import { A as registerGoogleChatApprovalCardBinding, C as sendGoogleChatMessage, D as buildGoogleChatApprovalActionParameters, E as GOOGLECHAT_APPROVAL_ACTION, M as unregisterGoogleChatManualApprovalFollowupSuppression, O as googleChatApprovalControls, j as registerGoogleChatManualApprovalFollowupSuppression, v as resolveGoogleChatOutboundSpace, w as updateGoogleChatMessage } from "./channel.adapters-CLzwB-5-.mjs";
|
|
3
|
+
import { n as isGoogleChatNativeApprovalClientEnabled, r as shouldHandleGoogleChatNativeApprovalRequest } from "./channel-p2FLMhYl.mjs";
|
|
4
4
|
import { n as escapeGoogleChatApprovalCardText, t as buildGoogleChatApprovalTextWidget } from "./approval-card-text-BKg_4mXq.mjs";
|
|
5
5
|
import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
6
6
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BzoaiFSD.mjs";
|
|
2
2
|
import { n as buildChannelConfigSchema, t as GoogleChatConfigSchema } from "./config-api-CsD0IFxF.mjs";
|
|
3
3
|
import { c as resolveDefaultGoogleChatAccountId, l as resolveGoogleChatAccount, o as inspectGoogleChatAccount, r as googlechatSetupPlugin, s as listGoogleChatAccountIds, t as GOOGLECHAT_CHANNEL_ID } from "./channel-base-sWlG7EP1.mjs";
|
|
4
|
-
import { a as googlechatPairingTextAdapter, g as
|
|
5
|
-
import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-
|
|
4
|
+
import { _ as resolveGoogleChatOutboundSessionRoute, a as googlechatPairingTextAdapter, g as normalizeGoogleChatTarget, h as isGoogleChatUserTarget, i as googlechatOutboundAdapter, m as isGoogleChatSpaceTarget, n as googlechatGroupsAdapter, o as googlechatSecurityAdapter, r as googlechatMessageAdapter, s as googlechatThreadingAdapter, t as googlechatDirectoryAdapter } from "./channel.adapters-CLzwB-5-.mjs";
|
|
5
|
+
import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-Dd-6ne22.mjs";
|
|
6
6
|
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-D7KjX374.mjs";
|
|
7
7
|
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
|
|
8
8
|
import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
@@ -132,7 +132,7 @@ const googleChatApprovalCapability = createApproverRestrictedNativeApprovalCapab
|
|
|
132
132
|
],
|
|
133
133
|
isConfigured: isGoogleChatNativeApprovalClientEnabled,
|
|
134
134
|
shouldHandle: shouldHandleGoogleChatNativeApprovalRequest,
|
|
135
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
135
|
+
load: async () => (await import("./approval-handler.runtime-ZJkCErV1.mjs")).googleChatApprovalNativeRuntime
|
|
136
136
|
})
|
|
137
137
|
});
|
|
138
138
|
//#endregion
|
|
@@ -156,7 +156,7 @@ const collectGoogleChatMutableAllowlistWarnings = createDangerousNameMatchingMut
|
|
|
156
156
|
});
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region extensions/googlechat/src/gateway.ts
|
|
159
|
-
const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
159
|
+
const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-Dlp4xvi9.mjs"), "googleChatChannelRuntime");
|
|
160
160
|
const UNRESOLVED_WEBHOOK_URL_ERROR = "Invalid webhookUrl: expected an absolute URL such as https://chat.example.com/googlechat. No inbound webhook route was registered.";
|
|
161
161
|
async function startGoogleChatGatewayAccount(ctx) {
|
|
162
162
|
const account = ctx.account;
|
|
@@ -226,11 +226,11 @@ const googlechatMessageActions = {
|
|
|
226
226
|
describeMessageTool: describeGoogleChatMessageTool,
|
|
227
227
|
supportsAction: ({ action }) => action === "send",
|
|
228
228
|
extractToolSend: ({ args }) => extractToolSend(args, "sendMessage"),
|
|
229
|
-
handleAction: async (ctx) => (await import("./actions-
|
|
229
|
+
handleAction: async (ctx) => (await import("./actions-CTuBGHVR.mjs")).handleGoogleChatAction(ctx)
|
|
230
230
|
};
|
|
231
231
|
//#endregion
|
|
232
232
|
//#region extensions/googlechat/src/channel.ts
|
|
233
|
-
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
233
|
+
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-Dlp4xvi9.mjs"), "googleChatChannelRuntime");
|
|
234
234
|
const googlechatPlugin = createChatChannelPlugin({
|
|
235
235
|
base: {
|
|
236
236
|
...googlechatSetupPlugin,
|
|
@@ -20,6 +20,7 @@ import { createMessageReceiptFromOutboundResults, defineChannelMessageAdapter, s
|
|
|
20
20
|
import { buildChannelGroupsScopeTree, createAllowlistProviderOpenWarningCollector, createConditionalWarningCollector, resolveScopeRequireMention } from "openclaw/plugin-sdk/channel-policy";
|
|
21
21
|
import { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status";
|
|
22
22
|
import { createChannelDirectoryAdapter, listResolvedDirectoryGroupEntriesFromMapKeys, listResolvedDirectoryUserEntriesFromAllowFrom } from "openclaw/plugin-sdk/directory-runtime";
|
|
23
|
+
import { formatTextWithAttachmentLinks, resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
|
|
23
24
|
import { FormatCapabilityProfile, markdownToIR, renderMarkdownIRChunksWithinLimit, renderMarkdownWithMarkers, sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
|
|
24
25
|
//#region extensions/googlechat/src/approval-card-actions.ts
|
|
25
26
|
const GOOGLECHAT_APPROVAL_ACTION = "openclaw.approval";
|
|
@@ -806,6 +807,18 @@ function createGoogleChatMarkers(text) {
|
|
|
806
807
|
function sanitizeGoogleChatText(text) {
|
|
807
808
|
return sanitizeForPlainText(sanitizeAssistantVisibleText(text), { style: "markdown" });
|
|
808
809
|
}
|
|
810
|
+
function formatGoogleChatMediaText(text, mediaUrls) {
|
|
811
|
+
const remoteUrls = mediaUrls.filter((value) => {
|
|
812
|
+
if (value.split("").some((character) => character <= " " || character === "") || !/^https?:\/\//iu.test(value)) return false;
|
|
813
|
+
try {
|
|
814
|
+
return Boolean(new URL(value).hostname);
|
|
815
|
+
} catch {
|
|
816
|
+
return false;
|
|
817
|
+
}
|
|
818
|
+
});
|
|
819
|
+
if (remoteUrls.length !== mediaUrls.length) throw new Error("Google Chat outbound attachments require remote HTTP(S) URLs.");
|
|
820
|
+
return [text, formatTextWithAttachmentLinks(void 0, remoteUrls)].filter(Boolean).join("\n\n");
|
|
821
|
+
}
|
|
809
822
|
function projectDecodedGoogleChatResources(ir) {
|
|
810
823
|
const text = ir.text.replace(/<(?:users|customEmojis)\/[^<>\s]+>/giu, (match) => `<${match.slice(1, -1)}>`);
|
|
811
824
|
return text === ir.text ? ir : {
|
|
@@ -1071,7 +1084,7 @@ const googleChatIngressIdentity = defineStableChannelIngressIdentity({
|
|
|
1071
1084
|
});
|
|
1072
1085
|
//#endregion
|
|
1073
1086
|
//#region extensions/googlechat/src/channel.adapters.ts
|
|
1074
|
-
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
1087
|
+
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-Dlp4xvi9.mjs"), "googleChatChannelRuntime");
|
|
1075
1088
|
const collectGoogleChatGroupPolicyWarnings = createAllowlistProviderOpenWarningCollector({
|
|
1076
1089
|
providerConfigPresent: (cfg) => cfg.channels?.googlechat !== void 0,
|
|
1077
1090
|
resolveGroupPolicy: (account) => account.config.groupPolicy,
|
|
@@ -1164,7 +1177,15 @@ const googlechatOutboundAdapter = {
|
|
|
1164
1177
|
chunkerMode: "markdown",
|
|
1165
1178
|
textChunkLimit: GOOGLE_CHAT_FORMAT_PROFILE.chunk.limit,
|
|
1166
1179
|
sanitizeText: ({ text }) => sanitizeGoogleChatText(text),
|
|
1167
|
-
normalizePayload: ({ payload }) =>
|
|
1180
|
+
normalizePayload: ({ payload }) => {
|
|
1181
|
+
if (shouldSuppressGoogleChatManualExecApprovalFollowupPayload(payload)) return null;
|
|
1182
|
+
const reply = resolveSendableOutboundReplyParts(payload);
|
|
1183
|
+
const { mediaUrl: _mediaUrl, mediaUrls: _mediaUrls, ...rest } = payload;
|
|
1184
|
+
return {
|
|
1185
|
+
...rest,
|
|
1186
|
+
text: formatGoogleChatMediaText(reply.text, reply.mediaUrls)
|
|
1187
|
+
};
|
|
1188
|
+
},
|
|
1168
1189
|
resolveTarget: ({ to }) => {
|
|
1169
1190
|
const normalized = normalizeGoogleChatTarget(to);
|
|
1170
1191
|
return normalized ? {
|
|
@@ -1221,10 +1242,11 @@ const googlechatMessageAdapter = defineChannelMessageAdapter({
|
|
|
1221
1242
|
id: "googlechat",
|
|
1222
1243
|
durableFinal: { capabilities: {
|
|
1223
1244
|
text: true,
|
|
1245
|
+
media: true,
|
|
1224
1246
|
thread: true,
|
|
1225
1247
|
messageSendingHooks: true
|
|
1226
1248
|
} },
|
|
1227
1249
|
send: { text: googlechatOutboundAdapter.attachedResults.sendText }
|
|
1228
1250
|
});
|
|
1229
1251
|
//#endregion
|
|
1230
|
-
export {
|
|
1252
|
+
export { registerGoogleChatApprovalCardBinding as A, sendGoogleChatMessage as C, buildGoogleChatApprovalActionParameters as D, GOOGLECHAT_APPROVAL_ACTION as E, unregisterGoogleChatManualApprovalFollowupSuppression as M, googleChatApprovalControls as O, probeGoogleChat as S, verifyGoogleChatRequest as T, resolveGoogleChatOutboundSessionRoute as _, googlechatPairingTextAdapter as a, deleteGoogleChatMessage as b, googleChatIngressIdentity as c, formatGoogleChatMediaText as d, formatGoogleChatTextChunks as f, normalizeGoogleChatTarget as g, isGoogleChatUserTarget as h, googlechatOutboundAdapter as i, registerGoogleChatManualApprovalFollowupSuppression as j, readGoogleChatApprovalActionToken as k, normalizeGoogleChatUserId as l, isGoogleChatSpaceTarget as m, googlechatGroupsAdapter as n, googlechatSecurityAdapter as o, isGoogleChatGroupSpace as p, googlechatMessageAdapter as r, googlechatThreadingAdapter as s, googlechatDirectoryAdapter as t, buildGoogleChatGroupPolicyScope as u, resolveGoogleChatOutboundSpace as v, updateGoogleChatMessage as w, downloadGoogleChatMedia as x, GoogleChatApiError as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { n as googleChatApprovalAuth } from "./approval-auth-
|
|
1
|
+
import { C as sendGoogleChatMessage, O as googleChatApprovalControls, S as probeGoogleChat, T as verifyGoogleChatRequest, b as deleteGoogleChatMessage, c as googleChatIngressIdentity, d as formatGoogleChatMediaText, f as formatGoogleChatTextChunks, k as readGoogleChatApprovalActionToken, l as normalizeGoogleChatUserId, p as isGoogleChatGroupSpace, u as buildGoogleChatGroupPolicyScope, w as updateGoogleChatMessage, x as downloadGoogleChatMedia, y as GoogleChatApiError } from "./channel.adapters-CLzwB-5-.mjs";
|
|
2
|
+
import { n as googleChatApprovalAuth } from "./approval-auth-Dd-6ne22.mjs";
|
|
3
3
|
import { t as getGoogleChatRuntime } from "./runtime-C5OOOlaP.mjs";
|
|
4
4
|
import { n as escapeGoogleChatApprovalCardText, t as buildGoogleChatApprovalTextWidget } from "./approval-card-text-BKg_4mXq.mjs";
|
|
5
5
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringEntries, normalizeTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -8,6 +8,7 @@ import { PlatformMessageNotDispatchedError, collectErrorGraphCandidates, formatE
|
|
|
8
8
|
import { MediaFetchError } from "openclaw/plugin-sdk/media-runtime";
|
|
9
9
|
import { channelIngressRoutes, createStandardRawEventIngressMonitor } from "openclaw/plugin-sdk/channel-ingress-runtime";
|
|
10
10
|
import { createChannelIngressError } from "openclaw/plugin-sdk/channel-outbound";
|
|
11
|
+
import { resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
|
|
11
12
|
import { channelBlockedPatch, channelReadyPatch } from "openclaw/plugin-sdk/gateway-runtime";
|
|
12
13
|
import { isRecord as isRecord$1 } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
|
|
13
14
|
import { resolveAgentConfig } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
@@ -20,7 +21,6 @@ import { resolveApprovalOverGateway } from "openclaw/plugin-sdk/approval-gateway
|
|
|
20
21
|
import { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
|
|
21
22
|
import { isDangerousNameMatchingEnabled } from "openclaw/plugin-sdk/dangerous-name-runtime";
|
|
22
23
|
import { GROUP_POLICY_BLOCKED_LABEL, resolveAllowlistProviderRuntimeGroupPolicy, resolveDefaultGroupPolicy, warnMissingProviderGroupPolicyFallbackOnce } from "openclaw/plugin-sdk/runtime-group-policy";
|
|
23
|
-
import { resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
|
|
24
24
|
import { createWebhookInFlightLimiter, readJsonWebhookBodyOrReject, runDetachedWebhookWork } from "openclaw/plugin-sdk/webhook-request-guards";
|
|
25
25
|
import { registerWebhookTargetWithPluginRoute, resolveWebhookTargetWithAuthOrReject, withResolvedWebhookRequestPipeline } from "openclaw/plugin-sdk/webhook-targets";
|
|
26
26
|
//#region extensions/googlechat/src/approval-terminal-card.ts
|
|
@@ -596,11 +596,17 @@ async function deliverGoogleChatReply(params) {
|
|
|
596
596
|
}
|
|
597
597
|
typingMessage = void 0;
|
|
598
598
|
} else if (typingMessage?.placement === "thread") deliveryThreadName = typingMessage.deliveredThreadName;
|
|
599
|
-
|
|
599
|
+
let text = reply.text;
|
|
600
|
+
let mediaError;
|
|
601
|
+
try {
|
|
602
|
+
text = formatGoogleChatMediaText(reply.text, reply.mediaUrls);
|
|
603
|
+
} catch (error) {
|
|
604
|
+
mediaError = error;
|
|
605
|
+
}
|
|
600
606
|
const chunkLimit = account.config.textChunkLimit ?? 4e3;
|
|
601
607
|
const chunkMode = core.channel.text.resolveChunkMode(config, "googlechat", account.accountId);
|
|
602
|
-
const chunks = formatGoogleChatTextChunks(
|
|
603
|
-
const rejection =
|
|
608
|
+
const chunks = formatGoogleChatTextChunks(text, chunkLimit).flatMap((chunk) => core.channel.text.chunkMarkdownTextWithMode(chunk, chunkLimit, chunkMode));
|
|
609
|
+
const rejection = mediaError ? formatErrorMessage(mediaError) : text && !chunks.some((chunk) => chunk) ? "Google Chat reply has no visible text after formatting." : void 0;
|
|
604
610
|
if (rejection) {
|
|
605
611
|
try {
|
|
606
612
|
if (typingMessage) await deleteGoogleChatMessage({
|
|
@@ -611,7 +617,7 @@ async function deliverGoogleChatReply(params) {
|
|
|
611
617
|
runtime.error?.(`Google Chat typing cleanup failed: ${String(err)}`);
|
|
612
618
|
}
|
|
613
619
|
throw new PlatformMessageNotDispatchedError(rejection, {
|
|
614
|
-
cause:
|
|
620
|
+
cause: mediaError,
|
|
615
621
|
retryable: false
|
|
616
622
|
});
|
|
617
623
|
}
|
package/dist/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as googlechatSetupAdapter, i as googlechatSetupWizard } from "./.setup/channel-base-sWlG7EP1.mjs";
|
|
2
|
-
import { t as googlechatPlugin } from "./.setup/channel-
|
|
2
|
+
import { t as googlechatPlugin } from "./.setup/channel-p2FLMhYl.mjs";
|
|
3
3
|
export { googlechatPlugin, googlechatSetupAdapter, googlechatSetupWizard };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as googlechatPlugin } from "./.setup/channel-p2FLMhYl.mjs";
|
|
2
|
+
export { googlechatPlugin };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as googlechatDirectoryAdapter } from "./.setup/channel.adapters
|
|
1
|
+
import { t as googlechatDirectoryAdapter } from "./.setup/channel.adapters-CLzwB-5-.mjs";
|
|
2
2
|
//#region extensions/googlechat/directory-contract-api.ts
|
|
3
3
|
const googlechatDirectoryContractPlugin = {
|
|
4
4
|
id: "googlechat",
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-BzoaiFSD.mjs";
|
|
2
|
+
export { legacyConfigRules, normalizeCompatibilityConfig };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as setGoogleChatRuntime } from "./.setup/runtime-C5OOOlaP.mjs";
|
|
2
|
+
export { setGoogleChatRuntime };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./.setup/secret-contract-D7KjX374.mjs";
|
|
2
|
+
export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
|
package/dist/setup-entry.js
CHANGED
|
@@ -4,11 +4,11 @@ import { fileURLToPath } from "node:url";
|
|
|
4
4
|
var setup_entry_default = defineBundledChannelSetupEntry({
|
|
5
5
|
importMetaUrl: import.meta.url,
|
|
6
6
|
plugin: {
|
|
7
|
-
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-yGEtLeXV.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "googlechatSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
|
11
|
-
specifier: fileURLToPath(new URL(".setup/secret-contract-api-
|
|
11
|
+
specifier: fileURLToPath(new URL(".setup/secret-contract-api-Dx8QYxoR.mjs", import.meta.url).href),
|
|
12
12
|
exportName: "channelSecrets"
|
|
13
13
|
}
|
|
14
14
|
});
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { r as googlechatSetupPlugin } from "./.setup/channel-base-sWlG7EP1.mjs";
|
|
2
|
+
export { googlechatSetupPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/googlechat",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.33",
|
|
4
4
|
"description": "OpenClaw Google Chat channel plugin for spaces and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"zod": "4.6.5"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.
|
|
15
|
+
"openclaw": ">=2026.11.4"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
|
@@ -135,10 +135,10 @@
|
|
|
135
135
|
"minHostVersion": ">=2026.9.8"
|
|
136
136
|
},
|
|
137
137
|
"compat": {
|
|
138
|
-
"pluginApi": ">=2026.
|
|
138
|
+
"pluginApi": ">=2026.11.4"
|
|
139
139
|
},
|
|
140
140
|
"build": {
|
|
141
|
-
"openclawVersion": "2026.10.
|
|
141
|
+
"openclawVersion": "2026.10.33"
|
|
142
142
|
},
|
|
143
143
|
"release": {
|
|
144
144
|
"publishToClawHub": true,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"api.js","source":"extensions/googlechat/api.ts"},{"output":"channel-config-api.js","source":"extensions/googlechat/channel-config-api.ts"},{"output":"channel-plugin-api.js","source":"extensions/googlechat/channel-plugin-api.ts"},{"output":"directory-contract-api.js","source":"extensions/googlechat/directory-contract-api.ts"},{"output":"doctor-contract-api.js","source":"extensions/googlechat/doctor-contract-api.ts"},{"output":"index.js","source":"extensions/googlechat/index.ts"},{"output":"runtime-api.js","source":"extensions/googlechat/runtime-api.ts"},{"output":"secret-contract-api.js","source":"extensions/googlechat/secret-contract-api.ts"},{"output":"setup-entry.js","source":"extensions/googlechat/setup-entry.ts"},{"output":"setup-plugin-api.js","source":"extensions/googlechat/setup-plugin-api.ts"}],"chunks":[{"output":".setup/actions-CSE3qGrO.mjs","sha256":"48dcb7ef401e269d6cf35f778c82c3656c2e5c40ad2ddef08b3a14b2e58c8362","facadeSource":"extensions/googlechat/src/actions.ts","sources":["extensions/googlechat/src/actions.ts"]},{"output":".setup/approval-auth-DH1sJm7S.mjs","sha256":"42c14817a24156d43c4e0422074e232c3c348f1ecc36d519145d82c533c20457","facadeSource":null,"sources":["extensions/googlechat/src/approval-auth.ts"]},{"output":".setup/approval-card-text-BKg_4mXq.mjs","sha256":"8ef37d45efdb68f267086fe01893157c6f6235c7b9c2ccbdab24055c6d8adf88","facadeSource":null,"sources":["extensions/googlechat/src/approval-card-text.ts"]},{"output":".setup/approval-handler.runtime-Bx0dTqDd.mjs","sha256":"33f2b98b85e07ea4535534b141340038c3ca551fa1448d84e761412e94d48372","facadeSource":"extensions/googlechat/src/approval-handler.runtime.ts","sources":["extensions/googlechat/src/approval-handler.runtime.ts"]},{"output":".setup/channel-base-sWlG7EP1.mjs","sha256":"19ec34c159fc0729b7c3b6d5188bea92999190831b5dc33b6186d526296a8bde","facadeSource":null,"sources":["extensions/googlechat/src/accounts.ts","extensions/googlechat/src/channel-base.ts","extensions/googlechat/src/google-auth-limits.ts","extensions/googlechat/src/setup-core.ts","extensions/googlechat/src/setup-surface.ts"]},{"output":".setup/channel-BBRTocXs.mjs","sha256":"158bc030a506a08bbe5243468e7b04d5f5a644ef1846b82d7b741162aa44e13e","facadeSource":null,"sources":["extensions/googlechat/src/approval-native.ts","extensions/googlechat/src/channel.ts","extensions/googlechat/src/doctor.ts","extensions/googlechat/src/gateway.ts","extensions/googlechat/src/message-tool-api.ts"]},{"output":".setup/channel.adapters--OFb3A2Y.mjs","sha256":"9629eb78f8b20ce9371931073b7e76ec8d735b49f50ab4b910999bc781bdba0f","facadeSource":null,"sources":["extensions/googlechat/src/api.ts","extensions/googlechat/src/approval-card-actions.ts","extensions/googlechat/src/auth.ts","extensions/googlechat/src/channel.adapters.ts","extensions/googlechat/src/format.ts","extensions/googlechat/src/google-auth.runtime.ts","extensions/googlechat/src/group-policy.ts","extensions/googlechat/src/ingress-identity.ts","extensions/googlechat/src/targets.ts"]},{"output":".setup/channel.runtime-uaSH6k2d.mjs","sha256":"909e625b5411f810b19996470632a22d636aa635e320892990cc746734746a77","facadeSource":"extensions/googlechat/src/channel.runtime.ts","sources":["extensions/googlechat/src/approval-card-click.ts","extensions/googlechat/src/approval-terminal-card.ts","extensions/googlechat/src/channel.runtime.ts","extensions/googlechat/src/monitor-access.ts","extensions/googlechat/src/monitor-durable.ts","extensions/googlechat/src/monitor-event.ts","extensions/googlechat/src/monitor-ingress.ts","extensions/googlechat/src/monitor-reply-delivery.ts","extensions/googlechat/src/monitor-reply-target.ts","extensions/googlechat/src/monitor-routing.ts","extensions/googlechat/src/monitor-webhook.ts","extensions/googlechat/src/monitor.ts"]},{"output":".setup/config-api-CsD0IFxF.mjs","sha256":"134d1ecb7a42e67cb112730f0935792ac69fa8500796df1c1ef50308f70c4999","facadeSource":null,"sources":[]},{"output":".setup/doctor-contract-BzoaiFSD.mjs","sha256":"f78d3604b830a3eaea77e171b9611f4b2452aae2b1cdede1a2d7504be7e97bfa","facadeSource":null,"sources":["extensions/googlechat/src/doctor-contract.ts","packages/normalization-core/src/record-coerce.ts","src/config/channel-config-normalization.ts","src/plugin-sdk/legacy-webhook-listener-migration.ts"]},{"output":".setup/runtime-C5OOOlaP.mjs","sha256":"1816c00a6c75882b7432dbaaf341159fb37c64d37be29f27ca9363397d0d10e7","facadeSource":null,"sources":["extensions/googlechat/src/runtime.ts"]},{"output":".setup/secret-contract-api-BG_8yVjr.mjs","sha256":"60c6a50f92970e7ab01716d07d1913f962ead2e60a519a3187fc51651b65fcb1","facadeSource":"extensions/googlechat/secret-contract-api.ts","sources":[]},{"output":".setup/secret-contract-D7KjX374.mjs","sha256":"a2d670c525a743a940fa8193708103854f5c1e427fecae2a1cf7a43a9d0ddaef","facadeSource":null,"sources":["extensions/googlechat/src/secret-contract.ts"]},{"output":".setup/setup-plugin-api-CFDZH0Qp.mjs","sha256":"737ffcec39adb4fcbe4134aa78613b6376642513678632a46e01264d689e88ab","facadeSource":"extensions/googlechat/setup-plugin-api.ts","sources":[]},{"output":"api.js","sha256":"5de7eb4ef4515ad5d2dc798f1e80ffee4e44034a899d286bf1524bc44b555444","facadeSource":"extensions/googlechat/api.ts","sources":[]},{"output":"channel-config-api.js","sha256":"88cdb342321b9e2e61dd2c4b08daf370365a9ccaeccd3b32d5e7926c5c3ae993","facadeSource":"extensions/googlechat/channel-config-api.ts","sources":["extensions/googlechat/src/config-schema.ts"]},{"output":"channel-plugin-api.js","sha256":"cdd8a3eb5157fee7032b4eacd93655cd8474abda484cdd4b7f74f44e6580e92c","facadeSource":"extensions/googlechat/channel-plugin-api.ts","sources":[]},{"output":"directory-contract-api.js","sha256":"c1d7da4cc027b3e7d1ae0ca10e547c7acea1facdc9958e73effdf15acfbf9b25","facadeSource":"extensions/googlechat/directory-contract-api.ts","sources":["extensions/googlechat/directory-contract-api.ts"]},{"output":"doctor-contract-api.js","sha256":"cb549235cb6135ef3da43b0d8324ecb604c679c1de428740cf175910868cb9f7","facadeSource":"extensions/googlechat/doctor-contract-api.ts","sources":[]},{"output":"index.js","sha256":"98d019ca0e85389fbd5770bef647fca2b0d130b8f84ca360c53ce508eb249a56","facadeSource":"extensions/googlechat/index.ts","sources":["extensions/googlechat/index.ts"]},{"output":"runtime-api.js","sha256":"13787dcc4d1069b78c6e67e76b24397a1e2d27b75d30875ac966a60833a69b96","facadeSource":"extensions/googlechat/runtime-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"fd9c40156837a10092eee46d660cbe8b143de075c0dbb55243892eec936c4df2","facadeSource":"extensions/googlechat/secret-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"2195a8c0288cf615ed303938419b266080de5476fd97d029cb99e24f652ee875","facadeSource":"extensions/googlechat/setup-entry.ts","sources":["extensions/googlechat/setup-entry.ts"]},{"output":"setup-plugin-api.js","sha256":"78af61a736d856c8522b0245716c5caeef17b212c195644e17d427b1c4896fef","facadeSource":"extensions/googlechat/setup-plugin-api.ts","sources":[]}],"unrenderedSources":["extensions/googlechat/api.ts","extensions/googlechat/channel-config-api.ts","extensions/googlechat/channel-plugin-api.ts","extensions/googlechat/config-api.ts","extensions/googlechat/config-doctor-api.ts","extensions/googlechat/doctor-contract-api.ts","extensions/googlechat/runtime-api.ts","extensions/googlechat/secret-contract-api.ts","extensions/googlechat/setup-plugin-api.ts","extensions/googlechat/src/channel.setup.ts"]}
|