@openclaw/googlechat 2026.10.10-beta.5 → 2026.10.10

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.
Files changed (26) hide show
  1. package/dist/.setup/{actions-CSE3qGrO.mjs → actions-uo0lf5AI.mjs} +3 -4
  2. package/dist/.setup/{approval-auth-DH1sJm7S.mjs → approval-auth-CKF1wHai.mjs} +3 -4
  3. package/dist/.setup/{approval-card-text-BKg_4mXq.mjs → approval-card-text-9o-Dfr9Z.mjs} +1 -2
  4. package/dist/.setup/{approval-handler.runtime-Bx0dTqDd.mjs → approval-handler.runtime-wYtTR6as.mjs} +5 -6
  5. package/dist/.setup/{channel-BBRTocXs.mjs → channel-ZbGyNgH9.mjs} +14 -19
  6. package/dist/.setup/{channel-base-sWlG7EP1.mjs → channel-base-BFV0cGQ2.mjs} +4 -8
  7. package/dist/.setup/{channel.adapters--OFb3A2Y.mjs → channel.adapters-5rr8crHQ.mjs} +11 -20
  8. package/dist/.setup/{channel.runtime-uaSH6k2d.mjs → channel.runtime-DkrekcGA.mjs} +16 -28
  9. package/dist/.setup/{doctor-contract-BzoaiFSD.mjs → doctor-contract-WrFOPxEj.mjs} +6 -12
  10. package/dist/.setup/{runtime-C5OOOlaP.mjs → runtime-zEzHA5rr.mjs} +1 -2
  11. package/dist/.setup/{secret-contract-api-BG_8yVjr.mjs → secret-contract-api-CLRweErW.mjs} +1 -1
  12. package/dist/.setup/{secret-contract-D7KjX374.mjs → secret-contract-h2P-4VpL.mjs} +1 -2
  13. package/dist/.setup/setup-plugin-api-Dru1eW9z.mjs +2 -0
  14. package/dist/.source-module-urls/974ffefea973cf3ea18e1534d25b091bcf1b68760a2b9eda0cd9bd9392096c64.json +1 -1
  15. package/dist/api.js +2 -2
  16. package/dist/channel-config-api.js +1 -2
  17. package/dist/channel-plugin-api.js +1 -1
  18. package/dist/directory-contract-api.js +2 -3
  19. package/dist/doctor-contract-api.js +1 -1
  20. package/dist/index.js +1 -2
  21. package/dist/runtime-api.js +1 -1
  22. package/dist/secret-contract-api.js +1 -1
  23. package/dist/setup-entry.js +3 -4
  24. package/dist/setup-plugin-api.js +1 -1
  25. package/package.json +4 -4
  26. package/dist/.setup/setup-plugin-api-CFDZH0Qp.mjs +0 -2
@@ -1,8 +1,8 @@
1
- import { l as resolveGoogleChatAccount } from "./channel-base-sWlG7EP1.mjs";
2
- import { S as sendGoogleChatMessage, _ as resolveGoogleChatOutboundSpace } from "./channel.adapters--OFb3A2Y.mjs";
1
+ import { l as resolveGoogleChatAccount } from "./channel-base-BFV0cGQ2.mjs";
2
+ import { S as sendGoogleChatMessage, _ as resolveGoogleChatOutboundSpace } from "./channel.adapters-5rr8crHQ.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
- //#region extensions/googlechat/src/actions.ts
5
+ // extensions/googlechat/src/actions.ts
6
6
  const OUTBOUND_MEDIA_KEYS = [
7
7
  "media",
8
8
  "mediaUrl",
@@ -52,5 +52,4 @@ async function handleGoogleChatAction({ action, params, cfg, accountId, assertDi
52
52
  }
53
53
  throw new Error(`Action ${action} is not supported for provider googlechat.`);
54
54
  }
55
- //#endregion
56
55
  export { handleGoogleChatAction };
@@ -1,8 +1,8 @@
1
- import { l as resolveGoogleChatAccount } from "./channel-base-sWlG7EP1.mjs";
2
- import { h as normalizeGoogleChatTarget, m as isGoogleChatUserTarget } from "./channel.adapters--OFb3A2Y.mjs";
1
+ import { l as resolveGoogleChatAccount } from "./channel-base-BFV0cGQ2.mjs";
2
+ import { h as normalizeGoogleChatTarget, m as isGoogleChatUserTarget } from "./channel.adapters-5rr8crHQ.mjs";
3
3
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { createChannelApprovalAuth } from "openclaw/plugin-sdk/approval-auth-runtime";
5
- //#region extensions/googlechat/src/approval-auth.ts
5
+ // extensions/googlechat/src/approval-auth.ts
6
6
  function normalizeGoogleChatApproverId(value) {
7
7
  const normalized = normalizeGoogleChatTarget(String(value));
8
8
  if (!normalized || !isGoogleChatUserTarget(normalized)) return;
@@ -26,5 +26,4 @@ const googleChatApproval = createChannelApprovalAuth({
26
26
  });
27
27
  const getGoogleChatApprovalApprovers = googleChatApproval.resolveApprovers;
28
28
  const googleChatApprovalAuth = googleChatApproval.approvalAuth;
29
- //#endregion
30
29
  export { googleChatApprovalAuth as n, normalizeGoogleChatApproverId as r, getGoogleChatApprovalApprovers as t };
@@ -1,5 +1,5 @@
1
1
  import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
2
- //#region extensions/googlechat/src/approval-card-text.ts
2
+ // extensions/googlechat/src/approval-card-text.ts
3
3
  const MAX_TEXT_PARAGRAPH_CHARS = 1800;
4
4
  function escapeGoogleChatApprovalCardText(text) {
5
5
  return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
@@ -8,5 +8,4 @@ function buildGoogleChatApprovalTextWidget(text, format = "text") {
8
8
  const truncated = text.length <= MAX_TEXT_PARAGRAPH_CHARS ? text : `${truncateUtf16Safe(text, 1797)}...`;
9
9
  return { textParagraph: { text: format === "html" ? truncated : escapeGoogleChatApprovalCardText(truncated) } };
10
10
  }
11
- //#endregion
12
11
  export { escapeGoogleChatApprovalCardText as n, buildGoogleChatApprovalTextWidget as t };
@@ -1,13 +1,13 @@
1
- import { l as resolveGoogleChatAccount } from "./channel-base-sWlG7EP1.mjs";
2
- import { A as registerGoogleChatManualApprovalFollowupSuppression, C as updateGoogleChatMessage, D as googleChatApprovalControls, E as buildGoogleChatApprovalActionParameters, S as sendGoogleChatMessage, T as GOOGLECHAT_APPROVAL_ACTION, _ as resolveGoogleChatOutboundSpace, j as unregisterGoogleChatManualApprovalFollowupSuppression, k as registerGoogleChatApprovalCardBinding } from "./channel.adapters--OFb3A2Y.mjs";
3
- import { n as isGoogleChatNativeApprovalClientEnabled, r as shouldHandleGoogleChatNativeApprovalRequest } from "./channel-BBRTocXs.mjs";
4
- import { n as escapeGoogleChatApprovalCardText, t as buildGoogleChatApprovalTextWidget } from "./approval-card-text-BKg_4mXq.mjs";
1
+ import { l as resolveGoogleChatAccount } from "./channel-base-BFV0cGQ2.mjs";
2
+ import { A as registerGoogleChatManualApprovalFollowupSuppression, C as updateGoogleChatMessage, D as googleChatApprovalControls, E as buildGoogleChatApprovalActionParameters, S as sendGoogleChatMessage, T as GOOGLECHAT_APPROVAL_ACTION, _ as resolveGoogleChatOutboundSpace, j as unregisterGoogleChatManualApprovalFollowupSuppression, k as registerGoogleChatApprovalCardBinding } from "./channel.adapters-5rr8crHQ.mjs";
3
+ import { n as isGoogleChatNativeApprovalClientEnabled, r as shouldHandleGoogleChatNativeApprovalRequest } from "./channel-ZbGyNgH9.mjs";
4
+ import { n as escapeGoogleChatApprovalCardText, t as buildGoogleChatApprovalTextWidget } from "./approval-card-text-9o-Dfr9Z.mjs";
5
5
  import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
6
6
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  import { formatChannelApprovalResolvedLabel } from "openclaw/plugin-sdk/approval-runtime";
8
8
  import { createChannelApprovalNativeRuntimeAdapterAsync } from "openclaw/plugin-sdk/approval-handler-runtime";
9
9
  import { createSubsystemLogger } from "openclaw/plugin-sdk/runtime-env";
10
- //#region extensions/googlechat/src/approval-handler.runtime.ts
10
+ // extensions/googlechat/src/approval-handler.runtime.ts
11
11
  const log = createSubsystemLogger("googlechat/approvals");
12
12
  const GOOGLECHAT_APPROVAL_CARD_ID = "openclaw-approval";
13
13
  function resolveHandlerAccount(params) {
@@ -229,5 +229,4 @@ const googleChatApprovalNativeRuntime = createChannelApprovalNativeRuntimeAdapte
229
229
  log.error(`googlechat approvals: failed to send request ${request.id}: ${String(error)}`);
230
230
  } }
231
231
  });
