@qqbrowser/openclaw-qbot 0.10.4 → 0.10.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 (201) hide show
  1. package/dist/{agents-uUms0egI.js → agents-6IxtknW5.js} +1 -1
  2. package/dist/{agents.config-BkB-gDby.js → agents.config-BP_dS899.js} +1 -1
  3. package/dist/{agents.config-Brf_8LyQ.js → agents.config-CQVkG48F.js} +1 -1
  4. package/dist/{auth-choice-CCPa_U3z.js → auth-choice-Baa2-mnd.js} +1 -1
  5. package/dist/{auth-choice-hlkl-WTV.js → auth-choice-Cw_bwgkr.js} +1 -1
  6. package/dist/{banner-DEPUY9RS.js → banner-CLI1ZxLT.js} +1 -1
  7. package/dist/build-info.json +3 -3
  8. package/dist/bundled/boot-md/handler.js +1 -1
  9. package/dist/bundled/session-memory/handler.js +1 -1
  10. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  11. package/dist/{channel-options-DqUyBMZF.js → channel-options-BmkYp9PQ.js} +1 -1
  12. package/dist/{channel-options-BbvCeuF4.js → channel-options-LL0twjcr.js} +1 -1
  13. package/dist/{channel-web-B7Dzfxgr.js → channel-web-DBxLlMxt.js} +1 -1
  14. package/dist/{channel-web-DztiTFmw.js → channel-web-DCbW654e.js} +1 -1
  15. package/dist/{channels-cli-B167LkN_.js → channels-cli-BDMHUXO6.js} +1 -1
  16. package/dist/{channels-cli-DqI5sufA.js → channels-cli-BomYL9U-.js} +1 -1
  17. package/dist/{cli-5w9Cs17g.js → cli-6GYOgeyE.js} +1 -1
  18. package/dist/{cli-odx2Ou54.js → cli-DcG2OfeS.js} +1 -1
  19. package/dist/{command-registry-kuOSuxH9.js → command-registry-B-1wiWIV.js} +1 -1
  20. package/dist/{compact-DutiJiBy.js → compact-B5m4267P.js} +6 -6
  21. package/dist/{compact.runtime-Cg-ayyOY.js → compact.runtime-BIprdRVY.js} +1 -1
  22. package/dist/{compact.runtime-CPJx43fM.js → compact.runtime-Bjmb9uWf.js} +1 -1
  23. package/dist/{compact.runtime-Cr0LrigW.js → compact.runtime-CC5tXNMI.js} +1 -1
  24. package/dist/{compact.runtime-8jjZMOn5.js → compact.runtime-CbiLGd2R.js} +1 -1
  25. package/dist/{completion-cli-Dk4i8AEs.js → completion-cli-BxTvZFra.js} +1 -1
  26. package/dist/{completion-cli-Btm1nzLM.js → completion-cli-CXSmC7Nh.js} +1 -1
  27. package/dist/{config-cli-C_Ep8Cqd.js → config-cli-CutpYl0W.js} +1 -1
  28. package/dist/{config-cli-GxgWLhZj.js → config-cli-_D9OjHjN.js} +1 -1
  29. package/dist/{configure-BGXAqK0_.js → configure-B7A-Gjbn.js} +1 -1
  30. package/dist/{configure-Bf9CYm_s.js → configure-GlFIJmRr.js} +1 -1
  31. package/dist/{deps-send-whatsapp.runtime-zwmhmYbD.js → deps-send-whatsapp.runtime-0CVkFH3c.js} +1 -1
  32. package/dist/{deps-send-whatsapp.runtime-BvP4xsTU.js → deps-send-whatsapp.runtime-CF7vGOV-.js} +1 -1
  33. package/dist/{deps-send-whatsapp.runtime-B0YhL8Lo.js → deps-send-whatsapp.runtime-CZWj9whB.js} +1 -1
  34. package/dist/{deps-send-whatsapp.runtime-DM3gFV5P.js → deps-send-whatsapp.runtime-CpRUDATB.js} +1 -1
  35. package/dist/{doctor-completion-Bp4r91Mj.js → doctor-completion-C5fxcbh9.js} +1 -1
  36. package/dist/{doctor-completion-DSlo6bQA.js → doctor-completion-CjAt0IBL.js} +1 -1
  37. package/dist/entry.js +1 -1
  38. package/dist/extensionAPI.js +1 -1
  39. package/dist/{gateway-cli-xHMUWDWx.js → gateway-cli-B4--4Rdp.js} +2 -2
  40. package/dist/{gateway-cli-C_zcjGt1.js → gateway-cli-LXL-gdmD.js} +2 -2
  41. package/dist/{health-vy-C49Dw.js → health-CIBrUBhW.js} +1 -1
  42. package/dist/{health-DWAEDZ8p.js → health-dTYbHKsD.js} +1 -1
  43. package/dist/{hooks-cli-DkjR_IzY.js → hooks-cli-B8zLSVkT.js} +1 -1
  44. package/dist/{hooks-cli-B0xRT8IB.js → hooks-cli-CQiuXLiA.js} +1 -1
  45. package/dist/index.js +2 -2
  46. package/dist/llm-slug-generator.js +1 -1
  47. package/dist/{models-CYk2Mf4W.js → models-DfPjqkxA.js} +1 -1
  48. package/dist/{models-cli-DPcl8k5z.js → models-cli-Crhj5KsH.js} +1 -1
  49. package/dist/{models-cli-BS5KD1m7.js → models-cli-DIeJKv20.js} +1 -1
  50. package/dist/{npm-resolution-BRKzOuRX.js → npm-resolution-BsQW2Kgr.js} +1 -1
  51. package/dist/{npm-resolution-B4ClzLA9.js → npm-resolution-wJ9PVAU8.js} +1 -1
  52. package/dist/{onboard-DtvFX5YS.js → onboard-CkDnD6Va.js} +2 -2
  53. package/dist/{onboard-DKohpAhM.js → onboard-DbFfuUgN.js} +2 -2
  54. package/dist/{onboard-channels-CO9FE0CA.js → onboard-channels-BW1eMy7S.js} +1 -1
  55. package/dist/{onboard-channels-B1Cta60W.js → onboard-channels-C0PAtk4T.js} +1 -1
  56. package/dist/{onboarding-CSBYu9X2.js → onboarding-DVLGoQj1.js} +1 -1
  57. package/dist/{onboarding-DTE81H7h.js → onboarding-enOGIWg6.js} +1 -1
  58. package/dist/{onboarding.finalize-Bk61Ef85.js → onboarding.finalize-BDLzh4dK.js} +1 -1
  59. package/dist/{onboarding.finalize-BzZq5LCu.js → onboarding.finalize-aguVHE5H.js} +1 -1
  60. package/dist/{pi-embedded-fKs8vr_l.js → pi-embedded-Bv3QACci.js} +6 -6
  61. package/dist/{pi-embedded-CSE8iTcT.js → pi-embedded-DJGgW90C.js} +6 -6
  62. package/dist/{plugin-registry--rKSomNR.js → plugin-registry-Cb3qsabM.js} +1 -1
  63. package/dist/{plugin-registry-BLopxJhs.js → plugin-registry-DgGaQJpH.js} +1 -1
  64. package/dist/plugin-sdk/{channel-web-kLUJoIaN.js → channel-web-B69hreZ-.js} +1 -1
  65. package/dist/plugin-sdk/{channel-web-BZwnvMDD.cjs → channel-web-CGYvIoB3.cjs} +1 -1
  66. package/dist/plugin-sdk/{channel-web-BUiDMnQM.js → channel-web-Cg7FoMmy.js} +1 -1
  67. package/dist/plugin-sdk/{channel-web-Dn8Qa28U.cjs → channel-web-yRiw9cOW.cjs} +1 -1
  68. package/dist/plugin-sdk/{compact.runtime-BtnHPGWW.cjs → compact.runtime-6EUZS-nm.cjs} +1 -1
  69. package/dist/plugin-sdk/{compact.runtime-PwQ5BH89.cjs → compact.runtime-BCReDZO0.cjs} +1 -1
  70. package/dist/plugin-sdk/{compact.runtime-CcAl_7JS.cjs → compact.runtime-BV8EhsZ-.cjs} +1 -1
  71. package/dist/plugin-sdk/{compact.runtime-BDSrWIc3.js → compact.runtime-BrTHTIXo.js} +1 -1
  72. package/dist/plugin-sdk/{compact.runtime-WzRsTof6.js → compact.runtime-C-nSnIie.js} +1 -1
  73. package/dist/plugin-sdk/{compact.runtime-D6zMtomh.js → compact.runtime-C1HIq_JF.js} +1 -1
  74. package/dist/plugin-sdk/{compact.runtime-DrbWVG3U.cjs → compact.runtime-CuU_iabG.cjs} +1 -1
  75. package/dist/plugin-sdk/{compact.runtime-CB04vm0D.js → compact.runtime-D64Cnn1T.js} +1 -1
  76. package/dist/plugin-sdk/{compact.runtime-BDZgCqEH.cjs → compact.runtime-DEsDlL2e.cjs} +1 -1
  77. package/dist/plugin-sdk/{compact.runtime-D4jmyLK_.js → compact.runtime-DyyEYJhk.js} +1 -1
  78. package/dist/plugin-sdk/{compact.runtime-DiGElRVu.cjs → compact.runtime-hD-8StlH.cjs} +1 -1
  79. package/dist/plugin-sdk/{compact.runtime-DpKoN-EI.js → compact.runtime-nrAibbrs.js} +1 -1
  80. package/dist/plugin-sdk/compat.cjs +1 -1
  81. package/dist/plugin-sdk/compat.js +1 -1
  82. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-D9D9oUEf.js → deps-send-whatsapp.runtime-BHSEddX6.js} +1 -1
  83. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DAq8oj_z.cjs → deps-send-whatsapp.runtime-BIcx-YKg.cjs} +1 -1
  84. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-Du9woGpt.js → deps-send-whatsapp.runtime-BJqrGRfn.js} +1 -1
  85. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-Bu592CgI.cjs → deps-send-whatsapp.runtime-BYitkwEt.cjs} +1 -1
  86. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-CslTgnDb.cjs → deps-send-whatsapp.runtime-BZZlnkSu.cjs} +1 -1
  87. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-Ck_Odtet.cjs → deps-send-whatsapp.runtime-C8CHSY5s.cjs} +1 -1
  88. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-C8VavsCw.cjs → deps-send-whatsapp.runtime-Cc_K5nip.cjs} +1 -1
  89. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BIa0po8R.js → deps-send-whatsapp.runtime-CcxJ3x8i.js} +1 -1
  90. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-D8utCFrm.js → deps-send-whatsapp.runtime-CtGDGABW.js} +1 -1
  91. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BjCkJL25.js → deps-send-whatsapp.runtime-DKBA8CwU.js} +1 -1
  92. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-D7XufA9p.js → deps-send-whatsapp.runtime-ty7jacKq.js} +1 -1
  93. package/dist/plugin-sdk/{deps-send-whatsapp.runtime-Bc3Bslu5.cjs → deps-send-whatsapp.runtime-uvxKpBrR.cjs} +1 -1
  94. package/dist/plugin-sdk/{dispatch-B0bRcI0M.js → dispatch-3RmgaKV0.js} +6 -6
  95. package/dist/plugin-sdk/{dispatch-CXFmGh30.cjs → dispatch-BHwyFTwz.cjs} +6 -6
  96. package/dist/plugin-sdk/{dispatch-CuIxFSWG.js → dispatch-BYn5wxRI.js} +6 -6
  97. package/dist/plugin-sdk/{dispatch-DZFfZ37w.cjs → dispatch-C-qRxvLo.cjs} +6 -6
  98. package/dist/plugin-sdk/{dispatch-CXTBtHYf.cjs → dispatch-CDF-QMLO.cjs} +6 -6
  99. package/dist/plugin-sdk/{dispatch-BzOxEE_U.cjs → dispatch-DBHCub77.cjs} +6 -6
  100. package/dist/plugin-sdk/{dispatch-DgMf2rhn.cjs → dispatch-DCFiq6TV.cjs} +6 -6
  101. package/dist/plugin-sdk/{dispatch-BHQwp2mY.js → dispatch-Dbp8KQt5.js} +6 -6
  102. package/dist/plugin-sdk/{dispatch-CsZWuLFg.js → dispatch-DpHTL-Ha.js} +6 -6
  103. package/dist/plugin-sdk/{dispatch-DXQq-1ND.js → dispatch-t6yxQhjZ.js} +6 -6
  104. package/dist/plugin-sdk/index.cjs +1 -1
  105. package/dist/plugin-sdk/index.js +1 -1
  106. package/dist/plugin-sdk/irc.cjs +1 -1
  107. package/dist/plugin-sdk/irc.js +1 -1
  108. package/dist/plugin-sdk/matrix.cjs +1 -1
  109. package/dist/plugin-sdk/matrix.js +1 -1
  110. package/dist/plugin-sdk/msteams.cjs +1 -1
  111. package/dist/plugin-sdk/msteams.js +1 -1
  112. package/dist/plugin-sdk/nextcloud-talk.cjs +1 -1
  113. package/dist/plugin-sdk/nextcloud-talk.js +1 -1
  114. package/dist/plugin-sdk/{reply-9oEGfJO1.cjs → reply-DYTWptyW.cjs} +6 -6
  115. package/dist/plugin-sdk/{reply-D_sNAum5.js → reply-nXQ3Ihgd.js} +6 -6
  116. package/dist/plugin-sdk/{slash-dispatch.runtime-D6j_HvFC.cjs → slash-dispatch.runtime-BSDBCdoz.cjs} +1 -1
  117. package/dist/plugin-sdk/{slash-dispatch.runtime-C0RwCFKq.js → slash-dispatch.runtime-Boj2xPW5.js} +1 -1
  118. package/dist/plugin-sdk/{slash-dispatch.runtime-B60yTzIf.js → slash-dispatch.runtime-C57opycX.js} +1 -1
  119. package/dist/plugin-sdk/{slash-dispatch.runtime-BERy39cs.js → slash-dispatch.runtime-C9rDQo8o.js} +1 -1
  120. package/dist/plugin-sdk/{slash-dispatch.runtime-UYaTQwVq.js → slash-dispatch.runtime-CApLdZER.js} +1 -1
  121. package/dist/plugin-sdk/{slash-dispatch.runtime-ASdOu8Cm.js → slash-dispatch.runtime-CG-zjxON.js} +1 -1
  122. package/dist/plugin-sdk/{slash-dispatch.runtime-BuF14A03.js → slash-dispatch.runtime-CTecvuIx.js} +1 -1
  123. package/dist/plugin-sdk/{slash-dispatch.runtime-_BOQ7gkd.cjs → slash-dispatch.runtime-Coe_tdLy.cjs} +1 -1
  124. package/dist/plugin-sdk/{slash-dispatch.runtime-Dg9uQHNW.cjs → slash-dispatch.runtime-CrfGJt-z.cjs} +1 -1
  125. package/dist/plugin-sdk/{slash-dispatch.runtime-30IYd84w.cjs → slash-dispatch.runtime-EgX-cRVC.cjs} +1 -1
  126. package/dist/plugin-sdk/{slash-dispatch.runtime-Dq7mPZxr.cjs → slash-dispatch.runtime-KA6_FxIE.cjs} +1 -1
  127. package/dist/plugin-sdk/{slash-dispatch.runtime-34q3H9BU.cjs → slash-dispatch.runtime-XTKieQBQ.cjs} +1 -1
  128. package/dist/plugin-sdk/{subagent-registry-runtime-D0_kdCJ8.js → subagent-registry-runtime-B1Lpdh_L.js} +1 -1
  129. package/dist/plugin-sdk/{subagent-registry-runtime-BpO-8o-v.cjs → subagent-registry-runtime-BTcxp_jJ.cjs} +1 -1
  130. package/dist/plugin-sdk/{subagent-registry-runtime-DUaC-nXH.js → subagent-registry-runtime-C1W2bBCX.js} +1 -1
  131. package/dist/plugin-sdk/{subagent-registry-runtime-B4ht4jgI.js → subagent-registry-runtime-CjDQncGB.js} +1 -1
  132. package/dist/plugin-sdk/{subagent-registry-runtime-C4MYbumf.cjs → subagent-registry-runtime-CsoVFakn.cjs} +1 -1
  133. package/dist/plugin-sdk/{subagent-registry-runtime-w7CcoTLv.cjs → subagent-registry-runtime-DRUPit2H.cjs} +1 -1
  134. package/dist/plugin-sdk/{subagent-registry-runtime-_MlLeMWw.js → subagent-registry-runtime-DTlB8Q96.js} +1 -1
  135. package/dist/plugin-sdk/{subagent-registry-runtime-DfWSD7tl.js → subagent-registry-runtime-DiwikRRl.js} +1 -1
  136. package/dist/plugin-sdk/{subagent-registry-runtime-CyYJQuSQ.cjs → subagent-registry-runtime-Dj2i9GGj.cjs} +1 -1
  137. package/dist/plugin-sdk/{subagent-registry-runtime-D_dgSTbs.cjs → subagent-registry-runtime-Djshp0MC.cjs} +1 -1
  138. package/dist/plugin-sdk/{subagent-registry-runtime-UoI3lad4.js → subagent-registry-runtime-DrbVJw2f.js} +1 -1
  139. package/dist/plugin-sdk/{subagent-registry-runtime-CKNJbYW5.cjs → subagent-registry-runtime-IVYj5ywH.cjs} +1 -1
  140. package/dist/plugin-sdk/{web-BtgZE8cK.js → web-2PAf1exP.js} +1 -1
  141. package/dist/plugin-sdk/{web-B5xIoXe1.js → web-B6Ox6Cdv.js} +1 -1
  142. package/dist/plugin-sdk/{web-BEIPWO4K.cjs → web-B7WqqsC8.cjs} +1 -1
  143. package/dist/plugin-sdk/{web-GIWXJ0Ba.js → web-BkCy5IQ7.js} +1 -1
  144. package/dist/plugin-sdk/{web-BK1ARWvO.cjs → web-CJcd3JMn.cjs} +1 -1
  145. package/dist/plugin-sdk/{web-D2JuDaoV.js → web-CjilhIQD.js} +1 -1
  146. package/dist/plugin-sdk/{web-C2CF_qbv.cjs → web-CjsJxq4D.cjs} +1 -1
  147. package/dist/plugin-sdk/{web-BZPAL5HS.cjs → web-DCAcFf5b.cjs} +1 -1
  148. package/dist/plugin-sdk/{web-BiZX-XYi.cjs → web-DtH3t5Jt.cjs} +1 -1
  149. package/dist/plugin-sdk/{web-BhnzZsyl.js → web-g-WONVYn.js} +1 -1
  150. package/dist/plugin-sdk/{web-C3K1qs0u.cjs → web-iRzx1ssK.cjs} +1 -1
  151. package/dist/plugin-sdk/{web-CYwIRzDt.js → web-ikfo8GXI.js} +1 -1
  152. package/dist/plugin-sdk/whatsapp.cjs +1 -1
  153. package/dist/plugin-sdk/whatsapp.js +1 -1
  154. package/dist/{plugins-cli-fvYI7MuY.js → plugins-cli-5B5urjU7.js} +1 -1
  155. package/dist/{plugins-cli-D7y5Vl8l.js → plugins-cli-DaxkOvPH.js} +1 -1
  156. package/dist/{program-o1R0ZIeK.js → program-DJxQx1DE.js} +2 -2
  157. package/dist/{program-context-DMLIbH2F.js → program-context-DewOK4jD.js} +1 -1
  158. package/dist/{prompt-select-styled-BghrrnfB.js → prompt-select-styled-U5YlFMbC.js} +1 -1
  159. package/dist/{prompt-select-styled-MKdHaN69.js → prompt-select-styled-VagKVjlJ.js} +1 -1
  160. package/dist/{provider-auth-helpers-B24NjgT2.js → provider-auth-helpers-BEBH5krH.js} +1 -1
  161. package/dist/{provider-auth-helpers-1c048H9l.js → provider-auth-helpers-DKQwlJ25.js} +1 -1
  162. package/dist/{push-apns-BU-NR-pG.js → push-apns-CIV5yU-C.js} +1 -1
  163. package/dist/{push-apns-CrGncT7C.js → push-apns-DOhrdJ5p.js} +1 -1
  164. package/dist/{register.agent-iVmRDz9B.js → register.agent-Q_qYfTfI.js} +1 -1
  165. package/dist/{register.agent-CQHFkB8p.js → register.agent-Zd0TARQm.js} +1 -1
  166. package/dist/{register.configure-CThul7Zy.js → register.configure-A6heJkJh.js} +1 -1
  167. package/dist/{register.configure-q-iauQUk.js → register.configure-CWTGVxwN.js} +1 -1
  168. package/dist/{register.maintenance-C47agRIL.js → register.maintenance-BiqiVyJY.js} +1 -1
  169. package/dist/{register.maintenance-BRTx_TN-.js → register.maintenance-cKlEqSE7.js} +1 -1
  170. package/dist/{register.message-DsJRw5nY.js → register.message-BRfalotn.js} +1 -1
  171. package/dist/{register.message-Dxxzi9kt.js → register.message-CXPAYgVk.js} +1 -1
  172. package/dist/{register.onboard-DcNYm0dn.js → register.onboard-CiK3r6Ar.js} +1 -1
  173. package/dist/{register.onboard-BteLZ-mA.js → register.onboard-g_3bWGn7.js} +1 -1
  174. package/dist/{register.setup-C4lAwlQe.js → register.setup-BgOqtS83.js} +1 -1
  175. package/dist/{register.setup-CeW9lN5-.js → register.setup-BoiX_qRl.js} +1 -1
  176. package/dist/{register.status-health-sessions-C-JabFZz.js → register.status-health-sessions-BIo6bs1r.js} +1 -1
  177. package/dist/{register.status-health-sessions-CZOciUK3.js → register.status-health-sessions-BrcaSoAg.js} +1 -1
  178. package/dist/{register.subclis-DHFqEK6G.js → register.subclis-BmtNNMP2.js} +1 -1
  179. package/dist/{reply-DHtpIWpD.js → reply-HrabJs88.js} +6 -6
  180. package/dist/{run-main-BKA6bL5R.js → run-main-CwKNqqKj.js} +1 -1
  181. package/dist/{server-node-events-DECiuryL.js → server-node-events-D1Pr11u8.js} +1 -1
  182. package/dist/{server-node-events-DQohZYL_.js → server-node-events-DYeHOQG_.js} +1 -1
  183. package/dist/{slash-dispatch.runtime-BltGVp6a.js → slash-dispatch.runtime-5xQBRYan.js} +1 -1
  184. package/dist/{slash-dispatch.runtime-U7BSD9SC.js → slash-dispatch.runtime-BRImHx9I.js} +1 -1
  185. package/dist/{slash-dispatch.runtime-BRh6zgqn.js → slash-dispatch.runtime-Cq5dUL-m.js} +1 -1
  186. package/dist/{slash-dispatch.runtime-BQCIIXIb.js → slash-dispatch.runtime-D_A_iMTY.js} +1 -1
  187. package/dist/{status-CUDtNIry.js → status-DiHX2LOf.js} +1 -1
  188. package/dist/{status-OB55GG25.js → status-m4GFy-Px.js} +1 -1
  189. package/dist/{subagent-registry-runtime-B9Ism-1f.js → subagent-registry-runtime-BhMKhChi.js} +1 -1
  190. package/dist/{subagent-registry-runtime-D2hsQSwB.js → subagent-registry-runtime-C36kHoT7.js} +1 -1
  191. package/dist/{subagent-registry-runtime-CO4i2ZPd.js → subagent-registry-runtime-CrUvIBql.js} +1 -1
  192. package/dist/{subagent-registry-runtime-85RFObHD.js → subagent-registry-runtime-GuXOBC1H.js} +1 -1
  193. package/dist/{update-cli-CkgaoB8p.js → update-cli-CQGioR5x.js} +1 -1
  194. package/dist/{update-cli-BlZnad_S.js → update-cli-ILZhc8_8.js} +1 -1
  195. package/dist/{update-runner-DcWJQ3bh.js → update-runner-1UCWso86.js} +1 -1
  196. package/dist/{update-runner-DWHUl78B.js → update-runner-JT7_BON6.js} +1 -1
  197. package/dist/{web-HSA7Rhwn.js → web-C1e-LYaH.js} +1 -1
  198. package/dist/{web-MgNpzMvd.js → web-DWIIpcnE.js} +1 -1
  199. package/dist/{web-B6OLwGJa.js → web-DaJ1Z41U.js} +1 -1
  200. package/dist/{web-Bam5_EjB.js → web-rxfH6rmG.js} +1 -1
  201. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import"./paths-B4IRk3wi.js";import{m as e}from"./subsystem-BQ1073Mu.js";import{h as t,y as n}from"./utils-D1PlBTFH.js";import"./model-selection-B2r_LMFb.js";import"./reply-DHtpIWpD.js";import{y as r}from"./agent-scope-DW6ZDCxj.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import{r as i,t as a}from"./command-format-BbDT1tlm.js";import"./boolean-Ch3DfXPy.js";import"./env-BI_g1HfG.js";import"./env-overrides-C0vMeCeX.js";import"./registry-BwcVQtsI.js";import"./skills-CZ7zEDmo.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-1aNlpDX7.js";import"./logger-Bgqzq_Zu.js";import"./exec-BdtFni8N.js";import"./windows-spawn-B36IG4s2.js";import"./redact-DsC5EnL7.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-y2V0aFIS.js";import"./send-DyCUb7oW.js";import"./send-C6J_nLb9.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./audio-transcription-runner-DsYKaMCI.js";import"./image-6t162ig6.js";import"./models-config-PU32mWpc.js";import"./tool-display-DBTvIf_I.js";import"./fetch-guard-11xgsj9-.js";import"./api-key-rotation-CayDxQxo.js";import"./local-roots-ClGHF49W.js";import"./model-catalog-CXx8LKWX.js";import"./proxy-fetch-Ci8QXzzm.js";import"./tokens-xmkeRJqo.js";import"./deliver-Dg2TVF1M.js";import"./commands-FDnZnqN5.js";import"./commands-registry-BEMFeaZR.js";import"./pairing-store-mQs2yMkt.js";import"./fetch-Dikjvc5M.js";import"./call-BQAAYLj3.js";import"./with-timeout-WveKxvFV.js";import"./diagnostic-kojLym9G.js";import"./send-aEwJo2mZ2.js";import"./pi-model-discovery-DMZplc-U.js";import"./exec-approvals-allowlist-Bh3Rw-aC.js";import"./exec-safe-bin-runtime-policy-BxN1_8e_.js";import"./ir-DcrzIcfF.js";import"./render-D8OWO2hT.js";import"./target-errors-B1wrjiTA.js";import"./read-only-account-inspect-DLD1Pk6l.js";import"./channel-selection-BuH6syM3.js";import"./plugin-auto-enable-DzUZAwai.js";import"./send-HOAYSr2i.js";import"./outbound-attachment-lrGTAaR-.js";import"./delivery-queue-CKbauSFq.js";import"./send-w-vabJ4U.js";import"./channel-activity-CBKv0fto.js";import"./tables-DwrGp-F-.js";import"./fetch-D4txy8qG.js";import"./skill-commands-BN3rmzgq.js";import"./workspace-dirs-BMGwwM6X.js";import"./pairing-token-BipkTRNW.js";import"./restart-Dal_HOce.js";import"./runtime-web-tools-BiMD0yHU.js";import"./command-secret-targets-CbrSGcvV.js";import"./session-cost-usage-BgqKixv0.js";import"./connection-auth-BCxq0f5b.js";import{b as o,f as s,g as c,i as l,m as u,o as d}from"./onboard-helpers-CKsetIvC.js";import"./prompt-style-DpAh867d.js";import"./pairing-labels-iZoSa-aT.js";import"./memory-cli-P0GDvKlz.js";import"./query-expansion-BNl6JMlz.js";import"./manager-DKyEk2dt.js";import"./links-jlebCPFf.js";import"./cli-utils-BY7dLMFy.js";import"./help-format-Cav62lfS.js";import"./progress-Cyn5U745.js";import"./exec-approvals-BpBNEy6i.js";import"./nodes-screen-B1Y6pbxs.js";import"./system-run-command-B212q8f9.js";import"./runtime-Dz2qgcJk.js";import"./stagger-DmFYysrJ.js";import"./runtime-guard-D_eQ0X84.js";import"./program-context-DMLIbH2F.js";import"./note-PBjA39mC.js";import{r as f}from"./completion-cli-Dk4i8AEs.js";import"./daemon-install-plan.shared-ChzeMJMO.js";import{n as p,r as m,t as h}from"./gateway-install-token-CqMSnPKA.js";import{n as g,t as _}from"./daemon-runtime-DHiDbRuC.js";import{i as v}from"./systemd-Dp59-Na4.js";import{n as y,t as b}from"./service-BMP0stI7.js";import{r as x}from"./health-DWAEDZ8p.js";import{t as S}from"./control-ui-assets-jM-MvEQE.js";import{t as C}from"./onboarding.secret-input-2vgEb3Ik.js";import{t as w}from"./health-format-BYfab3lP.js";import{r as T,t as E}from"./doctor-completion-DSlo6bQA.js";import{t as D}from"./tui-CmfhONlS.js";import O from"node:os";import k from"node:path";import A from"node:fs/promises";async function j(e){let n=process.env.HOME||O.homedir();return e===`zsh`?`~/.zshrc`:e===`bash`?await t(k.join(n,`.bashrc`))?`~/.bashrc`:`~/.bash_profile`:e===`fish`?`~/.config/fish/config.fish`:`$PROFILE`}function M(e,t){return e===`powershell`?`Restart your shell (or reload your PowerShell profile).`:`Restart your shell or run: source ${t}`}async function N(e){let t={resolveCliName:i,checkShellCompletionStatus:E,ensureCompletionCacheExists:T,installCompletion:f,...e.deps},n=t.resolveCliName(),r=await t.checkShellCompletionStatus(n);if(r.usesSlowPattern){await t.ensureCompletionCacheExists(n)&&await t.installCompletion(r.shell,!0,n);return}if(r.profileInstalled&&!r.cacheExists){await t.ensureCompletionCacheExists(n);return}if(!r.profileInstalled){if(!(e.flow===`quickstart`||await e.prompter.confirm({message:`Enable ${r.shell} shell completion for ${n}?`,initialValue:!0})))return;if(!await t.ensureCompletionCacheExists(n)){await e.prompter.note(`Failed to generate completion cache. Run \`${n} completion --install\` later.`,`Shell completion`);return}await t.installCompletion(r.shell,!0,n);let i=await j(r.shell);await e.prompter.note(`Shell completion installed. ${M(r.shell,i)}`,`Shell completion`)}}async function P(t){let{flow:i,opts:f,baseConfig:T,nextConfig:E,settings:O,prompter:j,runtime:M}=t,P=async(e,t,n)=>{let r=j.progress(e);try{return await n(r)}finally{r.stop(typeof t.doneMessage==`function`?t.doneMessage():t.doneMessage)}},F=process.platform===`linux`?await v():!0;if(process.platform===`linux`&&!F&&await j.note(`Systemd user services are unavailable. Skipping lingering checks and service install.`,`Systemd`),process.platform===`linux`&&F){let{ensureSystemdUserLingerInteractive:e}=await import(`./systemd-linger-Bjq6egQK.js`).then(e=>e.r);await e({runtime:M,prompter:{confirm:j.confirm,note:j.note},reason:`Linux installs use a systemd user service by default. Without lingering, systemd stops the user session on logout/idle and kills the Gateway.`,requireConfirm:!1})}let I=typeof f.installDaemon==`boolean`?f.installDaemon:void 0,L;if(L=I===void 0?process.platform===`linux`&&!F?!1:i===`quickstart`?!0:await j.confirm({message:`Install Gateway service (recommended)`,initialValue:!0}):I,process.platform===`linux`&&!F&&L&&(await j.note("Systemd user services are unavailable; skipping service install. Use your container supervisor or `docker compose up -d`.",`Gateway service`),L=!1),L){let e=i===`quickstart`?_:await j.select({message:`Gateway service runtime`,options:g,initialValue:f.daemonRuntime??`node`});i===`quickstart`&&await j.note(`QuickStart uses Node for the Gateway service (stable + supported).`,`Gateway service runtime`);let t=y(),n=await t.isLoaded({env:process.env}),r=!1;if(n){let e=await j.select({message:`Gateway service already installed`,options:[{value:`restart`,label:`Restart`},{value:`reinstall`,label:`Reinstall`},{value:`skip`,label:`Skip`}]});if(e===`restart`){let e=`Gateway service restarted.`;await P(`Gateway service`,{doneMessage:()=>e},async n=>{n.update(`Restarting Gateway service…`);let i=b(`Gateway`,await t.restart({env:process.env,stdout:process.stdout}));e=i.progressMessage,r=i.scheduled})}else e===`reinstall`&&await P(`Gateway service`,{doneMessage:`Gateway service uninstalled.`},async e=>{e.update(`Uninstalling Gateway service…`),await t.uninstall({env:process.env,stdout:process.stdout})})}if(!n||!r&&n&&!await t.isLoaded({env:process.env})){let n=j.progress(`Gateway service`),r=null;try{n.update(`Preparing Gateway service…`);let i=await h({config:E,env:process.env});for(let e of i.warnings)await j.note(e,`Gateway service`);if(i.unavailableReason)r=[`Gateway install blocked:`,i.unavailableReason,`Fix gateway auth config/token input and rerun onboarding.`].join(` `);else{let{programArguments:r,workingDirectory:i,environment:a}=await p({env:process.env,port:O.port,runtime:e,warn:(e,t)=>j.note(e,t),config:E});n.update(`Installing Gateway service…`),await t.install({env:process.env,stdout:process.stdout,programArguments:r,workingDirectory:i,environment:a})}}catch(e){r=e instanceof Error?e.message:String(e)}finally{n.stop(r?`Gateway service install failed.`:`Gateway service installed.`)}r&&(await j.note(`Gateway service install failed: ${r}`,`Gateway`),await j.note(m(),`Gateway`))}}if(!f.skipHealth){await o({url:c({bind:E.gateway?.bind??`loopback`,port:O.port,customBindHost:E.gateway?.customBindHost,basePath:void 0}).wsUrl,token:O.gatewayToken,deadlineMs:15e3});try{await x({json:!1,timeoutMs:1e4},M)}catch(e){M.error(w(e)),await j.note([`Docs:`,`https://docs.openclaw.ai/gateway/health`,`https://docs.openclaw.ai/gateway/troubleshooting`].join(`
