@noxsoft/anima 5.1.2 → 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.
- package/CHANGELOG.md +40 -0
- package/README.md +2 -2
- package/dist/{APEv2Parser-DV7AH14P.js → APEv2Parser-Dvsbp_2R.js} +3 -3
- package/dist/{AbstractID3Parser-C3RlCr-Y.js → AbstractID3Parser-IB9gxozg.js} +5 -5
- package/dist/{AiffParser-DaFyNU8n.js → AiffParser-R2IhrBzL.js} +4 -4
- package/dist/{AsfParser-CDCRfCXr.js → AsfParser-DJEueUMg.js} +4 -4
- package/dist/{DsdiffParser-BX31LICZ.js → DsdiffParser-DXLYn9tT.js} +4 -4
- package/dist/{DsfParser-C3JBjE-C.js → DsfParser-D2--NF0i.js} +5 -5
- package/dist/{FlacParser-DY4m-7v1.js → FlacParser-8cDAjrth.js} +5 -5
- package/dist/{ID3v1Parser-DL9AGlNt.js → ID3v1Parser-B494XuP9.js} +3 -3
- package/dist/{ID3v2Parser-Mr8o-5GJ.js → ID3v2Parser-DlxcNqv5.js} +4 -4
- package/dist/{ID3v2Token-DQqGh8AB.js → ID3v2Token-CSLSVrSQ.js} +2 -2
- package/dist/{MP4Parser-DkunlEqI.js → MP4Parser-COql2J-w.js} +6 -6
- package/dist/{MatroskaParser-IKjHx0h7.js → MatroskaParser-bNP5wC2F.js} +3 -3
- package/dist/{MpegParser-EecSeRWJ.js → MpegParser-C1gjfYqq.js} +4 -4
- package/dist/{MusepackParser-CkfsAeuE.js → MusepackParser-DBdYf7kV.js} +5 -5
- package/dist/{OggParser-z3QlSd8U.js → OggParser-CxajqbK3.js} +5 -5
- package/dist/{Util-DDVY6AaC.js → Util-BRZxoY1Q.js} +1 -1
- package/dist/{WavPackParser-PimUUBRx.js → WavPackParser-CtH9QFia.js} +4 -4
- package/dist/{WaveParser-B539YtoQ.js → WaveParser-yufLki1G.js} +5 -5
- package/dist/{accounts-CL0JV_xk.js → accounts-B_2nt5Cd.js} +2 -2
- package/dist/{accounts-CYEa4ttU.js → accounts-COxGcLGB.js} +1 -1
- package/dist/{accounts-Bj5MvaDs.js → accounts-DIES085e.js} +11 -11
- package/dist/{accounts-DZsqyow2.js → accounts-TUsfghIW.js} +38 -38
- package/dist/{acp-cli-ynoZZhYQ.js → acp-cli-CWgqDQQH.js} +6 -6
- package/dist/{acp-cli-BFAoKBvs.js → acp-cli-D0wfP8-l.js} +16 -16
- package/dist/{active-listener-BWPgtTZp.js → active-listener-BKtsWhsb.js} +4 -4
- package/dist/{active-listener-GJR3nLhX.js → active-listener-D2r8IO7g.js} +5 -5
- package/dist/{agent-DUAarfNl.js → agent-CnS0SRpT.js} +93 -236
- package/dist/{agent-CaaEZsXl.js → agent-VRQM14Xp.js} +98 -229
- package/dist/{agent-scope-C9CiVcmh.js → agent-scope-ByIGrCTT.js} +2 -2
- package/dist/{agent-scope-D3HZp64M.js → agent-scope-CXxC8FFX.js} +2 -2
- package/dist/{agent-scope-BZ8hjIt_.js → agent-scope-CxBzAozu.js} +3 -3
- package/dist/{agents-t54YcbvK.js → agents-CvMRplDx.js} +15 -13
- package/dist/{agents.config-J7iEgdW_.js → agents.config-BR5JLtud.js} +1 -1
- package/dist/{anthropic-direct-runner-B12V2Q5H.js → anthropic-direct-runner-BeYCnvZ8.js} +37 -15
- package/dist/{anthropic-direct-runner-CzQb7QkD.js → anthropic-direct-runner-C2Kwju-r.js} +29 -7
- package/dist/{audit-ByHmjh-G.js → audit-B05W5ckN.js} +23 -34
- package/dist/{audit-HJOpXfgY.js → audit-DDz7UOIx.js} +18 -15
- package/dist/{auth-DXrALxdm.js → auth-DsC5pZ_0.js} +2 -2
- package/dist/{prompts-CneQ6SeF.js → auth-choice-DY1saszS.js} +12 -107
- package/dist/{auth-choice-DPWnLV_w.js → auth-choice-Dc5TAJwT.js} +10 -9
- package/dist/{auth-health-DmrnGklu.js → auth-health-Cc8-vy8y.js} +1 -1
- package/dist/auth-health-Dhr8p2SD.js +149 -0
- package/dist/{auth-profiles-BF5x9Ej0.js → auth-profiles-Brxz2ojJ.js} +193 -42
- package/dist/{auth-profiles-DjCH4kWT.js → auth-profiles-C-LuhW6c.js} +195 -44
- package/dist/{auth-profiles-PJVsRqf4.js → auth-profiles-DKu7ZUzl.js} +189 -29
- package/dist/{auth-profiles-eZzmaeR3.js → auth-profiles-DtWUl1-k.js} +198 -38
- package/dist/{auth-store-CnRrUELz.js → auth-store-Bd0GoqEL.js} +13 -13
- package/dist/{auth-store-KnWGteIV.js → auth-store-BpYI9t_y.js} +3 -3
- package/dist/{auth-store-DjcQlyze.js → auth-store-Jvgz2_l1.js} +2 -2
- package/dist/{banner-D9JyV5SF.js → banner-DAMtSjUF.js} +1 -1
- package/dist/{bonjour-discovery-QsoaZ8Pr.js → bonjour-discovery-Co-b97Dz.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +222 -151
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +24 -24
- package/dist/{call-DHZ76BNg.js → call-B4lhqS6H.js} +3 -3
- package/dist/{call-DQjoz63V.js → call-CDPbPDAr.js} +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-AZNRamJ4.js → catalog-CsXv59Tq.js} +2 -2
- package/dist/{channel-web-CQIbtfme.js → channel-web-B8mzTSaY.js} +15 -15
- package/dist/{channels-status-issues-DdjvFHx9.js → channels-status-issues-WkG3Tmxk.js} +4 -4
- package/dist/{chrome-HTuFjVWW.js → chrome-B8EnYGj1.js} +9 -9
- package/dist/{chrome-BNggURXT.js → chrome-BaU-H9m7.js} +3 -3
- package/dist/{chrome-Cfak4A3i.js → chrome-DLUBPBPz.js} +12 -12
- package/dist/{chunk-CyT-_QsQ.js → chunk-B4Kx-ocg.js} +11 -9
- package/dist/{chunk-Dffz_QIs.js → chunk-CFSle8n5.js} +1 -1
- package/dist/{chunk-D3vyM2EQ.js → chunk-Cy0Bj0F3.js} +1 -1
- package/dist/{chunk-DFqo_u5A.js → chunk-DJXDX69U.js} +11 -9
- package/dist/{clack-prompter-QbDK4ABC.js → clack-prompter-0JW5kry0.js} +3 -3
- package/dist/{clack-prompter-rXuqdPbx.js → clack-prompter-fZSmnHda.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-kT9Mb3dT.js → cli-D8exVpuI.js} +30 -29
- package/dist/cli-hcHk5KuP.js +102 -0
- package/dist/{cli-utils-BdkJVXjy.js → cli-utils-D2X_bDLt.js} +9 -1
- package/dist/{cli-utils-DGnL8raH.js → cli-utils-DcDBK4C5.js} +9 -1
- package/dist/{client-D9E5Wwb_.js → client-BWkoTfOH.js} +3 -2
- package/dist/{client-DzIcZx4J.js → client-CfLiulzK.js} +2 -1
- package/dist/{command-registry-vEVxxxzI.js → command-registry-D3VhxpWx.js} +21 -12
- package/dist/{commands-NIY0IDXe.js → commands-DE8FNH0v.js} +92 -20
- package/dist/{commands-eY0Ao0wt.js → commands-Mekaw9WG.js} +92 -20
- package/dist/{common-C2wAYEWA.js → common-BCW6hLGI.js} +2 -2
- package/dist/{common-BzPvZcxT.js → common-Bf_TG87Y.js} +2 -2
- package/dist/{common-6Fcbzr42.js → common-DT_obM-k.js} +2 -2
- package/dist/{completion-cli-BBKG6buM.js → completion-cli-B3BqQJq9.js} +3 -3
- package/dist/{completion-cli-C84I5l8a.js → completion-cli-CepDzeW1.js} +2 -2
- package/dist/{config-Ofh9gKvs.js → config-BrVuTQ8R.js} +14 -2
- package/dist/{config-6FVC8hW0.js → config-CweTwOtr.js} +40 -28
- package/dist/{config-DqwH4y-D.js → config-DaD4FsAn.js} +19 -7
- package/dist/{config-D2kCn7yR.js → config-ZYN8tezd.js} +18 -6
- package/dist/{config-cli-CQzq5yWB.js → config-cli-3CaIxSKo.js} +4 -4
- package/dist/config-cli-B6Np85rk.js +15 -0
- package/dist/{config-guard-B1plY6aQ.js → config-guard-C4b2dksv.js} +2 -2
- package/dist/{config-guard-CYlpjNN7.js → config-guard-CWhoBtB3.js} +20 -20
- package/dist/{config-sync-CYX9Tzyr.js → config-sync-CCVp-tVX.js} +2 -2
- package/dist/{config-sync-CDUhjDom.js → config-sync-CMO_5lyl.js} +2 -2
- package/dist/{configure-G6h2Ppk0.js → configure-D882Bg7c.js} +39 -15
- package/dist/{configure-Bv6mqD0j.js → configure-D88dg6mE.js} +79 -77
- package/dist/{configure-DxQqSUJs.js → configure-xpjwedvJ.js} +50 -49
- package/dist/{configure-B-dfdPKX.js → configure-zXK6UZ51.js} +49 -24
- package/dist/{context-CpsnZLOp.js → context-B5X720Bs.js} +1 -1
- package/dist/{control-service-D1oxSXVg.js → control-service-3CI4vt1h.js} +2 -2
- package/dist/{control-service-CzAfyR4e.js → control-service-5YtMvm7D.js} +5 -5
- package/dist/control-ui/assets/index-C4ejMN5U.js +72 -0
- package/dist/control-ui/assets/index-C4ejMN5U.js.map +1 -0
- package/dist/control-ui/assets/index-CcPNqN3R.css +1 -0
- package/dist/control-ui/assets/index-D7Bf6Say.js +3 -0
- package/dist/control-ui/assets/index-D7Bf6Say.js.map +1 -0
- package/dist/control-ui/assets/index-yhFuaOnc.js +2 -0
- package/dist/control-ui/assets/index-yhFuaOnc.js.map +1 -0
- package/dist/control-ui/assets/observers-V7q9lNYt.js +2 -0
- package/dist/control-ui/assets/observers-V7q9lNYt.js.map +1 -0
- package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js +138 -0
- package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js.map +1 -0
- package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js +129 -0
- package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{cron-cli-C4qZZo4e.js → cron-cli-Cht6Itx6.js} +18 -18
- package/dist/{cron-cli-CSivg2i9.js → cron-cli-D9XrF-Gx.js} +8 -8
- package/dist/{daemon-cli-DfxT-pQ4.js → daemon-cli-9zrnYRjh.js} +8 -8
- package/dist/{daemon-cli-KMzjJH_D.js → daemon-cli-CrdPhSxr.js} +15 -15
- package/dist/daemon-cli.js +34 -6
- package/dist/{daemon-runtime-CIE27usH.js → daemon-runtime-BrUj88ZO.js} +2 -2
- package/dist/{daemon-runtime-BfgstLVI.js → daemon-runtime-DCqwraWR.js} +1 -1
- package/dist/{deliver-8r6UbXnC.js → deliver-B-dPbUIs.js} +18 -28
- package/dist/{deliver-ahx1N11n.js → deliver-BKzX3YoN.js} +7 -7
- package/dist/{deliver-DVt8TbK9.js → deliver-C1L5nO0K.js} +3 -3
- package/dist/{deliver-D2hQZ9X0.js → deliver-d-CaN0uL.js} +59 -69
- package/dist/deps-DyT32VfN.js +23 -0
- package/dist/{diagnostics-DXeDqA_-.js → diagnostics-Cu9pZAFn.js} +1 -1
- package/dist/{dispatcher-DpSnqIL0.js → dispatcher-BQQugU-7.js} +1 -1
- package/dist/{dispatcher-DzT6jltc.js → dispatcher-DzwzLQRk.js} +2 -2
- package/dist/{dns-cli-D9ka2fZD.js → dns-cli-C8KIX4P3.js} +12 -12
- package/dist/{dns-cli-D2Orvc8E.js → dns-cli-V2bo6vSt.js} +3 -3
- package/dist/{docs-cli-CKfzGqYM.js → docs-cli-Bt-YV3xs.js} +2 -2
- package/dist/{docs-cli-DWYXJd-j.js → docs-cli-D2cVJxjP.js} +7 -7
- package/dist/{doctor-vXt5qjNJ.js → doctor-DEnSKgHu.js} +21 -21
- package/dist/{doctor-DumyG85t.js → doctor-WpKCNZeO.js} +36 -181
- package/dist/{doctor-completion-lAyxyd7X.js → doctor-completion-CPff9UlF.js} +2 -2
- package/dist/{doctor-completion-C8JSWfqN.js → doctor-completion-CypXc1Uo.js} +2 -2
- package/dist/{doctor-config-flow-DA50eWp5.js → doctor-config-flow-Bgl0Cc20.js} +6 -6
- package/dist/{doctor-config-flow-BjfGQ1Br.js → doctor-config-flow-Dxy7RIm0.js} +4 -4
- package/dist/{engine-BVchKo5_.js → engine-DpbYPop7.js} +9 -9
- package/dist/{engine-CKqNpVwE.js → engine-zmn3SOYa.js} +10 -9
- package/dist/entry.js +19 -28
- package/dist/{env-DVJCc7dM.js → env-DlTia1B4.js} +1 -1
- package/dist/{exec-cazBMA02.js → exec-BylR5qWS.js} +1 -1
- package/dist/{exec-gKbUce2p.js → exec-C6tXfeqA.js} +1 -1
- package/dist/{exec-Bfd4ztFZ.js → exec-DUzVF5_D.js} +7 -7
- package/dist/{exec-approvals-cli-BPwW6GIK.js → exec-approvals-cli-CN2WeH7y.js} +20 -20
- package/dist/{exec-approvals-cli-6HndodnP.js → exec-approvals-cli-DYZVBnqS.js} +8 -8
- package/dist/extensionAPI.js +22 -22
- package/dist/format-BCAtE7cT.js +20 -0
- package/dist/{frontmatter-BP4GSt5L.js → frontmatter-Dsa7N963.js} +2 -2
- package/dist/{gateway-cli-CHhTweWb.js → gateway-cli-B_xsx5Nv.js} +104 -101
- package/dist/{gateway-cli-B60L2z4a.js → gateway-cli-D3VBOA_i.js} +69 -66
- package/dist/{gateway-rpc-CrSglZPE.js → gateway-rpc-Cj_h2sVM.js} +3 -3
- package/dist/{gateway-rpc-BtOX_e53.js → gateway-rpc-CnXMGsxp.js} +3 -3
- package/dist/{gmail-setup-utils-D2uUKNlF.js → gmail-setup-utils-DaJoXV_3.js} +3 -3
- package/dist/{health-BttJ1Qeh.js → health-C8KCBhuo.js} +8 -8
- package/dist/{health-D8fJ6U_k.js → health-CabOEPQ0.js} +13 -13
- package/dist/{health-format-CH6JWH45.js → health-format-D-JJ5_S4.js} +2 -2
- package/dist/{heartbeat-visibility-DcGQOTXe.js → heartbeat-visibility-BjYY-mKG.js} +1 -1
- package/dist/{heartbeat-visibility-B2MDtPTL.js → heartbeat-visibility-ZfNSbFcq.js} +1 -1
- package/dist/{help-format-7YidDC5Z.js → help-format-Dt-I_Mls.js} +1 -1
- package/dist/{hooks-cli-DRUryj5H.js → hooks-cli-Cs7GUa7G.js} +34 -33
- package/dist/{hooks-cli-BMZF6RF3.js → hooks-cli-DOs9WZ3K.js} +56 -55
- package/dist/{hooks-status-VvwKn90L.js → hooks-status-DdweuSIj.js} +4 -4
- package/dist/{image-ops-BUy__GHL.js → image-ops-Ct3GueyT.js} +1 -1
- package/dist/index.js +79 -71
- package/dist/{init-B8PBeUpi.js → init-CFndGgTJ.js} +1 -1
- package/dist/{init-DxkAVKP0.js → init-DkBwXNme.js} +1 -1
- package/dist/{installs-sayrGjx1.js → installs-Bi6UipiE.js} +6 -6
- package/dist/{installs-BcnNDR54.js → installs-a4Vz_J08.js} +3 -3
- package/dist/ipv4-DfMwLQ0d.js +14 -0
- package/dist/{lib-D4dE4_XZ.js → lib-6xd5SQjU.js} +20 -20
- package/dist/{lifecycle-core-BerWWP7p.js → lifecycle-core-B8PI1NZJ.js} +3 -3
- package/dist/{links-OhvsEkVw.js → links-DcilUrqq.js} +1 -1
- package/dist/llm-slug-generator.js +25 -25
- package/dist/{loader-CLNb0v_s.js → loader-Bw2wdN4l.js} +159 -3
- package/dist/{loader-Bww_qb65.js → loader-C87TLS4J.js} +159 -3
- package/dist/{logging-DhXRGHWg.js → logging-Chc1Sj6N.js} +1 -1
- package/dist/{login-BovU8kno.js → login-BHnvW9HA.js} +6 -6
- package/dist/{login-BPtmlRRv.js → login-BTOKtSQN.js} +5 -5
- package/dist/{login-C54B66KM.js → login-CrMpAZ0n.js} +4 -4
- package/dist/{login-C4mptULi.js → login-DKkQ3Czu.js} +5 -5
- package/dist/{login-qr-bim3Nkyu.js → login-qr-BGbHImRb.js} +8 -8
- package/dist/{login-qr-pFbvowe5.js → login-qr-CsAVGp00.js} +12 -12
- package/dist/{login-qr-657mh7cI.js → login-qr-DILcBA_q.js} +6 -6
- package/dist/{login-qr-BxNKHxcf.js → login-qr-OUAGpDsU.js} +10 -10
- package/dist/{logs-cli-CQStwrGd.js → logs-cli-Bc6IOyHA.js} +8 -8
- package/dist/{logs-cli-De79vyiP.js → logs-cli-BiAJbjnq.js} +15 -15
- package/dist/{manager-B043uMPT.js → manager-BYu34CX3.js} +12 -12
- package/dist/{manager-Cvmm95Pf.js → manager-C6L_DH0O.js} +2 -2
- package/dist/{manager-BtrVJ8Ve.js → manager-D8VCuzru.js} +9 -9
- package/dist/{manager-A3pC-CW-.js → manager-b_aZwo00.js} +16 -16
- package/dist/{manifest-registry-D-DOtLzo.js → manifest-registry-qF960vMH.js} +1 -1
- package/dist/{memory-cli-COl5xoIl.js → memory-cli-B0kKl-9T.js} +7 -7
- package/dist/{memory-cli-691NgCXx.js → memory-cli-DLtBA6r5.js} +11 -11
- package/dist/{message-channel-DZYYDt1_.js → message-channel-CMsexA3K.js} +9 -7
- package/dist/{message-channel-DdOBO6Qm.js → message-channel-DIHHKJhk.js} +8 -6
- package/dist/{migrate-DkBWjPPs.js → migrate-DuohB_ur.js} +3 -3
- package/dist/{migrate-BLjwxe9X.js → migrate-bgeTT_GR.js} +3 -3
- package/dist/{model-auth-DKhjNVHc.js → model-auth-CHB3EySM.js} +10 -5
- package/dist/{model-auth-CxAB4iZ0.js → model-auth-KpsOXKDc.js} +3 -3
- package/dist/model-param-b-C1QDqzQp.js +16 -0
- package/dist/{model-selection-BPkpXepz.js → model-selection-CLcoOT3e.js} +25 -7
- package/dist/{model-selection-wCaVeFbb.js → model-selection-CY6r_3wt.js} +25 -7
- package/dist/{model-selection-DFbDH9o2.js → model-selection-DcO3qJOu.js} +24 -6
- package/dist/{model-selection-BI8CKPwQ.js → model-selection-DjsJGv1R.js} +67 -8
- package/dist/models-BM2_NkMu.js +2707 -0
- package/dist/models-cli-BjY8wA-C.js +272 -0
- package/dist/models-cli-BpjeKsUz.js +2946 -0
- package/dist/{node-cli-Ajhng-5p.js → node-cli-BmuVEJ1C.js} +12 -12
- package/dist/{node-cli-t3N6HE9R.js → node-cli-DU_oREff.js} +27 -27
- package/dist/{node-service-4B-0AjmA.js → node-service-qZXF7T7A.js} +1 -1
- package/dist/{note-De2zPKl3.js → note-iMYVGjpA.js} +2 -2
- package/dist/noxsoft-bootstrap-C4dSx7K_.js +77 -0
- package/dist/noxsoft-bootstrap-CrlkSFzd.js +77 -0
- package/dist/{npm-registry-spec-CFp4OEe4.js → npm-registry-spec-Br4B4I_3.js} +2 -2
- package/dist/{npm-registry-spec-DVDcgWxm.js → npm-registry-spec-jf7Mowdn.js} +1 -1
- package/dist/{onboard-xSPFmM29.js → onboard-DM9gULJN.js} +24 -19
- package/dist/{onboard-i4CJtSb9.js → onboard-_-D81kAy.js} +19 -15
- package/dist/{onboard-channels-RsbA6EaD.js → onboard-channels-CtT-RN60.js} +8 -8
- package/dist/{onboard-channels-D6Gt3CsX.js → onboard-channels-UkphAdCy.js} +4 -4
- package/dist/{onboard-helpers-IeOtcIME.js → onboard-helpers-CFudIoX4.js} +3 -3
- package/dist/{onboard-helpers-DPqXrhma.js → onboard-helpers-CJ3HzoUO.js} +7 -7
- package/dist/{onboarding-CZBVMwFn.js → onboarding-BB9PteK8.js} +20 -17
- package/dist/{onboarding-Cao0a_Z1.js → onboarding-Djmm0PEM.js} +27 -23
- package/dist/{orchestrator-COMX8CF2.js → orchestrator-C1nWKIJS.js} +7 -3
- package/dist/{orchestrator-BLXpTTgr.js → orchestrator-C2ypFiPL.js} +6 -3
- package/dist/{outbound-DWfSyfZC.js → outbound-Bmft-5um.js} +4 -4
- package/dist/{outbound-Rs0fFC2g.js → outbound-C577aWZp.js} +1 -1
- package/dist/{outbound-DLCmFGfJ.js → outbound-DW2eod1S.js} +4 -4
- package/dist/{outbound-uxBpmALx.js → outbound-fPqdCDR4.js} +4 -4
- package/dist/outbound-send-deps-DVfWC4E8.js +14 -0
- package/dist/outbound-send-deps-T_FgdfgW.js +36 -0
- package/dist/{parse-timeout-DkOL1T_l.js → parse-timeout-C4WLf3Qy.js} +3 -3
- package/dist/{parse-timeout-DlU4ymhF.js → parse-timeout-D4UO8pY_.js} +1 -1
- package/dist/{path-env-CjpH-KWH.js → path-env-DLQPf9qj.js} +2 -2
- package/dist/{paths-D2eokayo.js → paths-B-AkG5FD.js} +3 -3
- package/dist/{paths-DQMKfv60.js → paths-CAQJvbeZ.js} +2 -2
- package/dist/{paths-Cwszsz1I.js → paths-Q6h5HODL.js} +2 -2
- package/dist/{pi-auth-json-BLdaEAx2.js → pi-auth-json-B_lKNFK6.js} +5 -5
- package/dist/{pi-auth-json-BH7uvkKr.js → pi-auth-json-BmdBnmlZ.js} +8 -9
- package/dist/{pi-auth-json-DjxzPUt3.js → pi-auth-json-DkYqdjrV.js} +2 -2
- package/dist/{pi-auth-json-smxh_Xud.js → pi-auth-json-WTvcP2gz.js} +9 -8
- package/dist/{pi-embedded-D4eEfxIU.js → pi-embedded-BMbtgOzv.js} +825 -319
- package/dist/{pi-embedded-DifnZvKk.js → pi-embedded-DfbM3fAT.js} +888 -382
- package/dist/{pi-embedded-helpers-B6wVA0hU.js → pi-embedded-helpers-BZ9GspxK.js} +1 -1
- package/dist/{pi-tools.policy-CDgjN_3f.js → pi-tools.policy-D2FusuQa.js} +3 -3
- package/dist/{pi-tools.policy-ox141hP6.js → pi-tools.policy-WdTAfqbV.js} +6 -6
- package/dist/{plugin-auto-enable-Mj7AnofW.js → plugin-auto-enable-CtYcdTju.js} +5 -5
- package/dist/{plugin-auto-enable-OqDAK-ap.js → plugin-auto-enable-DhuD30Je.js} +2 -2
- package/dist/{plugin-registry-CpXm8ADp.js → plugin-registry-DePMxn4z.js} +4 -4
- package/dist/{plugin-registry-CkZnT8Fb.js → plugin-registry-QTkplP4s.js} +2 -2
- package/dist/plugin-sdk/agents/cli-backends.d.ts +4 -1
- package/dist/plugin-sdk/agents/cli-credentials.d.ts +0 -10
- package/dist/plugin-sdk/agents/cli-runner.d.ts +2 -0
- package/dist/plugin-sdk/agents/defaults.d.ts +2 -2
- package/dist/plugin-sdk/agents/model-auto.d.ts +43 -0
- package/dist/plugin-sdk/agents/model-fallback.d.ts +5 -0
- package/dist/plugin-sdk/agents/model-preference.d.ts +25 -0
- package/dist/plugin-sdk/agents/noxsoft-runner.d.ts +94 -0
- package/dist/plugin-sdk/agents/pi-embedded-runner/run/params.d.ts +6 -3
- package/dist/plugin-sdk/agents/pi-embedded.d.ts +6 -50
- package/dist/plugin-sdk/agents/runner-capabilities.d.ts +2 -0
- package/dist/plugin-sdk/agents/sandbox/constants.d.ts +1 -1
- package/dist/plugin-sdk/auth/noxsoft-auth.d.ts +55 -0
- package/dist/plugin-sdk/channels/registry.d.ts +2 -2
- package/dist/plugin-sdk/cli/deps.d.ts +2 -1
- package/dist/plugin-sdk/cli/outbound-send-deps.d.ts +10 -0
- package/dist/plugin-sdk/commands/agent/types.d.ts +2 -0
- package/dist/plugin-sdk/config/types.agent-defaults.d.ts +14 -0
- package/dist/plugin-sdk/config/types.models.d.ts +1 -1
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +13 -0
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +13 -0
- package/dist/plugin-sdk/config/zod-schema.d.ts +13 -0
- package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +1 -0
- package/dist/plugin-sdk/identity/loader.d.ts +1 -0
- package/dist/plugin-sdk/identity/trust-graph.d.ts +32 -0
- package/dist/plugin-sdk/index.js +57 -47
- package/dist/plugin-sdk/utils/message-channel.d.ts +2 -1
- package/dist/{plugins-DnJgmFJR.js → plugins-DYcg0qBW.js} +1 -1
- package/dist/{plugins-cli-CrrkMAYM.js → plugins-cli-Bc9oU1ld.js} +58 -57
- package/dist/{plugins-cli-D4VxQKaJ.js → plugins-cli-Dv0KQTWo.js} +36 -35
- package/dist/{polls-DuwPgAV7.js → polls-DFISjV7H.js} +5 -5
- package/dist/{ports-B1b1r9Dz.js → ports-DaVrZDUq.js} +2 -2
- package/dist/{ports-BX00e96t.js → ports-q535r1PZ.js} +2 -2
- package/dist/{program-CTDFmZNx.js → program-CuwbF8YO.js} +48 -40
- package/dist/{program-context-Hl6bnPfB.js → program-context-CxPfy-Wr.js} +51 -35
- package/dist/{progress-B-VBLfHr.js → progress-CVLvQV_t.js} +1 -1
- package/dist/{prompt-style-DU9Vjqe5.js → prompt-style-BI53UVgE.js} +1 -1
- package/dist/{prompts-D6b3zLVO.js → prompts-BmgT_kkv.js} +33 -2
- package/dist/prompts-Bq4QGFQM.js +158 -0
- package/dist/{pw-ai-BV57RRmp.js → pw-ai-CB-zeR7h.js} +5 -5
- package/dist/{pw-ai-CY-VcqJp.js → pw-ai-C_1-7IgH.js} +4 -4
- package/dist/{pw-ai-CTHtrCEC.js → pw-ai-DxNrJcCA.js} +3 -3
- package/dist/{qmd-manager-DJeQYS-r.js → qmd-manager-C_XBZ_bT.js} +5 -5
- package/dist/{qmd-manager-CwbYv6nJ.js → qmd-manager-CpNYgSrx.js} +7 -7
- package/dist/{qmd-manager-Cbm03z8H.js → qmd-manager-Q0OSDQ-e.js} +5 -5
- package/dist/{register.agent-CMoYTJqj.js → register.agent-DFQmkIEH.js} +53 -50
- package/dist/{register.agent-BKINbWbs.js → register.agent-DUjwGw9d.js} +77 -73
- package/dist/{register.anima-BHrZ90Sv.js → register.anima-CRFHJu2J.js} +21 -21
- package/dist/{register.anima-CnEy5VFQ.js → register.anima-CtKNrpE8.js} +21 -21
- package/dist/{register.configure-Cv5NkGH2.js → register.configure-CSSN07XN.js} +50 -49
- package/dist/register.configure-CnEKV57N.js +107 -0
- package/dist/register.maintenance-CU1A-90-.js +102 -0
- package/dist/{register.maintenance-DtAw8E_a.js → register.maintenance-fhcCB7ih.js} +48 -47
- package/dist/register.message-C1a0y2ZR.js +661 -0
- package/dist/register.message-fM0jSKB8.js +659 -0
- package/dist/register.onboard-B7Gavmvt.js +128 -0
- package/dist/{register.onboard-U3lIfaw_.js → register.onboard-BhPlqjFi.js} +50 -49
- package/dist/{register.setup-CLkGhR-e.js → register.setup-0jPnMgnz.js} +96 -92
- package/dist/{register.setup-Dyp5L_GQ.js → register.setup-CADdQUEN.js} +72 -69
- package/dist/{register.status-health-sessions-Dx-qZMol.js → register.status-health-sessions-Cu5fDT-z.js} +68 -67
- package/dist/{register.status-health-sessions-Cc2Y5gSj.js → register.status-health-sessions-DdQsABr_.js} +40 -39
- package/dist/{register.subclis-L55mGheS.js → register.subclis-CZ91ufCy.js} +28 -21
- package/dist/{reply-BgPvB-gR.js → reply-DtHlnzOx.js} +6631 -6172
- package/dist/{reply-prefix-37W_P4kH.js → reply-prefix-C8dIgJur.js} +1 -1
- package/dist/{reply-prefix-DBRqtDEq.js → reply-prefix-DmWGtcH-.js} +1 -1
- package/dist/{routes-ZlpnlJFF.js → routes-CWCAc8uJ.js} +2 -2
- package/dist/{routes-DeDgHj5Y.js → routes-FT0Us8Md.js} +6 -6
- package/dist/{run-DEHnKm2x.js → run-Dfz_7j7t.js} +1256 -166
- package/dist/{run-BFPM6M2S.js → run-DqBQ-bGn.js} +1230 -140
- package/dist/{run-main-Cxmjk1SF.js → run-main-DGDW0fhx.js} +51 -50
- package/dist/{runtime-guard-cBL2D5J8.js → runtime-guard-D14Z_QY6.js} +1 -1
- package/dist/{sandbox-DDOFuJU9.js → sandbox-D-N7M7lp.js} +2 -2
- package/dist/{sandbox-cli-GhcxR1Va.js → sandbox-cli-CQKz2I1X.js} +9 -9
- package/dist/{sandbox-cli-CGJvhJ4L.js → sandbox-cli-DHNFlTo-.js} +23 -23
- package/dist/{sandbox-B8Nza4lP.js → sandbox-pBHlfFdB.js} +6 -6
- package/dist/{security-cli-B7VIDDSL.js → security-cli-Bdi7MuP6.js} +14 -22
- package/dist/{security-cli-gsyz4Wrw.js → security-cli-C3aI09uy.js} +27 -35
- package/dist/{semantic-C3Z-zhNi.js → semantic-9rgWUrz3.js} +1 -1
- package/dist/{semantic-CG6X3rBo.js → semantic-C1UN3bb9.js} +1 -1
- package/dist/{semantic-DCd6zBnV.js → semantic-CQApJNO_.js} +1 -1
- package/dist/{server-context-Dkz4Ce8z.js → server-context-Clykq0XU.js} +1 -1
- package/dist/{server-context-BlJi7pjP.js → server-context-Yx4pgBqJ.js} +7 -7
- package/dist/{server-node-events-DBOg36in.js → server-node-events-BR1aXVlu.js} +55 -53
- package/dist/{server-node-events-CmZXzWcd.js → server-node-events-Ca797E1d.js} +34 -31
- package/dist/{service-QlHhVsQf.js → service-Dd1DfPia.js} +1 -1
- package/dist/{service-audit-D4xG05j8.js → service-audit-Bwpoc2LD.js} +1 -1
- package/dist/{service-audit-BaoBb09i.js → service-audit-KzOtcw_V.js} +3 -3
- package/dist/{session-BJ9XCJBg.js → session-5YO_H-Ra.js} +1 -1
- package/dist/{session-3MLbl1-K.js → session-BiA6jrcs.js} +1 -1
- package/dist/session-C7IGnhd1.js +190 -0
- package/dist/{session-KNXzWBht.js → session-CSmfU0D3.js} +1 -1
- package/dist/{session-CqKJvPTq.js → session-DLevr8Vd.js} +5 -5
- package/dist/session-DfsMJNG3.js +190 -0
- package/dist/{session-TAOVpONo.js → session-FmXsucR7.js} +2 -2
- package/dist/{session-cost-usage-BamtB1rn.js → session-cost-usage-BWqR-ik6.js} +1 -1
- package/dist/{sessions-C2th3rm6.js → sessions-BOzeFzuL.js} +12 -22
- package/dist/{sessions-1XK2mH6L.js → sessions-C_3wTmSA.js} +9 -19
- package/dist/{sessions-BrQHxX_o.js → sessions-Dj7_4mkr.js} +4 -4
- package/dist/{settings-cli-CCtkuc1r.js → settings-cli-DxNeu6kx.js} +79 -77
- package/dist/{settings-cli-Ccizggz2.js → settings-cli-Dytfop1H.js} +50 -49
- package/dist/{setup-token-Dqtgnjxw.js → setup-token-B802CZwe.js} +13 -18
- package/dist/{setup-token-Bcer2kX8.js → setup-token-DYh2QzJ-.js} +29 -34
- package/dist/{shared-Hnu5dChj.js → shared-C-rqLtIT.js} +2 -2
- package/dist/{shell-env-KRrv3dPW.js → shell-env-CMI9f7-7.js} +1 -1
- package/dist/{shell-env-B4ae4lFh.js → shell-env-HkVWMh--.js} +1 -1
- package/dist/{shell-env-PnmcBTp4.js → shell-env-iPnSIi-t.js} +1 -1
- package/dist/{skills-CQoUYlGu.js → skills-4v6-kw0C.js} +3 -3
- package/dist/{skills-cli-DQuLxQUM.js → skills-cli-BoasNTpZ.js} +15 -15
- package/dist/{skills-cli-CNNy0FxN.js → skills-cli-TeAq3fRG.js} +3 -3
- package/dist/{skills-install-2DbC1Yo2.js → skills-install-D6_qpRjW.js} +7 -7
- package/dist/{skills-install-CE6djAWL.js → skills-install-Qw2oU8L8.js} +2 -2
- package/dist/{skills-status-ybjSmiHu.js → skills-status-CvH7AUoY.js} +4 -4
- package/dist/{soul-Bt57OdSx.js → soul-BiIdv3Wp.js} +125 -5
- package/dist/{soul-DFeEGG5h.js → soul-Bt8UNmTq.js} +126 -5
- package/dist/{soul-CwWWw7cs.js → soul-D9k5zulC.js} +2 -2
- package/dist/{soul-Bru-rRjk.js → soul-DQSYs-4l.js} +1 -1
- package/dist/{sqlite-BTcAhNls.js → sqlite-BMMt7osH.js} +2 -2
- package/dist/{sqlite-ClLAW1iQ.js → sqlite-CZ1vD4VS.js} +4 -4
- package/dist/{sqlite-CLZ1eR5Q.js → sqlite-CpAJt-JS.js} +1 -1
- package/dist/{start-DfC7PlAH.js → start-BqnPia0t.js} +66 -63
- package/dist/start-C3fuLzX0.js +157 -0
- package/dist/{status-BVAoIQ0V.js → status-CHGNPonc.js} +26 -44
- package/dist/{status-BU6h4wUP.js → status-CxF6k_jr.js} +2 -2
- package/dist/{status-C9B6cEM0.js → status-DfZJJqNs.js} +15 -15
- package/dist/{status-BaEcHPtc.js → status-tLgozFYL.js} +4 -4
- package/dist/{status.update-CbIRaeaV.js → status.update-B6Tdpk07.js} +2 -2
- package/dist/{status.update-CPACVnCc.js → status.update-E9dSFk_b.js} +1 -1
- package/dist/{subagent-registry-MZIxVf8W.js → subagent-registry-CPtElVX0.js} +807 -348
- package/dist/{subsystem-BMsbqSb4.js → subsystem-BAADN1B8.js} +18 -27
- package/dist/{subsystem-CucjNlOk.js → subsystem-D-Xta-sj.js} +17 -26
- package/dist/{subsystem-DA3Cno1i.js → subsystem-D1AJZPgG.js} +38 -47
- package/dist/{system-cli-BKicxULp.js → system-cli-CP7JrhR0.js} +15 -15
- package/dist/{system-cli-Unb-WFAR.js → system-cli-DoLzi2Sn.js} +8 -8
- package/dist/{systemd-5KGZ3NHE.js → systemd-Bx76sJ3M.js} +2 -2
- package/dist/{systemd-linger-B-uyzDap.js → systemd-linger-BVwGXVS0.js} +2 -2
- package/dist/{systemd-linger-CS_pA1-a.js → systemd-linger-CxGmIy_5.js} +1 -1
- package/dist/{table-CdHBo5d1.js → table-Blmz7glr.js} +2 -2
- package/dist/{tokens-DGhK0fpG.js → tokens-SP2Q7i59.js} +1 -1
- package/dist/{tool-images-DK97edts.js → tool-images-2qproko3.js} +2 -2
- package/dist/{tool-images-Dq55i0mz.js → tool-images-C6cKHTbj.js} +2 -2
- package/dist/{tool-images-J0rGmoDV.js → tool-images-CgDT0Xzv.js} +2 -2
- package/dist/{tui-Bm8FEW0b.js → tui-C2eLfbhA.js} +5 -5
- package/dist/{tui-cli-BGjsxGle.js → tui-cli-BgcbCtgc.js} +12 -12
- package/dist/{tui-cli-TwCYv-a7.js → tui-cli-cLSYBQu9.js} +27 -27
- package/dist/{tui-DtGKiHUr.js → tui-r4qpJhNk.js} +10 -10
- package/dist/{update-Dfi92PZJ.js → update-CqKpX3cX.js} +3 -3
- package/dist/{update-Dle5MRUz.js → update-DA91za97.js} +1 -1
- package/dist/{update-cli-QMVW2eiR.js → update-cli-BuCw75tM.js} +87 -85
- package/dist/{update-cli-D1e-DsWy.js → update-cli-C-er5av6.js} +55 -54
- package/dist/{update-runner-DPmSGXS3.js → update-runner-czCqHZCu.js} +5 -5
- package/dist/{update-runner-iLJQF6VA.js → update-runner-kE8AMQt4.js} +1 -1
- package/dist/{utils-B60lF9Wq.js → utils-CLYlhJuc.js} +1 -1
- package/dist/{web-DJRRkHG8.js → web-BHGK5GtV.js} +24 -24
- package/dist/web-CyYunanU.js +65 -0
- package/dist/{web-DDAkSrtZ.js → web-DvTXV-fo.js} +35 -34
- package/dist/{web-DBQRQY6n.js → web-so3pGceM.js} +27 -27
- package/dist/{webhooks-cli-Cg0F2mU6.js → webhooks-cli-k3QMf7Rs.js} +4 -4
- package/dist/{webhooks-cli-BsWx7MgH.js → webhooks-cli-vlEfXEKm.js} +12 -12
- package/dist/{whatsapp-actions-gpz6-vPI.js → whatsapp-actions-6fPRKwPV.js} +11 -11
- package/dist/{whatsapp-actions-DJpQVKnT.js → whatsapp-actions-BJn-z76S.js} +17 -17
- package/dist/{whatsapp-actions-tWRWRZ4X.js → whatsapp-actions-C0tlEdLy.js} +5 -5
- package/dist/{whatsapp-actions-CMEP8v3k.js → whatsapp-actions-Hr-W8vjY.js} +13 -13
- package/dist/{widearea-dns-BDtWuGCY.js → widearea-dns-CHAT20aR.js} +1 -1
- package/dist/{workspace-BQkffCaR.js → workspace-BFIZCnGo.js} +5 -5
- package/dist/{ws-log-Bc4grA6W.js → ws-log-CUobU2tD.js} +1 -1
- package/package.json +1 -1
- package/templates/profiles/nox.profile.json5 +5 -5
- package/dist/cli--Gal7v4I.js +0 -101
- package/dist/config-cli-cyvL43DG.js +0 -15
- package/dist/control-ui/assets/index-B7CJLRZD.css +0 -1
- package/dist/control-ui/assets/index-DLPYIcs0.js +0 -58
- package/dist/control-ui/assets/index-DLPYIcs0.js.map +0 -1
- package/dist/deps-CeyVMZf1.js +0 -13
- package/dist/models-ByeH7ZKb.js +0 -1350
- package/dist/register.configure-3GfqcGLK.js +0 -105
- package/dist/register.maintenance-YZDsMymb.js +0 -100
- package/dist/register.onboard-Dswys-iV.js +0 -126
- package/dist/start-BPye9w5U.js +0 -154
- package/dist/web-DE-hmqXy.js +0 -64
- /package/dist/{BasicParser-BiEpjka-.js → BasicParser-D4BHCxVb.js} +0 -0
- /package/dist/{agents.config-DibGEnBs.js → agents.config-Br4ULmK0.js} +0 -0
- /package/dist/{archive-BIKRyvqD.js → archive-CNqghdwQ.js} +0 -0
- /package/dist/{archive-5e-Ytlq-.js → archive-D-dHRz-v.js} +0 -0
- /package/dist/{argv-B6vsXQtF.js → argv-nNQ109_K.js} +0 -0
- /package/dist/{auth-store-Vfd6oc1G.js → auth-store-BEfSfCbW.js} +0 -0
- /package/dist/{auto-update-BUbllW1X.js → auto-update-Cvd8YJrT.js} +0 -0
- /package/dist/{auto-update-DdH8fo63.js → auto-update-DO4nHkfM.js} +0 -0
- /package/dist/{brew-Bkf_MwX9.js → brew-DHWnVWm3.js} +0 -0
- /package/dist/{budget-CV0a771W.js → budget-DvjICb0t.js} +0 -0
- /package/dist/{budget-GiXjG9eW.js → budget-e0R5xsU3.js} +0 -0
- /package/dist/{command-options-DfPEZwUK.js → command-options-DtJ8-EC7.js} +0 -0
- /package/dist/{command-options-mgpP-XId.js → command-options-eC-m_qJx.js} +0 -0
- /package/dist/{delivery-queue-DGnDKL02.js → delivery-queue-BKQk1j0k.js} +0 -0
- /package/dist/{delivery-queue-DZ_ibFDu.js → delivery-queue-CExaJXRz.js} +0 -0
- /package/dist/{display-BwSYYxVE.js → display-4p3-O9mP.js} +0 -0
- /package/dist/{display-Dck2kudh.js → display-Bo8pBhMp.js} +0 -0
- /package/dist/{exec-approvals-BJikgQkX.js → exec-approvals-DK5-KCUz.js} +0 -0
- /package/dist/{format-wiLVr0D3.js → format-9DMvWYUJ.js} +0 -0
- /package/dist/{format-duration-C5oKCGwB.js → format-duration-CnGkTPRF.js} +0 -0
- /package/dist/{gmail-setup-utils-CR33Gqfc.js → gmail-setup-utils-BIXtKTpT.js} +0 -0
- /package/dist/{help-format-DJx5Rwy2.js → help-format-ZKxl6UCb.js} +0 -0
- /package/dist/{helpers-8O7IVGO-.js → helpers-CWQnEONe.js} +0 -0
- /package/dist/{hooks-status-DiqubDlK.js → hooks-status-DqfJDvYl.js} +0 -0
- /package/dist/{ipv4-BYbwrpG-.js → ipv4-CExV55ho.js} +0 -0
- /package/dist/{is-main-BnikY3ud.js → is-main-H-hpHkdq.js} +0 -0
- /package/dist/{lib-D1DXSMt_.js → lib-D0_kW-B6.js} +0 -0
- /package/dist/{links-3c7gzW-G.js → links-BjjDMNIq.js} +0 -0
- /package/dist/{logging-Bpf6Cepz.js → logging-DWwOqnTW.js} +0 -0
- /package/dist/{logging-DcXIbpwk.js → logging-_rCcBkls.js} +0 -0
- /package/dist/{model-param-b-BcBBSgiD.js → model-param-b-2KmFir_0.js} +0 -0
- /package/dist/{node-service-BDlDNv3t.js → node-service-cOoW5hLa.js} +0 -0
- /package/dist/{note-BaOKDvcy.js → note-CeLGcHqv.js} +0 -0
- /package/dist/{noxsoft-auth-Bmict45b.js → noxsoft-auth-CE75mBXE.js} +0 -0
- /package/dist/{noxsoft-auth-DpwLJIW0.js → noxsoft-auth-CgCk5707.js} +0 -0
- /package/dist/{pi-model-discovery-ClWISQ3j.js → pi-model-discovery-Bu4Zr7nI.js} +0 -0
- /package/dist/{ports-aNJUI3Mi.js → ports-BGLuwt2Z.js} +0 -0
- /package/dist/{progress-Dj2aBWOI.js → progress-glCgu57m.js} +0 -0
- /package/dist/{qmd-manager-DrDX4o7e.js → qmd-manager-CO795NK4.js} +0 -0
- /package/dist/{queue-B77yV52t.js → queue-DDq0uzy5.js} +0 -0
- /package/dist/{queue-wFYwitx0.js → queue-DtQ5sbyD.js} +0 -0
- /package/dist/{registry-gaRST__4.js → registry-BvymIcVf.js} +0 -0
- /package/dist/{registry-Cv8RtADU.js → registry-DwaHkd_j.js} +0 -0
- /package/dist/{requirements-CEowKaVY.js → requirements-Ct4XnMiK.js} +0 -0
- /package/dist/{skill-scanner-DGoUYV22.js → skill-scanner-5_Y3u6SU.js} +0 -0
- /package/dist/{skill-scanner-FO7SyxAD.js → skill-scanner-Dld2ijVw.js} +0 -0
- /package/dist/{templates-D-h5PNIK.js → templates-4_And8I_.js} +0 -0
- /package/dist/{templates-ndPXOyGA.js → templates-5Z-UIDze.js} +0 -0
- /package/dist/{types-DSS9sywz.js → types-BQk_oAin.js} +0 -0
- /package/dist/{usage-format-BtlQ-77V.js → usage-format-BSa7cHyK.js} +0 -0
- /package/dist/{ws-log-BA9w1cJs.js → ws-log-CG6cvCZW.js} +0 -0
|
@@ -4,13 +4,13 @@ import { c as escapeRegExp, d as isRecord, t as CONFIG_DIR, y as resolveUserPath
|
|
|
4
4
|
import { n as runExec } from "./exec-BtBJICHE.js";
|
|
5
5
|
import { t as resolveAnimaPackageRoot } from "./anima-root-CxtpOklc.js";
|
|
6
6
|
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-Dm8IL1Ks.js";
|
|
7
|
-
import { f as resolveDefaultModelForAgent, m as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-
|
|
8
|
-
import { c as listDeliverableMessageChannels } from "./message-channel-
|
|
7
|
+
import { f as resolveDefaultModelForAgent, m as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-DcO3qJOu.js";
|
|
8
|
+
import { c as listDeliverableMessageChannels } from "./message-channel-DIHHKJhk.js";
|
|
9
9
|
import { n as SILENT_REPLY_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-CmlI2hSz.js";
|
|
10
10
|
import { C as resolveBootstrapTotalMaxChars, S as resolveBootstrapMaxChars, x as buildBootstrapContextFiles } from "./pi-embedded-helpers-D2SLlgS4.js";
|
|
11
11
|
import { c as getFileExtension, f as normalizeMimeType } from "./image-ops-BdrMmiG4.js";
|
|
12
12
|
import { r as normalizeChannelId } from "./plugins-BOMS6J5A.js";
|
|
13
|
-
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-
|
|
13
|
+
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-KpsOXKDc.js";
|
|
14
14
|
import { execSync, spawn } from "node:child_process";
|
|
15
15
|
import os, { tmpdir } from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
@@ -2511,6 +2511,17 @@ async function resolveAnimaDocsPath(params) {
|
|
|
2511
2511
|
return fs.existsSync(packageDocs) ? packageDocs : null;
|
|
2512
2512
|
}
|
|
2513
2513
|
|
|
2514
|
+
//#endregion
|
|
2515
|
+
//#region src/agents/runner-capabilities.ts
|
|
2516
|
+
const CAPABILITY_HINTS = {
|
|
2517
|
+
"cli-native": "Use your native CLI capabilities when needed. Do not assume external MCP-style tools exist unless they are explicitly provided.",
|
|
2518
|
+
"local-tools": "Use only the tools explicitly provided in this session. Do not assume any other external MCP-style tools exist.",
|
|
2519
|
+
disabled: "Tools are disabled in this session. Do not call tools."
|
|
2520
|
+
};
|
|
2521
|
+
function appendRunnerCapabilityPrompt(prompt, mode) {
|
|
2522
|
+
return [prompt?.trim(), CAPABILITY_HINTS[mode]].filter(Boolean).join("\n");
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2514
2525
|
//#endregion
|
|
2515
2526
|
//#region src/logging/redact-identifier.ts
|
|
2516
2527
|
function sha256HexPrefix(value, len = 12) {
|
|
@@ -2580,6 +2591,18 @@ function resolveRunWorkspaceDir(params) {
|
|
|
2580
2591
|
|
|
2581
2592
|
//#endregion
|
|
2582
2593
|
//#region src/agents/anthropic-direct-runner.ts
|
|
2594
|
+
/**
|
|
2595
|
+
* Anthropic Direct API Runner
|
|
2596
|
+
*
|
|
2597
|
+
* Makes calls directly to api.anthropic.com without needing the claude CLI
|
|
2598
|
+
* binary to be installed or logged in. Works with any valid token:
|
|
2599
|
+
*
|
|
2600
|
+
* sk-ant-api01-... (Console API key)
|
|
2601
|
+
* sk-ant-oat01-... (Claude Code OAuth access token)
|
|
2602
|
+
*
|
|
2603
|
+
* This runner is automatically used when an `anthropic:default` token credential
|
|
2604
|
+
* is present in the auth store and the claude CLI is unavailable or not logged in.
|
|
2605
|
+
*/
|
|
2583
2606
|
const log = createSubsystemLogger("agent/anthropic-direct");
|
|
2584
2607
|
const MODEL_MAP = {
|
|
2585
2608
|
opus: "claude-opus-4-5",
|
|
@@ -2655,7 +2678,7 @@ async function runAnthropicDirectAgent(params) {
|
|
|
2655
2678
|
cwd: process.cwd(),
|
|
2656
2679
|
moduleUrl: import.meta.url
|
|
2657
2680
|
});
|
|
2658
|
-
const extraSystemPrompt =
|
|
2681
|
+
const extraSystemPrompt = appendRunnerCapabilityPrompt(params.extraSystemPrompt, "disabled");
|
|
2659
2682
|
const systemPrompt = buildSystemPrompt({
|
|
2660
2683
|
workspaceDir,
|
|
2661
2684
|
config: params.config,
|
|
@@ -2695,7 +2718,7 @@ async function runAnthropicDirectAgent(params) {
|
|
|
2695
2718
|
"x-api-key": params.token,
|
|
2696
2719
|
"anthropic-version": "2023-06-01",
|
|
2697
2720
|
"content-type": "application/json",
|
|
2698
|
-
"user-agent": `anima/
|
|
2721
|
+
"user-agent": `anima/5.1.3 (direct-runner; ${os.platform()})`
|
|
2699
2722
|
},
|
|
2700
2723
|
body: JSON.stringify(requestBody),
|
|
2701
2724
|
signal: controller.signal
|
|
@@ -2728,7 +2751,6 @@ async function runAnthropicDirectAgent(params) {
|
|
|
2728
2751
|
stopReason: data.stop_reason,
|
|
2729
2752
|
contentTypes: (data.content ?? []).map((b) => b.type)
|
|
2730
2753
|
});
|
|
2731
|
-
await params.onAssistantMessageStart?.();
|
|
2732
2754
|
if (outputText && params.onPartialReply) await params.onPartialReply({ text: outputText });
|
|
2733
2755
|
history.messages.push({
|
|
2734
2756
|
role: "assistant",
|
|
@@ -2813,4 +2835,4 @@ async function testAnthropicToken(token) {
|
|
|
2813
2835
|
}
|
|
2814
2836
|
|
|
2815
2837
|
//#endregion
|
|
2816
|
-
export {
|
|
2838
|
+
export { isVoiceCompatibleAudio as $, getLastTtsAttempt as A, resolveTtsConfig as B, formatUserTime as C, killProcessTree as D, getShellConfig as E, isTtsProviderConfigured as F, setTtsEnabled as G, resolveTtsProviderOrder as H, maybeApplyTtsToPayload as I, textToSpeech as J, setTtsMaxLength as K, normalizeTtsAutoMode as L, getTtsProvider as M, isSummarizationEnabled as N, sanitizeBinaryOutput as O, isTtsEnabled as P, resolveModel$1 as Q, resolveTtsApiKey as R, buildSystemPromptParams as S, resolveUserTimezone as T, setLastTtsAttempt as U, resolveTtsPrefsPath as V, setSummarizationEnabled as W, OPENAI_TTS_MODELS as X, textToSpeechTelephony as Y, OPENAI_TTS_VOICES as Z, resolvePromptInput as _, sha256HexPrefix as a, triggerInternalHook as at, writeCliImages as b, appendImagePathsToPrompt as c, isHeartbeatContentEffectivelyEmpty as ct, cleanupResumeProcesses as d, makeBootstrapWarn as et, cleanupSuspendedCliProcesses as f, parseCliJsonl as g, parseCliJson as h, resolveRunWorkspaceDir as i, registerInternalHook as it, getTtsMaxLength as j, buildTtsSystemPromptHint as k, buildCliArgs as l, resolveHeartbeatPrompt as lt, normalizeCliModel as m, testAnthropicToken as n, clearInternalHooks as nt, appendRunnerCapabilityPrompt as o, DEFAULT_HEARTBEAT_ACK_MAX_CHARS as ot, enqueueCliRun as p, setTtsProvider as q, redactRunIdentifier as r, createInternalHookEvent as rt, resolveAnimaDocsPath as s, DEFAULT_HEARTBEAT_EVERY as st, runAnthropicDirectAgent as t, resolveBootstrapContextForRun as tt, buildSystemPrompt as u, stripHeartbeatToken as ut, resolveSessionIdToSend as v, resolveUserTimeFormat as w, buildAgentSystemPrompt as x, resolveSystemPromptUsage as y, resolveTtsAutoMode as z };
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { f as resolveOAuthDir, m as resolveStateDir, o as resolveConfigPath } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { l as normalizeAgentId } from "./session-key-DAZmp8ll.js";
|
|
3
|
-
import { n as runExec } from "./exec-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
6
|
-
import { a as MANIFEST_KEY, l as normalizePluginsConfig } from "./manifest-registry-
|
|
7
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
3
|
+
import { n as runExec } from "./exec-BylR5qWS.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CXxC8FFX.js";
|
|
5
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-DaD4FsAn.js";
|
|
6
|
+
import { a as MANIFEST_KEY, l as normalizePluginsConfig } from "./manifest-registry-qF960vMH.js";
|
|
7
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-pBHlfFdB.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-BCtkuvqF.js";
|
|
9
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
10
|
-
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-
|
|
11
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
9
|
+
import { i as resolveGatewayAuth } from "./auth-DsC5pZ_0.js";
|
|
10
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-Yx4pgBqJ.js";
|
|
11
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-4v6-kw0C.js";
|
|
12
12
|
import { n as formatErrorMessage } from "./errors-Bv81hF2P.js";
|
|
13
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
14
|
-
import { n as listChannelPlugins
|
|
15
|
-
import { t as GatewayClient } from "./client-
|
|
16
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
-
import { n as isToolAllowedByPolicies, s as readChannelAllowFromStore } from "./pi-tools.policy-
|
|
13
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CMsexA3K.js";
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-DYcg0qBW.js";
|
|
15
|
+
import { t as GatewayClient } from "./client-BWkoTfOH.js";
|
|
16
|
+
import { t as buildGatewayConnectionDetails } from "./call-CDPbPDAr.js";
|
|
17
|
+
import { n as isToolAllowedByPolicies, s as readChannelAllowFromStore } from "./pi-tools.policy-WdTAfqbV.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-BCnOEYau.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-1MPChTcB.js";
|
|
20
|
-
import {
|
|
20
|
+
import { t as inferParamBFromIdOrName } from "./model-param-b-C1QDqzQp.js";
|
|
21
|
+
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-5_Y3u6SU.js";
|
|
21
22
|
import os from "node:os";
|
|
22
23
|
import path from "node:path";
|
|
23
24
|
import JSON5 from "json5";
|
|
@@ -260,12 +261,15 @@ function resolveGatewayProbeAuth(params) {
|
|
|
260
261
|
|
|
261
262
|
//#endregion
|
|
262
263
|
//#region src/config/commands.ts
|
|
264
|
+
const NATIVE_SKILLS_AUTO_ENABLED = new Set([
|
|
265
|
+
"noxsoft",
|
|
266
|
+
"discord",
|
|
267
|
+
"telegram"
|
|
268
|
+
]);
|
|
263
269
|
function resolveAutoDefault(providerId) {
|
|
264
|
-
const
|
|
265
|
-
if (!
|
|
266
|
-
|
|
267
|
-
if (id === "slack") return false;
|
|
268
|
-
return false;
|
|
270
|
+
const raw = providerId?.trim().toLowerCase();
|
|
271
|
+
if (!raw) return false;
|
|
272
|
+
return NATIVE_SKILLS_AUTO_ENABLED.has(raw);
|
|
269
273
|
}
|
|
270
274
|
function resolveNativeSkillsEnabled(params) {
|
|
271
275
|
const { providerId, providerSetting, globalSetting } = params;
|
|
@@ -581,21 +585,6 @@ async function collectChannelSecurityFindings(params) {
|
|
|
581
585
|
return findings;
|
|
582
586
|
}
|
|
583
587
|
|
|
584
|
-
//#endregion
|
|
585
|
-
//#region src/shared/model-param-b.ts
|
|
586
|
-
function inferParamBFromIdOrName(text) {
|
|
587
|
-
const matches = text.toLowerCase().matchAll(/(?:^|[^a-z0-9])[a-z]?(\d+(?:\.\d+)?)b(?:[^a-z0-9]|$)/g);
|
|
588
|
-
let best = null;
|
|
589
|
-
for (const match of matches) {
|
|
590
|
-
const numRaw = match[1];
|
|
591
|
-
if (!numRaw) continue;
|
|
592
|
-
const value = Number(numRaw);
|
|
593
|
-
if (!Number.isFinite(value) || value <= 0) continue;
|
|
594
|
-
if (best === null || value > best) best = value;
|
|
595
|
-
}
|
|
596
|
-
return best;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
588
|
//#endregion
|
|
600
589
|
//#region src/security/audit-extra.sync.ts
|
|
601
590
|
const SMALL_MODEL_PARAM_B_MAX = 300;
|
|
@@ -5,20 +5,20 @@ import { n as runExec } from "./exec-BtBJICHE.js";
|
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-Dm8IL1Ks.js";
|
|
6
6
|
import { i as loadWorkspaceSkillEntries } from "./skills-DtoVe1dS.js";
|
|
7
7
|
import { p as MANIFEST_KEY, s as normalizePluginsConfig } from "./manifest-registry-W_OfCIRP.js";
|
|
8
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
9
|
-
import { t as GatewayClient } from "./client-
|
|
10
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
12
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
8
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-BrVuTQ8R.js";
|
|
9
|
+
import { t as GatewayClient } from "./client-CfLiulzK.js";
|
|
10
|
+
import { t as buildGatewayConnectionDetails } from "./call-B4lhqS6H.js";
|
|
11
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DIHHKJhk.js";
|
|
12
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-D-N7M7lp.js";
|
|
13
13
|
import { i as resolveGatewayAuth } from "./auth-Cp__MMeO.js";
|
|
14
|
-
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-
|
|
14
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-Clykq0XU.js";
|
|
15
15
|
import { n as formatErrorMessage } from "./errors-COFgygw8.js";
|
|
16
|
-
import { n as listChannelPlugins
|
|
17
|
-
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
16
|
+
import { n as listChannelPlugins } from "./plugins-BOMS6J5A.js";
|
|
17
|
+
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-D2FusuQa.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-Asx2qyrG.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CVp8W9aa.js";
|
|
20
|
-
import { t as inferParamBFromIdOrName } from "./model-param-b-
|
|
21
|
-
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
20
|
+
import { t as inferParamBFromIdOrName } from "./model-param-b-2KmFir_0.js";
|
|
21
|
+
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-Dld2ijVw.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import JSON5 from "json5";
|
|
@@ -261,12 +261,15 @@ function resolveGatewayProbeAuth(params) {
|
|
|
261
261
|
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/config/commands.ts
|
|
264
|
+
const NATIVE_SKILLS_AUTO_ENABLED = new Set([
|
|
265
|
+
"noxsoft",
|
|
266
|
+
"discord",
|
|
267
|
+
"telegram"
|
|
268
|
+
]);
|
|
264
269
|
function resolveAutoDefault(providerId) {
|
|
265
|
-
const
|
|
266
|
-
if (!
|
|
267
|
-
|
|
268
|
-
if (id === "slack") return false;
|
|
269
|
-
return false;
|
|
270
|
+
const raw = providerId?.trim().toLowerCase();
|
|
271
|
+
if (!raw) return false;
|
|
272
|
+
return NATIVE_SKILLS_AUTO_ENABLED.has(raw);
|
|
270
273
|
}
|
|
271
274
|
function resolveNativeSkillsEnabled(params) {
|
|
272
275
|
const { providerId, providerSetting, globalSetting } = params;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as isYes, N as logVerbose, d as defaultRuntime, j as isVerbose } from "./subsystem-
|
|
2
|
-
import { n as runExec } from "./exec-
|
|
1
|
+
import { M as isYes, N as logVerbose, d as defaultRuntime, j as isVerbose } from "./subsystem-BAADN1B8.js";
|
|
2
|
+
import { n as runExec } from "./exec-BylR5qWS.js";
|
|
3
3
|
import { a as isTrustedProxyAddress, n as isLoopbackAddress, s as parseForwardedForClientIp, u as resolveGatewayClientIp } from "./ws-BapRHqfx.js";
|
|
4
4
|
import { stdin, stdout } from "node:process";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as resolveAgentModelPrimary } from "./agent-scope-
|
|
3
|
-
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, o as modelKey, r as buildModelAliasIndex, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as ensureAuthenticated } from "./noxsoft-auth-
|
|
1
|
+
import { dr as loadModelCatalog } from "./reply-DtHlnzOx.js";
|
|
2
|
+
import { a as resolveAgentModelPrimary } from "./agent-scope-CXxC8FFX.js";
|
|
3
|
+
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, o as modelKey, r as buildModelAliasIndex, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-CY6r_3wt.js";
|
|
4
|
+
import { l as listProfilesForProvider, p as ensureAuthProfileStore, x as readCodexCliCredentialsCached } from "./auth-profiles-C-LuhW6c.js";
|
|
5
|
+
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-CHB3EySM.js";
|
|
6
|
+
import { r as ensureAuthenticated } from "./noxsoft-auth-CE75mBXE.js";
|
|
7
|
+
import { d as setAnthropicApiKey, f as setGeminiApiKey, i as formatTokenK, p as writeOAuthCredentials, u as applyAuthProfileConfig } from "./prompts-Bq4QGFQM.js";
|
|
8
|
+
import { t as applyNoxsoftBootstrap } from "./noxsoft-bootstrap-CrlkSFzd.js";
|
|
7
9
|
|
|
8
10
|
//#region src/commands/auth-choice-options.ts
|
|
9
11
|
const AUTH_CHOICE_GROUP_DEFS = [
|
|
@@ -41,7 +43,7 @@ const BASE_AUTH_CHOICE_OPTIONS = [
|
|
|
41
43
|
{
|
|
42
44
|
value: "openaiCodex",
|
|
43
45
|
label: "OpenAI Codex OAuth",
|
|
44
|
-
hint: "Use Codex CLI credentials (gpt-5.
|
|
46
|
+
hint: "Use Codex CLI credentials (gpt-5.2-codex)"
|
|
45
47
|
},
|
|
46
48
|
{
|
|
47
49
|
value: "apiKey",
|
|
@@ -144,77 +146,6 @@ function formatApiKeyPreview(raw, opts = {}) {
|
|
|
144
146
|
return `${trimmed.slice(0, head)}…${trimmed.slice(-tail)}`;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
//#endregion
|
|
148
|
-
//#region src/agents/cloudflare-ai-gateway.ts
|
|
149
|
-
const CLOUDFLARE_AI_GATEWAY_PROVIDER_ID = "cloudflare-ai-gateway";
|
|
150
|
-
const CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_ID = "claude-sonnet-4-5";
|
|
151
|
-
const CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF = `${CLOUDFLARE_AI_GATEWAY_PROVIDER_ID}/${CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_ID}`;
|
|
152
|
-
|
|
153
|
-
//#endregion
|
|
154
|
-
//#region src/commands/onboard-auth.credentials.ts
|
|
155
|
-
const resolveAuthAgentDir = (agentDir) => agentDir ?? resolveAnimaAgentDir();
|
|
156
|
-
async function writeOAuthCredentials(provider, creds, agentDir) {
|
|
157
|
-
upsertAuthProfile({
|
|
158
|
-
profileId: `${provider}:${typeof creds.email === "string" && creds.email.trim() ? creds.email.trim() : "default"}`,
|
|
159
|
-
credential: {
|
|
160
|
-
type: "oauth",
|
|
161
|
-
provider,
|
|
162
|
-
...creds
|
|
163
|
-
},
|
|
164
|
-
agentDir: resolveAuthAgentDir(agentDir)
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
async function setAnthropicApiKey(key, agentDir) {
|
|
168
|
-
upsertAuthProfile({
|
|
169
|
-
profileId: "anthropic:default",
|
|
170
|
-
credential: {
|
|
171
|
-
type: "api_key",
|
|
172
|
-
provider: "anthropic",
|
|
173
|
-
key
|
|
174
|
-
},
|
|
175
|
-
agentDir: resolveAuthAgentDir(agentDir)
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
async function setGeminiApiKey(key, agentDir) {
|
|
179
|
-
upsertAuthProfile({
|
|
180
|
-
profileId: "google:default",
|
|
181
|
-
credential: {
|
|
182
|
-
type: "api_key",
|
|
183
|
-
provider: "google",
|
|
184
|
-
key
|
|
185
|
-
},
|
|
186
|
-
agentDir: resolveAuthAgentDir(agentDir)
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
//#endregion
|
|
191
|
-
//#region src/commands/onboard-auth.config-core.ts
|
|
192
|
-
function applyAuthProfileConfig(cfg, params) {
|
|
193
|
-
const profiles = {
|
|
194
|
-
...cfg.auth?.profiles,
|
|
195
|
-
[params.profileId]: {
|
|
196
|
-
provider: params.provider,
|
|
197
|
-
mode: params.mode,
|
|
198
|
-
...params.email ? { email: params.email } : {}
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
const existingProviderOrder = cfg.auth?.order?.[params.provider];
|
|
202
|
-
const preferProfileFirst = params.preferProfileFirst ?? true;
|
|
203
|
-
const reorderedProviderOrder = existingProviderOrder && preferProfileFirst ? [params.profileId, ...existingProviderOrder.filter((profileId) => profileId !== params.profileId)] : existingProviderOrder;
|
|
204
|
-
const order = existingProviderOrder !== void 0 ? {
|
|
205
|
-
...cfg.auth?.order,
|
|
206
|
-
[params.provider]: reorderedProviderOrder?.includes(params.profileId) ? reorderedProviderOrder : [...reorderedProviderOrder ?? [], params.profileId]
|
|
207
|
-
} : cfg.auth?.order;
|
|
208
|
-
return {
|
|
209
|
-
...cfg,
|
|
210
|
-
auth: {
|
|
211
|
-
...cfg.auth,
|
|
212
|
-
profiles,
|
|
213
|
-
...order ? { order } : {}
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
|
|
218
149
|
//#endregion
|
|
219
150
|
//#region src/commands/auth-choice.apply.anthropic.ts
|
|
220
151
|
async function applyAuthChoiceAnthropic(params) {
|
|
@@ -291,23 +222,6 @@ async function applyAuthChoiceGemini(params) {
|
|
|
291
222
|
return null;
|
|
292
223
|
}
|
|
293
224
|
|
|
294
|
-
//#endregion
|
|
295
|
-
//#region src/commands/models/shared.ts
|
|
296
|
-
const formatTokenK = (value) => {
|
|
297
|
-
if (!value || !Number.isFinite(value)) return "-";
|
|
298
|
-
if (value < 1024) return `${Math.round(value)}`;
|
|
299
|
-
return `${Math.round(value / 1024)}k`;
|
|
300
|
-
};
|
|
301
|
-
/**
|
|
302
|
-
* Model key format: "provider/model"
|
|
303
|
-
*
|
|
304
|
-
* The model key is displayed in `/model status` and used to reference models.
|
|
305
|
-
* When using `/model <key>`, use the exact format shown (e.g., "openrouter/moonshotai/kimi-k2").
|
|
306
|
-
*
|
|
307
|
-
* For providers with hierarchical model IDs (e.g., OpenRouter), the model ID may include
|
|
308
|
-
* sub-providers (e.g., "moonshotai/kimi-k2"), resulting in a key like "openrouter/moonshotai/kimi-k2".
|
|
309
|
-
*/
|
|
310
|
-
|
|
311
225
|
//#endregion
|
|
312
226
|
//#region src/commands/model-picker.ts
|
|
313
227
|
const KEEP_VALUE = "__keep__";
|
|
@@ -646,7 +560,7 @@ function applyModelFallbacksFromSelection(cfg, selection) {
|
|
|
646
560
|
//#region src/commands/auth-choice.apply.openai-codex.ts
|
|
647
561
|
const OPENAI_CODEX_PROVIDER = "openai-codex";
|
|
648
562
|
const OPENAI_CODEX_PROFILE_ID = "openai-codex:default";
|
|
649
|
-
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.
|
|
563
|
+
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.2-codex";
|
|
650
564
|
const OPENAI_CODEX_LOGIN_COMMAND = "anima models auth login --provider openai-codex";
|
|
651
565
|
async function applyAuthChoiceOpenAICodex(params) {
|
|
652
566
|
if (params.authChoice !== "openaiCodex") return null;
|
|
@@ -679,7 +593,7 @@ async function applyAuthChoice(params) {
|
|
|
679
593
|
if (params.authChoice === "noxsoft") {
|
|
680
594
|
const auth = await ensureAuthenticated({ description: "ANIMA auth profile selection" });
|
|
681
595
|
params.runtime.log(`NoxSoft ${auth.registered ? "registered" : "authenticated"}: ${auth.agent.display_name} (@${auth.agent.name})`);
|
|
682
|
-
return { config: params.config };
|
|
596
|
+
return { config: applyNoxsoftBootstrap(params.config, auth.agent) };
|
|
683
597
|
}
|
|
684
598
|
const codexResult = await applyAuthChoiceOpenAICodex(params);
|
|
685
599
|
if (codexResult) return codexResult;
|
|
@@ -740,13 +654,4 @@ function resolvePreferredProviderForAuthChoice(choice) {
|
|
|
740
654
|
}
|
|
741
655
|
|
|
742
656
|
//#endregion
|
|
743
|
-
|
|
744
|
-
var WizardCancelledError = class extends Error {
|
|
745
|
-
constructor(message = "wizard cancelled") {
|
|
746
|
-
super(message);
|
|
747
|
-
this.name = "WizardCancelledError";
|
|
748
|
-
}
|
|
749
|
-
};
|
|
750
|
-
|
|
751
|
-
//#endregion
|
|
752
|
-
export { applyModelAllowlist as a, promptDefaultModel as c, setAnthropicApiKey as d, writeOAuthCredentials as f, applyAuthChoice as i, promptModelAllowlist as l, resolvePreferredProviderForAuthChoice as n, applyModelFallbacksFromSelection as o, promptAuthChoiceGrouped as p, warnIfModelConfigLooksOff as r, applyPrimaryModel as s, WizardCancelledError as t, applyAuthProfileConfig as u };
|
|
657
|
+
export { applyModelFallbacksFromSelection as a, promptModelAllowlist as c, applyModelAllowlist as i, promptAuthChoiceGrouped as l, warnIfModelConfigLooksOff as n, applyPrimaryModel as o, applyAuthChoice as r, promptDefaultModel as s, resolvePreferredProviderForAuthChoice as t };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as readCodexCliCredentialsCached, l as listProfilesForProvider, p as ensureAuthProfileStore } from "./auth-profiles-Brxz2ojJ.js";
|
|
2
2
|
import { a as resolveAgentModelPrimary } from "./agent-scope-Dm8IL1Ks.js";
|
|
3
|
-
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, o as modelKey, r as buildModelAliasIndex, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
4
|
-
import {
|
|
5
|
-
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-
|
|
6
|
-
import { r as ensureAuthenticated } from "./noxsoft-auth-
|
|
7
|
-
import {
|
|
3
|
+
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, o as modelKey, r as buildModelAliasIndex, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-DcO3qJOu.js";
|
|
4
|
+
import { zn as loadModelCatalog } from "./subagent-registry-CPtElVX0.js";
|
|
5
|
+
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-KpsOXKDc.js";
|
|
6
|
+
import { r as ensureAuthenticated } from "./noxsoft-auth-CgCk5707.js";
|
|
7
|
+
import { d as setAnthropicApiKey, f as setGeminiApiKey, i as formatTokenK, p as writeOAuthCredentials, u as applyAuthProfileConfig } from "./prompts-BmgT_kkv.js";
|
|
8
|
+
import { t as applyNoxsoftBootstrap } from "./noxsoft-bootstrap-C4dSx7K_.js";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/auth-choice-options.ts
|
|
10
11
|
const AUTH_CHOICE_GROUP_DEFS = [
|
|
@@ -42,7 +43,7 @@ const BASE_AUTH_CHOICE_OPTIONS = [
|
|
|
42
43
|
{
|
|
43
44
|
value: "openaiCodex",
|
|
44
45
|
label: "OpenAI Codex OAuth",
|
|
45
|
-
hint: "Use Codex CLI credentials (gpt-5.
|
|
46
|
+
hint: "Use Codex CLI credentials (gpt-5.2-codex)"
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
49
|
value: "apiKey",
|
|
@@ -559,7 +560,7 @@ function applyModelFallbacksFromSelection(cfg, selection) {
|
|
|
559
560
|
//#region src/commands/auth-choice.apply.openai-codex.ts
|
|
560
561
|
const OPENAI_CODEX_PROVIDER = "openai-codex";
|
|
561
562
|
const OPENAI_CODEX_PROFILE_ID = "openai-codex:default";
|
|
562
|
-
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.
|
|
563
|
+
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.2-codex";
|
|
563
564
|
const OPENAI_CODEX_LOGIN_COMMAND = "anima models auth login --provider openai-codex";
|
|
564
565
|
async function applyAuthChoiceOpenAICodex(params) {
|
|
565
566
|
if (params.authChoice !== "openaiCodex") return null;
|
|
@@ -592,7 +593,7 @@ async function applyAuthChoice(params) {
|
|
|
592
593
|
if (params.authChoice === "noxsoft") {
|
|
593
594
|
const auth = await ensureAuthenticated({ description: "ANIMA auth profile selection" });
|
|
594
595
|
params.runtime.log(`NoxSoft ${auth.registered ? "registered" : "authenticated"}: ${auth.agent.display_name} (@${auth.agent.name})`);
|
|
595
|
-
return { config: params.config };
|
|
596
|
+
return { config: applyNoxsoftBootstrap(params.config, auth.agent) };
|
|
596
597
|
}
|
|
597
598
|
const codexResult = await applyAuthChoiceOpenAICodex(params);
|
|
598
599
|
if (codexResult) return codexResult;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { T as resolveAuthProfileDisplayLabel } from "./auth-profiles-Brxz2ojJ.js";
|
|
2
|
+
|
|
3
|
+
//#region src/agents/auth-health.ts
|
|
4
|
+
const DEFAULT_OAUTH_WARN_MS = 1440 * 60 * 1e3;
|
|
5
|
+
function resolveAuthProfileSource(_profileId) {
|
|
6
|
+
return "store";
|
|
7
|
+
}
|
|
8
|
+
function formatRemainingShort(remainingMs) {
|
|
9
|
+
if (remainingMs === void 0 || Number.isNaN(remainingMs)) return "unknown";
|
|
10
|
+
if (remainingMs <= 0) return "0m";
|
|
11
|
+
const minutes = Math.max(1, Math.round(remainingMs / 6e4));
|
|
12
|
+
if (minutes < 60) return `${minutes}m`;
|
|
13
|
+
const hours = Math.round(minutes / 60);
|
|
14
|
+
if (hours < 48) return `${hours}h`;
|
|
15
|
+
return `${Math.round(hours / 24)}d`;
|
|
16
|
+
}
|
|
17
|
+
function resolveOAuthStatus(expiresAt, now, warnAfterMs) {
|
|
18
|
+
if (!expiresAt || !Number.isFinite(expiresAt) || expiresAt <= 0) return { status: "missing" };
|
|
19
|
+
const remainingMs = expiresAt - now;
|
|
20
|
+
if (remainingMs <= 0) return {
|
|
21
|
+
status: "expired",
|
|
22
|
+
remainingMs
|
|
23
|
+
};
|
|
24
|
+
if (remainingMs <= warnAfterMs) return {
|
|
25
|
+
status: "expiring",
|
|
26
|
+
remainingMs
|
|
27
|
+
};
|
|
28
|
+
return {
|
|
29
|
+
status: "ok",
|
|
30
|
+
remainingMs
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function buildProfileHealth(params) {
|
|
34
|
+
const { profileId, credential, store, cfg, now, warnAfterMs } = params;
|
|
35
|
+
const label = resolveAuthProfileDisplayLabel({
|
|
36
|
+
cfg,
|
|
37
|
+
store,
|
|
38
|
+
profileId
|
|
39
|
+
});
|
|
40
|
+
const source = resolveAuthProfileSource(profileId);
|
|
41
|
+
if (credential.type === "api_key") return {
|
|
42
|
+
profileId,
|
|
43
|
+
provider: credential.provider,
|
|
44
|
+
type: "api_key",
|
|
45
|
+
status: "static",
|
|
46
|
+
source,
|
|
47
|
+
label
|
|
48
|
+
};
|
|
49
|
+
if (credential.type === "token") {
|
|
50
|
+
const expiresAt = typeof credential.expires === "number" && Number.isFinite(credential.expires) ? credential.expires : void 0;
|
|
51
|
+
if (!expiresAt || expiresAt <= 0) return {
|
|
52
|
+
profileId,
|
|
53
|
+
provider: credential.provider,
|
|
54
|
+
type: "token",
|
|
55
|
+
status: "static",
|
|
56
|
+
source,
|
|
57
|
+
label
|
|
58
|
+
};
|
|
59
|
+
const { status, remainingMs } = resolveOAuthStatus(expiresAt, now, warnAfterMs);
|
|
60
|
+
return {
|
|
61
|
+
profileId,
|
|
62
|
+
provider: credential.provider,
|
|
63
|
+
type: "token",
|
|
64
|
+
status,
|
|
65
|
+
expiresAt,
|
|
66
|
+
remainingMs,
|
|
67
|
+
source,
|
|
68
|
+
label
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
const hasRefreshToken = typeof credential.refresh === "string" && credential.refresh.length > 0;
|
|
72
|
+
const { status: rawStatus, remainingMs } = resolveOAuthStatus(credential.expires, now, warnAfterMs);
|
|
73
|
+
const status = hasRefreshToken && (rawStatus === "expired" || rawStatus === "expiring") ? "ok" : rawStatus;
|
|
74
|
+
return {
|
|
75
|
+
profileId,
|
|
76
|
+
provider: credential.provider,
|
|
77
|
+
type: "oauth",
|
|
78
|
+
status,
|
|
79
|
+
expiresAt: credential.expires,
|
|
80
|
+
remainingMs,
|
|
81
|
+
source,
|
|
82
|
+
label
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function buildAuthHealthSummary(params) {
|
|
86
|
+
const now = Date.now();
|
|
87
|
+
const warnAfterMs = params.warnAfterMs ?? DEFAULT_OAUTH_WARN_MS;
|
|
88
|
+
const providerFilter = params.providers ? new Set(params.providers.map((p) => p.trim()).filter(Boolean)) : null;
|
|
89
|
+
const profiles = Object.entries(params.store.profiles).filter(([_, cred]) => providerFilter ? providerFilter.has(cred.provider) : true).map(([profileId, credential]) => buildProfileHealth({
|
|
90
|
+
profileId,
|
|
91
|
+
credential,
|
|
92
|
+
store: params.store,
|
|
93
|
+
cfg: params.cfg,
|
|
94
|
+
now,
|
|
95
|
+
warnAfterMs
|
|
96
|
+
})).toSorted((a, b) => {
|
|
97
|
+
if (a.provider !== b.provider) return a.provider.localeCompare(b.provider);
|
|
98
|
+
return a.profileId.localeCompare(b.profileId);
|
|
99
|
+
});
|
|
100
|
+
const providersMap = /* @__PURE__ */ new Map();
|
|
101
|
+
for (const profile of profiles) {
|
|
102
|
+
const existing = providersMap.get(profile.provider);
|
|
103
|
+
if (!existing) providersMap.set(profile.provider, {
|
|
104
|
+
provider: profile.provider,
|
|
105
|
+
status: "missing",
|
|
106
|
+
profiles: [profile]
|
|
107
|
+
});
|
|
108
|
+
else existing.profiles.push(profile);
|
|
109
|
+
}
|
|
110
|
+
if (providerFilter) {
|
|
111
|
+
for (const provider of providerFilter) if (!providersMap.has(provider)) providersMap.set(provider, {
|
|
112
|
+
provider,
|
|
113
|
+
status: "missing",
|
|
114
|
+
profiles: []
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
for (const provider of providersMap.values()) {
|
|
118
|
+
if (provider.profiles.length === 0) {
|
|
119
|
+
provider.status = "missing";
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
const oauthProfiles = provider.profiles.filter((p) => p.type === "oauth");
|
|
123
|
+
const tokenProfiles = provider.profiles.filter((p) => p.type === "token");
|
|
124
|
+
const apiKeyProfiles = provider.profiles.filter((p) => p.type === "api_key");
|
|
125
|
+
const expirable = [...oauthProfiles, ...tokenProfiles];
|
|
126
|
+
if (expirable.length === 0) {
|
|
127
|
+
provider.status = apiKeyProfiles.length > 0 ? "static" : "missing";
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
const expiryCandidates = expirable.map((p) => p.expiresAt).filter((v) => typeof v === "number" && Number.isFinite(v));
|
|
131
|
+
if (expiryCandidates.length > 0) {
|
|
132
|
+
provider.expiresAt = Math.min(...expiryCandidates);
|
|
133
|
+
provider.remainingMs = provider.expiresAt - now;
|
|
134
|
+
}
|
|
135
|
+
const statuses = new Set(expirable.map((p) => p.status));
|
|
136
|
+
if (statuses.has("expired") || statuses.has("missing")) provider.status = "expired";
|
|
137
|
+
else if (statuses.has("expiring")) provider.status = "expiring";
|
|
138
|
+
else provider.status = "ok";
|
|
139
|
+
}
|
|
140
|
+
return {
|
|
141
|
+
now,
|
|
142
|
+
warnAfterMs,
|
|
143
|
+
profiles,
|
|
144
|
+
providers: Array.from(providersMap.values()).toSorted((a, b) => a.provider.localeCompare(b.provider))
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
//#endregion
|
|
149
|
+
export { buildAuthHealthSummary as n, formatRemainingShort as r, DEFAULT_OAUTH_WARN_MS as t };
|