@noxsoft/anima 5.1.1 → 6.0.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 (485) 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-Dyb3ijJm.js → accounts-TUsfghIW.js} +5 -5
  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-B7OcwSxK.js → active-listener-D2r8IO7g.js} +4 -4
  29. package/dist/{agent-DImD77Te.js → agent-CnS0SRpT.js} +93 -236
  30. package/dist/{agent-B8ciDTm6.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-BHR6uOLT.js → agent-scope-CxBzAozu.js} +2 -2
  34. package/dist/{agents-DvkZi7oF.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-C9IyM74_.js → auth-choice-DY1saszS.js} +12 -107
  42. package/dist/{auth-choice-i9Z_cli_.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-Da39zGOD.js → auth-profiles-DtWUl1-k.js} +189 -29
  49. package/dist/{auth-store-Bl6rpC4E.js → auth-store-Bd0GoqEL.js} +3 -3
  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-CjrhpA68.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 +220 -149
  56. package/dist/bundled/bootstrap-extra-files/handler.js +3 -3
  57. package/dist/bundled/session-memory/handler.js +22 -22
  58. package/dist/{call-DHZ76BNg.js → call-B4lhqS6H.js} +3 -3
  59. package/dist/{call-DQjoz63V.js → call-CDPbPDAr.js} +4 -4
  60. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  61. package/dist/{catalog-AZNRamJ4.js → catalog-CsXv59Tq.js} +2 -2
  62. package/dist/{channel-web-9ikdY9RK.js → channel-web-B8mzTSaY.js} +15 -15
  63. package/dist/{channels-status-issues-DdjvFHx9.js → channels-status-issues-WkG3Tmxk.js} +4 -4
  64. package/dist/{chrome-HTuFjVWW.js → chrome-B8EnYGj1.js} +9 -9
  65. package/dist/{chrome-BNggURXT.js → chrome-BaU-H9m7.js} +3 -3
  66. package/dist/{chrome-CkSIMI7j.js → chrome-DLUBPBPz.js} +2 -2
  67. package/dist/{chunk-5llVa3wc.js → chunk-B4Kx-ocg.js} +11 -9
  68. package/dist/{chunk-Dffz_QIs.js → chunk-CFSle8n5.js} +1 -1
  69. package/dist/{chunk-D3vyM2EQ.js → chunk-Cy0Bj0F3.js} +1 -1
  70. package/dist/{chunk-DFqo_u5A.js → chunk-DJXDX69U.js} +11 -9
  71. package/dist/{clack-prompter-QbDK4ABC.js → clack-prompter-0JW5kry0.js} +3 -3
  72. package/dist/{clack-prompter-DlmPIB0y.js → clack-prompter-fZSmnHda.js} +5 -5
  73. package/dist/cli/daemon-cli.js +1 -1
  74. package/dist/{cli-d0H0Bpz9.js → cli-D8exVpuI.js} +30 -29
  75. package/dist/cli-hcHk5KuP.js +102 -0
  76. package/dist/{cli-utils-BdkJVXjy.js → cli-utils-D2X_bDLt.js} +9 -1
  77. package/dist/{cli-utils-DGnL8raH.js → cli-utils-DcDBK4C5.js} +9 -1
  78. package/dist/{client-D9E5Wwb_.js → client-BWkoTfOH.js} +3 -2
  79. package/dist/{client-DzIcZx4J.js → client-CfLiulzK.js} +2 -1
  80. package/dist/{command-registry-Dv064HDc.js → command-registry-D3VhxpWx.js} +21 -12
  81. package/dist/{commands-NIY0IDXe.js → commands-DE8FNH0v.js} +92 -20
  82. package/dist/{commands-eY0Ao0wt.js → commands-Mekaw9WG.js} +92 -20
  83. package/dist/{common-C2wAYEWA.js → common-BCW6hLGI.js} +2 -2
  84. package/dist/{common-CKoFTq83.js → common-Bf_TG87Y.js} +2 -2
  85. package/dist/{common-6Fcbzr42.js → common-DT_obM-k.js} +2 -2
  86. package/dist/{completion-cli-Blp8bILB.js → completion-cli-B3BqQJq9.js} +3 -3
  87. package/dist/{completion-cli-C-fu_7Kd.js → completion-cli-CepDzeW1.js} +2 -2
  88. package/dist/{config-Ofh9gKvs.js → config-BrVuTQ8R.js} +14 -2
  89. package/dist/{config-BfhpauV9.js → config-CweTwOtr.js} +19 -7
  90. package/dist/{config-DqwH4y-D.js → config-DaD4FsAn.js} +19 -7
  91. package/dist/{config-D2kCn7yR.js → config-ZYN8tezd.js} +18 -6
  92. package/dist/{config-cli-BFQDt_5i.js → config-cli-3CaIxSKo.js} +4 -4
  93. package/dist/config-cli-B6Np85rk.js +15 -0
  94. package/dist/{config-guard-B1plY6aQ.js → config-guard-C4b2dksv.js} +2 -2
  95. package/dist/{config-guard-CYlpjNN7.js → config-guard-CWhoBtB3.js} +20 -20
  96. package/dist/{config-sync-CDUhjDom.js → config-sync-CCVp-tVX.js} +4 -4
  97. package/dist/{config-sync-CYX9Tzyr.js → config-sync-CMO_5lyl.js} +4 -4
  98. package/dist/{configure-CJYocuSp.js → configure-D882Bg7c.js} +39 -15
  99. package/dist/{configure-DLPHJ8nv.js → configure-D88dg6mE.js} +79 -77
  100. package/dist/{configure-Bbx4y0lr.js → configure-xpjwedvJ.js} +50 -49
  101. package/dist/{configure-fHta2Meh.js → configure-zXK6UZ51.js} +49 -24
  102. package/dist/{context-CpsnZLOp.js → context-B5X720Bs.js} +1 -1
  103. package/dist/{control-service-D1oxSXVg.js → control-service-3CI4vt1h.js} +2 -2
  104. package/dist/{control-service-CzAfyR4e.js → control-service-5YtMvm7D.js} +5 -5
  105. package/dist/control-ui/assets/index-C4ejMN5U.js +72 -0
  106. package/dist/control-ui/assets/index-C4ejMN5U.js.map +1 -0
  107. package/dist/control-ui/assets/index-CcPNqN3R.css +1 -0
  108. package/dist/control-ui/assets/index-D7Bf6Say.js +3 -0
  109. package/dist/control-ui/assets/index-D7Bf6Say.js.map +1 -0
  110. package/dist/control-ui/assets/index-yhFuaOnc.js +2 -0
  111. package/dist/control-ui/assets/index-yhFuaOnc.js.map +1 -0
  112. package/dist/control-ui/assets/observers-V7q9lNYt.js +2 -0
  113. package/dist/control-ui/assets/observers-V7q9lNYt.js.map +1 -0
  114. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js +138 -0
  115. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js.map +1 -0
  116. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js +129 -0
  117. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js.map +1 -0
  118. package/dist/control-ui/index.html +2 -2
  119. package/dist/{cron-cli-C4qZZo4e.js → cron-cli-Cht6Itx6.js} +18 -18
  120. package/dist/{cron-cli-CSivg2i9.js → cron-cli-D9XrF-Gx.js} +8 -8
  121. package/dist/{daemon-cli-DfxT-pQ4.js → daemon-cli-9zrnYRjh.js} +8 -8
  122. package/dist/{daemon-cli-KMzjJH_D.js → daemon-cli-CrdPhSxr.js} +15 -15
  123. package/dist/daemon-cli.js +34 -6
  124. package/dist/{daemon-runtime-CIE27usH.js → daemon-runtime-BrUj88ZO.js} +2 -2
  125. package/dist/{daemon-runtime-BfgstLVI.js → daemon-runtime-DCqwraWR.js} +1 -1
  126. package/dist/{deliver-8r6UbXnC.js → deliver-B-dPbUIs.js} +18 -28
  127. package/dist/{deliver-ahx1N11n.js → deliver-BKzX3YoN.js} +7 -7
  128. package/dist/{deliver-DVt8TbK9.js → deliver-C1L5nO0K.js} +3 -3
  129. package/dist/{deliver-CoQP7nSu.js → deliver-d-CaN0uL.js} +18 -28
  130. package/dist/deps-DyT32VfN.js +23 -0
  131. package/dist/{diagnostics-DXeDqA_-.js → diagnostics-Cu9pZAFn.js} +1 -1
  132. package/dist/{dispatcher-DpSnqIL0.js → dispatcher-BQQugU-7.js} +1 -1
  133. package/dist/{dispatcher-DzT6jltc.js → dispatcher-DzwzLQRk.js} +2 -2
  134. package/dist/{dns-cli-D9ka2fZD.js → dns-cli-C8KIX4P3.js} +12 -12
  135. package/dist/{dns-cli-D2Orvc8E.js → dns-cli-V2bo6vSt.js} +3 -3
  136. package/dist/{docs-cli-CKfzGqYM.js → docs-cli-Bt-YV3xs.js} +2 -2
  137. package/dist/{docs-cli-DWYXJd-j.js → docs-cli-D2cVJxjP.js} +7 -7
  138. package/dist/{doctor-qayl5A-F.js → doctor-DEnSKgHu.js} +21 -21
  139. package/dist/{doctor-2O2knHXJ.js → doctor-WpKCNZeO.js} +36 -181
  140. package/dist/{doctor-completion-CaC89XwQ.js → doctor-completion-CPff9UlF.js} +2 -2
  141. package/dist/{doctor-completion-jbYrRr0H.js → doctor-completion-CypXc1Uo.js} +2 -2
  142. package/dist/{doctor-config-flow-DA50eWp5.js → doctor-config-flow-Bgl0Cc20.js} +6 -6
  143. package/dist/{doctor-config-flow-BjfGQ1Br.js → doctor-config-flow-Dxy7RIm0.js} +4 -4
  144. package/dist/{engine-CKqNpVwE.js → engine-DpbYPop7.js} +6 -6
  145. package/dist/{engine-BVchKo5_.js → engine-zmn3SOYa.js} +7 -6
  146. package/dist/entry.js +19 -28
  147. package/dist/{env-DVJCc7dM.js → env-DlTia1B4.js} +1 -1
  148. package/dist/{exec-cazBMA02.js → exec-BylR5qWS.js} +1 -1
  149. package/dist/{exec-gKbUce2p.js → exec-C6tXfeqA.js} +1 -1
  150. package/dist/{exec-CEFTijVj.js → exec-DUzVF5_D.js} +1 -1
  151. package/dist/{exec-approvals-cli-BPwW6GIK.js → exec-approvals-cli-CN2WeH7y.js} +20 -20
  152. package/dist/{exec-approvals-cli-6HndodnP.js → exec-approvals-cli-DYZVBnqS.js} +8 -8
  153. package/dist/extensionAPI.js +22 -22
  154. package/dist/format-BCAtE7cT.js +20 -0
  155. package/dist/{gateway-cli-DAPK-NMP.js → gateway-cli-B_xsx5Nv.js} +104 -101
  156. package/dist/{gateway-cli-CDg1qmsU.js → gateway-cli-D3VBOA_i.js} +69 -66
  157. package/dist/{gateway-rpc-CrSglZPE.js → gateway-rpc-Cj_h2sVM.js} +3 -3
  158. package/dist/{gateway-rpc-BtOX_e53.js → gateway-rpc-CnXMGsxp.js} +3 -3
  159. package/dist/{gmail-setup-utils-D2uUKNlF.js → gmail-setup-utils-DaJoXV_3.js} +3 -3
  160. package/dist/{health-BNasz7nv.js → health-C8KCBhuo.js} +8 -8
  161. package/dist/{health-2sA2ziYt.js → health-CabOEPQ0.js} +13 -13
  162. package/dist/{health-format-CH6JWH45.js → health-format-D-JJ5_S4.js} +2 -2
  163. package/dist/{heartbeat-visibility-B2MDtPTL.js → heartbeat-visibility-BjYY-mKG.js} +1 -1
  164. package/dist/{heartbeat-visibility-DcGQOTXe.js → heartbeat-visibility-ZfNSbFcq.js} +1 -1
  165. package/dist/{help-format-7YidDC5Z.js → help-format-Dt-I_Mls.js} +1 -1
  166. package/dist/{hooks-cli-D8SvsiGN.js → hooks-cli-Cs7GUa7G.js} +34 -33
  167. package/dist/{hooks-cli-Cwe9oz1p.js → hooks-cli-DOs9WZ3K.js} +56 -55
  168. package/dist/{hooks-status-VvwKn90L.js → hooks-status-DdweuSIj.js} +4 -4
  169. package/dist/{image-ops-BUy__GHL.js → image-ops-Ct3GueyT.js} +1 -1
  170. package/dist/index.js +79 -71
  171. package/dist/{init-B8PBeUpi.js → init-CFndGgTJ.js} +1 -1
  172. package/dist/{init-DxkAVKP0.js → init-DkBwXNme.js} +1 -1
  173. package/dist/{installs-sayrGjx1.js → installs-Bi6UipiE.js} +6 -6
  174. package/dist/{installs-BcnNDR54.js → installs-a4Vz_J08.js} +3 -3
  175. package/dist/ipv4-DfMwLQ0d.js +14 -0
  176. package/dist/{lib-D4dE4_XZ.js → lib-6xd5SQjU.js} +20 -20
  177. package/dist/{lifecycle-core-BerWWP7p.js → lifecycle-core-B8PI1NZJ.js} +3 -3
  178. package/dist/{links-OhvsEkVw.js → links-DcilUrqq.js} +1 -1
  179. package/dist/llm-slug-generator.js +23 -23
  180. package/dist/{loader-CLNb0v_s.js → loader-Bw2wdN4l.js} +159 -3
  181. package/dist/{loader-Bww_qb65.js → loader-C87TLS4J.js} +159 -3
  182. package/dist/{logging-DhXRGHWg.js → logging-Chc1Sj6N.js} +1 -1
  183. package/dist/{login-BovU8kno.js → login-BHnvW9HA.js} +6 -6
  184. package/dist/{login-BPtmlRRv.js → login-BTOKtSQN.js} +5 -5
  185. package/dist/{login-C54B66KM.js → login-CrMpAZ0n.js} +4 -4
  186. package/dist/{login-7Yj2TvMd.js → login-DKkQ3Czu.js} +5 -5
  187. package/dist/{login-qr-bim3Nkyu.js → login-qr-BGbHImRb.js} +8 -8
  188. package/dist/{login-qr-pFbvowe5.js → login-qr-CsAVGp00.js} +12 -12
  189. package/dist/{login-qr-657mh7cI.js → login-qr-DILcBA_q.js} +6 -6
  190. package/dist/{login-qr-CuwWMetN.js → login-qr-OUAGpDsU.js} +9 -9
  191. package/dist/{logs-cli-CQStwrGd.js → logs-cli-Bc6IOyHA.js} +8 -8
  192. package/dist/{logs-cli-De79vyiP.js → logs-cli-BiAJbjnq.js} +15 -15
  193. package/dist/{manager-B043uMPT.js → manager-BYu34CX3.js} +12 -12
  194. package/dist/{manager-Cvmm95Pf.js → manager-C6L_DH0O.js} +2 -2
  195. package/dist/{manager-BtrVJ8Ve.js → manager-D8VCuzru.js} +9 -9
  196. package/dist/{manager-kdmVqWxk.js → manager-b_aZwo00.js} +12 -12
  197. package/dist/{manifest-registry-D-DOtLzo.js → manifest-registry-qF960vMH.js} +1 -1
  198. package/dist/{memory-cli-COl5xoIl.js → memory-cli-B0kKl-9T.js} +7 -7
  199. package/dist/{memory-cli-691NgCXx.js → memory-cli-DLtBA6r5.js} +11 -11
  200. package/dist/{message-channel-DZYYDt1_.js → message-channel-CMsexA3K.js} +9 -7
  201. package/dist/{message-channel-DdOBO6Qm.js → message-channel-DIHHKJhk.js} +8 -6
  202. package/dist/{migrate-DkBWjPPs.js → migrate-DuohB_ur.js} +3 -3
  203. package/dist/{migrate-BLjwxe9X.js → migrate-bgeTT_GR.js} +3 -3
  204. package/dist/{model-auth-DKhjNVHc.js → model-auth-CHB3EySM.js} +10 -5
  205. package/dist/{model-auth-CxAB4iZ0.js → model-auth-KpsOXKDc.js} +3 -3
  206. package/dist/model-param-b-C1QDqzQp.js +16 -0
  207. package/dist/{model-selection-BuMFehML.js → model-selection-CLcoOT3e.js} +25 -7
  208. package/dist/{model-selection-wCaVeFbb.js → model-selection-CY6r_3wt.js} +25 -7
  209. package/dist/{model-selection-DFbDH9o2.js → model-selection-DcO3qJOu.js} +24 -6
  210. package/dist/{model-selection-BPkpXepz.js → model-selection-DjsJGv1R.js} +67 -8
  211. package/dist/models-BM2_NkMu.js +2707 -0
  212. package/dist/models-cli-BjY8wA-C.js +272 -0
  213. package/dist/models-cli-BpjeKsUz.js +2946 -0
  214. package/dist/{node-cli-Ajhng-5p.js → node-cli-BmuVEJ1C.js} +12 -12
  215. package/dist/{node-cli-t3N6HE9R.js → node-cli-DU_oREff.js} +27 -27
  216. package/dist/{node-service-4B-0AjmA.js → node-service-qZXF7T7A.js} +1 -1
  217. package/dist/{note-De2zPKl3.js → note-iMYVGjpA.js} +2 -2
  218. package/dist/noxsoft-bootstrap-C4dSx7K_.js +77 -0
  219. package/dist/noxsoft-bootstrap-CrlkSFzd.js +77 -0
  220. package/dist/{npm-registry-spec-CFp4OEe4.js → npm-registry-spec-Br4B4I_3.js} +2 -2
  221. package/dist/{npm-registry-spec-DVDcgWxm.js → npm-registry-spec-jf7Mowdn.js} +1 -1
  222. package/dist/{onboard-DJ4ON8sf.js → onboard-DM9gULJN.js} +24 -19
  223. package/dist/{onboard-DbzYS52G.js → onboard-_-D81kAy.js} +19 -15
  224. package/dist/{onboard-channels-CWMuM-3k.js → onboard-channels-CtT-RN60.js} +8 -8
  225. package/dist/{onboard-channels-Cqeff8-v.js → onboard-channels-UkphAdCy.js} +4 -4
  226. package/dist/{onboard-helpers-IeOtcIME.js → onboard-helpers-CFudIoX4.js} +3 -3
  227. package/dist/{onboard-helpers-DPqXrhma.js → onboard-helpers-CJ3HzoUO.js} +7 -7
  228. package/dist/{onboarding-SrNptVqc.js → onboarding-BB9PteK8.js} +20 -17
  229. package/dist/{onboarding-GIx1Wpw0.js → onboarding-Djmm0PEM.js} +27 -23
  230. package/dist/{orchestrator-COMX8CF2.js → orchestrator-C1nWKIJS.js} +7 -3
  231. package/dist/{orchestrator-BLXpTTgr.js → orchestrator-C2ypFiPL.js} +6 -3
  232. package/dist/{outbound-CovlPIFx.js → outbound-Bmft-5um.js} +4 -4
  233. package/dist/{outbound-Rs0fFC2g.js → outbound-C577aWZp.js} +1 -1
  234. package/dist/{outbound-DLCmFGfJ.js → outbound-DW2eod1S.js} +4 -4
  235. package/dist/{outbound-uxBpmALx.js → outbound-fPqdCDR4.js} +4 -4
  236. package/dist/outbound-send-deps-DVfWC4E8.js +14 -0
  237. package/dist/outbound-send-deps-T_FgdfgW.js +36 -0
  238. package/dist/{parse-timeout-DkOL1T_l.js → parse-timeout-C4WLf3Qy.js} +3 -3
  239. package/dist/{parse-timeout-DlU4ymhF.js → parse-timeout-D4UO8pY_.js} +1 -1
  240. package/dist/{path-env-CjpH-KWH.js → path-env-DLQPf9qj.js} +2 -2
  241. package/dist/{paths-DQMKfv60.js → paths-CAQJvbeZ.js} +2 -2
  242. package/dist/{paths-CLxC7m0Z.js → paths-Q6h5HODL.js} +1 -1
  243. package/dist/{pi-auth-json-BLdaEAx2.js → pi-auth-json-B_lKNFK6.js} +5 -5
  244. package/dist/{pi-auth-json-BH7uvkKr.js → pi-auth-json-BmdBnmlZ.js} +8 -9
  245. package/dist/{pi-auth-json-DjxzPUt3.js → pi-auth-json-DkYqdjrV.js} +2 -2
  246. package/dist/{pi-auth-json-BLCyhR5p.js → pi-auth-json-WTvcP2gz.js} +9 -8
  247. package/dist/{pi-embedded-BL-Js-lp.js → pi-embedded-BMbtgOzv.js} +852 -338
  248. package/dist/{pi-embedded-fZ1QlJ9C.js → pi-embedded-DfbM3fAT.js} +850 -336
  249. package/dist/{pi-embedded-helpers-B6wVA0hU.js → pi-embedded-helpers-BZ9GspxK.js} +1 -1
  250. package/dist/{pi-tools.policy-CDgjN_3f.js → pi-tools.policy-D2FusuQa.js} +3 -3
  251. package/dist/{pi-tools.policy-ox141hP6.js → pi-tools.policy-WdTAfqbV.js} +6 -6
  252. package/dist/{plugin-auto-enable-Mj7AnofW.js → plugin-auto-enable-CtYcdTju.js} +5 -5
  253. package/dist/{plugin-auto-enable-OqDAK-ap.js → plugin-auto-enable-DhuD30Je.js} +2 -2
  254. package/dist/{plugin-registry-DboWDOrG.js → plugin-registry-DePMxn4z.js} +4 -4
  255. package/dist/{plugin-registry-X7L3BrUu.js → plugin-registry-QTkplP4s.js} +2 -2
  256. package/dist/plugin-sdk/agents/cli-backends.d.ts +8 -2
  257. package/dist/plugin-sdk/agents/cli-credentials.d.ts +0 -10
  258. package/dist/plugin-sdk/agents/cli-runner.d.ts +2 -0
  259. package/dist/plugin-sdk/agents/defaults.d.ts +2 -2
  260. package/dist/plugin-sdk/agents/model-auto.d.ts +43 -0
  261. package/dist/plugin-sdk/agents/model-fallback.d.ts +5 -0
  262. package/dist/plugin-sdk/agents/model-preference.d.ts +25 -0
  263. package/dist/plugin-sdk/agents/noxsoft-runner.d.ts +94 -0
  264. package/dist/plugin-sdk/agents/pi-embedded-runner/run/params.d.ts +6 -3
  265. package/dist/plugin-sdk/agents/pi-embedded.d.ts +6 -50
  266. package/dist/plugin-sdk/agents/runner-capabilities.d.ts +2 -0
  267. package/dist/plugin-sdk/agents/sandbox/constants.d.ts +1 -1
  268. package/dist/plugin-sdk/auth/noxsoft-auth.d.ts +55 -0
  269. package/dist/plugin-sdk/channels/registry.d.ts +2 -2
  270. package/dist/plugin-sdk/cli/deps.d.ts +2 -1
  271. package/dist/plugin-sdk/cli/outbound-send-deps.d.ts +10 -0
  272. package/dist/plugin-sdk/commands/agent/types.d.ts +2 -0
  273. package/dist/plugin-sdk/config/types.agent-defaults.d.ts +14 -0
  274. package/dist/plugin-sdk/config/types.models.d.ts +1 -1
  275. package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +13 -0
  276. package/dist/plugin-sdk/config/zod-schema.agents.d.ts +13 -0
  277. package/dist/plugin-sdk/config/zod-schema.d.ts +13 -0
  278. package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +1 -0
  279. package/dist/plugin-sdk/identity/loader.d.ts +1 -0
  280. package/dist/plugin-sdk/identity/trust-graph.d.ts +32 -0
  281. package/dist/plugin-sdk/index.js +57 -47
  282. package/dist/plugin-sdk/utils/message-channel.d.ts +2 -1
  283. package/dist/{plugins-DnJgmFJR.js → plugins-DYcg0qBW.js} +1 -1
  284. package/dist/{plugins-cli-C-PA_T5k.js → plugins-cli-Bc9oU1ld.js} +58 -57
  285. package/dist/{plugins-cli-BraLLKDO.js → plugins-cli-Dv0KQTWo.js} +36 -35
  286. package/dist/{polls-DuwPgAV7.js → polls-DFISjV7H.js} +5 -5
  287. package/dist/{ports-B1b1r9Dz.js → ports-DaVrZDUq.js} +2 -2
  288. package/dist/{ports-BX00e96t.js → ports-q535r1PZ.js} +2 -2
  289. package/dist/{program-BriwVW7P.js → program-CuwbF8YO.js} +48 -40
  290. package/dist/{program-context-oXX-h-yI.js → program-context-CxPfy-Wr.js} +51 -35
  291. package/dist/{progress-B-VBLfHr.js → progress-CVLvQV_t.js} +1 -1
  292. package/dist/{prompt-style-DU9Vjqe5.js → prompt-style-BI53UVgE.js} +1 -1
  293. package/dist/{prompts-D6b3zLVO.js → prompts-BmgT_kkv.js} +33 -2
  294. package/dist/prompts-Bq4QGFQM.js +158 -0
  295. package/dist/{pw-ai-BV57RRmp.js → pw-ai-CB-zeR7h.js} +5 -5
  296. package/dist/{pw-ai-BJfL9dGV.js → pw-ai-C_1-7IgH.js} +3 -3
  297. package/dist/{pw-ai-CTHtrCEC.js → pw-ai-DxNrJcCA.js} +3 -3
  298. package/dist/{qmd-manager-DJeQYS-r.js → qmd-manager-C_XBZ_bT.js} +5 -5
  299. package/dist/{qmd-manager-DHQgWjsV.js → qmd-manager-CpNYgSrx.js} +6 -6
  300. package/dist/{qmd-manager-Cbm03z8H.js → qmd-manager-Q0OSDQ-e.js} +5 -5
  301. package/dist/{register.agent-BO5BCkbO.js → register.agent-DFQmkIEH.js} +53 -50
  302. package/dist/{register.agent-BMKeVZeq.js → register.agent-DUjwGw9d.js} +77 -73
  303. package/dist/{register.anima-BS8nsOpD.js → register.anima-CRFHJu2J.js} +21 -21
  304. package/dist/{register.anima-DPurDgXW.js → register.anima-CtKNrpE8.js} +21 -21
  305. package/dist/{register.configure-Di8agIXW.js → register.configure-CSSN07XN.js} +50 -49
  306. package/dist/register.configure-CnEKV57N.js +107 -0
  307. package/dist/register.maintenance-CU1A-90-.js +102 -0
  308. package/dist/{register.maintenance-DjXwK16H.js → register.maintenance-fhcCB7ih.js} +48 -47
  309. package/dist/register.message-C1a0y2ZR.js +661 -0
  310. package/dist/register.message-fM0jSKB8.js +659 -0
  311. package/dist/register.onboard-B7Gavmvt.js +128 -0
  312. package/dist/{register.onboard-BkUxrYi2.js → register.onboard-BhPlqjFi.js} +50 -49
  313. package/dist/{register.setup-DyqOWQ2D.js → register.setup-0jPnMgnz.js} +96 -92
  314. package/dist/{register.setup-DEtz71o0.js → register.setup-CADdQUEN.js} +72 -69
  315. package/dist/{register.status-health-sessions-DjsEuYmp.js → register.status-health-sessions-Cu5fDT-z.js} +68 -67
  316. package/dist/{register.status-health-sessions-CXMn5NfF.js → register.status-health-sessions-DdQsABr_.js} +40 -39
  317. package/dist/{register.subclis-CMlPDwE5.js → register.subclis-CZ91ufCy.js} +28 -21
  318. package/dist/{reply-DWdVFSBB.js → reply-DtHlnzOx.js} +6658 -6191
  319. package/dist/{reply-prefix-CRGxza-M.js → reply-prefix-C8dIgJur.js} +1 -1
  320. package/dist/{reply-prefix-_gr2uQ1Z.js → reply-prefix-DmWGtcH-.js} +1 -1
  321. package/dist/{routes-ZlpnlJFF.js → routes-CWCAc8uJ.js} +2 -2
  322. package/dist/{routes-DeDgHj5Y.js → routes-FT0Us8Md.js} +6 -6
  323. package/dist/{run-GZnwhuUG.js → run-Dfz_7j7t.js} +1256 -166
  324. package/dist/{run-CXLRGLdR.js → run-DqBQ-bGn.js} +1230 -140
  325. package/dist/{run-main-Coy6Vx7R.js → run-main-DGDW0fhx.js} +51 -50
  326. package/dist/{runtime-guard-cBL2D5J8.js → runtime-guard-D14Z_QY6.js} +1 -1
  327. package/dist/{sandbox-DDOFuJU9.js → sandbox-D-N7M7lp.js} +2 -2
  328. package/dist/{sandbox-cli-GhcxR1Va.js → sandbox-cli-CQKz2I1X.js} +9 -9
  329. package/dist/{sandbox-cli-CGJvhJ4L.js → sandbox-cli-DHNFlTo-.js} +23 -23
  330. package/dist/{sandbox-B8Nza4lP.js → sandbox-pBHlfFdB.js} +6 -6
  331. package/dist/{security-cli-B7VIDDSL.js → security-cli-Bdi7MuP6.js} +14 -22
  332. package/dist/{security-cli-gsyz4Wrw.js → security-cli-C3aI09uy.js} +27 -35
  333. package/dist/{semantic-C3Z-zhNi.js → semantic-9rgWUrz3.js} +1 -1
  334. package/dist/{semantic-BZw2SVoG.js → semantic-C1UN3bb9.js} +1 -1
  335. package/dist/{semantic-DCd6zBnV.js → semantic-CQApJNO_.js} +1 -1
  336. package/dist/{server-context-Dkz4Ce8z.js → server-context-Clykq0XU.js} +1 -1
  337. package/dist/{server-context-BlJi7pjP.js → server-context-Yx4pgBqJ.js} +7 -7
  338. package/dist/{server-node-events-yZM_OBSZ.js → server-node-events-BR1aXVlu.js} +55 -53
  339. package/dist/{server-node-events-BMO931Md.js → server-node-events-Ca797E1d.js} +34 -31
  340. package/dist/{service-QlHhVsQf.js → service-Dd1DfPia.js} +1 -1
  341. package/dist/{service-audit-D4xG05j8.js → service-audit-Bwpoc2LD.js} +1 -1
  342. package/dist/{service-audit-BaoBb09i.js → service-audit-KzOtcw_V.js} +3 -3
  343. package/dist/{session-BJ9XCJBg.js → session-5YO_H-Ra.js} +1 -1
  344. package/dist/{session-CB9OL4Ml.js → session-BiA6jrcs.js} +1 -1
  345. package/dist/session-C7IGnhd1.js +190 -0
  346. package/dist/{session-KNXzWBht.js → session-CSmfU0D3.js} +1 -1
  347. package/dist/{session-CqKJvPTq.js → session-DLevr8Vd.js} +5 -5
  348. package/dist/session-DfsMJNG3.js +190 -0
  349. package/dist/{session-TAOVpONo.js → session-FmXsucR7.js} +2 -2
  350. package/dist/{session-cost-usage-BamtB1rn.js → session-cost-usage-BWqR-ik6.js} +1 -1
  351. package/dist/{sessions-C2th3rm6.js → sessions-BOzeFzuL.js} +12 -22
  352. package/dist/{sessions-1XK2mH6L.js → sessions-C_3wTmSA.js} +9 -19
  353. package/dist/{sessions-BrQHxX_o.js → sessions-Dj7_4mkr.js} +4 -4
  354. package/dist/{settings-cli-_DoMmFH9.js → settings-cli-DxNeu6kx.js} +79 -77
  355. package/dist/{settings-cli-BVBFgDUd.js → settings-cli-Dytfop1H.js} +50 -49
  356. package/dist/{setup-token-Dqtgnjxw.js → setup-token-B802CZwe.js} +13 -18
  357. package/dist/{setup-token-Bcer2kX8.js → setup-token-DYh2QzJ-.js} +29 -34
  358. package/dist/{shared-Hnu5dChj.js → shared-C-rqLtIT.js} +2 -2
  359. package/dist/{shell-env-KRrv3dPW.js → shell-env-CMI9f7-7.js} +1 -1
  360. package/dist/{shell-env-DaSbgZYX.js → shell-env-HkVWMh--.js} +1 -1
  361. package/dist/{shell-env-PnmcBTp4.js → shell-env-iPnSIi-t.js} +1 -1
  362. package/dist/{skills-CQoUYlGu.js → skills-4v6-kw0C.js} +3 -3
  363. package/dist/{skills-cli-DQuLxQUM.js → skills-cli-BoasNTpZ.js} +15 -15
  364. package/dist/{skills-cli-CNNy0FxN.js → skills-cli-TeAq3fRG.js} +3 -3
  365. package/dist/{skills-install-2DbC1Yo2.js → skills-install-D6_qpRjW.js} +7 -7
  366. package/dist/{skills-install-CE6djAWL.js → skills-install-Qw2oU8L8.js} +2 -2
  367. package/dist/{skills-status-ybjSmiHu.js → skills-status-CvH7AUoY.js} +4 -4
  368. package/dist/{soul-DFeEGG5h.js → soul-BiIdv3Wp.js} +124 -4
  369. package/dist/{soul-B7vtVbSs.js → soul-Bt8UNmTq.js} +125 -4
  370. package/dist/{soul-CwWWw7cs.js → soul-D9k5zulC.js} +2 -2
  371. package/dist/{soul-Bru-rRjk.js → soul-DQSYs-4l.js} +1 -1
  372. package/dist/{sqlite-BTcAhNls.js → sqlite-BMMt7osH.js} +2 -2
  373. package/dist/{sqlite-D_h-b5t2.js → sqlite-CZ1vD4VS.js} +2 -2
  374. package/dist/{sqlite-CLZ1eR5Q.js → sqlite-CpAJt-JS.js} +1 -1
  375. package/dist/{start-C6a18wc7.js → start-BqnPia0t.js} +66 -63
  376. package/dist/start-C3fuLzX0.js +157 -0
  377. package/dist/{status-DyD7gtoK.js → status-CHGNPonc.js} +26 -44
  378. package/dist/{status-CUyIggna.js → status-CxF6k_jr.js} +2 -2
  379. package/dist/{status-CWgHkLTE.js → status-DfZJJqNs.js} +15 -15
  380. package/dist/{status-DmsznVj5.js → status-tLgozFYL.js} +4 -4
  381. package/dist/{status.update-CbIRaeaV.js → status.update-B6Tdpk07.js} +2 -2
  382. package/dist/{status.update-CPACVnCc.js → status.update-E9dSFk_b.js} +1 -1
  383. package/dist/{subagent-registry-BVrDlKmm.js → subagent-registry-CPtElVX0.js} +834 -367
  384. package/dist/{subsystem-BMsbqSb4.js → subsystem-BAADN1B8.js} +18 -27
  385. package/dist/{subsystem-CucjNlOk.js → subsystem-D-Xta-sj.js} +17 -26
  386. package/dist/{subsystem-BP2l3SHn.js → subsystem-D1AJZPgG.js} +18 -27
  387. package/dist/{system-cli-BKicxULp.js → system-cli-CP7JrhR0.js} +15 -15
  388. package/dist/{system-cli-Unb-WFAR.js → system-cli-DoLzi2Sn.js} +8 -8
  389. package/dist/{systemd-5KGZ3NHE.js → systemd-Bx76sJ3M.js} +2 -2
  390. package/dist/{systemd-linger-B-uyzDap.js → systemd-linger-BVwGXVS0.js} +2 -2
  391. package/dist/{systemd-linger-CS_pA1-a.js → systemd-linger-CxGmIy_5.js} +1 -1
  392. package/dist/{table-CdHBo5d1.js → table-Blmz7glr.js} +2 -2
  393. package/dist/{tokens-DGhK0fpG.js → tokens-SP2Q7i59.js} +1 -1
  394. package/dist/{tool-images-CUx-9B7B.js → tool-images-2qproko3.js} +2 -2
  395. package/dist/{tool-images-Dq55i0mz.js → tool-images-C6cKHTbj.js} +2 -2
  396. package/dist/{tool-images-J0rGmoDV.js → tool-images-CgDT0Xzv.js} +2 -2
  397. package/dist/{tui-Bm8FEW0b.js → tui-C2eLfbhA.js} +5 -5
  398. package/dist/{tui-cli-BGjsxGle.js → tui-cli-BgcbCtgc.js} +12 -12
  399. package/dist/{tui-cli-TwCYv-a7.js → tui-cli-cLSYBQu9.js} +27 -27
  400. package/dist/{tui-DtGKiHUr.js → tui-r4qpJhNk.js} +10 -10
  401. package/dist/{update-Dfi92PZJ.js → update-CqKpX3cX.js} +3 -3
  402. package/dist/{update-Dle5MRUz.js → update-DA91za97.js} +1 -1
  403. package/dist/{update-cli-JPLB8AtM.js → update-cli-BuCw75tM.js} +87 -85
  404. package/dist/{update-cli-4VAEZsrR.js → update-cli-C-er5av6.js} +55 -54
  405. package/dist/{update-runner-BxdLd4Q8.js → update-runner-czCqHZCu.js} +5 -5
  406. package/dist/{update-runner-pmlbxeZ-.js → update-runner-kE8AMQt4.js} +1 -1
  407. package/dist/{utils-B60lF9Wq.js → utils-CLYlhJuc.js} +1 -1
  408. package/dist/{web-cpPr1Em8.js → web-BHGK5GtV.js} +24 -24
  409. package/dist/web-CyYunanU.js +65 -0
  410. package/dist/{web-D8EsFSet.js → web-DvTXV-fo.js} +35 -34
  411. package/dist/{web-B3O004_b.js → web-so3pGceM.js} +25 -25
  412. package/dist/{webhooks-cli-Cg0F2mU6.js → webhooks-cli-k3QMf7Rs.js} +4 -4
  413. package/dist/{webhooks-cli-BsWx7MgH.js → webhooks-cli-vlEfXEKm.js} +12 -12
  414. package/dist/{whatsapp-actions-gpz6-vPI.js → whatsapp-actions-6fPRKwPV.js} +11 -11
  415. package/dist/{whatsapp-actions-DJpQVKnT.js → whatsapp-actions-BJn-z76S.js} +17 -17
  416. package/dist/{whatsapp-actions-tWRWRZ4X.js → whatsapp-actions-C0tlEdLy.js} +5 -5
  417. package/dist/{whatsapp-actions-9PCfw-Zh.js → whatsapp-actions-Hr-W8vjY.js} +12 -12
  418. package/dist/{widearea-dns-BDtWuGCY.js → widearea-dns-CHAT20aR.js} +1 -1
  419. package/dist/{workspace-Cvio8QlZ.js → workspace-BFIZCnGo.js} +1 -1
  420. package/dist/{ws-log-Bc4grA6W.js → ws-log-CUobU2tD.js} +1 -1
  421. package/package.json +1 -1
  422. package/templates/profiles/nox.profile.json5 +5 -5
  423. package/dist/cli-PD3ygS3H.js +0 -101
  424. package/dist/config-cli-CgG6CaWK.js +0 -15
  425. package/dist/control-ui/assets/index-B7CJLRZD.css +0 -1
  426. package/dist/control-ui/assets/index-DLPYIcs0.js +0 -58
  427. package/dist/control-ui/assets/index-DLPYIcs0.js.map +0 -1
  428. package/dist/deps-CMFpRoYp.js +0 -13
  429. package/dist/models-2GYW4-6h.js +0 -1350
  430. package/dist/register.configure-Dvg0Vi23.js +0 -105
  431. package/dist/register.maintenance-CKE15LXK.js +0 -100
  432. package/dist/register.onboard-Du-u1lcX.js +0 -126
  433. package/dist/start-C0Uw_pIA.js +0 -154
  434. package/dist/web-B9-C6C1i.js +0 -64
  435. /package/dist/{BasicParser-BiEpjka-.js → BasicParser-D4BHCxVb.js} +0 -0
  436. /package/dist/{agents.config-DibGEnBs.js → agents.config-Br4ULmK0.js} +0 -0
  437. /package/dist/{archive-BIKRyvqD.js → archive-CNqghdwQ.js} +0 -0
  438. /package/dist/{archive-5e-Ytlq-.js → archive-D-dHRz-v.js} +0 -0
  439. /package/dist/{argv-B6vsXQtF.js → argv-nNQ109_K.js} +0 -0
  440. /package/dist/{auth-store-Vfd6oc1G.js → auth-store-BEfSfCbW.js} +0 -0
  441. /package/dist/{auto-update-BUbllW1X.js → auto-update-Cvd8YJrT.js} +0 -0
  442. /package/dist/{auto-update-DdH8fo63.js → auto-update-DO4nHkfM.js} +0 -0
  443. /package/dist/{brew-Bkf_MwX9.js → brew-DHWnVWm3.js} +0 -0
  444. /package/dist/{budget-CV0a771W.js → budget-DvjICb0t.js} +0 -0
  445. /package/dist/{budget-GiXjG9eW.js → budget-e0R5xsU3.js} +0 -0
  446. /package/dist/{command-options-DfPEZwUK.js → command-options-DtJ8-EC7.js} +0 -0
  447. /package/dist/{command-options-mgpP-XId.js → command-options-eC-m_qJx.js} +0 -0
  448. /package/dist/{delivery-queue-DGnDKL02.js → delivery-queue-BKQk1j0k.js} +0 -0
  449. /package/dist/{delivery-queue-DZ_ibFDu.js → delivery-queue-CExaJXRz.js} +0 -0
  450. /package/dist/{display-BwSYYxVE.js → display-4p3-O9mP.js} +0 -0
  451. /package/dist/{display-Dck2kudh.js → display-Bo8pBhMp.js} +0 -0
  452. /package/dist/{exec-approvals-BJikgQkX.js → exec-approvals-DK5-KCUz.js} +0 -0
  453. /package/dist/{format-wiLVr0D3.js → format-9DMvWYUJ.js} +0 -0
  454. /package/dist/{format-duration-C5oKCGwB.js → format-duration-CnGkTPRF.js} +0 -0
  455. /package/dist/{gmail-setup-utils-CR33Gqfc.js → gmail-setup-utils-BIXtKTpT.js} +0 -0
  456. /package/dist/{help-format-DJx5Rwy2.js → help-format-ZKxl6UCb.js} +0 -0
  457. /package/dist/{helpers-8O7IVGO-.js → helpers-CWQnEONe.js} +0 -0
  458. /package/dist/{hooks-status-DiqubDlK.js → hooks-status-DqfJDvYl.js} +0 -0
  459. /package/dist/{ipv4-BYbwrpG-.js → ipv4-CExV55ho.js} +0 -0
  460. /package/dist/{is-main-BnikY3ud.js → is-main-H-hpHkdq.js} +0 -0
  461. /package/dist/{lib-D1DXSMt_.js → lib-D0_kW-B6.js} +0 -0
  462. /package/dist/{links-3c7gzW-G.js → links-BjjDMNIq.js} +0 -0
  463. /package/dist/{logging-Bpf6Cepz.js → logging-DWwOqnTW.js} +0 -0
  464. /package/dist/{logging-DcXIbpwk.js → logging-_rCcBkls.js} +0 -0
  465. /package/dist/{model-param-b-BcBBSgiD.js → model-param-b-2KmFir_0.js} +0 -0
  466. /package/dist/{node-service-BDlDNv3t.js → node-service-cOoW5hLa.js} +0 -0
  467. /package/dist/{note-BaOKDvcy.js → note-CeLGcHqv.js} +0 -0
  468. /package/dist/{noxsoft-auth-Bmict45b.js → noxsoft-auth-CE75mBXE.js} +0 -0
  469. /package/dist/{noxsoft-auth-DpwLJIW0.js → noxsoft-auth-CgCk5707.js} +0 -0
  470. /package/dist/{pi-model-discovery-ClWISQ3j.js → pi-model-discovery-Bu4Zr7nI.js} +0 -0
  471. /package/dist/{ports-aNJUI3Mi.js → ports-BGLuwt2Z.js} +0 -0
  472. /package/dist/{progress-Dj2aBWOI.js → progress-glCgu57m.js} +0 -0
  473. /package/dist/{qmd-manager-DrDX4o7e.js → qmd-manager-CO795NK4.js} +0 -0
  474. /package/dist/{queue-B77yV52t.js → queue-DDq0uzy5.js} +0 -0
  475. /package/dist/{queue-wFYwitx0.js → queue-DtQ5sbyD.js} +0 -0
  476. /package/dist/{registry-gaRST__4.js → registry-BvymIcVf.js} +0 -0
  477. /package/dist/{registry-Cv8RtADU.js → registry-DwaHkd_j.js} +0 -0
  478. /package/dist/{requirements-CEowKaVY.js → requirements-Ct4XnMiK.js} +0 -0
  479. /package/dist/{skill-scanner-DGoUYV22.js → skill-scanner-5_Y3u6SU.js} +0 -0
  480. /package/dist/{skill-scanner-FO7SyxAD.js → skill-scanner-Dld2ijVw.js} +0 -0
  481. /package/dist/{templates-D-h5PNIK.js → templates-4_And8I_.js} +0 -0
  482. /package/dist/{templates-ndPXOyGA.js → templates-5Z-UIDze.js} +0 -0
  483. /package/dist/{types-DSS9sywz.js → types-BQk_oAin.js} +0 -0
  484. /package/dist/{usage-format-BtlQ-77V.js → usage-format-BSa7cHyK.js} +0 -0
  485. /package/dist/{ws-log-BA9w1cJs.js → ws-log-CG6cvCZW.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
- import { I as resolveOAuthPath, L as resolveStateDir, t as createSubsystemLogger } from "./subsystem-CucjNlOk.js";
3
- import { T as DEFAULT_AGENT_ID } from "./agent-scope-C9CiVcmh.js";
4
- import { w as resolveUserPath } from "./exec-gKbUce2p.js";
5
- import { s as normalizeProviderId } from "./model-selection-BPkpXepz.js";
2
+ import { I as resolveOAuthPath, L as resolveStateDir, t as createSubsystemLogger } from "./subsystem-D-Xta-sj.js";
3
+ import { T as DEFAULT_AGENT_ID } from "./agent-scope-ByIGrCTT.js";
4
+ import { w as resolveUserPath } from "./exec-C6tXfeqA.js";
5
+ import { s as normalizeProviderId } from "./model-selection-CLcoOT3e.js";
6
6
  import { t as formatCliCommand } from "./command-format-CsqJApTg.js";
7
7
  import path from "node:path";
8
8
  import fs from "node:fs";
@@ -359,6 +359,19 @@ function ensureAuthStoreFile(pathname) {
359
359
 
360
360
  //#endregion
361
361
  //#region src/agents/auth-profiles/store.ts
362
+ async function updateAuthProfileStoreWithLock(params) {
363
+ const authPath = resolveAuthStorePath(params.agentDir);
364
+ ensureAuthStoreFile(authPath);
365
+ try {
366
+ return await withFileLock(authPath, AUTH_STORE_LOCK_OPTIONS, async () => {
367
+ const store = ensureAuthProfileStore(params.agentDir);
368
+ if (params.updater(store)) saveAuthProfileStore(store, params.agentDir);
369
+ return store;
370
+ });
371
+ } catch {
372
+ return null;
373
+ }
374
+ }
362
375
  function coerceLegacyStore(raw) {
363
376
  if (!raw || typeof raw !== "object") return null;
364
377
  const record = raw;
@@ -478,30 +491,6 @@ function applyLegacyStore(store, legacy) {
478
491
  };
479
492
  }
480
493
  }
481
- function loadAuthProfileStore() {
482
- const authPath = resolveAuthStorePath();
483
- const asStore = coerceAuthStore(loadJsonFile(authPath));
484
- if (asStore) {
485
- if (syncExternalCliCredentials(asStore)) saveJsonFile(authPath, asStore);
486
- return asStore;
487
- }
488
- const legacy = coerceLegacyStore(loadJsonFile(resolveLegacyAuthStorePath()));
489
- if (legacy) {
490
- const store = {
491
- version: AUTH_STORE_VERSION,
492
- profiles: {}
493
- };
494
- applyLegacyStore(store, legacy);
495
- syncExternalCliCredentials(store);
496
- return store;
497
- }
498
- const store = {
499
- version: AUTH_STORE_VERSION,
500
- profiles: {}
501
- };
502
- syncExternalCliCredentials(store);
503
- return store;
504
- }
505
494
  function loadAuthProfileStoreForAgent(agentDir, _options) {
506
495
  const authPath = resolveAuthStorePath(agentDir);
507
496
  const asStore = coerceAuthStore(loadJsonFile(authPath));
@@ -563,6 +552,32 @@ function listProfilesForProvider(store, provider) {
563
552
  const providerKey = normalizeProviderId(provider);
564
553
  return Object.entries(store.profiles).filter(([, cred]) => normalizeProviderId(cred.provider) === providerKey).map(([id]) => id);
565
554
  }
555
+ async function markAuthProfileGood(params) {
556
+ const { store, provider, profileId, agentDir } = params;
557
+ const updated = await updateAuthProfileStoreWithLock({
558
+ agentDir,
559
+ updater: (freshStore) => {
560
+ const profile = freshStore.profiles[profileId];
561
+ if (!profile || profile.provider !== provider) return false;
562
+ freshStore.lastGood = {
563
+ ...freshStore.lastGood,
564
+ [provider]: profileId
565
+ };
566
+ return true;
567
+ }
568
+ });
569
+ if (updated) {
570
+ store.lastGood = updated.lastGood;
571
+ return;
572
+ }
573
+ const profile = store.profiles[profileId];
574
+ if (!profile || profile.provider !== provider) return;
575
+ store.lastGood = {
576
+ ...store.lastGood,
577
+ [provider]: profileId
578
+ };
579
+ saveAuthProfileStore(store, agentDir);
580
+ }
566
581
 
567
582
  //#endregion
568
583
  //#region src/agents/auth-profiles/repair.ts
@@ -796,6 +811,151 @@ function isProfileInCooldown(store, profileId) {
796
811
  const unusableUntil = resolveProfileUnusableUntil$1(stats);
797
812
  return unusableUntil ? Date.now() < unusableUntil : false;
798
813
  }
814
+ /**
815
+ * Mark a profile as successfully used. Resets error count and updates lastUsed.
816
+ * Uses store lock to avoid overwriting concurrent usage updates.
817
+ */
818
+ async function markAuthProfileUsed(params) {
819
+ const { store, profileId, agentDir } = params;
820
+ const updated = await updateAuthProfileStoreWithLock({
821
+ agentDir,
822
+ updater: (freshStore) => {
823
+ if (!freshStore.profiles[profileId]) return false;
824
+ freshStore.usageStats = freshStore.usageStats ?? {};
825
+ freshStore.usageStats[profileId] = {
826
+ ...freshStore.usageStats[profileId],
827
+ lastUsed: Date.now(),
828
+ errorCount: 0,
829
+ cooldownUntil: void 0,
830
+ disabledUntil: void 0,
831
+ disabledReason: void 0,
832
+ failureCounts: void 0
833
+ };
834
+ return true;
835
+ }
836
+ });
837
+ if (updated) {
838
+ store.usageStats = updated.usageStats;
839
+ return;
840
+ }
841
+ if (!store.profiles[profileId]) return;
842
+ store.usageStats = store.usageStats ?? {};
843
+ store.usageStats[profileId] = {
844
+ ...store.usageStats[profileId],
845
+ lastUsed: Date.now(),
846
+ errorCount: 0,
847
+ cooldownUntil: void 0,
848
+ disabledUntil: void 0,
849
+ disabledReason: void 0,
850
+ failureCounts: void 0
851
+ };
852
+ saveAuthProfileStore(store, agentDir);
853
+ }
854
+ function calculateAuthProfileCooldownMs(errorCount) {
855
+ const normalized = Math.max(1, errorCount);
856
+ return Math.min(3600 * 1e3, 60 * 1e3 * 5 ** Math.min(normalized - 1, 3));
857
+ }
858
+ function resolveAuthCooldownConfig(params) {
859
+ const defaults = {
860
+ billingBackoffHours: 5,
861
+ billingMaxHours: 24,
862
+ failureWindowHours: 24
863
+ };
864
+ const resolveHours = (value, fallback) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : fallback;
865
+ const cooldowns = params.cfg?.auth?.cooldowns;
866
+ const billingBackoffHours = resolveHours((() => {
867
+ const map = cooldowns?.billingBackoffHoursByProvider;
868
+ if (!map) return;
869
+ for (const [key, value] of Object.entries(map)) if (normalizeProviderId(key) === params.providerId) return value;
870
+ })() ?? cooldowns?.billingBackoffHours, defaults.billingBackoffHours);
871
+ const billingMaxHours = resolveHours(cooldowns?.billingMaxHours, defaults.billingMaxHours);
872
+ const failureWindowHours = resolveHours(cooldowns?.failureWindowHours, defaults.failureWindowHours);
873
+ return {
874
+ billingBackoffMs: billingBackoffHours * 60 * 60 * 1e3,
875
+ billingMaxMs: billingMaxHours * 60 * 60 * 1e3,
876
+ failureWindowMs: failureWindowHours * 60 * 60 * 1e3
877
+ };
878
+ }
879
+ function calculateAuthProfileBillingDisableMsWithConfig(params) {
880
+ const normalized = Math.max(1, params.errorCount);
881
+ const baseMs = Math.max(6e4, params.baseMs);
882
+ const maxMs = Math.max(baseMs, params.maxMs);
883
+ const raw = baseMs * 2 ** Math.min(normalized - 1, 10);
884
+ return Math.min(maxMs, raw);
885
+ }
886
+ function computeNextProfileUsageStats(params) {
887
+ const windowMs = params.cfgResolved.failureWindowMs;
888
+ const windowExpired = typeof params.existing.lastFailureAt === "number" && params.existing.lastFailureAt > 0 && params.now - params.existing.lastFailureAt > windowMs;
889
+ const nextErrorCount = (windowExpired ? 0 : params.existing.errorCount ?? 0) + 1;
890
+ const failureCounts = windowExpired ? {} : { ...params.existing.failureCounts };
891
+ failureCounts[params.reason] = (failureCounts[params.reason] ?? 0) + 1;
892
+ const updatedStats = {
893
+ ...params.existing,
894
+ errorCount: nextErrorCount,
895
+ failureCounts,
896
+ lastFailureAt: params.now
897
+ };
898
+ if (params.reason === "billing") {
899
+ const backoffMs = calculateAuthProfileBillingDisableMsWithConfig({
900
+ errorCount: failureCounts.billing ?? 1,
901
+ baseMs: params.cfgResolved.billingBackoffMs,
902
+ maxMs: params.cfgResolved.billingMaxMs
903
+ });
904
+ updatedStats.disabledUntil = params.now + backoffMs;
905
+ updatedStats.disabledReason = "billing";
906
+ } else {
907
+ const backoffMs = calculateAuthProfileCooldownMs(nextErrorCount);
908
+ updatedStats.cooldownUntil = params.now + backoffMs;
909
+ }
910
+ return updatedStats;
911
+ }
912
+ /**
913
+ * Mark a profile as failed for a specific reason. Billing failures are treated
914
+ * as "disabled" (longer backoff) vs the regular cooldown window.
915
+ */
916
+ async function markAuthProfileFailure(params) {
917
+ const { store, profileId, reason, agentDir, cfg } = params;
918
+ const updated = await updateAuthProfileStoreWithLock({
919
+ agentDir,
920
+ updater: (freshStore) => {
921
+ const profile = freshStore.profiles[profileId];
922
+ if (!profile) return false;
923
+ freshStore.usageStats = freshStore.usageStats ?? {};
924
+ const existing = freshStore.usageStats[profileId] ?? {};
925
+ const now = Date.now();
926
+ const cfgResolved = resolveAuthCooldownConfig({
927
+ cfg,
928
+ providerId: normalizeProviderId(profile.provider)
929
+ });
930
+ freshStore.usageStats[profileId] = computeNextProfileUsageStats({
931
+ existing,
932
+ now,
933
+ reason,
934
+ cfgResolved
935
+ });
936
+ return true;
937
+ }
938
+ });
939
+ if (updated) {
940
+ store.usageStats = updated.usageStats;
941
+ return;
942
+ }
943
+ if (!store.profiles[profileId]) return;
944
+ store.usageStats = store.usageStats ?? {};
945
+ const existing = store.usageStats[profileId] ?? {};
946
+ const now = Date.now();
947
+ const cfgResolved = resolveAuthCooldownConfig({
948
+ cfg,
949
+ providerId: normalizeProviderId(store.profiles[profileId]?.provider ?? "")
950
+ });
951
+ store.usageStats[profileId] = computeNextProfileUsageStats({
952
+ existing,
953
+ now,
954
+ reason,
955
+ cfgResolved
956
+ });
957
+ saveAuthProfileStore(store, agentDir);
958
+ }
799
959
 
800
960
  //#endregion
801
961
  //#region src/agents/auth-profiles/order.ts
@@ -893,4 +1053,4 @@ function orderProfilesByMode(order, store) {
893
1053
  var auth_profiles_exports = /* @__PURE__ */ __exportAll({ ensureAuthProfileStore: () => ensureAuthProfileStore });
894
1054
 
895
1055
  //#endregion
896
- export { listProfilesForProvider as a, resolveAuthStorePathForDisplay as c, saveJsonFile as d, withFileLock as f, normalizeSecretInput as h, resolveApiKeyForProfile as i, resolveAnimaAgentDir as l, normalizeOptionalSecretInput as m, resolveAuthProfileOrder as n, ensureAuthProfileStore as o, resolveAuthProfileDisplayLabel as p, isProfileInCooldown as r, loadAuthProfileStore as s, auth_profiles_exports as t, loadJsonFile as u };
1056
+ export { normalizeSecretInput as _, markAuthProfileUsed as a, markAuthProfileGood as c, resolveAnimaAgentDir as d, loadJsonFile as f, normalizeOptionalSecretInput as g, resolveAuthProfileDisplayLabel as h, markAuthProfileFailure as i, ensureAuthProfileStore as l, withFileLock as m, resolveAuthProfileOrder as n, resolveApiKeyForProfile as o, saveJsonFile as p, isProfileInCooldown as r, listProfilesForProvider as s, auth_profiles_exports as t, resolveAuthStorePathForDisplay as u };
@@ -1,9 +1,9 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
2
  import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-B-AkG5FD.js";
3
- import { _ as DEFAULT_AGENT_ID } from "./workspace-Cvio8QlZ.js";
4
- import { t as createSubsystemLogger } from "./subsystem-BP2l3SHn.js";
5
- import { w as resolveUserPath } from "./exec-CEFTijVj.js";
6
- import { s as normalizeProviderId } from "./model-selection-BuMFehML.js";
3
+ import { _ as DEFAULT_AGENT_ID } from "./workspace-BFIZCnGo.js";
4
+ import { t as createSubsystemLogger } from "./subsystem-D1AJZPgG.js";
5
+ import { w as resolveUserPath } from "./exec-DUzVF5_D.js";
6
+ import { s as normalizeProviderId } from "./model-selection-DjsJGv1R.js";
7
7
  import { t as formatCliCommand } from "./command-format-GLYKXXl-.js";
8
8
  import fs from "node:fs/promises";
9
9
  import path from "node:path";
@@ -360,6 +360,19 @@ function ensureAuthStoreFile(pathname) {
360
360
 
361
361
  //#endregion
362
362
  //#region src/agents/auth-profiles/store.ts
363
+ async function updateAuthProfileStoreWithLock(params) {
364
+ const authPath = resolveAuthStorePath(params.agentDir);
365
+ ensureAuthStoreFile(authPath);
366
+ try {
367
+ return await withFileLock(authPath, AUTH_STORE_LOCK_OPTIONS, async () => {
368
+ const store = ensureAuthProfileStore(params.agentDir);
369
+ if (params.updater(store)) saveAuthProfileStore(store, params.agentDir);
370
+ return store;
371
+ });
372
+ } catch {
373
+ return null;
374
+ }
375
+ }
363
376
  function coerceLegacyStore(raw) {
364
377
  if (!raw || typeof raw !== "object") return null;
365
378
  const record = raw;
@@ -479,30 +492,6 @@ function applyLegacyStore(store, legacy) {
479
492
  };
480
493
  }
481
494
  }
482
- function loadAuthProfileStore() {
483
- const authPath = resolveAuthStorePath();
484
- const asStore = coerceAuthStore(loadJsonFile(authPath));
485
- if (asStore) {
486
- if (syncExternalCliCredentials(asStore)) saveJsonFile(authPath, asStore);
487
- return asStore;
488
- }
489
- const legacy = coerceLegacyStore(loadJsonFile(resolveLegacyAuthStorePath()));
490
- if (legacy) {
491
- const store = {
492
- version: AUTH_STORE_VERSION,
493
- profiles: {}
494
- };
495
- applyLegacyStore(store, legacy);
496
- syncExternalCliCredentials(store);
497
- return store;
498
- }
499
- const store = {
500
- version: AUTH_STORE_VERSION,
501
- profiles: {}
502
- };
503
- syncExternalCliCredentials(store);
504
- return store;
505
- }
506
495
  function loadAuthProfileStoreForAgent(agentDir, _options) {
507
496
  const authPath = resolveAuthStorePath(agentDir);
508
497
  const asStore = coerceAuthStore(loadJsonFile(authPath));
@@ -564,6 +553,32 @@ function listProfilesForProvider(store, provider) {
564
553
  const providerKey = normalizeProviderId(provider);
565
554
  return Object.entries(store.profiles).filter(([, cred]) => normalizeProviderId(cred.provider) === providerKey).map(([id]) => id);
566
555
  }
556
+ async function markAuthProfileGood(params) {
557
+ const { store, provider, profileId, agentDir } = params;
558
+ const updated = await updateAuthProfileStoreWithLock({
559
+ agentDir,
560
+ updater: (freshStore) => {
561
+ const profile = freshStore.profiles[profileId];
562
+ if (!profile || profile.provider !== provider) return false;
563
+ freshStore.lastGood = {
564
+ ...freshStore.lastGood,
565
+ [provider]: profileId
566
+ };
567
+ return true;
568
+ }
569
+ });
570
+ if (updated) {
571
+ store.lastGood = updated.lastGood;
572
+ return;
573
+ }
574
+ const profile = store.profiles[profileId];
575
+ if (!profile || profile.provider !== provider) return;
576
+ store.lastGood = {
577
+ ...store.lastGood,
578
+ [provider]: profileId
579
+ };
580
+ saveAuthProfileStore(store, agentDir);
581
+ }
567
582
 
568
583
  //#endregion
569
584
  //#region src/agents/auth-profiles/repair.ts
@@ -797,6 +812,151 @@ function isProfileInCooldown(store, profileId) {
797
812
  const unusableUntil = resolveProfileUnusableUntil$1(stats);
798
813
  return unusableUntil ? Date.now() < unusableUntil : false;
799
814
  }
815
+ /**
816
+ * Mark a profile as successfully used. Resets error count and updates lastUsed.
817
+ * Uses store lock to avoid overwriting concurrent usage updates.
818
+ */
819
+ async function markAuthProfileUsed(params) {
820
+ const { store, profileId, agentDir } = params;
821
+ const updated = await updateAuthProfileStoreWithLock({
822
+ agentDir,
823
+ updater: (freshStore) => {
824
+ if (!freshStore.profiles[profileId]) return false;
825
+ freshStore.usageStats = freshStore.usageStats ?? {};
826
+ freshStore.usageStats[profileId] = {
827
+ ...freshStore.usageStats[profileId],
828
+ lastUsed: Date.now(),
829
+ errorCount: 0,
830
+ cooldownUntil: void 0,
831
+ disabledUntil: void 0,
832
+ disabledReason: void 0,
833
+ failureCounts: void 0
834
+ };
835
+ return true;
836
+ }
837
+ });
838
+ if (updated) {
839
+ store.usageStats = updated.usageStats;
840
+ return;
841
+ }
842
+ if (!store.profiles[profileId]) return;
843
+ store.usageStats = store.usageStats ?? {};
844
+ store.usageStats[profileId] = {
845
+ ...store.usageStats[profileId],
846
+ lastUsed: Date.now(),
847
+ errorCount: 0,
848
+ cooldownUntil: void 0,
849
+ disabledUntil: void 0,
850
+ disabledReason: void 0,
851
+ failureCounts: void 0
852
+ };
853
+ saveAuthProfileStore(store, agentDir);
854
+ }
855
+ function calculateAuthProfileCooldownMs(errorCount) {
856
+ const normalized = Math.max(1, errorCount);
857
+ return Math.min(3600 * 1e3, 60 * 1e3 * 5 ** Math.min(normalized - 1, 3));
858
+ }
859
+ function resolveAuthCooldownConfig(params) {
860
+ const defaults = {
861
+ billingBackoffHours: 5,
862
+ billingMaxHours: 24,
863
+ failureWindowHours: 24
864
+ };
865
+ const resolveHours = (value, fallback) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : fallback;
866
+ const cooldowns = params.cfg?.auth?.cooldowns;
867
+ const billingBackoffHours = resolveHours((() => {
868
+ const map = cooldowns?.billingBackoffHoursByProvider;
869
+ if (!map) return;
870
+ for (const [key, value] of Object.entries(map)) if (normalizeProviderId(key) === params.providerId) return value;
871
+ })() ?? cooldowns?.billingBackoffHours, defaults.billingBackoffHours);
872
+ const billingMaxHours = resolveHours(cooldowns?.billingMaxHours, defaults.billingMaxHours);
873
+ const failureWindowHours = resolveHours(cooldowns?.failureWindowHours, defaults.failureWindowHours);
874
+ return {
875
+ billingBackoffMs: billingBackoffHours * 60 * 60 * 1e3,
876
+ billingMaxMs: billingMaxHours * 60 * 60 * 1e3,
877
+ failureWindowMs: failureWindowHours * 60 * 60 * 1e3
878
+ };
879
+ }
880
+ function calculateAuthProfileBillingDisableMsWithConfig(params) {
881
+ const normalized = Math.max(1, params.errorCount);
882
+ const baseMs = Math.max(6e4, params.baseMs);
883
+ const maxMs = Math.max(baseMs, params.maxMs);
884
+ const raw = baseMs * 2 ** Math.min(normalized - 1, 10);
885
+ return Math.min(maxMs, raw);
886
+ }
887
+ function computeNextProfileUsageStats(params) {
888
+ const windowMs = params.cfgResolved.failureWindowMs;
889
+ const windowExpired = typeof params.existing.lastFailureAt === "number" && params.existing.lastFailureAt > 0 && params.now - params.existing.lastFailureAt > windowMs;
890
+ const nextErrorCount = (windowExpired ? 0 : params.existing.errorCount ?? 0) + 1;
891
+ const failureCounts = windowExpired ? {} : { ...params.existing.failureCounts };
892
+ failureCounts[params.reason] = (failureCounts[params.reason] ?? 0) + 1;
893
+ const updatedStats = {
894
+ ...params.existing,
895
+ errorCount: nextErrorCount,
896
+ failureCounts,
897
+ lastFailureAt: params.now
898
+ };
899
+ if (params.reason === "billing") {
900
+ const backoffMs = calculateAuthProfileBillingDisableMsWithConfig({
901
+ errorCount: failureCounts.billing ?? 1,
902
+ baseMs: params.cfgResolved.billingBackoffMs,
903
+ maxMs: params.cfgResolved.billingMaxMs
904
+ });
905
+ updatedStats.disabledUntil = params.now + backoffMs;
906
+ updatedStats.disabledReason = "billing";
907
+ } else {
908
+ const backoffMs = calculateAuthProfileCooldownMs(nextErrorCount);
909
+ updatedStats.cooldownUntil = params.now + backoffMs;
910
+ }
911
+ return updatedStats;
912
+ }
913
+ /**
914
+ * Mark a profile as failed for a specific reason. Billing failures are treated
915
+ * as "disabled" (longer backoff) vs the regular cooldown window.
916
+ */
917
+ async function markAuthProfileFailure(params) {
918
+ const { store, profileId, reason, agentDir, cfg } = params;
919
+ const updated = await updateAuthProfileStoreWithLock({
920
+ agentDir,
921
+ updater: (freshStore) => {
922
+ const profile = freshStore.profiles[profileId];
923
+ if (!profile) return false;
924
+ freshStore.usageStats = freshStore.usageStats ?? {};
925
+ const existing = freshStore.usageStats[profileId] ?? {};
926
+ const now = Date.now();
927
+ const cfgResolved = resolveAuthCooldownConfig({
928
+ cfg,
929
+ providerId: normalizeProviderId(profile.provider)
930
+ });
931
+ freshStore.usageStats[profileId] = computeNextProfileUsageStats({
932
+ existing,
933
+ now,
934
+ reason,
935
+ cfgResolved
936
+ });
937
+ return true;
938
+ }
939
+ });
940
+ if (updated) {
941
+ store.usageStats = updated.usageStats;
942
+ return;
943
+ }
944
+ if (!store.profiles[profileId]) return;
945
+ store.usageStats = store.usageStats ?? {};
946
+ const existing = store.usageStats[profileId] ?? {};
947
+ const now = Date.now();
948
+ const cfgResolved = resolveAuthCooldownConfig({
949
+ cfg,
950
+ providerId: normalizeProviderId(store.profiles[profileId]?.provider ?? "")
951
+ });
952
+ store.usageStats[profileId] = computeNextProfileUsageStats({
953
+ existing,
954
+ now,
955
+ reason,
956
+ cfgResolved
957
+ });
958
+ saveAuthProfileStore(store, agentDir);
959
+ }
800
960
 
801
961
  //#endregion
802
962
  //#region src/agents/auth-profiles/order.ts
@@ -894,4 +1054,4 @@ function orderProfilesByMode(order, store) {
894
1054
  var auth_profiles_exports = /* @__PURE__ */ __exportAll({ ensureAuthProfileStore: () => ensureAuthProfileStore });
895
1055
 
896
1056
  //#endregion
897
- export { listProfilesForProvider as a, resolveAuthStorePathForDisplay as c, saveJsonFile as d, withFileLock as f, normalizeSecretInput as h, resolveApiKeyForProfile as i, resolveAnimaAgentDir as l, normalizeOptionalSecretInput as m, resolveAuthProfileOrder as n, ensureAuthProfileStore as o, resolveAuthProfileDisplayLabel as p, isProfileInCooldown as r, loadAuthProfileStore as s, auth_profiles_exports as t, loadJsonFile as u };
1057
+ export { normalizeSecretInput as _, markAuthProfileUsed as a, markAuthProfileGood as c, resolveAnimaAgentDir as d, loadJsonFile as f, normalizeOptionalSecretInput as g, resolveAuthProfileDisplayLabel as h, markAuthProfileFailure as i, ensureAuthProfileStore as l, withFileLock as m, resolveAuthProfileOrder as n, resolveApiKeyForProfile as o, saveJsonFile as p, isProfileInCooldown as r, listProfilesForProvider as s, auth_profiles_exports as t, resolveAuthStorePathForDisplay as u };
@@ -1,7 +1,7 @@
1
1
  import { a as resolveOAuthDir } from "./paths-B-AkG5FD.js";
2
- import { g as DEFAULT_ACCOUNT_ID } from "./workspace-Cvio8QlZ.js";
3
- import { D as getChildLogger, S as success, _ as info, n as defaultRuntime } from "./subsystem-BP2l3SHn.js";
4
- import { w as resolveUserPath, y as jidToE164 } from "./exec-CEFTijVj.js";
2
+ import { g as DEFAULT_ACCOUNT_ID } from "./workspace-BFIZCnGo.js";
3
+ import { D as getChildLogger, S as success, _ as info, n as defaultRuntime } from "./subsystem-D1AJZPgG.js";
4
+ import { w as resolveUserPath, y as jidToE164 } from "./exec-DUzVF5_D.js";
5
5
  import { t as formatCliCommand } from "./command-format-GLYKXXl-.js";
6
6
  import fs from "node:fs/promises";
7
7
  import path from "node:path";
@@ -1,6 +1,6 @@
1
- import { E as getChildLogger, F as resolveOAuthDir, g as info, n as defaultRuntime, x as success } from "./subsystem-CucjNlOk.js";
2
- import { w as DEFAULT_ACCOUNT_ID } from "./agent-scope-C9CiVcmh.js";
3
- import { w as resolveUserPath, y as jidToE164 } from "./exec-gKbUce2p.js";
1
+ import { E as getChildLogger, F as resolveOAuthDir, g as info, n as defaultRuntime, x as success } from "./subsystem-D-Xta-sj.js";
2
+ import { w as DEFAULT_ACCOUNT_ID } from "./agent-scope-ByIGrCTT.js";
3
+ import { w as resolveUserPath, y as jidToE164 } from "./exec-C6tXfeqA.js";
4
4
  import { t as formatCliCommand } from "./command-format-CsqJApTg.js";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs";
@@ -1,6 +1,6 @@
1
1
  import { f as resolveOAuthDir } from "./paths-zhVksOvm.js";
2
- import { A as info, H as getChildLogger, L as success, d as defaultRuntime } from "./subsystem-BMsbqSb4.js";
3
- import { b as resolveUserPath, m as jidToE164 } from "./utils-B60lF9Wq.js";
2
+ import { A as info, H as getChildLogger, L as success, d as defaultRuntime } from "./subsystem-BAADN1B8.js";
3
+ import { b as resolveUserPath, m as jidToE164 } from "./utils-CLYlhJuc.js";
4
4
  import { t as DEFAULT_ACCOUNT_ID } from "./session-key-DAZmp8ll.js";
5
5
  import { t as formatCliCommand } from "./command-format-BCtkuvqF.js";
6
6
  import fs from "node:fs";
@@ -1,5 +1,5 @@
1
1
  import { M as isRich, N as theme, h as visibleWidth } from "./entry.js";
2
- import { nn as resolveCommitHash } from "./subagent-registry-BVrDlKmm.js";
2
+ import { cn as resolveCommitHash } from "./subagent-registry-CPtElVX0.js";
3
3
 
4
4
  //#region src/cli/tagline.ts
5
5
  const DEFAULT_TAGLINE = "AI life system — persistent identity for sovereign minds";
@@ -1,5 +1,5 @@
1
- import { t as runCommandWithTimeout } from "./exec-cazBMA02.js";
2
- import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-BDtWuGCY.js";
1
+ import { t as runCommandWithTimeout } from "./exec-BylR5qWS.js";
2
+ import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CHAT20aR.js";
3
3
 
4
4
  //#region src/infra/bonjour-discovery.ts
5
5
  const DEFAULT_TIMEOUT_MS = 2e3;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.1.1",
3
- "commit": "409325552e9c1add4eb59f0df88c239bdb44b1bc",
4
- "builtAt": "2026-03-12T05:43:19.850Z"
2
+ "version": "6.0.0",
3
+ "commit": "7386d8efdf9a5c035cc1d958cafad3ad5378993d",
4
+ "builtAt": "2026-03-14T04:13:45.163Z"
5
5
  }