@hanzo/bot 2026.3.13 → 2026.3.14

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 (262) hide show
  1. package/dist/{accounts-CU6IpCdO.js → accounts-7zwrtsCi.js} +2 -2
  2. package/dist/{accounts-CvwEUGLi.js → accounts-BEs2omoE.js} +2 -2
  3. package/dist/{accounts-BfUDrXkg.js → accounts-cApXM7Ij.js} +17 -17
  4. package/dist/{active-listener-BrRv4Xwc.js → active-listener-DR8OFowd.js} +2 -2
  5. package/dist/{api-key-rotation-GaH2pQmb.js → api-key-rotation-RknBrUrn.js} +2 -2
  6. package/dist/{audio-preflight-hEJ-K1Ib.js → audio-preflight-D2ryNxLv.js} +4 -4
  7. package/dist/{audio-preflight-ClPkYtiy.js → audio-preflight-DzzPC-Zk.js} +32 -32
  8. package/dist/{audio-transcription-runner-CqUAFMxM.js → audio-transcription-runner-BI-TLd1r.js} +1 -1
  9. package/dist/{audio-transcription-runner-DcmYYRTV.js → audio-transcription-runner-DAvfl2xp.js} +12 -12
  10. package/dist/{audit-membership-runtime-BJ149bTU.js → audit-membership-runtime-CVVxrZ7j.js} +4 -4
  11. package/dist/build-info.json +3 -3
  12. package/dist/bundled/boot-md/handler.js +51 -51
  13. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  14. package/dist/bundled/command-logger/handler.js +2 -2
  15. package/dist/bundled/session-memory/handler.js +51 -51
  16. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  17. package/dist/{channel-activity-BtB_KYWB.js → channel-activity-CALqzTg5.js} +3 -3
  18. package/dist/{chrome-jdOx2dAl.js → chrome-DWoTm_BG.js} +8 -8
  19. package/dist/{chrome-CiH9yYg6.js → chrome-ds2kd2pi.js} +26 -26
  20. package/dist/{cloud-connect-yv8A2P84.js → cloud-connect-CcE7r1Pd.js} +1 -1
  21. package/dist/{commands-registry-CYzULUtG.js → commands-registry-DD9ywdfc.js} +4 -4
  22. package/dist/{deliver-CQ6QaVna.js → deliver-BmVYLVK8.js} +21 -21
  23. package/dist/{deliver-DpRQLcxS.js → deliver-BrVS3qD4.js} +1 -1
  24. package/dist/deliver-runtime-D1RWRKwQ.js +36 -0
  25. package/dist/{deliver-runtime-9qy2zTFN.js → deliver-runtime-y426rL_k.js} +3 -3
  26. package/dist/deps-send-discord.runtime-B_MPWdLu.js +26 -0
  27. package/dist/deps-send-imessage.runtime-BqgAHmfA.js +25 -0
  28. package/dist/deps-send-signal.runtime-B4CYnceH.js +24 -0
  29. package/dist/deps-send-slack.runtime-dtkYbGcS.js +22 -0
  30. package/dist/deps-send-telegram.runtime-C5f1UIXW.js +27 -0
  31. package/dist/{deps-send-whatsapp.runtime-CZEk5mx7.js → deps-send-whatsapp.runtime-CUDRJQI6.js} +7 -7
  32. package/dist/deps-send-whatsapp.runtime-CuWe5hUV.js +60 -0
  33. package/dist/{diagnostic-Dt3OGXoB.js → diagnostic-pXxnbxER.js} +2 -2
  34. package/dist/entry.js +1 -1
  35. package/dist/{errors-DDrhcWHi.js → errors-CHd6Q-vF.js} +1 -1
  36. package/dist/extensionAPI.js +6 -6
  37. package/dist/{fetch-C7bGdK_0.js → fetch-DZVswJ-3.js} +5 -5
  38. package/dist/{fetch-guard-Danf_0St.js → fetch-guard-EqKIhwBB.js} +2 -2
  39. package/dist/{frontmatter-BFHzrAY7.js → frontmatter-B6XNqDx2.js} +3 -3
  40. package/dist/{fs-safe-Cou1ijNV.js → fs-safe-ClYE3-y0.js} +4 -4
  41. package/dist/{github-copilot-token-D13V9YBz.js → github-copilot-token-BDioPmd6.js} +7 -7
  42. package/dist/{image-Cw0N8PLF.js → image-BEK4nO9F.js} +6 -6
  43. package/dist/{image-YeyG7rr8.js → image-D99xLnGA.js} +1 -1
  44. package/dist/{image-ops-C23SGeMe.js → image-ops-DGh7juCd.js} +2 -2
  45. package/dist/{image-runtime-DZ9BSPkK.js → image-runtime-BHiX93k-.js} +3 -3
  46. package/dist/image-runtime-DaxN-5mc.js +29 -0
  47. package/dist/{ir-CeK8iZwE.js → ir-BUxTWPJl.js} +8 -8
  48. package/dist/{legacy-names-Bkl4tjN-.js → legacy-names-DZdACm3t.js} +1 -1
  49. package/dist/llm-slug-generator.js +51 -51
  50. package/dist/{local-launch-CUwfR4xk.js → local-launch-DZY42mMn.js} +8 -8
  51. package/dist/{logger-D4RcXHR-.js → logger-LCC1m_20.js} +7 -7
  52. package/dist/{login-CHghmysG.js → login-BPpT7LmW.js} +5 -5
  53. package/dist/{login-qr-CNFNhTf4.js → login-qr-ROsDrMTV.js} +10 -10
  54. package/dist/{manager-DD6mzJNU.js → manager-DcZ7mOtr.js} +13 -13
  55. package/dist/manager-runtime-D_u9rPEs.js +18 -0
  56. package/dist/{model-selection-CLGE3YIs.js → model-selection-DX7XfNlF.js} +43 -43
  57. package/dist/{outbound-qbvc4GA6.js → outbound-CQ5XVDFO.js} +6 -6
  58. package/dist/{outbound-attachment-gUN8NzLf.js → outbound-attachment-CC04mCS8.js} +2 -2
  59. package/dist/{path-alias-guards-BzNEeFKJ.js → path-alias-guards-IQC4IpGS.js} +1 -1
  60. package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
  61. package/dist/{paths-0WxUzzEz.js → paths-GZsDv0mI.js} +4 -4
  62. package/dist/{pi-embedded-DF0t5HJD.js → pi-embedded-CIAauJiP.js} +168 -168
  63. package/dist/{pi-embedded-bklbT-yp.js → pi-embedded-DoF5GLjn.js} +24 -24
  64. package/dist/{pi-embedded-helpers-BT9OkmaI.js → pi-embedded-helpers-D7KUbIgY.js} +52 -52
  65. package/dist/{pi-embedded-helpers-CSHUPpwW.js → pi-embedded-helpers-DkZKaPa4.js} +3 -3
  66. package/dist/{pi-model-discovery-vsJpfYA9.js → pi-model-discovery-BYBYqQ0u.js} +7 -7
  67. package/dist/pi-model-discovery-runtime-ZDLroaI6.js +11 -0
  68. package/dist/{pi-tools.before-tool-call.runtime-D-Vj4eZ7.js → pi-tools.before-tool-call.runtime-BiTed3Jt.js} +9 -9
  69. package/dist/plugin-sdk/{accounts-DskuKVrL.js → accounts-BKlUEbA2.js} +2 -2
  70. package/dist/plugin-sdk/{accounts-CXyl1mLm.js → accounts-CNg2VVWF.js} +2 -2
  71. package/dist/plugin-sdk/{accounts-Bm4PRMWH.js → accounts-Cad7hzfy.js} +3 -3
  72. package/dist/plugin-sdk/{active-listener-DjtXj-6l.js → active-listener-CORsVdRy.js} +2 -2
  73. package/dist/plugin-sdk/{api-key-rotation-dBvG_5yr.js → api-key-rotation-BMnwWQ0L.js} +2 -2
  74. package/dist/plugin-sdk/{audio-preflight-C3Pp9geS.js → audio-preflight-BIoyXlzE.js} +26 -26
  75. package/dist/plugin-sdk/{audio-transcription-runner-ClnCvQG5.js → audio-transcription-runner-Dt1i04m6.js} +11 -11
  76. package/dist/plugin-sdk/{audit-membership-runtime-rx3u3xYQ.js → audit-membership-runtime-CAJ6jHA7.js} +2 -2
  77. package/dist/plugin-sdk/{channel-activity-DXEHlqT_.js → channel-activity-BgBfJIZr.js} +3 -3
  78. package/dist/plugin-sdk/{channel-web-jhRFdgis.js → channel-web-D1WElkhV.js} +18 -18
  79. package/dist/plugin-sdk/{chrome-Ctkdm8kB.js → chrome-BOy2ZIdy.js} +6 -6
  80. package/dist/plugin-sdk/{commands-registry-DaOv_5Un.js → commands-registry-C746B-IO.js} +4 -4
  81. package/dist/plugin-sdk/{common-BTOQbnC9.js → common-DEicsf8f.js} +2 -2
  82. package/dist/plugin-sdk/{config-CPoIewKA.js → config-C2VN_Uze.js} +7 -7
  83. package/dist/plugin-sdk/{deliver-C3M9YkG8.js → deliver-CJDxdV38.js} +10 -10
  84. package/dist/plugin-sdk/deliver-runtime-Btv2N6ID.js +32 -0
  85. package/dist/plugin-sdk/deps-send-discord.runtime-CD6RkX7j.js +23 -0
  86. package/dist/plugin-sdk/deps-send-imessage.runtime-Bk6O4cQd.js +22 -0
  87. package/dist/plugin-sdk/deps-send-signal.runtime-D3VOhV12.js +21 -0
  88. package/dist/plugin-sdk/deps-send-slack.runtime-q_vIsWY0.js +19 -0
  89. package/dist/plugin-sdk/deps-send-telegram.runtime-CMfaSoMW.js +24 -0
  90. package/dist/plugin-sdk/deps-send-whatsapp.runtime-SlwDXgpa.js +57 -0
  91. package/dist/plugin-sdk/{diagnostic-DHES2IG3.js → diagnostic-Cmg_Guj5.js} +2 -2
  92. package/dist/plugin-sdk/{errors-B2jpHiod.js → errors-Cn3JyiMn.js} +1 -1
  93. package/dist/plugin-sdk/{fetch-guard-Bnbh_v36.js → fetch-guard-Dq4RGtrN.js} +2 -2
  94. package/dist/plugin-sdk/{fs-safe-Bycf8Dw-.js → fs-safe-Bkid3_6g.js} +3 -3
  95. package/dist/plugin-sdk/{image-moA_39gp.js → image-nVvwM3Xd.js} +6 -6
  96. package/dist/plugin-sdk/{image-ops-DhoADpAA.js → image-ops-CpF6ZEdk.js} +2 -2
  97. package/dist/plugin-sdk/image-runtime-DO1AG9xo.js +25 -0
  98. package/dist/plugin-sdk/{ir-g3OlfUVu.js → ir-sseErCNR.js} +7 -7
  99. package/dist/plugin-sdk/{local-roots-C4VMMVpe.js → local-roots-QiQIw_3f.js} +4 -4
  100. package/dist/plugin-sdk/{logger-Bl138Nx7.js → logger-Dj4IX2UB.js} +2 -2
  101. package/dist/plugin-sdk/{login-DncLyb_v.js → login-BQzorFUh.js} +4 -4
  102. package/dist/plugin-sdk/{login-qr-Bsk9WIKo.js → login-qr-CikVF257.js} +5 -5
  103. package/dist/plugin-sdk/{manager-dSeD3RrO.js → manager-BGXvWOFI.js} +8 -8
  104. package/dist/plugin-sdk/manager-runtime-ptNsDEQe.js +15 -0
  105. package/dist/plugin-sdk/mattermost.js +3 -3
  106. package/dist/plugin-sdk/{outbound-Uxln4ZUV.js → outbound-DI98BRHn.js} +5 -5
  107. package/dist/plugin-sdk/{outbound-attachment-BGdfM11-.js → outbound-attachment-D3JolQwb.js} +2 -2
  108. package/dist/plugin-sdk/{path-alias-guards-D7YFCGos.js → path-alias-guards-CaWErHTb.js} +1 -1
  109. package/dist/plugin-sdk/{paths-DG-hVM9r.js → paths-C9nUyfHf.js} +1 -1
  110. package/dist/plugin-sdk/{pi-embedded-helpers-DfSEAMtj.js → pi-embedded-helpers-CYIBgCUb.js} +16 -16
  111. package/dist/plugin-sdk/{pi-model-discovery-C-VTvWWv.js → pi-model-discovery-CnEHDSXe.js} +1 -1
  112. package/dist/plugin-sdk/pi-model-discovery-runtime-BTuhUPJQ.js +8 -0
  113. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DBmTGutA.js → pi-tools.before-tool-call.runtime-C-5gDvbX.js} +4 -4
  114. package/dist/plugin-sdk/{plugins-GsRN6ojJ.js → plugins-BNiirQsT.js} +4 -4
  115. package/dist/plugin-sdk/{proxy-env-CtTzyyij.js → proxy-env-nIDM2pb-.js} +1 -1
  116. package/dist/plugin-sdk/{proxy-fetch-C-fXKPD2.js → proxy-fetch-rtc8GmoB.js} +1 -1
  117. package/dist/plugin-sdk/{pw-ai-DdCaaGh3.js → pw-ai-CQc12I06.js} +9 -9
  118. package/dist/plugin-sdk/{qmd-manager-CPn_rv_D.js → qmd-manager-Crxi_fUd.js} +7 -7
  119. package/dist/plugin-sdk/{query-expansion-Bvu5XYRV.js → query-expansion-BoMWv8J7.js} +4 -4
  120. package/dist/plugin-sdk/{redact-C3rEm8A0.js → redact-CBwV828t.js} +1 -1
  121. package/dist/plugin-sdk/{reply-CN3fBNMb.js → reply-C46yX129.js} +73 -73
  122. package/dist/plugin-sdk/{resolve-outbound-target-CRToDwG-.js → resolve-outbound-target-BUyclz_e.js} +2 -2
  123. package/dist/plugin-sdk/{run-with-concurrency-BXedUJ_9.js → run-with-concurrency-BKOyMmQl.js} +1 -1
  124. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-Cmgk45l9.js +10 -0
  125. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dj9zjsRb.js +19 -0
  126. package/dist/plugin-sdk/{send-DLsh3eTd.js → send-C74B-7Md.js} +6 -6
  127. package/dist/plugin-sdk/{send-DyWir3i5.js → send-CyQZ_3dG.js} +5 -5
  128. package/dist/plugin-sdk/{send-C-o9yhwI.js → send-DBto6gUF.js} +7 -7
  129. package/dist/plugin-sdk/{send-66W_v3Rp.js → send-DRYHVkRK.js} +13 -13
  130. package/dist/plugin-sdk/{send-DzRN28wH.js → send-Ds3SvAXN.js} +8 -8
  131. package/dist/plugin-sdk/{session-67udJtLN.js → session-DfwhEElH.js} +3 -3
  132. package/dist/plugin-sdk/signal.js +2 -2
  133. package/dist/plugin-sdk/{skill-commands-DGcpUwSV.js → skill-commands-xwQoPrL7.js} +4 -4
  134. package/dist/plugin-sdk/{skills-BCUlsM7a.js → skills-8kOFtfG0.js} +6 -6
  135. package/dist/plugin-sdk/slash-commands.runtime-DhqEtB3N.js +13 -0
  136. package/dist/plugin-sdk/slash-dispatch.runtime-CRtIC9Sp.js +52 -0
  137. package/dist/plugin-sdk/slash-skill-commands.runtime-MqsnB6E8.js +16 -0
  138. package/dist/plugin-sdk/{store-B8uaah6Q.js → store-CuPS1X7b.js} +2 -2
  139. package/dist/plugin-sdk/subagent-registry-runtime-CCusNTee.js +52 -0
  140. package/dist/plugin-sdk/{tables-DKLz7bGv.js → tables-Bt_-pxQx.js} +1 -1
  141. package/dist/plugin-sdk/{thinking-zAYQzsCw.js → thinking-BLYI7Ns-.js} +7 -7
  142. package/dist/plugin-sdk/{tokens-DMbd3-Ct.js → tokens-D2fpVQt3.js} +1 -1
  143. package/dist/plugin-sdk/{tool-images-BVSRVXXq.js → tool-images-_v-9iCOI.js} +2 -2
  144. package/dist/plugin-sdk/web-BbS3ifBr.js +56 -0
  145. package/dist/plugin-sdk/{whatsapp-actions-BuSDFSP5.js → whatsapp-actions-DPHrLiQ8.js} +17 -17
  146. package/dist/plugin-sdk/whatsapp.js +50 -50
  147. package/dist/{plugins-BZY4UQdP.js → plugins-DB-tbkgl.js} +13 -13
  148. package/dist/{proxy-env-BgSzvACM.js → proxy-env-CiOhiqru.js} +1 -1
  149. package/dist/{proxy-fetch-ChfJDZwG.js → proxy-fetch-lxJGuoUa.js} +1 -1
  150. package/dist/{pw-ai-CaeuHJYc.js → pw-ai-DLalIFNh.js} +14 -14
  151. package/dist/{pw-ai-C99W41P5.js → pw-ai-Mq6HuD9y.js} +1 -1
  152. package/dist/{qmd-manager-IaHGjYlf.js → qmd-manager-Bcw2cb8D.js} +10 -10
  153. package/dist/{query-expansion-CzkZbxDS.js → query-expansion-D9bYNybh.js} +6 -6
  154. package/dist/{redact-DGz6yigq.js → redact-DqlKR0-n.js} +1 -1
  155. package/dist/{run-main-BmfZLBd9.js → run-main-BoKhkUUz.js} +2 -2
  156. package/dist/{run-with-concurrency-Ccm0w34R.js → run-with-concurrency-B8f7bYi3.js} +4 -4
  157. package/dist/runtime-whatsapp-login.runtime-A_4Z63o5.js +13 -0
  158. package/dist/runtime-whatsapp-outbound.runtime-QGzX864p.js +22 -0
  159. package/dist/{send-CYoz4Xjy.js → send-BftnuVa7.js} +7 -7
  160. package/dist/{send-BRWGalFX.js → send-CkPIBk6V.js} +8 -8
  161. package/dist/{send-Cpd5Q5mD.js → send-D9k6sRe5.js} +6 -6
  162. package/dist/{send-tBfK5Za7.js → send-pIawmzTN.js} +5 -5
  163. package/dist/{send-Dsz28eiu.js → send-yLSU7X_F.js} +28 -28
  164. package/dist/{session-Dn8bzB0l.js → session-CgL23zvS.js} +8 -8
  165. package/dist/{skill-commands-LO2hG7Hm.js → skill-commands-Cnz3QjWm.js} +9 -9
  166. package/dist/{skills-mpCKgKof.js → skills-BhLAW7lA.js} +22 -22
  167. package/dist/slash-commands.runtime-BD-KtYmG.js +16 -0
  168. package/dist/{slash-dispatch.runtime-CLPlz-lX.js → slash-dispatch.runtime-BI4kyhSk.js} +6 -6
  169. package/dist/slash-dispatch.runtime-CUqnHUSV.js +56 -0
  170. package/dist/slash-skill-commands.runtime-EpYM7zik.js +20 -0
  171. package/dist/{store-DbpT7v8D.js → store-EDjci9yP.js} +2 -2
  172. package/dist/subagent-registry-runtime-CCrwGbrn.js +56 -0
  173. package/dist/{subagent-registry-runtime-TuyVULIb.js → subagent-registry-runtime-nzkRCNeS.js} +6 -6
  174. package/dist/{subsystem-W834z9Wa.js → subsystem-CdFYjh2k.js} +14 -14
  175. package/dist/{tables-BpeU6RzS.js → tables-tp9Zl0hI.js} +1 -1
  176. package/dist/{target-errors-Dcsvl3HX.js → target-errors-3YX3buv4.js} +2 -2
  177. package/dist/{thinking-DzbkyD99.js → thinking-BaTRgLOg.js} +7 -7
  178. package/dist/{tokens-Cyi-NbsV.js → tokens-mtgzW7UN.js} +1 -1
  179. package/dist/{tool-images-DktJ_8C5.js → tool-images-C3-c00jy.js} +2 -2
  180. package/dist/{web-Ci3EFOGu.js → web-72kt7sM1.js} +6 -6
  181. package/dist/{web-BByXTa4p.js → web-D0naR9ON.js} +55 -55
  182. package/dist/{whatsapp-actions-BK9m2IVX.js → whatsapp-actions-BQWT_h74.js} +21 -21
  183. package/dist/{workspace-BhNk7PBH.js → workspace-DKhOowSl.js} +20 -20
  184. package/extensions/acpx/package.json +1 -1
  185. package/extensions/bluebubbles/package.json +1 -1
  186. package/extensions/ci-fix-loop/package.json +1 -1
  187. package/extensions/continuous-learning/package.json +1 -1
  188. package/extensions/copilot-proxy/package.json +1 -1
  189. package/extensions/diagnostics-otel/package.json +1 -1
  190. package/extensions/diffs/package.json +1 -1
  191. package/extensions/discord/package.json +1 -1
  192. package/extensions/feishu/package.json +1 -1
  193. package/extensions/flow/package.json +1 -1
  194. package/extensions/google-antigravity-auth/package.json +1 -1
  195. package/extensions/google-gemini-cli-auth/package.json +1 -1
  196. package/extensions/googlechat/package.json +1 -1
  197. package/extensions/imessage/package.json +1 -1
  198. package/extensions/irc/package.json +1 -1
  199. package/extensions/line/package.json +1 -1
  200. package/extensions/llm-task/package.json +1 -1
  201. package/extensions/lobster/package.json +1 -1
  202. package/extensions/matrix/CHANGELOG.md +5 -0
  203. package/extensions/matrix/package.json +1 -1
  204. package/extensions/mattermost/package.json +1 -1
  205. package/extensions/memory-core/package.json +1 -1
  206. package/extensions/memory-lancedb/package.json +1 -1
  207. package/extensions/minimax-portal-auth/package.json +1 -1
  208. package/extensions/msteams/CHANGELOG.md +5 -0
  209. package/extensions/msteams/package.json +1 -1
  210. package/extensions/nextcloud-talk/package.json +1 -1
  211. package/extensions/nostr/CHANGELOG.md +5 -0
  212. package/extensions/nostr/package.json +1 -1
  213. package/extensions/open-prose/package.json +1 -1
  214. package/extensions/self-improvement/package.json +1 -1
  215. package/extensions/signal/package.json +1 -1
  216. package/extensions/slack/package.json +1 -1
  217. package/extensions/synology-chat/package.json +1 -1
  218. package/extensions/telegram/package.json +1 -1
  219. package/extensions/tlon/package.json +1 -1
  220. package/extensions/twitch/CHANGELOG.md +5 -0
  221. package/extensions/twitch/package.json +1 -1
  222. package/extensions/voice-call/CHANGELOG.md +5 -0
  223. package/extensions/voice-call/package.json +1 -1
  224. package/extensions/whatsapp/package.json +1 -1
  225. package/extensions/zalo/CHANGELOG.md +5 -0
  226. package/extensions/zalo/package.json +1 -1
  227. package/extensions/zalouser/CHANGELOG.md +5 -0
  228. package/extensions/zalouser/package.json +1 -1
  229. package/package.json +1 -1
  230. package/dist/deliver-runtime-AIl3Ydhb.js +0 -36
  231. package/dist/deps-send-discord.runtime-BCKKTBVj.js +0 -26
  232. package/dist/deps-send-imessage.runtime-CrYNg1e_.js +0 -25
  233. package/dist/deps-send-signal.runtime-rttQOioa.js +0 -24
  234. package/dist/deps-send-slack.runtime-BsCUhMAR.js +0 -22
  235. package/dist/deps-send-telegram.runtime-sOFkXXMD.js +0 -27
  236. package/dist/deps-send-whatsapp.runtime-B4PrMybd.js +0 -60
  237. package/dist/image-runtime-BTWt5pDL.js +0 -29
  238. package/dist/manager-runtime-Daqs8hiB.js +0 -18
  239. package/dist/pi-model-discovery-runtime-C9astVbX.js +0 -11
  240. package/dist/plugin-sdk/deliver-runtime-mEh6dpX2.js +0 -32
  241. package/dist/plugin-sdk/deps-send-discord.runtime-CeLampf3.js +0 -23
  242. package/dist/plugin-sdk/deps-send-imessage.runtime-BtxPqajC.js +0 -22
  243. package/dist/plugin-sdk/deps-send-signal.runtime-ClFkIFJ-.js +0 -21
  244. package/dist/plugin-sdk/deps-send-slack.runtime-DaHmXzRC.js +0 -19
  245. package/dist/plugin-sdk/deps-send-telegram.runtime-DAF10iAG.js +0 -24
  246. package/dist/plugin-sdk/deps-send-whatsapp.runtime-DqlX4Oxz.js +0 -57
  247. package/dist/plugin-sdk/image-runtime-2bziw6eW.js +0 -25
  248. package/dist/plugin-sdk/manager-runtime-jDo0I-JG.js +0 -15
  249. package/dist/plugin-sdk/pi-model-discovery-runtime-CIuZW3i7.js +0 -8
  250. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B_rU-DWm.js +0 -10
  251. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DsIXsR9d.js +0 -19
  252. package/dist/plugin-sdk/slash-commands.runtime-Bezqrk4r.js +0 -13
  253. package/dist/plugin-sdk/slash-dispatch.runtime-C1tsWtvv.js +0 -52
  254. package/dist/plugin-sdk/slash-skill-commands.runtime-CGNVU7M2.js +0 -16
  255. package/dist/plugin-sdk/subagent-registry-runtime-miVNHjsU.js +0 -52
  256. package/dist/plugin-sdk/web-DSj0-KxZ.js +0 -56
  257. package/dist/runtime-whatsapp-login.runtime-BQjNpkbA.js +0 -13
  258. package/dist/runtime-whatsapp-outbound.runtime-GVjcQLWE.js +0 -22
  259. package/dist/slash-commands.runtime-Qho-6_Lc.js +0 -16
  260. package/dist/slash-dispatch.runtime-CkR-TldC.js +0 -56
  261. package/dist/slash-skill-commands.runtime-DmrTozXn.js +0 -20
  262. package/dist/subagent-registry-runtime-DWAZpHqO.js +0 -56
