@termix-it/cryptoclaw 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (410) hide show
  1. package/dist/{accounts-MAwYK1nH.js → accounts-4l7ba973.js} +1 -1
  2. package/dist/{accounts-DHCEvJoG.js → accounts-CAjupeYV.js} +16 -16
  3. package/dist/{accounts-WPSFYBfl.js → accounts-k5nTdi32.js} +1 -1
  4. package/dist/{active-listener-BG3fObzp.js → active-listener-D9FARjMd.js} +1 -1
  5. package/dist/{agents-APWxL0pc.js → agents-BgGWuEM4.js} +4 -4
  6. package/dist/{agents.config-Bt2w0g9g.js → agents.config-CBblmxIJ.js} +1 -1
  7. package/dist/{agents.config-DMNDmQB3.js → agents.config-jlSvPmMw.js} +1 -1
  8. package/dist/{api-key-rotation-BUSngXoA.js → api-key-rotation-C-Q6XdUW.js} +2 -2
  9. package/dist/{audio-preflight-DylHSkVV.js → audio-preflight-C7kt2vOu.js} +33 -33
  10. package/dist/{audio-transcription-runner-D1VfiPMl.js → audio-transcription-runner-CawngPvE.js} +12 -12
  11. package/dist/{audit-membership-runtime-Dg_k-jzY.js → audit-membership-runtime-C6dnIaXJ.js} +5 -5
  12. package/dist/{auth-choice-BU6K1e3k.js → auth-choice-BZof8lFS.js} +1 -1
  13. package/dist/{auth-choice-BteeSZpX.js → auth-choice-Bfddvmj3.js} +1 -1
  14. package/dist/{banner-CzhEeK4U.js → banner-DSSu3MES.js} +1 -1
  15. package/dist/build-info.json +3 -3
  16. package/dist/bundled/boot-md/handler.js +52 -52
  17. package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
  18. package/dist/bundled/command-logger/handler.js +2 -2
  19. package/dist/bundled/session-memory/handler.js +52 -52
  20. package/dist/bundled/soul-evil/handler.js +5 -5
  21. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  22. package/dist/{channel-activity-TwPquwyw.js → channel-activity-Hho38eZq.js} +3 -3
  23. package/dist/{channel-options-3d9AkTzB.js → channel-options-DhT3itUm.js} +1 -1
  24. package/dist/{channel-options-CGZSPHrf.js → channel-options-uwhpiId_.js} +1 -1
  25. package/dist/{channel-web-BOduPOdI.js → channel-web-Dfitllt8.js} +1 -1
  26. package/dist/{channel-web-DJpgzln9.js → channel-web-VY7QYUgs.js} +1 -1
  27. package/dist/{channels-cli-PDKQIDwD.js → channels-cli-BK1fnXeM.js} +7 -7
  28. package/dist/{channels-cli-DUq_ZyYt.js → channels-cli-CHNWup9-.js} +7 -7
  29. package/dist/{chrome-B972B1oO.js → chrome-palWvTtp.js} +18 -18
  30. package/dist/{cli-BSMD-wDs.js → cli-C38DxImL.js} +2 -2
  31. package/dist/{cli-zy3mgZH-.js → cli-Dp2ZovoW.js} +2 -2
  32. package/dist/{command-registry-CiGCHshG.js → command-registry-drCkGuaC.js} +10 -10
  33. package/dist/{commands-registry-C1rzSTeQ.js → commands-registry-A3LstXeY.js} +4 -4
  34. package/dist/{completion-cli-Cv0Vxe6o.js → completion-cli-CKIfUKoG.js} +1 -1
  35. package/dist/{completion-cli-BU4ty_aJ.js → completion-cli-DFqf7UbJ.js} +2 -2
  36. package/dist/{config-cli-BUTfK0hW.js → config-cli-BVu6OUbV.js} +1 -1
  37. package/dist/{config-cli-BxJeEh_0.js → config-cli-CSehjRJE.js} +1 -1
  38. package/dist/{configure-CmJfUSUr.js → configure-BbBLdzt7.js} +3 -3
  39. package/dist/{configure-8lVykYnh.js → configure-TlnrY7sN.js} +3 -3
  40. package/dist/{deliver-CEbU5IBY.js → deliver-JkYjt9Qz.js} +20 -20
  41. package/dist/deliver-runtime-BvTbrDXE.js +37 -0
  42. package/dist/deps-send-discord.runtime-1mqY0Pn3.js +27 -0
  43. package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +26 -0
  44. package/dist/deps-send-signal.runtime-CHqnnRXO.js +25 -0
  45. package/dist/deps-send-slack.runtime-CbGlCNTX.js +23 -0
  46. package/dist/deps-send-telegram.runtime-CgApeKta.js +28 -0
  47. package/dist/deps-send-whatsapp.runtime-BP1TzaH2.js +61 -0
  48. package/dist/{deps-send-whatsapp.runtime-i7Po75u8.js → deps-send-whatsapp.runtime-CbNuccsY.js} +4 -4
  49. package/dist/{deps-send-whatsapp.runtime-DK374NBi.js → deps-send-whatsapp.runtime-D2LQa8La.js} +4 -4
  50. package/dist/{diagnostic-IKfXukdB.js → diagnostic-BGtFj4tU.js} +2 -2
  51. package/dist/{doctor-completion-DlJLi2iR.js → doctor-completion-CuhwQAKf.js} +1 -1
  52. package/dist/{doctor-completion-DE8rQlzx.js → doctor-completion-UIrYmlFZ.js} +1 -1
  53. package/dist/entry.js +2 -2
  54. package/dist/{plugin-sdk/errors-C-TFeu_U.js → errors-C1YF712P.js} +1 -1
  55. package/dist/{fetch-BsFdX4tn.js → fetch-_iocPLV2.js} +5 -5
  56. package/dist/{fetch-guard-4K8g_TXN.js → fetch-guard-CiQUuV0r.js} +2 -2
  57. package/dist/{frontmatter-DHQ0IaHw.js → frontmatter-Dn68lQ_o.js} +3 -3
  58. package/dist/{fs-safe-BwhFB7Uo.js → fs-safe-BLpOReWZ.js} +4 -4
  59. package/dist/{gateway-cli-DBUjNaTU.js → gateway-cli-B_yiYET0.js} +9 -9
  60. package/dist/{gateway-cli-DEdGe0N2.js → gateway-cli-o87wjmXO.js} +9 -9
  61. package/dist/{github-copilot-token-D1RrJx7s.js → github-copilot-token-DDa7O18e.js} +7 -7
  62. package/dist/{health-DmCqZQWS.js → health-BtR5qiQu.js} +1 -1
  63. package/dist/{health-i7BpZK8H.js → health-SohRW0Au.js} +1 -1
  64. package/dist/{hooks-cli-Vt5EnXJy.js → hooks-cli-DA-hMHRE.js} +3 -3
  65. package/dist/{hooks-cli-KpChFv5u.js → hooks-cli-DDbWkzaW.js} +3 -3
  66. package/dist/{image-D9ypE3-q.js → image-BlRI3dXw.js} +6 -6
  67. package/dist/{image-ops-CmuiWrJv.js → image-ops-D7mq-4y1.js} +2 -2
  68. package/dist/image-runtime-Cp3I725X.js +30 -0
  69. package/dist/index.js +7 -7
  70. package/dist/{ir-BgRFz8jI.js → ir-Dpg87zYv.js} +7 -7
  71. package/dist/{legacy-names-7AmQGjQk.js → legacy-names-BAiRv0I2.js} +1 -1
  72. package/dist/llm-slug-generator.js +52 -52
  73. package/dist/{logger-BDDjH6hb.js → logger-C53B395N.js} +1 -1
  74. package/dist/{login-DR9M0Alg.js → login-CHsCISh4.js} +5 -5
  75. package/dist/{login-qr-DhI_GpxA.js → login-qr-BEW3jIOt.js} +11 -11
  76. package/dist/{manager-C80Inv1T.js → manager-Dfrejf6z.js} +13 -13
  77. package/dist/manager-runtime-DacMHR37.js +19 -0
  78. package/dist/{memory-cli-nJ0zujIp.js → memory-cli-1oaIDOW8.js} +2 -2
  79. package/dist/{memory-cli-Cq0_-tR2.js → memory-cli-Bp1To7jm.js} +2 -2
  80. package/dist/{model-selection-CiffIpda.js → model-selection-e9hodq0l.js} +43 -43
  81. package/dist/{models-DFcmwLyd.js → models-BA-4owed.js} +2 -2
  82. package/dist/{models-cli-C3MgmR5P.js → models-cli-CXBkorTt.js} +4 -4
  83. package/dist/{models-cli-BFty3Lf0.js → models-cli-Da9VNU1F.js} +3 -3
  84. package/dist/{npm-resolution-cPvfFeW3.js → npm-resolution-C873xoG-.js} +1 -1
  85. package/dist/{npm-resolution-usPm99nU.js → npm-resolution-DcToGf31.js} +1 -1
  86. package/dist/{onboard-sxX0LKra.js → onboard-CFVZ_tLS.js} +2 -2
  87. package/dist/{onboard-channels-4xKNT1d3.js → onboard-channels-Cji_Bpi5.js} +1 -1
  88. package/dist/{onboard-channels-DNmcc7GV.js → onboard-channels-tfZfzFUy.js} +1 -1
  89. package/dist/{onboard-DEXrIgAj.js → onboard-o4Ax3ce2.js} +2 -2
  90. package/dist/onboard-wallet-CLprx0TL.js +155 -0
  91. package/dist/onboard-wallet-DDau_3R0.js +155 -0
  92. package/dist/{onboarding-DptEa7du.js → onboarding-Bsyy9lQJ.js} +40 -4
  93. package/dist/{onboarding-C-YkK0dn.js → onboarding-Cz-FN3dY.js} +40 -4
  94. package/dist/{onboarding.finalize-B9Xw0YTE.js → onboarding.finalize-4F13C5Cf.js} +7 -7
  95. package/dist/{onboarding.finalize-MzE-hxAw.js → onboarding.finalize-BSHbCEbZ.js} +6 -6
  96. package/dist/{outbound-DRXnhjhO.js → outbound-BZqL8UdJ.js} +6 -6
  97. package/dist/{outbound-attachment-CbQ3_IKf.js → outbound-attachment-wzHGF-Is.js} +2 -2
  98. package/dist/{path-alias-guards-DUWK88Ct.js → path-alias-guards-It4BBRdm.js} +1 -1
  99. package/dist/{paths-B-UhE8oc.js → paths-C6TxBCvO.js} +5 -5
  100. package/dist/{paths-Dxl3r5jd.js → paths-CZ0nrg7g.js} +3 -3
  101. package/dist/{pi-embedded-BC1F5aRs.js → pi-embedded-ChjtsiVT.js} +155 -155
  102. package/dist/{pi-embedded-helpers-DqvEMwsR.js → pi-embedded-helpers-CE9KKP1Q.js} +52 -52
  103. package/dist/{pi-model-discovery-CQgqt_Mv.js → pi-model-discovery-32EFg27L.js} +7 -7
  104. package/dist/pi-model-discovery-runtime-C8SNNnEN.js +12 -0
  105. package/dist/{pi-tools.before-tool-call.runtime-Lfb7FVNU.js → pi-tools.before-tool-call.runtime-BfjlGXIc.js} +10 -10
  106. package/dist/{plugin-registry-1ma_GS_Y.js → plugin-registry-CqaLj5NI.js} +1 -1
  107. package/dist/{plugin-registry-CO3b05zo.js → plugin-registry-CxwuWddJ.js} +1 -1
  108. package/dist/plugin-sdk/{accounts-DAebrX4r.js → accounts-BY3xA55d.js} +3 -3
  109. package/dist/plugin-sdk/{accounts-B9ydKoYC.js → accounts-Bpe8MpMj.js} +2 -2
  110. package/dist/plugin-sdk/{accounts-C1Yf8rUO.js → accounts-BypsQT27.js} +2 -2
  111. package/dist/plugin-sdk/{accounts-BOVsvZ69.js → accounts-C4br4nlZ.js} +3 -3
  112. package/dist/plugin-sdk/{accounts-BkuioOq8.js → accounts-DTNnTWpJ.js} +2 -2
  113. package/dist/plugin-sdk/{accounts-DxlJAHNG.js → accounts-Dg9HUb5m.js} +2 -2
  114. package/dist/plugin-sdk/{active-listener-CYvTJUbv.js → active-listener-B5t82gRU.js} +2 -2
  115. package/dist/plugin-sdk/{active-listener-D7Jidx1U.js → active-listener-kZJwBchj.js} +2 -2
  116. package/dist/plugin-sdk/{api-key-rotation-d8cmHGhi.js → api-key-rotation-BFNdrCf9.js} +2 -2
  117. package/dist/plugin-sdk/{api-key-rotation-CLAvYiCX.js → api-key-rotation-wZaR5O8n.js} +2 -2
  118. package/dist/plugin-sdk/{audio-preflight-B1iVdt7A.js → audio-preflight-B7ivxhvF.js} +26 -26
  119. package/dist/plugin-sdk/{audio-preflight-vJtQi-4_.js → audio-preflight-DOR1d1hn.js} +26 -26
  120. package/dist/plugin-sdk/{audio-transcription-runner-6TQq2i9u.js → audio-transcription-runner-B8OUiy7P.js} +11 -11
  121. package/dist/plugin-sdk/{audio-transcription-runner-Bfv_TVP4.js → audio-transcription-runner-DWncgs4M.js} +11 -11
  122. package/dist/plugin-sdk/{audit-membership-runtime-BpoX61hv.js → audit-membership-runtime-DvBMQsDC.js} +2 -2
  123. package/dist/plugin-sdk/{audit-membership-runtime-DS34hPU6.js → audit-membership-runtime-Re50ULXH.js} +2 -2
  124. package/dist/plugin-sdk/{channel-activity-BcVbdzzf.js → channel-activity-Dx1jbA3a.js} +3 -3
  125. package/dist/plugin-sdk/{channel-activity-1LCR07HU.js → channel-activity-VsWwcNLD.js} +3 -3
  126. package/dist/plugin-sdk/{channel-web-CuX4_OOJ.js → channel-web-BSMnT0J1.js} +18 -18
  127. package/dist/plugin-sdk/{channel-web-CdKEEscn.js → channel-web-BlIQD83I.js} +18 -18
  128. package/dist/plugin-sdk/{chrome-CbDAFNHQ.js → chrome-pOAzXzzJ.js} +6 -6
  129. package/dist/plugin-sdk/{chrome-DifgiNQb.js → chrome-wTqnW5U7.js} +6 -6
  130. package/dist/plugin-sdk/commands/onboard-types.d.ts +6 -0
  131. package/dist/plugin-sdk/{commands-registry-BwfAoL8g.js → commands-registry-BWv4oM2P.js} +4 -4
  132. package/dist/plugin-sdk/{commands-registry-D8gIWgM5.js → commands-registry-pKaQ4EJQ.js} +4 -4
  133. package/dist/plugin-sdk/{common-tbQtS1zp.js → common-BlJfaliy.js} +2 -2
  134. package/dist/plugin-sdk/{config-xkSrCec1.js → config-CURxPU7B.js} +7 -7
  135. package/dist/plugin-sdk/{config-DdConC4M.js → config-cWsVJMRn.js} +7 -7
  136. package/dist/plugin-sdk/{deliver-30LL_FDf.js → deliver-Ba8ti0Um.js} +10 -10
  137. package/dist/plugin-sdk/{deliver-D_Ofr_vN.js → deliver-BpfQj4BK.js} +10 -10
  138. package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +32 -0
  139. package/dist/plugin-sdk/deliver-runtime-Qmy3w63D.js +32 -0
  140. package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +23 -0
  141. package/dist/plugin-sdk/deps-send-discord.runtime-Db6_7ZAc.js +23 -0
  142. package/dist/plugin-sdk/deps-send-imessage.runtime-C_EYS_sH.js +22 -0
  143. package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +22 -0
  144. package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +21 -0
  145. package/dist/plugin-sdk/deps-send-signal.runtime-DK121Bh0.js +21 -0
  146. package/dist/plugin-sdk/deps-send-slack.runtime-AaWSr7fe.js +19 -0
  147. package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +19 -0
  148. package/dist/plugin-sdk/deps-send-telegram.runtime-Dylx-xTp.js +24 -0
  149. package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +24 -0
  150. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BjQGa9z_.js +57 -0
  151. package/dist/plugin-sdk/deps-send-whatsapp.runtime-DhJ30vWr.js +57 -0
  152. package/dist/plugin-sdk/{diagnostic-GjXXC_Pm.js → diagnostic-Bi3FO6Il.js} +2 -2
  153. package/dist/plugin-sdk/{diagnostic-BiLQ5uMU.js → diagnostic-DJkCYiHJ.js} +2 -2
  154. package/dist/plugin-sdk/{errors-Cn3JyiMn.js → errors-B2jpHiod.js} +1 -1
  155. package/dist/{errors-B2Vmqoab.js → plugin-sdk/errors-x0EvNKYN.js} +1 -1
  156. package/dist/plugin-sdk/{fetch-guard-su5BIIz5.js → fetch-guard-B4oIrtQU.js} +2 -2
  157. package/dist/plugin-sdk/{fetch-guard-ClYTU8LW.js → fetch-guard-d5MU-Fi7.js} +2 -2
  158. package/dist/plugin-sdk/{fs-safe-B0eWdlGT.js → fs-safe-BGLuaVDw.js} +3 -3
  159. package/dist/plugin-sdk/{fs-safe-Bs9BHEmp.js → fs-safe-D57cyrSh.js} +3 -3
  160. package/dist/plugin-sdk/{image-BHgCDBaW.js → image-D9cX-W4_.js} +6 -6
  161. package/dist/plugin-sdk/{image-_uAwPFe2.js → image-DWnmWvGr.js} +6 -6
  162. package/dist/plugin-sdk/{image-ops-CsS12Rhg.js → image-ops-BPP3M0yA.js} +2 -2
  163. package/dist/plugin-sdk/{image-ops-D5EPN96N.js → image-ops-N60pMFiM.js} +2 -2
  164. package/dist/plugin-sdk/image-runtime-BBiuMz7E.js +25 -0
  165. package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +25 -0
  166. package/dist/plugin-sdk/index.js +50 -50
  167. package/dist/plugin-sdk/{ir-DvWncgWp.js → ir-A16Z9dUw.js} +7 -7
  168. package/dist/plugin-sdk/{ir-BVqIWdpl.js → ir-DvNCG3HQ.js} +7 -7
  169. package/dist/plugin-sdk/{local-roots-Bh7FKHd2.js → local-roots-BQJNDffC.js} +4 -4
  170. package/dist/plugin-sdk/{local-roots-CCfvGuoX.js → local-roots-DJr1PN3z.js} +4 -4
  171. package/dist/plugin-sdk/{logger-Dj4IX2UB.js → logger-Bl138Nx7.js} +2 -2
  172. package/dist/plugin-sdk/{logger-z1vqlUc1.js → logger-COmHOvdm.js} +2 -2
  173. package/dist/plugin-sdk/{login-1hsZj0g8.js → login-CoU-pP8D.js} +4 -4
  174. package/dist/plugin-sdk/{login-CYqSEzPN.js → login-DXLuzgCO.js} +4 -4
  175. package/dist/plugin-sdk/{login-qr-CXXXR_1G.js → login-qr-DdTcNEXK.js} +5 -5
  176. package/dist/plugin-sdk/{login-qr-mIn4oSE6.js → login-qr-wRFAAkU1.js} +5 -5
  177. package/dist/plugin-sdk/{manager-CKCJdSeL.js → manager-BlnM_iwm.js} +8 -8
  178. package/dist/plugin-sdk/{manager-Dj-hy8oN.js → manager-ClrE1ahD.js} +8 -8
  179. package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +15 -0
  180. package/dist/plugin-sdk/manager-runtime-Ccj_7Z0c.js +15 -0
  181. package/dist/plugin-sdk/{outbound-DVpHFwMf.js → outbound-Cw6160wa.js} +5 -5
  182. package/dist/plugin-sdk/{outbound-attachment-Aa86Zp9X.js → outbound-attachment-C1GuoigP.js} +2 -2
  183. package/dist/plugin-sdk/{outbound-attachment-DXCuJPzV.js → outbound-attachment-DWhUVfia.js} +2 -2
  184. package/dist/plugin-sdk/{outbound-IhJ6xLv1.js → outbound-wmFCJQyk.js} +5 -5
  185. package/dist/plugin-sdk/{path-alias-guards-Ddj-jk91.js → path-alias-guards-Bsi-4XND.js} +1 -1
  186. package/dist/plugin-sdk/{path-alias-guards-CtnE1WrY.js → path-alias-guards-Ck7kqOtM.js} +1 -1
  187. package/dist/plugin-sdk/{paths-MqZfQzk4.js → paths-C_3UIAbs.js} +1 -1
  188. package/dist/plugin-sdk/{paths-Mew07RGP.js → paths-Cb2hB2o0.js} +1 -1
  189. package/dist/plugin-sdk/{pi-embedded-helpers-De-tYNO5.js → pi-embedded-helpers-3l1dRoEY.js} +16 -16
  190. package/dist/plugin-sdk/{pi-embedded-helpers-B_iabXhh.js → pi-embedded-helpers-VYetsWcU.js} +16 -16
  191. package/dist/plugin-sdk/{pi-model-discovery-CmWdgrld.js → pi-model-discovery-Bi4ewLKb.js} +1 -1
  192. package/dist/plugin-sdk/{pi-model-discovery-avPx6Ptq.js → pi-model-discovery-Bs1t1vHG.js} +1 -1
  193. package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +8 -0
  194. package/dist/plugin-sdk/pi-model-discovery-runtime-jmgr21i6.js +8 -0
  195. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-dixwOhKo.js → pi-tools.before-tool-call.runtime-133Rh_QB.js} +4 -4
  196. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DZs_C8RL.js → pi-tools.before-tool-call.runtime-DJbnwybV.js} +4 -4
  197. package/dist/plugin-sdk/{plugins-WDZLdw8Z.js → plugins-A3lJ2lkT.js} +4 -4
  198. package/dist/plugin-sdk/{plugins-Df9rHggh.js → plugins-Bm4rp8IX.js} +4 -4
  199. package/dist/plugin-sdk/{proxy-env-DKQK-fn1.js → proxy-env-DnjPLipe.js} +1 -1
  200. package/dist/plugin-sdk/{proxy-fetch-rtc8GmoB.js → proxy-fetch-BZAtM2fT.js} +1 -1
  201. package/dist/{proxy-fetch-DJI7qbLV.js → plugin-sdk/proxy-fetch-C-fXKPD2.js} +1 -1
  202. package/dist/plugin-sdk/{pw-ai-eYJyyMZX.js → pw-ai-BhB6bXtS.js} +9 -9
  203. package/dist/plugin-sdk/{pw-ai-BcFVaXMO.js → pw-ai-CslJ6u1B.js} +9 -9
  204. package/dist/plugin-sdk/{qmd-manager-CgAY74JQ.js → qmd-manager-BV37X-4s.js} +7 -7
  205. package/dist/plugin-sdk/{qmd-manager-mWoTdSFY.js → qmd-manager-CmGPY3vR.js} +7 -7
  206. package/dist/plugin-sdk/{query-expansion-4V3Vjs8V.js → query-expansion-B7JBWi3Y.js} +5 -5
  207. package/dist/plugin-sdk/{query-expansion-X3iK3wW4.js → query-expansion-oxEhEDk_.js} +5 -5
  208. package/dist/plugin-sdk/{redact-CBwV828t.js → redact-C3rEm8A0.js} +1 -1
  209. package/dist/plugin-sdk/{redact-DIGZ7dEc.js → redact-DZTeCKgA.js} +1 -1
  210. package/dist/plugin-sdk/{reply-C7BzXVHh.js → reply-DIkRSlhC.js} +73 -73
  211. package/dist/plugin-sdk/{reply-D1vqXg5h.js → reply-DTRgf1F0.js} +73 -73
  212. package/dist/plugin-sdk/{resolve-outbound-target--JkNiVR3.js → resolve-outbound-target-8WMGshxA.js} +2 -2
  213. package/dist/plugin-sdk/{resolve-outbound-target-Dk3UdF5C.js → resolve-outbound-target-K2KiC0bi.js} +2 -2
  214. package/dist/plugin-sdk/{run-with-concurrency-CAg6hblr.js → run-with-concurrency-CbyBbGss.js} +1 -1
  215. package/dist/plugin-sdk/{run-with-concurrency-KlQQobSI.js → run-with-concurrency-FfGqq3TC.js} +1 -1
  216. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +10 -0
  217. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-_T4-3_NI.js +10 -0
  218. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +19 -0
  219. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DDvDCva6.js +19 -0
  220. package/dist/plugin-sdk/{send-CG8TGQTM.js → send-70p3gkTA.js} +7 -7
  221. package/dist/plugin-sdk/{send-BTWIW3-9.js → send-C5J_PXzR.js} +8 -8
  222. package/dist/plugin-sdk/{send-BfMo4yKi.js → send-CnZwc5Xm.js} +13 -13
  223. package/dist/plugin-sdk/{send-wEJ-5g9f.js → send-CqaHDOLs.js} +6 -6
  224. package/dist/plugin-sdk/{send-BR0ocVRg.js → send-DAZltiIW.js} +8 -8
  225. package/dist/plugin-sdk/{send-BosYVCS8.js → send-DGJpvm7n.js} +5 -5
  226. package/dist/plugin-sdk/{send-C1N0kX50.js → send-DbUkzyXv.js} +7 -7
  227. package/dist/plugin-sdk/{send-DyAZa1y0.js → send-DbhdUm2I.js} +6 -6
  228. package/dist/plugin-sdk/{send-CSJIozmo.js → send-DdNdK-kV.js} +5 -5
  229. package/dist/plugin-sdk/{send-D50Hdj7y.js → send-DjqI2JpQ.js} +13 -13
  230. package/dist/plugin-sdk/{session-CDTFGpPr.js → session-BBm3qP5l.js} +3 -3
  231. package/dist/plugin-sdk/{session-xR2DLzse.js → session-Cpth1H2A.js} +3 -3
  232. package/dist/plugin-sdk/{skill-commands-X5RX1jW3.js → skill-commands-B_tuCFSd.js} +4 -4
  233. package/dist/plugin-sdk/{skill-commands-DHOHDbOQ.js → skill-commands-X5gpohJ1.js} +4 -4
  234. package/dist/plugin-sdk/{skills-v1KdkGto.js → skills-BG1gHeJ_.js} +6 -6
  235. package/dist/plugin-sdk/{skills-LpJmo0DO.js → skills-s-HEpPkh.js} +6 -6
  236. package/dist/plugin-sdk/slash-commands.runtime-BoVuWmR3.js +13 -0
  237. package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +13 -0
  238. package/dist/plugin-sdk/slash-dispatch.runtime-BHeslQ9I.js +52 -0
  239. package/dist/plugin-sdk/slash-dispatch.runtime-CbjjpN46.js +52 -0
  240. package/dist/plugin-sdk/slash-skill-commands.runtime-CyuOIQN-.js +16 -0
  241. package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +16 -0
  242. package/dist/plugin-sdk/{ssrf-Ctw5peX0.js → ssrf-BlFOb1TL.js} +1 -1
  243. package/dist/plugin-sdk/{store-DtdqEbDW.js → store-C3Z3fpIY.js} +2 -2
  244. package/dist/plugin-sdk/{store-BECFHajU.js → store-DuNHlb8J.js} +2 -2
  245. package/dist/plugin-sdk/subagent-registry-runtime-DuCu4ZTF.js +52 -0
  246. package/dist/plugin-sdk/subagent-registry-runtime-TPnV-Feh.js +52 -0
  247. package/dist/plugin-sdk/{tables-D5d9mqkg.js → tables-BfXi9ML_.js} +1 -1
  248. package/dist/plugin-sdk/{tables-BGPXRfUo.js → tables-DBVdEzq2.js} +1 -1
  249. package/dist/{target-errors-KgDT2gLA.js → plugin-sdk/target-errors-CX2np2l6.js} +2 -2
  250. package/dist/plugin-sdk/{thinking-DwXFSbD_.js → thinking-B9UJvomD.js} +7 -7
  251. package/dist/plugin-sdk/{thinking-CCdKzGau.js → thinking-J6jgjmDK.js} +7 -7
  252. package/dist/plugin-sdk/{tokens-DuRErjk3.js → tokens-DMbd3-Ct.js} +1 -1
  253. package/dist/plugin-sdk/{tokens-D2fpVQt3.js → tokens-XT-8y62w.js} +1 -1
  254. package/dist/plugin-sdk/{tool-images-6BfTarJB.js → tool-images-BtzvC48Z.js} +2 -2
  255. package/dist/plugin-sdk/{tool-images-B4KNq2sg.js → tool-images-CJ10KuSq.js} +2 -2
  256. package/dist/plugin-sdk/web-Bkz8JTNB.js +56 -0
  257. package/dist/plugin-sdk/web-CpeWfvaf.js +56 -0
  258. package/dist/plugin-sdk/{whatsapp-actions-Bi_hJ-Cq.js → whatsapp-actions-C4kVobIE.js} +17 -17
  259. package/dist/plugin-sdk/{whatsapp-actions-k9k_HQg1.js → whatsapp-actions-CgqENBb8.js} +17 -17
  260. package/dist/plugin-sdk/whatsapp.js +50 -50
  261. package/dist/{plugins-cli-DESM1g9H.js → plugins-cli-BOBhi6vj.js} +3 -3
  262. package/dist/{plugins-cli-Cz8qjGa-.js → plugins-cli-Ypib_ZAu.js} +3 -3
  263. package/dist/{plugins-XniO7sfQ.js → plugins-rc2l4VJe.js} +10 -10
  264. package/dist/{program-DIVcGZoY.js → program-Dtqm2kjE.js} +8 -8
  265. package/dist/{program-context-B8SH5Pdl.js → program-context-CG5ZBc7f.js} +18 -18
  266. package/dist/{prompt-select-styled-DYBmMpLB.js → prompt-select-styled-BkE7GW3g.js} +5 -5
  267. package/dist/{prompt-select-styled-Db3jekFt.js → prompt-select-styled-Bubswkcm.js} +5 -5
  268. package/dist/{provider-auth-helpers-DLAG-xEH.js → provider-auth-helpers-BOJRr3AT.js} +1 -1
  269. package/dist/{provider-auth-helpers-CMYpEEfK.js → provider-auth-helpers-CNHiPj2n.js} +1 -1
  270. package/dist/{proxy-env-DmWlGLBC.js → proxy-env-C2sbN0UU.js} +1 -1
  271. package/dist/{plugin-sdk/proxy-fetch-DxlXp4Yi.js → proxy-fetch-CVSmQMZt.js} +1 -1
  272. package/dist/{push-apns-BYE8LhKX.js → push-apns-CFoFAonc.js} +1 -1
  273. package/dist/{push-apns-buHXMlvp.js → push-apns-D2WXZjcs.js} +1 -1
  274. package/dist/{pw-ai-B80S9aX7.js → pw-ai-CWE0qzH7.js} +15 -15
  275. package/dist/{qmd-manager-BR3hqTPz.js → qmd-manager-DMSLC2iu.js} +11 -11
  276. package/dist/{query-expansion-BqeYg_KB.js → query-expansion-MI1dZ5Nj.js} +6 -6
  277. package/dist/{redact-DXxcO2ch.js → redact-BXURioma.js} +1 -1
  278. package/dist/{register.agent-DqLkvzup.js → register.agent-Br-Y4UQG.js} +7 -7
  279. package/dist/{register.agent-CSLJ1ral.js → register.agent-Das6WI06.js} +8 -8
  280. package/dist/{register.configure-BeUMP8qR.js → register.configure-B1KDSNt2.js} +8 -8
  281. package/dist/{register.configure-CR5sLkM9.js → register.configure-C51htKDs.js} +8 -8
  282. package/dist/{register.maintenance-Yz7iswBq.js → register.maintenance-BBn-yNR7.js} +9 -9
  283. package/dist/{register.maintenance-VlJQxEQj.js → register.maintenance-CHq5H-j0.js} +8 -8
  284. package/dist/{register.message-BYhbFha9.js → register.message-Cx0R9D0q.js} +3 -3
  285. package/dist/{register.message-BHNP-sXn.js → register.message-nwyAqXBm.js} +3 -3
  286. package/dist/{register.onboard-CO75d40a.js → register.onboard-CSOzERS8.js} +2 -2
  287. package/dist/{register.onboard-CLvU1m-R.js → register.onboard-D9-seugA.js} +2 -2
  288. package/dist/{register.setup-8aW6IV4r.js → register.setup-B0ALWgJA.js} +2 -2
  289. package/dist/{register.setup-Bne4coEf.js → register.setup-Zu2ZL_xV.js} +2 -2
  290. package/dist/{register.status-health-sessions-BDA0wZvj.js → register.status-health-sessions-Bo1NWHTF.js} +4 -4
  291. package/dist/{register.status-health-sessions-DqaespPp.js → register.status-health-sessions-CU2aw4Hn.js} +4 -4
  292. package/dist/{register.subclis-SsmPAU6K.js → register.subclis-BY6T1GZv.js} +9 -9
  293. package/dist/{reply-BEwkR4yo.js → reply-BqhnZbqb.js} +18 -18
  294. package/dist/{run-main-NWS9VlVz.js → run-main-CHV8CYwf.js} +16 -16
  295. package/dist/{run-with-concurrency-BO2phtXO.js → run-with-concurrency-C5E9gJhP.js} +4 -4
  296. package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +14 -0
  297. package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +23 -0
  298. package/dist/{send-BTfv7AaM.js → send-BWySsurX.js} +7 -7
  299. package/dist/{send-BvcR90t7.js → send-BlTVCcYd.js} +25 -25
  300. package/dist/{send-Cz5Fxy-m.js → send-C87tIqIn.js} +7 -7
  301. package/dist/{send-8gHRezMM.js → send-Cpja8Q1N.js} +5 -5
  302. package/dist/{send-tnPEkJiG.js → send-OP60RbsK.js} +6 -6
  303. package/dist/{server-node-events-DpJU4SdG.js → server-node-events-Cl_g7u2c.js} +3 -3
  304. package/dist/{server-node-events-Bzjy1Xtj.js → server-node-events-bMD7s7bO.js} +3 -3
  305. package/dist/{session-B7285vs2.js → session-DmXsj3JD.js} +8 -8
  306. package/dist/{skill-commands-CyPSgHR1.js → skill-commands-DEsgUSH3.js} +9 -9
  307. package/dist/{skills-BItCBgHn.js → skills-OklkZyI1.js} +22 -22
  308. package/dist/slash-commands.runtime-gtQnheWz.js +17 -0
  309. package/dist/{slash-dispatch.runtime-D-oMjxcP.js → slash-dispatch.runtime-CDbTI8Zn.js} +2 -2
  310. package/dist/slash-dispatch.runtime-DHv-RY9C.js +57 -0
  311. package/dist/{slash-dispatch.runtime-DV907pxr.js → slash-dispatch.runtime-Dfs5wcag.js} +2 -2
  312. package/dist/slash-skill-commands.runtime-CA_oN4df.js +21 -0
  313. package/dist/{status-EvCGTkQn.js → status-C-0bju9A.js} +3 -3
  314. package/dist/{status-CBPmJLfb.js → status-Cs4ozAdx.js} +3 -3
  315. package/dist/{store-D6UDEQAm.js → store-BNhebBGr.js} +2 -2
  316. package/dist/{subagent-registry-DQ-U47U4.js → subagent-registry-iFkFgxIF.js} +18 -18
  317. package/dist/subagent-registry-runtime-CcyMwoU6.js +57 -0
  318. package/dist/{subagent-registry-runtime-Bgf5dXIu.js → subagent-registry-runtime-CeOQQxea.js} +2 -2
  319. package/dist/{subagent-registry-runtime-CWBUvwv6.js → subagent-registry-runtime-Cgw6YwfZ.js} +2 -2
  320. package/dist/{subsystem-D0TuaxQo.js → subsystem-W834z9Wa.js} +14 -14
  321. package/dist/{tables-CSZ8Vmrh.js → tables-XtcH-BaF.js} +1 -1
  322. package/dist/{plugin-sdk/target-errors-EppfnloD.js → target-errors-CNzteBWz.js} +2 -2
  323. package/dist/{thinking-D3IkjILB.js → thinking-X8yYhVf1.js} +6 -6
  324. package/dist/{tokens-B5sJjWxn.js → tokens-DxcVnNVJ.js} +1 -1
  325. package/dist/{tool-images-C6sn5gPw.js → tool-images-B-4ixjYn.js} +2 -2
  326. package/dist/{update-cli-D70Tpv2p.js → update-cli-07BoVV9o.js} +8 -8
  327. package/dist/{update-cli-B2twzUzo.js → update-cli-DvX9flwT.js} +9 -9
  328. package/dist/{update-runner-CFH1vAet.js → update-runner-DPJDvGzk.js} +1 -1
  329. package/dist/{update-runner-BQjJqa5Z.js → update-runner-RtYc0wSW.js} +1 -1
  330. package/dist/{utils-VpQxx_Ci.js → utils-D2oM4XHm.js} +7 -7
  331. package/dist/{web-B9akwZ9Q.js → web-AlAsgosE.js} +56 -56
  332. package/dist/{web-BV88abgj.js → web-CnqADWPs.js} +3 -3
  333. package/dist/{web-C9_Z0znV.js → web-UlvsjtC9.js} +3 -3
  334. package/dist/{whatsapp-actions-DsMWjVmg.js → whatsapp-actions-BPIXiPAR.js} +22 -22
  335. package/dist/{workspace-C7j8mMYc.js → workspace-ZgWjBCAm.js} +21 -21
  336. package/package.json +1 -1
  337. package/dist/deliver-runtime-2oTfiQBW.js +0 -37
  338. package/dist/deps-send-discord.runtime-CaqCAqcE.js +0 -27
  339. package/dist/deps-send-imessage.runtime-B4SfcBtt.js +0 -26
  340. package/dist/deps-send-signal.runtime-C4COTtrG.js +0 -25
  341. package/dist/deps-send-slack.runtime-B_4hwea9.js +0 -23
  342. package/dist/deps-send-telegram.runtime-MuUJFk12.js +0 -28
  343. package/dist/deps-send-whatsapp.runtime-DoXnqRdU.js +0 -61
  344. package/dist/image-runtime-DWl2_x74.js +0 -30
  345. package/dist/manager-runtime-CZv0ALL_.js +0 -19
  346. package/dist/pi-model-discovery-runtime-D4Jl2mQE.js +0 -12
  347. package/dist/plugin-sdk/deliver-runtime-BzekNyDR.js +0 -32
  348. package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +0 -32
  349. package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +0 -23
  350. package/dist/plugin-sdk/deps-send-discord.runtime-DAQdyr0A.js +0 -23
  351. package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +0 -22
  352. package/dist/plugin-sdk/deps-send-imessage.runtime-DeN3xqBZ.js +0 -22
  353. package/dist/plugin-sdk/deps-send-signal.runtime-BzOTNsH2.js +0 -21
  354. package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +0 -21
  355. package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +0 -19
  356. package/dist/plugin-sdk/deps-send-slack.runtime-RJ6do6c_.js +0 -19
  357. package/dist/plugin-sdk/deps-send-telegram.runtime-CT8fXkjj.js +0 -24
  358. package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +0 -24
  359. package/dist/plugin-sdk/deps-send-whatsapp.runtime-DtH6rXyR.js +0 -57
  360. package/dist/plugin-sdk/deps-send-whatsapp.runtime-MsowpjAX.js +0 -57
  361. package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +0 -25
  362. package/dist/plugin-sdk/image-runtime-usFQghD_.js +0 -25
  363. package/dist/plugin-sdk/manager-runtime-C8E7uQRc.js +0 -15
  364. package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +0 -15
  365. package/dist/plugin-sdk/pi-model-discovery-runtime-BInvqyx7.js +0 -8
  366. package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +0 -8
  367. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +0 -10
  368. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-VulSN6Vo.js +0 -10
  369. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +0 -19
  370. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-KEv7zH3k.js +0 -19
  371. package/dist/plugin-sdk/slash-commands.runtime-Bh4gVuZZ.js +0 -13
  372. package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +0 -13
  373. package/dist/plugin-sdk/slash-dispatch.runtime-B8aJMkx9.js +0 -52
  374. package/dist/plugin-sdk/slash-dispatch.runtime-D6UTc-X3.js +0 -52
  375. package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +0 -16
  376. package/dist/plugin-sdk/slash-skill-commands.runtime-ztQcIAHF.js +0 -16
  377. package/dist/plugin-sdk/subagent-registry-runtime-C7Bju4fL.js +0 -52
  378. package/dist/plugin-sdk/subagent-registry-runtime-DtV745_q.js +0 -52
  379. package/dist/plugin-sdk/web-CEmcQCvf.js +0 -56
  380. package/dist/plugin-sdk/web-Dzy-Gyjd.js +0 -56
  381. package/dist/runtime-whatsapp-login.runtime-DknvIgQ9.js +0 -14
  382. package/dist/runtime-whatsapp-outbound.runtime-DzQVWw3U.js +0 -23
  383. package/dist/slash-commands.runtime-B5euYv9Q.js +0 -17
  384. package/dist/slash-dispatch.runtime-DXuZn9JV.js +0 -57
  385. package/dist/slash-skill-commands.runtime-DA20IzN7.js +0 -21
  386. package/dist/subagent-registry-runtime-BmI0Wvlh.js +0 -57
  387. /package/dist/{audio-preflight-BQV5cOlH.js → audio-preflight-BxFoXiPf.js} +0 -0
  388. /package/dist/{audio-preflight-EJ5SUJjd.js → audio-preflight-C4yq6ssq.js} +0 -0
  389. /package/dist/{audit-membership-runtime-D6qEVnNT.js → audit-membership-runtime-BG4WxIDH.js} +0 -0
  390. /package/dist/{audit-membership-runtime-pFLxEf5B.js → audit-membership-runtime-oo2DbgFW.js} +0 -0
  391. /package/dist/{deliver-runtime-GAi5480M.js → deliver-runtime-FL5_bhMe.js} +0 -0
  392. /package/dist/{deliver-runtime-C0OsjAj3.js → deliver-runtime-_L6Rv_7K.js} +0 -0
  393. /package/dist/{image-runtime-GVOBL24v.js → image-runtime-BeGeHH2O.js} +0 -0
  394. /package/dist/{image-runtime-Dx3-W2jp.js → image-runtime-Dny90w7z.js} +0 -0
  395. /package/dist/{login-qr-Bhg7XHZS.js → login-qr-BJCPbTFZ.js} +0 -0
  396. /package/dist/{login-qr-DuB0o4UM.js → login-qr-BohDxqgQ.js} +0 -0
  397. /package/dist/{manager-runtime-B6yWy31j.js → manager-runtime-BxaiDdDE.js} +0 -0
  398. /package/dist/{manager-runtime-DktmlE7-.js → manager-runtime-CIBcyjkJ.js} +0 -0
  399. /package/dist/{onboarding.gateway-config-tOUlSE0m.js → onboarding.gateway-config-BuC8nL_c.js} +0 -0
  400. /package/dist/{onboarding.gateway-config-CNrA9RiE.js → onboarding.gateway-config-CkT0qEDp.js} +0 -0
  401. /package/dist/{qmd-manager-DWrfS3aI.js → qmd-manager-BFT1h2hM.js} +0 -0
  402. /package/dist/{qmd-manager-DLmPp6Ml.js → qmd-manager-Q-iay5w2.js} +0 -0
  403. /package/dist/{runtime-whatsapp-login.runtime-D2RKecOQ.js → runtime-whatsapp-login.runtime-BoLTF-OO.js} +0 -0
  404. /package/dist/{runtime-whatsapp-login.runtime-pz7c55zj.js → runtime-whatsapp-login.runtime-DrtfK3ru.js} +0 -0
  405. /package/dist/{runtime-whatsapp-outbound.runtime-DPUew4QY.js → runtime-whatsapp-outbound.runtime-BWC6-uWe.js} +0 -0
  406. /package/dist/{runtime-whatsapp-outbound.runtime-DGm8MDjj.js → runtime-whatsapp-outbound.runtime-CQSrwbqD.js} +0 -0
  407. /package/dist/{slash-commands.runtime-CA221qL2.js → slash-commands.runtime-Chf-kE5X.js} +0 -0
  408. /package/dist/{slash-commands.runtime-XLelltUi.js → slash-commands.runtime-iH5_VNlE.js} +0 -0
  409. /package/dist/{slash-skill-commands.runtime--KJswwTl.js → slash-skill-commands.runtime-BJJnGhEx.js} +0 -0
  410. /package/dist/{slash-skill-commands.runtime-CMYgi1_t.js → slash-skill-commands.runtime-DQz7oU7j.js} +0 -0
