@openclaw/googlechat 2026.6.9-beta.1 → 2026.6.9
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-C04gwS_r.js → actions-CD1aBGEt.js} +1 -1
- package/dist/api.js +1 -1
- package/dist/{approval-auth-DuZX088b.js → approval-auth-C-eKNZAV.js} +1 -1
- package/dist/{approval-handler.runtime-BINXA5ac.js → approval-handler.runtime-DSyDDrrE.js} +2 -2
- package/dist/{channel-DdyiyZCr.js → channel-B0rUtvbH.js} +7 -8
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.adapters-rfIzAe6X.js → channel.adapters-DqnXEL1u.js} +3 -4
- package/dist/{channel.runtime-DCjJHHQx.js → channel.runtime-BMM1gm2H.js} +2 -2
- package/dist/directory-contract-api.js +1 -1
- package/npm-shrinkwrap.json +3 -3
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as resolveGoogleChatAccount, o as listEnabledGoogleChatAccounts } from "./channel-base-Qh87GFW_.js";
|
|
2
|
-
import { b as uploadGoogleChatAttachment, d as resolveGoogleChatOutboundSpace, f as createGoogleChatReaction, g as listGoogleChatReactions, m as deleteGoogleChatReaction, v as sendGoogleChatMessage } from "./channel.adapters-
|
|
2
|
+
import { b as uploadGoogleChatAttachment, d as resolveGoogleChatOutboundSpace, f as createGoogleChatReaction, g as listGoogleChatReactions, m as deleteGoogleChatReaction, v as sendGoogleChatMessage } from "./channel.adapters-DqnXEL1u.js";
|
|
3
3
|
import { P as getGoogleChatRuntime } from "./runtime-api-BbVoWRxq.js";
|
|
4
4
|
import { extractToolSend } from "openclaw/plugin-sdk/tool-send";
|
|
5
5
|
import { createActionGate, jsonResult, readPositiveIntegerParam, readReactionParams, readStringParam } from "openclaw/plugin-sdk/channel-actions";
|
package/dist/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as googlechatSetupAdapter, i as googlechatSetupWizard } from "./channel-base-Qh87GFW_.js";
|
|
2
|
-
import { t as googlechatPlugin } from "./channel-
|
|
2
|
+
import { t as googlechatPlugin } from "./channel-B0rUtvbH.js";
|
|
3
3
|
export { googlechatPlugin, googlechatSetupAdapter, googlechatSetupWizard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as resolveGoogleChatAccount } from "./channel-base-Qh87GFW_.js";
|
|
2
|
-
import { l as isGoogleChatUserTarget, u as normalizeGoogleChatTarget } from "./channel.adapters-
|
|
2
|
+
import { l as isGoogleChatUserTarget, u as normalizeGoogleChatTarget } from "./channel.adapters-DqnXEL1u.js";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { createResolvedApproverActionAuthAdapter, resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
5
5
|
//#region extensions/googlechat/src/approval-auth.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as resolveGoogleChatAccount } from "./channel-base-Qh87GFW_.js";
|
|
2
|
-
import { A as registerGoogleChatManualApprovalFollowupSuppression, C as buildGoogleChatApprovalActionParameters, E as createGoogleChatApprovalToken, M as unregisterGoogleChatApprovalCardBindings, N as unregisterGoogleChatManualApprovalFollowupSuppression, S as GOOGLECHAT_APPROVAL_ACTION, d as resolveGoogleChatOutboundSpace, k as registerGoogleChatApprovalCardBinding, v as sendGoogleChatMessage, y as updateGoogleChatMessage } from "./channel.adapters-
|
|
3
|
-
import { n as isGoogleChatNativeApprovalClientEnabled, r as shouldHandleGoogleChatNativeApprovalRequest } from "./channel-
|
|
2
|
+
import { A as registerGoogleChatManualApprovalFollowupSuppression, C as buildGoogleChatApprovalActionParameters, E as createGoogleChatApprovalToken, M as unregisterGoogleChatApprovalCardBindings, N as unregisterGoogleChatManualApprovalFollowupSuppression, S as GOOGLECHAT_APPROVAL_ACTION, d as resolveGoogleChatOutboundSpace, k as registerGoogleChatApprovalCardBinding, v as sendGoogleChatMessage, y as updateGoogleChatMessage } from "./channel.adapters-DqnXEL1u.js";
|
|
3
|
+
import { n as isGoogleChatNativeApprovalClientEnabled, r as shouldHandleGoogleChatNativeApprovalRequest } from "./channel-B0rUtvbH.js";
|
|
4
4
|
import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
5
5
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { createChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveDefaultGoogleChatAccountId, l as resolveGoogleChatAccount, n as createGoogleChatPluginBase, s as listGoogleChatAccountIds, t as GOOGLECHAT_CHANNEL_ID } from "./channel-base-Qh87GFW_.js";
|
|
2
|
-
import { a as googlechatPairingTextAdapter, c as isGoogleChatSpaceTarget, i as googlechatOutboundAdapter, l as isGoogleChatUserTarget, n as googlechatGroupsAdapter, o as googlechatSecurityAdapter, r as googlechatMessageAdapter, s as googlechatThreadingAdapter, t as googlechatDirectoryAdapter, u as normalizeGoogleChatTarget } from "./channel.adapters-
|
|
2
|
+
import { a as googlechatPairingTextAdapter, c as isGoogleChatSpaceTarget, i as googlechatOutboundAdapter, l as isGoogleChatUserTarget, n as googlechatGroupsAdapter, o as googlechatSecurityAdapter, r as googlechatMessageAdapter, s as googlechatThreadingAdapter, t as googlechatDirectoryAdapter, u as normalizeGoogleChatTarget } from "./channel.adapters-DqnXEL1u.js";
|
|
3
3
|
import { a as buildChannelConfigSchema, r as GoogleChatConfigSchema, t as DEFAULT_ACCOUNT_ID } from "./runtime-api-BbVoWRxq.js";
|
|
4
|
-
import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-
|
|
4
|
+
import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-C-eKNZAV.js";
|
|
5
5
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BcEqUZ4j.js";
|
|
6
6
|
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-lCMHqumt.js";
|
|
7
7
|
import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
@@ -9,7 +9,7 @@ import { buildPassiveProbedChannelStatusSummary } from "openclaw/plugin-sdk/exte
|
|
|
9
9
|
import { createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime";
|
|
10
10
|
import { createComputedAccountStatusAdapter, createDefaultChannelRuntimeState } from "openclaw/plugin-sdk/status-helpers";
|
|
11
11
|
import { extractToolSend } from "openclaw/plugin-sdk/tool-send";
|
|
12
|
-
import { createApproverRestrictedNativeApprovalCapability
|
|
12
|
+
import { createApproverRestrictedNativeApprovalCapability } from "openclaw/plugin-sdk/approval-delivery-runtime";
|
|
13
13
|
import { CHANNEL_APPROVAL_NATIVE_RUNTIME_CONTEXT_CAPABILITY, createLazyChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-adapter-runtime";
|
|
14
14
|
import { createChannelApproverDmTargetResolver, createChannelNativeOriginTargetResolver, createNativeApprovalChannelRouteGates, shouldSuppressLocalNativeExecApprovalPrompt } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
15
15
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -139,10 +139,9 @@ const googleChatApprovalCapability = createApproverRestrictedNativeApprovalCapab
|
|
|
139
139
|
accountId,
|
|
140
140
|
request
|
|
141
141
|
}),
|
|
142
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
142
|
+
load: async () => (await import("./approval-handler.runtime-DSyDDrrE.js")).googleChatApprovalNativeRuntime
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
|
-
splitChannelApprovalCapability(googleChatApprovalCapability);
|
|
146
145
|
//#endregion
|
|
147
146
|
//#region extensions/googlechat/src/doctor.ts
|
|
148
147
|
function asObjectRecord(value) {
|
|
@@ -182,7 +181,7 @@ const collectGoogleChatMutableAllowlistWarnings = createDangerousNameMatchingMut
|
|
|
182
181
|
});
|
|
183
182
|
//#endregion
|
|
184
183
|
//#region extensions/googlechat/src/gateway.ts
|
|
185
|
-
const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
184
|
+
const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-BMM1gm2H.js"), "googleChatChannelRuntime");
|
|
186
185
|
async function startGoogleChatGatewayAccount(ctx) {
|
|
187
186
|
const account = ctx.account;
|
|
188
187
|
const statusSink = createAccountStatusSink({
|
|
@@ -244,7 +243,7 @@ async function startGoogleChatGatewayAccount(ctx) {
|
|
|
244
243
|
}
|
|
245
244
|
//#endregion
|
|
246
245
|
//#region extensions/googlechat/src/channel.ts
|
|
247
|
-
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
246
|
+
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-BMM1gm2H.js"), "googleChatChannelRuntime");
|
|
248
247
|
const googlechatActions = {
|
|
249
248
|
describeMessageTool: ({ cfg, accountId }) => {
|
|
250
249
|
const accounts = accountId ? [resolveGoogleChatAccount({
|
|
@@ -264,7 +263,7 @@ const googlechatActions = {
|
|
|
264
263
|
},
|
|
265
264
|
extractToolSend: ({ args }) => extractToolSend(args, "sendMessage"),
|
|
266
265
|
handleAction: async (ctx) => {
|
|
267
|
-
const { googlechatMessageActions } = await import("./actions-
|
|
266
|
+
const { googlechatMessageActions } = await import("./actions-CD1aBGEt.js");
|
|
268
267
|
if (!googlechatMessageActions.handleAction) throw new Error("Google Chat actions are not available.");
|
|
269
268
|
return await googlechatMessageActions.handleAction(ctx);
|
|
270
269
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as googlechatPlugin } from "./channel-
|
|
1
|
+
import { t as googlechatPlugin } from "./channel-B0rUtvbH.js";
|
|
2
2
|
export { googlechatPlugin };
|
|
@@ -842,7 +842,7 @@ function resolveGoogleChatGroupRequireMention(params) {
|
|
|
842
842
|
}
|
|
843
843
|
//#endregion
|
|
844
844
|
//#region extensions/googlechat/src/channel.adapters.ts
|
|
845
|
-
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
845
|
+
const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-BMM1gm2H.js"), "googleChatChannelRuntime");
|
|
846
846
|
function createGoogleChatSendReceipt(params) {
|
|
847
847
|
const messageId = params.messageId?.trim();
|
|
848
848
|
return createMessageReceiptFromOutboundResults({
|
|
@@ -856,7 +856,6 @@ function createGoogleChatSendReceipt(params) {
|
|
|
856
856
|
kind: params.kind
|
|
857
857
|
});
|
|
858
858
|
}
|
|
859
|
-
const formatAllowFromEntry = formatGoogleChatAllowFromEntry;
|
|
860
859
|
const collectGoogleChatSecurityWarnings = composeAccountWarningCollectors(createAllowlistProviderOpenWarningCollector({
|
|
861
860
|
providerConfigPresent: (cfg) => cfg.channels?.googlechat !== void 0,
|
|
862
861
|
resolveGroupPolicy: (account) => account.config.groupPolicy,
|
|
@@ -886,7 +885,7 @@ const googlechatSecurityAdapter = {
|
|
|
886
885
|
resolvePolicy: (account) => account.config.dm?.policy,
|
|
887
886
|
resolveAllowFrom: (account) => account.config.dm?.allowFrom,
|
|
888
887
|
allowFromPathSuffix: "dm.",
|
|
889
|
-
normalizeEntry: (raw) =>
|
|
888
|
+
normalizeEntry: (raw) => formatGoogleChatAllowFromEntry(raw)
|
|
890
889
|
},
|
|
891
890
|
collectWarnings: collectGoogleChatSecurityWarnings
|
|
892
891
|
};
|
|
@@ -917,7 +916,7 @@ const googlechatThreadingAdapter = {
|
|
|
917
916
|
const googlechatPairingTextAdapter = {
|
|
918
917
|
idLabel: "googlechatUserId",
|
|
919
918
|
message: PAIRING_APPROVED_MESSAGE,
|
|
920
|
-
normalizeAllowEntry: (entry) =>
|
|
919
|
+
normalizeAllowEntry: (entry) => formatGoogleChatAllowFromEntry(entry),
|
|
921
920
|
notify: async ({ cfg, id, message, accountId }) => {
|
|
922
921
|
const account = resolveGoogleChatAccount({
|
|
923
922
|
cfg,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as getGoogleChatApprovalCardBinding, O as readGoogleChatApprovalActionToken, T as completeGoogleChatApprovalCardBinding, _ as probeGoogleChat, b as uploadGoogleChatAttachment, h as downloadGoogleChatMedia, j as releaseGoogleChatApprovalCardBinding, p as deleteGoogleChatMessage, v as sendGoogleChatMessage, w as claimGoogleChatApprovalCardBinding, x as verifyGoogleChatRequest, y as updateGoogleChatMessage } from "./channel.adapters-
|
|
1
|
+
import { D as getGoogleChatApprovalCardBinding, O as readGoogleChatApprovalActionToken, T as completeGoogleChatApprovalCardBinding, _ as probeGoogleChat, b as uploadGoogleChatAttachment, h as downloadGoogleChatMedia, j as releaseGoogleChatApprovalCardBinding, p as deleteGoogleChatMessage, v as sendGoogleChatMessage, w as claimGoogleChatApprovalCardBinding, x as verifyGoogleChatRequest, y as updateGoogleChatMessage } from "./channel.adapters-DqnXEL1u.js";
|
|
2
2
|
import { E as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, O as resolveInboundRouteEnvelopeBuilderWithRuntime, P as getGoogleChatRuntime, k as resolveWebhookPath, m as isDangerousNameMatchingEnabled, n as GROUP_POLICY_BLOCKED_LABEL, u as createChannelPairingController, w as resolveAllowlistProviderRuntimeGroupPolicy } from "./runtime-api-BbVoWRxq.js";
|
|
3
|
-
import { n as googleChatApprovalAuth } from "./approval-auth-
|
|
3
|
+
import { n as googleChatApprovalAuth } from "./approval-auth-C-eKNZAV.js";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { mergePairLoopGuardConfig } from "openclaw/plugin-sdk/pair-loop-guard-runtime";
|
|
6
6
|
import { recordChannelBotPairLoopAndCheckSuppression } from "openclaw/plugin-sdk/channel-inbound";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as googlechatDirectoryAdapter } from "./channel.adapters-
|
|
1
|
+
import { t as googlechatDirectoryAdapter } from "./channel.adapters-DqnXEL1u.js";
|
|
2
2
|
//#region extensions/googlechat/directory-contract-api.ts
|
|
3
3
|
const googlechatDirectoryContractPlugin = {
|
|
4
4
|
id: "googlechat",
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/googlechat",
|
|
3
|
-
"version": "2026.6.9
|
|
3
|
+
"version": "2026.6.9",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/googlechat",
|
|
9
|
-
"version": "2026.6.9
|
|
9
|
+
"version": "2026.6.9",
|
|
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.6.9
|
|
16
|
+
"openclaw": ">=2026.6.9"
|
|
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.6.9
|
|
3
|
+
"version": "2026.6.9",
|
|
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.6.9
|
|
16
|
+
"openclaw": ">=2026.6.9"
|
|
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.6.9
|
|
74
|
+
"pluginApi": ">=2026.6.9"
|
|
75
75
|
},
|
|
76
76
|
"build": {
|
|
77
|
-
"openclawVersion": "2026.6.9
|
|
77
|
+
"openclawVersion": "2026.6.9"
|
|
78
78
|
},
|
|
79
79
|
"release": {
|
|
80
80
|
"publishToClawHub": true,
|