232
- //#endregion
233
232
  export { googleChatApprovalNativeRuntime };
@@ -1,9 +1,9 @@
1
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BzoaiFSD.mjs";
1
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-WrFOPxEj.mjs";
2
2
  import { n as buildChannelConfigSchema, t as GoogleChatConfigSchema } from "./config-api-CsD0IFxF.mjs";
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 resolveGoogleChatOutboundSessionRoute, h as normalizeGoogleChatTarget, i as googlechatOutboundAdapter, m as isGoogleChatUserTarget, n as googlechatGroupsAdapter, o as googlechatSecurityAdapter, p as isGoogleChatSpaceTarget, r as googlechatMessageAdapter, s as googlechatThreadingAdapter, t as googlechatDirectoryAdapter } from "./channel.adapters--OFb3A2Y.mjs";
5
- import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-DH1sJm7S.mjs";
6
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-D7KjX374.mjs";
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-BFV0cGQ2.mjs";
4
+ import { a as googlechatPairingTextAdapter, g as resolveGoogleChatOutboundSessionRoute, h as normalizeGoogleChatTarget, i as googlechatOutboundAdapter, m as isGoogleChatUserTarget, n as googlechatGroupsAdapter, o as googlechatSecurityAdapter, p as isGoogleChatSpaceTarget, r as googlechatMessageAdapter, s as googlechatThreadingAdapter, t as googlechatDirectoryAdapter } from "./channel.adapters-5rr8crHQ.mjs";
5
+ import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-CKF1wHai.mjs";
6
+ import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-h2P-4VpL.mjs";
7
7
  import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
8
8
  import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
9
9
  import { buildPassiveProbedChannelStatusSummary } from "openclaw/plugin-sdk/extension-shared";
@@ -18,7 +18,7 @@ import { buildMutableAllowEntryDetector, collectStandardAllowlistLists, createDa
18
18
  import { registerChannelRuntimeContext } from "openclaw/plugin-sdk/channel-runtime-context";
19
19
  import { channelBlockedPatch } from "openclaw/plugin-sdk/gateway-runtime";
20
20
  import { extractToolSend } from "openclaw/plugin-sdk/tool-send";
21
- //#region extensions/googlechat/src/approval-native.ts
21
+ // extensions/googlechat/src/approval-native.ts
22
22
  const DEFAULT_APPROVAL_FORWARDING_MODE = "session";
23
23
  function isGoogleChatApprovalTransportEnabled(params) {
24
24
  const account = resolveGoogleChatAccount(params);
@@ -132,11 +132,10 @@ const googleChatApprovalCapability = createApproverRestrictedNativeApprovalCapab
132
132
  ],
133
133
  isConfigured: isGoogleChatNativeApprovalClientEnabled,
134
134
  shouldHandle: shouldHandleGoogleChatNativeApprovalRequest,
135
- load: async () => (await import("./approval-handler.runtime-Bx0dTqDd.mjs")).googleChatApprovalNativeRuntime
135
+ load: async () => (await import("./approval-handler.runtime-wYtTR6as.mjs")).googleChatApprovalNativeRuntime
136
136
  })
137
137
  });
