@openclaw/discord 2026.5.22 → 2026.5.24-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/dist/action-runtime-api.js +1 -1
- package/dist/api.js +12 -12
- package/dist/{approval-handler.runtime-CyGGSiMH.js → approval-handler.runtime-DFRH9nZ4.js} +3 -3
- package/dist/{audit-DkBvCBsG.js → audit-D3I68CWK.js} +3 -3
- package/dist/{channel-LszCFESI.js → channel-DMgQbhnj.js} +24 -29
- package/dist/{channel-actions-DDwcJy6_.js → channel-actions-Cm0QHxsv.js} +2 -2
- package/dist/{channel-actions.runtime-CnwxnT58.js → channel-actions.runtime-BP_VU815.js} +5 -5
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-rrsenw1h.js → channel.setup-Dh16wwV9.js} +3 -3
- package/dist/{components-CE63uOrc.js → components-BCxyMNaH.js} +1 -1
- package/dist/{config-schema-Kuf9IrLg.js → config-schema-DordNAyp.js} +8 -0
- package/dist/contract-api.js +2 -2
- package/dist/{conversation-identity-jwZ56ing.js → conversation-identity-CzE0g3tC.js} +2 -2
- package/dist/{directory-config-Do_NA_H8.js → directory-config-CkL6nnqZ.js} +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-DekuEEl8.js → directory-live-DZeXDKJ_.js} +1 -1
- package/dist/{doctor-DmPhrTLR.js → doctor-ymCgy8yc.js} +1 -1
- package/dist/{handle-action.guild-admin-09HC30Oh.js → handle-action.guild-admin-ozP4Jj--.js} +1 -1
- package/dist/index.js +3 -0
- package/dist/{manager.runtime-DPtx2pxB.js → manager.runtime-DfmiNzKh.js} +468 -76
- package/dist/meeting-notes-source-api.js +2 -0
- package/dist/meeting-notes-source-dVTfnnBi.js +123 -0
- package/dist/{message-handler-miSYjwxl.js → message-handler-ix5OBBs1.js} +6 -6
- package/dist/{message-handler.preflight-DiLKljGS.js → message-handler.preflight-BHR7pKU1.js} +10 -10
- package/dist/{message-handler.process-BKvQTmVP.js → message-handler.process-BheSnevd.js} +9 -9
- package/dist/{message-utils-U-ax3LTX.js → message-utils-CEaELqGw.js} +1 -1
- package/dist/{outbound-adapter-CF4KuNM6.js → outbound-adapter-BVTo8aVg.js} +6 -6
- package/dist/{pluralkit-sQLfeyIZ.js → pluralkit-BX81hJh4.js} +1 -1
- package/dist/{provider-Bv9Sx9lq.js → provider-CPLDWYC9.js} +26 -16
- package/dist/{provider-session.runtime-BbEz2CZt.js → provider-session.runtime-CwgJI6LP.js} +3 -3
- package/dist/provider.runtime-DnKAm3Kg.js +2 -0
- package/dist/{resolve-channels-BDjtLmjX.js → resolve-channels-BQl2WT8v.js} +1 -1
- package/dist/{resolve-users-BeaV5INm.js → resolve-users-CqW9vVcr.js} +1 -1
- package/dist/{runtime-DxQPyNY7.js → runtime-ZBAq7Trm.js} +7 -7
- package/dist/runtime-api.actions.js +2 -2
- package/dist/runtime-api.js +18 -18
- package/dist/runtime-api.lookup.js +4 -4
- package/dist/runtime-api.monitor-CN7g_Kp7.js +5 -0
- package/dist/runtime-api.monitor.js +4 -4
- package/dist/runtime-api.send.js +5 -5
- package/dist/runtime-api.threads.js +3 -3
- package/dist/{send-BjHCUrvn.js → send-CVjV4H6l.js} +3 -3
- package/dist/{send.components-BcCQ27av.js → send.components-BpnERIQ0.js} +4 -4
- package/dist/{send.outbound-CyvhKilL.js → send.outbound-CWhhKank.js} +3 -3
- package/dist/{send.receipt-spSPAC77.js → send.receipt--EtaMe11.js} +1 -1
- package/dist/{send.shared-C3uAu6bc.js → send.shared-CsGHs6ft.js} +2 -2
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{shared-CgAcqTsg.js → shared-DFP_4nlg.js} +2 -2
- package/dist/{subagent-hooks-DehrqnoK.js → subagent-hooks-BLRmOFEa.js} +2 -2
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/{system-events-HgHeiMHg.js → system-events-sMHIu6aa.js} +1 -1
- package/dist/{target-resolver-squYahVm.js → target-resolver-QZP1tC8H.js} +3 -3
- package/dist/targets-DRvCCf1i.js +3 -0
- package/dist/test-api.js +3 -3
- package/dist/{thread-bindings-BD9jKFo5.js → thread-bindings-DeBPNv4D.js} +4 -4
- package/dist/{thread-bindings.discord-api-D2EF_9XS.js → thread-bindings.discord-api-CaiGJbEP.js} +4 -4
- package/dist/{thread-bindings.manager-AEGKdE3O.js → thread-bindings.manager-ANA-Hk_y.js} +3 -3
- package/dist/{typing-DUUjLsPr.js → typing-tLlUYdt6.js} +1 -1
- package/npm-shrinkwrap.json +3 -3
- package/openclaw.plugin.json +33 -0
- package/package.json +4 -4
- package/dist/provider.runtime-DKBGMsC7.js +0 -2
- package/dist/runtime-api.monitor-Wt6Qf0SL.js +0 -5
- package/dist/targets-BeetkGO0.js +0 -3
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Wt as __exportAll } from "./send.receipt--EtaMe11.js";
|
|
2
|
+
//#region extensions/discord/src/voice/meeting-notes-source.ts
|
|
3
|
+
var meeting_notes_source_exports = /* @__PURE__ */ __exportAll({
|
|
4
|
+
discordVoiceMeetingNotesSourceProvider: () => discordVoiceMeetingNotesSourceProvider,
|
|
5
|
+
setDiscordMeetingNotesVoiceManager: () => setDiscordMeetingNotesVoiceManager
|
|
6
|
+
});
|
|
7
|
+
const managersByAccountId = /* @__PURE__ */ new Map();
|
|
8
|
+
const managerWaiters = /* @__PURE__ */ new Set();
|
|
9
|
+
function setDiscordMeetingNotesVoiceManager(params) {
|
|
10
|
+
if (params.manager) {
|
|
11
|
+
managersByAccountId.set(params.accountId, params.manager);
|
|
12
|
+
for (const waiter of managerWaiters) if (!waiter.accountId || waiter.accountId === params.accountId) waiter.resolve();
|
|
13
|
+
} else managersByAccountId.delete(params.accountId);
|
|
14
|
+
}
|
|
15
|
+
function resolveManager(request) {
|
|
16
|
+
const accountId = request.session.source.accountId?.trim();
|
|
17
|
+
if (accountId) return managersByAccountId.get(accountId);
|
|
18
|
+
return [...managersByAccountId.values()][0];
|
|
19
|
+
}
|
|
20
|
+
async function waitForManager(request) {
|
|
21
|
+
const existing = resolveManager(request);
|
|
22
|
+
if (existing) return existing;
|
|
23
|
+
if (request.abortSignal?.aborted) return;
|
|
24
|
+
const startupWaitMs = request.startupWaitMs ?? 0;
|
|
25
|
+
if (startupWaitMs <= 0) return;
|
|
26
|
+
const accountId = request.session.source.accountId?.trim() || void 0;
|
|
27
|
+
await new Promise((resolve) => {
|
|
28
|
+
const waiter = {
|
|
29
|
+
accountId,
|
|
30
|
+
resolve: () => {
|
|
31
|
+
clearTimeout(timer);
|
|
32
|
+
request.abortSignal?.removeEventListener("abort", waiter.resolve);
|
|
33
|
+
managerWaiters.delete(waiter);
|
|
34
|
+
resolve();
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const timer = setTimeout(waiter.resolve, startupWaitMs);
|
|
38
|
+
timer.unref?.();
|
|
39
|
+
request.abortSignal?.addEventListener("abort", waiter.resolve, { once: true });
|
|
40
|
+
managerWaiters.add(waiter);
|
|
41
|
+
});
|
|
42
|
+
if (request.abortSignal?.aborted) return;
|
|
43
|
+
return resolveManager(request);
|
|
44
|
+
}
|
|
45
|
+
const discordVoiceMeetingNotesSourceProvider = {
|
|
46
|
+
id: "discord-voice",
|
|
47
|
+
aliases: ["discord"],
|
|
48
|
+
name: "Discord Voice",
|
|
49
|
+
sourceKinds: ["live-audio"],
|
|
50
|
+
async start(request) {
|
|
51
|
+
const manager = await waitForManager(request);
|
|
52
|
+
if (!manager) return {
|
|
53
|
+
ok: false,
|
|
54
|
+
error: "Discord voice manager is not available."
|
|
55
|
+
};
|
|
56
|
+
if (request.abortSignal?.aborted) return {
|
|
57
|
+
ok: false,
|
|
58
|
+
error: "Discord meeting notes start aborted."
|
|
59
|
+
};
|
|
60
|
+
const guildId = request.session.source.guildId?.trim();
|
|
61
|
+
const channelId = request.session.source.channelId?.trim();
|
|
62
|
+
if (!guildId || !channelId) return {
|
|
63
|
+
ok: false,
|
|
64
|
+
error: "Discord meeting notes require guildId and channelId."
|
|
65
|
+
};
|
|
66
|
+
const joined = await manager.join({
|
|
67
|
+
guildId,
|
|
68
|
+
channelId
|
|
69
|
+
}, { meetingNotes: {
|
|
70
|
+
sessionId: request.session.sessionId,
|
|
71
|
+
onUtterance: request.onUtterance
|
|
72
|
+
} });
|
|
73
|
+
if (!joined.ok) return {
|
|
74
|
+
ok: false,
|
|
75
|
+
error: joined.message
|
|
76
|
+
};
|
|
77
|
+
return {
|
|
78
|
+
ok: true,
|
|
79
|
+
session: request.session
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
async stop(request) {
|
|
83
|
+
const accountId = request.source.accountId?.trim();
|
|
84
|
+
const manager = accountId ? managersByAccountId.get(accountId) : [...managersByAccountId.values()][0];
|
|
85
|
+
if (!manager) return {
|
|
86
|
+
ok: false,
|
|
87
|
+
error: "Discord voice manager is not available."
|
|
88
|
+
};
|
|
89
|
+
const guildId = request.source.guildId?.trim();
|
|
90
|
+
if (!guildId) return {
|
|
91
|
+
ok: false,
|
|
92
|
+
error: "Discord meeting notes require guildId."
|
|
93
|
+
};
|
|
94
|
+
const result = await manager.leave({
|
|
95
|
+
guildId,
|
|
96
|
+
channelId: request.source.channelId
|
|
97
|
+
}, { meetingNotesSessionId: request.sessionId });
|
|
98
|
+
if (!result.ok) return {
|
|
99
|
+
ok: false,
|
|
100
|
+
error: result.message
|
|
101
|
+
};
|
|
102
|
+
return {
|
|
103
|
+
ok: true,
|
|
104
|
+
sessionId: request.sessionId,
|
|
105
|
+
stoppedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
async status(source) {
|
|
109
|
+
const accountId = source.accountId?.trim();
|
|
110
|
+
return (accountId ? managersByAccountId.get(accountId) : [...managersByAccountId.values()][0])?.status().map((entry) => ({
|
|
111
|
+
active: entry.ok,
|
|
112
|
+
message: entry.message,
|
|
113
|
+
source: {
|
|
114
|
+
providerId: "discord-voice",
|
|
115
|
+
accountId,
|
|
116
|
+
guildId: entry.guildId,
|
|
117
|
+
channelId: entry.channelId
|
|
118
|
+
}
|
|
119
|
+
})) ?? [];
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
//#endregion
|
|
123
|
+
export { meeting_notes_source_exports as n, discordVoiceMeetingNotesSourceProvider as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { N as createDiscordRestClient } from "./send.shared-
|
|
2
|
-
import { d as resolveDiscordChannelNameSafe, l as resolveDiscordChannelIdSafe, p as resolveDiscordChannelParentSafe, u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-
|
|
1
|
+
import { N as createDiscordRestClient } from "./send.shared-CsGHs6ft.js";
|
|
2
|
+
import { d as resolveDiscordChannelNameSafe, l as resolveDiscordChannelIdSafe, p as resolveDiscordChannelParentSafe, u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-CaiGJbEP.js";
|
|
3
3
|
import { a as mergeAbortSignals } from "./timeouts-l_PsHQvX.js";
|
|
4
|
-
import { c as hasDiscordMessageStickers, d as resolveDiscordMessageChannelId, r as resolveDiscordMessageText } from "./message-utils-
|
|
5
|
-
import { t as sendTyping } from "./typing-
|
|
4
|
+
import { c as hasDiscordMessageStickers, d as resolveDiscordMessageChannelId, r as resolveDiscordMessageText } from "./message-utils-CEaELqGw.js";
|
|
5
|
+
import { t as sendTyping } from "./typing-tLlUYdt6.js";
|
|
6
6
|
import { danger, logVerbose } from "openclaw/plugin-sdk/runtime-env";
|
|
7
7
|
import { resolveOpenProviderRuntimeGroupPolicy } from "openclaw/plugin-sdk/runtime-group-policy";
|
|
8
8
|
import { resolveBatchedReplyThreadingPolicy } from "openclaw/plugin-sdk/reply-reference";
|
|
@@ -121,7 +121,7 @@ function applyImplicitReplyBatchGate(ctx, replyToMode, isBatched) {
|
|
|
121
121
|
//#region extensions/discord/src/monitor/message-run-queue.ts
|
|
122
122
|
let messageProcessRuntimePromise;
|
|
123
123
|
async function loadMessageProcessRuntime() {
|
|
124
|
-
messageProcessRuntimePromise ??= import("./message-handler.process-
|
|
124
|
+
messageProcessRuntimePromise ??= import("./message-handler.process-BheSnevd.js");
|
|
125
125
|
return await messageProcessRuntimePromise;
|
|
126
126
|
}
|
|
127
127
|
async function processDiscordQueuedMessage(params) {
|
|
@@ -173,7 +173,7 @@ function createDiscordMessageRunQueue(params) {
|
|
|
173
173
|
//#region extensions/discord/src/monitor/message-handler.ts
|
|
174
174
|
let messagePreflightRuntimePromise;
|
|
175
175
|
async function loadMessagePreflightRuntime() {
|
|
176
|
-
messagePreflightRuntimePromise ??= import("./message-handler.preflight-
|
|
176
|
+
messagePreflightRuntimePromise ??= import("./message-handler.preflight-BHR7pKU1.js");
|
|
177
177
|
return await messagePreflightRuntimePromise;
|
|
178
178
|
}
|
|
179
179
|
function isNonEmptyString(value) {
|
package/dist/{message-handler.preflight-DiLKljGS.js → message-handler.preflight-BHR7pKU1.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as Message, c as discord_exports, mt as getChannelMessage } from "./send.receipt
|
|
1
|
+
import { A as Message, c as discord_exports, mt as getChannelMessage } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { o as resolveDefaultDiscordAccountId } from "./accounts-dXTfmnSZ.js";
|
|
3
3
|
import { S as resolveTimestampMs, _ as resolveGroupDmAllow, a as normalizeDiscordSlug, b as formatDiscordUserTag, c as resolveDiscordChannelConfigWithFallback, d as resolveDiscordGuildEntry, f as resolveDiscordMemberAccessState, g as resolveDiscordShouldRequireMention, i as normalizeDiscordDisplaySlug, n as isDiscordGroupAllowedByPolicy, x as resolveDiscordSystemLocation } from "./allow-list-BnkWtVpA.js";
|
|
4
|
-
import { t as resolveDiscordConversationIdentity } from "./conversation-identity-
|
|
4
|
+
import { t as resolveDiscordConversationIdentity } from "./conversation-identity-CzE0g3tC.js";
|
|
5
5
|
import { l as isRecentlyUnboundThreadWebhookMessage } from "./thread-bindings.state-BsOnj5NX.js";
|
|
6
|
-
import { d as resolveDiscordChannelNameSafe, u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-
|
|
7
|
-
import "./thread-bindings-
|
|
8
|
-
import { C as resolveDiscordDmCommandAccess, f as buildDiscordRoutePeer, g as handleDiscordDmCommandDecision, h as shouldIgnoreStaleDiscordRouteBinding, m as resolveDiscordEffectiveRoute, p as resolveDiscordConversationRoute, w as resolveDiscordTextCommandAccess } from "./provider-
|
|
9
|
-
import { d as resolveDiscordMessageChannelId, l as resolveDiscordMessageStickers, o as resolveMediaList, r as resolveDiscordMessageText, u as resolveDiscordChannelInfo } from "./message-utils-
|
|
6
|
+
import { d as resolveDiscordChannelNameSafe, u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-CaiGJbEP.js";
|
|
7
|
+
import "./thread-bindings-DeBPNv4D.js";
|
|
8
|
+
import { C as resolveDiscordDmCommandAccess, f as buildDiscordRoutePeer, g as handleDiscordDmCommandDecision, h as shouldIgnoreStaleDiscordRouteBinding, m as resolveDiscordEffectiveRoute, p as resolveDiscordConversationRoute, w as resolveDiscordTextCommandAccess } from "./provider-CPLDWYC9.js";
|
|
9
|
+
import { d as resolveDiscordMessageChannelId, l as resolveDiscordMessageStickers, o as resolveMediaList, r as resolveDiscordMessageText, u as resolveDiscordChannelInfo } from "./message-utils-CEaELqGw.js";
|
|
10
10
|
import { n as resolveDiscordWebhookId, t as resolveDiscordSenderIdentity } from "./sender-identity-BFp5w0F8.js";
|
|
11
11
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
12
12
|
import { getChildLogger, logVerbose, shouldLogVerbose } from "openclaw/plugin-sdk/runtime-env";
|
|
@@ -29,7 +29,7 @@ async function loadConversationRuntime$1() {
|
|
|
29
29
|
return await conversationRuntimePromise$1;
|
|
30
30
|
}
|
|
31
31
|
async function loadDiscordSendRuntime() {
|
|
32
|
-
discordSendRuntimePromise ??= import("./send-
|
|
32
|
+
discordSendRuntimePromise ??= import("./send-CVjV4H6l.js").then((n) => n.t);
|
|
33
33
|
return await discordSendRuntimePromise;
|
|
34
34
|
}
|
|
35
35
|
async function resolveDiscordDmPreflightAccess(params) {
|
|
@@ -427,7 +427,7 @@ let preflightAudioRuntimePromise;
|
|
|
427
427
|
let systemEventsRuntimePromise;
|
|
428
428
|
let discordThreadingRuntimePromise;
|
|
429
429
|
async function loadPluralKitRuntime() {
|
|
430
|
-
pluralkitRuntimePromise ??= import("./pluralkit-
|
|
430
|
+
pluralkitRuntimePromise ??= import("./pluralkit-BX81hJh4.js").then((n) => n.n);
|
|
431
431
|
return await pluralkitRuntimePromise;
|
|
432
432
|
}
|
|
433
433
|
async function loadPreflightAudioRuntime() {
|
|
@@ -435,11 +435,11 @@ async function loadPreflightAudioRuntime() {
|
|
|
435
435
|
return await preflightAudioRuntimePromise;
|
|
436
436
|
}
|
|
437
437
|
async function loadSystemEventsRuntime() {
|
|
438
|
-
systemEventsRuntimePromise ??= import("./system-events-
|
|
438
|
+
systemEventsRuntimePromise ??= import("./system-events-sMHIu6aa.js");
|
|
439
439
|
return await systemEventsRuntimePromise;
|
|
440
440
|
}
|
|
441
441
|
async function loadDiscordThreadingRuntime() {
|
|
442
|
-
discordThreadingRuntimePromise ??= import("./provider-
|
|
442
|
+
discordThreadingRuntimePromise ??= import("./provider-CPLDWYC9.js").then((n) => n.v);
|
|
443
443
|
return await discordThreadingRuntimePromise;
|
|
444
444
|
}
|
|
445
445
|
function isPreflightAborted(abortSignal) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Ut as resolveDiscordChannelId, c as discord_exports, ft as editChannelMessage, s as chunkDiscordTextWithMode, st as createChannelMessage, ut as deleteChannelMessage } from "./send.receipt
|
|
1
|
+
import { Ut as resolveDiscordChannelId, c as discord_exports, ft as editChannelMessage, s as chunkDiscordTextWithMode, st as createChannelMessage, ut as deleteChannelMessage } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { f as resolveDiscordMaxLinesPerMessage } from "./accounts-dXTfmnSZ.js";
|
|
3
|
-
import { N as createDiscordRestClient, P as createDiscordRuntimeAccountContext, _ as resolveDiscordMessageFlags, d as resolveDiscordTargetChannelId } from "./send.shared-
|
|
3
|
+
import { N as createDiscordRestClient, P as createDiscordRuntimeAccountContext, _ as resolveDiscordMessageFlags, d as resolveDiscordTargetChannelId } from "./send.shared-CsGHs6ft.js";
|
|
4
4
|
import { S as resolveTimestampMs, a as normalizeDiscordSlug, r as normalizeDiscordAllowList } from "./allow-list-BnkWtVpA.js";
|
|
5
|
-
import { a as removeReactionDiscord, f as editMessageDiscord, r as reactMessageDiscord } from "./send-
|
|
6
|
-
import "./targets-
|
|
7
|
-
import { t as resolveDiscordConversationIdentity } from "./conversation-identity-
|
|
5
|
+
import { a as removeReactionDiscord, f as editMessageDiscord, r as reactMessageDiscord } from "./send-CVjV4H6l.js";
|
|
6
|
+
import "./targets-DRvCCf1i.js";
|
|
7
|
+
import { t as resolveDiscordConversationIdentity } from "./conversation-identity-CzE0g3tC.js";
|
|
8
8
|
import { t as beginDiscordInboundEventDeliveryCorrelation } from "./inbound-event-delivery-DTGIjZVJ.js";
|
|
9
|
-
import { t as DISCORD_TEXT_CHUNK_LIMIT } from "./outbound-adapter-
|
|
9
|
+
import { t as DISCORD_TEXT_CHUNK_LIMIT } from "./outbound-adapter-BVTo8aVg.js";
|
|
10
10
|
import { t as resolveDiscordPreviewStreamMode } from "./preview-streaming-CQ7PsV9J.js";
|
|
11
11
|
import { n as DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, t as DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS } from "./timeouts-l_PsHQvX.js";
|
|
12
|
-
import { a as resolveReplyContext, i as buildGuildLabel, n as deliverDiscordReply, r as buildDirectLabel, x as resolveDiscordThreadStarter, y as resolveDiscordAutoThreadReplyPlan } from "./provider-
|
|
13
|
-
import { a as resolveForwardedMediaList, o as resolveMediaList, r as resolveDiscordMessageText, s as resolveReferencedReplyMediaList } from "./message-utils-
|
|
14
|
-
import { t as sendTyping } from "./typing-
|
|
12
|
+
import { a as resolveReplyContext, i as buildGuildLabel, n as deliverDiscordReply, r as buildDirectLabel, x as resolveDiscordThreadStarter, y as resolveDiscordAutoThreadReplyPlan } from "./provider-CPLDWYC9.js";
|
|
13
|
+
import { a as resolveForwardedMediaList, o as resolveMediaList, r as resolveDiscordMessageText, s as resolveReferencedReplyMediaList } from "./message-utils-CEaELqGw.js";
|
|
14
|
+
import { t as sendTyping } from "./typing-tLlUYdt6.js";
|
|
15
15
|
import { n as buildDiscordInboundAccessContext, r as createDiscordSupplementalContextAccessChecker } from "./inbound-context-B5EsqsSr.js";
|
|
16
16
|
import { buildAgentSessionKey, normalizeAccountId, resolveAccountEntry, resolveThreadSessionKeys } from "openclaw/plugin-sdk/routing";
|
|
17
17
|
import { MessageFlags } from "discord-api-types/v10";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-
|
|
1
|
+
import { u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-CaiGJbEP.js";
|
|
2
2
|
import { a as mergeAbortSignals } from "./timeouts-l_PsHQvX.js";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeOptionalStringifiedId } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { ComponentType, StickerFormatType } from "discord-api-types/v10";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as DiscordError, o as normalizeDiscordOutboundTarget, s as chunkDiscordTextWithMode, t as createDiscordSendReceipt } from "./send.receipt
|
|
1
|
+
import { S as DiscordError, o as normalizeDiscordOutboundTarget, s as chunkDiscordTextWithMode, t as createDiscordSendReceipt } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { s as resolveDiscordAccount } from "./accounts-dXTfmnSZ.js";
|
|
3
|
-
import { d as readDiscordComponentSpec } from "./components-
|
|
3
|
+
import { d as readDiscordComponentSpec } from "./components-BCxyMNaH.js";
|
|
4
4
|
import { n as notifyDiscordInboundEventOutboundPayloadSuccess } from "./inbound-event-delivery-DTGIjZVJ.js";
|
|
5
5
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeOptionalStringifiedId } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { resolvePayloadMediaUrls, sendPayloadMediaSequenceOrFallback, sendTextMediaPayload } from "openclaw/plugin-sdk/reply-payload";
|
|
@@ -85,11 +85,11 @@ function normalizeDiscordApprovalPayload(payload) {
|
|
|
85
85
|
let discordComponentSendPromise;
|
|
86
86
|
let discordSharedInteractivePromise;
|
|
87
87
|
async function sendDiscordComponentMessageLazy(...args) {
|
|
88
|
-
discordComponentSendPromise ??= import("./send.components-
|
|
88
|
+
discordComponentSendPromise ??= import("./send.components-BpnERIQ0.js").then((n) => n.i).then((module) => module.sendDiscordComponentMessage);
|
|
89
89
|
return await (await discordComponentSendPromise)(...args);
|
|
90
90
|
}
|
|
91
91
|
function loadDiscordSharedInteractive() {
|
|
92
|
-
discordSharedInteractivePromise ??= import("./components-
|
|
92
|
+
discordSharedInteractivePromise ??= import("./components-BCxyMNaH.js").then((n) => n.a);
|
|
93
93
|
return discordSharedInteractivePromise;
|
|
94
94
|
}
|
|
95
95
|
function addPayloadTextFallback(spec, payload) {
|
|
@@ -124,7 +124,7 @@ async function resolveDiscordComponentSpec(payload) {
|
|
|
124
124
|
//#region extensions/discord/src/outbound-send-context.ts
|
|
125
125
|
let discordSendRuntimePromise;
|
|
126
126
|
async function loadDiscordSendRuntime() {
|
|
127
|
-
discordSendRuntimePromise ??= import("./send-
|
|
127
|
+
discordSendRuntimePromise ??= import("./send-CVjV4H6l.js").then((n) => n.t);
|
|
128
128
|
return await discordSendRuntimePromise;
|
|
129
129
|
}
|
|
130
130
|
function resolveDiscordOutboundTarget(params) {
|
|
@@ -314,7 +314,7 @@ function stripDiscordInternalRuntimeScaffolding(text) {
|
|
|
314
314
|
}
|
|
315
315
|
let discordThreadBindingsPromise;
|
|
316
316
|
function loadDiscordThreadBindings() {
|
|
317
|
-
discordThreadBindingsPromise ??= import("./thread-bindings-
|
|
317
|
+
discordThreadBindingsPromise ??= import("./thread-bindings-DeBPNv4D.js").then((n) => n.t);
|
|
318
318
|
return discordThreadBindingsPromise;
|
|
319
319
|
}
|
|
320
320
|
function resolveDiscordWebhookIdentity(params) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Wt as __exportAll } from "./send.receipt
|
|
1
|
+
import { Wt as __exportAll } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { resolveFetch } from "openclaw/plugin-sdk/fetch-runtime";
|
|
3
3
|
//#region extensions/discord/src/pluralkit.ts
|
|
4
4
|
var pluralkit_exports = /* @__PURE__ */ __exportAll({ fetchPluralKitMessageInfo: () => fetchPluralKitMessageInfo });
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { $ as BaseMessageInteractiveComponent, A as Message, B as Container, C as RateLimitError, D as Command, F as Modal, J as Separator, K as Row, O as CommandWithSubcommands, R as Button, Wt as __exportAll, X as TextDisplay, Y as StringSelectMenu, b as Plugin, c as discord_exports, ct as createThread, d as MessageReactionAddListener, dt as editChannel, f as MessageReactionRemoveListener, g as ThreadUpdateListener, j as User, k as Guild, l as InteractionCreateListener, m as ReadyListener, mt as getChannelMessage, p as PresenceUpdateListener, s as chunkDiscordTextWithMode, u as MessageCreateListener, y as Client } from "./send.receipt
|
|
1
|
+
import { $ as BaseMessageInteractiveComponent, A as Message, B as Container, C as RateLimitError, D as Command, F as Modal, J as Separator, K as Row, O as CommandWithSubcommands, R as Button, Wt as __exportAll, X as TextDisplay, Y as StringSelectMenu, b as Plugin, c as discord_exports, ct as createThread, d as MessageReactionAddListener, dt as editChannel, f as MessageReactionRemoveListener, g as ThreadUpdateListener, j as User, k as Guild, l as InteractionCreateListener, m as ReadyListener, mt as getChannelMessage, p as PresenceUpdateListener, s as chunkDiscordTextWithMode, u as MessageCreateListener, y as Client } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { c as resolveDiscordAccountAllowFrom, d as resolveDiscordAccountDmPolicy, f as resolveDiscordMaxLinesPerMessage, p as normalizeDiscordToken, s as resolveDiscordAccount } from "./accounts-dXTfmnSZ.js";
|
|
3
|
-
import { _ as parseDiscordComponentCustomId, b as parseDiscordModalCustomIdForInteraction, v as parseDiscordComponentCustomIdForInteraction, y as parseDiscordModalCustomId } from "./components-
|
|
4
|
-
import { a as resolveDiscordComponentEntryWithPersistence, o as resolveDiscordModalEntryWithPersistence, t as editDiscordComponentMessage } from "./send.components-
|
|
3
|
+
import { _ as parseDiscordComponentCustomId, b as parseDiscordModalCustomIdForInteraction, v as parseDiscordComponentCustomIdForInteraction, y as parseDiscordModalCustomId } from "./components-BCxyMNaH.js";
|
|
4
|
+
import { a as resolveDiscordComponentEntryWithPersistence, o as resolveDiscordModalEntryWithPersistence, t as editDiscordComponentMessage } from "./send.components-BpnERIQ0.js";
|
|
5
5
|
import { c as setPresence, i as unregisterGateway, r as registerGateway } from "./gateway-registry-DPxmW0Db.js";
|
|
6
|
-
import { L as DISCORD_REST_TIMEOUT_MS, N as createDiscordRestClient, R as validateDiscordProxyUrl, T as canViewDiscordGuildChannel, z as withValidatedDiscordProxy } from "./send.shared-
|
|
6
|
+
import { L as DISCORD_REST_TIMEOUT_MS, N as createDiscordRestClient, R as validateDiscordProxyUrl, T as canViewDiscordGuildChannel, z as withValidatedDiscordProxy } from "./send.shared-CsGHs6ft.js";
|
|
7
7
|
import { a as summarizeDiscordResponseBody, i as isDiscordRateLimitResponseBody } from "./api-Kq7vtaSO.js";
|
|
8
8
|
import { S as resolveTimestampMs, _ as resolveGroupDmAllow, a as normalizeDiscordSlug, b as formatDiscordUserTag, c as resolveDiscordChannelConfigWithFallback, d as resolveDiscordGuildEntry, f as resolveDiscordMemberAccessState, i as normalizeDiscordDisplaySlug, l as resolveDiscordChannelPolicyCommandAuthorizer, m as resolveDiscordOwnerAccess, n as isDiscordGroupAllowedByPolicy, o as resolveDiscordAllowListMatch, r as normalizeDiscordAllowList, v as shouldEmitDiscordReactionNotification, y as formatDiscordReactionEmoji } from "./allow-list-BnkWtVpA.js";
|
|
9
|
-
import { s as sendVoiceMessageDiscord } from "./send-
|
|
10
|
-
import { i as formatMention, t as sendMessageDiscord } from "./send.outbound-
|
|
11
|
-
import { a as getDiscordExecApprovalApprovers, s as isDiscordExecApprovalClientEnabled, t as resolveDiscordConversationIdentity } from "./conversation-identity-
|
|
12
|
-
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-
|
|
13
|
-
import { t as resolveDiscordUserAllowlist } from "./resolve-users-
|
|
14
|
-
import { _ as formatThreadBindingDurationLabel, a as isThreadArchived, d as resolveDiscordChannelNameSafe, f as resolveDiscordChannelParentIdSafe, l as resolveDiscordChannelIdSafe, m as resolveDiscordChannelTopicSafe, p as resolveDiscordChannelParentSafe, u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-
|
|
9
|
+
import { s as sendVoiceMessageDiscord } from "./send-CVjV4H6l.js";
|
|
10
|
+
import { i as formatMention, t as sendMessageDiscord } from "./send.outbound-CWhhKank.js";
|
|
11
|
+
import { a as getDiscordExecApprovalApprovers, s as isDiscordExecApprovalClientEnabled, t as resolveDiscordConversationIdentity } from "./conversation-identity-CzE0g3tC.js";
|
|
12
|
+
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-BQl2WT8v.js";
|
|
13
|
+
import { t as resolveDiscordUserAllowlist } from "./resolve-users-CqW9vVcr.js";
|
|
14
|
+
import { _ as formatThreadBindingDurationLabel, a as isThreadArchived, d as resolveDiscordChannelNameSafe, f as resolveDiscordChannelParentIdSafe, l as resolveDiscordChannelIdSafe, m as resolveDiscordChannelTopicSafe, p as resolveDiscordChannelParentSafe, u as resolveDiscordChannelInfoSafe } from "./thread-bindings.discord-api-CaiGJbEP.js";
|
|
15
15
|
import { r as parseApplicationIdFromToken, t as fetchDiscordApplicationId } from "./probe-DfIM7zSY.js";
|
|
16
16
|
import { o as raceWithTimeout, s as withAbortTimeout } from "./timeouts-l_PsHQvX.js";
|
|
17
|
-
import { d as resolveDiscordMessageChannelId, n as resolveDiscordForwardedMessagesTextFromSnapshots, t as resolveDiscordEmbedText, u as resolveDiscordChannelInfo } from "./message-utils-
|
|
17
|
+
import { d as resolveDiscordMessageChannelId, n as resolveDiscordForwardedMessagesTextFromSnapshots, t as resolveDiscordEmbedText, u as resolveDiscordChannelInfo } from "./message-utils-CEaELqGw.js";
|
|
18
18
|
import { t as resolveDiscordSenderIdentity } from "./sender-identity-BFp5w0F8.js";
|
|
19
19
|
import { n as buildDiscordInboundAccessContext, t as buildDiscordGroupSystemPrompt } from "./inbound-context-B5EsqsSr.js";
|
|
20
|
-
import "./approval-handler.runtime-
|
|
20
|
+
import "./approval-handler.runtime-DFRH9nZ4.js";
|
|
21
21
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
22
22
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString, normalizeOptionalStringifiedId, normalizeStringEntries, summarizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
23
23
|
import { buildAgentSessionKey, deriveLastRoutePolicy, isAcpSessionKey, isSubagentSessionKey, parseAgentSessionKey, resolveAgentIdFromSessionKey, resolveAgentRoute } from "openclaw/plugin-sdk/routing";
|
|
@@ -7356,7 +7356,7 @@ async function loadConversationRuntime$1() {
|
|
|
7356
7356
|
return await conversationRuntimePromise$1;
|
|
7357
7357
|
}
|
|
7358
7358
|
async function loadTypingRuntime() {
|
|
7359
|
-
typingRuntimePromise ??= import("./typing-
|
|
7359
|
+
typingRuntimePromise ??= import("./typing-tLlUYdt6.js").then((n) => n.n);
|
|
7360
7360
|
return await typingRuntimePromise;
|
|
7361
7361
|
}
|
|
7362
7362
|
function buildDiscordComponentConversationLabel(params) {
|
|
@@ -7777,7 +7777,7 @@ async function dispatchPluginDiscordInteractiveEvent(params) {
|
|
|
7777
7777
|
//#region extensions/discord/src/monitor/agent-components.handlers.ts
|
|
7778
7778
|
let componentsRuntimePromise;
|
|
7779
7779
|
async function loadComponentsRuntime() {
|
|
7780
|
-
componentsRuntimePromise ??= import("./components-
|
|
7780
|
+
componentsRuntimePromise ??= import("./components-BCxyMNaH.js").then((n) => n.t);
|
|
7781
7781
|
return await componentsRuntimePromise;
|
|
7782
7782
|
}
|
|
7783
7783
|
async function handleDiscordComponentEvent(params) {
|
|
@@ -9009,6 +9009,11 @@ async function runDiscordGatewayLifecycle(params) {
|
|
|
9009
9009
|
gatewayEmitter?.removeListener(DISCORD_GATEWAY_TRANSPORT_ACTIVITY_EVENT, onGatewayTransportActivity);
|
|
9010
9010
|
if (params.voiceManager) {
|
|
9011
9011
|
await params.voiceManager.destroy();
|
|
9012
|
+
const { setDiscordMeetingNotesVoiceManager } = await import("./meeting-notes-source-dVTfnnBi.js").then((n) => n.n);
|
|
9013
|
+
setDiscordMeetingNotesVoiceManager({
|
|
9014
|
+
accountId: params.accountId,
|
|
9015
|
+
manager: null
|
|
9016
|
+
});
|
|
9012
9017
|
params.voiceManagerRef.current = null;
|
|
9013
9018
|
}
|
|
9014
9019
|
params.threadBindings.stop();
|
|
@@ -9282,7 +9287,7 @@ function logDiscordStartupPhase(params) {
|
|
|
9282
9287
|
});
|
|
9283
9288
|
}
|
|
9284
9289
|
async function loadDiscordVoiceRuntime() {
|
|
9285
|
-
const promise = discordVoiceRuntimePromise ?? import("./manager.runtime-
|
|
9290
|
+
const promise = discordVoiceRuntimePromise ?? import("./manager.runtime-DfmiNzKh.js");
|
|
9286
9291
|
discordVoiceRuntimePromise = promise;
|
|
9287
9292
|
try {
|
|
9288
9293
|
return await promise;
|
|
@@ -9292,7 +9297,7 @@ async function loadDiscordVoiceRuntime() {
|
|
|
9292
9297
|
}
|
|
9293
9298
|
}
|
|
9294
9299
|
async function loadDiscordProviderSessionRuntime() {
|
|
9295
|
-
const promise = discordProviderSessionRuntimePromise ?? import("./provider-session.runtime-
|
|
9300
|
+
const promise = discordProviderSessionRuntimePromise ?? import("./provider-session.runtime-CwgJI6LP.js");
|
|
9296
9301
|
discordProviderSessionRuntimePromise = promise;
|
|
9297
9302
|
try {
|
|
9298
9303
|
return await promise;
|
|
@@ -9562,6 +9567,11 @@ async function monitorDiscordProvider(opts = {}) {
|
|
|
9562
9567
|
runtime,
|
|
9563
9568
|
botUserId
|
|
9564
9569
|
});
|
|
9570
|
+
const { setDiscordMeetingNotesVoiceManager } = await import("./meeting-notes-source-dVTfnnBi.js").then((n) => n.n);
|
|
9571
|
+
setDiscordMeetingNotesVoiceManager({
|
|
9572
|
+
accountId: account.accountId,
|
|
9573
|
+
manager: voiceManager
|
|
9574
|
+
});
|
|
9565
9575
|
voiceManagerRef.current = voiceManager;
|
|
9566
9576
|
registerDiscordListener(client.listeners, new DiscordVoiceReadyListener(voiceManager));
|
|
9567
9577
|
registerDiscordListener(client.listeners, new DiscordVoiceResumedListener(voiceManager));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as reconcileAcpThreadBindingsOnStartup } from "./thread-bindings-
|
|
2
|
-
import { n as createThreadBindingManager, t as createNoopThreadBindingManager } from "./thread-bindings.manager-
|
|
3
|
-
import { t as createDiscordMessageHandler } from "./message-handler-
|
|
1
|
+
import { a as reconcileAcpThreadBindingsOnStartup } from "./thread-bindings-DeBPNv4D.js";
|
|
2
|
+
import { n as createThreadBindingManager, t as createNoopThreadBindingManager } from "./thread-bindings.manager-ANA-Hk_y.js";
|
|
3
|
+
import { t as createDiscordMessageHandler } from "./message-handler-ix5OBBs1.js";
|
|
4
4
|
import { resolveThreadBindingIdleTimeoutMs, resolveThreadBindingMaxAgeMs, resolveThreadBindingsEnabled } from "openclaw/plugin-sdk/conversation-runtime";
|
|
5
5
|
import { getAcpSessionManager, isAcpRuntimeError } from "openclaw/plugin-sdk/acp-runtime";
|
|
6
6
|
export { createDiscordMessageHandler, createNoopThreadBindingManager, createThreadBindingManager, getAcpSessionManager, isAcpRuntimeError, reconcileAcpThreadBindingsOnStartup, resolveThreadBindingIdleTimeoutMs, resolveThreadBindingMaxAgeMs, resolveThreadBindingsEnabled };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Wt as __exportAll } from "./send.receipt
|
|
1
|
+
import { Wt as __exportAll } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { n as fetchDiscord, t as DiscordApiError } from "./api-Kq7vtaSO.js";
|
|
3
3
|
import { a as normalizeDiscordSlug } from "./allow-list-BnkWtVpA.js";
|
|
4
4
|
import { i as listGuilds, n as filterDiscordGuilds, r as resolveDiscordAllowlistToken, t as buildDiscordUnresolvedResults } from "./resolve-allowlist-common-QzX-w4-_.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Wt as __exportAll } from "./send.receipt
|
|
1
|
+
import { Wt as __exportAll } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { n as fetchDiscord } from "./api-Kq7vtaSO.js";
|
|
3
3
|
import { i as listGuilds, n as filterDiscordGuilds, r as resolveDiscordAllowlistToken, t as buildDiscordUnresolvedResults } from "./resolve-allowlist-common-QzX-w4-_.js";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Ut as resolveDiscordChannelId } from "./send.receipt
|
|
1
|
+
import { Ut as resolveDiscordChannelId } from "./send.receipt--EtaMe11.js";
|
|
2
2
|
import { a as mergeDiscordAccountConfig, o as resolveDefaultDiscordAccountId, t as createDiscordActionGate } from "./accounts-dXTfmnSZ.js";
|
|
3
|
-
import { d as readDiscordComponentSpec } from "./components-
|
|
4
|
-
import { c as jsonResult, d as readNumberParam, f as readReactionParams, g as withNormalizedTimestamp, h as resolvePollMaxSelections, l as parseAvailableTags, m as readStringParam, p as readStringArrayParam, r as sendDiscordComponentMessage, s as assertMediaNotDataUrl, u as readBooleanParam } from "./send.components-
|
|
3
|
+
import { d as readDiscordComponentSpec } from "./components-BCxyMNaH.js";
|
|
4
|
+
import { c as jsonResult, d as readNumberParam, f as readReactionParams, g as withNormalizedTimestamp, h as resolvePollMaxSelections, l as parseAvailableTags, m as readStringParam, p as readStringArrayParam, r as sendDiscordComponentMessage, s as assertMediaNotDataUrl, u as readBooleanParam } from "./send.components-BpnERIQ0.js";
|
|
5
5
|
import { n as getGateway, o as getPresence } from "./gateway-registry-DPxmW0Db.js";
|
|
6
|
-
import { A as isThreadChannelType, E as fetchChannelPermissionsDiscord, P as createDiscordRuntimeAccountContext, d as resolveDiscordTargetChannelId, k as hasAnyGuildPermissionDiscord } from "./send.shared-
|
|
6
|
+
import { A as isThreadChannelType, E as fetchChannelPermissionsDiscord, P as createDiscordRuntimeAccountContext, d as resolveDiscordTargetChannelId, k as hasAnyGuildPermissionDiscord } from "./send.shared-CsGHs6ft.js";
|
|
7
7
|
import { a as normalizeDiscordSlug, c as resolveDiscordChannelConfigWithFallback, n as isDiscordGroupAllowedByPolicy } from "./allow-list-BnkWtVpA.js";
|
|
8
|
-
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, d as deleteMessageDiscord, f as editMessageDiscord, g as pinMessageDiscord, h as listThreadsDiscord, i as removeOwnReactionsDiscord, j as removeRoleDiscord, k as listGuildChannelsDiscord, l as DiscordThreadInitialMessageError, m as listPinsDiscord, n as fetchReactionsDiscord, p as fetchMessageDiscord, r as reactMessageDiscord, s as sendVoiceMessageDiscord, u as createThreadDiscord, v as searchMessagesDiscord, w as fetchGuildInfoDiscord, x as banMemberDiscord, y as unpinMessageDiscord, z as editChannelDiscord } from "./send-
|
|
9
|
-
import { n as sendPollDiscord, r as sendStickerDiscord, t as sendMessageDiscord } from "./send.outbound-
|
|
10
|
-
import "./targets-
|
|
8
|
+
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, d as deleteMessageDiscord, f as editMessageDiscord, g as pinMessageDiscord, h as listThreadsDiscord, i as removeOwnReactionsDiscord, j as removeRoleDiscord, k as listGuildChannelsDiscord, l as DiscordThreadInitialMessageError, m as listPinsDiscord, n as fetchReactionsDiscord, p as fetchMessageDiscord, r as reactMessageDiscord, s as sendVoiceMessageDiscord, u as createThreadDiscord, v as searchMessagesDiscord, w as fetchGuildInfoDiscord, x as banMemberDiscord, y as unpinMessageDiscord, z as editChannelDiscord } from "./send-CVjV4H6l.js";
|
|
9
|
+
import { n as sendPollDiscord, r as sendStickerDiscord, t as sendMessageDiscord } from "./send.outbound-CWhhKank.js";
|
|
10
|
+
import "./targets-DRvCCf1i.js";
|
|
11
11
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
12
12
|
import { PermissionFlagsBits } from "discord-api-types/v10";
|
|
13
13
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as readDiscordChannelCreateParams, c as readDiscordParentIdParam, i as requiredGuildPermissionForModerationAction, n as isDiscordModerationAction, o as readDiscordChannelEditParams, r as readDiscordModerationCommand, s as readDiscordChannelMoveParams, t as handleDiscordAction } from "./runtime-
|
|
2
|
-
import { t as discordMessageActions } from "./channel-actions-
|
|
1
|
+
import { a as readDiscordChannelCreateParams, c as readDiscordParentIdParam, i as requiredGuildPermissionForModerationAction, n as isDiscordModerationAction, o as readDiscordChannelEditParams, r as readDiscordModerationCommand, s as readDiscordChannelMoveParams, t as handleDiscordAction } from "./runtime-ZBAq7Trm.js";
|
|
2
|
+
import { t as discordMessageActions } from "./channel-actions-Cm0QHxsv.js";
|
|
3
3
|
export { discordMessageActions, handleDiscordAction, isDiscordModerationAction, readDiscordChannelCreateParams, readDiscordChannelEditParams, readDiscordChannelMoveParams, readDiscordModerationCommand, readDiscordParentIdParam, requiredGuildPermissionForModerationAction };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { x as resolveDiscordOutboundSessionRoute } from "./components-
|
|
2
|
-
import { n as registerBuiltDiscordComponentMessage, r as sendDiscordComponentMessage, t as editDiscordComponentMessage } from "./send.components-
|
|
1
|
+
import { x as resolveDiscordOutboundSessionRoute } from "./components-BCxyMNaH.js";
|
|
2
|
+
import { n as registerBuiltDiscordComponentMessage, r as sendDiscordComponentMessage, t as editDiscordComponentMessage } from "./send.components-BpnERIQ0.js";
|
|
3
3
|
import { a as clearPresences, c as setPresence, i as unregisterGateway, n as getGateway, o as getPresence, r as registerGateway, s as presenceCacheSize, t as clearGateways } from "./gateway-registry-DPxmW0Db.js";
|
|
4
|
-
import { D as fetchMemberGuildPermissionsDiscord, E as fetchChannelPermissionsDiscord, O as hasAllGuildPermissionsDiscord, k as hasAnyGuildPermissionDiscord, w as DiscordSendError } from "./send.shared-
|
|
5
|
-
import { n as listDiscordDirectoryGroupsLive, r as listDiscordDirectoryPeersLive } from "./directory-live-
|
|
4
|
+
import { D as fetchMemberGuildPermissionsDiscord, E as fetchChannelPermissionsDiscord, O as hasAllGuildPermissionsDiscord, k as hasAnyGuildPermissionDiscord, w as DiscordSendError } from "./send.shared-CsGHs6ft.js";
|
|
5
|
+
import { n as listDiscordDirectoryGroupsLive, r as listDiscordDirectoryPeersLive } from "./directory-live-DZeXDKJ_.js";
|
|
6
6
|
import { _ as resolveGroupDmAllow, a as normalizeDiscordSlug, c as resolveDiscordChannelConfigWithFallback, d as resolveDiscordGuildEntry, g as resolveDiscordShouldRequireMention, n as isDiscordGroupAllowedByPolicy, r as normalizeDiscordAllowList, s as resolveDiscordChannelConfig, t as allowListMatches, u as resolveDiscordCommandAuthorized, v as shouldEmitDiscordReactionNotification } from "./allow-list-BnkWtVpA.js";
|
|
7
|
-
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 "./send-
|
|
8
|
-
import { n as sendPollDiscord, r as sendStickerDiscord, t as sendMessageDiscord } from "./send.outbound-
|
|
9
|
-
import { a as readDiscordChannelCreateParams, c as readDiscordParentIdParam, i as requiredGuildPermissionForModerationAction, n as isDiscordModerationAction, o as readDiscordChannelEditParams, r as readDiscordModerationCommand, s as readDiscordChannelMoveParams, t as handleDiscordAction } from "./runtime-
|
|
7
|
+
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 "./send-CVjV4H6l.js";
|
|
8
|
+
import { n as sendPollDiscord, r as sendStickerDiscord, t as sendMessageDiscord } from "./send.outbound-CWhhKank.js";
|
|
9
|
+
import { a as readDiscordChannelCreateParams, c as readDiscordParentIdParam, i as requiredGuildPermissionForModerationAction, n as isDiscordModerationAction, o as readDiscordChannelEditParams, r as readDiscordModerationCommand, s as readDiscordChannelMoveParams, t as handleDiscordAction } from "./runtime-ZBAq7Trm.js";
|
|
10
10
|
import { r as setDiscordRuntime } from "./runtime-DgnVQ7zW.js";
|
|
11
|
-
import { t as discordMessageActions } from "./channel-actions-
|
|
11
|
+
import { t as discordMessageActions } from "./channel-actions-Cm0QHxsv.js";
|
|
12
12
|
import { C as resolveThreadBindingMaxAgeMs, S as resolveThreadBindingMaxAgeExpiresAt, b as resolveThreadBindingIdleTimeoutMs, l as isRecentlyUnboundThreadWebhookMessage, x as resolveThreadBindingInactivityExpiresAt } from "./thread-bindings.state-BsOnj5NX.js";
|
|
13
13
|
import { n as setThreadBindingMaxAgeBySessionKey, t as setThreadBindingIdleTimeoutBySessionKey } from "./thread-bindings.session-updates-D5gY2ZTE.js";
|
|
14
|
-
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-
|
|
15
|
-
import { t as resolveDiscordUserAllowlist } from "./resolve-users-
|
|
16
|
-
import { _ as formatThreadBindingDurationLabel, b as resolveThreadBindingThreadName, g as resolveThreadBindingPersonaFromRecord, h as resolveThreadBindingPersona, y as resolveThreadBindingIntroText } from "./thread-bindings.discord-api-
|
|
17
|
-
import { a as reconcileAcpThreadBindingsOnStartup, c as resolveDiscordThreadBindingMaxAgeMs, i as listThreadBindingsForAccount, l as resolveThreadBindingsEnabled, n as autoBindSpawnedDiscordSubagent, o as unbindThreadBindingsBySessionKey, r as listThreadBindingsBySessionKey, s as resolveDiscordThreadBindingIdleTimeoutMs } from "./thread-bindings-
|
|
18
|
-
import { i as testing, n as createThreadBindingManager, r as getThreadBindingManager, t as createNoopThreadBindingManager } from "./thread-bindings.manager-
|
|
14
|
+
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-BQl2WT8v.js";
|
|
15
|
+
import { t as resolveDiscordUserAllowlist } from "./resolve-users-CqW9vVcr.js";
|
|
16
|
+
import { _ as formatThreadBindingDurationLabel, b as resolveThreadBindingThreadName, g as resolveThreadBindingPersonaFromRecord, h as resolveThreadBindingPersona, y as resolveThreadBindingIntroText } from "./thread-bindings.discord-api-CaiGJbEP.js";
|
|
17
|
+
import { a as reconcileAcpThreadBindingsOnStartup, c as resolveDiscordThreadBindingMaxAgeMs, i as listThreadBindingsForAccount, l as resolveThreadBindingsEnabled, n as autoBindSpawnedDiscordSubagent, o as unbindThreadBindingsBySessionKey, r as listThreadBindingsBySessionKey, s as resolveDiscordThreadBindingIdleTimeoutMs } from "./thread-bindings-DeBPNv4D.js";
|
|
18
|
+
import { i as testing, n as createThreadBindingManager, r as getThreadBindingManager, t as createNoopThreadBindingManager } from "./thread-bindings.manager-ANA-Hk_y.js";
|
|
19
19
|
import { a as resolveDiscordPrivilegedIntentsFromFlags, i as probeDiscord, n as fetchDiscordApplicationSummary, r as parseApplicationIdFromToken, t as fetchDiscordApplicationId } from "./probe-DfIM7zSY.js";
|
|
20
20
|
import { a as mergeAbortSignals, i as DISCORD_DEFAULT_LISTENER_TIMEOUT_MS, n as DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, r as DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS, t as DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS } from "./timeouts-l_PsHQvX.js";
|
|
21
21
|
import "./runtime-api.actions.js";
|
|
22
|
-
import { r as collectDiscordAuditChannelIds, t as auditDiscordChannelPermissions } from "./audit-
|
|
22
|
+
import { r as collectDiscordAuditChannelIds, t as auditDiscordChannelPermissions } from "./audit-D3I68CWK.js";
|
|
23
23
|
import "./runtime-api.lookup.js";
|
|
24
|
-
import { S as sanitizeDiscordThreadName, _ as registerDiscordListener, b as resolveDiscordReplyTarget, c as resolveDiscordGatewayIntents, d as createDiscordNativeCommand, l as waitForDiscordGatewayPluginRegistration, s as createDiscordGatewayPlugin, t as monitorDiscordProvider } from "./provider-
|
|
25
|
-
import { i as buildDiscordMediaPayload } from "./message-utils-
|
|
26
|
-
import { t as createDiscordMessageHandler } from "./message-handler-
|
|
27
|
-
import "./runtime-api.monitor-
|
|
24
|
+
import { S as sanitizeDiscordThreadName, _ as registerDiscordListener, b as resolveDiscordReplyTarget, c as resolveDiscordGatewayIntents, d as createDiscordNativeCommand, l as waitForDiscordGatewayPluginRegistration, s as createDiscordGatewayPlugin, t as monitorDiscordProvider } from "./provider-CPLDWYC9.js";
|
|
25
|
+
import { i as buildDiscordMediaPayload } from "./message-utils-CEaELqGw.js";
|
|
26
|
+
import { t as createDiscordMessageHandler } from "./message-handler-ix5OBBs1.js";
|
|
27
|
+
import "./runtime-api.monitor-CN7g_Kp7.js";
|
|
28
28
|
import "./runtime-api.send.js";
|
|
29
29
|
import "./runtime-api.threads.js";
|
|
30
30
|
export { DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS, DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS, DISCORD_DEFAULT_LISTENER_TIMEOUT_MS, DiscordSendError, testing as __testing, testing, addRoleDiscord, allowListMatches, auditDiscordChannelPermissions, autoBindSpawnedDiscordSubagent, banMemberDiscord, buildDiscordMediaPayload, 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, isDiscordGroupAllowedByPolicy, isDiscordModerationAction, isRecentlyUnboundThreadWebhookMessage, kickMemberDiscord, listDiscordDirectoryGroupsLive, listDiscordDirectoryPeersLive, listGuildChannelsDiscord, listGuildEmojisDiscord, listPinsDiscord, listScheduledEventsDiscord, listThreadBindingsBySessionKey, listThreadBindingsForAccount, listThreadsDiscord, mergeAbortSignals, monitorDiscordProvider, moveChannelDiscord, normalizeDiscordAllowList, 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, sanitizeDiscordThreadName, searchMessagesDiscord, sendDiscordComponentMessage, sendMessageDiscord, sendPollDiscord, sendStickerDiscord, sendTypingDiscord, sendVoiceMessageDiscord, sendWebhookMessageDiscord, setChannelPermissionDiscord, setDiscordRuntime, setPresence, setThreadBindingIdleTimeoutBySessionKey, setThreadBindingMaxAgeBySessionKey, shouldEmitDiscordReactionNotification, timeoutMemberDiscord, unbindThreadBindingsBySessionKey, unpinMessageDiscord, unregisterGateway, uploadEmojiDiscord, uploadStickerDiscord, waitForDiscordGatewayPluginRegistration };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as listDiscordDirectoryGroupsLive, r as listDiscordDirectoryPeersLive } from "./directory-live-
|
|
1
|
+
import { n as listDiscordDirectoryGroupsLive, r as listDiscordDirectoryPeersLive } from "./directory-live-DZeXDKJ_.js";
|
|
2
2
|
import { r as setDiscordRuntime } from "./runtime-DgnVQ7zW.js";
|
|
3
|
-
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-
|
|
4
|
-
import { t as resolveDiscordUserAllowlist } from "./resolve-users-
|
|
3
|
+
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-BQl2WT8v.js";
|
|
4
|
+
import { t as resolveDiscordUserAllowlist } from "./resolve-users-CqW9vVcr.js";
|
|
5
5
|
import { a as resolveDiscordPrivilegedIntentsFromFlags, i as probeDiscord, n as fetchDiscordApplicationSummary, r as parseApplicationIdFromToken, t as fetchDiscordApplicationId } from "./probe-DfIM7zSY.js";
|
|
6
|
-
import { r as collectDiscordAuditChannelIds, t as auditDiscordChannelPermissions } from "./audit-
|
|
6
|
+
import { r as collectDiscordAuditChannelIds, t as auditDiscordChannelPermissions } from "./audit-D3I68CWK.js";
|
|
7
7
|
export { auditDiscordChannelPermissions, collectDiscordAuditChannelIds, fetchDiscordApplicationId, fetchDiscordApplicationSummary, listDiscordDirectoryGroupsLive, listDiscordDirectoryPeersLive, parseApplicationIdFromToken, probeDiscord, resolveDiscordChannelAllowlist, resolveDiscordPrivilegedIntentsFromFlags, resolveDiscordUserAllowlist, setDiscordRuntime };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as clearPresences, c as setPresence, i as unregisterGateway, n as getGateway, o as getPresence, r as registerGateway, s as presenceCacheSize, t as clearGateways } from "./gateway-registry-DPxmW0Db.js";
|
|
2
2
|
import { _ as resolveGroupDmAllow, a as normalizeDiscordSlug, c as resolveDiscordChannelConfigWithFallback, d as resolveDiscordGuildEntry, g as resolveDiscordShouldRequireMention, n as isDiscordGroupAllowedByPolicy, r as normalizeDiscordAllowList, s as resolveDiscordChannelConfig, t as allowListMatches, u as resolveDiscordCommandAuthorized, v as shouldEmitDiscordReactionNotification } from "./allow-list-BnkWtVpA.js";
|
|
3
3
|
import { a as mergeAbortSignals, i as DISCORD_DEFAULT_LISTENER_TIMEOUT_MS, n as DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, r as DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS, t as DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS } from "./timeouts-l_PsHQvX.js";
|
|
4
|
-
import { S as sanitizeDiscordThreadName, _ as registerDiscordListener, b as resolveDiscordReplyTarget, c as resolveDiscordGatewayIntents, d as createDiscordNativeCommand, l as waitForDiscordGatewayPluginRegistration, s as createDiscordGatewayPlugin, t as monitorDiscordProvider } from "./provider-
|
|
5
|
-
import { i as buildDiscordMediaPayload } from "./message-utils-
|
|
6
|
-
import { t as createDiscordMessageHandler } from "./message-handler-
|
|
7
|
-
import "./runtime-api.monitor-
|
|
4
|
+
import { S as sanitizeDiscordThreadName, _ as registerDiscordListener, b as resolveDiscordReplyTarget, c as resolveDiscordGatewayIntents, d as createDiscordNativeCommand, l as waitForDiscordGatewayPluginRegistration, s as createDiscordGatewayPlugin, t as monitorDiscordProvider } from "./provider-CPLDWYC9.js";
|
|
5
|
+
import { i as buildDiscordMediaPayload } from "./message-utils-CEaELqGw.js";
|
|
6
|
+
import { t as createDiscordMessageHandler } from "./message-handler-ix5OBBs1.js";
|
|
7
|
+
import "./runtime-api.monitor-CN7g_Kp7.js";
|
|
8
8
|
export { DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS, DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS, DISCORD_DEFAULT_LISTENER_TIMEOUT_MS, allowListMatches, buildDiscordMediaPayload, clearGateways, clearPresences, createDiscordGatewayPlugin, createDiscordMessageHandler, createDiscordNativeCommand, getGateway, getPresence, isDiscordGroupAllowedByPolicy, mergeAbortSignals, monitorDiscordProvider, normalizeDiscordAllowList, normalizeDiscordSlug, presenceCacheSize, registerDiscordListener, registerGateway, resolveDiscordChannelConfig, resolveDiscordChannelConfigWithFallback, resolveDiscordCommandAuthorized, resolveDiscordGatewayIntents, resolveDiscordGuildEntry, resolveDiscordReplyTarget, resolveDiscordShouldRequireMention, resolveGroupDmAllow, sanitizeDiscordThreadName, setPresence, shouldEmitDiscordReactionNotification, unregisterGateway, waitForDiscordGatewayPluginRegistration };
|
package/dist/runtime-api.send.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as resolveDiscordOutboundSessionRoute } from "./components-
|
|
2
|
-
import { n as registerBuiltDiscordComponentMessage, r as sendDiscordComponentMessage, t as editDiscordComponentMessage } from "./send.components-
|
|
3
|
-
import { D as fetchMemberGuildPermissionsDiscord, E as fetchChannelPermissionsDiscord, O as hasAllGuildPermissionsDiscord, k as hasAnyGuildPermissionDiscord, w as DiscordSendError } from "./send.shared-
|
|
4
|
-
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 "./send-
|
|
5
|
-
import { n as sendPollDiscord, r as sendStickerDiscord, t as sendMessageDiscord } from "./send.outbound-
|
|
1
|
+
import { x as resolveDiscordOutboundSessionRoute } from "./components-BCxyMNaH.js";
|
|
2
|
+
import { n as registerBuiltDiscordComponentMessage, r as sendDiscordComponentMessage, t as editDiscordComponentMessage } from "./send.components-BpnERIQ0.js";
|
|
3
|
+
import { D as fetchMemberGuildPermissionsDiscord, E as fetchChannelPermissionsDiscord, O as hasAllGuildPermissionsDiscord, k as hasAnyGuildPermissionDiscord, w as DiscordSendError } from "./send.shared-CsGHs6ft.js";
|
|
4
|
+
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 "./send-CVjV4H6l.js";
|
|
5
|
+
import { n as sendPollDiscord, r as sendStickerDiscord, t as sendMessageDiscord } from "./send.outbound-CWhhKank.js";
|
|
6
6
|
export { DiscordSendError, addRoleDiscord, banMemberDiscord, createChannelDiscord, createScheduledEventDiscord, createThreadDiscord, deleteChannelDiscord, deleteMessageDiscord, editChannelDiscord, editDiscordComponentMessage, editMessageDiscord, fetchChannelInfoDiscord, fetchChannelPermissionsDiscord, fetchMemberGuildPermissionsDiscord, fetchMemberInfoDiscord, fetchMessageDiscord, fetchReactionsDiscord, fetchRoleInfoDiscord, fetchVoiceStatusDiscord, hasAllGuildPermissionsDiscord, hasAnyGuildPermissionDiscord, kickMemberDiscord, listGuildChannelsDiscord, listGuildEmojisDiscord, listPinsDiscord, listScheduledEventsDiscord, listThreadsDiscord, moveChannelDiscord, pinMessageDiscord, reactMessageDiscord, readMessagesDiscord, registerBuiltDiscordComponentMessage, removeChannelPermissionDiscord, removeOwnReactionsDiscord, removeReactionDiscord, removeRoleDiscord, resolveDiscordOutboundSessionRoute, resolveEventCoverImage, searchMessagesDiscord, sendDiscordComponentMessage, sendMessageDiscord, sendPollDiscord, sendStickerDiscord, sendTypingDiscord, sendVoiceMessageDiscord, sendWebhookMessageDiscord, setChannelPermissionDiscord, timeoutMemberDiscord, unpinMessageDiscord, uploadEmojiDiscord, uploadStickerDiscord };
|