@openclaw/slack 2026.6.34 → 2026.6.35
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-z9j2PYiO.js → action-runtime-BwNGhgBZ.js} +1 -1
- package/dist/action-runtime.runtime-CEPwVOZ3.js +2 -0
- package/dist/{actions-CCTO1mVi.js → actions-CQaibwss.js} +10 -3
- package/dist/{actions.runtime-BaBCJbO3.js → actions.runtime-C4xOn35Q.js} +1 -1
- package/dist/api.js +3 -3
- package/dist/{channel-DLPyf4p_.js → channel-Cmhb6gBI.js} +3 -3
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{monitor-CoF156tn.js → monitor-Cz0olgW_.js} +2 -2
- package/dist/{pipeline.runtime-Lp1AVrkR.js → pipeline.runtime-Bs5HcR53.js} +5 -5
- package/dist/{provider-CQvIQMod.js → provider-DqX8Y_-3.js} +3 -3
- package/dist/{relay-source-Bv6k-bAg.js → relay-source-BbZxvsAr.js} +1 -1
- package/dist/{replies-DM1Qi_1b.js → replies-DWPHUSuO.js} +1 -1
- package/dist/runtime-api.js +4 -4
- package/dist/{slash-dispatch.runtime-CCP3os2O.js → slash-dispatch.runtime-B9hCkbUt.js} +1 -1
- package/npm-shrinkwrap.json +3 -3
- package/package.json +4 -4
- package/dist/action-runtime.runtime-BuOQERTf.js +0 -2
|
@@ -24,7 +24,7 @@ const pinActions = new Set([
|
|
|
24
24
|
let slackActionsRuntimePromise;
|
|
25
25
|
let slackAccountsRuntimePromise;
|
|
26
26
|
function loadSlackActionsRuntime() {
|
|
27
|
-
slackActionsRuntimePromise ??= import("./actions.runtime-
|
|
27
|
+
slackActionsRuntimePromise ??= import("./actions.runtime-C4xOn35Q.js");
|
|
28
28
|
return slackActionsRuntimePromise;
|
|
29
29
|
}
|
|
30
30
|
function loadSlackAccountsRuntime() {
|
|
@@ -97,12 +97,13 @@ async function resolveSlackThreadStarter(params) {
|
|
|
97
97
|
function resetSlackThreadStarterCacheForTest() {
|
|
98
98
|
THREAD_STARTER_CACHE.clear();
|
|
99
99
|
}
|
|
100
|
+
const SLACK_THREAD_HISTORY_MAX_PAGES = 3;
|
|
100
101
|
/**
|
|
101
102
|
* Fetches the most recent messages in a Slack thread (excluding the current message).
|
|
102
103
|
* Used to populate thread context when a new thread session starts.
|
|
103
104
|
*
|
|
104
|
-
* Uses cursor pagination and keeps only the latest N retained messages
|
|
105
|
-
*
|
|
105
|
+
* Uses cursor pagination and keeps only the latest N retained messages when the full
|
|
106
|
+
* thread fits in the bounded fetch window.
|
|
106
107
|
*/
|
|
107
108
|
async function resolveSlackThreadHistory(params) {
|
|
108
109
|
const maxMessages = params.limit ?? 20;
|
|
@@ -110,8 +111,10 @@ async function resolveSlackThreadHistory(params) {
|
|
|
110
111
|
const fetchLimit = 200;
|
|
111
112
|
const retained = [];
|
|
112
113
|
let cursor;
|
|
114
|
+
let pagesFetched = 0;
|
|
113
115
|
try {
|
|
114
116
|
do {
|
|
117
|
+
pagesFetched += 1;
|
|
115
118
|
const response = await params.client.conversations.replies({
|
|
116
119
|
channel: params.channelId,
|
|
117
120
|
ts: params.threadTs,
|
|
@@ -127,7 +130,11 @@ async function resolveSlackThreadHistory(params) {
|
|
|
127
130
|
if (retained.length > maxMessages) retained.splice(0, retained.length - maxMessages);
|
|
128
131
|
const next = response.response_metadata?.next_cursor;
|
|
129
132
|
cursor = typeof next === "string" && next.trim().length > 0 ? next.trim() : void 0;
|
|
130
|
-
} while (cursor);
|
|
133
|
+
} while (cursor && pagesFetched < SLACK_THREAD_HISTORY_MAX_PAGES);
|
|
134
|
+
if (cursor) {
|
|
135
|
+
logVerbose$1(`slack thread history capped channel=${params.channelId} ts=${params.threadTs} pages=${SLACK_THREAD_HISTORY_MAX_PAGES}`);
|
|
136
|
+
return [];
|
|
137
|
+
}
|
|
131
138
|
return retained.map((msg) => ({
|
|
132
139
|
text: msg.text?.trim() ? msg.text : formatSlackFilePlaceholder(msg.files),
|
|
133
140
|
userId: msg.user,
|
|
@@ -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-CQaibwss.js";
|
|
2
2
|
export { deleteSlackMessage, downloadSlackFile, editSlackMessage, getSlackMemberInfo, listSlackEmojis, listSlackPins, listSlackReactions, pinSlackMessage, reactSlackMessage, readSlackMessages, removeOwnSlackReactions, removeSlackReaction, sendSlackMessage, unpinSlackMessage };
|
package/dist/api.js
CHANGED
|
@@ -3,16 +3,16 @@ import { a as resolveSlackAccount, i as resolveDefaultSlackAccountId, l as resol
|
|
|
3
3
|
import { t as inspectSlackAccount } from "./account-inspect-ldU97llt.js";
|
|
4
4
|
import { i as resolveSlackChannelId, n as normalizeSlackMessagingTarget, r as parseSlackTarget, t as looksLikeSlackTargetId } from "./target-parsing-3jYH8LfB.js";
|
|
5
5
|
import "./targets-Dll4NJgs.js";
|
|
6
|
-
import { a as resolveSlackAutoThreadId, i as resolveSlackChannelType, n as buildSlackThreadingToolContext, r as resetSlackChannelTypeCacheForTest, t as slackPlugin } from "./channel-
|
|
6
|
+
import { a as resolveSlackAutoThreadId, i as resolveSlackChannelType, n as buildSlackThreadingToolContext, r as resetSlackChannelTypeCacheForTest, t as slackPlugin } from "./channel-Cmhb6gBI.js";
|
|
7
7
|
import { c as allowListMatches, d as normalizeSlackAllowOwnerEntry, f as normalizeSlackSlug, g as buildSlackPresentationBlocks, h as buildSlackInteractiveBlocks, i as validateSlackBlocksArray, l as normalizeAllowList, m as resolveSlackUserAllowed, n as SLACK_MAX_BLOCKS, o as resolveSlackGroupRequireMention, p as resolveSlackAllowListMatch, r as parseSlackBlocksInput, s as resolveSlackGroupToolPolicy, u as normalizeAllowListLower } from "./reply-blocks-0ofUZd6K.js";
|
|
8
8
|
import { n as extractSlackToolSend, r as listSlackMessageActions } from "./message-tool-api-OXkQLOkR.js";
|
|
9
9
|
import { n as isSlackInteractiveRepliesEnabled, r as parseSlackOptionsLine, t as compileSlackInteractiveReplies } from "./interactive-replies-BBZN1A9T.js";
|
|
10
10
|
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-km2ba2l3.js";
|
|
11
11
|
import { t as slackSetupPlugin } from "./channel.setup-RewyjVhG.js";
|
|
12
12
|
import { i as hasSlackThreadParticipation, o as recordSlackThreadParticipation, r as clearSlackThreadParticipationCache } from "./send-CrC49d83.js";
|
|
13
|
-
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-
|
|
13
|
+
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-CQaibwss.js";
|
|
14
14
|
import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-NDOJRlhK.js";
|
|
15
15
|
import { t as probeSlack } from "./probe-PFduhlzL.js";
|
|
16
16
|
import { t as collectSlackSecurityAuditFindings } from "./security-audit-CikQhBUY.js";
|
|
17
|
-
import { n as resolveSlackRuntimeGroupPolicy } from "./provider-
|
|
17
|
+
import { n as resolveSlackRuntimeGroupPolicy } from "./provider-DqX8Y_-3.js";
|
|
18
18
|
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 };
|
|
@@ -363,7 +363,7 @@ const SLACK_TOOL_DELIVERY_ACTIONS = new Set([
|
|
|
363
363
|
"uploadFile"
|
|
364
364
|
]);
|
|
365
365
|
async function loadSlackActionRuntime$1() {
|
|
366
|
-
slackActionRuntimePromise$1 ??= import("./action-runtime.runtime-
|
|
366
|
+
slackActionRuntimePromise$1 ??= import("./action-runtime.runtime-CEPwVOZ3.js");
|
|
367
367
|
return await slackActionRuntimePromise$1;
|
|
368
368
|
}
|
|
369
369
|
function resolveSlackActionContext(params) {
|
|
@@ -522,7 +522,7 @@ const loadSlackDirectoryConfigModule = createLazyRuntimeModule(() => import("./d
|
|
|
522
522
|
const loadSlackResolveChannelsModule = createLazyRuntimeModule(() => import("./resolve-channels-CtUOIX8D.js").then((n) => n.n));
|
|
523
523
|
const loadSlackResolveUsersModule = createLazyRuntimeModule(() => import("./resolve-users-DfFN2BcP.js").then((n) => n.n));
|
|
524
524
|
async function loadSlackActionRuntime() {
|
|
525
|
-
slackActionRuntimePromise ??= import("./action-runtime.runtime-
|
|
525
|
+
slackActionRuntimePromise ??= import("./action-runtime.runtime-CEPwVOZ3.js");
|
|
526
526
|
return await slackActionRuntimePromise;
|
|
527
527
|
}
|
|
528
528
|
async function loadSlackSendRuntime() {
|
|
@@ -534,7 +534,7 @@ async function loadSlackProbeModule() {
|
|
|
534
534
|
return await slackProbeModulePromise;
|
|
535
535
|
}
|
|
536
536
|
async function loadSlackMonitorModule() {
|
|
537
|
-
slackMonitorModulePromise ??= import("./monitor-
|
|
537
|
+
slackMonitorModulePromise ??= import("./monitor-Cz0olgW_.js").then((n) => n.t);
|
|
538
538
|
return await slackMonitorModulePromise;
|
|
539
539
|
}
|
|
540
540
|
async function loadSlackDirectoryLiveModule() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as slackPlugin } from "./channel-
|
|
1
|
+
import { t as slackPlugin } from "./channel-Cmhb6gBI.js";
|
|
2
2
|
export { slackPlugin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { t as monitorSlackProvider, x as buildSlackSlashCommandMatcher } from "./provider-
|
|
2
|
+
import { t as monitorSlackProvider, x as buildSlackSlashCommandMatcher } from "./provider-DqX8Y_-3.js";
|
|
3
3
|
import { t as isSlackChannelAllowedByPolicy } from "./policy-hyhJMisM.js";
|
|
4
|
-
import { o as resolveSlackThreadTs } from "./replies-
|
|
4
|
+
import { o as resolveSlackThreadTs } from "./replies-DWPHUSuO.js";
|
|
5
5
|
//#region extensions/slack/src/monitor.ts
|
|
6
6
|
var monitor_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
buildSlackSlashCommandMatcher: () => buildSlackSlashCommandMatcher,
|
|
@@ -5,11 +5,11 @@ import { a as SLACK_TEXT_LIMIT, d as normalizeSlackAllowOwnerEntry, p as resolve
|
|
|
5
5
|
import { n as isSlackInteractiveRepliesEnabled, t as compileSlackInteractiveReplies } from "./interactive-replies-BBZN1A9T.js";
|
|
6
6
|
import { n as resolveSlackNativeStreaming, r as resolveSlackStreamingMode, t as mapStreamingModeToSlackLegacyDraftStreamMode } from "./streaming-compat-DjlgH-Be.js";
|
|
7
7
|
import { a as hasSlackThreadParticipationWithPersistence, c as normalizeSlackOutboundText, o as recordSlackThreadParticipation, t as sendMessageSlack } from "./send-CrC49d83.js";
|
|
8
|
-
import { _ as resolveSlackThreadStarter, b as buildSlackEditTextPayload, f as removeSlackReaction, g as resolveSlackThreadHistory, l as reactSlackMessage, r as editSlackMessage, t as deleteSlackMessage, y as formatSlackFileReference } from "./actions-
|
|
8
|
+
import { _ as resolveSlackThreadStarter, b as buildSlackEditTextPayload, f as removeSlackReaction, g as resolveSlackThreadHistory, l as reactSlackMessage, r as editSlackMessage, t as deleteSlackMessage, y as formatSlackFileReference } from "./actions-CQaibwss.js";
|
|
9
9
|
import { t as formatSlackError } from "./errors-CZtmv-h0.js";
|
|
10
|
-
import { S as stripSlackMentionsForCommandDetection, _ as readSessionUpdatedAt, b as updateLastRoute, c as recordInboundSession, d as resolveSlackCommandIngress, f as resolveSlackEffectiveAllowFrom, g as resolveSlackChatType, h as normalizeSlackChannelType, i as authorizeSlackDirectMessage, l as resolveConversationLabel$1, m as parseSlackAssistantThreadMetadata, p as buildSlackAssistantThreadMetadata, r as resolveSlackRoomContextHints, s as escapeSlackMrkdwn, u as authorizeSlackBotRoomMessage, v as resolveChannelContextVisibilityMode, y as resolveStorePath } from "./provider-
|
|
10
|
+
import { S as stripSlackMentionsForCommandDetection, _ as readSessionUpdatedAt, b as updateLastRoute, c as recordInboundSession, d as resolveSlackCommandIngress, f as resolveSlackEffectiveAllowFrom, g as resolveSlackChatType, h as normalizeSlackChannelType, i as authorizeSlackDirectMessage, l as resolveConversationLabel$1, m as parseSlackAssistantThreadMetadata, p as buildSlackAssistantThreadMetadata, r as resolveSlackRoomContextHints, s as escapeSlackMrkdwn, u as authorizeSlackBotRoomMessage, v as resolveChannelContextVisibilityMode, y as resolveStorePath } from "./provider-DqX8Y_-3.js";
|
|
11
11
|
import { n as resolveSlackChannelConfig } from "./policy-hyhJMisM.js";
|
|
12
|
-
import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
12
|
+
import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-DWPHUSuO.js";
|
|
13
13
|
import { asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString, readStringValue } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
14
14
|
import { resolveAgentRoute, resolveInboundLastRouteSessionKey, resolveThreadSessionKeys } from "openclaw/plugin-sdk/routing";
|
|
15
15
|
import { buildChannelProgressDraftLine, buildChannelProgressDraftLineForEntry, createChannelMessageReplyPipeline, createChannelProgressDraftGate, createDraftStreamLoop, defineFinalizableLivePreviewAdapter, deliverWithFinalizableLivePreviewAdapter, formatChannelProgressDraftText, isChannelProgressDraftWorkToolName, mergeChannelProgressDraftLine, resolveAgentOutboundIdentity, resolveChannelMessageSourceReplyDeliveryMode, resolveChannelProgressDraftConfig, resolveChannelProgressDraftMaxLineChars, resolveChannelProgressDraftMaxLines, resolveChannelProgressDraftRender, resolveChannelStreamingBlockEnabled, resolveChannelStreamingNativeTransport, resolveChannelStreamingPreviewToolProgress, resolveChannelStreamingSuppressDefaultToolProgressMessages } from "openclaw/plugin-sdk/channel-outbound";
|
|
@@ -2032,7 +2032,7 @@ const SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE = 20;
|
|
|
2032
2032
|
const SLACK_USER_MENTION_RE$1 = /<@([A-Z0-9]+)(?:\|[^>]+)?>/gi;
|
|
2033
2033
|
let slackMediaModulePromise$1;
|
|
2034
2034
|
function loadSlackMediaModule$1() {
|
|
2035
|
-
slackMediaModulePromise$1 ??= import("./actions-
|
|
2035
|
+
slackMediaModulePromise$1 ??= import("./actions-CQaibwss.js").then((n) => n.h);
|
|
2036
2036
|
return slackMediaModulePromise$1;
|
|
2037
2037
|
}
|
|
2038
2038
|
function collectUniqueSlackMentionIds$1(texts) {
|
|
@@ -2546,7 +2546,7 @@ function formatSlackBotStarterThreadLabel(params) {
|
|
|
2546
2546
|
//#region extensions/slack/src/monitor/message-handler/prepare-thread-context.ts
|
|
2547
2547
|
let slackMediaModulePromise;
|
|
2548
2548
|
function loadSlackMediaModule() {
|
|
2549
|
-
slackMediaModulePromise ??= import("./actions-
|
|
2549
|
+
slackMediaModulePromise ??= import("./actions-CQaibwss.js").then((n) => n.h);
|
|
2550
2550
|
return slackMediaModulePromise;
|
|
2551
2551
|
}
|
|
2552
2552
|
const SLACK_THREAD_CONTEXT_USER_LOOKUP_CONCURRENCY = 4;
|
|
@@ -2821,7 +2821,7 @@ function createSlackThreadTsResolver(params) {
|
|
|
2821
2821
|
//#region extensions/slack/src/monitor/message-handler.ts
|
|
2822
2822
|
let slackMessagePipelinePromise;
|
|
2823
2823
|
function loadSlackMessagePipeline() {
|
|
2824
|
-
slackMessagePipelinePromise ??= import("./pipeline.runtime-
|
|
2824
|
+
slackMessagePipelinePromise ??= import("./pipeline.runtime-Bs5HcR53.js");
|
|
2825
2825
|
return slackMessagePipelinePromise;
|
|
2826
2826
|
}
|
|
2827
2827
|
function createSlackDispatchCompletion() {
|
|
@@ -3513,7 +3513,7 @@ function loadSlashCommandsRuntime() {
|
|
|
3513
3513
|
return slashCommandsRuntimePromise;
|
|
3514
3514
|
}
|
|
3515
3515
|
function loadSlashDispatchRuntime() {
|
|
3516
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
3516
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-B9hCkbUt.js");
|
|
3517
3517
|
return slashDispatchRuntimePromise;
|
|
3518
3518
|
}
|
|
3519
3519
|
function loadSlackPluginCommandsRuntime() {
|
|
@@ -4226,7 +4226,7 @@ async function getSlackBoltInterop() {
|
|
|
4226
4226
|
return slackBoltInterop;
|
|
4227
4227
|
}
|
|
4228
4228
|
function loadSlackRelaySource() {
|
|
4229
|
-
slackRelaySourcePromise ??= import("./relay-source-
|
|
4229
|
+
slackRelaySourcePromise ??= import("./relay-source-BbZxvsAr.js");
|
|
4230
4230
|
return slackRelaySourcePromise;
|
|
4231
4231
|
}
|
|
4232
4232
|
const SLACK_WEBHOOK_MAX_BODY_BYTES = 1024 * 1024;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SLACK_SOCKET_RECONNECT_POLICY, o as formatUnknownError } from "./provider-
|
|
1
|
+
import { a as SLACK_SOCKET_RECONNECT_POLICY, o as formatUnknownError } from "./provider-DqX8Y_-3.js";
|
|
2
2
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { computeBackoff, sleepWithAbort, warn } from "openclaw/plugin-sdk/runtime-env";
|
|
4
4
|
import { Buffer } from "node:buffer";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as SLACK_TEXT_LIMIT, t as resolveSlackReplyBlocks } from "./reply-blocks-0ofUZd6K.js";
|
|
2
2
|
import { s as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-CrC49d83.js";
|
|
3
|
-
import "./provider-
|
|
3
|
+
import "./provider-DqX8Y_-3.js";
|
|
4
4
|
import { createReplyReferencePlanner } from "openclaw/plugin-sdk/reply-reference";
|
|
5
5
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
6
6
|
import { SILENT_REPLY_TOKEN, chunkMarkdownTextWithMode, isSilentReplyText } from "openclaw/plugin-sdk/reply-chunking";
|
package/dist/runtime-api.js
CHANGED
|
@@ -3,12 +3,12 @@ import { a as resolveSlackAccount, d as resolveSlackAppToken, f as resolveSlackB
|
|
|
3
3
|
import { o as resolveSlackGroupRequireMention, s as resolveSlackGroupToolPolicy } from "./reply-blocks-0ofUZd6K.js";
|
|
4
4
|
import { n as setSlackRuntime } from "./runtime-BOk7xkOl.js";
|
|
5
5
|
import { t as sendMessageSlack } from "./send-CrC49d83.js";
|
|
6
|
-
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 { 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-CQaibwss.js";
|
|
7
7
|
import { t as probeSlack } from "./probe-PFduhlzL.js";
|
|
8
8
|
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-CtUOIX8D.js";
|
|
9
9
|
import { t as resolveSlackUserAllowlist } from "./resolve-users-DfFN2BcP.js";
|
|
10
|
-
import { t as monitorSlackProvider } from "./provider-
|
|
11
|
-
import { n as slackActionRuntime, t as handleSlackAction } from "./action-runtime-
|
|
10
|
+
import { t as monitorSlackProvider } from "./provider-DqX8Y_-3.js";
|
|
11
|
+
import { n as slackActionRuntime, t as handleSlackAction } from "./action-runtime-BwNGhgBZ.js";
|
|
12
12
|
import { n as listSlackDirectoryGroupsLive, r as listSlackDirectoryPeersLive } from "./directory-live-CeVhaEVq.js";
|
|
13
|
-
import "./monitor-
|
|
13
|
+
import "./monitor-Cz0olgW_.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 deliverSlackSlashReplies$1 } from "./replies-
|
|
1
|
+
import { r as deliverSlackSlashReplies$1 } from "./replies-DWPHUSuO.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";
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/slack",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.35",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/slack",
|
|
9
|
-
"version": "2026.6.
|
|
9
|
+
"version": "2026.6.35",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@slack/bolt": "4.7.3",
|
|
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.6.
|
|
19
|
+
"openclaw": ">=2026.6.35"
|
|
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.6.
|
|
3
|
+
"version": "2026.6.35",
|
|
4
4
|
"description": "OpenClaw Slack channel plugin for channels, DMs, commands, and app events.",
|
|
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.6.
|
|
19
|
+
"openclaw": ">=2026.6.35"
|
|
20
20
|
},
|
|
21
21
|
"peerDependenciesMeta": {
|
|
22
22
|
"openclaw": {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"allowInvalidConfigRecovery": true
|
|
62
62
|
},
|
|
63
63
|
"compat": {
|
|
64
|
-
"pluginApi": ">=2026.6.
|
|
64
|
+
"pluginApi": ">=2026.6.35"
|
|
65
65
|
},
|
|
66
66
|
"startup": {
|
|
67
67
|
"deferConfiguredChannelFullLoadUntilAfterListen": true
|
|
68
68
|
},
|
|
69
69
|
"build": {
|
|
70
|
-
"openclawVersion": "2026.6.
|
|
70
|
+
"openclawVersion": "2026.6.35",
|
|
71
71
|
"bundledDist": false
|
|
72
72
|
},
|
|
73
73
|
"release": {
|