@hanzo/bot 2026.3.14 → 2026.3.15

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 (329) hide show
  1. package/dist/{accounts-7zwrtsCi.js → accounts-CG15R7_x.js} +2 -2
  2. package/dist/{accounts-cApXM7Ij.js → accounts-HvKVZFoM.js} +17 -17
  3. package/dist/{accounts-BEs2omoE.js → accounts-OQxQvcyx.js} +2 -2
  4. package/dist/{active-listener-DR8OFowd.js → active-listener-DBPw4vTM.js} +2 -2
  5. package/dist/{agents-BgcZWy8R.js → agents-CgK9dWnI.js} +4 -4
  6. package/dist/{agents.config-DHCxVehl.js → agents.config-2CujSrTv.js} +1 -1
  7. package/dist/{api-key-rotation-RknBrUrn.js → api-key-rotation-B0bi2vq9.js} +2 -2
  8. package/dist/{audio-preflight-v4TKWdfx.js → audio-preflight-DAondsPt.js} +5 -5
  9. package/dist/{audio-preflight-DzzPC-Zk.js → audio-preflight-DmObQ1Bw.js} +32 -32
  10. package/dist/{audio-transcription-runner-DM2ij952.js → audio-transcription-runner-BzPC7Q6d.js} +1 -1
  11. package/dist/{audio-transcription-runner-DAvfl2xp.js → audio-transcription-runner-DS9qYrgl.js} +12 -12
  12. package/dist/{audit-CTw3RqQk.js → audit-46YuxE6O.js} +3 -3
  13. package/dist/{audit-membership-runtime-CVVxrZ7j.js → audit-membership-runtime-BkkdpSa7.js} +4 -4
  14. package/dist/{auth-choice-BoavmEu-.js → auth-choice--W5Bo0PU.js} +1 -1
  15. package/dist/{banner-Dgotew9l.js → banner-DHNyasW6.js} +1 -1
  16. package/dist/build-info.json +3 -3
  17. package/dist/bundled/boot-md/handler.js +51 -51
  18. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  19. package/dist/bundled/command-logger/handler.js +2 -2
  20. package/dist/bundled/session-memory/handler.js +51 -51
  21. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  22. package/dist/{channel-activity-CALqzTg5.js → channel-activity-CQOiHjvE.js} +3 -3
  23. package/dist/{channel-options-DydOJUqF.js → channel-options-tVOZI_t1.js} +1 -1
  24. package/dist/{channel-web-CPaLbhLZ.js → channel-web-CD518m9v.js} +3 -3
  25. package/dist/{channels-cli-B24yCpKz.js → channels-cli-BDqh33Ys.js} +17 -17
  26. package/dist/{chrome-ds2kd2pi.js → chrome-h-vz6xx6.js} +18 -18
  27. package/dist/{cli-g43y8N6J.js → cli-BIDqWcAt.js} +11 -11
  28. package/dist/{cloud-connect-CcE7r1Pd.js → cloud-connect-RSXfOmiR.js} +1 -1
  29. package/dist/{command-registry-Cv2iLR2d.js → command-registry-BvpfIQ-B.js} +10 -10
  30. package/dist/{commands-registry-DD9ywdfc.js → commands-registry-D1bPnFkE.js} +4 -4
  31. package/dist/{compact-CC2mySD2.js → compact-BjR1GO9N.js} +26 -26
  32. package/dist/{completion-cli-GBME2e4p.js → completion-cli-BSqfQ96j.js} +2 -2
  33. package/dist/{config-cli-DcNPT10a.js → config-cli-9EXTYC_G.js} +1 -1
  34. package/dist/{configure-DWTR8CaU.js → configure-vfqHR-Ob.js} +3 -3
  35. package/dist/{deliver-BOuynKws.js → deliver-BXOYgT6b.js} +1 -1
  36. package/dist/{deliver-BmVYLVK8.js → deliver-DIfgc_hp.js} +21 -21
  37. package/dist/{deliver-runtime-BIYoLgfc.js → deliver-runtime-CrMJ-8bG.js} +4 -4
  38. package/dist/deliver-runtime-qMvfsRWv.js +36 -0
  39. package/dist/deps-send-discord.runtime-BHYqfmdZ.js +26 -0
  40. package/dist/deps-send-imessage.runtime-woedbCWc.js +25 -0
  41. package/dist/deps-send-signal.runtime-30tAqTv6.js +24 -0
  42. package/dist/deps-send-slack.runtime-Dx_1Qus0.js +22 -0
  43. package/dist/deps-send-telegram.runtime-DeTzsc94.js +27 -0
  44. package/dist/deps-send-whatsapp.runtime-CG2MxOWS.js +60 -0
  45. package/dist/{deps-send-whatsapp.runtime-C5Gqpcg6.js → deps-send-whatsapp.runtime-DdqoE4LB.js} +13 -13
  46. package/dist/{diagnostic-pXxnbxER.js → diagnostic-F2Kug9Hj.js} +2 -2
  47. package/dist/{doctor-completion-BrfibcC-.js → doctor-completion-DxLomP-G.js} +1 -1
  48. package/dist/entry.js +2 -2
  49. package/dist/{errors-CHd6Q-vF.js → errors-D2ORDJPK.js} +1 -1
  50. package/dist/{fetch-DZVswJ-3.js → fetch-DXYq6-ML.js} +5 -5
  51. package/dist/{fetch-guard-EqKIhwBB.js → fetch-guard-BoUCaTor.js} +2 -2
  52. package/dist/{frontmatter-B6XNqDx2.js → frontmatter-DH91cf0z.js} +5 -5
  53. package/dist/{fs-safe-ClYE3-y0.js → fs-safe-BVB8il6B.js} +4 -4
  54. package/dist/{gateway-cli-StUopVU1.js → gateway-cli-CJxuEOt3.js} +20 -20
  55. package/dist/{github-copilot-token-BDioPmd6.js → github-copilot-token-D13V9YBz.js} +7 -7
  56. package/dist/{health-CIu3C-9Q.js → health-BIVRmg3E.js} +2 -2
  57. package/dist/{hooks-cli-WLqXDn1t.js → hooks-cli-D_Kexzle.js} +12 -12
  58. package/dist/{image-BEK4nO9F.js → image-Cv2EvMzJ.js} +6 -6
  59. package/dist/{image-ops-DGh7juCd.js → image-ops-BuPQCBu2.js} +2 -2
  60. package/dist/image-runtime-CHZootZe.js +29 -0
  61. package/dist/{image-runtime-CkjsPsOm.js → image-runtime-CKGdygmV.js} +4 -4
  62. package/dist/{image-BtIO0pBi.js → image-z4GWHqB3.js} +1 -1
  63. package/dist/{ir-BUxTWPJl.js → ir-ZdefqHy0.js} +8 -8
  64. package/dist/{legacy-names-DZdACm3t.js → legacy-names-BCm4ov65.js} +1 -1
  65. package/dist/llm-slug-generator.js +51 -51
  66. package/dist/local-cloud-register-1fwMDgoT.js +80 -0
  67. package/dist/{local-launch-DZY42mMn.js → local-launch-Ch6Hajul.js} +10 -1
  68. package/dist/{logger-LCC1m_20.js → logger-B-R_-5mh.js} +7 -7
  69. package/dist/{login-BPpT7LmW.js → login-DHG6r0f1.js} +5 -5
  70. package/dist/{login-qr-ROsDrMTV.js → login-qr-BsLaN5_a.js} +10 -10
  71. package/dist/{manager-DcZ7mOtr.js → manager-Du8JJA-5.js} +13 -13
  72. package/dist/manager-runtime-CQ-L7TKf.js +18 -0
  73. package/dist/{memory-cli-C_3IZ0fW.js → memory-cli-Dn9zGR6N.js} +2 -2
  74. package/dist/{model-selection-DX7XfNlF.js → model-selection-C1EA5mD5.js} +48 -48
  75. package/dist/{models-BnnR3HNx.js → models-BJcb0Gsp.js} +2 -2
  76. package/dist/{models-cli-Dh3Xh-U4.js → models-cli-dWMz4kyL.js} +13 -13
  77. package/dist/{node-cli-DxsgqFJL.js → node-cli-C9j4B_Ic.js} +3 -3
  78. package/dist/{npm-resolution-CHN9fA-N.js → npm-resolution-BhYm1ibr.js} +1 -1
  79. package/dist/{onboard-CA8ymoSZ.js → onboard-3bvsuOAd.js} +4 -4
  80. package/dist/{onboard-channels-CDwdXuyl.js → onboard-channels-B9eeEss7.js} +1 -1
  81. package/dist/{onboarding-RG_GFVjP.js → onboarding-Czj6KFW-.js} +5 -5
  82. package/dist/{onboarding.finalize-DLY4Gj8B.js → onboarding.finalize-EQ-TuhT6.js} +17 -17
  83. package/dist/{outbound-CQ5XVDFO.js → outbound-BCdC2l_p.js} +6 -6
  84. package/dist/{outbound-attachment-CC04mCS8.js → outbound-attachment-DNmB_5ai.js} +2 -2
  85. package/dist/{path-alias-guards-IQC4IpGS.js → path-alias-guards-CTtqTDdw.js} +1 -1
  86. package/dist/{paths-GZsDv0mI.js → paths-BWRe3x1k.js} +4 -4
  87. package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
  88. package/dist/{pi-embedded-CIAauJiP.js → pi-embedded-DIacM4lK.js} +161 -161
  89. package/dist/{pi-embedded-helpers-D7KUbIgY.js → pi-embedded-helpers-BQrtFAUp.js} +52 -52
  90. package/dist/{pi-embedded-helpers-BRlEO138.js → pi-embedded-helpers-BY8OQhh0.js} +1 -1
  91. package/dist/{pi-model-discovery-BYBYqQ0u.js → pi-model-discovery-M5D1rhcm.js} +7 -7
  92. package/dist/pi-model-discovery-runtime-C8MrATPZ.js +11 -0
  93. package/dist/{pi-tools.before-tool-call.runtime-BiTed3Jt.js → pi-tools.before-tool-call.runtime-CwxNGXjS.js} +9 -9
  94. package/dist/{pi-tools.policy-DAb4P4GW.js → pi-tools.policy-BrQ63Bj9.js} +1 -1
  95. package/dist/{plugin-registry-C36DXS6U.js → plugin-registry-D26LWN-Z.js} +1 -1
  96. package/dist/plugin-sdk/{accounts-Cad7hzfy.js → accounts-Bm4PRMWH.js} +3 -3
  97. package/dist/plugin-sdk/{accounts-CNg2VVWF.js → accounts-CXyl1mLm.js} +2 -2
  98. package/dist/plugin-sdk/{accounts-BKlUEbA2.js → accounts-DskuKVrL.js} +2 -2
  99. package/dist/plugin-sdk/{active-listener-CORsVdRy.js → active-listener-DjtXj-6l.js} +2 -2
  100. package/dist/plugin-sdk/{api-key-rotation-BMnwWQ0L.js → api-key-rotation-dBvG_5yr.js} +2 -2
  101. package/dist/plugin-sdk/{audio-preflight-BIoyXlzE.js → audio-preflight-C3Pp9geS.js} +26 -26
  102. package/dist/plugin-sdk/{audio-transcription-runner-Dt1i04m6.js → audio-transcription-runner-ClnCvQG5.js} +11 -11
  103. package/dist/plugin-sdk/{audit-membership-runtime-CAJ6jHA7.js → audit-membership-runtime-rx3u3xYQ.js} +2 -2
  104. package/dist/plugin-sdk/{channel-activity-BgBfJIZr.js → channel-activity-DXEHlqT_.js} +3 -3
  105. package/dist/plugin-sdk/{channel-web-D1WElkhV.js → channel-web-jhRFdgis.js} +18 -18
  106. package/dist/plugin-sdk/{chrome-BOy2ZIdy.js → chrome-Ctkdm8kB.js} +6 -6
  107. package/dist/plugin-sdk/{commands-registry-C746B-IO.js → commands-registry-DaOv_5Un.js} +4 -4
  108. package/dist/plugin-sdk/{common-DEicsf8f.js → common-BTOQbnC9.js} +2 -2
  109. package/dist/plugin-sdk/{config-C2VN_Uze.js → config-CPoIewKA.js} +7 -7
  110. package/dist/plugin-sdk/{deliver-CJDxdV38.js → deliver-C3M9YkG8.js} +10 -10
  111. package/dist/plugin-sdk/deliver-runtime-mEh6dpX2.js +32 -0
  112. package/dist/plugin-sdk/deps-send-discord.runtime-CeLampf3.js +23 -0
  113. package/dist/plugin-sdk/deps-send-imessage.runtime-BtxPqajC.js +22 -0
  114. package/dist/plugin-sdk/deps-send-signal.runtime-ClFkIFJ-.js +21 -0
  115. package/dist/plugin-sdk/deps-send-slack.runtime-DaHmXzRC.js +19 -0
  116. package/dist/plugin-sdk/deps-send-telegram.runtime-DAF10iAG.js +24 -0
  117. package/dist/plugin-sdk/deps-send-whatsapp.runtime-DqlX4Oxz.js +57 -0
  118. package/dist/plugin-sdk/{diagnostic-Cmg_Guj5.js → diagnostic-DHES2IG3.js} +2 -2
  119. package/dist/plugin-sdk/{errors-Cn3JyiMn.js → errors-B2jpHiod.js} +1 -1
  120. package/dist/plugin-sdk/{fetch-guard-Dq4RGtrN.js → fetch-guard-Bnbh_v36.js} +2 -2
  121. package/dist/plugin-sdk/{fs-safe-Bkid3_6g.js → fs-safe-Bycf8Dw-.js} +3 -3
  122. package/dist/plugin-sdk/{image-nVvwM3Xd.js → image-moA_39gp.js} +6 -6
  123. package/dist/plugin-sdk/{image-ops-CpF6ZEdk.js → image-ops-DhoADpAA.js} +2 -2
  124. package/dist/plugin-sdk/image-runtime-2bziw6eW.js +25 -0
  125. package/dist/plugin-sdk/{ir-sseErCNR.js → ir-g3OlfUVu.js} +7 -7
  126. package/dist/plugin-sdk/{local-roots-QiQIw_3f.js → local-roots-C4VMMVpe.js} +4 -4
  127. package/dist/plugin-sdk/{logger-Dj4IX2UB.js → logger-Bl138Nx7.js} +2 -2
  128. package/dist/plugin-sdk/{login-BQzorFUh.js → login-DncLyb_v.js} +4 -4
  129. package/dist/plugin-sdk/{login-qr-CikVF257.js → login-qr-Bsk9WIKo.js} +5 -5
  130. package/dist/plugin-sdk/{manager-BGXvWOFI.js → manager-dSeD3RrO.js} +8 -8
  131. package/dist/plugin-sdk/manager-runtime-jDo0I-JG.js +15 -0
  132. package/dist/plugin-sdk/mattermost.js +3 -3
  133. package/dist/plugin-sdk/{outbound-DI98BRHn.js → outbound-Uxln4ZUV.js} +5 -5
  134. package/dist/plugin-sdk/{outbound-attachment-D3JolQwb.js → outbound-attachment-BGdfM11-.js} +2 -2
  135. package/dist/plugin-sdk/{path-alias-guards-CaWErHTb.js → path-alias-guards-D7YFCGos.js} +1 -1
  136. package/dist/plugin-sdk/{paths-C9nUyfHf.js → paths-DG-hVM9r.js} +1 -1
  137. package/dist/plugin-sdk/{pi-embedded-helpers-CYIBgCUb.js → pi-embedded-helpers-DfSEAMtj.js} +16 -16
  138. package/dist/plugin-sdk/{pi-model-discovery-CnEHDSXe.js → pi-model-discovery-C-VTvWWv.js} +1 -1
  139. package/dist/plugin-sdk/pi-model-discovery-runtime-CIuZW3i7.js +8 -0
  140. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-C-5gDvbX.js → pi-tools.before-tool-call.runtime-DBmTGutA.js} +4 -4
  141. package/dist/plugin-sdk/{plugins-BNiirQsT.js → plugins-GsRN6ojJ.js} +4 -4
  142. package/dist/plugin-sdk/{proxy-env-nIDM2pb-.js → proxy-env-CtTzyyij.js} +1 -1
  143. package/dist/plugin-sdk/{proxy-fetch-rtc8GmoB.js → proxy-fetch-C-fXKPD2.js} +1 -1
  144. package/dist/plugin-sdk/{pw-ai-CQc12I06.js → pw-ai-DdCaaGh3.js} +9 -9
  145. package/dist/plugin-sdk/{qmd-manager-Crxi_fUd.js → qmd-manager-CPn_rv_D.js} +7 -7
  146. package/dist/plugin-sdk/{query-expansion-BoMWv8J7.js → query-expansion-Bvu5XYRV.js} +4 -4
  147. package/dist/plugin-sdk/{redact-CBwV828t.js → redact-C3rEm8A0.js} +1 -1
  148. package/dist/plugin-sdk/{reply-C46yX129.js → reply-CN3fBNMb.js} +73 -73
  149. package/dist/plugin-sdk/{resolve-outbound-target-BUyclz_e.js → resolve-outbound-target-CRToDwG-.js} +2 -2
  150. package/dist/plugin-sdk/{run-with-concurrency-BKOyMmQl.js → run-with-concurrency-BXedUJ_9.js} +1 -1
  151. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B_rU-DWm.js +10 -0
  152. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DsIXsR9d.js +19 -0
  153. package/dist/plugin-sdk/{send-DRYHVkRK.js → send-66W_v3Rp.js} +13 -13
  154. package/dist/plugin-sdk/{send-DBto6gUF.js → send-C-o9yhwI.js} +7 -7
  155. package/dist/plugin-sdk/{send-C74B-7Md.js → send-DLsh3eTd.js} +6 -6
  156. package/dist/plugin-sdk/{send-CyQZ_3dG.js → send-DyWir3i5.js} +5 -5
  157. package/dist/plugin-sdk/{send-Ds3SvAXN.js → send-DzRN28wH.js} +8 -8
  158. package/dist/plugin-sdk/{session-DfwhEElH.js → session-67udJtLN.js} +3 -3
  159. package/dist/plugin-sdk/signal.js +2 -2
  160. package/dist/plugin-sdk/{skill-commands-xwQoPrL7.js → skill-commands-DGcpUwSV.js} +4 -4
  161. package/dist/plugin-sdk/{skills-8kOFtfG0.js → skills-BCUlsM7a.js} +6 -6
  162. package/dist/plugin-sdk/slash-commands.runtime-Bezqrk4r.js +13 -0
  163. package/dist/plugin-sdk/slash-dispatch.runtime-C1tsWtvv.js +52 -0
  164. package/dist/plugin-sdk/slash-skill-commands.runtime-CGNVU7M2.js +16 -0
  165. package/dist/plugin-sdk/{store-CuPS1X7b.js → store-B8uaah6Q.js} +2 -2
  166. package/dist/plugin-sdk/subagent-registry-runtime-miVNHjsU.js +52 -0
  167. package/dist/plugin-sdk/{tables-Bt_-pxQx.js → tables-DKLz7bGv.js} +1 -1
  168. package/dist/plugin-sdk/{thinking-BLYI7Ns-.js → thinking-zAYQzsCw.js} +7 -7
  169. package/dist/plugin-sdk/{tokens-D2fpVQt3.js → tokens-DMbd3-Ct.js} +1 -1
  170. package/dist/plugin-sdk/{tool-images-_v-9iCOI.js → tool-images-BVSRVXXq.js} +2 -2
  171. package/dist/plugin-sdk/web-DSj0-KxZ.js +56 -0
  172. package/dist/plugin-sdk/{whatsapp-actions-DPHrLiQ8.js → whatsapp-actions-BuSDFSP5.js} +17 -17
  173. package/dist/plugin-sdk/whatsapp.js +50 -50
  174. package/dist/{plugins-DB-tbkgl.js → plugins-961ZhKn1.js} +13 -13
  175. package/dist/{plugins-cli-C88ulFeM.js → plugins-cli-fLXZZC22.js} +12 -12
  176. package/dist/{program-Chz5Hoc_.js → program-BtF0ZkDd.js} +17 -17
  177. package/dist/{prompt-select-styled-Cnj_u70U.js → prompt-select-styled-BfczYutw.js} +8 -8
  178. package/dist/{provider-auth-helpers-DolTpePk.js → provider-auth-helpers-CBjmm_ID.js} +1 -1
  179. package/dist/{proxy-env-CiOhiqru.js → proxy-env-74z8dpZH.js} +1 -1
  180. package/dist/{proxy-fetch-lxJGuoUa.js → proxy-fetch-CF5kidRK.js} +1 -1
  181. package/dist/{push-apns-BaNTufvQ.js → push-apns-MAO9H4XO.js} +1 -1
  182. package/dist/{pw-ai-BdnHQKSu.js → pw-ai-DtcdsY-L.js} +1 -1
  183. package/dist/{pw-ai-DLalIFNh.js → pw-ai-JYw2eWnW.js} +14 -14
  184. package/dist/{qmd-manager-Bcw2cb8D.js → qmd-manager-CFp1mM2Q.js} +10 -10
  185. package/dist/{query-expansion-D9bYNybh.js → query-expansion-4ZhJrRJ-.js} +6 -6
  186. package/dist/{redact-DqlKR0-n.js → redact-Ce4hro-U.js} +1 -1
  187. package/dist/{register.agent-CVmy0QuI.js → register.agent-CHEwEZtX.js} +17 -17
  188. package/dist/{register.configure-eNxk7twC.js → register.configure-D8vLH4yU.js} +17 -17
  189. package/dist/{register.maintenance-C__vlEep.js → register.maintenance-Dv2KIxrl.js} +18 -18
  190. package/dist/{register.message-rY-2WSyJ.js → register.message-BQ_fgdlA.js} +12 -12
  191. package/dist/{register.onboard-Bz2OjeWo.js → register.onboard-W-p--yGa.js} +2 -2
  192. package/dist/{register.setup-D9aI41fa.js → register.setup-BzthtHIV.js} +2 -2
  193. package/dist/{register.status-health-sessions-BhzZiSYx.js → register.status-health-sessions-Djj4vFlt.js} +14 -14
  194. package/dist/{register.subclis-CXnZNn-C.js → register.subclis-U-P8R3Tg.js} +13 -13
  195. package/dist/{run-main-BoKhkUUz.js → run-main-uV_Tc1Zj.js} +27 -27
  196. package/dist/{run-with-concurrency-B8f7bYi3.js → run-with-concurrency-CSxVaPSN.js} +4 -4
  197. package/dist/runtime-whatsapp-login.runtime-9dM4PEEO.js +13 -0
  198. package/dist/runtime-whatsapp-outbound.runtime-iO7Gq_Kz.js +22 -0
  199. package/dist/{sandbox-ym919iBR.js → sandbox-BLJ8R_1a.js} +1 -1
  200. package/dist/{sandbox-cli-BzXc1NV2.js → sandbox-cli-BnvHQ236.js} +2 -2
  201. package/dist/{security-cli-C5dnisib.js → security-cli-BHBHaa5w.js} +4 -4
  202. package/dist/{send-yLSU7X_F.js → send--gf3Vf5r.js} +30 -30
  203. package/dist/{send-CkPIBk6V.js → send-BqKXHfdB.js} +8 -8
  204. package/dist/{send-BftnuVa7.js → send-D7zge0_Z.js} +7 -7
  205. package/dist/{send-pIawmzTN.js → send-Dd0GXzpB.js} +5 -5
  206. package/dist/{send-D9k6sRe5.js → send-IQXINWmd.js} +6 -6
  207. package/dist/{server-CzB_Kx2l.js → server-BV6RXHsf.js} +20 -20
  208. package/dist/{server-C7hcdRV3.js → server-BY19I3Dd.js} +4 -4
  209. package/dist/{server-context-BSmlR7Q5.js → server-context-yWVGr_lB.js} +2 -2
  210. package/dist/{server-lifecycle-C4MoiD0X.js → server-lifecycle-BwmW0cra.js} +1 -1
  211. package/dist/{server-node-events-CDwunFHR.js → server-node-events-D5oBojrD.js} +12 -12
  212. package/dist/{session-CgL23zvS.js → session-CPwkLPj9.js} +8 -8
  213. package/dist/{skill-commands-Cnz3QjWm.js → skill-commands-Db_-4yN7.js} +9 -9
  214. package/dist/{skills-BhLAW7lA.js → skills-YCv5B0wF.js} +22 -22
  215. package/dist/slash-commands.runtime-GMPbP1Dr.js +16 -0
  216. package/dist/{slash-dispatch.runtime-BbKq7jN5.js → slash-dispatch.runtime-C4MLH_mQ.js} +11 -11
  217. package/dist/slash-dispatch.runtime-DpVGhbi1.js +56 -0
  218. package/dist/slash-skill-commands.runtime-BzWnQ9NP.js +20 -0
  219. package/dist/{status-bEx_Pd0R.js → status-BRPDYOcg.js} +1 -1
  220. package/dist/{status-CauIYYCe.js → status-qVQcv42d.js} +5 -5
  221. package/dist/{store-EDjci9yP.js → store-9I35NJKv.js} +2 -2
  222. package/dist/subagent-registry-runtime-D-r3bjNk.js +56 -0
  223. package/dist/{subagent-registry-runtime-f4u0Og1o.js → subagent-registry-runtime-m50mDUaJ.js} +11 -11
  224. package/dist/{subsystem-CdFYjh2k.js → subsystem-D7UWJNhH.js} +16 -16
  225. package/dist/{tables-tp9Zl0hI.js → tables-DSgbtxY6.js} +1 -1
  226. package/dist/{target-errors-3YX3buv4.js → target-errors-CIUEhTo8.js} +2 -2
  227. package/dist/{thinking-BaTRgLOg.js → thinking-DRF1QDeZ.js} +7 -7
  228. package/dist/{tokens-mtgzW7UN.js → tokens-Csbpu55k.js} +1 -1
  229. package/dist/{tool-images-C3-c00jy.js → tool-images-lWgf2YVR.js} +2 -2
  230. package/dist/{tui-D8wLrgMd.js → tui-CD4fBjXn.js} +1 -1
  231. package/dist/{tui-cli-Dti9XarI.js → tui-cli-WkndhCuM.js} +4 -4
  232. package/dist/{update-cli-Bwlrcxdl.js → update-cli-GdO_Eghz.js} +18 -18
  233. package/dist/{update-runner-BoxNjBV8.js → update-runner-7m11PYmV.js} +1 -1
  234. package/dist/{web-CrOE2C19.js → web-A5_lGvet.js} +12 -12
  235. package/dist/{web-D0naR9ON.js → web-x0tCOQLk.js} +55 -55
  236. package/dist/{whatsapp-actions-BQWT_h74.js → whatsapp-actions-BfFPTEGe.js} +21 -21
  237. package/dist/{with-timeout-DGwXuLa1.js → with-timeout-DlW-DrTJ.js} +2 -2
  238. package/dist/{workspace-DKhOowSl.js → workspace-P7FpMYTX.js} +20 -20
  239. package/extensions/acpx/package.json +1 -1
  240. package/extensions/bluebubbles/package.json +1 -1
  241. package/extensions/ci-fix-loop/package.json +1 -1
  242. package/extensions/continuous-learning/package.json +1 -1
  243. package/extensions/copilot-proxy/package.json +1 -1
  244. package/extensions/diagnostics-otel/package.json +1 -1
  245. package/extensions/diffs/package.json +1 -1
  246. package/extensions/discord/package.json +1 -1
  247. package/extensions/feishu/package.json +1 -1
  248. package/extensions/flow/package.json +1 -1
  249. package/extensions/google-antigravity-auth/package.json +1 -1
  250. package/extensions/google-gemini-cli-auth/package.json +1 -1
  251. package/extensions/googlechat/package.json +1 -1
  252. package/extensions/imessage/package.json +1 -1
  253. package/extensions/irc/package.json +1 -1
  254. package/extensions/line/package.json +1 -1
  255. package/extensions/llm-task/package.json +1 -1
  256. package/extensions/lobster/package.json +1 -1
  257. package/extensions/matrix/CHANGELOG.md +5 -0
  258. package/extensions/matrix/package.json +1 -1
  259. package/extensions/mattermost/package.json +1 -1
  260. package/extensions/memory-core/package.json +1 -1
  261. package/extensions/memory-lancedb/package.json +1 -1
  262. package/extensions/minimax-portal-auth/package.json +1 -1
  263. package/extensions/msteams/CHANGELOG.md +5 -0
  264. package/extensions/msteams/package.json +1 -1
  265. package/extensions/nextcloud-talk/package.json +1 -1
  266. package/extensions/nostr/CHANGELOG.md +5 -0
  267. package/extensions/nostr/package.json +1 -1
  268. package/extensions/open-prose/package.json +1 -1
  269. package/extensions/self-improvement/package.json +1 -1
  270. package/extensions/signal/package.json +1 -1
  271. package/extensions/slack/package.json +1 -1
  272. package/extensions/synology-chat/package.json +1 -1
  273. package/extensions/telegram/package.json +1 -1
  274. package/extensions/tlon/package.json +1 -1
  275. package/extensions/twitch/CHANGELOG.md +5 -0
  276. package/extensions/twitch/package.json +1 -1
  277. package/extensions/voice-call/CHANGELOG.md +5 -0
  278. package/extensions/voice-call/package.json +1 -1
  279. package/extensions/whatsapp/package.json +1 -1
  280. package/extensions/zalo/CHANGELOG.md +5 -0
  281. package/extensions/zalo/package.json +1 -1
  282. package/extensions/zalouser/CHANGELOG.md +5 -0
  283. package/extensions/zalouser/package.json +1 -1
  284. package/package.json +1 -1
  285. package/dist/deliver-runtime-D1RWRKwQ.js +0 -36
  286. package/dist/deps-send-discord.runtime-B_MPWdLu.js +0 -26
  287. package/dist/deps-send-imessage.runtime-BqgAHmfA.js +0 -25
  288. package/dist/deps-send-signal.runtime-B4CYnceH.js +0 -24
  289. package/dist/deps-send-slack.runtime-dtkYbGcS.js +0 -22
  290. package/dist/deps-send-telegram.runtime-C5f1UIXW.js +0 -27
  291. package/dist/deps-send-whatsapp.runtime-CuWe5hUV.js +0 -60
  292. package/dist/image-runtime-DaxN-5mc.js +0 -29
  293. package/dist/manager-runtime-D_u9rPEs.js +0 -18
  294. package/dist/pi-model-discovery-runtime-ZDLroaI6.js +0 -11
  295. package/dist/plugin-sdk/deliver-runtime-Btv2N6ID.js +0 -32
  296. package/dist/plugin-sdk/deps-send-discord.runtime-CD6RkX7j.js +0 -23
  297. package/dist/plugin-sdk/deps-send-imessage.runtime-Bk6O4cQd.js +0 -22
  298. package/dist/plugin-sdk/deps-send-signal.runtime-D3VOhV12.js +0 -21
  299. package/dist/plugin-sdk/deps-send-slack.runtime-q_vIsWY0.js +0 -19
  300. package/dist/plugin-sdk/deps-send-telegram.runtime-CMfaSoMW.js +0 -24
  301. package/dist/plugin-sdk/deps-send-whatsapp.runtime-SlwDXgpa.js +0 -57
  302. package/dist/plugin-sdk/image-runtime-DO1AG9xo.js +0 -25
  303. package/dist/plugin-sdk/manager-runtime-ptNsDEQe.js +0 -15
  304. package/dist/plugin-sdk/pi-model-discovery-runtime-BTuhUPJQ.js +0 -8
  305. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-Cmgk45l9.js +0 -10
  306. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dj9zjsRb.js +0 -19
  307. package/dist/plugin-sdk/slash-commands.runtime-DhqEtB3N.js +0 -13
  308. package/dist/plugin-sdk/slash-dispatch.runtime-CRtIC9Sp.js +0 -52
  309. package/dist/plugin-sdk/slash-skill-commands.runtime-MqsnB6E8.js +0 -16
  310. package/dist/plugin-sdk/subagent-registry-runtime-CCusNTee.js +0 -52
  311. package/dist/plugin-sdk/web-BbS3ifBr.js +0 -56
  312. package/dist/runtime-whatsapp-login.runtime-A_4Z63o5.js +0 -13
  313. package/dist/runtime-whatsapp-outbound.runtime-QGzX864p.js +0 -22
  314. package/dist/slash-commands.runtime-BD-KtYmG.js +0 -16
  315. package/dist/slash-dispatch.runtime-CUqnHUSV.js +0 -56
  316. package/dist/slash-skill-commands.runtime-EpYM7zik.js +0 -20
  317. package/dist/subagent-registry-runtime-CCrwGbrn.js +0 -56
  318. /package/dist/{audit-membership-runtime-CeqjH2Xd.js → audit-membership-runtime-DjUKMS0Y.js} +0 -0
  319. /package/dist/{auth-choice-C97v5130.js → auth-choice-fiSIGrzK.js} +0 -0
  320. /package/dist/{daemon-install-CxZuBEFQ.js → daemon-install-B_53-S1n.js} +0 -0
  321. /package/dist/{login-qr-DWM-X78-.js → login-qr-2D7dYcr0.js} +0 -0
  322. /package/dist/{manager-runtime-DNhQe6uY.js → manager-runtime-DE1WoB-5.js} +0 -0
  323. /package/dist/{onboard-hooks-A_yzMMuZ.js → onboard-hooks-DXEd1toB.js} +0 -0
  324. /package/dist/{onboarding.gateway-config-C-jsPyUH.js → onboarding.gateway-config-Cb4WIvQ1.js} +0 -0
  325. /package/dist/{qmd-manager-zclDu91s.js → qmd-manager-37sAyQfw.js} +0 -0
  326. /package/dist/{runtime-whatsapp-login.runtime-BKmgwVHJ.js → runtime-whatsapp-login.runtime-B8_SjAfm.js} +0 -0
  327. /package/dist/{runtime-whatsapp-outbound.runtime-DayF5fke.js → runtime-whatsapp-outbound.runtime-BsuWz0Jm.js} +0 -0
  328. /package/dist/{slash-commands.runtime-bD5xpLNj.js → slash-commands.runtime-DxLatpsP.js} +0 -0
  329. /package/dist/{slash-skill-commands.runtime-DHnP_S4_.js → slash-skill-commands.runtime-DwkMZIGr.js} +0 -0
