@termix-it/cryptoclaw 1.1.8 → 1.1.9

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 (199) hide show
  1. package/dist/{accounts-4l7ba973.js → accounts-7nNRr4R3.js} +1 -1
  2. package/dist/{accounts-k5nTdi32.js → accounts-BIr_ieyH.js} +1 -1
  3. package/dist/{accounts-CAjupeYV.js → accounts-CKpnUMZd.js} +16 -16
  4. package/dist/{active-listener-D9FARjMd.js → active-listener-ClXqZUsD.js} +1 -1
  5. package/dist/{api-key-rotation-C-Q6XdUW.js → api-key-rotation-CUJC6xSi.js} +2 -2
  6. package/dist/{audio-preflight-C7kt2vOu.js → audio-preflight--MDRrrlB.js} +33 -33
  7. package/dist/{audio-transcription-runner-CawngPvE.js → audio-transcription-runner-CgLX4N3r.js} +12 -12
  8. package/dist/{audit-membership-runtime-C6dnIaXJ.js → audit-membership-runtime-Ch2lLD_u.js} +5 -5
  9. package/dist/build-info.json +3 -3
  10. package/dist/bundled/boot-md/handler.js +52 -52
  11. package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
  12. package/dist/bundled/command-logger/handler.js +2 -2
  13. package/dist/bundled/session-memory/handler.js +52 -52
  14. package/dist/bundled/soul-evil/handler.js +5 -5
  15. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  16. package/dist/{channel-activity-Hho38eZq.js → channel-activity-32lmgAZH.js} +3 -3
  17. package/dist/{chrome-palWvTtp.js → chrome-CtEQV_6p.js} +18 -18
  18. package/dist/{commands-registry-A3LstXeY.js → commands-registry-FnGtnvb0.js} +4 -4
  19. package/dist/{deliver-JkYjt9Qz.js → deliver-32OxViWG.js} +20 -20
  20. package/dist/deliver-runtime-DGYhS7K1.js +37 -0
  21. package/dist/deps-send-discord.runtime-BJmezHoH.js +27 -0
  22. package/dist/deps-send-imessage.runtime-Dsq-J7FK.js +26 -0
  23. package/dist/deps-send-signal.runtime-2kRNCAkm.js +25 -0
  24. package/dist/deps-send-slack.runtime-DoM54spr.js +23 -0
  25. package/dist/deps-send-telegram.runtime-DGtmyBk2.js +28 -0
  26. package/dist/deps-send-whatsapp.runtime-B_ZiouDf.js +61 -0
  27. package/dist/{diagnostic-BGtFj4tU.js → diagnostic-UO82MQjo.js} +2 -2
  28. package/dist/{plugin-sdk/errors-B2jpHiod.js → errors-BwBpGOBV.js} +1 -1
  29. package/dist/{fetch-_iocPLV2.js → fetch-DozurFmr.js} +5 -5
  30. package/dist/{fetch-guard-CiQUuV0r.js → fetch-guard-XtFb6zM7.js} +2 -2
  31. package/dist/{frontmatter-Dn68lQ_o.js → frontmatter-Cy6ESb-O.js} +5 -5
  32. package/dist/{fs-safe-BLpOReWZ.js → fs-safe-YxZ8RAEw.js} +4 -4
  33. package/dist/{github-copilot-token-DDa7O18e.js → github-copilot-token-D7knylDF.js} +7 -7
  34. package/dist/{image-BlRI3dXw.js → image-B2LPzwKF.js} +6 -6
  35. package/dist/{image-ops-D7mq-4y1.js → image-ops-gm8VfGiD.js} +2 -2
  36. package/dist/image-runtime-BL3D208M.js +30 -0
  37. package/dist/{ir-Dpg87zYv.js → ir-B7IR3m4T.js} +7 -7
  38. package/dist/{legacy-names-BAiRv0I2.js → legacy-names-TrN6kryB.js} +1 -1
  39. package/dist/llm-slug-generator.js +52 -52
  40. package/dist/{logger-C53B395N.js → logger-CV2IWsAW.js} +1 -1
  41. package/dist/{login-CHsCISh4.js → login-C6CkDgLi.js} +5 -5
  42. package/dist/{login-qr-BEW3jIOt.js → login-qr-WEr1WQvg.js} +11 -11
  43. package/dist/{manager-Dfrejf6z.js → manager-BWh3BVp1.js} +13 -13
  44. package/dist/manager-runtime-CJHBIXOb.js +19 -0
  45. package/dist/{model-selection-e9hodq0l.js → model-selection-BiqOlgFe.js} +48 -48
  46. package/dist/{outbound-BZqL8UdJ.js → outbound-DSVwKSv4.js} +6 -6
  47. package/dist/{outbound-attachment-wzHGF-Is.js → outbound-attachment-CcY_Rg0-.js} +2 -2
  48. package/dist/{path-alias-guards-It4BBRdm.js → path-alias-guards-Gzq1eAOo.js} +1 -1
  49. package/dist/{paths-CZ0nrg7g.js → paths-BWg7M5Yy.js} +3 -3
  50. package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
  51. package/dist/{pi-embedded-BNcbv6lg.js → pi-embedded-DkdNpxSe.js} +161 -161
  52. package/dist/{pi-embedded-helpers-CE9KKP1Q.js → pi-embedded-helpers-B_qa7ikD.js} +52 -52
  53. package/dist/{pi-model-discovery-32EFg27L.js → pi-model-discovery-FwBV8Q5J.js} +7 -7
  54. package/dist/pi-model-discovery-runtime-BozG-CtU.js +12 -0
  55. package/dist/{pi-tools.before-tool-call.runtime-BfjlGXIc.js → pi-tools.before-tool-call.runtime-2r6sdUt5.js} +10 -10
  56. package/dist/plugin-sdk/{accounts-Bpe8MpMj.js → accounts-B9ydKoYC.js} +2 -2
  57. package/dist/plugin-sdk/{accounts-BY3xA55d.js → accounts-DAebrX4r.js} +3 -3
  58. package/dist/plugin-sdk/{accounts-Dg9HUb5m.js → accounts-DxlJAHNG.js} +2 -2
  59. package/dist/plugin-sdk/{active-listener-kZJwBchj.js → active-listener-D7Jidx1U.js} +2 -2
  60. package/dist/plugin-sdk/{api-key-rotation-wZaR5O8n.js → api-key-rotation-d8cmHGhi.js} +2 -2
  61. package/dist/plugin-sdk/{audio-preflight-DOR1d1hn.js → audio-preflight-vJtQi-4_.js} +26 -26
  62. package/dist/plugin-sdk/{audio-transcription-runner-DWncgs4M.js → audio-transcription-runner-Bfv_TVP4.js} +11 -11
  63. package/dist/plugin-sdk/{audit-membership-runtime-DvBMQsDC.js → audit-membership-runtime-BpoX61hv.js} +2 -2
  64. package/dist/plugin-sdk/{channel-activity-VsWwcNLD.js → channel-activity-1LCR07HU.js} +3 -3
  65. package/dist/plugin-sdk/{channel-web-B5wxTr-8.js → channel-web-QSsZFIjA.js} +18 -18
  66. package/dist/plugin-sdk/{chrome-pOAzXzzJ.js → chrome-CbDAFNHQ.js} +6 -6
  67. package/dist/plugin-sdk/{commands-registry-pKaQ4EJQ.js → commands-registry-D8gIWgM5.js} +4 -4
  68. package/dist/plugin-sdk/{common-BlJfaliy.js → common-tbQtS1zp.js} +2 -2
  69. package/dist/plugin-sdk/{config-CURxPU7B.js → config-xkSrCec1.js} +7 -7
  70. package/dist/plugin-sdk/{deliver-BpfQj4BK.js → deliver-D_Ofr_vN.js} +10 -10
  71. package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +32 -0
  72. package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +23 -0
  73. package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +22 -0
  74. package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +21 -0
  75. package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +19 -0
  76. package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +24 -0
  77. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BljFnkyd.js +57 -0
  78. package/dist/plugin-sdk/{diagnostic-Bi3FO6Il.js → diagnostic-GjXXC_Pm.js} +2 -2
  79. package/dist/{errors-C1YF712P.js → plugin-sdk/errors-Cn3JyiMn.js} +1 -1
  80. package/dist/plugin-sdk/{fetch-guard-d5MU-Fi7.js → fetch-guard-ClYTU8LW.js} +2 -2
  81. package/dist/plugin-sdk/{fs-safe-D57cyrSh.js → fs-safe-Bs9BHEmp.js} +3 -3
  82. package/dist/plugin-sdk/{image-DWnmWvGr.js → image-_uAwPFe2.js} +6 -6
  83. package/dist/plugin-sdk/{image-ops-BPP3M0yA.js → image-ops-CsS12Rhg.js} +2 -2
  84. package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +25 -0
  85. package/dist/plugin-sdk/{ir-A16Z9dUw.js → ir-DvWncgWp.js} +7 -7
  86. package/dist/plugin-sdk/{local-roots-BQJNDffC.js → local-roots-Bh7FKHd2.js} +4 -4
  87. package/dist/plugin-sdk/{logger-Bl138Nx7.js → logger-Dj4IX2UB.js} +2 -2
  88. package/dist/plugin-sdk/{login-DXLuzgCO.js → login-CYqSEzPN.js} +4 -4
  89. package/dist/plugin-sdk/{login-qr-DdTcNEXK.js → login-qr-CXXXR_1G.js} +5 -5
  90. package/dist/plugin-sdk/{manager-ClrE1ahD.js → manager-Dj-hy8oN.js} +8 -8
  91. package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +15 -0
  92. package/dist/plugin-sdk/{outbound-wmFCJQyk.js → outbound-IhJ6xLv1.js} +5 -5
  93. package/dist/plugin-sdk/{outbound-attachment-C1GuoigP.js → outbound-attachment-Aa86Zp9X.js} +2 -2
  94. package/dist/plugin-sdk/{path-alias-guards-Bsi-4XND.js → path-alias-guards-CtnE1WrY.js} +1 -1
  95. package/dist/plugin-sdk/{paths-Cb2hB2o0.js → paths-Mew07RGP.js} +1 -1
  96. package/dist/plugin-sdk/{pi-embedded-helpers-VYetsWcU.js → pi-embedded-helpers-B_iabXhh.js} +16 -16
  97. package/dist/plugin-sdk/{pi-model-discovery-Bs1t1vHG.js → pi-model-discovery-avPx6Ptq.js} +1 -1
  98. package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +8 -0
  99. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-133Rh_QB.js → pi-tools.before-tool-call.runtime-dixwOhKo.js} +4 -4
  100. package/dist/plugin-sdk/{plugins-A3lJ2lkT.js → plugins-WDZLdw8Z.js} +4 -4
  101. package/dist/plugin-sdk/{proxy-env-DnjPLipe.js → proxy-env-DKQK-fn1.js} +1 -1
  102. package/dist/{proxy-fetch-CVSmQMZt.js → plugin-sdk/proxy-fetch-rtc8GmoB.js} +1 -1
  103. package/dist/plugin-sdk/{pw-ai-BhB6bXtS.js → pw-ai-eYJyyMZX.js} +9 -9
  104. package/dist/plugin-sdk/{qmd-manager-CmGPY3vR.js → qmd-manager-mWoTdSFY.js} +7 -7
  105. package/dist/plugin-sdk/{query-expansion-oxEhEDk_.js → query-expansion-4V3Vjs8V.js} +4 -4
  106. package/dist/plugin-sdk/{redact-C3rEm8A0.js → redact-CBwV828t.js} +1 -1
  107. package/dist/plugin-sdk/{reply-D3osmjmY.js → reply-RK8_OxAW.js} +73 -73
  108. package/dist/plugin-sdk/{resolve-outbound-target-K2KiC0bi.js → resolve-outbound-target-Dk3UdF5C.js} +2 -2
  109. package/dist/plugin-sdk/{run-with-concurrency-FfGqq3TC.js → run-with-concurrency-KlQQobSI.js} +1 -1
  110. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +10 -0
  111. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +19 -0
  112. package/dist/plugin-sdk/{send-C5J_PXzR.js → send-BTWIW3-9.js} +8 -8
  113. package/dist/plugin-sdk/{send-70p3gkTA.js → send-CG8TGQTM.js} +7 -7
  114. package/dist/plugin-sdk/{send-DdNdK-kV.js → send-CSJIozmo.js} +5 -5
  115. package/dist/plugin-sdk/{send-DjqI2JpQ.js → send-D50Hdj7y.js} +13 -13
  116. package/dist/plugin-sdk/{send-CqaHDOLs.js → send-wEJ-5g9f.js} +6 -6
  117. package/dist/plugin-sdk/{session-BBm3qP5l.js → session-CDTFGpPr.js} +3 -3
  118. package/dist/plugin-sdk/{skill-commands-B_tuCFSd.js → skill-commands-X5RX1jW3.js} +4 -4
  119. package/dist/plugin-sdk/{skills-BG1gHeJ_.js → skills-v1KdkGto.js} +6 -6
  120. package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +13 -0
  121. package/dist/plugin-sdk/slash-dispatch.runtime-vedDymM6.js +52 -0
  122. package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +16 -0
  123. package/dist/plugin-sdk/{store-C3Z3fpIY.js → store-DtdqEbDW.js} +2 -2
  124. package/dist/plugin-sdk/subagent-registry-runtime-DH1Lu5_z.js +52 -0
  125. package/dist/plugin-sdk/{tables-BfXi9ML_.js → tables-D5d9mqkg.js} +1 -1
  126. package/dist/plugin-sdk/{thinking-J6jgjmDK.js → thinking-CCdKzGau.js} +7 -7
  127. package/dist/plugin-sdk/{tokens-DMbd3-Ct.js → tokens-D2fpVQt3.js} +1 -1
  128. package/dist/plugin-sdk/{tool-images-BtzvC48Z.js → tool-images-B4KNq2sg.js} +2 -2
  129. package/dist/plugin-sdk/web-DOQLvU76.js +56 -0
  130. package/dist/plugin-sdk/{whatsapp-actions-C4kVobIE.js → whatsapp-actions-Bi_hJ-Cq.js} +17 -17
  131. package/dist/plugin-sdk/whatsapp.js +50 -50
  132. package/dist/{plugins-rc2l4VJe.js → plugins-Burzc1_i.js} +10 -10
  133. package/dist/{proxy-env-C2sbN0UU.js → proxy-env-C05eD8Tt.js} +1 -1
  134. package/dist/{plugin-sdk/proxy-fetch-C-fXKPD2.js → proxy-fetch-C_2Ejh5T.js} +1 -1
  135. package/dist/{pw-ai-CWE0qzH7.js → pw-ai-BbxaV2Cy.js} +15 -15
  136. package/dist/{qmd-manager-DMSLC2iu.js → qmd-manager-JjGGwn8R.js} +11 -11
  137. package/dist/{query-expansion-MI1dZ5Nj.js → query-expansion-DkXzaUOH.js} +6 -6
  138. package/dist/{redact-BXURioma.js → redact-C-aJRv5O.js} +1 -1
  139. package/dist/{run-with-concurrency-C5E9gJhP.js → run-with-concurrency-CYTs7gPY.js} +4 -4
  140. package/dist/runtime-whatsapp-login.runtime-BU92rhCA.js +14 -0
  141. package/dist/runtime-whatsapp-outbound.runtime-DZy-sAPP.js +23 -0
  142. package/dist/{send-BlTVCcYd.js → send-ChW15YPB.js} +27 -27
  143. package/dist/{send-C87tIqIn.js → send-Cj0LCSvd.js} +7 -7
  144. package/dist/{send-BWySsurX.js → send-DDKqu28r.js} +7 -7
  145. package/dist/{send-OP60RbsK.js → send-hOoCA9jX.js} +6 -6
  146. package/dist/{send-Cpja8Q1N.js → send-q-l5fncb.js} +5 -5
  147. package/dist/{session-DmXsj3JD.js → session-BzKpA5X4.js} +8 -8
  148. package/dist/{skill-commands-DEsgUSH3.js → skill-commands-CIcvUo1A.js} +9 -9
  149. package/dist/{skills-OklkZyI1.js → skills-DU6_fNPx.js} +22 -22
  150. package/dist/slash-commands.runtime-CXJJf0jq.js +17 -0
  151. package/dist/slash-dispatch.runtime-CnDWfnhw.js +57 -0
  152. package/dist/slash-skill-commands.runtime-NPMuDGFx.js +21 -0
  153. package/dist/{store-BNhebBGr.js → store-DcxsUE2f.js} +2 -2
  154. package/dist/subagent-registry-runtime-R6EArAuY.js +57 -0
  155. package/dist/{subsystem-W834z9Wa.js → subsystem-CEiApUN8.js} +16 -16
  156. package/dist/{tables-XtcH-BaF.js → tables-DTb5mzup.js} +1 -1
  157. package/dist/{target-errors-CNzteBWz.js → target-errors-jNfnUab4.js} +2 -2
  158. package/dist/{thinking-X8yYhVf1.js → thinking-BJkp7vCP.js} +6 -6
  159. package/dist/{tokens-DxcVnNVJ.js → tokens-tz04P2cO.js} +1 -1
  160. package/dist/{tool-images-B-4ixjYn.js → tool-images-DRyUUf-X.js} +2 -2
  161. package/dist/{utils-D2oM4XHm.js → utils-BFS4zK3g.js} +7 -7
  162. package/dist/{web-B8rFiLYw.js → web-fbVaDaVW.js} +56 -56
  163. package/dist/{whatsapp-actions-BPIXiPAR.js → whatsapp-actions-CMHMrQzp.js} +22 -22
  164. package/dist/{workspace-ZgWjBCAm.js → workspace-D6GL2anS.js} +21 -21
  165. package/extensions/blockchain/package.json +1 -3
  166. package/package.json +1 -1
  167. package/dist/deliver-runtime-BvTbrDXE.js +0 -37
  168. package/dist/deps-send-discord.runtime-1mqY0Pn3.js +0 -27
  169. package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +0 -26
  170. package/dist/deps-send-signal.runtime-CHqnnRXO.js +0 -25
  171. package/dist/deps-send-slack.runtime-CbGlCNTX.js +0 -23
  172. package/dist/deps-send-telegram.runtime-CgApeKta.js +0 -28
  173. package/dist/deps-send-whatsapp.runtime-CAPjqcnc.js +0 -61
  174. package/dist/image-runtime-Cp3I725X.js +0 -30
  175. package/dist/manager-runtime-DacMHR37.js +0 -19
  176. package/dist/pi-model-discovery-runtime-C8SNNnEN.js +0 -12
  177. package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +0 -32
  178. package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +0 -23
  179. package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +0 -22
  180. package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +0 -21
  181. package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +0 -19
  182. package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +0 -24
  183. package/dist/plugin-sdk/deps-send-whatsapp.runtime-LYh1VbZJ.js +0 -57
  184. package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +0 -25
  185. package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +0 -15
  186. package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +0 -8
  187. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +0 -10
  188. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +0 -19
  189. package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +0 -13
  190. package/dist/plugin-sdk/slash-dispatch.runtime-DB8Pxn4H.js +0 -52
  191. package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +0 -16
  192. package/dist/plugin-sdk/subagent-registry-runtime-BSpW6Un2.js +0 -52
  193. package/dist/plugin-sdk/web-BU7hQoaC.js +0 -56
  194. package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +0 -14
  195. package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +0 -23
  196. package/dist/slash-commands.runtime-gtQnheWz.js +0 -17
  197. package/dist/slash-dispatch.runtime-w1y_0I6t.js +0 -57
  198. package/dist/slash-skill-commands.runtime-CA_oN4df.js +0 -21
  199. package/dist/subagent-registry-runtime-HYpWtFUu.js +0 -57
