@openclaw/slack 2026.7.1-beta.1 → 2026.7.1-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.
Files changed (107) hide show
  1. package/dist/{action-runtime-BLu039dd.js → action-runtime-E9QZMf0z.js} +3 -10
  2. package/dist/action-runtime.runtime-BQrVgSOq.js +2 -0
  3. package/dist/api.js +2 -2
  4. package/dist/{channel-DjNY4ik7.js → channel-jO8Jdkge.js} +7 -31
  5. package/dist/channel-plugin-api.js +1 -1
  6. package/dist/{monitor-Cf50drfK.js → monitor-BQ7P93ll.js} +2 -2
  7. package/dist/{outbound-adapter-WHn1M1t4.js → outbound-adapter-BHUtpXz0.js} +2 -5
  8. package/dist/{pipeline.runtime-BKICBY52.js → pipeline.runtime-cxw6Zihc.js} +5 -12
  9. package/dist/{provider-DOZHzRWi.js → provider-BdoeWKr8.js} +49 -37
  10. package/dist/{relay-source-BpBIUaF8.js → relay-source-OcqQzKfX.js} +1 -1
  11. package/dist/{replies-CMZq3Lcb.js → replies-D_G-EPr8.js} +1 -1
  12. package/dist/runtime-api.js +3 -3
  13. package/dist/{slash-dispatch.runtime-C-1pDqWi.js → slash-dispatch.runtime-DVhs_fpQ.js} +1 -1
  14. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/LICENSE +21 -0
  15. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +15 -0
  16. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert/strict.d.ts +59 -0
  17. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +950 -0
  18. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +711 -0
  19. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.buffer.d.ts +466 -0
  20. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +1765 -0
  21. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/child_process.d.ts +1366 -0
  22. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/cluster.d.ts +432 -0
  23. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  24. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/console.d.ts +93 -0
  25. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/constants.d.ts +14 -0
  26. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +4058 -0
  27. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dgram.d.ts +537 -0
  28. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +552 -0
  29. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns/promises.d.ts +497 -0
  30. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns.d.ts +876 -0
  31. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/domain.d.ts +150 -0
  32. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/events.d.ts +1008 -0
  33. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +1468 -0
  34. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +4780 -0
  35. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +150 -0
  36. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.typedarray.d.ts +101 -0
  37. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +2147 -0
  38. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +2485 -0
  39. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/https.d.ts +400 -0
  40. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/index.d.ts +117 -0
  41. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector/promises.d.ts +35 -0
  42. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +264 -0
  43. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.generated.d.ts +4406 -0
  44. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +755 -0
  45. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +970 -0
  46. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/os.d.ts +498 -0
  47. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +155 -0
  48. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/posix.d.ts +8 -0
  49. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/win32.d.ts +8 -0
  50. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path.d.ts +178 -0
  51. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/perf_hooks.d.ts +612 -0
  52. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +2204 -0
  53. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/punycode.d.ts +89 -0
  54. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +139 -0
  55. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/quic.d.ts +897 -0
  56. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline/promises.d.ts +158 -0
  57. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +507 -0
  58. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/repl.d.ts +420 -0
  59. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/sea.d.ts +47 -0
  60. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/sqlite.d.ts +1068 -0
  61. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/consumers.d.ts +114 -0
  62. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/iter.d.ts +301 -0
  63. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/promises.d.ts +211 -0
  64. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +300 -0
  65. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +1774 -0
  66. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/string_decoder.d.ts +27 -0
  67. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/test/reporters.d.ts +59 -0
  68. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +2279 -0
  69. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers/promises.d.ts +93 -0
  70. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers.d.ts +149 -0
  71. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +1193 -0
  72. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/trace_events.d.ts +103 -0
  73. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
  74. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  75. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  76. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/index.d.ts +119 -0
  77. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  78. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/index.d.ts +119 -0
  79. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/tty.d.ts +225 -0
  80. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/url.d.ts +556 -0
  81. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/util/types.d.ts +558 -0
  82. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +1677 -0
  83. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +980 -0
  84. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/vm.d.ts +1136 -0
  85. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/wasi.d.ts +131 -0
  86. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
  87. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  88. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/console.d.ts +9 -0
  89. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
  90. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  91. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  92. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/events.d.ts +106 -0
  93. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
  94. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  95. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  96. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  97. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  98. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  99. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/streams.d.ts +115 -0
  100. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  101. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/url.d.ts +24 -0
  102. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +671 -0
  103. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib/iter.d.ts +131 -0
  104. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +589 -0
  105. package/npm-shrinkwrap.json +12 -3
  106. package/package.json +4 -4
  107. package/dist/action-runtime.runtime-Pwl_ixsr.js +0 -2