@@ -1,29 +1,29 @@
1
- import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-B8f7bYi3.js";
2
- import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-Cvc9EM8Y.js";
3
- import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CdFYjh2k.js";
4
- import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-DKhOowSl.js";
5
- import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-LCC1m_20.js";
6
- import { G as resolveSecretRefValues, Ht as CHANNEL_IDS, X as createConfigIO, Z as loadConfig, dr as isPidAlive, fr as formatCliCommand, gt as parseByteSize, ht as parseDurationMs, lr as resolveProcessScopedMap, mt as getBlockedNetworkModeReason, pt as secretRefKey, tt as writeConfigFile, ur as getProcessStartTime, vr as hasConfiguredSecretInput, xr as resolveSecretInputRef } from "./model-selection-DX7XfNlF.js";
7
- import { c as parseBooleanValue } from "./legacy-names-DZdACm3t.js";
8
- import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-BaTRgLOg.js";
9
- import { r as normalizeChannelId, x as normalizeChatType } from "./plugins-DB-tbkgl.js";
1
+ import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-CSxVaPSN.js";
2
+ import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-C6TxBCvO.js";
3
+ import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D7UWJNhH.js";
4
+ import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-P7FpMYTX.js";
5
+ import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-B-R_-5mh.js";
6
+ import { G as resolveSecretRefValues, Ht as CHANNEL_IDS, X as createConfigIO, Z as loadConfig, dr as isPidAlive, fr as formatCliCommand, gt as parseByteSize, ht as parseDurationMs, lr as resolveProcessScopedMap, mt as getBlockedNetworkModeReason, pt as secretRefKey, tt as writeConfigFile, ur as getProcessStartTime, vr as hasConfiguredSecretInput, xr as resolveSecretInputRef } from "./model-selection-C1EA5mD5.js";
7
+ import { c as parseBooleanValue } from "./legacy-names-BCm4ov65.js";
8
+ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-DRF1QDeZ.js";
9
+ import { r as normalizeChannelId, x as normalizeChatType } from "./plugins-961ZhKn1.js";
10
10
  import { t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
11
- import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-DGh7juCd.js";
12
- import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-ds2kd2pi.js";
13
- import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BhLAW7lA.js";
14
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-IQC4IpGS.js";
15
- import { n as extractErrorCode, r as formatErrorMessage } from "./errors-CHd6Q-vF.js";
16
- import { n as SsrFBlockedError } from "./proxy-env-CiOhiqru.js";
17
- import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-EDjci9yP.js";
11
+ import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BuPQCBu2.js";
12
+ import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-h-vz6xx6.js";
13
+ import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-YCv5B0wF.js";
14
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CTtqTDdw.js";
15
+ import { n as extractErrorCode, r as formatErrorMessage } from "./errors-D2ORDJPK.js";
16
+ import { n as SsrFBlockedError } from "./proxy-env-74z8dpZH.js";
17
+ import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-9I35NJKv.js";
18
18
  import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-B89VigUN.js";
19
19
  import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D7-rxoSr.js";
20
- import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-GZsDv0mI.js";
20
+ import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BWRe3x1k.js";
21
21
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
22
- import { t as sanitizeContentBlocksImages } from "./tool-images-C3-c00jy.js";
22
+ import { t as sanitizeContentBlocksImages } from "./tool-images-lWgf2YVR.js";
23
23
  import fs from "node:fs/promises";
24
24
  import os from "node:os";
25
25
  import path, { posix } from "node:path";
26
- import fs$1, { existsSync } from "node:fs";
26
+ import syncFs, { existsSync } from "node:fs";
27
27
  import { spawn } from "node:child_process";
28
28
  import crypto, { createHash, timingSafeEqual } from "node:crypto";
29
29
  import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
@@ -1353,7 +1353,7 @@ function isModuleNotFoundError(err) {
1353
1353
  }
1354
1354
  async function loadPwAiModule(mode) {
1355
1355
  try {
1356
- return await import("./pw-ai-DLalIFNh.js");
1356
+ return await import("./pw-ai-JYw2eWnW.js");
1357
1357
  } catch (err) {
1358
1358
  if (mode === "soft") return null;
1359
1359
  if (isModuleNotFoundError(err)) return null;
@@ -3130,11 +3130,11 @@ async function movePathToTrash(targetPath) {
3130
3130
  return targetPath;
3131
3131
  } catch {
3132
3132
  const trashDir = path.join(os.homedir(), ".Trash");
3133
- fs$1.mkdirSync(trashDir, { recursive: true });
3133
+ syncFs.mkdirSync(trashDir, { recursive: true });
3134
3134
  const base = path.basename(targetPath);
3135
3135
  let dest = path.join(trashDir, `${base}-${Date.now()}`);
3136
- if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3137
- fs$1.renameSync(targetPath, dest);
3136
+ if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3137
+ syncFs.renameSync(targetPath, dest);
3138
3138
  return dest;
3139
3139
  }
3140
3140
  }
@@ -3221,7 +3221,7 @@ function createBrowserProfilesService(ctx) {
3221
3221
  } catch {}
3222
3222
  const userDataDir = resolveOpenClawUserDataDir(name);
3223
3223
  const profileDir = path.dirname(userDataDir);
3224
- if (fs$1.existsSync(profileDir)) {
3224
+ if (syncFs.existsSync(profileDir)) {
3225
3225
  await movePathToTrash(profileDir);
3226
3226
  deleted = true;
3227
3227
  }
@@ -3719,7 +3719,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
3719
3719
  //#region src/browser/server-context.reset.ts
3720
3720
  async function closePlaywrightBrowserConnection() {
3721
3721
  try {
3722
- await (await import("./pw-ai-DLalIFNh.js")).closePlaywrightBrowserConnection();
3722
+ await (await import("./pw-ai-JYw2eWnW.js")).closePlaywrightBrowserConnection();
3723
3723
  } catch {}
3724
3724
  }
3725
3725
  function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
@@ -3737,7 +3737,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
3737
3737
  if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
3738
3738
  if (profileState.running) await stopRunningBrowser();
3739
3739
  await closePlaywrightBrowserConnection();
3740
- if (!fs$1.existsSync(userDataDir)) return {
3740
+ if (!syncFs.existsSync(userDataDir)) return {
3741
3741
  moved: false,
3742
3742
  from: userDataDir
3743
3743
  };
@@ -4485,7 +4485,7 @@ function releaseAllLocksSync() {
4485
4485
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
4486
4486
  } catch {}
4487
4487
  try {
4488
- fs$1.rmSync(held.lockPath, { force: true });
4488
+ syncFs.rmSync(held.lockPath, { force: true });
4489
4489
  } catch {}
4490
4490
  HELD_LOCKS.delete(sessionFile);
4491
4491
  }
@@ -6083,7 +6083,7 @@ var SandboxFsBridgeImpl = class {
6083
6083
  if (guarded.reason !== "path") {
6084
6084
  if (!(options.allowedType === "directory" && this.pathIsExistingDirectory(target.hostPath))) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
6085
6085
  }
6086
- } else fs$1.closeSync(guarded.fd);
6086
+ } else syncFs.closeSync(guarded.fd);
6087
6087
  const canonicalContainerPath = await this.resolveCanonicalContainerPath({
6088
6088
  containerPath: target.containerPath,
6089
6089
  allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
@@ -6094,7 +6094,7 @@ var SandboxFsBridgeImpl = class {
6094
6094
  }
6095
6095
  pathIsExistingDirectory(hostPath) {
6096
6096
  try {
6097
- return fs$1.statSync(hostPath).isDirectory();
6097
+ return syncFs.statSync(hostPath).isDirectory();
6098
6098
  } catch {
6099
6099
  return false;
6100
6100
  }
@@ -6895,14 +6895,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
6895
6895
  function canonicalizePathForComparison$1(filePath) {
6896
6896
  const resolved = path.resolve(filePath);
6897
6897
  try {
6898
- return fs$1.realpathSync(resolved);
6898
+ return syncFs.realpathSync(resolved);
6899
6899
  } catch {
6900
6900
  return resolved;
6901
6901
  }
6902
6902
  }
6903
6903
  function archiveFileOnDisk(filePath, reason) {
6904
6904
  const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
6905
- fs$1.renameSync(filePath, archived);
6905
+ syncFs.renameSync(filePath, archived);
6906
6906
  return archived;
6907
6907
  }
6908
6908
  /**
@@ -6918,7 +6918,7 @@ function archiveSessionTranscripts(opts) {
6918
6918
  const relative = path.relative(storeDir, candidatePath);
6919
6919
  if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
6920
6920
  }
6921
- if (!fs$1.existsSync(candidatePath)) continue;
6921
+ if (!syncFs.existsSync(candidatePath)) continue;
6922
6922
  try {
6923
6923
  archived.push(archiveFileOnDisk(candidatePath, opts.reason));
6924
6924
  } catch {}
@@ -6936,15 +6936,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
6936
6936
  let removed = 0;
6937
6937
  let scanned = 0;
6938
6938
  for (const dir of directories) {
6939
- const entries = await fs$1.promises.readdir(dir).catch(() => []);
6939
+ const entries = await syncFs.promises.readdir(dir).catch(() => []);
6940
6940
  for (const entry of entries) {
6941
6941
  const timestamp = parseSessionArchiveTimestamp(entry, reason);
6942
6942
  if (timestamp == null) continue;
6943
6943
  scanned += 1;
6944
6944
  if (now - timestamp <= opts.olderThanMs) continue;
6945
6945
  const fullPath = path.join(dir, entry);
6946
- if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
6947
- await fs$1.promises.rm(fullPath).catch(() => void 0);
6946
+ if (!(await syncFs.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
6947
+ await syncFs.promises.rm(fullPath).catch(() => void 0);
6948
6948
  removed += 1;
6949
6949
  }
6950
6950
  }
@@ -7074,7 +7074,7 @@ function isCacheEnabled(ttlMs) {
7074
7074
  }
7075
7075
  function getFileStatSnapshot(filePath) {
7076
7076
  try {
7077
- const stats = fs$1.statSync(filePath);
7077
+ const stats = syncFs.statSync(filePath);
7078
7078
  return {
7079
7079
  mtimeMs: stats.mtimeMs,
7080
7080
  sizeBytes: stats.size
@@ -7093,7 +7093,7 @@ const NOOP_LOGGER = {
7093
7093
  function canonicalizePathForComparison(filePath) {
7094
7094
  const resolved = path.resolve(filePath);
7095
7095
  try {
7096
- return fs$1.realpathSync(resolved);
7096
+ return syncFs.realpathSync(resolved);
7097
7097
  } catch {
7098
7098
  return resolved;
7099
7099
  }
@@ -7151,12 +7151,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
7151
7151
  return referenced;
7152
7152
  }
7153
7153
  async function readSessionsDirFiles(sessionsDir) {
7154
- const dirEntries = await fs$1.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
7154
+ const dirEntries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
7155
7155
  const files = [];
7156
7156
  for (const dirent of dirEntries) {
7157
7157
  if (!dirent.isFile()) continue;
7158
7158
  const filePath = path.join(sessionsDir, dirent.name);
7159
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
7159
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
7160
7160
  if (!stat?.isFile()) continue;
7161
7161
  files.push({
7162
7162
  path: filePath,
@@ -7169,9 +7169,9 @@ async function readSessionsDirFiles(sessionsDir) {
7169
7169
  return files;
7170
7170
  }
7171
7171
  async function removeFileIfExists(filePath) {
7172
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
7172
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
7173
7173
  if (!stat?.isFile()) return 0;
7174
- await fs$1.promises.rm(filePath, { force: true }).catch(() => void 0);
7174
+ await syncFs.promises.rm(filePath, { force: true }).catch(() => void 0);
7175
7175
  return stat.size;
7176
7176
  }
7177
7177
  async function removeFileForBudget(params) {
@@ -7530,7 +7530,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
7530
7530
  }
7531
7531
  async function getSessionFileSize(storePath) {
7532
7532
  try {
7533
- return (await fs$1.promises.stat(storePath)).size;
7533
+ return (await syncFs.promises.stat(storePath)).size;
7534
7534
  } catch {
7535
7535
  return null;
7536
7536
  }
@@ -7547,7 +7547,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
7547
7547
  if (fileSize <= maxBytes) return false;
7548
7548
  const backupPath = `${storePath}.bak.${Date.now()}`;
7549
7549
  try {
7550
- await fs$1.promises.rename(storePath, backupPath);
7550
+ await syncFs.promises.rename(storePath, backupPath);
7551
7551
  log$2.info("rotated session store file", {
7552
7552
  backupPath: path.basename(backupPath),
7553
7553
  sizeBytes: fileSize
@@ -7558,11 +7558,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
7558
7558
  try {
7559
7559
  const dir = path.dirname(storePath);
7560
7560
  const baseName = path.basename(storePath);
7561
- const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
7561
+ const backups = (await syncFs.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
7562
7562
  const maxBackups = 3;
7563
7563
  if (backups.length > maxBackups) {
7564
7564
  const toDelete = backups.slice(maxBackups);
7565
- for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
7565
+ for (const old of toDelete) await syncFs.promises.unlink(path.join(dir, old)).catch(() => void 0);
7566
7566
  log$2.info("cleaned up old session store backups", { deleted: toDelete.length });
7567
7567
  }
7568
7568
  } catch {}
@@ -7685,7 +7685,7 @@ function loadSessionStore(storePath, opts = {}) {
7685
7685
  const maxReadAttempts = process.platform === "win32" ? 3 : 1;
7686
7686
  const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
7687
7687
  for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
7688
- const raw = fs$1.readFileSync(storePath, "utf-8");
7688
+ const raw = syncFs.readFileSync(storePath, "utf-8");
7689
7689
  if (raw.length === 0 && attempt < maxReadAttempts - 1) {
7690
7690
  Atomics.wait(retryBuf, 0, 0, 50);
7691
7691
  continue;
@@ -7839,7 +7839,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
7839
7839
  });
7840
7840
  }
7841
7841
  }
7842
- await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
7842
+ await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
7843
7843
  const json = JSON.stringify(store, null, 2);
7844
7844
  if (getSerializedSessionStore(storePath) === json) {
7845
7845
  updateSessionStoreWriteCaches({
@@ -8176,8 +8176,8 @@ function resolveMirroredTranscriptText(params) {
8176
8176
  return trimmed ? trimmed : null;
8177
8177
  }
8178
8178
  async function ensureSessionHeader(params) {
8179
- if (fs$1.existsSync(params.sessionFile)) return;
8180
- await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
8179
+ if (syncFs.existsSync(params.sessionFile)) return;
8180
+ await syncFs.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
8181
8181
  const header = {
8182
8182
  type: "session",
8183
8183
  version: CURRENT_SESSION_VERSION,
@@ -8185,7 +8185,7 @@ async function ensureSessionHeader(params) {
8185
8185
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
8186
8186
  cwd: process.cwd()
8187
8187
  };
8188
- await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
8188
+ await syncFs.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
8189
8189
  encoding: "utf-8",
8190
8190
  mode: 384
8191
8191
  });
@@ -8420,13 +8420,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
8420
8420
  });
8421
8421
  if (!opened.ok) continue;
8422
8422
  try {
8423
- const content = fs$1.readFileSync(opened.fd, "utf-8");
8423
+ const content = syncFs.readFileSync(opened.fd, "utf-8");
8424
8424
  await fs.writeFile(dest, content, {
8425
8425
  encoding: "utf-8",
8426
8426
  flag: "wx"
8427
8427
  });
8428
8428
  } finally {
8429
- fs$1.closeSync(opened.fd);
8429
+ syncFs.closeSync(opened.fd);
8430
8430
  }
8431
8431
  } catch {}
8432
8432
  }
@@ -1,6 +1,6 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-C6poMade.js";
2
2
  import { T as truncateUtf16Safe } from "./utils-BnC3HGtm.js";
3
- import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-ym919iBR.js";
3
+ import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-BLJ8R_1a.js";
4
4
  import { t as sanitizeContentBlocksImages } from "./tool-images-CPRvLah5.js";
5
5
  import { s as normalizeThinkLevel } from "./thinking-Bkhiq_gH.js";
6
6
  import path from "node:path";
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { ar as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-DX7XfNlF.js";
2
+ import { ar as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-C1EA5mD5.js";
3
3
  import path from "node:path";
4
- import fs from "node:fs";
4
+ import syncFs from "node:fs";
5
5
  import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
6
6
 
7
7
  //#region src/agents/pi-auth-credentials.ts
@@ -70,10 +70,10 @@ function isRecord(value) {
70
70
  }
71
71
  function scrubLegacyStaticAuthJsonEntries(pathname) {
72
72
  if (process.env.OPENCLAW_AUTH_STORE_READONLY === "1") return;
73
- if (!fs.existsSync(pathname)) return;
73
+ if (!syncFs.existsSync(pathname)) return;
74
74
  let parsed;
75
75
  try {
76
- parsed = JSON.parse(fs.readFileSync(pathname, "utf8"));
76
+ parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
77
77
  } catch {
78
78
  return;
79
79
  }
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
87
87
  }
88
88
  if (!changed) return;
89
89
  if (Object.keys(parsed).length === 0) {
90
- fs.rmSync(pathname, { force: true });
90
+ syncFs.rmSync(pathname, { force: true });
91
91
  return;
92
92
  }
93
- fs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
- fs.chmodSync(pathname, 384);
93
+ syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
+ syncFs.chmodSync(pathname, 384);
95
95
  }
96
96
  function createAuthStorage(AuthStorageLike, path, creds) {
97
97
  const withInMemory = AuthStorageLike;
@@ -0,0 +1,11 @@
1
+ import "./run-with-concurrency-CSxVaPSN.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-D7UWJNhH.js";
4
+ import "./workspace-P7FpMYTX.js";
5
+ import "./logger-B-R_-5mh.js";
6
+ import "./model-selection-C1EA5mD5.js";
7
+ import "./github-copilot-token-D13V9YBz.js";
8
+ import "./legacy-names-BCm4ov65.js";
9
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-M5D1rhcm.js";
10
+
11
+ export { discoverAuthStorage, discoverModels };
@@ -1,12 +1,12 @@
1
- import "./run-with-concurrency-B8f7bYi3.js";
2
- import "./paths-Cvc9EM8Y.js";
3
- import { t as createSubsystemLogger } from "./subsystem-CdFYjh2k.js";
4
- import "./workspace-DKhOowSl.js";
5
- import { D as isPlainObject } from "./logger-LCC1m_20.js";
6
- import "./model-selection-DX7XfNlF.js";
7
- import "./github-copilot-token-BDioPmd6.js";
8
- import "./legacy-names-DZdACm3t.js";
9
- import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-pXxnbxER.js";
1
+ import "./run-with-concurrency-CSxVaPSN.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-D7UWJNhH.js";
4
+ import "./workspace-P7FpMYTX.js";
5
+ import { D as isPlainObject } from "./logger-B-R_-5mh.js";
6
+ import "./model-selection-C1EA5mD5.js";
7
+ import "./github-copilot-token-D13V9YBz.js";
8
+ import "./legacy-names-BCm4ov65.js";
9
+ import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-F2Kug9Hj.js";
10
10
  import { createHash } from "node:crypto";
11
11
 
12
12
  //#region src/agents/tool-loop-detection.ts
@@ -4,7 +4,7 @@ import { D as resolveThreadParentSessionKey, c as normalizeAgentId, u as resolve
4
4
  import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-uFSbLhVU.js";
5
5
  import { M as inspectDiscordAccount, s as inspectTelegramAccount, w as inspectSlackAccount } from "./plugins-DsEDEjwJ.js";
6
6
  import { l as normalizeMessageChannel } from "./message-channel-wRrOCtGh.js";
7
- import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-ym919iBR.js";
7
+ import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-BLJ8R_1a.js";
8
8
  import { i as readChannelAllowFromStore } from "./pairing-store-B7QlrsG8.js";
9
9
  import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-Ddpg-zfI.js";
10
10
 
@@ -3,7 +3,7 @@ import { t as createSubsystemLogger } from "./subsystem-C6poMade.js";
3
3
  import { z as loadConfig } from "./auth-profiles-1kLg_p4r.js";
4
4
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-S22LJpwN.js";
5
5
  import { u as getActivePluginRegistry } from "./registry-B0KN5O8-.js";
6
- import { c as loadBotPlugins } from "./compact-CC2mySD2.js";
6
+ import { c as loadBotPlugins } from "./compact-BjR1GO9N.js";
7
7
 
8
8
  //#region src/cli/plugin-registry.ts
9
9
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -1,6 +1,6 @@
1
- import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-BKOyMmQl.js";
2
- import { kr as formatCliCommand } from "./config-C2VN_Uze.js";
3
- import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Dj4IX2UB.js";
1
+ import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-BXedUJ_9.js";
2
+ import { kr as formatCliCommand } from "./config-CPoIewKA.js";
3
+ import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Bl138Nx7.js";
4
4
  import { o as resolveOAuthDir } from "./paths-0d8fBoC4.js";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs";
@@ -1,5 +1,5 @@
1
- import { ot as normalizeAccountId } from "./run-with-concurrency-BKOyMmQl.js";
2
- import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-Cad7hzfy.js";
1
+ import { ot as normalizeAccountId } from "./run-with-concurrency-BXedUJ_9.js";
2
+ import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-Bm4PRMWH.js";
3
3
 
4
4
  //#region src/imessage/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
@@ -1,5 +1,5 @@
1
- import { ot as normalizeAccountId } from "./run-with-concurrency-BKOyMmQl.js";
2
- import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-Cad7hzfy.js";
1
+ import { ot as normalizeAccountId } from "./run-with-concurrency-BXedUJ_9.js";
2
+ import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-Bm4PRMWH.js";
3
3
 
4
4
  //#region src/signal/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
@@ -1,5 +1,5 @@
1
- import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-BKOyMmQl.js";
2
- import { kr as formatCliCommand } from "./config-C2VN_Uze.js";
1
+ import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-BXedUJ_9.js";
2
+ import { kr as formatCliCommand } from "./config-CPoIewKA.js";
3
3
  import crypto from "node:crypto";
4
4
 
5
5
  //#region src/logging/redact-identifier.ts
@@ -1,5 +1,5 @@
1
- import { Ht as normalizeProviderId } from "./config-C2VN_Uze.js";
2
- import { r as formatErrorMessage } from "./errors-Cn3JyiMn.js";
1
+ import { Ht as normalizeProviderId } from "./config-CPoIewKA.js";
2
+ import { r as formatErrorMessage } from "./errors-B2jpHiod.js";
3
3
 
4
4
  //#region src/infra/gemini-auth.ts
5
5
  /**
@@ -1,31 +1,31 @@
1
- import "./run-with-concurrency-BKOyMmQl.js";
2
- import "./config-C2VN_Uze.js";
3
- import { L as logVerbose, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
1
+ import "./run-with-concurrency-BXedUJ_9.js";
2
+ import "./config-CPoIewKA.js";
3
+ import { L as logVerbose, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
4
4
  import "./paths-0d8fBoC4.js";
5
- import "./accounts-Cad7hzfy.js";
6
- import "./plugins-BNiirQsT.js";
7
- import "./thinking-BLYI7Ns-.js";
8
- import "./accounts-CNg2VVWF.js";
9
- import "./image-ops-CpF6ZEdk.js";
10
- import "./pi-embedded-helpers-CYIBgCUb.js";
11
- import "./accounts-BKlUEbA2.js";
5
+ import "./accounts-Bm4PRMWH.js";
6
+ import "./plugins-GsRN6ojJ.js";
7
+ import "./thinking-zAYQzsCw.js";
8
+ import "./accounts-CXyl1mLm.js";
9
+ import "./image-ops-DhoADpAA.js";
10
+ import "./pi-embedded-helpers-DfSEAMtj.js";
11
+ import "./accounts-DskuKVrL.js";
12
12
  import "./github-copilot-token-CKKBybuX.js";
13
- import "./paths-C9nUyfHf.js";
14
- import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-Dt1i04m6.js";
15
- import "./image-nVvwM3Xd.js";
16
- import "./chrome-BOy2ZIdy.js";
17
- import "./skills-8kOFtfG0.js";
18
- import "./path-alias-guards-CaWErHTb.js";
19
- import "./redact-CBwV828t.js";
20
- import "./errors-Cn3JyiMn.js";
21
- import "./fs-safe-Bkid3_6g.js";
22
- import "./proxy-env-nIDM2pb-.js";
23
- import "./store-CuPS1X7b.js";
24
- import "./tool-images-_v-9iCOI.js";
25
- import "./fetch-guard-Dq4RGtrN.js";
26
- import "./api-key-rotation-BMnwWQ0L.js";
27
- import "./local-roots-QiQIw_3f.js";
28
- import "./proxy-fetch-rtc8GmoB.js";
13
+ import "./paths-DG-hVM9r.js";
14
+ import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-ClnCvQG5.js";
15
+ import "./image-moA_39gp.js";
16
+ import "./chrome-Ctkdm8kB.js";
17
+ import "./skills-BCUlsM7a.js";
18
+ import "./path-alias-guards-D7YFCGos.js";
19
+ import "./redact-C3rEm8A0.js";
20
+ import "./errors-B2jpHiod.js";
21
+ import "./fs-safe-Bycf8Dw-.js";
22
+ import "./proxy-env-CtTzyyij.js";
23
+ import "./store-B8uaah6Q.js";
24
+ import "./tool-images-BVSRVXXq.js";
25
+ import "./fetch-guard-Bnbh_v36.js";
26
+ import "./api-key-rotation-dBvG_5yr.js";
27
+ import "./local-roots-C4VMMVpe.js";
28
+ import "./proxy-fetch-C-fXKPD2.js";
29
29
 
30
30
  //#region src/media-understanding/audio-preflight.ts
31
31
  /**
@@ -1,14 +1,14 @@
1
- import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-BKOyMmQl.js";
2
- import { Ht as normalizeProviderId, In as resolveOpenClawAgentDir, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-C2VN_Uze.js";
3
- import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
4
- import { x as normalizeChatType } from "./plugins-BNiirQsT.js";
5
- import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CpF6ZEdk.js";
6
- import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-nVvwM3Xd.js";
1
+ import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-BXedUJ_9.js";
2
+ import { Ht as normalizeProviderId, In as resolveOpenClawAgentDir, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-CPoIewKA.js";
3
+ import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
4
+ import { x as normalizeChatType } from "./plugins-GsRN6ojJ.js";
5
+ import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DhoADpAA.js";
6
+ import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-moA_39gp.js";
7
7
  import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
8
- import { t as fetchWithSsrFGuard } from "./fetch-guard-Dq4RGtrN.js";
9
- import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BMnwWQ0L.js";
10
- import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-QiQIw_3f.js";
11
- import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-rtc8GmoB.js";
8
+ import { t as fetchWithSsrFGuard } from "./fetch-guard-Bnbh_v36.js";
9
+ import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-dBvG_5yr.js";
10
+ import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-C4VMMVpe.js";
11
+ import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-C-fXKPD2.js";
12
12
  import path from "node:path";
13
13
  import { constants } from "node:fs";
14
14
  import os from "node:os";
@@ -990,7 +990,7 @@ var MediaAttachmentCache = class {
990
990
  const log = createSubsystemLogger("model-catalog");
991
991
  let modelCatalogPromise = null;
992
992
  let hasLoggedModelCatalogError = false;
993
- const defaultImportPiSdk = () => import("./pi-model-discovery-CnEHDSXe.js").then((n) => n.r);
993
+ const defaultImportPiSdk = () => import("./pi-model-discovery-C-VTvWWv.js").then((n) => n.r);
994
994
  let importPiSdk = defaultImportPiSdk;
995
995
  const CODEX_PROVIDER = "openai-codex";
996
996
  const OPENAI_PROVIDER = "openai";
@@ -1,7 +1,7 @@
1
- import { f as isRecord } from "./logger-Dj4IX2UB.js";
1
+ import { f as isRecord } from "./logger-Bl138Nx7.js";
2
2
  import "./paths-0d8fBoC4.js";
3
3
  import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
4
- import { t as makeProxyFetch } from "./proxy-fetch-rtc8GmoB.js";
4
+ import { t as makeProxyFetch } from "./proxy-fetch-C-fXKPD2.js";
5
5
  import "./proxy-BKdNrmWL.js";
6
6
 
7
7
  //#region src/telegram/audit-membership-runtime.ts
@@ -1,6 +1,6 @@
1
- import { en as resolveRetryConfig, tn as retryAsync } from "./config-C2VN_Uze.js";
2
- import { O as createSubsystemLogger } from "./logger-Dj4IX2UB.js";
3
- import { r as formatErrorMessage } from "./errors-Cn3JyiMn.js";
1
+ import { en as resolveRetryConfig, tn as retryAsync } from "./config-CPoIewKA.js";
2
+ import { O as createSubsystemLogger } from "./logger-Bl138Nx7.js";
3
+ import { r as formatErrorMessage } from "./errors-B2jpHiod.js";
4
4
  import { RateLimitError } from "@buape/carbon";
5
5
 
6
6
  //#region src/infra/retry-policy.ts
@@ -1,21 +1,21 @@
1
- import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-BKOyMmQl.js";
2
- import { fr as normalizeChatChannelId, kr as formatCliCommand, n as loadConfig } from "./config-C2VN_Uze.js";
3
- import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
4
- import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-Cad7hzfy.js";
5
- import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-BLYI7Ns-.js";
6
- import { A as formatDurationPrecise, B as buildMentionRegexes, C as buildHistoryContextFromEntries, D as resolveDmGroupAccessWithLists, E as resolveDmGroupAccessWithCommandGate, F as resolveInboundDebounceMs, G as resolveAgentRoute, H as resolveIdentityNamePrefix, I as formatInboundEnvelope, J as resolveDefaultGroupPolicy, K as finalizeInboundContext, L as createDedupeCache, M as dispatchReplyWithBufferedBlockDispatcher, O as resolvePinnedMainDmOwnerFromAllowlist, P as createInboundDebouncer, R as hasControlCommand, S as DEFAULT_GROUP_HISTORY_LIMIT, T as readStoreAllowFromForDmPolicy, U as resolveMessagePrefix, V as normalizeMentionText, W as buildAgentSessionKey, X as warnMissingProviderGroupPolicyFallbackOnce, Y as resolveOpenProviderRuntimeGroupPolicy, _ as computeBackoff, b as resolveMentionGating, g as resolveInboundSessionEnvelopeContext, j as shouldAckReactionForWhatsApp, k as enqueueSystemEvent, m as parseActivationCommand, p as normalizeGroupActivation, t as getReplyFromConfig, v as sleepWithAbort, w as recordPendingHistoryEntryIfEnabled, x as createReplyPrefixOptions, y as buildPairingReply, z as shouldComputeCommandAuthorized } from "./reply-C46yX129.js";
7
- import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-CYIBgCUb.js";
8
- import { s as resolveStorePath } from "./paths-C9nUyfHf.js";
9
- import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-DRYHVkRK.js";
10
- import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-Dt1i04m6.js";
11
- import { i as saveMediaBuffer } from "./store-CuPS1X7b.js";
12
- import { t as getAgentScopedMediaLocalRoots } from "./local-roots-QiQIw_3f.js";
13
- import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-sseErCNR.js";
14
- import { n as recordChannelActivity } from "./channel-activity-BgBfJIZr.js";
15
- import { t as convertMarkdownTables } from "./tables-Bt_-pxQx.js";
16
- import { r as setActiveWebListener } from "./active-listener-CORsVdRy.js";
17
- import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-DI98BRHn.js";
18
- import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DfwhEElH.js";
1
+ import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-BXedUJ_9.js";
2
+ import { fr as normalizeChatChannelId, kr as formatCliCommand, n as loadConfig } from "./config-CPoIewKA.js";
3
+ import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
4
+ import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-Bm4PRMWH.js";
5
+ import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-zAYQzsCw.js";
6
+ import { A as formatDurationPrecise, B as buildMentionRegexes, C as buildHistoryContextFromEntries, D as resolveDmGroupAccessWithLists, E as resolveDmGroupAccessWithCommandGate, F as resolveInboundDebounceMs, G as resolveAgentRoute, H as resolveIdentityNamePrefix, I as formatInboundEnvelope, J as resolveDefaultGroupPolicy, K as finalizeInboundContext, L as createDedupeCache, M as dispatchReplyWithBufferedBlockDispatcher, O as resolvePinnedMainDmOwnerFromAllowlist, P as createInboundDebouncer, R as hasControlCommand, S as DEFAULT_GROUP_HISTORY_LIMIT, T as readStoreAllowFromForDmPolicy, U as resolveMessagePrefix, V as normalizeMentionText, W as buildAgentSessionKey, X as warnMissingProviderGroupPolicyFallbackOnce, Y as resolveOpenProviderRuntimeGroupPolicy, _ as computeBackoff, b as resolveMentionGating, g as resolveInboundSessionEnvelopeContext, j as shouldAckReactionForWhatsApp, k as enqueueSystemEvent, m as parseActivationCommand, p as normalizeGroupActivation, t as getReplyFromConfig, v as sleepWithAbort, w as recordPendingHistoryEntryIfEnabled, x as createReplyPrefixOptions, y as buildPairingReply, z as shouldComputeCommandAuthorized } from "./reply-CN3fBNMb.js";
7
+ import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-DfSEAMtj.js";
8
+ import { s as resolveStorePath } from "./paths-DG-hVM9r.js";
9
+ import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-66W_v3Rp.js";
10
+ import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-ClnCvQG5.js";
11
+ import { i as saveMediaBuffer } from "./store-B8uaah6Q.js";
12
+ import { t as getAgentScopedMediaLocalRoots } from "./local-roots-C4VMMVpe.js";
13
+ import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-g3OlfUVu.js";
14
+ import { n as recordChannelActivity } from "./channel-activity-DXEHlqT_.js";
15
+ import { t as convertMarkdownTables } from "./tables-DKLz7bGv.js";
16
+ import { r as setActiveWebListener } from "./active-listener-DjtXj-6l.js";
17
+ import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-Uxln4ZUV.js";
18
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-67udJtLN.js";
19
19
  import { randomUUID } from "node:crypto";
20
20
  import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
21
21