@@ -1,63 +1,63 @@
1
- import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveOpenClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-FfGqq3TC.js";
2
- import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverOpenClawPlugins, Bn as resolveAuthProfileDisplayLabel, Bt as modelKey, Cn as resolveSecretRefValues, Cr as createInternalHookEvent, Ct as normalizeSafeBinProfileFixtures, Dn as parseDotPath, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isRecord$1, Er as resolveCliName, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveOpenClawAgentDir, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_MODEL, Gt as resolveModelRefFromString, H as safeStatSync, Hn as normalizeSecretInput, Ht as normalizeProviderId, I as isPathWithinRoot, In as withFileLock, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as getShellPathFromLoginShell, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_PROVIDER, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Lt as buildModelAliasIndex, Mn as markAuthProfileGood, N as AVATAR_MAX_BYTES, Nn as ensureAuthProfileStore, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as secretRefKey, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as resolveAuthStorePathForDisplay, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as isTruthyEnvValue, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as matchPluginCommand, St as SAFE_BIN_PROFILES, Tn as isNonEmptyString, Tr as formatCliCommand, Tt as applyMergePatch, Un as splitTrailingAuthProfile, Ut as resolveConfiguredModelRef, V as isPathInside, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as DEFAULT_CONTEXT_TOKENS, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as isDangerousHostEnvVarName, Y as getConfigOverrides, Yn as resolveShellEnvFallbackTimeoutMs, Z as setConfigOverride, Zn as resolveOwnerDisplaySetting, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as normalizePluginHttpPath, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as CHAT_CHANNEL_ORDER, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as getPluginCommandSpecs, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as normalizeAnyChannelId, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as getActivePluginRegistry, dt as splitCommandChain, en as resolveRetryConfig, er as coerceSecretRef, et as parseConfigPath, fn as resolveEnvApiKey, fr as getActivePluginRegistryKey, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as createPluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, hr as setActivePluginRegistry, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as listProfilesForProvider, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as normalizeChannelId$1, lt as buildEnforcedShellCommand, mr as requireActivePluginRegistry, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as normalizeResolvedSecretInputString, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, or as getChatChannelMeta, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as VERSION, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as resolveSecretInputRef, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as listChatChannels, st as validateSafeBinArgv, tn as retryAsync, tr as hasConfiguredSecretInput, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeChatChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as clearPluginCommands, vt as isShellWrapperExecutable, wn as describeUnknownError$1, wr as triggerInternalHook, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as listPluginCommands, xt as splitShellArgs, yn as markAuthProfileFailure, yr as executePluginCommand, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-CURxPU7B.js";
3
- import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredOpenClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
1
+ import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveOpenClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-KlQQobSI.js";
2
+ import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverOpenClawPlugins, Bn as resolveAuthProfileDisplayLabel, Bt as modelKey, Cn as resolveSecretRefValues, Cr as createInternalHookEvent, Ct as normalizeSafeBinProfileFixtures, Dn as parseDotPath, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isRecord$1, Er as resolveCliName, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveOpenClawAgentDir, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_MODEL, Gt as resolveModelRefFromString, H as safeStatSync, Hn as normalizeSecretInput, Ht as normalizeProviderId, I as isPathWithinRoot, In as withFileLock, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as getShellPathFromLoginShell, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_PROVIDER, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Lt as buildModelAliasIndex, Mn as markAuthProfileGood, N as AVATAR_MAX_BYTES, Nn as ensureAuthProfileStore, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as secretRefKey, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as resolveAuthStorePathForDisplay, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as isTruthyEnvValue, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as matchPluginCommand, St as SAFE_BIN_PROFILES, Tn as isNonEmptyString, Tr as formatCliCommand, Tt as applyMergePatch, Un as splitTrailingAuthProfile, Ut as resolveConfiguredModelRef, V as isPathInside, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as DEFAULT_CONTEXT_TOKENS, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as isDangerousHostEnvVarName, Y as getConfigOverrides, Yn as resolveShellEnvFallbackTimeoutMs, Z as setConfigOverride, Zn as resolveOwnerDisplaySetting, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as normalizePluginHttpPath, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as CHAT_CHANNEL_ORDER, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as getPluginCommandSpecs, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as normalizeAnyChannelId, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as getActivePluginRegistry, dt as splitCommandChain, en as resolveRetryConfig, er as coerceSecretRef, et as parseConfigPath, fn as resolveEnvApiKey, fr as getActivePluginRegistryKey, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as createPluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, hr as setActivePluginRegistry, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as listProfilesForProvider, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as normalizeChannelId$1, lt as buildEnforcedShellCommand, mr as requireActivePluginRegistry, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as normalizeResolvedSecretInputString, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, or as getChatChannelMeta, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as VERSION, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as resolveSecretInputRef, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as listChatChannels, st as validateSafeBinArgv, tn as retryAsync, tr as hasConfiguredSecretInput, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeChatChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as clearPluginCommands, vt as isShellWrapperExecutable, wn as describeUnknownError$1, wr as triggerInternalHook, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as listPluginCommands, xt as splitShellArgs, yn as markAuthProfileFailure, yr as executePluginCommand, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-xkSrCec1.js";
3
+ import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredOpenClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
4
4
  import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-0d8fBoC4.js";
