@termix-it/cryptoclaw 1.1.4 → 1.1.5

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 (410) hide show
  1. package/dist/{accounts-MAwYK1nH.js → accounts-4l7ba973.js} +1 -1
  2. package/dist/{accounts-DHCEvJoG.js → accounts-CAjupeYV.js} +16 -16
  3. package/dist/{accounts-WPSFYBfl.js → accounts-k5nTdi32.js} +1 -1
  4. package/dist/{active-listener-BG3fObzp.js → active-listener-D9FARjMd.js} +1 -1
  5. package/dist/{agents-APWxL0pc.js → agents-BgGWuEM4.js} +4 -4
  6. package/dist/{agents.config-Bt2w0g9g.js → agents.config-CBblmxIJ.js} +1 -1
  7. package/dist/{agents.config-DMNDmQB3.js → agents.config-jlSvPmMw.js} +1 -1
  8. package/dist/{api-key-rotation-BUSngXoA.js → api-key-rotation-C-Q6XdUW.js} +2 -2
  9. package/dist/{audio-preflight-DylHSkVV.js → audio-preflight-C7kt2vOu.js} +33 -33
  10. package/dist/{audio-transcription-runner-D1VfiPMl.js → audio-transcription-runner-CawngPvE.js} +12 -12
  11. package/dist/{audit-membership-runtime-Dg_k-jzY.js → audit-membership-runtime-C6dnIaXJ.js} +5 -5
  12. package/dist/{auth-choice-BU6K1e3k.js → auth-choice-BZof8lFS.js} +1 -1
  13. package/dist/{auth-choice-BteeSZpX.js → auth-choice-Bfddvmj3.js} +1 -1
  14. package/dist/{banner-CzhEeK4U.js → banner-DSSu3MES.js} +1 -1
  15. package/dist/build-info.json +3 -3
  16. package/dist/bundled/boot-md/handler.js +52 -52
  17. package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
  18. package/dist/bundled/command-logger/handler.js +2 -2
  19. package/dist/bundled/session-memory/handler.js +52 -52
  20. package/dist/bundled/soul-evil/handler.js +5 -5
  21. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  22. package/dist/{channel-activity-TwPquwyw.js → channel-activity-Hho38eZq.js} +3 -3
  23. package/dist/{channel-options-3d9AkTzB.js → channel-options-DhT3itUm.js} +1 -1
  24. package/dist/{channel-options-CGZSPHrf.js → channel-options-uwhpiId_.js} +1 -1
  25. package/dist/{channel-web-BOduPOdI.js → channel-web-Dfitllt8.js} +1 -1
  26. package/dist/{channel-web-DJpgzln9.js → channel-web-VY7QYUgs.js} +1 -1
  27. package/dist/{channels-cli-PDKQIDwD.js → channels-cli-BK1fnXeM.js} +7 -7
  28. package/dist/{channels-cli-DUq_ZyYt.js → channels-cli-CHNWup9-.js} +7 -7
  29. package/dist/{chrome-B972B1oO.js → chrome-palWvTtp.js} +18 -18
  30. package/dist/{cli-BSMD-wDs.js → cli-C38DxImL.js} +2 -2
  31. package/dist/{cli-zy3mgZH-.js → cli-Dp2ZovoW.js} +2 -2
  32. package/dist/{command-registry-CiGCHshG.js → command-registry-drCkGuaC.js} +10 -10
  33. package/dist/{commands-registry-C1rzSTeQ.js → commands-registry-A3LstXeY.js} +4 -4
  34. package/dist/{completion-cli-Cv0Vxe6o.js → completion-cli-CKIfUKoG.js} +1 -1
  35. package/dist/{completion-cli-BU4ty_aJ.js → completion-cli-DFqf7UbJ.js} +2 -2
  36. package/dist/{config-cli-BUTfK0hW.js → config-cli-BVu6OUbV.js} +1 -1
  37. package/dist/{config-cli-BxJeEh_0.js → config-cli-CSehjRJE.js} +1 -1
  38. package/dist/{configure-CmJfUSUr.js → configure-BbBLdzt7.js} +3 -3
  39. package/dist/{configure-8lVykYnh.js → configure-TlnrY7sN.js} +3 -3
  40. package/dist/{deliver-CEbU5IBY.js → deliver-JkYjt9Qz.js} +20 -20
  41. package/dist/deliver-runtime-BvTbrDXE.js +37 -0
  42. package/dist/deps-send-discord.runtime-1mqY0Pn3.js +27 -0
  43. package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +26 -0
  44. package/dist/deps-send-signal.runtime-CHqnnRXO.js +25 -0
  45. package/dist/deps-send-slack.runtime-CbGlCNTX.js +23 -0
  46. package/dist/deps-send-telegram.runtime-CgApeKta.js +28 -0
  47. package/dist/deps-send-whatsapp.runtime-BP1TzaH2.js +61 -0
  48. package/dist/{deps-send-whatsapp.runtime-i7Po75u8.js → deps-send-whatsapp.runtime-CbNuccsY.js} +4 -4
  49. package/dist/{deps-send-whatsapp.runtime-DK374NBi.js → deps-send-whatsapp.runtime-D2LQa8La.js} +4 -4
  50. package/dist/{diagnostic-IKfXukdB.js → diagnostic-BGtFj4tU.js} +2 -2
  51. package/dist/{doctor-completion-DlJLi2iR.js → doctor-completion-CuhwQAKf.js} +1 -1
  52. package/dist/{doctor-completion-DE8rQlzx.js → doctor-completion-UIrYmlFZ.js} +1 -1
  53. package/dist/entry.js +2 -2
  54. package/dist/{plugin-sdk/errors-C-TFeu_U.js → errors-C1YF712P.js} +1 -1
  55. package/dist/{fetch-BsFdX4tn.js → fetch-_iocPLV2.js} +5 -5
  56. package/dist/{fetch-guard-4K8g_TXN.js → fetch-guard-CiQUuV0r.js} +2 -2
  57. package/dist/{frontmatter-DHQ0IaHw.js → frontmatter-Dn68lQ_o.js} +3 -3
  58. package/dist/{fs-safe-BwhFB7Uo.js → fs-safe-BLpOReWZ.js} +4 -4
  59. package/dist/{gateway-cli-DBUjNaTU.js → gateway-cli-B_yiYET0.js} +9 -9
  60. package/dist/{gateway-cli-DEdGe0N2.js → gateway-cli-o87wjmXO.js} +9 -9
  61. package/dist/{github-copilot-token-D1RrJx7s.js → github-copilot-token-DDa7O18e.js} +7 -7
  62. package/dist/{health-DmCqZQWS.js → health-BtR5qiQu.js} +1 -1
  63. package/dist/{health-i7BpZK8H.js → health-SohRW0Au.js} +1 -1
  64. package/dist/{hooks-cli-Vt5EnXJy.js → hooks-cli-DA-hMHRE.js} +3 -3
  65. package/dist/{hooks-cli-KpChFv5u.js → hooks-cli-DDbWkzaW.js} +3 -3
  66. package/dist/{image-D9ypE3-q.js → image-BlRI3dXw.js} +6 -6
  67. package/dist/{image-ops-CmuiWrJv.js → image-ops-D7mq-4y1.js} +2 -2
  68. package/dist/image-runtime-Cp3I725X.js +30 -0
  69. package/dist/index.js +7 -7
  70. package/dist/{ir-BgRFz8jI.js → ir-Dpg87zYv.js} +7 -7
  71. package/dist/{legacy-names-7AmQGjQk.js → legacy-names-BAiRv0I2.js} +1 -1
  72. package/dist/llm-slug-generator.js +52 -52
  73. package/dist/{logger-BDDjH6hb.js → logger-C53B395N.js} +1 -1
  74. package/dist/{login-DR9M0Alg.js → login-CHsCISh4.js} +5 -5
  75. package/dist/{login-qr-DhI_GpxA.js → login-qr-BEW3jIOt.js} +11 -11
  76. package/dist/{manager-C80Inv1T.js → manager-Dfrejf6z.js} +13 -13
  77. package/dist/manager-runtime-DacMHR37.js +19 -0
  78. package/dist/{memory-cli-nJ0zujIp.js → memory-cli-1oaIDOW8.js} +2 -2
  79. package/dist/{memory-cli-Cq0_-tR2.js → memory-cli-Bp1To7jm.js} +2 -2
  80. package/dist/{model-selection-CiffIpda.js → model-selection-e9hodq0l.js} +43 -43
  81. package/dist/{models-DFcmwLyd.js → models-BA-4owed.js} +2 -2
  82. package/dist/{models-cli-C3MgmR5P.js → models-cli-CXBkorTt.js} +4 -4
  83. package/dist/{models-cli-BFty3Lf0.js → models-cli-Da9VNU1F.js} +3 -3
  84. package/dist/{npm-resolution-cPvfFeW3.js → npm-resolution-C873xoG-.js} +1 -1
  85. package/dist/{npm-resolution-usPm99nU.js → npm-resolution-DcToGf31.js} +1 -1
  86. package/dist/{onboard-sxX0LKra.js → onboard-CFVZ_tLS.js} +2 -2
  87. package/dist/{onboard-channels-4xKNT1d3.js → onboard-channels-Cji_Bpi5.js} +1 -1
  88. package/dist/{onboard-channels-DNmcc7GV.js → onboard-channels-tfZfzFUy.js} +1 -1
  89. package/dist/{onboard-DEXrIgAj.js → onboard-o4Ax3ce2.js} +2 -2
  90. package/dist/onboard-wallet-CLprx0TL.js +155 -0
  91. package/dist/onboard-wallet-DDau_3R0.js +155 -0
  92. package/dist/{onboarding-DptEa7du.js → onboarding-Bsyy9lQJ.js} +40 -4
  93. package/dist/{onboarding-C-YkK0dn.js → onboarding-Cz-FN3dY.js} +40 -4
  94. package/dist/{onboarding.finalize-B9Xw0YTE.js → onboarding.finalize-4F13C5Cf.js} +7 -7
  95. package/dist/{onboarding.finalize-MzE-hxAw.js → onboarding.finalize-BSHbCEbZ.js} +6 -6
  96. package/dist/{outbound-DRXnhjhO.js → outbound-BZqL8UdJ.js} +6 -6
  97. package/dist/{outbound-attachment-CbQ3_IKf.js → outbound-attachment-wzHGF-Is.js} +2 -2
  98. package/dist/{path-alias-guards-DUWK88Ct.js → path-alias-guards-It4BBRdm.js} +1 -1
  99. package/dist/{paths-B-UhE8oc.js → paths-C6TxBCvO.js} +5 -5
  100. package/dist/{paths-Dxl3r5jd.js → paths-CZ0nrg7g.js} +3 -3
  101. package/dist/{pi-embedded-BC1F5aRs.js → pi-embedded-ChjtsiVT.js} +155 -155
  102. package/dist/{pi-embedded-helpers-DqvEMwsR.js → pi-embedded-helpers-CE9KKP1Q.js} +52 -52
  103. package/dist/{pi-model-discovery-CQgqt_Mv.js → pi-model-discovery-32EFg27L.js} +7 -7
  104. package/dist/pi-model-discovery-runtime-C8SNNnEN.js +12 -0
  105. package/dist/{pi-tools.before-tool-call.runtime-Lfb7FVNU.js → pi-tools.before-tool-call.runtime-BfjlGXIc.js} +10 -10
  106. package/dist/{plugin-registry-1ma_GS_Y.js → plugin-registry-CqaLj5NI.js} +1 -1
  107. package/dist/{plugin-registry-CO3b05zo.js → plugin-registry-CxwuWddJ.js} +1 -1
  108. package/dist/plugin-sdk/{accounts-DAebrX4r.js → accounts-BY3xA55d.js} +3 -3
  109. package/dist/plugin-sdk/{accounts-B9ydKoYC.js → accounts-Bpe8MpMj.js} +2 -2
  110. package/dist/plugin-sdk/{accounts-C1Yf8rUO.js → accounts-BypsQT27.js} +2 -2
  111. package/dist/plugin-sdk/{accounts-BOVsvZ69.js → accounts-C4br4nlZ.js} +3 -3
  112. package/dist/plugin-sdk/{accounts-BkuioOq8.js → accounts-DTNnTWpJ.js} +2 -2
  113. package/dist/plugin-sdk/{accounts-DxlJAHNG.js → accounts-Dg9HUb5m.js} +2 -2
  114. package/dist/plugin-sdk/{active-listener-CYvTJUbv.js → active-listener-B5t82gRU.js} +2 -2
  115. package/dist/plugin-sdk/{active-listener-D7Jidx1U.js → active-listener-kZJwBchj.js} +2 -2
  116. package/dist/plugin-sdk/{api-key-rotation-d8cmHGhi.js → api-key-rotation-BFNdrCf9.js} +2 -2
  117. package/dist/plugin-sdk/{api-key-rotation-CLAvYiCX.js → api-key-rotation-wZaR5O8n.js} +2 -2
  118. package/dist/plugin-sdk/{audio-preflight-B1iVdt7A.js → audio-preflight-B7ivxhvF.js} +26 -26
  119. package/dist/plugin-sdk/{audio-preflight-vJtQi-4_.js → audio-preflight-DOR1d1hn.js} +26 -26
  120. package/dist/plugin-sdk/{audio-transcription-runner-6TQq2i9u.js → audio-transcription-runner-B8OUiy7P.js} +11 -11
  121. package/dist/plugin-sdk/{audio-transcription-runner-Bfv_TVP4.js → audio-transcription-runner-DWncgs4M.js} +11 -11
  122. package/dist/plugin-sdk/{audit-membership-runtime-BpoX61hv.js → audit-membership-runtime-DvBMQsDC.js} +2 -2
  123. package/dist/plugin-sdk/{audit-membership-runtime-DS34hPU6.js → audit-membership-runtime-Re50ULXH.js} +2 -2
  124. package/dist/plugin-sdk/{channel-activity-BcVbdzzf.js → channel-activity-Dx1jbA3a.js} +3 -3
  125. package/dist/plugin-sdk/{channel-activity-1LCR07HU.js → channel-activity-VsWwcNLD.js} +3 -3
  126. package/dist/plugin-sdk/{channel-web-CuX4_OOJ.js → channel-web-BSMnT0J1.js} +18 -18
  127. package/dist/plugin-sdk/{channel-web-CdKEEscn.js → channel-web-BlIQD83I.js} +18 -18
  128. package/dist/plugin-sdk/{chrome-CbDAFNHQ.js → chrome-pOAzXzzJ.js} +6 -6
  129. package/dist/plugin-sdk/{chrome-DifgiNQb.js → chrome-wTqnW5U7.js} +6 -6
  130. package/dist/plugin-sdk/commands/onboard-types.d.ts +6 -0
  131. package/dist/plugin-sdk/{commands-registry-BwfAoL8g.js → commands-registry-BWv4oM2P.js} +4 -4
  132. package/dist/plugin-sdk/{commands-registry-D8gIWgM5.js → commands-registry-pKaQ4EJQ.js} +4 -4
  133. package/dist/plugin-sdk/{common-tbQtS1zp.js → common-BlJfaliy.js} +2 -2
  134. package/dist/plugin-sdk/{config-xkSrCec1.js → config-CURxPU7B.js} +7 -7
  135. package/dist/plugin-sdk/{config-DdConC4M.js → config-cWsVJMRn.js} +7 -7
  136. package/dist/plugin-sdk/{deliver-30LL_FDf.js → deliver-Ba8ti0Um.js} +10 -10
  137. package/dist/plugin-sdk/{deliver-D_Ofr_vN.js → deliver-BpfQj4BK.js} +10 -10
  138. package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +32 -0
  139. package/dist/plugin-sdk/deliver-runtime-Qmy3w63D.js +32 -0
  140. package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +23 -0
  141. package/dist/plugin-sdk/deps-send-discord.runtime-Db6_7ZAc.js +23 -0
  142. package/dist/plugin-sdk/deps-send-imessage.runtime-C_EYS_sH.js +22 -0
  143. package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +22 -0
  144. package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +21 -0
  145. package/dist/plugin-sdk/deps-send-signal.runtime-DK121Bh0.js +21 -0
  146. package/dist/plugin-sdk/deps-send-slack.runtime-AaWSr7fe.js +19 -0
  147. package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +19 -0
  148. package/dist/plugin-sdk/deps-send-telegram.runtime-Dylx-xTp.js +24 -0
  149. package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +24 -0
  150. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BjQGa9z_.js +57 -0
  151. package/dist/plugin-sdk/deps-send-whatsapp.runtime-DhJ30vWr.js +57 -0
  152. package/dist/plugin-sdk/{diagnostic-GjXXC_Pm.js → diagnostic-Bi3FO6Il.js} +2 -2
  153. package/dist/plugin-sdk/{diagnostic-BiLQ5uMU.js → diagnostic-DJkCYiHJ.js} +2 -2
  154. package/dist/plugin-sdk/{errors-Cn3JyiMn.js → errors-B2jpHiod.js} +1 -1
  155. package/dist/{errors-B2Vmqoab.js → plugin-sdk/errors-x0EvNKYN.js} +1 -1
  156. package/dist/plugin-sdk/{fetch-guard-su5BIIz5.js → fetch-guard-B4oIrtQU.js} +2 -2
  157. package/dist/plugin-sdk/{fetch-guard-ClYTU8LW.js → fetch-guard-d5MU-Fi7.js} +2 -2
  158. package/dist/plugin-sdk/{fs-safe-B0eWdlGT.js → fs-safe-BGLuaVDw.js} +3 -3
  159. package/dist/plugin-sdk/{fs-safe-Bs9BHEmp.js → fs-safe-D57cyrSh.js} +3 -3
  160. package/dist/plugin-sdk/{image-BHgCDBaW.js → image-D9cX-W4_.js} +6 -6
  161. package/dist/plugin-sdk/{image-_uAwPFe2.js → image-DWnmWvGr.js} +6 -6
  162. package/dist/plugin-sdk/{image-ops-CsS12Rhg.js → image-ops-BPP3M0yA.js} +2 -2
  163. package/dist/plugin-sdk/{image-ops-D5EPN96N.js → image-ops-N60pMFiM.js} +2 -2
  164. package/dist/plugin-sdk/image-runtime-BBiuMz7E.js +25 -0
  165. package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +25 -0
  166. package/dist/plugin-sdk/index.js +50 -50
  167. package/dist/plugin-sdk/{ir-DvWncgWp.js → ir-A16Z9dUw.js} +7 -7
  168. package/dist/plugin-sdk/{ir-BVqIWdpl.js → ir-DvNCG3HQ.js} +7 -7
  169. package/dist/plugin-sdk/{local-roots-Bh7FKHd2.js → local-roots-BQJNDffC.js} +4 -4
  170. package/dist/plugin-sdk/{local-roots-CCfvGuoX.js → local-roots-DJr1PN3z.js} +4 -4
  171. package/dist/plugin-sdk/{logger-Dj4IX2UB.js → logger-Bl138Nx7.js} +2 -2
  172. package/dist/plugin-sdk/{logger-z1vqlUc1.js → logger-COmHOvdm.js} +2 -2
  173. package/dist/plugin-sdk/{login-1hsZj0g8.js → login-CoU-pP8D.js} +4 -4
  174. package/dist/plugin-sdk/{login-CYqSEzPN.js → login-DXLuzgCO.js} +4 -4
  175. package/dist/plugin-sdk/{login-qr-CXXXR_1G.js → login-qr-DdTcNEXK.js} +5 -5
  176. package/dist/plugin-sdk/{login-qr-mIn4oSE6.js → login-qr-wRFAAkU1.js} +5 -5
  177. package/dist/plugin-sdk/{manager-CKCJdSeL.js → manager-BlnM_iwm.js} +8 -8
  178. package/dist/plugin-sdk/{manager-Dj-hy8oN.js → manager-ClrE1ahD.js} +8 -8
  179. package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +15 -0
  180. package/dist/plugin-sdk/manager-runtime-Ccj_7Z0c.js +15 -0
  181. package/dist/plugin-sdk/{outbound-DVpHFwMf.js → outbound-Cw6160wa.js} +5 -5
  182. package/dist/plugin-sdk/{outbound-attachment-Aa86Zp9X.js → outbound-attachment-C1GuoigP.js} +2 -2
  183. package/dist/plugin-sdk/{outbound-attachment-DXCuJPzV.js → outbound-attachment-DWhUVfia.js} +2 -2
  184. package/dist/plugin-sdk/{outbound-IhJ6xLv1.js → outbound-wmFCJQyk.js} +5 -5
  185. package/dist/plugin-sdk/{path-alias-guards-Ddj-jk91.js → path-alias-guards-Bsi-4XND.js} +1 -1
  186. package/dist/plugin-sdk/{path-alias-guards-CtnE1WrY.js → path-alias-guards-Ck7kqOtM.js} +1 -1
  187. package/dist/plugin-sdk/{paths-MqZfQzk4.js → paths-C_3UIAbs.js} +1 -1
  188. package/dist/plugin-sdk/{paths-Mew07RGP.js → paths-Cb2hB2o0.js} +1 -1
  189. package/dist/plugin-sdk/{pi-embedded-helpers-De-tYNO5.js → pi-embedded-helpers-3l1dRoEY.js} +16 -16
  190. package/dist/plugin-sdk/{pi-embedded-helpers-B_iabXhh.js → pi-embedded-helpers-VYetsWcU.js} +16 -16
  191. package/dist/plugin-sdk/{pi-model-discovery-CmWdgrld.js → pi-model-discovery-Bi4ewLKb.js} +1 -1
  192. package/dist/plugin-sdk/{pi-model-discovery-avPx6Ptq.js → pi-model-discovery-Bs1t1vHG.js} +1 -1
  193. package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +8 -0
  194. package/dist/plugin-sdk/pi-model-discovery-runtime-jmgr21i6.js +8 -0
  195. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-dixwOhKo.js → pi-tools.before-tool-call.runtime-133Rh_QB.js} +4 -4
  196. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DZs_C8RL.js → pi-tools.before-tool-call.runtime-DJbnwybV.js} +4 -4
  197. package/dist/plugin-sdk/{plugins-WDZLdw8Z.js → plugins-A3lJ2lkT.js} +4 -4
  198. package/dist/plugin-sdk/{plugins-Df9rHggh.js → plugins-Bm4rp8IX.js} +4 -4
  199. package/dist/plugin-sdk/{proxy-env-DKQK-fn1.js → proxy-env-DnjPLipe.js} +1 -1
  200. package/dist/plugin-sdk/{proxy-fetch-rtc8GmoB.js → proxy-fetch-BZAtM2fT.js} +1 -1
  201. package/dist/{proxy-fetch-DJI7qbLV.js → plugin-sdk/proxy-fetch-C-fXKPD2.js} +1 -1
  202. package/dist/plugin-sdk/{pw-ai-eYJyyMZX.js → pw-ai-BhB6bXtS.js} +9 -9
  203. package/dist/plugin-sdk/{pw-ai-BcFVaXMO.js → pw-ai-CslJ6u1B.js} +9 -9
  204. package/dist/plugin-sdk/{qmd-manager-CgAY74JQ.js → qmd-manager-BV37X-4s.js} +7 -7
  205. package/dist/plugin-sdk/{qmd-manager-mWoTdSFY.js → qmd-manager-CmGPY3vR.js} +7 -7
  206. package/dist/plugin-sdk/{query-expansion-4V3Vjs8V.js → query-expansion-B7JBWi3Y.js} +5 -5
  207. package/dist/plugin-sdk/{query-expansion-X3iK3wW4.js → query-expansion-oxEhEDk_.js} +5 -5
  208. package/dist/plugin-sdk/{redact-CBwV828t.js → redact-C3rEm8A0.js} +1 -1
  209. package/dist/plugin-sdk/{redact-DIGZ7dEc.js → redact-DZTeCKgA.js} +1 -1
  210. package/dist/plugin-sdk/{reply-C7BzXVHh.js → reply-DIkRSlhC.js} +73 -73
  211. package/dist/plugin-sdk/{reply-D1vqXg5h.js → reply-DTRgf1F0.js} +73 -73
  212. package/dist/plugin-sdk/{resolve-outbound-target--JkNiVR3.js → resolve-outbound-target-8WMGshxA.js} +2 -2
  213. package/dist/plugin-sdk/{resolve-outbound-target-Dk3UdF5C.js → resolve-outbound-target-K2KiC0bi.js} +2 -2
  214. package/dist/plugin-sdk/{run-with-concurrency-CAg6hblr.js → run-with-concurrency-CbyBbGss.js} +1 -1
  215. package/dist/plugin-sdk/{run-with-concurrency-KlQQobSI.js → run-with-concurrency-FfGqq3TC.js} +1 -1
  216. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +10 -0
  217. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-_T4-3_NI.js +10 -0
  218. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +19 -0
  219. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DDvDCva6.js +19 -0
  220. package/dist/plugin-sdk/{send-CG8TGQTM.js → send-70p3gkTA.js} +7 -7
  221. package/dist/plugin-sdk/{send-BTWIW3-9.js → send-C5J_PXzR.js} +8 -8
  222. package/dist/plugin-sdk/{send-BfMo4yKi.js → send-CnZwc5Xm.js} +13 -13
  223. package/dist/plugin-sdk/{send-wEJ-5g9f.js → send-CqaHDOLs.js} +6 -6
  224. package/dist/plugin-sdk/{send-BR0ocVRg.js → send-DAZltiIW.js} +8 -8
  225. package/dist/plugin-sdk/{send-BosYVCS8.js → send-DGJpvm7n.js} +5 -5
  226. package/dist/plugin-sdk/{send-C1N0kX50.js → send-DbUkzyXv.js} +7 -7
  227. package/dist/plugin-sdk/{send-DyAZa1y0.js → send-DbhdUm2I.js} +6 -6
  228. package/dist/plugin-sdk/{send-CSJIozmo.js → send-DdNdK-kV.js} +5 -5
  229. package/dist/plugin-sdk/{send-D50Hdj7y.js → send-DjqI2JpQ.js} +13 -13
  230. package/dist/plugin-sdk/{session-CDTFGpPr.js → session-BBm3qP5l.js} +3 -3
  231. package/dist/plugin-sdk/{session-xR2DLzse.js → session-Cpth1H2A.js} +3 -3
  232. package/dist/plugin-sdk/{skill-commands-X5RX1jW3.js → skill-commands-B_tuCFSd.js} +4 -4
  233. package/dist/plugin-sdk/{skill-commands-DHOHDbOQ.js → skill-commands-X5gpohJ1.js} +4 -4
  234. package/dist/plugin-sdk/{skills-v1KdkGto.js → skills-BG1gHeJ_.js} +6 -6
  235. package/dist/plugin-sdk/{skills-LpJmo0DO.js → skills-s-HEpPkh.js} +6 -6
  236. package/dist/plugin-sdk/slash-commands.runtime-BoVuWmR3.js +13 -0
  237. package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +13 -0
  238. package/dist/plugin-sdk/slash-dispatch.runtime-BHeslQ9I.js +52 -0
  239. package/dist/plugin-sdk/slash-dispatch.runtime-CbjjpN46.js +52 -0
  240. package/dist/plugin-sdk/slash-skill-commands.runtime-CyuOIQN-.js +16 -0
  241. package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +16 -0
  242. package/dist/plugin-sdk/{ssrf-Ctw5peX0.js → ssrf-BlFOb1TL.js} +1 -1
  243. package/dist/plugin-sdk/{store-DtdqEbDW.js → store-C3Z3fpIY.js} +2 -2
  244. package/dist/plugin-sdk/{store-BECFHajU.js → store-DuNHlb8J.js} +2 -2
  245. package/dist/plugin-sdk/subagent-registry-runtime-DuCu4ZTF.js +52 -0
  246. package/dist/plugin-sdk/subagent-registry-runtime-TPnV-Feh.js +52 -0
  247. package/dist/plugin-sdk/{tables-D5d9mqkg.js → tables-BfXi9ML_.js} +1 -1
  248. package/dist/plugin-sdk/{tables-BGPXRfUo.js → tables-DBVdEzq2.js} +1 -1
  249. package/dist/{target-errors-KgDT2gLA.js → plugin-sdk/target-errors-CX2np2l6.js} +2 -2
  250. package/dist/plugin-sdk/{thinking-DwXFSbD_.js → thinking-B9UJvomD.js} +7 -7
  251. package/dist/plugin-sdk/{thinking-CCdKzGau.js → thinking-J6jgjmDK.js} +7 -7
  252. package/dist/plugin-sdk/{tokens-DuRErjk3.js → tokens-DMbd3-Ct.js} +1 -1
  253. package/dist/plugin-sdk/{tokens-D2fpVQt3.js → tokens-XT-8y62w.js} +1 -1
  254. package/dist/plugin-sdk/{tool-images-6BfTarJB.js → tool-images-BtzvC48Z.js} +2 -2
  255. package/dist/plugin-sdk/{tool-images-B4KNq2sg.js → tool-images-CJ10KuSq.js} +2 -2
  256. package/dist/plugin-sdk/web-Bkz8JTNB.js +56 -0
  257. package/dist/plugin-sdk/web-CpeWfvaf.js +56 -0
  258. package/dist/plugin-sdk/{whatsapp-actions-Bi_hJ-Cq.js → whatsapp-actions-C4kVobIE.js} +17 -17
  259. package/dist/plugin-sdk/{whatsapp-actions-k9k_HQg1.js → whatsapp-actions-CgqENBb8.js} +17 -17
  260. package/dist/plugin-sdk/whatsapp.js +50 -50
  261. package/dist/{plugins-cli-DESM1g9H.js → plugins-cli-BOBhi6vj.js} +3 -3
  262. package/dist/{plugins-cli-Cz8qjGa-.js → plugins-cli-Ypib_ZAu.js} +3 -3
  263. package/dist/{plugins-XniO7sfQ.js → plugins-rc2l4VJe.js} +10 -10
  264. package/dist/{program-DIVcGZoY.js → program-Dtqm2kjE.js} +8 -8
  265. package/dist/{program-context-B8SH5Pdl.js → program-context-CG5ZBc7f.js} +18 -18
  266. package/dist/{prompt-select-styled-DYBmMpLB.js → prompt-select-styled-BkE7GW3g.js} +5 -5
  267. package/dist/{prompt-select-styled-Db3jekFt.js → prompt-select-styled-Bubswkcm.js} +5 -5
  268. package/dist/{provider-auth-helpers-DLAG-xEH.js → provider-auth-helpers-BOJRr3AT.js} +1 -1
  269. package/dist/{provider-auth-helpers-CMYpEEfK.js → provider-auth-helpers-CNHiPj2n.js} +1 -1
  270. package/dist/{proxy-env-DmWlGLBC.js → proxy-env-C2sbN0UU.js} +1 -1
  271. package/dist/{plugin-sdk/proxy-fetch-DxlXp4Yi.js → proxy-fetch-CVSmQMZt.js} +1 -1
  272. package/dist/{push-apns-BYE8LhKX.js → push-apns-CFoFAonc.js} +1 -1
  273. package/dist/{push-apns-buHXMlvp.js → push-apns-D2WXZjcs.js} +1 -1
  274. package/dist/{pw-ai-B80S9aX7.js → pw-ai-CWE0qzH7.js} +15 -15
  275. package/dist/{qmd-manager-BR3hqTPz.js → qmd-manager-DMSLC2iu.js} +11 -11
  276. package/dist/{query-expansion-BqeYg_KB.js → query-expansion-MI1dZ5Nj.js} +6 -6
  277. package/dist/{redact-DXxcO2ch.js → redact-BXURioma.js} +1 -1
  278. package/dist/{register.agent-DqLkvzup.js → register.agent-Br-Y4UQG.js} +7 -7
  279. package/dist/{register.agent-CSLJ1ral.js → register.agent-Das6WI06.js} +8 -8
  280. package/dist/{register.configure-BeUMP8qR.js → register.configure-B1KDSNt2.js} +8 -8
  281. package/dist/{register.configure-CR5sLkM9.js → register.configure-C51htKDs.js} +8 -8
  282. package/dist/{register.maintenance-Yz7iswBq.js → register.maintenance-BBn-yNR7.js} +9 -9
  283. package/dist/{register.maintenance-VlJQxEQj.js → register.maintenance-CHq5H-j0.js} +8 -8
  284. package/dist/{register.message-BYhbFha9.js → register.message-Cx0R9D0q.js} +3 -3
  285. package/dist/{register.message-BHNP-sXn.js → register.message-nwyAqXBm.js} +3 -3
  286. package/dist/{register.onboard-CO75d40a.js → register.onboard-CSOzERS8.js} +2 -2
  287. package/dist/{register.onboard-CLvU1m-R.js → register.onboard-D9-seugA.js} +2 -2
  288. package/dist/{register.setup-8aW6IV4r.js → register.setup-B0ALWgJA.js} +2 -2
  289. package/dist/{register.setup-Bne4coEf.js → register.setup-Zu2ZL_xV.js} +2 -2
  290. package/dist/{register.status-health-sessions-BDA0wZvj.js → register.status-health-sessions-Bo1NWHTF.js} +4 -4
  291. package/dist/{register.status-health-sessions-DqaespPp.js → register.status-health-sessions-CU2aw4Hn.js} +4 -4
  292. package/dist/{register.subclis-SsmPAU6K.js → register.subclis-BY6T1GZv.js} +9 -9
  293. package/dist/{reply-BEwkR4yo.js → reply-BqhnZbqb.js} +18 -18
  294. package/dist/{run-main-NWS9VlVz.js → run-main-CHV8CYwf.js} +16 -16
  295. package/dist/{run-with-concurrency-BO2phtXO.js → run-with-concurrency-C5E9gJhP.js} +4 -4
  296. package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +14 -0
  297. package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +23 -0
  298. package/dist/{send-BTfv7AaM.js → send-BWySsurX.js} +7 -7
  299. package/dist/{send-BvcR90t7.js → send-BlTVCcYd.js} +25 -25
  300. package/dist/{send-Cz5Fxy-m.js → send-C87tIqIn.js} +7 -7
  301. package/dist/{send-8gHRezMM.js → send-Cpja8Q1N.js} +5 -5
  302. package/dist/{send-tnPEkJiG.js → send-OP60RbsK.js} +6 -6
  303. package/dist/{server-node-events-DpJU4SdG.js → server-node-events-Cl_g7u2c.js} +3 -3
  304. package/dist/{server-node-events-Bzjy1Xtj.js → server-node-events-bMD7s7bO.js} +3 -3
  305. package/dist/{session-B7285vs2.js → session-DmXsj3JD.js} +8 -8
  306. package/dist/{skill-commands-CyPSgHR1.js → skill-commands-DEsgUSH3.js} +9 -9
  307. package/dist/{skills-BItCBgHn.js → skills-OklkZyI1.js} +22 -22
  308. package/dist/slash-commands.runtime-gtQnheWz.js +17 -0
  309. package/dist/{slash-dispatch.runtime-D-oMjxcP.js → slash-dispatch.runtime-CDbTI8Zn.js} +2 -2
  310. package/dist/slash-dispatch.runtime-DHv-RY9C.js +57 -0
  311. package/dist/{slash-dispatch.runtime-DV907pxr.js → slash-dispatch.runtime-Dfs5wcag.js} +2 -2
  312. package/dist/slash-skill-commands.runtime-CA_oN4df.js +21 -0
  313. package/dist/{status-EvCGTkQn.js → status-C-0bju9A.js} +3 -3
  314. package/dist/{status-CBPmJLfb.js → status-Cs4ozAdx.js} +3 -3
  315. package/dist/{store-D6UDEQAm.js → store-BNhebBGr.js} +2 -2
  316. package/dist/{subagent-registry-DQ-U47U4.js → subagent-registry-iFkFgxIF.js} +18 -18
  317. package/dist/subagent-registry-runtime-CcyMwoU6.js +57 -0
  318. package/dist/{subagent-registry-runtime-Bgf5dXIu.js → subagent-registry-runtime-CeOQQxea.js} +2 -2
  319. package/dist/{subagent-registry-runtime-CWBUvwv6.js → subagent-registry-runtime-Cgw6YwfZ.js} +2 -2
  320. package/dist/{subsystem-D0TuaxQo.js → subsystem-W834z9Wa.js} +14 -14
  321. package/dist/{tables-CSZ8Vmrh.js → tables-XtcH-BaF.js} +1 -1
  322. package/dist/{plugin-sdk/target-errors-EppfnloD.js → target-errors-CNzteBWz.js} +2 -2
  323. package/dist/{thinking-D3IkjILB.js → thinking-X8yYhVf1.js} +6 -6
  324. package/dist/{tokens-B5sJjWxn.js → tokens-DxcVnNVJ.js} +1 -1
  325. package/dist/{tool-images-C6sn5gPw.js → tool-images-B-4ixjYn.js} +2 -2
  326. package/dist/{update-cli-D70Tpv2p.js → update-cli-07BoVV9o.js} +8 -8
  327. package/dist/{update-cli-B2twzUzo.js → update-cli-DvX9flwT.js} +9 -9
  328. package/dist/{update-runner-CFH1vAet.js → update-runner-DPJDvGzk.js} +1 -1
  329. package/dist/{update-runner-BQjJqa5Z.js → update-runner-RtYc0wSW.js} +1 -1
  330. package/dist/{utils-VpQxx_Ci.js → utils-D2oM4XHm.js} +7 -7
  331. package/dist/{web-B9akwZ9Q.js → web-AlAsgosE.js} +56 -56
  332. package/dist/{web-BV88abgj.js → web-CnqADWPs.js} +3 -3
  333. package/dist/{web-C9_Z0znV.js → web-UlvsjtC9.js} +3 -3
  334. package/dist/{whatsapp-actions-DsMWjVmg.js → whatsapp-actions-BPIXiPAR.js} +22 -22
  335. package/dist/{workspace-C7j8mMYc.js → workspace-ZgWjBCAm.js} +21 -21
  336. package/package.json +1 -1
  337. package/dist/deliver-runtime-2oTfiQBW.js +0 -37
  338. package/dist/deps-send-discord.runtime-CaqCAqcE.js +0 -27
  339. package/dist/deps-send-imessage.runtime-B4SfcBtt.js +0 -26
  340. package/dist/deps-send-signal.runtime-C4COTtrG.js +0 -25
  341. package/dist/deps-send-slack.runtime-B_4hwea9.js +0 -23
  342. package/dist/deps-send-telegram.runtime-MuUJFk12.js +0 -28
  343. package/dist/deps-send-whatsapp.runtime-DoXnqRdU.js +0 -61
  344. package/dist/image-runtime-DWl2_x74.js +0 -30
  345. package/dist/manager-runtime-CZv0ALL_.js +0 -19
  346. package/dist/pi-model-discovery-runtime-D4Jl2mQE.js +0 -12
  347. package/dist/plugin-sdk/deliver-runtime-BzekNyDR.js +0 -32
  348. package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +0 -32
  349. package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +0 -23
  350. package/dist/plugin-sdk/deps-send-discord.runtime-DAQdyr0A.js +0 -23
  351. package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +0 -22
  352. package/dist/plugin-sdk/deps-send-imessage.runtime-DeN3xqBZ.js +0 -22
  353. package/dist/plugin-sdk/deps-send-signal.runtime-BzOTNsH2.js +0 -21
  354. package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +0 -21
  355. package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +0 -19
  356. package/dist/plugin-sdk/deps-send-slack.runtime-RJ6do6c_.js +0 -19
  357. package/dist/plugin-sdk/deps-send-telegram.runtime-CT8fXkjj.js +0 -24
  358. package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +0 -24
  359. package/dist/plugin-sdk/deps-send-whatsapp.runtime-DtH6rXyR.js +0 -57
  360. package/dist/plugin-sdk/deps-send-whatsapp.runtime-MsowpjAX.js +0 -57
  361. package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +0 -25
  362. package/dist/plugin-sdk/image-runtime-usFQghD_.js +0 -25
  363. package/dist/plugin-sdk/manager-runtime-C8E7uQRc.js +0 -15
  364. package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +0 -15
  365. package/dist/plugin-sdk/pi-model-discovery-runtime-BInvqyx7.js +0 -8
  366. package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +0 -8
  367. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +0 -10
  368. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-VulSN6Vo.js +0 -10
  369. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +0 -19
  370. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-KEv7zH3k.js +0 -19
  371. package/dist/plugin-sdk/slash-commands.runtime-Bh4gVuZZ.js +0 -13
  372. package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +0 -13
  373. package/dist/plugin-sdk/slash-dispatch.runtime-B8aJMkx9.js +0 -52
  374. package/dist/plugin-sdk/slash-dispatch.runtime-D6UTc-X3.js +0 -52
  375. package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +0 -16
  376. package/dist/plugin-sdk/slash-skill-commands.runtime-ztQcIAHF.js +0 -16
  377. package/dist/plugin-sdk/subagent-registry-runtime-C7Bju4fL.js +0 -52
  378. package/dist/plugin-sdk/subagent-registry-runtime-DtV745_q.js +0 -52
  379. package/dist/plugin-sdk/web-CEmcQCvf.js +0 -56
  380. package/dist/plugin-sdk/web-Dzy-Gyjd.js +0 -56
  381. package/dist/runtime-whatsapp-login.runtime-DknvIgQ9.js +0 -14
  382. package/dist/runtime-whatsapp-outbound.runtime-DzQVWw3U.js +0 -23
  383. package/dist/slash-commands.runtime-B5euYv9Q.js +0 -17
  384. package/dist/slash-dispatch.runtime-DXuZn9JV.js +0 -57
  385. package/dist/slash-skill-commands.runtime-DA20IzN7.js +0 -21
  386. package/dist/subagent-registry-runtime-BmI0Wvlh.js +0 -57
  387. /package/dist/{audio-preflight-BQV5cOlH.js → audio-preflight-BxFoXiPf.js} +0 -0
  388. /package/dist/{audio-preflight-EJ5SUJjd.js → audio-preflight-C4yq6ssq.js} +0 -0
  389. /package/dist/{audit-membership-runtime-D6qEVnNT.js → audit-membership-runtime-BG4WxIDH.js} +0 -0
  390. /package/dist/{audit-membership-runtime-pFLxEf5B.js → audit-membership-runtime-oo2DbgFW.js} +0 -0
  391. /package/dist/{deliver-runtime-GAi5480M.js → deliver-runtime-FL5_bhMe.js} +0 -0
  392. /package/dist/{deliver-runtime-C0OsjAj3.js → deliver-runtime-_L6Rv_7K.js} +0 -0
  393. /package/dist/{image-runtime-GVOBL24v.js → image-runtime-BeGeHH2O.js} +0 -0
  394. /package/dist/{image-runtime-Dx3-W2jp.js → image-runtime-Dny90w7z.js} +0 -0
  395. /package/dist/{login-qr-Bhg7XHZS.js → login-qr-BJCPbTFZ.js} +0 -0
  396. /package/dist/{login-qr-DuB0o4UM.js → login-qr-BohDxqgQ.js} +0 -0
  397. /package/dist/{manager-runtime-B6yWy31j.js → manager-runtime-BxaiDdDE.js} +0 -0
  398. /package/dist/{manager-runtime-DktmlE7-.js → manager-runtime-CIBcyjkJ.js} +0 -0
  399. /package/dist/{onboarding.gateway-config-tOUlSE0m.js → onboarding.gateway-config-BuC8nL_c.js} +0 -0
  400. /package/dist/{onboarding.gateway-config-CNrA9RiE.js → onboarding.gateway-config-CkT0qEDp.js} +0 -0
  401. /package/dist/{qmd-manager-DWrfS3aI.js → qmd-manager-BFT1h2hM.js} +0 -0
  402. /package/dist/{qmd-manager-DLmPp6Ml.js → qmd-manager-Q-iay5w2.js} +0 -0
  403. /package/dist/{runtime-whatsapp-login.runtime-D2RKecOQ.js → runtime-whatsapp-login.runtime-BoLTF-OO.js} +0 -0
  404. /package/dist/{runtime-whatsapp-login.runtime-pz7c55zj.js → runtime-whatsapp-login.runtime-DrtfK3ru.js} +0 -0
  405. /package/dist/{runtime-whatsapp-outbound.runtime-DPUew4QY.js → runtime-whatsapp-outbound.runtime-BWC6-uWe.js} +0 -0
  406. /package/dist/{runtime-whatsapp-outbound.runtime-DGm8MDjj.js → runtime-whatsapp-outbound.runtime-CQSrwbqD.js} +0 -0
  407. /package/dist/{slash-commands.runtime-CA221qL2.js → slash-commands.runtime-Chf-kE5X.js} +0 -0
  408. /package/dist/{slash-commands.runtime-XLelltUi.js → slash-commands.runtime-iH5_VNlE.js} +0 -0
  409. /package/dist/{slash-skill-commands.runtime--KJswwTl.js → slash-skill-commands.runtime-BJJnGhEx.js} +0 -0
  410. /package/dist/{slash-skill-commands.runtime-CMYgi1_t.js → slash-skill-commands.runtime-DQz7oU7j.js} +0 -0
