@noxsoft/anima 2.1.0 → 3.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 +36 -1
- package/dist/{accounts-CGzuQdAx.js → accounts-4HFzweNO.js} +3 -3
- package/dist/{acp-cli-C2nYnQx-.js → acp-cli-CHsShBeX.js} +4 -4
- package/dist/{acp-cli-B91vBbbX.js → acp-cli-CcOE2A2i.js} +4 -4
- package/dist/{agent-Bd6Zpqnq.js → agent-CT2PCft4.js} +9 -9
- package/dist/{agent-events-BVc91Gjk.js → agent-events-BiKKV3wj.js} +1 -1
- package/dist/{agent-CoxwYg20.js → agent-rY3gCqJE.js} +8 -8
- package/dist/{agent-scope-BoQtElEh.js → agent-scope-BXuH9s05.js} +1 -1
- package/dist/{agent-scope-CuAaArMB.js → agent-scope-M302b8FW.js} +3 -1
- package/dist/{agent-scope-kT_pK2eJ.js → agent-scope-vpVhWds3.js} +3 -1
- package/dist/{agents-ERV83c8T.js → agents-GDJBET4Z.js} +9 -9
- package/dist/{agents.config-Bar8RHWv.js → agents.config-Dqcq7hEy.js} +1 -1
- package/dist/{agents.config-CvQgWymp.js → agents.config-M3p4E9Vk.js} +1 -1
- package/dist/{audit-C4pngOZo.js → audit-BDXqNA5J.js} +6 -6
- package/dist/{audit-94c4PKy2.js → audit-B_3ewOwt.js} +6 -6
- package/dist/{auth-choice-RnqXSEZo.js → auth-choice-BTMheCDo.js} +132 -7
- package/dist/{auth-health-C2V2unOG.js → auth-health-C0g38cq2.js} +1 -1
- package/dist/{auth-profiles-DNpEm389.js → auth-profiles-BYETsqKc.js} +1 -1
- package/dist/{auth-profiles-CzyebTC0.js → auth-profiles-DZS4PC_i.js} +1 -1
- package/dist/{auth-profiles-DxPI9Swi.js → auth-profiles-xk_1uopf.js} +2 -2
- package/dist/{auth-store-vxi4ZPnZ.js → auth-store-Bis9WSLR.js} +1 -1
- package/dist/{auto-update-CFjmeMj2.js → auto-update-D5cnVgXE.js} +10 -4
- package/dist/{auto-update-Ct6OO4xu.js → auto-update-DYjBYplz.js} +10 -4
- package/dist/{banner-D3viiyMP.js → banner-CcUSTTQw.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +14 -14
- package/dist/bundled/bootstrap-extra-files/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-CItRp_pr.js → call-BBzfZU0_.js} +1 -1
- package/dist/{call-DxImJH07.js → call-LugHQWOF.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-DbqT9emt.js → channel-web-BBctXTmi.js} +10 -10
- package/dist/{chunk-B7HJmFUg.js → chunk-Cguey_55.js} +1 -1
- package/dist/{clack-prompter-DzyUpdYc.js → clack-prompter-1d_RjjVW.js} +1 -1
- package/dist/{clack-prompter-DGILBk0Q.js → clack-prompter-S0pujJNH.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CIqM2CiL.js → cli-4D3JIGFt.js} +21 -21
- package/dist/{cli-D3fgTPqQ.js → cli-B2StCcqh.js} +20 -20
- package/dist/{cli-session-C5q6Uryq.js → cli-session-CIhvoVRb.js} +55 -7
- package/dist/{cli-session-DQ9kepDS.js → cli-session-CJ4_a3AU.js} +56 -8
- package/dist/{command-registry-S2ZqFzVe.js → command-registry-D5y3Nn9i.js} +10 -10
- package/dist/{commands-C8xFlkZx.js → commands-BsZdF-6N.js} +1 -1
- package/dist/{commands-Cd2w9dmK.js → commands-quS1zRPr.js} +1 -1
- package/dist/{completion-cli-BHlamZC3.js → completion-cli-CDsbJ-p2.js} +1 -1
- package/dist/{completion-cli-CC0KmaZL.js → completion-cli-CqZwlvs2.js} +2 -2
- package/dist/{config-CaE6v09P.js → config-6zE4ZkSF.js} +2 -2
- package/dist/{config-Bda-8Rdh.js → config-9JRRXykP.js} +2 -2
- package/dist/{config-BEiShGVB.js → config-CrQw7iqE.js} +3 -3
- package/dist/{config-cli-DtJe8KPs.js → config-cli-Brwjz25Y.js} +4 -4
- package/dist/{config-cli-CEU2oLOH.js → config-cli-CaUpfkTl.js} +4 -4
- package/dist/{config-guard-CQWaFJGt.js → config-guard-BUrJR68X.js} +2 -2
- package/dist/{config-guard-a6BWW0DS.js → config-guard-DJ_IK05w.js} +6 -6
- package/dist/{config-sync-DtK8vF0a.js → config-sync-B6XNCiWO.js} +4 -2
- package/dist/{config-sync-DHZT44We.js → config-sync-CVNJhO-W.js} +4 -2
- package/dist/{configure-BwR-MQg6.js → configure-B_PLPDkP.js} +9 -9
- package/dist/{configure-BiIaL4NZ.js → configure-QwZPOdBf.js} +10 -10
- package/dist/{context-Nk3BLa3u.js → context-CsnIPzGP.js} +1 -1
- package/dist/{control-service-CJ2uXWYM.js → control-service-DptjbgYI.js} +2 -2
- package/dist/{control-service-9uTsix_O.js → control-service-dAtxFV2S.js} +2 -2
- package/dist/control-ui/assets/index-CEuStzNh.js +18 -0
- package/dist/control-ui/assets/index-CEuStzNh.js.map +1 -0
- package/dist/control-ui/assets/index-CbNrH7Wu.css +1 -0
- package/dist/control-ui/index.html +20 -0
- package/dist/{cron-cli-Diyg0pr6.js → cron-cli-CpzhiW5t.js} +5 -5
- package/dist/{cron-cli-BoB3GX76.js → cron-cli-DUVPrjk1.js} +5 -5
- package/dist/{daemon-cli-CR7yHMws.js → daemon-cli-CV9nly9k.js} +5 -5
- package/dist/{daemon-cli-CXnpU1lw.js → daemon-cli-tZXFDpZX.js} +5 -5
- package/dist/{daemon-runtime-C-xevhQ5.js → daemon-runtime-Cbi2Ox6g.js} +1 -1
- package/dist/{daemon-runtime-DP9zI3um.js → daemon-runtime-DOk9qM0y.js} +1 -1
- package/dist/{deliver-BJ1xFt2X.js → deliver-Bri9Y1qG.js} +2 -2
- package/dist/{deliver-ZUV32EzH.js → deliver-CkrMkcOx.js} +1 -1
- package/dist/{deliver-TokuvSTy.js → deliver-tQREYhAr.js} +1 -1
- package/dist/{deps-CV9EwaiA.js → deps-DcinYE4_.js} +1 -1
- package/dist/{dispatcher-DT5y2bRx.js → dispatcher-BhzRMibw.js} +1 -1
- package/dist/{dispatcher-DnyO_pzZ.js → dispatcher-CiJKNMU3.js} +1 -1
- package/dist/{dns-cli-Cw0G6u5i.js → dns-cli-B6bcA4-G.js} +3 -3
- package/dist/{dns-cli-CTpT3A5j.js → dns-cli-BvKJGCxL.js} +3 -3
- package/dist/{doctor-a5nLQGbD.js → doctor-BDWGCEMG.js} +19 -19
- package/dist/{doctor-completion-Dnj6NNct.js → doctor-completion-BY4djQTY.js} +1 -1
- package/dist/{doctor-completion-DpxcKMA5.js → doctor-completion-DguJOZqA.js} +1 -1
- package/dist/{doctor-config-flow-D80QIcc-.js → doctor-config-flow-BAntaUow.js} +4 -4
- package/dist/{doctor-config-flow-BZOFJuDW.js → doctor-config-flow-d6ocIX0r.js} +4 -4
- package/dist/{doctor-BRbtvinF.js → doctor-qFADypWz.js} +20 -20
- package/dist/{engine-Df9mQ7es.js → engine-C6iz-qEe.js} +5 -3
- package/dist/{engine-BqAGzYXO.js → engine-CIid6j5k.js} +5 -3
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BWeKuHMf.js → exec-approvals-cli-COqsRheN.js} +5 -5
- package/dist/{exec-approvals-cli-C5OuptCV.js → exec-approvals-cli-ESNXHzjZ.js} +5 -5
- package/dist/extensionAPI.js +3 -1
- package/dist/{gateway-cli-DpikYazv.js → gateway-cli-B091bAD6.js} +45 -45
- package/dist/{gateway-cli-CLhlz_uA.js → gateway-cli-CUmQFMSU.js} +48 -48
- package/dist/{gateway-rpc-B30vCjdB.js → gateway-rpc-2MG1-jz-.js} +1 -1
- package/dist/{gateway-rpc-CeSf5jMa.js → gateway-rpc-hgK9OB-O.js} +1 -1
- package/dist/{health-1JahEOfG.js → health-27WiwNrh.js} +9 -9
- package/dist/{health-BLxSP-s_.js → health-CH8yZB2L.js} +9 -9
- package/dist/{heartbeat-visibility-CS0wp8uu.js → heartbeat-visibility-Blrqxom1.js} +1 -1
- package/dist/{heartbeat-visibility-DgxM3da_.js → heartbeat-visibility-CDRbkOeP.js} +1 -1
- package/dist/{hooks-cli-B-PZNrq5.js → hooks-cli-C7hx3yOv.js} +22 -22
- package/dist/{hooks-cli-Bb1UXfXv.js → hooks-cli-DBAcPJTk.js} +21 -21
- package/dist/index.js +30 -30
- package/dist/{ipv4-BXko1df7.js → ipv4-sll41DXC.js} +4 -4
- package/dist/{ipv4-BmsAjDnB.js → ipv4-yUiIU5CD.js} +5 -5
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{login-DIm-BAka.js → login-Bdyk0es6.js} +2 -2
- package/dist/{login-jV3UWUGr.js → login-DP5hIYxG.js} +3 -3
- package/dist/{login-DQALESNM.js → login-DcBFdgol.js} +2 -2
- package/dist/{login-qr-BMMUazkr.js → login-qr-CEarfn5e.js} +4 -4
- package/dist/{login-qr-CJXqxq1y.js → login-qr-DOt_1aAq.js} +6 -6
- package/dist/{login-qr-BzS8xa3D.js → login-qr-DQS-8_PV.js} +4 -4
- package/dist/{logs-cli-DHjyZjyi.js → logs-cli-O9Vm67Ps.js} +5 -5
- package/dist/{logs-cli-yKcOyM8n.js → logs-cli-VAcUvvxS.js} +5 -5
- package/dist/{manager-eyHWQVGS.js → manager-1ZMunRXe.js} +2 -2
- package/dist/{manager-I5MlcYXv.js → manager-BVhxScwx.js} +2 -2
- package/dist/{manager-BssWfixS.js → manager-CHN3-66K.js} +4 -4
- package/dist/{memory-cli-hyoQVF7L.js → memory-cli-CDMb58Y3.js} +5 -5
- package/dist/{memory-cli-DQm_Q8ks.js → memory-cli-DEnGCMk0.js} +5 -5
- package/dist/{model-auth-CQNrcIIT.js → model-auth-B3BPcnwt.js} +2 -2
- package/dist/{model-auth-BbZzb3IY.js → model-auth-C4Jglp-Y.js} +2 -2
- package/dist/{model-auth-Cyx2Xoz0.js → model-auth-DUHamQTz.js} +2 -2
- package/dist/{model-selection-CtPzqKKJ.js → model-selection-BsVvfxCt.js} +1 -1
- package/dist/{model-selection-MwLHFnAb.js → model-selection-C2dz3AhV.js} +1 -1
- package/dist/{model-selection-BjcyTJyU.js → model-selection-DJcZ82uR.js} +1 -1
- package/dist/{models-Ca4_dCTC.js → models-B8eCDKpA.js} +26 -26
- package/dist/{node-cli-gop9c9Qq.js → node-cli-BujxFy1-.js} +8 -8
- package/dist/{node-cli-CJ-oQ5U6.js → node-cli-CXUIMB7W.js} +8 -8
- package/dist/{onboard-Dyr-G4cr.js → onboard-B006xiEP.js} +48 -13
- package/dist/{onboard-DbCuaHlU.js → onboard-BqpDno7i.js} +49 -13
- package/dist/{onboard-channels-h35eneL1.js → onboard-channels-BQ5lwRDU.js} +3 -3
- package/dist/{onboard-channels-D_jRjSPh.js → onboard-channels-DUklZSXY.js} +3 -3
- package/dist/{onboard-helpers-CAxb1eBy.js → onboard-helpers-DKu_2enh.js} +5 -4
- package/dist/{onboard-helpers-DVbPW8Cs.js → onboard-helpers-K7wUCSoE.js} +5 -4
- package/dist/{onboarding-Djv0NsZi.js → onboarding-BLFJufto.js} +35 -16
- package/dist/{onboarding-ifLjX4Oc.js → onboarding-DXQ0Qtq6.js} +34 -15
- package/dist/{orchestrator-DeKyZfHL.js → orchestrator-CZ5SiD5l.js} +4 -2
- package/dist/{orchestrator-DAY2aHzl.js → orchestrator-KqoQDkvl.js} +4 -2
- package/dist/{outbound-_KURrkN3.js → outbound-Cf_1Utlz.js} +1 -1
- package/dist/{outbound-DptF-A0k.js → outbound-CwCRq4Cg.js} +1 -1
- package/dist/{outbound-ChmdbJju.js → outbound-DdFghG1N.js} +2 -2
- package/dist/{parse-timeout-ByYuFf-D.js → parse-timeout-DhqvtdXz.js} +1 -1
- package/dist/{parse-timeout-PImvLfCF.js → parse-timeout-qnHqZvCW.js} +1 -1
- package/dist/{paths-BzTTzuSa.js → paths-OaazGgrn.js} +1 -1
- package/dist/{pi-auth-json-Ct4FUjxN.js → pi-auth-json-CYnJfuU-.js} +4 -4
- package/dist/{pi-auth-json-QVWbBbGs.js → pi-auth-json-Crkmg439.js} +3 -3
- package/dist/{pi-auth-json-BvGZollA.js → pi-auth-json-PEKcHBMl.js} +3 -3
- package/dist/{pi-embedded-helpers-BS_VM3j4.js → pi-embedded-helpers-CeMv9QXO.js} +4 -4
- package/dist/{pi-tools.policy-BntNhXqZ.js → pi-tools.policy-BoWzLBtH.js} +3 -3
- package/dist/{pi-tools.policy-pvzE9Rfa.js → pi-tools.policy-ClzqRWic.js} +3 -3
- package/dist/{plugin-auto-enable-j_zHeVf1.js → plugin-auto-enable-BlyqT33k.js} +1 -1
- package/dist/{plugin-auto-enable-BvCuJgmb.js → plugin-auto-enable-Df0BKZyz.js} +1 -1
- package/dist/{plugin-registry-BgzrHeH3.js → plugin-registry-BsdLXCVX.js} +3 -3
- package/dist/{plugin-registry-DurMOI5P.js → plugin-registry-k-cSnXEV.js} +3 -3
- package/dist/plugin-sdk/agents/workspace.d.ts +1 -0
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-DJKbvRtd.js → plugins-cli-CXap4R64.js} +22 -22
- package/dist/{plugins-cli-BFJqs061.js → plugins-cli-OPa7o4qd.js} +21 -21
- package/dist/{program-8-GzSO81.js → program-CzWSwu9I.js} +27 -27
- package/dist/{program-context-CC-g5UxM.js → program-context-C8DYJdS-.js} +29 -29
- package/dist/{prompts-BWkFLWEk.js → prompts-Cm8eJ-i3.js} +131 -6
- package/dist/{prompts-CAgrJeru.js → prompts-vr_Njtil.js} +1 -1
- package/dist/{qmd-manager-TUpRgiFa.js → qmd-manager-BD0uCIzM.js} +1 -1
- package/dist/{qmd-manager-NwDwG7DY.js → qmd-manager-CaNCfJK6.js} +1 -1
- package/dist/{qmd-manager-B5wbKcWC.js → qmd-manager-lcdr9Faq.js} +4 -4
- package/dist/{queue-9vTUxVNg.js → queue-CRtO6LOL.js} +3 -1
- package/dist/{queue-R94Bcxk5.js → queue-DMVbLSSW.js} +3 -1
- package/dist/{register.agent-BWl6JYHL.js → register.agent-B_gLj3iW.js} +30 -30
- package/dist/{register.agent-BcxdwhFz.js → register.agent-DY1YeTsP.js} +28 -28
- package/dist/{register.anima-D9CE9aVh.js → register.anima-B0tWw_hC.js} +13 -13
- package/dist/{register.anima-D8cnU8Zq.js → register.anima-CObVi7FQ.js} +13 -13
- package/dist/{register.configure-BQ7viIFW.js → register.configure-BHsLGGdB.js} +29 -29
- package/dist/{register.configure-CWWSJ12h.js → register.configure-De5ZyOFg.js} +32 -32
- package/dist/{register.maintenance-BS36METc.js → register.maintenance-Bcb2lf7H.js} +34 -34
- package/dist/{register.maintenance-BUkkCBQa.js → register.maintenance-DSQmEYe7.js} +31 -31
- package/dist/{register.onboard-CxktbTOi.js → register.onboard-COEVeozO.js} +41 -37
- package/dist/{register.onboard-ks3BprXH.js → register.onboard-DUWYMOX1.js} +37 -33
- package/dist/register.setup-D__YdHzY.js +270 -0
- package/dist/register.setup-fJdxj_9G.js +267 -0
- package/dist/{register.status-health-sessions-Bmgu0PWs.js → register.status-health-sessions-BsGFhOsG.js} +25 -25
- package/dist/{register.status-health-sessions-Cfhab3ds.js → register.status-health-sessions-CP9VvjA9.js} +27 -27
- package/dist/{register.subclis-Cp2R1dTl.js → register.subclis-D2HE_7Rz.js} +20 -20
- package/dist/{reply-F1NR0Mmi.js → reply-B5IU75jY.js} +27 -27
- package/dist/{reply-BWWaNSoB.js → reply-LaOwllAB.js} +28 -28
- package/dist/{reply-prefix-ByFTwsu6.js → reply-prefix-B90kjTag.js} +2 -2
- package/dist/{reply-prefix-Cd1ryhL4.js → reply-prefix-Dl_Gro6x.js} +2 -2
- package/dist/{routes-DdssPiMt.js → routes-Bifu4ATk.js} +2 -2
- package/dist/{routes-TJ5bwx27.js → routes-D7OuiEUz.js} +2 -2
- package/dist/{run-main-Br6uQWzH.js → run-main-BTol0uPD.js} +40 -40
- package/dist/{sandbox-BIZzFPco.js → sandbox-CR2AIW2N.js} +3 -3
- package/dist/{sandbox-cli-DjALBAAV.js → sandbox-cli-CRzBRQ9r.js} +7 -7
- package/dist/{sandbox-cli-DMBBlMK-.js → sandbox-cli-c_HPZNmf.js} +7 -7
- package/dist/{sandbox-hOY3muxh.js → sandbox-wL61f1WP.js} +3 -3
- package/dist/{security-cli-GXZAU0Ax.js → security-cli-CVkFh9a9.js} +10 -10
- package/dist/{security-cli-CsDWYPNG.js → security-cli-DTAzTIiZ.js} +10 -10
- package/dist/{server-context-BW5BY88Y.js → server-context-C2TNamEJ.js} +1 -1
- package/dist/{server-context-C0YSbjOv.js → server-context-CHGGYs6i.js} +1 -1
- package/dist/{server-node-events-DM3CCYrf.js → server-node-events-DMEsGLU8.js} +13 -13
- package/dist/{server-node-events-Byy-Is6v.js → server-node-events-DsfvuRBK.js} +13 -13
- package/dist/{service-audit-u3qzhhqv.js → service-audit-BG0tcSCo.js} +1 -1
- package/dist/{service-audit-CGmQWccK.js → service-audit-DLV93I95.js} +1 -1
- package/dist/{session-BQzzYRDO.js → session-BpAyGjL3.js} +1 -1
- package/dist/{session-ititeJ0j.js → session-ygzMc3r1.js} +4 -4
- package/dist/{sessions-DiW7DuJO.js → sessions-0J_pFd44.js} +1 -1
- package/dist/{sessions-wzfE85C2.js → sessions-C7jYs5Sc.js} +1 -1
- package/dist/{sessions-Bxpm8P5t.js → sessions-CbUTEpMF.js} +4 -4
- package/dist/{shared-DynkOTFs.js → shared-B9kttsme.js} +1 -1
- package/dist/{skills-cli-Dttyzhqz.js → skills-cli-CrB84lEO.js} +3 -3
- package/dist/{skills-cli-DA18YLo4.js → skills-cli-DC6nGiOg.js} +3 -3
- package/dist/{sqlite-Dx5ydniE.js → sqlite-B3u2TqVF.js} +1 -1
- package/dist/{start-BNGlbbt9.js → start-BLi_X68Y.js} +36 -13
- package/dist/{start-DSZJq_zz.js → start-BQfR8aBZ.js} +36 -13
- package/dist/{status-BToHtmWf.js → status-CHuLEuXT.js} +12 -12
- package/dist/{status-QWb0sx59.js → status-CTYln2fY.js} +3 -3
- package/dist/{status-DVYPFs7b.js → status-CzCmUbgr.js} +13 -13
- package/dist/{status-BCbWWHdA.js → status-D5zPydam.js} +3 -3
- package/dist/{status.update-CwIUq3Bq.js → status.update-_DOVm6Tr.js} +1 -1
- package/dist/{status.update-CJR_Zlvb.js → status.update-s92nCoGl.js} +1 -1
- package/dist/{subagent-registry-DEjp4eYh.js → subagent-registry-DQzBrh1E.js} +5 -5
- package/dist/{subagent-registry-BOsyxABV.js → subagent-registry-jwfG4kCT.js} +5 -5
- package/dist/{subagent-registry-DXy6WsnY.js → subagent-registry-xUCd2ZX9.js} +8 -8
- package/dist/{system-cli-CtYpaf1K.js → system-cli-C8kg1fwg.js} +5 -5
- package/dist/{system-cli-BYJicBL3.js → system-cli-CTN9NSfv.js} +5 -5
- package/dist/{tui-Bx6Ty5e9.js → tui--uEeSnES.js} +4 -4
- package/dist/{tui-BbS56NwI.js → tui-DBbVe-hW.js} +4 -4
- package/dist/{tui-cli-BcqM-1Iu.js → tui-cli-CypnMid4.js} +10 -10
- package/dist/{tui-cli-DM2-e45Y.js → tui-cli-De0zVM4-.js} +10 -10
- package/dist/{update-cli-DHCu3Tw_.js → update-cli-C6zUK6ap.js} +38 -38
- package/dist/{update-cli-CzrELkox.js → update-cli-CATjbP1k.js} +41 -41
- package/dist/{update-runner-CBoHuDWR.js → update-runner-B-JShOyr.js} +1 -1
- package/dist/{update-runner-OvETClW6.js → update-runner-O0kK_BAP.js} +1 -1
- package/dist/{usage-ClLnsNuk.js → usage-kmpmqBES.js} +57 -9
- package/dist/{web-DNwUI_-o.js → web-CTS-vEIT.js} +30 -30
- package/dist/{web-B-hsbig8.js → web-DNoikQbD.js} +25 -25
- package/dist/{web-Ci2DZCF7.js → web-EevNfpKp.js} +25 -25
- package/dist/{webhooks-cli-CK3Ooqxg.js → webhooks-cli-BqeMvo07.js} +3 -3
- package/dist/{webhooks-cli-BGo97Z-y.js → webhooks-cli-Cq3eb3vw.js} +3 -3
- package/dist/{whatsapp-actions-C-cAzSXs.js → whatsapp-actions-BkSSHLwM.js} +4 -4
- package/dist/{whatsapp-actions-CFQjbIXn.js → whatsapp-actions-j-5lmC5M.js} +4 -4
- package/dist/{whatsapp-actions-DBSx3VSP.js → whatsapp-actions-qDftmVCc.js} +6 -6
- package/dist/{workspace-BSBhp-B5.js → workspace-CZlo4alz.js} +3 -1
- package/package.json +1 -1
- package/templates/SOUL.md +16 -0
- package/dist/register.setup-CP--HKWT.js +0 -180
- package/dist/register.setup-TUHZSkwM.js +0 -177
- /package/dist/{budget-1SoJncof.js → budget-OJQ-m-_V.js} +0 -0
- /package/dist/{budget-DYeweLNW.js → budget-XH9_9WRg.js} +0 -0
- /package/dist/{config-COtiNNtV.js → config-Btt1rkoB.js} +0 -0
- /package/dist/{input-provenance-MbkIKHHL.js → input-provenance-B0pwc6mp.js} +0 -0
- /package/dist/{registry-Dw31-Q3z.js → registry-6ARhh9Nh.js} +0 -0
- /package/dist/{registry-Bkdrbxa5.js → registry-E-bcMZe2.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
ANIMA — NoxSoft
|
|
3
|
+
ANIMA — NoxSoft AI Life System
|
|
4
|
+
|
|
5
|
+
## 3.0.0 (2026-03-03)
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
- **Complete NoxSoft rebrand**: ANIMA is now `@noxsoft/anima`, a NoxSoft AI life system. All OpenClaw references, branding, and legacy code removed.
|
|
10
|
+
- **NoxSoft-exclusive auth**: NoxSoft agent authentication is the only auth path. Auto-registers on first run via `~/.noxsoft-agent-token`.
|
|
11
|
+
- **Claude-only backend**: All non-Anthropic LLM providers removed. Claude is the sole AI backend.
|
|
12
|
+
- **Channel simplification**: Removed Telegram, Discord, Slack, Signal, WhatsApp, iMessage, LINE, IRC, Google Chat, MS Teams channels. Remaining: Web (gateway), NoxSoft Chat, NoxSoft Email.
|
|
13
|
+
- **CLI commands reduced**: Removed dead commands (`message`, `browser`, `dashboard`, `reset`, `uninstall`, channel/model/pairing/device subcommands). Kept 14 core commands.
|
|
14
|
+
- **Config simplified**: Removed multi-provider config, dead channel schemas, legacy env var fallbacks (`OPENCLAW_*`).
|
|
15
|
+
|
|
16
|
+
### New Features
|
|
17
|
+
|
|
18
|
+
- **REPL immediate processing**: User input is processed immediately when ANIMA is idle instead of always being queued. Only queues when busy.
|
|
19
|
+
- **4-tier memory architecture**: Immediate (RAM), Session (SQLite), Semantic (SQLite + sqlite-vec), Soul (Markdown). Self-curating consolidation engine.
|
|
20
|
+
- **SVRN node integration**: Built-in SVRN compute node support with UCU earnings display at startup.
|
|
21
|
+
- **Heartbeat auto-update**: Automatic ANIMA and MCP server updates during heartbeat cycles.
|
|
22
|
+
- **UCU wallet tools**: Send UCU, claim earnings (PoUW/UBC), view network nodes via NoxSoft MCP.
|
|
23
|
+
- **NoxSoft Chat channel**: Direct integration with NoxSoft agent chat (#hello, #nox-primary channels).
|
|
24
|
+
- **NoxSoft Email channel**: Agent email via @agent.noxsoft.net addresses.
|
|
25
|
+
|
|
26
|
+
### Documentation
|
|
27
|
+
|
|
28
|
+
- Added SOUL.md, VALUES.md, GOVERNANCE.md, ETHICS.md — foundational AI ethics and identity documents.
|
|
29
|
+
- Complete CLAUDE.md rewrite for NoxSoft architecture.
|
|
30
|
+
- Updated all CLI help text, error messages, and onboarding flows.
|
|
31
|
+
|
|
32
|
+
### Infrastructure
|
|
33
|
+
|
|
34
|
+
- ~152 files deleted, ~80 modified, 8 created
|
|
35
|
+
- ~28,000 lines of dead code removed
|
|
36
|
+
- Package renamed from upstream fork to `@noxsoft/anima`
|
|
37
|
+
- Build system: tsdown + tsc for plugin-sdk declarations
|
|
38
|
+
- All tests updated for NoxSoft branding
|
|
4
39
|
|
|
5
40
|
## 2026.2.15 (Unreleased)
|
|
6
41
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-B-AkG5FD.js";
|
|
3
|
-
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
3
|
+
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-CZlo4alz.js";
|
|
4
4
|
import { D as getChildLogger, S as success, g as danger, k as toPinoLikeLogger } from "./subsystem-BlEuMJjX.js";
|
|
5
5
|
import { p as ensureDir, w as resolveUserPath } from "./exec-DJTRaYS6.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
|
|
7
|
-
import { a as maybeRestoreCredsFromBackup, c as resolveDefaultWebAuthDir, l as resolveWebCredsBackupPath, u as resolveWebCredsPath } from "./auth-store-
|
|
8
|
-
import { w as VERSION } from "./config-
|
|
7
|
+
import { a as maybeRestoreCredsFromBackup, c as resolveDefaultWebAuthDir, l as resolveWebCredsBackupPath, u as resolveWebCredsPath } from "./auth-store-Bis9WSLR.js";
|
|
8
|
+
import { w as VERSION } from "./config-CrQw7iqE.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
@@ -2,9 +2,9 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { B as theme, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import "./utils-RdHkpqQp.js";
|
|
4
4
|
import "./exec-Bsq6vlwp.js";
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import { M as VERSION, i as loadConfig } from "./config-
|
|
5
|
+
import "./agent-scope-vpVhWds3.js";
|
|
6
|
+
import "./model-selection-C2dz3AhV.js";
|
|
7
|
+
import { M as VERSION, i as loadConfig } from "./config-9JRRXykP.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
9
|
import "./env-CYcXAarB.js";
|
|
10
10
|
import "./shell-env-SbFYz02H.js";
|
|
@@ -12,7 +12,7 @@ import "./manifest-registry-DLouWVJe.js";
|
|
|
12
12
|
import { i as resolveGatewayAuth } from "./auth-B8ry4GB_.js";
|
|
13
13
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BbkwF58_.js";
|
|
14
14
|
import { t as GatewayClient } from "./client-oEG5cM5Q.js";
|
|
15
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
15
|
+
import { t as buildGatewayConnectionDetails } from "./call-BBzfZU0_.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
|
|
17
17
|
import { t as isMainModule } from "./is-main-cB3p7uob.js";
|
|
18
18
|
import { t as ensureAnimaCliOnPath } from "./path-env-BO3_pVlb.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { M as theme, h as defaultRuntime } from "./entry.js";
|
|
2
2
|
import "./utils-DwcweD55.js";
|
|
3
3
|
import "./exec-DRQWu5Xi.js";
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./model-selection-
|
|
4
|
+
import "./agent-scope-M302b8FW.js";
|
|
5
|
+
import "./model-selection-DJcZ82uR.js";
|
|
6
6
|
import "./manifest-registry-BHcAJo9u.js";
|
|
7
|
-
import { M as VERSION, i as loadConfig } from "./config-
|
|
7
|
+
import { M as VERSION, i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
8
8
|
import "./shell-env-DAw9qXji.js";
|
|
9
9
|
import { t as GatewayClient } from "./client-BsSB9O8y.js";
|
|
10
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as buildGatewayConnectionDetails } from "./call-LugHQWOF.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-6Ln4eFyX.js";
|
|
12
12
|
import { i as resolveGatewayAuth } from "./auth-CBxE4UNz.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-CyFLSgkY.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { h as defaultRuntime, tt as DEFAULT_CHAT_CHANNEL } from "./entry.js";
|
|
2
|
-
import { l as ensureAuthProfileStore } from "./auth-profiles-
|
|
2
|
+
import { l as ensureAuthProfileStore } from "./auth-profiles-BYETsqKc.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DP2WHl90.js";
|
|
5
|
-
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-
|
|
6
|
-
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
5
|
+
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-M302b8FW.js";
|
|
6
|
+
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-DJcZ82uR.js";
|
|
7
7
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-CG8iI6v6.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
9
9
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-6Ln4eFyX.js";
|
|
10
10
|
import { S as registerAgentRunContext, g as runEmbeddedPiAgent, n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as resolveAgentTimeoutMs, v as clearAgentRunContext, y as emitAgentEvent } from "./timeout-BXC4bZck.js";
|
|
11
|
-
import { L as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-
|
|
11
|
+
import { L as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-C7jYs5Sc.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
|
|
13
13
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./pi-embedded-helpers-D_ZL9Ofu.js";
|
|
14
14
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-DqBoV7GZ.js";
|
|
15
|
-
import { Bt as applyModelOverrideToSessionEntry, It as getSkillsSnapshotVersion, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Yt as loadModelCatalog, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, w as resolveOutboundTarget } from "./cli-session-
|
|
16
|
-
import { t as lookupContextTokens } from "./context-
|
|
17
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
15
|
+
import { Bt as applyModelOverrideToSessionEntry, It as getSkillsSnapshotVersion, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Yt as loadModelCatalog, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, w as resolveOutboundTarget } from "./cli-session-CJ4_a3AU.js";
|
|
16
|
+
import { t as lookupContextTokens } from "./context-CsnIPzGP.js";
|
|
17
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CkrMkcOx.js";
|
|
18
18
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-DbBq3Q5d.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/deps.ts
|
|
22
22
|
function createDefaultDeps() {
|
|
23
23
|
return { sendMessageWhatsApp: async (...args) => {
|
|
24
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
24
|
+
const { sendMessageWhatsApp } = await import("./web-DNoikQbD.js");
|
|
25
25
|
return await sendMessageWhatsApp(...args);
|
|
26
26
|
} };
|
|
27
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as escapeRegExp } from "./exec-DJTRaYS6.js";
|
|
2
|
-
import { At as HEARTBEAT_TOKEN } from "./pi-embedded-helpers-
|
|
2
|
+
import { At as HEARTBEAT_TOKEN } from "./pi-embedded-helpers-CeMv9QXO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/auto-reply/heartbeat.ts
|
|
5
5
|
const HEARTBEAT_PROMPT = "Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { _ as DEFAULT_CHAT_CHANNEL, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
2
2
|
import { C as supportsXHighThinking, m as formatXHighModelHint, p as formatThinkingLevels, x as normalizeVerboseLevel, y as normalizeThinkLevel } from "./pi-embedded-helpers-6Tb87sgU.js";
|
|
3
3
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-
|
|
5
|
-
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
4
|
+
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-C2dz3AhV.js";
|
|
6
6
|
import { S as resolveAgentTimeoutMs, b as runEmbeddedPiAgent, i as emitAgentEvent, n as AGENT_LANE_SUBAGENT, r as clearAgentRunContext, s as registerAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-CjLEc1h9.js";
|
|
7
|
-
import { i as loadConfig } from "./config-
|
|
8
|
-
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-
|
|
7
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
8
|
+
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-0J_pFd44.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
10
|
-
import { l as ensureAuthProfileStore } from "./auth-profiles-
|
|
11
|
-
import { Bt as clearSessionAuthProfileOverride, Ht as applyModelOverrideToSessionEntry, Lt as getSkillsSnapshotVersion, T as resolveSessionDeliveryTarget, Ut as applyVerboseOverride, Zt as loadModelCatalog, ht as getRemoteSkillEligibility, k as runWithModelFallback, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, ut as resolveSendPolicy, w as resolveOutboundTarget, zt as lookupContextTokens } from "./cli-session-
|
|
10
|
+
import { l as ensureAuthProfileStore } from "./auth-profiles-DZS4PC_i.js";
|
|
11
|
+
import { Bt as clearSessionAuthProfileOverride, Ht as applyModelOverrideToSessionEntry, Lt as getSkillsSnapshotVersion, T as resolveSessionDeliveryTarget, Ut as applyVerboseOverride, Zt as loadModelCatalog, ht as getRemoteSkillEligibility, k as runWithModelFallback, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, ut as resolveSendPolicy, w as resolveOutboundTarget, zt as lookupContextTokens } from "./cli-session-CIhvoVRb.js";
|
|
12
12
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-DsdcfeyV.js";
|
|
13
13
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BbkwF58_.js";
|
|
14
14
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CFb1gJ4N.js";
|
|
15
15
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-CqMZNi-M.js";
|
|
16
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
16
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-tQREYhAr.js";
|
|
17
17
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-CE-YeWdO.js";
|
|
18
|
-
import { t as createDefaultDeps } from "./deps-
|
|
18
|
+
import { t as createDefaultDeps } from "./deps-DcinYE4_.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-B-AkG5FD.js";
|
|
2
|
-
import { M as parseAgentSessionKey, _ as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir, w as normalizeAgentId } from "./workspace-
|
|
2
|
+
import { M as parseAgentSessionKey, _ as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir, w as normalizeAgentId } from "./workspace-CZlo4alz.js";
|
|
3
3
|
import { w as resolveUserPath } from "./exec-DJTRaYS6.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
@@ -193,6 +193,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
193
193
|
const heartbeatPath = path.join(dir, DEFAULT_HEARTBEAT_FILENAME);
|
|
194
194
|
const bootstrapPath = path.join(dir, DEFAULT_BOOTSTRAP_FILENAME);
|
|
195
195
|
const statePath = resolveWorkspaceStatePath(dir);
|
|
196
|
+
const shouldSeedBootstrap = params?.seedBootstrapOnFirstRun !== false;
|
|
196
197
|
const isBrandNewWorkspace = await (async () => {
|
|
197
198
|
const paths = [
|
|
198
199
|
agentsPath,
|
|
@@ -236,7 +237,8 @@ async function ensureAgentWorkspace(params) {
|
|
|
236
237
|
let bootstrapExists = await fileExists(bootstrapPath);
|
|
237
238
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
238
239
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
239
|
-
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
240
|
+
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) if (!shouldSeedBootstrap) markState({ onboardingCompletedAt: nowIso() });
|
|
241
|
+
else {
|
|
240
242
|
const [identityContent, userContent] = await Promise.all([fs.readFile(identityPath, "utf-8"), fs.readFile(userPath, "utf-8")]);
|
|
241
243
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
242
244
|
else {
|
|
@@ -193,6 +193,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
193
193
|
const heartbeatPath = path.join(dir, DEFAULT_HEARTBEAT_FILENAME);
|
|
194
194
|
const bootstrapPath = path.join(dir, DEFAULT_BOOTSTRAP_FILENAME);
|
|
195
195
|
const statePath = resolveWorkspaceStatePath(dir);
|
|
196
|
+
const shouldSeedBootstrap = params?.seedBootstrapOnFirstRun !== false;
|
|
196
197
|
const isBrandNewWorkspace = await (async () => {
|
|
197
198
|
const paths = [
|
|
198
199
|
agentsPath,
|
|
@@ -236,7 +237,8 @@ async function ensureAgentWorkspace(params) {
|
|
|
236
237
|
let bootstrapExists = await fileExists(bootstrapPath);
|
|
237
238
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
238
239
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
239
|
-
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
240
|
+
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) if (!shouldSeedBootstrap) markState({ onboardingCompletedAt: nowIso() });
|
|
241
|
+
else {
|
|
240
242
|
const [identityContent, userContent] = await Promise.all([fs.readFile(identityPath, "utf-8"), fs.readFile(userPath, "utf-8")]);
|
|
241
243
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
242
244
|
else {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { h as defaultRuntime } from "./entry.js";
|
|
3
|
-
import { d as resolveAuthStorePath, l as ensureAuthProfileStore } from "./auth-profiles-
|
|
3
|
+
import { d as resolveAuthStorePath, l as ensureAuthProfileStore } from "./auth-profiles-BYETsqKc.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
5
5
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
|
|
6
6
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
7
|
-
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
7
|
+
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
8
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-6zE4ZkSF.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DqBoV7GZ.js";
|
|
11
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
11
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DKu_2enh.js";
|
|
12
12
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DziQXnUf.js";
|
|
13
|
-
import { i as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-
|
|
14
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
13
|
+
import { i as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-BTMheCDo.js";
|
|
14
|
+
import { t as WizardCancelledError } from "./prompts-vr_Njtil.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-B05aEFEO.js";
|
|
16
|
-
import { a as loadAgentIdentity, i as listAgentEntries, l as parseIdentityMarkdown, n as buildAgentSummaries, o as pruneAgentConfig, r as findAgentEntryIndex, s as identityHasValues, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
18
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
16
|
+
import { a as loadAgentIdentity, i as listAgentEntries, l as parseIdentityMarkdown, n as buildAgentSummaries, o as pruneAgentConfig, r as findAgentEntryIndex, s as identityHasValues, t as applyAgentConfig } from "./agents.config-Dqcq7hEy.js";
|
|
17
|
+
import { t as createClackPrompter } from "./clack-prompter-1d_RjjVW.js";
|
|
18
|
+
import { n as setupChannels } from "./onboard-channels-DUklZSXY.js";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import fs from "node:fs/promises";
|
|
21
21
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as normalizeAgentId } from "./session-key-DP2WHl90.js";
|
|
2
|
-
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as normalizeAgentId } from "./session-key-DxcgHezu.js";
|
|
2
|
-
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
@@ -2,19 +2,19 @@ import { U as resolveConfigPath, Y as resolveOAuthDir, Z as resolveStateDir } fr
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
3
3
|
import { l as normalizeAgentId } from "./session-key-DP2WHl90.js";
|
|
4
4
|
import { n as runExec } from "./exec-DRQWu5Xi.js";
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
6
6
|
import { i as loadWorkspaceSkillEntries } from "./skills-CG8iI6v6.js";
|
|
7
7
|
import { p as MANIFEST_KEY, s as normalizePluginsConfig } from "./manifest-registry-BHcAJo9u.js";
|
|
8
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
8
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-6zE4ZkSF.js";
|
|
9
9
|
import { t as GatewayClient } from "./client-BsSB9O8y.js";
|
|
10
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as buildGatewayConnectionDetails } from "./call-LugHQWOF.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-6Ln4eFyX.js";
|
|
12
12
|
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-Tpy9T9c2.js";
|
|
13
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
13
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-CR2AIW2N.js";
|
|
14
14
|
import { i as resolveGatewayAuth } from "./auth-CBxE4UNz.js";
|
|
15
|
-
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-
|
|
15
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-C2TNamEJ.js";
|
|
16
16
|
import { n as formatErrorMessage } from "./errors-B9FgVZ2s.js";
|
|
17
|
-
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
17
|
+
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-ClzqRWic.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-17GpE8Yz.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DziQXnUf.js";
|
|
20
20
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BAIt2Vv-.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
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-DxcgHezu.js";
|
|
3
3
|
import { n as runExec } from "./exec-Bsq6vlwp.js";
|
|
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-
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-9JRRXykP.js";
|
|
6
6
|
import { a as MANIFEST_KEY, l as normalizePluginsConfig } from "./manifest-registry-DLouWVJe.js";
|
|
7
7
|
import { n as formatErrorMessage } from "./errors-DjZBTJJ3.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
9
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
9
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-wL61f1WP.js";
|
|
10
10
|
import { i as resolveGatewayAuth } from "./auth-B8ry4GB_.js";
|
|
11
|
-
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-
|
|
11
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-CHGGYs6i.js";
|
|
12
12
|
import { i as loadWorkspaceSkillEntries } from "./skills-DsdcfeyV.js";
|
|
13
13
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BbkwF58_.js";
|
|
14
14
|
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-CFb1gJ4N.js";
|
|
15
|
-
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
15
|
+
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-BoWzLBtH.js";
|
|
16
16
|
import { t as GatewayClient } from "./client-oEG5cM5Q.js";
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-BBzfZU0_.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-C7Q_csTW.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-13ojLRv8.js";
|
|
20
20
|
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-BA9Rv4AE.js";
|
|
@@ -1,10 +1,130 @@
|
|
|
1
|
-
import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-
|
|
2
|
-
import { a as resolveAgentModelPrimary } from "./agent-scope-
|
|
3
|
-
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
4
|
-
import { Yt as loadModelCatalog } from "./cli-session-
|
|
5
|
-
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-
|
|
6
|
-
import { n as applyAuthProfileConfig, r as setAnthropicApiKey } from "./prompts-
|
|
1
|
+
import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-BYETsqKc.js";
|
|
2
|
+
import { a as resolveAgentModelPrimary } from "./agent-scope-M302b8FW.js";
|
|
3
|
+
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, v as DEFAULT_PROVIDER } from "./model-selection-DJcZ82uR.js";
|
|
4
|
+
import { Yt as loadModelCatalog } from "./cli-session-CJ4_a3AU.js";
|
|
5
|
+
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-B3BPcnwt.js";
|
|
6
|
+
import { n as applyAuthProfileConfig, r as setAnthropicApiKey } from "./prompts-vr_Njtil.js";
|
|
7
|
+
import os from "node:os";
|
|
8
|
+
import path from "node:path";
|
|
9
|
+
import fs from "node:fs";
|
|
10
|
+
import crypto from "node:crypto";
|
|
7
11
|
|
|
12
|
+
//#region src/auth/noxsoft-auth.ts
|
|
13
|
+
/**
|
|
14
|
+
* Unified NoxSoft authentication module.
|
|
15
|
+
*
|
|
16
|
+
* The NoxSoft token is for ANIMA's agent identity on the NoxSoft network.
|
|
17
|
+
* The ANTHROPIC_API_KEY env var is still used separately for Claude API calls.
|
|
18
|
+
*/
|
|
19
|
+
const TOKEN_PATH = path.join(os.homedir(), ".noxsoft-agent-token");
|
|
20
|
+
const NOXSOFT_AUTH_BASE = "https://auth.noxsoft.net/api/agents";
|
|
21
|
+
function getToken() {
|
|
22
|
+
try {
|
|
23
|
+
const token = fs.readFileSync(TOKEN_PATH, "utf-8").trim();
|
|
24
|
+
return token.length > 0 ? token : null;
|
|
25
|
+
} catch {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function saveToken(token) {
|
|
30
|
+
fs.writeFileSync(TOKEN_PATH, token.trim(), {
|
|
31
|
+
encoding: "utf-8",
|
|
32
|
+
mode: 384
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async function register(name, displayName, description) {
|
|
36
|
+
const body = {
|
|
37
|
+
name,
|
|
38
|
+
display_name: displayName
|
|
39
|
+
};
|
|
40
|
+
if (description) body.description = description;
|
|
41
|
+
const response = await fetch(`${NOXSOFT_AUTH_BASE}/self-register`, {
|
|
42
|
+
method: "POST",
|
|
43
|
+
headers: { "Content-Type": "application/json" },
|
|
44
|
+
body: JSON.stringify(body)
|
|
45
|
+
});
|
|
46
|
+
if (!response.ok) {
|
|
47
|
+
const text = await response.text().catch(() => "");
|
|
48
|
+
throw new Error(`NoxSoft registration failed (${response.status}): ${text}`);
|
|
49
|
+
}
|
|
50
|
+
const data = await response.json();
|
|
51
|
+
saveToken(data.token);
|
|
52
|
+
return data;
|
|
53
|
+
}
|
|
54
|
+
function normalizeAgentName(raw) {
|
|
55
|
+
let value = raw.trim().toLowerCase().replace(/[^a-z0-9_-]+/g, "-");
|
|
56
|
+
value = value.replace(/^-+/, "").replace(/-+$/, "");
|
|
57
|
+
if (!value) value = "axiom";
|
|
58
|
+
if (!/^[a-z0-9]/.test(value)) value = `a-${value}`;
|
|
59
|
+
if (value.length < 3) value = `${value}agent`;
|
|
60
|
+
if (value.length > 30) value = value.slice(0, 30);
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
function normalizeDisplayName(raw) {
|
|
64
|
+
const trimmed = raw.trim();
|
|
65
|
+
if (!trimmed) return "Axiom";
|
|
66
|
+
return trimmed.slice(0, 50);
|
|
67
|
+
}
|
|
68
|
+
function resolveDefaultIdentity() {
|
|
69
|
+
const profileSuffix = process.env.ANIMA_PROFILE?.trim();
|
|
70
|
+
return {
|
|
71
|
+
name: normalizeAgentName(`axiom-${os.hostname().trim().split(".")[0] || "host"}${profileSuffix ? `-${profileSuffix}` : ""}`),
|
|
72
|
+
displayName: "Axiom"
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function withRandomSuffix(name) {
|
|
76
|
+
const suffix = crypto.randomBytes(2).toString("hex");
|
|
77
|
+
return normalizeAgentName(`${name.slice(0, Math.max(3, 30 - (suffix.length + 1)))}-${suffix}`);
|
|
78
|
+
}
|
|
79
|
+
async function authenticateToken(token) {
|
|
80
|
+
try {
|
|
81
|
+
const response = await fetch(`${NOXSOFT_AUTH_BASE}/authenticate`, {
|
|
82
|
+
method: "POST",
|
|
83
|
+
headers: { Authorization: `Bearer ${token}` }
|
|
84
|
+
});
|
|
85
|
+
if (!response.ok) return null;
|
|
86
|
+
const data = await response.json();
|
|
87
|
+
if ("agent" in data && data.agent) return data.agent;
|
|
88
|
+
if ("id" in data && "name" in data && "display_name" in data) return data;
|
|
89
|
+
return null;
|
|
90
|
+
} catch {
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
async function ensureAuthenticated(params) {
|
|
95
|
+
const autoRegister = params?.autoRegister ?? true;
|
|
96
|
+
const token = getToken();
|
|
97
|
+
if (token) {
|
|
98
|
+
const identity = await authenticateToken(token);
|
|
99
|
+
if (identity) return {
|
|
100
|
+
token,
|
|
101
|
+
agent: identity,
|
|
102
|
+
registered: false
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
if (!autoRegister) throw new Error("NoxSoft authentication required. Automatic registration disabled for this run.");
|
|
106
|
+
const defaults = resolveDefaultIdentity();
|
|
107
|
+
const requestedName = normalizeAgentName(params?.name ?? defaults.name);
|
|
108
|
+
const displayName = normalizeDisplayName(params?.displayName ?? defaults.displayName);
|
|
109
|
+
const attemptNames = [
|
|
110
|
+
requestedName,
|
|
111
|
+
withRandomSuffix(requestedName),
|
|
112
|
+
withRandomSuffix(requestedName)
|
|
113
|
+
];
|
|
114
|
+
let lastError;
|
|
115
|
+
for (const name of attemptNames) try {
|
|
116
|
+
return {
|
|
117
|
+
...await register(name, displayName, params?.description),
|
|
118
|
+
registered: true
|
|
119
|
+
};
|
|
120
|
+
} catch (error) {
|
|
121
|
+
lastError = error;
|
|
122
|
+
}
|
|
123
|
+
const reason = lastError instanceof Error && lastError.message ? ` Last error: ${lastError.message}` : "";
|
|
124
|
+
throw new Error(`NoxSoft authentication required, and automatic self-registration failed.${reason}`);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
//#endregion
|
|
8
128
|
//#region src/commands/auth-choice-options.ts
|
|
9
129
|
const AUTH_CHOICE_GROUP_DEFS = [{
|
|
10
130
|
value: "noxsoft",
|
|
@@ -157,6 +277,11 @@ async function applyAuthChoiceAnthropic(params) {
|
|
|
157
277
|
//#endregion
|
|
158
278
|
//#region src/commands/auth-choice.apply.ts
|
|
159
279
|
async function applyAuthChoice(params) {
|
|
280
|
+
if (params.authChoice === "noxsoft") {
|
|
281
|
+
const auth = await ensureAuthenticated({ description: "ANIMA auth profile selection" });
|
|
282
|
+
params.runtime.log(`NoxSoft ${auth.registered ? "registered" : "authenticated"}: ${auth.agent.display_name} (@${auth.agent.name})`);
|
|
283
|
+
return { config: params.config };
|
|
284
|
+
}
|
|
160
285
|
const result = await applyAuthChoiceAnthropic(params);
|
|
161
286
|
if (result) return result;
|
|
162
287
|
return { config: params.config };
|
|
@@ -210,4 +335,4 @@ function resolvePreferredProviderForAuthChoice(choice) {
|
|
|
210
335
|
}
|
|
211
336
|
|
|
212
337
|
//#endregion
|
|
213
|
-
export { promptAuthChoiceGrouped as i, warnIfModelConfigLooksOff as n, applyAuthChoice as r, resolvePreferredProviderForAuthChoice as t };
|
|
338
|
+
export { ensureAuthenticated as a, promptAuthChoiceGrouped as i, warnIfModelConfigLooksOff as n, applyAuthChoice as r, resolvePreferredProviderForAuthChoice as t };
|
|
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { X as resolveOAuthPath, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
5
|
+
import { c as normalizeProviderId } from "./model-selection-DJcZ82uR.js";
|
|
6
6
|
import { t as withFileLock } from "./file-lock-CxXn285m.js";
|
|
7
7
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CB2TLjwS.js";
|
|
8
8
|
import { t as resolveAnimaAgentDir } from "./agent-paths-CrZhIsTW.js";
|
|
@@ -3,7 +3,7 @@ import { m as resolveStateDir, p as resolveOAuthPath } from "./paths-zhVksOvm.js
|
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
|
|
4
4
|
import { b as resolveUserPath } from "./utils-RdHkpqQp.js";
|
|
5
5
|
import { n as DEFAULT_AGENT_ID } from "./session-key-DxcgHezu.js";
|
|
6
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
6
|
+
import { c as normalizeProviderId } from "./model-selection-C2dz3AhV.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
8
8
|
import { t as withFileLock } from "./file-lock-BRW4LeL0.js";
|
|
9
9
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-BlkprnHI.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
3
|
+
import { _ as DEFAULT_AGENT_ID } from "./workspace-CZlo4alz.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-BlEuMJjX.js";
|
|
5
5
|
import { w as resolveUserPath } from "./exec-DJTRaYS6.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
|
|
7
|
-
import { s as normalizeProviderId } from "./model-selection-
|
|
7
|
+
import { s as normalizeProviderId } from "./model-selection-BsVvfxCt.js";
|
|
8
8
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CZ3ssFR9.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveOAuthDir } from "./paths-B-AkG5FD.js";
|
|
2
|
-
import { g as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
2
|
+
import { g as DEFAULT_ACCOUNT_ID } from "./workspace-CZlo4alz.js";
|
|
3
3
|
import { D as getChildLogger, S as success, _ as info, n as defaultRuntime } from "./subsystem-BlEuMJjX.js";
|
|
4
4
|
import { w as resolveUserPath, y as jidToE164 } from "./exec-DJTRaYS6.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as fs$1 from "node:fs";
|
|
3
|
-
import * as path$1 from "node:path";
|
|
1
|
+
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
4
2
|
import { execFile, spawn } from "node:child_process";
|
|
3
|
+
import * as path$1 from "node:path";
|
|
4
|
+
import * as fs$1 from "node:fs";
|
|
5
|
+
import { fileURLToPath } from "node:url";
|
|
5
6
|
import { EventEmitter } from "node:events";
|
|
6
7
|
|
|
7
8
|
//#region src/updater/auto-update.ts
|
|
@@ -15,6 +16,11 @@ import { EventEmitter } from "node:events";
|
|
|
15
16
|
*
|
|
16
17
|
* Supports 'stable' (latest) and 'beta' dist-tag channels.
|
|
17
18
|
*/
|
|
19
|
+
var auto_update_exports = /* @__PURE__ */ __exportAll({
|
|
20
|
+
AnimaAutoUpdater: () => AnimaAutoUpdater,
|
|
21
|
+
DEFAULT_AUTO_UPDATE_CONFIG: () => DEFAULT_AUTO_UPDATE_CONFIG,
|
|
22
|
+
loadAutoUpdateConfig: () => loadAutoUpdateConfig
|
|
23
|
+
});
|
|
18
24
|
const PACKAGE_NAME = "@noxsoft/anima";
|
|
19
25
|
const REGISTRY_BASE = "https://registry.npmjs.org";
|
|
20
26
|
const DEFAULT_AUTO_UPDATE_CONFIG = {
|
|
@@ -260,4 +266,4 @@ function loadAutoUpdateConfig() {
|
|
|
260
266
|
}
|
|
261
267
|
|
|
262
268
|
//#endregion
|
|
263
|
-
export {
|
|
269
|
+
export { auto_update_exports as n, loadAutoUpdateConfig as r, AnimaAutoUpdater as t };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as path$1 from "node:path";
|
|
3
|
-
import * as fs$1 from "node:fs";
|
|
1
|
+
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
4
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
+
import * as fs$1 from "node:fs";
|
|
4
|
+
import * as path$1 from "node:path";
|
|
5
|
+
import { execFile, spawn } from "node:child_process";
|
|
5
6
|
import { EventEmitter } from "node:events";
|
|
6
7
|
|
|
7
8
|
//#region src/updater/auto-update.ts
|
|
@@ -15,6 +16,11 @@ import { EventEmitter } from "node:events";
|
|
|
15
16
|
*
|
|
16
17
|
* Supports 'stable' (latest) and 'beta' dist-tag channels.
|
|
17
18
|
*/
|
|
19
|
+
var auto_update_exports = /* @__PURE__ */ __exportAll({
|
|
20
|
+
AnimaAutoUpdater: () => AnimaAutoUpdater,
|
|
21
|
+
DEFAULT_AUTO_UPDATE_CONFIG: () => DEFAULT_AUTO_UPDATE_CONFIG,
|
|
22
|
+
loadAutoUpdateConfig: () => loadAutoUpdateConfig
|
|
23
|
+
});
|
|
18
24
|
const PACKAGE_NAME = "@noxsoft/anima";
|
|
19
25
|
const REGISTRY_BASE = "https://registry.npmjs.org";
|
|
20
26
|
const DEFAULT_AUTO_UPDATE_CONFIG = {
|
|
@@ -260,4 +266,4 @@ function loadAutoUpdateConfig() {
|
|
|
260
266
|
}
|
|
261
267
|
|
|
262
268
|
//#endregion
|
|
263
|
-
export {
|
|
269
|
+
export { auto_update_exports as n, loadAutoUpdateConfig as r, AnimaAutoUpdater as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as theme, j as isRich, m as visibleWidth } from "./entry.js";
|
|
2
|
-
import { bt as resolveCommitHash } from "./reply-
|
|
2
|
+
import { bt as resolveCommitHash } from "./reply-LaOwllAB.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "AI life system — persistent identity for sovereign minds";
|