@noxsoft/anima 5.1.2 → 6.5.0

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 (489) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +2 -2
  3. package/dist/{APEv2Parser-DV7AH14P.js → APEv2Parser-Dvsbp_2R.js} +3 -3
  4. package/dist/{AbstractID3Parser-C3RlCr-Y.js → AbstractID3Parser-IB9gxozg.js} +5 -5
  5. package/dist/{AiffParser-DaFyNU8n.js → AiffParser-R2IhrBzL.js} +4 -4
  6. package/dist/{AsfParser-CDCRfCXr.js → AsfParser-DJEueUMg.js} +4 -4
  7. package/dist/{DsdiffParser-BX31LICZ.js → DsdiffParser-DXLYn9tT.js} +4 -4
  8. package/dist/{DsfParser-C3JBjE-C.js → DsfParser-D2--NF0i.js} +5 -5
  9. package/dist/{FlacParser-DY4m-7v1.js → FlacParser-8cDAjrth.js} +5 -5
  10. package/dist/{ID3v1Parser-DL9AGlNt.js → ID3v1Parser-B494XuP9.js} +3 -3
  11. package/dist/{ID3v2Parser-Mr8o-5GJ.js → ID3v2Parser-DlxcNqv5.js} +4 -4
  12. package/dist/{ID3v2Token-DQqGh8AB.js → ID3v2Token-CSLSVrSQ.js} +2 -2
  13. package/dist/{MP4Parser-DkunlEqI.js → MP4Parser-COql2J-w.js} +6 -6
  14. package/dist/{MatroskaParser-IKjHx0h7.js → MatroskaParser-bNP5wC2F.js} +3 -3
  15. package/dist/{MpegParser-EecSeRWJ.js → MpegParser-C1gjfYqq.js} +4 -4
  16. package/dist/{MusepackParser-CkfsAeuE.js → MusepackParser-DBdYf7kV.js} +5 -5
  17. package/dist/{OggParser-z3QlSd8U.js → OggParser-CxajqbK3.js} +5 -5
  18. package/dist/{Util-DDVY6AaC.js → Util-BRZxoY1Q.js} +1 -1
  19. package/dist/{WavPackParser-PimUUBRx.js → WavPackParser-CtH9QFia.js} +4 -4
  20. package/dist/{WaveParser-B539YtoQ.js → WaveParser-yufLki1G.js} +5 -5
  21. package/dist/{accounts-CL0JV_xk.js → accounts-B_2nt5Cd.js} +2 -2
  22. package/dist/{accounts-CYEa4ttU.js → accounts-COxGcLGB.js} +1 -1
  23. package/dist/{accounts-Bj5MvaDs.js → accounts-DIES085e.js} +11 -11
  24. package/dist/{accounts-DZsqyow2.js → accounts-TUsfghIW.js} +38 -38
  25. package/dist/{acp-cli-ynoZZhYQ.js → acp-cli-CWgqDQQH.js} +6 -6
  26. package/dist/{acp-cli-BFAoKBvs.js → acp-cli-D0wfP8-l.js} +16 -16
  27. package/dist/{active-listener-BWPgtTZp.js → active-listener-BKtsWhsb.js} +4 -4
  28. package/dist/{active-listener-GJR3nLhX.js → active-listener-D2r8IO7g.js} +5 -5
  29. package/dist/{agent-DUAarfNl.js → agent-CnS0SRpT.js} +93 -236
  30. package/dist/{agent-CaaEZsXl.js → agent-VRQM14Xp.js} +98 -229
  31. package/dist/{agent-scope-C9CiVcmh.js → agent-scope-ByIGrCTT.js} +2 -2
  32. package/dist/{agent-scope-D3HZp64M.js → agent-scope-CXxC8FFX.js} +2 -2
  33. package/dist/{agent-scope-BZ8hjIt_.js → agent-scope-CxBzAozu.js} +3 -3
  34. package/dist/{agents-t54YcbvK.js → agents-CvMRplDx.js} +15 -13
  35. package/dist/{agents.config-J7iEgdW_.js → agents.config-BR5JLtud.js} +1 -1
  36. package/dist/{anthropic-direct-runner-B12V2Q5H.js → anthropic-direct-runner-BeYCnvZ8.js} +37 -15
  37. package/dist/{anthropic-direct-runner-CzQb7QkD.js → anthropic-direct-runner-C2Kwju-r.js} +29 -7
  38. package/dist/{audit-ByHmjh-G.js → audit-B05W5ckN.js} +23 -34
  39. package/dist/{audit-HJOpXfgY.js → audit-DDz7UOIx.js} +18 -15
  40. package/dist/{auth-DXrALxdm.js → auth-DsC5pZ_0.js} +2 -2
  41. package/dist/{prompts-CneQ6SeF.js → auth-choice-DY1saszS.js} +12 -107
  42. package/dist/{auth-choice-DPWnLV_w.js → auth-choice-Dc5TAJwT.js} +10 -9
  43. package/dist/{auth-health-DmrnGklu.js → auth-health-Cc8-vy8y.js} +1 -1
  44. package/dist/auth-health-Dhr8p2SD.js +149 -0
  45. package/dist/{auth-profiles-BF5x9Ej0.js → auth-profiles-Brxz2ojJ.js} +193 -42
  46. package/dist/{auth-profiles-DjCH4kWT.js → auth-profiles-C-LuhW6c.js} +195 -44
  47. package/dist/{auth-profiles-PJVsRqf4.js → auth-profiles-DKu7ZUzl.js} +189 -29
  48. package/dist/{auth-profiles-eZzmaeR3.js → auth-profiles-DtWUl1-k.js} +198 -38
  49. package/dist/{auth-store-CnRrUELz.js → auth-store-Bd0GoqEL.js} +13 -13
  50. package/dist/{auth-store-KnWGteIV.js → auth-store-BpYI9t_y.js} +3 -3
  51. package/dist/{auth-store-DjcQlyze.js → auth-store-Jvgz2_l1.js} +2 -2
  52. package/dist/{banner-D9JyV5SF.js → banner-DAMtSjUF.js} +1 -1
  53. package/dist/{bonjour-discovery-QsoaZ8Pr.js → bonjour-discovery-Co-b97Dz.js} +2 -2
  54. package/dist/build-info.json +3 -3
  55. package/dist/bundled/boot-md/handler.js +222 -151
  56. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  57. package/dist/bundled/command-logger/handler.js +1 -1
  58. package/dist/bundled/session-memory/handler.js +24 -24
  59. package/dist/{call-DHZ76BNg.js → call-B4lhqS6H.js} +3 -3
  60. package/dist/{call-DQjoz63V.js → call-CDPbPDAr.js} +4 -4
  61. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  62. package/dist/canvas-host/a2ui/a2ui.bundle.js +18967 -16484
  63. package/dist/{catalog-AZNRamJ4.js → catalog-CsXv59Tq.js} +2 -2
  64. package/dist/{channel-web-CQIbtfme.js → channel-web-B8mzTSaY.js} +15 -15
  65. package/dist/{channels-status-issues-DdjvFHx9.js → channels-status-issues-WkG3Tmxk.js} +4 -4
  66. package/dist/{chrome-HTuFjVWW.js → chrome-B8EnYGj1.js} +9 -9
  67. package/dist/{chrome-BNggURXT.js → chrome-BaU-H9m7.js} +3 -3
  68. package/dist/{chrome-Cfak4A3i.js → chrome-DLUBPBPz.js} +12 -12
  69. package/dist/{chunk-CyT-_QsQ.js → chunk-B4Kx-ocg.js} +11 -9
  70. package/dist/{chunk-Dffz_QIs.js → chunk-CFSle8n5.js} +1 -1
  71. package/dist/{chunk-D3vyM2EQ.js → chunk-Cy0Bj0F3.js} +1 -1
  72. package/dist/{chunk-DFqo_u5A.js → chunk-DJXDX69U.js} +11 -9
  73. package/dist/{clack-prompter-QbDK4ABC.js → clack-prompter-0JW5kry0.js} +3 -3
  74. package/dist/{clack-prompter-rXuqdPbx.js → clack-prompter-fZSmnHda.js} +5 -5
  75. package/dist/cli/daemon-cli.js +1 -1
  76. package/dist/{cli-kT9Mb3dT.js → cli-D8exVpuI.js} +30 -29
  77. package/dist/cli-hcHk5KuP.js +102 -0
  78. package/dist/{cli-utils-BdkJVXjy.js → cli-utils-D2X_bDLt.js} +9 -1
  79. package/dist/{cli-utils-DGnL8raH.js → cli-utils-DcDBK4C5.js} +9 -1
  80. package/dist/{client-D9E5Wwb_.js → client-BWkoTfOH.js} +3 -2
  81. package/dist/{client-DzIcZx4J.js → client-CfLiulzK.js} +2 -1
  82. package/dist/{command-registry-vEVxxxzI.js → command-registry-D3VhxpWx.js} +21 -12
  83. package/dist/{commands-NIY0IDXe.js → commands-DE8FNH0v.js} +92 -20
  84. package/dist/{commands-eY0Ao0wt.js → commands-Mekaw9WG.js} +92 -20
  85. package/dist/{common-C2wAYEWA.js → common-BCW6hLGI.js} +2 -2
  86. package/dist/{common-BzPvZcxT.js → common-Bf_TG87Y.js} +2 -2
  87. package/dist/{common-6Fcbzr42.js → common-DT_obM-k.js} +2 -2
  88. package/dist/{completion-cli-BBKG6buM.js → completion-cli-B3BqQJq9.js} +3 -3
  89. package/dist/{completion-cli-C84I5l8a.js → completion-cli-CepDzeW1.js} +2 -2
  90. package/dist/{config-Ofh9gKvs.js → config-BrVuTQ8R.js} +14 -2
  91. package/dist/{config-6FVC8hW0.js → config-CweTwOtr.js} +40 -28
  92. package/dist/{config-DqwH4y-D.js → config-DaD4FsAn.js} +19 -7
  93. package/dist/{config-D2kCn7yR.js → config-ZYN8tezd.js} +18 -6
  94. package/dist/{config-cli-CQzq5yWB.js → config-cli-3CaIxSKo.js} +4 -4
  95. package/dist/config-cli-B6Np85rk.js +15 -0
  96. package/dist/{config-guard-B1plY6aQ.js → config-guard-C4b2dksv.js} +2 -2
  97. package/dist/{config-guard-CYlpjNN7.js → config-guard-CWhoBtB3.js} +20 -20
  98. package/dist/{config-sync-CYX9Tzyr.js → config-sync-CCVp-tVX.js} +2 -2
  99. package/dist/{config-sync-CDUhjDom.js → config-sync-CMO_5lyl.js} +2 -2
  100. package/dist/{configure-G6h2Ppk0.js → configure-D882Bg7c.js} +39 -15
  101. package/dist/{configure-Bv6mqD0j.js → configure-D88dg6mE.js} +79 -77
  102. package/dist/{configure-DxQqSUJs.js → configure-xpjwedvJ.js} +50 -49
  103. package/dist/{configure-B-dfdPKX.js → configure-zXK6UZ51.js} +49 -24
  104. package/dist/{context-CpsnZLOp.js → context-B5X720Bs.js} +1 -1
  105. package/dist/{control-service-D1oxSXVg.js → control-service-3CI4vt1h.js} +2 -2
  106. package/dist/{control-service-CzAfyR4e.js → control-service-5YtMvm7D.js} +5 -5
  107. package/dist/control-ui/assets/index-Bwcvc7fq.css +1 -0
  108. package/dist/control-ui/assets/index-CBUvF5Mp.js +72 -0
  109. package/dist/control-ui/assets/index-CBUvF5Mp.js.map +1 -0
  110. package/dist/control-ui/assets/index-D7Bf6Say.js +3 -0
  111. package/dist/control-ui/assets/index-D7Bf6Say.js.map +1 -0
  112. package/dist/control-ui/assets/index-DVpMpG5G.js +2 -0
  113. package/dist/control-ui/assets/index-DVpMpG5G.js.map +1 -0
  114. package/dist/control-ui/assets/observers-CxfWf9RO.js +2 -0
  115. package/dist/control-ui/assets/observers-CxfWf9RO.js.map +1 -0
  116. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js +138 -0
  117. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js.map +1 -0
  118. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js +129 -0
  119. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js.map +1 -0
  120. package/dist/control-ui/index.html +2 -2
  121. package/dist/{cron-cli-C4qZZo4e.js → cron-cli-Cht6Itx6.js} +18 -18
  122. package/dist/{cron-cli-CSivg2i9.js → cron-cli-D9XrF-Gx.js} +8 -8
  123. package/dist/{daemon-cli-DfxT-pQ4.js → daemon-cli-9zrnYRjh.js} +8 -8
  124. package/dist/{daemon-cli-KMzjJH_D.js → daemon-cli-CrdPhSxr.js} +15 -15
  125. package/dist/daemon-cli.js +34 -6
  126. package/dist/{daemon-runtime-CIE27usH.js → daemon-runtime-BrUj88ZO.js} +2 -2
  127. package/dist/{daemon-runtime-BfgstLVI.js → daemon-runtime-DCqwraWR.js} +1 -1
  128. package/dist/{deliver-8r6UbXnC.js → deliver-B-dPbUIs.js} +18 -28
  129. package/dist/{deliver-ahx1N11n.js → deliver-BKzX3YoN.js} +7 -7
  130. package/dist/{deliver-DVt8TbK9.js → deliver-C1L5nO0K.js} +3 -3
  131. package/dist/{deliver-D2hQZ9X0.js → deliver-d-CaN0uL.js} +59 -69
  132. package/dist/deps-DyT32VfN.js +23 -0
  133. package/dist/{diagnostics-DXeDqA_-.js → diagnostics-Cu9pZAFn.js} +1 -1
  134. package/dist/{dispatcher-DpSnqIL0.js → dispatcher-BQQugU-7.js} +1 -1
  135. package/dist/{dispatcher-DzT6jltc.js → dispatcher-DzwzLQRk.js} +2 -2
  136. package/dist/{dns-cli-D9ka2fZD.js → dns-cli-C8KIX4P3.js} +12 -12
  137. package/dist/{dns-cli-D2Orvc8E.js → dns-cli-V2bo6vSt.js} +3 -3
  138. package/dist/{docs-cli-CKfzGqYM.js → docs-cli-Bt-YV3xs.js} +2 -2
  139. package/dist/{docs-cli-DWYXJd-j.js → docs-cli-D2cVJxjP.js} +7 -7
  140. package/dist/{doctor-vXt5qjNJ.js → doctor-DEnSKgHu.js} +21 -21
  141. package/dist/{doctor-DumyG85t.js → doctor-WpKCNZeO.js} +36 -181
  142. package/dist/{doctor-completion-lAyxyd7X.js → doctor-completion-CPff9UlF.js} +2 -2
  143. package/dist/{doctor-completion-C8JSWfqN.js → doctor-completion-CypXc1Uo.js} +2 -2
  144. package/dist/{doctor-config-flow-DA50eWp5.js → doctor-config-flow-Bgl0Cc20.js} +6 -6
  145. package/dist/{doctor-config-flow-BjfGQ1Br.js → doctor-config-flow-Dxy7RIm0.js} +4 -4
  146. package/dist/{engine-BVchKo5_.js → engine-DpbYPop7.js} +9 -9
  147. package/dist/{engine-CKqNpVwE.js → engine-zmn3SOYa.js} +10 -9
  148. package/dist/entry.js +19 -28
  149. package/dist/{env-DVJCc7dM.js → env-DlTia1B4.js} +1 -1
  150. package/dist/{exec-cazBMA02.js → exec-BylR5qWS.js} +1 -1
  151. package/dist/{exec-gKbUce2p.js → exec-C6tXfeqA.js} +1 -1
  152. package/dist/{exec-Bfd4ztFZ.js → exec-DUzVF5_D.js} +7 -7
  153. package/dist/{exec-approvals-cli-BPwW6GIK.js → exec-approvals-cli-CN2WeH7y.js} +20 -20
  154. package/dist/{exec-approvals-cli-6HndodnP.js → exec-approvals-cli-DYZVBnqS.js} +8 -8
  155. package/dist/extensionAPI.js +22 -22
  156. package/dist/format-BCAtE7cT.js +20 -0
  157. package/dist/{frontmatter-BP4GSt5L.js → frontmatter-Dsa7N963.js} +2 -2
  158. package/dist/{gateway-cli-CHhTweWb.js → gateway-cli-B_xsx5Nv.js} +104 -101
  159. package/dist/{gateway-cli-B60L2z4a.js → gateway-cli-D3VBOA_i.js} +69 -66
  160. package/dist/{gateway-rpc-CrSglZPE.js → gateway-rpc-Cj_h2sVM.js} +3 -3
  161. package/dist/{gateway-rpc-BtOX_e53.js → gateway-rpc-CnXMGsxp.js} +3 -3
  162. package/dist/{gmail-setup-utils-D2uUKNlF.js → gmail-setup-utils-DaJoXV_3.js} +3 -3
  163. package/dist/{health-BttJ1Qeh.js → health-C8KCBhuo.js} +8 -8
  164. package/dist/{health-D8fJ6U_k.js → health-CabOEPQ0.js} +13 -13
  165. package/dist/{health-format-CH6JWH45.js → health-format-D-JJ5_S4.js} +2 -2
  166. package/dist/{heartbeat-visibility-DcGQOTXe.js → heartbeat-visibility-BjYY-mKG.js} +1 -1
  167. package/dist/{heartbeat-visibility-B2MDtPTL.js → heartbeat-visibility-ZfNSbFcq.js} +1 -1
  168. package/dist/{help-format-7YidDC5Z.js → help-format-Dt-I_Mls.js} +1 -1
  169. package/dist/{hooks-cli-DRUryj5H.js → hooks-cli-Cs7GUa7G.js} +34 -33
  170. package/dist/{hooks-cli-BMZF6RF3.js → hooks-cli-DOs9WZ3K.js} +56 -55
  171. package/dist/{hooks-status-VvwKn90L.js → hooks-status-DdweuSIj.js} +4 -4
  172. package/dist/{image-ops-BUy__GHL.js → image-ops-Ct3GueyT.js} +1 -1
  173. package/dist/index.js +79 -71
  174. package/dist/{init-B8PBeUpi.js → init-CFndGgTJ.js} +1 -1
  175. package/dist/{init-DxkAVKP0.js → init-DkBwXNme.js} +1 -1
  176. package/dist/{installs-sayrGjx1.js → installs-Bi6UipiE.js} +6 -6
  177. package/dist/{installs-BcnNDR54.js → installs-a4Vz_J08.js} +3 -3
  178. package/dist/ipv4-DfMwLQ0d.js +14 -0
  179. package/dist/{lib-D4dE4_XZ.js → lib-6xd5SQjU.js} +20 -20
  180. package/dist/{lifecycle-core-BerWWP7p.js → lifecycle-core-B8PI1NZJ.js} +3 -3
  181. package/dist/{links-OhvsEkVw.js → links-DcilUrqq.js} +1 -1
  182. package/dist/llm-slug-generator.js +25 -25
  183. package/dist/{loader-CLNb0v_s.js → loader-Bw2wdN4l.js} +159 -3
  184. package/dist/{loader-Bww_qb65.js → loader-C87TLS4J.js} +159 -3
  185. package/dist/{logging-DhXRGHWg.js → logging-Chc1Sj6N.js} +1 -1
  186. package/dist/{login-BovU8kno.js → login-BHnvW9HA.js} +6 -6
  187. package/dist/{login-BPtmlRRv.js → login-BTOKtSQN.js} +5 -5
  188. package/dist/{login-C54B66KM.js → login-CrMpAZ0n.js} +4 -4
  189. package/dist/{login-C4mptULi.js → login-DKkQ3Czu.js} +5 -5
  190. package/dist/{login-qr-bim3Nkyu.js → login-qr-BGbHImRb.js} +8 -8
  191. package/dist/{login-qr-pFbvowe5.js → login-qr-CsAVGp00.js} +12 -12
  192. package/dist/{login-qr-657mh7cI.js → login-qr-DILcBA_q.js} +6 -6
  193. package/dist/{login-qr-BxNKHxcf.js → login-qr-OUAGpDsU.js} +10 -10
  194. package/dist/{logs-cli-CQStwrGd.js → logs-cli-Bc6IOyHA.js} +8 -8
  195. package/dist/{logs-cli-De79vyiP.js → logs-cli-BiAJbjnq.js} +15 -15
  196. package/dist/{manager-B043uMPT.js → manager-BYu34CX3.js} +12 -12
  197. package/dist/{manager-Cvmm95Pf.js → manager-C6L_DH0O.js} +2 -2
  198. package/dist/{manager-BtrVJ8Ve.js → manager-D8VCuzru.js} +9 -9
  199. package/dist/{manager-A3pC-CW-.js → manager-b_aZwo00.js} +16 -16
  200. package/dist/{manifest-registry-D-DOtLzo.js → manifest-registry-qF960vMH.js} +1 -1
  201. package/dist/{memory-cli-COl5xoIl.js → memory-cli-B0kKl-9T.js} +7 -7
  202. package/dist/{memory-cli-691NgCXx.js → memory-cli-DLtBA6r5.js} +11 -11
  203. package/dist/{message-channel-DZYYDt1_.js → message-channel-CMsexA3K.js} +9 -7
  204. package/dist/{message-channel-DdOBO6Qm.js → message-channel-DIHHKJhk.js} +8 -6
  205. package/dist/{migrate-DkBWjPPs.js → migrate-DuohB_ur.js} +3 -3
  206. package/dist/{migrate-BLjwxe9X.js → migrate-bgeTT_GR.js} +3 -3
  207. package/dist/{model-auth-DKhjNVHc.js → model-auth-CHB3EySM.js} +10 -5
  208. package/dist/{model-auth-CxAB4iZ0.js → model-auth-KpsOXKDc.js} +3 -3
  209. package/dist/model-param-b-C1QDqzQp.js +16 -0
  210. package/dist/{model-selection-BPkpXepz.js → model-selection-CLcoOT3e.js} +25 -7
  211. package/dist/{model-selection-wCaVeFbb.js → model-selection-CY6r_3wt.js} +25 -7
  212. package/dist/{model-selection-DFbDH9o2.js → model-selection-DcO3qJOu.js} +24 -6
  213. package/dist/{model-selection-BI8CKPwQ.js → model-selection-DjsJGv1R.js} +67 -8
  214. package/dist/models-BM2_NkMu.js +2707 -0
  215. package/dist/models-cli-BjY8wA-C.js +272 -0
  216. package/dist/models-cli-BpjeKsUz.js +2946 -0
  217. package/dist/{node-cli-Ajhng-5p.js → node-cli-BmuVEJ1C.js} +12 -12
  218. package/dist/{node-cli-t3N6HE9R.js → node-cli-DU_oREff.js} +27 -27
  219. package/dist/{node-service-4B-0AjmA.js → node-service-qZXF7T7A.js} +1 -1
  220. package/dist/{note-De2zPKl3.js → note-iMYVGjpA.js} +2 -2
  221. package/dist/noxsoft-bootstrap-C4dSx7K_.js +77 -0
  222. package/dist/noxsoft-bootstrap-CrlkSFzd.js +77 -0
  223. package/dist/{npm-registry-spec-CFp4OEe4.js → npm-registry-spec-Br4B4I_3.js} +2 -2
  224. package/dist/{npm-registry-spec-DVDcgWxm.js → npm-registry-spec-jf7Mowdn.js} +1 -1
  225. package/dist/{onboard-xSPFmM29.js → onboard-DM9gULJN.js} +24 -19
  226. package/dist/{onboard-i4CJtSb9.js → onboard-_-D81kAy.js} +19 -15
  227. package/dist/{onboard-channels-RsbA6EaD.js → onboard-channels-CtT-RN60.js} +8 -8
  228. package/dist/{onboard-channels-D6Gt3CsX.js → onboard-channels-UkphAdCy.js} +4 -4
  229. package/dist/{onboard-helpers-IeOtcIME.js → onboard-helpers-CFudIoX4.js} +3 -3
  230. package/dist/{onboard-helpers-DPqXrhma.js → onboard-helpers-CJ3HzoUO.js} +7 -7
  231. package/dist/{onboarding-CZBVMwFn.js → onboarding-BB9PteK8.js} +20 -17
  232. package/dist/{onboarding-Cao0a_Z1.js → onboarding-Djmm0PEM.js} +27 -23
  233. package/dist/{orchestrator-COMX8CF2.js → orchestrator-C1nWKIJS.js} +7 -3
  234. package/dist/{orchestrator-BLXpTTgr.js → orchestrator-C2ypFiPL.js} +6 -3
  235. package/dist/{outbound-DWfSyfZC.js → outbound-Bmft-5um.js} +4 -4
  236. package/dist/{outbound-Rs0fFC2g.js → outbound-C577aWZp.js} +1 -1
  237. package/dist/{outbound-DLCmFGfJ.js → outbound-DW2eod1S.js} +4 -4
  238. package/dist/{outbound-uxBpmALx.js → outbound-fPqdCDR4.js} +4 -4
  239. package/dist/outbound-send-deps-DVfWC4E8.js +14 -0
  240. package/dist/outbound-send-deps-T_FgdfgW.js +36 -0
  241. package/dist/{parse-timeout-DkOL1T_l.js → parse-timeout-C4WLf3Qy.js} +3 -3
  242. package/dist/{parse-timeout-DlU4ymhF.js → parse-timeout-D4UO8pY_.js} +1 -1
  243. package/dist/{path-env-CjpH-KWH.js → path-env-DLQPf9qj.js} +2 -2
  244. package/dist/{paths-D2eokayo.js → paths-B-AkG5FD.js} +3 -3
  245. package/dist/{paths-DQMKfv60.js → paths-CAQJvbeZ.js} +2 -2
  246. package/dist/{paths-Cwszsz1I.js → paths-Q6h5HODL.js} +2 -2
  247. package/dist/{pi-auth-json-BLdaEAx2.js → pi-auth-json-B_lKNFK6.js} +5 -5
  248. package/dist/{pi-auth-json-BH7uvkKr.js → pi-auth-json-BmdBnmlZ.js} +8 -9
  249. package/dist/{pi-auth-json-DjxzPUt3.js → pi-auth-json-DkYqdjrV.js} +2 -2
  250. package/dist/{pi-auth-json-smxh_Xud.js → pi-auth-json-WTvcP2gz.js} +9 -8
  251. package/dist/{pi-embedded-D4eEfxIU.js → pi-embedded-BMbtgOzv.js} +825 -319
  252. package/dist/{pi-embedded-DifnZvKk.js → pi-embedded-DfbM3fAT.js} +888 -382
  253. package/dist/{pi-embedded-helpers-B6wVA0hU.js → pi-embedded-helpers-BZ9GspxK.js} +1 -1
  254. package/dist/{pi-tools.policy-CDgjN_3f.js → pi-tools.policy-D2FusuQa.js} +3 -3
  255. package/dist/{pi-tools.policy-ox141hP6.js → pi-tools.policy-WdTAfqbV.js} +6 -6
  256. package/dist/{plugin-auto-enable-Mj7AnofW.js → plugin-auto-enable-CtYcdTju.js} +5 -5
  257. package/dist/{plugin-auto-enable-OqDAK-ap.js → plugin-auto-enable-DhuD30Je.js} +2 -2
  258. package/dist/{plugin-registry-CpXm8ADp.js → plugin-registry-DePMxn4z.js} +4 -4
  259. package/dist/{plugin-registry-CkZnT8Fb.js → plugin-registry-QTkplP4s.js} +2 -2
  260. package/dist/plugin-sdk/agents/cli-backends.d.ts +4 -1
  261. package/dist/plugin-sdk/agents/cli-credentials.d.ts +0 -10
  262. package/dist/plugin-sdk/agents/cli-runner.d.ts +2 -0
  263. package/dist/plugin-sdk/agents/defaults.d.ts +2 -2
  264. package/dist/plugin-sdk/agents/model-auto.d.ts +43 -0
  265. package/dist/plugin-sdk/agents/model-fallback.d.ts +5 -0
  266. package/dist/plugin-sdk/agents/model-preference.d.ts +25 -0
  267. package/dist/plugin-sdk/agents/noxsoft-runner.d.ts +94 -0
  268. package/dist/plugin-sdk/agents/pi-embedded-runner/run/params.d.ts +6 -3
  269. package/dist/plugin-sdk/agents/pi-embedded.d.ts +6 -50
  270. package/dist/plugin-sdk/agents/runner-capabilities.d.ts +2 -0
  271. package/dist/plugin-sdk/agents/sandbox/constants.d.ts +1 -1
  272. package/dist/plugin-sdk/auth/noxsoft-auth.d.ts +55 -0
  273. package/dist/plugin-sdk/channels/registry.d.ts +2 -2
  274. package/dist/plugin-sdk/cli/deps.d.ts +2 -1
  275. package/dist/plugin-sdk/cli/outbound-send-deps.d.ts +10 -0
  276. package/dist/plugin-sdk/commands/agent/types.d.ts +2 -0
  277. package/dist/plugin-sdk/config/types.agent-defaults.d.ts +14 -0
  278. package/dist/plugin-sdk/config/types.models.d.ts +1 -1
  279. package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +13 -0
  280. package/dist/plugin-sdk/config/zod-schema.agents.d.ts +13 -0
  281. package/dist/plugin-sdk/config/zod-schema.d.ts +13 -0
  282. package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +1 -0
  283. package/dist/plugin-sdk/identity/loader.d.ts +1 -0
  284. package/dist/plugin-sdk/identity/trust-graph.d.ts +32 -0
  285. package/dist/plugin-sdk/index.js +57 -47
  286. package/dist/plugin-sdk/utils/message-channel.d.ts +2 -1
  287. package/dist/{plugins-DnJgmFJR.js → plugins-DYcg0qBW.js} +1 -1
  288. package/dist/{plugins-cli-CrrkMAYM.js → plugins-cli-Bc9oU1ld.js} +58 -57
  289. package/dist/{plugins-cli-D4VxQKaJ.js → plugins-cli-Dv0KQTWo.js} +36 -35
  290. package/dist/{polls-DuwPgAV7.js → polls-DFISjV7H.js} +5 -5
  291. package/dist/{ports-B1b1r9Dz.js → ports-DaVrZDUq.js} +2 -2
  292. package/dist/{ports-BX00e96t.js → ports-q535r1PZ.js} +2 -2
  293. package/dist/{program-CTDFmZNx.js → program-CuwbF8YO.js} +48 -40
  294. package/dist/{program-context-Hl6bnPfB.js → program-context-CxPfy-Wr.js} +51 -35
  295. package/dist/{progress-B-VBLfHr.js → progress-CVLvQV_t.js} +1 -1
  296. package/dist/{prompt-style-DU9Vjqe5.js → prompt-style-BI53UVgE.js} +1 -1
  297. package/dist/{prompts-D6b3zLVO.js → prompts-BmgT_kkv.js} +33 -2
  298. package/dist/prompts-Bq4QGFQM.js +158 -0
  299. package/dist/{pw-ai-BV57RRmp.js → pw-ai-CB-zeR7h.js} +5 -5
  300. package/dist/{pw-ai-CY-VcqJp.js → pw-ai-C_1-7IgH.js} +4 -4
  301. package/dist/{pw-ai-CTHtrCEC.js → pw-ai-DxNrJcCA.js} +3 -3
  302. package/dist/{qmd-manager-DJeQYS-r.js → qmd-manager-C_XBZ_bT.js} +5 -5
  303. package/dist/{qmd-manager-CwbYv6nJ.js → qmd-manager-CpNYgSrx.js} +7 -7
  304. package/dist/{qmd-manager-Cbm03z8H.js → qmd-manager-Q0OSDQ-e.js} +5 -5
  305. package/dist/{register.agent-CMoYTJqj.js → register.agent-DFQmkIEH.js} +53 -50
  306. package/dist/{register.agent-BKINbWbs.js → register.agent-DUjwGw9d.js} +77 -73
  307. package/dist/{register.anima-BHrZ90Sv.js → register.anima-CRFHJu2J.js} +21 -21
  308. package/dist/{register.anima-CnEy5VFQ.js → register.anima-CtKNrpE8.js} +21 -21
  309. package/dist/{register.configure-Cv5NkGH2.js → register.configure-CSSN07XN.js} +50 -49
  310. package/dist/register.configure-CnEKV57N.js +107 -0
  311. package/dist/register.maintenance-CU1A-90-.js +102 -0
  312. package/dist/{register.maintenance-DtAw8E_a.js → register.maintenance-fhcCB7ih.js} +48 -47
  313. package/dist/register.message-C1a0y2ZR.js +661 -0
  314. package/dist/register.message-fM0jSKB8.js +659 -0
  315. package/dist/register.onboard-B7Gavmvt.js +128 -0
  316. package/dist/{register.onboard-U3lIfaw_.js → register.onboard-BhPlqjFi.js} +50 -49
  317. package/dist/{register.setup-CLkGhR-e.js → register.setup-0jPnMgnz.js} +96 -92
  318. package/dist/{register.setup-Dyp5L_GQ.js → register.setup-CADdQUEN.js} +72 -69
  319. package/dist/{register.status-health-sessions-Dx-qZMol.js → register.status-health-sessions-Cu5fDT-z.js} +68 -67
  320. package/dist/{register.status-health-sessions-Cc2Y5gSj.js → register.status-health-sessions-DdQsABr_.js} +40 -39
  321. package/dist/{register.subclis-L55mGheS.js → register.subclis-CZ91ufCy.js} +28 -21
  322. package/dist/{reply-BgPvB-gR.js → reply-DtHlnzOx.js} +6631 -6172
  323. package/dist/{reply-prefix-37W_P4kH.js → reply-prefix-C8dIgJur.js} +1 -1
  324. package/dist/{reply-prefix-DBRqtDEq.js → reply-prefix-DmWGtcH-.js} +1 -1
  325. package/dist/{routes-ZlpnlJFF.js → routes-CWCAc8uJ.js} +2 -2
  326. package/dist/{routes-DeDgHj5Y.js → routes-FT0Us8Md.js} +6 -6
  327. package/dist/{run-DEHnKm2x.js → run-Dfz_7j7t.js} +1256 -166
  328. package/dist/{run-BFPM6M2S.js → run-DqBQ-bGn.js} +1230 -140
  329. package/dist/{run-main-Cxmjk1SF.js → run-main-DGDW0fhx.js} +51 -50
  330. package/dist/{runtime-guard-cBL2D5J8.js → runtime-guard-D14Z_QY6.js} +1 -1
  331. package/dist/{sandbox-DDOFuJU9.js → sandbox-D-N7M7lp.js} +2 -2
  332. package/dist/{sandbox-cli-GhcxR1Va.js → sandbox-cli-CQKz2I1X.js} +9 -9
  333. package/dist/{sandbox-cli-CGJvhJ4L.js → sandbox-cli-DHNFlTo-.js} +23 -23
  334. package/dist/{sandbox-B8Nza4lP.js → sandbox-pBHlfFdB.js} +6 -6
  335. package/dist/{security-cli-B7VIDDSL.js → security-cli-Bdi7MuP6.js} +14 -22
  336. package/dist/{security-cli-gsyz4Wrw.js → security-cli-C3aI09uy.js} +27 -35
  337. package/dist/{semantic-C3Z-zhNi.js → semantic-9rgWUrz3.js} +1 -1
  338. package/dist/{semantic-CG6X3rBo.js → semantic-C1UN3bb9.js} +1 -1
  339. package/dist/{semantic-DCd6zBnV.js → semantic-CQApJNO_.js} +1 -1
  340. package/dist/{server-context-Dkz4Ce8z.js → server-context-Clykq0XU.js} +1 -1
  341. package/dist/{server-context-BlJi7pjP.js → server-context-Yx4pgBqJ.js} +7 -7
  342. package/dist/{server-node-events-DBOg36in.js → server-node-events-BR1aXVlu.js} +55 -53
  343. package/dist/{server-node-events-CmZXzWcd.js → server-node-events-Ca797E1d.js} +34 -31
  344. package/dist/{service-QlHhVsQf.js → service-Dd1DfPia.js} +1 -1
  345. package/dist/{service-audit-D4xG05j8.js → service-audit-Bwpoc2LD.js} +1 -1
  346. package/dist/{service-audit-BaoBb09i.js → service-audit-KzOtcw_V.js} +3 -3
  347. package/dist/{session-BJ9XCJBg.js → session-5YO_H-Ra.js} +1 -1
  348. package/dist/{session-3MLbl1-K.js → session-BiA6jrcs.js} +1 -1
  349. package/dist/session-C7IGnhd1.js +190 -0
  350. package/dist/{session-KNXzWBht.js → session-CSmfU0D3.js} +1 -1
  351. package/dist/{session-CqKJvPTq.js → session-DLevr8Vd.js} +5 -5
  352. package/dist/session-DfsMJNG3.js +190 -0
  353. package/dist/{session-TAOVpONo.js → session-FmXsucR7.js} +2 -2
  354. package/dist/{session-cost-usage-BamtB1rn.js → session-cost-usage-BWqR-ik6.js} +1 -1
  355. package/dist/{sessions-C2th3rm6.js → sessions-BOzeFzuL.js} +12 -22
  356. package/dist/{sessions-1XK2mH6L.js → sessions-C_3wTmSA.js} +9 -19
  357. package/dist/{sessions-BrQHxX_o.js → sessions-Dj7_4mkr.js} +4 -4
  358. package/dist/{settings-cli-CCtkuc1r.js → settings-cli-DxNeu6kx.js} +79 -77
  359. package/dist/{settings-cli-Ccizggz2.js → settings-cli-Dytfop1H.js} +50 -49
  360. package/dist/{setup-token-Dqtgnjxw.js → setup-token-B802CZwe.js} +13 -18
  361. package/dist/{setup-token-Bcer2kX8.js → setup-token-DYh2QzJ-.js} +29 -34
  362. package/dist/{shared-Hnu5dChj.js → shared-C-rqLtIT.js} +2 -2
  363. package/dist/{shell-env-KRrv3dPW.js → shell-env-CMI9f7-7.js} +1 -1
  364. package/dist/{shell-env-B4ae4lFh.js → shell-env-HkVWMh--.js} +1 -1
  365. package/dist/{shell-env-PnmcBTp4.js → shell-env-iPnSIi-t.js} +1 -1
  366. package/dist/{skills-CQoUYlGu.js → skills-4v6-kw0C.js} +3 -3
  367. package/dist/{skills-cli-DQuLxQUM.js → skills-cli-BoasNTpZ.js} +15 -15
  368. package/dist/{skills-cli-CNNy0FxN.js → skills-cli-TeAq3fRG.js} +3 -3
  369. package/dist/{skills-install-2DbC1Yo2.js → skills-install-D6_qpRjW.js} +7 -7
  370. package/dist/{skills-install-CE6djAWL.js → skills-install-Qw2oU8L8.js} +2 -2
  371. package/dist/{skills-status-ybjSmiHu.js → skills-status-CvH7AUoY.js} +4 -4
  372. package/dist/{soul-Bt57OdSx.js → soul-BiIdv3Wp.js} +125 -5
  373. package/dist/{soul-DFeEGG5h.js → soul-Bt8UNmTq.js} +126 -5
  374. package/dist/{soul-CwWWw7cs.js → soul-D9k5zulC.js} +2 -2
  375. package/dist/{soul-Bru-rRjk.js → soul-DQSYs-4l.js} +1 -1
  376. package/dist/{sqlite-BTcAhNls.js → sqlite-BMMt7osH.js} +2 -2
  377. package/dist/{sqlite-ClLAW1iQ.js → sqlite-CZ1vD4VS.js} +4 -4
  378. package/dist/{sqlite-CLZ1eR5Q.js → sqlite-CpAJt-JS.js} +1 -1
  379. package/dist/{start-DfC7PlAH.js → start-BqnPia0t.js} +66 -63
  380. package/dist/start-C3fuLzX0.js +157 -0
  381. package/dist/{status-BVAoIQ0V.js → status-CHGNPonc.js} +26 -44
  382. package/dist/{status-BU6h4wUP.js → status-CxF6k_jr.js} +2 -2
  383. package/dist/{status-C9B6cEM0.js → status-DfZJJqNs.js} +15 -15
  384. package/dist/{status-BaEcHPtc.js → status-tLgozFYL.js} +4 -4
  385. package/dist/{status.update-CbIRaeaV.js → status.update-B6Tdpk07.js} +2 -2
  386. package/dist/{status.update-CPACVnCc.js → status.update-E9dSFk_b.js} +1 -1
  387. package/dist/{subagent-registry-MZIxVf8W.js → subagent-registry-CPtElVX0.js} +807 -348
  388. package/dist/{subsystem-BMsbqSb4.js → subsystem-BAADN1B8.js} +18 -27
  389. package/dist/{subsystem-CucjNlOk.js → subsystem-D-Xta-sj.js} +17 -26
  390. package/dist/{subsystem-DA3Cno1i.js → subsystem-D1AJZPgG.js} +38 -47
  391. package/dist/{system-cli-BKicxULp.js → system-cli-CP7JrhR0.js} +15 -15
  392. package/dist/{system-cli-Unb-WFAR.js → system-cli-DoLzi2Sn.js} +8 -8
  393. package/dist/{systemd-5KGZ3NHE.js → systemd-Bx76sJ3M.js} +2 -2
  394. package/dist/{systemd-linger-B-uyzDap.js → systemd-linger-BVwGXVS0.js} +2 -2
  395. package/dist/{systemd-linger-CS_pA1-a.js → systemd-linger-CxGmIy_5.js} +1 -1
  396. package/dist/{table-CdHBo5d1.js → table-Blmz7glr.js} +2 -2
  397. package/dist/{tokens-DGhK0fpG.js → tokens-SP2Q7i59.js} +1 -1
  398. package/dist/{tool-images-DK97edts.js → tool-images-2qproko3.js} +2 -2
  399. package/dist/{tool-images-Dq55i0mz.js → tool-images-C6cKHTbj.js} +2 -2
  400. package/dist/{tool-images-J0rGmoDV.js → tool-images-CgDT0Xzv.js} +2 -2
  401. package/dist/{tui-Bm8FEW0b.js → tui-C2eLfbhA.js} +5 -5
  402. package/dist/{tui-cli-BGjsxGle.js → tui-cli-BgcbCtgc.js} +12 -12
  403. package/dist/{tui-cli-TwCYv-a7.js → tui-cli-cLSYBQu9.js} +27 -27
  404. package/dist/{tui-DtGKiHUr.js → tui-r4qpJhNk.js} +10 -10
  405. package/dist/{update-Dfi92PZJ.js → update-CqKpX3cX.js} +3 -3
  406. package/dist/{update-Dle5MRUz.js → update-DA91za97.js} +1 -1
  407. package/dist/{update-cli-QMVW2eiR.js → update-cli-BuCw75tM.js} +87 -85
  408. package/dist/{update-cli-D1e-DsWy.js → update-cli-C-er5av6.js} +55 -54
  409. package/dist/{update-runner-DPmSGXS3.js → update-runner-czCqHZCu.js} +5 -5
  410. package/dist/{update-runner-iLJQF6VA.js → update-runner-kE8AMQt4.js} +1 -1
  411. package/dist/{utils-B60lF9Wq.js → utils-CLYlhJuc.js} +1 -1
  412. package/dist/{web-DJRRkHG8.js → web-BHGK5GtV.js} +24 -24
  413. package/dist/web-CyYunanU.js +65 -0
  414. package/dist/{web-DDAkSrtZ.js → web-DvTXV-fo.js} +35 -34
  415. package/dist/{web-DBQRQY6n.js → web-so3pGceM.js} +27 -27
  416. package/dist/{webhooks-cli-Cg0F2mU6.js → webhooks-cli-k3QMf7Rs.js} +4 -4
  417. package/dist/{webhooks-cli-BsWx7MgH.js → webhooks-cli-vlEfXEKm.js} +12 -12
  418. package/dist/{whatsapp-actions-gpz6-vPI.js → whatsapp-actions-6fPRKwPV.js} +11 -11
  419. package/dist/{whatsapp-actions-DJpQVKnT.js → whatsapp-actions-BJn-z76S.js} +17 -17
  420. package/dist/{whatsapp-actions-tWRWRZ4X.js → whatsapp-actions-C0tlEdLy.js} +5 -5
  421. package/dist/{whatsapp-actions-CMEP8v3k.js → whatsapp-actions-Hr-W8vjY.js} +13 -13
  422. package/dist/{widearea-dns-BDtWuGCY.js → widearea-dns-CHAT20aR.js} +1 -1
  423. package/dist/{workspace-BQkffCaR.js → workspace-BFIZCnGo.js} +5 -5
  424. package/dist/{ws-log-Bc4grA6W.js → ws-log-CUobU2tD.js} +1 -1
  425. package/package.json +1 -1
  426. package/templates/profiles/nox.profile.json5 +5 -5
  427. package/dist/cli--Gal7v4I.js +0 -101
  428. package/dist/config-cli-cyvL43DG.js +0 -15
  429. package/dist/control-ui/assets/index-B7CJLRZD.css +0 -1
  430. package/dist/control-ui/assets/index-DLPYIcs0.js +0 -58
  431. package/dist/control-ui/assets/index-DLPYIcs0.js.map +0 -1
  432. package/dist/deps-CeyVMZf1.js +0 -13
  433. package/dist/models-ByeH7ZKb.js +0 -1350
  434. package/dist/register.configure-3GfqcGLK.js +0 -105
  435. package/dist/register.maintenance-YZDsMymb.js +0 -100
  436. package/dist/register.onboard-Dswys-iV.js +0 -126
  437. package/dist/start-BPye9w5U.js +0 -154
  438. package/dist/web-DE-hmqXy.js +0 -64
  439. /package/dist/{BasicParser-BiEpjka-.js → BasicParser-D4BHCxVb.js} +0 -0
  440. /package/dist/{agents.config-DibGEnBs.js → agents.config-Br4ULmK0.js} +0 -0
  441. /package/dist/{archive-BIKRyvqD.js → archive-CNqghdwQ.js} +0 -0
  442. /package/dist/{archive-5e-Ytlq-.js → archive-D-dHRz-v.js} +0 -0
  443. /package/dist/{argv-B6vsXQtF.js → argv-nNQ109_K.js} +0 -0
  444. /package/dist/{auth-store-Vfd6oc1G.js → auth-store-BEfSfCbW.js} +0 -0
  445. /package/dist/{auto-update-BUbllW1X.js → auto-update-Cvd8YJrT.js} +0 -0
  446. /package/dist/{auto-update-DdH8fo63.js → auto-update-DO4nHkfM.js} +0 -0
  447. /package/dist/{brew-Bkf_MwX9.js → brew-DHWnVWm3.js} +0 -0
  448. /package/dist/{budget-CV0a771W.js → budget-DvjICb0t.js} +0 -0
  449. /package/dist/{budget-GiXjG9eW.js → budget-e0R5xsU3.js} +0 -0
  450. /package/dist/{command-options-DfPEZwUK.js → command-options-DtJ8-EC7.js} +0 -0
  451. /package/dist/{command-options-mgpP-XId.js → command-options-eC-m_qJx.js} +0 -0
  452. /package/dist/{delivery-queue-DGnDKL02.js → delivery-queue-BKQk1j0k.js} +0 -0
  453. /package/dist/{delivery-queue-DZ_ibFDu.js → delivery-queue-CExaJXRz.js} +0 -0
  454. /package/dist/{display-BwSYYxVE.js → display-4p3-O9mP.js} +0 -0
  455. /package/dist/{display-Dck2kudh.js → display-Bo8pBhMp.js} +0 -0
  456. /package/dist/{exec-approvals-BJikgQkX.js → exec-approvals-DK5-KCUz.js} +0 -0
  457. /package/dist/{format-wiLVr0D3.js → format-9DMvWYUJ.js} +0 -0
  458. /package/dist/{format-duration-C5oKCGwB.js → format-duration-CnGkTPRF.js} +0 -0
  459. /package/dist/{gmail-setup-utils-CR33Gqfc.js → gmail-setup-utils-BIXtKTpT.js} +0 -0
  460. /package/dist/{help-format-DJx5Rwy2.js → help-format-ZKxl6UCb.js} +0 -0
  461. /package/dist/{helpers-8O7IVGO-.js → helpers-CWQnEONe.js} +0 -0
  462. /package/dist/{hooks-status-DiqubDlK.js → hooks-status-DqfJDvYl.js} +0 -0
  463. /package/dist/{ipv4-BYbwrpG-.js → ipv4-CExV55ho.js} +0 -0
  464. /package/dist/{is-main-BnikY3ud.js → is-main-H-hpHkdq.js} +0 -0
  465. /package/dist/{lib-D1DXSMt_.js → lib-D0_kW-B6.js} +0 -0
  466. /package/dist/{links-3c7gzW-G.js → links-BjjDMNIq.js} +0 -0
  467. /package/dist/{logging-Bpf6Cepz.js → logging-DWwOqnTW.js} +0 -0
  468. /package/dist/{logging-DcXIbpwk.js → logging-_rCcBkls.js} +0 -0
  469. /package/dist/{model-param-b-BcBBSgiD.js → model-param-b-2KmFir_0.js} +0 -0
  470. /package/dist/{node-service-BDlDNv3t.js → node-service-cOoW5hLa.js} +0 -0
  471. /package/dist/{note-BaOKDvcy.js → note-CeLGcHqv.js} +0 -0
  472. /package/dist/{noxsoft-auth-Bmict45b.js → noxsoft-auth-CE75mBXE.js} +0 -0
  473. /package/dist/{noxsoft-auth-DpwLJIW0.js → noxsoft-auth-CgCk5707.js} +0 -0
  474. /package/dist/{pi-model-discovery-ClWISQ3j.js → pi-model-discovery-Bu4Zr7nI.js} +0 -0
  475. /package/dist/{ports-aNJUI3Mi.js → ports-BGLuwt2Z.js} +0 -0
  476. /package/dist/{progress-Dj2aBWOI.js → progress-glCgu57m.js} +0 -0
  477. /package/dist/{qmd-manager-DrDX4o7e.js → qmd-manager-CO795NK4.js} +0 -0
  478. /package/dist/{queue-B77yV52t.js → queue-DDq0uzy5.js} +0 -0
  479. /package/dist/{queue-wFYwitx0.js → queue-DtQ5sbyD.js} +0 -0
  480. /package/dist/{registry-gaRST__4.js → registry-BvymIcVf.js} +0 -0
  481. /package/dist/{registry-Cv8RtADU.js → registry-DwaHkd_j.js} +0 -0
  482. /package/dist/{requirements-CEowKaVY.js → requirements-Ct4XnMiK.js} +0 -0
  483. /package/dist/{skill-scanner-DGoUYV22.js → skill-scanner-5_Y3u6SU.js} +0 -0
  484. /package/dist/{skill-scanner-FO7SyxAD.js → skill-scanner-Dld2ijVw.js} +0 -0
  485. /package/dist/{templates-D-h5PNIK.js → templates-4_And8I_.js} +0 -0
  486. /package/dist/{templates-ndPXOyGA.js → templates-5Z-UIDze.js} +0 -0
  487. /package/dist/{types-DSS9sywz.js → types-BQk_oAin.js} +0 -0
  488. /package/dist/{usage-format-BtlQ-77V.js → usage-format-BSa7cHyK.js} +0 -0
  489. /package/dist/{ws-log-BA9w1cJs.js → ws-log-CG6cvCZW.js} +0 -0
