@openclaw/discord 2026.5.18 → 2026.5.19-alpha.1
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-CpNuGEHP.js → approval-handler.runtime-CRpNixJy.js} +3 -3
- package/dist/{audit-CniGmJUL.js → audit-DEF10R9j.js} +3 -3
- package/dist/{channel-actions-DRqDFJUk.js → channel-actions-rQOtd5Rt.js} +2 -2
- package/dist/{channel-actions.runtime-DVnGrlsm.js → channel-actions.runtime-BfLVeoKv.js} +5 -5
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel-n7fwA0Rx.js → channel-qPEC6Shs.js} +14 -14
- package/dist/{channel.setup-D1j7U4B3.js → channel.setup-DR3-U0wF.js} +2 -2
- package/dist/{components-KsP3ijoj.js → components-Cd3ZXYft.js} +1 -1
- package/dist/contract-api.js +3 -3
- package/dist/{conversation-identity-CYgemFy7.js → conversation-identity-BY7sjUQh.js} +2 -2
- package/dist/{directory-config-B5jO6mjo.js → directory-config-x3YzNdoX.js} +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-D5VrQBC7.js → directory-live-CJiEWQwK.js} +1 -1
- package/dist/{handle-action.guild-admin-CqCngm8I.js → handle-action.guild-admin-xnLKW1Uy.js} +1 -1
- package/dist/{manager.runtime-DigfejdS.js → manager.runtime-D9IyIbY-.js} +3 -3
- package/dist/{message-handler-Jsc36DUW.js → message-handler-C7U1HroS.js} +9 -9
- package/dist/{message-handler.preflight--cdiq4ck.js → message-handler.preflight-Bh9lQq-H.js} +10 -10
- package/dist/{message-handler.process-9JHT0Fok.js → message-handler.process-CdwzsvoT.js} +11 -11
- package/dist/{message-utils-BZriBbcg.js → message-utils-BKrlzFtM.js} +1 -1
- package/dist/{outbound-adapter-C54-43UU.js → outbound-adapter-Cs--Bcn3.js} +6 -6
- package/dist/{pluralkit-BHV93ojA.js → pluralkit-BnCH6cHK.js} +1 -1
- package/dist/{provider-BXK0P155.js → provider-DESHPWkv.js} +20 -20
- package/dist/{provider-session.runtime-CMvHIMEE.js → provider-session.runtime-CpruByPN.js} +3 -3
- package/dist/provider.runtime-BejymnDs.js +2 -0
- package/dist/{resolve-channels-AxDQ4jXh.js → resolve-channels-Czrd7fOv.js} +1 -1
- package/dist/{resolve-users-D7w0icpA.js → resolve-users-D7hQMaaq.js} +1 -1
- package/dist/{runtime-CqTcWrem.js → runtime-DsGoffYI.js} +7 -7
- package/dist/runtime-api.actions.js +2 -2
- package/dist/runtime-api.js +19 -19
- package/dist/runtime-api.lookup.js +4 -4
- package/dist/runtime-api.monitor-Crds4B6c.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 +4 -4
- package/dist/{send-DuW4qqIK.js → send-BsBy21Te.js} +3 -3
- package/dist/{send.components-BjAjvjmT.js → send.components-CIlBhjP-.js} +4 -4
- package/dist/{send.outbound-PAYV11wW.js → send.outbound-C0OzZAv_.js} +3 -3
- package/dist/{send.receipt-nKLxvA1s.js → send.receipt-Dhym-qOF.js} +37 -37
- package/dist/{send.shared-CJ6oJrVc.js → send.shared-C6JLgsbp.js} +2 -2
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{subagent-hooks-CnPSppNz.js → subagent-hooks-DCIt8Gt7.js} +12 -5
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/{system-events-CEehp53f.js → system-events-DEuiLTl9.js} +1 -1
- package/dist/{target-resolver-CgtNlbhO.js → target-resolver-C5tK3vit.js} +2 -2
- package/dist/targets-JvlTzyfK.js +3 -0
- package/dist/test-api.js +4 -4
- package/dist/{thread-bindings-CXZ2h9DB.js → thread-bindings-BcXgbZ3-.js} +5 -5
- package/dist/{thread-bindings.discord-api-_zMU4M2x.js → thread-bindings.discord-api-BzelVdsY.js} +4 -4
- package/dist/{thread-bindings.manager-XKdkYEit.js → thread-bindings.manager-CouT_qjE.js} +8 -7
- package/dist/{typing-DudlJ-Fv.js → typing-DtdZgo-g.js} +1 -1
- package/package.json +4 -4
- package/dist/provider.runtime-TGlvSd9K.js +0 -2
- package/dist/runtime-api.monitor-D97Sc6-n.js +0 -5
- package/dist/targets-Z4SW2zZs.js +0 -3
package/dist/{thread-bindings.discord-api-_zMU4M2x.js → thread-bindings.discord-api-BzelVdsY.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ut as resolveDiscordChannelId, pt as getChannel, tt as createChannelWebhook } from "./send.receipt-
|
|
2
|
-
import { N as createDiscordRestClient } from "./send.shared-
|
|
3
|
-
import { c as sendWebhookMessageDiscord, u as createThreadDiscord } from "./send-
|
|
4
|
-
import { t as sendMessageDiscord } from "./send.outbound-
|
|
1
|
+
import { Ut as resolveDiscordChannelId, pt as getChannel, tt as createChannelWebhook } from "./send.receipt-Dhym-qOF.js";
|
|
2
|
+
import { N as createDiscordRestClient } from "./send.shared-C6JLgsbp.js";
|
|
3
|
+
import { c as sendWebhookMessageDiscord, u as createThreadDiscord } from "./send-BsBy21Te.js";
|
|
4
|
+
import { t as sendMessageDiscord } from "./send.outbound-C0OzZAv_.js";
|
|
5
5
|
import { i as REUSABLE_WEBHOOKS_BY_ACCOUNT_CHANNEL, k as toReusableWebhookKey, m as rememberReusableWebhook, t as BINDINGS_BY_THREAD_ID } from "./thread-bindings.state-CSphZOiL.js";
|
|
6
6
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { ChannelType } from "discord-api-types/v10";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ut as resolveDiscordChannelId, Wt as __exportAll, pt as getChannel } from "./send.receipt-
|
|
2
|
-
import { N as createDiscordRestClient } from "./send.shared-
|
|
1
|
+
import { Ut as resolveDiscordChannelId, Wt as __exportAll, pt as getChannel } from "./send.receipt-Dhym-qOF.js";
|
|
2
|
+
import { N as createDiscordRestClient } from "./send.shared-C6JLgsbp.js";
|
|
3
3
|
import { A as DEFAULT_THREAD_BINDING_IDLE_TIMEOUT_MS, C as resolveThreadBindingMaxAgeMs$1, D as shouldDefaultPersist, E as setBindingRecord, M as THREAD_BINDINGS_SWEEP_INTERVAL_MS, S as resolveThreadBindingMaxAgeExpiresAt, T as saveBindingsToDisk, _ as resetThreadBindingsForTests, a as THREAD_BINDING_TOUCH_PERSIST_MIN_INTERVAL_MS, b as resolveThreadBindingIdleTimeoutMs$1, c as getThreadBindingToken, d as normalizeThreadBindingDurationMs, f as normalizeThreadId, g as removeBindingRecord, h as rememberThreadBindingToken, n as MANAGERS_BY_ACCOUNT_ID, o as ensureBindingsLoaded, p as rememberRecentUnboundWebhookEcho, r as PERSIST_BY_ACCOUNT_ID, s as forgetThreadBindingToken, t as BINDINGS_BY_THREAD_ID, u as normalizeTargetKind, v as resolveBindingIdsForSession, w as resolveThreadBindingsPath, x as resolveThreadBindingInactivityExpiresAt, y as resolveBindingRecordKey } from "./thread-bindings.state-CSphZOiL.js";
|
|
4
|
-
import { a as isThreadArchived, b as resolveThreadBindingThreadName, c as summarizeDiscordError, i as isDiscordThreadGoneError, n as createWebhookForChannel, o as maybeSendBindingMessage, r as findReusableWebhook, s as resolveChannelIdForBinding, t as createThreadForBinding, v as resolveThreadBindingFarewellText } from "./thread-bindings.discord-api-
|
|
4
|
+
import { a as isThreadArchived, b as resolveThreadBindingThreadName, c as summarizeDiscordError, i as isDiscordThreadGoneError, n as createWebhookForChannel, o as maybeSendBindingMessage, r as findReusableWebhook, s as resolveChannelIdForBinding, t as createThreadForBinding, v as resolveThreadBindingFarewellText } from "./thread-bindings.discord-api-BzelVdsY.js";
|
|
5
5
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { normalizeAccountId, resolveAgentIdFromSessionKey } from "openclaw/plugin-sdk/routing";
|
|
7
7
|
import { getRuntimeConfigSnapshot } from "openclaw/plugin-sdk/runtime-config-snapshot";
|
|
@@ -160,10 +160,11 @@ function createThreadBindingSessionAdapter(params) {
|
|
|
160
160
|
//#endregion
|
|
161
161
|
//#region extensions/discord/src/monitor/thread-bindings.manager.ts
|
|
162
162
|
var thread_bindings_manager_exports = /* @__PURE__ */ __exportAll({
|
|
163
|
-
__testing: () =>
|
|
163
|
+
__testing: () => testing,
|
|
164
164
|
createNoopThreadBindingManager: () => createNoopThreadBindingManager,
|
|
165
165
|
createThreadBindingManager: () => createThreadBindingManager,
|
|
166
|
-
getThreadBindingManager: () => getThreadBindingManager
|
|
166
|
+
getThreadBindingManager: () => getThreadBindingManager,
|
|
167
|
+
testing: () => testing
|
|
167
168
|
});
|
|
168
169
|
function registerManager(manager) {
|
|
169
170
|
MANAGERS_BY_ACCOUNT_ID.set(manager.accountId, manager);
|
|
@@ -520,7 +521,7 @@ function getThreadBindingManager(accountId) {
|
|
|
520
521
|
const normalized = normalizeAccountId(accountId);
|
|
521
522
|
return MANAGERS_BY_ACCOUNT_ID.get(normalized) ?? null;
|
|
522
523
|
}
|
|
523
|
-
const
|
|
524
|
+
const testing = {
|
|
524
525
|
resolveThreadBindingsPath,
|
|
525
526
|
resolveThreadBindingThreadName,
|
|
526
527
|
resetThreadBindingsForTests,
|
|
@@ -530,4 +531,4 @@ const __testing = {
|
|
|
530
531
|
}
|
|
531
532
|
};
|
|
532
533
|
//#endregion
|
|
533
|
-
export { thread_bindings_manager_exports as a,
|
|
534
|
+
export { thread_bindings_manager_exports as a, testing as i, createThreadBindingManager as n, getThreadBindingManager as r, createNoopThreadBindingManager as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Wt as __exportAll, bt as sendChannelTyping } from "./send.receipt-
|
|
1
|
+
import { Wt as __exportAll, bt as sendChannelTyping } from "./send.receipt-Dhym-qOF.js";
|
|
2
2
|
import { o as raceWithTimeout } from "./timeouts-CEwuGaWT.js";
|
|
3
3
|
//#region extensions/discord/src/monitor/typing.ts
|
|
4
4
|
var typing_exports = /* @__PURE__ */ __exportAll({ sendTyping: () => sendTyping });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/discord",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.19-alpha.1",
|
|
4
4
|
"description": "OpenClaw Discord channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"openclaw": "workspace:*"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"openclaw": ">=2026.5.
|
|
24
|
+
"openclaw": ">=2026.5.19-alpha.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependenciesMeta": {
|
|
27
27
|
"openclaw": {
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"allowInvalidConfigRecovery": true
|
|
66
66
|
},
|
|
67
67
|
"compat": {
|
|
68
|
-
"pluginApi": ">=2026.5.
|
|
68
|
+
"pluginApi": ">=2026.5.19-alpha.1"
|
|
69
69
|
},
|
|
70
70
|
"build": {
|
|
71
|
-
"openclawVersion": "2026.5.
|
|
71
|
+
"openclawVersion": "2026.5.19-alpha.1"
|
|
72
72
|
},
|
|
73
73
|
"release": {
|
|
74
74
|
"publishToClawHub": true,
|
package/dist/targets-Z4SW2zZs.js
DELETED