@openclaw/slack 2026.11.2 → 2026.11.4

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.
@@ -624,7 +624,7 @@ const loadSlackResolveUsersModule = createLazyRuntimeModule(() => import("./reso
624
624
  const loadSlackActionRuntime = createLazyRuntimeModule(() => import("./action-runtime.runtime-vLxx_7s2.mjs"));
625
625
  const loadSlackSendRuntime = createLazyRuntimeModule(() => import("./send-C-8wY0lK.mjs").then((n) => n.n));
626
626
  const loadSlackProbeModule = createLazyRuntimeModule(() => import("./probe-IiHogLQN.mjs").then((n) => n.n));
627
- const loadSlackMonitorModule = createLazyRuntimeModule(() => import("./monitor-CV6Z6FKP.mjs").then((n) => n.t));
627
+ const loadSlackMonitorModule = createLazyRuntimeModule(() => import("./monitor-Dcd6ymHV.mjs").then((n) => n.t));
628
628
  const loadSlackDirectoryLiveModule = createLazyRuntimeModule(() => import("./directory-live-BIKD-5B_.mjs").then((n) => n.t));
629
629
  async function setSlackHeartbeatThreadStatus(params) {
630
630
  const threadTs = resolveSlackThreadTsValue({ threadId: params.threadId });
@@ -2921,7 +2921,7 @@ const SLACK_COMMAND_ARG_BUTTON_VALUE_MAX = 2e3;
2921
2921
  const SLACK_COMMAND_ARG_CONFIRM_TEXT_MAX = 300;
2922
2922
  const SLACK_HEADER_TEXT_MAX = 150;
2923
2923
  const SLACK_COMMAND_ARG_ACTION_BLOCKS_MAX = 47;
2924
- const loadSlashDispatchRuntime = createLazyRuntimeModule(() => import("./slash-dispatch.runtime-D3Wq45ER.mjs"));
2924
+ const loadSlashDispatchRuntime = createLazyRuntimeModule(() => import("./slash-dispatch.runtime-DNddQpYP.mjs"));
2925
2925
  const loadPluginCommandRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/plugin-command-runtime"));
2926
2926
  const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
2927
2927
  function buildSlackArgMenuConfirm(params) {
@@ -5879,7 +5879,7 @@ function buildSlackDebounceKey(message, accountId, teamId) {
5879
5879
  }
5880
5880
  //#endregion
5881
5881
  //#region extensions/slack/src/monitor/message-handler.ts
5882
- const loadSlackMessagePipeline = createLazyRuntimeModule(() => import("./pipeline.runtime-DLIQf1Bo.mjs"));
5882
+ const loadSlackMessagePipeline = createLazyRuntimeModule(() => import("./pipeline.runtime-CdF95Pej.mjs"));
5883
5883
  const RETRYABLE_FLUSH_MAX_ATTEMPTS = 3;
5884
5884
  function shouldDebounceSlackMessage(message, cfg) {
5885
5885
  const textForCommandDetection = stripSlackMentionsForCommandDetection(message.text ?? "");
@@ -6414,7 +6414,7 @@ async function getSlackBoltInterop() {
6414
6414
  }
6415
6415
  return slackBoltInterop;
6416
6416
  }
6417
- const loadSlackRelaySource = createLazyRuntimeModule(() => import("./relay-source-CxDcrn16.mjs"));
6417
+ const loadSlackRelaySource = createLazyRuntimeModule(() => import("./relay-source-BPXstGYg.mjs"));
6418
6418
  function resolveSlackRuntimeIdentity(params) {
6419
6419
  const botUserId = normalizeOptionalString(params.botUserId);
6420
6420
  const botId = normalizeOptionalString(params.botId);
@@ -8,8 +8,8 @@ import { n as resolveSlackReplyThreadTs } from "./thread-ts-Cvt7WD6B.mjs";
8
8
  import { C as hasSlackTableBlock, D as buildSlackEditTextPayload, E as resolveSlackMessageText$1, T as resolveSlackBlocksText, a as editSlackRenderedMessage, b as formatSlackFileReference, d as reactSlackMessage, i as editSlackMessage, m as removeSlackReaction, n as deleteSlackMessage, w as isSlackUnfurlAttachment, x as formatSlackFileReferenceList } from "./actions-By7tvpvv.mjs";
9
9
  import { c as hasSlackThreadParticipationWithPersistence, i as clearSlackThreadFailureNotice, l as recordSlackThreadFailureNotice, m as buildSlackNativeDataDeliveryPlan, o as hasSlackThreadFailureNotice, p as hasSlackMessageIdentity, s as hasSlackThreadParticipation, t as sendMessageSlack, u as recordSlackThreadParticipation } from "./send-C-8wY0lK.mjs";
10
10
  import { n as resolveSlackChannelConfig } from "./policy-yhn48xf5.mjs";
11
- import { C as resolveSlackChatType, E as stripSlackMentionsForCommandDetection, S as normalizeSlackChannelType, T as readSlackAssistantThreadContext, _ as appendSlackStream, b as stopSlackStream, c as resolveSlackRoutingContext, g as SlackStreamNotDeliveredError, h as resolveSlackEffectiveAllowFrom, i as resolveSlackRoomContextHints, l as registerSlackSessionRun, m as resolveSlackCommandIngress, p as authorizeSlackBotRoomMessage, r as trackSlackDraftMessage, s as authorizeSlackDirectMessage, u as resolveSlackThreadContext, v as markSlackStreamFallbackDelivered, w as buildSlackAssistantThreadMetadata, y as startSlackStream } from "./monitor-CV6Z6FKP.mjs";
12
- import { a as emitSlackMessageSentHooks, i as sanitizeSlackMonitorReplyPayload, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-MRkrg3rC.mjs";
11
+ import { C as resolveSlackChatType, E as stripSlackMentionsForCommandDetection, S as normalizeSlackChannelType, T as readSlackAssistantThreadContext, _ as appendSlackStream, b as stopSlackStream, c as resolveSlackRoutingContext, g as SlackStreamNotDeliveredError, h as resolveSlackEffectiveAllowFrom, i as resolveSlackRoomContextHints, l as registerSlackSessionRun, m as resolveSlackCommandIngress, p as authorizeSlackBotRoomMessage, r as trackSlackDraftMessage, s as authorizeSlackDirectMessage, u as resolveSlackThreadContext, v as markSlackStreamFallbackDelivered, w as buildSlackAssistantThreadMetadata, y as startSlackStream } from "./monitor-Dcd6ymHV.mjs";
12
+ import { a as emitSlackMessageSentHooks, i as sanitizeSlackMonitorReplyPayload, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-C60dQn3J.mjs";
13
13
  import { asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString, readNonBlankString } from "openclaw/plugin-sdk/string-coerce-runtime";
14
14
  import { resolveInboundLastRouteSessionKey } from "openclaw/plugin-sdk/routing";
15
15
  import { buildChannelProgressDraftLine, compactChannelProgressDraftLine, createChannelMessageReplyPipeline, createChannelProgressDraftCompositor, createChannelProgressWorkCounter, createDraftStreamLoop, createFinalizableDraftLifecycle, createLivePreviewLifecycle, createMessageReceiptFromOutboundResults, resolveAgentOutboundIdentity, resolveChannelMessageSourceReplyDeliveryMode, resolveChannelProgressDraftConfig, resolveChannelProgressDraftMaxLineChars, resolveChannelStreamingBlockEnabled, resolveChannelStreamingPreviewToolProgress, resolveChannelStreamingSuppressDefaultToolProgressMessages, selectPlanChecklistSteps } from "openclaw/plugin-sdk/channel-outbound";
@@ -1426,6 +1426,7 @@ function createSlackProgressRuntime(runtimeParams) {
1426
1426
  const pushReasoningProgress = async (payload) => {
1427
1427
  if (!payload?.text) return false;
1428
1428
  if (!isProgressMode) {
1429
+ if (!previewToolProgressEnabled) return false;
1429
1430
  const normalized = progressDraft.mergeReasoningProgress(payload.text, { snapshot: payload.isReasoningSnapshot === true }).replace(/^_(.*)_$/su, "$1").trim();
1430
1431
  if (!normalized) return false;
1431
1432
  const visible = await progressDraft.pushToolProgress({
@@ -1,5 +1,5 @@
1
1
  import { o as formatSlackError } from "./probe-IiHogLQN.mjs";
2
- import { d as parseSlackMessageEvent, f as requireSlackMessageEvent, x as SLACK_SOCKET_RECONNECT_POLICY } from "./monitor-CV6Z6FKP.mjs";
2
+ import { d as parseSlackMessageEvent, f as requireSlackMessageEvent, x as SLACK_SOCKET_RECONNECT_POLICY } from "./monitor-Dcd6ymHV.mjs";
3
3
  import { asOptionalRecord, normalizeOptionalString, readStringValue } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { computeBackoff, sleepWithAbort, warn } from "openclaw/plugin-sdk/runtime-env";
5
5
  import { createNodeProxyAgent } from "openclaw/plugin-sdk/fetch-runtime";
@@ -2,7 +2,7 @@ import { C as isSlackNativeResponseUrlRejection, M as SLACK_TEXT_LIMIT, S as isS
2
2
  import { n as iterateSlackReplyDeliveryMessages, o as resolveSlackReplyBlockResolution, t as hasSlackReplyStructuredContent } from "./reply-blocks-Ca-raz2z.mjs";
3
3
  import { n as resolveSlackReplyThreadTs } from "./thread-ts-Cvt7WD6B.mjs";
4
4
  import { h as chunkSlackTextAtHardLimit, m as buildSlackNativeDataDeliveryPlan, t as sendMessageSlack } from "./send-C-8wY0lK.mjs";
5
- import { a as SlackResponseAlreadyReportedError, o as createSlackResponseUrlBudget } from "./monitor-CV6Z6FKP.mjs";
5
+ import { a as SlackResponseAlreadyReportedError, o as createSlackResponseUrlBudget } from "./monitor-Dcd6ymHV.mjs";
6
6
  import { sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
7
7
  import { createReplyReferencePlanner } from "openclaw/plugin-sdk/reply-reference";
8
8
  import { deliverTextOrMediaReply, getReplyPayloadTtsSupplement, resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
@@ -1,4 +1,4 @@
1
- import { i as sanitizeSlackMonitorReplyPayload, r as deliverSlackSlashReplies } from "./replies-MRkrg3rC.mjs";
1
+ import { i as sanitizeSlackMonitorReplyPayload, r as deliverSlackSlashReplies } from "./replies-C60dQn3J.mjs";
2
2
  import { resolveAgentRoute } from "openclaw/plugin-sdk/routing";
3
3
  import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
4
4
  import { resolveConversationLabel } from "openclaw/plugin-sdk/conversation-runtime";
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@ import { a as parseSlackTarget, i as normalizeSlackMessagingTarget, o as resolve
5
5
  import "./.setup/targets-C6LZQL1Q.mjs";
6
6
  import { Ht as resolveSlackAutoThreadId, a as resolveSlackGroupRequireMention, gt as validateSlackBlocksArray, ht as parseSlackBlocksInput, mt as SLACK_MAX_BLOCKS, o as resolveSlackGroupToolPolicy } from "./.setup/session-status-Dv8wNBEt.mjs";
7
7
  import { A as resolveSlackAllowListMatch, D as allowListMatches, E as resolveSlackWriteClientOptions, M as resolveSlackUserAllowed, O as normalizeSlackAllowOwnerEntry, S as SLACK_WRITE_RETRY_OPTIONS, T as resolveSlackWebClientOptions, _ as getSlackWriteClient, h as createSlackWriteClient, k as normalizeSlackSlug, m as createSlackWebClient, p as createSlackTokenCacheKey, t as probeSlack, x as SLACK_DEFAULT_RETRY_OPTIONS } from "./.setup/probe-IiHogLQN.mjs";
8
- import { n as buildSlackThreadingToolContext, t as slackPlugin } from "./.setup/channel-DLFiMJm2.mjs";
8
+ import { n as buildSlackThreadingToolContext, t as slackPlugin } from "./.setup/channel-DQKq-0IZ.mjs";
9
9
  import { d as buildSlackInteractiveBlocks, f as buildSlackPresentationBlocks } from "./.setup/reply-blocks-Ca-raz2z.mjs";
10
10
  import { n as extractSlackToolSend, r as listSlackMessageActions } from "./.setup/message-tool-api-BS5ekEA_.mjs";
11
11
  import { n as resolveSlackChannelType } from "./.setup/channel-type-BEFP2ORi.mjs";
@@ -1,2 +1,2 @@
1
- import { t as slackPlugin } from "./.setup/channel-DLFiMJm2.mjs";
1
+ import { t as slackPlugin } from "./.setup/channel-DQKq-0IZ.mjs";
2
2
  export { slackPlugin };
@@ -7,7 +7,7 @@ import { c as listSlackPins, d as reactSlackMessage, f as readSlackMessages, g a
7
7
  import { t as sendMessageSlack } from "./.setup/send-C-8wY0lK.mjs";
8
8
  import { n as slackActionRuntime, t as handleSlackAction } from "./.setup/action-runtime-ChRfnnBu.mjs";
9
9
  import { n as listSlackDirectoryGroupsLive, r as listSlackDirectoryPeersLive } from "./.setup/directory-live-BIKD-5B_.mjs";
10
- import { n as monitorSlackProvider } from "./.setup/monitor-CV6Z6FKP.mjs";
10
+ import { n as monitorSlackProvider } from "./.setup/monitor-Dcd6ymHV.mjs";
11
11
  import { t as resolveSlackChannelAllowlist } from "./.setup/resolve-channels-DRRhElwz.mjs";
12
12
  import { t as resolveSlackUserAllowlist } from "./.setup/resolve-users-Cz8e17ky.mjs";
13
13
  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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/slack",
3
- "version": "2026.11.2",
3
+ "version": "2026.11.4",
4
4
  "description": "OpenClaw Slack channel plugin for channels, DMs, commands, and app events.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "zod": "4.6.5"
18
18
  },
19
19
  "peerDependencies": {
20
- "openclaw": ">=2026.11.2"
20
+ "openclaw": ">=2026.11.4"
21
21
  },
22
22
  "peerDependenciesMeta": {
23
23
  "openclaw": {
@@ -150,10 +150,10 @@
150
150
  "allowInvalidConfigRecovery": true
151
151
  },
152
152
  "compat": {
153
- "pluginApi": ">=2026.11.2"
153
+ "pluginApi": ">=2026.11.4"
154
154
  },
155
155
  "build": {
156
- "openclawVersion": "2026.11.2",
156
+ "openclawVersion": "2026.11.4",
157
157
  "bundledDist": false
158
158
  },
159
159
  "release": {