1
+ import"./paths-B4IRk3wi.js";import{m as e}from"./subsystem-BQ1073Mu.js";import{h as t,y as n}from"./utils-D1PlBTFH.js";import"./model-selection-B2r_LMFb.js";import"./reply-HrabJs88.js";import{y as r}from"./agent-scope-DW6ZDCxj.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import{r as i,t as a}from"./command-format-BbDT1tlm.js";import"./boolean-Ch3DfXPy.js";import"./env-BI_g1HfG.js";import"./env-overrides-C0vMeCeX.js";import"./registry-BwcVQtsI.js";import"./skills-CZ7zEDmo.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-1aNlpDX7.js";import"./logger-Bgqzq_Zu.js";import"./exec-BdtFni8N.js";import"./windows-spawn-B36IG4s2.js";import"./redact-DsC5EnL7.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-y2V0aFIS.js";import"./send-DyCUb7oW.js";import"./send-C6J_nLb9.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./audio-transcription-runner-DsYKaMCI.js";import"./image-6t162ig6.js";import"./models-config-PU32mWpc.js";import"./tool-display-DBTvIf_I.js";import"./fetch-guard-11xgsj9-.js";import"./api-key-rotation-CayDxQxo.js";import"./local-roots-ClGHF49W.js";import"./model-catalog-CXx8LKWX.js";import"./proxy-fetch-Ci8QXzzm.js";import"./tokens-xmkeRJqo.js";import"./deliver-Dg2TVF1M.js";import"./commands-FDnZnqN5.js";import"./commands-registry-BEMFeaZR.js";import"./pairing-store-mQs2yMkt.js";import"./fetch-Dikjvc5M.js";import"./call-BQAAYLj3.js";import"./with-timeout-WveKxvFV.js";import"./diagnostic-kojLym9G.js";import"./send-aEwJo2mZ2.js";import"./pi-model-discovery-DMZplc-U.js";import"./exec-approvals-allowlist-Bh3Rw-aC.js";import"./exec-safe-bin-runtime-policy-BxN1_8e_.js";import"./ir-DcrzIcfF.js";import"./render-D8OWO2hT.js";import"./target-errors-B1wrjiTA.js";import"./read-only-account-inspect-DLD1Pk6l.js";import"./channel-selection-BuH6syM3.js";import"./plugin-auto-enable-DzUZAwai.js";import"./send-HOAYSr2i.js";import"./outbound-attachment-lrGTAaR-.js";import"./delivery-queue-CKbauSFq.js";import"./send-w-vabJ4U.js";import"./channel-activity-CBKv0fto.js";import"./tables-DwrGp-F-.js";import"./fetch-D4txy8qG.js";import"./skill-commands-BN3rmzgq.js";import"./workspace-dirs-BMGwwM6X.js";import"./pairing-token-BipkTRNW.js";import"./restart-Dal_HOce.js";import"./runtime-web-tools-BiMD0yHU.js";import"./command-secret-targets-CbrSGcvV.js";import"./session-cost-usage-BgqKixv0.js";import"./connection-auth-BCxq0f5b.js";import{b as o,f as s,g as c,i as l,m as u,o as d}from"./onboard-helpers-CKsetIvC.js";import"./prompt-style-DpAh867d.js";import"./pairing-labels-iZoSa-aT.js";import"./memory-cli-P0GDvKlz.js";import"./query-expansion-BNl6JMlz.js";import"./manager-DKyEk2dt.js";import"./links-jlebCPFf.js";import"./cli-utils-BY7dLMFy.js";import"./help-format-Cav62lfS.js";import"./progress-Cyn5U745.js";import"./exec-approvals-BpBNEy6i.js";import"./nodes-screen-B1Y6pbxs.js";import"./system-run-command-B212q8f9.js";import"./runtime-Dz2qgcJk.js";import"./stagger-DmFYysrJ.js";import"./runtime-guard-D_eQ0X84.js";import"./program-context-DewOK4jD.js";import"./note-PBjA39mC.js";import{r as f}from"./completion-cli-BxTvZFra.js";import"./daemon-install-plan.shared-ChzeMJMO.js";import{n as p,r as m,t as h}from"./gateway-install-token-CqMSnPKA.js";import{n as g,t as _}from"./daemon-runtime-DHiDbRuC.js";import{i as v}from"./systemd-Dp59-Na4.js";import{n as y,t as b}from"./service-BMP0stI7.js";import{r as x}from"./health-dTYbHKsD.js";import{t as S}from"./control-ui-assets-jM-MvEQE.js";import{t as C}from"./onboarding.secret-input-2vgEb3Ik.js";import{t as w}from"./health-format-BYfab3lP.js";import{r as T,t as E}from"./doctor-completion-CjAt0IBL.js";import{t as D}from"./tui-CmfhONlS.js";import O from"node:os";import k from"node:path";import A from"node:fs/promises";async function j(e){let n=process.env.HOME||O.homedir();return e===`zsh`?`~/.zshrc`:e===`bash`?await t(k.join(n,`.bashrc`))?`~/.bashrc`:`~/.bash_profile`:e===`fish`?`~/.config/fish/config.fish`:`$PROFILE`}function M(e,t){return e===`powershell`?`Restart your shell (or reload your PowerShell profile).`:`Restart your shell or run: source ${t}`}async function N(e){let t={resolveCliName:i,checkShellCompletionStatus:E,ensureCompletionCacheExists:T,installCompletion:f,...e.deps},n=t.resolveCliName(),r=await t.checkShellCompletionStatus(n);if(r.usesSlowPattern){await t.ensureCompletionCacheExists(n)&&await t.installCompletion(r.shell,!0,n);return}if(r.profileInstalled&&!r.cacheExists){await t.ensureCompletionCacheExists(n);return}if(!r.profileInstalled){if(!(e.flow===`quickstart`||await e.prompter.confirm({message:`Enable ${r.shell} shell completion for ${n}?`,initialValue:!0})))return;if(!await t.ensureCompletionCacheExists(n)){await e.prompter.note(`Failed to generate completion cache. Run \`${n} completion --install\` later.`,`Shell completion`);return}await t.installCompletion(r.shell,!0,n);let i=await j(r.shell);await e.prompter.note(`Shell completion installed. ${M(r.shell,i)}`,`Shell completion`)}}async function P(t){let{flow:i,opts:f,baseConfig:T,nextConfig:E,settings:O,prompter:j,runtime:M}=t,P=async(e,t,n)=>{let r=j.progress(e);try{return await n(r)}finally{r.stop(typeof t.doneMessage==`function`?t.doneMessage():t.doneMessage)}},F=process.platform===`linux`?await v():!0;if(process.platform===`linux`&&!F&&await j.note(`Systemd user services are unavailable. Skipping lingering checks and service install.`,`Systemd`),process.platform===`linux`&&F){let{ensureSystemdUserLingerInteractive:e}=await import(`./systemd-linger-Bjq6egQK.js`).then(e=>e.r);await e({runtime:M,prompter:{confirm:j.confirm,note:j.note},reason:`Linux installs use a systemd user service by default. Without lingering, systemd stops the user session on logout/idle and kills the Gateway.`,requireConfirm:!1})}let I=typeof f.installDaemon==`boolean`?f.installDaemon:void 0,L;if(L=I===void 0?process.platform===`linux`&&!F?!1:i===`quickstart`?!0:await j.confirm({message:`Install Gateway service (recommended)`,initialValue:!0}):I,process.platform===`linux`&&!F&&L&&(await j.note("Systemd user services are unavailable; skipping service install. Use your container supervisor or `docker compose up -d`.",`Gateway service`),L=!1),L){let e=i===`quickstart`?_:await j.select({message:`Gateway service runtime`,options:g,initialValue:f.daemonRuntime??`node`});i===`quickstart`&&await j.note(`QuickStart uses Node for the Gateway service (stable + supported).`,`Gateway service runtime`);let t=y(),n=await t.isLoaded({env:process.env}),r=!1;if(n){let e=await j.select({message:`Gateway service already installed`,options:[{value:`restart`,label:`Restart`},{value:`reinstall`,label:`Reinstall`},{value:`skip`,label:`Skip`}]});if(e===`restart`){let e=`Gateway service restarted.`;await P(`Gateway service`,{doneMessage:()=>e},async n=>{n.update(`Restarting Gateway service…`);let i=b(`Gateway`,await t.restart({env:process.env,stdout:process.stdout}));e=i.progressMessage,r=i.scheduled})}else e===`reinstall`&&await P(`Gateway service`,{doneMessage:`Gateway service uninstalled.`},async e=>{e.update(`Uninstalling Gateway service…`),await t.uninstall({env:process.env,stdout:process.stdout})})}if(!n||!r&&n&&!await t.isLoaded({env:process.env})){let n=j.progress(`Gateway service`),r=null;try{n.update(`Preparing Gateway service…`);let i=await h({config:E,env:process.env});for(let e of i.warnings)await j.note(e,`Gateway service`);if(i.unavailableReason)r=[`Gateway install blocked:`,i.unavailableReason,`Fix gateway auth config/token input and rerun onboarding.`].join(` `);else{let{programArguments:r,workingDirectory:i,environment:a}=await p({env:process.env,port:O.port,runtime:e,warn:(e,t)=>j.note(e,t),config:E});n.update(`Installing Gateway service…`),await t.install({env:process.env,stdout:process.stdout,programArguments:r,workingDirectory:i,environment:a})}}catch(e){r=e instanceof Error?e.message:String(e)}finally{n.stop(r?`Gateway service install failed.`:`Gateway service installed.`)}r&&(await j.note(`Gateway service install failed: ${r}`,`Gateway`),await j.note(m(),`Gateway`))}}if(!f.skipHealth){await o({url:c({bind:E.gateway?.bind??`loopback`,port:O.port,customBindHost:E.gateway?.customBindHost,basePath:void 0}).wsUrl,token:O.gatewayToken,deadlineMs:15e3});try{await x({json:!1,timeoutMs:1e4},M)}catch(e){M.error(w(e)),await j.note([`Docs:`,`https://docs.openclaw.ai/gateway/health`,`https://docs.openclaw.ai/gateway/troubleshooting`].join(`
2
2
  `),`Health check help`)}}let R=E.gateway?.controlUi?.enabled??T.gateway?.controlUi?.enabled??!0;if(!f.skipUi&&R){let e=await S(M);!e.ok&&e.message&&M.error(e.message)}await j.note([`Add nodes for extra features:`,`- macOS app (system + notifications)`,`- iOS app (camera/canvas)`,`- Android app (camera/canvas)`].join(`
