@bitseek/claw 1.3.8-beta.2 → 1.3.8-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/{audio-preflight-D-sfV0QK.js → audio-preflight-DWC4cRxQ.js} +4 -4
  2. package/dist/{audio-transcription-runner-BVp79Ioa.js → audio-transcription-runner-BC2TeD8r.js} +1 -1
  3. package/dist/build-info.json +2 -2
  4. package/dist/bundled/boot-md/handler.js +6 -6
  5. package/dist/bundled/session-memory/handler.js +6 -6
  6. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  7. package/dist/{chrome-D8KosHAE.js → chrome-CGMBwBlZ.js} +8 -8
  8. package/dist/{command-registry-B9MybN-E.js → command-registry-RTq7TBkJ.js} +5 -5
  9. package/dist/{completion-cli-DDcNIc1r.js → completion-cli-Cp4gleu_.js} +2 -2
  10. package/dist/{completion-cli-6l712NPl.js → completion-cli-JABAzgO6.js} +1 -1
  11. package/dist/{deliver-3f8JxB_A.js → deliver-CPCEIyDG.js} +1 -1
  12. package/dist/{doctor-completion-B19Hs3xo.js → doctor-completion-BEtcv-8P.js} +1 -1
  13. package/dist/{doctor-completion-B6jYyC1T.js → doctor-completion-CpA-KQ0h.js} +1 -1
  14. package/dist/entry.js +2 -2
  15. package/dist/{gateway-cli-D4xVKSbv.js → gateway-cli-C44pKHoa.js} +1 -1
  16. package/dist/{gateway-cli-Cqe5_9XJ.js → gateway-cli-D1e4MuAA.js} +1 -1
  17. package/dist/{image-XbGdWslx.js → image-RroCfqy3.js} +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/llm-slug-generator.js +6 -6
  20. package/dist/{onboard-BhUYz4pd.js → onboard-Ch8Y1L6r.js} +1 -1
  21. package/dist/{onboard-CHHfB91Q.js → onboard-F7n3_iVh.js} +1 -1
  22. package/dist/{onboarding-BFylLQTs.js → onboarding-BM2AMtOF.js} +1 -1
  23. package/dist/{onboarding-Byioq4gT.js → onboarding-C3pHfO7a.js} +1 -1
  24. package/dist/{onboarding.finalize-CWPqHkqC.js → onboarding.finalize-8dcfbjPv.js} +3 -3
  25. package/dist/{onboarding.finalize-CnVCE1gR.js → onboarding.finalize-Ca_Zcpts.js} +4 -4
  26. package/dist/{pi-embedded-BJ2D2U7f.js → pi-embedded-DbU5C8eR.js} +22 -22
  27. package/dist/{pi-embedded-helpers-BL7vjkKS.js → pi-embedded-helpers-DAITpRHR.js} +3 -3
  28. package/dist/plugin-sdk/{accounts-CqgyHS8h.js → accounts-BME088co.js} +1 -1
  29. package/dist/plugin-sdk/{accounts-kIersDAH.js → accounts-CxgIc7BC.js} +1 -1
  30. package/dist/plugin-sdk/{accounts-B_Sil4df.js → accounts-DFIfXHdI.js} +3 -3
  31. package/dist/plugin-sdk/{active-listener-B1c6rQRy.js → active-listener-Dx4YdW0B.js} +1 -1
  32. package/dist/plugin-sdk/{agent-scope-DS0HILk_.js → agent-scope-BL5NPpGJ.js} +3 -3
  33. package/dist/plugin-sdk/{api-key-rotation-C2Z5xB6w.js → api-key-rotation-DZ1mvKN0.js} +2 -2
  34. package/dist/plugin-sdk/{audio-preflight-Byc0yvPV.js → audio-preflight-B8r8qUhZ.js} +33 -33
  35. package/dist/plugin-sdk/{audio-transcription-runner-DHcTy4Wb.js → audio-transcription-runner-B8gQ16hV.js} +10 -10
  36. package/dist/plugin-sdk/{bindings-D8UvbNti.js → bindings-YKerL1Tc.js} +2 -2
  37. package/dist/plugin-sdk/{channel-activity-CMtaqeTg.js → channel-activity-Dzyx86FD.js} +3 -3
  38. package/dist/plugin-sdk/{channel-web-D3N-Ttls.js → channel-web-dQSyVWDp.js} +23 -23
  39. package/dist/plugin-sdk/{chrome-DoDlUT7F.js → chrome-Hte84S6l.js} +7 -7
  40. package/dist/plugin-sdk/{chunk-BuHZrtLn.js → chunk-4pLJcTE-.js} +1 -1
  41. package/dist/plugin-sdk/{command-format-9ttCUvaP.js → command-format-TmcJI6nP.js} +1 -1
  42. package/dist/plugin-sdk/{commands-registry-ydkoxruZ.js → commands-registry-D1UwEKAH.js} +5 -5
  43. package/dist/plugin-sdk/{config-BkeO1N4t.js → config-kqUrcUGI.js} +10 -10
  44. package/dist/plugin-sdk/{deliver-BcAT1l6Y.js → deliver-DymnzypV.js} +11 -11
  45. package/dist/plugin-sdk/{diagnostic-BefhWusS.js → diagnostic-1MgpiorV.js} +2 -2
  46. package/dist/plugin-sdk/{dock-yYEdNzbx.js → dock-Csf-65jq.js} +6 -6
  47. package/dist/plugin-sdk/{errors-D2KyTKs6.js → errors-BRahpZsP.js} +1 -1
  48. package/dist/plugin-sdk/{fetch-guard-BC92RxgN.js → fetch-guard-cD2GBmNp.js} +2 -2
  49. package/dist/plugin-sdk/{fs-safe-CC4mG_Hc.js → fs-safe-DgdRzasF.js} +3 -3
  50. package/dist/plugin-sdk/{image-Cjm_y1ht.js → image-m9sEMr_K.js} +6 -6
  51. package/dist/plugin-sdk/{image-ops-CfQjZch5.js → image-ops-DhVTERkS.js} +1 -1
  52. package/dist/plugin-sdk/index.js +64 -64
  53. package/dist/plugin-sdk/{ir-CLKvSg7X.js → ir-DyMWDxUp.js} +6 -6
  54. package/dist/plugin-sdk/{local-roots-DYmtEf6P.js → local-roots-ChmGReXd.js} +4 -4
  55. package/dist/plugin-sdk/{logger-Dqmpx59X.js → logger-BwzMchOl.js} +1 -1
  56. package/dist/plugin-sdk/{login-DYEbRdfH.js → login-DIgrxuIQ.js} +6 -6
  57. package/dist/plugin-sdk/{login-qr-0YUEfC35.js → login-qr-DeAbaqfx.js} +9 -9
  58. package/dist/plugin-sdk/{manager-J_9hr0Yu.js → manager-Bic1h3Nu.js} +10 -10
  59. package/dist/plugin-sdk/{markdown-tables-BA_MdGIq.js → markdown-tables-BEWLluuz.js} +1 -1
  60. package/dist/plugin-sdk/{message-channel-CeYrurhu.js → message-channel-Be6xIObc.js} +1 -1
  61. package/dist/plugin-sdk/{outbound-B386FQiU.js → outbound-D7OdBk5M.js} +7 -7
  62. package/dist/plugin-sdk/{outbound-attachment-DgC7KgEZ.js → outbound-attachment-Y-wO2Csk.js} +2 -2
  63. package/dist/plugin-sdk/{path-alias-guards-KB1li1UU.js → path-alias-guards-CsekuFRi.js} +1 -1
  64. package/dist/plugin-sdk/{pi-embedded-helpers-CbevdnHV.js → pi-embedded-helpers-BWFPgWTA.js} +17 -17
  65. package/dist/plugin-sdk/{pi-model-discovery-Blr1NdM4.js → pi-model-discovery-DRomJojM.js} +1 -1
  66. package/dist/plugin-sdk/{plugins-Dupyelyu.js → plugins-DKZ5hSLA.js} +6 -6
  67. package/dist/plugin-sdk/{proxy-CnPaiSZ0.js → proxy-DIYzaAvh.js} +1 -1
  68. package/dist/plugin-sdk/{proxy-fetch-BY4mmpys.js → proxy-fetch-X6Ja_eZx.js} +1 -1
  69. package/dist/plugin-sdk/{pw-ai-C1rLCgeF.js → pw-ai-MuLgIL01.js} +13 -13
  70. package/dist/plugin-sdk/{qmd-manager-BtfjLkaZ.js → qmd-manager-D3p7PB5n.js} +8 -8
  71. package/dist/plugin-sdk/{query-expansion-DgHoeKXG.js → query-expansion-C90Jc5uo.js} +2 -2
  72. package/dist/plugin-sdk/{redact-Civ2olvH.js → redact-DEfi9F2o.js} +1 -1
  73. package/dist/plugin-sdk/{registry-Cq-TQPU8.js → registry-BfD4IdFK.js} +2 -2
  74. package/dist/plugin-sdk/{replies-a2WeMkU6.js → replies-GRjUBMUL.js} +3 -3
  75. package/dist/plugin-sdk/{reply-C2XVty9G.js → reply-BlPlf4OC.js} +93 -93
  76. package/dist/plugin-sdk/{reply-prefix-BRomwQau.js → reply-prefix-CobEDhG_.js} +1 -1
  77. package/dist/plugin-sdk/{resolve-outbound-target-B_xKgqWe.js → resolve-outbound-target-DkNri48r.js} +2 -2
  78. package/dist/plugin-sdk/{resolve-route-yLtq9xkG.js → resolve-route-fu19EHnm.js} +4 -4
  79. package/dist/plugin-sdk/{retry-D9aKv766.js → retry-Agt7ZiSn.js} +1 -1
  80. package/dist/plugin-sdk/{send-Ct2mLh8U.js → send-BB06ROuk.js} +15 -15
  81. package/dist/plugin-sdk/{send-Bs-YbYdN.js → send-BUpepCol.js} +6 -6
  82. package/dist/plugin-sdk/{send-WwwzoTNW.js → send-C5ymrC3h.js} +7 -7
  83. package/dist/plugin-sdk/{send-kJXSgFcu.js → send-CvC0d45Z.js} +10 -10
  84. package/dist/plugin-sdk/{send-_MTxUi5p.js → send-DwXcBQYC.js} +8 -8
  85. package/dist/plugin-sdk/{session-Bfpm71Tg.js → session-D8BNggg2.js} +5 -5
  86. package/dist/plugin-sdk/{session-meta-CM4K7B00.js → session-meta-DYb6KCvG.js} +1 -1
  87. package/dist/plugin-sdk/{sessions-DFx8MKSO.js → sessions-BtJmhzev.js} +6 -6
  88. package/dist/plugin-sdk/{skill-commands-CakvOluN.js → skill-commands-C3OZ4W61.js} +5 -5
  89. package/dist/plugin-sdk/{skills-CZFBOkwT.js → skills-CIvz2coj.js} +8 -8
  90. package/dist/plugin-sdk/{ssrf-BjVCUeM7.js → ssrf-EGzUkeVq.js} +1 -1
  91. package/dist/plugin-sdk/{store-DALs5PIC.js → store-Dij_2k2X.js} +2 -2
  92. package/dist/plugin-sdk/{subsystem-DQdKZm8Z.js → subsystem-C84uWxqx.js} +2 -2
  93. package/dist/plugin-sdk/{tables-BQwHnOX0.js → tables-CTWsNiUf.js} +1 -1
  94. package/dist/plugin-sdk/{target-errors-DqlHqAmV.js → target-errors-Bgd_Uo0g.js} +2 -2
  95. package/dist/plugin-sdk/{tokens-C_Ieeb03.js → tokens-B9E-mnf_.js} +1 -1
  96. package/dist/plugin-sdk/{tool-images-RhD8geto.js → tool-images-0gnewwTL.js} +2 -2
  97. package/dist/plugin-sdk/{tool-loop-detection-CKnmaEeR.js → tool-loop-detection-Bsh07kcw.js} +2 -2
  98. package/dist/plugin-sdk/{utils-hxOwZduA.js → utils-BA7Xm0uM.js} +1 -1
  99. package/dist/plugin-sdk/web-D48I7g5u.js +72 -0
  100. package/dist/plugin-sdk/{whatsapp-actions-CudQXAzF.js → whatsapp-actions-BLoPRR5B.js} +25 -25
  101. package/dist/{program-Be2ymElx.js → program-CStT3Tdz.js} +2 -2
  102. package/dist/{program-context-VmNKrCEz.js → program-context-uwFKpk8g.js} +7 -7
  103. package/dist/{prompt-select-styled-VDz-k6PU.js → prompt-select-styled-BOM_B36f.js} +1 -1
  104. package/dist/{prompt-select-styled-y3MS0Ion.js → prompt-select-styled-ByCoxIUa.js} +1 -1
  105. package/dist/{pw-ai-B5Q17lfW.js → pw-ai-BlcIl51R.js} +1 -1
  106. package/dist/{register.init-kK0U4c1X.js → register.init-BzRts3RZ.js} +14 -5
  107. package/dist/{register.init-BG8FagAY.js → register.init-CIS-LY0i.js} +14 -5
  108. package/dist/{register.maintenance-DXzqBj6G.js → register.maintenance-BTwdTZnP.js} +4 -4
  109. package/dist/{register.maintenance-JgN7l-Nt.js → register.maintenance-DWo73fOE.js} +5 -5
  110. package/dist/{register.onboard-8ktAun-c.js → register.onboard-Cu-xLkmj.js} +2 -2
  111. package/dist/{register.onboard-Cx_a7wmX.js → register.onboard-ps-7r0Bx.js} +2 -2
  112. package/dist/{register.setup-DwSY2woO.js → register.setup-DFniVrQp.js} +2 -2
  113. package/dist/{register.setup-ByRV6Cja.js → register.setup-DOgl3Biv.js} +2 -2
  114. package/dist/{register.subclis-BL5uM8m-.js → register.subclis-BMjHVUZN.js} +3 -3
  115. package/dist/{run-main-CTvTsMR8.js → run-main-DoPcdD6j.js} +3 -3
  116. package/dist/{update-cli-DzGTmqj1.js → update-cli-CO3mOkqg.js} +4 -4
  117. package/dist/{update-cli-D11Y1iYl.js → update-cli-ny6m1bJQ.js} +5 -5
  118. package/dist/{web-DcyT3FlY.js → web-DoyNp6wO.js} +6 -6
  119. package/package.json +1 -1
  120. package/dist/plugin-sdk/web-DLrSMEN4.js +0 -72
