squidclaw 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/dist/{audio-preflight-BTYxAJjy.js → audio-preflight-BKgdc7dS.js} +4 -4
  2. package/dist/{audio-preflight-Dkl6Z32z.js → audio-preflight-DpCWFB4z.js} +4 -4
  3. package/dist/{audio-transcription-runner-Gi_h5HEE.js → audio-transcription-runner-B2BdTEps.js} +1 -1
  4. package/dist/{audio-transcription-runner-DBkDgluo.js → audio-transcription-runner-BnbdYMDl.js} +1 -1
  5. package/dist/build-info.json +3 -3
  6. package/dist/bundled/boot-md/handler.js +6 -6
  7. package/dist/bundled/session-memory/handler.js +6 -6
  8. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  9. package/dist/{chrome-CAd6FQEn.js → chrome-BQDCalPp.js} +8 -8
  10. package/dist/{chrome-pBkBuWci.js → chrome-CjxCwFA9.js} +8 -8
  11. package/dist/{command-registry-CvgCFxfY.js → command-registry-CxiSVXru.js} +6 -6
  12. package/dist/{completion-cli-BGM1V6EN.js → completion-cli-s0fxD0OE.js} +2 -2
  13. package/dist/{completion-cli-OrgUDc2S.js → completion-cli-slzdOlRV.js} +1 -1
  14. package/dist/{config-cli-DbBvjvpS.js → config-cli-C0mk9eRl.js} +1 -1
  15. package/dist/{config-cli-uIP4r17f.js → config-cli-DhHEA_Nc.js} +1 -1
  16. package/dist/{configure-BGvoAfbs.js → configure-CeLdVVyh.js} +8 -1
  17. package/dist/{configure-BOsTXjBw.js → configure-FRd92XZ8.js} +8 -1
  18. package/dist/{deliver-DBXe-ZmL.js → deliver-D-f6Wa3i.js} +1 -1
  19. package/dist/{deliver-BJuiq0GS.js → deliver-aL8yOYS1.js} +1 -1
  20. package/dist/{deliver-runtime-DHKcNQzq.js → deliver-runtime-ChVR6sR3.js} +3 -3
  21. package/dist/{deliver-runtime-GlnBJNCj.js → deliver-runtime-_egya0QZ.js} +3 -3
  22. package/dist/{deps-send-whatsapp.runtime-DdxKewuy.js → deps-send-whatsapp.runtime-CZj97m5A.js} +7 -7
  23. package/dist/{deps-send-whatsapp.runtime-CslTuV47.js → deps-send-whatsapp.runtime-CiG6xd2e.js} +7 -7
  24. package/dist/{doctor-completion-42wcUATu.js → doctor-completion-I-WDZUs1.js} +1 -1
  25. package/dist/{doctor-completion-D6RGDBD5.js → doctor-completion-mnJOkoQ_.js} +1 -1
  26. package/dist/entry.js +2 -2
  27. package/dist/extensionAPI.js +6 -6
  28. package/dist/{gateway-cli-CG3mshpO.js → gateway-cli-B5rTNvd7.js} +1 -1
  29. package/dist/{gateway-cli-BbPfLLT6.js → gateway-cli-BHfkbI0u.js} +1 -1
  30. package/dist/{image-j_UomzVG.js → image-C-C7hQ26.js} +1 -1
  31. package/dist/{image-sRW3RpTY.js → image-DKZCmkET.js} +1 -1
  32. package/dist/{image-runtime-BNh3IfMj.js → image-runtime-D7n4dID4.js} +3 -3
  33. package/dist/{image-runtime-SUtf9jqh.js → image-runtime-poRypm-b.js} +3 -3
  34. package/dist/index.js +1 -1
  35. package/dist/llm-slug-generator.js +6 -6
  36. package/dist/{onboard-ChxvwUze.js → onboard-BP2Cr_Xy.js} +1 -1
  37. package/dist/{onboard-1KfKwvMR.js → onboard-CCJCvPgf.js} +1 -1
  38. package/dist/{onboarding-D6kMb3yv.js → onboarding-D5G87dvM.js} +1 -1
  39. package/dist/{onboarding-DuUMPrqA.js → onboarding-D7CIbxzd.js} +1 -1
  40. package/dist/{onboarding.finalize-KTOhO1-l.js → onboarding.finalize-B1MmYTFV.js} +4 -4
  41. package/dist/{onboarding.finalize-bphDUwZy.js → onboarding.finalize-Cxzl-fYU.js} +3 -3
  42. package/dist/{pi-embedded-BP2UlUm_.js → pi-embedded-CHzwPt6X.js} +24 -24
  43. package/dist/{pi-embedded-BGz_qdCc.js → pi-embedded-MktS4l8v.js} +24 -24
  44. package/dist/{pi-embedded-helpers-CmLnmKlb.js → pi-embedded-helpers-Bse_QhEf.js} +3 -3
  45. package/dist/{pi-embedded-helpers-BruaFB5l.js → pi-embedded-helpers-DYWYzEOC.js} +3 -3
  46. package/dist/plugin-sdk/accounts-BNuRM3rG.js +288 -0
  47. package/dist/plugin-sdk/accounts-CGTYP7Rh.js +46 -0
  48. package/dist/plugin-sdk/accounts-CcS9IAhD.js +35 -0
  49. package/dist/plugin-sdk/{accounts-YTdQYQFr.js → accounts-CxUSDHsT.js} +3 -3
  50. package/dist/plugin-sdk/{accounts-h__dTrLK.js → accounts-PSzw-z3S.js} +2 -2
  51. package/dist/plugin-sdk/{accounts-DghIDNk2.js → accounts-kr-Gz1hk.js} +2 -2
  52. package/dist/plugin-sdk/{active-listener-_PRYjtJv.js → active-listener-BQNrTcR3.js} +2 -2
  53. package/dist/plugin-sdk/active-listener-CTsLn1AX.js +50 -0
  54. package/dist/plugin-sdk/{api-key-rotation-mVDSAkKQ.js → api-key-rotation-Bhck7wki.js} +2 -2
  55. package/dist/plugin-sdk/api-key-rotation-DE4gr5YM.js +181 -0
  56. package/dist/plugin-sdk/audio-preflight-CRGLqp-g.js +69 -0
  57. package/dist/plugin-sdk/{audio-preflight-BZlQM-qX.js → audio-preflight-_xgGaeho.js} +26 -26
  58. package/dist/plugin-sdk/{audio-transcription-runner-CrYTX8py.js → audio-transcription-runner-Dwc0Eh-B.js} +11 -11
  59. package/dist/plugin-sdk/audio-transcription-runner-RXsskMMk.js +2176 -0
  60. package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +58 -0
  61. package/dist/plugin-sdk/{audit-membership-runtime-Xl20kCBe.js → audit-membership-runtime-DHQDvH4u.js} +2 -2
  62. package/dist/plugin-sdk/{channel-activity-gwxRn4wF.js → channel-activity-XajEg_DL.js} +3 -3
  63. package/dist/plugin-sdk/channel-activity-gPvD1D7S.js +94 -0
  64. package/dist/plugin-sdk/{channel-web-1WF-Nabe.js → channel-web-KtqCp4mz.js} +18 -18
  65. package/dist/plugin-sdk/channel-web-LGl1zPJt.js +2256 -0
  66. package/dist/plugin-sdk/chrome-9Y_LcUg1.js +2415 -0
  67. package/dist/plugin-sdk/{chrome-BXbYwXRH.js → chrome-diV5m81I.js} +6 -6
  68. package/dist/plugin-sdk/commands-registry-CcdEPxVg.js +1125 -0
  69. package/dist/plugin-sdk/{commands-registry-0w-aZenK.js → commands-registry-DwZAJuut.js} +4 -4
  70. package/dist/plugin-sdk/{common-DBOCt6Yv.js → common-CqnO92P8.js} +2 -2
  71. package/dist/plugin-sdk/config-CrQ5bCrw.js +17912 -0
  72. package/dist/plugin-sdk/{config-pRtEoVyZ.js → config-DYbtdrsT.js} +7 -7
  73. package/dist/plugin-sdk/deliver-D3xr5AkB.js +1694 -0
  74. package/dist/plugin-sdk/{deliver-FjlJrtZk.js → deliver-DG_7Uagn.js} +10 -10
  75. package/dist/plugin-sdk/deliver-runtime-B79ZQu69.js +32 -0
  76. package/dist/plugin-sdk/deliver-runtime-BdTC7uKE.js +32 -0
  77. package/dist/plugin-sdk/deps-send-discord.runtime-BOQZIqC8.js +23 -0
  78. package/dist/plugin-sdk/deps-send-discord.runtime-CObCNMt3.js +23 -0
  79. package/dist/plugin-sdk/deps-send-imessage.runtime-CuHOc9Ka.js +22 -0
  80. package/dist/plugin-sdk/deps-send-imessage.runtime-DlWgi2DH.js +22 -0
  81. package/dist/plugin-sdk/deps-send-signal.runtime-Cz7FT8J8.js +21 -0
  82. package/dist/plugin-sdk/deps-send-signal.runtime-iPynghkE.js +21 -0
  83. package/dist/plugin-sdk/deps-send-slack.runtime-D4vDoRsg.js +19 -0
  84. package/dist/plugin-sdk/deps-send-slack.runtime-DNTbE5jS.js +19 -0
  85. package/dist/plugin-sdk/deps-send-telegram.runtime-7CR-xtCF.js +24 -0
  86. package/dist/plugin-sdk/deps-send-telegram.runtime-DjTVED_m.js +24 -0
  87. package/dist/plugin-sdk/deps-send-whatsapp.runtime-CRWOIKRC.js +57 -0
  88. package/dist/plugin-sdk/deps-send-whatsapp.runtime-bUi8kghi.js +57 -0
  89. package/dist/plugin-sdk/diagnostic-BXkLYs_9.js +319 -0
  90. package/dist/plugin-sdk/{diagnostic-Dt2i3afe.js → diagnostic-CT7v_kM2.js} +2 -2
  91. package/dist/plugin-sdk/{errors-CgRPdp3o.js → errors-9oVz7reJ.js} +1 -1
  92. package/dist/plugin-sdk/errors-B8oJXuCF.js +54 -0
  93. package/dist/plugin-sdk/fetch-guard-C55uvn27.js +156 -0
  94. package/dist/plugin-sdk/{fetch-guard-DyPZh8r2.js → fetch-guard-Or5BCq0E.js} +2 -2
  95. package/dist/plugin-sdk/{fs-safe-DqCO1D4C.js → fs-safe-DFbwq9CS.js} +3 -3
  96. package/dist/plugin-sdk/fs-safe-Dqmpk-Fr.js +352 -0
  97. package/dist/plugin-sdk/image-3xW7IJdq.js +2310 -0
  98. package/dist/plugin-sdk/image-ops-BjK2qZZn.js +584 -0
  99. package/dist/plugin-sdk/{image-ops-sw0uZ0GN.js → image-ops-CMsocOob.js} +2 -2
  100. package/dist/plugin-sdk/image-runtime-CZZJJqcW.js +25 -0
  101. package/dist/plugin-sdk/image-runtime-Cjz368oj.js +25 -0
  102. package/dist/plugin-sdk/{image-CQ9TZ9vq.js → image-rycGCqJO.js} +6 -6
  103. package/dist/plugin-sdk/index.js +50 -50
  104. package/dist/plugin-sdk/ir-CS7uuQhN.js +1296 -0
  105. package/dist/plugin-sdk/{ir-BVZ5kUMb.js → ir-DihI2SIz.js} +7 -7
  106. package/dist/plugin-sdk/{local-roots-fO3ZgW3G.js → local-roots-1xVosTZ4.js} +4 -4
  107. package/dist/plugin-sdk/local-roots-DmOKwiNW.js +186 -0
  108. package/dist/plugin-sdk/{logger-DIb2cGHp.js → logger-Bg4vIUJn.js} +2 -2
  109. package/dist/plugin-sdk/logger-DDdrdbDu.js +1163 -0
  110. package/dist/plugin-sdk/login-BSEeU27Y.js +57 -0
  111. package/dist/plugin-sdk/{login-Dg5cxB_3.js → login-YhFrVUWo.js} +4 -4
  112. package/dist/plugin-sdk/login-qr-BwWJsDSj.js +320 -0
  113. package/dist/plugin-sdk/{login-qr-C3Vn30cq.js → login-qr-SpUTuwYv.js} +5 -5
  114. package/dist/plugin-sdk/manager-DiXPCubI.js +3917 -0
  115. package/dist/plugin-sdk/{manager-BR-TwWTH.js → manager-DrzOPeMD.js} +8 -8
  116. package/dist/plugin-sdk/manager-runtime-CF55pBNe.js +15 -0
  117. package/dist/plugin-sdk/manager-runtime-Ct0m9UJC.js +15 -0
  118. package/dist/plugin-sdk/mattermost.js +3 -3
  119. package/dist/plugin-sdk/{outbound-1a3Z_QJ2.js → outbound-Cc4cUn9K.js} +5 -5
  120. package/dist/plugin-sdk/outbound-attachment-BoFx05zw.js +19 -0
  121. package/dist/plugin-sdk/{outbound-attachment-BTQjD4YE.js → outbound-attachment-Dtp3hQgc.js} +2 -2
  122. package/dist/plugin-sdk/outbound-cpqK1GFe.js +212 -0
  123. package/dist/plugin-sdk/{path-alias-guards-TnxupPQC.js → path-alias-guards-DA0MhfkG.js} +1 -1
  124. package/dist/plugin-sdk/path-alias-guards-gBhrAn14.js +43 -0
  125. package/dist/plugin-sdk/paths-C6W4VHoa.js +166 -0
  126. package/dist/plugin-sdk/{paths-B7_75Pdr.js → paths-CP67O8eN.js} +1 -1
  127. package/dist/plugin-sdk/{pi-embedded-helpers-DZRNadD8.js → pi-embedded-helpers-BDJ_4Plh.js} +16 -16
  128. package/dist/plugin-sdk/pi-embedded-helpers-C-B9B6Sp.js +9627 -0
  129. package/dist/plugin-sdk/pi-model-discovery-BGEeoPzN.js +134 -0
  130. package/dist/plugin-sdk/{pi-model-discovery-DGh6xekX.js → pi-model-discovery-Mk0GTDJl.js} +1 -1
  131. package/dist/plugin-sdk/pi-model-discovery-runtime-BHZ_Htob.js +8 -0
  132. package/dist/plugin-sdk/pi-model-discovery-runtime-BrwtJHPU.js +8 -0
  133. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-ByN_xThw.js +354 -0
  134. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-BZ9XgG_x.js → pi-tools.before-tool-call.runtime-DV72wTDb.js} +4 -4
  135. package/dist/plugin-sdk/plugins-D5cdn70e.js +864 -0
  136. package/dist/plugin-sdk/{plugins-B8pWVYug.js → plugins-DSs2-fnK.js} +4 -4
  137. package/dist/plugin-sdk/{proxy-env-BOlkiW1-.js → proxy-env-Ib4-LUh-.js} +1 -1
  138. package/dist/plugin-sdk/{proxy-fetch-Dt5BedH8.js → proxy-fetch-Cf3IUSDw.js} +1 -1
  139. package/dist/plugin-sdk/proxy-fetch-ZPEvp58f.js +38 -0
  140. package/dist/plugin-sdk/pw-ai-C_QOIuin.js +1938 -0
  141. package/dist/plugin-sdk/{pw-ai-C17A1o4w.js → pw-ai-DIx2wpkY.js} +9 -9
  142. package/dist/plugin-sdk/qmd-manager-6bozlfFg.js +1448 -0
  143. package/dist/plugin-sdk/{qmd-manager-Bei6TaFq.js → qmd-manager-Ov9ElEfG.js} +7 -7
  144. package/dist/plugin-sdk/{query-expansion-POz2za8a.js → query-expansion-CzjwW461.js} +4 -4
  145. package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +1011 -0
  146. package/dist/plugin-sdk/{redact-9WsNyb7S.js → redact-BoNEjbpF.js} +1 -1
  147. package/dist/plugin-sdk/redact-DfACyt0X.js +319 -0
  148. package/dist/plugin-sdk/reply-CQUX_haM.js +98828 -0
  149. package/dist/plugin-sdk/{reply-BFbijn6_.js → reply-CWWUd_JS.js} +73 -73
  150. package/dist/plugin-sdk/{resolve-outbound-target-B9iFEh0y.js → resolve-outbound-target-BOkvxZtM.js} +2 -2
  151. package/dist/plugin-sdk/resolve-outbound-target-Dbz0O8cR.js +40 -0
  152. package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +1994 -0
  153. package/dist/plugin-sdk/{run-with-concurrency-DmTrN5JG.js → run-with-concurrency-kVooFCVo.js} +1 -1
  154. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DitS0I1z.js +10 -0
  155. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-OthrtsLL.js +10 -0
  156. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYCr6A3v.js +19 -0
  157. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Q2HL0zL3.js +19 -0
  158. package/dist/plugin-sdk/send-BACEu1Un.js +414 -0
  159. package/dist/plugin-sdk/{send-BGZo6HW1.js → send-BP1fSEBR.js} +5 -5
  160. package/dist/plugin-sdk/send-BU4OoR7u.js +2587 -0
  161. package/dist/plugin-sdk/{send-BqkUDZed.js → send-BeLBlAsQ.js} +13 -13
  162. package/dist/plugin-sdk/{send-BisREGBZ.js → send-D9CSOGul.js} +6 -6
  163. package/dist/plugin-sdk/{send-D6_nNvi0.js → send-DLKxJJYV.js} +8 -8
  164. package/dist/plugin-sdk/send-DbxOJ_BC.js +3135 -0
  165. package/dist/plugin-sdk/{send-Dj7XEcZN.js → send-XZ6IXCtL.js} +7 -7
  166. package/dist/plugin-sdk/send-n932vjT5.js +540 -0
  167. package/dist/plugin-sdk/send-uCPS53j8.js +503 -0
  168. package/dist/plugin-sdk/session-DenDKR_-.js +169 -0
  169. package/dist/plugin-sdk/{session-D4KDs7Hq.js → session-DtLUYWvY.js} +3 -3
  170. package/dist/plugin-sdk/skill-commands-BK1KDKmS.js +342 -0
  171. package/dist/plugin-sdk/{skill-commands-D_xeseiI.js → skill-commands-Bv7EZypt.js} +4 -4
  172. package/dist/plugin-sdk/{skills-Bs2b3JfV.js → skills-BzXN4uev.js} +6 -6
  173. package/dist/plugin-sdk/skills-D4am-zkO.js +1428 -0
  174. package/dist/plugin-sdk/slash-commands.runtime-Bx1K1iqP.js +13 -0
  175. package/dist/plugin-sdk/slash-commands.runtime-DWfFqMZw.js +13 -0
  176. package/dist/plugin-sdk/slash-dispatch.runtime-DVn338JI.js +52 -0
  177. package/dist/plugin-sdk/slash-dispatch.runtime-pnWH5AjM.js +52 -0
  178. package/dist/plugin-sdk/slash-skill-commands.runtime-Dbi_YzPO.js +16 -0
  179. package/dist/plugin-sdk/slash-skill-commands.runtime-DxvNWv_E.js +16 -0
  180. package/dist/plugin-sdk/ssrf-2WBi1Tzx.js +202 -0
  181. package/dist/plugin-sdk/store-BKDMuvyn.js +81 -0
  182. package/dist/plugin-sdk/{store-B7ESm9_L.js → store-DnJhFFW5.js} +2 -2
  183. package/dist/plugin-sdk/subagent-registry-runtime-FhP0l-Rw.js +52 -0
  184. package/dist/plugin-sdk/subagent-registry-runtime-hH9ADku1.js +52 -0
  185. package/dist/plugin-sdk/{tables-1vhBJPK_.js → tables-CpmqssLF.js} +1 -1
  186. package/dist/plugin-sdk/tables-CrDYcv_b.js +55 -0
  187. package/dist/plugin-sdk/target-errors-aOwE-MIU.js +195 -0
  188. package/dist/plugin-sdk/{thinking-DjaClmzi.js → thinking-1UCPuD9d.js} +7 -7
  189. package/dist/plugin-sdk/thinking-D41FMh9T.js +1206 -0
  190. package/dist/plugin-sdk/{tokens-CLE20fRI.js → tokens-CTIYTLWu.js} +1 -1
  191. package/dist/plugin-sdk/tokens-DAL_5WHL.js +52 -0
  192. package/dist/plugin-sdk/{tool-images-B95xcwiR.js → tool-images-CWc54lpI.js} +2 -2
  193. package/dist/plugin-sdk/tool-images-RX4QTMnt.js +274 -0
  194. package/dist/plugin-sdk/web-AtEy-48y.js +56 -0
  195. package/dist/plugin-sdk/web-DjKONHqF.js +56 -0
  196. package/dist/plugin-sdk/{whatsapp-actions-BYpcWkTN.js → whatsapp-actions-BF6ih4Gi.js} +17 -17
  197. package/dist/plugin-sdk/whatsapp-actions-DEZcm_CZ.js +80 -0
  198. package/dist/plugin-sdk/whatsapp.js +50 -50
  199. package/dist/{program-xNEHPhT8.js → program-2J-jgdfk.js} +2 -2
  200. package/dist/{program-context-J_FyEsaS.js → program-context-SjYSWx_N.js} +8 -8
  201. package/dist/{prompt-select-styled-B1LjjgQ0.js → prompt-select-styled-Baiu3mAU.js} +1 -1
  202. package/dist/{prompt-select-styled-BRiogP_P.js → prompt-select-styled-DPnVmH8f.js} +1 -1
  203. package/dist/{pw-ai-7kHgUGj0.js → pw-ai-BwRP3TWc.js} +1 -1
  204. package/dist/{pw-ai-BmGrTicP.js → pw-ai-zFPBSxaL.js} +1 -1
  205. package/dist/{register.configure-DezZ4Q1p.js → register.configure-Ao1K2uze.js} +1 -1
  206. package/dist/{register.configure-C4p9ad2q.js → register.configure-CCkfhF-7.js} +1 -1
  207. package/dist/{register.maintenance-CzMKTC2a.js → register.maintenance-DMbs8w2m.js} +4 -4
  208. package/dist/{register.maintenance-CTvFmkAm.js → register.maintenance-pLpE2oF-.js} +5 -5
  209. package/dist/{register.onboard-C39xhpv1.js → register.onboard-Cb8xLIye.js} +2 -2
  210. package/dist/{register.onboard-DZt2kSAg.js → register.onboard-IMrHOeW_.js} +2 -2
  211. package/dist/{register.setup-04L_8wfA.js → register.setup-CX8IUmew.js} +2 -2
  212. package/dist/{register.setup-DWctFmOd.js → register.setup-DU7IDzAv.js} +2 -2
  213. package/dist/{register.subclis-C3TphbCF.js → register.subclis-BIbL6FBV.js} +3 -3
  214. package/dist/{run-main-7tknx04F.js → run-main-CpDZPsC_.js} +5 -5
  215. package/dist/{slash-dispatch.runtime-BL3qA1O3.js → slash-dispatch.runtime-DkcAYuyK.js} +6 -6
  216. package/dist/{slash-dispatch.runtime-Dh2L_3Tg.js → slash-dispatch.runtime-DuJRl-LD.js} +6 -6
  217. package/dist/{subagent-registry-runtime-MtjBCcgn.js → subagent-registry-runtime-BlRAnw80.js} +6 -6
  218. package/dist/{subagent-registry-runtime-BRNDawlJ.js → subagent-registry-runtime-COygB9b1.js} +6 -6
  219. package/dist/{update-cli-0UiUaT3q.js → update-cli-BwhvSo1R.js} +5 -5
  220. package/dist/{update-cli-C-uyQcFS.js → update-cli-TQEfxhWF.js} +4 -4
  221. package/dist/{web-D1ZoRVB0.js → web-DddJa7ZT.js} +6 -6
  222. package/dist/{web-B7kbCskR.js → web-DyCuTR9b.js} +6 -6
  223. package/package.json +7 -7
  224. package/dist/plugin-sdk/deliver-runtime-DEzvpBW1.js +0 -32
  225. package/dist/plugin-sdk/deps-send-discord.runtime-Bhusa_Hi.js +0 -23
  226. package/dist/plugin-sdk/deps-send-imessage.runtime-bmakPm5f.js +0 -22
  227. package/dist/plugin-sdk/deps-send-signal.runtime-n00sfFto.js +0 -21
  228. package/dist/plugin-sdk/deps-send-slack.runtime-BvM3Z-Mr.js +0 -19
  229. package/dist/plugin-sdk/deps-send-telegram.runtime-CPuMkcmo.js +0 -24
  230. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BzO6S-KX.js +0 -57
  231. package/dist/plugin-sdk/image-runtime-17_mTqsy.js +0 -25
  232. package/dist/plugin-sdk/manager-runtime-CvI9wF8N.js +0 -15
  233. package/dist/plugin-sdk/pi-model-discovery-runtime-DjjBdPYt.js +0 -8
  234. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DzhkSmLi.js +0 -10
  235. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DyILWezU.js +0 -19
  236. package/dist/plugin-sdk/slash-commands.runtime-CUb5sqqf.js +0 -13
  237. package/dist/plugin-sdk/slash-dispatch.runtime-DCB6bGjB.js +0 -52
  238. package/dist/plugin-sdk/slash-skill-commands.runtime-BqEweE4K.js +0 -16
  239. package/dist/plugin-sdk/subagent-registry-runtime-CCUW4SbM.js +0 -52
  240. package/dist/plugin-sdk/web-DeRmHQ4_.js +0 -56
