@openclaw/slack 2026.7.1-beta.4 → 2026.7.1-beta.6

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/api.js CHANGED
@@ -3,7 +3,7 @@ import { a as resolveSlackAccount, i as resolveDefaultSlackAccountId, n as listS
3
3
  import { t as inspectSlackAccount } from "./account-inspect-Di7ditqZ.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-CG29WLVd.js";
6
+ import { a as resolveSlackAutoThreadId, i as resolveSlackChannelType, n as buildSlackThreadingToolContext, r as resetSlackChannelTypeCacheForTest, t as slackPlugin } from "./channel-BjlsaGHn.js";
7
7
  import { _ as buildSlackPresentationBlocks, d as normalizeAllowListLower, f as normalizeSlackAllowOwnerEntry, g as buildSlackInteractiveBlocks, h as resolveSlackUserAllowed, i as validateSlackBlocksArray, l as allowListMatches, m as resolveSlackAllowListMatch, n as SLACK_MAX_BLOCKS, o as resolveSlackGroupRequireMention, p as normalizeSlackSlug, r as parseSlackBlocksInput, s as resolveSlackGroupToolPolicy, u as normalizeAllowList } from "./reply-blocks-BGQ6zSqM.js";
8
8
  import { n as extractSlackToolSend, r as listSlackMessageActions } from "./message-tool-api-BgWKyu2r.js";
9
9
  import { n as isSlackInteractiveRepliesEnabled, r as parseSlackOptionsLine, t as compileSlackInteractiveReplies } from "./interactive-replies-CXpT-vA_.js";
@@ -14,5 +14,5 @@ import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReaction
14
14
  import { n as listSlackDirectoryGroupsFromConfig, r as listSlackDirectoryPeersFromConfig } from "./directory-config-BZuS8141.js";
15
15
  import { t as probeSlack } from "./probe-CuwRDE5j.js";
16
16
  import { t as collectSlackSecurityAuditFindings } from "./security-audit-CikQhBUY.js";
17
- import { n as resolveSlackRuntimeGroupPolicy } from "./provider-Cot8h818.js";
17
+ import { n as resolveSlackRuntimeGroupPolicy } from "./provider-C1-DFSpw.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 };
@@ -529,7 +529,7 @@ const loadSlackResolveUsersModule = createLazyRuntimeModule(() => import("./reso
529
529
  const loadSlackActionRuntime = createLazyRuntimeModule(() => import("./action-runtime.runtime-BABj3aM-.js"));
530
530
  const loadSlackSendRuntime = createLazyRuntimeModule(() => import("./send.runtime-GPRa63l1.js"));
531
531
  const loadSlackProbeModule = createLazyRuntimeModule(() => import("./probe-CuwRDE5j.js").then((n) => n.n));
532
- const loadSlackMonitorModule = createLazyRuntimeModule(() => import("./monitor-D6Km2CFH.js").then((n) => n.t));
532
+ const loadSlackMonitorModule = createLazyRuntimeModule(() => import("./monitor-Ux-wzUWI.js").then((n) => n.t));
533
533
  const loadSlackDirectoryLiveModule = createLazyRuntimeModule(() => import("./directory-live-BNsxCgqP.js").then((n) => n.t));
534
534
  async function resolveSlackSendContext(params) {
535
535
  const send = resolveOutboundSendDep(params.deps, "slack") ?? (await loadSlackSendRuntime()).sendMessageSlack;
@@ -1,2 +1,2 @@
1
- import { t as slackPlugin } from "./channel-CG29WLVd.js";
1
+ import { t as slackPlugin } from "./channel-BjlsaGHn.js";
2
2
  export { slackPlugin };
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
- import { S as buildSlackSlashCommandMatcher, t as monitorSlackProvider } from "./provider-Cot8h818.js";
2
+ import { S as buildSlackSlashCommandMatcher, t as monitorSlackProvider } from "./provider-C1-DFSpw.js";
3
3
  import { t as isSlackChannelAllowedByPolicy } from "./policy-Dj-puVPb.js";
4
- import { o as resolveSlackThreadTs } from "./replies-Bbx6pG_B.js";
4
+ import { o as resolveSlackThreadTs } from "./replies-DpF38e1y.js";
5
5
  //#region extensions/slack/src/monitor.ts
6
6
  var monitor_exports = /* @__PURE__ */ __exportAll({
7
7
  buildSlackSlashCommandMatcher: () => buildSlackSlashCommandMatcher,
@@ -7,9 +7,9 @@ import { n as resolveSlackNativeStreaming, r as resolveSlackStreamingMode, t as
7
7
  import { c as recordSlackThreadParticipation, r as sendMessageSlack, s as hasSlackThreadParticipationWithPersistence } from "./send-DKDXoeoV.js";
8
8
  import { C as buildSlackEditTextPayload, S as formatSlackFileReference, _ as resolveSlackThreadHistory, b as resolveSlackBlocksText, f as removeSlackReaction, l as reactSlackMessage, r as editSlackMessage, t as deleteSlackMessage, v as resolveSlackThreadStarter, y as chooseSlackPrimaryText } from "./actions-DMpDmKEA.js";
9
9
  import { n as normalizeSlackOutboundText } from "./format-YCNoNkM2.js";
10
- import { C as stripSlackMentionsForCommandDetection, _ as readSessionUpdatedAt, b as resolveStorePath, 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, x as updateLastRoute, y as resolveChannelResetConfig } from "./provider-Cot8h818.js";
10
+ import { C as stripSlackMentionsForCommandDetection, _ as readSessionUpdatedAt, b as resolveStorePath, 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, x as updateLastRoute, y as resolveChannelResetConfig } from "./provider-C1-DFSpw.js";
11
11
  import { n as resolveSlackChannelConfig } from "./policy-Dj-puVPb.js";
12
- import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-Bbx6pG_B.js";
12
+ import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-DpF38e1y.js";
13
13
  import { asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } 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";
@@ -39,7 +39,7 @@ import { resolveChannelConfigWrites } from "openclaw/plugin-sdk/channel-config-w
39
39
  import { mutateConfigFile } from "openclaw/plugin-sdk/config-mutation";
40
40
  import { enqueueSystemEvent } from "openclaw/plugin-sdk/system-event-runtime";
41
41
  import { resolveApprovalOverGateway } from "openclaw/plugin-sdk/approval-gateway-runtime";
42
- import { formatCommandArgMenuTitle, resolveCommandAuthorization, resolveNativeCommandSessionTargets, resolveStoredModelOverride } from "openclaw/plugin-sdk/command-auth-native";
42
+ import { formatCommandArgMenuTitle, resolveCommandAuthorization, resolveEffectiveAgentRuntime, resolveNativeCommandSessionTargets, resolveStoredModelOverride } from "openclaw/plugin-sdk/command-auth-native";
43
43
  import { requestHeartbeat } from "openclaw/plugin-sdk/heartbeat-runtime";
44
44
  import { createInteractiveConversationBindingHelpers, dispatchPluginInteractiveHandler } from "openclaw/plugin-sdk/plugin-runtime";
45
45
  import { createChannelIngressResolver, defineStableChannelIngressIdentity, readChannelIngressStoreAllowFromForDmPolicy } from "openclaw/plugin-sdk/channel-ingress-runtime";
@@ -2782,7 +2782,7 @@ function createSlackThreadTsResolver(params) {
2782
2782
  }
2783
2783
  //#endregion
2784
2784
  //#region extensions/slack/src/monitor/message-handler.ts
2785
- const loadSlackMessagePipeline = createLazyRuntimeModule(() => import("./pipeline.runtime-0wEFX2CS.js"));
2785
+ const loadSlackMessagePipeline = createLazyRuntimeModule(() => import("./pipeline.runtime-rpVpay59.js"));
2786
2786
  function createSlackDispatchCompletion() {
2787
2787
  let resolve;
2788
2788
  let reject;
@@ -3541,7 +3541,7 @@ const SLACK_COMMAND_ARG_CONFIRM_TEXT_MAX = 300;
3541
3541
  const SLACK_HEADER_TEXT_MAX = 150;
3542
3542
  const SLACK_COMMAND_ARG_ACTION_BLOCKS_MAX = 47;
3543
3543
  const loadSlashCommandsRuntime = createLazyRuntimeModule(() => import("./slash-commands.runtime-BTTMlmwy.js"));
3544
- const loadSlashDispatchRuntime = createLazyRuntimeModule(() => import("./slash-dispatch.runtime-Ccm3quU1.js"));
3544
+ const loadSlashDispatchRuntime = createLazyRuntimeModule(() => import("./slash-dispatch.runtime-CcMbbT3_.js"));
3545
3545
  const loadSlackPluginCommandsRuntime = createLazyRuntimeModule(() => import("./slash-plugin-commands.runtime-Dosfcx3X.js"));
3546
3546
  const loadSlashSkillCommandsRuntime = createLazyRuntimeModule(() => import("./slash-skill-commands.runtime-CD1J2ODY.js"));
3547
3547
  function resolveSlackCommandMenuModelContext(params) {
@@ -3556,28 +3556,35 @@ function resolveSlackCommandMenuModelContext(params) {
3556
3556
  storePath,
3557
3557
  sessionKey: params.sessionKey
3558
3558
  });
3559
- if (entry?.modelOverrideSource === "auto" && normalizeOptionalString(entry.modelOverride)) return {
3560
- provider: defaultModel.provider,
3561
- model: defaultModel.model
3562
- };
3563
- const override = resolveStoredModelOverride({
3564
- sessionEntry: entry,
3565
- loadSessionEntry: (sessionKey) => getSessionEntry({
3566
- storePath,
3567
- sessionKey
3568
- }),
3569
- sessionKey: params.sessionKey,
3570
- defaultProvider: defaultModel.provider
3571
- });
3572
- if (override?.model) return {
3573
- provider: override.provider || defaultModel.provider,
3574
- model: override.model
3575
- };
3576
- const provider = normalizeOptionalString(entry?.providerOverride) ?? normalizeOptionalString(entry?.modelProvider);
3577
- const model = normalizeOptionalString(entry?.modelOverride) ?? normalizeOptionalString(entry?.model);
3559
+ let provider;
3560
+ let model;
3561
+ if (entry?.modelOverrideSource === "auto" && normalizeOptionalString(entry.modelOverride)) {
3562
+ provider = defaultModel.provider;
3563
+ model = defaultModel.model;
3564
+ } else {
3565
+ const override = resolveStoredModelOverride({
3566
+ sessionEntry: entry,
3567
+ loadSessionEntry: (sessionKey) => getSessionEntry({
3568
+ storePath,
3569
+ sessionKey
3570
+ }),
3571
+ sessionKey: params.sessionKey,
3572
+ defaultProvider: defaultModel.provider
3573
+ });
3574
+ provider = override?.model ? override.provider || defaultModel.provider : normalizeOptionalString(entry?.providerOverride) ?? normalizeOptionalString(entry?.modelProvider);
3575
+ model = override?.model ? override.model : normalizeOptionalString(entry?.modelOverride) ?? normalizeOptionalString(entry?.model);
3576
+ }
3578
3577
  return {
3579
3578
  ...provider ? { provider } : {},
3580
- ...model ? { model } : {}
3579
+ ...model ? { model } : {},
3580
+ agentRuntime: resolveEffectiveAgentRuntime({
3581
+ cfg: params.cfg,
3582
+ provider: provider ?? defaultModel.provider,
3583
+ modelId: model ?? defaultModel.model,
3584
+ agentId: params.agentId,
3585
+ sessionKey: params.sessionKey,
3586
+ sessionEntry: entry
3587
+ })
3581
3588
  };
3582
3589
  } catch {
3583
3590
  return {};
@@ -4255,7 +4262,7 @@ async function getSlackBoltInterop() {
4255
4262
  }
4256
4263
  return slackBoltInterop;
4257
4264
  }
4258
- const loadSlackRelaySource = createLazyRuntimeModule(() => import("./relay-source-CU1LhyBj.js"));
4265
+ const loadSlackRelaySource = createLazyRuntimeModule(() => import("./relay-source-D2jv1iGg.js"));
4259
4266
  const SLACK_WEBHOOK_MAX_BODY_BYTES = 1024 * 1024;
4260
4267
  const SLACK_WEBHOOK_BODY_TIMEOUT_MS = 3e4;
4261
4268
  function resolveStableSlackUserIdEntry(raw) {
@@ -1,4 +1,4 @@
1
- import { a as SLACK_SOCKET_RECONNECT_POLICY, o as formatUnknownError } from "./provider-Cot8h818.js";
1
+ import { a as SLACK_SOCKET_RECONNECT_POLICY, o as formatUnknownError } from "./provider-C1-DFSpw.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,7 +1,7 @@
1
1
  import { a as SLACK_TEXT_LIMIT, t as resolveSlackReplyBlocks } from "./reply-blocks-BGQ6zSqM.js";
2
2
  import { r as sendMessageSlack } from "./send-DKDXoeoV.js";
3
3
  import { t as markdownToSlackMrkdwnChunks } from "./format-YCNoNkM2.js";
4
- import "./provider-Cot8h818.js";
4
+ import "./provider-C1-DFSpw.js";
5
5
  import { createReplyReferencePlanner } from "openclaw/plugin-sdk/reply-reference";
6
6
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
7
7
  import { SILENT_REPLY_TOKEN, chunkMarkdownTextWithMode, isSilentReplyText } from "openclaw/plugin-sdk/reply-chunking";
@@ -7,8 +7,8 @@ import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReaction
7
7
  import { t as probeSlack } from "./probe-CuwRDE5j.js";
8
8
  import { t as resolveSlackChannelAllowlist } from "./resolve-channels-CstkChBE.js";
9
9
  import { t as resolveSlackUserAllowlist } from "./resolve-users-C3NP2c-Q.js";
10
- import { t as monitorSlackProvider } from "./provider-Cot8h818.js";
10
+ import { t as monitorSlackProvider } from "./provider-C1-DFSpw.js";
11
11
  import { n as slackActionRuntime, t as handleSlackAction } from "./action-runtime-DoQGk_8D.js";
12
12
  import { n as listSlackDirectoryGroupsLive, r as listSlackDirectoryPeersLive } from "./directory-live-BNsxCgqP.js";
13
- import "./monitor-D6Km2CFH.js";
13
+ import "./monitor-Ux-wzUWI.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-Bbx6pG_B.js";
1
+ import { r as deliverSlackSlashReplies$1 } from "./replies-DpF38e1y.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,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/slack",
3
- "version": "2026.7.1-beta.4",
3
+ "version": "2026.7.1-beta.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/slack",
9
- "version": "2026.7.1-beta.4",
9
+ "version": "2026.7.1-beta.6",
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.7.1-beta.4"
19
+ "openclaw": ">=2026.7.1-beta.6"
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.7.1-beta.4",
3
+ "version": "2026.7.1-beta.6",
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.7.1-beta.4"
19
+ "openclaw": ">=2026.7.1-beta.6"
20
20
  },
21
21
  "peerDependenciesMeta": {
22
22
  "openclaw": {
@@ -61,13 +61,13 @@
61
61
  "allowInvalidConfigRecovery": true
62
62
  },
63
63
  "compat": {
64
- "pluginApi": ">=2026.7.1-beta.4"
64
+ "pluginApi": ">=2026.7.1-beta.6"
65
65
  },
66
66
  "startup": {
67
67
  "deferConfiguredChannelFullLoadUntilAfterListen": true
68
68
  },
69
69
  "build": {
70
- "openclawVersion": "2026.7.1-beta.4",
70
+ "openclawVersion": "2026.7.1-beta.6",
71
71
  "bundledDist": false
72
72
  },
73
73
  "release": {