@poolzin/pool-bot 2026.2.28 → 2026.2.29

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 (131) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/build-info.json +3 -3
  3. package/dist/{channel-account-context-5Ju_8GF1.js → channel-account-context-CJDVmIum.js} +1 -1
  4. package/dist/{channel-account-context-D7TOjSVz.js → channel-account-context-CRlP7Nrx.js} +1 -1
  5. package/dist/{completion-cli-1BmdzC7f.js → completion-cli-e0dXIQyO.js} +2 -2
  6. package/dist/{completion-cli-BmbEv4yw.js → completion-cli-zXkGVsw0.js} +1 -1
  7. package/dist/control-ui/apple-touch-icon.png +0 -0
  8. package/dist/control-ui/favicon-32.png +0 -0
  9. package/dist/control-ui/favicon.ico +0 -0
  10. package/dist/control-ui/favicon.svg +1 -0
  11. package/dist/control-ui/index.html +3 -1
  12. package/dist/entry.js +1 -1
  13. package/dist/{gateway-cli-zwln2gEM.js → gateway-cli-aUcl8N29.js} +4 -4
  14. package/dist/{gateway-cli-DbgQ-6bz.js → gateway-cli-ppOSIpag.js} +4 -4
  15. package/dist/index.js +1 -1
  16. package/dist/plugin-sdk/{accounts-qps-PGaZ.js → accounts-BWFiu4Jm.js} +1 -1
  17. package/dist/plugin-sdk/{accounts-jG3ZGBLX.js → accounts-B_Aoe1VF.js} +1 -1
  18. package/dist/plugin-sdk/{accounts-C558SrGV.js → accounts-D3365xzr.js} +2 -2
  19. package/dist/plugin-sdk/{active-listener-DDZsNkEe.js → active-listener-CBkofcB6.js} +1 -1
  20. package/dist/plugin-sdk/{agent-scope-VVS4XklM.js → agent-scope-BGPwXHt4.js} +1 -1
  21. package/dist/plugin-sdk/{api-key-rotation-BiqZicwG.js → api-key-rotation-B4du_-Od.js} +1 -1
  22. package/dist/plugin-sdk/{audio-preflight-BaXhKA1p.js → audio-preflight-zGUTjaqC.js} +25 -25
  23. package/dist/plugin-sdk/{bindings-De393J25.js → bindings-6BkbZSKa.js} +2 -2
  24. package/dist/plugin-sdk/{channel-activity-D4GAsro9.js → channel-activity-Ddv27ANU.js} +2 -2
  25. package/dist/plugin-sdk/{channel-web-9gU0rH_V.js → channel-web-D8BZWuJP.js} +21 -21
  26. package/dist/plugin-sdk/{chrome-CzJggrJb.js → chrome-CvAYixUS.js} +2 -2
  27. package/dist/plugin-sdk/{chunk-DuxWMY3u.js → chunk-Bm_b4Rdk.js} +1 -1
  28. package/dist/plugin-sdk/{command-format-ZEZOKCFL.js → command-format-DUNr4pS0.js} +1 -1
  29. package/dist/plugin-sdk/{commands-registry-Bg9q_I6A.js → commands-registry-BcB0O5Cq.js} +4 -4
  30. package/dist/plugin-sdk/{config-Cvb_0_hh.js → config-CalFLWYb.js} +9 -9
  31. package/dist/plugin-sdk/{deliver-B42CCy-k.js → deliver-JeijIJ_l.js} +10 -10
  32. package/dist/plugin-sdk/{diagnostic-6crJ6mAV.js → diagnostic-D60C7LDV.js} +1 -1
  33. package/dist/plugin-sdk/{dock-D_55sk8e.js → dock-C9QHQ8_U.js} +5 -5
  34. package/dist/plugin-sdk/{image-2TrHOu12.js → image-PMejekDd.js} +6 -6
  35. package/dist/plugin-sdk/{image-ops-CmVfQD46.js → image-ops-ZJuDRWR0.js} +1 -1
  36. package/dist/plugin-sdk/index.js +53 -53
  37. package/dist/plugin-sdk/{ir-D6o8pS7g.js → ir-DTmVQKcx.js} +4 -4
  38. package/dist/plugin-sdk/{local-roots-DeFZOCiu.js → local-roots-mKPW8ygi.js} +3 -3
  39. package/dist/plugin-sdk/{login-dZqIajpQ.js → login-CiqPouyC.js} +6 -6
  40. package/dist/plugin-sdk/{login-qr-ap6m9nu6.js → login-qr-ICW4g4Hv.js} +8 -8
  41. package/dist/plugin-sdk/{manager-_2QgK1eN.js → manager-CYb7eIx_.js} +9 -9
  42. package/dist/plugin-sdk/{manifest-registry-DZBgkEee.js → manifest-registry-BFqfjuBH.js} +1 -1
  43. package/dist/plugin-sdk/{markdown-tables-DE5Qnrct.js → markdown-tables-DoP62_9A.js} +1 -1
  44. package/dist/plugin-sdk/{memory-search-C1bbQYdW.js → memory-search-CxG7hIwk.js} +2 -2
  45. package/dist/plugin-sdk/{message-channel-C7CXWd_U.js → message-channel-V6HmZ2XV.js} +1 -1
  46. package/dist/plugin-sdk/{model-selection-fg0UTEEu.js → model-selection-NXPDYrqg.js} +3 -3
  47. package/dist/plugin-sdk/{outbound-D8A6GSQk.js → outbound-DLythW5Y.js} +6 -6
  48. package/dist/plugin-sdk/{outbound-attachment-BK0GycN3.js → outbound-attachment-DkchSH7f.js} +2 -2
  49. package/dist/plugin-sdk/{pi-auth-json-DNAb81vN.js → pi-auth-json-BgijNY1K.js} +4 -4
  50. package/dist/plugin-sdk/{pi-embedded-helpers-NO6wKxeX.js → pi-embedded-helpers-MQke31iR.js} +13 -13
  51. package/dist/plugin-sdk/{plugins-D-hQF0Xk.js → plugins-DHbYU29p.js} +4 -4
  52. package/dist/plugin-sdk/{pw-ai-BFLB-ZuE.js → pw-ai-lEUbmn5s.js} +7 -7
  53. package/dist/plugin-sdk/{qmd-manager-DWhjseOR.js → qmd-manager-BQzpOa8y.js} +4 -4
  54. package/dist/plugin-sdk/{query-expansion-pOzjg41v.js → query-expansion-DF1cprQE.js} +2 -2
  55. package/dist/plugin-sdk/{redact-DrMZdRBQ.js → redact-zRRwM--k.js} +1 -1
  56. package/dist/plugin-sdk/{replies-D23tHwOp.js → replies-D0p01wqR.js} +3 -3
  57. package/dist/plugin-sdk/{reply-CujRN1Zw.js → reply-B9QVvCvU.js} +79 -79
  58. package/dist/plugin-sdk/{reply-prefix-BAuJ4WEo.js → reply-prefix-CaZMeryV.js} +1 -1
  59. package/dist/plugin-sdk/{resolve-outbound-target-DLEiA8JB.js → resolve-outbound-target-CBtvgtHP.js} +2 -2
  60. package/dist/plugin-sdk/{resolve-route-FzatfHPq.js → resolve-route-g9SQv6Q9.js} +3 -3
  61. package/dist/plugin-sdk/{retry-BIbb4Fhn.js → retry-_yZ2i0kR.js} +1 -1
  62. package/dist/plugin-sdk/{runner-OuwmobHs.js → runner-D04xtFtX.js} +9 -9
  63. package/dist/plugin-sdk/{send-CDVJz8Fy.js → send-CAxczDuK.js} +6 -6
  64. package/dist/plugin-sdk/{send-56Eh1faD.js → send-CXQWlgb5.js} +7 -7
  65. package/dist/plugin-sdk/{send-BoDYXT7w.js → send-DXBQ515b.js} +10 -10
  66. package/dist/plugin-sdk/{send-DVso6ZFj.js → send-DZfhnNTf.js} +12 -12
  67. package/dist/plugin-sdk/{send-BTchOCpW.js → send-aNmfXfb8.js} +6 -6
  68. package/dist/plugin-sdk/{session-Dc6uO_lE.js → session-x5KZFbAE.js} +4 -4
  69. package/dist/plugin-sdk/{sessions-y6F4HK01.js → sessions-DtNJ3noi.js} +6 -6
  70. package/dist/plugin-sdk/{skill-commands-CyHfanjn.js → skill-commands-DZRXpv5U.js} +4 -4
  71. package/dist/plugin-sdk/{skills-ltNydZfl.js → skills-CR6phPRG.js} +7 -7
  72. package/dist/plugin-sdk/{store-iXRTfog7.js → store-C16Z0xyv.js} +2 -2
  73. package/dist/plugin-sdk/{subsystem-hveVOFnp.js → subsystem-DCKWJZDj.js} +2 -2
  74. package/dist/plugin-sdk/{tables-DaOsBW9B.js → tables-wvxrt6J4.js} +1 -1
  75. package/dist/plugin-sdk/{target-errors-CNAKSzTT.js → target-errors-DWEwuz_e.js} +2 -2
  76. package/dist/plugin-sdk/{tokens-d8W_wXzC.js → tokens-CjM9niRP.js} +1 -1
  77. package/dist/plugin-sdk/{tool-images-BXHZAUK4.js → tool-images-jhZEqvnb.js} +2 -2
  78. package/dist/plugin-sdk/{tool-loop-detection-B9dhAJa7.js → tool-loop-detection-DrD6bnfk.js} +1 -1
  79. package/dist/plugin-sdk/web-C1H026zQ.js +63 -0
  80. package/dist/plugin-sdk/{whatsapp-actions-D5wHbCFK.js → whatsapp-actions-CHD4tRFX.js} +20 -20
  81. package/dist/{program-Btbv7tPl.js → program-DXx0_gvk.js} +2 -2
  82. package/dist/{program-context-Bf2JBF7b.js → program-context-DsjejRWo.js} +3 -3
  83. package/dist/{program-context-BPhRu5dk.js → program-context-hlJEzNx8.js} +5 -5
  84. package/dist/{prompt-select-styled-CVrJ7cVE.js → prompt-select-styled-B9KG-VNl.js} +3 -3
  85. package/dist/{prompt-select-styled-CtwPx8C_.js → prompt-select-styled-hczCp57Y.js} +3 -3
  86. package/dist/{register.maintenance-CxNAuDAw.js → register.maintenance-8c6IyHMv.js} +6 -6
  87. package/dist/{register.maintenance-B9YR3l7a.js → register.maintenance-C6nL5GWM.js} +5 -5
  88. package/dist/{register.status-health-sessions-o70nzsY5.js → register.status-health-sessions-C3jmmLhz.js} +3 -3
  89. package/dist/{register.status-health-sessions-Bx7WH263.js → register.status-health-sessions-MEFA_H67.js} +3 -3
  90. package/dist/{register.subclis-DWGH17eE.js → register.subclis-Do0tn1-w.js} +3 -3
  91. package/dist/{run-main-7CA1Zc8d.js → run-main-DVgekJB7.js} +3 -3
  92. package/dist/{status-C2aQ9yeG.js → status-A5Ws3Tf9.js} +2 -2
  93. package/dist/{status-CiMiNiY0.js → status-CqxyCtON.js} +2 -2
  94. package/dist/{status.update-RIEGPyWl.js → status.update-BZxiugDz.js} +1 -1
  95. package/dist/{status.update-CaleF9c9.js → status.update-Dtw3riaM.js} +1 -1
  96. package/dist/{update-cli-Bh2ipRjU.js → update-cli-DybQ8QFz.js} +16 -15
  97. package/dist/{update-cli-xbFm3uSW.js → update-cli-UF1MFZRL.js} +17 -16
  98. package/dist/{update-runner-DOlozU0b.js → update-runner-DPXpcSiy.js} +6 -5
  99. package/dist/{update-runner-chW03hD1.js → update-runner-DvWKDmIC.js} +6 -5
  100. package/extensions/bluebubbles/package.json +1 -1
  101. package/extensions/copilot-proxy/package.json +1 -1
  102. package/extensions/diagnostics-otel/package.json +1 -1
  103. package/extensions/discord/package.json +1 -1
  104. package/extensions/feishu/package.json +1 -1
  105. package/extensions/google-gemini-cli-auth/package.json +1 -1
  106. package/extensions/googlechat/package.json +1 -1
  107. package/extensions/imessage/package.json +1 -1
  108. package/extensions/irc/package.json +1 -1
  109. package/extensions/line/package.json +1 -1
  110. package/extensions/llm-task/package.json +1 -1
  111. package/extensions/matrix/package.json +1 -1
  112. package/extensions/mattermost/package.json +1 -1
  113. package/extensions/memory-core/package.json +1 -1
  114. package/extensions/memory-lancedb/package.json +1 -1
  115. package/extensions/minimax-portal-auth/package.json +1 -1
  116. package/extensions/msteams/package.json +1 -1
  117. package/extensions/msteams/src/test-runtime.ts +1 -1
  118. package/extensions/nextcloud-talk/package.json +1 -1
  119. package/extensions/nostr/package.json +1 -1
  120. package/extensions/signal/package.json +1 -1
  121. package/extensions/slack/package.json +1 -1
  122. package/extensions/synology-chat/package.json +2 -2
  123. package/extensions/telegram/package.json +1 -1
  124. package/extensions/tlon/package.json +1 -1
  125. package/extensions/twitch/package.json +1 -1
  126. package/extensions/voice-call/package.json +1 -1
  127. package/extensions/whatsapp/package.json +1 -1
  128. package/extensions/zalo/package.json +1 -1
  129. package/extensions/zalouser/package.json +1 -1
  130. package/package.json +1 -1
  131. package/dist/plugin-sdk/web-zVAaF80M.js +0 -63
