@openclaw/slack 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-D05dq1Zx.js → action-runtime-ClZjzvJU.js} +4 -4
- package/dist/action-runtime.runtime-BUnUNH27.js +2 -0
- package/dist/{actions-DYTPmypR.js → actions-Dp1AKisQ.js} +2 -2
- package/dist/{actions.runtime-PJlqQp0N.js → actions.runtime-BzvmbC0z.js} +1 -1
- package/dist/api.js +10 -10
- package/dist/{approval-handler.runtime-FX6ylx3g.js → approval-handler.runtime-DQdr992C.js} +1 -1
- package/dist/{channel-CxMAngqE.js → channel-CXs510aj.js} +20 -21
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-DlFY3IsY.js → channel.setup-CcyPmfoS.js} +1 -1
- package/dist/{client-BY0ZhGHl.js → client-CMipJma0.js} +1 -1
- package/dist/contract-api.js +1 -1
- package/dist/{directory-config-BYH5Y8si.js → directory-config-9_djLTOK.js} +2 -2
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-COvr0w-z.js → directory-live-Dq12TcgS.js} +1 -1
- package/dist/inbound-contract-test-api.js +1 -1
- package/dist/{monitor-CquryIVN.js → monitor-CAfY1OZE.js} +2 -2
- package/dist/{outbound-adapter-Ba8hu4Vf.js → outbound-adapter-Dtqbyixa.js} +1 -1
- package/dist/outbound-payload-test-api.js +1 -1
- package/dist/{outbound-payload.test-harness-D8bUPDQ2.js → outbound-payload.test-harness-Ca13aYOM.js} +1 -1
- package/dist/{pipeline.runtime-D2FigoIm.js → pipeline.runtime-CwVyPQfY.js} +5 -5
- package/dist/{prepare-DTLO99pc.js → prepare-DFa-tK12.js} +7 -7
- package/dist/{probe-DTCmOwpe.js → probe-BRokY757.js} +1 -1
- package/dist/{provider-7P5dSNeZ.js → provider-GYmtqVRL.js} +5 -5
- package/dist/{replies-C4DsaEu5.js → replies-y6Coc_4v.js} +2 -2
- package/dist/{resolve-channels-CXV6oSKF.js → resolve-channels-D3v41FCM.js} +1 -1
- package/dist/{resolve-users-BCBZwBB5.js → resolve-users-uMz1N7mm.js} +1 -1
- package/dist/{runtime-api-erJbVGdt.js → runtime-api-DHq45F2b.js} +2 -2
- package/dist/runtime-api.js +9 -9
- package/dist/{scopes-CWwLQOAw.js → scopes-BniaiyvU.js} +1 -1
- package/dist/{send-Bpc-Eks7.js → send-B_Z5v6sU.js} +4 -4
- package/dist/send.runtime-BdYdgXuZ.js +2 -0
- package/dist/send.runtime-bgiJsule.js +2 -0
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-BO6IU00P.js → setup-surface-ByaVDcYW.js} +3 -3
- package/dist/{shared-C9qcXNm_.js → shared-CHupOun0.js} +1 -1
- package/dist/{slash-dispatch.runtime-Bxwlmtkf.js → slash-dispatch.runtime-u_Vj5RGB.js} +1 -1
- package/dist/{target-parsing-CugsYhBQ.js → target-parsing-C7eeWg7M.js} +1 -1
- package/dist/targets-nUqxHGgg.js +2 -0
- package/dist/test-api.js +5 -5
- package/npm-shrinkwrap.json +3 -3
- package/package.json +4 -4
- package/dist/action-runtime.runtime-zrLbExpY.js +0 -2
- package/dist/send.runtime-BfvtdHKC.js +0 -2
- package/dist/send.runtime-DcAdpDiU.js +0 -2
- package/dist/targets-C5NeqQJr.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as resolveSlackChannelId, r as parseSlackTarget } from "./target-parsing-
|
|
2
|
-
import "./targets-
|
|
1
|
+
import { i as resolveSlackChannelId, r as parseSlackTarget } from "./target-parsing-C7eeWg7M.js";
|
|
2
|
+
import "./targets-nUqxHGgg.js";
|
|
3
3
|
import { i as parseSlackBlocksInput } from "./thread-ts-ks-O8cEG.js";
|
|
4
|
-
import { a as readNumberParam, c as withNormalizedTimestamp, n as imageResultFromFile, o as readReactionParams, r as jsonResult, s as readStringParam, t as createActionGate } from "./runtime-api-
|
|
4
|
+
import { a as readNumberParam, c as withNormalizedTimestamp, n as imageResultFromFile, o as readReactionParams, r as jsonResult, s as readStringParam, t as createActionGate } from "./runtime-api-DHq45F2b.js";
|
|
5
5
|
import { n as resolveSlackChannelConfig, t as isSlackChannelAllowedByPolicy } from "./policy-pdU_0AU0.js";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { isSingleUseReplyToMode } from "openclaw/plugin-sdk/reply-reference";
|
|
@@ -30,7 +30,7 @@ function sameSlackChannelTarget(targetChannel, currentChannelId) {
|
|
|
30
30
|
let slackActionsRuntimePromise;
|
|
31
31
|
let slackAccountsRuntimePromise;
|
|
32
32
|
function loadSlackActionsRuntime() {
|
|
33
|
-
slackActionsRuntimePromise ??= import("./actions.runtime-
|
|
33
|
+
slackActionsRuntimePromise ??= import("./actions.runtime-BzvmbC0z.js");
|
|
34
34
|
return slackActionsRuntimePromise;
|
|
35
35
|
}
|
|
36
36
|
function loadSlackAccountsRuntime() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
2
|
import { a as resolveSlackAccount, d as resolveSlackBotToken } from "./accounts-BnLQ3fe2.js";
|
|
3
3
|
import { a as validateSlackBlocksArray, o as SLACK_TEXT_LIMIT, s as truncateSlackText } from "./thread-ts-ks-O8cEG.js";
|
|
4
|
-
import { a as getSlackWriteClient, r as createSlackWebClient } from "./client-
|
|
5
|
-
import { c as buildSlackBlocksFallbackText, t as sendMessageSlack } from "./send-
|
|
4
|
+
import { a as getSlackWriteClient, r as createSlackWebClient } from "./client-CMipJma0.js";
|
|
5
|
+
import { c as buildSlackBlocksFallbackText, t as sendMessageSlack } from "./send-B_Z5v6sU.js";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
8
8
|
import { logVerbose, logVerbose as logVerbose$1 } from "openclaw/plugin-sdk/runtime-env";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReactions, f as removeSlackReaction, i as getSlackMemberInfo, l as reactSlackMessage, m as unpinSlackMessage, n as downloadSlackFile, o as listSlackPins, p as sendSlackMessage, r as editSlackMessage, s as listSlackReactions, t as deleteSlackMessage, u as readSlackMessages } from "./actions-
|
|
1
|
+
import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReactions, f as removeSlackReaction, i as getSlackMemberInfo, l as reactSlackMessage, m as unpinSlackMessage, n as downloadSlackFile, o as listSlackPins, p as sendSlackMessage, r as editSlackMessage, s as listSlackReactions, t as deleteSlackMessage, u as readSlackMessages } from "./actions-Dp1AKisQ.js";
|
|
2
2
|
export { deleteSlackMessage, downloadSlackFile, editSlackMessage, getSlackMemberInfo, listSlackEmojis, listSlackPins, listSlackReactions, pinSlackMessage, reactSlackMessage, readSlackMessages, removeOwnSlackReactions, removeSlackReaction, sendSlackMessage, unpinSlackMessage };
|
package/dist/api.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { a as resolveSlackAccount, i as resolveDefaultSlackAccountId, l as resolveSlackReplyToMode, n as listSlackAccountIds, r as mergeSlackAccountConfig, t as listEnabledSlackAccounts } from "./accounts-BnLQ3fe2.js";
|
|
2
2
|
import { t as inspectSlackAccount } from "./account-inspect-vVg3pT03.js";
|
|
3
|
-
import { i as resolveSlackChannelId, n as normalizeSlackMessagingTarget, r as parseSlackTarget, t as looksLikeSlackTargetId } from "./target-parsing-
|
|
4
|
-
import "./targets-
|
|
5
|
-
import { i as resolveSlackChannelType, n as buildSlackThreadingToolContext, o as resolveSlackAutoThreadId, r as resetSlackChannelTypeCacheForTest, t as slackPlugin } from "./channel-
|
|
3
|
+
import { i as resolveSlackChannelId, n as normalizeSlackMessagingTarget, r as parseSlackTarget, t as looksLikeSlackTargetId } from "./target-parsing-C7eeWg7M.js";
|
|
4
|
+
import "./targets-nUqxHGgg.js";
|
|
5
|
+
import { i as resolveSlackChannelType, n as buildSlackThreadingToolContext, o as resolveSlackAutoThreadId, r as resetSlackChannelTypeCacheForTest, t as slackPlugin } from "./channel-CXs510aj.js";
|
|
6
6
|
import { n as resolveSlackGroupRequireMention, r as resolveSlackGroupToolPolicy } from "./reply-blocks-BlOURkUm.js";
|
|
7
7
|
import { n as buildSlackPresentationBlocks, t as buildSlackInteractiveBlocks } from "./blocks-render-CNC4vQnd.js";
|
|
8
8
|
import { a as validateSlackBlocksArray, i as parseSlackBlocksInput, r as SLACK_MAX_BLOCKS } from "./thread-ts-ks-O8cEG.js";
|
|
9
9
|
import { n as extractSlackToolSend, r as listSlackMessageActions } from "./message-tool-api-BXEWUFiV.js";
|
|
10
10
|
import { n as isSlackInteractiveRepliesEnabled, r as parseSlackOptionsLine, t as compileSlackInteractiveReplies } from "./interactive-replies-9v8OYeGV.js";
|
|
11
|
-
import { a as getSlackWriteClient, c as resolveSlackWebClientOptions, i as createSlackWriteClient, l as resolveSlackWriteClientOptions, n as createSlackTokenCacheKey, o as SLACK_DEFAULT_RETRY_OPTIONS, r as createSlackWebClient, s as SLACK_WRITE_RETRY_OPTIONS, t as clearSlackWriteClientCacheForTest } from "./client-
|
|
11
|
+
import { a as getSlackWriteClient, c as resolveSlackWebClientOptions, i as createSlackWriteClient, l as resolveSlackWriteClientOptions, n as createSlackTokenCacheKey, o as SLACK_DEFAULT_RETRY_OPTIONS, r as createSlackWebClient, s as SLACK_WRITE_RETRY_OPTIONS, t as clearSlackWriteClientCacheForTest } from "./client-CMipJma0.js";
|
|
12
12
|
import { a as normalizeSlackSlug, i as normalizeSlackAllowOwnerEntry, n as normalizeAllowList, o as resolveSlackAllowListMatch, r as normalizeAllowListLower, s as resolveSlackUserAllowed, t as allowListMatches } from "./allow-list-ChDz7vQO.js";
|
|
13
|
-
import { t as slackSetupPlugin } from "./channel.setup-
|
|
14
|
-
import { a as recordSlackThreadParticipation, n as clearSlackThreadParticipationCache, r as hasSlackThreadParticipation } from "./send-
|
|
15
|
-
import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReactions, f as removeSlackReaction, i as getSlackMemberInfo, l as reactSlackMessage, m as unpinSlackMessage, n as downloadSlackFile, o as listSlackPins, p as sendSlackMessage, r as editSlackMessage, s as listSlackReactions, t as deleteSlackMessage, u as readSlackMessages } from "./actions-
|
|
16
|
-
import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-
|
|
13
|
+
import { t as slackSetupPlugin } from "./channel.setup-CcyPmfoS.js";
|
|
14
|
+
import { a as recordSlackThreadParticipation, n as clearSlackThreadParticipationCache, r as hasSlackThreadParticipation } from "./send-B_Z5v6sU.js";
|
|
15
|
+
import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReactions, f as removeSlackReaction, i as getSlackMemberInfo, l as reactSlackMessage, m as unpinSlackMessage, n as downloadSlackFile, o as listSlackPins, p as sendSlackMessage, r as editSlackMessage, s as listSlackReactions, t as deleteSlackMessage, u as readSlackMessages } from "./actions-Dp1AKisQ.js";
|
|
16
|
+
import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-9_djLTOK.js";
|
|
17
17
|
import { n as registerSlackHttpHandler, r as normalizeSlackWebhookPath, t as handleSlackHttpRequest } from "./registry-bbjH7IHX.js";
|
|
18
|
-
import { t as probeSlack } from "./probe-
|
|
18
|
+
import { t as probeSlack } from "./probe-BRokY757.js";
|
|
19
19
|
import { t as collectSlackSecurityAuditFindings } from "./security-audit-CikQhBUY.js";
|
|
20
|
-
import { n as resolveSlackRuntimeGroupPolicy } from "./provider-
|
|
20
|
+
import { n as resolveSlackRuntimeGroupPolicy } from "./provider-GYmtqVRL.js";
|
|
21
21
|
export { SLACK_DEFAULT_RETRY_OPTIONS, SLACK_MAX_BLOCKS, SLACK_WRITE_RETRY_OPTIONS, resetSlackChannelTypeCacheForTest as __resetSlackChannelTypeCacheForTest, resetSlackChannelTypeCacheForTest, allowListMatches, buildSlackInteractiveBlocks, buildSlackPresentationBlocks, buildSlackThreadingToolContext, clearSlackThreadParticipationCache, clearSlackWriteClientCacheForTest, collectSlackSecurityAuditFindings, compileSlackInteractiveReplies, createSlackTokenCacheKey, createSlackWebClient, createSlackWriteClient, deleteSlackMessage, downloadSlackFile, editSlackMessage, extractSlackToolSend, getSlackMemberInfo, getSlackWriteClient, handleSlackHttpRequest, hasSlackThreadParticipation, inspectSlackAccount, isSlackInteractiveRepliesEnabled, listEnabledSlackAccounts, listSlackAccountIds, listSlackDirectoryGroupsFromConfig, listSlackDirectoryPeersFromConfig, listSlackEmojis, listSlackMessageActions, listSlackPins, listSlackReactions, looksLikeSlackTargetId, mergeSlackAccountConfig, normalizeAllowList, normalizeAllowListLower, normalizeSlackAllowOwnerEntry, normalizeSlackMessagingTarget, normalizeSlackSlug, normalizeSlackWebhookPath, parseSlackBlocksInput, parseSlackOptionsLine, parseSlackTarget, pinSlackMessage, probeSlack, reactSlackMessage, readSlackMessages, recordSlackThreadParticipation, registerSlackHttpHandler, removeOwnSlackReactions, removeSlackReaction, resolveDefaultSlackAccountId, resolveSlackAccount, resolveSlackAllowListMatch, resolveSlackAutoThreadId, resolveSlackChannelId, resolveSlackChannelType, resolveSlackGroupRequireMention, resolveSlackGroupToolPolicy, resolveSlackReplyToMode, resolveSlackRuntimeGroupPolicy, resolveSlackUserAllowed, resolveSlackWebClientOptions, resolveSlackWriteClientOptions, sendSlackMessage, slackPlugin, slackSetupPlugin, unpinSlackMessage, validateSlackBlocksArray };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveSlackApprovalKind, f as normalizeSlackApproverId, i as isSlackAnyNativeApprovalClientEnabled, o as shouldHandleSlackNativeApprovalRequest, t as resolveSlackReplyBlocks } from "./reply-blocks-BlOURkUm.js";
|
|
2
2
|
import { s as truncateSlackText } from "./thread-ts-ks-O8cEG.js";
|
|
3
|
-
import { t as sendMessageSlack } from "./send-
|
|
3
|
+
import { t as sendMessageSlack } from "./send-B_Z5v6sU.js";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
6
6
|
import { logError } from "openclaw/plugin-sdk/logging-core";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { a as resolveSlackAccount, i as resolveDefaultSlackAccountId, l as resolveSlackReplyToMode, n as listSlackAccountIds, o as resolveSlackAccountAllowFrom } from "./accounts-BnLQ3fe2.js";
|
|
2
|
-
import { i as resolveSlackChannelId, n as normalizeSlackMessagingTarget, r as parseSlackTarget, t as looksLikeSlackTargetId } from "./target-parsing-
|
|
3
|
-
import "./targets-
|
|
2
|
+
import { i as resolveSlackChannelId, n as normalizeSlackMessagingTarget, r as parseSlackTarget, t as looksLikeSlackTargetId } from "./target-parsing-C7eeWg7M.js";
|
|
3
|
+
import "./targets-nUqxHGgg.js";
|
|
4
4
|
import { a as resolveSlackApprovalKind, c as isSlackApprovalAuthorizedSender, d as isSlackExecApprovalClientEnabled, i as isSlackAnyNativeApprovalClientEnabled, l as getSlackExecApprovalApprovers, m as shouldSuppressLocalSlackExecApprovalPrompt, n as resolveSlackGroupRequireMention, o as shouldHandleSlackNativeApprovalRequest, p as resolveSlackExecApprovalTarget, r as resolveSlackGroupToolPolicy, s as getSlackApprovalApprovers, t as resolveSlackReplyBlocks, u as isSlackExecApprovalAuthorizedSender } from "./reply-blocks-BlOURkUm.js";
|
|
5
5
|
import { n as buildSlackPresentationBlocks, r as resolveSlackInteractiveBlockOffsets, t as buildSlackInteractiveBlocks } from "./blocks-render-CNC4vQnd.js";
|
|
6
6
|
import { n as resolveSlackThreadTsValue, o as SLACK_TEXT_LIMIT, t as normalizeSlackThreadTsCandidate } from "./thread-ts-ks-O8cEG.js";
|
|
7
7
|
import { n as extractSlackToolSend, t as describeSlackMessageTool } from "./message-tool-api-BXEWUFiV.js";
|
|
8
8
|
import { n as isSlackInteractiveRepliesEnabled, t as compileSlackInteractiveReplies } from "./interactive-replies-9v8OYeGV.js";
|
|
9
|
-
import { d as PAIRING_APPROVED_MESSAGE, m as resolveConfiguredFromRequiredCredentialStatuses, p as projectCredentialSnapshotFields, r as createSlackWebClient, u as DEFAULT_ACCOUNT_ID } from "./client-
|
|
9
|
+
import { d as PAIRING_APPROVED_MESSAGE, m as resolveConfiguredFromRequiredCredentialStatuses, p as projectCredentialSnapshotFields, r as createSlackWebClient, u as DEFAULT_ACCOUNT_ID } from "./client-CMipJma0.js";
|
|
10
10
|
import { r as normalizeAllowListLower } from "./allow-list-ChDz7vQO.js";
|
|
11
11
|
import { t as getOptionalSlackRuntime } from "./runtime-BOk7xkOl.js";
|
|
12
|
-
import { i as slackSecurityAdapter, n as isSlackPluginAccountConfigured, r as slackConfigAdapter, t as createSlackPluginBase } from "./shared-
|
|
12
|
+
import { i as slackSecurityAdapter, n as isSlackPluginAccountConfigured, r as slackConfigAdapter, t as createSlackPluginBase } from "./shared-CHupOun0.js";
|
|
13
13
|
import { i as SLACK_CHANNEL, n as createSlackSetupWizardProxy, r as slackSetupAdapter } from "./setup-core-CJxjcOda.js";
|
|
14
14
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
15
15
|
import { adaptScopedAccountAccessor } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
@@ -235,7 +235,7 @@ const baseSlackApprovalCapability = createApproverRestrictedNativeApprovalCapabi
|
|
|
235
235
|
approvalKind: resolveSlackApprovalKind(request),
|
|
236
236
|
request
|
|
237
237
|
}),
|
|
238
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
238
|
+
load: async () => (await import("./approval-handler.runtime-DQdr992C.js")).slackApprovalNativeRuntime
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
const baseSlackNativeAdapter = baseSlackApprovalCapability.native;
|
|
@@ -434,7 +434,7 @@ async function handleSlackMessageAction(params) {
|
|
|
434
434
|
//#region extensions/slack/src/channel-actions.ts
|
|
435
435
|
let slackActionRuntimePromise$1;
|
|
436
436
|
async function loadSlackActionRuntime$1() {
|
|
437
|
-
slackActionRuntimePromise$1 ??= import("./action-runtime.runtime-
|
|
437
|
+
slackActionRuntimePromise$1 ??= import("./action-runtime.runtime-BUnUNH27.js");
|
|
438
438
|
return await slackActionRuntimePromise$1;
|
|
439
439
|
}
|
|
440
440
|
function resolveSlackActionContext(params) {
|
|
@@ -564,9 +564,9 @@ const EXTENSION_SHARED_MODULE_ID = "openclaw/plugin-sdk/extension-shared";
|
|
|
564
564
|
const TARGET_RESOLVER_RUNTIME_MODULE_ID = "openclaw/plugin-sdk/target-resolver-runtime";
|
|
565
565
|
const loadExtensionSharedSdk = createLazyRuntimeModule(() => import(EXTENSION_SHARED_MODULE_ID));
|
|
566
566
|
const loadTargetResolverRuntimeSdk = createLazyRuntimeModule(() => import(TARGET_RESOLVER_RUNTIME_MODULE_ID));
|
|
567
|
-
const loadSlackSetupSurfaceModule = createLazyRuntimeModule(() => import("./setup-surface-
|
|
568
|
-
const loadSlackScopesModule = createLazyRuntimeModule(() => import("./scopes-
|
|
569
|
-
const loadSlackOutboundAdapterModule = createLazyRuntimeModule(() => import("./outbound-adapter-
|
|
567
|
+
const loadSlackSetupSurfaceModule = createLazyRuntimeModule(() => import("./setup-surface-ByaVDcYW.js"));
|
|
568
|
+
const loadSlackScopesModule = createLazyRuntimeModule(() => import("./scopes-BniaiyvU.js"));
|
|
569
|
+
const loadSlackOutboundAdapterModule = createLazyRuntimeModule(() => import("./outbound-adapter-Dtqbyixa.js").then((n) => n.t));
|
|
570
570
|
async function resolveSlackHandleAction() {
|
|
571
571
|
return getOptionalSlackRuntime()?.channel?.slack?.handleSlackAction ?? (await loadSlackActionRuntime()).handleSlackAction;
|
|
572
572
|
}
|
|
@@ -586,27 +586,27 @@ let slackSendRuntimePromise;
|
|
|
586
586
|
let slackProbeModulePromise;
|
|
587
587
|
let slackMonitorModulePromise;
|
|
588
588
|
let slackDirectoryLiveModulePromise;
|
|
589
|
-
const loadSlackDirectoryConfigModule = createLazyRuntimeModule(() => import("./directory-config-
|
|
590
|
-
const loadSlackResolveChannelsModule = createLazyRuntimeModule(() => import("./resolve-channels-
|
|
591
|
-
const loadSlackResolveUsersModule = createLazyRuntimeModule(() => import("./resolve-users-
|
|
589
|
+
const loadSlackDirectoryConfigModule = createLazyRuntimeModule(() => import("./directory-config-9_djLTOK.js").then((n) => n.t));
|
|
590
|
+
const loadSlackResolveChannelsModule = createLazyRuntimeModule(() => import("./resolve-channels-D3v41FCM.js").then((n) => n.n));
|
|
591
|
+
const loadSlackResolveUsersModule = createLazyRuntimeModule(() => import("./resolve-users-uMz1N7mm.js").then((n) => n.n));
|
|
592
592
|
async function loadSlackActionRuntime() {
|
|
593
|
-
slackActionRuntimePromise ??= import("./action-runtime.runtime-
|
|
593
|
+
slackActionRuntimePromise ??= import("./action-runtime.runtime-BUnUNH27.js");
|
|
594
594
|
return await slackActionRuntimePromise;
|
|
595
595
|
}
|
|
596
596
|
async function loadSlackSendRuntime() {
|
|
597
|
-
slackSendRuntimePromise ??= import("./send.runtime-
|
|
597
|
+
slackSendRuntimePromise ??= import("./send.runtime-bgiJsule.js");
|
|
598
598
|
return await slackSendRuntimePromise;
|
|
599
599
|
}
|
|
600
600
|
async function loadSlackProbeModule() {
|
|
601
|
-
slackProbeModulePromise ??= import("./probe-
|
|
601
|
+
slackProbeModulePromise ??= import("./probe-BRokY757.js").then((n) => n.n);
|
|
602
602
|
return await slackProbeModulePromise;
|
|
603
603
|
}
|
|
604
604
|
async function loadSlackMonitorModule() {
|
|
605
|
-
slackMonitorModulePromise ??= import("./monitor-
|
|
605
|
+
slackMonitorModulePromise ??= import("./monitor-CAfY1OZE.js").then((n) => n.t);
|
|
606
606
|
return await slackMonitorModulePromise;
|
|
607
607
|
}
|
|
608
608
|
async function loadSlackDirectoryLiveModule() {
|
|
609
|
-
slackDirectoryLiveModulePromise ??= import("./directory-live-
|
|
609
|
+
slackDirectoryLiveModulePromise ??= import("./directory-live-Dq12TcgS.js").then((n) => n.t);
|
|
610
610
|
return await slackDirectoryLiveModulePromise;
|
|
611
611
|
}
|
|
612
612
|
async function resolveSlackSendContext(params) {
|
|
@@ -624,7 +624,7 @@ async function resolveSlackSendContext(params) {
|
|
|
624
624
|
tokenOverride
|
|
625
625
|
};
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function resolveSlackRouteTarget(raw) {
|
|
628
628
|
const target = parseSlackTarget(raw, { defaultKind: "channel" });
|
|
629
629
|
if (!target) return null;
|
|
630
630
|
return {
|
|
@@ -883,8 +883,7 @@ const slackPlugin = createChatChannelPlugin({
|
|
|
883
883
|
} : { to: normalizeSlackMessagingTarget(`channel:${child}`) };
|
|
884
884
|
},
|
|
885
885
|
resolveSessionTarget: ({ id }) => normalizeSlackMessagingTarget(`channel:${id}`),
|
|
886
|
-
|
|
887
|
-
inferTargetChatType: ({ to }) => parseSlackExplicitTarget(to)?.chatType,
|
|
886
|
+
inferTargetChatType: ({ to }) => resolveSlackRouteTarget(to)?.chatType,
|
|
888
887
|
resolveOutboundSessionRoute: async (params) => await resolveSlackOutboundSessionRoute(params),
|
|
889
888
|
transformReplyPayload: ({ payload, cfg, accountId }) => isSlackInteractiveRepliesEnabled({
|
|
890
889
|
cfg,
|
|
@@ -905,7 +904,7 @@ const slackPlugin = createChatChannelPlugin({
|
|
|
905
904
|
looksLikeId: looksLikeSlackTargetId,
|
|
906
905
|
hint: "<channelId|user:ID|channel:ID>",
|
|
907
906
|
resolveTarget: async ({ input }) => {
|
|
908
|
-
const parsed =
|
|
907
|
+
const parsed = resolveSlackRouteTarget(input);
|
|
909
908
|
if (!parsed) return null;
|
|
910
909
|
return {
|
|
911
910
|
to: parsed.to,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as slackPlugin } from "./channel-
|
|
1
|
+
import { t as slackPlugin } from "./channel-CXs510aj.js";
|
|
2
2
|
export { slackPlugin };
|
|
@@ -4,7 +4,7 @@ import { t as SlackChannelConfigSchema } from "./config-schema-CUiDK8HV.js";
|
|
|
4
4
|
import { adaptScopedAccountAccessor, createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
5
5
|
import { formatAllowFromLowercase } from "openclaw/plugin-sdk/allow-from";
|
|
6
6
|
//#region extensions/slack/src/channel.setup.ts
|
|
7
|
-
const slackSetupWizard = createSlackSetupWizardProxy(async () => ({ slackSetupWizard: (await import("./setup-surface-
|
|
7
|
+
const slackSetupWizard = createSlackSetupWizardProxy(async () => ({ slackSetupWizard: (await import("./setup-surface-ByaVDcYW.js")).slackSetupWizard }));
|
|
8
8
|
const slackSetupConfigAdapter = createScopedChannelConfigAdapter({
|
|
9
9
|
sectionKey: SLACK_CHANNEL,
|
|
10
10
|
listAccountIds: listSlackAccountIds,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./target-parsing-
|
|
1
|
+
import "./target-parsing-C7eeWg7M.js";
|
|
2
2
|
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1 } from "openclaw/plugin-sdk/account-id";
|
|
3
3
|
import { PAIRING_APPROVED_MESSAGE, projectCredentialSnapshotFields, resolveConfiguredFromRequiredCredentialStatuses } from "openclaw/plugin-sdk/channel-status";
|
|
4
4
|
import { createHash } from "node:crypto";
|
package/dist/contract-api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BVvVoRt-.js";
|
|
2
2
|
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-g_PPWuoD.js";
|
|
3
|
-
import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-
|
|
3
|
+
import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-9_djLTOK.js";
|
|
4
4
|
import { t as collectSlackSecurityAuditFindings } from "./security-audit-CikQhBUY.js";
|
|
5
5
|
export { collectRuntimeConfigAssignments, collectSlackSecurityAuditFindings, legacyConfigRules, listSlackDirectoryGroupsFromConfig, listSlackDirectoryPeersFromConfig, normalizeCompatibilityConfig, secretTargetRegistryEntries };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
2
|
import { i as resolveDefaultSlackAccountId, o as resolveSlackAccountAllowFrom, r as mergeSlackAccountConfig } from "./accounts-BnLQ3fe2.js";
|
|
3
|
-
import { r as parseSlackTarget } from "./target-parsing-
|
|
4
|
-
import "./targets-
|
|
3
|
+
import { r as parseSlackTarget } from "./target-parsing-C7eeWg7M.js";
|
|
4
|
+
import "./targets-nUqxHGgg.js";
|
|
5
5
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-resolution";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { createResolvedDirectoryEntriesLister } from "openclaw/plugin-sdk/directory-config-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-
|
|
1
|
+
import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-9_djLTOK.js";
|
|
2
2
|
export { listSlackDirectoryGroupsFromConfig, listSlackDirectoryPeersFromConfig };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
2
|
import { a as resolveSlackAccount } from "./accounts-BnLQ3fe2.js";
|
|
3
|
-
import { r as createSlackWebClient } from "./client-
|
|
3
|
+
import { r as createSlackWebClient } from "./client-CMipJma0.js";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
//#region extensions/slack/src/directory-live.ts
|
|
6
6
|
var directory_live_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as prepareSlackMessage } from "./prepare-
|
|
1
|
+
import { t as prepareSlackMessage } from "./prepare-DFa-tK12.js";
|
|
2
2
|
import { t as createInboundSlackTestContext } from "./prepare.test-helpers-Y5XylD5f.js";
|
|
3
3
|
export { createInboundSlackTestContext, prepareSlackMessage };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
2
|
import { E as buildSlackSlashCommandMatcher } from "./room-context-C-6EgkTA.js";
|
|
3
3
|
import { t as isSlackChannelAllowedByPolicy } from "./policy-pdU_0AU0.js";
|
|
4
|
-
import { t as monitorSlackProvider } from "./provider-
|
|
5
|
-
import { o as resolveSlackThreadTs } from "./replies-
|
|
4
|
+
import { t as monitorSlackProvider } from "./provider-GYmtqVRL.js";
|
|
5
|
+
import { o as resolveSlackThreadTs } from "./replies-y6Coc_4v.js";
|
|
6
6
|
//#region extensions/slack/src/monitor.ts
|
|
7
7
|
var monitor_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
buildSlackSlashCommandMatcher: () => buildSlackSlashCommandMatcher,
|
|
@@ -12,7 +12,7 @@ var outbound_adapter_exports = /* @__PURE__ */ __exportAll({ slackOutbound: () =
|
|
|
12
12
|
const SLACK_MAX_BLOCKS = 50;
|
|
13
13
|
let slackSendRuntimePromise;
|
|
14
14
|
async function loadSlackSendRuntime() {
|
|
15
|
-
slackSendRuntimePromise ??= import("./send.runtime-
|
|
15
|
+
slackSendRuntimePromise ??= import("./send.runtime-bgiJsule.js");
|
|
16
16
|
return await slackSendRuntimePromise;
|
|
17
17
|
}
|
|
18
18
|
function resolveRenderedInteractiveBlocks(interactive, previousBlocks) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createSlackOutboundPayloadHarness } from "./outbound-payload.test-harness-
|
|
1
|
+
import { t as createSlackOutboundPayloadHarness } from "./outbound-payload.test-harness-Ca13aYOM.js";
|
|
2
2
|
export { createSlackOutboundPayloadHarness };
|
package/dist/{outbound-payload.test-harness-D8bUPDQ2.js → outbound-payload.test-harness-Ca13aYOM.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as slackOutbound } from "./outbound-adapter-
|
|
1
|
+
import { n as slackOutbound } from "./outbound-adapter-Dtqbyixa.js";
|
|
2
2
|
import { primeChannelOutboundSendMock } from "openclaw/plugin-sdk/channel-contract-testing";
|
|
3
3
|
//#region node_modules/tinyrainbow/dist/index.js
|
|
4
4
|
var b = {
|
|
@@ -2,13 +2,13 @@ import { o as SLACK_TEXT_LIMIT, s as truncateSlackText } from "./thread-ts-ks-O8
|
|
|
2
2
|
import { n as isSlackInteractiveRepliesEnabled, t as compileSlackInteractiveReplies } from "./interactive-replies-9v8OYeGV.js";
|
|
3
3
|
import { i as normalizeSlackAllowOwnerEntry } from "./allow-list-ChDz7vQO.js";
|
|
4
4
|
import { n as resolveSlackNativeStreaming, r as resolveSlackStreamingMode, t as mapStreamingModeToSlackLegacyDraftStreamMode } from "./streaming-compat-gDv83t5m.js";
|
|
5
|
-
import { a as recordSlackThreadParticipation, s as normalizeSlackOutboundText, t as sendMessageSlack } from "./send-
|
|
6
|
-
import { b as buildSlackEditTextPayload, f as removeSlackReaction, l as reactSlackMessage, r as editSlackMessage, t as deleteSlackMessage } from "./actions-
|
|
5
|
+
import { a as recordSlackThreadParticipation, s as normalizeSlackOutboundText, t as sendMessageSlack } from "./send-B_Z5v6sU.js";
|
|
6
|
+
import { b as buildSlackEditTextPayload, f as removeSlackReaction, l as reactSlackMessage, r as editSlackMessage, t as deleteSlackMessage } from "./actions-Dp1AKisQ.js";
|
|
7
7
|
import { t as formatSlackError } from "./errors-co-Fg3Ll.js";
|
|
8
8
|
import { C as resolveStorePath, a as recordInboundSession, w as updateLastRoute } from "./room-context-C-6EgkTA.js";
|
|
9
|
-
import { r as escapeSlackMrkdwn } from "./provider-
|
|
10
|
-
import { n as resolveSlackThreadTargets, t as prepareSlackMessage } from "./prepare-
|
|
11
|
-
import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
9
|
+
import { r as escapeSlackMrkdwn } from "./provider-GYmtqVRL.js";
|
|
10
|
+
import { n as resolveSlackThreadTargets, t as prepareSlackMessage } from "./prepare-DFa-tK12.js";
|
|
11
|
+
import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, t as createSlackReplyDeliveryPlan } from "./replies-y6Coc_4v.js";
|
|
12
12
|
import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
13
13
|
import { resolveInboundLastRouteSessionKey } from "openclaw/plugin-sdk/routing";
|
|
14
14
|
import { createChannelMessageReplyPipeline, defineFinalizableLivePreviewAdapter, deliverWithFinalizableLivePreviewAdapter, resolveChannelMessageSourceReplyDeliveryMode } from "openclaw/plugin-sdk/channel-message";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { l as resolveSlackReplyToMode } from "./accounts-BnLQ3fe2.js";
|
|
2
|
-
import { r as parseSlackTarget } from "./target-parsing-
|
|
3
|
-
import "./targets-
|
|
2
|
+
import { r as parseSlackTarget } from "./target-parsing-C7eeWg7M.js";
|
|
3
|
+
import "./targets-nUqxHGgg.js";
|
|
4
4
|
import { i as normalizeSlackAllowOwnerEntry, o as resolveSlackAllowListMatch, r as normalizeAllowListLower } from "./allow-list-ChDz7vQO.js";
|
|
5
|
-
import { i as hasSlackThreadParticipationWithPersistence, t as sendMessageSlack } from "./send-
|
|
6
|
-
import { _ as resolveSlackThreadStarter, g as resolveSlackThreadHistory, l as reactSlackMessage, y as formatSlackFileReference } from "./actions-
|
|
5
|
+
import { i as hasSlackThreadParticipationWithPersistence, t as sendMessageSlack } from "./send-B_Z5v6sU.js";
|
|
6
|
+
import { _ as resolveSlackThreadStarter, g as resolveSlackThreadHistory, l as reactSlackMessage, y as formatSlackFileReference } from "./actions-Dp1AKisQ.js";
|
|
7
7
|
import { t as formatSlackError } from "./errors-co-Fg3Ll.js";
|
|
8
8
|
import { C as resolveStorePath, O as stripSlackMentionsForCommandDetection, b as resolveChannelContextVisibilityMode, c as authorizeSlackBotRoomMessage, d as resolveSlackEffectiveAllowFrom, f as buildSlackAssistantThreadMetadata, g as resolveSlackChatType, h as normalizeSlackChannelType, m as parseSlackAssistantThreadMetadata, n as authorizeSlackDirectMessage, o as resolveConversationLabel$1, t as resolveSlackRoomContextHints, u as resolveSlackCommandIngress, y as readSessionUpdatedAt } from "./room-context-C-6EgkTA.js";
|
|
9
9
|
import { n as resolveSlackChannelConfig } from "./policy-pdU_0AU0.js";
|
|
10
|
-
import "./send.runtime-
|
|
10
|
+
import "./send.runtime-BdYdgXuZ.js";
|
|
11
11
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
12
12
|
import { resolveAgentRoute, resolveInboundLastRouteSessionKey, resolveThreadSessionKeys } from "openclaw/plugin-sdk/routing";
|
|
13
13
|
import { resolveChannelMessageSourceReplyDeliveryMode } from "openclaw/plugin-sdk/channel-message";
|
|
@@ -31,7 +31,7 @@ const SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE = 20;
|
|
|
31
31
|
const SLACK_USER_MENTION_RE$1 = /<@([A-Z0-9]+)(?:\|[^>]+)?>/gi;
|
|
32
32
|
let slackMediaModulePromise$1;
|
|
33
33
|
function loadSlackMediaModule$1() {
|
|
34
|
-
slackMediaModulePromise$1 ??= import("./actions-
|
|
34
|
+
slackMediaModulePromise$1 ??= import("./actions-Dp1AKisQ.js").then((n) => n.h);
|
|
35
35
|
return slackMediaModulePromise$1;
|
|
36
36
|
}
|
|
37
37
|
function collectUniqueSlackMentionIds$1(texts) {
|
|
@@ -579,7 +579,7 @@ function formatSlackBotStarterThreadLabel(params) {
|
|
|
579
579
|
//#region extensions/slack/src/monitor/message-handler/prepare-thread-context.ts
|
|
580
580
|
let slackMediaModulePromise;
|
|
581
581
|
function loadSlackMediaModule() {
|
|
582
|
-
slackMediaModulePromise ??= import("./actions-
|
|
582
|
+
slackMediaModulePromise ??= import("./actions-Dp1AKisQ.js").then((n) => n.h);
|
|
583
583
|
return slackMediaModulePromise;
|
|
584
584
|
}
|
|
585
585
|
const SLACK_THREAD_CONTEXT_USER_LOOKUP_CONCURRENCY = 4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { r as createSlackWebClient } from "./client-
|
|
2
|
+
import { r as createSlackWebClient } from "./client-CMipJma0.js";
|
|
3
3
|
import { t as formatSlackError } from "./errors-co-Fg3Ll.js";
|
|
4
4
|
import { withTimeout } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
5
5
|
//#region extensions/slack/src/probe.ts
|
|
@@ -3,13 +3,13 @@ import { c as isSlackApprovalAuthorizedSender, i as isSlackAnyNativeApprovalClie
|
|
|
3
3
|
import "./blocks-render-CNC4vQnd.js";
|
|
4
4
|
import { o as SLACK_TEXT_LIMIT, s as truncateSlackText } from "./thread-ts-ks-O8cEG.js";
|
|
5
5
|
import { n as isSlackInteractiveRepliesEnabled, t as compileSlackInteractiveReplies } from "./interactive-replies-9v8OYeGV.js";
|
|
6
|
-
import { c as resolveSlackWebClientOptions } from "./client-
|
|
6
|
+
import { c as resolveSlackWebClientOptions } from "./client-CMipJma0.js";
|
|
7
7
|
import { n as normalizeAllowList, r as normalizeAllowListLower, t as allowListMatches } from "./allow-list-ChDz7vQO.js";
|
|
8
8
|
import { t as getOptionalSlackRuntime } from "./runtime-BOk7xkOl.js";
|
|
9
9
|
import { n as registerSlackHttpHandler, r as normalizeSlackWebhookPath } from "./registry-bbjH7IHX.js";
|
|
10
10
|
import { t as formatSlackError } from "./errors-co-Fg3Ll.js";
|
|
11
|
-
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-
|
|
12
|
-
import { t as resolveSlackUserAllowlist } from "./resolve-users-
|
|
11
|
+
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-D3v41FCM.js";
|
|
12
|
+
import { t as resolveSlackUserAllowlist } from "./resolve-users-uMz1N7mm.js";
|
|
13
13
|
import { D as resolveSlackSlashCommandConfig, E as buildSlackSlashCommandMatcher, O as stripSlackMentionsForCommandDetection, S as resolveOpenProviderRuntimeGroupPolicy, T as warnMissingProviderGroupPolicyFallbackOnce, _ as getRuntimeConfig$1, d as resolveSlackEffectiveAllowFrom, f as buildSlackAssistantThreadMetadata, g as resolveSlackChatType, h as normalizeSlackChannelType, i as parsePluginBindingApprovalCustomId, l as authorizeSlackSystemEventSender, n as authorizeSlackDirectMessage, p as createSlackMonitorContext, r as buildPluginBindingResolvedText, s as resolvePluginConversationBindingApproval, t as resolveSlackRoomContextHints, u as resolveSlackCommandIngress, v as isDangerousNameMatchingEnabled, x as resolveDefaultGroupPolicy } from "./room-context-C-6EgkTA.js";
|
|
14
14
|
import { n as resolveSlackChannelConfig, r as resolveSlackChannelLabel, t as isSlackChannelAllowedByPolicy } from "./policy-pdU_0AU0.js";
|
|
15
15
|
import { normalizeResolvedSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
@@ -1957,7 +1957,7 @@ function createSlackThreadTsResolver(params) {
|
|
|
1957
1957
|
//#region extensions/slack/src/monitor/message-handler.ts
|
|
1958
1958
|
let slackMessagePipelinePromise;
|
|
1959
1959
|
function loadSlackMessagePipeline() {
|
|
1960
|
-
slackMessagePipelinePromise ??= import("./pipeline.runtime-
|
|
1960
|
+
slackMessagePipelinePromise ??= import("./pipeline.runtime-CwVyPQfY.js");
|
|
1961
1961
|
return slackMessagePipelinePromise;
|
|
1962
1962
|
}
|
|
1963
1963
|
const APP_MENTION_RETRY_TTL_MS = 6e4;
|
|
@@ -2515,7 +2515,7 @@ function loadSlashCommandsRuntime() {
|
|
|
2515
2515
|
return slashCommandsRuntimePromise;
|
|
2516
2516
|
}
|
|
2517
2517
|
function loadSlashDispatchRuntime() {
|
|
2518
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
2518
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-u_Vj5RGB.js");
|
|
2519
2519
|
return slashDispatchRuntimePromise;
|
|
2520
2520
|
}
|
|
2521
2521
|
function loadSlackPluginCommandsRuntime() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveSlackReplyBlocks } from "./reply-blocks-BlOURkUm.js";
|
|
2
2
|
import { o as SLACK_TEXT_LIMIT } from "./thread-ts-ks-O8cEG.js";
|
|
3
|
-
import { o as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import "./send.runtime-
|
|
3
|
+
import { o as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-B_Z5v6sU.js";
|
|
4
|
+
import "./send.runtime-BdYdgXuZ.js";
|
|
5
5
|
import { createReplyReferencePlanner } from "openclaw/plugin-sdk/reply-reference";
|
|
6
6
|
import { SILENT_REPLY_TOKEN, chunkMarkdownTextWithMode, isSilentReplyText } from "openclaw/plugin-sdk/reply-chunking";
|
|
7
7
|
import { deliverTextOrMediaReply, resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { r as createSlackWebClient } from "./client-
|
|
2
|
+
import { r as createSlackWebClient } from "./client-CMipJma0.js";
|
|
3
3
|
import { n as resolveSlackAllowlistEntries, t as collectSlackCursorItems } from "./resolve-allowlist-common-CP8SH0Zf.js";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
//#region extensions/slack/src/resolve-channels.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { r as createSlackWebClient } from "./client-
|
|
2
|
+
import { r as createSlackWebClient } from "./client-CMipJma0.js";
|
|
3
3
|
import { n as resolveSlackAllowlistEntries, t as collectSlackCursorItems } from "./resolve-allowlist-common-CP8SH0Zf.js";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
//#region extensions/slack/src/resolve-users.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./target-parsing-
|
|
2
|
-
import "./client-
|
|
1
|
+
import "./target-parsing-C7eeWg7M.js";
|
|
2
|
+
import "./client-CMipJma0.js";
|
|
3
3
|
import "./config-api-DnT9ohtE.js";
|
|
4
4
|
import { createActionGate as createActionGate$1, imageResultFromFile, jsonResult, readNumberParam, readReactionParams, readStringParam, withNormalizedTimestamp } from "openclaw/plugin-sdk/channel-actions";
|
|
5
5
|
import "openclaw/plugin-sdk/account-id";
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { a as resolveSlackAccount, d as resolveSlackBotToken, i as resolveDefaultSlackAccountId, n as listSlackAccountIds, t as listEnabledSlackAccounts, u as resolveSlackAppToken } from "./accounts-BnLQ3fe2.js";
|
|
2
2
|
import { n as resolveSlackGroupRequireMention, r as resolveSlackGroupToolPolicy } from "./reply-blocks-BlOURkUm.js";
|
|
3
3
|
import { n as setSlackRuntime } from "./runtime-BOk7xkOl.js";
|
|
4
|
-
import { t as sendMessageSlack } from "./send-
|
|
5
|
-
import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReactions, f as removeSlackReaction, i as getSlackMemberInfo, l as reactSlackMessage, m as unpinSlackMessage, o as listSlackPins, p as sendSlackMessage, r as editSlackMessage, s as listSlackReactions, t as deleteSlackMessage, u as readSlackMessages } from "./actions-
|
|
6
|
-
import { t as probeSlack } from "./probe-
|
|
7
|
-
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-
|
|
8
|
-
import { t as resolveSlackUserAllowlist } from "./resolve-users-
|
|
9
|
-
import { t as monitorSlackProvider } from "./provider-
|
|
4
|
+
import { t as sendMessageSlack } from "./send-B_Z5v6sU.js";
|
|
5
|
+
import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReactions, f as removeSlackReaction, i as getSlackMemberInfo, l as reactSlackMessage, m as unpinSlackMessage, o as listSlackPins, p as sendSlackMessage, r as editSlackMessage, s as listSlackReactions, t as deleteSlackMessage, u as readSlackMessages } from "./actions-Dp1AKisQ.js";
|
|
6
|
+
import { t as probeSlack } from "./probe-BRokY757.js";
|
|
7
|
+
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-D3v41FCM.js";
|
|
8
|
+
import { t as resolveSlackUserAllowlist } from "./resolve-users-uMz1N7mm.js";
|
|
9
|
+
import { t as monitorSlackProvider } from "./provider-GYmtqVRL.js";
|
|
10
10
|
import { t as registerSlackPluginHttpRoutes } from "./plugin-routes-DRR3ijKM.js";
|
|
11
|
-
import { n as slackActionRuntime, t as handleSlackAction } from "./action-runtime-
|
|
12
|
-
import { n as listSlackDirectoryGroupsLive, r as listSlackDirectoryPeersLive } from "./directory-live-
|
|
13
|
-
import "./monitor-
|
|
11
|
+
import { n as slackActionRuntime, t as handleSlackAction } from "./action-runtime-ClZjzvJU.js";
|
|
12
|
+
import { n as listSlackDirectoryGroupsLive, r as listSlackDirectoryPeersLive } from "./directory-live-Dq12TcgS.js";
|
|
13
|
+
import "./monitor-CAfY1OZE.js";
|
|
14
14
|
export { deleteSlackMessage, editSlackMessage, getSlackMemberInfo, handleSlackAction, listEnabledSlackAccounts, listSlackAccountIds, listSlackDirectoryGroupsLive, listSlackDirectoryPeersLive, listSlackEmojis, listSlackPins, listSlackReactions, monitorSlackProvider, pinSlackMessage, probeSlack, reactSlackMessage, readSlackMessages, registerSlackPluginHttpRoutes, removeOwnSlackReactions, removeSlackReaction, resolveDefaultSlackAccountId, resolveSlackAccount, resolveSlackAppToken, resolveSlackBotToken, resolveSlackChannelAllowlist, resolveSlackGroupRequireMention, resolveSlackGroupToolPolicy, resolveSlackUserAllowlist, sendMessageSlack, sendSlackMessage, setSlackRuntime, slackActionRuntime, unpinSlackMessage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as createSlackWebClient } from "./client-
|
|
1
|
+
import { r as createSlackWebClient } from "./client-CMipJma0.js";
|
|
2
2
|
import { t as formatSlackError } from "./errors-co-Fg3Ll.js";
|
|
3
3
|
import { isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
//#region extensions/slack/src/scopes.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as resolveSlackAccount, d as resolveSlackBotToken } from "./accounts-BnLQ3fe2.js";
|
|
2
|
-
import { r as parseSlackTarget } from "./target-parsing-
|
|
3
|
-
import "./targets-
|
|
2
|
+
import { r as parseSlackTarget } from "./target-parsing-C7eeWg7M.js";
|
|
3
|
+
import "./targets-nUqxHGgg.js";
|
|
4
4
|
import { a as validateSlackBlocksArray, o as SLACK_TEXT_LIMIT, s as truncateSlackText, t as normalizeSlackThreadTsCandidate } from "./thread-ts-ks-O8cEG.js";
|
|
5
|
-
import { a as getSlackWriteClient, n as createSlackTokenCacheKey } from "./client-
|
|
5
|
+
import { a as getSlackWriteClient, n as createSlackTokenCacheKey } from "./client-CMipJma0.js";
|
|
6
6
|
import { t as getOptionalSlackRuntime } from "./runtime-BOk7xkOl.js";
|
|
7
|
-
import { i as loadOutboundMediaFromUrl } from "./runtime-api-
|
|
7
|
+
import { i as loadOutboundMediaFromUrl } from "./runtime-api-DHq45F2b.js";
|
|
8
8
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-message";
|
|
10
10
|
import { withTrustedEnvProxyGuardedFetchMode } from "openclaw/plugin-sdk/fetch-runtime";
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as slackSetupPlugin } from "./channel.setup-
|
|
1
|
+
import { t as slackSetupPlugin } from "./channel.setup-CcyPmfoS.js";
|
|
2
2
|
export { slackSetupPlugin };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as resolveSlackAccount, i as resolveDefaultSlackAccountId, o as resolveSlackAccountAllowFrom } from "./accounts-BnLQ3fe2.js";
|
|
2
|
-
import "./shared-
|
|
2
|
+
import "./shared-CHupOun0.js";
|
|
3
3
|
import { i as SLACK_CHANNEL, t as createSlackSetupWizardBase } from "./setup-core-CJxjcOda.js";
|
|
4
|
-
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-
|
|
5
|
-
import { t as resolveSlackUserAllowlist } from "./resolve-users-
|
|
4
|
+
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-D3v41FCM.js";
|
|
5
|
+
import { t as resolveSlackUserAllowlist } from "./resolve-users-uMz1N7mm.js";
|
|
6
6
|
import { adaptScopedAccountAccessor } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
7
7
|
import { createSetupTranslator, noteChannelLookupFailure, noteChannelLookupSummary, parseMentionOrPrefixedId, promptLegacyChannelAllowFromForAccount, resolveEntriesWithOptionalToken } from "openclaw/plugin-sdk/setup-runtime";
|
|
8
8
|
import { formatDocsLink } from "openclaw/plugin-sdk/setup-tools";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as resolveSlackAccount, c as resolveSlackConfigAccessorAccount, i as resolveDefaultSlackAccountId, n as listSlackAccountIds, o as resolveSlackAccountAllowFrom, s as resolveSlackAccountDmPolicy } from "./accounts-BnLQ3fe2.js";
|
|
2
2
|
import { t as inspectSlackAccount } from "./account-inspect-vVg3pT03.js";
|
|
3
3
|
import { n as isSlackInteractiveRepliesEnabled } from "./interactive-replies-9v8OYeGV.js";
|
|
4
|
-
import { f as getChatChannelMeta } from "./client-
|
|
4
|
+
import { f as getChatChannelMeta } from "./client-CMipJma0.js";
|
|
5
5
|
import { i as SLACK_CHANNEL } from "./setup-core-CJxjcOda.js";
|
|
6
6
|
import { t as SlackChannelConfigSchema } from "./config-schema-CUiDK8HV.js";
|
|
7
7
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BVvVoRt-.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as deliverSlackSlashReplies$1 } from "./replies-
|
|
1
|
+
import { r as deliverSlackSlashReplies$1 } from "./replies-y6Coc_4v.js";
|
|
2
2
|
import { resolveAgentRoute as resolveAgentRoute$1 } from "openclaw/plugin-sdk/routing";
|
|
3
3
|
import { resolveMarkdownTableMode as resolveMarkdownTableMode$1 } from "openclaw/plugin-sdk/markdown-table-runtime";
|
|
4
4
|
import { recordInboundSessionMetaSafe as recordInboundSessionMetaSafe$1, resolveConversationLabel as resolveConversationLabel$1 } from "openclaw/plugin-sdk/conversation-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildMessagingTarget, ensureTargetId, parseMentionPrefixOrAtUserTarget, requireTargetKind } from "openclaw/plugin-sdk/
|
|
1
|
+
import { buildMessagingTarget, ensureTargetId, parseMentionPrefixOrAtUserTarget, requireTargetKind } from "openclaw/plugin-sdk/channel-targets";
|
|
2
2
|
//#region extensions/slack/src/target-parsing.ts
|
|
3
3
|
function parseSlackTarget(raw, options = {}) {
|
|
4
4
|
const trimmed = raw.trim();
|
package/dist/test-api.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as createSlackActions, t as slackPlugin } from "./channel-
|
|
1
|
+
import { a as createSlackActions, t as slackPlugin } from "./channel-CXs510aj.js";
|
|
2
2
|
import { n as setSlackRuntime } from "./runtime-BOk7xkOl.js";
|
|
3
|
-
import { t as sendMessageSlack } from "./send-
|
|
4
|
-
import { t as prepareSlackMessage } from "./prepare-
|
|
3
|
+
import { t as sendMessageSlack } from "./send-B_Z5v6sU.js";
|
|
4
|
+
import { t as prepareSlackMessage } from "./prepare-DFa-tK12.js";
|
|
5
5
|
import { t as createInboundSlackTestContext } from "./prepare.test-helpers-Y5XylD5f.js";
|
|
6
|
-
import { t as createSlackOutboundPayloadHarness } from "./outbound-payload.test-harness-
|
|
7
|
-
import { n as slackOutbound } from "./outbound-adapter-
|
|
6
|
+
import { t as createSlackOutboundPayloadHarness } from "./outbound-payload.test-harness-Ca13aYOM.js";
|
|
7
|
+
import { n as slackOutbound } from "./outbound-adapter-Dtqbyixa.js";
|
|
8
8
|
export { createInboundSlackTestContext, createSlackActions, createSlackOutboundPayloadHarness, prepareSlackMessage, sendMessageSlack, setSlackRuntime, slackOutbound, slackPlugin };
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/slack",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.24-beta.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/slack",
|
|
9
|
-
"version": "2026.5.
|
|
9
|
+
"version": "2026.5.24-beta.2",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@slack/bolt": "4.7.2",
|
|
12
12
|
"@slack/types": "2.21.1",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"zod": "4.4.3"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"openclaw": ">=2026.5.
|
|
19
|
+
"openclaw": ">=2026.5.24-beta.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependenciesMeta": {
|
|
22
22
|
"openclaw": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/slack",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.24-beta.2",
|
|
4
4
|
"description": "OpenClaw Slack channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"zod": "4.4.3"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"openclaw": ">=2026.5.
|
|
19
|
+
"openclaw": ">=2026.5.24-beta.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependenciesMeta": {
|
|
22
22
|
"openclaw": {
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"allowInvalidConfigRecovery": true
|
|
62
62
|
},
|
|
63
63
|
"compat": {
|
|
64
|
-
"pluginApi": ">=2026.5.
|
|
64
|
+
"pluginApi": ">=2026.5.24-beta.2"
|
|
65
65
|
},
|
|
66
66
|
"build": {
|
|
67
|
-
"openclawVersion": "2026.5.
|
|
67
|
+
"openclawVersion": "2026.5.24-beta.2",
|
|
68
68
|
"bundledDist": false
|
|
69
69
|
},
|
|
70
70
|
"release": {
|
package/dist/targets-C5NeqQJr.js
DELETED