@poolzin/pool-bot 2026.3.25 → 2026.3.26

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 (271) hide show
  1. package/dist/agents/model-fallback.js +5 -4
  2. package/dist/agents/tools/common.js +16 -201
  3. package/dist/auto-reply/auto-reply/reply/agent-runner-execution.js +502 -0
  4. package/dist/auto-reply/auto-reply/reply/agent-runner-helpers.js +65 -0
  5. package/dist/auto-reply/auto-reply/reply/agent-runner-memory.js +160 -0
  6. package/dist/auto-reply/auto-reply/reply/agent-runner-payloads.js +85 -0
  7. package/dist/auto-reply/auto-reply/reply/agent-runner-utils.js +101 -0
  8. package/dist/auto-reply/auto-reply/reply/bash-command.js +338 -0
  9. package/dist/auto-reply/auto-reply/reply/block-streaming.js +91 -0
  10. package/dist/auto-reply/auto-reply/reply/commands-approve.js +88 -0
  11. package/dist/auto-reply/auto-reply/reply/commands-bash.js +26 -0
  12. package/dist/auto-reply/auto-reply/reply/commands-compact.js +107 -0
  13. package/dist/auto-reply/auto-reply/reply/commands-config.js +241 -0
  14. package/dist/auto-reply/auto-reply/reply/commands-context-report.js +295 -0
  15. package/dist/auto-reply/auto-reply/reply/commands-context.js +30 -0
  16. package/dist/auto-reply/auto-reply/reply/commands-core.js +151 -0
  17. package/dist/auto-reply/auto-reply/reply/commands-export-session.js +163 -0
  18. package/dist/auto-reply/auto-reply/reply/commands-info.js +184 -0
  19. package/dist/auto-reply/auto-reply/reply/commands-models.js +299 -0
  20. package/dist/auto-reply/auto-reply/reply/commands-plugin.js +35 -0
  21. package/dist/auto-reply/auto-reply/reply/commands-ptt.js +171 -0
  22. package/dist/auto-reply/auto-reply/reply/commands-setunset-standard.js +13 -0
  23. package/dist/auto-reply/auto-reply/reply/commands-setunset.js +73 -0
  24. package/dist/auto-reply/auto-reply/reply/commands-slash-parse.js +31 -0
  25. package/dist/auto-reply/auto-reply/reply/commands-status.js +178 -0
  26. package/dist/auto-reply/auto-reply/reply/commands-subagents.js +73 -0
  27. package/dist/auto-reply/auto-reply/reply/commands-system-prompt.js +117 -0
  28. package/dist/auto-reply/auto-reply/reply/commands-tts.js +231 -0
  29. package/dist/auto-reply/auto-reply/reply/directive-handling.impl.js +380 -0
  30. package/dist/auto-reply/auto-reply/reply/followup-runner.js +227 -0
  31. package/dist/auto-reply/auto-reply/reply/get-reply-directives-apply.js +201 -0
  32. package/dist/auto-reply/auto-reply/reply/get-reply-directives-utils.js +54 -0
  33. package/dist/auto-reply/auto-reply/reply/get-reply-directives.js +332 -0
  34. package/dist/auto-reply/auto-reply/reply/get-reply-inline-actions.js +258 -0
  35. package/dist/auto-reply/auto-reply/reply/get-reply-run.js +297 -0
  36. package/dist/auto-reply/auto-reply/reply/groups.js +102 -0
  37. package/dist/auto-reply/auto-reply/reply/mentions.js +129 -0
  38. package/dist/auto-reply/auto-reply/reply/reply-delivery.js +92 -0
  39. package/dist/auto-reply/auto-reply/reply/reply-directives.js +30 -0
  40. package/dist/auto-reply/auto-reply/reply/reply-dispatcher.js +152 -0
  41. package/dist/auto-reply/auto-reply/reply/reply-elevated.js +166 -0
  42. package/dist/auto-reply/auto-reply/reply/reply-inline.js +28 -0
  43. package/dist/auto-reply/auto-reply/reply/reply-payloads.js +114 -0
  44. package/dist/auto-reply/auto-reply/reply/reply-reference.js +36 -0
  45. package/dist/auto-reply/auto-reply/reply/reply-tags.js +13 -0
  46. package/dist/auto-reply/auto-reply/reply/reply-threading.js +41 -0
  47. package/dist/auto-reply/auto-reply/reply/session-updates.js +233 -0
  48. package/dist/auto-reply/auto-reply/reply/stage-sandbox-media.js +146 -0
  49. package/dist/build-info.json +3 -3
  50. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  51. package/dist/canvas-host/a2ui/a2ui.bundle.js +2 -17772
  52. package/dist/canvas-host/a2ui/index.html +1 -307
  53. package/dist/channels/channels/directory-config.js +185 -0
  54. package/dist/channels/channels/discord/handle-action.guild-admin.js +332 -0
  55. package/dist/channels/channels/discord/handle-action.js +165 -0
  56. package/dist/channels/channels/discord.js +413 -0
  57. package/dist/channels/channels/dock.js +436 -0
  58. package/dist/channels/channels/index.js +51 -0
  59. package/dist/channels/channels/plugins/outbound/discord.js +101 -0
  60. package/dist/channels/channels/whatsapp.js +17 -0
  61. package/dist/channels/plugins/types.js +1 -1
  62. package/dist/channels/run-state-machine.js +7 -0
  63. package/dist/commands/models/auth.js +47 -1
  64. package/dist/commands-subagents/action-agents.js +44 -0
  65. package/dist/commands-subagents/action-focus.js +64 -0
  66. package/dist/commands-subagents/action-help.js +4 -0
  67. package/dist/commands-subagents/action-info.js +45 -0
  68. package/dist/commands-subagents/action-kill.js +60 -0
  69. package/dist/commands-subagents/action-list.js +44 -0
  70. package/dist/commands-subagents/action-log.js +29 -0
  71. package/dist/commands-subagents/action-send.js +119 -0
  72. package/dist/commands-subagents/action-spawn.js +52 -0
  73. package/dist/commands-subagents/action-unfocus.js +30 -0
  74. package/dist/commands-subagents/shared.js +303 -0
  75. package/dist/config/config.js +1 -8
  76. package/dist/config/types.secrets.js +61 -0
  77. package/dist/control-ui/assets/{index-D7shnQwQ.js → index-umCsvrWy.js} +884 -741
  78. package/dist/control-ui/assets/index-umCsvrWy.js.map +1 -0
  79. package/dist/control-ui/assets/pt-BR-DedEVAvY.js +2 -0
  80. package/dist/control-ui/assets/pt-BR-DedEVAvY.js.map +1 -0
  81. package/dist/control-ui/assets/zh-CN-CDzeklK-.js +2 -0
  82. package/dist/control-ui/assets/zh-CN-CDzeklK-.js.map +1 -0
  83. package/dist/control-ui/assets/zh-TW-BJCRYNWH.js +2 -0
  84. package/dist/control-ui/assets/zh-TW-BJCRYNWH.js.map +1 -0
  85. package/dist/control-ui/index.html +1 -1
  86. package/dist/gateway/method-scopes.js +9 -1
  87. package/dist/gateway/node-pending-work.js +142 -0
  88. package/dist/gateway/protocol/index.js +5 -1
  89. package/dist/gateway/protocol/schema/nodes.js +18 -0
  90. package/dist/gateway/server-methods/nodes-pending.js +96 -0
  91. package/dist/gateway/server-methods-list.js +4 -0
  92. package/dist/gateway/server-methods.js +2 -0
  93. package/dist/imessage/channel.js +253 -0
  94. package/dist/imessage/monitor/echo-cache.js +70 -0
  95. package/dist/imessage/monitor/loop-rate-limiter.js +51 -0
  96. package/dist/imessage/monitor/reflection-guard.js +50 -0
  97. package/dist/imessage/monitor/sanitize-outbound.js +25 -0
  98. package/dist/imessage/monitor/self-chat-cache.js +75 -0
  99. package/dist/imessage/runtime.js +3 -0
  100. package/dist/infra/exec-approval-reply.js +7 -0
  101. package/dist/infra/tmp-openclaw-dir.js +84 -0
  102. package/dist/pairing/pairing-challenge.js +15 -0
  103. package/dist/plugin-sdk/account-id.d.ts +1 -0
  104. package/dist/plugin-sdk/agent-media-payload.d.ts +12 -0
  105. package/dist/plugin-sdk/allow-from.d.ts +27 -0
  106. package/dist/plugin-sdk/command-auth.d.ts +25 -0
  107. package/dist/plugin-sdk/command-auth.js +3 -1
  108. package/dist/plugin-sdk/config-paths.d.ts +6 -0
  109. package/dist/plugin-sdk/file-lock.d.ts +16 -0
  110. package/dist/plugin-sdk/index.d.ts +428 -0
  111. package/dist/plugin-sdk/index.js +237 -103
  112. package/dist/plugin-sdk/json-store.d.ts +5 -0
  113. package/dist/plugin-sdk/keyed-async-queue.d.ts +12 -0
  114. package/dist/plugin-sdk/onboarding.d.ts +11 -0
  115. package/dist/plugin-sdk/provider-auth-result.d.ts +14 -0
  116. package/dist/plugin-sdk/slack-message-actions.d.ts +11 -0
  117. package/dist/plugin-sdk/status-helpers.d.ts +25 -0
  118. package/dist/plugin-sdk/temp-path.d.ts +12 -0
  119. package/dist/plugin-sdk/text-chunking.d.ts +1 -0
  120. package/dist/plugin-sdk/tool-send.d.ts +4 -0
  121. package/dist/plugin-sdk/webhook-path.d.ts +6 -0
  122. package/dist/plugin-sdk/webhook-targets.d.ts +23 -0
  123. package/dist/plugin-sdk/windows-spawn.d.ts +39 -0
  124. package/dist/plugin-sdk-internal/accounts.js +6 -0
  125. package/dist/plugin-sdk-internal/discord.js +23 -0
  126. package/dist/plugin-sdk-internal/imessage.js +13 -0
  127. package/dist/plugin-sdk-internal/setup.js +9 -0
  128. package/dist/plugin-sdk-internal/signal.js +13 -0
  129. package/dist/plugin-sdk-internal/slack.js +22 -0
  130. package/dist/plugin-sdk-internal/telegram.js +32 -0
  131. package/dist/plugin-sdk-internal/whatsapp.js +29 -0
  132. package/dist/routing/session-key.js +4 -185
  133. package/dist/shared/pid-alive.js +2 -61
  134. package/dist/shared/process-scoped-map.js +5 -7
  135. package/dist/signal/channel.js +264 -0
  136. package/dist/signal/monitor/access-policy.js +60 -0
  137. package/dist/signal/runtime.js +3 -0
  138. package/dist/slack/account-inspect.js +135 -0
  139. package/dist/slack/blocks-input.js +7 -38
  140. package/dist/slack/channel.js +394 -0
  141. package/dist/slack/interactive-replies.js +28 -0
  142. package/dist/slack/monitor/channel-type.js +31 -0
  143. package/dist/slack/monitor/dm-auth.js +49 -0
  144. package/dist/slack/monitor/events/interactions.modal.js +137 -0
  145. package/dist/slack/monitor/events/message-subtype-handlers.js +68 -0
  146. package/dist/slack/monitor/events/system-event-context.js +29 -0
  147. package/dist/slack/monitor/events/system-event-test-harness.js +41 -0
  148. package/dist/slack/monitor/external-arg-menu-store.js +46 -0
  149. package/dist/slack/monitor/message-handler/prepare-content.js +69 -0
  150. package/dist/slack/monitor/message-handler/prepare-thread-context.js +91 -0
  151. package/dist/slack/monitor/message-handler/prepare.test-helpers.js +55 -0
  152. package/dist/slack/monitor/reconnect-policy.js +78 -0
  153. package/dist/slack/monitor/slash-commands.runtime.js +1 -0
  154. package/dist/slack/monitor/slash-dispatch.runtime.js +9 -0
  155. package/dist/slack/monitor/slash-skill-commands.runtime.js +1 -0
  156. package/dist/slack/resolve-allowlist-common.js +36 -0
  157. package/dist/slack/runtime.js +3 -0
  158. package/dist/slack/sent-thread-cache.js +61 -0
  159. package/dist/slack/truncate.js +10 -0
  160. package/dist/telegram/account-inspect.js +175 -0
  161. package/dist/telegram/allow-from.js +10 -0
  162. package/dist/telegram/api-fetch.js +18 -0
  163. package/dist/telegram/approval-buttons.js +30 -0
  164. package/dist/telegram/audit-membership-runtime.js +61 -0
  165. package/dist/telegram/bot/delivery.replies.js +508 -0
  166. package/dist/telegram/bot/delivery.resolve-media.js +227 -0
  167. package/dist/telegram/bot/delivery.send.js +132 -0
  168. package/dist/telegram/bot/reply-threading.js +46 -0
  169. package/dist/telegram/bot-message-context.body.js +186 -0
  170. package/dist/telegram/bot-message-context.session.js +207 -0
  171. package/dist/telegram/bot-message-context.types.js +1 -0
  172. package/dist/telegram/bot-native-commands.test-helpers.js +117 -0
  173. package/dist/telegram/bot.media.e2e-harness.js +81 -0
  174. package/dist/telegram/bot.media.test-utils.js +81 -0
  175. package/dist/telegram/channel-actions.js +225 -0
  176. package/dist/telegram/channel.js +515 -0
  177. package/dist/telegram/conversation-route.js +107 -0
  178. package/dist/telegram/delivery.js +2 -0
  179. package/dist/telegram/delivery.replies.js +508 -0
  180. package/dist/telegram/dm-access.js +86 -0
  181. package/dist/telegram/draft-stream.test-helpers.js +62 -0
  182. package/dist/telegram/exec-approvals-handler.js +281 -0
  183. package/dist/telegram/exec-approvals.js +62 -0
  184. package/dist/telegram/forum-service-message.js +22 -0
  185. package/dist/telegram/group-config-helpers.js +10 -0
  186. package/dist/telegram/lane-delivery-state.js +19 -0
  187. package/dist/telegram/lane-delivery-text-deliverer.js +357 -0
  188. package/dist/telegram/lane-delivery.js +2 -0
  189. package/dist/telegram/normalize.js +37 -0
  190. package/dist/telegram/onboarding.js +192 -0
  191. package/dist/telegram/outbound-adapter.js +100 -0
  192. package/dist/telegram/polling-session.js +275 -0
  193. package/dist/telegram/runtime.js +3 -0
  194. package/dist/telegram/sendchataction-401-backoff.js +71 -0
  195. package/dist/telegram/sequential-key.js +46 -0
  196. package/dist/telegram/status-issues.js +105 -0
  197. package/dist/telegram/target-writeback.js +165 -0
  198. package/dist/telegram/thread-bindings.js +560 -0
  199. package/dist/utils.js +10 -276
  200. package/dist/wizard/prompts.js +5 -5
  201. package/extensions/feishu/src/policy.ts +1 -1
  202. package/extensions/firecrawl/index.test.ts +82 -0
  203. package/extensions/firecrawl/index.ts +20 -0
  204. package/extensions/firecrawl/openclaw.plugin.json +8 -0
  205. package/extensions/firecrawl/package.json +12 -0
  206. package/extensions/firecrawl/src/config.ts +159 -0
  207. package/extensions/firecrawl/src/firecrawl-client.ts +446 -0
  208. package/extensions/firecrawl/src/firecrawl-scrape-tool.ts +89 -0
  209. package/extensions/firecrawl/src/firecrawl-search-provider.ts +63 -0
  210. package/extensions/firecrawl/src/firecrawl-search-tool.ts +76 -0
  211. package/package.json +1 -1
  212. package/dist/.buildstamp +0 -1
  213. package/dist/acp/bindings-store.js +0 -209
  214. package/dist/acp/control-plane/runtime-cache.js +0 -54
  215. package/dist/acp/control-plane/runtime-options.js +0 -215
  216. package/dist/acp/control-plane/session-actor-queue.js +0 -36
  217. package/dist/acp/index.js +0 -2
  218. package/dist/acp/runtime/errors.js +0 -47
  219. package/dist/acp/runtime/registry.js +0 -86
  220. package/dist/acp/secret-file.js +0 -22
  221. package/dist/agents/auth-profiles.resolve-auth-profile-order.fixtures.js +0 -23
  222. package/dist/agents/bash-process-registry.test-helpers.js +0 -29
  223. package/dist/agents/bash-tools.exec-approval-request.js +0 -20
  224. package/dist/agents/bash-tools.exec-host-gateway.js +0 -240
  225. package/dist/agents/bash-tools.exec-host-node.js +0 -235
  226. package/dist/agents/checkpoint-manager.js +0 -290
  227. package/dist/agents/claude-cli-runner.js +0 -3
  228. package/dist/agents/error-classifier.js +0 -251
  229. package/dist/agents/live-model-filter.js +0 -84
  230. package/dist/agents/nvidia-models.js +0 -228
  231. package/dist/agents/pi-embedded-runner/run.overflow-compaction.fixture.js +0 -34
  232. package/dist/agents/pi-embedded-runner/run.overflow-compaction.mocks.shared.js +0 -156
  233. package/dist/agents/pi-embedded-subscribe.handlers.tools.media.test-helpers.js +0 -30
  234. package/dist/agents/provider/config-loader.js +0 -76
  235. package/dist/agents/provider/index.js +0 -15
  236. package/dist/agents/provider/models-dev.js +0 -129
  237. package/dist/agents/provider/session-binding.js +0 -376
  238. package/dist/agents/queued-file-writer.js +0 -22
  239. package/dist/agents/skills/bundled-context.js +0 -23
  240. package/dist/agents/skills/security.js +0 -211
  241. package/dist/agents/skills/tools-dir.js +0 -9
  242. package/dist/agents/skills-install-download.js +0 -290
  243. package/dist/agents/skills-install-output.js +0 -30
  244. package/dist/agents/skills-install.download-test-utils.js +0 -36
  245. package/dist/agents/skills.test-helpers.js +0 -13
  246. package/dist/agents/subagent-announce-reliability.js +0 -160
  247. package/dist/agents/subagent-registry.mocks.shared.js +0 -12
  248. package/dist/agents/test-helpers/assistant-message-fixtures.js +0 -29
  249. package/dist/agents/test-helpers/fast-coding-tools.js +0 -1
  250. package/dist/agents/test-helpers/fast-core-tools.js +0 -8
  251. package/dist/agents/test-helpers/fast-tool-stubs.js +0 -18
  252. package/dist/agents/test-helpers/host-sandbox-fs-bridge.js +0 -74
  253. package/dist/agents/test-helpers/pi-tools-sandbox-context.js +0 -27
  254. package/dist/agents/tool-display-common.js +0 -915
  255. package/dist/agents/tool-policy-shared.js +0 -108
  256. package/dist/agents/tool-policy.conformance.js +0 -14
  257. package/dist/agents/tool-result-truncation.js +0 -299
  258. package/dist/agents/tools/cron-tool.test-helpers.js +0 -12
  259. package/dist/agents/tools/discord-actions-moderation-shared.js +0 -27
  260. package/dist/agents/tools/discord-actions-presence.js +0 -78
  261. package/dist/control-ui/assets/index-D7shnQwQ.js.map +0 -1
  262. package/dist/discord/discord-improvements.js +0 -167
  263. package/dist/discord/index.js +0 -2
  264. package/dist/hooks/bundled/boot-md/HOOK.md +0 -19
  265. package/dist/hooks/bundled/command-logger/HOOK.md +0 -122
  266. package/dist/hooks/bundled/session-memory/HOOK.md +0 -86
  267. package/dist/hooks/bundled/soul-evil/HOOK.md +0 -71
  268. package/dist/whatsapp/normalize.js +0 -66
  269. package/dist/whatsapp/resolve-outbound-target.js +0 -42
  270. /package/dist/{acp/runtime/types.js → auto-reply/auto-reply/reply/commands-types.js} +0 -0
  271. /package/dist/{agents/pi-embedded-payloads.js → slack/account-surface-fields.js} +0 -0