3
3
  `),`Optional apps`);let z=E.gateway?.controlUi?.basePath??T.gateway?.controlUi?.basePath,B=c({bind:O.bind,port:O.port,customBindHost:O.customBindHost,basePath:z}),V=O.authMode===`token`&&O.gatewayToken?`${B.httpUrl}#token=${encodeURIComponent(O.gatewayToken)}`:B.httpUrl,H=``;if(O.authMode===`password`)try{H=await C({config:E,value:E.gateway?.auth?.password,path:`gateway.auth.password`,env:process.env})??``}catch(e){await j.note([`Could not resolve gateway.auth.password SecretRef for onboarding auth.`,e instanceof Error?e.message:String(e)].join(`
4
4
  `),`Gateway auth`)}let U=await u({url:B.wsUrl,token:O.authMode===`token`?O.gatewayToken:void 0,password:O.authMode===`password`?H:``}),W=U.ok?`Gateway: reachable`:`Gateway: not detected${U.detail?` (${U.detail})`:``}`,G=k.join(n(t.workspaceDir),r),K=await A.access(G).then(()=>!0).catch(()=>!1);await j.note([`Web UI: ${B.httpUrl}`,O.authMode===`token`&&O.gatewayToken?`Web UI (with token): ${V}`:void 0,`Gateway WS: ${B.wsUrl}`,W,`Docs: https://docs.openclaw.ai/web/control-ui`].filter(Boolean).join(`