138
- //#endregion
139
- //#region extensions/googlechat/src/doctor.ts
138
+ // extensions/googlechat/src/doctor.ts
140
139
  const isGoogleChatMutableAllowEntry = buildMutableAllowEntryDetector({
141
140
  prefixes: [
142
141
  "googlechat:",
@@ -154,9 +153,8 @@ const collectGoogleChatMutableAllowlistWarnings = createDangerousNameMatchingMut
154
153
  groupField: "users"
155
154
  })
156
155
  });
157
- //#endregion
158
- //#region extensions/googlechat/src/gateway.ts
159
- const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-uaSH6k2d.mjs"), "googleChatChannelRuntime");
156
+ // extensions/googlechat/src/gateway.ts
157
+ const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-DkrekcGA.mjs"), "googleChatChannelRuntime");
160
158
  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
159
  async function startGoogleChatGatewayAccount(ctx) {
162
160
  const account = ctx.account;
@@ -211,8 +209,7 @@ async function startGoogleChatGatewayAccount(ctx) {
211
209
  });
212
210
  }
213
211
  }
214
- //#endregion
215
- //#region extensions/googlechat/src/message-tool-api.ts
212
+ // extensions/googlechat/src/message-tool-api.ts
216
213
  function describeGoogleChatMessageTool({ cfg, accountId }) {
217
214
  return (accountId ? [inspectGoogleChatAccount({
218
215
  cfg,
@@ -226,11 +223,10 @@ const googlechatMessageActions = {
226
223
  describeMessageTool: describeGoogleChatMessageTool,
227
224
  supportsAction: ({ action }) => action === "send",
228
225
  extractToolSend: ({ args }) => extractToolSend(args, "sendMessage"),
229
- handleAction: async (ctx) => (await import("./actions-CSE3qGrO.mjs")).handleGoogleChatAction(ctx)
226
+ handleAction: async (ctx) => (await import("./actions-uo0lf5AI.mjs")).handleGoogleChatAction(ctx)
230
227
  };
231
- //#endregion
232
- //#region extensions/googlechat/src/channel.ts
233
- const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-uaSH6k2d.mjs"), "googleChatChannelRuntime");
228
+ // extensions/googlechat/src/channel.ts
229
+ const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-DkrekcGA.mjs"), "googleChatChannelRuntime");
234
230
  const googlechatPlugin = createChatChannelPlugin({
235
231
  base: {
236
232
  ...googlechatSetupPlugin,
@@ -350,5 +346,4 @@ const googlechatPlugin = createChatChannelPlugin({
350
346
  }
351
347
  }
352
348
  });
353
- //#endregion
354
349
  export { isGoogleChatNativeApprovalClientEnabled as n, shouldHandleGoogleChatNativeApprovalRequest as r, googlechatPlugin as t };
@@ -13,10 +13,9 @@ import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
13
13
  import { createPatchedAccountSetupAdapter, createSetupInputPresenceValidator } from "openclaw/plugin-sdk/setup-runtime";
14
14
  import { createChannelDmPolicy } from "openclaw/plugin-sdk/channel-dm-policy";
15
15
  import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1, applySetupAccountConfigPatch, createPromptParsedAllowFromForAccount, createSetupTranslator, createStandardChannelSetupStatus, formatDocsLink, mergeAllowFromEntries, migrateBaseNameToDefaultAccount, splitSetupEntries } from "openclaw/plugin-sdk/setup";
16
- //#region extensions/googlechat/src/google-auth-limits.ts
16
+ // extensions/googlechat/src/google-auth-limits.ts
17
17
  const MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES = 65536;
18
- //#endregion
19
- //#region extensions/googlechat/src/accounts.ts
18
+ // extensions/googlechat/src/accounts.ts
20
19
  const ENV_SERVICE_ACCOUNT$1 = "GOOGLE_CHAT_SERVICE_ACCOUNT";
21
20
  const ENV_SERVICE_ACCOUNT_FILE$1 = "GOOGLE_CHAT_SERVICE_ACCOUNT_FILE";
22
21
  const JsonRecordSchema = z.record(z.string(), z.unknown());
@@ -236,8 +235,7 @@ const googlechatSetupContract = defineChannelSetupContract({
236
235
  },
237
236
  legacyAdapter: googlechatSetupAdapter
238
237
  });
239
- //#endregion
240
- //#region extensions/googlechat/src/setup-surface.ts
238
+ // extensions/googlechat/src/setup-surface.ts
241
239
  const t = createSetupTranslator();
242
240
  const channel = "googlechat";
243
241
  const ENV_SERVICE_ACCOUNT = "GOOGLE_CHAT_SERVICE_ACCOUNT";
@@ -400,8 +398,7 @@ const googlechatSetupWizard = {
400
398
  },
401
399
  dmPolicy: googlechatDmPolicy
402
400
  };
403
- //#endregion
404
- //#region extensions/googlechat/src/channel-base.ts
401
+ // extensions/googlechat/src/channel-base.ts
405
402
  const GOOGLECHAT_CHANNEL_ID = "googlechat";
406
403
  const googlechatMeta = {
407
404
  id: GOOGLECHAT_CHANNEL_ID,
@@ -475,5 +472,4 @@ const googlechatSetupPlugin = {
475
472
  })
476
473
  }
477
474
  };
478
- //#endregion
479
475
  export { googlechatSetupAdapter as a, resolveDefaultGoogleChatAccountId as c, googlechatSetupWizard as i, resolveGoogleChatAccount as l, formatGoogleChatAllowFromEntry as n, inspectGoogleChatAccount as o, googlechatSetupPlugin as r, listGoogleChatAccountIds as s, GOOGLECHAT_CHANNEL_ID as t, MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES as u };
@@ -1,4 +1,4 @@
1
- import { l as resolveGoogleChatAccount, n as formatGoogleChatAllowFromEntry, u as MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES } from "./channel-base-sWlG7EP1.mjs";
1
+ import { l as resolveGoogleChatAccount, n as formatGoogleChatAllowFromEntry, u as MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES } from "./channel-base-BFV0cGQ2.mjs";
2
2
  import { buildChannelOutboundSessionRoute } from "openclaw/plugin-sdk/channel-core";
3
3
  import { createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime";
4
4
  import { asNullableObjectRecord, isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -21,7 +21,7 @@ import { buildChannelGroupsScopeTree, createAllowlistProviderOpenWarningCollecto
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
23
  import { FormatCapabilityProfile, markdownToIR, renderMarkdownIRChunksWithinLimit, renderMarkdownWithMarkers, sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
24
- //#region extensions/googlechat/src/approval-card-actions.ts
24
+ // extensions/googlechat/src/approval-card-actions.ts
25
25
  const GOOGLECHAT_APPROVAL_ACTION = "openclaw.approval";
26
26
  const GOOGLECHAT_APPROVAL_ACTION_PARAM = "openclaw_action";
27
27
  const GOOGLECHAT_APPROVAL_TOKEN_PARAM = "token";
@@ -116,8 +116,7 @@ function shouldSuppressGoogleChatManualExecApprovalFollowupPayload(payload, nowM
116
116
  if (!text || hasStructuredPayloadPart(payload)) return false;
117
117
  return shouldSuppressGoogleChatManualExecApprovalFollowupText(text, nowMs);
118
118
  }
119
- //#endregion
120
- //#region extensions/googlechat/src/google-auth.runtime.ts
119
+ // extensions/googlechat/src/google-auth.runtime.ts
121
120
  const GOOGLE_AUTH_POLICY = buildHostnameAllowlistPolicyFromSuffixAllowlist(["accounts.google.com", "googleapis.com"]);
122
121
  const GOOGLE_AUTH_FETCH_TIMEOUT_MS = 3e4;
123
122
  const GOOGLE_AUTH_URI = "https://accounts.google.com/o/oauth2/auth";
@@ -357,8 +356,7 @@ async function resolveValidatedGoogleChatCredentials(account) {
357
356
  if (account.credentialsFile) return validateGoogleChatServiceAccountCredentials(await readCredentialsFile(account.credentialsFile));
358
357
  return null;
359
358
  }
360
- //#endregion
361
- //#region extensions/googlechat/src/auth.ts
359
+ // extensions/googlechat/src/auth.ts
362
360
  const CHAT_SCOPE = "https://www.googleapis.com/auth/chat.bot";
363
361
  const CHAT_ISSUER = "chat@system.gserviceaccount.com";
364
362
  const ADDON_ISSUER_PATTERN = /^service-\d+@gcp-sa-gsuiteaddons\.iam\.gserviceaccount\.com$/;
@@ -485,8 +483,7 @@ async function verifyGoogleChatRequest(params) {
485
483
  };
486
484
  }
487
485
  }
488
- //#endregion
489
- //#region extensions/googlechat/src/api.ts
486
+ // extensions/googlechat/src/api.ts
490
487
  const CHAT_API_BASE = "https://chat.googleapis.com/v1";
491
488
  const GOOGLECHAT_API_TIMEOUT_MS = 3e4;
492
489
  const GOOGLECHAT_MEDIA_TIMEOUT_GRACE_MS = 3e4;
@@ -659,8 +656,7 @@ async function probeGoogleChat(account) {
659
656
  };
660
657
  }
661
658
  }
662
- //#endregion
663
- //#region extensions/googlechat/src/targets.ts
659
+ // extensions/googlechat/src/targets.ts
664
660
  function normalizeGoogleChatTarget(raw) {
665
661
  const trimmed = raw?.trim();
666
662
  if (!trimmed) return;
@@ -751,8 +747,7 @@ async function resolveGoogleChatOutboundSessionRoute(params) {
751
747
  to: spaceName
752
748
  });
753
749
  }
