@openclaw/discord 2026.10.7 → 2026.10.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.
Files changed (28) hide show
  1. package/dist/.setup/{approval-handler.runtime-CMaAL3nb.mjs → approval-handler.runtime-DGC8OATN.mjs} +1 -1
  2. package/dist/.setup/{channel-1Z1mnB_P.mjs → channel-DoctSTbZ.mjs} +3 -3
  3. package/dist/.setup/{channel.setup-B3KEh05g.mjs → channel.setup-D5efjrCJ.mjs} +1 -1
  4. package/dist/.setup/{doctor-9Ka20lDD.mjs → doctor-BE_R9-Eh.mjs} +1 -1
  5. package/dist/.setup/{message-handler-BbwzASGH.mjs → message-handler-DdemY3B-.mjs} +3 -3
  6. package/dist/.setup/{message-handler.preflight-CdJ-nZdG.mjs → message-handler.preflight-Bv2tfpIw.mjs} +1 -1
  7. package/dist/.setup/{message-handler.process-DOszdJgB.mjs → message-handler.process-CoJWDkRn.mjs} +1 -1
  8. package/dist/.setup/{provider-B9drnVwM.mjs → provider-DJkT89Kp.mjs} +2 -2
  9. package/dist/.setup/{provider-session.runtime-1LmRZB68.mjs → provider-session.runtime-BEImzFVp.mjs} +1 -1
  10. package/dist/.setup/provider.runtime-DTkue8pw.mjs +1 -0
  11. package/dist/.setup/{realtime-session.runtime-DcPHqGQM.mjs → realtime-session.runtime-B0wAXlsc.mjs} +3 -3
  12. package/dist/.setup/{secret-config-contract-CIsH7R3B.mjs → secret-config-contract-B1kE4sDv.mjs} +4 -9
  13. package/dist/.setup/setup-plugin-api-3UZba0ll.mjs +2 -0
  14. package/dist/.setup/{shared-C027f-lL.mjs → shared-iT_BlPF0.mjs} +2 -2
  15. package/dist/.setup/{voice-runtime-CI7JBfeA.mjs → voice-runtime-jeiUUyA3.mjs} +2 -2
  16. package/dist/.source-module-urls/d6c089460280c5a04184542d6712e04545caeb1ebb290d3504377b4cc5e22fea.json +1 -0
  17. package/dist/api.js +2 -2
  18. package/dist/assets/embedded-app-sdk.mjs +1 -1
  19. package/dist/channel-plugin-api.js +1 -1
  20. package/dist/runtime-api.js +2 -2
  21. package/dist/secret-contract-api.js +1 -1
  22. package/dist/setup-entry.js +1 -1
  23. package/dist/setup-plugin-api.js +1 -1
  24. package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.cjs +3 -2
  25. package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.mjs +3 -2
  26. package/package.json +4 -4
  27. package/dist/.setup/provider.runtime-D2zD5EbM.mjs +0 -1
  28. package/dist/.setup/setup-plugin-api-BFl2FljJ.mjs +0 -2