@@ -1,75 +1,75 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { S as resolveThreadParentSessionKey, _ as getSubagentDepth, b as isSubagentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, g as deriveSessionChatType, h as isBlockedObjectKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, o as classifySessionKeyShape, p as normalizeAccountId$2, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isAcpSessionKey, x as parseAgentSessionKey, y as isCronSessionKey } from "./session-key-C7qWg3SH.js";
3
- import { c as logoutWeb, d as readWebSelfId, h as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-C558SrGV.js";
3
+ import { c as logoutWeb, d as readWebSelfId, h as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-D3365xzr.js";
4
4
  import { c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-BGan_I71.js";
5
5
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-B73UEgak.js";
6
- import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-D-hQF0Xk.js";
6
+ import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-DHbYU29p.js";
7
7
  import { t as resolveAccountEntry } from "./account-lookup-B-58l5Qb.js";
8
8
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CoK9Ksfj.js";
9
- import { $ as setVerbose, A as ensureDir$3, B as resolveUserPath, C as matchPluginCommand, E as CONFIG_DIR, G as sliceUtf16Safe, H as shortenHomeInString, I as normalizeE164, J as isPlainObject, M as formatTerminalLink, N as isRecord$4, O as clampInt, S as listPluginCommands, T as triggerInternalHook, U as shortenHomePath, W as sleep$1, Y as danger, Z as logVerbose, _ as createPluginRegistry, a as clearActiveProgressLine, at as theme, b as executePluginCommand, d as normalizeAnyChannelId, dt as normalizeLogLevel, et as shouldLogVerbose, f as normalizeChannelId$1, ft as resolvePreferredPoolbotTmpDir, g as setActivePluginRegistry, h as requireActivePluginRegistry, i as defaultRuntime, it as isRich, j as escapeRegExp$2, l as CHAT_CHANNEL_ORDER, nt as warn, o as registerActiveProgressLine, ot as getChildLogger, q as truncateUtf16Safe, r as createNonExitingRuntime, rt as colorize, s as unregisterActiveProgressLine, t as createSubsystemLogger, v as normalizePluginHttpPath, w as createInternalHookEvent, x as getPluginCommandSpecs, y as clearPluginCommands } from "./subsystem-hveVOFnp.js";
10
- import { n as retryAsync } from "./retry-BIbb4Fhn.js";
11
- import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as applyChannelMatchMeta, D as pinMessageDiscord, Dt as resolveChannelEntryMatchWithFallback, E as listThreadsDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveTimestampMs, T as listPinsDiscord, Tt as normalizeChannelSlug, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveGroupDmAllow, a as removeReactionDiscord, at as listDiscordDirectoryGroupsLive, b as sendWebhookMessageDiscord, bt as formatDiscordUserTag, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as chunkDiscordTextWithMode, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordShouldRequireMention, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAllowFrom, i as removeOwnReactionsDiscord, it as resolveDiscordChannelId, j as addRoleDiscord, k as searchMessagesDiscord, kt as fetchDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordRestClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryPeersLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as parseDiscordTarget, s as createDiscordFormModal, st as allowListMatches$1, tt as createDiscordClient, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as shouldEmitDiscordReactionNotification, w as fetchMessageDiscord, wt as buildChannelKeyCandidates, x as createThreadDiscord, xt as resolveDiscordSystemLocation, y as sendVoiceMessageDiscord, yt as formatDiscordReactionEmoji, z as listGuildChannelsDiscord } from "./send-BoDYXT7w.js";
12
- import { $ as getConfigValueAtPath, At as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, C as resolveIMessageRemoteAttachmentRoots, Ct as normalizeSafeBinProfileFixtures, Dt as resolveSlackNativeStreaming, Et as resolveDiscordPreviewStreamMode, G as isAvatarHttpUrl, J as validateJsonSchemaValue, K as isPathWithinRoot, Mt as VERSION, Nt as resolveOwnerDisplaySetting, Ot as resolveSlackStreamingMode, Q as unsetConfigOverride, S as resolveIMessageAttachmentRoots, St as SAFE_BIN_PROFILES, Tt as mapStreamingModeToSlackLegacyDraftStreamMode, U as AVATAR_MAX_BYTES, V as parseDurationMs, W as isAvatarDataUrl, X as resetConfigOverrides, Y as getConfigOverrides, Z as setConfigOverride, _ as normalizeTelegramCommandName, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, at as listWritableExplicitTrustedSafeBinDirs, b as isInboundPathAllowed, bt as unwrapKnownShellMultiplexerInvocation, ct as analyzeShellCommand, dt as splitCommandChain, et as parseConfigPath, ft as DEFAULT_SAFE_BINS, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as extractShellWrapperInlineCommand, ht as resolveCommandResolutionFromArgv, it as isTrustedSafeBinPath, jt as resolveAgentMaxConcurrent, lt as buildEnforcedShellCommand, mt as resolveAllowlistCandidatePath, n as loadConfig, nt as unsetConfigValueAtPath, o as writeConfigFile, ot as normalizeTrustedSafeBinDirs, pt as matchAllowlist, q as isSupportedLocalAvatarExtension, r as readConfigFileSnapshot, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, st as validateSafeBinArgv, tt as setConfigValueAtPath, ut as isWindowsPlatform, v as resolveTelegramCustomCommands, vt as isShellWrapperExecutable, w as normalizeScpRemoteHost, wt as resolveSafeBinProfiles, xt as splitShellArgs, yt as unwrapKnownDispatchWrapperInvocation, z as isSafeExecutableValue } from "./config-Cvb_0_hh.js";
13
- import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-ZEZOKCFL.js";
14
- import { $ as resolveShellEnvFallbackTimeoutMs, A as resolveAuthProfileOrder, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as resolveProfilesUnavailableReason, G as resolveAuthStorePathForDisplay, H as listProfilesForProvider, I as resolveApiKeyForProfile, J as DEFAULT_CONTEXT_TOKENS, K as resolvePoolbotAgentDir, M as isProfileInCooldown, N as markAuthProfileFailure, O as normalizeSecretInput, P as markAuthProfileUsed, R as withFileLock, S as getApiKeyForModel, T as resolveApiKeyForProvider, U as markAuthProfileGood, V as dedupeProfileIds, W as ensureAuthProfileStore, X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, Z as getShellPathFromLoginShell, a as modelKey, b as OLLAMA_NATIVE_BASE_URL, d as resolveModelRefFromString, f as resolveReasoningDefault, i as isCliProvider, j as getSoonestCooldownExpiry, l as resolveConfiguredModelRef, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as normalizeModelRef$2, p as resolveSubagentSpawnModelSelection, q as resolveAuthProfileDisplayLabel, r as buildModelAliasIndex, rt as isDangerousHostEnvVarName, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, w as requireApiKey, x as createOllamaStreamFn } from "./model-selection-fg0UTEEu.js";
15
- import { A as logInfo, C as resolvePoolBotPackageRoot, D as spawnWithFallback, E as runExec, F as toAgentModelListLike, N as resolveAgentModelFallbackValues, O as logDebug, P as resolveAgentModelPrimaryValue, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelFallbacksOverride, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-VVS4XklM.js";
16
- import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEffectiveEnableState, n as discoverPoolBotPlugins, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-DZBgkEee.js";
17
- import { D as normalizeHyphenSlug, E as normalizeAtHashSlug, M as resolveChannelGroupRequireMention, N as resolveChannelGroupToolsPolicy, O as normalizeStringEntries, d as normalizeSignalMessagingTarget, j as resolveChannelGroupPolicy, k as normalizeStringEntriesLower, n as listChannelDocks, t as getChannelDock } from "./dock-D_55sk8e.js";
9
+ import { $ as setVerbose, A as ensureDir$3, B as resolveUserPath, C as matchPluginCommand, E as CONFIG_DIR, G as sliceUtf16Safe, H as shortenHomeInString, I as normalizeE164, J as isPlainObject, M as formatTerminalLink, N as isRecord$4, O as clampInt, S as listPluginCommands, T as triggerInternalHook, U as shortenHomePath, W as sleep$1, Y as danger, Z as logVerbose, _ as createPluginRegistry, a as clearActiveProgressLine, at as theme, b as executePluginCommand, d as normalizeAnyChannelId, dt as normalizeLogLevel, et as shouldLogVerbose, f as normalizeChannelId$1, ft as resolvePreferredPoolbotTmpDir, g as setActivePluginRegistry, h as requireActivePluginRegistry, i as defaultRuntime, it as isRich, j as escapeRegExp$2, l as CHAT_CHANNEL_ORDER, nt as warn, o as registerActiveProgressLine, ot as getChildLogger, q as truncateUtf16Safe, r as createNonExitingRuntime, rt as colorize, s as unregisterActiveProgressLine, t as createSubsystemLogger, v as normalizePluginHttpPath, w as createInternalHookEvent, x as getPluginCommandSpecs, y as clearPluginCommands } from "./subsystem-DCKWJZDj.js";
10
+ import { n as retryAsync } from "./retry-_yZ2i0kR.js";
11
+ import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as applyChannelMatchMeta, D as pinMessageDiscord, Dt as resolveChannelEntryMatchWithFallback, E as listThreadsDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveTimestampMs, T as listPinsDiscord, Tt as normalizeChannelSlug, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveGroupDmAllow, a as removeReactionDiscord, at as listDiscordDirectoryGroupsLive, b as sendWebhookMessageDiscord, bt as formatDiscordUserTag, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as chunkDiscordTextWithMode, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordShouldRequireMention, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAllowFrom, i as removeOwnReactionsDiscord, it as resolveDiscordChannelId, j as addRoleDiscord, k as searchMessagesDiscord, kt as fetchDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordRestClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryPeersLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as parseDiscordTarget, s as createDiscordFormModal, st as allowListMatches$1, tt as createDiscordClient, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as shouldEmitDiscordReactionNotification, w as fetchMessageDiscord, wt as buildChannelKeyCandidates, x as createThreadDiscord, xt as resolveDiscordSystemLocation, y as sendVoiceMessageDiscord, yt as formatDiscordReactionEmoji, z as listGuildChannelsDiscord } from "./send-DXBQ515b.js";
12
+ import { $ as getConfigValueAtPath, At as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, C as resolveIMessageRemoteAttachmentRoots, Ct as normalizeSafeBinProfileFixtures, Dt as resolveSlackNativeStreaming, Et as resolveDiscordPreviewStreamMode, G as isAvatarHttpUrl, J as validateJsonSchemaValue, K as isPathWithinRoot, Mt as VERSION, Nt as resolveOwnerDisplaySetting, Ot as resolveSlackStreamingMode, Q as unsetConfigOverride, S as resolveIMessageAttachmentRoots, St as SAFE_BIN_PROFILES, Tt as mapStreamingModeToSlackLegacyDraftStreamMode, U as AVATAR_MAX_BYTES, V as parseDurationMs, W as isAvatarDataUrl, X as resetConfigOverrides, Y as getConfigOverrides, Z as setConfigOverride, _ as normalizeTelegramCommandName, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, at as listWritableExplicitTrustedSafeBinDirs, b as isInboundPathAllowed, bt as unwrapKnownShellMultiplexerInvocation, ct as analyzeShellCommand, dt as splitCommandChain, et as parseConfigPath, ft as DEFAULT_SAFE_BINS, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as extractShellWrapperInlineCommand, ht as resolveCommandResolutionFromArgv, it as isTrustedSafeBinPath, jt as resolveAgentMaxConcurrent, lt as buildEnforcedShellCommand, mt as resolveAllowlistCandidatePath, n as loadConfig, nt as unsetConfigValueAtPath, o as writeConfigFile, ot as normalizeTrustedSafeBinDirs, pt as matchAllowlist, q as isSupportedLocalAvatarExtension, r as readConfigFileSnapshot, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, st as validateSafeBinArgv, tt as setConfigValueAtPath, ut as isWindowsPlatform, v as resolveTelegramCustomCommands, vt as isShellWrapperExecutable, w as normalizeScpRemoteHost, wt as resolveSafeBinProfiles, xt as splitShellArgs, yt as unwrapKnownDispatchWrapperInvocation, z as isSafeExecutableValue } from "./config-CalFLWYb.js";
13
+ import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DUNr4pS0.js";
14
+ import { $ as resolveShellEnvFallbackTimeoutMs, A as resolveAuthProfileOrder, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as resolveProfilesUnavailableReason, G as resolveAuthStorePathForDisplay, H as listProfilesForProvider, I as resolveApiKeyForProfile, J as DEFAULT_CONTEXT_TOKENS, K as resolvePoolbotAgentDir, M as isProfileInCooldown, N as markAuthProfileFailure, O as normalizeSecretInput, P as markAuthProfileUsed, R as withFileLock, S as getApiKeyForModel, T as resolveApiKeyForProvider, U as markAuthProfileGood, V as dedupeProfileIds, W as ensureAuthProfileStore, X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, Z as getShellPathFromLoginShell, a as modelKey, b as OLLAMA_NATIVE_BASE_URL, d as resolveModelRefFromString, f as resolveReasoningDefault, i as isCliProvider, j as getSoonestCooldownExpiry, l as resolveConfiguredModelRef, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as normalizeModelRef$2, p as resolveSubagentSpawnModelSelection, q as resolveAuthProfileDisplayLabel, r as buildModelAliasIndex, rt as isDangerousHostEnvVarName, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, w as requireApiKey, x as createOllamaStreamFn } from "./model-selection-NXPDYrqg.js";
15
+ import { A as logInfo, C as resolvePoolBotPackageRoot, D as spawnWithFallback, E as runExec, F as toAgentModelListLike, N as resolveAgentModelFallbackValues, O as logDebug, P as resolveAgentModelPrimaryValue, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelFallbacksOverride, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-BGPwXHt4.js";
16
+ import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEffectiveEnableState, n as discoverPoolBotPlugins, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BFqfjuBH.js";
17
+ import { D as normalizeHyphenSlug, E as normalizeAtHashSlug, M as resolveChannelGroupRequireMention, N as resolveChannelGroupToolsPolicy, O as normalizeStringEntries, d as normalizeSignalMessagingTarget, j as resolveChannelGroupPolicy, k as normalizeStringEntriesLower, n as listChannelDocks, t as getChannelDock } from "./dock-C9QHQ8_U.js";
18
18
  import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-tsxe5Pi5.js";
19
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-D4GAsro9.js";
19
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-Ddv27ANU.js";
20
20
  import { n as normalizePollInput } from "./polls-B-RrIekF.js";
21
- import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg } from "./image-ops-CmVfQD46.js";
21
+ import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg } from "./image-ops-ZJuDRWR0.js";
22
22
  import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-CYHMfycg.js";
23
23
  import { t as fetchWithSsrFGuard } from "./fetch-guard-DdYHBbAr.js";
24
- import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-DeFZOCiu.js";
25
- import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-D6o8pS7g.js";
26
- import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-DuxWMY3u.js";
27
- import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-C7CXWd_U.js";
24
+ import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-mKPW8ygi.js";
25
+ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-DTmVQKcx.js";
26
+ import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-Bm_b4Rdk.js";
27
+ import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-V6HmZ2XV.js";
28
28
  import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
29
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DE5Qnrct.js";
30
- import { t as convertMarkdownTables } from "./tables-DaOsBW9B.js";
31
- import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-BXHZAUK4.js";
32
- import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-CNAKSzTT.js";
33
- import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-BTchOCpW.js";
34
- import { $ as upsertChannelPairingRequest, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as withTelegramApiErrorLogging, H as firstDefined$1, I as resolveTelegramReplyId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as removeChannelAllowFromStoreEntry, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as addChannelAllowFromStoreEntry, Y as resolveTelegramTargetChatType, Z as readChannelAllowFromStore, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, ct as writeJsonFileAtomically, d as wasSentByBot, et as getPairingAdapter, f as makeProxyFetch, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as formatLocationText, o as sendMessageTelegram, p as isRecoverableTelegramNetworkError, r as deleteMessageTelegram, rt as toLocationContext, s as sendPollTelegram, st as readJsonFileWithFallback, t as buildInlineKeyboard, tt as listPairingChannels, u as resolveTelegramVoiceSend, v as resolveTelegramFetch, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as splitTelegramCaption, z as isSenderAllowed$1 } from "./send-DVso6ZFj.js";
35
- import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-OuwmobHs.js";
36
- import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-BAuJ4WEo.js";
37
- import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-d8W_wXzC.js";
29
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DoP62_9A.js";
30
+ import { t as convertMarkdownTables } from "./tables-wvxrt6J4.js";
31
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-jhZEqvnb.js";
32
+ import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-DWEwuz_e.js";
33
+ import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-aNmfXfb8.js";
34
+ import { $ as upsertChannelPairingRequest, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as withTelegramApiErrorLogging, H as firstDefined$1, I as resolveTelegramReplyId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as removeChannelAllowFromStoreEntry, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as addChannelAllowFromStoreEntry, Y as resolveTelegramTargetChatType, Z as readChannelAllowFromStore, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, ct as writeJsonFileAtomically, d as wasSentByBot, et as getPairingAdapter, f as makeProxyFetch, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as formatLocationText, o as sendMessageTelegram, p as isRecoverableTelegramNetworkError, r as deleteMessageTelegram, rt as toLocationContext, s as sendPollTelegram, st as readJsonFileWithFallback, t as buildInlineKeyboard, tt as listPairingChannels, u as resolveTelegramVoiceSend, v as resolveTelegramFetch, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as splitTelegramCaption, z as isSenderAllowed$1 } from "./send-DZfhnNTf.js";
35
+ import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-D04xtFtX.js";
36
+ import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-CaZMeryV.js";
37
+ import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-CjM9niRP.js";
38
38
  import { a as resolveSenderLabel, i as formatInboundBodyWithSenderMeta, r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DvBz4Pqb.js";
39
- import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, h as writeJsonAtomic, i as resolveSkillCommandInvocation, l as generatePairingToken, m as readJsonFile, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as createAsyncLock, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-CyHfanjn.js";
40
- import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-ltNydZfl.js";
41
- import { E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, M as isLoopbackHost, N as isSecureWebSocketUrl, P as rawDataToString, S as ensureChromeExtensionRelayServer } from "./chrome-CzJggrJb.js";
42
- import { r as resolveIMessageAccount } from "./accounts-jG3ZGBLX.js";
43
- import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-qps-PGaZ.js";
44
- import { C as initializeGlobalHookRunner, S as getGlobalHookRunner, _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as splitMediaFromOutput, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as throwIfAborted, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as parseReplyDirectives, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-B42CCy-k.js";
45
- import { A as resolveSessionLockMaxHoldFromTimeout, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, O as normalizeInputProvenance, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, U as deriveSessionMetaPatch, V as resolveExplicitAgentSessionKey, W as resolveGroupSessionKey, _ as normalizeDeliveryContext, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, i as appendAssistantMessageToSessionTranscript, j as resolveSessionKey, k as acquireSessionWriteLock, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, r as resolveAndPersistSessionFile, s as readSessionUpdatedAt, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as canonicalizeMainSessionAlias } from "./sessions-y6F4HK01.js";
39
+ import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, h as writeJsonAtomic, i as resolveSkillCommandInvocation, l as generatePairingToken, m as readJsonFile, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as createAsyncLock, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-DZRXpv5U.js";
40
+ import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-CR6phPRG.js";
41
+ import { E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, M as isLoopbackHost, N as isSecureWebSocketUrl, P as rawDataToString, S as ensureChromeExtensionRelayServer } from "./chrome-CvAYixUS.js";
42
+ import { r as resolveIMessageAccount } from "./accounts-B_Aoe1VF.js";
43
+ import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BWFiu4Jm.js";
44
+ import { C as initializeGlobalHookRunner, S as getGlobalHookRunner, _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as splitMediaFromOutput, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as throwIfAborted, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as parseReplyDirectives, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-JeijIJ_l.js";
45
+ import { A as resolveSessionLockMaxHoldFromTimeout, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, O as normalizeInputProvenance, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, U as deriveSessionMetaPatch, V as resolveExplicitAgentSessionKey, W as resolveGroupSessionKey, _ as normalizeDeliveryContext, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, i as appendAssistantMessageToSessionTranscript, j as resolveSessionKey, k as acquireSessionWriteLock, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, r as resolveAndPersistSessionFile, s as readSessionUpdatedAt, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as canonicalizeMainSessionAlias } from "./sessions-DtNJ3noi.js";
46
46
  import { n as resolveConversationLabel } from "./conversation-label-0LKc3r8B.js";
47
47
  import { a as resolveSessionTranscriptPath, c as resolveSessionTranscriptsDirForAgent, i as resolveSessionFilePathOptions, l as resolveStorePath, n as resolveDefaultSessionStorePath, r as resolveSessionFilePath } from "./paths-D2UEL-Lp.js";
48
48
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-BRtRQL6c.js";
49
- import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-6crJ6mAV.js";
50
- import { r as saveMediaBuffer } from "./store-iXRTfog7.js";
51
- import { $ as normalizeToolName, A as isTransientHttpError, B as resolveProfile, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as resolveSandboxContext, G as resolveSandboxConfigForAgent, H as resolveExistingPathsWithinRoot, I as resolveSandboxRuntimeStatus, J as collectExplicitAllowlist, K as applyOwnerOnlyToolPolicy, L as createBrowserRouteContext, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as ensureSandboxWorkspaceForSession, Q as expandToolGroups, R as registerBrowserRoutes, S as isCompactionFailureError, T as isFailoverErrorMessage, U as getBridgeAuthForPort, V as DEFAULT_UPLOAD_DIR, W as resolveBrowserControlAuth, X as mergeAlsoAllowPolicy, Y as expandPolicyWithPluginGroups, Z as stripPluginOnlyAllowlist, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as sanitizeGoogleTurnOrdering, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as downgradeOpenAIReasoningBlocks, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, it as resolveBootstrapTotalMaxChars, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, nt as ensureSessionHeader, o as normalizeTextForComparison, ot as resolveGatewayCredentialsFromConfig, p as BILLING_ERROR_USER_MESSAGE, q as buildPluginToolGroups, r as pickFallbackThinkingLevel, rt as resolveBootstrapMaxChars, s as sanitizeSessionMessagesImages, st as trimToUndefined$1, t as validateAnthropicTurns, tt as buildBootstrapContextFiles, u as sanitizeToolCallIdsForCloudCodeAssist, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError, z as resolveBrowserConfig } from "./pi-embedded-helpers-NO6wKxeX.js";
52
- import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, o as normalizeIMessageHandle, r as createIMessageRpcClient, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-56Eh1faD.js";
49
+ import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-D60C7LDV.js";
50
+ import { r as saveMediaBuffer } from "./store-C16Z0xyv.js";
51
+ import { $ as normalizeToolName, A as isTransientHttpError, B as resolveProfile, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as resolveSandboxContext, G as resolveSandboxConfigForAgent, H as resolveExistingPathsWithinRoot, I as resolveSandboxRuntimeStatus, J as collectExplicitAllowlist, K as applyOwnerOnlyToolPolicy, L as createBrowserRouteContext, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as ensureSandboxWorkspaceForSession, Q as expandToolGroups, R as registerBrowserRoutes, S as isCompactionFailureError, T as isFailoverErrorMessage, U as getBridgeAuthForPort, V as DEFAULT_UPLOAD_DIR, W as resolveBrowserControlAuth, X as mergeAlsoAllowPolicy, Y as expandPolicyWithPluginGroups, Z as stripPluginOnlyAllowlist, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as sanitizeGoogleTurnOrdering, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as downgradeOpenAIReasoningBlocks, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, it as resolveBootstrapTotalMaxChars, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, nt as ensureSessionHeader, o as normalizeTextForComparison, ot as resolveGatewayCredentialsFromConfig, p as BILLING_ERROR_USER_MESSAGE, q as buildPluginToolGroups, r as pickFallbackThinkingLevel, rt as resolveBootstrapMaxChars, s as sanitizeSessionMessagesImages, st as trimToUndefined$1, t as validateAnthropicTurns, tt as buildBootstrapContextFiles, u as sanitizeToolCallIdsForCloudCodeAssist, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError, z as resolveBrowserConfig } from "./pi-embedded-helpers-MQke31iR.js";
52
+ import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, o as normalizeIMessageHandle, r as createIMessageRpcClient, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-CXQWlgb5.js";
53
53
  import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-Bg6S5Vbg.js";
54
- import { C as minimaxUnderstandImage, S as ensurePoolBotModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as findCodeRegions, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-2TrHOu12.js";
54
+ import { C as minimaxUnderstandImage, S as ensurePoolBotModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as findCodeRegions, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-PMejekDd.js";
55
55
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-B0YMLTqd.js";
56
56
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-B-5_WwG4.js";
57
- import { r as compileSafeRegex, t as redactSensitiveText } from "./redact-DrMZdRBQ.js";
58
- import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-Bg9q_I6A.js";
57
+ import { r as compileSafeRegex, t as redactSensitiveText } from "./redact-zRRwM--k.js";
58
+ import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-BcB0O5Cq.js";
59
59
  import { n as getDiagnosticSessionState } from "./diagnostic-session-state-CuygCGGk.js";
60
- import { t as resolveMemorySearchConfig } from "./memory-search-C1bbQYdW.js";
61
- import { c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-CDVJz8Fy.js";
60
+ import { t as resolveMemorySearchConfig } from "./memory-search-CxG7hIwk.js";
61
+ import { c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-CAxczDuK.js";
62
62
  import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-kVYl-Ncy.js";
63
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-FzatfHPq.js";
64
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-D23tHwOp.js";
65
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-DDZsNkEe.js";
63
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-g9SQv6Q9.js";
64
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-D0p01wqR.js";
65
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-CBkofcB6.js";
66
66
  import { createRequire } from "node:module";
67
67
  import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
68
68
  import * as path$1 from "node:path";
69
69
  import path from "node:path";
70
70
  import * as os$1 from "node:os";
71
71
  import os, { homedir } from "node:os";
72
- import JSON5 from "json5";
72
+ import json5 from "json5";
73
73
  import { ApplicationCommandOptionType, ButtonStyle, ChannelType, Routes, StickerFormatType } from "discord-api-types/v10";
74
74
  import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
75
75
  import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
@@ -15896,7 +15896,7 @@ async function getMemorySearchManager(params) {
15896
15896
  if (cached) return { manager: cached };
15897
15897
  }
15898
15898
  try {
15899
- const { QmdMemoryManager } = await import("./qmd-manager-DWhjseOR.js");
15899
+ const { QmdMemoryManager } = await import("./qmd-manager-BQzpOa8y.js");
15900
15900
  const primary = await QmdMemoryManager.create({
15901
15901
  cfg: params.cfg,
15902
15902
  agentId: params.agentId,
@@ -15908,7 +15908,7 @@ async function getMemorySearchManager(params) {
15908
15908
  const wrapper = new FallbackMemoryManager({
15909
15909
  primary,
15910
15910
  fallbackFactory: async () => {
15911
- const { MemoryIndexManager } = await import("./manager-_2QgK1eN.js");
15911
+ const { MemoryIndexManager } = await import("./manager-CYb7eIx_.js");
15912
15912
  return await MemoryIndexManager.get(params);
15913
15913
  }
15914
15914
  }, () => QMD_MANAGER_CACHE.delete(cacheKey));
@@ -15921,7 +15921,7 @@ async function getMemorySearchManager(params) {
15921
15921
  }
15922
15922
  }
15923
15923
  try {
15924
- const { MemoryIndexManager } = await import("./manager-_2QgK1eN.js");
15924
+ const { MemoryIndexManager } = await import("./manager-CYb7eIx_.js");
15925
15925
  return { manager: await MemoryIndexManager.get(params) };
15926
15926
  } catch (err) {
15927
15927
  return {
@@ -17451,7 +17451,7 @@ async function routeReply(params) {
17451
17451
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
17452
17452
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
17453
17453
  try {
17454
- const { deliverOutboundPayloads } = await import("./deliver-B42CCy-k.js").then((n) => n.n);
17454
+ const { deliverOutboundPayloads } = await import("./deliver-JeijIJ_l.js").then((n) => n.n);
17455
17455
  return {
17456
17456
  ok: true,
17457
17457
  messageId: (await deliverOutboundPayloads({
@@ -17774,7 +17774,7 @@ function normalizeSessionKey(value) {
17774
17774
  function readSessionStore(storePath) {
17775
17775
  try {
17776
17776
  const raw = fs.readFileSync(storePath, "utf-8");
17777
- const parsed = JSON5.parse(raw);
17777
+ const parsed = json5.parse(raw);
17778
17778
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
17779
17779
  } catch {}
17780
17780
  return {};
@@ -22823,7 +22823,7 @@ async function describeStickerImage(params) {
22823
22823
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
22824
22824
  try {
22825
22825
  const buffer = await fs$1.readFile(imagePath);
22826
- const { describeImageWithModel } = await import("./image-2TrHOu12.js").then((n) => n.n);
22826
+ const { describeImageWithModel } = await import("./image-PMejekDd.js").then((n) => n.n);
22827
22827
  return (await describeImageWithModel({
22828
22828
  buffer,
22829
22829
  fileName: "sticker.webp",
@@ -23264,7 +23264,7 @@ function createWhatsAppLoginTool() {
23264
23264
  force: Type.Optional(Type.Boolean())
23265
23265
  }),
23266
23266
  execute: async (_toolCallId, args) => {
23267
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-ap6m9nu6.js");
23267
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-ICW4g4Hv.js");
23268
23268
  if ((args?.action ?? "start") === "wait") {
23269
23269
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
23270
23270
  return {
@@ -25109,7 +25109,7 @@ async function preflightDiscordMessage(params) {
25109
25109
  let preflightTranscript;
25110
25110
  const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
25111
25111
  if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
25112
- const { transcribeFirstAudio } = await import("./audio-preflight-BaXhKA1p.js");
25112
+ const { transcribeFirstAudio } = await import("./audio-preflight-zGUTjaqC.js");
25113
25113
  const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
25114
25114
  if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
25115
25115
  ctx: {
@@ -27565,7 +27565,7 @@ async function createModelSelectionState(params) {
27565
27565
  }
27566
27566
  }
27567
27567
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
27568
- const { ensureAuthProfileStore } = await import("./model-selection-fg0UTEEu.js").then((n) => n.k);
27568
+ const { ensureAuthProfileStore } = await import("./model-selection-NXPDYrqg.js").then((n) => n.k);
27569
27569
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
27570
27570
  const providerKey = normalizeProviderId(provider);
27571
27571
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -31992,27 +31992,27 @@ function createOutboundSendDepsFromCliSource(deps) {
31992
31992
  function createDefaultDeps() {
31993
31993
  return {
31994
31994
  sendMessageWhatsApp: async (...args) => {
31995
- const { sendMessageWhatsApp } = await import("./web-zVAaF80M.js");
31995
+ const { sendMessageWhatsApp } = await import("./web-C1H026zQ.js");
31996
31996
  return await sendMessageWhatsApp(...args);
31997
31997
  },
31998
31998
  sendMessageTelegram: async (...args) => {
31999
- const { sendMessageTelegram } = await import("./send-DVso6ZFj.js").then((n) => n.l);
31999
+ const { sendMessageTelegram } = await import("./send-DZfhnNTf.js").then((n) => n.l);
32000
32000
  return await sendMessageTelegram(...args);
32001
32001
  },
32002
32002
  sendMessageDiscord: async (...args) => {
32003
- const { sendMessageDiscord } = await import("./send-BoDYXT7w.js").then((n) => n.t);
32003
+ const { sendMessageDiscord } = await import("./send-DXBQ515b.js").then((n) => n.t);
32004
32004
  return await sendMessageDiscord(...args);
32005
32005
  },
32006
32006
  sendMessageSlack: async (...args) => {
32007
- const { sendMessageSlack } = await import("./send-BTchOCpW.js").then((n) => n.n);
32007
+ const { sendMessageSlack } = await import("./send-aNmfXfb8.js").then((n) => n.n);
32008
32008
  return await sendMessageSlack(...args);
32009
32009
  },
32010
32010
  sendMessageSignal: async (...args) => {
32011
- const { sendMessageSignal } = await import("./send-CDVJz8Fy.js").then((n) => n.i);
32011
+ const { sendMessageSignal } = await import("./send-CAxczDuK.js").then((n) => n.i);
32012
32012
  return await sendMessageSignal(...args);
32013
32013
  },
32014
32014
  sendMessageIMessage: async (...args) => {
32015
- const { sendMessageIMessage } = await import("./send-56Eh1faD.js").then((n) => n.n);
32015
+ const { sendMessageIMessage } = await import("./send-CXQWlgb5.js").then((n) => n.n);
32016
32016
  return await sendMessageIMessage(...args);
32017
32017
  }
32018
32018
  };
@@ -42173,7 +42173,7 @@ function readSlackExternalArgMenuToken(raw) {
42173
42173
  }
42174
42174
  let commandsRegistry;
42175
42175
  async function getCommandsRegistry() {
42176
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Bg9q_I6A.js").then((n) => n.n);
42176
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-BcB0O5Cq.js").then((n) => n.n);
42177
42177
  return commandsRegistry;
42178
42178
  }
42179
42179
  function encodeSlackCommandArgValue(parts) {
@@ -42515,14 +42515,14 @@ async function registerSlackMonitorSlashCommands(params) {
42515
42515
  const channelName = channelInfo?.name;
42516
42516
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
42517
42517
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
42518
- import("./resolve-route-FzatfHPq.js").then((n) => n.r),
42518
+ import("./resolve-route-g9SQv6Q9.js").then((n) => n.r),
42519
42519
  import("./inbound-context-DvBz4Pqb.js").then((n) => n.n),
42520
42520
  Promise.resolve().then(() => provider_dispatcher_exports)
42521
42521
  ]);
42522
42522
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
42523
42523
  import("./conversation-label-0LKc3r8B.js").then((n) => n.t),
42524
- import("./reply-prefix-BAuJ4WEo.js").then((n) => n.r),
42525
- import("./sessions-y6F4HK01.js").then((n) => n.t)
42524
+ import("./reply-prefix-CaZMeryV.js").then((n) => n.r),
42525
+ import("./sessions-DtNJ3noi.js").then((n) => n.t)
42526
42526
  ]);
42527
42527
  const route = resolveAgentRoute({
42528
42528
  cfg,
@@ -42590,9 +42590,9 @@ async function registerSlackMonitorSlashCommands(params) {
42590
42590
  });
42591
42591
  const deliverSlashPayloads = async (replies) => {
42592
42592
  const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
42593
- import("./replies-D23tHwOp.js").then((n) => n.r),
42594
- import("./chunk-DuxWMY3u.js").then((n) => n.s),
42595
- import("./markdown-tables-DE5Qnrct.js").then((n) => n.t)
42593
+ import("./replies-D0p01wqR.js").then((n) => n.r),
42594
+ import("./chunk-Bm_b4Rdk.js").then((n) => n.s),
42595
+ import("./markdown-tables-DoP62_9A.js").then((n) => n.t)
42596
42596
  ]);
42597
42597
  await deliverSlackSlashReplies({
42598
42598
  replies,
@@ -42645,7 +42645,7 @@ async function registerSlackMonitorSlashCommands(params) {
42645
42645
  let nativeCommands = [];
42646
42646
  if (nativeEnabled) {
42647
42647
  reg = await getCommandsRegistry();
42648
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-CyHfanjn.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
42648
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DZRXpv5U.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
42649
42649
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
42650
42650
  skillCommands,
42651
42651
  provider: "slack"
@@ -47601,7 +47601,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
47601
47601
  const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
47602
47602
  let preflightTranscript;
47603
47603
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
47604
- const { transcribeFirstAudio } = await import("./audio-preflight-BaXhKA1p.js");
47604
+ const { transcribeFirstAudio } = await import("./audio-preflight-zGUTjaqC.js");
47605
47605
  preflightTranscript = await transcribeFirstAudio({
47606
47606
  ctx: {
47607
47607
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -49925,23 +49925,23 @@ let webLoginQrPromise = null;
49925
49925
  let webChannelPromise = null;
49926
49926
  let whatsappActionsPromise = null;
49927
49927
  function loadWebOutbound() {
49928
- webOutboundPromise ??= import("./outbound-D8A6GSQk.js").then((n) => n.t);
49928
+ webOutboundPromise ??= import("./outbound-DLythW5Y.js").then((n) => n.t);
49929
49929
  return webOutboundPromise;
49930
49930
  }
49931
49931
  function loadWebLogin() {
49932
- webLoginPromise ??= import("./login-dZqIajpQ.js").then((n) => n.n);
49932
+ webLoginPromise ??= import("./login-CiqPouyC.js").then((n) => n.n);
49933
49933
  return webLoginPromise;
49934
49934
  }
49935
49935
  function loadWebLoginQr() {
49936
- webLoginQrPromise ??= import("./login-qr-ap6m9nu6.js");
49936
+ webLoginQrPromise ??= import("./login-qr-ICW4g4Hv.js");
49937
49937
  return webLoginQrPromise;
49938
49938
  }
49939
49939
  function loadWebChannel() {
49940
- webChannelPromise ??= import("./web-zVAaF80M.js");
49940
+ webChannelPromise ??= import("./web-C1H026zQ.js");
49941
49941
  return webChannelPromise;
49942
49942
  }
49943
49943
  function loadWhatsAppActions() {
49944
- whatsappActionsPromise ??= import("./whatsapp-actions-D5wHbCFK.js");
49944
+ whatsappActionsPromise ??= import("./whatsapp-actions-CHD4tRFX.js");
49945
49945
  return whatsappActionsPromise;
49946
49946
  }
49947
49947
  function createPluginRuntime() {
@@ -51241,7 +51241,7 @@ async function recordLoopOutcome(args) {
51241
51241
  if (!args.ctx?.sessionKey) return;
51242
51242
  try {
51243
51243
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CuygCGGk.js").then((n) => n.t);
51244
- const { recordToolCallOutcome } = await import("./tool-loop-detection-B9dhAJa7.js");
51244
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-DrD6bnfk.js");
51245
51245
  recordToolCallOutcome(getDiagnosticSessionState({
51246
51246
  sessionKey: args.ctx.sessionKey,
51247
51247
  sessionId: args.ctx?.agentId
@@ -51262,8 +51262,8 @@ async function runBeforeToolCallHook(args) {
51262
51262
  const params = args.params;
51263
51263
  if (args.ctx?.sessionKey) {
51264
51264
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CuygCGGk.js").then((n) => n.t);
51265
- const { logToolLoopAction } = await import("./diagnostic-6crJ6mAV.js").then((n) => n.n);
51266
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-B9dhAJa7.js");
51265
+ const { logToolLoopAction } = await import("./diagnostic-D60C7LDV.js").then((n) => n.n);
51266
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DrD6bnfk.js");
51267
51267
  const sessionState = getDiagnosticSessionState({
51268
51268
  sessionKey: args.ctx.sessionKey,
51269
51269
  sessionId: args.ctx?.agentId
@@ -78434,7 +78434,7 @@ async function deliverSessionMaintenanceWarning(params) {
78434
78434
  return;
78435
78435
  }
78436
78436
  try {
78437
- const { deliverOutboundPayloads } = await import("./deliver-B42CCy-k.js").then((n) => n.n);
78437
+ const { deliverOutboundPayloads } = await import("./deliver-JeijIJ_l.js").then((n) => n.n);
78438
78438
  await deliverOutboundPayloads({
78439
78439
  cfg: params.cfg,
78440
78440
  channel,
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { n as resolveAgentConfig } from "./agent-scope-VVS4XklM.js";
2
+ import { n as resolveAgentConfig } from "./agent-scope-BGPwXHt4.js";
3
3
 
4
4
  //#region src/agents/identity.ts
5
5
  const DEFAULT_ACK_REACTION = "👀";
@@ -1,5 +1,5 @@
1
- import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-D-hQF0Xk.js";
2
- import { n as missingTargetError } from "./target-errors-CNAKSzTT.js";
1
+ import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-DHbYU29p.js";
2
+ import { n as missingTargetError } from "./target-errors-DWEwuz_e.js";
3
3
 
4
4
  //#region src/whatsapp/resolve-outbound-target.ts
5
5
  function resolveWhatsAppOutboundTarget(params) {
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, i as buildAgentPeerSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C7qWg3SH.js";
3
- import { et as shouldLogVerbose } from "./subsystem-hveVOFnp.js";
4
- import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-VVS4XklM.js";
3
+ import { et as shouldLogVerbose } from "./subsystem-DCKWJZDj.js";
4
+ import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-BGPwXHt4.js";
5
5
  import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
6
- import { t as listBindings } from "./bindings-De393J25.js";
6
+ import { t as listBindings } from "./bindings-6BkbZSKa.js";
7
7
 
8
8
  //#region src/routing/resolve-route.ts
9
9
  var resolve_route_exports = /* @__PURE__ */ __exportAll({
@@ -1,4 +1,4 @@
1
- import { W as sleep } from "./subsystem-hveVOFnp.js";
1
+ import { W as sleep } from "./subsystem-DCKWJZDj.js";
2
2
 
3
3
  //#region src/infra/retry.ts
4
4
  const DEFAULT_RETRY_CONFIG = {
@@ -1,14 +1,14 @@
1
- import { Z as logVerbose, et as shouldLogVerbose, ft as resolvePreferredPoolbotTmpDir, t as createSubsystemLogger } from "./subsystem-hveVOFnp.js";
2
- import { b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-Cvb_0_hh.js";
3
- import { K as resolvePoolbotAgentDir, T as resolveApiKeyForProvider, h as normalizeGoogleModelId, s as normalizeProviderId, w as requireApiKey } from "./model-selection-fg0UTEEu.js";
4
- import { E as runExec, N as resolveAgentModelFallbackValues, P as resolveAgentModelPrimaryValue } from "./agent-scope-VVS4XklM.js";
5
- import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CmVfQD46.js";
1
+ import { Z as logVerbose, et as shouldLogVerbose, ft as resolvePreferredPoolbotTmpDir, t as createSubsystemLogger } from "./subsystem-DCKWJZDj.js";
2
+ import { b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-CalFLWYb.js";
3
+ import { K as resolvePoolbotAgentDir, T as resolveApiKeyForProvider, h as normalizeGoogleModelId, s as normalizeProviderId, w as requireApiKey } from "./model-selection-NXPDYrqg.js";
4
+ import { E as runExec, N as resolveAgentModelFallbackValues, P as resolveAgentModelPrimaryValue } from "./agent-scope-BGPwXHt4.js";
5
+ import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-ZJuDRWR0.js";
6
6
  import { t as fetchWithSsrFGuard } from "./fetch-guard-DdYHBbAr.js";
7
- import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-DeFZOCiu.js";
7
+ import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-mKPW8ygi.js";
8
8
  import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
9
- import { S as ensurePoolBotModelsJson, t as describeImageWithModel } from "./image-2TrHOu12.js";
9
+ import { S as ensurePoolBotModelsJson, t as describeImageWithModel } from "./image-PMejekDd.js";
10
10
  import { t as fetchWithTimeout } from "./fetch-timeout-CpuGAP_N.js";
11
- import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BiqZicwG.js";
11
+ import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-B4du_-Od.js";
12
12
  import { constants } from "node:fs";
13
13
  import path from "node:path";
14
14
  import os from "node:os";
@@ -1090,7 +1090,7 @@ async function loadModelCatalog(params) {
1090
1090
  try {
1091
1091
  const cfg = params?.config ?? loadConfig();
1092
1092
  await ensurePoolBotModelsJson(cfg);
1093
- await (await import("./pi-auth-json-DNAb81vN.js")).ensurePiAuthJsonFromAuthProfiles(resolvePoolbotAgentDir());
1093
+ await (await import("./pi-auth-json-BgijNY1K.js")).ensurePiAuthJsonFromAuthProfiles(resolvePoolbotAgentDir());
1094
1094
  const piSdk = await importPiSdk();
1095
1095
  const agentDir = resolvePoolbotAgentDir();
1096
1096
  const { join } = await import("node:path");
@@ -1,13 +1,13 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { t as resolveFetch } from "./fetch-CoK9Ksfj.js";
3
- import { n as loadConfig } from "./config-Cvb_0_hh.js";
4
- import { _ as mediaKindFromMime } from "./image-ops-CmVfQD46.js";
5
- import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-D6o8pS7g.js";
6
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DE5Qnrct.js";
7
- import { i as resolveSignalAccount } from "./accounts-qps-PGaZ.js";
3
+ import { n as loadConfig } from "./config-CalFLWYb.js";
4
+ import { _ as mediaKindFromMime } from "./image-ops-ZJuDRWR0.js";
5
+ import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-DTmVQKcx.js";
6
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DoP62_9A.js";
7
+ import { i as resolveSignalAccount } from "./accounts-BWFiu4Jm.js";
8
8
  import { n as generateSecureUuid } from "./secure-random-B-5_WwG4.js";
9
9
  import { t as fetchWithTimeout } from "./fetch-timeout-CpuGAP_N.js";
10
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BK0GycN3.js";
10
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DkchSH7f.js";
11
11
 
12
12
  //#region src/signal/client.ts
13
13
  const DEFAULT_TIMEOUT_MS = 1e4;
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { B as resolveUserPath, I as normalizeE164 } from "./subsystem-hveVOFnp.js";
3
- import { n as loadConfig } from "./config-Cvb_0_hh.js";
4
- import { _ as mediaKindFromMime } from "./image-ops-CmVfQD46.js";
5
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DE5Qnrct.js";
6
- import { t as convertMarkdownTables } from "./tables-DaOsBW9B.js";
7
- import { r as resolveIMessageAccount } from "./accounts-jG3ZGBLX.js";
8
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BK0GycN3.js";
2
+ import { B as resolveUserPath, I as normalizeE164 } from "./subsystem-DCKWJZDj.js";
3
+ import { n as loadConfig } from "./config-CalFLWYb.js";
4
+ import { _ as mediaKindFromMime } from "./image-ops-ZJuDRWR0.js";
5
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DoP62_9A.js";
6
+ import { t as convertMarkdownTables } from "./tables-wvxrt6J4.js";
7
+ import { r as resolveIMessageAccount } from "./accounts-B_Aoe1VF.js";
8
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DkchSH7f.js";
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
 
@@ -1,16 +1,16 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, z as requireTargetKind } from "./plugins-D-hQF0Xk.js";
2
+ import { F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, z as requireTargetKind } from "./plugins-DHbYU29p.js";
3
3
  import { t as resolveFetch } from "./fetch-CoK9Ksfj.js";
4
- import { ft as resolvePreferredPoolbotTmpDir } from "./subsystem-hveVOFnp.js";
5
- import { n as retryAsync, t as resolveRetryConfig } from "./retry-BIbb4Fhn.js";
6
- import { n as loadConfig } from "./config-Cvb_0_hh.js";
7
- import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-D4GAsro9.js";
4
+ import { ft as resolvePreferredPoolbotTmpDir } from "./subsystem-DCKWJZDj.js";
5
+ import { n as retryAsync, t as resolveRetryConfig } from "./retry-_yZ2i0kR.js";
6
+ import { n as loadConfig } from "./config-CalFLWYb.js";
7
+ import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-Ddv27ANU.js";
8
8
  import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-B-RrIekF.js";
9
- import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-CmVfQD46.js";
10
- import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-D6o8pS7g.js";
11
- import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-DuxWMY3u.js";
12
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DE5Qnrct.js";
13
- import { t as convertMarkdownTables } from "./tables-DaOsBW9B.js";
9
+ import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-ZJuDRWR0.js";
10
+ import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-DTmVQKcx.js";
11
+ import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-Bm_b4Rdk.js";
12
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DoP62_9A.js";
13
+ import { t as convertMarkdownTables } from "./tables-wvxrt6J4.js";
14
14
  import path from "node:path";
15
15
  import { ButtonStyle, ChannelType, MessageFlags, PermissionFlagsBits, Routes, TextInputStyle } from "discord-api-types/v10";
16
16
  import { Button, ChannelSelectMenu, CheckboxGroup, Container, Embed, File, Label, LinkButton, MediaGallery, MentionableSelectMenu, Modal, RadioGroup, RequestClient, RoleSelectMenu, Row, Section, Separator, StringSelectMenu, TextDisplay, TextInput, Thumbnail, UserSelectMenu, parseCustomId, serializePayload } from "@buape/carbon";