@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{A as e,N as t,p as n,v as r,w as i}from"./subsystem-kTFXkQM5.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Bo as a,Ec as o,Fo as s,jo as c,lr as l,ur as u}from"./auth-profiles-e3SmOvON.js";import{t as d}from"./command-format-CLxIPuLR.js";import{d as f,f as p}from"./agent-scope-BKE4M04k.js";import{_ as m}from"./session-key-C7F_iqYg.js";import{u as h}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{lt as g,n as _,r as v,t as y,u as b}from"./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{i as x}from"./send-Cfa08ZLE.js";import{at as S,et as C}from"./send-DmS34-Eb.js";import{d as w,fn as T,pn as ee}from"./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{n as E}from"./call-D5NJXFgu.js";import{b as te,y as D}from"./pi-tools.policy-CklWbQkk.js";import"./pairing-store-CmT1fSmE.js";import"./fetch-Dh-apy46.js";import{n as O}from"./format-relative-DkMjYy7z.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{n as k}from"./channel-selection-C1kkZyEb.js";import{a as ne}from"./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{n as A,s as j}from"./command-secret-targets-BtkZwOzh.js";import"./connection-auth-BIApbu6I.js";import"./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{t as M}from"./links-pHmQCzdF.js";import{n as N}from"./cli-utils-BleB1eys.js";import{t as re}from"./help-format-BSNXPQuE.js";import{n as P}from"./progress-Cy6zNuIC.js";import"./exec-approvals-BXO9Cezj.js";import"./outbound-DtOHlSvV.js";import"./channel-web-B7Dzfxgr.js";import"./session-qITLFUV4.js";import"./login-B3ufIWva.js";import"./provider-env-vars-Dt0Q29Su.js";import{t as F}from"./command-options-BpOUDl2S.js";import{n as ie}from"./api-BeG0ObSq.js";import"./note-Dzei_8z5.js";import{t as I}from"./clack-prompter-B1OXkeHa.js";import{i as L,n as ae,t as R}from"./config-validation-BJH21LJx.js";import{n as oe}from"./agents.config-BkB-gDby.js";import"./enable-BGfffwUv.js";import"./install-safe-path-C2oVnQ4q.js";import"./npm-pack-install-C3zwwLzE.js";import"./skill-scanner-B8TBRXeT.js";import"./installs-8EuwGg1W.js";import"./plugin-install-plan-Dsgq3kP0.js";import{a as se,i as ce,r as le}from"./onboard-channels-B1Cta60W.js";import"./auth-choice.apply-helpers-BpW1jrTU.js";import"./issue-format-DRHlQPnX.js";import{n as ue,t as z}from"./status-CQkb4GSc.js";import{t as de}from"./parse-log-line-CsYLg7Qu.js";import{t as fe}from"./channels-status-issues-RPxMYADM.js";import"./plugin-registry-BLopxJhs.js";import{t as B}from"./channel-options-DqUyBMZF.js";import V from"node:fs/promises";function pe(e){let t=m(e.accountId),n=y(e.channel)?.setup?.applyAccountName;return n?n({cfg:e.cfg,accountId:t,name:e.name}):e.cfg}function me(e){let t=m(e.accountId),n=y(e.channel)?.setup?.applyAccountConfig;return n?n({cfg:e.cfg,accountId:t,input:e.input}):e.cfg}async function H(e=n,t){let r=await R(e);if(!r)return null;let{resolvedConfig:i,diagnostics:a}=await j({config:r,commandName:t?.commandName??`channels`,targetIds:A(),mode:t?.mode});for(let t of a)e.log(`[secrets] ${t}`);return i}function he(e){let t=e.accountId||`default`;return e.name?.trim()?`${t} (${e.name.trim()})`:t}const U=e=>y(e)?.meta.label??e;function W(e){let t=U(e.channel),n=he({accountId:e.accountId,name:e.name});return`${e.channelStyle?e.channelStyle(t):t} ${e.accountStyle?e.accountStyle(n):n}`}function G(e){return e?.hasFlags===!1}function K(e){if(!e?.trim())return;let t=e.split(/[\n,;]+/g).map(e=>e.trim()).filter(Boolean);return t.length>0?t:void 0}function ge(e,t){let n=e.trim().toLowerCase();if(n)return ne({workspaceDir:t?f(t,p(t)):void 0}).find(e=>e.id.toLowerCase()===n?!0:(e.meta.aliases??[]).some(e=>e.trim().toLowerCase()===n))}async function _e(e,t=n,r){let i=await H(t);if(!i)return;let o=i;if(G(r)){let e=I(),n=[],r={};await e.intro(`Channel setup`);let o=await le(i,t,e,{allowDisable:!1,allowSignalInstall:!0,promptAccountIds:!0,onSelection:e=>{n=e},onAccountId:(e,t)=>{r[e]=t}});if(n.length===0){await e.outro(`No channels selected.`);return}if(await e.confirm({message:`Add display names for these accounts? (optional)`,initialValue:!1}))for(let t of n){let n=r[t]??`default`,i=y(t),a=i?.config.resolveAccount(o,n),s=i?.config.describeAccount?.(a,o)?.name??a?.name,c=await e.text({message:`${t} account name (${n})`,initialValue:s});c?.trim()&&(o=pe({cfg:o,channel:t,accountId:n,name:c}))}let s=n.map(e=>({channel:e,accountId:r[e]?.trim()})).filter(e=>!!e.accountId);if(s.length>0&&await e.confirm({message:`Bind configured channel accounts to agents now?`,initialValue:!0})){let t=oe(o),n=p(o);for(let r of s){let i=await e.select({message:`Route ${r.channel} account "${r.accountId}" to agent`,options:t.map(e=>({value:e.id,label:e.isDefault?`${e.id} (default)`:e.id})),initialValue:n}),a=ae(o,[{agentId:i,match:{channel:r.channel,accountId:r.accountId}}]);o=a.config,(a.added.length>0||a.updated.length>0)&&await e.note([...a.added.map(e=>`Added: ${L(e)}`),...a.updated.map(e=>`Updated: ${L(e)}`)].join(`
1
+ import{A as e,N as t,p as n,v as r,w as i}from"./subsystem-kTFXkQM5.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Bo as a,Ec as o,Fo as s,jo as c,lr as l,ur as u}from"./auth-profiles-e3SmOvON.js";import{t as d}from"./command-format-CLxIPuLR.js";import{d as f,f as p}from"./agent-scope-BKE4M04k.js";import{_ as m}from"./session-key-C7F_iqYg.js";import{u as h}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{lt as g,n as _,r as v,t as y,u as b}from"./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{i as x}from"./send-Cfa08ZLE.js";import{at as S,et as C}from"./send-DmS34-Eb.js";import{d as w,fn as T,pn as ee}from"./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{n as E}from"./call-D5NJXFgu.js";import{b as te,y as D}from"./pi-tools.policy-CklWbQkk.js";import"./pairing-store-CmT1fSmE.js";import"./fetch-Dh-apy46.js";import{n as O}from"./format-relative-DkMjYy7z.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{n as k}from"./channel-selection-C1kkZyEb.js";import{a as ne}from"./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{n as A,s as j}from"./command-secret-targets-BtkZwOzh.js";import"./connection-auth-BIApbu6I.js";import"./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{t as M}from"./links-pHmQCzdF.js";import{n as N}from"./cli-utils-BleB1eys.js";import{t as re}from"./help-format-BSNXPQuE.js";import{n as P}from"./progress-Cy6zNuIC.js";import"./exec-approvals-BXO9Cezj.js";import"./outbound-DtOHlSvV.js";import"./channel-web-DBxLlMxt.js";import"./session-qITLFUV4.js";import"./login-B3ufIWva.js";import"./provider-env-vars-Dt0Q29Su.js";import{t as F}from"./command-options-BpOUDl2S.js";import{n as ie}from"./api-BeG0ObSq.js";import"./note-Dzei_8z5.js";import{t as I}from"./clack-prompter-B1OXkeHa.js";import{i as L,n as ae,t as R}from"./config-validation-BJH21LJx.js";import{n as oe}from"./agents.config-BP_dS899.js";import"./enable-BGfffwUv.js";import"./install-safe-path-C2oVnQ4q.js";import"./npm-pack-install-C3zwwLzE.js";import"./skill-scanner-B8TBRXeT.js";import"./installs-8EuwGg1W.js";import"./plugin-install-plan-Dsgq3kP0.js";import{a as se,i as ce,r as le}from"./onboard-channels-C0PAtk4T.js";import"./auth-choice.apply-helpers-BpW1jrTU.js";import"./issue-format-DRHlQPnX.js";import{n as ue,t as z}from"./status-CQkb4GSc.js";import{t as de}from"./parse-log-line-CsYLg7Qu.js";import{t as fe}from"./channels-status-issues-RPxMYADM.js";import"./plugin-registry-DgGaQJpH.js";import{t as B}from"./channel-options-BmkYp9PQ.js";import V from"node:fs/promises";function pe(e){let t=m(e.accountId),n=y(e.channel)?.setup?.applyAccountName;return n?n({cfg:e.cfg,accountId:t,name:e.name}):e.cfg}function me(e){let t=m(e.accountId),n=y(e.channel)?.setup?.applyAccountConfig;return n?n({cfg:e.cfg,accountId:t,input:e.input}):e.cfg}async function H(e=n,t){let r=await R(e);if(!r)return null;let{resolvedConfig:i,diagnostics:a}=await j({config:r,commandName:t?.commandName??`channels`,targetIds:A(),mode:t?.mode});for(let t of a)e.log(`[secrets] ${t}`);return i}function he(e){let t=e.accountId||`default`;return e.name?.trim()?`${t} (${e.name.trim()})`:t}const U=e=>y(e)?.meta.label??e;function W(e){let t=U(e.channel),n=he({accountId:e.accountId,name:e.name});return`${e.channelStyle?e.channelStyle(t):t} ${e.accountStyle?e.accountStyle(n):n}`}function G(e){return e?.hasFlags===!1}function K(e){if(!e?.trim())return;let t=e.split(/[\n,;]+/g).map(e=>e.trim()).filter(Boolean);return t.length>0?t:void 0}function ge(e,t){let n=e.trim().toLowerCase();if(n)return ne({workspaceDir:t?f(t,p(t)):void 0}).find(e=>e.id.toLowerCase()===n?!0:(e.meta.aliases??[]).some(e=>e.trim().toLowerCase()===n))}async function _e(e,t=n,r){let i=await H(t);if(!i)return;let o=i;if(G(r)){let e=I(),n=[],r={};await e.intro(`Channel setup`);let o=await le(i,t,e,{allowDisable:!1,allowSignalInstall:!0,promptAccountIds:!0,onSelection:e=>{n=e},onAccountId:(e,t)=>{r[e]=t}});if(n.length===0){await e.outro(`No channels selected.`);return}if(await e.confirm({message:`Add display names for these accounts? (optional)`,initialValue:!1}))for(let t of n){let n=r[t]??`default`,i=y(t),a=i?.config.resolveAccount(o,n),s=i?.config.describeAccount?.(a,o)?.name??a?.name,c=await e.text({message:`${t} account name (${n})`,initialValue:s});c?.trim()&&(o=pe({cfg:o,channel:t,accountId:n,name:c}))}let s=n.map(e=>({channel:e,accountId:r[e]?.trim()})).filter(e=>!!e.accountId);if(s.length>0&&await e.confirm({message:`Bind configured channel accounts to agents now?`,initialValue:!0})){let t=oe(o),n=p(o);for(let r of s){let i=await e.select({message:`Route ${r.channel} account "${r.accountId}" to agent`,options:t.map(e=>({value:e.id,label:e.isDefault?`${e.id} (default)`:e.id})),initialValue:n}),a=ae(o,[{agentId:i,match:{channel:r.channel,accountId:r.accountId}}]);o=a.config,(a.added.length>0||a.updated.length>0)&&await e.note([...a.added.map(e=>`Added: ${L(e)}`),...a.updated.map(e=>`Updated: ${L(e)}`)].join(`
2
2
  `),`Routing bindings`),a.conflicts.length>0&&await e.note([`Skipped bindings already claimed by another agent:`,...a.conflicts.map(e=>`- ${L(e.binding)} (agent=${e.existingAgentId})`)].join(`
3
3
  `),`Routing bindings`)}}await a(o),await e.outro(`Channels updated.`);return}let s=String(e.channel??``),c=v(s),l=c?void 0:ge(s,o);if(!c&&l){let e=I(),n=f(o,p(o)),r=await ce({cfg:o,entry:l,prompter:e,runtime:t,workspaceDir:n});if(o=r.cfg,!r.installed)return;se({cfg:o,runtime:t,workspaceDir:n}),c=v(l.id)??l.id}if(!c){let n=l?`Plugin ${l.meta.label} could not be loaded after install.`:`Unknown channel: ${String(e.channel??``)}`;t.error(n),t.exit(1);return}let u=y(c);if(!u?.setup?.applyAccountConfig){t.error(`Channel ${c} does not support add.`),t.exit(1);return}let d=e.useEnv===!0,h=typeof e.initialSyncLimit==`number`?e.initialSyncLimit:typeof e.initialSyncLimit==`string`&&e.initialSyncLimit.trim()?Number.parseInt(e.initialSyncLimit,10):void 0,g=K(e.groupChannels),_=K(e.dmAllowlist),x={name:e.name,token:e.token,tokenFile:e.tokenFile,botToken:e.botToken,appToken:e.appToken,signalNumber:e.signalNumber,cliPath:e.cliPath,dbPath:e.dbPath,service:e.service,region:e.region,authDir:e.authDir,httpUrl:e.httpUrl,httpHost:e.httpHost,httpPort:e.httpPort,webhookPath:e.webhookPath,webhookUrl:e.webhookUrl,audienceType:e.audienceType,audience:e.audience,homeserver:e.homeserver,userId:e.userId,accessToken:e.accessToken,password:e.password,deviceName:e.deviceName,initialSyncLimit:h,useEnv:d,ship:e.ship,url:e.url,code:e.code,groupChannels:g,dmAllowlist:_,autoDiscoverChannels:e.autoDiscoverChannels},S=u.setup.resolveAccountId?.({cfg:o,accountId:e.account,input:x})??m(e.account),C=u.setup.validateInput?.({cfg:o,accountId:S,input:x});if(C){t.error(C),t.exit(1);return}let T=c===`telegram`?b({cfg:o,accountId:S}).token.trim():``;S!==`default`&&(o=ie({cfg:o,channelKey:c})),o=me({cfg:o,channel:c,accountId:S,input:x}),c===`telegram`&&T!==b({cfg:o,accountId:S}).token.trim()&&await w({accountId:S}),await a(o),t.log(`Added ${U(c)} account "${S}".`)}function q(e,t){if(e){if(Array.isArray(e)){for(let n of e)typeof n==`string`&&n.trim()&&t.push(n.trim());return}if(typeof e==`string`){let n=e.trim();if(!n)return;let r=n.split(/[,\s]+/).map(e=>e.trim());for(let e of r)e&&t.push(e);return}if(h(e))for(let n of Object.values(e))(Array.isArray(n)||typeof n==`string`)&&q(n,t)}}function ve(e){return Array.from(new Set(e.map(e=>e.trim()).filter(Boolean))).toSorted()}function ye(e){if(!h(e))return[];let t=[];return q(e.scopes,t),q(e.scope,t),h(e.info)&&(q(e.info.scopes,t),q(e.info.scope,t),q(e.info.user_scopes,t),q(e.info.bot_scopes,t)),ve(t)}function be(e){if(!h(e))return;let t=e.error;return typeof t==`string`&&t.trim()?t.trim():void 0}async function xe(e,t){try{let n=await e.apiCall(t);return h(n)?n:null}catch(e){return{ok:!1,error:e instanceof Error?e.message:String(e)}}}async function J(e,t){let n=x(e,{timeout:t}),r=[`auth.scopes`,`apps.permissions.info`],i=[];for(let e of r){let t=await xe(n,e),r=ye(t);if(r.length>0)return{ok:!0,scopes:r,source:e};let a=be(t);a&&i.push(`${e}: ${a}`)}return{ok:!1,error:i.length>0?i.join(` | `):`no scopes returned`}}const Se=[`ViewChannel`,`SendMessages`],Ce={"ChannelMessage.Read.All":`channel history`,"Chat.Read.All":`chat history`,"Channel.ReadBasic.All":`channel list`,"Team.ReadBasic.All":`team list`,"TeamsActivity.Read.All":`teams activity`,"Sites.Read.All":`files (SharePoint)`,"Files.Read.All":`files (OneDrive)`};function we(e,t=1e4){let n=Number(e);return!Number.isFinite(n)||n<=0?t:n}function Te(e){if(!e)return`unknown`;let t=[];return e.chatTypes?.length&&t.push(`chatTypes=${e.chatTypes.join(`,`)}`),e.polls&&t.push(`polls`),e.reactions&&t.push(`reactions`),e.edit&&t.push(`edit`),e.unsend&&t.push(`unsend`),e.reply&&t.push(`reply`),e.effects&&t.push(`effects`),e.groupManagement&&t.push(`groupManagement`),e.threads&&t.push(`threads`),e.media&&t.push(`media`),e.nativeCommands&&t.push(`nativeCommands`),e.blockStreaming&&t.push(`blockStreaming`),t.length?t.join(` `):`none`}function Ee(e){if(!e)return;let t=S(e,{defaultKind:`channel`});return t?t.kind===`channel`?{raw:e,normalized:t.normalized,kind:`channel`,channelId:t.id}:t.kind===`user`?{raw:e,normalized:t.normalized,kind:`user`}:{raw:e,normalized:t.normalized}:{raw:e}}function De(e){return e?[`messageContent=${e.messageContent??`unknown`}`,`guildMembers=${e.guildMembers??`unknown`}`,`presence=${e.presence??`unknown`}`].join(` `):`unknown`}function Oe(t,n){let r=[];if(!n||typeof n!=`object`)return r;let i=n;if(t===`discord`){let t=i.bot;if(t?.username){let n=t.id?` (${t.id})`:``;r.push(`Bot: ${e.accent(`@${t.username}`)}${n}`)}let n=i.application;n?.intents&&r.push(`Intents: ${De(n.intents)}`)}if(t===`telegram`){let t=i.bot;if(t?.username){let n=t.id?` (${t.id})`:``;r.push(`Bot: ${e.accent(`@${t.username}`)}${n}`)}let n=[],a=t?.canJoinGroups,o=t?.canReadAllGroupMessages,s=t?.supportsInlineQueries;typeof a==`boolean`&&n.push(`joinGroups=${a}`),typeof o==`boolean`&&n.push(`readAllGroupMessages=${o}`),typeof s==`boolean`&&n.push(`inlineQueries=${s}`),n.length>0&&r.push(`Flags: ${n.join(` `)}`);let c=i.webhook;c?.url!==void 0&&r.push(`Webhook: ${c.url||`none`}`)}if(t===`slack`){let t=i.bot,n=i.team;if(t?.name&&r.push(`Bot: ${e.accent(`@${t.name}`)}`),n?.name||n?.id){let e=n?.id?` (${n.id})`:``;r.push(`Team: ${n?.name??`unknown`}${e}`)}}if(t===`signal`){let e=i.version;e&&r.push(`Signal daemon: ${e}`)}if(t===`msteams`){let t=typeof i.appId==`string`?i.appId.trim():``;t&&r.push(`App: ${e.accent(t)}`);let n=i.graph;if(n){let t=Array.isArray(n.roles)?n.roles.map(e=>String(e).trim()).filter(Boolean):[],i=typeof n.scopes==`string`?n.scopes.split(/\s+/).map(e=>e.trim()).filter(Boolean):Array.isArray(n.scopes)?n.scopes.map(e=>String(e).trim()).filter(Boolean):[];if(n.ok===!1)r.push(`Graph: ${e.error(n.error??`failed`)}`);else if(t.length>0||i.length>0){let e=e=>{let t=Ce[e];return t?`${e} (${t})`:e};t.length>0&&r.push(`Graph roles: ${t.map(e).join(`, `)}`),i.length>0&&r.push(`Graph scopes: ${i.map(e).join(`, `)}`)}else n.ok===!0&&r.push(`Graph: ok`)}}let a=typeof i.ok==`boolean`?i.ok:void 0;if(a===!0&&r.length===0&&r.push(`Probe: ok`),a===!1){let t=typeof i.error==`string`&&i.error?` (${i.error})`:``;r.push(`Probe: ${e.error(`failed${t}`)}`)}return r}async function ke(e){let t=Ee(e.target?.trim());if(!t)return{};if(t.kind!==`channel`||!t.channelId)return{target:t,report:{error:`Target looks like a DM user; pass channel:<id> to audit channel permissions.`}};let n=e.account.token?.trim();if(!n)return{target:t,report:{channelId:t.channelId,error:`Discord bot token missing for permission audit.`}};try{let r=await C(t.channelId,{token:n,accountId:e.account.accountId??void 0}),i=Se.filter(e=>!r.permissions.includes(e));return{target:t,report:{channelId:r.channelId,guildId:r.guildId,isDm:r.isDm,channelType:r.channelType,permissions:r.permissions,missingRequired:i.length?i:[],raw:r.raw}}}catch(e){return{target:t,report:{channelId:t.channelId,error:e instanceof Error?e.message:String(e)}}}}async function Ae(e){let{plugin:t,cfg:n,timeoutMs:r}=e,i=e.accountOverride?[e.accountOverride]:(()=>{let e=t.config.listAccountIds(n);return e.length>0?e:[g({plugin:t,cfg:n,accountIds:e})]})(),a=[],o=t.actions?.listActions?.({cfg:n})??[],s=Array.from(new Set([`send`,`broadcast`,...o.map(e=>String(e))]));for(let o of i){let i=t.config.resolveAccount(n,o),c=t.config.isConfigured?await t.config.isConfigured(i,n):!!i,l=t.config.isEnabled?t.config.isEnabled(i,n):i.enabled!==!1,u;if(c&&l&&t.status?.probeAccount)try{u=await t.status.probeAccount({account:i,timeoutMs:r,cfg:n})}catch(e){u={ok:!1,error:e instanceof Error?e.message:String(e)}}let d;if(t.id===`slack`&&c&&l){let e=i.botToken?.trim(),t=i.userToken?.trim(),n=[];e?n.push({tokenType:`bot`,result:await J(e,r)}):n.push({tokenType:`bot`,result:{ok:!1,error:`Slack bot token missing.`}}),t&&n.push({tokenType:`user`,result:await J(t,r)}),d=n}let f,p;if(t.id===`discord`&&e.target){let t=await ke({account:i,target:e.target});f=t.target,p=t.report}a.push({channel:t.id,accountId:o,accountName:typeof i.name==`string`&&i.name?.trim()||void 0,configured:c,enabled:l,support:t.capabilities,probe:u,target:f,channelPermissions:p,actions:s,slackScopes:d})}return a}async function je(t,i=n){let a=await H(i);if(!a)return;let o=we(t.timeout,1e4),s=typeof t.channel==`string`?t.channel.trim().toLowerCase():``,c=typeof t.target==`string`?t.target.trim():``;if(t.account&&(!s||s===`all`)){i.error(r(`--account requires a specific --channel.`)),i.exit(1);return}if(c&&s!==`discord`){i.error(r(`--target requires --channel discord.`)),i.exit(1);return}let l=_(),u=!s||s===`all`?l:(()=>{let e=y(s);return e?[e]:null})();if(!u||u.length===0){i.error(r(`Unknown channel "${s}".`)),i.exit(1);return}let d=[];for(let e of u){let n=t.account?.trim()||void 0;d.push(...await Ae({plugin:e,cfg:a,timeoutMs:o,accountOverride:n,target:c&&e.id===`discord`?c:void 0}))}if(t.json){i.log(JSON.stringify({channels:d},null,2));return}let f=[];for(let t of d){let n=W({channel:t.channel,accountId:t.accountId,name:t.accountName,channelStyle:e.accent,accountStyle:e.heading});if(f.push(e.heading(n)),f.push(`Support: ${Te(t.support)}`),t.actions&&t.actions.length>0&&f.push(`Actions: ${t.actions.join(`, `)}`),t.configured===!1||t.enabled===!1){let e=t.configured===!1?`not configured`:`configured`,n=t.enabled===!1?`disabled`:`enabled`;f.push(`Status: ${e}, ${n}`)}let r=Oe(t.channel,t.probe);if(r.length>0?f.push(...r):t.configured&&t.enabled&&f.push(e.muted(`Probe: unavailable`)),t.channel===`slack`&&t.slackScopes)for(let n of t.slackScopes){let t=n.result.source?` (${n.result.source})`:``,r=n.tokenType===`user`?`User scopes`:`Bot scopes`;n.result.ok&&n.result.scopes?.length?f.push(`${r}${t}: ${n.result.scopes.join(`, `)}`):n.result.error&&f.push(`${r}: ${e.error(n.result.error)}`)}if(t.channel===`discord`&&t.channelPermissions){let n=t.channelPermissions;if(n.error)f.push(`Permissions: ${e.error(n.error)}`);else{let t=n.permissions?.length?n.permissions.join(`, `):`none`,r=n.channelId?` (${n.channelId})`:``;f.push(`Permissions${r}: ${t}`),n.missingRequired&&n.missingRequired.length>0?f.push(`${e.warn(`Missing required:`)} ${n.missingRequired.join(`, `)}`):f.push(e.success(`Missing required: none`))}}else t.channel===`discord`&&c&&!t.channelPermissions&&f.push(e.muted(`Permissions: skipped (no target).`));f.push(``)}i.log(f.join(`
4
4
  `).trimEnd())}const Y=t=>t===`none`?e.error(t):t===`env`?e.accent(t):e.success(t);function Me(t){return t===!1?e.error(`disabled`):e.success(`enabled`)}function Ne(t){return t?e.success(`configured`):e.warn(`not configured`)}function Pe(e){return`token=${Y(e||`none`)}`}function X(e,t){return`${e}=${Y(t||`none`)}`}function Fe(t){return t?e.success(`linked`):e.warn(`not linked`)}function Ie(e){return e.meta.showConfigured!==!1}function Le(t){let{channel:n,snapshot:r}=t,i=W({channel:n.id,accountId:r.accountId,name:r.name,channelStyle:e.accent,accountStyle:e.heading}),a=[];return r.linked!==void 0&&a.push(Fe(r.linked)),Ie(n)&&typeof r.configured==`boolean`&&a.push(Ne(r.configured)),r.tokenSource&&a.push(Pe(r.tokenSource)),r.botTokenSource&&a.push(X(`bot`,r.botTokenSource)),r.appTokenSource&&a.push(X(`app`,r.appTokenSource)),r.baseUrl&&a.push(`base=${e.muted(r.baseUrl)}`),typeof r.enabled==`boolean`&&a.push(Me(r.enabled)),`- ${i}: ${a.join(`, `)}`}async function Re(e){try{return await P({label:`Fetching usage snapshot…`,indeterminate:!0,enabled:!0},async()=>await T())}catch(t){return e.error(String(t)),null}}async function ze(t,r=n){let i=await H(r);if(!i)return;let a=t.usage!==!1,s=_(),c=o(),l=Object.entries(c.profiles).map(([e,t])=>({id:e,provider:t.provider,type:t.type,isExternal:!1}));if(t.json){let e=a?await T():void 0,t={};for(let e of s)t[e.id]=e.config.listAccountIds(i);let n={chat:t,auth:l,...e?{usage:e}:{}};r.log(JSON.stringify(n,null,2));return}let u=[];u.push(e.heading(`Chat channels:`));for(let e of s){let t=e.config.listAccountIds(i);if(!(!t||t.length===0))for(let n of t){let t=await z({plugin:e,cfg:i,accountId:n});u.push(Le({channel:e,snapshot:t}))}}if(u.push(``),u.push(e.heading(`Auth providers (OAuth + API keys):`)),l.length===0)u.push(e.muted(`- none`));else for(let t of l){let n=t.isExternal?e.muted(` (synced)`):``;u.push(`- ${e.accent(t.id)} (${e.success(t.type)}${n})`)}if(r.log(u.join(`
@@ -1 +1 @@
1
- import"./paths-B4IRk3wi.js";import{t as e}from"./subsystem-BQ1073Mu.js";import"./utils-D1PlBTFH.js";import{qs as t}from"./model-selection-B2r_LMFb.js";import{ot as n}from"./reply-DHtpIWpD.js";import{d as r,f as i}from"./agent-scope-DW6ZDCxj.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.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"./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";const a=e(`plugins`);function o(e,o){let s=o??t(),c=r(s,i(s)),l={info:e=>a.info(e),warn:e=>a.warn(e),error:e=>a.error(e),debug:e=>a.debug(e)},u=n({config:s,workspaceDir:c,logger:l}),d=new Set(e.commands.map(e=>e.name()));for(let t of u.cliRegistrars){if(t.commands.length>0){let e=t.commands.filter(e=>d.has(e));if(e.length>0){a.debug(`plugin CLI register skipped (${t.pluginId}): command already registered (${e.join(`, `)})`);continue}}try{let n=t.register({program:e,config:s,workspaceDir:c,logger:l});n&&typeof n.then==`function`&&n.catch(e=>{a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)});for(let e of t.commands)d.add(e)}catch(e){a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)}}}export{o as registerPluginCliCommands};
1
+ import"./paths-B4IRk3wi.js";import{t as e}from"./subsystem-BQ1073Mu.js";import"./utils-D1PlBTFH.js";import{qs as t}from"./model-selection-B2r_LMFb.js";import{ot as n}from"./reply-HrabJs88.js";import{d as r,f as i}from"./agent-scope-DW6ZDCxj.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.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"./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";const a=e(`plugins`);function o(e,o){let s=o??t(),c=r(s,i(s)),l={info:e=>a.info(e),warn:e=>a.warn(e),error:e=>a.error(e),debug:e=>a.debug(e)},u=n({config:s,workspaceDir:c,logger:l}),d=new Set(e.commands.map(e=>e.name()));for(let t of u.cliRegistrars){if(t.commands.length>0){let e=t.commands.filter(e=>d.has(e));if(e.length>0){a.debug(`plugin CLI register skipped (${t.pluginId}): command already registered (${e.join(`, `)})`);continue}}try{let n=t.register({program:e,config:s,workspaceDir:c,logger:l});n&&typeof n.then==`function`&&n.catch(e=>{a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)});for(let e of t.commands)d.add(e)}catch(e){a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)}}}export{o as registerPluginCliCommands};
@@ -1 +1 @@
1
- import{t as e}from"./subsystem-kTFXkQM5.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{jo as t}from"./auth-profiles-e3SmOvON.js";import{d as n,f as r}from"./agent-scope-BKE4M04k.js";import"./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{l as i}from"./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"./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";const a=e(`plugins`);function o(e,o){let s=o??t(),c=n(s,r(s)),l={info:e=>a.info(e),warn:e=>a.warn(e),error:e=>a.error(e),debug:e=>a.debug(e)},u=i({config:s,workspaceDir:c,logger:l}),d=new Set(e.commands.map(e=>e.name()));for(let t of u.cliRegistrars){if(t.commands.length>0){let e=t.commands.filter(e=>d.has(e));if(e.length>0){a.debug(`plugin CLI register skipped (${t.pluginId}): command already registered (${e.join(`, `)})`);continue}}try{let n=t.register({program:e,config:s,workspaceDir:c,logger:l});n&&typeof n.then==`function`&&n.catch(e=>{a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)});for(let e of t.commands)d.add(e)}catch(e){a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)}}}export{o as registerPluginCliCommands};
1
+ import{t as e}from"./subsystem-kTFXkQM5.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{jo as t}from"./auth-profiles-e3SmOvON.js";import{d as n,f as r}from"./agent-scope-BKE4M04k.js";import"./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{l as i}from"./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"./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";const a=e(`plugins`);function o(e,o){let s=o??t(),c=n(s,r(s)),l={info:e=>a.info(e),warn:e=>a.warn(e),error:e=>a.error(e),debug:e=>a.debug(e)},u=i({config:s,workspaceDir:c,logger:l}),d=new Set(e.commands.map(e=>e.name()));for(let t of u.cliRegistrars){if(t.commands.length>0){let e=t.commands.filter(e=>d.has(e));if(e.length>0){a.debug(`plugin CLI register skipped (${t.pluginId}): command already registered (${e.join(`, `)})`);continue}}try{let n=t.register({program:e,config:s,workspaceDir:c,logger:l});n&&typeof n.then==`function`&&n.catch(e=>{a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)});for(let e of t.commands)d.add(e)}catch(e){a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)}}}export{o as registerPluginCliCommands};
@@ -1 +1 @@
1
- import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{J as t,Z as n}from"./subsystem-kTFXkQM5.js";import{i as r,o as i,s as a}from"./register.subclis-DHFqEK6G.js";var o=e({getCoreCliCommandNames:()=>u,getCoreCliCommandsWithSubcommands:()=>d,registerCoreCliByName:()=>m,registerCoreCliCommands:()=>h,registerProgramCommands:()=>g});const s=e=>!n(e),c=[{commands:[{name:`setup`,description:`Initialize local config and agent workspace`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.setup-CeW9lN5-.js`)).registerSetupCommand(e)}},{commands:[{name:`onboard`,description:`Interactive onboarding wizard for gateway, workspace, and skills`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.onboard-BteLZ-mA.js`)).registerOnboardCommand(e)}},{commands:[{name:`configure`,description:`Interactive setup wizard for credentials, channels, gateway, and agent defaults`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.configure-CThul7Zy.js`)).registerConfigureCommand(e)}},{commands:[{name:`config`,description:`Non-interactive config helpers (get/set/unset/file/validate). Default: starts setup wizard.`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./config-cli-C_Ep8Cqd.js`)).registerConfigCli(e)}},{commands:[{name:`backup`,description:`Create and verify local backup archives for OpenClaw state`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.backup-COfXXyV1.js`)).registerBackupCommand(e)}},{commands:[{name:`doctor`,description:`Health checks + quick fixes for the gateway and channels`,hasSubcommands:!1},{name:`dashboard`,description:`Open the Control UI with your current token`,hasSubcommands:!1},{name:`reset`,description:`Reset local config/state (keeps the CLI installed)`,hasSubcommands:!1},{name:`uninstall`,description:`Uninstall the gateway service + local data (CLI remains)`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.maintenance-C47agRIL.js`)).registerMaintenanceCommands(e)}},{commands:[{name:`message`,description:`Send, read, and manage messages`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.message-Dxxzi9kt.js`)).registerMessageCommands(e,t)}},{commands:[{name:`memory`,description:`Search and reindex memory files`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./memory-cli-CTXmLb0V.js`).then(e=>e.t)).registerMemoryCli(e)}},{commands:[{name:`agent`,description:`Run one agent turn via the Gateway`,hasSubcommands:!1},{name:`agents`,description:`Manage isolated agents (workspaces, auth, routing)`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.agent-CQHFkB8p.js`)).registerAgentCommands(e,{agentChannelOptions:t.agentChannelOptions})}},{commands:[{name:`status`,description:`Show channel health and recent session recipients`,hasSubcommands:!1},{name:`health`,description:`Fetch health from the running gateway`,hasSubcommands:!1},{name:`sessions`,description:`List stored conversation sessions`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.status-health-sessions-C-JabFZz.js`)).registerStatusHealthSessionsCommands(e)}},{commands:[{name:`browser`,description:`Manage OpenClaw's dedicated browser (Chrome/Chromium)`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./browser-cli-ChsrzeKS.js`)).registerBrowserCli(e)}}];function l(e){let t=new Set,n=[];for(let r of c)for(let i of r.commands)e&&!e(i)||t.has(i.name)||(t.add(i.name),n.push(i.name));return n}function u(){return l()}function d(){return l(e=>e.hasSubcommands)}function f(e,t){for(let n of t.commands)i(e,n.name)}function p(e,t,n,r){let i=e.command(r.name).description(r.description);i.allowUnknownOption(!0),i.allowExcessArguments(!0),i.action(async(...r)=>{f(e,n),await n.register({program:e,ctx:t,argv:process.argv}),await a(e,r)})}async function m(e,t,n,r=process.argv){let i=c.find(e=>e.commands.some(e=>e.name===n));return i?(f(e,i),await i.register({program:e,ctx:t,argv:r}),!0):!1}function h(e,n,r){let i=t(r);if(i&&s(r)){let t=c.find(e=>e.commands.some(e=>e.name===i));if(t){let r=t.commands.find(e=>e.name===i);r&&p(e,n,t,r);return}}for(let t of c)for(let r of t.commands)p(e,n,t,r)}function g(e,t,n=process.argv){h(e,t,n),r(e,n)}export{g as a,m as i,u as n,d as r,o as t};
1
+ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{J as t,Z as n}from"./subsystem-kTFXkQM5.js";import{i as r,o as i,s as a}from"./register.subclis-BmtNNMP2.js";var o=e({getCoreCliCommandNames:()=>u,getCoreCliCommandsWithSubcommands:()=>d,registerCoreCliByName:()=>m,registerCoreCliCommands:()=>h,registerProgramCommands:()=>g});const s=e=>!n(e),c=[{commands:[{name:`setup`,description:`Initialize local config and agent workspace`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.setup-BoiX_qRl.js`)).registerSetupCommand(e)}},{commands:[{name:`onboard`,description:`Interactive onboarding wizard for gateway, workspace, and skills`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.onboard-g_3bWGn7.js`)).registerOnboardCommand(e)}},{commands:[{name:`configure`,description:`Interactive setup wizard for credentials, channels, gateway, and agent defaults`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.configure-A6heJkJh.js`)).registerConfigureCommand(e)}},{commands:[{name:`config`,description:`Non-interactive config helpers (get/set/unset/file/validate). Default: starts setup wizard.`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./config-cli-CutpYl0W.js`)).registerConfigCli(e)}},{commands:[{name:`backup`,description:`Create and verify local backup archives for OpenClaw state`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.backup-COfXXyV1.js`)).registerBackupCommand(e)}},{commands:[{name:`doctor`,description:`Health checks + quick fixes for the gateway and channels`,hasSubcommands:!1},{name:`dashboard`,description:`Open the Control UI with your current token`,hasSubcommands:!1},{name:`reset`,description:`Reset local config/state (keeps the CLI installed)`,hasSubcommands:!1},{name:`uninstall`,description:`Uninstall the gateway service + local data (CLI remains)`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.maintenance-BiqiVyJY.js`)).registerMaintenanceCommands(e)}},{commands:[{name:`message`,description:`Send, read, and manage messages`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.message-CXPAYgVk.js`)).registerMessageCommands(e,t)}},{commands:[{name:`memory`,description:`Search and reindex memory files`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./memory-cli-CTXmLb0V.js`).then(e=>e.t)).registerMemoryCli(e)}},{commands:[{name:`agent`,description:`Run one agent turn via the Gateway`,hasSubcommands:!1},{name:`agents`,description:`Manage isolated agents (workspaces, auth, routing)`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.agent-Zd0TARQm.js`)).registerAgentCommands(e,{agentChannelOptions:t.agentChannelOptions})}},{commands:[{name:`status`,description:`Show channel health and recent session recipients`,hasSubcommands:!1},{name:`health`,description:`Fetch health from the running gateway`,hasSubcommands:!1},{name:`sessions`,description:`List stored conversation sessions`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.status-health-sessions-BIo6bs1r.js`)).registerStatusHealthSessionsCommands(e)}},{commands:[{name:`browser`,description:`Manage OpenClaw's dedicated browser (Chrome/Chromium)`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./browser-cli-ChsrzeKS.js`)).registerBrowserCli(e)}}];function l(e){let t=new Set,n=[];for(let r of c)for(let i of r.commands)e&&!e(i)||t.has(i.name)||(t.add(i.name),n.push(i.name));return n}function u(){return l()}function d(){return l(e=>e.hasSubcommands)}function f(e,t){for(let n of t.commands)i(e,n.name)}function p(e,t,n,r){let i=e.command(r.name).description(r.description);i.allowUnknownOption(!0),i.allowExcessArguments(!0),i.action(async(...r)=>{f(e,n),await n.register({program:e,ctx:t,argv:process.argv}),await a(e,r)})}async function m(e,t,n,r=process.argv){let i=c.find(e=>e.commands.some(e=>e.name===n));return i?(f(e,i),await i.register({program:e,ctx:t,argv:r}),!0):!1}function h(e,n,r){let i=t(r);if(i&&s(r)){let t=c.find(e=>e.commands.some(e=>e.name===i));if(t){let r=t.commands.find(e=>e.name===i);r&&p(e,n,t,r);return}}for(let t of c)for(let r of t.commands)p(e,n,t,r)}function g(e,t,n=process.argv){h(e,t,n),r(e,n)}export{g as a,m as i,u as n,d as r,o as t};