@@ -1 +1 @@
1
- export { t as discordPlugin } from "./.setup/channel-1Z1mnB_P.mjs";
1
+ export { t as discordPlugin } from "./.setup/channel-DoctSTbZ.mjs";
@@ -16,8 +16,8 @@ import { c as resolveThreadBindingPersonaFromRecord, i as createNoopThreadBindin
16
16
  import { a as autoBindSpawnedDiscordSubagent, c as reconcileAcpThreadBindingsOnStartup, d as resolveDiscordThreadBindingIdleTimeoutMs, f as resolveDiscordThreadBindingMaxAgeMs, l as unbindThreadBindingsBySessionKey, n as resolveThreadBindingIntroText, o as listThreadBindingsBySessionKey, p as resolveThreadBindingsEnabled, r as resolveThreadBindingThreadName, s as listThreadBindingsForAccount, t as formatThreadBindingDurationLabel } from "./.setup/thread-bindings-Blhv7XV8.mjs";
17
17
  import { i as probeDiscord, n as fetchDiscordApplicationSummary, r as parseApplicationIdFromToken, s as resolveDiscordPrivilegedIntentsFromFlags, t as fetchDiscordApplicationId } from "./.setup/probe-D3P1x4aN.mjs";
18
18
  import { r as collectDiscordAuditChannelIds, t as auditDiscordChannelPermissions } from "./.setup/audit-Bpu7xst9.mjs";
19
- import { S as createDiscordNativeCommand, a as waitForDiscordGatewayPluginRegistration, i as resolveDiscordGatewayIntents, k as registerDiscordListener, r as createDiscordGatewayPlugin, t as monitorDiscordProvider } from "./.setup/provider-B9drnVwM.mjs";
19
+ import { S as createDiscordNativeCommand, a as waitForDiscordGatewayPluginRegistration, i as resolveDiscordGatewayIntents, k as registerDiscordListener, r as createDiscordGatewayPlugin, t as monitorDiscordProvider } from "./.setup/provider-DJkT89Kp.mjs";
20
20
  import { f as resolveDiscordReplyTarget, g as sanitizeDiscordThreadName } from "./.setup/transcripts-source-EMrQb132.mjs";
21
- import { t as createDiscordMessageHandler } from "./.setup/message-handler-BbwzASGH.mjs";
21
+ import { t as createDiscordMessageHandler } from "./.setup/message-handler-DdemY3B-.mjs";
22
22
  import "./.setup/threading-BWz5lW0p.mjs";
23
23
  export { DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS, DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS, DISCORD_DEFAULT_LISTENER_TIMEOUT_MS, DiscordSendError, addRoleDiscord, allowListMatches, auditDiscordChannelPermissions, autoBindSpawnedDiscordSubagent, banMemberDiscord, clearGateways, clearPresences, collectDiscordAuditChannelIds, createChannelDiscord, createDiscordGatewayPlugin, createDiscordMessageHandler, createDiscordNativeCommand, createNoopThreadBindingManager, createScheduledEventDiscord, createThreadBindingManager, createThreadDiscord, deleteChannelDiscord, deleteMessageDiscord, discordMessageActions, editChannelDiscord, editDiscordComponentMessage, editMessageDiscord, fetchChannelInfoDiscord, fetchChannelPermissionsDiscord, fetchDiscordApplicationId, fetchDiscordApplicationSummary, fetchMemberGuildPermissionsDiscord, fetchMemberInfoDiscord, fetchMessageDiscord, fetchReactionsDiscord, fetchRoleInfoDiscord, fetchVoiceStatusDiscord, formatThreadBindingDurationLabel, getGateway, getPresence, getThreadBindingManager, handleDiscordAction, hasAllGuildPermissionsDiscord, hasAnyGuildPermissionDiscord, isAbortError, isDiscordGroupAllowedByPolicy, isDiscordModerationAction, kickMemberDiscord, listDiscordDirectoryGroupsLive, listDiscordDirectoryPeersLive, listGuildChannelsDiscord, listGuildEmojisDiscord, listPinsDiscord, listScheduledEventsDiscord, listThreadBindingsBySessionKey, listThreadBindingsForAccount, listThreadsDiscord, monitorDiscordProvider, moveChannelDiscord, normalizeDiscordAllowList, normalizeDiscordInboundWorkerTimeoutMs, normalizeDiscordListenerTimeoutMs, normalizeDiscordSlug, parseApplicationIdFromToken, pinMessageDiscord, presenceCacheSize, probeDiscord, reactMessageDiscord, readDiscordChannelCreateParams, readDiscordChannelEditParams, readDiscordChannelMoveParams, readDiscordModerationCommand, readDiscordParentIdParam, readMessagesDiscord, reconcileAcpThreadBindingsOnStartup, registerBuiltDiscordComponentMessage, registerDiscordListener, registerGateway, removeChannelPermissionDiscord, removeOwnReactionsDiscord, removeReactionDiscord, removeRoleDiscord, requiredGuildPermissionForModerationAction, resolveDiscordChannelAllowlist, resolveDiscordChannelConfig, resolveDiscordChannelConfigWithFallback, resolveDiscordCommandAuthorized, resolveDiscordGatewayIntents, resolveDiscordGuildEntry, resolveDiscordOutboundSessionRoute, resolveDiscordPrivilegedIntentsFromFlags, resolveDiscordReplyTarget, resolveDiscordShouldRequireMention, resolveDiscordThreadBindingIdleTimeoutMs, resolveDiscordThreadBindingMaxAgeMs, resolveDiscordUserAllowlist, resolveEventCoverImage, resolveGroupDmAllow, resolveThreadBindingIdleTimeoutMs, resolveThreadBindingInactivityExpiresAt, resolveThreadBindingIntroText, resolveThreadBindingMaxAgeExpiresAt, resolveThreadBindingMaxAgeMs, resolveThreadBindingPersona, resolveThreadBindingPersonaFromRecord, resolveThreadBindingThreadName, resolveThreadBindingsEnabled, runDiscordTaskWithTimeout, sanitizeDiscordThreadName, searchMessagesDiscord, sendDiscordComponentMessage, sendMessageDiscord, sendPollDiscord, sendStickerDiscord, sendTypingDiscord, sendVoiceMessageDiscord, sendWebhookMessageDiscord, setChannelPermissionDiscord, setDiscordRuntime, setPresence, setThreadBindingIdleTimeoutBySessionKey, setThreadBindingMaxAgeBySessionKey, shouldEmitDiscordReactionNotification, timeoutMemberDiscord, unbindThreadBindingsBySessionKey, unpinMessageDiscord, unregisterGateway, uploadEmojiDiscord, uploadStickerDiscord, waitForDiscordGatewayPluginRegistration };
@@ -1 +1 @@
1
- export { t as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-config-contract-CIsH7R3B.mjs";
1
+ export { t as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-config-contract-B1kE4sDv.mjs";
@@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url";
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/setup-plugin-api-BFl2FljJ.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/setup-plugin-api-3UZba0ll.mjs", import.meta.url).href),
8
8
  exportName: "discordSetupPlugin"
9
9
  }
10
10
  });