754
- //#endregion
755
- //#region extensions/googlechat/src/format.ts
750
+ // extensions/googlechat/src/format.ts
756
751
  const GOOGLE_CHAT_FORMAT_PROFILE = FormatCapabilityProfile.define({
757
752
  mechanism: "markdown",
758
753
  constructs: {
@@ -1021,8 +1016,7 @@ function formatGoogleChatTextChunks(text, limit = GOOGLE_CHAT_FORMAT_PROFILE.chu
1021
1016
  renderChunk: (chunk) => renderGoogleChatIR(chunk, prepared.markers)
1022
1017
  }).map((chunk) => chunk.rendered);
1023
1018
  }
1024
- //#endregion
1025
- //#region extensions/googlechat/src/group-policy.ts
1019
+ // extensions/googlechat/src/group-policy.ts
1026
1020
  function buildGoogleChatGroupPolicyScope(params) {
1027
1021
  const matchKey = params.groupId && Object.hasOwn(params.tree.scopes, params.groupId) ? params.groupId : void 0;
1028
1022
  return {
@@ -1037,8 +1031,7 @@ function resolveGoogleChatGroupRequireMention(params) {
1037
1031
  groupId: params.groupId
1038
1032
  }));
1039
1033
  }
1040
- //#endregion
1041
- //#region extensions/googlechat/src/ingress-identity.ts
1034
+ // extensions/googlechat/src/ingress-identity.ts
1042
1035
  function normalizeGoogleChatUserId(raw) {
1043
1036
  const trimmed = normalizeOptionalString(raw) ?? "";
1044
1037
  return normalizeLowercaseStringOrEmpty(trimmed.replace(/^users\//i, ""));
@@ -1069,9 +1062,8 @@ const googleChatIngressIdentity = defineStableChannelIngressIdentity({
1069
1062
  isWildcardEntry: (entry) => normalizeLowercaseStringOrEmpty(entry) === "*",
1070
1063
  resolveEntryId: ({ entryIndex, fieldKey }) => fieldKey === "stableId" ? `entry-${entryIndex + 1}:user` : `entry-${entryIndex + 1}:${fieldKey}`
1071
1064
  });
1072
- //#endregion
1073
- //#region extensions/googlechat/src/channel.adapters.ts
1074
- const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-uaSH6k2d.mjs"), "googleChatChannelRuntime");
1065
+ // extensions/googlechat/src/channel.adapters.ts
1066
+ const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-DkrekcGA.mjs"), "googleChatChannelRuntime");
1075
1067
  const collectGoogleChatGroupPolicyWarnings = createAllowlistProviderOpenWarningCollector({
1076
1068
  providerConfigPresent: (cfg) => cfg.channels?.googlechat !== void 0,
1077
1069
  resolveGroupPolicy: (account) => account.config.groupPolicy,
@@ -1226,5 +1218,4 @@ const googlechatMessageAdapter = defineChannelMessageAdapter({
1226
1218
  } },
1227
1219
  send: { text: googlechatOutboundAdapter.attachedResults.sendText }
1228
1220
  });
1229
- //#endregion
1230
1221
  export { registerGoogleChatManualApprovalFollowupSuppression as A, updateGoogleChatMessage as C, googleChatApprovalControls as D, buildGoogleChatApprovalActionParameters as E, readGoogleChatApprovalActionToken as O, sendGoogleChatMessage as S, GOOGLECHAT_APPROVAL_ACTION as T, resolveGoogleChatOutboundSpace as _, googlechatPairingTextAdapter as a, downloadGoogleChatMedia as b, googleChatIngressIdentity as c, formatGoogleChatTextChunks as d, isGoogleChatGroupSpace as f, resolveGoogleChatOutboundSessionRoute as g, normalizeGoogleChatTarget as h, googlechatOutboundAdapter as i, unregisterGoogleChatManualApprovalFollowupSuppression as j, registerGoogleChatApprovalCardBinding as k, normalizeGoogleChatUserId as l, isGoogleChatUserTarget as m, googlechatGroupsAdapter as n, googlechatSecurityAdapter as o, isGoogleChatSpaceTarget as p, googlechatMessageAdapter as r, googlechatThreadingAdapter as s, googlechatDirectoryAdapter as t, buildGoogleChatGroupPolicyScope as u, GoogleChatApiError as v, verifyGoogleChatRequest as w, probeGoogleChat as x, deleteGoogleChatMessage as y };
@@ -1,7 +1,7 @@
1
- import { C as updateGoogleChatMessage, D as googleChatApprovalControls, O as readGoogleChatApprovalActionToken, S as sendGoogleChatMessage, b as downloadGoogleChatMedia, c as googleChatIngressIdentity, d as formatGoogleChatTextChunks, f as isGoogleChatGroupSpace, l as normalizeGoogleChatUserId, u as buildGoogleChatGroupPolicyScope, v as GoogleChatApiError, w as verifyGoogleChatRequest, x as probeGoogleChat, y as deleteGoogleChatMessage } from "./channel.adapters--OFb3A2Y.mjs";
2
- import { n as googleChatApprovalAuth } from "./approval-auth-DH1sJm7S.mjs";
3
- import { t as getGoogleChatRuntime } from "./runtime-C5OOOlaP.mjs";
4
- import { n as escapeGoogleChatApprovalCardText, t as buildGoogleChatApprovalTextWidget } from "./approval-card-text-BKg_4mXq.mjs";
1
+ import { C as updateGoogleChatMessage, D as googleChatApprovalControls, O as readGoogleChatApprovalActionToken, S as sendGoogleChatMessage, b as downloadGoogleChatMedia, c as googleChatIngressIdentity, d as formatGoogleChatTextChunks, f as isGoogleChatGroupSpace, l as normalizeGoogleChatUserId, u as buildGoogleChatGroupPolicyScope, v as GoogleChatApiError, w as verifyGoogleChatRequest, x as probeGoogleChat, y as deleteGoogleChatMessage } from "./channel.adapters-5rr8crHQ.mjs";
2
+ import { n as googleChatApprovalAuth } from "./approval-auth-CKF1wHai.mjs";
3
+ import { t as getGoogleChatRuntime } from "./runtime-zEzHA5rr.mjs";
4
+ import { n as escapeGoogleChatApprovalCardText, t as buildGoogleChatApprovalTextWidget } from "./approval-card-text-9o-Dfr9Z.mjs";
5
5
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringEntries, normalizeTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
6
6
  import { mergePairLoopGuardConfig } from "openclaw/plugin-sdk/pair-loop-guard-runtime";
7
7
  import { PlatformMessageNotDispatchedError, collectErrorGraphCandidates, formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
@@ -23,7 +23,7 @@ import { GROUP_POLICY_BLOCKED_LABEL, resolveAllowlistProviderRuntimeGroupPolicy,
23
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
- //#region extensions/googlechat/src/approval-terminal-card.ts
26
+ // extensions/googlechat/src/approval-terminal-card.ts
27
27
  const GOOGLECHAT_APPROVAL_CARD_ID = "openclaw-approval";
28
28
  function formatCanonicalOutcome(approval) {
29
29
  switch (approval.status) {
@@ -70,8 +70,7 @@ function buildGoogleChatCanonicalApprovalTerminalCards(result) {
70
70
  }
71
71
  }];
72
72
  }
73
- //#endregion
74
- //#region extensions/googlechat/src/approval-card-click.ts
73
+ // extensions/googlechat/src/approval-card-click.ts
75
74
  function logIgnored(target, message) {
76
75
  target.runtime.log?.(`[${target.account.accountId}] googlechat approval ignored: ${message}`);
77
76
  }
@@ -138,8 +137,7 @@ async function maybeHandleGoogleChatApprovalCardClick(params) {
138
137
  params.target.runtime.log?.(`[${params.target.account.accountId}] googlechat approval ${label} id=${consumed.approvalId} status=${result.approval.status} decision=${decision} sender=${actor || "unknown"}`);
139
138
  return true;
140
139
  }
141
- //#endregion
142
- //#region extensions/googlechat/src/monitor-access.ts
140
+ // extensions/googlechat/src/monitor-access.ts
143
141
  function resolveGoogleChatGroupConfig(params) {
144
142
  const { groupId, groupName, groups } = params;
145
143
  const entries = groups ?? {};
@@ -390,8 +388,7 @@ async function applyGoogleChatInboundAccessPolicy(params) {
390
388
  groupSystemPrompt: normalizeOptionalString(groupEntry?.systemPrompt)
391
389
  };
392
390
  }
393
- //#endregion
394
- //#region extensions/googlechat/src/monitor-durable.ts
391
+ // extensions/googlechat/src/monitor-durable.ts
395
392
  function resolveGoogleChatDurableReplyOptions(params) {
396
393
  if (params.infoKind !== "final" || params.hasTypingMessage) return false;
397
394
  const threadId = params.payload.replyToId?.trim() || void 0;
@@ -405,8 +402,7 @@ function resolveGoogleChatDurableReplyOptions(params) {
405
402
  threadId
406
403
  };
407
404
  }
408
- //#endregion
409
- //#region extensions/googlechat/src/monitor-event.ts
405
+ // extensions/googlechat/src/monitor-event.ts
410
406
  var GoogleChatEventPayloadError = class extends Error {
411
407
  constructor() {
412
408
  super("invalid payload");
@@ -466,8 +462,7 @@ function parseGoogleChatInboundPayload(raw) {
466
462
  } else if (eventType === "CARD_CLICKED" && !isRecord$1(event.user)) throw new GoogleChatEventPayloadError();
467
463
  return event;
468
464
  }
469
- //#endregion
470
- //#region extensions/googlechat/src/monitor-ingress.ts
465
+ // extensions/googlechat/src/monitor-ingress.ts
471
466
  const GoogleChatIngressPermanentError = createChannelIngressError("GoogleChatIngressPermanentError", { withReason: true });
472
467
  function requiredString(value, field) {
473
468
  if (typeof value === "string" && value.trim()) return value.trim();
@@ -553,8 +548,7 @@ function createGoogleChatIngressMonitor(options) {
553
548
  classifyAdmissionError: (error) => error instanceof GoogleChatIngressPermanentError ? error.message : void 0
554
549
  });
555
550
  }
556
- //#endregion
557
- //#region extensions/googlechat/src/monitor-reply-delivery.ts
551
+ // extensions/googlechat/src/monitor-reply-delivery.ts
558
552
  function createGoogleChatTypingMessage(params) {
559
553
  const name = params.messageName.trim();
560
554
  const requestedThreadName = params.requestedThreadName?.trim();
@@ -661,8 +655,7 @@ async function deliverGoogleChatReply(params) {
661
655
  recordOutboundStatus();
662
656
  }
663
657
  }
664
- //#endregion
665
- //#region extensions/googlechat/src/monitor-reply-target.ts
658
+ // extensions/googlechat/src/monitor-reply-target.ts
666
659
  /**
667
660
  * Google Chat only accepts a thread resource (`spaces/x/threads/y`) as a reply
668
661
  * target. The automatic reply pipeline supplies the inbound *message* resource
@@ -679,8 +672,7 @@ function normalizeGoogleChatReplyTarget(params) {
679
672
  replyToId: params.replyThreadName
680
673
  };
681
674
  }
682
- //#endregion
683
- //#region extensions/googlechat/src/monitor-webhook.ts
675
+ // extensions/googlechat/src/monitor-webhook.ts
684
676
  function extractBearerToken(header) {
685
677
  const authHeader = Array.isArray(header) ? typeof header[0] === "string" ? header[0] : "" : typeof header === "string" ? header : "";
686
678
  return normalizeLowercaseStringOrEmpty(authHeader).startsWith("bearer ") ? authHeader.slice(7).trim() : "";
@@ -823,8 +815,7 @@ function createGoogleChatWebhookRequestHandler(params) {
823
815
  });
824
816
  };
825
817
  }
826
- //#endregion
827
- //#region extensions/googlechat/src/monitor-routing.ts
818
+ // extensions/googlechat/src/monitor-routing.ts
828
819
  const webhookTargets = /* @__PURE__ */ new Map();
829
820
  const webhookRateLimiter = createFixedWindowRateLimiter(WEBHOOK_RATE_LIMIT_DEFAULTS);
830
821
  const webhookInFlightLimiter = createWebhookInFlightLimiter();
@@ -862,8 +853,7 @@ function registerGoogleChatWebhookTarget(target) {
862
853
  }
863
854
  }).unregister;
864
855
  }
865
- //#endregion
866
- //#region extensions/googlechat/src/monitor.ts
856
+ // extensions/googlechat/src/monitor.ts
867
857
  setGoogleChatWebhookEventProcessor(processGoogleChatEvent);
868
858
  function logVerbose(core, runtime, message) {
869
859
  if (core.logging.shouldLogVerbose()) runtime.log?.(`[googlechat] ${message}`);
@@ -1229,13 +1219,11 @@ function resolveGoogleChatWebhookPath({ webhookPath, webhookUrl }) {
1229
1219
  defaultPath: "/googlechat"
1230
1220
  });
1231
1221
  }