@@ -1,18 +1,18 @@
1
1
  import "./paths-STHPF-Vp.js";
2
2
  import "./github-copilot-token-OlEJk9vh.js";
3
- import "./config-BkeO1N4t.js";
4
- import { T as resolvePreferredOpenClawTmpDir } from "./subsystem-DQdKZm8Z.js";
5
- import "./utils-hxOwZduA.js";
6
- import { t as formatCliCommand } from "./command-format-9ttCUvaP.js";
7
- import "./agent-scope-DS0HILk_.js";
8
- import "./logger-Dqmpx59X.js";
9
- import "./registry-Cq-TQPU8.js";
10
- import "./redact-Civ2olvH.js";
11
- import { r as formatErrorMessage } from "./errors-D2KyTKs6.js";
12
- import "./path-alias-guards-KB1li1UU.js";
13
- import { c as writeFileFromPathWithinRoot } from "./fs-safe-CC4mG_Hc.js";
14
- import "./ssrf-BjVCUeM7.js";
15
- import { A as DEFAULT_DOWNLOAD_DIR, I as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_UPLOAD_DIR, P as resolveStrictExistingPathsWithinRoot, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_TRACE_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-DoDlUT7F.js";
3
+ import "./config-kqUrcUGI.js";
4
+ import { T as resolvePreferredOpenClawTmpDir } from "./subsystem-C84uWxqx.js";
5
+ import "./utils-BA7Xm0uM.js";
6
+ import { t as formatCliCommand } from "./command-format-TmcJI6nP.js";
7
+ import "./agent-scope-BL5NPpGJ.js";
8
+ import "./logger-BwzMchOl.js";
9
+ import "./registry-BfD4IdFK.js";
10
+ import "./redact-DEfi9F2o.js";
11
+ import { r as formatErrorMessage } from "./errors-BRahpZsP.js";
12
+ import "./path-alias-guards-CsekuFRi.js";
13
+ import { c as writeFileFromPathWithinRoot } from "./fs-safe-DgdRzasF.js";
14
+ import "./ssrf-EGzUkeVq.js";
15
+ import { A as DEFAULT_DOWNLOAD_DIR, I as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_UPLOAD_DIR, P as resolveStrictExistingPathsWithinRoot, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_TRACE_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-Hte84S6l.js";
16
16
  import path from "node:path";
17
17
  import fs from "node:fs/promises";
18
18
  import crypto from "node:crypto";
@@ -1,15 +1,15 @@
1
1
  import { S as parseAgentSessionKey } from "./session-key-CVIXEtLx.js";
2
2
  import { c as resolveStateDir } from "./paths-STHPF-Vp.js";
3
- import { t as createSubsystemLogger } from "./subsystem-DQdKZm8Z.js";
4
- import "./utils-hxOwZduA.js";
5
- import { s as resolveAgentWorkspaceDir } from "./agent-scope-DS0HILk_.js";
6
- import "./logger-Dqmpx59X.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
4
+ import "./utils-BA7Xm0uM.js";
5
+ import { s as resolveAgentWorkspaceDir } from "./agent-scope-BL5NPpGJ.js";
6
+ import "./logger-BwzMchOl.js";
7
7
  import "./paths-B3rYtuY3.js";
8
- import "./redact-Civ2olvH.js";
9
- import "./path-alias-guards-KB1li1UU.js";
10
- import { l as writeFileWithinRoot } from "./fs-safe-CC4mG_Hc.js";
8
+ import "./redact-DEfi9F2o.js";
9
+ import "./path-alias-guards-CsekuFRi.js";
10
+ import { l as writeFileWithinRoot } from "./fs-safe-DgdRzasF.js";
11
11
  import { i as resolveWindowsSpawnProgram, n as materializeWindowsSpawnProgram } from "./windows-spawn-CH7H4rha.js";
12
- import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-DgHoeKXG.js";
12
+ import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-C90Jc5uo.js";
13
13
  import path from "node:path";
14
14
  import os from "node:os";
15
15
  import fs from "node:fs/promises";
@@ -1,7 +1,7 @@
1
- import { t as createSubsystemLogger } from "./subsystem-DQdKZm8Z.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
2
2
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ckp-v-FK.js";
3
3
  import { o as resolveSessionTranscriptsDirForAgent } from "./paths-B3rYtuY3.js";
4
- import { t as redactSensitiveText } from "./redact-Civ2olvH.js";
4
+ import { t as redactSensitiveText } from "./redact-DEfi9F2o.js";
5
5
  import { createRequire } from "node:module";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { C as resolveNodeRequireFromMeta } from "./subsystem-DQdKZm8Z.js";
1
+ import { C as resolveNodeRequireFromMeta } from "./subsystem-C84uWxqx.js";
2
2
 
3
3
  //#region src/security/safe-regex.ts
4
4
  const SAFE_REGEX_CACHE_MAX = 256;
@@ -1,5 +1,5 @@
1
- import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-DQdKZm8Z.js";
2
- import { h as resolveUserPath } from "./utils-hxOwZduA.js";
1
+ import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-C84uWxqx.js";
2
+ import { h as resolveUserPath } from "./utils-BA7Xm0uM.js";
3
3
  import path from "node:path";
4
4
 
5
5
  //#region src/hooks/internal-hooks.ts
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { i as chunkMarkdownTextWithMode } from "./chunk-BuHZrtLn.js";
3
- import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-_MTxUi5p.js";
4
- import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-C_Ieeb03.js";
2
+ import { i as chunkMarkdownTextWithMode } from "./chunk-4pLJcTE-.js";
3
+ import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-DwXcBQYC.js";
4
+ import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B9E-mnf_.js";
5
5
 
6
6
  //#region src/auto-reply/reply/reply-reference.ts
7
7
  function createReplyReferencePlanner(options) {
@@ -1,79 +1,79 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { C as resolveThreadParentSessionKey, S as parseAgentSessionKey, _ as deriveSessionChatType, b as isCronSessionKey, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as isBlockedObjectKey, h as normalizeOptionalAccountId, l as normalizeMainKey, m as normalizeAccountId$2, o as classifySessionKeyShape, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as getSubagentDepth, x as isSubagentSessionKey, y as isAcpSessionKey } from "./session-key-CVIXEtLx.js";
3
- import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-B_Sil4df.js";
3
+ import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-DFIfXHdI.js";
4
4
  import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, p as resolveCliName, r as resolveConfigPath } from "./paths-STHPF-Vp.js";
5
5
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-OlEJk9vh.js";
6
- import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-BkeO1N4t.js";
7
- import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as normalizeLogLevel, y as getChildLogger } from "./subsystem-DQdKZm8Z.js";
8
- import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-hxOwZduA.js";
9
- import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-9ttCUvaP.js";
10
- import { A as spawnWithFallback, B as isPathInside$1, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, R as hasNodeErrorCode, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace, z as isNotFoundPathError } from "./agent-scope-DS0HILk_.js";
11
- import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-Dqmpx59X.js";
6
+ import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-kqUrcUGI.js";
7
+ import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as normalizeLogLevel, y as getChildLogger } from "./subsystem-C84uWxqx.js";
8
+ import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-BA7Xm0uM.js";
9
+ import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-TmcJI6nP.js";
10
+ import { A as spawnWithFallback, B as isPathInside$1, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, R as hasNodeErrorCode, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace, z as isNotFoundPathError } from "./agent-scope-BL5NPpGJ.js";
11
+ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-BwzMchOl.js";
12
12
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ckp-v-FK.js";
13
- import { _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-Cq-TQPU8.js";
14
- import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-yYEdNzbx.js";
15
- 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-CeYrurhu.js";
16
- import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-DFx8MKSO.js";
13
+ import { _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-BfD4IdFK.js";
14
+ import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-Csf-65jq.js";
15
+ 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-Be6xIObc.js";
16
+ import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-BtJmhzev.js";
17
17
  import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
18
18
  import { n as resolveConversationLabel } from "./conversation-label-nAHBBt-I.js";
19
19
  import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
20
- import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-Dupyelyu.js";
21
- import { r as resolveIMessageAccount } from "./accounts-kIersDAH.js";
22
- import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-CqgyHS8h.js";
23
- import { t as buildChannelAccountBindings } from "./bindings-D8UvbNti.js";
24
- import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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 resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-kJXSgFcu.js";
20
+ import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-DKZ5hSLA.js";
21
+ import { r as resolveIMessageAccount } from "./accounts-CxgIc7BC.js";
22
+ import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BME088co.js";
23
+ import { t as buildChannelAccountBindings } from "./bindings-YKerL1Tc.js";
24
+ import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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 resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-CvC0d45Z.js";
25
25
  import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-B3rYtuY3.js";
26
26
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-BLPb80aT.js";
27
27
  import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Bitiknz-.js";
28
28
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-C-qHqfzG.js";
29
29
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BEtAimXS.js";
30
- import { n as retryAsync } from "./retry-D9aKv766.js";
31
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-Civ2olvH.js";
32
- import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-D2KyTKs6.js";
33
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-CMtaqeTg.js";
30
+ import { n as retryAsync } from "./retry-Agt7ZiSn.js";
31
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DEfi9F2o.js";
32
+ import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-BRahpZsP.js";
33
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-Dzyx86FD.js";
34
34
  import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
35
35
  import { n as normalizePollInput } from "./polls-DN23oxyB.js";
36
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-KB1li1UU.js";
37
- import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-CC4mG_Hc.js";
38
- import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CfQjZch5.js";
39
- import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-BjVCUeM7.js";
40
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BC92RxgN.js";
41
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-DYmtEf6P.js";
42
- import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-CLKvSg7X.js";
43
- import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-BuHZrtLn.js";
44
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BA_MdGIq.js";
45
- import { t as convertMarkdownTables } from "./tables-BQwHnOX0.js";
46
- import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-WwwzoTNW.js";
47
- import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-Ct2mLh8U.js";
48
- import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-RhD8geto.js";
49
- import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-DqlHqAmV.js";
50
- import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-_MTxUi5p.js";
51
- import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as resolveAliasedOpenAiCompatibleModelId, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, x as buildRandomTempFilePath, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-DHcTy4Wb.js";
52
- import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-BRomwQau.js";
53
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-C_Ieeb03.js";
54
- import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-CakvOluN.js";
55
- 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-CZFBOkwT.js";
56
- import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-DoDlUT7F.js";
57
- import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-BcAT1l6Y.js";
58
- 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-BefhWusS.js";
59
- import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-DALs5PIC.js";
60
- import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-CbevdnHV.js";
36
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CsekuFRi.js";
37
+ import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DgdRzasF.js";
38
+ import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DhVTERkS.js";
39
+ import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-EGzUkeVq.js";
40
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-cD2GBmNp.js";
41
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-ChmGReXd.js";
42
+ import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-DyMWDxUp.js";
43
+ import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-4pLJcTE-.js";
44
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
45
+ import { t as convertMarkdownTables } from "./tables-CTWsNiUf.js";
46
+ import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-C5ymrC3h.js";
47
+ import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-BB06ROuk.js";
48
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-0gnewwTL.js";
49
+ import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-Bgd_Uo0g.js";
50
+ import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-DwXcBQYC.js";
51
+ import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as resolveAliasedOpenAiCompatibleModelId, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, x as buildRandomTempFilePath, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-B8gQ16hV.js";
52
+ import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-CobEDhG_.js";
53
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-B9E-mnf_.js";
54
+ import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-C3OZ4W61.js";
55
+ 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-CIvz2coj.js";
56
+ import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-Hte84S6l.js";
57
+ import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-DymnzypV.js";
58
+ 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-1MgpiorV.js";
59
+ import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-Dij_2k2X.js";
60
+ import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-BWFPgWTA.js";
61
61
  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-DGaZRXAR.js";
62
62
  import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DZb6zIHq.js";
63
- import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, 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 formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-Cjm_y1ht.js";
64
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Blr1NdM4.js";
63
+ import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, 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 formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-m9sEMr_K.js";
64
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DRomJojM.js";
65
65
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-C5PtFEje.js";
66
- import { t as makeProxyFetch } from "./proxy-fetch-BY4mmpys.js";
67
- import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-ydkoxruZ.js";
66
+ import { t as makeProxyFetch } from "./proxy-fetch-X6Ja_eZx.js";
67
+ import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-D1UwEKAH.js";
68
68
  import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Wd5tNeQG.js";
69
69
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-4RHRb_OP.js";
70
- import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-Bs-YbYdN.js";
71
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-yLtq9xkG.js";
72
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-a2WeMkU6.js";
73
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-B1c6rQRy.js";
74
- import { t as recordInboundSessionMetaSafe } from "./session-meta-CM4K7B00.js";
75
- import { n as resolveMemorySearchConfig } from "./manager-J_9hr0Yu.js";
76
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-DgHoeKXG.js";
70
+ import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-BUpepCol.js";
71
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-fu19EHnm.js";
72
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-GRjUBMUL.js";
73
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-Dx4YdW0B.js";
74
+ import { t as recordInboundSessionMetaSafe } from "./session-meta-DYb6KCvG.js";
75
+ import { n as resolveMemorySearchConfig } from "./manager-Bic1h3Nu.js";
76
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-C90Jc5uo.js";
77
77
  import { createRequire } from "node:module";
78
78
  import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
79
79
  import * as path$1 from "node:path";
@@ -83,7 +83,7 @@ import * as fs$2 from "node:fs/promises";
83
83
  import fs$1 from "node:fs/promises";
84
84
  import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
85
85
  import { inspect, promisify } from "node:util";
86
- import JSON5 from "json5";
86
+ import json5 from "json5";
87
87
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
88
88
  import { fileURLToPath } from "node:url";
89
89
  import { complete, completeSimple, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
@@ -7852,7 +7852,7 @@ async function sendTranscriptEcho(params) {
7852
7852
  }
7853
7853
  const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
7854
7854
  try {
7855
- const { deliverOutboundPayloads } = await import("./deliver-BcAT1l6Y.js").then((n) => n.n);
7855
+ const { deliverOutboundPayloads } = await import("./deliver-DymnzypV.js").then((n) => n.n);
7856
7856
  await deliverOutboundPayloads({
7857
7857
  cfg,
7858
7858
  channel: normalizedChannel,
@@ -22391,7 +22391,7 @@ async function routeReply(params) {
22391
22391
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
22392
22392
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
22393
22393
  try {
22394
- const { deliverOutboundPayloads } = await import("./deliver-BcAT1l6Y.js").then((n) => n.n);
22394
+ const { deliverOutboundPayloads } = await import("./deliver-DymnzypV.js").then((n) => n.n);
22395
22395
  const outboundSession = buildOutboundSessionContext({
22396
22396
  cfg,
22397
22397
  agentId: resolvedAgentId,
@@ -22875,7 +22875,7 @@ function normalizeSessionKey(value) {
22875
22875
  function readSessionStore(storePath) {
22876
22876
  try {
22877
22877
  const raw = fs.readFileSync(storePath, "utf-8");
22878
- const parsed = JSON5.parse(raw);
22878
+ const parsed = json5.parse(raw);
22879
22879
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
22880
22880
  } catch {}
22881
22881
  return {};
@@ -32282,7 +32282,7 @@ async function describeStickerImage(params) {
32282
32282
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
32283
32283
  try {
32284
32284
  const buffer = await fs$1.readFile(imagePath);
32285
- const { describeImageWithModel } = await import("./image-Cjm_y1ht.js").then((n) => n.n);
32285
+ const { describeImageWithModel } = await import("./image-m9sEMr_K.js").then((n) => n.n);
32286
32286
  return (await describeImageWithModel({
32287
32287
  buffer,
32288
32288
  fileName: "sticker.webp",
@@ -33549,7 +33549,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
33549
33549
  const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
33550
33550
  let transcript;
33551
33551
  if (needsPreflightTranscription) try {
33552
- const { transcribeFirstAudio } = await import("./audio-preflight-Byc0yvPV.js");
33552
+ const { transcribeFirstAudio } = await import("./audio-preflight-B8r8qUhZ.js");
33553
33553
  const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
33554
33554
  if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
33555
33555
  ctx: {
@@ -36160,7 +36160,7 @@ function ensureContextWindowCacheLoaded() {
36160
36160
  await ensureOpenClawModelsJson(cfg);
36161
36161
  } catch {}
36162
36162
  try {
36163
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-Blr1NdM4.js").then((n) => n.r);
36163
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DRomJojM.js").then((n) => n.r);
36164
36164
  const agentDir = resolveOpenClawAgentDir();
36165
36165
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
36166
36166
  applyDiscoveredContextWindows({
@@ -36522,7 +36522,7 @@ async function createModelSelectionState(params) {
36522
36522
  }
36523
36523
  }
36524
36524
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
36525
- const { ensureAuthProfileStore } = await import("./config-BkeO1N4t.js").then((n) => n.Nn);
36525
+ const { ensureAuthProfileStore } = await import("./config-kqUrcUGI.js").then((n) => n.Nn);
36526
36526
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
36527
36527
  const providerKey = normalizeProviderId(provider);
36528
36528
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -41201,27 +41201,27 @@ function createOutboundSendDepsFromCliSource(deps) {
41201
41201
  function createDefaultDeps() {
41202
41202
  return {
41203
41203
  sendMessageWhatsApp: async (...args) => {
41204
- const { sendMessageWhatsApp } = await import("./web-DLrSMEN4.js");
41204
+ const { sendMessageWhatsApp } = await import("./web-D48I7g5u.js");
41205
41205
  return await sendMessageWhatsApp(...args);
41206
41206
  },
41207
41207
  sendMessageTelegram: async (...args) => {
41208
- const { sendMessageTelegram } = await import("./send-Ct2mLh8U.js").then((n) => n.l);
41208
+ const { sendMessageTelegram } = await import("./send-BB06ROuk.js").then((n) => n.l);
41209
41209
  return await sendMessageTelegram(...args);
41210
41210
  },
41211
41211
  sendMessageDiscord: async (...args) => {
41212
- const { sendMessageDiscord } = await import("./send-kJXSgFcu.js").then((n) => n.t);
41212
+ const { sendMessageDiscord } = await import("./send-CvC0d45Z.js").then((n) => n.t);
41213
41213
  return await sendMessageDiscord(...args);
41214
41214
  },
41215
41215
  sendMessageSlack: async (...args) => {
41216
- const { sendMessageSlack } = await import("./send-_MTxUi5p.js").then((n) => n.n);
41216
+ const { sendMessageSlack } = await import("./send-DwXcBQYC.js").then((n) => n.n);
41217
41217
  return await sendMessageSlack(...args);
41218
41218
  },
41219
41219
  sendMessageSignal: async (...args) => {
41220
- const { sendMessageSignal } = await import("./send-Bs-YbYdN.js").then((n) => n.i);
41220
+ const { sendMessageSignal } = await import("./send-BUpepCol.js").then((n) => n.i);
41221
41221
  return await sendMessageSignal(...args);
41222
41222
  },
41223
41223
  sendMessageIMessage: async (...args) => {
41224
- const { sendMessageIMessage } = await import("./send-WwwzoTNW.js").then((n) => n.n);
41224
+ const { sendMessageIMessage } = await import("./send-C5ymrC3h.js").then((n) => n.n);
41225
41225
  return await sendMessageIMessage(...args);
41226
41226
  }
41227
41227
  };
@@ -52654,7 +52654,7 @@ function readSlackExternalArgMenuToken(raw) {
52654
52654
  }
52655
52655
  let commandsRegistry;
52656
52656
  async function getCommandsRegistry() {
52657
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-ydkoxruZ.js").then((n) => n.n);
52657
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-D1UwEKAH.js").then((n) => n.n);
52658
52658
  return commandsRegistry;
52659
52659
  }
52660
52660
  function encodeSlackCommandArgValue(parts) {
@@ -52984,14 +52984,14 @@ async function registerSlackMonitorSlashCommands(params) {
52984
52984
  const channelName = channelInfo?.name;
52985
52985
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
52986
52986
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
52987
- import("./resolve-route-yLtq9xkG.js").then((n) => n.r),
52987
+ import("./resolve-route-fu19EHnm.js").then((n) => n.r),
52988
52988
  import("./inbound-context-DZb6zIHq.js").then((n) => n.n),
52989
52989
  Promise.resolve().then(() => provider_dispatcher_exports)
52990
52990
  ]);
52991
52991
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
52992
52992
  import("./conversation-label-nAHBBt-I.js").then((n) => n.t),
52993
- import("./reply-prefix-BRomwQau.js").then((n) => n.r),
52994
- import("./session-meta-CM4K7B00.js").then((n) => n.n)
52993
+ import("./reply-prefix-CobEDhG_.js").then((n) => n.r),
52994
+ import("./session-meta-DYb6KCvG.js").then((n) => n.n)
52995
52995
  ]);
52996
52996
  const route = resolveAgentRoute({
52997
52997
  cfg,
@@ -53056,9 +53056,9 @@ async function registerSlackMonitorSlashCommands(params) {
53056
53056
  });
53057
53057
  const deliverSlashPayloads = async (replies) => {
53058
53058
  const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
53059
- import("./replies-a2WeMkU6.js").then((n) => n.r),
53060
- import("./chunk-BuHZrtLn.js").then((n) => n.s),
53061
- import("./markdown-tables-BA_MdGIq.js").then((n) => n.t)
53059
+ import("./replies-GRjUBMUL.js").then((n) => n.r),
53060
+ import("./chunk-4pLJcTE-.js").then((n) => n.s),
53061
+ import("./markdown-tables-BEWLluuz.js").then((n) => n.t)
53062
53062
  ]);
53063
53063
  await deliverSlackSlashReplies({
53064
53064
  replies,
@@ -53111,7 +53111,7 @@ async function registerSlackMonitorSlashCommands(params) {
53111
53111
  let nativeCommands = [];
53112
53112
  if (nativeEnabled) {
53113
53113
  reg = await getCommandsRegistry();
53114
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-CakvOluN.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
53114
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-C3OZ4W61.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
53115
53115
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
53116
53116
  skillCommands,
53117
53117
  provider: "slack"
@@ -53697,7 +53697,7 @@ async function auditTelegramGroupMembership(params) {
53697
53697
  groups: [],
53698
53698
  elapsedMs: Date.now() - started
53699
53699
  };
53700
- const fetcher = params.proxyUrl ? (await import("./proxy-CnPaiSZ0.js").then((n) => n.t)).makeProxyFetch(params.proxyUrl) : fetch;
53700
+ const fetcher = params.proxyUrl ? (await import("./proxy-DIYzaAvh.js").then((n) => n.t)).makeProxyFetch(params.proxyUrl) : fetch;
53701
53701
  const { fetchWithTimeout } = await import("./fetch-timeout-C-qHqfzG.js").then((n) => n.r);
53702
53702
  const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
53703
53703
  const groups = [];
@@ -58451,7 +58451,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
58451
58451
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
58452
58452
  let preflightTranscript;
58453
58453
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
58454
- const { transcribeFirstAudio } = await import("./audio-preflight-Byc0yvPV.js");
58454
+ const { transcribeFirstAudio } = await import("./audio-preflight-B8r8qUhZ.js");
58455
58455
  preflightTranscript = await transcribeFirstAudio({
58456
58456
  ctx: {
58457
58457
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -61149,7 +61149,7 @@ function createWhatsAppLoginTool() {
61149
61149
  force: Type.Optional(Type.Boolean())
61150
61150
  }),
61151
61151
  execute: async (_toolCallId, args) => {
61152
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-0YUEfC35.js");
61152
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DeAbaqfx.js");
61153
61153
  if ((args?.action ?? "start") === "wait") {
61154
61154
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
61155
61155
  return {
@@ -61224,23 +61224,23 @@ let webLoginQrPromise = null;
61224
61224
  let webChannelPromise = null;
61225
61225
  let whatsappActionsPromise = null;
61226
61226
  function loadWebOutbound() {
61227
- webOutboundPromise ??= import("./outbound-B386FQiU.js").then((n) => n.t);
61227
+ webOutboundPromise ??= import("./outbound-D7OdBk5M.js").then((n) => n.t);
61228
61228
  return webOutboundPromise;
61229
61229
  }
61230
61230
  function loadWebLogin() {
61231
- webLoginPromise ??= import("./login-DYEbRdfH.js").then((n) => n.n);
61231
+ webLoginPromise ??= import("./login-DIgrxuIQ.js").then((n) => n.n);
61232
61232
  return webLoginPromise;
61233
61233
  }
61234
61234
  function loadWebLoginQr() {
61235
- webLoginQrPromise ??= import("./login-qr-0YUEfC35.js");
61235
+ webLoginQrPromise ??= import("./login-qr-DeAbaqfx.js");
61236
61236
  return webLoginQrPromise;
61237
61237
  }
61238
61238
  function loadWebChannel() {
61239
- webChannelPromise ??= import("./web-DLrSMEN4.js");
61239
+ webChannelPromise ??= import("./web-D48I7g5u.js");
61240
61240
  return webChannelPromise;
61241
61241
  }
61242
61242
  function loadWhatsAppActions() {
61243
- whatsappActionsPromise ??= import("./whatsapp-actions-CudQXAzF.js");
61243
+ whatsappActionsPromise ??= import("./whatsapp-actions-BLoPRR5B.js");
61244
61244
  return whatsappActionsPromise;
61245
61245
  }
61246
61246
  function createRuntimeWhatsApp() {
@@ -61690,7 +61690,7 @@ async function getMemorySearchManager(params) {
61690
61690
  if (cached) return { manager: cached };
61691
61691
  }
61692
61692
  try {
61693
- const { QmdMemoryManager } = await import("./qmd-manager-BtfjLkaZ.js");
61693
+ const { QmdMemoryManager } = await import("./qmd-manager-D3p7PB5n.js");
61694
61694
  const primary = await QmdMemoryManager.create({
61695
61695
  cfg: params.cfg,
61696
61696
  agentId: params.agentId,
@@ -61702,7 +61702,7 @@ async function getMemorySearchManager(params) {
61702
61702
  const wrapper = new FallbackMemoryManager({
61703
61703
  primary,
61704
61704
  fallbackFactory: async () => {
61705
- const { MemoryIndexManager } = await import("./manager-J_9hr0Yu.js").then((n) => n.t);
61705
+ const { MemoryIndexManager } = await import("./manager-Bic1h3Nu.js").then((n) => n.t);
61706
61706
  return await MemoryIndexManager.get(params);
61707
61707
  }
61708
61708
  }, () => {
@@ -61717,7 +61717,7 @@ async function getMemorySearchManager(params) {
61717
61717
  }
61718
61718
  }
61719
61719
  try {
61720
- const { MemoryIndexManager } = await import("./manager-J_9hr0Yu.js").then((n) => n.t);
61720
+ const { MemoryIndexManager } = await import("./manager-Bic1h3Nu.js").then((n) => n.t);
61721
61721
  return { manager: await MemoryIndexManager.get(params) };
61722
61722
  } catch (err) {
61723
61723
  return {
@@ -73349,7 +73349,7 @@ async function recordLoopOutcome(args) {
73349
73349
  if (!args.ctx?.sessionKey) return;
73350
73350
  try {
73351
73351
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
73352
- const { recordToolCallOutcome } = await import("./tool-loop-detection-CKnmaEeR.js");
73352
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-Bsh07kcw.js");
73353
73353
  recordToolCallOutcome(getDiagnosticSessionState({
73354
73354
  sessionKey: args.ctx.sessionKey,
73355
73355
  sessionId: args.ctx?.agentId
@@ -73370,8 +73370,8 @@ async function runBeforeToolCallHook(args) {
73370
73370
  const params = args.params;
73371
73371
  if (args.ctx?.sessionKey) {
73372
73372
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
73373
- const { logToolLoopAction } = await import("./diagnostic-BefhWusS.js").then((n) => n.n);
73374
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-CKnmaEeR.js");
73373
+ const { logToolLoopAction } = await import("./diagnostic-1MgpiorV.js").then((n) => n.n);
73374
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-Bsh07kcw.js");
73375
73375
  const sessionState = getDiagnosticSessionState({
73376
73376
  sessionKey: args.ctx.sessionKey,
73377
73377
  sessionId: args.ctx?.agentId
@@ -91509,7 +91509,7 @@ async function deliverSessionMaintenanceWarning(params) {
91509
91509
  return;
91510
91510
  }
91511
91511
  try {
91512
- const { deliverOutboundPayloads } = await import("./deliver-BcAT1l6Y.js").then((n) => n.n);
91512
+ const { deliverOutboundPayloads } = await import("./deliver-DymnzypV.js").then((n) => n.n);
91513
91513
  const outboundSession = buildOutboundSessionContext({
91514
91514
  cfg: params.cfg,
91515
91515
  sessionKey: params.sessionKey
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { r as resolveAgentConfig } from "./agent-scope-DS0HILk_.js";
2
+ import { r as resolveAgentConfig } from "./agent-scope-BL5NPpGJ.js";
3
3
 
4
4
  //#region src/agents/identity.ts
5
5
  const DEFAULT_ACK_REACTION = "👀";
@@ -1,5 +1,5 @@
1
- import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-Dupyelyu.js";
2
- import { n as missingTargetError } from "./target-errors-DqlHqAmV.js";
1
+ import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-DKZ5hSLA.js";
2
+ import { n as missingTargetError } from "./target-errors-Bgd_Uo0g.js";
3
3
 
4
4
  //#region src/whatsapp/resolve-outbound-target.ts
5
5
  function resolveWhatsAppOutboundTarget(params) {