@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,16 +1,16 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-Ccm0w34R.js";
3
- import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-C6TxBCvO.js";
4
- import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-W834z9Wa.js";
5
- import { O as isPathInside$2, R as normalizeAgentId, _ as runExec, j as DEFAULT_AGENT_ID, q as isBlockedObjectKey, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-BhNk7PBH.js";
6
- import { C as sleep, D as isPlainObject$2, _ as resolveConfigDir, f as isRecord$3, y as resolveUserPath } from "./logger-D4RcXHR-.js";
7
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D13V9YBz.js";
8
- import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-Bkl4tjN-.js";
2
+ import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-B8f7bYi3.js";
3
+ import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-Cvc9EM8Y.js";
4
+ import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-CdFYjh2k.js";
5
+ import { O as isPathInside$2, R as normalizeAgentId, _ as runExec, j as DEFAULT_AGENT_ID, q as isBlockedObjectKey, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-DKhOowSl.js";
6
+ import { C as sleep, D as isPlainObject$2, _ as resolveConfigDir, f as isRecord$3, y as resolveUserPath } from "./logger-LCC1m_20.js";
7
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BDioPmd6.js";
8
+ import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-DZdACm3t.js";
9
9
  import { createRequire } from "node:module";
10
10
  import fs from "node:fs/promises";
11
11
  import os from "node:os";
12
12
  import path from "node:path";
13
- import syncFs from "node:fs";
13
+ import fs$1 from "node:fs";
14
14
  import JSON5 from "json5";
15
15
  import { isDeepStrictEqual } from "node:util";
16
16
  import { execFileSync, spawn } from "node:child_process";
@@ -333,7 +333,7 @@ function isValidPid(pid) {
333
333
  function isZombieProcess(pid) {
334
334
  if (process.platform !== "linux") return false;
335
335
  try {
336
- return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
336
+ return fs$1.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
337
337
  } catch {
338
338
  return false;
339
339
  }
@@ -360,7 +360,7 @@ function getProcessStartTime(pid) {
360
360
  if (process.platform !== "linux") return null;
361
361
  if (!isValidPid(pid)) return null;
362
362
  try {
363
- const stat = syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
363
+ const stat = fs$1.readFileSync(`/proc/${pid}/stat`, "utf8");
364
364
  const commEndIndex = stat.lastIndexOf(")");
365
365
  if (commEndIndex < 0) return null;
366
366
  const fields = stat.slice(commEndIndex + 1).trimStart().split(/\s+/);
@@ -629,7 +629,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
629
629
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
630
630
  }
631
631
  function ensureAuthStoreFile(pathname) {
632
- if (syncFs.existsSync(pathname)) return;
632
+ if (fs$1.existsSync(pathname)) return;
633
633
  saveJsonFile(pathname, {
634
634
  version: AUTH_STORE_VERSION,
635
635
  profiles: {}
@@ -891,7 +891,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
891
891
  if (shouldWrite && legacy !== null) {
892
892
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
893
893
  try {
894
- syncFs.unlinkSync(legacyPath);
894
+ fs$1.unlinkSync(legacyPath);
895
895
  } catch (err) {
896
896
  if (err?.code !== "ENOENT") log$8.warn("failed to delete legacy auth.json after migration", {
897
897
  err,
@@ -1079,7 +1079,7 @@ function loadDotEnv(opts) {
1079
1079
  const quiet = opts?.quiet ?? true;
1080
1080
  dotenv.config({ quiet });
1081
1081
  const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
1082
- if (!syncFs.existsSync(globalEnvPath)) return;
1082
+ if (!fs$1.existsSync(globalEnvPath)) return;
1083
1083
  dotenv.config({
1084
1084
  quiet,
1085
1085
  path: globalEnvPath,
@@ -1209,7 +1209,7 @@ function resolveTimeoutMs(timeoutMs) {
1209
1209
  function readEtcShells() {
1210
1210
  if (cachedEtcShells !== void 0) return cachedEtcShells;
1211
1211
  try {
1212
- const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1212
+ const entries = fs$1.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1213
1213
  cachedEtcShells = new Set(entries);
1214
1214
  } catch {
1215
1215
  cachedEtcShells = null;
@@ -1686,7 +1686,7 @@ function resolveActiveTalkProviderConfig(talk) {
1686
1686
  };
1687
1687
  }
1688
1688
  function readTalkApiKeyFromProfile(deps = {}) {
1689
- const fsImpl = deps.fs ?? syncFs;
1689
+ const fsImpl = deps.fs ?? fs$1;
1690
1690
  const osImpl = deps.os ?? os;
1691
1691
  const pathImpl = deps.path ?? path;
1692
1692
  const home = osImpl.homedir();
@@ -2322,7 +2322,7 @@ function isPathInside$1(basePath, candidatePath) {
2322
2322
  }
2323
2323
  function safeRealpathSync$1(filePath) {
2324
2324
  try {
2325
- return syncFs.realpathSync(filePath);
2325
+ return fs$1.realpathSync(filePath);
2326
2326
  } catch {
2327
2327
  return null;
2328
2328
  }
@@ -2432,7 +2432,7 @@ var IncludeProcessor = class IncludeProcessor {
2432
2432
  const normalized = path.normalize(resolved);
2433
2433
  if (!isPathInside$1(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
2434
2434
  try {
2435
- const real = syncFs.realpathSync(normalized);
2435
+ const real = fs$1.realpathSync(normalized);
2436
2436
  if (!isPathInside$1(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
2437
2437
  } catch (err) {
2438
2438
  if (err instanceof ConfigIncludeError) throw err;
@@ -2474,13 +2474,13 @@ var IncludeProcessor = class IncludeProcessor {
2474
2474
  };
2475
2475
  function safeRealpath(target) {
2476
2476
  try {
2477
- return syncFs.realpathSync(target);
2477
+ return fs$1.realpathSync(target);
2478
2478
  } catch {
2479
2479
  return target;
2480
2480
  }
2481
2481
  }
2482
2482
  function readConfigIncludeFileWithGuards(params) {
2483
- const ioFs = params.ioFs ?? syncFs;
2483
+ const ioFs = params.ioFs ?? fs$1;
2484
2484
  const maxBytes = params.maxBytes ?? MAX_INCLUDE_FILE_BYTES;
2485
2485
  if (!canUseBoundaryFileOpen(ioFs)) return ioFs.readFileSync(params.resolvedPath, "utf-8");
2486
2486
  const opened = openBoundaryFileSync({
@@ -2503,7 +2503,7 @@ function readConfigIncludeFileWithGuards(params) {
2503
2503
  }
2504
2504
  }
2505
2505
  const defaultResolver = {
2506
- readFile: (p) => syncFs.readFileSync(p, "utf-8"),
2506
+ readFile: (p) => fs$1.readFileSync(p, "utf-8"),
2507
2507
  readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
2508
2508
  includePath,
2509
2509
  resolvedPath,
@@ -4156,7 +4156,7 @@ function normalizeMatchTarget(value) {
4156
4156
  }
4157
4157
  function tryRealpath(value) {
4158
4158
  try {
4159
- return syncFs.realpathSync(value);
4159
+ return fs$1.realpathSync(value);
4160
4160
  } catch {
4161
4161
  return null;
4162
4162
  }
@@ -4709,8 +4709,8 @@ function resolveWindowsExecutableExtensions(executable, env) {
4709
4709
  }
4710
4710
  function isExecutableFile(filePath) {
4711
4711
  try {
4712
- if (!syncFs.statSync(filePath).isFile()) return false;
4713
- if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
4712
+ if (!fs$1.statSync(filePath).isFile()) return false;
4713
+ if (process.platform !== "win32") fs$1.accessSync(filePath, fs$1.constants.X_OK);
4714
4714
  return true;
4715
4715
  } catch {
4716
4716
  return false;
@@ -4749,7 +4749,7 @@ const DEFAULT_SAFE_BINS = [
4749
4749
  function tryResolveRealpath(filePath) {
4750
4750
  if (!filePath) return;
4751
4751
  try {
4752
- return syncFs.realpathSync(filePath);
4752
+ return fs$1.realpathSync(filePath);
4753
4753
  } catch {
4754
4754
  return;
4755
4755
  }
@@ -5624,7 +5624,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
5624
5624
  for (const dir of resolved) {
5625
5625
  let stat;
5626
5626
  try {
5627
- stat = syncFs.statSync(dir);
5627
+ stat = fs$1.statSync(dir);
5628
5628
  } catch {
5629
5629
  continue;
5630
5630
  }
@@ -6816,13 +6816,13 @@ function resolveBundledPluginsDir() {
6816
6816
  try {
6817
6817
  const execDir = path.dirname(process.execPath);
6818
6818
  const sibling = path.join(execDir, "extensions");
6819
- if (syncFs.existsSync(sibling)) return sibling;
6819
+ if (fs$1.existsSync(sibling)) return sibling;
6820
6820
  } catch {}
6821
6821
  try {
6822
6822
  let cursor = path.dirname(fileURLToPath(import.meta.url));
6823
6823
  for (let i = 0; i < 6; i += 1) {
6824
6824
  const candidate = path.join(cursor, "extensions");
6825
- if (syncFs.existsSync(candidate)) return candidate;
6825
+ if (fs$1.existsSync(candidate)) return candidate;
6826
6826
  const parent = path.dirname(cursor);
6827
6827
  if (parent === cursor) break;
6828
6828
  cursor = parent;
@@ -6841,7 +6841,7 @@ function normalizeStringList(value) {
6841
6841
  function resolvePluginManifestPath(rootDir) {
6842
6842
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
6843
6843
  const candidate = path.join(rootDir, filename);
6844
- if (syncFs.existsSync(candidate)) return candidate;
6844
+ if (fs$1.existsSync(candidate)) return candidate;
6845
6845
  }
6846
6846
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
6847
6847
  }
@@ -6867,7 +6867,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
6867
6867
  }
6868
6868
  let raw;
6869
6869
  try {
6870
- raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
6870
+ raw = JSON.parse(fs$1.readFileSync(opened.fd, "utf-8"));
6871
6871
  } catch (err) {
6872
6872
  return {
6873
6873
  ok: false,
@@ -6875,7 +6875,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
6875
6875
  manifestPath
6876
6876
  };
6877
6877
  } finally {
6878
- syncFs.closeSync(opened.fd);
6878
+ fs$1.closeSync(opened.fd);
6879
6879
  }
6880
6880
  if (!isRecord$3(raw)) return {
6881
6881
  ok: false,
@@ -6956,7 +6956,7 @@ function safeRealpathSync(targetPath, cache) {
6956
6956
  const cached = cache?.get(targetPath);
6957
6957
  if (cached) return cached;
6958
6958
  try {
6959
- const resolved = syncFs.realpathSync(targetPath);
6959
+ const resolved = fs$1.realpathSync(targetPath);
6960
6960
  cache?.set(targetPath, resolved);
6961
6961
  return resolved;
6962
6962
  } catch {
@@ -6965,7 +6965,7 @@ function safeRealpathSync(targetPath, cache) {
6965
6965
  }
6966
6966
  function safeStatSync(targetPath) {
6967
6967
  try {
6968
- return syncFs.statSync(targetPath);
6968
+ return fs$1.statSync(targetPath);
6969
6969
  } catch {
6970
6970
  return null;
6971
6971
  }
@@ -7115,12 +7115,12 @@ function readPackageManifest(dir, rejectHardlinks = true) {
7115
7115
  });
7116
7116
  if (!opened.ok) return null;
7117
7117
  try {
7118
- const raw = syncFs.readFileSync(opened.fd, "utf-8");
7118
+ const raw = fs$1.readFileSync(opened.fd, "utf-8");
7119
7119
  return JSON.parse(raw);
7120
7120
  } catch {
7121
7121
  return null;
7122
7122
  } finally {
7123
- syncFs.closeSync(opened.fd);
7123
+ fs$1.closeSync(opened.fd);
7124
7124
  }
7125
7125
  }
7126
7126
  function deriveIdHint(params) {
@@ -7173,14 +7173,14 @@ function resolvePackageEntrySource(params) {
7173
7173
  return null;
7174
7174
  }
7175
7175
  const safeSource = opened.path;
7176
- syncFs.closeSync(opened.fd);
7176
+ fs$1.closeSync(opened.fd);
7177
7177
  return safeSource;
7178
7178
  }
7179
7179
  function discoverInDirectory(params) {
7180
- if (!syncFs.existsSync(params.dir)) return;
7180
+ if (!fs$1.existsSync(params.dir)) return;
7181
7181
  let entries = [];
7182
7182
  try {
7183
- entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
7183
+ entries = fs$1.readdirSync(params.dir, { withFileTypes: true });
7184
7184
  } catch (err) {
7185
7185
  params.diagnostics.push({
7186
7186
  level: "warn",
@@ -7241,7 +7241,7 @@ function discoverInDirectory(params) {
7241
7241
  }
7242
7242
  continue;
7243
7243
  }
7244
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
7244
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs$1.existsSync(candidate));
7245
7245
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
7246
7246
  candidates: params.candidates,
7247
7247
  diagnostics: params.diagnostics,
@@ -7259,7 +7259,7 @@ function discoverInDirectory(params) {
7259
7259
  }
7260
7260
  function discoverFromPath(params) {
7261
7261
  const resolved = resolveUserPath(params.rawPath);
7262
- if (!syncFs.existsSync(resolved)) {
7262
+ if (!fs$1.existsSync(resolved)) {
7263
7263
  params.diagnostics.push({
7264
7264
  level: "error",
7265
7265
  message: `plugin path not found: ${resolved}`,
@@ -7267,7 +7267,7 @@ function discoverFromPath(params) {
7267
7267
  });
7268
7268
  return;
7269
7269
  }
7270
- const stat = syncFs.statSync(resolved);
7270
+ const stat = fs$1.statSync(resolved);
7271
7271
  if (stat.isFile()) {
7272
7272
  if (!isExtensionFile(resolved)) {
7273
7273
  params.diagnostics.push({
@@ -7325,7 +7325,7 @@ function discoverFromPath(params) {
7325
7325
  }
7326
7326
  return;
7327
7327
  }
7328
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
7328
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs$1.existsSync(candidate));
7329
7329
  if (indexFile && isExtensionFile(indexFile)) {
7330
7330
  addCandidate({
7331
7331
  candidates: params.candidates,
@@ -7458,7 +7458,7 @@ function buildCacheKey$1(params) {
7458
7458
  }
7459
7459
  function safeStatMtimeMs(filePath) {
7460
7460
  try {
7461
- return syncFs.statSync(filePath).mtimeMs;
7461
+ return fs$1.statSync(filePath).mtimeMs;
7462
7462
  } catch {
7463
7463
  return null;
7464
7464
  }
@@ -12669,7 +12669,7 @@ function resolveConfigPathForDeps(deps) {
12669
12669
  }
12670
12670
  function normalizeDeps(overrides = {}) {
12671
12671
  return {
12672
- fs: overrides.fs ?? syncFs,
12672
+ fs: overrides.fs ?? fs$1,
12673
12673
  json5: overrides.json5 ?? JSON5,
12674
12674
  env: overrides.env ?? process.env,
12675
12675
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
@@ -1,11 +1,11 @@
1
- import { t as createSubsystemLogger, y as getChildLogger } from "./subsystem-W834z9Wa.js";
2
- import { T as toWhatsappJid, u as escapeRegExp } from "./logger-D4RcXHR-.js";
3
- import { Z as loadConfig } from "./model-selection-CLGE3YIs.js";
1
+ import { t as createSubsystemLogger, y as getChildLogger } from "./subsystem-CdFYjh2k.js";
2
+ import { T as toWhatsappJid, u as escapeRegExp } from "./logger-LCC1m_20.js";
3
+ import { Z as loadConfig } from "./model-selection-DX7XfNlF.js";
4
4
  import { n as generateSecureUuid } from "./secure-random-CXrBi7Jq.js";
5
- import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-CeK8iZwE.js";
5
+ import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-BUxTWPJl.js";
6
6
  import { n as normalizePollInput } from "./polls-C_BruSkP.js";
7
- import { t as convertMarkdownTables } from "./tables-BpeU6RzS.js";
8
- import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-BrRv4Xwc.js";
7
+ import { t as convertMarkdownTables } from "./tables-tp9Zl0hI.js";
8
+ import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-DR8OFowd.js";
9
9
 
10
10
  //#region src/markdown/whatsapp.ts
11
11
  /**
@@ -1,5 +1,5 @@
1
- import { i as saveMediaBuffer } from "./store-DbpT7v8D.js";
2
- import { a as loadWebMedia } from "./ir-CeK8iZwE.js";
1
+ import { i as saveMediaBuffer } from "./store-EDjci9yP.js";
2
+ import { a as loadWebMedia } from "./ir-BUxTWPJl.js";
3
3
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BFUunM8u.js";
4
4
 
5
5
  //#region src/media/outbound-attachment.ts
@@ -1,4 +1,4 @@
1
- import { C as BOUNDARY_PATH_ALIAS_POLICIES, D as isNotFoundPathError, w as resolveBoundaryPath } from "./workspace-BhNk7PBH.js";
1
+ import { C as BOUNDARY_PATH_ALIAS_POLICIES, D as isNotFoundPathError, w as resolveBoundaryPath } from "./workspace-DKhOowSl.js";
2
2
  import fs from "node:fs/promises";
3
3
  import os from "node:os";
4
4
 
@@ -1,6 +1,6 @@
1
1
  import os from "node:os";
2
2
  import path from "node:path";
3
- import syncFs from "node:fs";
3
+ import fs from "node:fs";
4
4
 
5
5
  //#region src/infra/home-dir.ts
6
6
  function normalize(value) {
@@ -94,10 +94,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
94
94
  const newDir = newStateDir(effectiveHomedir);
95
95
  if (env.OPENCLAW_TEST_FAST === "1") return newDir;
96
96
  const legacyDirs = legacyStateDirs(effectiveHomedir);
97
- if (syncFs.existsSync(newDir)) return newDir;
97
+ if (fs.existsSync(newDir)) return newDir;
98
98
  const existingLegacy = legacyDirs.find((dir) => {
99
99
  try {
100
- return syncFs.existsSync(dir);
100
+ return fs.existsSync(dir);
101
101
  } catch {
102
102
  return false;
103
103
  }
@@ -137,7 +137,7 @@ function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)
137
137
  if (env.OPENCLAW_TEST_FAST === "1") return resolveCanonicalConfigPath(env, resolveStateDir(env, homedir));
138
138
  const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
139
139
  try {
140
- return syncFs.existsSync(candidate);
140
+ return fs.existsSync(candidate);
141
141
  } catch {
142
142
  return false;
143
143
  }
@@ -155,7 +155,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
155
155
  const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
156
156
  const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
157
157
  try {
158
- return syncFs.existsSync(candidate);
158
+ return fs.existsSync(candidate);
159
159
  } catch {
160
160
  return false;
161
161
  }
@@ -1,8 +1,8 @@
1
- import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-C6TxBCvO.js";
2
- import { R as normalizeAgentId, j as DEFAULT_AGENT_ID } from "./workspace-BhNk7PBH.js";
1
+ import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-Cvc9EM8Y.js";
2
+ import { R as normalizeAgentId, j as DEFAULT_AGENT_ID } from "./workspace-DKhOowSl.js";
3
3
  import os from "node:os";
4
4
  import path from "node:path";
5
- import syncFs from "node:fs";
5
+ import fs from "node:fs";
6
6
 
7
7
  //#region src/config/sessions/paths.ts
8
8
  function resolveAgentSessionsDir(agentId, env = process.env, homedir = () => resolveRequiredHomeDir(env, os.homedir)) {
@@ -88,7 +88,7 @@ function resolveStructuralSessionFallbackPath(candidateAbsPath, expectedAgentId)
88
88
  }
89
89
  function safeRealpathSync(filePath) {
90
90
  try {
91
- return syncFs.realpathSync(filePath);
91
+ return fs.realpathSync(filePath);
92
92
  } catch {
93
93
  return;
94
94
  }