@@ -1,4 +1,4 @@
1
- import{m as e}from"./subsystem-kTFXkQM5.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import"./auth-profiles-e3SmOvON.js";import{r as t,t as n}from"./command-format-CLxIPuLR.js";import{y as r}from"./agent-scope-BKE4M04k.js";import{m as i,v as a}from"./utils-7Gdj77QB.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-R4odAlsj.js";import"./version-q3SkUw2K.js";import"./registry-Div2nEwi.js";import"./skills-Df0CxTMH.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-CCU8jDti.js";import"./logger-C1GUBMt-.js";import"./exec-CiwCrGw3.js";import"./windows-spawn-Dw4dpTt2.js";import"./redact-bVcVj47r.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-DNQO70y-.js";import"./send-Cfa08ZLE.js";import"./send-DmS34-Eb.js";import"./compact-DutiJiBy.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-D5CbqIVA.js";import"./tokens-D8eWI71q.js";import"./with-timeout-c1CzdShT.js";import"./deliver-HZ99jQzl.js";import"./diagnostic-CvLTqJbq.js";import"./send-CW3hfjkM.js";import"./pi-model-discovery-cW9be_SG.js";import"./exec-approvals-allowlist-DlYH42As.js";import"./exec-safe-bin-runtime-policy-Bu9bb9U5.js";import"./model-catalog-CI2eEH9Y.js";import"./fetch-Dj-FEHSr.js";import"./audio-transcription-runner-BwviCgP5.js";import"./fetch-guard-guH8Tmju.js";import"./image-DQ_3LMNb.js";import"./tool-display-BTuQQN92.js";import"./api-key-rotation-BRm3CNd-.js";import"./proxy-fetch-ByazCl5E.js";import"./ir-CsTyrPwa.js";import"./render-DrrPmnMI.js";import"./target-errors-BRLBPboT.js";import"./commands-DOhEGWJ2.js";import"./commands-registry-CqsggloB.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bh1ozdi-.js";import"./sqlite-DgdOh9U-.js";import"./call-D5NJXFgu.js";import"./pi-tools.policy-CklWbQkk.js";import"./pairing-store-CmT1fSmE.js";import"./fetch-Dh-apy46.js";import"./skill-commands-qdKWuiOR.js";import"./workspace-dirs-na4G79jL.js";import"./pairing-token-YrKlxjGC.js";import"./channel-activity-CFgOyIkh.js";import"./tables-5gR6U_tC.js";import"./kill-tree-DihujQie.js";import"./runtime-web-tools-BjmhIJkd.js";import"./runtime-HwYsJOk2.js";import"./node-shell-BuPDYFhk.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-C1kkZyEb.js";import"./plugin-auto-enable-CrVJR--r.js";import"./send-DQxQrVuw.js";import"./outbound-attachment-BKku_WUf.js";import"./delivery-queue-nkPJu0fY.js";import"./send-DVv1dCwu.js";import"./system-run-command-BT2tTJg2.js";import"./fetch-EBjfhrYU.js";import"./command-secret-targets-BtkZwOzh.js";import"./connection-auth-BIApbu6I.js";import{b as o,f as s,g as c,i as l,m as u,o as d}from"./onboard-helpers-CvWjz0op.js";import"./prompt-style-QJckocuy.js";import"./pairing-labels-B3wRXljf.js";import"./search-manager-Co5RwgQ4.js";import"./manager-p3CCKFcv.js";import"./memory-cli-CTXmLb0V.js";import"./links-pHmQCzdF.js";import"./cli-utils-BleB1eys.js";import"./help-format-BSNXPQuE.js";import"./progress-Cy6zNuIC.js";import"./exec-approvals-BXO9Cezj.js";import"./note-Dzei_8z5.js";import{r as f}from"./completion-cli-Btm1nzLM.js";import"./register.subclis-DHFqEK6G.js";import"./command-registry-kuOSuxH9.js";import"./program-context-CH9p6anW.js";import"./daemon-install-plan.shared-JQBIvXfN.js";import"./runtime-guard-BFK4A89C.js";import{n as p,r as m,t as h}from"./gateway-install-token-D5Aivh68.js";import{n as g,t as _}from"./daemon-runtime-VcpeBRJV.js";import{i as v}from"./systemd-2rjzkWWr.js";import{n as y,t as b}from"./service-CtJtO2Jl.js";import{r as x}from"./health-vy-C49Dw.js";import{t as S}from"./control-ui-assets-bS1XYZpI.js";import{t as C}from"./onboarding.secret-input-BbwX0Pao.js";import{t as w}from"./health-format-nLgxB9tv.js";import{r as T,t as E}from"./doctor-completion-Bp4r91Mj.js";import{t as D}from"./tui-CaytD7xm.js";import O from"node:os";import k from"node:path";import A from"node:fs/promises";async function j(e){let t=process.env.HOME||O.homedir();return e===`zsh`?`~/.zshrc`:e===`bash`?await i(k.join(t,`.bashrc`))?`~/.bashrc`:`~/.bash_profile`:e===`fish`?`~/.config/fish/config.fish`:`$PROFILE`}function M(e,t){return e===`powershell`?`Restart your shell (or reload your PowerShell profile).`:`Restart your shell or run: source ${t}`}async function N(e){let n={resolveCliName:t,checkShellCompletionStatus:E,ensureCompletionCacheExists:T,installCompletion:f,...e.deps},r=n.resolveCliName(),i=await n.checkShellCompletionStatus(r);if(i.usesSlowPattern){await n.ensureCompletionCacheExists(r)&&await n.installCompletion(i.shell,!0,r);return}if(i.profileInstalled&&!i.cacheExists){await n.ensureCompletionCacheExists(r);return}if(!i.profileInstalled){if(!(e.flow===`quickstart`||await e.prompter.confirm({message:`Enable ${i.shell} shell completion for ${r}?`,initialValue:!0})))return;if(!await n.ensureCompletionCacheExists(r)){await e.prompter.note(`Failed to generate completion cache. Run \`${r} completion --install\` later.`,`Shell completion`);return}await n.installCompletion(i.shell,!0,r);let t=await j(i.shell);await e.prompter.note(`Shell completion installed. ${M(i.shell,t)}`,`Shell completion`)}}async function P(t){let{flow:i,opts:f,baseConfig:T,nextConfig:E,settings:O,prompter:j,runtime:M}=t,P=async(e,t,n)=>{let r=j.progress(e);try{return await n(r)}finally{r.stop(typeof t.doneMessage==`function`?t.doneMessage():t.doneMessage)}},F=process.platform===`linux`?await v():!0;if(process.platform===`linux`&&!F&&await j.note(`Systemd user services are unavailable. Skipping lingering checks and service install.`,`Systemd`),process.platform===`linux`&&F){let{ensureSystemdUserLingerInteractive:e}=await import(`./systemd-linger-CFEQD-zV.js`).then(e=>e.r);await e({runtime:M,prompter:{confirm:j.confirm,note:j.note},reason:`Linux installs use a systemd user service by default. Without lingering, systemd stops the user session on logout/idle and kills the Gateway.`,requireConfirm:!1})}let I=typeof f.installDaemon==`boolean`?f.installDaemon:void 0,L;if(L=I===void 0?process.platform===`linux`&&!F?!1:i===`quickstart`?!0:await j.confirm({message:`Install Gateway service (recommended)`,initialValue:!0}):I,process.platform===`linux`&&!F&&L&&(await j.note("Systemd user services are unavailable; skipping service install. Use your container supervisor or `docker compose up -d`.",`Gateway service`),L=!1),L){let e=i===`quickstart`?_:await j.select({message:`Gateway service runtime`,options:g,initialValue:f.daemonRuntime??`node`});i===`quickstart`&&await j.note(`QuickStart uses Node for the Gateway service (stable + supported).`,`Gateway service runtime`);let t=y(),n=await t.isLoaded({env:process.env}),r=!1;if(n){let e=await j.select({message:`Gateway service already installed`,options:[{value:`restart`,label:`Restart`},{value:`reinstall`,label:`Reinstall`},{value:`skip`,label:`Skip`}]});if(e===`restart`){let e=`Gateway service restarted.`;await P(`Gateway service`,{doneMessage:()=>e},async n=>{n.update(`Restarting Gateway service…`);let i=b(`Gateway`,await t.restart({env:process.env,stdout:process.stdout}));e=i.progressMessage,r=i.scheduled})}else e===`reinstall`&&await P(`Gateway service`,{doneMessage:`Gateway service uninstalled.`},async e=>{e.update(`Uninstalling Gateway service…`),await t.uninstall({env:process.env,stdout:process.stdout})})}if(!n||!r&&n&&!await t.isLoaded({env:process.env})){let n=j.progress(`Gateway service`),r=null;try{n.update(`Preparing Gateway service…`);let i=await h({config:E,env:process.env});for(let e of i.warnings)await j.note(e,`Gateway service`);if(i.unavailableReason)r=[`Gateway install blocked:`,i.unavailableReason,`Fix gateway auth config/token input and rerun onboarding.`].join(` `);else{let{programArguments:r,workingDirectory:i,environment:a}=await p({env:process.env,port:O.port,runtime:e,warn:(e,t)=>j.note(e,t),config:E});n.update(`Installing Gateway service…`),await t.install({env:process.env,stdout:process.stdout,programArguments:r,workingDirectory:i,environment:a})}}catch(e){r=e instanceof Error?e.message:String(e)}finally{n.stop(r?`Gateway service install failed.`:`Gateway service installed.`)}r&&(await j.note(`Gateway service install failed: ${r}`,`Gateway`),await j.note(m(),`Gateway`))}}if(!f.skipHealth){await o({url:c({bind:E.gateway?.bind??`loopback`,port:O.port,customBindHost:E.gateway?.customBindHost,basePath:void 0}).wsUrl,token:O.gatewayToken,deadlineMs:15e3});try{await x({json:!1,timeoutMs:1e4},M)}catch(e){M.error(w(e)),await j.note([`Docs:`,`https://docs.openclaw.ai/gateway/health`,`https://docs.openclaw.ai/gateway/troubleshooting`].join(`
1
+ import{m as e}from"./subsystem-kTFXkQM5.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import"./auth-profiles-e3SmOvON.js";import{r as t,t as n}from"./command-format-CLxIPuLR.js";import{y as r}from"./agent-scope-BKE4M04k.js";import{m as i,v as a}from"./utils-7Gdj77QB.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-R4odAlsj.js";import"./version-q3SkUw2K.js";import"./registry-Div2nEwi.js";import"./skills-Df0CxTMH.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-CCU8jDti.js";import"./logger-C1GUBMt-.js";import"./exec-CiwCrGw3.js";import"./windows-spawn-Dw4dpTt2.js";import"./redact-bVcVj47r.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-DNQO70y-.js";import"./send-Cfa08ZLE.js";import"./send-DmS34-Eb.js";import"./compact-B5m4267P.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-D5CbqIVA.js";import"./tokens-D8eWI71q.js";import"./with-timeout-c1CzdShT.js";import"./deliver-HZ99jQzl.js";import"./diagnostic-CvLTqJbq.js";import"./send-CW3hfjkM.js";import"./pi-model-discovery-cW9be_SG.js";import"./exec-approvals-allowlist-DlYH42As.js";import"./exec-safe-bin-runtime-policy-Bu9bb9U5.js";import"./model-catalog-CI2eEH9Y.js";import"./fetch-Dj-FEHSr.js";import"./audio-transcription-runner-BwviCgP5.js";import"./fetch-guard-guH8Tmju.js";import"./image-DQ_3LMNb.js";import"./tool-display-BTuQQN92.js";import"./api-key-rotation-BRm3CNd-.js";import"./proxy-fetch-ByazCl5E.js";import"./ir-CsTyrPwa.js";import"./render-DrrPmnMI.js";import"./target-errors-BRLBPboT.js";import"./commands-DOhEGWJ2.js";import"./commands-registry-CqsggloB.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bh1ozdi-.js";import"./sqlite-DgdOh9U-.js";import"./call-D5NJXFgu.js";import"./pi-tools.policy-CklWbQkk.js";import"./pairing-store-CmT1fSmE.js";import"./fetch-Dh-apy46.js";import"./skill-commands-qdKWuiOR.js";import"./workspace-dirs-na4G79jL.js";import"./pairing-token-YrKlxjGC.js";import"./channel-activity-CFgOyIkh.js";import"./tables-5gR6U_tC.js";import"./kill-tree-DihujQie.js";import"./runtime-web-tools-BjmhIJkd.js";import"./runtime-HwYsJOk2.js";import"./node-shell-BuPDYFhk.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-C1kkZyEb.js";import"./plugin-auto-enable-CrVJR--r.js";import"./send-DQxQrVuw.js";import"./outbound-attachment-BKku_WUf.js";import"./delivery-queue-nkPJu0fY.js";import"./send-DVv1dCwu.js";import"./system-run-command-BT2tTJg2.js";import"./fetch-EBjfhrYU.js";import"./command-secret-targets-BtkZwOzh.js";import"./connection-auth-BIApbu6I.js";import{b as o,f as s,g as c,i as l,m as u,o as d}from"./onboard-helpers-CvWjz0op.js";import"./prompt-style-QJckocuy.js";import"./pairing-labels-B3wRXljf.js";import"./search-manager-Co5RwgQ4.js";import"./manager-p3CCKFcv.js";import"./memory-cli-CTXmLb0V.js";import"./links-pHmQCzdF.js";import"./cli-utils-BleB1eys.js";import"./help-format-BSNXPQuE.js";import"./progress-Cy6zNuIC.js";import"./exec-approvals-BXO9Cezj.js";import"./note-Dzei_8z5.js";import{r as f}from"./completion-cli-CXSmC7Nh.js";import"./register.subclis-BmtNNMP2.js";import"./command-registry-B-1wiWIV.js";import"./program-context-CH9p6anW.js";import"./daemon-install-plan.shared-JQBIvXfN.js";import"./runtime-guard-BFK4A89C.js";import{n as p,r as m,t as h}from"./gateway-install-token-D5Aivh68.js";import{n as g,t as _}from"./daemon-runtime-VcpeBRJV.js";import{i as v}from"./systemd-2rjzkWWr.js";import{n as y,t as b}from"./service-CtJtO2Jl.js";import{r as x}from"./health-CIBrUBhW.js";import{t as S}from"./control-ui-assets-bS1XYZpI.js";import{t as C}from"./onboarding.secret-input-BbwX0Pao.js";import{t as w}from"./health-format-nLgxB9tv.js";import{r as T,t as E}from"./doctor-completion-C5fxcbh9.js";import{t as D}from"./tui-CaytD7xm.js";import O from"node:os";import k from"node:path";import A from"node:fs/promises";async function j(e){let t=process.env.HOME||O.homedir();return e===`zsh`?`~/.zshrc`:e===`bash`?await i(k.join(t,`.bashrc`))?`~/.bashrc`:`~/.bash_profile`:e===`fish`?`~/.config/fish/config.fish`:`$PROFILE`}function M(e,t){return e===`powershell`?`Restart your shell (or reload your PowerShell profile).`:`Restart your shell or run: source ${t}`}async function N(e){let n={resolveCliName:t,checkShellCompletionStatus:E,ensureCompletionCacheExists:T,installCompletion:f,...e.deps},r=n.resolveCliName(),i=await n.checkShellCompletionStatus(r);if(i.usesSlowPattern){await n.ensureCompletionCacheExists(r)&&await n.installCompletion(i.shell,!0,r);return}if(i.profileInstalled&&!i.cacheExists){await n.ensureCompletionCacheExists(r);return}if(!i.profileInstalled){if(!(e.flow===`quickstart`||await e.prompter.confirm({message:`Enable ${i.shell} shell completion for ${r}?`,initialValue:!0})))return;if(!await n.ensureCompletionCacheExists(r)){await e.prompter.note(`Failed to generate completion cache. Run \`${r} completion --install\` later.`,`Shell completion`);return}await n.installCompletion(i.shell,!0,r);let t=await j(i.shell);await e.prompter.note(`Shell completion installed. ${M(i.shell,t)}`,`Shell completion`)}}async function P(t){let{flow:i,opts:f,baseConfig:T,nextConfig:E,settings:O,prompter:j,runtime:M}=t,P=async(e,t,n)=>{let r=j.progress(e);try{return await n(r)}finally{r.stop(typeof t.doneMessage==`function`?t.doneMessage():t.doneMessage)}},F=process.platform===`linux`?await v():!0;if(process.platform===`linux`&&!F&&await j.note(`Systemd user services are unavailable. Skipping lingering checks and service install.`,`Systemd`),process.platform===`linux`&&F){let{ensureSystemdUserLingerInteractive:e}=await import(`./systemd-linger-CFEQD-zV.js`).then(e=>e.r);await e({runtime:M,prompter:{confirm:j.confirm,note:j.note},reason:`Linux installs use a systemd user service by default. Without lingering, systemd stops the user session on logout/idle and kills the Gateway.`,requireConfirm:!1})}let I=typeof f.installDaemon==`boolean`?f.installDaemon:void 0,L;if(L=I===void 0?process.platform===`linux`&&!F?!1:i===`quickstart`?!0:await j.confirm({message:`Install Gateway service (recommended)`,initialValue:!0}):I,process.platform===`linux`&&!F&&L&&(await j.note("Systemd user services are unavailable; skipping service install. Use your container supervisor or `docker compose up -d`.",`Gateway service`),L=!1),L){let e=i===`quickstart`?_:await j.select({message:`Gateway service runtime`,options:g,initialValue:f.daemonRuntime??`node`});i===`quickstart`&&await j.note(`QuickStart uses Node for the Gateway service (stable + supported).`,`Gateway service runtime`);let t=y(),n=await t.isLoaded({env:process.env}),r=!1;if(n){let e=await j.select({message:`Gateway service already installed`,options:[{value:`restart`,label:`Restart`},{value:`reinstall`,label:`Reinstall`},{value:`skip`,label:`Skip`}]});if(e===`restart`){let e=`Gateway service restarted.`;await P(`Gateway service`,{doneMessage:()=>e},async n=>{n.update(`Restarting Gateway service…`);let i=b(`Gateway`,await t.restart({env:process.env,stdout:process.stdout}));e=i.progressMessage,r=i.scheduled})}else e===`reinstall`&&await P(`Gateway service`,{doneMessage:`Gateway service uninstalled.`},async e=>{e.update(`Uninstalling Gateway service…`),await t.uninstall({env:process.env,stdout:process.stdout})})}if(!n||!r&&n&&!await t.isLoaded({env:process.env})){let n=j.progress(`Gateway service`),r=null;try{n.update(`Preparing Gateway service…`);let i=await h({config:E,env:process.env});for(let e of i.warnings)await j.note(e,`Gateway service`);if(i.unavailableReason)r=[`Gateway install blocked:`,i.unavailableReason,`Fix gateway auth config/token input and rerun onboarding.`].join(` `);else{let{programArguments:r,workingDirectory:i,environment:a}=await p({env:process.env,port:O.port,runtime:e,warn:(e,t)=>j.note(e,t),config:E});n.update(`Installing Gateway service…`),await t.install({env:process.env,stdout:process.stdout,programArguments:r,workingDirectory:i,environment:a})}}catch(e){r=e instanceof Error?e.message:String(e)}finally{n.stop(r?`Gateway service install failed.`:`Gateway service installed.`)}r&&(await j.note(`Gateway service install failed: ${r}`,`Gateway`),await j.note(m(),`Gateway`))}}if(!f.skipHealth){await o({url:c({bind:E.gateway?.bind??`loopback`,port:O.port,customBindHost:E.gateway?.customBindHost,basePath:void 0}).wsUrl,token:O.gatewayToken,deadlineMs:15e3});try{await x({json:!1,timeoutMs:1e4},M)}catch(e){M.error(w(e)),await j.note([`Docs:`,`https://docs.openclaw.ai/gateway/health`,`https://docs.openclaw.ai/gateway/troubleshooting`].join(`
2
2
  `),`Health check help`)}}let R=E.gateway?.controlUi?.enabled??T.gateway?.controlUi?.enabled??!0;if(!f.skipUi&&R){let e=await S(M);!e.ok&&e.message&&M.error(e.message)}await j.note([`Add nodes for extra features:`,`- macOS app (system + notifications)`,`- iOS app (camera/canvas)`,`- Android app (camera/canvas)`].join(`