5
- import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-BY3xA55d.js";
6
- import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid, _ as normalizeChatType, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-A3lJ2lkT.js";
7
- import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-J6jgjmDK.js";
8
- import { t as resolveIMessageAccount } from "./accounts-Dg9HUb5m.js";
9
- import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-CqaHDOLs.js";
10
- import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-BlJfaliy.js";
11
- import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-BPP3M0yA.js";
12
- import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isTransientHttpError, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCompactionFailureError, Ct as isCacheEnabled, D as isLikelyContextOverflowError, Dt as mergeDeliveryContext, E as isFailoverErrorMessage, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageSizeError, Mt as capArrayByJsonBytes, N as sanitizeUserFacingText, Nt as countToolResults, O as isRateLimitAssistantError, Ot as normalizeDeliveryContext, P as isAuthPermanentErrorMessage, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isCloudCodeAssistFormatError, St as updateSessionStoreEntry, T as isFailoverAssistantError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatBillingErrorMessage, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as formatAssistantErrorText, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as parseImageDimensionError, jt as archiveSessionTranscripts, k as isRawApiErrorPayload, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, vt as readSessionUpdatedAt, w as isContextOverflowError, wt as resolveCacheTtlMs$1, x as isBillingAssistantError, xt as updateSessionStore, y as getApiErrorPayloadFingerprint, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-VYetsWcU.js";
13
- import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-Bpe8MpMj.js";
14
- import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-C5J_PXzR.js";
5
+ import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-DAebrX4r.js";
6
+ import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid, _ as normalizeChatType, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-WDZLdw8Z.js";
7
+ import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-CCdKzGau.js";
8
+ import { t as resolveIMessageAccount } from "./accounts-DxlJAHNG.js";
9
+ import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-wEJ-5g9f.js";
10
+ import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-tbQtS1zp.js";
11
+ import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-CsS12Rhg.js";
12
+ import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isTransientHttpError, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCompactionFailureError, Ct as isCacheEnabled, D as isLikelyContextOverflowError, Dt as mergeDeliveryContext, E as isFailoverErrorMessage, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageSizeError, Mt as capArrayByJsonBytes, N as sanitizeUserFacingText, Nt as countToolResults, O as isRateLimitAssistantError, Ot as normalizeDeliveryContext, P as isAuthPermanentErrorMessage, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isCloudCodeAssistFormatError, St as updateSessionStoreEntry, T as isFailoverAssistantError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatBillingErrorMessage, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as formatAssistantErrorText, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as parseImageDimensionError, jt as archiveSessionTranscripts, k as isRawApiErrorPayload, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, vt as readSessionUpdatedAt, w as isContextOverflowError, wt as resolveCacheTtlMs$1, x as isBillingAssistantError, xt as updateSessionStore, y as getApiErrorPayloadFingerprint, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-B_iabXhh.js";
13
+ import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-B9ydKoYC.js";
14
+ import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-BTWIW3-9.js";
15
15
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-CKKBybuX.js";
16
- import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Cb2hB2o0.js";
16
+ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Mew07RGP.js";
17
17
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DtF9ARSD.js";
18
18
  import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