@@ -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 resolveSquidClawPackageRoot, 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-DmTrN5JG.js";
2
- import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverSquidClawPlugins, 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 resolveSquidClawAgentDir, 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-pRtEoVyZ.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 resolvePreferredSquidClawTmpDir, 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-DIb2cGHp.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 resolveSquidClawPackageRoot, 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-kVooFCVo.js";
2
+ import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverSquidClawPlugins, 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 resolveSquidClawAgentDir, 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-DYbtdrsT.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 resolvePreferredSquidClawTmpDir, 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-Bg4vIUJn.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-Duwviem_.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-YTdQYQFr.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-B8pWVYug.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-DjaClmzi.js";
8
- import { t as resolveIMessageAccount } from "./accounts-h__dTrLK.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-BisREGBZ.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-DBOCt6Yv.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-sw0uZ0GN.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-DZRNadD8.js";
13
- import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DghIDNk2.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-D6_nNvi0.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-CxUSDHsT.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-DSs2-fnK.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-1UCPuD9d.js";
8
+ import { t as resolveIMessageAccount } from "./accounts-PSzw-z3S.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-D9CSOGul.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-CqnO92P8.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-CMsocOob.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-BDJ_4Plh.js";
13
+ import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-kr-Gz1hk.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-DLKxJJYV.js";
15
15
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-C0y6vp3r.js";
16
- import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-B7_75Pdr.js";
16
+ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CP67O8eN.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-BqkUDZed.js";
20
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-CLE20fRI.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-CrYTX8py.js";
22
- import { C as ensureSquidClawModelsJson, 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-CQ9TZ9vq.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-BXbYwXRH.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-Bs2b3JfV.js";
25
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-TnxupPQC.js";
26
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-9WsNyb7S.js";
27
- import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-CgRPdp3o.js";
28
- import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DqCO1D4C.js";
29
- import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-BOlkiW1-.js";
30
- import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-B7ESm9_L.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-BeLBlAsQ.js";
20
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DAL_5WHL.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-Dwc0Eh-B.js";
22
+ import { C as ensureSquidClawModelsJson, 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-rycGCqJO.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-diV5m81I.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-BzXN4uev.js";
25
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DA0MhfkG.js";
26
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DfACyt0X.js";
27
+ import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-9oVz7reJ.js";
28
+ import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DFbwq9CS.js";
29
+ import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-Ib4-LUh-.js";
30
+ import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-DnJhFFW5.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-B95xcwiR.js";
32
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-RX4QTMnt.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-DyPZh8r2.js";
35
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-fO3ZgW3G.js";
36
- import { t as makeProxyFetch } from "./proxy-fetch-Dt5BedH8.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-FjlJrtZk.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-0w-aZenK.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-D_xeseiI.js";
34
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Or5BCq0E.js";
35
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-1xVosTZ4.js";
36
+ import { t as makeProxyFetch } from "./proxy-fetch-Cf3IUSDw.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-DG_7Uagn.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-DwZAJuut.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-Bv7EZypt.js";
40
40
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-D3HDdlk7.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-Dt2i3afe.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-CT7v_kM2.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-DGh6xekX.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-BVZ5kUMb.js";
44
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Mk0GTDJl.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-DihI2SIz.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-BGZo6HW1.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-BP1fSEBR.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-Dj7XEcZN.js";
50
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-gwxRn4wF.js";
51
- import { t as convertMarkdownTables } from "./tables-1vhBJPK_.js";
52
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-_PRYjtJv.js";
53
- import { n as resolveMemorySearchConfig } from "./manager-BR-TwWTH.js";
54
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-POz2za8a.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-XZ6IXCtL.js";
50
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-XajEg_DL.js";
51
+ import { t as convertMarkdownTables } from "./tables-CpmqssLF.js";
52
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-BQNrTcR3.js";
53
+ import { n as resolveMemorySearchConfig } from "./manager-DrzOPeMD.js";
54
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-CzjwW461.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, { appendFile, mkdir } 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-DEzvpBW1.js");
1276
+ deliverRuntimePromise$2 ??= import("./deliver-runtime-BdTC7uKE.js");
1277
1277
  return deliverRuntimePromise$2;
1278
1278
  }
1279
1279
  const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
@@ -19374,7 +19374,7 @@ function normalizeReplyPayload(payload, opts = {}) {
19374
19374
  */
19375
19375
  let deliverRuntimePromise$1 = null;
19376
19376
  function loadDeliverRuntime$1() {
19377
- deliverRuntimePromise$1 ??= import("./deliver-runtime-DEzvpBW1.js");
19377
+ deliverRuntimePromise$1 ??= import("./deliver-runtime-BdTC7uKE.js");
19378
19378
  return deliverRuntimePromise$1;
19379
19379
  }
19380
19380
  /**
@@ -19902,7 +19902,7 @@ function normalizeSessionKey(value) {
19902
19902
  function readSessionStore(storePath) {
19903
19903
  try {
19904
19904
  const raw = fs.readFileSync(storePath, "utf-8");
19905
- const parsed = JSON5.parse(raw);
19905
+ const parsed = json5.parse(raw);
19906
19906
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
19907
19907
  } catch {}
19908
19908
  return {};
@@ -20124,7 +20124,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
20124
20124
  const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
20125
20125
  let subagentRegistryRuntimePromise = null;
20126
20126
  function loadSubagentRegistryRuntime() {
20127
- subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-CCUW4SbM.js");
20127
+ subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-FhP0l-Rw.js");
20128
20128
  return subagentRegistryRuntimePromise;
20129
20129
  }
20130
20130
  const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
@@ -30158,7 +30158,7 @@ const VISION_PROVIDERS = [
30158
30158
  ];
30159
30159
  let imageRuntimePromise = null;
30160
30160
  function loadImageRuntime() {
30161
- imageRuntimePromise ??= import("./image-runtime-17_mTqsy.js");
30161
+ imageRuntimePromise ??= import("./image-runtime-Cjz368oj.js");
30162
30162
  return imageRuntimePromise;
30163
30163
  }
30164
30164
  /**
@@ -32614,7 +32614,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
32614
32614
  hasTypedText
32615
32615
  };
32616
32616
  try {
32617
- const { transcribeFirstAudio } = await import("./audio-preflight-BZlQM-qX.js");
32617
+ const { transcribeFirstAudio } = await import("./audio-preflight-_xgGaeho.js");
32618
32618
  if (params.abortSignal?.aborted) return {
32619
32619
  hasAudioAttachment,
32620
32620
  hasTypedText
@@ -36352,7 +36352,7 @@ function ensureContextWindowCacheLoaded() {
36352
36352
  await ensureSquidClawModelsJson(cfg);
36353
36353
  } catch {}
36354
36354
  try {
36355
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DGh6xekX.js").then((n) => n.r);
36355
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-Mk0GTDJl.js").then((n) => n.r);
36356
36356
  const agentDir = resolveSquidClawAgentDir();
36357
36357
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
36358
36358
  applyDiscoveredContextWindows({
@@ -36805,7 +36805,7 @@ async function createModelSelectionState(params) {
36805
36805
  }
36806
36806
  }
36807
36807
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
36808
- const { ensureAuthProfileStore } = await import("./config-pRtEoVyZ.js").then((n) => n.mn);
36808
+ const { ensureAuthProfileStore } = await import("./config-DYbtdrsT.js").then((n) => n.mn);
36809
36809
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
36810
36810
  const providerKey = normalizeProviderId(provider);
36811
36811
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -44372,27 +44372,27 @@ let slackSenderRuntimePromise = null;
44372
44372
  let signalSenderRuntimePromise = null;
44373
44373
  let imessageSenderRuntimePromise = null;
44374
44374
  function loadWhatsAppSenderRuntime() {
44375
- whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-BzO6S-KX.js");
44375
+ whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-CRWOIKRC.js");
44376
44376
  return whatsappSenderRuntimePromise;
44377
44377
  }
44378
44378
  function loadTelegramSenderRuntime() {
44379
- telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-CPuMkcmo.js");
44379
+ telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-DjTVED_m.js");
44380
44380
  return telegramSenderRuntimePromise;
44381
44381
  }
44382
44382
  function loadDiscordSenderRuntime() {
44383
- discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-Bhusa_Hi.js");
44383
+ discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-CObCNMt3.js");
44384
44384
  return discordSenderRuntimePromise;
44385
44385
  }
44386
44386
  function loadSlackSenderRuntime() {
44387
- slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-BvM3Z-Mr.js");
44387
+ slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-D4vDoRsg.js");
44388
44388
  return slackSenderRuntimePromise;
44389
44389
  }
44390
44390
  function loadSignalSenderRuntime() {
44391
- signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-n00sfFto.js");
44391
+ signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-Cz7FT8J8.js");
44392
44392
  return signalSenderRuntimePromise;
44393
44393
  }
44394
44394
  function loadIMessageSenderRuntime() {
44395
- imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-bmakPm5f.js");
44395
+ imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-DlWgi2DH.js");
44396
44396
  return imessageSenderRuntimePromise;
44397
44397
  }
44398
44398
  function createDefaultDeps() {
@@ -57306,15 +57306,15 @@ let slashCommandsRuntimePromise = null;
57306
57306
  let slashDispatchRuntimePromise = null;
57307
57307
  let slashSkillCommandsRuntimePromise = null;
57308
57308
  function loadSlashCommandsRuntime() {
57309
- slashCommandsRuntimePromise ??= import("./slash-commands.runtime-CUb5sqqf.js");
57309
+ slashCommandsRuntimePromise ??= import("./slash-commands.runtime-Bx1K1iqP.js");
57310
57310
  return slashCommandsRuntimePromise;
57311
57311
  }
57312
57312
  function loadSlashDispatchRuntime() {
57313
- slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DCB6bGjB.js");
57313
+ slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DVn338JI.js");
57314
57314
  return slashDispatchRuntimePromise;
57315
57315
  }
57316
57316
  function loadSlashSkillCommandsRuntime() {
57317
- slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-BqEweE4K.js");
57317
+ slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-Dbi_YzPO.js");
57318
57318
  return slashSkillCommandsRuntimePromise;
57319
57319
  }
57320
57320
  const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
@@ -58304,7 +58304,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
58304
58304
  }
58305
58305
  let auditMembershipRuntimePromise = null;
58306
58306
  function loadAuditMembershipRuntime() {
58307
- auditMembershipRuntimePromise ??= import("./audit-membership-runtime-Xl20kCBe.js");
58307
+ auditMembershipRuntimePromise ??= import("./audit-membership-runtime-DHQDvH4u.js");
58308
58308
  return auditMembershipRuntimePromise;
58309
58309
  }
58310
58310
  async function auditTelegramGroupMembership(params) {
@@ -63018,7 +63018,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
63018
63018
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
63019
63019
  let preflightTranscript;
63020
63020
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
63021
- const { transcribeFirstAudio } = await import("./audio-preflight-BZlQM-qX.js");
63021
+ const { transcribeFirstAudio } = await import("./audio-preflight-_xgGaeho.js");
63022
63022
  preflightTranscript = await transcribeFirstAudio({
63023
63023
  ctx: {
63024
63024
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -65857,7 +65857,7 @@ function createWhatsAppLoginTool() {
65857
65857
  force: Type.Optional(Type.Boolean())
65858
65858
  }),
65859
65859
  execute: async (_toolCallId, args) => {
65860
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-C3Vn30cq.js");
65860
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-SpUTuwYv.js");
65861
65861
  if ((args?.action ?? "start") === "wait") {
65862
65862
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
65863
65863
  return {
@@ -65932,23 +65932,23 @@ let webOutboundPromise = null;
65932
65932
  let webLoginPromise = null;
65933
65933
  let whatsappActionsPromise = null;
65934
65934
  function loadWebOutbound() {
65935
- webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-DyILWezU.js");
65935
+ webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-CYCr6A3v.js");
65936
65936
  return webOutboundPromise;
65937
65937
  }
65938
65938
  function loadWebLogin() {
65939
- webLoginPromise ??= import("./runtime-whatsapp-login.runtime-DzhkSmLi.js");
65939
+ webLoginPromise ??= import("./runtime-whatsapp-login.runtime-DitS0I1z.js");
65940
65940
  return webLoginPromise;
65941
65941
  }
65942
65942
  function loadWebLoginQr() {
65943
- webLoginQrPromise ??= import("./login-qr-C3Vn30cq.js");
65943
+ webLoginQrPromise ??= import("./login-qr-SpUTuwYv.js");
65944
65944
  return webLoginQrPromise;
65945
65945
  }
65946
65946
  function loadWebChannel() {
65947
- webChannelPromise ??= import("./web-DeRmHQ4_.js");
65947
+ webChannelPromise ??= import("./web-AtEy-48y.js");
65948
65948
  return webChannelPromise;
65949
65949
  }
65950
65950
  function loadWhatsAppActions() {
65951
- whatsappActionsPromise ??= import("./whatsapp-actions-BYpcWkTN.js");
65951
+ whatsappActionsPromise ??= import("./whatsapp-actions-BF6ih4Gi.js");
65952
65952
  return whatsappActionsPromise;
65953
65953
  }
65954
65954
  function createRuntimeWhatsApp() {
@@ -66389,7 +66389,7 @@ const log$11 = createSubsystemLogger("memory");
66389
66389
  const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
66390
66390
  let managerRuntimePromise = null;
66391
66391
  function loadManagerRuntime() {
66392
- managerRuntimePromise ??= import("./manager-runtime-CvI9wF8N.js");
66392
+ managerRuntimePromise ??= import("./manager-runtime-CF55pBNe.js");
66393
66393
  return managerRuntimePromise;
66394
66394
  }
66395
66395
  async function getMemorySearchManager(params) {
@@ -66403,7 +66403,7 @@ async function getMemorySearchManager(params) {
66403
66403
  if (cached) return { manager: cached };
66404
66404
  }
66405
66405
  try {
66406
- const { QmdMemoryManager } = await import("./qmd-manager-Bei6TaFq.js");
66406
+ const { QmdMemoryManager } = await import("./qmd-manager-Ov9ElEfG.js");
66407
66407
  const primary = await QmdMemoryManager.create({
66408
66408
  cfg: params.cfg,
66409
66409
  agentId: params.agentId,
@@ -79047,7 +79047,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
79047
79047
  const MAX_LOOP_WARNING_KEYS = 256;
79048
79048
  let beforeToolCallRuntimePromise = null;
79049
79049
  function loadBeforeToolCallRuntime() {
79050
- beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-BZ9XgG_x.js");
79050
+ beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-DV72wTDb.js");
79051
79051
  return beforeToolCallRuntimePromise;
79052
79052
  }
79053
79053
  function buildAdjustedParamsKey(params) {
@@ -97326,7 +97326,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
97326
97326
  const log$1 = createSubsystemLogger("session-maintenance-warning");
97327
97327
  let deliverRuntimePromise = null;
97328
97328
  function loadDeliverRuntime() {
97329
- deliverRuntimePromise ??= import("./deliver-runtime-DEzvpBW1.js");
97329
+ deliverRuntimePromise ??= import("./deliver-runtime-BdTC7uKE.js");
97330
97330
  return deliverRuntimePromise;
97331
97331
  }
97332
97332
  function shouldSendWarning() {
@@ -1,5 +1,5 @@
1
- import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-B8pWVYug.js";
2
- import { m as missingTargetError } from "./common-DBOCt6Yv.js";
1
+ import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-DSs2-fnK.js";
2
+ import { m as missingTargetError } from "./common-CqnO92P8.js";
3
3
 
4
4
  //#region src/whatsapp/resolve-outbound-target.ts
5
5
  function resolveWhatsAppOutboundTarget(params) {
@@ -0,0 +1,40 @@
1
+ import { I as isWhatsAppGroupJid, L as normalizeWhatsAppTarget } from "./plugins-D5cdn70e.js";
2
+ import { n as missingTargetError } from "./target-errors-aOwE-MIU.js";
3
+
4
+ //#region src/whatsapp/resolve-outbound-target.ts
5
+ function resolveWhatsAppOutboundTarget(params) {
6
+ const trimmed = params.to?.trim() ?? "";
7
+ const allowListRaw = (params.allowFrom ?? []).map((entry) => String(entry).trim()).filter(Boolean);
8
+ const hasWildcard = allowListRaw.includes("*");
9
+ const allowList = allowListRaw.filter((entry) => entry !== "*").map((entry) => normalizeWhatsAppTarget(entry)).filter((entry) => Boolean(entry));
10
+ if (trimmed) {
11
+ const normalizedTo = normalizeWhatsAppTarget(trimmed);
12
+ if (!normalizedTo) return {
13
+ ok: false,
14
+ error: missingTargetError("WhatsApp", "<E.164|group JID>")
15
+ };
16
+ if (isWhatsAppGroupJid(normalizedTo)) return {
17
+ ok: true,
18
+ to: normalizedTo
19
+ };
20
+ if (hasWildcard || allowList.length === 0) return {
21
+ ok: true,
22
+ to: normalizedTo
23
+ };
24
+ if (allowList.includes(normalizedTo)) return {
25
+ ok: true,
26
+ to: normalizedTo
27
+ };
28
+ return {
29
+ ok: false,
30
+ error: missingTargetError("WhatsApp", "<E.164|group JID>")
31
+ };
32
+ }
33
+ return {
34
+ ok: false,
35
+ error: missingTargetError("WhatsApp", "<E.164|group JID>")
36
+ };
37
+ }
38
+
39
+ //#endregion
40
+ export { resolveWhatsAppOutboundTarget as t };