@@ -1,71 +1,71 @@
1
- import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-BO2phtXO.js";
2
- import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-B-UhE8oc.js";
3
- import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredOpenClawTmpDir, y as getChildLogger } from "./subsystem-D0TuaxQo.js";
1
+ import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-C5E9gJhP.js";
2
+ import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-C6TxBCvO.js";
3
+ import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredOpenClawTmpDir, y as getChildLogger } from "./subsystem-W834z9Wa.js";
4
4
  import { C as parseAgentSessionKey, S as isSubagentSessionKey, _ as isBlockedObjectKey, b as isAcpSessionKey, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as normalizeOptionalAccountId, h as normalizeAccountId$2, i as buildAgentPeerSessionKey, l as normalizeMainKey, m as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, o as classifySessionKeyShape, p as scopedHeartbeatWakeOptions, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as deriveSessionChatType, w as resolveThreadParentSessionKey, x as isCronSessionKey, y as getSubagentDepth } from "./session-key-DgdmD4k7.js";
5
- import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-VpQxx_Ci.js";
6
- import { A as normalizeWindowsPathForComparison, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync } from "./workspace-C7j8mMYc.js";
7
- import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-BDDjH6hb.js";
8
- import { $ as resolveConfigSnapshotHash, $n as listProfilesForProvider, $t as normalizePluginHttpPath, A as getCustomProviderApiKey, An as unwrapKnownShellMultiplexerInvocation, At as isSupportedLocalAvatarExtension, B as markAuthProfileFailure, Bn as resolveSlackStreamingMode, C as OLLAMA_NATIVE_BASE_URL, Cn as matchAllowlist, D as buildStreamErrorAssistantMessage, Dn as isDispatchWrapperExecutable, Dt as isAvatarDataUrl, E as buildAssistantMessageWithZeroUsage, En as extractShellWrapperInlineCommand, Et as AVATAR_MAX_BYTES, Fn as applyMergePatch, Ft as safeStatSync, G as describeUnknownError$1, Gn as resolveAgentMaxConcurrent, Gt as normalizeChannelId$1, H as resolveProfilesUnavailableReason, Ht as getChatChannelMeta, I as resolveAuthProfileOrder, In as isSafeExecutableValue, It as applyTestPluginDefaults, J as parseDotPath, Jn as resolveShellEnvFallbackTimeoutMs, Jt as getActivePluginRegistryKey, K as isNonEmptyString, Kn as VERSION, Kt as normalizeChatChannelId, L as clearExpiredCooldowns, Ln as mapStreamingModeToSlackLegacyDraftStreamMode, Lt as normalizePluginsConfig, M as resolveApiKeyForProvider, Mn as SAFE_BIN_PROFILES, Mt as loadPluginManifestRegistry, N as resolveEnvApiKey, Nn as normalizeSafeBinProfileFixtures, Nt as discoverOpenClawPlugins, O as buildUsageWithNoCost, On as isShellWrapperExecutable, Ot as isAvatarHttpUrl, P as resolveModelAuthMode, Pn as resolveSafeBinProfiles, Pt as isPathInside, Qn as dedupeProfileIds, Qt as createPluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveDiscordPreviewStreamMode, Rt as resolveEffectiveEnableState, S as retryAsync, Sn as DEFAULT_SAFE_BINS, T as buildAssistantMessage, Tn as resolveCommandResolutionFromArgv, U as resolveApiKeyForProfile, Ut as listChatChannels, V as markAuthProfileUsed, Vt as CHAT_CHANNEL_ORDER, W as resolveSecretRefValues, Wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wt as normalizeAnyChannelId, X as loadConfig, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yn as isDangerousHostEnvVarName, Z as readConfigFileSnapshot, Zn as resolveOwnerDisplaySetting, Zt as setActivePluginRegistry, _n as validateSafeBinArgv, _r as splitTrailingAuthProfile, a as isCliProvider, an as getConfigOverrides, bn as isWindowsPlatform, br as DEFAULT_PROVIDER, c as normalizeProviderId, cn as unsetConfigOverride, cr as formatCliCommand, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as setConfigValueAtPath, dt as parseNonNegativeByteSize, en as clearPluginCommands, er as markAuthProfileGood, et as writeConfigFile, f as resolveModelRefFromString, fn as unsetConfigValueAtPath, fr as normalizeSecretInput, ft as secretRefKey, gn as normalizeTrustedSafeBinDirs, gr as resolveSecretInputRef, h as resolveThinkingDefault, hn as listWritableExplicitTrustedSafeBinDirs, hr as normalizeResolvedSecretInputString, i as findNormalizedProviderValue, in as matchPluginCommand, ir as withFileLock, it as resolveTelegramCustomCommands, j as requireApiKey, jn as splitShellArgs, jt as validateJsonSchemaValue, k as getApiKeyForModel, kn as unwrapKnownDispatchWrapperInvocation, kt as isPathWithinRoot, ln as getConfigValueAtPath, lr as resolveCliName, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as isTrustedSafeBinPath, mr as hasConfiguredSecretInput, n as buildConfiguredAllowlistKeys, nn as getPluginCommandSpecs, nr as resolveAuthStorePathForDisplay, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as resetConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as getTrustedSafeBinDirs, pr as coerceSecretRef, q as isRecord$2, qn as getShellPathFromLoginShell, qt as getActivePluginRegistry, r as buildModelAliasIndex, rn as listPluginCommands, rr as resolveOpenClawAgentDir, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as setConfigOverride, t as buildAllowedModelSet, tn as executePluginCommand, tr as ensureAuthProfileStore, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as parseConfigPath, ur as resolveAuthProfileDisplayLabel, ut as normalizeScpRemoteHost, vn as analyzeShellCommand, vr as DEFAULT_CONTEXT_TOKENS, w as createOllamaStreamFn, wn as resolveAllowlistCandidatePath, x as resolveRetryConfig, xn as splitCommandChain, yn as buildEnforcedShellCommand, yr as DEFAULT_MODEL, z as isProfileInCooldown, zn as resolveSlackNativeStreaming, zt as resolveMemorySlotDecision } from "./model-selection-CiffIpda.js";
9
- import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-D1RrJx7s.js";
10
- import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-7AmQGjQk.js";
5
+ import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-D2oM4XHm.js";
6
+ import { A as normalizeWindowsPathForComparison, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync } from "./workspace-ZgWjBCAm.js";
7
+ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-C53B395N.js";
8
+ import { $ as resolveConfigSnapshotHash, $n as listProfilesForProvider, $t as normalizePluginHttpPath, A as getCustomProviderApiKey, An as unwrapKnownShellMultiplexerInvocation, At as isSupportedLocalAvatarExtension, B as markAuthProfileFailure, Bn as resolveSlackStreamingMode, C as OLLAMA_NATIVE_BASE_URL, Cn as matchAllowlist, D as buildStreamErrorAssistantMessage, Dn as isDispatchWrapperExecutable, Dt as isAvatarDataUrl, E as buildAssistantMessageWithZeroUsage, En as extractShellWrapperInlineCommand, Et as AVATAR_MAX_BYTES, Fn as applyMergePatch, Ft as safeStatSync, G as describeUnknownError$1, Gn as resolveAgentMaxConcurrent, Gt as normalizeChannelId$1, H as resolveProfilesUnavailableReason, Ht as getChatChannelMeta, I as resolveAuthProfileOrder, In as isSafeExecutableValue, It as applyTestPluginDefaults, J as parseDotPath, Jn as resolveShellEnvFallbackTimeoutMs, Jt as getActivePluginRegistryKey, K as isNonEmptyString, Kn as VERSION, Kt as normalizeChatChannelId, L as clearExpiredCooldowns, Ln as mapStreamingModeToSlackLegacyDraftStreamMode, Lt as normalizePluginsConfig, M as resolveApiKeyForProvider, Mn as SAFE_BIN_PROFILES, Mt as loadPluginManifestRegistry, N as resolveEnvApiKey, Nn as normalizeSafeBinProfileFixtures, Nt as discoverOpenClawPlugins, O as buildUsageWithNoCost, On as isShellWrapperExecutable, Ot as isAvatarHttpUrl, P as resolveModelAuthMode, Pn as resolveSafeBinProfiles, Pt as isPathInside, Qn as dedupeProfileIds, Qt as createPluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveDiscordPreviewStreamMode, Rt as resolveEffectiveEnableState, S as retryAsync, Sn as DEFAULT_SAFE_BINS, T as buildAssistantMessage, Tn as resolveCommandResolutionFromArgv, U as resolveApiKeyForProfile, Ut as listChatChannels, V as markAuthProfileUsed, Vt as CHAT_CHANNEL_ORDER, W as resolveSecretRefValues, Wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wt as normalizeAnyChannelId, X as loadConfig, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yn as isDangerousHostEnvVarName, Z as readConfigFileSnapshot, Zn as resolveOwnerDisplaySetting, Zt as setActivePluginRegistry, _n as validateSafeBinArgv, _r as splitTrailingAuthProfile, a as isCliProvider, an as getConfigOverrides, bn as isWindowsPlatform, br as DEFAULT_PROVIDER, c as normalizeProviderId, cn as unsetConfigOverride, cr as formatCliCommand, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as setConfigValueAtPath, dt as parseNonNegativeByteSize, en as clearPluginCommands, er as markAuthProfileGood, et as writeConfigFile, f as resolveModelRefFromString, fn as unsetConfigValueAtPath, fr as normalizeSecretInput, ft as secretRefKey, gn as normalizeTrustedSafeBinDirs, gr as resolveSecretInputRef, h as resolveThinkingDefault, hn as listWritableExplicitTrustedSafeBinDirs, hr as normalizeResolvedSecretInputString, i as findNormalizedProviderValue, in as matchPluginCommand, ir as withFileLock, it as resolveTelegramCustomCommands, j as requireApiKey, jn as splitShellArgs, jt as validateJsonSchemaValue, k as getApiKeyForModel, kn as unwrapKnownDispatchWrapperInvocation, kt as isPathWithinRoot, ln as getConfigValueAtPath, lr as resolveCliName, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as isTrustedSafeBinPath, mr as hasConfiguredSecretInput, n as buildConfiguredAllowlistKeys, nn as getPluginCommandSpecs, nr as resolveAuthStorePathForDisplay, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as resetConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as getTrustedSafeBinDirs, pr as coerceSecretRef, q as isRecord$2, qn as getShellPathFromLoginShell, qt as getActivePluginRegistry, r as buildModelAliasIndex, rn as listPluginCommands, rr as resolveOpenClawAgentDir, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as setConfigOverride, t as buildAllowedModelSet, tn as executePluginCommand, tr as ensureAuthProfileStore, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as parseConfigPath, ur as resolveAuthProfileDisplayLabel, ut as normalizeScpRemoteHost, vn as analyzeShellCommand, vr as DEFAULT_CONTEXT_TOKENS, w as createOllamaStreamFn, wn as resolveAllowlistCandidatePath, x as resolveRetryConfig, xn as splitCommandChain, yn as buildEnforcedShellCommand, yr as DEFAULT_MODEL, z as isProfileInCooldown, zn as resolveSlackNativeStreaming, zt as resolveMemorySlotDecision } from "./model-selection-e9hodq0l.js";
9
+ import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DDa7O18e.js";
10
+ import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-BAiRv0I2.js";
11
11
  import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