@@ -1,11 +1,11 @@
1
- import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ccm0w34R.js";
2
- import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
3
- import { t as redactSensitiveText } from "./redact-DGz6yigq.js";
4
- import { o as resolveSessionTranscriptsDirForAgent } from "./paths-0WxUzzEz.js";
1
+ import { t as runTasksWithConcurrency } from "./run-with-concurrency-B8f7bYi3.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-CdFYjh2k.js";
3
+ import { t as redactSensitiveText } from "./redact-DqlKR0-n.js";
4
+ import { o as resolveSessionTranscriptsDirForAgent } from "./paths-GZsDv0mI.js";
5
5
  import { createRequire } from "node:module";
6
6
  import fs from "node:fs/promises";
7
7
  import path from "node:path";
8
- import syncFs from "node:fs";
8
+ import fs$1 from "node:fs";
9
9
  import crypto from "node:crypto";
10
10
 
11
11
  //#region src/memory/fs-utils.ts
@@ -31,7 +31,7 @@ async function statRegularFile(absPath) {
31
31
  //#region src/memory/internal.ts
32
32
  function ensureDir(dir) {
33
33
  try {
34
- syncFs.mkdirSync(dir, { recursive: true });
34
+ fs$1.mkdirSync(dir, { recursive: true });
35
35
  } catch {}
36
36
  return dir;
37
37
  }
@@ -1,4 +1,4 @@
1
- import { S as resolveNodeRequireFromMeta } from "./subsystem-W834z9Wa.js";
1
+ import { S as resolveNodeRequireFromMeta } from "./subsystem-CdFYjh2k.js";
2
2
 
3
3
  //#region src/security/safe-regex.ts
4
4
  const SAFE_REGEX_CACHE_MAX = 256;
@@ -404,14 +404,14 @@ async function runCli(argv = process$1.argv) {
404
404
  if (!hasHelpOrVersion(normalizedArgv)) {
405
405
  const { readConfigFileSnapshot } = await import("./auth-profiles-1kLg_p4r.js").then((n) => n.F);
406
406
  if (!(await readConfigFileSnapshot()).exists) {
407
- const { runFirstRunCloudConnect } = await import("./cloud-connect-yv8A2P84.js");
407
+ const { runFirstRunCloudConnect } = await import("./cloud-connect-CcE7r1Pd.js");
408
408
  await runFirstRunCloudConnect();
409
409
  return;
410
410
  }
411
411
  }
412
412
  if (!hasHelpOrVersion(normalizedArgv)) {
413
413
  if (!getPrimaryCommand(normalizedArgv)) {
414
- const { showLaunchMenu } = await import("./cloud-connect-yv8A2P84.js");
414
+ const { showLaunchMenu } = await import("./cloud-connect-CcE7r1Pd.js");
415
415
  await showLaunchMenu();
416
416
  return;
417
417
  }
@@ -1,7 +1,7 @@
1
- import { c as resolveStateDir } from "./paths-C6TxBCvO.js";
2
- import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
3
- import { $ as parseAgentSessionKey, B as resolveAgentIdFromSessionKey, R as normalizeAgentId, j as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir } from "./workspace-BhNk7PBH.js";
4
- import { y as resolveUserPath } from "./logger-D4RcXHR-.js";
1
+ import { c as resolveStateDir } from "./paths-Cvc9EM8Y.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-CdFYjh2k.js";
3
+ import { $ as parseAgentSessionKey, B as resolveAgentIdFromSessionKey, R as normalizeAgentId, j as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir } from "./workspace-DKhOowSl.js";
4
+ import { y as resolveUserPath } from "./logger-LCC1m_20.js";
5
5
  import path from "node:path";
6
6
 
7
7
  //#region src/config/model-input.ts
@@ -0,0 +1,13 @@
1
+ import "./run-with-concurrency-B8f7bYi3.js";
2
+ import "./paths-Cvc9EM8Y.js";
3
+ import "./subsystem-CdFYjh2k.js";
4
+ import "./workspace-DKhOowSl.js";
5
+ import "./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 "./accounts-cApXM7Ij.js";
10
+ import "./session-CgL23zvS.js";
11
+ import { t as loginWeb } from "./login-BPpT7LmW.js";
12
+
13
+ export { loginWeb };
@@ -0,0 +1,22 @@
1
+ import "./run-with-concurrency-B8f7bYi3.js";
2
+ import "./paths-Cvc9EM8Y.js";
3
+ import "./subsystem-CdFYjh2k.js";
4
+ import "./workspace-DKhOowSl.js";
5
+ import "./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 "./accounts-cApXM7Ij.js";
10
+ import "./plugins-DB-tbkgl.js";
11
+ import "./image-ops-DGh7juCd.js";
12
+ import "./path-alias-guards-IQC4IpGS.js";
13
+ import "./fs-safe-ClYE3-y0.js";
14
+ import "./proxy-env-CiOhiqru.js";
15
+ import "./fetch-DZVswJ-3.js";
16
+ import "./fetch-guard-EqKIhwBB.js";
17
+ import "./ir-BUxTWPJl.js";
18
+ import "./render-DW7AcFdD.js";
19
+ import "./tables-tp9Zl0hI.js";
20
+ import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./outbound-CQ5XVDFO.js";
21
+
22
+ export { sendMessageWhatsApp, sendPollWhatsApp };
@@ -1,10 +1,10 @@
1
- import { h as normalizeE164, y as resolveUserPath } from "./logger-D4RcXHR-.js";
2
- import { Z as loadConfig } from "./model-selection-CLGE3YIs.js";
3
- import { E as kindFromMime } from "./image-ops-C23SGeMe.js";
4
- import { t as resolveIMessageAccount } from "./accounts-CvwEUGLi.js";
5
- import { s as resolveMarkdownTableMode } from "./ir-CeK8iZwE.js";
6
- import { t as convertMarkdownTables } from "./tables-BpeU6RzS.js";
7
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-gUN8NzLf.js";
1
+ import { h as normalizeE164, y as resolveUserPath } from "./logger-LCC1m_20.js";
2
+ import { Z as loadConfig } from "./model-selection-DX7XfNlF.js";
3
+ import { E as kindFromMime } from "./image-ops-DGh7juCd.js";
4
+ import { t as resolveIMessageAccount } from "./accounts-BEs2omoE.js";
5
+ import { s as resolveMarkdownTableMode } from "./ir-BUxTWPJl.js";
6
+ import { t as convertMarkdownTables } from "./tables-tp9Zl0hI.js";
7
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CC04mCS8.js";
8
8
  import { spawn } from "node:child_process";
9
9
  import { createInterface } from "node:readline";
10
10
 
@@ -1,15 +1,15 @@
1
- import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-W834z9Wa.js";
2
- import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-BhNk7PBH.js";
3
- import { S as retryAsync, Z as loadConfig, x as resolveRetryConfig } from "./model-selection-CLGE3YIs.js";
4
- import { E as normalizeDiscordToken, T as resolveDiscordAccount } from "./plugins-BZY4UQdP.js";
1
+ import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-CdFYjh2k.js";
2
+ import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-DKhOowSl.js";
3
+ import { S as retryAsync, Z as loadConfig, x as resolveRetryConfig } from "./model-selection-DX7XfNlF.js";
4
+ import { E as normalizeDiscordToken, T as resolveDiscordAccount } from "./plugins-DB-tbkgl.js";
5
5
  import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-Bhj5bO-0.js";
6
- import { k as maxBytesForKind, x as extensionForMime } from "./image-ops-C23SGeMe.js";
7
- import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-CeK8iZwE.js";
6
+ import { k as maxBytesForKind, x as extensionForMime } from "./image-ops-DGh7juCd.js";
7
+ import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-BUxTWPJl.js";
8
8
  import { t as resolveFetch } from "./fetch-BfuG8uZ8.js";
9
- import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-BtB_KYWB.js";
9
+ import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-CALqzTg5.js";
10
10
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BFUunM8u.js";
11
11
  import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-C_BruSkP.js";
12
- import { t as convertMarkdownTables } from "./tables-BpeU6RzS.js";
12
+ import { t as convertMarkdownTables } from "./tables-tp9Zl0hI.js";
13
13
  import fs from "node:fs/promises";
14
14
  import path from "node:path";
15
15
  import { promisify } from "node:util";
@@ -1,10 +1,10 @@
1
- import { u as logVerbose } from "./subsystem-W834z9Wa.js";
2
- import { Z as loadConfig } from "./model-selection-CLGE3YIs.js";
3
- import { i as isSilentReplyText } from "./tokens-Cyi-NbsV.js";
4
- import { _ as resolveSlackAccount, b as resolveSlackBotToken } from "./plugins-BZY4UQdP.js";
1
+ import { u as logVerbose } from "./subsystem-CdFYjh2k.js";
2
+ import { Z as loadConfig } from "./model-selection-DX7XfNlF.js";
3
+ import { i as isSilentReplyText } from "./tokens-mtgzW7UN.js";
4
+ import { _ as resolveSlackAccount, b as resolveSlackBotToken } from "./plugins-DB-tbkgl.js";
5
5
  import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-Bhj5bO-0.js";
6
- import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Danf_0St.js";
7
- import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CeK8iZwE.js";
6
+ import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-EqKIhwBB.js";
7
+ import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-BUxTWPJl.js";
8
8
  import { t as renderMarkdownWithMarkers } from "./render-DW7AcFdD.js";
9
9
  import { WebClient } from "@slack/web-api";
10
10
 
@@ -1,11 +1,11 @@
1
- import { Z as loadConfig } from "./model-selection-CLGE3YIs.js";
1
+ import { Z as loadConfig } from "./model-selection-DX7XfNlF.js";
2
2
  import { n as generateSecureUuid } from "./secure-random-CXrBi7Jq.js";
3
- import { n as resolveSignalAccount } from "./accounts-CU6IpCdO.js";
4
- import { E as kindFromMime } from "./image-ops-C23SGeMe.js";
3
+ import { n as resolveSignalAccount } from "./accounts-7zwrtsCi.js";
4
+ import { E as kindFromMime } from "./image-ops-DGh7juCd.js";
5
5
  import { n as fetchWithTimeout } from "./fetch-timeout-Wgx3OXYj.js";
6
- import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CeK8iZwE.js";
6
+ import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-BUxTWPJl.js";
7
7
  import { t as resolveFetch } from "./fetch-BfuG8uZ8.js";
8
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-gUN8NzLf.js";
8
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CC04mCS8.js";
9
9
 
10
10
  //#region src/signal/format.ts
11
11
  function normalizeUrlForComparison(url) {
@@ -1,26 +1,26 @@
1
- import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-C6TxBCvO.js";
2
- import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-W834z9Wa.js";
3
- import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-BhNk7PBH.js";
4
- import { a as CONFIG_DIR, b as safeParseJson } from "./logger-D4RcXHR-.js";
5
- import { $ as readConfigFileSnapshotForWrite, Gn as resolveTelegramPreviewStreamMode, Z as loadConfig, cr as withFileLock$1, er as isTruthyEnvValue, tt as writeConfigFile } from "./model-selection-CLGE3YIs.js";
6
- import { n as listChannelPlugins, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-BZY4UQdP.js";
1
+ import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-Cvc9EM8Y.js";
2
+ import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-CdFYjh2k.js";
3
+ import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-DKhOowSl.js";
4
+ import { a as CONFIG_DIR, b as safeParseJson } from "./logger-LCC1m_20.js";
5
+ import { $ as readConfigFileSnapshotForWrite, Gn as resolveTelegramPreviewStreamMode, Z as loadConfig, cr as withFileLock$1, er as isTruthyEnvValue, tt as writeConfigFile } from "./model-selection-DX7XfNlF.js";
6
+ import { n as listChannelPlugins, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-DB-tbkgl.js";
7
7
  import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-BiE9e9-P.js";
8
- import { D as normalizeMimeType, E as kindFromMime, S as getFileExtension, T as isGifMedia } from "./image-ops-C23SGeMe.js";
9
- import { t as redactSensitiveText } from "./redact-DGz6yigq.js";
10
- import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-DDrhcWHi.js";
11
- import { t as hasProxyEnvConfigured } from "./proxy-env-BgSzvACM.js";
8
+ import { D as normalizeMimeType, E as kindFromMime, S as getFileExtension, T as isGifMedia } from "./image-ops-DGh7juCd.js";
9
+ import { t as redactSensitiveText } from "./redact-DqlKR0-n.js";
10
+ import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-CHd6Q-vF.js";
11
+ import { t as hasProxyEnvConfigured } from "./proxy-env-CiOhiqru.js";
12
12
  import { r as writeJsonAtomic } from "./json-files-D7-rxoSr.js";
13
- import { t as makeProxyFetch } from "./proxy-fetch-ChfJDZwG.js";
14
- import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CeK8iZwE.js";
13
+ import { t as makeProxyFetch } from "./proxy-fetch-lxJGuoUa.js";
14
+ import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-BUxTWPJl.js";
15
15
  import { t as renderMarkdownWithMarkers } from "./render-DW7AcFdD.js";
16
16
  import { t as resolveFetch } from "./fetch-BfuG8uZ8.js";
17
- import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-BtB_KYWB.js";
17
+ import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-CALqzTg5.js";
18
18
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BFUunM8u.js";
19
19
  import { n as normalizePollInput } from "./polls-C_BruSkP.js";
20
20
  import fs from "node:fs/promises";
21
21
  import os from "node:os";
22
22
  import path from "node:path";
23
- import syncFs, { readFileSync } from "node:fs";
23
+ import fs$1, { readFileSync } from "node:fs";
24
24
  import JSON5 from "json5";
25
25
  import process$1 from "node:process";
26
26
  import crypto, { randomBytes } from "node:crypto";
@@ -81,7 +81,7 @@ function getPairingAdapter(channelId) {
81
81
  //#region src/plugin-sdk/json-store.ts
82
82
  async function readJsonFileWithFallback(filePath, fallback) {
83
83
  try {
84
- const parsed = safeParseJson(await syncFs.promises.readFile(filePath, "utf-8"));
84
+ const parsed = safeParseJson(await fs$1.promises.readFile(filePath, "utf-8"));
85
85
  if (parsed == null) return {
86
86
  value: fallback,
87
87
  exists: true
@@ -168,7 +168,7 @@ async function readPairingRequests(filePath) {
168
168
  }
169
169
  async function ensureJsonFile(filePath, fallback) {
170
170
  try {
171
- await syncFs.promises.access(filePath);
171
+ await fs$1.promises.access(filePath);
172
172
  } catch {
173
173
  await writeJsonFile(filePath, fallback);
174
174
  }
@@ -324,7 +324,7 @@ function resolveAllowFromReadCacheOrMissing(filePath, stat) {
324
324
  async function readAllowFromStateForPathWithExists(channel, filePath) {
325
325
  let stat = null;
326
326
  try {
327
- stat = await syncFs.promises.stat(filePath);
327
+ stat = await fs$1.promises.stat(filePath);
328
328
  } catch (err) {
329
329
  if (err.code !== "ENOENT") throw err;
330
330
  }
@@ -367,7 +367,7 @@ async function writeAllowFromState(filePath, allowFrom) {
367
367
  });
368
368
  let stat = null;
369
369
  try {
370
- stat = await syncFs.promises.stat(filePath);
370
+ stat = await fs$1.promises.stat(filePath);
371
371
  } catch {}
372
372
  setAllowFromReadCache(filePath, {
373
373
  exists: true,
@@ -974,7 +974,7 @@ function resolveCronStorePath(storePath) {
974
974
  }
975
975
  async function loadCronStore(storePath) {
976
976
  try {
977
- const raw = await syncFs.promises.readFile(storePath, "utf-8");
977
+ const raw = await fs$1.promises.readFile(storePath, "utf-8");
978
978
  let parsed;
979
979
  try {
980
980
  parsed = JSON5.parse(raw);
@@ -1000,21 +1000,21 @@ async function loadCronStore(storePath) {
1000
1000
  }
1001
1001
  }
1002
1002
  async function setSecureFileMode(filePath) {
1003
- await syncFs.promises.chmod(filePath, 384).catch(() => void 0);
1003
+ await fs$1.promises.chmod(filePath, 384).catch(() => void 0);
1004
1004
  }
1005
1005
  async function saveCronStore(storePath, store, opts) {
1006
1006
  const storeDir = path.dirname(storePath);
1007
- await syncFs.promises.mkdir(storeDir, {
1007
+ await fs$1.promises.mkdir(storeDir, {
1008
1008
  recursive: true,
1009
1009
  mode: 448
1010
1010
  });
1011
- await syncFs.promises.chmod(storeDir, 448).catch(() => void 0);
1011
+ await fs$1.promises.chmod(storeDir, 448).catch(() => void 0);
1012
1012
  const json = JSON.stringify(store, null, 2);
1013
1013
  const cached = serializedStoreCache.get(storePath);
1014
1014
  if (cached === json) return;
1015
1015
  let previous = cached ?? null;
1016
1016
  if (previous === null) try {
1017
- previous = await syncFs.promises.readFile(storePath, "utf-8");
1017
+ previous = await fs$1.promises.readFile(storePath, "utf-8");
1018
1018
  } catch (err) {
1019
1019
  if (err.code !== "ENOENT") throw err;
1020
1020
  }
@@ -1023,14 +1023,14 @@ async function saveCronStore(storePath, store, opts) {
1023
1023
  return;
1024
1024
  }
1025
1025
  const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
1026
- await syncFs.promises.writeFile(tmp, json, {
1026
+ await fs$1.promises.writeFile(tmp, json, {
1027
1027
  encoding: "utf-8",
1028
1028
  mode: 384
1029
1029
  });
1030
1030
  await setSecureFileMode(tmp);
1031
1031
  if (previous !== null && !opts?.skipBackup) try {
1032
1032
  const backupPath = `${storePath}.bak`;
1033
- await syncFs.promises.copyFile(storePath, backupPath);
1033
+ await fs$1.promises.copyFile(storePath, backupPath);
1034
1034
  await setSecureFileMode(backupPath);
1035
1035
  } catch {}
1036
1036
  await renameWithRetry(tmp, storePath);
@@ -1041,7 +1041,7 @@ const RENAME_MAX_RETRIES = 3;
1041
1041
  const RENAME_BASE_DELAY_MS = 50;
1042
1042
  async function renameWithRetry(src, dest) {
1043
1043
  for (let attempt = 0; attempt <= RENAME_MAX_RETRIES; attempt++) try {
1044
- await syncFs.promises.rename(src, dest);
1044
+ await fs$1.promises.rename(src, dest);
1045
1045
  return;
1046
1046
  } catch (err) {
1047
1047
  const code = err.code;
@@ -1050,8 +1050,8 @@ async function renameWithRetry(src, dest) {
1050
1050
  continue;
1051
1051
  }
1052
1052
  if (code === "EPERM" || code === "EEXIST") {
1053
- await syncFs.promises.copyFile(src, dest);
1054
- await syncFs.promises.unlink(src).catch(() => {});
1053
+ await fs$1.promises.copyFile(src, dest);
1054
+ await fs$1.promises.unlink(src).catch(() => {});
1055
1055
  return;
1056
1056
  }
1057
1057
  throw err;
@@ -1,8 +1,8 @@
1
- import { c as danger, m as success, x as toPinoLikeLogger, y as getChildLogger } from "./subsystem-W834z9Wa.js";
2
- import { l as ensureDir, y as resolveUserPath } from "./logger-D4RcXHR-.js";
3
- import { Xn as VERSION, fr as formatCliCommand } from "./model-selection-CLGE3YIs.js";
4
- import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-BfUDrXkg.js";
5
- import syncFs from "node:fs";
1
+ import { c as danger, m as success, x as toPinoLikeLogger, y as getChildLogger } from "./subsystem-CdFYjh2k.js";
2
+ import { l as ensureDir, y as resolveUserPath } from "./logger-LCC1m_20.js";
3
+ import { Xn as VERSION, fr as formatCliCommand } from "./model-selection-DX7XfNlF.js";
4
+ import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-cApXM7Ij.js";
5
+ import fs from "node:fs";
6
6
  import { randomUUID } from "node:crypto";
7
7
  import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
8
8
  import qrcode from "qrcode-terminal";
@@ -21,16 +21,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
21
21
  const raw = readCredsJsonRaw(credsPath);
22
22
  if (raw) try {
23
23
  JSON.parse(raw);
24
- syncFs.copyFileSync(credsPath, backupPath);
24
+ fs.copyFileSync(credsPath, backupPath);
25
25
  try {
26
- syncFs.chmodSync(backupPath, 384);
26
+ fs.chmodSync(backupPath, 384);
27
27
  } catch {}
28
28
  } catch {}
29
29
  } catch {}
30
30
  try {
31
31
  await Promise.resolve(saveCreds());
32
32
  try {
33
- syncFs.chmodSync(resolveWebCredsPath(authDir), 384);
33
+ fs.chmodSync(resolveWebCredsPath(authDir), 384);
34
34
  } catch {}
35
35
  } catch (err) {
36
36
  logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
@@ -1,13 +1,13 @@
1
- import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-Ccm0w34R.js";
2
- import { c as resolveStateDir } from "./paths-C6TxBCvO.js";
3
- import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-W834z9Wa.js";
4
- import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-D4RcXHR-.js";
5
- import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-mpCKgKof.js";
1
+ import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-B8f7bYi3.js";
2
+ import { c as resolveStateDir } from "./paths-Cvc9EM8Y.js";
3
+ import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-CdFYjh2k.js";
4
+ import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-LCC1m_20.js";
5
+ import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-BhLAW7lA.js";
6
6
  import { t as createAsyncLock } from "./json-files-D7-rxoSr.js";
7
- import { i as listChatCommands } from "./commands-registry-CYzULUtG.js";
7
+ import { i as listChatCommands } from "./commands-registry-DD9ywdfc.js";
8
8
  import os from "node:os";
9
9
  import path from "node:path";
10
- import syncFs from "node:fs";
10
+ import fs from "node:fs";
11
11
  import { randomUUID } from "node:crypto";
12
12
  import chokidar from "chokidar";
13
13
 
@@ -252,13 +252,13 @@ function listSkillCommandsForAgents(params) {
252
252
  const workspaceFilters = /* @__PURE__ */ new Map();
253
253
  for (const agentId of agentIds) {
254
254
  const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
255
- if (!syncFs.existsSync(workspaceDir)) {
255
+ if (!fs.existsSync(workspaceDir)) {
256
256
  logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
257
257
  continue;
258
258
  }
259
259
  let canonicalDir;
260
260
  try {
261
- canonicalDir = syncFs.realpathSync(workspaceDir);
261
+ canonicalDir = fs.realpathSync(workspaceDir);
262
262
  } catch {
263
263
  logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
264
264
  continue;
@@ -1,13 +1,13 @@
1
- import { m as normalizeSkillFilter } from "./run-with-concurrency-Ccm0w34R.js";
2
- import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-W834z9Wa.js";
3
- import { O as isPathInside, h as resolveOpenClawPackageRootSync } from "./workspace-BhNk7PBH.js";
4
- import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-D4RcXHR-.js";
5
- import { $n as isDangerousHostEnvVarName, Bt as resolveEffectiveEnableState, Kn as isPathInsideWithRealpath, Pt as loadPluginManifestRegistry, Vt as resolveMemorySlotDecision, yr as normalizeResolvedSecretInputString, zt as normalizePluginsConfig } from "./model-selection-CLGE3YIs.js";
6
- import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-BFHzrAY7.js";
7
- import { n as assertNoPathAliasEscape } from "./path-alias-guards-BzNEeFKJ.js";
1
+ import { m as normalizeSkillFilter } from "./run-with-concurrency-B8f7bYi3.js";
2
+ import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-CdFYjh2k.js";
3
+ import { O as isPathInside, h as resolveOpenClawPackageRootSync } from "./workspace-DKhOowSl.js";
4
+ import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-LCC1m_20.js";
5
+ import { $n as isDangerousHostEnvVarName, Bt as resolveEffectiveEnableState, Kn as isPathInsideWithRealpath, Pt as loadPluginManifestRegistry, Vt as resolveMemorySlotDecision, yr as normalizeResolvedSecretInputString, zt as normalizePluginsConfig } from "./model-selection-DX7XfNlF.js";
6
+ import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-B6XNqDx2.js";
7
+ import { n as assertNoPathAliasEscape } from "./path-alias-guards-IQC4IpGS.js";
8
8
  import os from "node:os";
9
9
  import path from "node:path";
10
- import syncFs from "node:fs";
10
+ import fs from "node:fs";
11
11
  import { URL as URL$1, fileURLToPath } from "node:url";
12
12
  import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
13
13
 
@@ -543,13 +543,13 @@ function shortPath(value) {
543
543
  //#region src/agents/skills/bundled-dir.ts
544
544
  function looksLikeSkillsDir(dir) {
545
545
  try {
546
- const entries = syncFs.readdirSync(dir, { withFileTypes: true });
546
+ const entries = fs.readdirSync(dir, { withFileTypes: true });
547
547
  for (const entry of entries) {
548
548
  if (entry.name.startsWith(".")) continue;
549
549
  const fullPath = path.join(dir, entry.name);
550
550
  if (entry.isFile() && entry.name.endsWith(".md")) return true;
551
551
  if (entry.isDirectory()) {
552
- if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
552
+ if (fs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
553
553
  }
554
554
  }
555
555
  } catch {
@@ -564,7 +564,7 @@ function resolveBundledSkillsDir(opts = {}) {
564
564
  const execPath = opts.execPath ?? process.execPath;
565
565
  const execDir = path.dirname(execPath);
566
566
  const sibling = path.join(execDir, "skills");
567
- if (syncFs.existsSync(sibling)) return sibling;
567
+ if (fs.existsSync(sibling)) return sibling;
568
568
  } catch {}
569
569
  try {
570
570
  const moduleUrl = opts.moduleUrl ?? import.meta.url;
@@ -627,7 +627,7 @@ function resolvePluginSkillDirs(params) {
627
627
  const trimmed = raw.trim();
628
628
  if (!trimmed) continue;
629
629
  const candidate = path.resolve(record.rootDir, trimmed);
630
- if (!syncFs.existsSync(candidate)) {
630
+ if (!fs.existsSync(candidate)) {
631
631
  log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
632
632
  continue;
633
633
  }
@@ -658,7 +658,7 @@ async function serializeByKey(key, task) {
658
658
 
659
659
  //#endregion
660
660
  //#region src/agents/skills/workspace.ts
661
- const fsp = syncFs.promises;
661
+ const fsp = fs.promises;
662
662
  const skillsLogger = createSubsystemLogger("skills");
663
663
  const skillCommandDebugOnce = /* @__PURE__ */ new Set();
664
664
  /**
@@ -735,7 +735,7 @@ function resolveSkillsLimits(config) {
735
735
  }
736
736
  function listChildDirectories(dir) {
737
737
  try {
738
- const entries = syncFs.readdirSync(dir, { withFileTypes: true });
738
+ const entries = fs.readdirSync(dir, { withFileTypes: true });
739
739
  const dirs = [];
740
740
  for (const entry of entries) {
741
741
  if (entry.name.startsWith(".")) continue;
@@ -746,7 +746,7 @@ function listChildDirectories(dir) {
746
746
  continue;
747
747
  }
748
748
  if (entry.isSymbolicLink()) try {
749
- if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
749
+ if (fs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
750
750
  } catch {}
751
751
  }
752
752
  return dirs;
@@ -757,7 +757,7 @@ function listChildDirectories(dir) {
757
757
  function resolveNestedSkillsRoot(dir, opts) {
758
758
  const nested = path.join(dir, "skills");
759
759
  try {
760
- if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
760
+ if (!fs.existsSync(nested) || !fs.statSync(nested).isDirectory()) return { baseDir: dir };
761
761
  } catch {
762
762
  return { baseDir: dir };
763
763
  }
@@ -766,7 +766,7 @@ function resolveNestedSkillsRoot(dir, opts) {
766
766
  const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
767
767
  for (const name of toScan) {
768
768
  const skillMd = path.join(nested, name, "SKILL.md");
769
- if (syncFs.existsSync(skillMd)) return {
769
+ if (fs.existsSync(skillMd)) return {
770
770
  baseDir: nested,
771
771
  note: `Detected nested skills root at ${nested}`
772
772
  };
@@ -786,9 +786,9 @@ function loadSkillEntries(workspaceDir, opts) {
786
786
  const loadSkills = (params) => {
787
787
  const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
788
788
  const rootSkillMd = path.join(baseDir, "SKILL.md");
789
- if (syncFs.existsSync(rootSkillMd)) {
789
+ if (fs.existsSync(rootSkillMd)) {
790
790
  try {
791
- const size = syncFs.statSync(rootSkillMd).size;
791
+ const size = fs.statSync(rootSkillMd).size;
792
792
  if (size > limits.maxSkillFileBytes) {
793
793
  skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
794
794
  dir: baseDir,
@@ -827,9 +827,9 @@ function loadSkillEntries(workspaceDir, opts) {
827
827
  for (const name of limitedChildren) {
828
828
  const skillDir = path.join(baseDir, name);
829
829
  const skillMd = path.join(skillDir, "SKILL.md");
830
- if (!syncFs.existsSync(skillMd)) continue;
830
+ if (!fs.existsSync(skillMd)) continue;
831
831
  try {
832
- const size = syncFs.statSync(skillMd).size;
832
+ const size = fs.statSync(skillMd).size;
833
833
  if (size > limits.maxSkillFileBytes) {
834
834
  skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
835
835
  skill: name,
@@ -897,7 +897,7 @@ function loadSkillEntries(workspaceDir, opts) {
897
897
  return Array.from(merged.values()).map((skill) => {
898
898
  let frontmatter = {};
899
899
  try {
900
- frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
900
+ frontmatter = parseFrontmatter(fs.readFileSync(skill.filePath, "utf-8"));
901
901
  } catch {}
902
902
  return {
903
903
  skill,
@@ -0,0 +1,16 @@
1
+ import "./run-with-concurrency-B8f7bYi3.js";
2
+ import "./paths-Cvc9EM8Y.js";
3
+ import "./subsystem-CdFYjh2k.js";
4
+ import "./workspace-DKhOowSl.js";
5
+ import "./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 "./thinking-BaTRgLOg.js";
10
+ import "./accounts-cApXM7Ij.js";
11
+ import "./plugins-DB-tbkgl.js";
12
+ import "./accounts-7zwrtsCi.js";
13
+ import "./accounts-BEs2omoE.js";
14
+ import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-DD9ywdfc.js";
15
+
16
+ export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
@@ -2,7 +2,7 @@ import "./run-with-concurrency-Cl6RA1jj.js";
2
2
  import "./paths-CaA28K0s.js";
3
3
  import "./logger-03l-fZAz.js";
4
4
  import "./model-selection-DBsGeiK-.js";
5
- import { F as finalizeInboundContext, P as resolveAgentRoute, c as createReplyPrefixOptions, i as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe, x as dispatchReplyWithDispatcher } from "./pi-embedded-bklbT-yp.js";
5
+ import { F as finalizeInboundContext, P as resolveAgentRoute, c as createReplyPrefixOptions, i as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe, x as dispatchReplyWithDispatcher } from "./pi-embedded-DoF5GLjn.js";
6
6
  import "./github-copilot-token-BWXANsA6.js";
7
7
  import "./thinking-CfyiCA3G.js";
8
8
  import "./tokens-BNir7uMh.js";
@@ -10,14 +10,14 @@ import "./accounts-DY1X-s7s.js";
10
10
  import "./plugins-D-0WTgB3.js";
11
11
  import "./send-RnwO-RHl.js";
12
12
  import "./send-D8sX0KzB.js";
13
- import "./deliver-DpRQLcxS.js";
13
+ import "./deliver-BrVS3qD4.js";
14
14
  import "./diagnostic-4mG4HPNM.js";
15
15
  import "./accounts-DTt92bBI.js";
16
16
  import "./image-ops-H7-oxso2.js";
17
17
  import "./send-BwwO-RRn.js";
18
18
  import "./pi-model-discovery-BCAL3jTa.js";
19
- import { kt as resolveConversationLabel } from "./pi-embedded-helpers-CSHUPpwW.js";
20
- import "./chrome-jdOx2dAl.js";
19
+ import { kt as resolveConversationLabel } from "./pi-embedded-helpers-DkZKaPa4.js";
20
+ import "./chrome-DWoTm_BG.js";
21
21
  import "./skills-DYPNXcqp.js";
22
22
  import "./path-alias-guards-CnMi477K.js";
23
23
  import "./redact-BYyl-Ec1.js";
@@ -28,8 +28,8 @@ import "./store-fRWpW53K.js";
28
28
  import "./accounts-Gr3z2vFt.js";
29
29
  import "./paths-CYxtj6M6.js";
30
30
  import "./tool-images-CP_K-W16.js";
31
- import "./image-YeyG7rr8.js";
32
- import "./audio-transcription-runner-CqUAFMxM.js";
31
+ import "./image-D99xLnGA.js";
32
+ import "./audio-transcription-runner-BI-TLd1r.js";
33
33
  import "./fetch-eWgbLfn0.js";
34
34
  import "./fetch-guard-DuC_-ogd.js";
35
35
  import "./api-key-rotation-BGQLOWVR.js";