19
- import { $ as readChannelAllowFromStore, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as addChannelAllowFromStoreEntry, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-DjqI2JpQ.js";
20
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DMbd3-Ct.js";
21
- import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, 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, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-DWncgs4M.js";
22
- import { C as ensureOpenClawModelsJson, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-DWnmWvGr.js";
23
- import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-pOAzXzzJ.js";
24
- 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-BG1gHeJ_.js";
25
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Bsi-4XND.js";
26
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-C3rEm8A0.js";
27
- import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-B2jpHiod.js";
28
- import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-D57cyrSh.js";
29
- import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-DnjPLipe.js";
30
- import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-C3Z3fpIY.js";
19
+ import { $ as readChannelAllowFromStore, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as addChannelAllowFromStoreEntry, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-D50Hdj7y.js";
20
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-D2fpVQt3.js";
21
+ import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, 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, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-Bfv_TVP4.js";
22
+ import { C as ensureOpenClawModelsJson, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-_uAwPFe2.js";
23
+ import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-CbDAFNHQ.js";
24
+ 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-v1KdkGto.js";
25
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CtnE1WrY.js";
26
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-CBwV828t.js";
27
+ import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-Cn3JyiMn.js";
28
+ import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-Bs9BHEmp.js";
29
+ import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-DKQK-fn1.js";
30
+ import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-DtdqEbDW.js";
31
31
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-D2mQUJdh.js";
32
- import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-BtzvC48Z.js";
32
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-B4KNq2sg.js";
33
33
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CR10Uz2k.js";
34
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-d5MU-Fi7.js";
35
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-BQJNDffC.js";
36
- import { t as makeProxyFetch } from "./proxy-fetch-C-fXKPD2.js";
37
- import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-BpfQj4BK.js";
38
- import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-pKaQ4EJQ.js";
39
- import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-B_tuCFSd.js";
34
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-ClYTU8LW.js";
35
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-Bh7FKHd2.js";
36
+ import { t as makeProxyFetch } from "./proxy-fetch-rtc8GmoB.js";
37
+ import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-D_Ofr_vN.js";
38
+ import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-D8gIWgM5.js";
39
+ import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-X5RX1jW3.js";
40
40
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-O45GieZo.js";
41
- import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as getDiagnosticSessionState, i as logMessageProcessed, l as logWebhookProcessed, m as isDiagnosticsEnabled, n as logLaneDequeue, o as logSessionStateChange, p as emitDiagnosticEvent, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-Bi3FO6Il.js";
41
+ import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as getDiagnosticSessionState, i as logMessageProcessed, l as logWebhookProcessed, m as isDiagnosticsEnabled, n as logLaneDequeue, o as logSessionStateChange, p as emitDiagnosticEvent, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-GjXXC_Pm.js";
42
42
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-BLkab-vw.js";
43
43
  import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-BHZKnwxJ.js";
44
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Bs1t1vHG.js";
45
- import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-A16Z9dUw.js";
44
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-avPx6Ptq.js";
45
+ import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-DvWncgWp.js";
46
46
  import { n as normalizePollInput } from "./polls-CuwZJ8h2.js";
47
- import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-DdNdK-kV.js";
47
+ import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-CSJIozmo.js";
48
48
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
49
- import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-70p3gkTA.js";
50
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-VsWwcNLD.js";
51
- import { t as convertMarkdownTables } from "./tables-BfXi9ML_.js";
52
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-kZJwBchj.js";
53
- import { n as resolveMemorySearchConfig } from "./manager-ClrE1ahD.js";
54
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-oxEhEDk_.js";
49
+ import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-CG8TGQTM.js";
50
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-1LCR07HU.js";
51
+ import { t as convertMarkdownTables } from "./tables-D5d9mqkg.js";
52
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-D7Jidx1U.js";
53
+ import { n as resolveMemorySearchConfig } from "./manager-Dj-hy8oN.js";
54
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-4V3Vjs8V.js";
55
55
  import { createRequire } from "node:module";
56
56
  import * as path$1 from "node:path";
57
57
  import path, { isAbsolute } from "node:path";
58
58
  import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
59
59
  import os, { homedir } from "node:os";
60
- import JSON5 from "json5";
60
+ import json5 from "json5";
61
61
  import { inspect, isDeepStrictEqual, promisify } from "node:util";
62
62
  import * as fs$2 from "node:fs/promises";
63
63
  import fs$1 from "node:fs/promises";
@@ -1273,7 +1273,7 @@ async function runWithConcurrency(tasks, limit) {
1273
1273
  //#region src/media-understanding/echo-transcript.ts
1274
1274
  let deliverRuntimePromise$2 = null;
1275
1275
  function loadDeliverRuntime$2() {
1276
- deliverRuntimePromise$2 ??= import("./deliver-runtime-CoTMJYYS.js");
1276
+ deliverRuntimePromise$2 ??= import("./deliver-runtime-DkyFlw6M.js");
1277
1277
  return deliverRuntimePromise$2;
1278
1278
  }
1279
1279
  const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
@@ -19354,7 +19354,7 @@ function normalizeReplyPayload(payload, opts = {}) {
19354
19354
  */
19355
19355
  let deliverRuntimePromise$1 = null;
19356
19356
  function loadDeliverRuntime$1() {
19357
- deliverRuntimePromise$1 ??= import("./deliver-runtime-CoTMJYYS.js");
19357
+ deliverRuntimePromise$1 ??= import("./deliver-runtime-DkyFlw6M.js");
19358
19358
  return deliverRuntimePromise$1;
19359
19359
  }
19360
19360
  /**
@@ -19882,7 +19882,7 @@ function normalizeSessionKey(value) {
19882
19882
  function readSessionStore(storePath) {
19883
19883
  try {
19884
19884
  const raw = fs.readFileSync(storePath, "utf-8");
19885
- const parsed = JSON5.parse(raw);
19885
+ const parsed = json5.parse(raw);
19886
19886
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
19887
19887
  } catch {}
19888
19888
  return {};
@@ -20104,7 +20104,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
20104
20104
  const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
20105
20105
  let subagentRegistryRuntimePromise = null;
20106
20106
  function loadSubagentRegistryRuntime() {
20107
- subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-BSpW6Un2.js");
20107
+ subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-DH1Lu5_z.js");
20108
20108
  return subagentRegistryRuntimePromise;
20109
20109
  }
20110
20110
  const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
@@ -30118,7 +30118,7 @@ const VISION_PROVIDERS = [
30118
30118
  ];
30119
30119
  let imageRuntimePromise = null;
30120
30120
  function loadImageRuntime() {
30121
- imageRuntimePromise ??= import("./image-runtime-dC0tUp3V.js");
30121
+ imageRuntimePromise ??= import("./image-runtime-0p3JEsb2.js");
30122
30122
  return imageRuntimePromise;
30123
30123
  }
30124
30124
  /**
@@ -32506,7 +32506,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
32506
32506
  const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
32507
32507
  let transcript;
32508
32508
  if (needsPreflightTranscription) try {
32509
- const { transcribeFirstAudio } = await import("./audio-preflight-DOR1d1hn.js");
32509
+ const { transcribeFirstAudio } = await import("./audio-preflight-vJtQi-4_.js");
32510
32510
  const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
32511
32511
  if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
32512
32512
  ctx: {
@@ -36044,7 +36044,7 @@ function ensureContextWindowCacheLoaded() {
36044
36044
  await ensureOpenClawModelsJson(cfg);
36045
36045
  } catch {}
36046
36046
  try {
36047
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-Bs1t1vHG.js").then((n) => n.r);
36047
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-avPx6Ptq.js").then((n) => n.r);
36048
36048
  const agentDir = resolveOpenClawAgentDir();
36049
36049
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
36050
36050
  applyDiscoveredContextWindows({
@@ -36390,7 +36390,7 @@ async function createModelSelectionState(params) {
36390
36390
  }
36391
36391
  }
36392
36392
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
36393
- const { ensureAuthProfileStore } = await import("./config-CURxPU7B.js").then((n) => n.mn);
36393
+ const { ensureAuthProfileStore } = await import("./config-xkSrCec1.js").then((n) => n.mn);
36394
36394
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
36395
36395
  const providerKey = normalizeProviderId(provider);
36396
36396
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -43904,27 +43904,27 @@ let slackSenderRuntimePromise = null;
43904
43904
  let signalSenderRuntimePromise = null;
43905
43905
  let imessageSenderRuntimePromise = null;
43906
43906
  function loadWhatsAppSenderRuntime() {
43907
- whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-LYh1VbZJ.js");
43907
+ whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-BljFnkyd.js");
43908
43908
  return whatsappSenderRuntimePromise;
43909
43909
  }
43910
43910
  function loadTelegramSenderRuntime() {
43911
- telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-F-_XP5zF.js");
43911
+ telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-WQqnuFdj.js");
43912
43912
  return telegramSenderRuntimePromise;
43913
43913
  }
43914
43914
  function loadDiscordSenderRuntime() {
43915
- discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-4lI0eS6q.js");
43915
+ discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-Bpqp608e.js");
43916
43916
  return discordSenderRuntimePromise;
43917
43917
  }
43918
43918
  function loadSlackSenderRuntime() {
43919
- slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-DIHbNRq4.js");
43919
+ slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-BdLrhl4O.js");
43920
43920
  return slackSenderRuntimePromise;
43921
43921
  }
43922
43922
  function loadSignalSenderRuntime() {
43923
- signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-BHanWbgq.js");
43923
+ signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-DLQqphLL.js");
43924
43924
  return signalSenderRuntimePromise;
43925
43925
  }
43926
43926
  function loadIMessageSenderRuntime() {
43927
- imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-i11JqPLo.js");
43927
+ imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-CEnAbBMn.js");
43928
43928
  return imessageSenderRuntimePromise;
43929
43929
  }
43930
43930
  function createDefaultDeps() {
@@ -56742,15 +56742,15 @@ let slashCommandsRuntimePromise = null;
56742
56742
  let slashDispatchRuntimePromise = null;
56743
56743
  let slashSkillCommandsRuntimePromise = null;
56744
56744
  function loadSlashCommandsRuntime() {
56745
- slashCommandsRuntimePromise ??= import("./slash-commands.runtime-CNOgz4_9.js");
56745
+ slashCommandsRuntimePromise ??= import("./slash-commands.runtime-MtqQ0dUA.js");
56746
56746
  return slashCommandsRuntimePromise;
56747
56747
  }
56748
56748
  function loadSlashDispatchRuntime() {
56749
- slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DB8Pxn4H.js");
56749
+ slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-vedDymM6.js");
56750
56750
  return slashDispatchRuntimePromise;
56751
56751
  }
56752
56752
  function loadSlashSkillCommandsRuntime() {
56753
- slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-NOFmKWtQ.js");
56753
+ slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-BraY0iT6.js");
56754
56754
  return slashSkillCommandsRuntimePromise;
56755
56755
  }
56756
56756
  const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
@@ -57740,7 +57740,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
57740
57740
  }
57741
57741
  let auditMembershipRuntimePromise = null;
57742
57742
  function loadAuditMembershipRuntime() {
57743
- auditMembershipRuntimePromise ??= import("./audit-membership-runtime-DvBMQsDC.js");
57743
+ auditMembershipRuntimePromise ??= import("./audit-membership-runtime-BpoX61hv.js");
57744
57744
  return auditMembershipRuntimePromise;
57745
57745
  }
57746
57746
  async function auditTelegramGroupMembership(params) {
@@ -62432,7 +62432,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
62432
62432
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
62433
62433
  let preflightTranscript;
62434
62434
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
62435
- const { transcribeFirstAudio } = await import("./audio-preflight-DOR1d1hn.js");
62435
+ const { transcribeFirstAudio } = await import("./audio-preflight-vJtQi-4_.js");
62436
62436
  preflightTranscript = await transcribeFirstAudio({
62437
62437
  ctx: {
62438
62438
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -65245,7 +65245,7 @@ function createWhatsAppLoginTool() {
65245
65245
  force: Type.Optional(Type.Boolean())
65246
65246
  }),
65247
65247
  execute: async (_toolCallId, args) => {
65248
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DdTcNEXK.js");
65248
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-CXXXR_1G.js");
65249
65249
  if ((args?.action ?? "start") === "wait") {
65250
65250
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
65251
65251
  return {
@@ -65320,23 +65320,23 @@ let webOutboundPromise = null;
65320
65320
  let webLoginPromise = null;
65321
65321
  let whatsappActionsPromise = null;
65322
65322
  function loadWebOutbound() {
65323
- webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-1ZWHTOIM.js");
65323
+ webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-Dv_fcg58.js");
65324
65324
  return webOutboundPromise;
65325
65325
  }
65326
65326
  function loadWebLogin() {
65327
- webLoginPromise ??= import("./runtime-whatsapp-login.runtime-BtI3_XNc.js");
65327
+ webLoginPromise ??= import("./runtime-whatsapp-login.runtime-BxBLO_MD.js");
65328
65328
  return webLoginPromise;
65329
65329
  }
65330
65330
  function loadWebLoginQr() {
65331
- webLoginQrPromise ??= import("./login-qr-DdTcNEXK.js");
65331
+ webLoginQrPromise ??= import("./login-qr-CXXXR_1G.js");
65332
65332
  return webLoginQrPromise;
65333
65333
  }
65334
65334
  function loadWebChannel() {
65335
- webChannelPromise ??= import("./web-BU7hQoaC.js");
65335
+ webChannelPromise ??= import("./web-DOQLvU76.js");
65336
65336
  return webChannelPromise;
65337
65337
  }
65338
65338
  function loadWhatsAppActions() {
65339
- whatsappActionsPromise ??= import("./whatsapp-actions-C4kVobIE.js");
65339
+ whatsappActionsPromise ??= import("./whatsapp-actions-Bi_hJ-Cq.js");
65340
65340
  return whatsappActionsPromise;
65341
65341
  }
65342
65342
  function createRuntimeWhatsApp() {
@@ -65777,7 +65777,7 @@ const log$11 = createSubsystemLogger("memory");
65777
65777
  const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
65778
65778
  let managerRuntimePromise = null;
65779
65779
  function loadManagerRuntime() {
65780
- managerRuntimePromise ??= import("./manager-runtime-Ba5Qbwrz.js");
65780
+ managerRuntimePromise ??= import("./manager-runtime-CzGyKWqZ.js");
65781
65781
  return managerRuntimePromise;
65782
65782
  }
65783
65783
  async function getMemorySearchManager(params) {
@@ -65791,7 +65791,7 @@ async function getMemorySearchManager(params) {
65791
65791
  if (cached) return { manager: cached };
65792
65792
  }
65793
65793
  try {
65794
- const { QmdMemoryManager } = await import("./qmd-manager-CmGPY3vR.js");
65794
+ const { QmdMemoryManager } = await import("./qmd-manager-mWoTdSFY.js");
65795
65795
  const primary = await QmdMemoryManager.create({
65796
65796
  cfg: params.cfg,
65797
65797
  agentId: params.agentId,
@@ -77907,7 +77907,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
77907
77907
  const MAX_LOOP_WARNING_KEYS = 256;
77908
77908
  let beforeToolCallRuntimePromise = null;
77909
77909
  function loadBeforeToolCallRuntime() {
77910
- beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-133Rh_QB.js");
77910
+ beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-dixwOhKo.js");
77911
77911
  return beforeToolCallRuntimePromise;
77912
77912
  }
77913
77913
  function buildAdjustedParamsKey(params) {
@@ -96181,7 +96181,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
96181
96181
  const log$1 = createSubsystemLogger("session-maintenance-warning");
96182
96182
  let deliverRuntimePromise = null;
96183
96183
  function loadDeliverRuntime() {
96184
- deliverRuntimePromise ??= import("./deliver-runtime-CoTMJYYS.js");
96184
+ deliverRuntimePromise ??= import("./deliver-runtime-DkyFlw6M.js");
96185
96185
  return deliverRuntimePromise;
96186
96186
  }
96187
96187
  function shouldSendWarning() {
@@ -1,5 +1,5 @@
1
- import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-A3lJ2lkT.js";
2
- import { m as missingTargetError } from "./common-BlJfaliy.js";
1
+ import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-WDZLdw8Z.js";
2
+ import { m as missingTargetError } from "./common-tbQtS1zp.js";
3
3
 
4
4
  //#region src/whatsapp/resolve-outbound-target.ts
5
5
  function resolveWhatsAppOutboundTarget(params) {
@@ -1,4 +1,4 @@
1
- import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
1
+ import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
2
2
  import { c as resolveStateDir, d as resolveRequiredHomeDir } from "./paths-0d8fBoC4.js";
3
3
  import path from "node:path";
4
4
  import fs from "node:fs";
@@ -0,0 +1,10 @@
1
+ import "./run-with-concurrency-KlQQobSI.js";
2
+ import "./config-xkSrCec1.js";
3
+ import "./logger-Dj4IX2UB.js";
4
+ import "./paths-0d8fBoC4.js";
5
+ import "./accounts-DAebrX4r.js";
6
+ import "./github-copilot-token-CKKBybuX.js";
7
+ import "./session-CDTFGpPr.js";
8
+ import { t as loginWeb } from "./login-CYqSEzPN.js";
9
+
10
+ export { loginWeb };
@@ -0,0 +1,19 @@
1
+ import "./run-with-concurrency-KlQQobSI.js";
2
+ import "./config-xkSrCec1.js";
3
+ import "./logger-Dj4IX2UB.js";
4
+ import "./paths-0d8fBoC4.js";
5
+ import "./accounts-DAebrX4r.js";
6
+ import "./plugins-WDZLdw8Z.js";
7
+ import "./image-ops-CsS12Rhg.js";
8
+ import "./github-copilot-token-CKKBybuX.js";
9
+ import "./path-alias-guards-CtnE1WrY.js";
10
+ import "./fs-safe-Bs9BHEmp.js";
11
+ import "./proxy-env-DKQK-fn1.js";
12
+ import "./fetch-guard-ClYTU8LW.js";
13
+ import "./local-roots-Bh7FKHd2.js";
14
+ import "./ir-DvWncgWp.js";
15
+ import "./render-95l30zcf.js";
16
+ import "./tables-D5d9mqkg.js";
17
+ import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./outbound-IhJ6xLv1.js";
18
+
19
+ export { sendMessageWhatsApp, sendPollWhatsApp };
@@ -1,15 +1,15 @@
1
- import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-FfGqq3TC.js";
2
- import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-CURxPU7B.js";
3
- import { Y as resolvePreferredOpenClawTmpDir } from "./logger-Bl138Nx7.js";
4
- import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-A3lJ2lkT.js";
1
+ import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-KlQQobSI.js";
2
+ import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-xkSrCec1.js";
3
+ import { Y as resolvePreferredOpenClawTmpDir } from "./logger-Dj4IX2UB.js";
4
+ import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-WDZLdw8Z.js";
5
5
  import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
6
- import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-BPP3M0yA.js";
6
+ import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-CsS12Rhg.js";
7
7
  import { t as resolveFetch } from "./fetch-O45GieZo.js";
8
- import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-A16Z9dUw.js";
8
+ import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-DvWncgWp.js";
9
9
  import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-CuwZJ8h2.js";
10
10
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
11
- import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-VsWwcNLD.js";
12
- import { t as convertMarkdownTables } from "./tables-BfXi9ML_.js";
11
+ import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-1LCR07HU.js";
12
+ import { t as convertMarkdownTables } from "./tables-D5d9mqkg.js";
13
13
  import path from "node:path";
14
14
  import { promisify } from "node:util";
15
15
  import fs from "node:fs/promises";
@@ -1,10 +1,10 @@
1
- import { n as loadConfig } from "./config-CURxPU7B.js";
2
- import { h as normalizeE164, y as resolveUserPath } from "./logger-Bl138Nx7.js";
3
- import { t as resolveIMessageAccount } from "./accounts-Dg9HUb5m.js";
4
- import { m as kindFromMime } from "./image-ops-BPP3M0yA.js";
5
- import { s as resolveMarkdownTableMode } from "./ir-A16Z9dUw.js";
6
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-C1GuoigP.js";
7
- import { t as convertMarkdownTables } from "./tables-BfXi9ML_.js";
1
+ import { n as loadConfig } from "./config-xkSrCec1.js";
2
+ import { h as normalizeE164, y as resolveUserPath } from "./logger-Dj4IX2UB.js";
3
+ import { t as resolveIMessageAccount } from "./accounts-DxlJAHNG.js";
4
+ import { m as kindFromMime } from "./image-ops-CsS12Rhg.js";
5
+ import { s as resolveMarkdownTableMode } from "./ir-DvWncgWp.js";
6
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Aa86Zp9X.js";
7
+ import { t as convertMarkdownTables } from "./tables-D5d9mqkg.js";
8
8
  import { spawn } from "node:child_process";
9
9
  import { createInterface } from "node:readline";
10
10
 
@@ -1,11 +1,11 @@
1
- import { n as loadConfig } from "./config-CURxPU7B.js";
2
- import { m as kindFromMime } from "./image-ops-BPP3M0yA.js";
3
- import { n as resolveSignalAccount } from "./accounts-Bpe8MpMj.js";
1
+ import { n as loadConfig } from "./config-xkSrCec1.js";
2
+ import { m as kindFromMime } from "./image-ops-CsS12Rhg.js";
3
+ import { n as resolveSignalAccount } from "./accounts-B9ydKoYC.js";
4
4
  import { n as generateSecureUuid } from "./secure-random-D2mQUJdh.js";
5
5
  import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
6
6
  import { t as resolveFetch } from "./fetch-O45GieZo.js";
7
- import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-A16Z9dUw.js";
8
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-C1GuoigP.js";
7
+ import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-DvWncgWp.js";
8
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Aa86Zp9X.js";
9
9
 
10
10
  //#region src/signal/format.ts
11
11
  function normalizeUrlForComparison(url) {
@@ -1,25 +1,25 @@
1
- import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-FfGqq3TC.js";
2
- import { In as withFileLock$1, Qn as isTruthyEnvValue, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-CURxPU7B.js";
3
- import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-Bl138Nx7.js";
1
+ import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-KlQQobSI.js";
2
+ import { In as withFileLock$1, Qn as isTruthyEnvValue, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-xkSrCec1.js";
3
+ import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-Dj4IX2UB.js";
4
4
  import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-0d8fBoC4.js";
5
- import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-A3lJ2lkT.js";
6
- import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-BPP3M0yA.js";
5
+ import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-WDZLdw8Z.js";
6
+ import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-CsS12Rhg.js";
7
7
  import { r as writeJsonAtomic } from "./json-files-DtF9ARSD.js";
8
- import { t as redactSensitiveText } from "./redact-C3rEm8A0.js";
9
- import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-B2jpHiod.js";
10
- import { t as hasProxyEnvConfigured } from "./proxy-env-DnjPLipe.js";
11
- import { t as makeProxyFetch } from "./proxy-fetch-C-fXKPD2.js";
8
+ import { t as redactSensitiveText } from "./redact-CBwV828t.js";
9
+ import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-Cn3JyiMn.js";
10
+ import { t as hasProxyEnvConfigured } from "./proxy-env-DKQK-fn1.js";
11
+ import { t as makeProxyFetch } from "./proxy-fetch-rtc8GmoB.js";
12
12
  import { t as resolveFetch } from "./fetch-O45GieZo.js";
13
13
  import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-BHZKnwxJ.js";
14
- import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-A16Z9dUw.js";
14
+ import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-DvWncgWp.js";
15
15
  import { t as renderMarkdownWithMarkers } from "./render-95l30zcf.js";
16
16
  import { n as normalizePollInput } from "./polls-CuwZJ8h2.js";
17
17
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
18
- import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-VsWwcNLD.js";
18
+ import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-1LCR07HU.js";
19
19
  import path from "node:path";
20
20
  import fs, { readFileSync } from "node:fs";
21
21
  import os from "node:os";
22
- import JSON5 from "json5";
22
+ import json5 from "json5";
23
23
  import fs$1 from "node:fs/promises";
24
24
  import process$1 from "node:process";
25
25
  import crypto, { randomBytes } from "node:crypto";
@@ -1720,7 +1720,7 @@ async function loadCronStore(storePath) {
1720
1720
  const raw = await fs.promises.readFile(storePath, "utf-8");
1721
1721
  let parsed;
1722
1722
  try {
1723
- parsed = JSON5.parse(raw);
1723
+ parsed = json5.parse(raw);
1724
1724
  } catch (err) {
1725
1725
  throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
1726
1726
  }
@@ -1,10 +1,10 @@
1
- import { n as loadConfig } from "./config-CURxPU7B.js";
2
- import { L as logVerbose } from "./logger-Bl138Nx7.js";
3
- import { g as resolveSlackBotToken, p as resolveSlackAccount } from "./plugins-A3lJ2lkT.js";
1
+ import { n as loadConfig } from "./config-xkSrCec1.js";
2
+ import { L as logVerbose } from "./logger-Dj4IX2UB.js";
3
+ import { g as resolveSlackBotToken, p as resolveSlackAccount } from "./plugins-WDZLdw8Z.js";
4
4
  import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
5
- import { i as isSilentReplyText } from "./tokens-DMbd3-Ct.js";
6
- import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-d5MU-Fi7.js";
7
- import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-A16Z9dUw.js";
5
+ import { i as isSilentReplyText } from "./tokens-D2fpVQt3.js";
6
+ import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-ClYTU8LW.js";
7
+ import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-DvWncgWp.js";
8
8
  import { t as renderMarkdownWithMarkers } from "./render-95l30zcf.js";
9
9
  import { WebClient } from "@slack/web-api";
10
10
 
@@ -1,6 +1,6 @@
1
- import { Tr as formatCliCommand, qn as VERSION } from "./config-CURxPU7B.js";
2
- import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-Bl138Nx7.js";
3
- import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-BY3xA55d.js";
1
+ import { Tr as formatCliCommand, qn as VERSION } from "./config-xkSrCec1.js";
2
+ import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-Dj4IX2UB.js";
3
+ import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-DAebrX4r.js";
4
4
  import fs from "node:fs";
5
5
  import { randomUUID } from "node:crypto";
6
6
  import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";