@openclaw/slack 2026.10.10 → 2026.11.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/.setup/{account-configured-35y0-Hso.mjs → account-configured-zcR9TJJN.mjs} +2 -1
- package/dist/.setup/{account-inspect-Bc7TVU8F.mjs → account-inspect-CmkKiSb9.mjs} +4 -3
- package/dist/.setup/{accounts-CEgdyqoW.mjs → accounts-msihSF3-.mjs} +10 -6
- package/dist/.setup/{action-runtime-DPoxYao5.mjs → action-runtime-ChRfnnBu.mjs} +10 -9
- package/dist/.setup/action-runtime.runtime-vLxx_7s2.mjs +2 -0
- package/dist/.setup/{actions-PF2cP6to.mjs → actions-By7tvpvv.mjs} +22 -14
- package/dist/.setup/{approval-handler.runtime-BtRklemy.mjs → approval-handler.runtime-D8ArtDQt.mjs} +8 -7
- package/dist/.setup/{approval-message-updates-CpwbsEj6.mjs → approval-message-updates-DT7XBPbV.mjs} +3 -2
- package/dist/.setup/{channel-B6bRmYmX.mjs → channel-DLFiMJm2.mjs} +39 -32
- package/dist/.setup/{channel-meta-C5vsCo3a.mjs → channel-meta-C443t-lI.mjs} +2 -1
- package/dist/.setup/{channel-type-Dh4vwh1Y.mjs → channel-type-BEFP2ORi.mjs} +6 -5
- package/dist/.setup/{channel.setup-BBzT6uKA.mjs → channel.setup-CzFw73mU.mjs} +14 -10
- package/dist/.setup/{config-schema-Cz3uId-c.mjs → config-schema-DNnh6bWU.mjs} +4 -2
- package/dist/.setup/{directory-config-BEPra1E2.mjs → directory-config-Cjj0N8R0.mjs} +6 -5
- package/dist/.setup/{directory-live-BkUwPrS0.mjs → directory-live-BIKD-5B_.mjs} +5 -4
- package/dist/.setup/{doctor-contract-HK8aedwU.mjs → doctor-contract-Cd4-VzIM.mjs} +13 -7
- package/dist/.setup/http-C9sM-FXe.mjs +2 -0
- package/dist/.setup/{message-tool-api-DeiQJoRV.mjs → message-tool-api-BS5ekEA_.mjs} +7 -5
- package/dist/.setup/{monitor-DsZUQtTM.mjs → monitor-CV6Z6FKP.mjs} +137 -78
- package/dist/.setup/{outbound-adapter-C0R5jz6S.mjs → outbound-adapter-9dbnYtL1.mjs} +9 -8
- package/dist/.setup/{pipeline.runtime-CIFVL0kf.mjs → pipeline.runtime-DLIQf1Bo.mjs} +68 -41
- package/dist/.setup/{plugin-routes-lXsy_bNV.mjs → plugin-routes-D4qozHVn.mjs} +3 -2
- package/dist/.setup/{policy-Bp1FvE6m.mjs → policy-yhn48xf5.mjs} +6 -4
- package/dist/.setup/{probe-C5VWf3sz.mjs → probe-IiHogLQN.mjs} +19 -11
- package/dist/.setup/{registry-1G0f1zuZ.mjs → registry-DizWcnNp.mjs} +4 -2
- package/dist/.setup/{relay-source-DFBDTA5Z.mjs → relay-source-CxDcrn16.mjs} +10 -4
- package/dist/.setup/{replies-7DRN46EL.mjs → replies-MRkrg3rC.mjs} +9 -7
- package/dist/.setup/{reply-blocks-DOjiDr44.mjs → reply-blocks-Ca-raz2z.mjs} +7 -4
- package/dist/.setup/{resolve-channels-BNQ1KZXh.mjs → resolve-channels-DRRhElwz.mjs} +5 -4
- package/dist/.setup/{resolve-users-C4dC8Z7D.mjs → resolve-users-Cz8e17ky.mjs} +5 -4
- package/dist/.setup/{rolldown-runtime-nwUcYXjP.mjs → rolldown-runtime-B4FMCO8f.mjs} +2 -1
- package/dist/.setup/{runtime-C6HKn7Av.mjs → runtime-JSVZSWAj.mjs} +2 -1
- package/dist/.setup/runtime-setter-api-CMFvhrAr.mjs +3 -0
- package/dist/.setup/{scopes-C1aeCBa6.mjs → scopes-DfQVi8Jw.mjs} +3 -2
- package/dist/.setup/secret-contract-api-DK9gZldc.mjs +3 -0
- package/dist/.setup/{secret-contract-D0UY2JWF.mjs → secret-contract-vVRMoE1D.mjs} +4 -1
- package/dist/.setup/{security-audit-C3hXCfDt.mjs → security-audit-DFGiFLqd.mjs} +3 -2
- package/dist/.setup/{send-C5uXkmZV.mjs → send-C-8wY0lK.mjs} +21 -14
- package/dist/.setup/{send-results-D-o6PgtS.mjs → send-results-eeOu_HYm.mjs} +2 -1
- package/dist/.setup/{session-status-CHkEn3HM.mjs → session-status-Dv8wNBEt.mjs} +57 -31
- package/dist/.setup/setup-plugin-api-BGD1TYnK.mjs +3 -0
- package/dist/.setup/{setup-surface-CtM1pm-9.mjs → setup-surface--n8VsDvV.mjs} +8 -7
- package/dist/.setup/{shared-CohTHxM1.mjs → shared-BhJHIZs1.mjs} +18 -14
- package/dist/.setup/{slash-dispatch.runtime-Bnn9a5qB.mjs → slash-dispatch.runtime-D3Wq45ER.mjs} +1 -1
- package/dist/.setup/{target-parsing-0pRZtahO.mjs → target-parsing-FFE26kOV.mjs} +2 -1
- package/dist/.setup/{targets-BqXz7CpG.mjs → targets-C6LZQL1Q.mjs} +3 -2
- package/dist/.setup/{thread-ts-47Au2-Yn.mjs → thread-ts-Cvt7WD6B.mjs} +2 -1
- package/dist/account-inspect-api.js +3 -2
- package/dist/api.js +17 -17
- package/dist/channel-config-api.js +2 -1
- package/dist/channel-entry.js +2 -1
- package/dist/channel-plugin-api.js +2 -1
- package/dist/configured-state.js +3 -2
- package/dist/directory-contract-api.js +2 -1
- package/dist/doctor-contract-api.js +2 -1
- package/dist/http-routes-api.js +2 -1
- package/dist/index.js +3 -2
- package/dist/message-tool-api.js +2 -1
- package/dist/runtime-api.js +12 -12
- package/dist/runtime-setter-api.js +2 -1
- package/dist/secret-contract-api.js +2 -1
- package/dist/security-contract-api.js +2 -1
- package/dist/setup-entry.js +5 -4
- package/dist/setup-plugin-api.js +2 -1
- package/package.json +4 -4
- package/dist/.setup/action-runtime.runtime-DWKWaKgC.mjs +0 -1
- package/dist/.setup/http-GpAVKwSX.mjs +0 -2
- package/dist/.setup/runtime-setter-api-DrXr965r.mjs +0 -2
- package/dist/.setup/secret-contract-api-BhzGpUb0.mjs +0 -2
- package/dist/.setup/setup-plugin-api-D7DoueEh.mjs +0 -2
- package/dist/.source-module-urls/562d694877afe9d9dcbb3b32a8883c16974738f2aa892c48d45572cdc9a62529.json +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __reExport, t as __exportAll } from "./rolldown-runtime-
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./rolldown-runtime-B4FMCO8f.mjs";
|
|
2
2
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { getChannelStreamingConfigObject, resolveChannelStreamingNativeTransport } from "openclaw/plugin-sdk/channel-streaming-config";
|
|
4
|
-
|
|
4
|
+
//#region packages/normalization-core/src/record-coerce.ts
|
|
5
5
|
/** Type guard for non-array object records at browser-safe boundaries. */
|
|
6
6
|
function isRecord$1(value) {
|
|
7
7
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
@@ -10,7 +10,8 @@ function isRecord$1(value) {
|
|
|
10
10
|
function asNullableRecord(value) {
|
|
11
11
|
return isRecord$1(value) ? value : null;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/config/channel-config-normalization.ts
|
|
14
15
|
/** Applies one channel-specific doctor migration to every object-shaped account. */
|
|
15
16
|
function normalizeChannelAccounts(params) {
|
|
16
17
|
const rawAccounts = asNullableRecord(params.entry.accounts);
|
|
@@ -86,7 +87,8 @@ function normalizeChannelConfigEntries$1(params) {
|
|
|
86
87
|
changes
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
|
-
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/plugin-sdk/legacy-webhook-listener-migration.ts
|
|
90
92
|
/** Preserve explicitly configured webhook listeners while moving ingress onto Gateway routes. */
|
|
91
93
|
function createLegacyWebhookListenerDoctorContract(params) {
|
|
92
94
|
const portKey = params.portKey ?? "webhookPort";
|
|
@@ -156,11 +158,13 @@ function createLegacyWebhookListenerDoctorContract(params) {
|
|
|
156
158
|
}
|
|
157
159
|
};
|
|
158
160
|
}
|
|
159
|
-
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
|
|
160
163
|
var runtime_doctor_migrations_exports = /* @__PURE__ */ __exportAll({ createLegacyWebhookListenerDoctorContract: () => createLegacyWebhookListenerDoctorContract });
|
|
161
164
|
import * as import_openclaw_plugin_sdk_runtime_doctor_migrations from "openclaw/plugin-sdk/runtime-doctor-migrations";
|
|
162
165
|
__reExport(runtime_doctor_migrations_exports, import_openclaw_plugin_sdk_runtime_doctor_migrations);
|
|
163
|
-
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region extensions/slack/src/streaming-compat.ts
|
|
164
168
|
function resolveSlackStreamingMode(params = {}) {
|
|
165
169
|
const mode = normalizeLowercaseStringOrEmpty(getChannelStreamingConfigObject(params)?.mode ?? params.streaming);
|
|
166
170
|
if (mode === "off" || mode === "partial" || mode === "block" || mode === "progress") return mode;
|
|
@@ -174,7 +178,8 @@ function resolveSlackStreamingMode(params = {}) {
|
|
|
174
178
|
function resolveSlackNativeStreaming(params = {}) {
|
|
175
179
|
return resolveChannelStreamingNativeTransport(params) ?? (typeof params.nativeStreaming === "boolean" ? params.nativeStreaming : typeof params.streaming === "boolean" ? params.streaming : true);
|
|
176
180
|
}
|
|
177
|
-
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region extensions/slack/src/doctor-contract.ts
|
|
178
183
|
const streamingAliasMigration = (0, runtime_doctor_migrations_exports.defineChannelAliasMigration)({
|
|
179
184
|
channelId: "slack",
|
|
180
185
|
streaming: {
|
|
@@ -333,4 +338,5 @@ function normalizeCompatibilityConfig({ cfg }) {
|
|
|
333
338
|
normalizeEntry: normalizeSlackEntry
|
|
334
339
|
});
|
|
335
340
|
}
|
|
341
|
+
//#endregion
|
|
336
342
|
export { normalizeCompatibilityConfig as n, runtime_doctor_migrations_exports as r, legacyConfigRules as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as listSlackAccountIds } from "./accounts-
|
|
2
|
-
import { t as inspectSlackAccount } from "./account-inspect-
|
|
3
|
-
import { r as resolveSlackThreadTsValue, t as normalizeSlackThreadTsCandidate } from "./thread-ts-
|
|
1
|
+
import { i as listSlackAccountIds } from "./accounts-msihSF3-.mjs";
|
|
2
|
+
import { t as inspectSlackAccount } from "./account-inspect-CmkKiSb9.mjs";
|
|
3
|
+
import { r as resolveSlackThreadTsValue, t as normalizeSlackThreadTsCandidate } from "./thread-ts-Cvt7WD6B.mjs";
|
|
4
4
|
import { createActionGate } from "openclaw/plugin-sdk/channel-actions";
|
|
5
5
|
import { extractToolSend } from "openclaw/plugin-sdk/tool-send";
|
|
6
6
|
import { Type } from "typebox";
|
|
7
|
-
|
|
7
|
+
//#region extensions/slack/src/message-actions.ts
|
|
8
8
|
function listSlackMessageActions(cfg, accountId) {
|
|
9
9
|
const accounts = (accountId ? [inspectSlackAccount({
|
|
10
10
|
cfg,
|
|
@@ -55,7 +55,8 @@ function extractSlackToolSend(args) {
|
|
|
55
55
|
...threadSuppressed ? { threadSuppressed: true } : {}
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region extensions/slack/src/message-tool-api.ts
|
|
59
60
|
const SLACK_MESSAGE_ID_ACTIONS = [
|
|
60
61
|
"react",
|
|
61
62
|
"reactions",
|
|
@@ -131,4 +132,5 @@ function describeSlackMessageTool({ cfg, accountId }) {
|
|
|
131
132
|
schema: schema.length > 0 ? schema : null
|
|
132
133
|
};
|
|
133
134
|
}
|
|
135
|
+
//#endregion
|
|
134
136
|
export { extractSlackToolSend as n, listSlackMessageActions as r, describeSlackMessageTool as t };
|