@@ -3,6 +3,7 @@ import { t as slackContextTargetsMatch } from "./targets-Dll4NJgs.js";
3
3
  import { r as parseSlackBlocksInput } from "./reply-blocks-CfJqf7eq.js";
4
4
  import { a as readPositiveIntegerParam, c as withNormalizedTimestamp, n as imageResultFromFile, o as readReactionParams, r as jsonResult, s as readStringParam, t as createActionGate } from "./runtime-api-DHJ8ntLr.js";
5
5
  import { n as resolveSlackChannelConfig, t as isSlackChannelAllowedByPolicy } from "./policy-DAE6BTN3.js";
6
+ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
6
7
  import { isSingleUseReplyToMode } from "openclaw/plugin-sdk/reply-reference";
7
8
  import { readBooleanParam } from "openclaw/plugin-sdk/boolean-param";
8
9
  import { resolveOpenProviderRuntimeGroupPolicy } from "openclaw/plugin-sdk/runtime-group-policy";
@@ -21,16 +22,8 @@ const pinActions = new Set([
21
22
  "unpinMessage",
22
23
  "listPins"
23
24
  ]);
24
- let slackActionsRuntimePromise;
25
- let slackAccountsRuntimePromise;
26
- function loadSlackActionsRuntime() {
27
- slackActionsRuntimePromise ??= import("./actions.runtime-Dl6AfO_g.js");
28
- return slackActionsRuntimePromise;
29
- }
30
- function loadSlackAccountsRuntime() {
31
- slackAccountsRuntimePromise ??= import("./accounts.runtime-CgWgzjLX.js");
32
- return slackAccountsRuntimePromise;
33
- }
25
+ const loadSlackActionsRuntime = createLazyRuntimeModule(() => import("./actions.runtime-Dl6AfO_g.js"));
26
+ const loadSlackAccountsRuntime = createLazyRuntimeModule(() => import("./accounts.runtime-CgWgzjLX.js"));
34
27
  function createLazySlackAction(key) {
35
28
  return (async (...args) => {
36
29
  const action = (await loadSlackActionsRuntime())[key];
@@ -0,0 +1,2 @@
1
+ import { t as handleSlackAction } from "./action-runtime-E9QZMf0z.js";
2
+ export { handleSlackAction };
package/dist/api.js CHANGED
@@ -3,7 +3,7 @@ import { a as resolveSlackAccount, i as resolveDefaultSlackAccountId, l as resol
3
3
  import { t as inspectSlackAccount } from "./account-inspect-DOtQbKkB.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-DjNY4ik7.js";
6
+ import { a as resolveSlackAutoThreadId, i as resolveSlackChannelType, n as buildSlackThreadingToolContext, r as resetSlackChannelTypeCacheForTest, t as slackPlugin } from "./channel-jO8Jdkge.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-CfJqf7eq.js";
8
8
  import { n as extractSlackToolSend, r as listSlackMessageActions } from "./message-tool-api--zYyTqrR.js";
9
9
  import { n as isSlackInteractiveRepliesEnabled, r as parseSlackOptionsLine, t as compileSlackInteractiveReplies } from "./interactive-replies-D-22gTp3.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-DDVHDmrN.js";
15
15
  import { t as probeSlack } from "./probe-DFKt9Ute.js";
16
16
  import { t as collectSlackSecurityAuditFindings } from "./security-audit-CikQhBUY.js";
17
- import { n as resolveSlackRuntimeGroupPolicy } from "./provider-DOZHzRWi.js";
17
+ import { n as resolveSlackRuntimeGroupPolicy } from "./provider-BdoeWKr8.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 };
@@ -352,7 +352,6 @@ async function handleSlackMessageAction(params) {
352
352
  }
353
353
  //#endregion
354
354
  //#region extensions/slack/src/channel-actions.ts
355
- let slackActionRuntimePromise$1;
356
355
  const SLACK_TOOL_DELIVERY_ACTIONS = new Set([
357
356
  "deleteMessage",
358
357
  "editMessage",
@@ -362,10 +361,7 @@ const SLACK_TOOL_DELIVERY_ACTIONS = new Set([
362
361
  "unpinMessage",
363
362
  "uploadFile"
364
363
  ]);
365
- async function loadSlackActionRuntime$1() {
366
- slackActionRuntimePromise$1 ??= import("./action-runtime.runtime-Pwl_ixsr.js");
367
- return await slackActionRuntimePromise$1;
368
- }
364
+ const loadSlackActionRuntime$1 = createLazyRuntimeModule(() => import("./action-runtime.runtime-BQrVgSOq.js"));
369
365
  function resolveSlackActionContext(params) {
370
366
  if (!params.toolContext && !params.mediaLocalRoots && !params.mediaReadFile) return;
371
367
  return {
@@ -498,7 +494,7 @@ const loadExtensionSharedSdk = createLazyRuntimeModule(() => import(EXTENSION_SH
498
494
  const loadTargetResolverRuntimeSdk = createLazyRuntimeModule(() => import(TARGET_RESOLVER_RUNTIME_MODULE_ID));
499
495
  const loadSlackSetupSurfaceModule = createLazyRuntimeModule(() => import("./setup-surface-D7xdZLxB.js"));
500
496
  const loadSlackScopesModule = createLazyRuntimeModule(() => import("./scopes-BdVdJxFf.js"));
501
- const loadSlackOutboundAdapterModule = createLazyRuntimeModule(() => import("./outbound-adapter-WHn1M1t4.js"));
497
+ const loadSlackOutboundAdapterModule = createLazyRuntimeModule(() => import("./outbound-adapter-BHUtpXz0.js"));
502
498
  async function resolveSlackHandleAction() {
503
499
  return getOptionalSlackRuntime()?.channel?.slack?.handleSlackAction ?? (await loadSlackActionRuntime()).handleSlackAction;
504
500
  }
@@ -513,34 +509,14 @@ function getTokenForOperation(account, operation) {
513
509
  if (!allowUserWrites) return botToken;
514
510
  return botToken ?? userToken;
515
511
  }
516
- let slackActionRuntimePromise;
517
- let slackSendRuntimePromise;
518
- let slackProbeModulePromise;
519
- let slackMonitorModulePromise;
520
- let slackDirectoryLiveModulePromise;
521
512
  const loadSlackDirectoryConfigModule = createLazyRuntimeModule(() => import("./directory-config-DDVHDmrN.js").then((n) => n.t));
522
513
  const loadSlackResolveChannelsModule = createLazyRuntimeModule(() => import("./resolve-channels-eniB45fy.js").then((n) => n.n));
523
514
  const loadSlackResolveUsersModule = createLazyRuntimeModule(() => import("./resolve-users-DDKzl37a.js").then((n) => n.n));
524
- async function loadSlackActionRuntime() {
525
- slackActionRuntimePromise ??= import("./action-runtime.runtime-Pwl_ixsr.js");
526
- return await slackActionRuntimePromise;
527
- }
528
- async function loadSlackSendRuntime() {
529
- slackSendRuntimePromise ??= import("./send.runtime-a-O4PP2B.js");
530
- return await slackSendRuntimePromise;
531
- }
532
- async function loadSlackProbeModule() {
533
- slackProbeModulePromise ??= import("./probe-DFKt9Ute.js").then((n) => n.n);
534
- return await slackProbeModulePromise;
535
- }
536
- async function loadSlackMonitorModule() {
537
- slackMonitorModulePromise ??= import("./monitor-Cf50drfK.js").then((n) => n.t);
538
- return await slackMonitorModulePromise;
539
- }
540
- async function loadSlackDirectoryLiveModule() {
541
- slackDirectoryLiveModulePromise ??= import("./directory-live-DC-YA5SQ.js").then((n) => n.t);
542
- return await slackDirectoryLiveModulePromise;
543
- }
515
+ const loadSlackActionRuntime = createLazyRuntimeModule(() => import("./action-runtime.runtime-BQrVgSOq.js"));
516
+ const loadSlackSendRuntime = createLazyRuntimeModule(() => import("./send.runtime-a-O4PP2B.js"));
517
+ const loadSlackProbeModule = createLazyRuntimeModule(() => import("./probe-DFKt9Ute.js").then((n) => n.n));
518
+ const loadSlackMonitorModule = createLazyRuntimeModule(() => import("./monitor-BQ7P93ll.js").then((n) => n.t));
519
+ const loadSlackDirectoryLiveModule = createLazyRuntimeModule(() => import("./directory-live-DC-YA5SQ.js").then((n) => n.t));
544
520
  async function resolveSlackSendContext(params) {
545
521
  const send = resolveOutboundSendDep(params.deps, "slack") ?? (await loadSlackSendRuntime()).sendMessageSlack;
546
522
  const account = resolveSlackAccount({
@@ -1,2 +1,2 @@
1
- import { t as slackPlugin } from "./channel-DjNY4ik7.js";
1
+ import { t as slackPlugin } from "./channel-jO8Jdkge.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-DOZHzRWi.js";
2
+ import { S as buildSlackSlashCommandMatcher, t as monitorSlackProvider } from "./provider-BdoeWKr8.js";
3
3
  import { t as isSlackChannelAllowedByPolicy } from "./policy-DAE6BTN3.js";
4
- import { o as resolveSlackThreadTs } from "./replies-CMZq3Lcb.js";
4
+ import { o as resolveSlackThreadTs } from "./replies-D_G-EPr8.js";
5
5
  //#region extensions/slack/src/monitor.ts
6
6
  var monitor_exports = /* @__PURE__ */ __exportAll({
7
7
  buildSlackSlashCommandMatcher: () => buildSlackSlashCommandMatcher,
@@ -4,15 +4,12 @@ import { t as compileSlackInteractiveReplies } from "./interactive-replies-D-22g
4
4
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
5
5
  import { resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-outbound";
6
6
  import { attachChannelToResult, createAttachedChannelResultAdapter } from "openclaw/plugin-sdk/channel-send-result";
7
+ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
7
8
  import { resolveInteractiveTextFallback } from "openclaw/plugin-sdk/interactive-runtime";
8
9
  import { resolvePayloadMediaUrls, sendPayloadMediaSequenceAndFinalize, sendTextMediaPayload } from "openclaw/plugin-sdk/reply-payload";
9
10
  //#region extensions/slack/src/outbound-adapter.ts
10
11
  const SLACK_MAX_BLOCKS = 50;
11
- let slackSendRuntimePromise;
12
- async function loadSlackSendRuntime() {
13
- slackSendRuntimePromise ??= import("./send.runtime-a-O4PP2B.js");
14
- return await slackSendRuntimePromise;
15
- }
12
+ const loadSlackSendRuntime = createLazyRuntimeModule(() => import("./send.runtime-a-O4PP2B.js"));
16
13
  function resolveRenderedInteractiveBlocks(interactive, previousBlocks) {
17
14
  if (!interactive) return;
18
15
  const blocks = buildSlackInteractiveBlocks(interactive, resolveSlackInteractiveBlockOffsets(previousBlocks));
@@ -7,12 +7,13 @@ import { n as resolveSlackNativeStreaming, r as resolveSlackStreamingMode, t as
7
7
  import { a as hasSlackThreadParticipationWithPersistence, c as normalizeSlackOutboundText, o as recordSlackThreadParticipation, t as sendMessageSlack } from "./send-Dg6U9K7_.js";
8
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-CqRHPciJ.js";
9
9
  import { t as formatSlackError } from "./errors-CZtmv-h0.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-DOZHzRWi.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-BdoeWKr8.js";
11
11
  import { n as resolveSlackChannelConfig } from "./policy-DAE6BTN3.js";
12
- import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-CMZq3Lcb.js";
12
+ import { a as resolveDeliveredSlackReplyThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as resolveSlackThreadTs, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-D_G-EPr8.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";
16
+ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
16
17
  import { stripReasoningTagsFromText } from "openclaw/plugin-sdk/text-chunking";
17
18
  import { createHash } from "node:crypto";
18
19
  import { danger, logVerbose, shouldLogVerbose, sleep } from "openclaw/plugin-sdk/runtime-env";
@@ -2030,11 +2031,7 @@ function toLintErrorObject(value, fallbackMessage) {
2030
2031
  const SLACK_MENTION_RESOLUTION_CONCURRENCY = 4;
2031
2032
  const SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE = 20;
2032
2033
  const SLACK_USER_MENTION_RE$1 = /<@([A-Z0-9]+)(?:\|[^>]+)?>/gi;
2033
- let slackMediaModulePromise$1;
2034
- function loadSlackMediaModule$1() {
2035
- slackMediaModulePromise$1 ??= import("./actions-CqRHPciJ.js").then((n) => n.h);
2036
- return slackMediaModulePromise$1;
2037
- }
2034
+ const loadSlackMediaModule$1 = createLazyRuntimeModule(() => import("./actions-CqRHPciJ.js").then((n) => n.h));
2038
2035
  function collectUniqueSlackMentionIds$1(texts) {
2039
2036
  const seen = /* @__PURE__ */ new Set();
2040
2037
  const mentionIds = [];
@@ -2544,11 +2541,7 @@ function formatSlackBotStarterThreadLabel(params) {
2544
2541
  }
2545
2542
  //#endregion
2546
2543
  //#region extensions/slack/src/monitor/message-handler/prepare-thread-context.ts
2547
- let slackMediaModulePromise;
2548
- function loadSlackMediaModule() {
2549
- slackMediaModulePromise ??= import("./actions-CqRHPciJ.js").then((n) => n.h);
2550
- return slackMediaModulePromise;
2551
- }
2544
+ const loadSlackMediaModule = createLazyRuntimeModule(() => import("./actions-CqRHPciJ.js").then((n) => n.h));
2552
2545
  const SLACK_THREAD_CONTEXT_USER_LOOKUP_CONCURRENCY = 4;
2553
2546
  function resolveSlackThreadSessionFreshness(params) {
2554
2547
  return params.ctx.channelRuntime?.session?.resolveEntryResetFreshness?.({
@@ -14,12 +14,13 @@ import { asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLow
14
14
  import { normalizeAccountId, normalizeMainKey, resolveAgentRoute, resolveThreadSessionKeys } from "openclaw/plugin-sdk/routing";
15
15
  import { createChannelMessageReplyPipeline } from "openclaw/plugin-sdk/channel-outbound";
16
16
  import { createChannelPairingChallengeIssuer } from "openclaw/plugin-sdk/channel-pairing";
17
+ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
17
18
  import { chunkItems } from "openclaw/plugin-sdk/text-chunking";
18
19
  import { CHANNEL_APPROVAL_NATIVE_RUNTIME_CONTEXT_CAPABILITY } from "openclaw/plugin-sdk/approval-handler-adapter-runtime";
19
20
  import { parseExecApprovalCommandText } from "openclaw/plugin-sdk/approval-reply-runtime";
20
21
  import { addAllowlistUserEntriesFromConfigEntry, buildAllowlistResolutionSummary, formatAllowlistMatchMeta, mergeAllowlist, patchAllowlistUsersInConfigEntries, summarizeMapping } from "openclaw/plugin-sdk/allow-from";
21
22
  import { computeBackoff, createNonExitingRuntime, createSubsystemLogger, danger, getChildLogger, logVerbose, shouldLogVerbose, sleepWithAbort, warn } from "openclaw/plugin-sdk/runtime-env";
22
- import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
23
+ import { collectErrorGraphCandidates, formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
23
24
  import { pruneMapToMaxSize } from "openclaw/plugin-sdk/collection-runtime";
24
25
  import { asDateTimestampMs, parseFiniteNumber, parseStrictFiniteNumber, resolveExpiresAtMsFromDurationMs, timestampMsToIsoString } from "openclaw/plugin-sdk/number-runtime";
25
26
  import { resolveTextChunkLimit } from "openclaw/plugin-sdk/reply-chunking";
@@ -2820,11 +2821,7 @@ function createSlackThreadTsResolver(params) {
2820
2821
  }
2821
2822
  //#endregion
2822
2823
  //#region extensions/slack/src/monitor/message-handler.ts
2823
- let slackMessagePipelinePromise;
2824
- function loadSlackMessagePipeline() {
2825
- slackMessagePipelinePromise ??= import("./pipeline.runtime-BKICBY52.js");
2826
- return slackMessagePipelinePromise;
2827
- }
2824
+ const loadSlackMessagePipeline = createLazyRuntimeModule(() => import("./pipeline.runtime-cxw6Zihc.js"));
2828
2825
  function createSlackDispatchCompletion() {
2829
2826
  let resolve;
2830
2827
  let reject;
@@ -2838,12 +2835,19 @@ function createSlackDispatchCompletion() {
2838
2835
  };
2839
2836
  }
2840
2837
  const APP_MENTION_RETRY_TTL_MS = 6e4;
2838
+ const RETRYABLE_FLUSH_MAX_ATTEMPTS = 3;
2839
+ const RETRYABLE_FLUSH_RETRY_DELAY_MS = 1e3;
2840
+ const REPLY_SESSION_INIT_CONFLICT_MESSAGE_RE = /reply session initialization conflicted for \S+/u;
2841
2841
  var SlackRetryableInboundError = class extends Error {
2842
2842
  constructor(message, options) {
2843
2843
  super(message, options);
2844
2844
  this.name = "SlackRetryableInboundError";
2845
2845
  }
2846
2846
  };
2847
+ function isRetryableSlackInboundError(error) {
2848
+ if (error instanceof SlackRetryableInboundError) return true;
2849
+ return collectErrorGraphCandidates(error, (current) => [current.cause, current.error]).some((candidate) => REPLY_SESSION_INIT_CONFLICT_MESSAGE_RE.test(formatErrorMessage(candidate)));
2850
+ }
2847
2851
  function shouldDebounceSlackMessage(message, cfg) {
2848
2852
  return shouldDebounceTextInbound({
2849
2853
  text: stripSlackMentionsForCommandDetection(message.text ?? ""),
@@ -2863,6 +2867,29 @@ function createSlackMessageHandler(params) {
2863
2867
  buildKey: (entry) => buildSlackDebounceKey(entry.message, ctx.accountId),
2864
2868
  shouldDebounce: (entry) => shouldDebounceSlackMessage(entry.message, ctx.cfg),
2865
2869
  onFlush: async (entries) => {
2870
+ const retryEntries = (sourceError) => {
2871
+ if (!isRetryableSlackInboundError(sourceError)) return false;
2872
+ const nextEntries = entries.map((entry) => {
2873
+ if (entry.opts.dispatchCompletion) return null;
2874
+ const retryAttempt = entry.opts.retryAttempt ?? 0;
2875
+ if (retryAttempt >= RETRYABLE_FLUSH_MAX_ATTEMPTS) return null;
2876
+ const { dispatchCompletion: _dispatchCompletion, ...retryOpts } = entry.opts;
2877
+ return {
2878
+ ...entry,
2879
+ opts: {
2880
+ ...retryOpts,
2881
+ retryAttempt: retryAttempt + 1
2882
+ }
2883
+ };
2884
+ }).filter((entry) => entry !== null);
2885
+ if (nextEntries.length === 0) return false;
2886
+ setTimeout(() => {
2887
+ for (const entry of nextEntries) enqueueSlackMessage(entry.message, entry.opts).catch((err) => {
2888
+ ctx.runtime.error?.(`slack inbound retry enqueue failed: ${formatErrorMessage(err)}`);
2889
+ });
2890
+ }, RETRYABLE_FLUSH_RETRY_DELAY_MS).unref?.();
2891
+ return true;
2892
+ };
2866
2893
  const completions = entries.map((entry) => entry.opts.dispatchCompletion).filter((completion) => completion !== void 0);
2867
2894
  try {
2868
2895
  await (async () => {
@@ -2922,22 +2949,24 @@ function createSlackMessageHandler(params) {
2922
2949
  messages: entries.map((entry) => entry.message)
2923
2950
  });
2924
2951
  } catch (error) {
2925
- if (!(error instanceof SlackRetryableInboundError)) await recordSlackInboundMessageDeliveries({
2952
+ if (!isRetryableSlackInboundError(error)) await recordSlackInboundMessageDeliveries({
2926
2953
  accountId: ctx.accountId,
2927
2954
  messages: entries.map((entry) => entry.message)
2928
2955
  });
2929
2956
  throw error;
2930
2957
  }
2931
2958
  } catch (error) {
2932
- if (error instanceof SlackRetryableInboundError) {
2933
- if (seenMessageKey) appMentionDispatchedKeys.delete(seenMessageKey);
2934
- ctx.releaseSeenMessage(last.message.channel, last.message.ts);
2959
+ if (isRetryableSlackInboundError(error)) for (const entry of entries) {
2960
+ const entrySeenKey = buildSeenMessageKey(entry.message.channel, entry.message.ts);
2961
+ if (entrySeenKey) appMentionDispatchedKeys.delete(entrySeenKey);
2962
+ ctx.releaseSeenMessage(entry.message.channel, entry.message.ts);
2935
2963
  }
2936
2964
  throw error;
2937
2965
  }
2938
2966
  })();
2939
2967
  for (const completion of completions) completion.resolve();
2940
2968
  } catch (error) {
2969
+ retryEntries(error);
2941
2970
  for (const completion of completions) completion.reject(error);
2942
2971
  throw error;
2943
2972
  }
@@ -2976,7 +3005,7 @@ function createSlackMessageHandler(params) {
2976
3005
  appMentionRetryKeys.delete(key);
2977
3006
  return true;
2978
3007
  };
2979
- return async (message, opts) => {
3008
+ async function enqueueSlackMessage(message, opts) {
2980
3009
  if (opts.source === "message" && message.type !== "message") return;
2981
3010
  if (opts.source === "message" && message.subtype && message.subtype !== "file_share" && message.subtype !== "bot_message" && message.subtype !== "thread_broadcast") return;
2982
3011
  const seenMessageKey = buildSeenMessageKey(message.channel, message.ts);
@@ -3021,7 +3050,10 @@ function createSlackMessageHandler(params) {
3021
3050
  } } : {}
3022
3051
  }
3023
3052
  });
3024
- await dispatchCompletion?.promise;
3053
+ return dispatchCompletion;
3054
+ }
3055
+ return async (message, opts) => {
3056
+ await (await enqueueSlackMessage(message, opts))?.promise;
3025
3057
  };
3026
3058
  }
3027
3059
  //#endregion
@@ -3494,26 +3526,10 @@ const SLACK_COMMAND_ARG_BUTTON_VALUE_MAX = 2e3;
3494
3526
  const SLACK_COMMAND_ARG_CONFIRM_TEXT_MAX = 300;
3495
3527
  const SLACK_HEADER_TEXT_MAX = 150;
3496
3528
  const SLACK_COMMAND_ARG_ACTION_BLOCKS_MAX = 47;
3497
- let slashCommandsRuntimePromise = null;
3498
- let slashDispatchRuntimePromise = null;
3499
- let slackPluginCommandsRuntimePromise = null;
3500
- let slashSkillCommandsRuntimePromise = null;
3501
- function loadSlashCommandsRuntime() {
3502
- slashCommandsRuntimePromise ??= import("./slash-commands.runtime-BTTMlmwy.js");
3503
- return slashCommandsRuntimePromise;
3504
- }
3505
- function loadSlashDispatchRuntime() {
3506
- slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-C-1pDqWi.js");
3507
- return slashDispatchRuntimePromise;
3508
- }
3509
- function loadSlackPluginCommandsRuntime() {
3510
- slackPluginCommandsRuntimePromise ??= import("./slash-plugin-commands.runtime-Dosfcx3X.js");
3511
- return slackPluginCommandsRuntimePromise;
3512
- }
3513
- function loadSlashSkillCommandsRuntime() {
3514
- slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-CD1J2ODY.js");
3515
- return slashSkillCommandsRuntimePromise;
3516
- }
3529
+ const loadSlashCommandsRuntime = createLazyRuntimeModule(() => import("./slash-commands.runtime-BTTMlmwy.js"));
3530
+ const loadSlashDispatchRuntime = createLazyRuntimeModule(() => import("./slash-dispatch.runtime-DVhs_fpQ.js"));
3531
+ const loadSlackPluginCommandsRuntime = createLazyRuntimeModule(() => import("./slash-plugin-commands.runtime-Dosfcx3X.js"));
3532
+ const loadSlashSkillCommandsRuntime = createLazyRuntimeModule(() => import("./slash-skill-commands.runtime-CD1J2ODY.js"));
3517
3533
  function resolveSlackCommandMenuModelContext(params) {
3518
3534
  if (!params.sessionKey.trim()) return {};
3519
3535
  try {
@@ -4210,7 +4226,6 @@ async function registerSlackMonitorSlashCommands(params) {
4210
4226
  //#endregion
4211
4227
  //#region extensions/slack/src/monitor/provider.ts
4212
4228
  let slackBoltInterop;
4213
- let slackRelaySourcePromise;
4214
4229
  async function getSlackBoltInterop() {
4215
4230
  if (!slackBoltInterop) {
4216
4231
  const slackBoltModule = await import("@slack/bolt");
@@ -4221,10 +4236,7 @@ async function getSlackBoltInterop() {
4221
4236
  }
4222
4237
  return slackBoltInterop;
4223
4238
  }
4224
- function loadSlackRelaySource() {
4225
- slackRelaySourcePromise ??= import("./relay-source-BpBIUaF8.js");
4226
- return slackRelaySourcePromise;
4227
- }
4239
+ const loadSlackRelaySource = createLazyRuntimeModule(() => import("./relay-source-OcqQzKfX.js"));
4228
4240
  const SLACK_WEBHOOK_MAX_BODY_BYTES = 1024 * 1024;
4229
4241
  const SLACK_WEBHOOK_BODY_TIMEOUT_MS = 3e4;
4230
4242
  function resolveStableSlackUserIdEntry(raw) {
@@ -1,4 +1,4 @@
1
- import { a as SLACK_SOCKET_RECONNECT_POLICY, o as formatUnknownError } from "./provider-DOZHzRWi.js";
1
+ import { a as SLACK_SOCKET_RECONNECT_POLICY, o as formatUnknownError } from "./provider-BdoeWKr8.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-CfJqf7eq.js";
2
2
  import { s as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-Dg6U9K7_.js";
3
- import "./provider-DOZHzRWi.js";
3
+ import "./provider-BdoeWKr8.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";
@@ -7,8 +7,8 @@ import { a as listSlackEmojis, c as pinSlackMessage, d as removeOwnSlackReaction
7
7
  import { t as probeSlack } from "./probe-DFKt9Ute.js";
8
8
  import { t as resolveSlackChannelAllowlist } from "./resolve-channels-eniB45fy.js";
9
9
  import { t as resolveSlackUserAllowlist } from "./resolve-users-DDKzl37a.js";
10
- import { t as monitorSlackProvider } from "./provider-DOZHzRWi.js";
11
- import { n as slackActionRuntime, t as handleSlackAction } from "./action-runtime-BLu039dd.js";
10
+ import { t as monitorSlackProvider } from "./provider-BdoeWKr8.js";
11
+ import { n as slackActionRuntime, t as handleSlackAction } from "./action-runtime-E9QZMf0z.js";
12
12
  import { n as listSlackDirectoryGroupsLive, r as listSlackDirectoryPeersLive } from "./directory-live-DC-YA5SQ.js";
13
- import "./monitor-Cf50drfK.js";
13
+ import "./monitor-BQ7P93ll.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-CMZq3Lcb.js";
1
+ import { r as deliverSlackSlashReplies$1 } from "./replies-D_G-EPr8.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";
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
@@ -0,0 +1,15 @@
1
+ # Installation
2
+ > `npm install --save @types/node`
3
+
4
+ # Summary
5
+ This package contains type definitions for node (https://nodejs.org/).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
+
10
+ ### Additional Details
11
+ * Last updated: Tue, 19 May 2026 17:48:56 GMT
12
+ * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
+
14
+ # Credits
15
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
@@ -0,0 +1,59 @@
1
+ declare module "node:assert/strict" {
2
+ import {
3
+ Assert,
4
+ AssertionError,
5
+ AssertionErrorOptions,
6
+ AssertOptions,
7
+ AssertPredicate,
8
+ AssertStrict,
9
+ deepStrictEqual,
10
+ doesNotMatch,
11
+ doesNotReject,
12
+ doesNotThrow,
13
+ fail,
14
+ ifError,
15
+ match,
16
+ notDeepStrictEqual,
17
+ notStrictEqual,
18
+ ok,
19
+ partialDeepStrictEqual,
20
+ rejects,
21
+ strictEqual,
22
+ throws,
23
+ } from "node:assert";
24
+ function strict(value: unknown, message?: string | Error): asserts value;
25
+ namespace strict {
26
+ export {
27
+ Assert,
28
+ AssertionError,
29
+ AssertionErrorOptions,
30
+ AssertOptions,
31
+ AssertPredicate,
32
+ AssertStrict,
33
+ deepStrictEqual,
34
+ deepStrictEqual as deepEqual,
35
+ doesNotMatch,
36
+ doesNotReject,
37
+ doesNotThrow,
38
+ fail,
39
+ ifError,
40
+ match,
41
+ notDeepStrictEqual,
42
+ notDeepStrictEqual as notDeepEqual,
43
+ notStrictEqual,
44
+ notStrictEqual as notEqual,
45
+ ok,
46
+ partialDeepStrictEqual,
47
+ rejects,
48
+ strict,
49
+ strictEqual,
50
+ strictEqual as equal,
51
+ throws,
52
+ };
53
+ }
54
+ export = strict;
55
+ }
56
+ declare module "assert/strict" {
57
+ import strict = require("node:assert/strict");
58
+ export = strict;
59
+ }