@@ -0,0 +1,659 @@
1
+ import { D as setVerbose, M as isRich, N as theme, g as defaultRuntime, ot as getChatChannelMeta, ut as normalizeChatChannelId, x as danger } from "./entry.js";
2
+ import "./auth-profiles-Brxz2ojJ.js";
3
+ import "./utils-D1VGbO3C.js";
4
+ import "./exec-BtBJICHE.js";
5
+ import "./agent-scope-Dm8IL1Ks.js";
6
+ import "./model-selection-DcO3qJOu.js";
7
+ import "./file-lock-CxXn285m.js";
8
+ import "./agent-paths-niQrLbGc.js";
9
+ import "./pi-model-discovery-BZryRo8-.js";
10
+ import "./skills-DtoVe1dS.js";
11
+ import "./manifest-registry-W_OfCIRP.js";
12
+ import { i as loadConfig } from "./config-BrVuTQ8R.js";
13
+ import "./shell-env-2QqHvBMl.js";
14
+ import "./client-CfLiulzK.js";
15
+ import "./call-B4lhqS6H.js";
16
+ import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DIHHKJhk.js";
17
+ import { At as CHANNEL_TARGETS_DESCRIPTION, Q as runMessageAction, ft as CHANNEL_MESSAGE_ACTION_NAMES, jt as CHANNEL_TARGET_DESCRIPTION, lt as formatTargetDisplay } from "./subagent-registry-CPtElVX0.js";
18
+ import "./sessions-C_3wTmSA.js";
19
+ import "./tokens-CmlI2hSz.js";
20
+ import "./anthropic-direct-runner-C2Kwju-r.js";
21
+ import "./pi-embedded-helpers-D2SLlgS4.js";
22
+ import "./sandbox-D-N7M7lp.js";
23
+ import "./chrome-CmxIwwsr.js";
24
+ import "./auth-Cp__MMeO.js";
25
+ import "./server-context-Clykq0XU.js";
26
+ import "./routes-CWCAc8uJ.js";
27
+ import "./image-ops-BdrMmiG4.js";
28
+ import "./ports-B_f42zcA.js";
29
+ import { t as getChannelPlugin } from "./plugins-BOMS6J5A.js";
30
+ import "./paths-DMk3Q7yD.js";
31
+ import "./tool-images-D1HuaGdS.js";
32
+ import "./model-auth-KpsOXKDc.js";
33
+ import { x as runGlobalGatewayStopSafely } from "./deliver-C1L5nO0K.js";
34
+ import "./memory-cli-B0kKl-9T.js";
35
+ import "./manager-C6L_DH0O.js";
36
+ import "./sqlite-Cm6OqTQB.js";
37
+ import "./redact-C_niMCEt.js";
38
+ import "./session-BP3NrBgu.js";
39
+ import "./semantic-DnQUajHa.js";
40
+ import "./loader-C87TLS4J.js";
41
+ import "./soul-DQSYs-4l.js";
42
+ import "./common-CqIa2poH.js";
43
+ import "./chunk-Cy0Bj0F3.js";
44
+ import "./parse-timeout-D4UO8pY_.js";
45
+ import "./active-listener-gGCoq55D.js";
46
+ import "./context-B5X720Bs.js";
47
+ import "./pi-tools.policy-D2FusuQa.js";
48
+ import "./session-cost-usage-DnxtnK1E.js";
49
+ import "./control-service-3CI4vt1h.js";
50
+ import "./dispatcher-BQQugU-7.js";
51
+ import "./noxsoft-auth-CgCk5707.js";
52
+ import "./delivery-queue-BKQk1j0k.js";
53
+ import { t as formatDocsLink } from "./links-BjjDMNIq.js";
54
+ import { n as runCommandWithRuntime } from "./cli-utils-D2X_bDLt.js";
55
+ import { n as withProgress } from "./progress-glCgu57m.js";
56
+ import "./logging-DWwOqnTW.js";
57
+ import "./auth-store-BEfSfCbW.js";
58
+ import { t as collectOption } from "./helpers-DLgbkcEn.js";
59
+ import { t as renderTable } from "./table-Bt7rSYC6.js";
60
+ import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-T_FgdfgW.js";
61
+ import { t as ensurePluginRegistryLoaded } from "./plugin-registry-QTkplP4s.js";
62
+ import { t as formatHelpExamples } from "./help-format-ZKxl6UCb.js";
63
+
64
+ //#region src/infra/outbound/format.ts
65
+ const resolveChannelLabel$1 = (channel) => {
66
+ const pluginLabel = getChannelPlugin(channel)?.meta.label;
67
+ if (pluginLabel) return pluginLabel;
68
+ const normalized = normalizeChatChannelId(channel);
69
+ if (normalized) return getChatChannelMeta(normalized).label;
70
+ return channel;
71
+ };
72
+ function formatOutboundDeliverySummary(channel, result) {
73
+ if (!result) return `✅ Sent via ${resolveChannelLabel$1(channel)}. Message ID: unknown`;
74
+ const base = `✅ Sent via ${resolveChannelLabel$1(result.channel)}. Message ID: ${result.messageId}`;
75
+ if ("chatId" in result) return `${base} (chat ${result.chatId})`;
76
+ if ("channelId" in result) return `${base} (channel ${result.channelId})`;
77
+ if ("roomId" in result) return `${base} (room ${result.roomId})`;
78
+ if ("conversationId" in result) return `${base} (conversation ${result.conversationId})`;
79
+ return base;
80
+ }
81
+ function formatGatewaySummary(params) {
82
+ return `✅ ${params.action ?? "Sent"} via gateway${params.channel ? ` (${params.channel})` : ""}. Message ID: ${params.messageId ?? "unknown"}`;
83
+ }
84
+
85
+ //#endregion
86
+ //#region src/commands/message-format.ts
87
+ const shortenText = (value, maxLen) => {
88
+ const chars = Array.from(value);
89
+ if (chars.length <= maxLen) return value;
90
+ return `${chars.slice(0, Math.max(0, maxLen - 1)).join("")}…`;
91
+ };
92
+ const resolveChannelLabel = (channel) => getChannelPlugin(channel)?.meta.label ?? channel;
93
+ function extractMessageId(payload) {
94
+ if (!payload || typeof payload !== "object") return null;
95
+ const direct = payload.messageId;
96
+ if (typeof direct === "string" && direct.trim()) return direct.trim();
97
+ const result = payload.result;
98
+ if (result && typeof result === "object") {
99
+ const nested = result.messageId;
100
+ if (typeof nested === "string" && nested.trim()) return nested.trim();
101
+ }
102
+ return null;
103
+ }
104
+ function buildMessageCliJson(result) {
105
+ return {
106
+ action: result.action,
107
+ channel: result.channel,
108
+ dryRun: result.dryRun,
109
+ handledBy: result.handledBy,
110
+ payload: result.payload
111
+ };
112
+ }
113
+ function renderObjectSummary(payload, opts) {
114
+ if (!payload || typeof payload !== "object") return [String(payload)];
115
+ const obj = payload;
116
+ const keys = Object.keys(obj);
117
+ if (keys.length === 0) return [theme.muted("(empty)")];
118
+ const rows = keys.slice(0, 20).map((k) => {
119
+ const v = obj[k];
120
+ return {
121
+ Key: k,
122
+ Value: shortenText(v == null ? "null" : Array.isArray(v) ? `${v.length} items` : typeof v === "object" ? "object" : typeof v === "string" ? v : typeof v === "number" ? String(v) : typeof v === "boolean" ? v ? "true" : "false" : typeof v === "bigint" ? v.toString() : typeof v === "symbol" ? v.toString() : typeof v === "function" ? "function" : "unknown", 96)
123
+ };
124
+ });
125
+ return [renderTable({
126
+ width: opts.width,
127
+ columns: [{
128
+ key: "Key",
129
+ header: "Key",
130
+ minWidth: 16
131
+ }, {
132
+ key: "Value",
133
+ header: "Value",
134
+ flex: true,
135
+ minWidth: 24
136
+ }],
137
+ rows
138
+ }).trimEnd()];
139
+ }
140
+ function renderMessageList(messages, opts, emptyLabel) {
141
+ const rows = messages.slice(0, 25).map((m) => {
142
+ const msg = m;
143
+ const id = typeof msg.id === "string" && msg.id || typeof msg.ts === "string" && msg.ts || typeof msg.messageId === "string" && msg.messageId || "";
144
+ const authorObj = msg.author;
145
+ const author = typeof msg.authorTag === "string" && msg.authorTag || typeof authorObj?.username === "string" && authorObj.username || typeof msg.user === "string" && msg.user || "";
146
+ const time = typeof msg.timestamp === "string" && msg.timestamp || typeof msg.ts === "string" && msg.ts || "";
147
+ const text = typeof msg.content === "string" && msg.content || typeof msg.text === "string" && msg.text || "";
148
+ return {
149
+ Time: shortenText(time, 28),
150
+ Author: shortenText(author, 22),
151
+ Text: shortenText(text.replace(/\s+/g, " ").trim(), 90),
152
+ Id: shortenText(id, 22)
153
+ };
154
+ });
155
+ if (rows.length === 0) return [theme.muted(emptyLabel)];
156
+ return [renderTable({
157
+ width: opts.width,
158
+ columns: [
159
+ {
160
+ key: "Time",
161
+ header: "Time",
162
+ minWidth: 14
163
+ },
164
+ {
165
+ key: "Author",
166
+ header: "Author",
167
+ minWidth: 10
168
+ },
169
+ {
170
+ key: "Text",
171
+ header: "Text",
172
+ flex: true,
173
+ minWidth: 24
174
+ },
175
+ {
176
+ key: "Id",
177
+ header: "Id",
178
+ minWidth: 10
179
+ }
180
+ ],
181
+ rows
182
+ }).trimEnd()];
183
+ }
184
+ function renderMessagesFromPayload(payload, opts) {
185
+ if (!payload || typeof payload !== "object") return null;
186
+ const messages = payload.messages;
187
+ if (!Array.isArray(messages)) return null;
188
+ return renderMessageList(messages, opts, "No messages.");
189
+ }
190
+ function renderPinsFromPayload(payload, opts) {
191
+ if (!payload || typeof payload !== "object") return null;
192
+ const pins = payload.pins;
193
+ if (!Array.isArray(pins)) return null;
194
+ return renderMessageList(pins, opts, "No pins.");
195
+ }
196
+ function extractDiscordSearchResultsMessages(results) {
197
+ if (!results || typeof results !== "object") return null;
198
+ const raw = results.messages;
199
+ if (!Array.isArray(raw)) return null;
200
+ const flattened = [];
201
+ for (const entry of raw) if (Array.isArray(entry) && entry.length > 0) flattened.push(entry[0]);
202
+ else if (entry && typeof entry === "object") flattened.push(entry);
203
+ return flattened.length ? flattened : null;
204
+ }
205
+ function renderReactions(payload, opts) {
206
+ if (!payload || typeof payload !== "object") return null;
207
+ const reactions = payload.reactions;
208
+ if (!Array.isArray(reactions)) return null;
209
+ const rows = reactions.slice(0, 50).map((r) => {
210
+ const entry = r;
211
+ const emojiObj = entry.emoji;
212
+ return {
213
+ Emoji: typeof emojiObj?.raw === "string" && emojiObj.raw || typeof entry.name === "string" && entry.name || typeof entry.emoji === "string" && entry.emoji || "",
214
+ Count: typeof entry.count === "number" ? String(entry.count) : "",
215
+ Users: shortenText((Array.isArray(entry.users) ? entry.users.slice(0, 8).map((u) => {
216
+ if (typeof u === "string") return u;
217
+ if (!u || typeof u !== "object") return "";
218
+ const user = u;
219
+ return typeof user.tag === "string" && user.tag || typeof user.username === "string" && user.username || typeof user.id === "string" && user.id || "";
220
+ }).filter(Boolean) : []).join(", "), 72)
221
+ };
222
+ });
223
+ if (rows.length === 0) return [theme.muted("No reactions.")];
224
+ return [renderTable({
225
+ width: opts.width,
226
+ columns: [
227
+ {
228
+ key: "Emoji",
229
+ header: "Emoji",
230
+ minWidth: 8
231
+ },
232
+ {
233
+ key: "Count",
234
+ header: "Count",
235
+ align: "right",
236
+ minWidth: 6
237
+ },
238
+ {
239
+ key: "Users",
240
+ header: "Users",
241
+ flex: true,
242
+ minWidth: 20
243
+ }
244
+ ],
245
+ rows
246
+ }).trimEnd()];
247
+ }
248
+ function formatMessageCliText(result) {
249
+ const rich = isRich();
250
+ const ok = (text) => rich ? theme.success(text) : text;
251
+ const muted = (text) => rich ? theme.muted(text) : text;
252
+ const heading = (text) => rich ? theme.heading(text) : text;
253
+ const opts = { width: Math.max(60, (process.stdout.columns ?? 120) - 1) };
254
+ if (result.handledBy === "dry-run") return [muted(`[dry-run] would run ${result.action} via ${result.channel}`)];
255
+ if (result.kind === "broadcast") {
256
+ const results = result.payload.results ?? [];
257
+ const rows = results.map((entry) => ({
258
+ Channel: resolveChannelLabel(entry.channel),
259
+ Target: shortenText(formatTargetDisplay({
260
+ channel: entry.channel,
261
+ target: entry.to
262
+ }), 36),
263
+ Status: entry.ok ? "ok" : "error",
264
+ Error: entry.ok ? "" : shortenText(entry.error ?? "unknown error", 48)
265
+ }));
266
+ const okCount = results.filter((entry) => entry.ok).length;
267
+ const total = results.length;
268
+ return [ok(`✅ Broadcast complete (${okCount}/${total} succeeded, ${total - okCount} failed)`), renderTable({
269
+ width: opts.width,
270
+ columns: [
271
+ {
272
+ key: "Channel",
273
+ header: "Channel",
274
+ minWidth: 10
275
+ },
276
+ {
277
+ key: "Target",
278
+ header: "Target",
279
+ minWidth: 12,
280
+ flex: true
281
+ },
282
+ {
283
+ key: "Status",
284
+ header: "Status",
285
+ minWidth: 6
286
+ },
287
+ {
288
+ key: "Error",
289
+ header: "Error",
290
+ minWidth: 20,
291
+ flex: true
292
+ }
293
+ ],
294
+ rows: rows.slice(0, 50)
295
+ }).trimEnd()];
296
+ }
297
+ if (result.kind === "send") {
298
+ if (result.handledBy === "core" && result.sendResult) {
299
+ const send = result.sendResult;
300
+ if (send.via === "direct") {
301
+ const directResult = send.result;
302
+ return [ok(formatOutboundDeliverySummary(send.channel, directResult))];
303
+ }
304
+ const gatewayResult = send.result;
305
+ return [ok(formatGatewaySummary({
306
+ channel: send.channel,
307
+ messageId: gatewayResult?.messageId ?? null
308
+ }))];
309
+ }
310
+ const label = resolveChannelLabel(result.channel);
311
+ const msgId = extractMessageId(result.payload);
312
+ return [ok(`✅ Sent via ${label}.${msgId ? ` Message ID: ${msgId}` : ""}`)];
313
+ }
314
+ if (result.kind === "poll") {
315
+ if (result.handledBy === "core" && result.pollResult) {
316
+ const poll = result.pollResult;
317
+ const pollId = poll.result?.pollId;
318
+ const msgId = poll.result?.messageId ?? null;
319
+ const lines = [ok(formatGatewaySummary({
320
+ action: "Poll sent",
321
+ channel: poll.channel,
322
+ messageId: msgId
323
+ }))];
324
+ if (pollId) lines.push(ok(`Poll id: ${pollId}`));
325
+ return lines;
326
+ }
327
+ const label = resolveChannelLabel(result.channel);
328
+ const msgId = extractMessageId(result.payload);
329
+ return [ok(`✅ Poll sent via ${label}.${msgId ? ` Message ID: ${msgId}` : ""}`)];
330
+ }
331
+ const payload = result.payload;
332
+ const lines = [];
333
+ if (result.action === "react") {
334
+ const added = payload.added;
335
+ const removed = payload.removed;
336
+ if (typeof added === "string" && added.trim()) {
337
+ lines.push(ok(`✅ Reaction added: ${added.trim()}`));
338
+ return lines;
339
+ }
340
+ if (typeof removed === "string" && removed.trim()) {
341
+ lines.push(ok(`✅ Reaction removed: ${removed.trim()}`));
342
+ return lines;
343
+ }
344
+ if (Array.isArray(removed)) {
345
+ const list = removed.map((x) => String(x).trim()).filter(Boolean).join(", ");
346
+ lines.push(ok(`✅ Reactions removed${list ? `: ${list}` : ""}`));
347
+ return lines;
348
+ }
349
+ lines.push(ok("✅ Reaction updated."));
350
+ return lines;
351
+ }
352
+ const reactionsTable = renderReactions(payload, opts);
353
+ if (reactionsTable && result.action === "reactions") {
354
+ lines.push(heading("Reactions"));
355
+ lines.push(reactionsTable[0] ?? "");
356
+ return lines;
357
+ }
358
+ if (result.action === "read") {
359
+ const messagesTable = renderMessagesFromPayload(payload, opts);
360
+ if (messagesTable) {
361
+ lines.push(heading("Messages"));
362
+ lines.push(messagesTable[0] ?? "");
363
+ return lines;
364
+ }
365
+ }
366
+ if (result.action === "list-pins") {
367
+ const pinsTable = renderPinsFromPayload(payload, opts);
368
+ if (pinsTable) {
369
+ lines.push(heading("Pinned messages"));
370
+ lines.push(pinsTable[0] ?? "");
371
+ return lines;
372
+ }
373
+ }
374
+ if (result.action === "search") {
375
+ const results = payload.results;
376
+ const list = extractDiscordSearchResultsMessages(results);
377
+ if (list) {
378
+ lines.push(heading("Search results"));
379
+ lines.push(renderMessageList(list, opts, "No results.")[0] ?? "");
380
+ return lines;
381
+ }
382
+ }
383
+ lines.push(ok(`✅ ${result.action} via ${resolveChannelLabel(result.channel)}.`));
384
+ const summary = renderObjectSummary(payload, opts);
385
+ if (summary.length) {
386
+ lines.push("");
387
+ lines.push(...summary);
388
+ lines.push("");
389
+ lines.push(muted("Tip: use --json for full output."));
390
+ }
391
+ return lines;
392
+ }
393
+
394
+ //#endregion
395
+ //#region src/commands/message.ts
396
+ async function messageCommand(opts, deps, runtime) {
397
+ const cfg = loadConfig();
398
+ const actionInput = (typeof opts.action === "string" ? opts.action.trim() : "") || "send";
399
+ const actionMatch = CHANNEL_MESSAGE_ACTION_NAMES.find((name) => name.toLowerCase() === actionInput.toLowerCase());
400
+ if (!actionMatch) throw new Error(`Unknown message action: ${actionInput}`);
401
+ const action = actionMatch;
402
+ const outboundDeps = createOutboundSendDeps(deps);
403
+ const run = async () => await runMessageAction({
404
+ cfg,
405
+ action,
406
+ params: opts,
407
+ deps: outboundDeps,
408
+ gateway: {
409
+ clientName: GATEWAY_CLIENT_NAMES.CLI,
410
+ mode: GATEWAY_CLIENT_MODES.CLI
411
+ }
412
+ });
413
+ const json = opts.json === true;
414
+ const dryRun = opts.dryRun === true;
415
+ const result = !json && !dryRun && (action === "send" || action === "poll") ? await withProgress({
416
+ label: action === "poll" ? "Sending poll..." : "Sending...",
417
+ indeterminate: true,
418
+ enabled: true
419
+ }, run) : await run();
420
+ if (json) {
421
+ runtime.log(JSON.stringify(buildMessageCliJson(result), null, 2));
422
+ return;
423
+ }
424
+ for (const line of formatMessageCliText(result)) runtime.log(line);
425
+ }
426
+
427
+ //#endregion
428
+ //#region src/cli/program/message/helpers.ts
429
+ function normalizeMessageOptions(opts) {
430
+ const { account, ...rest } = opts;
431
+ return {
432
+ ...rest,
433
+ accountId: typeof account === "string" ? account : void 0
434
+ };
435
+ }
436
+ async function runPluginStopHooks() {
437
+ await runGlobalGatewayStopSafely({
438
+ event: { reason: "cli message action complete" },
439
+ ctx: {},
440
+ onError: (err) => defaultRuntime.error(danger(`gateway_stop hook failed: ${String(err)}`))
441
+ });
442
+ }
443
+ function createMessageCliHelpers(message, messageChannelOptions) {
444
+ const withMessageBase = (command) => command.option("--channel <channel>", `Channel: ${messageChannelOptions}`).option("--account <id>", "Channel account id (accountId)").option("--json", "Output result as JSON", false).option("--dry-run", "Print payload and skip sending", false).option("--verbose", "Verbose logging", false);
445
+ const withMessageTarget = (command) => command.option("-t, --target <dest>", CHANNEL_TARGET_DESCRIPTION);
446
+ const withRequiredMessageTarget = (command) => command.requiredOption("-t, --target <dest>", CHANNEL_TARGET_DESCRIPTION);
447
+ const runMessageAction = async (action, opts) => {
448
+ setVerbose(Boolean(opts.verbose));
449
+ ensurePluginRegistryLoaded();
450
+ const deps = createDefaultDeps();
451
+ let failed = false;
452
+ await runCommandWithRuntime(defaultRuntime, async () => {
453
+ await messageCommand({
454
+ ...normalizeMessageOptions(opts),
455
+ action
456
+ }, deps, defaultRuntime);
457
+ }, (err) => {
458
+ failed = true;
459
+ defaultRuntime.error(danger(String(err)));
460
+ });
461
+ await runPluginStopHooks();
462
+ defaultRuntime.exit(failed ? 1 : 0);
463
+ };
464
+ return {
465
+ withMessageBase,
466
+ withMessageTarget,
467
+ withRequiredMessageTarget,
468
+ runMessageAction
469
+ };
470
+ }
471
+
472
+ //#endregion
473
+ //#region src/cli/program/message/register.broadcast.ts
474
+ function registerMessageBroadcastCommand(message, helpers) {
475
+ helpers.withMessageBase(message.command("broadcast").description("Broadcast a message to multiple targets")).requiredOption("--targets <target...>", CHANNEL_TARGETS_DESCRIPTION).option("--message <text>", "Message to send").option("--media <url>", "Media URL").action(async (options) => {
476
+ await helpers.runMessageAction("broadcast", options);
477
+ });
478
+ }
479
+
480
+ //#endregion
481
+ //#region src/cli/program/message/register.discord-admin.ts
482
+ function registerMessageDiscordAdminCommands(message, helpers) {
483
+ const role = message.command("role").description("Role actions");
484
+ helpers.withMessageBase(role.command("info").description("List roles").requiredOption("--guild-id <id>", "Guild id")).action(async (opts) => {
485
+ await helpers.runMessageAction("role-info", opts);
486
+ });
487
+ helpers.withMessageBase(role.command("add").description("Add role to a member").requiredOption("--guild-id <id>", "Guild id").requiredOption("--user-id <id>", "User id").requiredOption("--role-id <id>", "Role id")).action(async (opts) => {
488
+ await helpers.runMessageAction("role-add", opts);
489
+ });
490
+ helpers.withMessageBase(role.command("remove").description("Remove role from a member").requiredOption("--guild-id <id>", "Guild id").requiredOption("--user-id <id>", "User id").requiredOption("--role-id <id>", "Role id")).action(async (opts) => {
491
+ await helpers.runMessageAction("role-remove", opts);
492
+ });
493
+ const channel = message.command("channel").description("Channel actions");
494
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(channel.command("info").description("Fetch channel info"))).action(async (opts) => {
495
+ await helpers.runMessageAction("channel-info", opts);
496
+ });
497
+ helpers.withMessageBase(channel.command("list").description("List channels").requiredOption("--guild-id <id>", "Guild id")).action(async (opts) => {
498
+ await helpers.runMessageAction("channel-list", opts);
499
+ });
500
+ const member = message.command("member").description("Member actions");
501
+ helpers.withMessageBase(member.command("info").description("Fetch member info").requiredOption("--user-id <id>", "User id")).option("--guild-id <id>", "Guild id (Discord)").action(async (opts) => {
502
+ await helpers.runMessageAction("member-info", opts);
503
+ });
504
+ const voice = message.command("voice").description("Voice actions");
505
+ helpers.withMessageBase(voice.command("status").description("Fetch voice status").requiredOption("--guild-id <id>", "Guild id").requiredOption("--user-id <id>", "User id")).action(async (opts) => {
506
+ await helpers.runMessageAction("voice-status", opts);
507
+ });
508
+ const event = message.command("event").description("Event actions");
509
+ helpers.withMessageBase(event.command("list").description("List scheduled events").requiredOption("--guild-id <id>", "Guild id")).action(async (opts) => {
510
+ await helpers.runMessageAction("event-list", opts);
511
+ });
512
+ helpers.withMessageBase(event.command("create").description("Create a scheduled event").requiredOption("--guild-id <id>", "Guild id").requiredOption("--event-name <name>", "Event name").requiredOption("--start-time <iso>", "Event start time")).option("--end-time <iso>", "Event end time").option("--desc <text>", "Event description").option("--channel-id <id>", "Channel id").option("--location <text>", "Event location").option("--event-type <stage|external|voice>", "Event type").action(async (opts) => {
513
+ await helpers.runMessageAction("event-create", opts);
514
+ });
515
+ helpers.withMessageBase(message.command("timeout").description("Timeout a member").requiredOption("--guild-id <id>", "Guild id").requiredOption("--user-id <id>", "User id")).option("--duration-min <n>", "Timeout duration minutes").option("--until <iso>", "Timeout until").option("--reason <text>", "Moderation reason").action(async (opts) => {
516
+ await helpers.runMessageAction("timeout", opts);
517
+ });
518
+ helpers.withMessageBase(message.command("kick").description("Kick a member").requiredOption("--guild-id <id>", "Guild id").requiredOption("--user-id <id>", "User id")).option("--reason <text>", "Moderation reason").action(async (opts) => {
519
+ await helpers.runMessageAction("kick", opts);
520
+ });
521
+ helpers.withMessageBase(message.command("ban").description("Ban a member").requiredOption("--guild-id <id>", "Guild id").requiredOption("--user-id <id>", "User id")).option("--reason <text>", "Moderation reason").option("--delete-days <n>", "Ban delete message days").action(async (opts) => {
522
+ await helpers.runMessageAction("ban", opts);
523
+ });
524
+ }
525
+
526
+ //#endregion
527
+ //#region src/cli/program/message/register.emoji-sticker.ts
528
+ function registerMessageEmojiCommands(message, helpers) {
529
+ const emoji = message.command("emoji").description("Emoji actions");
530
+ helpers.withMessageBase(emoji.command("list").description("List emojis")).option("--guild-id <id>", "Guild id (Discord)").action(async (opts) => {
531
+ await helpers.runMessageAction("emoji-list", opts);
532
+ });
533
+ helpers.withMessageBase(emoji.command("upload").description("Upload an emoji").requiredOption("--guild-id <id>", "Guild id")).requiredOption("--emoji-name <name>", "Emoji name").requiredOption("--media <path-or-url>", "Emoji media (path or URL)").option("--role-ids <id>", "Role id (repeat)", collectOption, []).action(async (opts) => {
534
+ await helpers.runMessageAction("emoji-upload", opts);
535
+ });
536
+ }
537
+ function registerMessageStickerCommands(message, helpers) {
538
+ const sticker = message.command("sticker").description("Sticker actions");
539
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(sticker.command("send").description("Send stickers"))).requiredOption("--sticker-id <id>", "Sticker id (repeat)", collectOption).option("-m, --message <text>", "Optional message body").action(async (opts) => {
540
+ await helpers.runMessageAction("sticker", opts);
541
+ });
542
+ helpers.withMessageBase(sticker.command("upload").description("Upload a sticker").requiredOption("--guild-id <id>", "Guild id")).requiredOption("--sticker-name <name>", "Sticker name").requiredOption("--sticker-desc <text>", "Sticker description").requiredOption("--sticker-tags <tags>", "Sticker tags").requiredOption("--media <path-or-url>", "Sticker media (path or URL)").action(async (opts) => {
543
+ await helpers.runMessageAction("sticker-upload", opts);
544
+ });
545
+ }
546
+
547
+ //#endregion
548
+ //#region src/cli/program/message/register.permissions-search.ts
549
+ function registerMessagePermissionsCommand(message, helpers) {
550
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("permissions").description("Fetch channel permissions"))).action(async (opts) => {
551
+ await helpers.runMessageAction("permissions", opts);
552
+ });
553
+ }
554
+ function registerMessageSearchCommand(message, helpers) {
555
+ helpers.withMessageBase(message.command("search").description("Search Discord messages")).requiredOption("--guild-id <id>", "Guild id").requiredOption("--query <text>", "Search query").option("--channel-id <id>", "Channel id").option("--channel-ids <id>", "Channel id (repeat)", collectOption, []).option("--author-id <id>", "Author id").option("--author-ids <id>", "Author id (repeat)", collectOption, []).option("--limit <n>", "Result limit").action(async (opts) => {
556
+ await helpers.runMessageAction("search", opts);
557
+ });
558
+ }
559
+
560
+ //#endregion
561
+ //#region src/cli/program/message/register.pins.ts
562
+ function registerMessagePinCommands(message, helpers) {
563
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("pin").description("Pin a message"))).requiredOption("--message-id <id>", "Message id").action(async (opts) => {
564
+ await helpers.runMessageAction("pin", opts);
565
+ }), helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("unpin").description("Unpin a message"))).requiredOption("--message-id <id>", "Message id").action(async (opts) => {
566
+ await helpers.runMessageAction("unpin", opts);
567
+ }), helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("pins").description("List pinned messages"))).option("--limit <n>", "Result limit").action(async (opts) => {
568
+ await helpers.runMessageAction("list-pins", opts);
569
+ });
570
+ }
571
+
572
+ //#endregion
573
+ //#region src/cli/program/message/register.poll.ts
574
+ function registerMessagePollCommand(message, helpers) {
575
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("poll").description("Send a poll"))).requiredOption("--poll-question <text>", "Poll question").option("--poll-option <choice>", "Poll option (repeat 2-12 times)", collectOption, []).option("--poll-multi", "Allow multiple selections", false).option("--poll-duration-hours <n>", "Poll duration in hours (Discord)").option("--poll-duration-seconds <n>", "Poll duration in seconds (Telegram; 5-600)").option("--poll-anonymous", "Send an anonymous poll (Telegram)", false).option("--poll-public", "Send a non-anonymous poll (Telegram)", false).option("-m, --message <text>", "Optional message body").option("--silent", "Send poll silently without notification (Telegram + Discord where supported)", false).option("--thread-id <id>", "Thread id (Telegram forum topic / Slack thread ts)").action(async (opts) => {
576
+ await helpers.runMessageAction("poll", opts);
577
+ });
578
+ }
579
+
580
+ //#endregion
581
+ //#region src/cli/program/message/register.reactions.ts
582
+ function registerMessageReactionsCommands(message, helpers) {
583
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("react").description("Add or remove a reaction"))).requiredOption("--message-id <id>", "Message id").option("--emoji <emoji>", "Emoji for reactions").option("--remove", "Remove reaction", false).option("--participant <id>", "WhatsApp reaction participant").option("--from-me", "WhatsApp reaction fromMe", false).option("--target-author <id>", "Signal reaction target author (uuid or phone)").option("--target-author-uuid <uuid>", "Signal reaction target author uuid").action(async (opts) => {
584
+ await helpers.runMessageAction("react", opts);
585
+ });
586
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("reactions").description("List reactions on a message"))).requiredOption("--message-id <id>", "Message id").option("--limit <n>", "Result limit").action(async (opts) => {
587
+ await helpers.runMessageAction("reactions", opts);
588
+ });
589
+ }
590
+
591
+ //#endregion
592
+ //#region src/cli/program/message/register.read-edit-delete.ts
593
+ function registerMessageReadEditDeleteCommands(message, helpers) {
594
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("read").description("Read recent messages"))).option("--limit <n>", "Result limit").option("--before <id>", "Read/search before id").option("--after <id>", "Read/search after id").option("--around <id>", "Read around id").option("--include-thread", "Include thread replies (Discord)", false).action(async (opts) => {
595
+ await helpers.runMessageAction("read", opts);
596
+ });
597
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("edit").description("Edit a message").requiredOption("--message-id <id>", "Message id").requiredOption("-m, --message <text>", "Message body"))).option("--thread-id <id>", "Thread id (Telegram forum thread)").action(async (opts) => {
598
+ await helpers.runMessageAction("edit", opts);
599
+ });
600
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("delete").description("Delete a message").requiredOption("--message-id <id>", "Message id"))).action(async (opts) => {
601
+ await helpers.runMessageAction("delete", opts);
602
+ });
603
+ }
604
+
605
+ //#endregion
606
+ //#region src/cli/program/message/register.send.ts
607
+ function registerMessageSendCommand(message, helpers) {
608
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(message.command("send").description("Send a message").option("-m, --message <text>", "Message body (required unless --media is set)")).option("--media <path-or-url>", "Attach media (image/audio/video/document). Accepts local paths or URLs.").option("--buttons <json>", "Telegram inline keyboard buttons as JSON (array of button rows)").option("--card <json>", "Adaptive Card JSON object (when supported by the channel)").option("--reply-to <id>", "Reply-to message id").option("--thread-id <id>", "Thread id (Telegram forum thread)").option("--gif-playback", "Treat video media as GIF playback (WhatsApp only).", false).option("--silent", "Send message silently without notification (Telegram + Discord)", false)).action(async (opts) => {
609
+ await helpers.runMessageAction("send", opts);
610
+ });
611
+ }
612
+
613
+ //#endregion
614
+ //#region src/cli/program/message/register.thread.ts
615
+ function registerMessageThreadCommands(message, helpers) {
616
+ const thread = message.command("thread").description("Thread actions");
617
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(thread.command("create").description("Create a thread").requiredOption("--thread-name <name>", "Thread name"))).option("--message-id <id>", "Message id (optional)").option("-m, --message <text>", "Initial thread message text").option("--auto-archive-min <n>", "Thread auto-archive minutes").action(async (opts) => {
618
+ await helpers.runMessageAction("thread-create", opts);
619
+ });
620
+ helpers.withMessageBase(thread.command("list").description("List threads").requiredOption("--guild-id <id>", "Guild id")).option("--channel-id <id>", "Channel id").option("--include-archived", "Include archived threads", false).option("--before <id>", "Read/search before id").option("--limit <n>", "Result limit").action(async (opts) => {
621
+ await helpers.runMessageAction("thread-list", opts);
622
+ });
623
+ helpers.withMessageBase(helpers.withRequiredMessageTarget(thread.command("reply").description("Reply in a thread").requiredOption("-m, --message <text>", "Message body"))).option("--media <path-or-url>", "Attach media (image/audio/video/document). Accepts local paths or URLs.").option("--reply-to <id>", "Reply-to message id").action(async (opts) => {
624
+ await helpers.runMessageAction("thread-reply", opts);
625
+ });
626
+ }
627
+
628
+ //#endregion
629
+ //#region src/cli/program/register.message.ts
630
+ function registerMessageCommands(program, ctx) {
631
+ const message = program.command("message").description("Send messages and perform channel actions").addHelpText("after", () => `
632
+ ${theme.heading("Examples:")}
633
+ ${formatHelpExamples([
634
+ ["anima message send --target +15555550123 --message \"Hi\"", "Send a text message."],
635
+ ["anima message send --target +15555550123 --message \"Hi\" --media photo.jpg", "Send a message with media."],
636
+ ["anima message poll --channel discord --target channel:123 --poll-question \"Snack?\" --poll-option Pizza --poll-option Sushi", "Create a Discord poll."],
637
+ ["anima message react --channel discord --target 123 --message-id 456 --emoji \"✅\"", "React to a message."]
638
+ ])}
639
+
640
+ ${theme.muted("Docs:")} ${formatDocsLink("/cli/message", "docs.noxsoft.net/anima/cli/message")}`).action(() => {
641
+ message.help({ error: true });
642
+ });
643
+ const helpers = createMessageCliHelpers(message, ctx.messageChannelOptions);
644
+ registerMessageSendCommand(message, helpers);
645
+ registerMessageBroadcastCommand(message, helpers);
646
+ registerMessagePollCommand(message, helpers);
647
+ registerMessageReactionsCommands(message, helpers);
648
+ registerMessageReadEditDeleteCommands(message, helpers);
649
+ registerMessagePinCommands(message, helpers);
650
+ registerMessagePermissionsCommand(message, helpers);
651
+ registerMessageSearchCommand(message, helpers);
652
+ registerMessageThreadCommands(message, helpers);
653
+ registerMessageEmojiCommands(message, helpers);
654
+ registerMessageStickerCommands(message, helpers);
655
+ registerMessageDiscordAdminCommands(message, helpers);
656
+ }
657
+
658
+ //#endregion
659
+ export { registerMessageCommands };