@openclaw/discord 2026.11.7 → 2026.11.10-beta.2
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/README.md +37 -0
- package/dist/.setup/{account-inspect-DGkdWwix.mjs → account-inspect-CSz5Qodj.mjs} +2 -3
- package/dist/.setup/{accounts-C_25wyxC.mjs → accounts-DtjvhJUj.mjs} +4 -8
- package/dist/.setup/{active-turn-thread-route-KvRTAVE3.mjs → active-turn-thread-route-DkPnk2x8.mjs} +1 -2
- package/dist/.setup/{allow-list-C3j0qLDp.mjs → allow-list-CkqpzPvP.mjs} +4 -8
- package/dist/.setup/{api-DYRggUgK.mjs → api-C4j_kC-2.mjs} +4 -6
- package/dist/.setup/{approval-handler.runtime-BN4W1r0o.mjs → approval-handler.runtime-DXzPFNvC.mjs} +10 -10
- package/dist/.setup/{approval-message-updates-DKsCfxSW.mjs → approval-message-updates-DqOXxPss.mjs} +3 -4
- package/dist/.setup/{audit-BL6EoUun.mjs → audit-B9vk3V2z.mjs} +6 -7
- package/dist/.setup/{channel-DdI2l55_.mjs → channel-CKffiPiV.mjs} +38 -41
- package/dist/.setup/{channel-access-9cyzozUP.mjs → channel-access-DhJhVrdZ.mjs} +1 -2
- package/dist/.setup/{channel.setup-kNWMxlgu.mjs → channel.setup-DmGdG9BH.mjs} +7 -10
- 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-C1Phe3uw.mjs → components-GePlato3.mjs} +10 -16
- package/dist/.setup/{components.base-CiS0h_XP.mjs → components.base-C5sAPHe4.mjs} +1 -2
- package/dist/.setup/config-DDwcUaxT.mjs +20 -0
- package/dist/.setup/{config-schema-BNKN1cu5.mjs → config-schema-D3M1livr.mjs} +5 -7
- package/dist/.setup/{conversation-binding-route-K_jFbvi5.mjs → conversation-binding-route-CAaWWJdQ.mjs} +2 -3
- package/dist/.setup/conversation-fork-B6PiUuln.mjs +197 -0
- package/dist/.setup/{directory-config-Ble81PWH.mjs → directory-config-BXJuh9-J.mjs} +3 -4
- package/dist/.setup/{directory-live-CY2-qrHI.mjs → directory-live-B9UoQG9g.mjs} +9 -64
- package/dist/.setup/{discord-BRVFhk09.mjs → discord-cXPUdHQi.mjs} +98 -77
- package/dist/.setup/{doctor-RqH-6JB0.mjs → doctor-MTAWTgRa.mjs} +7 -8
- package/dist/.setup/{doctor-contract-Bwv8EuQ_.mjs → doctor-contract-Dstl3cMg.mjs} +2 -3
- package/dist/.setup/{endpoint-runtime-lf4DeLas.mjs → endpoint-runtime-BM3x-m6O.mjs} +1 -2
- package/dist/.setup/{guilds-BSnrns-F.mjs → guilds-DYBhgnfq.mjs} +3 -4
- package/dist/.setup/{handle-action-uD87h2FK.mjs → handle-action-El1ok7Ak.mjs} +13 -12
- package/dist/.setup/{handle-action.guild-admin-CqBx_3mG.mjs → handle-action.guild-admin-CxYfg02j.mjs} +7 -5
- package/dist/.setup/identity-link-B7KOBo_l.mjs +74 -0
- package/dist/.setup/{listeners-DnHLrLIN.mjs → listeners-DIyynRvV.mjs} +2 -3
- package/dist/.setup/{live-policy-config-y0Qy36X3.mjs → live-policy-config-DjIHWFla.mjs} +3 -5
- package/dist/.setup/{message-handler-CWL_u0X8.mjs → message-handler-DP3cAQCZ.mjs} +18 -17
- package/dist/.setup/{message-handler.preflight-83tpEdBG.mjs → message-handler.preflight-S5yc9UdR.mjs} +20 -27
- package/dist/.setup/{message-handler.preflight-pluralkit-Dhcx7Ifz.mjs → message-handler.preflight-pluralkit-BFntgVKc.mjs} +10 -14
- package/dist/.setup/{message-handler.process-BC-wNZwK.mjs → message-handler.process-bXE_4sq5.mjs} +56 -67
- package/dist/.setup/oauth-http-DdVyzSbo.mjs +40 -0
- package/dist/.setup/{outbound-payload-CK3_bDvK.mjs → outbound-payload-Dh6xCO6z.mjs} +18 -13
- package/dist/.setup/{outbound-session-route-Ay_DnOOl.mjs → outbound-session-route-G_fK5RAh.mjs} +22 -34
- 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-C6QtD6HX.mjs → preflight-audio-r4BbaJxh.mjs} +1 -2
- package/dist/.setup/{presence-cache-Dq-3nH7R.mjs → presence-cache-B3xj3b0l.mjs} +1 -2
- package/dist/.setup/{probe-CbDJojNV.mjs → probe-CfGMZwFD.mjs} +5 -6
- package/dist/.setup/{provider-CRb3Myky.mjs → provider-BA4ysXXm.mjs} +200 -249
- package/dist/.setup/{provider-session.runtime-3cZpps3H.mjs → provider-session.runtime-Cr2oPicL.mjs} +3 -3
- package/dist/.setup/provider.runtime-D4BlQKDq.mjs +1 -0
- package/dist/.setup/{proxy-fetch-BzXwBAXt.mjs → proxy-fetch-B8cK6FLQ.mjs} +1 -2
- package/dist/.setup/{realtime-session.runtime-BRYpjS9P.mjs → realtime-session.runtime-DQvAKxj9.mjs} +15 -25
- package/dist/.setup/{receive-recovery-C3Ks4wAQ.mjs → receive-recovery-DV_v5ROf.mjs} +3 -6
- package/dist/.setup/{resolve-allowlist-common-B-S0wRIw.mjs → resolve-allowlist-common-CYdqBUgV.mjs} +3 -4
- package/dist/.setup/{resolve-channels-g16NM6Ho.mjs → resolve-channels-BNnyfCR8.mjs} +6 -7
- package/dist/.setup/{resolve-users-DAfOOXdy.mjs → resolve-users-CDMAGrzv.mjs} +5 -6
- package/dist/.setup/{rolldown-runtime-B4FMCO8f.mjs → rolldown-runtime-nwUcYXjP.mjs} +1 -2
- package/dist/.setup/{runtime--HZ9r3tF.mjs → runtime-CkeNX7ic.mjs} +59 -50
- package/dist/.setup/{runtime-BMgTyuwg.mjs → runtime-DSaHEGJd.mjs} +4 -24
- 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-B1kE4sDv.mjs → secret-config-contract-CP6teHec.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-CtvwfZQ2.mjs → send-DKzwsZkm.mjs} +26 -31
- package/dist/.setup/{send.components-CtLtE0yD.mjs → send.components-CIZALYDP.mjs} +12 -14
- package/dist/.setup/{send.outbound-D58xXPgs.mjs → send.outbound-cQ4Ohmsc.mjs} +11 -16
- package/dist/.setup/send.permissions-BvH_Dr8p.mjs +369 -0
- package/dist/.setup/{send.receipt-DLOV4qx6.mjs → send.receipt-CZ7ks6g7.mjs} +64 -17
- package/dist/.setup/send.shared-D2lh737v.mjs +259 -0
- package/dist/.setup/{sender-identity-BbA7FNbr.mjs → sender-identity-Dt5ELjRN.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-BJt8tAAC.mjs +2 -0
- package/dist/.setup/{shared-Dv2DamaK.mjs → shared-Bf7ifHlc.mjs} +14 -17
- package/dist/.setup/{shared-interactive-DmzaoKOM.mjs → shared-interactive-DKBw4SNV.mjs} +7 -12
- package/dist/.setup/{subagent-hooks-yT45eTyz.mjs → subagent-hooks-CVmIOrAR.mjs} +4 -5
- package/dist/.setup/{system-events-Dlzp9Jcj.mjs → system-events-DB6p2H4l.mjs} +3 -4
- package/dist/.setup/{target-parsing-C-HyNxcE.mjs → target-parsing-BiuhcK9Q.mjs} +1 -2
- package/dist/.setup/{target-resolver-BzaZPBm9.mjs → target-resolver-48znkzky.mjs} +6 -7
- package/dist/.setup/{thread-binding-api-BDZJD4na.mjs → thread-binding-api-Drd4Zu-5.mjs} +1 -2
- package/dist/.setup/{thread-bindings-DRWhgKCc.mjs → thread-bindings-DTHVdmvF.mjs} +7 -10
- package/dist/.setup/{thread-bindings.manager-CWJKirn1.mjs → thread-bindings.manager-6EnH3YZh.mjs} +45 -30
- package/dist/.setup/{thread-bindings.session-updates-DzJrXc4w.mjs → thread-bindings.session-updates-BPO6pPzd.mjs} +9 -12
- package/dist/.setup/{threading-BbsPuT5G.mjs → threading-PC3IIaHd.mjs} +5 -7
- package/dist/.setup/{timeouts-cIxzatmv.mjs → timeouts-CT9hnmo4.mjs} +1 -2
- package/dist/.setup/{transcripts-source-DIW1fU_P.mjs → transcripts-source-C3F_ErM1.mjs} +20 -33
- package/dist/.setup/{typing-CNlSKY5S.mjs → typing-DAv4S2fI.mjs} +2 -3
- package/dist/.setup/{voice-runtime-oJ6BZs5D.mjs → voice-runtime-CZGbraKC.mjs} +28 -46
- 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 +10 -50
- package/dist/api.js +21 -22
- package/dist/assets/embedded-app-sdk.mjs +1 -1
- 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 +7 -8
- package/dist/index.js +1 -2
- package/dist/runtime-api.js +23 -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 +14 -26
- 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/@discord/embedded-app-sdk/output/lib/zod/lib/index.cjs +2 -3
- package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.mjs +2 -3
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/zlib.d.ts +752 -0
- package/node_modules/typebox/build/format/date_time.d.mts +2 -1
- package/node_modules/typebox/build/format/date_time.mjs +12 -3
- package/node_modules/typebox/package.json +1 -1
- package/openclaw.plugin.json +7 -2
- package/package.json +5 -5
- package/dist/.setup/provider.runtime-tmkt3QOg.mjs +0 -1
- package/dist/.setup/send.shared-B_KKRrD7.mjs +0 -589
- package/dist/.setup/setup-plugin-api-ty5RJrMy.mjs +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as DiscordChannelConfigSchema } from "./.setup/config-schema-
|
|
1
|
+
export { t as DiscordChannelConfigSchema } from "./.setup/config-schema-D3M1livr.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as discordPlugin } from "./.setup/channel-
|
|
1
|
+
export { t as discordPlugin } from "./.setup/channel-CKffiPiV.mjs";
|
package/dist/contract-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as deriveLegacySessionChatType } from "./.setup/session-contract-
|
|
1
|
+
export { t as deriveLegacySessionChatType } from "./.setup/session-contract-Bq71MS78.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as listDiscordDirectoryGroupsFromConfig, r as listDiscordDirectoryPeersFromConfig } from "./.setup/directory-config-
|
|
2
|
-
|
|
1
|
+
import { n as listDiscordDirectoryGroupsFromConfig, r as listDiscordDirectoryPeersFromConfig } from "./.setup/directory-config-BXJuh9-J.mjs";
|
|
2
|
+
// extensions/discord/directory-contract-api.ts
|
|
3
3
|
const discordDirectoryContractPlugin = {
|
|
4
4
|
id: "discord",
|
|
5
5
|
directory: {
|
|
@@ -7,5 +7,4 @@ const discordDirectoryContractPlugin = {
|
|
|
7
7
|
listGroups: listDiscordDirectoryGroupsFromConfig
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { discordDirectoryContractPlugin, listDiscordDirectoryGroupsFromConfig, listDiscordDirectoryPeersFromConfig };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as DISCORD_COMMAND_DEPLOY_HASH_NAMESPACE, t as DISCORD_COMMAND_DEPLOY_HASH_MAX_ENTRIES } from "./.setup/command-deploy-store-
|
|
2
|
-
import { t as runtime_doctor_migrations_exports } from "./.setup/runtime-doctor-migrations-
|
|
3
|
-
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-
|
|
1
|
+
import { n as DISCORD_COMMAND_DEPLOY_HASH_NAMESPACE, t as DISCORD_COMMAND_DEPLOY_HASH_MAX_ENTRIES } from "./.setup/command-deploy-store-DPWiBMks.mjs";
|
|
2
|
+
import { t as runtime_doctor_migrations_exports } from "./.setup/runtime-doctor-migrations-BpV1jKk0.mjs";
|
|
3
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-Dstl3cMg.mjs";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
|
|
6
|
+
// extensions/discord/src/monitor/command-deploy-migration.ts
|
|
7
7
|
const detectDiscordCommandDeployCacheMigration = async ({ stateDir }) => {
|
|
8
8
|
const sourcePath = path.join(stateDir, "discord", "command-deploy-cache.json");
|
|
9
9
|
try {
|
|
@@ -26,8 +26,7 @@ const detectDiscordCommandDeployCacheMigration = async ({ stateDir }) => {
|
|
|
26
26
|
readEntries: () => []
|
|
27
27
|
}];
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
//#region extensions/discord/doctor-contract-api.ts
|
|
29
|
+
// extensions/discord/doctor-contract-api.ts
|
|
31
30
|
const stateMigrations = [(0, runtime_doctor_migrations_exports.defineRetiredPluginStateMigration)({
|
|
32
31
|
id: "discord-retired-state",
|
|
33
32
|
label: "Discord retired model preferences and thread bindings",
|
|
@@ -36,7 +35,7 @@ const stateMigrations = [(0, runtime_doctor_migrations_exports.defineRetiredPlug
|
|
|
36
35
|
}), (0, runtime_doctor_migrations_exports.definePluginDoctorMigrationFromPlans)({
|
|
37
36
|
id: "discord-legacy-state",
|
|
38
37
|
label: "Discord command deployment cache",
|
|
39
|
-
resolvePlans: detectDiscordCommandDeployCacheMigration
|
|
38
|
+
resolvePlans: detectDiscordCommandDeployCacheMigration,
|
|
39
|
+
collectBackupResources: () => []
|
|
40
40
|
})];
|
|
41
|
-
//#endregion
|
|
42
41
|
export { legacyConfigRules, normalizeCompatibilityConfig, stateMigrations };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { registerDiscordSubagentHooks } from "./subagent-hooks-api.js";
|
|
2
2
|
import { defineBundledChannelEntry, loadBundledEntryExportSync } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
3
|
-
|
|
3
|
+
// extensions/discord/index.ts
|
|
4
4
|
var discord_default = defineBundledChannelEntry({
|
|
5
5
|
id: "discord",
|
|
6
6
|
name: "Discord",
|
|
@@ -32,5 +32,4 @@ var discord_default = defineBundledChannelEntry({
|
|
|
32
32
|
})(api);
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
|
-
//#endregion
|
|
36
35
|
export { discord_default as default };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as shouldEmitDiscordReactionNotification, c as resolveDiscordChannelConfig, d as resolveDiscordCommandAuthorized, f as resolveDiscordGuildEntry, i as normalizeDiscordAllowList, l as resolveDiscordChannelConfigWithFallback, o as normalizeDiscordSlug, r as isDiscordGroupAllowedByPolicy, t as allowListMatches, v as resolveDiscordShouldRequireMention, y as resolveGroupDmAllow } from "./.setup/allow-list-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import {
|
|
9
|
-
import { n as
|
|
10
|
-
import { r as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { r as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import "./.setup/
|
|
1
|
+
import { _ as registerGateway, a as fetchMemberGuildPermissionsDiscord, g as getGateway, h as clearGateways, i as fetchChannelPermissionsDiscord, l as hasAnyGuildPermissionDiscord, s as hasAllGuildPermissionsDiscord, v as unregisterGateway } from "./.setup/send.permissions-BvH_Dr8p.mjs";
|
|
2
|
+
import { b as shouldEmitDiscordReactionNotification, c as resolveDiscordChannelConfig, d as resolveDiscordCommandAuthorized, f as resolveDiscordGuildEntry, i as normalizeDiscordAllowList, l as resolveDiscordChannelConfigWithFallback, o as normalizeDiscordSlug, r as isDiscordGroupAllowedByPolicy, t as allowListMatches, v as resolveDiscordShouldRequireMention, y as resolveGroupDmAllow } from "./.setup/allow-list-CkqpzPvP.mjs";
|
|
3
|
+
import { g as DiscordSendError } from "./.setup/send.shared-D2lh737v.mjs";
|
|
4
|
+
import { n as listDiscordDirectoryGroupsLive, r as listDiscordDirectoryPeersLive } from "./.setup/directory-live-B9UoQG9g.mjs";
|
|
5
|
+
import { A as listScheduledEventsDiscord, B as moveChannelDiscord, C as fetchChannelInfoDiscord, D as fetchVoiceStatusDiscord, E as fetchRoleInfoDiscord, F as uploadEmojiDiscord, H as setChannelPermissionDiscord, I as uploadStickerDiscord, L as createChannelDiscord, M as resolveEventCoverImage, N as timeoutMemberDiscord, O as kickMemberDiscord, P as listGuildEmojisDiscord, R as deleteChannelDiscord, S as createScheduledEventDiscord, T as fetchMemberInfoDiscord, V as removeChannelPermissionDiscord, _ as readMessagesDiscord, a as removeReactionDiscord, b as addRoleDiscord, c as sendWebhookMessageDiscord, d as deleteMessageDiscord, f as editMessageDiscord, g as pinMessageDiscord, h as listThreadsDiscord, i as removeOwnReactionsDiscord, j as removeRoleDiscord, k as listGuildChannelsDiscord, m as listPinsDiscord, n as fetchReactionsDiscord, o as sendTypingDiscord, p as fetchMessageDiscord, r as reactMessageDiscord, s as sendVoiceMessageDiscord, u as createThreadDiscord, v as searchMessagesDiscord, x as banMemberDiscord, y as unpinMessageDiscord, z as editChannelDiscord } from "./.setup/send-DKzwsZkm.mjs";
|
|
6
|
+
import { n as sendPollDiscord, r as sendStickerDiscord, t as sendMessageDiscord } from "./.setup/send.outbound-cQ4Ohmsc.mjs";
|
|
7
|
+
import { a as isAbortError, c as runDiscordTaskWithTimeout, i as DISCORD_DEFAULT_LISTENER_TIMEOUT_MS, n as DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, o as normalizeDiscordInboundWorkerTimeoutMs, r as DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS, s as normalizeDiscordListenerTimeoutMs, t as DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS } from "./.setup/timeouts-CT9hnmo4.mjs";
|
|
8
|
+
import { n as getPresence, r as setPresence, t as clearPresences } from "./.setup/presence-cache-B3xj3b0l.mjs";
|
|
9
|
+
import { c as readDiscordChannelMoveParams, i as requiredGuildPermissionForModerationAction, l as readDiscordParentIdParam, n as isDiscordModerationAction, o as readDiscordChannelCreateParams, r as readDiscordModerationCommand, s as readDiscordChannelEditParams, t as handleDiscordAction } from "./.setup/runtime-CkeNX7ic.mjs";
|
|
10
|
+
import { n as registerBuiltDiscordComponentMessage, r as sendDiscordComponentMessage, t as editDiscordComponentMessage } from "./.setup/send.components-CIZALYDP.mjs";
|
|
11
|
+
import { r as setDiscordRuntime } from "./.setup/runtime-DcBvHOm1.mjs";
|
|
12
|
+
import { b as discordMessageActions, t as resolveDiscordOutboundSessionRoute } from "./.setup/outbound-session-route-G_fK5RAh.mjs";
|
|
13
|
+
import { F as resolveThreadBindingMaxAgeMs, M as resolveThreadBindingIdleTimeoutMs, N as resolveThreadBindingInactivityExpiresAt, P as resolveThreadBindingMaxAgeExpiresAt, i as setThreadBindingMaxAgeBySessionKeyAsync, n as setThreadBindingIdleTimeoutBySessionKeyAsync, r as setThreadBindingMaxAgeBySessionKey, t as setThreadBindingIdleTimeoutBySessionKey } from "./.setup/thread-bindings.session-updates-BPO6pPzd.mjs";
|
|
14
|
+
import { t as resolveDiscordChannelAllowlist } from "./.setup/resolve-channels-BNnyfCR8.mjs";
|
|
15
|
+
import { t as resolveDiscordUserAllowlist } from "./.setup/resolve-users-CDMAGrzv.mjs";
|
|
16
|
+
import { c as resolveThreadBindingPersonaFromRecord, i as createNoopThreadBindingManager, n as getThreadBindingManager, s as resolveThreadBindingPersona, t as createThreadBindingManager } from "./.setup/thread-bindings.manager-6EnH3YZh.mjs";
|
|
17
|
+
import { a as autoBindSpawnedDiscordSubagent, c as listThreadBindingsForAccount, d as unbindThreadBindingsBySessionKeyAsync, f as resolveDiscordThreadBindingIdleTimeoutMs, l as reconcileAcpThreadBindingsOnStartup, m as resolveThreadBindingsEnabled, n as resolveThreadBindingIntroText, o as listThreadBindingsBySessionKey, p as resolveDiscordThreadBindingMaxAgeMs, r as resolveThreadBindingThreadName, s as listThreadBindingsBySessionKeyAsync, t as formatThreadBindingDurationLabel, u as unbindThreadBindingsBySessionKey } from "./.setup/thread-bindings-DTHVdmvF.mjs";
|
|
18
|
+
import { i as probeDiscord, n as fetchDiscordApplicationSummary, r as parseApplicationIdFromToken, s as resolveDiscordPrivilegedIntentsFromFlags, t as fetchDiscordApplicationId } from "./.setup/probe-CfGMZwFD.mjs";
|
|
19
|
+
import { r as collectDiscordAuditChannelIds, t as auditDiscordChannelPermissions } from "./.setup/audit-B9vk3V2z.mjs";
|
|
20
|
+
import { O as registerDiscordListener, a as waitForDiscordGatewayPluginRegistration, i as resolveDiscordGatewayIntents, r as createDiscordGatewayPlugin, t as monitorDiscordProvider, x as createDiscordNativeCommand } from "./.setup/provider-BA4ysXXm.mjs";
|
|
21
|
+
import { f as resolveDiscordReplyTarget, g as sanitizeDiscordThreadName } from "./.setup/transcripts-source-C3F_ErM1.mjs";
|
|
22
|
+
import { t as createDiscordMessageHandler } from "./.setup/message-handler-DP3cAQCZ.mjs";
|
|
23
|
+
import "./.setup/threading-PC3IIaHd.mjs";
|
|
23
24
|
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, listThreadBindingsBySessionKeyAsync, listThreadBindingsForAccount, listThreadsDiscord, monitorDiscordProvider, moveChannelDiscord, normalizeDiscordAllowList, normalizeDiscordInboundWorkerTimeoutMs, normalizeDiscordListenerTimeoutMs, normalizeDiscordSlug, parseApplicationIdFromToken, pinMessageDiscord, 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, setThreadBindingIdleTimeoutBySessionKeyAsync, setThreadBindingMaxAgeBySessionKey, setThreadBindingMaxAgeBySessionKeyAsync, shouldEmitDiscordReactionNotification, timeoutMemberDiscord, unbindThreadBindingsBySessionKey, unbindThreadBindingsBySessionKeyAsync, unpinMessageDiscord, unregisterGateway, uploadEmojiDiscord, uploadStickerDiscord, waitForDiscordGatewayPluginRegistration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as setDiscordRuntime } from "./.setup/runtime-
|
|
1
|
+
export { r as setDiscordRuntime } from "./.setup/runtime-DcBvHOm1.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-config-contract-
|
|
1
|
+
export { t as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-config-contract-CP6teHec.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as collectDiscordSecurityAuditFindings } from "./.setup/security-audit-
|
|
1
|
+
export { t as collectDiscordSecurityAuditFindings } from "./.setup/security-audit-CTwisG7c.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as collectUnsupportedSecretRefConfigCandidates, n as unsupportedSecretRefSurfacePatterns } from "./.setup/security-contract-
|
|
1
|
+
export { t as collectUnsupportedSecretRefConfigCandidates, n as unsupportedSecretRefSurfacePatterns } from "./.setup/security-contract-D-o0iWDk.mjs";
|
package/dist/session-key-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as normalizeExplicitDiscordSessionKey } from "./.setup/session-key-normalization-
|
|
1
|
+
export { t as normalizeExplicitDiscordSessionKey } from "./.setup/session-key-normalization-Cfvze5hd.mjs";
|
package/dist/setup-entry.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
|
|
3
|
+
// extensions/discord/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-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-BJt8tAAC.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "discordSetupPlugin"
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
//#endregion
|
|
12
11
|
export { setup_entry_default as default };
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as discordSetupPlugin } from "./.setup/channel.setup-
|
|
1
|
+
export { t as discordSetupPlugin } from "./.setup/channel.setup-DmGdG9BH.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as setDiscordAudioOutputStatus, a as recoverDaveZeroTransition, c as createDiscordOpusPlaybackStream, d as decodeOpusStreamChunks, g as serializeDiscordAudioError, m as getDiscordAudioOutputStatus, n as analyzeVoiceReceiveError, p as DiscordAudioOutputStatus, r as enableDaveReceivePassthrough, s as DiscordOpusEncodeStream, u as createRealtimePcmToDiscordConverter } from "../../.setup/receive-recovery-
|
|
2
|
-
import { t as resolveDiscordOutputAudioDelta } from "../../.setup/output-activity-
|
|
1
|
+
import { _ as setDiscordAudioOutputStatus, a as recoverDaveZeroTransition, c as createDiscordOpusPlaybackStream, d as decodeOpusStreamChunks, g as serializeDiscordAudioError, m as getDiscordAudioOutputStatus, n as analyzeVoiceReceiveError, p as DiscordAudioOutputStatus, r as enableDaveReceivePassthrough, s as DiscordOpusEncodeStream, u as createRealtimePcmToDiscordConverter } from "../../.setup/receive-recovery-DV_v5ROf.mjs";
|
|
2
|
+
import { t as resolveDiscordOutputAudioDelta } from "../../.setup/output-activity-CDgs2s3O.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { parentPort, workerData } from "node:worker_threads";
|
|
5
5
|
import { PassThrough, pipeline } from "node:stream";
|
|
@@ -7,13 +7,12 @@ import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
|
7
7
|
import { REALTIME_VOICE_AUDIO_FORMAT_PCM16_24KHZ } from "openclaw/plugin-sdk/realtime-voice-provider";
|
|
8
8
|
import { createSubsystemLogger } from "openclaw/plugin-sdk/runtime-env";
|
|
9
9
|
import { createRealtimeVoiceOutputActivityTracker, isRealtimeVoiceAudioAudible } from "openclaw/plugin-sdk/realtime-voice";
|
|
10
|
-
|
|
10
|
+
// extensions/discord/src/voice/sdk-runtime.ts
|
|
11
11
|
let cachedDiscordVoiceSdk = null;
|
|
12
12
|
function loadDiscordVoiceSdk() {
|
|
13
13
|
return cachedDiscordVoiceSdk ||= createRequire(import.meta.url)("@discordjs/voice");
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
//#region extensions/discord/src/voice/realtime-player.runtime.ts
|
|
15
|
+
// extensions/discord/src/voice/realtime-player.runtime.ts
|
|
17
16
|
const DISCORD_REALTIME_PLAYBACK_IDLE_MS = 2e3;
|
|
18
17
|
/** One physical player serves every speaker lane in the room. */
|
|
19
18
|
var DiscordRealtimePlayer = class {
|
|
@@ -96,8 +95,7 @@ var DiscordRealtimePlayer = class {
|
|
|
96
95
|
});
|
|
97
96
|
}
|
|
98
97
|
};
|
|
99
|
-
|
|
100
|
-
//#region extensions/discord/src/voice/realtime-output.runtime.ts
|
|
98
|
+
// extensions/discord/src/voice/realtime-output.runtime.ts
|
|
101
99
|
const logger = createSubsystemLogger("discord/voice");
|
|
102
100
|
const DISCORD_RAW_PCM_FRAME_BYTES = 3840;
|
|
103
101
|
const DISCORD_REALTIME_OUTPUT_PREROLL_FRAMES = 25;
|
|
@@ -361,8 +359,7 @@ var DiscordRealtimeOutput = class {
|
|
|
361
359
|
}, timeoutMs);
|
|
362
360
|
}
|
|
363
361
|
};
|
|
364
|
-
|
|
365
|
-
//#region extensions/discord/src/voice/continuous-output.runtime.ts
|
|
362
|
+
// extensions/discord/src/voice/continuous-output.runtime.ts
|
|
366
363
|
/** A transferred endpoint is owned by one already-admitted provider generation.
|
|
367
364
|
* No socket, response policy, credential, or speaker admission crosses this port. */
|
|
368
365
|
var DiscordContinuousOutput = class {
|
|
@@ -480,8 +477,7 @@ var DiscordContinuousOutput = class {
|
|
|
480
477
|
this.close();
|
|
481
478
|
}
|
|
482
479
|
};
|
|
483
|
-
|
|
484
|
-
//#region extensions/discord/src/voice/audio-worker.ts
|
|
480
|
+
// extensions/discord/src/voice/audio-worker.ts
|
|
485
481
|
const PLAYBACK_READY_TIMEOUT_MS = 6e4;
|
|
486
482
|
const MAX_CAPTURE_PACKETS = 1e3;
|
|
487
483
|
const MAX_CAPTURE_BYTES = 1048576;
|
|
@@ -772,13 +768,7 @@ var DiscordAudioWorker = class {
|
|
|
772
768
|
}
|
|
773
769
|
onSpeaking(userId, speaking) {
|
|
774
770
|
if (this.stopped) return;
|
|
775
|
-
for (const
|
|
776
|
-
if (capture.userId !== userId) continue;
|
|
777
|
-
if (speaking) {
|
|
778
|
-
clearTimeout(capture.timer);
|
|
779
|
-
capture.timer = void 0;
|
|
780
|
-
} else this.finalizeLater(id, capture);
|
|
781
|
-
}
|
|
771
|
+
for (const capture of this.captures.values()) if (capture.userId === userId) this.finalizeLater(capture, speaking);
|
|
782
772
|
this.post({
|
|
783
773
|
type: "speaking",
|
|
784
774
|
userId,
|
|
@@ -791,11 +781,9 @@ var DiscordAudioWorker = class {
|
|
|
791
781
|
clearTimeout(capture.timer);
|
|
792
782
|
if (!capture.stream.destroyed) capture.stream.destroy();
|
|
793
783
|
}
|
|
794
|
-
finalizeLater(
|
|
784
|
+
finalizeLater(capture, speaking) {
|
|
795
785
|
clearTimeout(capture.timer);
|
|
796
|
-
capture.timer = setTimeout(() =>
|
|
797
|
-
if (this.captures.get(id) === capture) this.stopCapture(capture);
|
|
798
|
-
}, this.options.captureSilenceGraceMs);
|
|
786
|
+
capture.timer = setTimeout(() => this.stopCapture(capture), this.options.captureSilenceGraceMs + (speaking ? this.sdk.SpeakingMap.DELAY : 0));
|
|
799
787
|
}
|
|
800
788
|
async capture(id, userId, recordingEpoch) {
|
|
801
789
|
const connection = this.connection;
|
|
@@ -809,6 +797,7 @@ var DiscordAudioWorker = class {
|
|
|
809
797
|
closed: false
|
|
810
798
|
};
|
|
811
799
|
this.captures.set(id, capture);
|
|
800
|
+
this.finalizeLater(capture, true);
|
|
812
801
|
const input = new PassThrough({ objectMode: true });
|
|
813
802
|
const recordingClock = new BigInt64Array(recordingEpoch);
|
|
814
803
|
const receipts = /* @__PURE__ */ new WeakMap();
|
|
@@ -817,6 +806,7 @@ var DiscordAudioWorker = class {
|
|
|
817
806
|
let decodedFrames = 0;
|
|
818
807
|
const onError = (error) => {
|
|
819
808
|
if (failed) return;
|
|
809
|
+
this.stopCapture(capture);
|
|
820
810
|
const analysis = analyzeVoiceReceiveError(error);
|
|
821
811
|
if (analysis.isAbortLike && !analysis.countsAsDecryptFailure) {
|
|
822
812
|
if (!abortReported) this.post({
|
|
@@ -856,6 +846,7 @@ var DiscordAudioWorker = class {
|
|
|
856
846
|
};
|
|
857
847
|
const accept = (packet) => {
|
|
858
848
|
if (failed || capture.closed || !packet.length) return;
|
|
849
|
+
capture.timer?.refresh();
|
|
859
850
|
if (capture.pendingPackets >= MAX_CAPTURE_PACKETS || capture.pendingBytes + packet.length > MAX_CAPTURE_BYTES) {
|
|
860
851
|
onError(/* @__PURE__ */ new Error("Discord voice receive backlog exceeded; try speaking again."));
|
|
861
852
|
this.stopCapture(capture);
|
|
@@ -885,7 +876,6 @@ var DiscordAudioWorker = class {
|
|
|
885
876
|
stream.on("end", end);
|
|
886
877
|
stream.once("close", finalized);
|
|
887
878
|
stream.on("error", onError);
|
|
888
|
-
if (!connection.receiver.speaking.users.has(userId)) this.finalizeLater(id, capture);
|
|
889
879
|
try {
|
|
890
880
|
await decodeOpusStreamChunks(input, {
|
|
891
881
|
onChunk: async (pcm, packet) => {
|
|
@@ -990,8 +980,7 @@ var DiscordAudioWorker = class {
|
|
|
990
980
|
this.post({ type: "stopped" });
|
|
991
981
|
}
|
|
992
982
|
};
|
|
993
|
-
|
|
994
|
-
//#region extensions/discord/src/voice/audio-worker.runtime.ts
|
|
983
|
+
// extensions/discord/src/voice/audio-worker.runtime.ts
|
|
995
984
|
const port = parentPort;
|
|
996
985
|
if (!port) throw new Error("Discord audio runtime requires a worker MessagePort.");
|
|
997
986
|
const media = new DiscordAudioWorker(workerData, (event) => {
|
|
@@ -1016,5 +1005,4 @@ port.on("close", () => {
|
|
|
1016
1005
|
media.stop();
|
|
1017
1006
|
});
|
|
1018
1007
|
media.connect().catch(fail);
|
|
1019
|
-
//#endregion
|
|
1020
1008
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
2
|
-
|
|
3
|
-
const loadDiscordSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-
|
|
2
|
+
// extensions/discord/subagent-hooks-api.ts
|
|
3
|
+
const loadDiscordSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-CVmIOrAR.mjs").then((n) => n.i));
|
|
4
4
|
function registerDiscordSubagentHooks(api) {
|
|
5
5
|
api.on("subagent_ended", async (event) => {
|
|
6
6
|
const { handleDiscordSubagentEnded } = await loadDiscordSubagentHooksModule();
|
|
@@ -11,5 +11,4 @@ function registerDiscordSubagentHooks(api) {
|
|
|
11
11
|
return await handleDiscordSubagentDeliveryTargetAsync(event);
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { registerDiscordSubagentHooks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as defaultTopLevelPlacement } from "./.setup/thread-binding-api-
|
|
1
|
+
export { t as defaultTopLevelPlacement } from "./.setup/thread-binding-api-Drd4Zu-5.mjs";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as discordVoiceTranscriptsSourceProvider } from "./.setup/transcripts-source-
|
|
2
|
-
|
|
1
|
+
import { n as discordVoiceTranscriptsSourceProvider } from "./.setup/transcripts-source-C3F_ErM1.mjs";
|
|
2
|
+
// extensions/discord/transcripts-source-api.ts
|
|
3
3
|
function registerDiscordTranscriptSourceProvider(api) {
|
|
4
4
|
api.registerTranscriptSourceProvider(discordVoiceTranscriptsSourceProvider);
|
|
5
5
|
}
|
|
6
|
-
//#endregion
|
|
7
6
|
export { registerDiscordTranscriptSourceProvider };
|
|
@@ -2188,7 +2188,6 @@ class ZodArray extends ZodType {
|
|
|
2188
2188
|
exact: true,
|
|
2189
2189
|
message: def.exactLength.message,
|
|
2190
2190
|
});
|
|
2191
|
-
if (tooBig) return INVALID;
|
|
2192
2191
|
status.dirty();
|
|
2193
2192
|
}
|
|
2194
2193
|
}
|
|
@@ -2215,7 +2214,7 @@ class ZodArray extends ZodType {
|
|
|
2215
2214
|
exact: false,
|
|
2216
2215
|
message: def.maxLength.message,
|
|
2217
2216
|
});
|
|
2218
|
-
|
|
2217
|
+
status.dirty();
|
|
2219
2218
|
}
|
|
2220
2219
|
}
|
|
2221
2220
|
if (ctx.common.async) {
|
|
@@ -3237,7 +3236,7 @@ class ZodSet extends ZodType {
|
|
|
3237
3236
|
exact: false,
|
|
3238
3237
|
message: def.maxSize.message,
|
|
3239
3238
|
});
|
|
3240
|
-
|
|
3239
|
+
status.dirty();
|
|
3241
3240
|
}
|
|
3242
3241
|
}
|
|
3243
3242
|
const valueType = this._def.valueType;
|
|
@@ -2184,7 +2184,6 @@ class ZodArray extends ZodType {
|
|
|
2184
2184
|
exact: true,
|
|
2185
2185
|
message: def.exactLength.message,
|
|
2186
2186
|
});
|
|
2187
|
-
if (tooBig) return INVALID;
|
|
2188
2187
|
status.dirty();
|
|
2189
2188
|
}
|
|
2190
2189
|
}
|
|
@@ -2211,7 +2210,7 @@ class ZodArray extends ZodType {
|
|
|
2211
2210
|
exact: false,
|
|
2212
2211
|
message: def.maxLength.message,
|
|
2213
2212
|
});
|
|
2214
|
-
|
|
2213
|
+
status.dirty();
|
|
2215
2214
|
}
|
|
2216
2215
|
}
|
|
2217
2216
|
if (ctx.common.async) {
|
|
@@ -3233,7 +3232,7 @@ class ZodSet extends ZodType {
|
|
|
3233
3232
|
exact: false,
|
|
3234
3233
|
message: def.maxSize.message,
|
|
3235
3234
|
});
|
|
3236
|
-
|
|
3235
|
+
status.dirty();
|
|
3237
3236
|
}
|
|
3238
3237
|
}
|
|
3239
3238
|
const valueType = this._def.valueType;
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 28 Oct 2026 18:34:16 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "26.6.
|
|
3
|
+
"version": "26.6.6",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
"undici-types": "~8.9.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {},
|
|
138
|
-
"typesPublisherContentHash": "
|
|
138
|
+
"typesPublisherContentHash": "53beb6693c262ca57af67f961a0fd8dbb7ffa495737a63f1676f34d45ddaa189",
|
|
139
139
|
"typeScriptVersion": "5.6"
|
|
140
140
|
}
|