@@ -0,0 +1,25 @@
1
+ import type { PoolBotConfig } from "../config/config.js";
2
+ export type ResolveSenderCommandAuthorizationParams = {
3
+ cfg: PoolBotConfig;
4
+ rawBody: string;
5
+ isGroup: boolean;
6
+ dmPolicy: string;
7
+ configuredAllowFrom: string[];
8
+ senderId: string;
9
+ isSenderAllowed: (senderId: string, allowFrom: string[]) => boolean;
10
+ readAllowFromStore: () => Promise<string[]>;
11
+ shouldComputeCommandAuthorized: (rawBody: string, cfg: PoolBotConfig) => boolean;
12
+ resolveCommandAuthorizedFromAuthorizers: (params: {
13
+ useAccessGroups: boolean;
14
+ authorizers: Array<{
15
+ configured: boolean;
16
+ allowed: boolean;
17
+ }>;
18
+ }) => boolean;
19
+ };
20
+ export declare function resolveSenderCommandAuthorization(params: ResolveSenderCommandAuthorizationParams): Promise<{
21
+ shouldComputeAuth: boolean;
22
+ effectiveAllowFrom: string[];
23
+ senderAllowedForCommands: boolean;
24
+ commandAuthorized: boolean | undefined;
25
+ }>;
@@ -6,7 +6,9 @@ export async function resolveSenderCommandAuthorization(params) {
6
6
  ? await params.readAllowFromStore().catch(() => [])
7
7
  : [];
8
8
  const effectiveAllowFrom = [...params.configuredAllowFrom, ...storeAllowFrom];
9
- const useAccessGroups = params.cfg.commands?.useAccessGroups !== false;
9
+ const cfg = params.cfg;
10
+ const commands = cfg.commands;
11
+ const useAccessGroups = commands?.useAccessGroups !== false;
10
12
  const senderAllowedForCommands = params.isSenderAllowed(params.senderId, effectiveAllowFrom);
11
13
  const commandAuthorized = shouldComputeAuth
12
14
  ? params.resolveCommandAuthorizedFromAuthorizers({
@@ -0,0 +1,6 @@
1
+ import type { PoolBotConfig } from "../config/config.js";
2
+ export declare function resolveChannelAccountConfigBasePath(params: {
3
+ cfg: PoolBotConfig;
4
+ channelKey: string;
5
+ accountId: string;
6
+ }): string;
@@ -0,0 +1,16 @@
1
+ export type FileLockOptions = {
2
+ retries: {
3
+ retries: number;
4
+ factor: number;
5
+ minTimeout: number;
6
+ maxTimeout: number;
7
+ randomize?: boolean;
8
+ };
9
+ stale: number;
10
+ };
11
+ export type FileLockHandle = {
12
+ lockPath: string;
13
+ release: () => Promise<void>;
14
+ };
15
+ export declare function acquireFileLock(filePath: string, options: FileLockOptions): Promise<FileLockHandle>;
16
+ export declare function withFileLock<T>(filePath: string, options: FileLockOptions, fn: () => Promise<T>): Promise<T>;
@@ -0,0 +1,428 @@
1
+ export type { FileLockHandle, FileLockOptions } from "./file-lock.js";
2
+ export { acquireFileLock, withFileLock } from "./file-lock.js";
3
+ export { normalizeWebhookPath, resolveWebhookPath } from "./webhook-path.js";
4
+ export { registerWebhookTarget, rejectNonPostWebhookRequest, resolveSingleWebhookTarget, resolveSingleWebhookTargetAsync, resolveWebhookTargets, } from "./webhook-targets.js";
5
+ export type { WebhookTargetMatchResult } from "./webhook-targets.js";
6
+ export type { AgentMediaPayload } from "./agent-media-payload.js";
7
+ export { buildAgentMediaPayload } from "./agent-media-payload.js";
8
+ export { buildBaseChannelStatusSummary, collectStatusIssuesFromLastError, createDefaultChannelRuntimeState, } from "./status-helpers.js";
9
+ export { buildOauthProviderAuthResult } from "./provider-auth-result.js";
10
+ export { resolveSenderCommandAuthorization } from "./command-auth.js";
11
+ export { handleSlackMessageAction } from "./slack-message-actions.js";
12
+ export { extractToolSend } from "./tool-send.js";
13
+ export { resolveChannelAccountConfigBasePath } from "./config-paths.js";
14
+ export { chunkTextForOutbound } from "./text-chunking.js";
15
+ export { readJsonFileWithFallback, writeJsonFileAtomically } from "./json-store.js";
16
+ export { buildRandomTempFilePath, withTempDownloadPath } from "./temp-path.js";
17
+ export { formatAllowFromLowercase, isAllowedParsedChatSender } from "./allow-from.js";
18
+ export { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "./account-id.js";
19
+ export type { WindowsSpawnResolution, WindowsSpawnCandidateResolution, WindowsSpawnProgramCandidate, WindowsSpawnProgram, WindowsSpawnInvocation, ResolveWindowsSpawnProgramParams, ResolveWindowsSpawnProgramCandidateParams, } from "./windows-spawn.js";
20
+ export { resolveWindowsExecutablePath, resolveWindowsSpawnProgramCandidate, applyWindowsSpawnProgramPolicy, resolveWindowsSpawnProgram, materializeWindowsSpawnProgram, } from "./windows-spawn.js";
21
+ export type PoolBotConfig = Record<string, unknown>;
22
+ export type ClawdbotConfig = PoolBotConfig;
23
+ export type ChannelPlugin = Record<string, unknown>;
24
+ export type ChannelConfigSchema = Record<string, unknown>;
25
+ export type ChannelDock = Record<string, unknown>;
26
+ export type ChatType = string;
27
+ export type RoutePeerKind = string;
28
+ export type ReplyPayload = Record<string, unknown>;
29
+ export type ChunkMode = string;
30
+ export type DedupeCache = Record<string, unknown>;
31
+ export type LogTransport = Record<string, unknown>;
32
+ export type LogTransportRecord = Record<string, unknown>;
33
+ export type LookupFn = unknown;
34
+ export type SsrFPolicy = Record<string, unknown>;
35
+ export type HistoryEntry = Record<string, unknown>;
36
+ export type AllowlistMatch = Record<string, unknown>;
37
+ export type NormalizedLocation = Record<string, unknown>;
38
+ export type PollInput = Record<string, unknown>;
39
+ export type HookEntry = Record<string, unknown>;
40
+ export type RuntimeEnv = Record<string, unknown>;
41
+ export type WizardPrompter = unknown;
42
+ export type ThreadBindingManager = Record<string, unknown>;
43
+ export type ThreadBindingRecord = Record<string, unknown>;
44
+ export type ThreadBindingTargetKind = string;
45
+ export type GatewayRequestHandler = unknown;
46
+ export type GatewayRequestHandlerOptions = Record<string, unknown>;
47
+ export type RespondFn = unknown;
48
+ export type PluginRuntime = Record<string, unknown>;
49
+ export type RuntimeLogger = unknown;
50
+ export type ProviderAuthContext = Record<string, unknown>;
51
+ export type ProviderAuthResult = Record<string, unknown>;
52
+ export type PoolBotPluginApi = Record<string, unknown>;
53
+ export type PoolBotPluginService = Record<string, unknown>;
54
+ export type PoolBotPluginServiceContext = Record<string, unknown>;
55
+ export type AnyAgentTool = unknown;
56
+ export type AckReactionGateParams = Record<string, unknown>;
57
+ export type AckReactionScope = string;
58
+ export type WhatsAppAckReactionMode = string;
59
+ export type BlockStreamingCoalesceConfig = Record<string, unknown>;
60
+ export type DmPolicy = Record<string, unknown>;
61
+ export type DmConfig = Record<string, unknown>;
62
+ export type GroupPolicy = Record<string, unknown>;
63
+ export type GroupToolPolicyConfig = Record<string, unknown>;
64
+ export type GroupToolPolicyBySenderConfig = Record<string, unknown>;
65
+ export type MarkdownConfig = Record<string, unknown>;
66
+ export type MarkdownTableMode = string;
67
+ export type GoogleChatAccountConfig = Record<string, unknown>;
68
+ export type GoogleChatConfig = Record<string, unknown>;
69
+ export type GoogleChatDmConfig = Record<string, unknown>;
70
+ export type GoogleChatGroupConfig = Record<string, unknown>;
71
+ export type GoogleChatActionConfig = Record<string, unknown>;
72
+ export type MSTeamsChannelConfig = Record<string, unknown>;
73
+ export type MSTeamsConfig = Record<string, unknown>;
74
+ export type MSTeamsReplyStyle = string;
75
+ export type MSTeamsTeamConfig = Record<string, unknown>;
76
+ export type ResolvedDiscordAccount = Record<string, unknown>;
77
+ export type ResolvedIMessageAccount = Record<string, unknown>;
78
+ export type ResolvedSlackAccount = Record<string, unknown>;
79
+ export type ResolvedTelegramAccount = Record<string, unknown>;
80
+ export type ResolvedSignalAccount = Record<string, unknown>;
81
+ export type ResolvedWhatsAppAccount = Record<string, unknown>;
82
+ export type ResolvedLineAccount = Record<string, unknown>;
83
+ export type LineConfig = Record<string, unknown>;
84
+ export type LineAccountConfig = Record<string, unknown>;
85
+ export type LineChannelData = Record<string, unknown>;
86
+ export type CardAction = Record<string, unknown>;
87
+ export type ListItem = Record<string, unknown>;
88
+ export type ProcessedLineMessage = Record<string, unknown>;
89
+ export type WebMediaResult = Record<string, unknown>;
90
+ export type TelegramProbe = Record<string, unknown>;
91
+ export type ChannelOnboardingAdapter = Record<string, unknown>;
92
+ export type ChannelOnboardingDmPolicy = Record<string, unknown>;
93
+ export type ChannelAccountSnapshot = Record<string, unknown>;
94
+ export type ChannelAccountState = Record<string, unknown>;
95
+ export type ChannelAgentTool = unknown;
96
+ export type ChannelAgentToolFactory = unknown;
97
+ export type ChannelAuthAdapter = Record<string, unknown>;
98
+ export type ChannelCapabilities = Record<string, unknown>;
99
+ export type ChannelCommandAdapter = Record<string, unknown>;
100
+ export type ChannelConfigAdapter = Record<string, unknown>;
101
+ export type ChannelDirectoryAdapter = Record<string, unknown>;
102
+ export type ChannelDirectoryEntry = Record<string, unknown>;
103
+ export type ChannelDirectoryEntryKind = string;
104
+ export type ChannelElevatedAdapter = Record<string, unknown>;
105
+ export type ChannelGatewayAdapter = Record<string, unknown>;
106
+ export type ChannelGatewayContext = Record<string, unknown>;
107
+ export type ChannelGroupAdapter = Record<string, unknown>;
108
+ export type ChannelGroupContext = Record<string, unknown>;
109
+ export type ChannelHeartbeatAdapter = Record<string, unknown>;
110
+ export type ChannelHeartbeatDeps = Record<string, unknown>;
111
+ export type ChannelId = string;
112
+ export type ChannelLogSink = unknown;
113
+ export type ChannelLoginWithQrStartResult = Record<string, unknown>;
114
+ export type ChannelLoginWithQrWaitResult = Record<string, unknown>;
115
+ export type ChannelLogoutContext = Record<string, unknown>;
116
+ export type ChannelLogoutResult = Record<string, unknown>;
117
+ export type ChannelMentionAdapter = Record<string, unknown>;
118
+ export type ChannelMessageActionAdapter = Record<string, unknown>;
119
+ export type ChannelMessageActionContext = Record<string, unknown>;
120
+ export type ChannelMessageActionName = string;
121
+ export type ChannelMessagingAdapter = Record<string, unknown>;
122
+ export type ChannelMeta = Record<string, unknown>;
123
+ export type ChannelOutboundAdapter = Record<string, unknown>;
124
+ export type ChannelOutboundContext = Record<string, unknown>;
125
+ export type ChannelOutboundTargetMode = string;
126
+ export type ChannelPairingAdapter = Record<string, unknown>;
127
+ export type ChannelPollContext = Record<string, unknown>;
128
+ export type ChannelPollResult = Record<string, unknown>;
129
+ export type ChannelResolveKind = string;
130
+ export type ChannelResolveResult = Record<string, unknown>;
131
+ export type ChannelResolverAdapter = Record<string, unknown>;
132
+ export type ChannelSecurityAdapter = Record<string, unknown>;
133
+ export type ChannelSecurityContext = Record<string, unknown>;
134
+ export type ChannelSecurityDmPolicy = Record<string, unknown>;
135
+ export type ChannelSetupAdapter = Record<string, unknown>;
136
+ export type ChannelSetupInput = Record<string, unknown>;
137
+ export type ChannelStatusAdapter = Record<string, unknown>;
138
+ export type ChannelStatusIssue = Record<string, unknown>;
139
+ export type ChannelStreamingAdapter = Record<string, unknown>;
140
+ export type ChannelThreadingAdapter = Record<string, unknown>;
141
+ export type ChannelThreadingContext = Record<string, unknown>;
142
+ export type ChannelThreadingToolContext = Record<string, unknown>;
143
+ export type ChannelToolSend = Record<string, unknown>;
144
+ export type BaseProbeResult = Record<string, unknown>;
145
+ export type BaseTokenResolution = Record<string, unknown>;
146
+ export type DiagnosticEventPayload = Record<string, unknown>;
147
+ export type DiagnosticHeartbeatEvent = Record<string, unknown>;
148
+ export type DiagnosticLaneDequeueEvent = Record<string, unknown>;
149
+ export type DiagnosticLaneEnqueueEvent = Record<string, unknown>;
150
+ export type DiagnosticMessageProcessedEvent = Record<string, unknown>;
151
+ export type DiagnosticMessageQueuedEvent = Record<string, unknown>;
152
+ export type DiagnosticRunAttemptEvent = Record<string, unknown>;
153
+ export type DiagnosticSessionState = Record<string, unknown>;
154
+ export type DiagnosticSessionStateEvent = Record<string, unknown>;
155
+ export type DiagnosticSessionStuckEvent = Record<string, unknown>;
156
+ export type DiagnosticUsageEvent = Record<string, unknown>;
157
+ export type DiagnosticWebhookErrorEvent = Record<string, unknown>;
158
+ export type DiagnosticWebhookProcessedEvent = Record<string, unknown>;
159
+ export type DiagnosticWebhookReceivedEvent = Record<string, unknown>;
160
+ export declare const createAccountListHelpers: () => unknown;
161
+ export declare const CHANNEL_MESSAGE_ACTION_NAMES: string[];
162
+ export declare const BLUEBUBBLES_ACTIONS: Record<string, unknown>;
163
+ export declare const BLUEBUBBLES_ACTION_NAMES: string[];
164
+ export declare const BLUEBUBBLES_GROUP_ACTIONS: Record<string, unknown>;
165
+ export declare const autoBindSpawnedDiscordSubagent: () => void;
166
+ export declare const listThreadBindingsBySessionKey: () => unknown[];
167
+ export declare const unbindThreadBindingsBySessionKey: () => void;
168
+ export declare const normalizePluginHttpPath: (path: string) => string;
169
+ export declare const registerPluginHttpRoute: () => void;
170
+ export declare const emptyPluginConfigSchema: () => unknown;
171
+ export declare const DEFAULT_WEBHOOK_BODY_TIMEOUT_MS = 30000;
172
+ export declare const DEFAULT_WEBHOOK_MAX_BODY_BYTES: number;
173
+ export declare const SILENT_REPLY_TOKEN = "__SILENT__";
174
+ export declare const isSilentReplyText: (text: string) => boolean;
175
+ export declare const approveDevicePairing: () => void;
176
+ export declare const listDevicePairing: () => unknown[];
177
+ export declare const rejectDevicePairing: () => void;
178
+ export declare const createDedupeCache: () => DedupeCache;
179
+ export declare const formatErrorMessage: (err: unknown) => string;
180
+ export declare const RequestBodyLimitError: {
181
+ new (message?: string): {
182
+ name: string;
183
+ message: string;
184
+ stack?: string;
185
+ cause?: unknown;
186
+ };
187
+ new (message?: string, options?: ErrorOptions): {
188
+ name: string;
189
+ message: string;
190
+ stack?: string;
191
+ cause?: unknown;
192
+ };
193
+ new (message?: string, options?: ErrorOptions): {
194
+ name: string;
195
+ message: string;
196
+ stack?: string;
197
+ cause?: unknown;
198
+ };
199
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
200
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
201
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
202
+ stackTraceLimit: number;
203
+ isError(value: unknown): value is Error;
204
+ };
205
+ export declare const installRequestBodyLimitGuard: () => void;
206
+ export declare const isRequestBodyLimitError: () => boolean;
207
+ export declare const readJsonBodyWithLimit: () => Promise<unknown>;
208
+ export declare const readRequestBodyWithLimit: () => Promise<Buffer>;
209
+ export declare const requestBodyErrorToText: (err: unknown) => string;
210
+ export declare const fetchWithSsrFGuard: typeof fetch;
211
+ export declare const SsrFBlockedError: {
212
+ new (message?: string): {
213
+ name: string;
214
+ message: string;
215
+ stack?: string;
216
+ cause?: unknown;
217
+ };
218
+ new (message?: string, options?: ErrorOptions): {
219
+ name: string;
220
+ message: string;
221
+ stack?: string;
222
+ cause?: unknown;
223
+ };
224
+ new (message?: string, options?: ErrorOptions): {
225
+ name: string;
226
+ message: string;
227
+ stack?: string;
228
+ cause?: unknown;
229
+ };
230
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
231
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
232
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
233
+ stackTraceLimit: number;
234
+ isError(value: unknown): value is Error;
235
+ };
236
+ export declare const isBlockedHostname: () => boolean;
237
+ export declare const isBlockedHostnameOrIp: () => boolean;
238
+ export declare const isPrivateIpAddress: () => boolean;
239
+ export declare const rawDataToString: (data: unknown) => string;
240
+ export declare const isWSLSync: () => boolean;
241
+ export declare const isWSL2Sync: () => boolean;
242
+ export declare const isWSL2Env: () => boolean;
243
+ export declare const isTruthyEnvValue: (value: string | undefined) => boolean;
244
+ export declare const resolveToolsBySender: () => unknown[];
245
+ export declare const buildPendingHistoryContextFromMap: () => unknown[];
246
+ export declare const clearHistoryEntries: () => void;
247
+ export declare const clearHistoryEntriesIfEnabled: () => void;
248
+ export declare const DEFAULT_GROUP_HISTORY_LIMIT = 100;
249
+ export declare const evictOldHistoryKeys: () => void;
250
+ export declare const recordPendingHistoryEntry: () => void;
251
+ export declare const recordPendingHistoryEntryIfEnabled: () => void;
252
+ export declare const mergeAllowlist: () => unknown[];
253
+ export declare const summarizeMapping: () => string;
254
+ export declare const resolveMentionGating: () => unknown;
255
+ export declare const resolveMentionGatingWithBypass: () => unknown;
256
+ export declare const removeAckReactionAfterReply: () => void;
257
+ export declare const shouldAckReaction: () => boolean;
258
+ export declare const shouldAckReactionForWhatsApp: () => boolean;
259
+ export declare const createTypingCallbacks: () => unknown;
260
+ export declare const createReplyPrefixContext: () => unknown;
261
+ export declare const createReplyPrefixOptions: () => unknown;
262
+ export declare const logAckFailure: () => void;
263
+ export declare const logInboundDrop: () => void;
264
+ export declare const logTypingFailure: () => void;
265
+ export declare const resolveChannelMediaMaxBytes: () => number;
266
+ export declare const formatLocationText: () => string;
267
+ export declare const toLocationContext: () => unknown;
268
+ export declare const resolveControlCommandGate: () => unknown;
269
+ export declare const resolveBlueBubblesGroupRequireMention: () => boolean;
270
+ export declare const resolveDiscordGroupRequireMention: () => boolean;
271
+ export declare const resolveGoogleChatGroupRequireMention: () => boolean;
272
+ export declare const resolveIMessageGroupRequireMention: () => boolean;
273
+ export declare const resolveSlackGroupRequireMention: () => boolean;
274
+ export declare const resolveTelegramGroupRequireMention: () => boolean;
275
+ export declare const resolveWhatsAppGroupRequireMention: () => boolean;
276
+ export declare const resolveBlueBubblesGroupToolPolicy: () => unknown;
277
+ export declare const resolveDiscordGroupToolPolicy: () => unknown;
278
+ export declare const resolveGoogleChatGroupToolPolicy: () => unknown;
279
+ export declare const resolveIMessageGroupToolPolicy: () => unknown;
280
+ export declare const resolveSlackGroupToolPolicy: () => unknown;
281
+ export declare const resolveTelegramGroupToolPolicy: () => unknown;
282
+ export declare const resolveWhatsAppGroupToolPolicy: () => unknown;
283
+ export declare const recordInboundSession: () => void;
284
+ export declare const buildChannelKeyCandidates: () => string[];
285
+ export declare const normalizeChannelSlug: (slug: string) => string;
286
+ export declare const resolveChannelEntryMatch: () => unknown;
287
+ export declare const resolveChannelEntryMatchWithFallback: () => unknown;
288
+ export declare const resolveNestedAllowlistDecision: () => unknown;
289
+ export declare const listDiscordDirectoryGroupsFromConfig: () => unknown[];
290
+ export declare const listDiscordDirectoryPeersFromConfig: () => unknown[];
291
+ export declare const listSlackDirectoryGroupsFromConfig: () => unknown[];
292
+ export declare const listSlackDirectoryPeersFromConfig: () => unknown[];
293
+ export declare const listTelegramDirectoryGroupsFromConfig: () => unknown[];
294
+ export declare const listTelegramDirectoryPeersFromConfig: () => unknown[];
295
+ export declare const listWhatsAppDirectoryGroupsFromConfig: () => unknown[];
296
+ export declare const listWhatsAppDirectoryPeersFromConfig: () => unknown[];
297
+ export declare const formatAllowlistMatchMeta: () => string;
298
+ export declare const resolveAllowlistMatchSimple: () => unknown;
299
+ export declare const optionalStringEnum: () => unknown;
300
+ export declare const stringEnum: () => unknown;
301
+ export declare const buildChannelConfigSchema: () => unknown;
302
+ export declare const deleteAccountFromConfigSection: () => void;
303
+ export declare const setAccountEnabledInConfigSection: () => void;
304
+ export declare const applyAccountNameToChannelSection: () => void;
305
+ export declare const migrateBaseNameToDefaultAccount: () => void;
306
+ export declare const formatPairingApproveHint: () => string;
307
+ export declare const PAIRING_APPROVED_MESSAGE = "Pairing approved";
308
+ export declare const addWildcardAllowFrom: () => unknown[];
309
+ export declare const mergeAllowFromEntries: () => unknown[];
310
+ export declare const promptAccountId: () => Promise<string>;
311
+ export declare const promptChannelAccessConfig: () => Promise<unknown>;
312
+ export declare const createActionGate: () => unknown;
313
+ export declare const jsonResult: () => unknown;
314
+ export declare const readNumberParam: () => number;
315
+ export declare const readReactionParams: () => unknown;
316
+ export declare const readStringParam: () => string;
317
+ export declare const formatDocsLink: (path: string) => string;
318
+ export declare const resolveDmAllowState: () => unknown;
319
+ export declare const resolveDmGroupAccessDecision: () => unknown;
320
+ export declare const resolveEffectiveAllowFromLists: () => unknown[];
321
+ export declare const clamp: (val: number, min: number, max: number) => number;
322
+ export declare const escapeRegExp: (str: string) => string;
323
+ export declare const normalizeE164: (num: string) => string;
324
+ export declare const safeParseJson: (str: string) => unknown;
325
+ export declare const sleep: (ms: number) => Promise<void>;
326
+ export declare const stripAnsi: (str: string) => string;
327
+ export declare const missingTargetError: (target: string) => Error;
328
+ export declare const registerLogTransport: () => void;
329
+ export declare const emitDiagnosticEvent: () => void;
330
+ export declare const isDiagnosticsEnabled: () => boolean;
331
+ export declare const onDiagnosticEvent: () => (() => void);
332
+ export declare const detectMime: () => string;
333
+ export declare const extensionForMime: () => string | undefined;
334
+ export declare const getFileExtension: () => string;
335
+ export declare const extractOriginalFilename: () => string | undefined;
336
+ export declare const listDiscordAccountIds: () => string[];
337
+ export declare const resolveDefaultDiscordAccountId: () => string | undefined;
338
+ export declare const resolveDiscordAccount: () => unknown;
339
+ export declare const collectDiscordAuditChannelIds: () => string[];
340
+ export declare const discordOnboardingAdapter: () => unknown;
341
+ export declare const looksLikeDiscordTargetId: () => boolean;
342
+ export declare const normalizeDiscordMessagingTarget: () => unknown;
343
+ export declare const normalizeDiscordOutboundTarget: () => unknown;
344
+ export declare const collectDiscordStatusIssues: () => unknown[];
345
+ export declare const listIMessageAccountIds: () => string[];
346
+ export declare const resolveDefaultIMessageAccountId: () => string | undefined;
347
+ export declare const resolveIMessageAccount: () => unknown;
348
+ export declare const imessageOnboardingAdapter: () => unknown;
349
+ export declare const looksLikeIMessageTargetId: () => boolean;
350
+ export declare const normalizeIMessageMessagingTarget: () => unknown;
351
+ export declare const parseChatAllowTargetPrefixes: () => unknown;
352
+ export declare const parseChatTargetPrefixesOrThrow: () => unknown;
353
+ export declare const resolveServicePrefixedAllowTarget: () => unknown;
354
+ export declare const resolveServicePrefixedTarget: () => unknown;
355
+ export declare const listEnabledSlackAccounts: () => unknown[];
356
+ export declare const listSlackAccountIds: () => string[];
357
+ export declare const resolveDefaultSlackAccountId: () => string | undefined;
358
+ export declare const resolveSlackAccount: () => unknown;
359
+ export declare const resolveSlackReplyToMode: () => string;
360
+ export declare const extractSlackToolSend: () => unknown;
361
+ export declare const listSlackMessageActions: () => unknown[];
362
+ export declare const slackOnboardingAdapter: () => unknown;
363
+ export declare const looksLikeSlackTargetId: () => boolean;
364
+ export declare const normalizeSlackMessagingTarget: () => unknown;
365
+ export declare const buildSlackThreadingToolContext: () => unknown;
366
+ export declare const listTelegramAccountIds: () => string[];
367
+ export declare const resolveDefaultTelegramAccountId: () => string | undefined;
368
+ export declare const resolveTelegramAccount: () => unknown;
369
+ export declare const telegramOnboardingAdapter: () => unknown;
370
+ export declare const looksLikeTelegramTargetId: () => boolean;
371
+ export declare const normalizeTelegramMessagingTarget: () => unknown;
372
+ export declare const collectTelegramStatusIssues: () => unknown[];
373
+ export declare const parseTelegramReplyToMessageId: () => number | undefined;
374
+ export declare const parseTelegramThreadId: () => number | undefined;
375
+ export declare const listSignalAccountIds: () => string[];
376
+ export declare const resolveDefaultSignalAccountId: () => string | undefined;
377
+ export declare const resolveSignalAccount: () => unknown;
378
+ export declare const signalOnboardingAdapter: () => unknown;
379
+ export declare const looksLikeSignalTargetId: () => boolean;
380
+ export declare const normalizeSignalMessagingTarget: () => unknown;
381
+ export declare const listWhatsAppAccountIds: () => string[];
382
+ export declare const resolveDefaultWhatsAppAccountId: () => string | undefined;
383
+ export declare const resolveWhatsAppAccount: () => unknown;
384
+ export declare const isWhatsAppGroupJid: () => boolean;
385
+ export declare const normalizeWhatsAppTarget: () => unknown;
386
+ export declare const resolveWhatsAppOutboundTarget: () => unknown;
387
+ export declare const whatsappOnboardingAdapter: () => unknown;
388
+ export declare const resolveWhatsAppHeartbeatRecipients: () => unknown[];
389
+ export declare const looksLikeWhatsAppTargetId: () => boolean;
390
+ export declare const normalizeWhatsAppMessagingTarget: () => unknown;
391
+ export declare const collectWhatsAppStatusIssues: () => unknown[];
392
+ export declare const collectBlueBubblesStatusIssues: () => unknown[];
393
+ export declare const listLineAccountIds: () => string[];
394
+ export declare const normalizeLineAccountId: (id: string) => string;
395
+ export declare const resolveDefaultLineAccountId: () => string | undefined;
396
+ export declare const resolveLineAccount: () => unknown;
397
+ export declare const LineConfigSchema: {};
398
+ export declare const createInfoCard: () => unknown;
399
+ export declare const createListCard: () => unknown;
400
+ export declare const createImageCard: () => unknown;
401
+ export declare const createActionCard: () => unknown;
402
+ export declare const createReceiptCard: () => unknown;
403
+ export declare const processLineMessage: () => ProcessedLineMessage;
404
+ export declare const hasMarkdownToConvert: () => boolean;
405
+ export declare const stripMarkdown: (text: string) => string;
406
+ export declare const loadWebMedia: () => Promise<WebMediaResult>;
407
+ export declare const resolveAckReaction: () => string;
408
+ export declare const DiscordConfigSchema: {};
409
+ export declare const GoogleChatConfigSchema: {};
410
+ export declare const IMessageConfigSchema: {};
411
+ export declare const MSTeamsConfigSchema: {};
412
+ export declare const SignalConfigSchema: {};
413
+ export declare const SlackConfigSchema: {};
414
+ export declare const TelegramConfigSchema: {};
415
+ export declare const WhatsAppConfigSchema: {};
416
+ export declare const BlockStreamingCoalesceSchema: {};
417
+ export declare const DmConfigSchema: {};
418
+ export declare const DmPolicySchema: {};
419
+ export declare const GroupPolicySchema: {};
420
+ export declare const MarkdownConfigSchema: {};
421
+ export declare const MarkdownTableModeSchema: {};
422
+ export declare const normalizeAllowFrom: (allowFrom: string[]) => string[];
423
+ export declare const requireOpenAllowFrom: () => string[];
424
+ export declare const TtsAutoSchema: {};
425
+ export declare const TtsConfigSchema: {};
426
+ export declare const TtsModeSchema: {};
427
+ export declare const TtsProviderSchema: {};
428
+ export declare const ToolPolicySchema: {};