12
- import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-D3IkjILB.js";
13
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-B5sJjWxn.js";
14
- import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, 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-XniO7sfQ.js";
15
- import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-DHCEvJoG.js";
16
- import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-tnPEkJiG.js";
17
- 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 createDiscordRestClient, 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 chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, 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-BTfv7AaM.js";
12
+ import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-X8yYhVf1.js";
13
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DxcVnNVJ.js";
14
+ import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, 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-rc2l4VJe.js";
15
+ import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-CAjupeYV.js";
16
+ import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-OP60RbsK.js";
17
+ 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 createDiscordRestClient, 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 chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, 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-BWySsurX.js";
18
18
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-xpZo1jCG.js";
19
- 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-CEbU5IBY.js";
20
- import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-IKfXukdB.js";
21
- import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-MAwYK1nH.js";
19
+ 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-JkYjt9Qz.js";
20
+ import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-BGtFj4tU.js";
21
+ import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-4l7ba973.js";
22
22
  import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-yNvvUZit.js";
23
- import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-CmuiWrJv.js";
24
- import { $ as removeChannelAllowFromStoreEntry, 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 readChannelAllowFromStore, 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 addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-BvcR90t7.js";
25
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CQgqt_Mv.js";
26
- import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-DqvEMwsR.js";
27
- 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-B972B1oO.js";
28
- 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-BItCBgHn.js";
29
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DUWK88Ct.js";
30
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DXxcO2ch.js";
31
- import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-B2Vmqoab.js";
32
- import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BwhFB7Uo.js";
33
- import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-DmWlGLBC.js";
34
- import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-D6UDEQAm.js";
23
+ import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-D7mq-4y1.js";
24
+ import { $ as removeChannelAllowFromStoreEntry, 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 readChannelAllowFromStore, 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 addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-BlTVCcYd.js";
25
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-32EFg27L.js";
26
+ import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-CE9KKP1Q.js";
27
+ 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-palWvTtp.js";
28
+ 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-OklkZyI1.js";
29
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-It4BBRdm.js";
30
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-BXURioma.js";
31
+ import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-C1YF712P.js";
32
+ import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BLpOReWZ.js";
33
+ import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-C2sbN0UU.js";
34
+ import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-BNhebBGr.js";
35
35
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-D2dc4Wmw.js";
36
- import { t as resolveIMessageAccount } from "./accounts-WPSFYBfl.js";
37
- import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Dxl3r5jd.js";
36
+ import { t as resolveIMessageAccount } from "./accounts-k5nTdi32.js";
37
+ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CZ0nrg7g.js";
38
38
  import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.js";
39
- import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-C6sn5gPw.js";
39
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-B-4ixjYn.js";
40
40
  import { i as withNormalizedTimestamp, n as resolveUserTimeFormat, r as resolveUserTimezone, t as formatUserTime } from "./date-time-Ce6oKo3v.js";
41
- import { C as minimaxUnderstandImage, 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 ensureOpenClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-D9ypE3-q.js";
42
- import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-D1VfiPMl.js";
43
- import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-BsFdX4tn.js";
41
+ import { C as minimaxUnderstandImage, 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 ensureOpenClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-BlRI3dXw.js";
42
+ import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-CawngPvE.js";
43
+ import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-_iocPLV2.js";
44
44
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CSrVj6X7.js";
45
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-4K8g_TXN.js";
46
- import { t as makeProxyFetch } from "./proxy-fetch-DJI7qbLV.js";
47
- 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-BgRFz8jI.js";
48
- import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-KgDT2gLA.js";
49
- 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-C1rzSTeQ.js";
50
- 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-CyPSgHR1.js";
45
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CiQUuV0r.js";
46
+ import { t as makeProxyFetch } from "./proxy-fetch-CVSmQMZt.js";
47
+ 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-Dpg87zYv.js";
48
+ import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-CNzteBWz.js";
49
+ 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-A3LstXeY.js";
50
+ 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-DEsgUSH3.js";
51
51
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CTN5ATFT.js";
52
52
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-WKa7J8FO.js";
53
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-TwPquwyw.js";
53
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-Hho38eZq.js";
54
54
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BXqJ6gxm.js";
55
55
  import { n as normalizePollInput } from "./polls-CVGKOEN8.js";
56
- import { t as convertMarkdownTables } from "./tables-CSZ8Vmrh.js";
57
- import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-8gHRezMM.js";
58
- 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-Cz5Fxy-m.js";
59
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-BG3fObzp.js";
60
- import { n as resolveMemorySearchConfig } from "./manager-C80Inv1T.js";
61
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BqeYg_KB.js";
56
+ import { t as convertMarkdownTables } from "./tables-XtcH-BaF.js";
57
+ import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-Cpja8Q1N.js";
58
+ 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-C87tIqIn.js";
59
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-D9FARjMd.js";
60
+ import { n as resolveMemorySearchConfig } from "./manager-Dfrejf6z.js";
61
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-MI1dZ5Nj.js";
62
62
  import { createRequire } from "node:module";
63
63
  import * as fs$1 from "node:fs/promises";
64
64
  import fs from "node:fs/promises";
65
65
  import os, { homedir } from "node:os";
66
66
  import * as path$1 from "node:path";
67
67
  import path, { isAbsolute } from "node:path";
68
- import fsSync, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
68
+ import syncFs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
69
69
  import JSON5 from "json5";
70
70
  import { inspect, isDeepStrictEqual, promisify } from "node:util";
71
71
  import { execFile, spawn, spawnSync } from "node:child_process";
@@ -3172,7 +3172,7 @@ async function resolveOpenClawDocsPath(params) {
3172
3172
  const workspaceDir = params.workspaceDir?.trim();
3173
3173
  if (workspaceDir) {
3174
3174
  const workspaceDocs = path.join(workspaceDir, "docs");
3175
- if (fsSync.existsSync(workspaceDocs)) return workspaceDocs;
3175
+ if (syncFs.existsSync(workspaceDocs)) return workspaceDocs;
3176
3176
  }
3177
3177
  const packageRoot = await resolveOpenClawPackageRoot({
3178
3178
  cwd: params.cwd,
@@ -3181,7 +3181,7 @@ async function resolveOpenClawDocsPath(params) {
3181
3181
  });
3182
3182
  if (!packageRoot) return null;
3183
3183
  const packageDocs = path.join(packageRoot, "docs");
3184
- return fsSync.existsSync(packageDocs) ? packageDocs : null;
3184
+ return syncFs.existsSync(packageDocs) ? packageDocs : null;
3185
3185
  }
3186
3186
 
3187
3187
  //#endregion
@@ -6298,7 +6298,7 @@ function resolveDefaultIdentityPath() {
6298
6298
  return path.join(resolveStateDir(), "identity", "device.json");
6299
6299
  }
6300
6300
  function ensureDir$2(filePath) {
6301
- fsSync.mkdirSync(path.dirname(filePath), { recursive: true });
6301
+ syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
6302
6302
  }
6303
6303
  const ED25519_SPKI_PREFIX = Buffer.from("302a300506032b6570032100", "hex");
6304
6304
  function base64UrlEncode(buf) {
@@ -6334,8 +6334,8 @@ function generateIdentity() {
6334
6334
  }
6335
6335
  function loadOrCreateDeviceIdentity(filePath = resolveDefaultIdentityPath()) {
6336
6336
  try {
6337
- if (fsSync.existsSync(filePath)) {
6338
- const raw = fsSync.readFileSync(filePath, "utf8");
6337
+ if (syncFs.existsSync(filePath)) {
6338
+ const raw = syncFs.readFileSync(filePath, "utf8");
6339
6339
  const parsed = JSON.parse(raw);
6340
6340
  if (parsed?.version === 1 && typeof parsed.deviceId === "string" && typeof parsed.publicKeyPem === "string" && typeof parsed.privateKeyPem === "string") {
6341
6341
  const derivedId = fingerprintPublicKey(parsed.publicKeyPem);
@@ -6344,9 +6344,9 @@ function loadOrCreateDeviceIdentity(filePath = resolveDefaultIdentityPath()) {
6344
6344
  ...parsed,
6345
6345
  deviceId: derivedId
6346
6346
  };
6347
- fsSync.writeFileSync(filePath, `${JSON.stringify(updated, null, 2)}\n`, { mode: 384 });
6347
+ syncFs.writeFileSync(filePath, `${JSON.stringify(updated, null, 2)}\n`, { mode: 384 });
6348
6348
  try {
6349
- fsSync.chmodSync(filePath, 384);
6349
+ syncFs.chmodSync(filePath, 384);
6350
6350
  } catch {}
6351
6351
  return {
6352
6352
  deviceId: derivedId,
@@ -6371,9 +6371,9 @@ function loadOrCreateDeviceIdentity(filePath = resolveDefaultIdentityPath()) {
6371
6371
  privateKeyPem: identity.privateKeyPem,
6372
6372
  createdAtMs: Date.now()
6373
6373
  };
6374
- fsSync.writeFileSync(filePath, `${JSON.stringify(stored, null, 2)}\n`, { mode: 384 });
6374
+ syncFs.writeFileSync(filePath, `${JSON.stringify(stored, null, 2)}\n`, { mode: 384 });
6375
6375
  try {
6376
- fsSync.chmodSync(filePath, 384);
6376
+ syncFs.chmodSync(filePath, 384);
6377
6377
  } catch {}
6378
6378
  return identity;
6379
6379
  }
@@ -6565,8 +6565,8 @@ function resolveDeviceAuthPath(env = process.env) {
6565
6565
  }
6566
6566
  function readStore(filePath) {
6567
6567
  try {
6568
- if (!fsSync.existsSync(filePath)) return null;
6569
- const raw = fsSync.readFileSync(filePath, "utf8");
6568
+ if (!syncFs.existsSync(filePath)) return null;
6569
+ const raw = syncFs.readFileSync(filePath, "utf8");
6570
6570
  const parsed = JSON.parse(raw);
6571
6571
  if (parsed?.version !== 1 || typeof parsed.deviceId !== "string") return null;
6572
6572
  if (!parsed.tokens || typeof parsed.tokens !== "object") return null;
@@ -6576,10 +6576,10 @@ function readStore(filePath) {
6576
6576
  }
6577
6577
  }
6578
6578
  function writeStore(filePath, store) {
6579
- fsSync.mkdirSync(path.dirname(filePath), { recursive: true });
6580
- fsSync.writeFileSync(filePath, `${JSON.stringify(store, null, 2)}\n`, { mode: 384 });
6579
+ syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
6580
+ syncFs.writeFileSync(filePath, `${JSON.stringify(store, null, 2)}\n`, { mode: 384 });
6581
6581
  try {
6582
- fsSync.chmodSync(filePath, 384);
6582
+ syncFs.chmodSync(filePath, 384);
6583
6583
  } catch {}
6584
6584
  }
6585
6585
  function loadDeviceAuthToken(params) {
@@ -9760,7 +9760,7 @@ function normalizeReplyPayload(payload, opts = {}) {
9760
9760
  */
9761
9761
  let deliverRuntimePromise$2 = null;
9762
9762
  function loadDeliverRuntime$2() {
9763
- deliverRuntimePromise$2 ??= import("./deliver-runtime-2oTfiQBW.js");
9763
+ deliverRuntimePromise$2 ??= import("./deliver-runtime-BvTbrDXE.js");
9764
9764
  return deliverRuntimePromise$2;
9765
9765
  }
9766
9766
  /**
@@ -10448,7 +10448,7 @@ function normalizeSessionKey(value) {
10448
10448
  }
10449
10449
  function readSessionStore(storePath) {
10450
10450
  try {
10451
- const raw = fsSync.readFileSync(storePath, "utf-8");
10451
+ const raw = syncFs.readFileSync(storePath, "utf-8");
10452
10452
  const parsed = JSON5.parse(raw);
10453
10453
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
10454
10454
  } catch {}
@@ -11048,7 +11048,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
11048
11048
  const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
11049
11049
  let subagentRegistryRuntimePromise = null;
11050
11050
  function loadSubagentRegistryRuntime() {
11051
- subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-BmI0Wvlh.js");
11051
+ subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-CcyMwoU6.js");
11052
11052
  return subagentRegistryRuntimePromise;
11053
11053
  }
11054
11054
  const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
@@ -14402,7 +14402,7 @@ async function runWithConcurrency(tasks, limit) {
14402
14402
  //#region src/media-understanding/echo-transcript.ts
14403
14403
  let deliverRuntimePromise$1 = null;
14404
14404
  function loadDeliverRuntime$1() {
14405
- deliverRuntimePromise$1 ??= import("./deliver-runtime-2oTfiQBW.js");
14405
+ deliverRuntimePromise$1 ??= import("./deliver-runtime-BvTbrDXE.js");
14406
14406
  return deliverRuntimePromise$1;
14407
14407
  }
14408
14408
  const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
@@ -18051,7 +18051,7 @@ function mergeLegacyAgent(current, legacy) {
18051
18051
  }
18052
18052
  function ensureDir$1(filePath) {
18053
18053
  const dir = path.dirname(filePath);
18054
- fsSync.mkdirSync(dir, { recursive: true });
18054
+ syncFs.mkdirSync(dir, { recursive: true });
18055
18055
  }
18056
18056
  function coerceAllowlistEntries(allowlist) {
18057
18057
  if (!Array.isArray(allowlist) || allowlist.length === 0) return Array.isArray(allowlist) ? allowlist : void 0;
@@ -18121,11 +18121,11 @@ function generateToken() {
18121
18121
  function loadExecApprovals() {
18122
18122
  const filePath = resolveExecApprovalsPath();
18123
18123
  try {
18124
- if (!fsSync.existsSync(filePath)) return normalizeExecApprovals({
18124
+ if (!syncFs.existsSync(filePath)) return normalizeExecApprovals({
18125
18125
  version: 1,
18126
18126
  agents: {}
18127
18127
  });
18128
- const raw = fsSync.readFileSync(filePath, "utf8");
18128
+ const raw = syncFs.readFileSync(filePath, "utf8");
18129
18129
  const parsed = JSON.parse(raw);
18130
18130
  if (parsed?.version !== 1) return normalizeExecApprovals({
18131
18131
  version: 1,
@@ -18142,9 +18142,9 @@ function loadExecApprovals() {
18142
18142
  function saveExecApprovals(file) {
18143
18143
  const filePath = resolveExecApprovalsPath();
18144
18144
  ensureDir$1(filePath);
18145
- fsSync.writeFileSync(filePath, `${JSON.stringify(file, null, 2)}\n`, { mode: 384 });
18145
+ syncFs.writeFileSync(filePath, `${JSON.stringify(file, null, 2)}\n`, { mode: 384 });
18146
18146
  try {
18147
- fsSync.chmodSync(filePath, 384);
18147
+ syncFs.chmodSync(filePath, 384);
18148
18148
  } catch {}
18149
18149
  }
18150
18150
  function ensureExecApprovals() {
@@ -18641,18 +18641,18 @@ function drainSystemEventEntries(sessionKey) {
18641
18641
  function resolvePowerShellPath() {
18642
18642
  const programFiles = process.env.ProgramFiles || process.env.PROGRAMFILES || "C:\\Program Files";
18643
18643
  const pwsh7 = path.join(programFiles, "PowerShell", "7", "pwsh.exe");
18644
- if (fsSync.existsSync(pwsh7)) return pwsh7;
18644
+ if (syncFs.existsSync(pwsh7)) return pwsh7;
18645
18645
  const programW6432 = process.env.ProgramW6432;
18646
18646
  if (programW6432 && programW6432 !== programFiles) {
18647
18647
  const pwsh7Alt = path.join(programW6432, "PowerShell", "7", "pwsh.exe");
18648
- if (fsSync.existsSync(pwsh7Alt)) return pwsh7Alt;
18648
+ if (syncFs.existsSync(pwsh7Alt)) return pwsh7Alt;
18649
18649
  }
18650
18650
  const pwshInPath = resolveShellFromPath("pwsh");
18651
18651
  if (pwshInPath) return pwshInPath;
18652
18652
  const systemRoot = process.env.SystemRoot || process.env.WINDIR;
18653
18653
  if (systemRoot) {
18654
18654
  const candidate = path.join(systemRoot, "System32", "WindowsPowerShell", "v1.0", "powershell.exe");
18655
- if (fsSync.existsSync(candidate)) return candidate;
18655
+ if (syncFs.existsSync(candidate)) return candidate;
18656
18656
  }
18657
18657
  return "powershell.exe";
18658
18658
  }
@@ -18690,7 +18690,7 @@ function resolveShellFromPath(name) {
18690
18690
  for (const entry of entries) {
18691
18691
  const candidate = path.join(entry, name);
18692
18692
  try {
18693
- fsSync.accessSync(candidate, fsSync.constants.X_OK);
18693
+ syncFs.accessSync(candidate, syncFs.constants.X_OK);
18694
18694
  return candidate;
18695
18695
  } catch {}
18696
18696
  }
@@ -22165,7 +22165,7 @@ function ensureContextWindowCacheLoaded() {
22165
22165
  await ensureOpenClawModelsJson(cfg);
22166
22166
  } catch {}
22167
22167
  try {
22168
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CQgqt_Mv.js").then((n) => n.r);
22168
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-32EFg27L.js").then((n) => n.r);
22169
22169
  const agentDir = resolveOpenClawAgentDir();
22170
22170
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
22171
22171
  applyDiscoveredContextWindows({
@@ -22321,7 +22321,7 @@ function walkUpFrom(startDir, opts, resolveAtDir) {
22321
22321
  function hasGitMarker(repoRoot) {
22322
22322
  const gitPath = path.join(repoRoot, ".git");
22323
22323
  try {
22324
- const stat = fsSync.statSync(gitPath);
22324
+ const stat = syncFs.statSync(gitPath);
22325
22325
  return stat.isDirectory() || stat.isFile();
22326
22326
  } catch {
22327
22327
  return false;
@@ -22333,10 +22333,10 @@ function findGitRoot(startDir, opts = {}) {
22333
22333
  function resolveGitDirFromMarker(repoRoot) {
22334
22334
  const gitPath = path.join(repoRoot, ".git");
22335
22335
  try {
22336
- const stat = fsSync.statSync(gitPath);
22336
+ const stat = syncFs.statSync(gitPath);
22337
22337
  if (stat.isDirectory()) return gitPath;
22338
22338
  if (!stat.isFile()) return null;
22339
- const match = fsSync.readFileSync(gitPath, "utf-8").match(/gitdir:\s*(.+)/i);
22339
+ const match = syncFs.readFileSync(gitPath, "utf-8").match(/gitdir:\s*(.+)/i);
22340
22340
  if (!match?.[1]) return null;
22341
22341
  return path.resolve(repoRoot, match[1].trim());
22342
22342
  } catch {
@@ -22403,7 +22403,7 @@ const resolveCommitHash = (options = {}) => {
22403
22403
  cachedCommit = null;
22404
22404
  return cachedCommit;
22405
22405
  }
22406
- const head = fsSync.readFileSync(headPath, "utf-8").trim();
22406
+ const head = syncFs.readFileSync(headPath, "utf-8").trim();
22407
22407
  if (!head) {
22408
22408
  cachedCommit = null;
22409
22409
  return cachedCommit;
@@ -22411,7 +22411,7 @@ const resolveCommitHash = (options = {}) => {
22411
22411
  if (head.startsWith("ref:")) {
22412
22412
  const ref = head.replace(/^ref:\s*/i, "").trim();
22413
22413
  const refPath = path.resolve(path.dirname(headPath), ref);
22414
- cachedCommit = formatCommit(fsSync.readFileSync(refPath, "utf-8").trim());
22414
+ cachedCommit = formatCommit(syncFs.readFileSync(refPath, "utf-8").trim());
22415
22415
  return cachedCommit;
22416
22416
  }
22417
22417
  cachedCommit = formatCommit(head);
@@ -22671,17 +22671,17 @@ const readUsageFromSessionLog = (sessionId, sessionEntry, agentId, sessionKey, s
22671
22671
  } catch {
22672
22672
  return;
22673
22673
  }
22674
- if (!fsSync.existsSync(logPath)) return;
22674
+ if (!syncFs.existsSync(logPath)) return;
22675
22675
  try {
22676
22676
  const TAIL_BYTES = 8192;
22677
- const stat = fsSync.statSync(logPath);
22677
+ const stat = syncFs.statSync(logPath);
22678
22678
  const offset = Math.max(0, stat.size - TAIL_BYTES);
22679
22679
  const buf = Buffer.alloc(Math.min(TAIL_BYTES, stat.size));
22680
- const fd = fsSync.openSync(logPath, "r");
22680
+ const fd = syncFs.openSync(logPath, "r");
22681
22681
  try {
22682
- fsSync.readSync(fd, buf, 0, buf.length, offset);
22682
+ syncFs.readSync(fd, buf, 0, buf.length, offset);
22683
22683
  } finally {
22684
- fsSync.closeSync(fd);
22684
+ syncFs.closeSync(fd);
22685
22685
  }
22686
22686
  const tail = buf.toString("utf-8");
22687
22687
  const lines = (offset > 0 ? tail.slice(tail.indexOf("\n") + 1) : tail).split(/\n+/);
@@ -24189,7 +24189,7 @@ function resolveRepoRoot(params) {
24189
24189
  const configured = params.config?.agents?.defaults?.repoRoot?.trim();
24190
24190
  if (configured) try {
24191
24191
  const resolved = path.resolve(configured);
24192
- if (fsSync.statSync(resolved).isDirectory()) return resolved;
24192
+ if (syncFs.statSync(resolved).isDirectory()) return resolved;
24193
24193
  } catch {}
24194
24194
  const candidates = [params.workspaceDir, params.cwd].map((value) => value?.trim()).filter(Boolean);
24195
24195
  const seen = /* @__PURE__ */ new Set();
@@ -24975,7 +24975,7 @@ async function buildContextReply(params) {
24975
24975
  //#region src/auto-reply/reply/commands-export-session.ts
24976
24976
  const EXPORT_HTML_DIR = path.join(path.dirname(fileURLToPath(import.meta.url)), "export-html");
24977
24977
  function loadTemplate(fileName) {
24978
- return fsSync.readFileSync(path.join(EXPORT_HTML_DIR, fileName), "utf-8");
24978
+ return syncFs.readFileSync(path.join(EXPORT_HTML_DIR, fileName), "utf-8");
24979
24979
  }
24980
24980
  function generateHtml(sessionData) {
24981
24981
  const template = loadTemplate("template.html");
@@ -25049,7 +25049,7 @@ async function buildExportSessionReply(params) {
25049
25049
  } catch (err) {
25050
25050
  return { text: `❌ Failed to resolve session file: ${err instanceof Error ? err.message : String(err)}` };
25051
25051
  }
25052
- if (!fsSync.existsSync(sessionFile)) return { text: `❌ Session file not found: ${sessionFile}` };
25052
+ if (!syncFs.existsSync(sessionFile)) return { text: `❌ Session file not found: ${sessionFile}` };
25053
25053
  const sessionManager = SessionManager.open(sessionFile);
25054
25054
  const entries = sessionManager.getEntries();
25055
25055
  const header = sessionManager.getHeader();
@@ -25070,8 +25070,8 @@ async function buildExportSessionReply(params) {
25070
25070
  const defaultFileName = `openclaw-session-${entry.sessionId.slice(0, 8)}-${timestamp}.html`;
25071
25071
  const outputPath = args.outputPath ? path.resolve(args.outputPath.startsWith("~") ? args.outputPath.replace("~", process.env.HOME ?? "") : args.outputPath) : path.join(params.workspaceDir, defaultFileName);
25072
25072
  const outputDir = path.dirname(outputPath);
25073
- if (!fsSync.existsSync(outputDir)) fsSync.mkdirSync(outputDir, { recursive: true });
25074
- fsSync.writeFileSync(outputPath, html, "utf-8");
25073
+ if (!syncFs.existsSync(outputDir)) syncFs.mkdirSync(outputDir, { recursive: true });
25074
+ syncFs.writeFileSync(outputPath, html, "utf-8");
25075
25075
  const relativePath = path.relative(params.workspaceDir, outputPath);
25076
25076
  return { text: [
25077
25077
  "✅ Session exported!",
@@ -25218,8 +25218,8 @@ function resolveZaiApiKey() {
25218
25218
  }
25219
25219
  try {
25220
25220
  const authPath = path.join(resolveRequiredHomeDir(process.env, os.homedir), ".pi", "agent", "auth.json");
25221
- if (!fsSync.existsSync(authPath)) return;
25222
- const data = JSON.parse(fsSync.readFileSync(authPath, "utf-8"));
25221
+ if (!syncFs.existsSync(authPath)) return;
25222
+ const data = JSON.parse(syncFs.readFileSync(authPath, "utf-8"));
25223
25223
  return data["z-ai"]?.access || data.zai?.access;
25224
25224
  } catch {
25225
25225
  return;
@@ -27038,7 +27038,7 @@ function shouldPersistAnyBindingState() {
27038
27038
  }
27039
27039
  function shouldPersistBindingMutations() {
27040
27040
  if (shouldPersistAnyBindingState()) return true;
27041
- return fsSync.existsSync(resolveThreadBindingsPath());
27041
+ return syncFs.existsSync(resolveThreadBindingsPath());
27042
27042
  }
27043
27043
  function saveBindingsToDisk(params = {}) {
27044
27044
  if (!params.force && !shouldPersistAnyBindingState()) return;
@@ -28440,7 +28440,7 @@ const applyCostTotal = (totals, costTotal) => {
28440
28440
  totals.totalCost += costTotal;
28441
28441
  };
28442
28442
  async function* readJsonlRecords(filePath) {
28443
- const fileStream = fsSync.createReadStream(filePath, { encoding: "utf-8" });
28443
+ const fileStream = syncFs.createReadStream(filePath, { encoding: "utf-8" });
28444
28444
  const rl = readline.createInterface({
28445
28445
  input: fileStream,
28446
28446
  crlfDelay: Infinity
@@ -28512,10 +28512,10 @@ async function loadCostUsageSummary(params) {
28512
28512
  const dailyMap = /* @__PURE__ */ new Map();
28513
28513
  const totals = emptyTotals();
28514
28514
  const sessionsDir = resolveSessionTranscriptsDirForAgent(params?.agentId);
28515
- const entries = await fsSync.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
28515
+ const entries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
28516
28516
  const files = (await Promise.all(entries.filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).map(async (entry) => {
28517
28517
  const filePath = path.join(sessionsDir, entry.name);
28518
- const stats = await fsSync.promises.stat(filePath).catch(() => null);
28518
+ const stats = await syncFs.promises.stat(filePath).catch(() => null);
28519
28519
  if (!stats) return null;
28520
28520
  if (stats.mtimeMs < sinceTime) return null;
28521
28521
  return filePath;
@@ -28548,7 +28548,7 @@ async function loadCostUsageSummary(params) {
28548
28548
  }
28549
28549
  async function loadSessionCostSummary(params) {
28550
28550
  const sessionFile = params.sessionFile ?? (params.sessionId ? resolveSessionFilePath(params.sessionId, params.sessionEntry, { agentId: params.agentId }) : void 0);
28551
- if (!sessionFile || !fsSync.existsSync(sessionFile)) return null;
28551
+ if (!sessionFile || !syncFs.existsSync(sessionFile)) return null;
28552
28552
  const totals = emptyTotals();
28553
28553
  let firstActivity;
28554
28554
  let lastActivity;
@@ -31071,7 +31071,7 @@ async function createModelSelectionState(params) {
31071
31071
  }
31072
31072
  }
31073
31073
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
31074
- const { ensureAuthProfileStore } = await import("./model-selection-CiffIpda.js").then((n) => n.F);
31074
+ const { ensureAuthProfileStore } = await import("./model-selection-e9hodq0l.js").then((n) => n.F);
31075
31075
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
31076
31076
  const providerKey = normalizeProviderId(provider);
31077
31077
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -34732,7 +34732,7 @@ function asBoolean(value) {
34732
34732
  }
34733
34733
  function resolveTempPathParts(opts) {
34734
34734
  const tmpDir = opts.tmpDir ?? resolvePreferredOpenClawTmpDir();
34735
- if (!opts.tmpDir) fsSync.mkdirSync(tmpDir, {
34735
+ if (!opts.tmpDir) syncFs.mkdirSync(tmpDir, {
34736
34736
  recursive: true,
34737
34737
  mode: 448
34738
34738
  });
@@ -37893,9 +37893,9 @@ function loadExternalCatalogEntries(options) {
37893
37893
  const entries = [];
37894
37894
  for (const rawPath of paths) {
37895
37895
  const resolved = resolveUserPath(rawPath);
37896
- if (!fsSync.existsSync(resolved)) continue;
37896
+ if (!syncFs.existsSync(resolved)) continue;
37897
37897
  try {
37898
- const payload = JSON.parse(fsSync.readFileSync(resolved, "utf-8"));
37898
+ const payload = JSON.parse(syncFs.readFileSync(resolved, "utf-8"));
37899
37899
  entries.push(...parseCatalogEntries(payload));
37900
37900
  } catch {}
37901
37901
  }
@@ -42012,7 +42012,7 @@ function listExistingAgentIdsFromDisk() {
42012
42012
  const root = resolveStateDir();
42013
42013
  const agentsDir = path.join(root, "agents");
42014
42014
  try {
42015
- return fsSync.readdirSync(agentsDir, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => normalizeAgentId(entry.name)).filter(Boolean);
42015
+ return syncFs.readdirSync(agentsDir, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => normalizeAgentId(entry.name)).filter(Boolean);
42016
42016
  } catch {
42017
42017
  return [];
42018
42018
  }
@@ -48085,7 +48085,7 @@ async function runAgentTurnWithFallback(params) {
48085
48085
  if (corruptedSessionId) {
48086
48086
  const transcriptPath = resolveSessionTranscriptPath(corruptedSessionId);
48087
48087
  try {
48088
- fsSync.unlinkSync(transcriptPath);
48088
+ syncFs.unlinkSync(transcriptPath);
48089
48089
  } catch {}
48090
48090
  }
48091
48091
  delete params.activeSessionStore[sessionKey];
@@ -48905,7 +48905,7 @@ async function readSessionLogSnapshot(params) {
48905
48905
  if (!logPath) return {};
48906
48906
  const snapshot = {};
48907
48907
  if (params.includeByteSize) try {
48908
- const stat = await fsSync.promises.stat(logPath);
48908
+ const stat = await syncFs.promises.stat(logPath);
48909
48909
  const size = Math.floor(stat.size);
48910
48910
  snapshot.byteSize = Number.isFinite(size) && size >= 0 ? size : void 0;
48911
48911
  } catch {
@@ -48919,7 +48919,7 @@ async function readSessionLogSnapshot(params) {
48919
48919
  return snapshot;
48920
48920
  }
48921
48921
  async function readLastNonzeroUsageFromSessionLog(logPath) {
48922
- const handle = await fsSync.promises.open(logPath, "r");
48922
+ const handle = await syncFs.promises.open(logPath, "r");
48923
48923
  try {
48924
48924
  let position = (await handle.stat()).size;
48925
48925
  let leadingPartial = "";
@@ -49616,9 +49616,9 @@ async function readPostCompactionContext(workspaceDir, cfg, nowMs) {
49616
49616
  if (!opened.ok) return null;
49617
49617
  const sections = extractSections((() => {
49618
49618
  try {
49619
- return fsSync.readFileSync(opened.fd, "utf-8");
49619
+ return syncFs.readFileSync(opened.fd, "utf-8");
49620
49620
  } finally {
49621
- fsSync.closeSync(opened.fd);
49621
+ syncFs.closeSync(opened.fd);
49622
49622
  }
49623
49623
  })(), ["Session Startup", "Red Lines"]);
49624
49624
  if (sections.length === 0) return null;
@@ -49840,7 +49840,7 @@ async function runReplyAgent(params) {
49840
49840
  if (resolved) transcriptCandidates.add(resolved);
49841
49841
  transcriptCandidates.add(resolveSessionTranscriptPath(prevSessionId, agentId));
49842
49842
  for (const candidate of transcriptCandidates) try {
49843
- fsSync.unlinkSync(candidate);
49843
+ syncFs.unlinkSync(candidate);
49844
49844
  } catch {}
49845
49845
  }
49846
49846
  return true;
@@ -50786,7 +50786,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
50786
50786
  const log$10 = createSubsystemLogger("session-maintenance-warning");
50787
50787
  let deliverRuntimePromise = null;
50788
50788
  function loadDeliverRuntime() {
50789
- deliverRuntimePromise ??= import("./deliver-runtime-2oTfiQBW.js");
50789
+ deliverRuntimePromise ??= import("./deliver-runtime-BvTbrDXE.js");
50790
50790
  return deliverRuntimePromise;
50791
50791
  }
50792
50792
  function shouldSendWarning() {
@@ -50953,7 +50953,7 @@ function forkSessionFromParent(params) {
50953
50953
  agentId: params.agentId,
50954
50954
  sessionsDir: params.sessionsDir
50955
50955
  });
50956
- if (!parentSessionFile || !fsSync.existsSync(parentSessionFile)) return null;
50956
+ if (!parentSessionFile || !syncFs.existsSync(parentSessionFile)) return null;
50957
50957
  try {
50958
50958
  const manager = SessionManager.open(parentSessionFile);
50959
50959
  const leafId = manager.getLeafId();
@@ -50977,7 +50977,7 @@ function forkSessionFromParent(params) {
50977
50977
  cwd: manager.getCwd(),
50978
50978
  parentSession: parentSessionFile
50979
50979
  };
50980
- fsSync.writeFileSync(sessionFile, `${JSON.stringify(header)}\n`, "utf-8");
50980
+ syncFs.writeFileSync(sessionFile, `${JSON.stringify(header)}\n`, "utf-8");
50981
50981
  return {
50982
50982
  sessionId,
50983
50983
  sessionFile
@@ -55743,7 +55743,7 @@ const VISION_PROVIDERS = [
55743
55743
  ];
55744
55744
  let imageRuntimePromise = null;
55745
55745
  function loadImageRuntime() {
55746
- imageRuntimePromise ??= import("./image-runtime-DWl2_x74.js");
55746
+ imageRuntimePromise ??= import("./image-runtime-Cp3I725X.js");
55747
55747
  return imageRuntimePromise;
55748
55748
  }
55749
55749
  /**
@@ -57736,7 +57736,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
57736
57736
  const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
57737
57737
  let transcript;
57738
57738
  if (needsPreflightTranscription) try {
57739
- const { transcribeFirstAudio } = await import("./audio-preflight-DylHSkVV.js");
57739
+ const { transcribeFirstAudio } = await import("./audio-preflight-C7kt2vOu.js");
57740
57740
  const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
57741
57741
  if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
57742
57742
  ctx: {
@@ -59296,7 +59296,7 @@ function identityHasValues(identity) {
59296
59296
  }
59297
59297
  function loadIdentityFromFile(identityPath) {
59298
59298
  try {
59299
- const parsed = parseIdentityMarkdown(fsSync.readFileSync(identityPath, "utf-8"));
59299
+ const parsed = parseIdentityMarkdown(syncFs.readFileSync(identityPath, "utf-8"));
59300
59300
  if (!identityHasValues(parsed)) return null;
59301
59301
  return parsed;
59302
59302
  } catch {
@@ -59320,7 +59320,7 @@ function resolveAvatarSource(cfg, agentId) {
59320
59320
  }
59321
59321
  function resolveExistingPath(value) {
59322
59322
  try {
59323
- return fsSync.realpathSync(value);
59323
+ return syncFs.realpathSync(value);
59324
59324
  } catch {
59325
59325
  return path.resolve(value);
59326
59326
  }
@@ -59338,7 +59338,7 @@ function resolveLocalAvatarPath(params) {
59338
59338
  reason: "unsupported_extension"
59339
59339
  };
59340
59340
  try {
59341
- const stat = fsSync.statSync(realPath);
59341
+ const stat = syncFs.statSync(realPath);
59342
59342
  if (!stat.isFile()) return {
59343
59343
  ok: false,
59344
59344
  reason: "missing"
@@ -64996,27 +64996,27 @@ let slackSenderRuntimePromise = null;
64996
64996
  let signalSenderRuntimePromise = null;
64997
64997
  let imessageSenderRuntimePromise = null;
64998
64998
  function loadWhatsAppSenderRuntime() {
64999
- whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-DoXnqRdU.js");
64999
+ whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-BP1TzaH2.js");
65000
65000
  return whatsappSenderRuntimePromise;
65001
65001
  }
65002
65002
  function loadTelegramSenderRuntime() {
65003
- telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-MuUJFk12.js");
65003
+ telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-CgApeKta.js");
65004
65004
  return telegramSenderRuntimePromise;
65005
65005
  }
65006
65006
  function loadDiscordSenderRuntime() {
65007
- discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-CaqCAqcE.js");
65007
+ discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-1mqY0Pn3.js");
65008
65008
  return discordSenderRuntimePromise;
65009
65009
  }
65010
65010
  function loadSlackSenderRuntime() {
65011
- slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-B_4hwea9.js");
65011
+ slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-CbGlCNTX.js");
65012
65012
  return slackSenderRuntimePromise;
65013
65013
  }
65014
65014
  function loadSignalSenderRuntime() {
65015
- signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-C4COTtrG.js");
65015
+ signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-CHqnnRXO.js");
65016
65016
  return signalSenderRuntimePromise;
65017
65017
  }
65018
65018
  function loadIMessageSenderRuntime() {
65019
- imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-B4SfcBtt.js");
65019
+ imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-NAKUx6Vy.js");
65020
65020
  return imessageSenderRuntimePromise;
65021
65021
  }
65022
65022
  function createDefaultDeps() {
@@ -71123,7 +71123,7 @@ async function monitorIMessageProvider(opts = {}) {
71123
71123
  function readFileIfExists(filePath) {
71124
71124
  if (!filePath) return;
71125
71125
  try {
71126
- return fsSync.readFileSync(filePath, "utf-8").trim();
71126
+ return syncFs.readFileSync(filePath, "utf-8").trim();
71127
71127
  } catch {
71128
71128
  return;
71129
71129
  }
@@ -71753,7 +71753,7 @@ async function downloadLineMedia(messageId, channelAccessToken, maxBytes = 10 *
71753
71753
  prefix: "line-media",
71754
71754
  extension: getExtensionForContentType(contentType)
71755
71755
  });
71756
- await fsSync.promises.writeFile(filePath, buffer);
71756
+ await syncFs.promises.writeFile(filePath, buffer);
71757
71757
  logVerbose(`line: downloaded media ${messageId} to ${filePath} (${buffer.length} bytes)`);
71758
71758
  return {
71759
71759
  path: filePath,
@@ -77757,15 +77757,15 @@ let slashCommandsRuntimePromise = null;
77757
77757
  let slashDispatchRuntimePromise = null;
77758
77758
  let slashSkillCommandsRuntimePromise = null;
77759
77759
  function loadSlashCommandsRuntime() {
77760
- slashCommandsRuntimePromise ??= import("./slash-commands.runtime-B5euYv9Q.js");
77760
+ slashCommandsRuntimePromise ??= import("./slash-commands.runtime-gtQnheWz.js");
77761
77761
  return slashCommandsRuntimePromise;
77762
77762
  }
77763
77763
  function loadSlashDispatchRuntime() {
77764
- slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DXuZn9JV.js");
77764
+ slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DHv-RY9C.js");
77765
77765
  return slashDispatchRuntimePromise;
77766
77766
  }
77767
77767
  function loadSlashSkillCommandsRuntime() {
77768
- slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-DA20IzN7.js");
77768
+ slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-CA_oN4df.js");
77769
77769
  return slashSkillCommandsRuntimePromise;
77770
77770
  }
77771
77771
  const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
@@ -78755,7 +78755,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
78755
78755
  }
78756
78756
  let auditMembershipRuntimePromise = null;
78757
78757
  function loadAuditMembershipRuntime() {
78758
- auditMembershipRuntimePromise ??= import("./audit-membership-runtime-Dg_k-jzY.js");
78758
+ auditMembershipRuntimePromise ??= import("./audit-membership-runtime-C6dnIaXJ.js");
78759
78759
  return auditMembershipRuntimePromise;
78760
78760
  }
78761
78761
  async function auditTelegramGroupMembership(params) {
@@ -81130,7 +81130,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
81130
81130
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
81131
81131
  let preflightTranscript;
81132
81132
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
81133
- const { transcribeFirstAudio } = await import("./audio-preflight-DylHSkVV.js");
81133
+ const { transcribeFirstAudio } = await import("./audio-preflight-C7kt2vOu.js");
81134
81134
  preflightTranscript = await transcribeFirstAudio({
81135
81135
  ctx: {
81136
81136
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -83943,7 +83943,7 @@ function createWhatsAppLoginTool() {
83943
83943
  force: Type.Optional(Type.Boolean())
83944
83944
  }),
83945
83945
  execute: async (_toolCallId, args) => {
83946
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DhI_GpxA.js");
83946
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-BEW3jIOt.js");
83947
83947
  if ((args?.action ?? "start") === "wait") {
83948
83948
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
83949
83949
  return {
@@ -84018,23 +84018,23 @@ let webOutboundPromise = null;
84018
84018
  let webLoginPromise = null;
84019
84019
  let whatsappActionsPromise = null;
84020
84020
  function loadWebOutbound() {
84021
- webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-DzQVWw3U.js");
84021
+ webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-CFivqxoq.js");
84022
84022
  return webOutboundPromise;
84023
84023
  }
84024
84024
  function loadWebLogin() {
84025
- webLoginPromise ??= import("./runtime-whatsapp-login.runtime-DknvIgQ9.js");
84025
+ webLoginPromise ??= import("./runtime-whatsapp-login.runtime-BhVxslsH.js");
84026
84026
  return webLoginPromise;
84027
84027
  }
84028
84028
  function loadWebLoginQr() {
84029
- webLoginQrPromise ??= import("./login-qr-DhI_GpxA.js");
84029
+ webLoginQrPromise ??= import("./login-qr-BEW3jIOt.js");
84030
84030
  return webLoginQrPromise;
84031
84031
  }
84032
84032
  function loadWebChannel() {
84033
- webChannelPromise ??= import("./web-B9akwZ9Q.js");
84033
+ webChannelPromise ??= import("./web-AlAsgosE.js");
84034
84034
  return webChannelPromise;
84035
84035
  }
84036
84036
  function loadWhatsAppActions() {
84037
- whatsappActionsPromise ??= import("./whatsapp-actions-DsMWjVmg.js");
84037
+ whatsappActionsPromise ??= import("./whatsapp-actions-BPIXiPAR.js");
84038
84038
  return whatsappActionsPromise;
84039
84039
  }
84040
84040
  function createRuntimeWhatsApp() {
@@ -84475,7 +84475,7 @@ const log$6 = createSubsystemLogger("memory");
84475
84475
  const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
84476
84476
  let managerRuntimePromise = null;
84477
84477
  function loadManagerRuntime() {
84478
- managerRuntimePromise ??= import("./manager-runtime-CZv0ALL_.js");
84478
+ managerRuntimePromise ??= import("./manager-runtime-DacMHR37.js");
84479
84479
  return managerRuntimePromise;
84480
84480
  }
84481
84481
  async function getMemorySearchManager(params) {
@@ -84489,7 +84489,7 @@ async function getMemorySearchManager(params) {
84489
84489
  if (cached) return { manager: cached };
84490
84490
  }
84491
84491
  try {
84492
- const { QmdMemoryManager } = await import("./qmd-manager-BR3hqTPz.js");
84492
+ const { QmdMemoryManager } = await import("./qmd-manager-DMSLC2iu.js");
84493
84493
  const primary = await QmdMemoryManager.create({
84494
84494
  cfg: params.cfg,
84495
84495
  agentId: params.agentId,
@@ -85063,7 +85063,7 @@ async function withMemoryManagerForAgent(params) {
85063
85063
  }
85064
85064
  async function checkReadableFile(pathname) {
85065
85065
  try {
85066
- await fs.access(pathname, fsSync.constants.R_OK);
85066
+ await fs.access(pathname, syncFs.constants.R_OK);
85067
85067
  return { exists: true };
85068
85068
  } catch (err) {
85069
85069
  const code = err.code;
@@ -85122,7 +85122,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
85122
85122
  }
85123
85123
  let dirReadable = null;
85124
85124
  try {
85125
- await fs.access(memoryDir, fsSync.constants.R_OK);
85125
+ await fs.access(memoryDir, syncFs.constants.R_OK);
85126
85126
  dirReadable = true;
85127
85127
  } catch (err) {
85128
85128
  const code = err.code;
@@ -85571,7 +85571,7 @@ const resolvePluginSdkAliasFile = (params) => {
85571
85571
  const srcCandidate = path.join(cursor, "src", "plugin-sdk", params.srcFile);
85572
85572
  const distCandidate = path.join(cursor, "dist", "plugin-sdk", params.distFile);
85573
85573
  const orderedCandidates = isDistRuntime ? [distCandidate, srcCandidate] : isTest ? [distCandidate, srcCandidate] : [distCandidate];
85574
- for (const candidate of orderedCandidates) if (fsSync.existsSync(candidate)) return candidate;
85574
+ for (const candidate of orderedCandidates) if (syncFs.existsSync(candidate)) return candidate;
85575
85575
  const parent = path.dirname(cursor);
85576
85576
  if (parent === cursor) break;
85577
85577
  cursor = parent;
@@ -86003,7 +86003,7 @@ function loadOpenClawPlugins(options = {}) {
86003
86003
  continue;
86004
86004
  }
86005
86005
  const safeSource = opened.path;
86006
- fsSync.closeSync(opened.fd);
86006
+ syncFs.closeSync(opened.fd);
86007
86007
  let mod = null;
86008
86008
  try {
86009
86009
  mod = getJiti()(safeSource);
@@ -86121,7 +86121,7 @@ function loadOpenClawPlugins(options = {}) {
86121
86121
  }
86122
86122
  function safeRealpathOrResolve(value) {
86123
86123
  try {
86124
- return fsSync.realpathSync(value);
86124
+ return syncFs.realpathSync(value);
86125
86125
  } catch {
86126
86126
  return path.resolve(value);
86127
86127
  }
@@ -86560,9 +86560,9 @@ function resolvePatchFileOps(options) {
86560
86560
  });
86561
86561
  assertBoundaryRead(opened, filePath);
86562
86562
  try {
86563
- return fsSync.readFileSync(opened.fd, "utf8");
86563
+ return syncFs.readFileSync(opened.fd, "utf8");
86564
86564
  } finally {
86565
- fsSync.closeSync(opened.fd);
86565
+ syncFs.closeSync(opened.fd);
86566
86566
  }
86567
86567
  },
86568
86568
  writeFile: async (filePath, content) => {
@@ -86841,7 +86841,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
86841
86841
  const MAX_LOOP_WARNING_KEYS = 256;
86842
86842
  let beforeToolCallRuntimePromise = null;
86843
86843
  function loadBeforeToolCallRuntime() {
86844
- beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-Lfb7FVNU.js");
86844
+ beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-BfjlGXIc.js");
86845
86845
  return beforeToolCallRuntimePromise;
86846
86846
  }
86847
86847
  function buildAdjustedParamsKey(params) {
@@ -89523,9 +89523,9 @@ async function readWorkspaceContextForSummary() {
89523
89523
  if (!opened.ok) return "";
89524
89524
  const sections = extractSections((() => {
89525
89525
  try {
89526
- return fsSync.readFileSync(opened.fd, "utf-8");
89526
+ return syncFs.readFileSync(opened.fd, "utf-8");
89527
89527
  } finally {
89528
- fsSync.closeSync(opened.fd);
89528
+ syncFs.closeSync(opened.fd);
89529
89529
  }
89530
89530
  })(), ["Session Startup", "Red Lines"]);
89531
89531
  if (sections.length === 0) return "";
@@ -90894,7 +90894,7 @@ async function compactEmbeddedPiSessionDirect(params) {
90894
90894
  if (!apiKeyInfo.apiKey) {
90895
90895
  if (apiKeyInfo.mode !== "aws-sdk") throw new Error(`No API key resolved for provider "${model.provider}" (auth mode: ${apiKeyInfo.mode}).`);
90896
90896
  } else if (model.provider === "github-copilot") {
90897
- const { resolveCopilotApiToken } = await import("./github-copilot-token-D1RrJx7s.js").then((n) => n.n);
90897
+ const { resolveCopilotApiToken } = await import("./github-copilot-token-DDa7O18e.js").then((n) => n.n);
90898
90898
  const copilotToken = await resolveCopilotApiToken({ githubToken: apiKeyInfo.apiKey });
90899
90899
  authStorage.setRuntimeApiKey(model.provider, copilotToken.token);
90900
90900
  } else authStorage.setRuntimeApiKey(model.provider, apiKeyInfo.apiKey);
@@ -93122,11 +93122,11 @@ function appendRawStream(payload) {
93122
93122
  if (!rawStreamReady) {
93123
93123
  rawStreamReady = true;
93124
93124
  try {
93125
- fsSync.mkdirSync(path.dirname(RAW_STREAM_PATH), { recursive: true });
93125
+ syncFs.mkdirSync(path.dirname(RAW_STREAM_PATH), { recursive: true });
93126
93126
  } catch {}
93127
93127
  }
93128
93128
  try {
93129
- fsSync.promises.appendFile(RAW_STREAM_PATH, `${JSON.stringify(payload)}\n`);
93129
+ syncFs.promises.appendFile(RAW_STREAM_PATH, `${JSON.stringify(payload)}\n`);
93130
93130
  } catch {}
93131
93131
  }
93132
93132
 
@@ -96631,7 +96631,7 @@ async function runEmbeddedPiAgent(params) {
96631
96631
  await copilotTokenState.refreshInFlight;
96632
96632
  return;
96633
96633
  }
96634
- const { resolveCopilotApiToken } = await import("./github-copilot-token-D1RrJx7s.js").then((n) => n.n);
96634
+ const { resolveCopilotApiToken } = await import("./github-copilot-token-DDa7O18e.js").then((n) => n.n);
96635
96635
  copilotTokenState.refreshInFlight = (async () => {
96636
96636
  const githubToken = copilotTokenState.githubToken.trim();
96637
96637
  if (!githubToken) throw new Error("Copilot refresh requires a GitHub token.");
@@ -96723,7 +96723,7 @@ async function runEmbeddedPiAgent(params) {
96723
96723
  return;
96724
96724
  }
96725
96725
  if (model.provider === "github-copilot") {
96726
- const { resolveCopilotApiToken } = await import("./github-copilot-token-D1RrJx7s.js").then((n) => n.n);
96726
+ const { resolveCopilotApiToken } = await import("./github-copilot-token-DDa7O18e.js").then((n) => n.n);
96727
96727
  const copilotToken = await resolveCopilotApiToken({ githubToken: apiKeyInfo.apiKey });
96728
96728
  authStorage.setRuntimeApiKey(model.provider, copilotToken.token);
96729
96729
  if (copilotTokenState) {