@@ -1 +1 @@
1
- export { t as discordSetupPlugin } from "./.setup/channel.setup-B3KEh05g.mjs";
1
+ export { t as discordSetupPlugin } from "./.setup/channel.setup-D5efjrCJ.mjs";
@@ -2188,6 +2188,7 @@ class ZodArray extends ZodType {
2188
2188
  exact: true,
2189
2189
  message: def.exactLength.message,
2190
2190
  });
2191
+ if (tooBig) return INVALID;
2191
2192
  status.dirty();
2192
2193
  }
2193
2194
  }
@@ -2214,7 +2215,7 @@ class ZodArray extends ZodType {
2214
2215
  exact: false,
2215
2216
  message: def.maxLength.message,
2216
2217
  });
2217
- status.dirty();
2218
+ return INVALID;
2218
2219
  }
2219
2220
  }
2220
2221
  if (ctx.common.async) {
@@ -3236,7 +3237,7 @@ class ZodSet extends ZodType {
3236
3237
  exact: false,
3237
3238
  message: def.maxSize.message,
3238
3239
  });
3239
- status.dirty();
3240
+ return INVALID;
3240
3241
  }
3241
3242
  }
3242
3243
  const valueType = this._def.valueType;
@@ -2184,6 +2184,7 @@ class ZodArray extends ZodType {
2184
2184
  exact: true,
2185
2185
  message: def.exactLength.message,
2186
2186
  });
2187
+ if (tooBig) return INVALID;
2187
2188
  status.dirty();
2188
2189
  }
2189
2190
  }
@@ -2210,7 +2211,7 @@ class ZodArray extends ZodType {
2210
2211
  exact: false,
2211
2212
  message: def.maxLength.message,
2212
2213
  });
2213
- status.dirty();
2214
+ return INVALID;
2214
2215
  }
2215
2216
  }
2216
2217
  if (ctx.common.async) {
@@ -3232,7 +3233,7 @@ class ZodSet extends ZodType {
3232
3233
  exact: false,
3233
3234
  message: def.maxSize.message,
3234
3235
  });
3235
- status.dirty();
3236
+ return INVALID;
3236
3237
  }
3237
3238
  }
3238
3239
  const valueType = this._def.valueType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/discord",
3
- "version": "2026.10.7",
3
+ "version": "2026.10.9",
4
4
  "description": "OpenClaw Discord channel plugin for channels, DMs, commands, and app events.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "zod": "4.6.5"
20
20
  },
21
21
  "peerDependencies": {
22
- "openclaw": ">=2026.10.7"
22
+ "openclaw": ">=2026.10.9"
23
23
  },
24
24
  "peerDependenciesMeta": {
25
25
  "openclaw": {
@@ -95,14 +95,14 @@
95
95
  "allowInvalidConfigRecovery": true
96
96
  },
97
97
  "compat": {
98
- "pluginApi": ">=2026.10.7"
98
+ "pluginApi": ">=2026.10.9"
99
99
  },
100
100
  "build": {
101
101
  "bundledDist": false,
102
102
  "workerEntries": [
103
103
  "./src/voice/audio-worker.runtime.ts"
104
104
  ],
105
- "openclawVersion": "2026.10.7",
105
+ "openclawVersion": "2026.10.9",
106
106
  "staticAssets": [
107
107
  {
108
108
  "source": "./assets/embedded-app-sdk.mjs",
@@ -1 +0,0 @@
1
- export { t as monitorDiscordProvider } from "./provider-B9drnVwM.mjs";
@@ -1,2 +0,0 @@
1
- export { t as discordSetupPlugin } from "./channel.setup-B3KEh05g.mjs";
2
- import "../setup-plugin-api.js";