@@ -1,18 +1,18 @@
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-BO2phtXO.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-B-UhE8oc.js";
4
- import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-D0TuaxQo.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-C5E9gJhP.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
5
  import { _ as isBlockedObjectKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DgdmD4k7.js";
6
- import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir, y as sleep } from "./utils-VpQxx_Ci.js";
7
- import { O as isPathInside$2, _ as runExec, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-C7j8mMYc.js";
8
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D1RrJx7s.js";
9
- import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-7AmQGjQk.js";
6
+ import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir, y as sleep } from "./utils-D2oM4XHm.js";
7
+ import { O as isPathInside$2, _ as runExec, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-ZgWjBCAm.js";
8
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DDa7O18e.js";
9
+ import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-BAiRv0I2.js";
10
10
  import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
11
11
  import { createRequire } from "node:module";
12
12
  import fs from "node:fs/promises";
13
13
  import os from "node:os";
14
14
  import path from "node:path";
15
- import fsSync from "node:fs";
15
+ import syncFs from "node:fs";
16
16
  import JSON5 from "json5";
17
17
  import { isDeepStrictEqual } from "node:util";
18
18
  import { execFileSync, spawn } from "node:child_process";
@@ -323,7 +323,7 @@ function isValidPid(pid) {
323
323
  function isZombieProcess(pid) {
324
324
  if (process.platform !== "linux") return false;
325
325
  try {
326
- return fsSync.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
326
+ return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
327
327
  } catch {
328
328
  return false;
329
329
  }
@@ -350,7 +350,7 @@ function getProcessStartTime(pid) {
350
350
  if (process.platform !== "linux") return null;
351
351
  if (!isValidPid(pid)) return null;
352
352
  try {
353
- const stat = fsSync.readFileSync(`/proc/${pid}/stat`, "utf8");
353
+ const stat = syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
354
354
  const commEndIndex = stat.lastIndexOf(")");
355
355
  if (commEndIndex < 0) return null;
356
356
  const fields = stat.slice(commEndIndex + 1).trimStart().split(/\s+/);
@@ -619,7 +619,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
619
619
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
620
620
  }
621
621
  function ensureAuthStoreFile(pathname) {
622
- if (fsSync.existsSync(pathname)) return;
622
+ if (syncFs.existsSync(pathname)) return;
623
623
  saveJsonFile(pathname, {
624
624
  version: AUTH_STORE_VERSION,
625
625
  profiles: {}
@@ -881,7 +881,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
881
881
  if (shouldWrite && legacy !== null) {
882
882
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
883
883
  try {
884
- fsSync.unlinkSync(legacyPath);
884
+ syncFs.unlinkSync(legacyPath);
885
885
  } catch (err) {
886
886
  if (err?.code !== "ENOENT") log$8.warn("failed to delete legacy auth.json after migration", {
887
887
  err,
@@ -1069,7 +1069,7 @@ function loadDotEnv(opts) {
1069
1069
  const quiet = opts?.quiet ?? true;
1070
1070
  dotenv.config({ quiet });
1071
1071
  const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
1072
- if (!fsSync.existsSync(globalEnvPath)) return;
1072
+ if (!syncFs.existsSync(globalEnvPath)) return;
1073
1073
  dotenv.config({
1074
1074
  quiet,
1075
1075
  path: globalEnvPath,
@@ -1199,7 +1199,7 @@ function resolveTimeoutMs(timeoutMs) {
1199
1199
  function readEtcShells() {
1200
1200
  if (cachedEtcShells !== void 0) return cachedEtcShells;
1201
1201
  try {
1202
- const entries = fsSync.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1202
+ const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1203
1203
  cachedEtcShells = new Set(entries);
1204
1204
  } catch {
1205
1205
  cachedEtcShells = null;
@@ -1676,7 +1676,7 @@ function resolveActiveTalkProviderConfig(talk) {
1676
1676
  };
1677
1677
  }
1678
1678
  function readTalkApiKeyFromProfile(deps = {}) {
1679
- const fsImpl = deps.fs ?? fsSync;
1679
+ const fsImpl = deps.fs ?? syncFs;
1680
1680
  const osImpl = deps.os ?? os;
1681
1681
  const pathImpl = deps.path ?? path;
1682
1682
  const home = osImpl.homedir();
@@ -2312,7 +2312,7 @@ function isPathInside$1(basePath, candidatePath) {
2312
2312
  }
2313
2313
  function safeRealpathSync$1(filePath) {
2314
2314
  try {
2315
- return fsSync.realpathSync(filePath);
2315
+ return syncFs.realpathSync(filePath);
2316
2316
  } catch {
2317
2317
  return null;
2318
2318
  }
@@ -2422,7 +2422,7 @@ var IncludeProcessor = class IncludeProcessor {
2422
2422
  const normalized = path.normalize(resolved);
2423
2423
  if (!isPathInside$1(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
2424
2424
  try {
2425
- const real = fsSync.realpathSync(normalized);
2425
+ const real = syncFs.realpathSync(normalized);
2426
2426
  if (!isPathInside$1(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
2427
2427
  } catch (err) {
2428
2428
  if (err instanceof ConfigIncludeError) throw err;
@@ -2464,13 +2464,13 @@ var IncludeProcessor = class IncludeProcessor {
2464
2464
  };
2465
2465
  function safeRealpath(target) {
2466
2466
  try {
2467
- return fsSync.realpathSync(target);
2467
+ return syncFs.realpathSync(target);
2468
2468
  } catch {
2469
2469
  return target;
2470
2470
  }
2471
2471
  }
2472
2472
  function readConfigIncludeFileWithGuards(params) {
2473
- const ioFs = params.ioFs ?? fsSync;
2473
+ const ioFs = params.ioFs ?? syncFs;
2474
2474
  const maxBytes = params.maxBytes ?? MAX_INCLUDE_FILE_BYTES;
2475
2475
  if (!canUseBoundaryFileOpen(ioFs)) return ioFs.readFileSync(params.resolvedPath, "utf-8");
2476
2476
  const opened = openBoundaryFileSync({
@@ -2493,7 +2493,7 @@ function readConfigIncludeFileWithGuards(params) {
2493
2493
  }
2494
2494
  }
2495
2495
  const defaultResolver = {
2496
- readFile: (p) => fsSync.readFileSync(p, "utf-8"),
2496
+ readFile: (p) => syncFs.readFileSync(p, "utf-8"),
2497
2497
  readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
2498
2498
  includePath,
2499
2499
  resolvedPath,
@@ -4146,7 +4146,7 @@ function normalizeMatchTarget(value) {
4146
4146
  }
4147
4147
  function tryRealpath(value) {
4148
4148
  try {
4149
- return fsSync.realpathSync(value);
4149
+ return syncFs.realpathSync(value);
4150
4150
  } catch {
4151
4151
  return null;
4152
4152
  }
@@ -4699,8 +4699,8 @@ function resolveWindowsExecutableExtensions(executable, env) {
4699
4699
  }
4700
4700
  function isExecutableFile(filePath) {
4701
4701
  try {
4702
- if (!fsSync.statSync(filePath).isFile()) return false;
4703
- if (process.platform !== "win32") fsSync.accessSync(filePath, fsSync.constants.X_OK);
4702
+ if (!syncFs.statSync(filePath).isFile()) return false;
4703
+ if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
4704
4704
  return true;
4705
4705
  } catch {
4706
4706
  return false;
@@ -4739,7 +4739,7 @@ const DEFAULT_SAFE_BINS = [
4739
4739
  function tryResolveRealpath(filePath) {
4740
4740
  if (!filePath) return;
4741
4741
  try {
4742
- return fsSync.realpathSync(filePath);
4742
+ return syncFs.realpathSync(filePath);
4743
4743
  } catch {
4744
4744
  return;
4745
4745
  }
@@ -5614,7 +5614,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
5614
5614
  for (const dir of resolved) {
5615
5615
  let stat;
5616
5616
  try {
5617
- stat = fsSync.statSync(dir);
5617
+ stat = syncFs.statSync(dir);
5618
5618
  } catch {
5619
5619
  continue;
5620
5620
  }
@@ -6683,13 +6683,13 @@ function resolveBundledPluginsDir() {
6683
6683
  try {
6684
6684
  const execDir = path.dirname(process.execPath);
6685
6685
  const sibling = path.join(execDir, "extensions");
6686
- if (fsSync.existsSync(sibling)) return sibling;
6686
+ if (syncFs.existsSync(sibling)) return sibling;
6687
6687
  } catch {}
6688
6688
  try {
6689
6689
  let cursor = path.dirname(fileURLToPath(import.meta.url));
6690
6690
  for (let i = 0; i < 6; i += 1) {
6691
6691
  const candidate = path.join(cursor, "extensions");
6692
- if (fsSync.existsSync(candidate)) return candidate;
6692
+ if (syncFs.existsSync(candidate)) return candidate;
6693
6693
  const parent = path.dirname(cursor);
6694
6694
  if (parent === cursor) break;
6695
6695
  cursor = parent;
@@ -6708,7 +6708,7 @@ function normalizeStringList(value) {
6708
6708
  function resolvePluginManifestPath(rootDir) {
6709
6709
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
6710
6710
  const candidate = path.join(rootDir, filename);
6711
- if (fsSync.existsSync(candidate)) return candidate;
6711
+ if (syncFs.existsSync(candidate)) return candidate;
6712
6712
  }
6713
6713
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
6714
6714
  }
@@ -6734,7 +6734,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
6734
6734
  }
6735
6735
  let raw;
6736
6736
  try {
6737
- raw = JSON.parse(fsSync.readFileSync(opened.fd, "utf-8"));
6737
+ raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
6738
6738
  } catch (err) {
6739
6739
  return {
6740
6740
  ok: false,
@@ -6742,7 +6742,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
6742
6742
  manifestPath
6743
6743
  };
6744
6744
  } finally {
6745
- fsSync.closeSync(opened.fd);
6745
+ syncFs.closeSync(opened.fd);
6746
6746
  }
6747
6747
  if (!isRecord$3(raw)) return {
6748
6748
  ok: false,
@@ -6823,7 +6823,7 @@ function safeRealpathSync(targetPath, cache) {
6823
6823
  const cached = cache?.get(targetPath);
6824
6824
  if (cached) return cached;
6825
6825
  try {
6826
- const resolved = fsSync.realpathSync(targetPath);
6826
+ const resolved = syncFs.realpathSync(targetPath);
6827
6827
  cache?.set(targetPath, resolved);
6828
6828
  return resolved;
6829
6829
  } catch {
@@ -6832,7 +6832,7 @@ function safeRealpathSync(targetPath, cache) {
6832
6832
  }
6833
6833
  function safeStatSync(targetPath) {
6834
6834
  try {
6835
- return fsSync.statSync(targetPath);
6835
+ return syncFs.statSync(targetPath);
6836
6836
  } catch {
6837
6837
  return null;
6838
6838
  }
@@ -6961,12 +6961,12 @@ function readPackageManifest(dir, rejectHardlinks = true) {
6961
6961
  });
6962
6962
  if (!opened.ok) return null;
6963
6963
  try {
6964
- const raw = fsSync.readFileSync(opened.fd, "utf-8");
6964
+ const raw = syncFs.readFileSync(opened.fd, "utf-8");
6965
6965
  return JSON.parse(raw);
6966
6966
  } catch {
6967
6967
  return null;
6968
6968
  } finally {
6969
- fsSync.closeSync(opened.fd);
6969
+ syncFs.closeSync(opened.fd);
6970
6970
  }
6971
6971
  }
6972
6972
  function deriveIdHint(params) {
@@ -7019,14 +7019,14 @@ function resolvePackageEntrySource(params) {
7019
7019
  return null;
7020
7020
  }
7021
7021
  const safeSource = opened.path;
7022
- fsSync.closeSync(opened.fd);
7022
+ syncFs.closeSync(opened.fd);
7023
7023
  return safeSource;
7024
7024
  }
7025
7025
  function discoverInDirectory(params) {
7026
- if (!fsSync.existsSync(params.dir)) return;
7026
+ if (!syncFs.existsSync(params.dir)) return;
7027
7027
  let entries = [];
7028
7028
  try {
7029
- entries = fsSync.readdirSync(params.dir, { withFileTypes: true });
7029
+ entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
7030
7030
  } catch (err) {
7031
7031
  params.diagnostics.push({
7032
7032
  level: "warn",
@@ -7087,7 +7087,7 @@ function discoverInDirectory(params) {
7087
7087
  }
7088
7088
  continue;
7089
7089
  }
7090
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fsSync.existsSync(candidate));
7090
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
7091
7091
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
7092
7092
  candidates: params.candidates,
7093
7093
  diagnostics: params.diagnostics,
@@ -7105,7 +7105,7 @@ function discoverInDirectory(params) {
7105
7105
  }
7106
7106
  function discoverFromPath(params) {
7107
7107
  const resolved = resolveUserPath(params.rawPath);
7108
- if (!fsSync.existsSync(resolved)) {
7108
+ if (!syncFs.existsSync(resolved)) {
7109
7109
  params.diagnostics.push({
7110
7110
  level: "error",
7111
7111
  message: `plugin path not found: ${resolved}`,
@@ -7113,7 +7113,7 @@ function discoverFromPath(params) {
7113
7113
  });
7114
7114
  return;
7115
7115
  }
7116
- const stat = fsSync.statSync(resolved);
7116
+ const stat = syncFs.statSync(resolved);
7117
7117
  if (stat.isFile()) {
7118
7118
  if (!isExtensionFile(resolved)) {
7119
7119
  params.diagnostics.push({
@@ -7171,7 +7171,7 @@ function discoverFromPath(params) {
7171
7171
  }
7172
7172
  return;
7173
7173
  }
7174
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => fsSync.existsSync(candidate));
7174
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
7175
7175
  if (indexFile && isExtensionFile(indexFile)) {
7176
7176
  addCandidate({
7177
7177
  candidates: params.candidates,
@@ -7285,7 +7285,7 @@ function buildCacheKey$1(params) {
7285
7285
  }
7286
7286
  function safeStatMtimeMs(filePath) {
7287
7287
  try {
7288
- return fsSync.statSync(filePath).mtimeMs;
7288
+ return syncFs.statSync(filePath).mtimeMs;
7289
7289
  } catch {
7290
7290
  return null;
7291
7291
  }
@@ -12347,7 +12347,7 @@ function resolveConfigPathForDeps(deps) {
12347
12347
  }
12348
12348
  function normalizeDeps(overrides = {}) {
12349
12349
  return {
12350
- fs: overrides.fs ?? fsSync,
12350
+ fs: overrides.fs ?? syncFs,
12351
12351
  json5: overrides.json5 ?? JSON5,
12352
12352
  env: overrides.env ?? process.env,
12353
12353
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
@@ -8,7 +8,7 @@ import { x as shortenHomePath } from "./utils-BnC3HGtm.js";
8
8
  import { N as normalizeSecretInputString, k as coerceSecretRef } from "./registry-CwKS6RIg.js";
9
9
  import { r as resolveForwardCompatModel } from "./model-4MYhtwmk.js";
10
10
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Bs768Cx7.js";
11
- import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-DQ-U47U4.js";
11
+ import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-iFkFgxIF.js";
12
12
  import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-0JI_ndQl.js";
13
13
  import { t as ensureOpenClawModelsJson } from "./models-config-rHYOUx9N.js";
14
14
  import { n as loadModelCatalog } from "./model-catalog-Bq8ljVOk.js";
@@ -23,7 +23,7 @@ import { n as redactSecrets } from "./format-C-890_pY.js";
23
23
  import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-hHKmh3AF.js";
24
24
  import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Jtjowoeg.js";
25
25
  import { n as logConfigUpdated } from "./logging-4zSchJ5n.js";
26
- import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DLAG-xEH.js";
26
+ import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BOJRr3AT.js";
27
27
  import path from "node:path";
28
28
  import crypto from "node:crypto";
29
29
  import fs from "node:fs/promises";
@@ -31,7 +31,7 @@ import "./logging-CFvkxgcX.js";
31
31
  import "./accounts-Du96Wx8V.js";
32
32
  import "./send-BsLP4ooQ.js";
33
33
  import "./send-CFJQjYMY.js";
34
- import "./subagent-registry-DQ-U47U4.js";
34
+ import "./subagent-registry-iFkFgxIF.js";
35
35
  import "./paths-0JI_ndQl.js";
36
36
  import "./chat-envelope-BHg8VU61.js";
37
37
  import "./client-DPmb6CIu.js";
@@ -104,7 +104,7 @@ import "./command-secret-targets-DjEo9W7_.js";
104
104
  import "./onboard-helpers-CEIyWqFt.js";
105
105
  import "./prompt-style-Dws687Oa.js";
106
106
  import "./pairing-labels-CGVQ42A3.js";
107
- import "./memory-cli-nJ0zujIp.js";
107
+ import "./memory-cli-1oaIDOW8.js";
108
108
  import "./manager-CLRUN9PX.js";
109
109
  import "./query-expansion-QQ7-fKJN.js";
110
110
  import { t as formatDocsLink } from "./links-DBJiRgR0.js";
@@ -118,8 +118,8 @@ import "./table-CRCMNso3.js";
118
118
  import "./shared-hHKmh3AF.js";
119
119
  import "./auth-token-Jtjowoeg.js";
120
120
  import "./logging-4zSchJ5n.js";
121
- import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-DLAG-xEH.js";
122
- import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-DFcmwLyd.js";
121
+ import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-BOJRr3AT.js";
122
+ import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-BA-4owed.js";
123
123
 
124
124
  //#region src/cli/models-cli.ts
125
125
  function runModelsCommand(action) {
@@ -2,7 +2,7 @@ import { t as CONFIG_PATH } from "./paths-BBP4yd-2.js";
2
2
  import { d as colorize, f as isRich$1, p as theme } from "./globals-DyWRcjQY.js";
3
3
  import { S as shortenHomePath } from "./utils-xFiJOAuL.js";
4
4
  import "./thinking-44rmAw5o.js";
5
- import { Gt as describeFailoverError, a as buildAuthHealthSummary, bt as formatUsageWindowSummary, f as runEmbeddedPiAgent, i as DEFAULT_OAUTH_WARN_MS, o as formatRemainingShort, r as maskApiKey, vt as loadProviderUsageSummary, xt as resolveUsageProviderId } from "./reply-BEwkR4yo.js";
5
+ import { Gt as describeFailoverError, a as buildAuthHealthSummary, bt as formatUsageWindowSummary, f as runEmbeddedPiAgent, i as DEFAULT_OAUTH_WARN_MS, o as formatRemainingShort, r as maskApiKey, vt as loadProviderUsageSummary, xt as resolveUsageProviderId } from "./reply-BqhnZbqb.js";
6
6
  import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-BTZ01lpp.js";
7
7
  import { i as defaultRuntime } from "./ansi-DLI3_F54.js";
8
8
  import "./subsystem-Calg5NpK.js";
@@ -102,7 +102,7 @@ import "./session-cost-usage-dfpymDGj.js";
102
102
  import { f as openUrl } from "./onboard-helpers-jxGULnAO.js";
103
103
  import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-cEmrLOfN.js";
104
104
  import "./pairing-labels-TbvR0cDi.js";
105
- import "./memory-cli-Cq0_-tR2.js";
105
+ import "./memory-cli-Bp1To7jm.js";
106
106
  import "./manager-CBlG4KNC.js";
107
107
  import "./query-expansion-CeVVgE9A.js";
108
108
  import { t as formatDocsLink } from "./links-AORgAED3.js";
@@ -120,7 +120,7 @@ import { n as redactSecrets } from "./format-B4BvVfHq.js";
120
120
  import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-DLDfcUDe.js";
121
121
  import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BZoypmMZ.js";
122
122
  import { n as logConfigUpdated } from "./logging-C9DZ91kl.js";
123
- import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CMYpEEfK.js";
123
+ import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CNHiPj2n.js";
124
124
  import path from "node:path";
125
125
  import fs from "node:fs/promises";
126
126
  import crypto from "node:crypto";
@@ -1,4 +1,4 @@
1
- import { dt as createPluginLoaderLogger, ft as loadOpenClawPlugins } from "./reply-BEwkR4yo.js";
1
+ import { dt as createPluginLoaderLogger, ft as loadOpenClawPlugins } from "./reply-BqhnZbqb.js";
2
2
  import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BTZ01lpp.js";
3
3
  import { t as createSubsystemLogger } from "./subsystem-Calg5NpK.js";
4
4
  import { $t as loadConfig } from "./model-selection-BNYB2YKL.js";
@@ -1,7 +1,7 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
2
2
  import { z as loadConfig } from "./auth-profiles-O2Q8_o0a.js";
3
3
  import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-DnGYstsz.js";
4
- import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-DQ-U47U4.js";
4
+ import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-iFkFgxIF.js";
5
5
  import { d as buildNpmResolutionFields } from "./npm-pack-install-Cq3pNk7b.js";
6
6
  import path from "node:path";
7
7
 
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-CxmMRXpH.js";
8
8
  import { t as WizardCancelledError } from "./prompts-B1yi9mCM.js";
9
9
  import { t as createClackPrompter } from "./clack-prompter-BlGLxxZu.js";
10
10
  import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
11
- import { t as runOnboardingWizard } from "./onboarding-DptEa7du.js";
11
+ import { t as runOnboardingWizard } from "./onboarding-Bsyy9lQJ.js";
12
12
  import { n as logConfigUpdated } from "./logging-C9DZ91kl.js";
13
13
  import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-Bjhg0RRG.js";
14
14
  import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DWnlWcjI.js";
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
251
251
  }
252
252
  const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
253
253
  if (!opts.skipHealth) {
254
- const { healthCommand } = await import("./health-i7BpZK8H.js").then((n) => n.i);
254
+ const { healthCommand } = await import("./health-SohRW0Au.js").then((n) => n.i);
255
255
  await waitForGatewayReachable({
256
256
  url: resolveControlUiLinks({
257
257
  bind: gatewayResult.bind,
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-xFiJOAuL.js";
3
- import { $r as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, Tt as resolveSlackChannelAllowlist, dt as createPluginLoaderLogger, ei as resolveDiscordUserAllowlist, ft as loadOpenClawPlugins } from "./reply-BEwkR4yo.js";
3
+ import { $r as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, Tt as resolveSlackChannelAllowlist, dt as createPluginLoaderLogger, ei as resolveDiscordUserAllowlist, ft as loadOpenClawPlugins } from "./reply-BqhnZbqb.js";
4
4
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BTZ01lpp.js";
5
5
  import { t as createSubsystemLogger } from "./subsystem-Calg5NpK.js";
6
6
  import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./session-key-k6urs9r-.js";
@@ -11,7 +11,7 @@ import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveD
11
11
  import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-LGj1Il6r.js";
12
12
  import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-Du96Wx8V.js";
13
13
  import { dt as normalizeDiscordSlug } from "./send-CFJQjYMY.js";
14
- import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-DQ-U47U4.js";
14
+ import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-iFkFgxIF.js";
15
15
  import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-z-6f3_56.js";
16
16
  import { o as normalizeIMessageHandle } from "./send-Br8GGwD9.js";
17
17
  import { r as detectBinary } from "./onboard-helpers-CEIyWqFt.js";
@@ -8,7 +8,7 @@ import { t as WizardCancelledError } from "./prompts-DpRhAM21.js";
8
8
  import { t as createClackPrompter } from "./clack-prompter-C4bd12RJ.js";
9
9
  import { t as assertSupportedRuntime } from "./runtime-guard-FQfkfkx0.js";
10
10
  import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-ClLXlv9g.js";
11
- import { t as runOnboardingWizard } from "./onboarding-C-YkK0dn.js";
11
+ import { t as runOnboardingWizard } from "./onboarding-Cz-FN3dY.js";
12
12
  import { n as logConfigUpdated } from "./logging-4zSchJ5n.js";
13
13
  import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-BlYkJpb7.js";
14
14
  import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-oUKoFfFB.js";
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
251
251
  }
252
252
  const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
253
253
  if (!opts.skipHealth) {
254
- const { healthCommand } = await import("./health-DmCqZQWS.js").then((n) => n.i);
254
+ const { healthCommand } = await import("./health-BtR5qiQu.js").then((n) => n.i);
255
255
  await waitForGatewayReachable({
256
256
  url: resolveControlUiLinks({
257
257
  bind: gatewayResult.bind,
@@ -0,0 +1,155 @@
1
+ //#region src/commands/onboard-wallet.ts
2
+ /**
3
+ * Wallet setup step for the onboarding wizard.
4
+ * Prompts the user to create, import, or skip wallet setup.
5
+ */
6
+ async function setupWallet(stateDir, prompter, opts) {
7
+ if (opts.skipWallet) return { action: "skipped" };
8
+ let WalletManager;
9
+ try {
10
+ WalletManager = (await import("./wallet-manager-BfxpmqfL.js")).WalletManager;
11
+ } catch {
12
+ await prompter.note("Blockchain extension not installed. Skipping wallet setup.\nInstall it later and run: cryptoclaw wallet create", "Wallet");
13
+ return { action: "skipped" };
14
+ }
15
+ const wm = new WalletManager(stateDir);
16
+ if (opts.walletCreate) {
17
+ const passphrase = process.env.CRYPTOCLAW_WALLET_PASSPHRASE;
18
+ if (!passphrase) throw new Error("--wallet-create requires CRYPTOCLAW_WALLET_PASSPHRASE environment variable");
19
+ const label = opts.walletLabel ?? "Default";
20
+ const wallet = await wm.createWallet(label, passphrase);
21
+ return {
22
+ action: "created",
23
+ address: wallet.address,
24
+ label: wallet.label
25
+ };
26
+ }
27
+ if (opts.walletImport) {
28
+ const privateKey = process.env.CRYPTOCLAW_WALLET_PRIVATE_KEY;
29
+ const passphrase = process.env.CRYPTOCLAW_WALLET_PASSPHRASE;
30
+ if (!privateKey || !passphrase) throw new Error("--wallet-import requires CRYPTOCLAW_WALLET_PRIVATE_KEY and CRYPTOCLAW_WALLET_PASSPHRASE environment variables");
31
+ const label = opts.walletLabel ?? "Imported";
32
+ const wallet = await wm.importWallet(privateKey, label, passphrase);
33
+ return {
34
+ action: "imported",
35
+ address: wallet.address,
36
+ label: wallet.label
37
+ };
38
+ }
39
+ if (wm.hasWallets()) {
40
+ const { wallets, activeWalletId } = wm.listWallets();
41
+ const active = wallets.find((w) => w.id === activeWalletId);
42
+ await prompter.note(`Active wallet: ${active?.label ?? "none"} (${active?.address ?? "—"})\nTotal wallets: ${wallets.length}`, "Existing Wallets");
43
+ const action = await prompter.select({
44
+ message: "Wallet setup",
45
+ options: [
46
+ {
47
+ value: "keep",
48
+ label: "Keep existing wallets"
49
+ },
50
+ {
51
+ value: "create",
52
+ label: "Create another wallet"
53
+ },
54
+ {
55
+ value: "skip",
56
+ label: "Skip"
57
+ }
58
+ ],
59
+ initialValue: "keep"
60
+ });
61
+ if (action === "keep" || action === "skip") return { action: action === "keep" ? "kept" : "skipped" };
62
+ } else {
63
+ const action = await prompter.select({
64
+ message: "Set up a blockchain wallet?",
65
+ options: [
66
+ {
67
+ value: "create",
68
+ label: "Create new wallet",
69
+ hint: "Generate a fresh key pair"
70
+ },
71
+ {
72
+ value: "import",
73
+ label: "Import existing wallet",
74
+ hint: "Paste a private key"
75
+ },
76
+ {
77
+ value: "skip",
78
+ label: "Skip for now"
79
+ }
80
+ ],
81
+ initialValue: "create"
82
+ });
83
+ if (action === "skip") return { action: "skipped" };
84
+ if (action === "import") return importWalletInteractive(wm, prompter, opts);
85
+ }
86
+ return createWalletInteractive(wm, prompter, opts);
87
+ }
88
+ async function createWalletInteractive(wm, prompter, opts) {
89
+ const label = opts.walletLabel ?? await prompter.text({
90
+ message: "Wallet label",
91
+ initialValue: "Default",
92
+ placeholder: "Default"
93
+ });
94
+ const passphrase = await prompter.text({
95
+ message: "Enter a passphrase to encrypt your wallet",
96
+ validate: (v) => v.length < 8 ? "Passphrase must be at least 8 characters" : void 0
97
+ });
98
+ if (await prompter.text({
99
+ message: "Confirm passphrase",
100
+ validate: (v) => v !== passphrase ? "Passphrases do not match" : void 0
101
+ }) !== passphrase) {
102
+ await prompter.note("Passphrases did not match. Skipping wallet creation.", "Wallet");
103
+ return { action: "skipped" };
104
+ }
105
+ const spinner = prompter.progress("Creating wallet...");
106
+ const wallet = await wm.createWallet(label, passphrase);
107
+ spinner.stop(`Wallet created: ${wallet.address}`);
108
+ await prompter.note([
109
+ `Address: ${wallet.address}`,
110
+ `Label: ${wallet.label}`,
111
+ "",
112
+ "Back up your passphrase securely.",
113
+ "You'll need it to sign transactions and export your key."
114
+ ].join("\n"), "Wallet Created");
115
+ return {
116
+ action: "created",
117
+ address: wallet.address,
118
+ label: wallet.label
119
+ };
120
+ }
121
+ async function importWalletInteractive(wm, prompter, opts) {
122
+ await prompter.note("Your private key will be encrypted with AES-256-GCM and stored locally.\nIt will never be exposed in agent chat or session transcripts.", "Security");
123
+ const privateKey = await prompter.text({
124
+ message: "Private key (0x...)",
125
+ validate: (v) => {
126
+ if (!/^0x[a-fA-F0-9]{64}$/.test(v)) return "Invalid private key format. Expected 0x followed by 64 hex characters.";
127
+ }
128
+ });
129
+ const label = opts.walletLabel ?? await prompter.text({
130
+ message: "Wallet label",
131
+ initialValue: "Imported",
132
+ placeholder: "Imported"
133
+ });
134
+ const passphrase = await prompter.text({
135
+ message: "Enter a passphrase to encrypt the wallet",
136
+ validate: (v) => v.length < 8 ? "Passphrase must be at least 8 characters" : void 0
137
+ });
138
+ const spinner = prompter.progress("Importing wallet...");
139
+ const wallet = await wm.importWallet(privateKey, label, passphrase);
140
+ spinner.stop(`Wallet imported: ${wallet.address}`);
141
+ await prompter.note([
142
+ `Address: ${wallet.address}`,
143
+ `Label: ${wallet.label}`,
144
+ "",
145
+ "Back up your passphrase securely."
146
+ ].join("\n"), "Wallet Imported");
147
+ return {
148
+ action: "imported",
149
+ address: wallet.address,
150
+ label: wallet.label
151
+ };
152
+ }
153
+
154
+ //#endregion
155
+ export { setupWallet };