1232
- //#endregion
1233
- //#region extensions/googlechat/src/channel.runtime.ts
1222
+ // extensions/googlechat/src/channel.runtime.ts
1234
1223
  const googleChatChannelRuntime = {
1235
1224
  probeGoogleChat,
1236
1225
  sendGoogleChatMessage,
1237
1226
  resolveGoogleChatWebhookPath,
1238
1227
  startGoogleChatMonitor
1239
1228
  };
1240
- //#endregion
1241
1229
  export { googleChatChannelRuntime };
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -23,8 +23,7 @@ var __copyProps = (to, from, except, desc) => {
23
23
  return to;
24
24
  };
25
25
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
26
- //#endregion
27
- //#region packages/normalization-core/src/record-coerce.ts
26
+ // packages/normalization-core/src/record-coerce.ts
28
27
  /** Type guard for non-array object records at browser-safe boundaries. */
29
28
  function isRecord(value) {
30
29
  return value !== null && typeof value === "object" && !Array.isArray(value);
@@ -33,8 +32,7 @@ function isRecord(value) {
33
32
  function asNullableRecord(value) {
34
33
  return isRecord(value) ? value : null;
35
34
  }
36
- //#endregion
37
- //#region src/config/channel-config-normalization.ts
35
+ // src/config/channel-config-normalization.ts
38
36
  /** Applies one channel-specific doctor migration to every object-shaped account. */
39
37
  function normalizeChannelAccounts(params) {
40
38
  const rawAccounts = asNullableRecord(params.entry.accounts);
@@ -110,8 +108,7 @@ function normalizeChannelConfigEntries$1(params) {
110
108
  changes
111
109
  };
112
110
  }
113
- //#endregion
114
- //#region src/plugin-sdk/legacy-webhook-listener-migration.ts
111
+ // src/plugin-sdk/legacy-webhook-listener-migration.ts
115
112
  /** Preserve explicitly configured webhook listeners while moving ingress onto Gateway routes. */
116
113
  function createLegacyWebhookListenerDoctorContract(params) {
117
114
  const portKey = params.portKey ?? "webhookPort";
@@ -181,13 +178,11 @@ function createLegacyWebhookListenerDoctorContract(params) {
181
178
  }
182
179
  };
183
180
  }
184
- //#endregion
185
- //#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
181
+ // \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
186
182
  var runtime_doctor_migrations_exports = /* @__PURE__ */ __exportAll({ createLegacyWebhookListenerDoctorContract: () => createLegacyWebhookListenerDoctorContract });
187
183
  import * as import_openclaw_plugin_sdk_runtime_doctor_migrations from "openclaw/plugin-sdk/runtime-doctor-migrations";
188
184
  __reExport(runtime_doctor_migrations_exports, import_openclaw_plugin_sdk_runtime_doctor_migrations);
189
- //#endregion
190
- //#region extensions/googlechat/src/doctor-contract.ts
185
+ // extensions/googlechat/src/doctor-contract.ts
191
186
  const streamingAliasMigration = (0, runtime_doctor_migrations_exports.defineChannelAliasMigration)({
192
187
  channelId: "googlechat",
193
188
  streaming: {
@@ -296,5 +291,4 @@ function normalizeCompatibilityConfig({ cfg }) {
296
291
  changes: retired.changes
297
292
  });
298
293
  }
299
- //#endregion
300
294
  export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
@@ -1,8 +1,7 @@
1
1
  import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
2
- //#region extensions/googlechat/src/runtime.ts
2
+ // extensions/googlechat/src/runtime.ts
3
3
  const { setRuntime: setGoogleChatRuntime, getRuntime: getGoogleChatRuntime } = createPluginRuntimeStore({
4
4
  pluginId: "googlechat",
5
5
  errorMessage: "Google Chat runtime not initialized"
6
6
  });
7
- //#endregion
8
7
  export { setGoogleChatRuntime as n, getGoogleChatRuntime as t };
@@ -1,2 +1,2 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-D7KjX374.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-h2P-4VpL.mjs";
2
2
  import "../secret-contract-api.js";
@@ -2,7 +2,7 @@ import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
2
2
  import { hasConfiguredAccountValue } from "openclaw/plugin-sdk/account-resolution";
3
3
  import { coerceSecretRef } from "openclaw/plugin-sdk/secret-input";
4
4
  import { createChannelSecretContract, hasOwnProperty, pushAssignment, pushInactiveSurfaceWarning } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
5
- //#region extensions/googlechat/src/secret-contract.ts
5
+ // extensions/googlechat/src/secret-contract.ts
6
6
  function accountSecretOwner(accountId) {
7
7
  return {
8
8
  ownerKind: "account",
@@ -74,5 +74,4 @@ const channelSecrets = createChannelSecretContract({
74
74
  }
75
75
  });
76
76
  const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
77
- //#endregion
78
77
  export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
@@ -0,0 +1,2 @@
1
+ export { r as googlechatSetupPlugin } from "./channel-base-BFV0cGQ2.mjs";
2
+ import "../setup-plugin-api.js";
@@ -1 +1 @@
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"]}
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-uo0lf5AI.mjs","sha256":"9491b555adce2d9fc46e5eb13d765646700715304995533f4ab8b190532d3ac1","facadeSource":"extensions/googlechat/src/actions.ts","sources":["extensions/googlechat/src/actions.ts"]},{"output":".setup/approval-auth-CKF1wHai.mjs","sha256":"d528e256f5a4665431d0fae942ad4dc1c34bce21f432cd62ea613ddf0ef0aed4","facadeSource":null,"sources":["extensions/googlechat/src/approval-auth.ts"]},{"output":".setup/approval-card-text-9o-Dfr9Z.mjs","sha256":"acd260416e2c70d91b277feb6e4617c7873c2d30dceabbd6ee017161d84f9302","facadeSource":null,"sources":["extensions/googlechat/src/approval-card-text.ts"]},{"output":".setup/approval-handler.runtime-wYtTR6as.mjs","sha256":"6e1bb21c51a25ec3c25da51abe6416522b75147664372421d41fe441f8ebcef6","facadeSource":"extensions/googlechat/src/approval-handler.runtime.ts","sources":["extensions/googlechat/src/approval-handler.runtime.ts"]},{"output":".setup/channel-base-BFV0cGQ2.mjs","sha256":"4432c9b98d4eb0a40ce7925c79a0c30e9111e59928958d6d93dc5a7b0e63b498","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-ZbGyNgH9.mjs","sha256":"30b36aadd1f0e72db21d61dc0c5ce320875dbe02c164dd494763ce506e5ffd27","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-5rr8crHQ.mjs","sha256":"b9f8cfc23752477601bec6bfa7bb5ac88ac808a6cd001a61d1c76abd27970cf1","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-DkrekcGA.mjs","sha256":"d9523fc897aee7966ecdcda43748f1b7d39622e3d00b34b0c9edaa3cced0bd9d","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-WrFOPxEj.mjs","sha256":"ac87e042e1965530c26cb25d48979f02332a586a8928814388621e247b5823fc","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-zEzHA5rr.mjs","sha256":"ca736781dfaabb9b01e948b24fa82b567feaaf70cc6a15f880d0efd4e2fc0452","facadeSource":null,"sources":["extensions/googlechat/src/runtime.ts"]},{"output":".setup/secret-contract-api-CLRweErW.mjs","sha256":"ee90fabda59b98d84f7d5ae73c2b250527282f788916449c3f33968beb9001fe","facadeSource":"extensions/googlechat/secret-contract-api.ts","sources":[]},{"output":".setup/secret-contract-h2P-4VpL.mjs","sha256":"b894119f1d787508dc3a726be8bf8ca8670b707a7a76678787b9de8d497d9116","facadeSource":null,"sources":["extensions/googlechat/src/secret-contract.ts"]},{"output":".setup/setup-plugin-api-Dru1eW9z.mjs","sha256":"914efc1bd1576f3fe835b9d79fea654ac56f6d492a7a676f5bd984169c2c704b","facadeSource":"extensions/googlechat/setup-plugin-api.ts","sources":[]},{"output":"api.js","sha256":"db54e51d82e48e43aea13e84b5da2dba9905fe2ddd2d752c783c8fcbcd586bd0","facadeSource":"extensions/googlechat/api.ts","sources":[]},{"output":"channel-config-api.js","sha256":"cf612ab901974dfabb2c06edb513d91bb0bd4dac199bcf166f3fac5e12540bf5","facadeSource":"extensions/googlechat/channel-config-api.ts","sources":["extensions/googlechat/src/config-schema.ts"]},{"output":"channel-plugin-api.js","sha256":"3751b0af2542ea1ac99f9c7a88b7a613b6edf2f70e0ba5e1a9a5d7839146a3e3","facadeSource":"extensions/googlechat/channel-plugin-api.ts","sources":[]},{"output":"directory-contract-api.js","sha256":"f0fb8ede4c7c5f2d55ac8eba69fccb6e26e9852e5acbfd7f84e03a9ef9c91433","facadeSource":"extensions/googlechat/directory-contract-api.ts","sources":["extensions/googlechat/directory-contract-api.ts"]},{"output":"doctor-contract-api.js","sha256":"ede0e3577556acfd4a4df679979f5adcef7008639c1f4638ab6f375eb7d18077","facadeSource":"extensions/googlechat/doctor-contract-api.ts","sources":[]},{"output":"index.js","sha256":"a8677a1c9368c3c78c2f83b73ec50cece345574790a652c9162219b76404987c","facadeSource":"extensions/googlechat/index.ts","sources":["extensions/googlechat/index.ts"]},{"output":"runtime-api.js","sha256":"b149bacfb902e955995a631d92f928bcb02512bc30d45da3c93ad22570dc20da","facadeSource":"extensions/googlechat/runtime-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"e2f8dcd992e1b82c48e592f948edd726064dabe13bb6e0bafd98479be4d05418","facadeSource":"extensions/googlechat/secret-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"f0bf84ccc2abc89c4b391769fa21aafb6a92e6d873d3a2c7803cb891698e9163","facadeSource":"extensions/googlechat/setup-entry.ts","sources":["extensions/googlechat/setup-entry.ts"]},{"output":"setup-plugin-api.js","sha256":"0edcff1c63d66ce8e2434d706b33b071a8d06be4b06104e1ee4e05feec9849b5","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"]}
package/dist/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as googlechatSetupAdapter, i as googlechatSetupWizard } from "./.setup/channel-base-sWlG7EP1.mjs";
2
- import { t as googlechatPlugin } from "./.setup/channel-BBRTocXs.mjs";
1
+ import { a as googlechatSetupAdapter, i as googlechatSetupWizard } from "./.setup/channel-base-BFV0cGQ2.mjs";
2
+ import { t as googlechatPlugin } from "./.setup/channel-ZbGyNgH9.mjs";
3
3
  export { googlechatPlugin, googlechatSetupAdapter, googlechatSetupWizard };
@@ -1,5 +1,4 @@
1
1
  import { n as buildChannelConfigSchema, t as GoogleChatConfigSchema } from "./.setup/config-api-CsD0IFxF.mjs";
2
- //#region extensions/googlechat/src/config-schema.ts
2
+ // extensions/googlechat/src/config-schema.ts
3
3
  const GoogleChatChannelConfigSchema = buildChannelConfigSchema(GoogleChatConfigSchema);
4
- //#endregion
5
4
  export { GoogleChatChannelConfigSchema };
@@ -1 +1 @@
1
- export { t as googlechatPlugin } from "./.setup/channel-BBRTocXs.mjs";
1
+ export { t as googlechatPlugin } from "./.setup/channel-ZbGyNgH9.mjs";
@@ -1,8 +1,7 @@
1
- import { t as googlechatDirectoryAdapter } from "./.setup/channel.adapters--OFb3A2Y.mjs";
2
- //#region extensions/googlechat/directory-contract-api.ts
1
+ import { t as googlechatDirectoryAdapter } from "./.setup/channel.adapters-5rr8crHQ.mjs";
2
+ // extensions/googlechat/directory-contract-api.ts
3
3
  const googlechatDirectoryContractPlugin = {
4
4
  id: "googlechat",
5
5
  directory: googlechatDirectoryAdapter
6
6
  };
7
- //#endregion
8
7
  export { googlechatDirectoryContractPlugin };
@@ -1 +1 @@
1
- export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-BzoaiFSD.mjs";
1
+ export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-WrFOPxEj.mjs";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
- //#region extensions/googlechat/index.ts
2
+ // extensions/googlechat/index.ts
3
3
  var googlechat_default = defineBundledChannelEntry({
4
4
  id: "googlechat",
5
5
  name: "Google Chat",
@@ -18,5 +18,4 @@ var googlechat_default = defineBundledChannelEntry({
18
18
  exportName: "setGoogleChatRuntime"
19
19
  }
20
20
  });
21
- //#endregion
22
21
  export { googlechat_default as default };
@@ -1 +1 @@
1
- export { n as setGoogleChatRuntime } from "./.setup/runtime-C5OOOlaP.mjs";
1
+ export { n as setGoogleChatRuntime } from "./.setup/runtime-zEzHA5rr.mjs";
@@ -1 +1 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-D7KjX374.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-h2P-4VpL.mjs";
@@ -1,16 +1,15 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region extensions/googlechat/setup-entry.ts
3
+ // extensions/googlechat/setup-entry.ts
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-CFDZH0Qp.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/setup-plugin-api-Dru1eW9z.mjs", import.meta.url).href),
8
8
  exportName: "googlechatSetupPlugin"
9
9
  },
10
10
  secrets: {
11
- specifier: fileURLToPath(new URL(".setup/secret-contract-api-BG_8yVjr.mjs", import.meta.url).href),
11
+ specifier: fileURLToPath(new URL(".setup/secret-contract-api-CLRweErW.mjs", import.meta.url).href),
12
12
  exportName: "channelSecrets"
13
13
  }
14
14
  });
15
- //#endregion
16
15
  export { setup_entry_default as default };
@@ -1 +1 @@
1
- export { r as googlechatSetupPlugin } from "./.setup/channel-base-sWlG7EP1.mjs";
1
+ export { r as googlechatSetupPlugin } from "./.setup/channel-base-BFV0cGQ2.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/googlechat",
3
- "version": "2026.10.10-beta.5",
3
+ "version": "2026.10.10",
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.10.10-beta.5"
15
+ "openclaw": ">=2026.10.10"
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.10.10-beta.5"
138
+ "pluginApi": ">=2026.10.10"
139
139
  },
140
140
  "build": {
141
- "openclawVersion": "2026.10.10-beta.5"
141
+ "openclawVersion": "2026.10.10"
142
142
  },
143
143
  "release": {
144
144
  "publishToClawHub": true,
@@ -1,2 +0,0 @@
1
- export { r as googlechatSetupPlugin } from "./channel-base-sWlG7EP1.mjs";
2
- import "../setup-plugin-api.js";