3
3
  `),`Optional apps`);let z=E.gateway?.controlUi?.basePath??T.gateway?.controlUi?.basePath,B=c({bind:O.bind,port:O.port,customBindHost:O.customBindHost,basePath:z}),V=O.authMode===`token`&&O.gatewayToken?`${B.httpUrl}#token=${encodeURIComponent(O.gatewayToken)}`:B.httpUrl,H=``;if(O.authMode===`password`)try{H=await C({config:E,value:E.gateway?.auth?.password,path:`gateway.auth.password`,env:process.env})??``}catch(e){await j.note([`Could not resolve gateway.auth.password SecretRef for onboarding auth.`,e instanceof Error?e.message:String(e)].join(`
4
4
  `),`Gateway auth`)}let U=await u({url:B.wsUrl,token:O.authMode===`token`?O.gatewayToken:void 0,password:O.authMode===`password`?H:``}),W=U.ok?`Gateway: reachable`:`Gateway: not detected${U.detail?` (${U.detail})`:``}`,G=k.join(a(t.workspaceDir),r),K=await A.access(G).then(()=>!0).catch(()=>!1);await j.note([`Web UI: ${B.httpUrl}`,O.authMode===`token`&&O.gatewayToken?`Web UI (with token): ${V}`:void 0,`Gateway WS: ${B.wsUrl}`,W,`Docs: https://docs.openclaw.ai/web/control-ui`].filter(Boolean).join(`