@openclaw/discord 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.
- package/dist/.setup/{account-inspect-8cCu6uPG.mjs → account-inspect-X_Xlr42B.mjs} +2 -3
- package/dist/.setup/{accounts-ljrzXBJi.mjs → accounts-C18HNgge.mjs} +4 -8
- package/dist/.setup/{active-turn-thread-route-C4tp9noA.mjs → active-turn-thread-route-BAc_Xik-.mjs} +1 -2
- package/dist/.setup/{allow-list-B_ToXtew.mjs → allow-list-D1ZGfhXh.mjs} +5 -10
- package/dist/.setup/{api-CtmE1OUN.mjs → api-Bth1wKF9.mjs} +3 -5
- package/dist/.setup/{approval-handler.runtime-Db06VTbO.mjs → approval-handler.runtime-BAoEELJJ.mjs} +8 -9
- package/dist/.setup/{approval-message-updates-wbUqLtLI.mjs → approval-message-updates-Cks-MSCJ.mjs} +3 -4
- package/dist/.setup/{audit-BXOSwPCj.mjs → audit-Dw_rAZIz.mjs} +6 -7
- package/dist/.setup/{channel-D2pO9g6n.mjs → channel-BMpMAeQL.mjs} +33 -41
- package/dist/.setup/{channel-access-DasWY_OV.mjs → channel-access-BPrWoEXM.mjs} +1 -2
- package/dist/.setup/{channel.setup-5fHTqcKz.mjs → channel.setup-DVe7Y3Jf.mjs} +8 -12
- package/dist/.setup/{command-deploy-store-DFkBTViB.mjs → command-deploy-store-DPWiBMks.mjs} +1 -2
- package/dist/.setup/{command-owners-C7rUdqUX.mjs → command-owners-BzlhNBxA.mjs} +1 -2
- package/dist/.setup/{components-C_cuoW1q.mjs → components-BvOWSPxr.mjs} +11 -20
- package/dist/.setup/{config-schema-_uBILpQf.mjs → config-schema-Coyq5wOr.mjs} +3 -5
- package/dist/.setup/{conversation-binding-route-Dcqrf96n.mjs → conversation-binding-route-DOPUZNYo.mjs} +2 -3
- package/dist/.setup/{directory-config-3iVub-3m.mjs → directory-config-CIqVnQtn.mjs} +3 -4
- package/dist/.setup/{directory-live-DLygQVtW.mjs → directory-live-DUuPEWub.mjs} +7 -10
- package/dist/.setup/{discord-Cl2OPTZ6.mjs → discord-eFlHX1Gn.mjs} +35 -68
- package/dist/.setup/{doctor-t9tc4fim.mjs → doctor-Dty_Ossy.mjs} +8 -9
- package/dist/.setup/{doctor-contract-Bwv8EuQ_.mjs → doctor-contract-Dstl3cMg.mjs} +2 -3
- package/dist/.setup/{handle-action-CRH5-aLm.mjs → handle-action-DXY91jF-.mjs} +10 -11
- package/dist/.setup/{handle-action.guild-admin-BCWdfNPn.mjs → handle-action.guild-admin-BvBCfhXF.mjs} +3 -4
- package/dist/.setup/{live-policy-config-BPoB3eQi.mjs → live-policy-config-DO1Fk2hp.mjs} +3 -5
- package/dist/.setup/{message-handler-BvzZOXLT.mjs → message-handler-fL1j1NiR.mjs} +11 -16
- package/dist/.setup/{message-handler.preflight-DD0kun2e.mjs → message-handler.preflight-DkjwNZAd.mjs} +20 -28
- package/dist/.setup/{message-handler.preflight-pluralkit-DQygfoVJ.mjs → message-handler.preflight-pluralkit-DR4BnvMU.mjs} +10 -14
- package/dist/.setup/{message-handler.process-1dRMGRR1.mjs → message-handler.process-ClOwIPDK.mjs} +33 -47
- package/dist/.setup/{outbound-adapter-gpo_85fY.mjs → outbound-adapter-DWyAWBFh.mjs} +13 -19
- package/dist/.setup/{outbound-session-route-D-qWvLfS.mjs → outbound-session-route-TFBPPkoz.mjs} +21 -32
- package/dist/.setup/{output-activity-uBpMSX75.mjs → output-activity-CDgs2s3O.mjs} +1 -2
- package/dist/.setup/{pluralkit-B64dfq_j.mjs → pluralkit-DcXbHTpQ.mjs} +2 -3
- package/dist/.setup/{preflight-audio-wWgsZG5F.mjs → preflight-audio-CwtPIsvk.mjs} +1 -2
- package/dist/.setup/{presence-cache-DCeTsL73.mjs → presence-cache-CgutE4NN.mjs} +1 -2
- package/dist/.setup/{probe-D3P1x4aN.mjs → probe-DNge7OEP.mjs} +5 -6
- package/dist/.setup/{provider-D2gXZbGd.mjs → provider-BBDuE14w.mjs} +119 -209
- package/dist/.setup/{provider-session.runtime-3bl84wqI.mjs → provider-session.runtime-D8hMXXqJ.mjs} +3 -3
- package/dist/.setup/provider.runtime-BQ1z4Aq1.mjs +1 -0
- package/dist/.setup/{realtime-session.runtime-Cw2Nz11j.mjs → realtime-session.runtime-cetognkp.mjs} +14 -23
- package/dist/.setup/{receive-recovery-CKvaG2Hf.mjs → receive-recovery-C77CVdGM.mjs} +3 -6
- package/dist/.setup/{resolve-allowlist-common-DNSsUQRF.mjs → resolve-allowlist-common-CI77288n.mjs} +5 -7
- package/dist/.setup/{resolve-channels-UdT38DzU.mjs → resolve-channels-DYc6-xgV.mjs} +5 -6
- package/dist/.setup/{resolve-users-DnCsrXZ_.mjs → resolve-users-BQT7XWF2.mjs} +4 -5
- package/dist/.setup/{rolldown-runtime-B4FMCO8f.mjs → rolldown-runtime-nwUcYXjP.mjs} +1 -2
- package/dist/.setup/{runtime-By-vo8b-.mjs → runtime-CI0UJqeS.mjs} +23 -35
- package/dist/.setup/{runtime-BRsj76Px.mjs → runtime-CcijhTJT.mjs} +4 -6
- package/dist/.setup/{runtime-DgnVQ7zW.mjs → runtime-DcBvHOm1.mjs} +1 -2
- package/dist/.setup/{runtime-doctor-migrations-BPV-R4G9.mjs → runtime-doctor-migrations-BpV1jKk0.mjs} +5 -9
- package/dist/.setup/{secret-config-contract-CIsH7R3B.mjs → secret-config-contract-BdbCvqnM.mjs} +1 -2
- package/dist/.setup/{security-audit-BFT84Uny.mjs → security-audit-CTwisG7c.mjs} +3 -4
- package/dist/.setup/{security-contract-DNyyjTZZ.mjs → security-contract-D-o0iWDk.mjs} +1 -2
- package/dist/.setup/{security-doctor-nGgPm65L.mjs → security-doctor-4s7omTZd.mjs} +1 -2
- package/dist/.setup/{send-Ca810XtV.mjs → send-Cbq-IVsS.mjs} +18 -28
- package/dist/.setup/{send.components-DxpLdHrr.mjs → send.components-BV6ucNpJ.mjs} +10 -13
- package/dist/.setup/{send.outbound-ByYCrfta.mjs → send.outbound-CGhBhzjQ.mjs} +9 -13
- package/dist/.setup/{send.receipt-DkwJ1h9E.mjs → send.receipt-Dw-_r5Bx.mjs} +9 -16
- package/dist/.setup/{send.shared-C2J1g_uJ.mjs → send.shared-D4MioxW_.mjs} +14 -23
- package/dist/.setup/{sender-identity-BNBvGt1l.mjs → sender-identity-DrN5c4ec.mjs} +2 -3
- package/dist/.setup/{session-contract-BO5tlIdl.mjs → session-contract-Bq71MS78.mjs} +1 -2
- package/dist/.setup/{session-key-normalization-CCHGNSQw.mjs → session-key-normalization-Cfvze5hd.mjs} +1 -2
- package/dist/.setup/setup-plugin-api-B4J6wmL1.mjs +2 -0
- package/dist/.setup/{shared-DbNfsfcr.mjs → shared-Bp0sxD5R.mjs} +15 -19
- package/dist/.setup/{subagent-hooks-BhV5ZVej.mjs → subagent-hooks-mQbDkvuD.mjs} +3 -4
- package/dist/.setup/{system-events-DGsxf-l9.mjs → system-events-2zc2eGfF.mjs} +3 -4
- package/dist/.setup/{target-parsing-C-HyNxcE.mjs → target-parsing-BiuhcK9Q.mjs} +1 -2
- package/dist/.setup/{target-resolver-BxRZHPL3.mjs → target-resolver-CAHeVfmZ.mjs} +6 -7
- package/dist/.setup/targets-BaklhOqq.mjs +3 -0
- package/dist/.setup/{thread-binding-api-BDZJD4na.mjs → thread-binding-api-Drd4Zu-5.mjs} +1 -2
- package/dist/.setup/{thread-bindings-c0WwzyHH.mjs → thread-bindings-Dg7X_ZXP.mjs} +8 -11
- package/dist/.setup/{thread-bindings.manager-B7HFHXrI.mjs → thread-bindings.manager-DCDYksah.mjs} +15 -20
- package/dist/.setup/{thread-bindings.session-updates-BMdJeJMc.mjs → thread-bindings.session-updates-C76plLS3.mjs} +5 -9
- package/dist/.setup/{threading-DJjzMR2f.mjs → threading-l0UfrE6x.mjs} +6 -9
- package/dist/.setup/{timeouts-CuNARfyw.mjs → timeouts-DTrUsJ_W.mjs} +1 -2
- package/dist/.setup/{transcripts-source-MRAZocrc.mjs → transcripts-source-CGgOaWcu.mjs} +19 -32
- package/dist/.setup/{typing-CNlSKY5S.mjs → typing-DAv4S2fI.mjs} +2 -3
- package/dist/.setup/{voice-runtime-_LfZ3Za7.mjs → voice-runtime-DY1EwDfi.mjs} +33 -55
- package/dist/.source-module-urls/d6c089460280c5a04184542d6712e04545caeb1ebb290d3504377b4cc5e22fea.json +1 -1
- package/dist/account-inspect-api.js +2 -3
- package/dist/action-runtime-api.js +1 -1
- package/dist/activities-api.js +13 -20
- package/dist/api.js +21 -22
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/contract-api.js +1 -1
- package/dist/directory-contract-api.js +2 -3
- package/dist/doctor-contract-api.js +5 -7
- package/dist/index.js +1 -2
- package/dist/runtime-api.js +22 -22
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-audit-contract-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/session-key-api.js +1 -1
- package/dist/setup-entry.js +2 -3
- package/dist/setup-plugin-api.js +1 -1
- package/dist/src/voice/audio-worker.runtime.js +8 -14
- package/dist/subagent-hooks-api.js +2 -3
- package/dist/thread-binding-api.js +1 -1
- package/dist/transcripts-source-api.js +2 -3
- package/node_modules/undici/README.md +25 -3
- package/node_modules/undici/docs/docs/api/CacheStore.md +24 -9
- package/node_modules/undici/docs/docs/api/Client.md +11 -6
- package/node_modules/undici/docs/docs/api/Dispatcher.md +3 -0
- package/node_modules/undici/docs/docs/api/Errors.md +76 -1
- package/node_modules/undici/docs/docs/api/H2CClient.md +3 -2
- package/node_modules/undici/docs/docs/api/Interceptors.md +13 -6
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +13 -10
- package/node_modules/undici/docs/docs/index.md +12 -12
- package/node_modules/undici/docs/docs/type-map.json +66 -66
- package/node_modules/undici/lib/cache/memory-cache-store.js +48 -13
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +83 -5
- package/node_modules/undici/lib/core/connect.js +10 -4
- package/node_modules/undici/lib/core/constants.js +12 -1
- package/node_modules/undici/lib/core/errors.js +38 -1
- package/node_modules/undici/lib/core/request.js +16 -1
- package/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/undici/lib/core/util.js +26 -1
- package/node_modules/undici/lib/dispatcher/agent.js +6 -2
- package/node_modules/undici/lib/dispatcher/client-h1.js +116 -80
- package/node_modules/undici/lib/dispatcher/client-h2.js +46 -14
- package/node_modules/undici/lib/dispatcher/client.js +4 -1
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +3 -2
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +20 -3
- package/node_modules/undici/lib/dispatcher/parser-h1.js +1064 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +65 -28
- package/node_modules/undici/lib/dispatcher/pool.js +11 -8
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -8
- package/node_modules/undici/lib/dispatcher/retry-agent.js +10 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +15 -5
- package/node_modules/undici/lib/handler/cache-handler.js +153 -15
- package/node_modules/undici/lib/handler/deduplication-handler.js +112 -51
- package/node_modules/undici/lib/handler/redirect-handler.js +28 -8
- package/node_modules/undici/lib/handler/retry-handler.js +44 -11
- package/node_modules/undici/lib/interceptor/cache.js +11 -3
- package/node_modules/undici/lib/interceptor/decompress.js +22 -9
- package/node_modules/undici/lib/interceptor/dns.js +11 -0
- package/node_modules/undici/lib/interceptor/response-error.js +72 -28
- package/node_modules/undici/lib/milo/LICENSE.md +7 -0
- package/node_modules/undici/lib/milo/no-simd.js +1002 -0
- package/node_modules/undici/lib/milo/simd.js +1002 -0
- package/node_modules/undici/lib/mock/mock-agent.js +11 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +3 -2
- package/node_modules/undici/lib/mock/snapshot-utils.js +3 -2
- package/node_modules/undici/lib/util/cache.js +11 -5
- package/node_modules/undici/lib/web/cookies/util.js +19 -2
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +69 -15
- package/node_modules/undici/lib/web/eventsource/eventsource.js +25 -2
- package/node_modules/undici/lib/web/fetch/body.js +47 -38
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +12 -4
- package/node_modules/undici/lib/web/fetch/headers.js +2 -2
- package/node_modules/undici/lib/web/fetch/index.js +8 -4
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +5 -5
- package/node_modules/undici/lib/web/websocket/receiver.js +25 -4
- package/node_modules/undici/package.json +7 -5
- package/node_modules/undici/types/cache-interceptor.d.ts +10 -0
- package/node_modules/undici/types/client.d.ts +10 -4
- package/node_modules/undici/types/errors.d.ts +16 -1
- package/node_modules/undici/types/h2c-client.d.ts +1 -1
- package/node_modules/undici/types/interceptors.d.ts +6 -1
- package/package.json +5 -5
- package/dist/.setup/provider.runtime-BI_CV9tI.mjs +0 -1
- package/dist/.setup/setup-plugin-api-D5VV8xTN.mjs +0 -2
- package/dist/.setup/targets-C0qD28Sz.mjs +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as listDiscordAccountIds, n as inspectDiscordAccountConfig, v as resolveDiscordAccountAvailability } from "./accounts-
|
|
1
|
+
import { i as listDiscordAccountIds, n as inspectDiscordAccountConfig, v as resolveDiscordAccountAvailability } from "./accounts-C18HNgge.mjs";
|
|
2
2
|
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
|
|
3
3
|
import { normalizeSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
4
|
-
|
|
4
|
+
// extensions/discord/src/account-inspect.ts
|
|
5
5
|
function inspectDiscordAccountPrimary(params) {
|
|
6
6
|
return inspectDiscordAccountConfig(params, {
|
|
7
7
|
includeName: true,
|
|
@@ -27,5 +27,4 @@ function inspectDiscordAccount(params) {
|
|
|
27
27
|
})
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
//#endregion
|
|
31
30
|
export { inspectDiscordAccount as t };
|
|
@@ -6,7 +6,7 @@ import { resolveConfiguredFromCredentialStatuses } from "openclaw/plugin-sdk/cha
|
|
|
6
6
|
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1, normalizeAccountId as normalizeAccountId$1, resolveAccountEntry } from "openclaw/plugin-sdk/routing";
|
|
7
7
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
8
|
import { getRuntimeConfigSnapshot, getRuntimeConfigSourceSnapshot, selectApplicableRuntimeConfig } from "openclaw/plugin-sdk/runtime-config-snapshot";
|
|
9
|
-
|
|
9
|
+
// extensions/discord/src/account-token-inspect.ts
|
|
10
10
|
function inspectDiscordConfiguredToken(value) {
|
|
11
11
|
const normalized = normalizeSecretInputString(value);
|
|
12
12
|
if (normalized || hasConfiguredSecretInput(value)) return {
|
|
@@ -56,8 +56,7 @@ function resolveDiscordAccountAvailability(params) {
|
|
|
56
56
|
stateReason: duplicateOwner ? `duplicate bot token; using account "${duplicateOwner}"` : void 0
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
//#region extensions/discord/src/runtime-config.ts
|
|
59
|
+
// extensions/discord/src/runtime-config.ts
|
|
61
60
|
function selectDiscordRuntimeConfig(inputConfig) {
|
|
62
61
|
return selectApplicableRuntimeConfig({
|
|
63
62
|
inputConfig,
|
|
@@ -91,8 +90,7 @@ function selectDiscordActivitiesRuntimeConfig(inputConfig) {
|
|
|
91
90
|
}
|
|
92
91
|
};
|
|
93
92
|
}
|
|
94
|
-
|
|
95
|
-
//#region extensions/discord/src/token.ts
|
|
93
|
+
// extensions/discord/src/token.ts
|
|
96
94
|
function stripDiscordBotPrefix(token) {
|
|
97
95
|
return token.replace(/^Bot\s+/i, "");
|
|
98
96
|
}
|
|
@@ -159,8 +157,7 @@ function resolveDiscordToken(cfg, opts = {}) {
|
|
|
159
157
|
tokenStatus: "missing"
|
|
160
158
|
};
|
|
161
159
|
}
|
|
162
|
-
|
|
163
|
-
//#region extensions/discord/src/accounts.ts
|
|
160
|
+
// extensions/discord/src/accounts.ts
|
|
164
161
|
const { listAccountIds: listDiscordAccountIds, resolveDefaultAccountId: resolveDefaultDiscordAccountId, resolveAccountConfig: mergeDiscordAccountConfig } = createAccountListHelpers("discord", {
|
|
165
162
|
implicitDefaultAccount: {
|
|
166
163
|
channelKeys: ["token"],
|
|
@@ -268,5 +265,4 @@ function listDiscordStartupAccountIds(cfg) {
|
|
|
268
265
|
if (!startupAccountIds.includes(defaultAccountId)) return startupAccountIds;
|
|
269
266
|
return [defaultAccountId, ...startupAccountIds.filter((candidateId) => candidateId !== defaultAccountId)];
|
|
270
267
|
}
|
|
271
|
-
//#endregion
|
|
272
268
|
export { selectDiscordActivitiesRuntimeConfig as _, listDiscordStartupAccountIds as a, resolveDefaultDiscordAccountId as c, resolveDiscordAccountConfig as d, resolveDiscordAccountDisabledReason as f, resolveDiscordToken as g, normalizeDiscordToken as h, listDiscordAccountIds as i, resolveDiscordAccount as l, resolveDiscordMaxLinesPerMessage as m, inspectDiscordAccountConfig as n, listEnabledDiscordAccounts as o, resolveDiscordAccountDmPolicy as p, isDiscordAccountEnabledForRuntime as r, mergeDiscordAccountConfig as s, createDiscordActionGate as t, resolveDiscordAccountAllowFrom as u, resolveDiscordAccountAvailability as v };
|
package/dist/.setup/{active-turn-thread-route-C4tp9noA.mjs → active-turn-thread-route-BAc_Xik-.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
|
-
|
|
2
|
+
// extensions/discord/src/active-turn-thread-route.ts
|
|
3
3
|
const activeRoutes = /* @__PURE__ */ new Map();
|
|
4
4
|
function beginDiscordActiveTurnThreadRoute(sessionKey, route) {
|
|
5
5
|
const key = normalizeOptionalString(sessionKey);
|
|
@@ -36,5 +36,4 @@ function notifyDiscordActiveTurnThreadReplyDelivered(params) {
|
|
|
36
36
|
route.onThreadReplyDelivered?.(threadId);
|
|
37
37
|
return true;
|
|
38
38
|
}
|
|
39
|
-
//#endregion
|
|
40
39
|
export { notifyDiscordActiveTurnThreadCreated as n, notifyDiscordActiveTurnThreadReplyDelivered as r, beginDiscordActiveTurnThreadRoute as t };
|
|
@@ -5,12 +5,11 @@ import { readResponseWithLimit } from "openclaw/plugin-sdk/response-limit-runtim
|
|
|
5
5
|
import { fetchWithSsrFGuard, isBlockedHostnameOrIp, isLoopbackHost } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
6
6
|
import { buildChannelKeyCandidates, normalizeChannelSlug, resolveChannelEntryMatchWithFallback, resolveChannelMatchConfig } from "openclaw/plugin-sdk/channel-targets";
|
|
7
7
|
import { resolveAllowlistMatchByCandidates } from "openclaw/plugin-sdk/allow-from";
|
|
8
|
-
|
|
8
|
+
// extensions/discord/src/channel-type.ts
|
|
9
9
|
function isDiscordThreadChannelType(channelType) {
|
|
10
10
|
return channelType === ChannelType.AnnouncementThread || channelType === ChannelType.PublicThread || channelType === ChannelType.PrivateThread;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
//#region extensions/discord/src/endpoint-runtime.ts
|
|
12
|
+
// extensions/discord/src/endpoint-runtime.ts
|
|
14
13
|
const DISCORD_ENDPOINT_RESPONSE_MAX_BYTES = 8388608;
|
|
15
14
|
const DISCORD_API_URL_ENV = "DISCORD_API_URL";
|
|
16
15
|
function parseHttpAnchor(value, label) {
|
|
@@ -145,8 +144,7 @@ function assertDiscordEndpointGatewayUrl(url, gatewayOrigin) {
|
|
|
145
144
|
}
|
|
146
145
|
if (parsed.origin !== gatewayOrigin || parsed.username || parsed.password || parsed.hash) throw new Error("Discord endpoint Gateway URL is outside the configured WebSocket origin");
|
|
147
146
|
}
|
|
148
|
-
|
|
149
|
-
//#region extensions/discord/src/retry-after.ts
|
|
147
|
+
// extensions/discord/src/retry-after.ts
|
|
150
148
|
const RETRY_AFTER_BODY_SECONDS_RE = /^(?:\d+\.?\d*|\.\d+)$/;
|
|
151
149
|
const MAX_SAFE_RETRY_AFTER_SECONDS = Number.MAX_SAFE_INTEGER / 1e3;
|
|
152
150
|
function parseDiscordRetryAfterBodySeconds(value) {
|
|
@@ -156,8 +154,7 @@ function parseDiscordRetryAfterBodySeconds(value) {
|
|
|
156
154
|
max: MAX_SAFE_RETRY_AFTER_SECONDS
|
|
157
155
|
});
|
|
158
156
|
}
|
|
159
|
-
|
|
160
|
-
//#region extensions/discord/src/monitor/format.ts
|
|
157
|
+
// extensions/discord/src/monitor/format.ts
|
|
161
158
|
function resolveDiscordSystemLocation(params) {
|
|
162
159
|
const { isDirectMessage, isGroupDm, guild, channelName } = params;
|
|
163
160
|
if (isDirectMessage) return "DM";
|
|
@@ -177,8 +174,7 @@ function formatDiscordUserTag(user) {
|
|
|
177
174
|
function resolveTimestampMs(timestamp) {
|
|
178
175
|
return parseDateStringTimestampMs(timestamp);
|
|
179
176
|
}
|
|
180
|
-
|
|
181
|
-
//#region extensions/discord/src/monitor/allow-list.ts
|
|
177
|
+
// extensions/discord/src/monitor/allow-list.ts
|
|
182
178
|
const DISCORD_OWNER_ALLOWLIST_PREFIXES = [
|
|
183
179
|
"discord:",
|
|
184
180
|
"user:",
|
|
@@ -459,5 +455,4 @@ function shouldEmitDiscordReactionNotification(params) {
|
|
|
459
455
|
if (mode === "own") return Boolean(params.botId && params.messageAuthorId === params.botId);
|
|
460
456
|
return false;
|
|
461
457
|
}
|
|
462
|
-
//#endregion
|
|
463
458
|
export { isDiscordThreadChannelType as A, resolveDiscordSystemLocation as C, getDiscordEndpointRuntime as D, assertDiscordEndpointGatewayUrl as E, resolveDiscordEndpointAttachmentGuard as O, formatDiscordUserTag as S, parseDiscordRetryAfterBodySeconds as T, resolveDiscordOwnerAllowFrom as _, normalizeDiscordDisplaySlug as a, shouldEmitDiscordReactionNotification as b, resolveDiscordChannelConfig as c, resolveDiscordCommandAuthorized as d, resolveDiscordGuildEntry as f, resolveDiscordOwnerAccess as g, resolveDiscordMentionPolicy as h, normalizeDiscordAllowList as i, resolveDiscordEndpointMediaGuard as k, resolveDiscordChannelConfigWithFallback as l, resolveDiscordMemberAllowed as m, hasConfiguredDiscordChannels as n, normalizeDiscordSlug as o, resolveDiscordMemberAccessState as p, isDiscordGroupAllowedByPolicy as r, resolveDiscordAllowListMatch as s, allowListMatches as t, resolveDiscordChannelPolicyCommandAuthorizer as u, resolveDiscordShouldRequireMention as v, resolveTimestampMs as w, formatDiscordReactionEmoji as x, resolveGroupDmAllow as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as getDiscordEndpointRuntime, T as parseDiscordRetryAfterBodySeconds } from "./allow-list-
|
|
1
|
+
import { D as getDiscordEndpointRuntime, T as parseDiscordRetryAfterBodySeconds } from "./allow-list-D1ZGfhXh.mjs";
|
|
2
2
|
import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
|
|
3
3
|
import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
4
4
|
import { captureChannelReadAuthority, captureEffectAuthority, resolveFetch } from "openclaw/plugin-sdk/fetch-runtime";
|
|
@@ -7,7 +7,7 @@ import { redactToolPayloadText } from "openclaw/plugin-sdk/logging-core";
|
|
|
7
7
|
import { parseRetryAfterHeaderSeconds, resolveRetryConfig, retryAsync } from "openclaw/plugin-sdk/retry-runtime";
|
|
8
8
|
import { readResponseTextLimited } from "openclaw/plugin-sdk/provider-http";
|
|
9
9
|
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
10
|
-
|
|
10
|
+
// extensions/discord/src/error-body.ts
|
|
11
11
|
const DISCORD_RESPONSE_BODY_SUMMARY_MAX_CHARS = 240;
|
|
12
12
|
function parseDiscordHttpErrorBody(raw) {
|
|
13
13
|
if (!raw) return;
|
|
@@ -28,8 +28,7 @@ function isDiscordHtmlResponseBody(body, contentType) {
|
|
|
28
28
|
function isDiscordRateLimitResponseBody(body) {
|
|
29
29
|
return /error 1015|cloudflare|rate limit/i.test(body);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
//#region extensions/discord/src/api.ts
|
|
31
|
+
// extensions/discord/src/api.ts
|
|
33
32
|
const DISCORD_API_BASE = "https://discord.com/api/v10";
|
|
34
33
|
const DISCORD_API_RETRY_DEFAULTS = {
|
|
35
34
|
attempts: 3,
|
|
@@ -162,5 +161,4 @@ async function fetchDiscord(path, token, fetcher = fetch, options) {
|
|
|
162
161
|
method: "GET"
|
|
163
162
|
});
|
|
164
163
|
}
|
|
165
|
-
//#endregion
|
|
166
164
|
export { isDiscordRateLimitResponseBody as a, requestDiscord as i, DiscordApiError as n, parseDiscordHttpErrorBody as o, fetchDiscord as r, summarizeDiscordResponseBody as s, DISCORD_DIRECTORY_LOOKUP_TIMEOUT_MS as t };
|
package/dist/.setup/{approval-handler.runtime-Db06VTbO.mjs → approval-handler.runtime-BAoEELJJ.mjs}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as createDiscordMessageNonce, N as createDiscordClient } from "./send.shared-
|
|
2
|
-
import { D as Row, ct as createChannelMessage, dt as editChannelMessage, j as TextDisplay, k as Separator, q as serializePayload, rt as createUserDmChannel, ut as deleteChannelMessage, x as Container, xt as stripUndefinedFields, y as Button } from "./discord-
|
|
3
|
-
import { y as findGraphemeChunkEnd } from "./send.receipt-
|
|
4
|
-
import { s as buildExecApprovalCustomId } from "./components-
|
|
5
|
-
import { A as isDiscordExecApprovalClientEnabled, c as formatDiscordApprovalDisplayValue, s as DISCORD_APPROVAL_ALLOWED_MENTIONS } from "./outbound-session-route-
|
|
6
|
-
import { a as shouldHandleDiscordApprovalRequest } from "./channel-
|
|
7
|
-
import { t as discordApprovalMessageUpdates } from "./approval-message-updates-
|
|
1
|
+
import { D as createDiscordMessageNonce, N as createDiscordClient } from "./send.shared-D4MioxW_.mjs";
|
|
2
|
+
import { D as Row, ct as createChannelMessage, dt as editChannelMessage, j as TextDisplay, k as Separator, q as serializePayload, rt as createUserDmChannel, ut as deleteChannelMessage, x as Container, xt as stripUndefinedFields, y as Button } from "./discord-eFlHX1Gn.mjs";
|
|
3
|
+
import { y as findGraphemeChunkEnd } from "./send.receipt-Dw-_r5Bx.mjs";
|
|
4
|
+
import { s as buildExecApprovalCustomId } from "./components-BvOWSPxr.mjs";
|
|
5
|
+
import { A as isDiscordExecApprovalClientEnabled, c as formatDiscordApprovalDisplayValue, s as DISCORD_APPROVAL_ALLOWED_MENTIONS } from "./outbound-session-route-TFBPPkoz.mjs";
|
|
6
|
+
import { a as shouldHandleDiscordApprovalRequest } from "./channel-BMpMAeQL.mjs";
|
|
7
|
+
import { t as discordApprovalMessageUpdates } from "./approval-message-updates-Cks-MSCJ.mjs";
|
|
8
8
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { ButtonStyle } from "discord-api-types/v10";
|
|
10
10
|
import { logDebug, logError } from "openclaw/plugin-sdk/logging-core";
|
|
11
11
|
import { createChannelApprovalNativeRuntimeAdapterAsync } from "openclaw/plugin-sdk/approval-handler-runtime";
|
|
12
12
|
import { formatChannelApprovalResolvedLabel } from "openclaw/plugin-sdk/approval-runtime";
|
|
13
|
-
|
|
13
|
+
// extensions/discord/src/approval-handler.runtime.ts
|
|
14
14
|
function resolveHandlerContext(params) {
|
|
15
15
|
const context = params.context;
|
|
16
16
|
const accountId = normalizeOptionalString(params.accountId) ?? "";
|
|
@@ -236,5 +236,4 @@ const discordApprovalNativeRuntime = createChannelApprovalNativeRuntimeAdapterAs
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
|
-
//#endregion
|
|
240
239
|
export { discordApprovalNativeRuntime };
|
package/dist/.setup/{approval-message-updates-wbUqLtLI.mjs → approval-message-updates-Cks-MSCJ.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { tt as parseCustomId } from "./discord-
|
|
2
|
-
import { c as parseExecApprovalData } from "./components-
|
|
1
|
+
import { tt as parseCustomId } from "./discord-eFlHX1Gn.mjs";
|
|
2
|
+
import { c as parseExecApprovalData } from "./components-BvOWSPxr.mjs";
|
|
3
3
|
import { KeyedAsyncQueue } from "openclaw/plugin-sdk/keyed-async-queue";
|
|
4
|
-
|
|
4
|
+
// extensions/discord/src/approval-message-updates.ts
|
|
5
5
|
const discordApprovalMessageUpdates = new KeyedAsyncQueue();
|
|
6
6
|
/** Read the current control identity, rather than reconstructing delivery ownership. */
|
|
7
7
|
function hasDiscordApprovalControl(message, approval) {
|
|
@@ -13,5 +13,4 @@ function hasDiscordApprovalControl(message, approval) {
|
|
|
13
13
|
}
|
|
14
14
|
return "components" in message && Array.isArray(message.components) && message.components.some((component) => hasDiscordApprovalControl(component, approval));
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { hasDiscordApprovalControl as n, discordApprovalMessageUpdates as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { t as inspectDiscordAccount } from "./account-inspect-
|
|
3
|
-
import { b as fetchChannelPermissionsDiscord } from "./send.shared-
|
|
4
|
-
import "./send-
|
|
5
|
-
import { E as collectDiscordAuditChannelIdsForAccount, T as auditDiscordChannelPermissionsWithFetcher } from "./outbound-session-route-
|
|
6
|
-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.mjs";
|
|
2
|
+
import { t as inspectDiscordAccount } from "./account-inspect-X_Xlr42B.mjs";
|
|
3
|
+
import { b as fetchChannelPermissionsDiscord } from "./send.shared-D4MioxW_.mjs";
|
|
4
|
+
import "./send-Cbq-IVsS.mjs";
|
|
5
|
+
import { E as collectDiscordAuditChannelIdsForAccount, T as auditDiscordChannelPermissionsWithFetcher } from "./outbound-session-route-TFBPPkoz.mjs";
|
|
6
|
+
// extensions/discord/src/audit.ts
|
|
7
7
|
var audit_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
auditDiscordChannelPermissions: () => auditDiscordChannelPermissions,
|
|
9
9
|
collectDiscordAuditChannelIds: () => collectDiscordAuditChannelIds
|
|
@@ -18,5 +18,4 @@ async function auditDiscordChannelPermissions(params) {
|
|
|
18
18
|
fetchChannelPermissions: fetchChannelPermissionsDiscord
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
//#endregion
|
|
22
21
|
export { audit_exports as n, collectDiscordAuditChannelIds as r, auditDiscordChannelPermissions as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as listDiscordStartupAccountIds, c as resolveDefaultDiscordAccountId, d as resolveDiscordAccountConfig, i as listDiscordAccountIds, l as resolveDiscordAccount, u as resolveDiscordAccountAllowFrom } from "./accounts-
|
|
2
|
-
import { G as withDiscordRequestAuthority } from "./discord-
|
|
3
|
-
import { d as normalizeDiscordMessagingTarget, l as looksLikeDiscordTargetId, u as matchesDiscordToolContextTarget } from "./send.receipt-
|
|
4
|
-
import { t as parseDiscordTarget } from "./target-parsing-
|
|
5
|
-
import { l as withAbortTimeout } from "./timeouts-
|
|
6
|
-
import { t as getDiscordRuntime } from "./runtime-
|
|
7
|
-
import { A as isDiscordExecApprovalClientEnabled, D as resolveRequiredDiscordChannelPermissions, O as getDiscordExecApprovalApprovers, b as resolveDiscordRuntimeBindingConversationId, h as resolveDiscordConversationRoute, j as shouldSuppressLocalDiscordExecApprovalPrompt, k as isDiscordExecApprovalApprover, l as findDiscordChannelPolicyKey, t as resolveDiscordOutboundSessionRoute, u as getDiscordChannelPolicyBinding, x as discordMessageActions } from "./outbound-session-route-
|
|
8
|
-
import { a as normalizeDiscordAcpConversationId, c as resolveDiscordInboundConversation, i as matchDiscordAcpConversation, n as discordOutbound, o as resolveDiscordAttachedOutboundTarget, r as buildDiscordCrossContextPresentation, s as resolveDiscordCommandConversation } from "./outbound-adapter-
|
|
9
|
-
import { r as openDiscordCommandDeployHashStore } from "./command-deploy-store-
|
|
10
|
-
import { t as resolveDiscordConversationBindingRoute } from "./conversation-binding-route-
|
|
11
|
-
import { a as discordSecurityAdapter, i as discordSetupContract, n as discordConfigAdapter, t as createDiscordPluginBase } from "./shared-
|
|
12
|
-
import { t as normalizeExplicitDiscordSessionKey } from "./session-key-normalization-
|
|
13
|
-
import { i as setThreadBindingMaxAgeBySessionKeyAsync, n as setThreadBindingIdleTimeoutBySessionKeyAsync, r as setThreadBindingMaxAgeBySessionKey, t as setThreadBindingIdleTimeoutBySessionKey } from "./thread-bindings.session-updates-
|
|
14
|
-
import { t as defaultTopLevelPlacement } from "./thread-binding-api-
|
|
1
|
+
import { a as listDiscordStartupAccountIds, c as resolveDefaultDiscordAccountId, d as resolveDiscordAccountConfig, i as listDiscordAccountIds, l as resolveDiscordAccount, u as resolveDiscordAccountAllowFrom } from "./accounts-C18HNgge.mjs";
|
|
2
|
+
import { G as withDiscordRequestAuthority } from "./discord-eFlHX1Gn.mjs";
|
|
3
|
+
import { d as normalizeDiscordMessagingTarget, l as looksLikeDiscordTargetId, u as matchesDiscordToolContextTarget } from "./send.receipt-Dw-_r5Bx.mjs";
|
|
4
|
+
import { t as parseDiscordTarget } from "./target-parsing-BiuhcK9Q.mjs";
|
|
5
|
+
import { l as withAbortTimeout } from "./timeouts-DTrUsJ_W.mjs";
|
|
6
|
+
import { t as getDiscordRuntime } from "./runtime-DcBvHOm1.mjs";
|
|
7
|
+
import { A as isDiscordExecApprovalClientEnabled, D as resolveRequiredDiscordChannelPermissions, O as getDiscordExecApprovalApprovers, b as resolveDiscordRuntimeBindingConversationId, h as resolveDiscordConversationRoute, j as shouldSuppressLocalDiscordExecApprovalPrompt, k as isDiscordExecApprovalApprover, l as findDiscordChannelPolicyKey, t as resolveDiscordOutboundSessionRoute, u as getDiscordChannelPolicyBinding, x as discordMessageActions } from "./outbound-session-route-TFBPPkoz.mjs";
|
|
8
|
+
import { a as normalizeDiscordAcpConversationId, c as resolveDiscordInboundConversation, i as matchDiscordAcpConversation, n as discordOutbound, o as resolveDiscordAttachedOutboundTarget, r as buildDiscordCrossContextPresentation, s as resolveDiscordCommandConversation } from "./outbound-adapter-DWyAWBFh.mjs";
|
|
9
|
+
import { r as openDiscordCommandDeployHashStore } from "./command-deploy-store-DPWiBMks.mjs";
|
|
10
|
+
import { t as resolveDiscordConversationBindingRoute } from "./conversation-binding-route-DOPUZNYo.mjs";
|
|
11
|
+
import { a as discordSecurityAdapter, i as discordSetupContract, n as discordConfigAdapter, t as createDiscordPluginBase } from "./shared-Bp0sxD5R.mjs";
|
|
12
|
+
import { t as normalizeExplicitDiscordSessionKey } from "./session-key-normalization-Cfvze5hd.mjs";
|
|
13
|
+
import { i as setThreadBindingMaxAgeBySessionKeyAsync, n as setThreadBindingIdleTimeoutBySessionKeyAsync, r as setThreadBindingMaxAgeBySessionKey, t as setThreadBindingIdleTimeoutBySessionKey } from "./thread-bindings.session-updates-C76plLS3.mjs";
|
|
14
|
+
import { t as defaultTopLevelPlacement } from "./thread-binding-api-Drd4Zu-5.mjs";
|
|
15
15
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
16
16
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
17
17
|
import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
|
|
@@ -34,7 +34,7 @@ import { createChannelApproverDmTargetResolverAsync, createChannelNativeOriginTa
|
|
|
34
34
|
import { isChannelExecApprovalClientEnabledFromConfig, matchesApprovalRequestFilters } from "openclaw/plugin-sdk/approval-client-runtime";
|
|
35
35
|
import { resolveThreadBindingSpawnPolicy } from "openclaw/plugin-sdk/conversation-runtime";
|
|
36
36
|
import { resolveScopeRequireMention, resolveScopeToolsPolicy, scopeKey } from "openclaw/plugin-sdk/channel-policy";
|
|
37
|
-
|
|
37
|
+
// extensions/discord/src/approval-shared.ts
|
|
38
38
|
function isDiscordApprovalAccountEligible(params) {
|
|
39
39
|
const account = resolveDiscordAccount(params);
|
|
40
40
|
const config = params.configOverride ?? account.config.execApprovals;
|
|
@@ -59,8 +59,7 @@ async function shouldHandleDiscordApprovalRequest(params) {
|
|
|
59
59
|
}) ? [accountId] : []
|
|
60
60
|
}) && isDiscordApprovalAccountEligible(params);
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
//#region extensions/discord/src/approval-native.ts
|
|
62
|
+
// extensions/discord/src/approval-native.ts
|
|
64
63
|
function extractDiscordSessionKind(sessionKey) {
|
|
65
64
|
if (!sessionKey) return null;
|
|
66
65
|
const raw = sessionKey.match(/discord:(?:[^:]+:)?(channel|group|dm|direct):/)?.[1];
|
|
@@ -164,7 +163,7 @@ function createDiscordApprovalCapability() {
|
|
|
164
163
|
accountId
|
|
165
164
|
}),
|
|
166
165
|
shouldHandle: shouldHandleDiscordApprovalRequest,
|
|
167
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
166
|
+
load: async () => (await import("./approval-handler.runtime-BAoEELJJ.mjs")).discordApprovalNativeRuntime
|
|
168
167
|
})
|
|
169
168
|
});
|
|
170
169
|
}
|
|
@@ -173,26 +172,24 @@ function getDiscordApprovalCapability() {
|
|
|
173
172
|
cachedDiscordApprovalCapability ??= createDiscordApprovalCapability();
|
|
174
173
|
return cachedDiscordApprovalCapability;
|
|
175
174
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
const
|
|
180
|
-
const
|
|
181
|
-
const
|
|
182
|
-
const
|
|
183
|
-
const
|
|
184
|
-
const loadDiscordProbeRuntime = createLazyRuntimeModule(() => import("./probe-D3P1x4aN.mjs").then((n) => n.o));
|
|
175
|
+
// extensions/discord/src/channel.loaders.ts
|
|
176
|
+
const loadDiscordDirectoryConfigModule = createLazyRuntimeModule(() => import("./directory-config-CIqVnQtn.mjs").then((n) => n.t));
|
|
177
|
+
const loadDiscordResolveChannelsModule = createLazyRuntimeModule(() => import("./resolve-channels-DYc6-xgV.mjs").then((n) => n.n));
|
|
178
|
+
const loadDiscordResolveUsersModule = createLazyRuntimeModule(() => import("./resolve-users-BQT7XWF2.mjs").then((n) => n.n));
|
|
179
|
+
const loadDiscordThreadBindingsManagerModule = createLazyRuntimeModule(() => import("./thread-bindings.manager-DCDYksah.mjs").then((n) => n.r));
|
|
180
|
+
const loadDiscordTargetResolverModule = createLazyRuntimeModule(() => import("./target-resolver-CAHeVfmZ.mjs").then((n) => n.r));
|
|
181
|
+
const loadDiscordProviderRuntime = createLazyRuntimeModule(() => import("./provider.runtime-BQ1z4Aq1.mjs"));
|
|
182
|
+
const loadDiscordProbeRuntime = createLazyRuntimeModule(() => import("./probe-DNge7OEP.mjs").then((n) => n.o));
|
|
185
183
|
async function probeDiscordStatusAccount(params) {
|
|
186
184
|
const startedAtMs = Date.now();
|
|
187
185
|
const runtime = await loadDiscordProbeRuntime();
|
|
188
186
|
const remainingMs = Math.max(1, params.timeoutMs - Math.max(0, Date.now() - startedAtMs));
|
|
189
187
|
return await runtime.probeDiscord(params.token, remainingMs, { includeApplication: true });
|
|
190
188
|
}
|
|
191
|
-
const loadDiscordAuditModule = createLazyRuntimeModule(() => import("./audit-
|
|
192
|
-
const loadDiscordSendModule = createLazyRuntimeModule(() => import("./send-
|
|
193
|
-
const loadDiscordDirectoryLiveModule = createLazyRuntimeModule(() => import("./directory-live-
|
|
194
|
-
|
|
195
|
-
//#region extensions/discord/src/conversation-route-owner.ts
|
|
189
|
+
const loadDiscordAuditModule = createLazyRuntimeModule(() => import("./audit-Dw_rAZIz.mjs").then((n) => n.n));
|
|
190
|
+
const loadDiscordSendModule = createLazyRuntimeModule(() => import("./send-Cbq-IVsS.mjs").then((n) => n.t));
|
|
191
|
+
const loadDiscordDirectoryLiveModule = createLazyRuntimeModule(() => import("./directory-live-DUuPEWub.mjs").then((n) => n.t));
|
|
192
|
+
// extensions/discord/src/conversation-route-owner.ts
|
|
196
193
|
function prepareDiscordConversationRouteOwner(params) {
|
|
197
194
|
const accountId = normalizeAccountId(params.accountId);
|
|
198
195
|
if (params.cfg.channels?.discord?.enabled === false || !listDiscordAccountIds(params.cfg).some((id) => normalizeAccountId(id) === accountId) || resolveDiscordAccountConfig(params.cfg, accountId)?.enabled === false) return null;
|
|
@@ -266,8 +263,7 @@ async function prepareDiscordConversationRouteOwnersAsync(inputs, inspectBinding
|
|
|
266
263
|
return () => item.resolve(inspect()[position]);
|
|
267
264
|
});
|
|
268
265
|
}
|
|
269
|
-
|
|
270
|
-
//#region extensions/discord/src/group-policy.ts
|
|
266
|
+
// extensions/discord/src/group-policy.ts
|
|
271
267
|
const guildScopeKey = (guildKey) => scopeKey(["guild", guildKey]);
|
|
272
268
|
const channelScopeKey = (guildKey, channelKey) => scopeKey(["guild", guildKey], ["channel", channelKey]);
|
|
273
269
|
function resolveDiscordGuildKey(guilds, groupSpace) {
|
|
@@ -329,8 +325,7 @@ function resolveDiscordGroupToolPolicy(params) {
|
|
|
329
325
|
senderE164: params.senderE164
|
|
330
326
|
});
|
|
331
327
|
}
|
|
332
|
-
|
|
333
|
-
//#region extensions/discord/src/status-issues.ts
|
|
328
|
+
// extensions/discord/src/status-issues.ts
|
|
334
329
|
function isDiscordMessageContentIntentDisabled(value) {
|
|
335
330
|
return isRecord$1(value) && isRecord$1(value.intents) && value.intents.messageContent === "disabled";
|
|
336
331
|
}
|
|
@@ -408,8 +403,7 @@ function collectDiscordStatusIssues(accounts) {
|
|
|
408
403
|
}
|
|
409
404
|
return issues;
|
|
410
405
|
}
|
|
411
|
-
|
|
412
|
-
//#region extensions/discord/src/thread-bindings-channel.ts
|
|
406
|
+
// extensions/discord/src/thread-bindings-channel.ts
|
|
413
407
|
function toConversationLifecycleBinding(binding) {
|
|
414
408
|
return {
|
|
415
409
|
boundAt: binding.boundAt,
|
|
@@ -445,8 +439,7 @@ const discordConversationBindings = {
|
|
|
445
439
|
accountId: params.accountId ?? void 0
|
|
446
440
|
})).map(toConversationLifecycleBinding)
|
|
447
441
|
};
|
|
448
|
-
|
|
449
|
-
//#region extensions/discord/src/channel.ts
|
|
442
|
+
// extensions/discord/src/channel.ts
|
|
450
443
|
const DISCORD_ACCOUNT_STARTUP_STAGGER_MS = 1e4;
|
|
451
444
|
const discordMessageAdapter = createChannelMessageAdapterFromOutbound({
|
|
452
445
|
id: "discord",
|
|
@@ -893,5 +886,4 @@ const discordPlugin = createChatChannelPlugin({
|
|
|
893
886
|
shouldSuppressLocalPayloadPrompt: shouldSuppressLocalDiscordExecApprovalPrompt
|
|
894
887
|
}
|
|
895
888
|
});
|
|
896
|
-
//#endregion
|
|
897
889
|
export { shouldHandleDiscordApprovalRequest as a, resolveDiscordGroupToolPolicy as i, collectDiscordStatusIssues as n, resolveDiscordGroupRequireMention as r, discordPlugin as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// extensions/discord/src/monitor/channel-access.ts
|
|
2
2
|
function readDiscordChannelPropertySafe(channel, key) {
|
|
3
3
|
if (!channel || typeof channel !== "object") return;
|
|
4
4
|
try {
|
|
@@ -44,5 +44,4 @@ function resolveDiscordChannelInfoSafe(channel) {
|
|
|
44
44
|
parentName: resolveDiscordChannelNameSafe(parent)
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { resolveDiscordChannelParentSafe as a, resolveDiscordChannelParentIdSafe as i, resolveDiscordChannelInfoSafe as n, resolveDiscordChannelTopicSafe as o, resolveDiscordChannelNameSafe as r, resolveDiscordChannelIdSafe as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as resolveDefaultDiscordAccountId, g as resolveDiscordToken, n as inspectDiscordAccountConfig, s as mergeDiscordAccountConfig, u as resolveDiscordAccountAllowFrom } from "./accounts-
|
|
2
|
-
import { i as discordSetupContract, t as createDiscordPluginBase } from "./shared-
|
|
3
|
-
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-
|
|
4
|
-
import { t as resolveDiscordUserAllowlist } from "./resolve-users-
|
|
1
|
+
import { c as resolveDefaultDiscordAccountId, g as resolveDiscordToken, n as inspectDiscordAccountConfig, s as mergeDiscordAccountConfig, u as resolveDiscordAccountAllowFrom } from "./accounts-C18HNgge.mjs";
|
|
2
|
+
import { i as discordSetupContract, t as createDiscordPluginBase } from "./shared-Bp0sxD5R.mjs";
|
|
3
|
+
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-DYc6-xgV.mjs";
|
|
4
|
+
import { t as resolveDiscordUserAllowlist } from "./resolve-users-BQT7XWF2.mjs";
|
|
5
5
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
6
6
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { resolveBasicAllowFromEntries } from "openclaw/plugin-sdk/allow-from";
|
|
8
8
|
import { createAccountScopedAllowFromSection, createAccountScopedGroupAccessSection, createSetupTranslator, createStandardChannelSetupStatus, defineTokenCredential, parseMentionOrPrefixedId, patchChannelConfigForAccount, promptResolvedAllowFrom, resolveEntriesWithOptionalToken, resolveSetupAccountId, setSetupChannelEnabled, splitSetupEntries } from "openclaw/plugin-sdk/setup-runtime";
|
|
9
9
|
import { createChannelDmPolicy } from "openclaw/plugin-sdk/channel-dm-policy";
|
|
10
10
|
import { formatDocsLink } from "openclaw/plugin-sdk/setup-tools";
|
|
11
|
-
|
|
11
|
+
// extensions/discord/src/setup-account-state.ts
|
|
12
12
|
function resolveDiscordSetupAccountConfig(params) {
|
|
13
13
|
const accountId = normalizeAccountId(params.accountId ?? resolveDefaultDiscordAccountId(params.cfg));
|
|
14
14
|
return {
|
|
@@ -19,8 +19,7 @@ function resolveDiscordSetupAccountConfig(params) {
|
|
|
19
19
|
function inspectDiscordSetupAccount(params) {
|
|
20
20
|
return inspectDiscordAccountConfig(params, { resolveFallbackToken: (accountId) => resolveDiscordToken(params.cfg, { accountId }) });
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
//#region extensions/discord/src/setup-core.ts
|
|
22
|
+
// extensions/discord/src/setup-core.ts
|
|
24
23
|
const t$1 = createSetupTranslator();
|
|
25
24
|
const channel$1 = "discord";
|
|
26
25
|
const DISCORD_TOKEN_HELP_LINES = [
|
|
@@ -175,8 +174,7 @@ function createDiscordSetupWizardBase(handlers) {
|
|
|
175
174
|
disable: (cfg) => setSetupChannelEnabled(cfg, channel$1, false)
|
|
176
175
|
};
|
|
177
176
|
}
|
|
178
|
-
|
|
179
|
-
//#region extensions/discord/src/setup-surface.ts
|
|
177
|
+
// extensions/discord/src/setup-surface.ts
|
|
180
178
|
const t = createSetupTranslator();
|
|
181
179
|
const channel = "discord";
|
|
182
180
|
async function promptDiscordAllowFrom(params) {
|
|
@@ -239,11 +237,9 @@ const discordSetupWizard = createDiscordSetupWizardBase({
|
|
|
239
237
|
resolveEntries: resolveDiscordChannelAllowlist
|
|
240
238
|
})
|
|
241
239
|
});
|
|
242
|
-
|
|
243
|
-
//#region extensions/discord/src/channel.setup.ts
|
|
240
|
+
// extensions/discord/src/channel.setup.ts
|
|
244
241
|
const discordSetupPlugin = { ...createDiscordPluginBase({
|
|
245
242
|
setupWizard: discordSetupWizard,
|
|
246
243
|
setupContract: discordSetupContract
|
|
247
244
|
}) };
|
|
248
|
-
//#endregion
|
|
249
245
|
export { discordSetupPlugin as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// extensions/discord/src/command-deploy-store.ts
|
|
2
2
|
const DISCORD_COMMAND_DEPLOY_HASH_NAMESPACE = "command-deploy-hashes";
|
|
3
3
|
const DISCORD_COMMAND_DEPLOY_HASH_MAX_ENTRIES = 1e4;
|
|
4
4
|
function openDiscordCommandDeployHashStore(openKeyedStore) {
|
|
@@ -8,5 +8,4 @@ function openDiscordCommandDeployHashStore(openKeyedStore) {
|
|
|
8
8
|
overflowPolicy: "evict-oldest"
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export { DISCORD_COMMAND_DEPLOY_HASH_NAMESPACE as n, openDiscordCommandDeployHashStore as r, DISCORD_COMMAND_DEPLOY_HASH_MAX_ENTRIES as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// extensions/discord/src/command-owners.ts
|
|
2
2
|
function resolveDiscordCommandOwnerEntries(cfg) {
|
|
3
3
|
const entries = (cfg.commands?.ownerAllowFrom ?? []).map((entry) => String(entry).trim()).filter((entry) => entry && (/^(discord|user|pk):/i.test(entry) || !entry.includes(":")));
|
|
4
4
|
return entries.length > 0 ? entries : void 0;
|
|
@@ -6,5 +6,4 @@ function resolveDiscordCommandOwnerEntries(cfg) {
|
|
|
6
6
|
function resolveDiscordCommandOwnerAllowFrom(cfg) {
|
|
7
7
|
return resolveDiscordCommandOwnerEntries(cfg)?.map((entry) => entry.replace(/^discord:/i, "").trim()).filter(Boolean);
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
9
|
export { resolveDiscordCommandOwnerEntries as n, resolveDiscordCommandOwnerAllowFrom as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { A as StringSelectMenu, C as LinkButton, D as Row, E as RoleSelectMenu, M as Thumbnail, N as UserSelectMenu, O as Section, S as File, T as MentionableSelectMenu, _ as TextInput, b as ChannelSelectMenu, g as RadioGroup, h as Modal, j as TextDisplay, k as Separator, m as Label, p as CheckboxGroup, tt as parseCustomId, v as AnySelectMenu, w as MediaGallery, x as Container, xt as stripUndefinedFields, y as Button } from "./discord-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.mjs";
|
|
2
|
+
import { A as StringSelectMenu, C as LinkButton, D as Row, E as RoleSelectMenu, M as Thumbnail, N as UserSelectMenu, O as Section, S as File, T as MentionableSelectMenu, _ as TextInput, b as ChannelSelectMenu, g as RadioGroup, h as Modal, j as TextDisplay, k as Separator, m as Label, p as CheckboxGroup, tt as parseCustomId, v as AnySelectMenu, w as MediaGallery, x as Container, xt as stripUndefinedFields, y as Button } from "./discord-eFlHX1Gn.mjs";
|
|
3
3
|
import { asBoolean, asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString, readNonBlankString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { ButtonStyle, MessageFlags, TextInputStyle } from "discord-api-types/v10";
|
|
5
5
|
import { resolveAskUserQuestionOptionIndex } from "openclaw/plugin-sdk/reply-payload";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { legacyInteractiveReplyToPresentation, resolveMessagePresentationActionValue, resolveMessagePresentationButtonAction, resolveMessagePresentationOptionAction } from "openclaw/plugin-sdk/interactive-runtime";
|
|
8
8
|
import { buildApprovalResolutionRef } from "openclaw/plugin-sdk/approval-reference-runtime";
|
|
9
|
-
|
|
9
|
+
// extensions/discord/src/custom-id-codec.ts
|
|
10
10
|
/**
|
|
11
11
|
* URI-component codec for values embedded in `k=v;` custom-id grammars
|
|
12
12
|
* (exec approvals, model picker, command args, agent components).
|
|
@@ -36,8 +36,7 @@ function needsCustomIdFieldEscaping(value) {
|
|
|
36
36
|
function unescapeCustomIdFieldValue(value) {
|
|
37
37
|
return value.replace(/%(25|3B)/gi, (match) => match.toLowerCase() === "%25" ? "%" : ";");
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
//#region extensions/discord/src/component-custom-id.ts
|
|
39
|
+
// extensions/discord/src/component-custom-id.ts
|
|
41
40
|
const DISCORD_COMPONENT_CUSTOM_ID_KEY = "occomp";
|
|
42
41
|
const DISCORD_MODAL_CUSTOM_ID_KEY = "ocmodal";
|
|
43
42
|
const DISCORD_ACTIVITY_CUSTOM_ID_KEY = "ocactivity";
|
|
@@ -117,8 +116,7 @@ function parseDiscordComponentCustomIdForInteraction(id) {
|
|
|
117
116
|
function parseDiscordModalCustomIdForInteraction(id) {
|
|
118
117
|
return parseDiscordCustomIdForInteraction(id, DISCORD_MODAL_CUSTOM_ID_KEY);
|
|
119
118
|
}
|
|
120
|
-
|
|
121
|
-
//#region extensions/discord/src/components.parse.ts
|
|
119
|
+
// extensions/discord/src/components.parse.ts
|
|
122
120
|
const DISCORD_COMPONENT_ATTACHMENT_PREFIX = "attachment://";
|
|
123
121
|
const BLOCK_ALIASES = /* @__PURE__ */ new Map([["row", "actions"], ["action-row", "actions"]]);
|
|
124
122
|
function requireObject(value, label) {
|
|
@@ -417,8 +415,7 @@ function readDiscordComponentSpec(raw) {
|
|
|
417
415
|
modal
|
|
418
416
|
};
|
|
419
417
|
}
|
|
420
|
-
|
|
421
|
-
//#region extensions/discord/src/components.builders.ts
|
|
418
|
+
// extensions/discord/src/components.builders.ts
|
|
422
419
|
function createShortId(prefix) {
|
|
423
420
|
return `${prefix}${crypto.randomBytes(6).toString("base64url")}`;
|
|
424
421
|
}
|
|
@@ -661,8 +658,7 @@ function buildDiscordComponentMessage(params) {
|
|
|
661
658
|
function buildDiscordComponentMessageFlags(components) {
|
|
662
659
|
return components.some((component) => component.isV2) ? MessageFlags.IsComponentsV2 : void 0;
|
|
663
660
|
}
|
|
664
|
-
|
|
665
|
-
//#region extensions/discord/src/components.modal.ts
|
|
661
|
+
// extensions/discord/src/components.modal.ts
|
|
666
662
|
function createModalFieldComponent(field) {
|
|
667
663
|
if (field.type === "text") {
|
|
668
664
|
class DynamicTextInput extends TextInput {
|
|
@@ -735,8 +731,7 @@ function createDiscordFormModal(entry) {
|
|
|
735
731
|
fields: entry.fields
|
|
736
732
|
});
|
|
737
733
|
}
|
|
738
|
-
|
|
739
|
-
//#region extensions/discord/src/approval-custom-id.ts
|
|
734
|
+
// extensions/discord/src/approval-custom-id.ts
|
|
740
735
|
const DISCORD_APPROVAL_CUSTOM_ID_MAX_CHARS = 100;
|
|
741
736
|
function encodeDiscordApprovalCustomId(action) {
|
|
742
737
|
return `execapproval:kind=${action.approvalKind};id=${encodeURIComponent(action.approvalId)};action=${action.decision}`;
|
|
@@ -785,8 +780,7 @@ function parseExecApprovalData(data) {
|
|
|
785
780
|
action: rawAction
|
|
786
781
|
};
|
|
787
782
|
}
|
|
788
|
-
|
|
789
|
-
//#region extensions/discord/src/question-custom-id.ts
|
|
783
|
+
// extensions/discord/src/question-custom-id.ts
|
|
790
784
|
const QUESTION_RECORD_ID_PATTERN = /^ask_[a-f0-9]{32}$/u;
|
|
791
785
|
function buildDiscordQuestionCustomId(callback) {
|
|
792
786
|
if (!QUESTION_RECORD_ID_PATTERN.test(callback.questionId) || !Number.isInteger(callback.optionIndex) || callback.optionIndex < 0 || callback.optionIndex > 3) return;
|
|
@@ -801,8 +795,7 @@ function parseDiscordQuestionData(data) {
|
|
|
801
795
|
optionIndex: Number(rawIndex)
|
|
802
796
|
};
|
|
803
797
|
}
|
|
804
|
-
|
|
805
|
-
//#region extensions/discord/src/shared-interactive.ts
|
|
798
|
+
// extensions/discord/src/shared-interactive.ts
|
|
806
799
|
var shared_interactive_exports = /* @__PURE__ */ __exportAll({
|
|
807
800
|
buildDiscordInteractiveComponents: () => buildDiscordInteractiveComponents,
|
|
808
801
|
buildDiscordPresentationComponents: () => buildDiscordPresentationComponents
|
|
@@ -918,8 +911,7 @@ function buildDiscordPresentationComponents(presentation, options = {}) {
|
|
|
918
911
|
}
|
|
919
912
|
return blocks.length ? { blocks } : void 0;
|
|
920
913
|
}
|
|
921
|
-
|
|
922
|
-
//#region extensions/discord/src/components.ts
|
|
914
|
+
// extensions/discord/src/components.ts
|
|
923
915
|
var components_exports = /* @__PURE__ */ __exportAll({
|
|
924
916
|
DISCORD_COMPONENT_ATTACHMENT_PREFIX: () => DISCORD_COMPONENT_ATTACHMENT_PREFIX,
|
|
925
917
|
DISCORD_COMPONENT_CUSTOM_ID_KEY: () => DISCORD_COMPONENT_CUSTOM_ID_KEY,
|
|
@@ -947,5 +939,4 @@ function formatDiscordComponentEventText(params) {
|
|
|
947
939
|
if (values.length === 0) return `Updated "${params.label}".`;
|
|
948
940
|
return `Selected ${values.join(", ")} from "${params.label}".`;
|
|
949
941
|
}
|
|
950
|
-
//#endregion
|
|
951
942
|
export { parseDiscordActivityCustomIdForInteraction as C, parseDiscordModalCustomIdForInteraction as D, parseDiscordModalCustomId as E, decodeCustomIdComponent as O, parseDiscordActivityCustomId as S, parseDiscordComponentCustomIdForInteraction as T, DISCORD_COMPONENT_CUSTOM_ID_KEY as _, shared_interactive_exports as a, buildDiscordComponentCustomId as b, parseExecApprovalData as c, buildDiscordComponentMessage as d, buildDiscordComponentMessageFlags as f, resolveDiscordComponentAttachmentName as g, readDiscordComponentSpec as h, buildDiscordPresentationComponents as i, encodeCustomIdComponent as k, DiscordFormModal as l, coerceDiscordComponentParam as m, formatDiscordComponentEventText as n, parseDiscordQuestionData as o, DISCORD_COMPONENT_ATTACHMENT_PREFIX as p, buildDiscordInteractiveComponents as r, buildExecApprovalCustomId as s, components_exports as t, createDiscordFormModal as u, DISCORD_MODAL_CUSTOM_ID_KEY as v, parseDiscordComponentCustomId as w, buildDiscordModalCustomId as x, buildDiscordActivityCustomId as y };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as runtime_doctor_migrations_exports } from "./runtime-doctor-migrations-
|
|
1
|
+
import { t as runtime_doctor_migrations_exports } from "./runtime-doctor-migrations-BpV1jKk0.mjs";
|
|
2
2
|
import { buildSecretInputSchema, registerSensitiveConfigSchema } from "openclaw/plugin-sdk/secret-input";
|
|
3
3
|
import { normalizeLegacyDmAliases } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { createChannelConfigUiHints } from "openclaw/plugin-sdk/channel-core";
|
|
6
6
|
import { ChannelBotLoopProtectionSchema, ChannelDangerouslyAllowNameMatchingSchema, ChannelPreviewStreamingConfigSchema, ChannelThreadBindingsSchema, ProviderCommandsSchema, TtsConfigSchema, buildChannelAccountSchemaParts, buildChannelAllowBotsSchema, buildChannelConfigSchema, buildChannelExecApprovalsSchema, buildChannelReactionShape, buildGroupEntrySchema, refineChannelDmPolicy } from "openclaw/plugin-sdk/channel-config-schema";
|
|
7
7
|
import { z } from "zod";
|
|
8
|
-
|
|
8
|
+
// extensions/discord/src/config-ui-hints.ts
|
|
9
9
|
const discordChannelConfigUiHints = {
|
|
10
10
|
"": {
|
|
11
11
|
label: "Discord",
|
|
@@ -335,8 +335,7 @@ const discordChannelConfigUiHints = {
|
|
|
335
335
|
help: "Optional Activity application ID. Defaults to the bot application ID learned at gateway startup."
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
|
-
|
|
339
|
-
//#region extensions/discord/src/config-schema.ts
|
|
338
|
+
// extensions/discord/src/config-schema.ts
|
|
340
339
|
const SecretInputSchema = buildSecretInputSchema();
|
|
341
340
|
const DiscordIdSchema = z.union([z.string(), z.number()]).transform((value, ctx) => {
|
|
342
341
|
if (typeof value === "number") {
|
|
@@ -639,5 +638,4 @@ const DiscordConfigSchemaBase = DiscordAccountSchemaBase.safeExtend({
|
|
|
639
638
|
});
|
|
640
639
|
const DiscordConfigSchema = z.preprocess(normalizeShippedDiscordDmAliases, DiscordConfigSchemaBase);
|
|
641
640
|
const DiscordChannelConfigSchema = buildChannelConfigSchema(DiscordConfigSchema, { uiHints: discordChannelConfigUiHints });
|
|
642
|
-
//#endregion
|
|
643
641
|
export { DiscordChannelConfigSchema as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as shouldIgnoreStaleDiscordRouteBinding } from "./outbound-session-route-
|
|
1
|
+
import { _ as shouldIgnoreStaleDiscordRouteBinding } from "./outbound-session-route-TFBPPkoz.mjs";
|
|
2
2
|
import { logVerbose } from "openclaw/plugin-sdk/runtime-env";
|
|
3
3
|
import { inspectRuntimeConversationBindingRoute, resolveConfiguredBindingRoute, resolveRuntimeConversationBindingRouteAsync } from "openclaw/plugin-sdk/conversation-binding-runtime";
|
|
4
|
-
|
|
4
|
+
// extensions/discord/src/monitor/conversation-binding-route.ts
|
|
5
5
|
function prepareDiscordBindingRoute(params) {
|
|
6
6
|
let baseRoute;
|
|
7
7
|
return {
|
|
@@ -64,5 +64,4 @@ function applyDiscordBindingRoute(params, resolvedRuntimeRoute, baseRoute) {
|
|
|
64
64
|
configuredRoute
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
//#endregion
|
|
68
67
|
export { resolveDiscordConversationBindingRouteAsync as n, resolveDiscordConversationBindingRoute as t };
|