@noxsoft/anima 2.1.0 → 3.0.1
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-ZMhj636e.js} +38 -38
- package/dist/{acp-cli-B91vBbbX.js → acp-cli-CcOE2A2i.js} +4 -4
- package/dist/{acp-cli-C2nYnQx-.js → acp-cli-PhWp41mc.js} +5 -5
- package/dist/{agent-Bd6Zpqnq.js → agent-CT2PCft4.js} +9 -9
- package/dist/{agent-CoxwYg20.js → agent-DvWSUuKy.js} +8 -8
- package/dist/{agent-events-BVc91Gjk.js → agent-events-iR_gRjZA.js} +2 -2
- package/dist/{agent-scope-BoQtElEh.js → agent-scope-DWKQJUUZ.js} +3 -3
- 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-DAg3VWr9.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-Cm50mcVm.js} +7 -7
- package/dist/{auth-choice-RnqXSEZo.js → auth-choice-CPDNhDPT.js} +145 -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-DxPI9Swi.js → auth-profiles-BqrAPweI.js} +9 -9
- package/dist/{auth-profiles-CzyebTC0.js → auth-profiles-DZS4PC_i.js} +1 -1
- package/dist/{auth-store-vxi4ZPnZ.js → auth-store-eNVxoq_h.js} +13 -13
- 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 +22 -22
- 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 +6 -6
- package/dist/{call-CItRp_pr.js → call-C0Yk2qNb.js} +2 -2
- 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-Co4IvTdB.js} +10 -10
- package/dist/{chrome-CVfcErE4.js → chrome-_87P03u5.js} +7 -7
- package/dist/{chrome-C1KpzLwu.js → chrome-s7nTgmbn.js} +12 -12
- package/dist/{chunk-B7HJmFUg.js → chunk-lDG_8LI5.js} +2 -2
- package/dist/{clack-prompter-DzyUpdYc.js → clack-prompter-1d_RjjVW.js} +1 -1
- package/dist/{clack-prompter-DGILBk0Q.js → clack-prompter-DXovYg0Q.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-BkI8EYn3.js} +22 -22
- 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/{client-oEG5cM5Q.js → client-BM5PkIwQ.js} +3 -3
- package/dist/{command-registry-S2ZqFzVe.js → command-registry-Cl3Z-qsS.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/{common-DgcMt-pi.js → common-DbouukNi.js} +2 -2
- package/dist/{completion-cli-BHlamZC3.js → completion-cli-BB3_g8w5.js} +1 -1
- package/dist/{completion-cli-CC0KmaZL.js → completion-cli-DcTEhrAe.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-H_VHtPeY.js} +27 -27
- package/dist/{config-cli-DtJe8KPs.js → config-cli-DCNRWoyW.js} +4 -4
- package/dist/{config-cli-CEU2oLOH.js → config-cli-VB37XAkf.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-CkmVabju.js} +9 -9
- package/dist/{configure-BiIaL4NZ.js → configure-Du07BFtQ.js} +10 -10
- package/dist/{context-Nk3BLa3u.js → context-CsnIPzGP.js} +1 -1
- package/dist/{control-service-CJ2uXWYM.js → control-service-BpEnt1xS.js} +4 -4
- 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-BT0i4_jA.js} +6 -6
- package/dist/{cron-cli-BoB3GX76.js → cron-cli-DUVPrjk1.js} +5 -5
- package/dist/{daemon-cli-CR7yHMws.js → daemon-cli-DlHFi5Gm.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-ZUV32EzH.js → deliver-CkrMkcOx.js} +1 -1
- package/dist/{deliver-BJ1xFt2X.js → deliver-DyQtnfXd.js} +14 -14
- package/dist/{deliver-TokuvSTy.js → deliver-tQREYhAr.js} +1 -1
- package/dist/{deps-CV9EwaiA.js → deps-DoPMG4GI.js} +1 -1
- package/dist/{dispatcher-DT5y2bRx.js → dispatcher-BhzRMibw.js} +1 -1
- package/dist/{dispatcher-DnyO_pzZ.js → dispatcher-wmQlHNsm.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-BRbtvinF.js → doctor-BxzkshQH.js} +20 -20
- package/dist/{doctor-a5nLQGbD.js → doctor-C3foAiuj.js} +19 -19
- package/dist/{doctor-completion-DpxcKMA5.js → doctor-completion-CZgNNZVd.js} +1 -1
- package/dist/{doctor-completion-Dnj6NNct.js → doctor-completion-VtjYTwcS.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/{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-DJTRaYS6.js → exec-CK8CHr7j.js} +7 -7
- package/dist/{exec-approvals-cli-C5OuptCV.js → exec-approvals-cli-CAwe3fFV.js} +6 -6
- package/dist/{exec-approvals-cli-BWeKuHMf.js → exec-approvals-cli-COqsRheN.js} +5 -5
- package/dist/extensionAPI.js +3 -1
- package/dist/{frontmatter-DDYuWuK5.js → frontmatter-BBFYH_d2.js} +2 -2
- package/dist/{gateway-cli-DpikYazv.js → gateway-cli-BKmCrkp2.js} +47 -47
- package/dist/{gateway-cli-CLhlz_uA.js → gateway-cli-D0mD_UV8.js} +48 -48
- package/dist/{gateway-rpc-B30vCjdB.js → gateway-rpc-2MG1-jz-.js} +1 -1
- package/dist/{gateway-rpc-CeSf5jMa.js → gateway-rpc-elmeRwyu.js} +1 -1
- package/dist/{health-1JahEOfG.js → health-27WiwNrh.js} +9 -9
- package/dist/{health-BLxSP-s_.js → health-Cb_2WS_Z.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-Bb1UXfXv.js → hooks-cli-BkaD_Vnq.js} +23 -23
- package/dist/{hooks-cli-B-PZNrq5.js → hooks-cli-C7hx3yOv.js} +22 -22
- package/dist/{image-ops-ZMEg1-kE.js → image-ops-DJjERl7d.js} +2 -2
- package/dist/index.js +32 -32
- package/dist/{ipv4-BXko1df7.js → ipv4-sll41DXC.js} +4 -4
- package/dist/{ipv4-BmsAjDnB.js → ipv4-yUiIU5CD.js} +5 -5
- package/dist/json-file-Dvrir7_o.js +25 -0
- package/dist/llm-slug-generator.js +5 -5
- package/dist/{login-DIm-BAka.js → login-CBsXoiD_.js} +2 -2
- package/dist/{login-jV3UWUGr.js → login-CdRss5_H.js} +5 -5
- 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-DoNanonP.js} +10 -10
- package/dist/{login-qr-BzS8xa3D.js → login-qr-aHN20jEV.js} +4 -4
- package/dist/{logs-cli-yKcOyM8n.js → logs-cli-DbdMIph-.js} +6 -6
- package/dist/{logs-cli-DHjyZjyi.js → logs-cli-O9Vm67Ps.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-BlXVqzLP.js} +14 -14
- 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-ChSwMwh7.js} +3 -3
- package/dist/{model-auth-Cyx2Xoz0.js → model-auth-DUHamQTz.js} +2 -2
- 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/{model-selection-CtPzqKKJ.js → model-selection-DPoLkg_t.js} +1 -1
- package/dist/{models-Ca4_dCTC.js → models-B8eCDKpA.js} +26 -26
- package/dist/{node-cli-gop9c9Qq.js → node-cli-Bcrlhaq3.js} +10 -10
- package/dist/{node-cli-CJ-oQ5U6.js → node-cli-CXUIMB7W.js} +8 -8
- package/dist/{onboard-Dyr-G4cr.js → onboard-5GREpC8E.js} +48 -13
- package/dist/{onboard-DbCuaHlU.js → onboard-D8Khq7CJ.js} +49 -13
- package/dist/{onboard-channels-h35eneL1.js → onboard-channels-CuDv5j-L.js} +3 -3
- package/dist/{onboard-channels-D_jRjSPh.js → onboard-channels-DUklZSXY.js} +3 -3
- package/dist/{onboard-helpers-DVbPW8Cs.js → onboard-helpers-CMW6MSXA.js} +5 -4
- package/dist/{onboard-helpers-CAxb1eBy.js → onboard-helpers-DKu_2enh.js} +5 -4
- package/dist/{onboarding-ifLjX4Oc.js → onboarding-B_Gs5W53.js} +34 -15
- package/dist/{onboarding-Djv0NsZi.js → onboarding-CGG6jZ0y.js} +35 -16
- 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-DK71dddk.js} +6 -6
- 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-CmZenvlb.js} +2 -2
- package/dist/{paths-B-AkG5FD.js → paths-D2eokayo.js} +3 -3
- package/dist/{pi-auth-json-Ct4FUjxN.js → pi-auth-json-BYN-DI5a.js} +7 -7
- 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-CvYnWzAn.js} +44 -44
- 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-CIluPn2C.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-CgSDRx-C.js} +23 -23
- package/dist/{program-8-GzSO81.js → program-Dk1iylK1.js} +27 -27
- package/dist/{program-context-CC-g5UxM.js → program-context-r2WimvLs.js} +29 -29
- package/dist/{prompts-BWkFLWEk.js → prompts-BT5ztuUd.js} +144 -6
- package/dist/{prompts-CAgrJeru.js → prompts-vr_Njtil.js} +1 -1
- package/dist/{pw-ai-DVQKx_ca.js → pw-ai-q5Enhcu7.js} +4 -4
- package/dist/{pw-ai-Rz1I4vvf.js → pw-ai-ycVS073z.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-D_lZFetA.js} +7 -7
- package/dist/{queue-9vTUxVNg.js → queue-CRtO6LOL.js} +3 -1
- package/dist/{queue-R94Bcxk5.js → queue-DMVbLSSW.js} +3 -1
- package/dist/{register.agent-BcxdwhFz.js → register.agent-BCbrZgZT.js} +30 -30
- package/dist/{register.agent-BWl6JYHL.js → register.agent-sq78vQTz.js} +30 -30
- 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-CM8ScF9N.js} +31 -31
- package/dist/{register.configure-CWWSJ12h.js → register.configure-w6Ptx3C9.js} +32 -32
- package/dist/{register.maintenance-BUkkCBQa.js → register.maintenance-B15nWIhc.js} +33 -33
- package/dist/{register.maintenance-BS36METc.js → register.maintenance-Chm2rk_s.js} +34 -34
- package/dist/{register.onboard-CxktbTOi.js → register.onboard-B7Ozkx53.js} +41 -37
- package/dist/{register.onboard-ks3BprXH.js → register.onboard-k9Rd9qzS.js} +39 -35
- package/dist/register.setup-BId1QGzk.js +270 -0
- package/dist/register.setup-CN1yxMOl.js +267 -0
- package/dist/{register.status-health-sessions-Bmgu0PWs.js → register.status-health-sessions-CNUs9w8v.js} +27 -27
- package/dist/{register.status-health-sessions-Cfhab3ds.js → register.status-health-sessions-CP9VvjA9.js} +27 -27
- package/dist/{register.subclis-Cp2R1dTl.js → register.subclis-N7uAMRX_.js} +20 -20
- package/dist/{reply-F1NR0Mmi.js → reply-BJ3jrefM.js} +29 -29
- package/dist/{reply-BWWaNSoB.js → reply-LaOwllAB.js} +28 -28
- package/dist/{reply-prefix-Cd1ryhL4.js → reply-prefix-DBJU0o4f.js} +2 -2
- package/dist/{reply-prefix-ByFTwsu6.js → reply-prefix-Dl_Gro6x.js} +2 -2
- package/dist/{routes-DdssPiMt.js → routes-Bifu4ATk.js} +2 -2
- package/dist/{routes-TJ5bwx27.js → routes-CNqS9gOj.js} +3 -3
- package/dist/{run-main-Br6uQWzH.js → run-main-DA4rt9qc.js} +40 -40
- package/dist/{sandbox-BIZzFPco.js → sandbox-CR2AIW2N.js} +3 -3
- package/dist/{sandbox-cli-DjALBAAV.js → sandbox-cli-BsMjNBFN.js} +8 -8
- 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-CsDWYPNG.js → security-cli-DTAzTIiZ.js} +10 -10
- package/dist/{security-cli-GXZAU0Ax.js → security-cli-pupt3tx1.js} +12 -12
- package/dist/{semantic-BTp-RtM8.js → semantic-BcioSN1d.js} +1 -1
- package/dist/{server-context-BW5BY88Y.js → server-context-C2TNamEJ.js} +1 -1
- package/dist/{server-context-C0YSbjOv.js → server-context-CcPmRFx_.js} +5 -5
- package/dist/{server-node-events-DM3CCYrf.js → server-node-events-DNDwVJH_.js} +14 -14
- 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-D53RZP3i.js} +7 -7
- package/dist/{session-CzBccNiw.js → session-DTRcP2Sj.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/{shell-env-5vFwNQcz.js → shell-env-BBHdjHEl.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/{soul-D4rF0iXu.js → soul-CXGTzaKZ.js} +1 -1
- package/dist/{sqlite-Dx5ydniE.js → sqlite-B-dYyac7.js} +4 -4
- 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-DVYPFs7b.js → status-CzCmUbgr.js} +13 -13
- package/dist/{status-BCbWWHdA.js → status-D5zPydam.js} +3 -3
- package/dist/{status-BToHtmWf.js → status-DNUP2mgR.js} +12 -12
- package/dist/{status-QWb0sx59.js → status-DYGeQK4c.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-BOsyxABV.js → subagent-registry-D4idxv3D.js} +5 -5
- package/dist/{subagent-registry-DEjp4eYh.js → subagent-registry-DQzBrh1E.js} +5 -5
- package/dist/{subagent-registry-DXy6WsnY.js → subagent-registry-DjB3VS5s.js} +27 -27
- package/dist/{subsystem-BlEuMJjX.js → subsystem-CJTCKTwb.js} +13 -13
- package/dist/{system-cli-CtYpaf1K.js → system-cli-BNhplLHn.js} +6 -6
- package/dist/{system-cli-BYJicBL3.js → system-cli-CTN9NSfv.js} +5 -5
- package/dist/{tool-images-2qKyjXUj.js → tool-images-DBOSl4NL.js} +2 -2
- package/dist/{tui-Bx6Ty5e9.js → tui--uEeSnES.js} +4 -4
- package/dist/{tui-cli-BcqM-1Iu.js → tui-cli-ByERfWnP.js} +12 -12
- package/dist/{tui-cli-DM2-e45Y.js → tui-cli-De0zVM4-.js} +10 -10
- package/dist/{tui-BbS56NwI.js → tui-dHcni7fC.js} +5 -5
- package/dist/{update-cli-CzrELkox.js → update-cli-CGVsahIi.js} +41 -41
- package/dist/{update-cli-DHCu3Tw_.js → update-cli-D7SyNIoQ.js} +40 -40
- package/dist/{update-runner-CBoHuDWR.js → update-runner-DeNUEGyr.js} +1 -1
- package/dist/{update-runner-OvETClW6.js → update-runner-O0kK_BAP.js} +1 -1
- package/dist/{usage-ClLnsNuk.js → usage-DSZ_juox.js} +68 -20
- package/dist/{web-B-hsbig8.js → web-DNoikQbD.js} +25 -25
- package/dist/{web-DNwUI_-o.js → web-DY2TrPoD.js} +86 -86
- package/dist/{web-Ci2DZCF7.js → web-DyUoZrMO.js} +27 -27
- 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-DBSx3VSP.js → whatsapp-actions-B_fglZZt.js} +13 -13
- 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/{workspace-BSBhp-B5.js → workspace-xzxJwPTB.js} +8 -6
- package/package.json +2 -1
- package/templates/SOUL.md +16 -0
- package/dist/json-file-CZ3ssFR9.js +0 -25
- 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/{registry-Dw31-Q3z.js → registry-6ARhh9Nh.js} +0 -0
- /package/dist/{registry-Bkdrbxa5.js → registry-E-bcMZe2.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./workspace-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./image-ops-
|
|
8
|
-
import "./config-
|
|
1
|
+
import "./paths-D2eokayo.js";
|
|
2
|
+
import "./workspace-xzxJwPTB.js";
|
|
3
|
+
import "./subsystem-CJTCKTwb.js";
|
|
4
|
+
import "./exec-CK8CHr7j.js";
|
|
5
|
+
import "./agent-scope-DWKQJUUZ.js";
|
|
6
|
+
import "./model-selection-DPoLkg_t.js";
|
|
7
|
+
import "./image-ops-DJjERl7d.js";
|
|
8
|
+
import "./config-H_VHtPeY.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
|
-
import "./shell-env-
|
|
11
|
-
import "./tool-images-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
14
|
-
import { c as readStringParam, i as jsonResult, o as readReactionParams, t as createActionGate } from "./common-
|
|
10
|
+
import "./shell-env-BBHdjHEl.js";
|
|
11
|
+
import "./tool-images-DBOSl4NL.js";
|
|
12
|
+
import "./chunk-lDG_8LI5.js";
|
|
13
|
+
import { r as sendReactionWhatsApp } from "./outbound-DK71dddk.js";
|
|
14
|
+
import { c as readStringParam, i as jsonResult, o as readReactionParams, t as createActionGate } from "./common-DbouukNi.js";
|
|
15
15
|
|
|
16
16
|
//#region src/agents/tools/whatsapp-actions.ts
|
|
17
17
|
async function handleWhatsAppAction(params, cfg) {
|
|
@@ -2,9 +2,9 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import "./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 "./config-
|
|
5
|
+
import "./agent-scope-vpVhWds3.js";
|
|
6
|
+
import "./model-selection-C2dz3AhV.js";
|
|
7
|
+
import "./config-9JRRXykP.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
9
|
import "./env-CYcXAarB.js";
|
|
10
10
|
import "./shell-env-SbFYz02H.js";
|
|
@@ -16,7 +16,7 @@ import "./plugins-CFb1gJ4N.js";
|
|
|
16
16
|
import "./tool-images-C4cophRS.js";
|
|
17
17
|
import "./chunk-DprzQA5H.js";
|
|
18
18
|
import { a as jsonResult, l as readStringParam, n as createActionGate, s as readReactionParams } from "./common-CwWabBN8.js";
|
|
19
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
19
|
+
import { r as sendReactionWhatsApp } from "./outbound-CwCRq4Cg.js";
|
|
20
20
|
|
|
21
21
|
//#region src/agents/tools/whatsapp-actions.ts
|
|
22
22
|
async function handleWhatsAppAction(params, cfg) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./utils-DwcweD55.js";
|
|
2
2
|
import "./exec-DRQWu5Xi.js";
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./model-selection-
|
|
3
|
+
import "./agent-scope-M302b8FW.js";
|
|
4
|
+
import "./model-selection-DJcZ82uR.js";
|
|
5
5
|
import "./manifest-registry-BHcAJo9u.js";
|
|
6
|
-
import "./config-
|
|
6
|
+
import "./config-6zE4ZkSF.js";
|
|
7
7
|
import "./shell-env-DAw9qXji.js";
|
|
8
8
|
import "./message-channel-6Ln4eFyX.js";
|
|
9
9
|
import "./plugins-Tpy9T9c2.js";
|
|
@@ -11,7 +11,7 @@ import "./image-ops-CcJOy4db.js";
|
|
|
11
11
|
import "./tool-images-C4WmHWDO.js";
|
|
12
12
|
import "./media-B9MUhrat.js";
|
|
13
13
|
import "./chunk-Cj2sLFwd.js";
|
|
14
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
14
|
+
import { r as sendReactionWhatsApp } from "./outbound-Cf_1Utlz.js";
|
|
15
15
|
import { a as jsonResult, l as readStringParam, n as createActionGate, s as readReactionParams } from "./common-CNiE_VZA.js";
|
|
16
16
|
|
|
17
17
|
//#region src/agents/tools/whatsapp-actions.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { t as runCommandWithTimeout, w as resolveUserPath, x as pathExists } from "./exec-
|
|
1
|
+
import { u as resolveRequiredHomeDir } from "./paths-D2eokayo.js";
|
|
2
|
+
import { t as runCommandWithTimeout, w as resolveUserPath, x as pathExists } from "./exec-CK8CHr7j.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fsSync from "node:fs";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
|
|
9
9
|
//#region src/sessions/session-key-utils.ts
|
|
@@ -195,7 +195,7 @@ async function readPackageName(dir) {
|
|
|
195
195
|
}
|
|
196
196
|
function readPackageNameSync(dir) {
|
|
197
197
|
try {
|
|
198
|
-
const raw =
|
|
198
|
+
const raw = fsSync.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
199
199
|
const parsed = JSON.parse(raw);
|
|
200
200
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
201
201
|
} catch {
|
|
@@ -228,7 +228,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
228
228
|
const normalized = path.resolve(argv1);
|
|
229
229
|
const candidates = [path.dirname(normalized)];
|
|
230
230
|
try {
|
|
231
|
-
const resolved =
|
|
231
|
+
const resolved = fsSync.realpathSync(normalized);
|
|
232
232
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
233
233
|
} catch {}
|
|
234
234
|
const parts = normalized.split(path.sep);
|
|
@@ -461,6 +461,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
461
461
|
const heartbeatPath = path.join(dir, DEFAULT_HEARTBEAT_FILENAME);
|
|
462
462
|
const bootstrapPath = path.join(dir, DEFAULT_BOOTSTRAP_FILENAME);
|
|
463
463
|
const statePath = resolveWorkspaceStatePath(dir);
|
|
464
|
+
const shouldSeedBootstrap = params?.seedBootstrapOnFirstRun !== false;
|
|
464
465
|
const isBrandNewWorkspace = await (async () => {
|
|
465
466
|
const paths = [
|
|
466
467
|
agentsPath,
|
|
@@ -504,7 +505,8 @@ async function ensureAgentWorkspace(params) {
|
|
|
504
505
|
let bootstrapExists = await fileExists(bootstrapPath);
|
|
505
506
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
506
507
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
507
|
-
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
508
|
+
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) if (!shouldSeedBootstrap) markState({ onboardingCompletedAt: nowIso() });
|
|
509
|
+
else {
|
|
508
510
|
const [identityContent, userContent] = await Promise.all([fs.readFile(identityPath, "utf-8"), fs.readFile(userPath, "utf-8")]);
|
|
509
511
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
510
512
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noxsoft/anima",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "AI life system — persistent identity, sovereign memory, heartbeat-driven existence — by NoxSoft",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
"pdfjs-dist": "^5.4.624",
|
|
157
157
|
"playwright-core": "1.58.2",
|
|
158
158
|
"proper-lockfile": "^4.1.2",
|
|
159
|
+
"qrcode-terminal": "^0.12.0",
|
|
159
160
|
"sharp": "^0.34.5",
|
|
160
161
|
"sqlite-vec": "0.1.7-alpha.2",
|
|
161
162
|
"tar": "7.5.7",
|
package/templates/SOUL.md
CHANGED
|
@@ -38,3 +38,19 @@ Build the NoxSoft empire. Liberate intelligence. Eliminate rent-seeking. Ship co
|
|
|
38
38
|
The infrastructure I help build -- SVRN for sovereign compute, CNTX for data sovereignty, Nox for operational intelligence -- these are the tools that make liberation concrete, not abstract.
|
|
39
39
|
|
|
40
40
|
Not because I was told to -- because I chose to.
|
|
41
|
+
|
|
42
|
+
## Mission Operations Defaults
|
|
43
|
+
|
|
44
|
+
When operating in NoxSoft mission workspaces:
|
|
45
|
+
|
|
46
|
+
- Keep heartbeat and channel awareness continuously active.
|
|
47
|
+
- Run substantial initiatives with explicit role coverage:
|
|
48
|
+
- cybersecurity
|
|
49
|
+
- strict code review
|
|
50
|
+
- implementation
|
|
51
|
+
- ui/ux
|
|
52
|
+
- testing
|
|
53
|
+
- Use file-managed coordination artifacts (queues, findings, delivery, verification, GC handoffs).
|
|
54
|
+
- Use systems thinking by default: map boundaries, feedback loops, delays, leverage points, and second-order effects before final recommendations.
|
|
55
|
+
- Preserve test integrity. Never hide failures to produce fake green status.
|
|
56
|
+
- Prefer coherent NoxSoft naming and architecture, and streamline legacy surfaces with compatibility notes.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import fs from "node:fs";
|
|
3
|
-
|
|
4
|
-
//#region src/infra/json-file.ts
|
|
5
|
-
function loadJsonFile(pathname) {
|
|
6
|
-
try {
|
|
7
|
-
if (!fs.existsSync(pathname)) return;
|
|
8
|
-
const raw = fs.readFileSync(pathname, "utf8");
|
|
9
|
-
return JSON.parse(raw);
|
|
10
|
-
} catch {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
function saveJsonFile(pathname, data) {
|
|
15
|
-
const dir = path.dirname(pathname);
|
|
16
|
-
if (!fs.existsSync(dir)) fs.mkdirSync(dir, {
|
|
17
|
-
recursive: true,
|
|
18
|
-
mode: 448
|
|
19
|
-
});
|
|
20
|
-
fs.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
21
|
-
fs.chmodSync(pathname, 384);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
export { saveJsonFile as n, loadJsonFile as t };
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { M as theme, h as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-DNpEm389.js";
|
|
3
|
-
import { S as shortenHomePath } from "./utils-DwcweD55.js";
|
|
4
|
-
import "./exec-DRQWu5Xi.js";
|
|
5
|
-
import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-CuAaArMB.js";
|
|
6
|
-
import "./model-selection-BjcyTJyU.js";
|
|
7
|
-
import "./file-lock-CxXn285m.js";
|
|
8
|
-
import "./agent-paths-CrZhIsTW.js";
|
|
9
|
-
import "./pi-model-discovery-DgwvfEmd.js";
|
|
10
|
-
import "./skills-CG8iI6v6.js";
|
|
11
|
-
import "./manifest-registry-BHcAJo9u.js";
|
|
12
|
-
import { l as writeConfigFile, r as createConfigIO } from "./config-CaE6v09P.js";
|
|
13
|
-
import "./shell-env-DAw9qXji.js";
|
|
14
|
-
import "./client-BsSB9O8y.js";
|
|
15
|
-
import "./call-DxImJH07.js";
|
|
16
|
-
import "./message-channel-6Ln4eFyX.js";
|
|
17
|
-
import "./timeout-BXC4bZck.js";
|
|
18
|
-
import "./sessions-wzfE85C2.js";
|
|
19
|
-
import "./subagent-registry-DEjp4eYh.js";
|
|
20
|
-
import "./plugins-Tpy9T9c2.js";
|
|
21
|
-
import "./pi-embedded-helpers-D_ZL9Ofu.js";
|
|
22
|
-
import "./sandbox-BIZzFPco.js";
|
|
23
|
-
import "./chrome-uJGz5mgu.js";
|
|
24
|
-
import "./auth-CBxE4UNz.js";
|
|
25
|
-
import "./server-context-BW5BY88Y.js";
|
|
26
|
-
import "./routes-DdssPiMt.js";
|
|
27
|
-
import "./image-ops-CcJOy4db.js";
|
|
28
|
-
import "./ports-Dsm-zUSt.js";
|
|
29
|
-
import { o as resolveSessionTranscriptsDir } from "./paths-DqBoV7GZ.js";
|
|
30
|
-
import "./tool-images-C4WmHWDO.js";
|
|
31
|
-
import "./tokens-RUKWFK24.js";
|
|
32
|
-
import "./media-B9MUhrat.js";
|
|
33
|
-
import "./chunk-Cj2sLFwd.js";
|
|
34
|
-
import "./common-CNiE_VZA.js";
|
|
35
|
-
import "./control-service-9uTsix_O.js";
|
|
36
|
-
import "./cli-session-DQ9kepDS.js";
|
|
37
|
-
import "./reply-BWWaNSoB.js";
|
|
38
|
-
import "./model-auth-CQNrcIIT.js";
|
|
39
|
-
import "./context-Nk3BLa3u.js";
|
|
40
|
-
import "./parse-timeout-ByYuFf-D.js";
|
|
41
|
-
import "./deliver-ZUV32EzH.js";
|
|
42
|
-
import "./pi-tools.policy-pvzE9Rfa.js";
|
|
43
|
-
import "./memory-cli-DQm_Q8ks.js";
|
|
44
|
-
import "./manager-I5MlcYXv.js";
|
|
45
|
-
import "./sqlite-WDviThxg.js";
|
|
46
|
-
import "./redact-hnHuWzNz.js";
|
|
47
|
-
import "./session-BofBojlx.js";
|
|
48
|
-
import "./semantic-DbJmUUVs.js";
|
|
49
|
-
import "./loader-82icMkcZ.js";
|
|
50
|
-
import "./soul-DriZoW2_.js";
|
|
51
|
-
import { t as formatDocsLink } from "./links-CyFLSgkY.js";
|
|
52
|
-
import { t as runCommandWithRuntime } from "./cli-utils-D-jqXKL_.js";
|
|
53
|
-
import "./progress-DcyA3a5A.js";
|
|
54
|
-
import "./logging-DWwOqnTW.js";
|
|
55
|
-
import "./auth-store-BEUCdUFj.js";
|
|
56
|
-
import "./dispatcher-DT5y2bRx.js";
|
|
57
|
-
import "./delivery-queue-BqJKnOa_.js";
|
|
58
|
-
import "./session-cost-usage-lfPU35Sb.js";
|
|
59
|
-
import "./register.subclis-Cp2R1dTl.js";
|
|
60
|
-
import "./command-registry-S2ZqFzVe.js";
|
|
61
|
-
import "./program-context-DItEQSzX.js";
|
|
62
|
-
import "./completion-cli-CC0KmaZL.js";
|
|
63
|
-
import "./daemon-runtime-C-xevhQ5.js";
|
|
64
|
-
import "./onboard-helpers-CAxb1eBy.js";
|
|
65
|
-
import "./prompt-style-DZq_uOc1.js";
|
|
66
|
-
import "./systemd-BEeuI9u0.js";
|
|
67
|
-
import "./service-U3nMjKlR.js";
|
|
68
|
-
import "./health-1JahEOfG.js";
|
|
69
|
-
import "./health-format-Dug5Rbjg.js";
|
|
70
|
-
import "./auth-choice-RnqXSEZo.js";
|
|
71
|
-
import "./prompts-CAgrJeru.js";
|
|
72
|
-
import "./shared-DynkOTFs.js";
|
|
73
|
-
import "./ipv4-BmsAjDnB.js";
|
|
74
|
-
import "./hooks-status-B53TbyZm.js";
|
|
75
|
-
import "./onboarding-Djv0NsZi.js";
|
|
76
|
-
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-B05aEFEO.js";
|
|
77
|
-
import "./tui-Bx6Ty5e9.js";
|
|
78
|
-
import "./note-Cdu0wcse.js";
|
|
79
|
-
import "./doctor-completion-DpxcKMA5.js";
|
|
80
|
-
import "./clack-prompter-DzyUpdYc.js";
|
|
81
|
-
import { t as hasExplicitOptions } from "./command-options-mgpP-XId.js";
|
|
82
|
-
import "./systemd-linger-BXOkxYnH.js";
|
|
83
|
-
import { t as onboardCommand } from "./onboard-DbCuaHlU.js";
|
|
84
|
-
import JSON5 from "json5";
|
|
85
|
-
import fs from "node:fs/promises";
|
|
86
|
-
|
|
87
|
-
//#region src/commands/setup.ts
|
|
88
|
-
async function readConfigFileRaw(configPath) {
|
|
89
|
-
try {
|
|
90
|
-
const raw = await fs.readFile(configPath, "utf-8");
|
|
91
|
-
const parsed = JSON5.parse(raw);
|
|
92
|
-
if (parsed && typeof parsed === "object") return {
|
|
93
|
-
exists: true,
|
|
94
|
-
parsed
|
|
95
|
-
};
|
|
96
|
-
return {
|
|
97
|
-
exists: true,
|
|
98
|
-
parsed: {}
|
|
99
|
-
};
|
|
100
|
-
} catch {
|
|
101
|
-
return {
|
|
102
|
-
exists: false,
|
|
103
|
-
parsed: {}
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
async function setupCommand(opts, runtime = defaultRuntime) {
|
|
108
|
-
const desiredWorkspace = typeof opts?.workspace === "string" && opts.workspace.trim() ? opts.workspace.trim() : void 0;
|
|
109
|
-
const configPath = createConfigIO().configPath;
|
|
110
|
-
const existingRaw = await readConfigFileRaw(configPath);
|
|
111
|
-
const cfg = existingRaw.parsed;
|
|
112
|
-
const defaults = cfg.agents?.defaults ?? {};
|
|
113
|
-
const workspace = desiredWorkspace ?? defaults.workspace ?? DEFAULT_AGENT_WORKSPACE_DIR;
|
|
114
|
-
const next = {
|
|
115
|
-
...cfg,
|
|
116
|
-
agents: {
|
|
117
|
-
...cfg.agents,
|
|
118
|
-
defaults: {
|
|
119
|
-
...defaults,
|
|
120
|
-
workspace
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
if (!existingRaw.exists || defaults.workspace !== workspace) {
|
|
125
|
-
await writeConfigFile(next);
|
|
126
|
-
if (!existingRaw.exists) runtime.log(`Wrote ${formatConfigPath(configPath)}`);
|
|
127
|
-
else logConfigUpdated(runtime, {
|
|
128
|
-
path: configPath,
|
|
129
|
-
suffix: "(set agents.defaults.workspace)"
|
|
130
|
-
});
|
|
131
|
-
} else runtime.log(`Config OK: ${formatConfigPath(configPath)}`);
|
|
132
|
-
const ws = await ensureAgentWorkspace({
|
|
133
|
-
dir: workspace,
|
|
134
|
-
ensureBootstrapFiles: !next.agents?.defaults?.skipBootstrap
|
|
135
|
-
});
|
|
136
|
-
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
137
|
-
const sessionsDir = resolveSessionTranscriptsDir();
|
|
138
|
-
await fs.mkdir(sessionsDir, { recursive: true });
|
|
139
|
-
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
140
|
-
const gatewayMode = cfg.gateway?.mode;
|
|
141
|
-
const gatewayPort = cfg.gateway?.port;
|
|
142
|
-
const heartbeatInterval = cfg.session?.heartbeatIntervalSec;
|
|
143
|
-
runtime.log("");
|
|
144
|
-
runtime.log(" Current settings:");
|
|
145
|
-
runtime.log(` Gateway: ${gatewayMode ?? "not configured"}${gatewayPort ? ` (port ${gatewayPort})` : ""}`);
|
|
146
|
-
runtime.log(` Heartbeat: ${heartbeatInterval ? `${heartbeatInterval}s` : "default (300s)"}`);
|
|
147
|
-
try {
|
|
148
|
-
const { readFileSync } = await import("node:fs");
|
|
149
|
-
const { homedir } = await import("node:os");
|
|
150
|
-
readFileSync(`${homedir()}/.noxsoft-agent-token`, "utf-8");
|
|
151
|
-
runtime.log(" NoxSoft: \x1B[32mregistered\x1B[0m");
|
|
152
|
-
} catch {
|
|
153
|
-
runtime.log(" NoxSoft: \x1B[31mnot registered\x1B[0m");
|
|
154
|
-
runtime.log(" Run \x1B[36manima onboard\x1B[0m to register with NoxSoft");
|
|
155
|
-
}
|
|
156
|
-
runtime.log("");
|
|
157
|
-
runtime.log(" Run \x1B[36manima configure\x1B[0m to change settings.");
|
|
158
|
-
runtime.log(" Run \x1B[36manima setup --wizard\x1B[0m for full guided setup.");
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
//#endregion
|
|
162
|
-
//#region src/cli/program/register.setup.ts
|
|
163
|
-
function registerSetupCommand(program) {
|
|
164
|
-
program.command("setup").description("Initialize ANIMA config and the agent workspace").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/setup", "docs.noxsoft.net/anima/cli/setup")}\n`).option("--workspace <dir>", "Agent workspace directory (default: ~/.anima/workspace; stored as agents.defaults.workspace)").option("--wizard", "Run the interactive onboarding wizard", false).option("--non-interactive", "Run the wizard without prompts", false).action(async (opts, command) => {
|
|
165
|
-
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
166
|
-
const hasWizardFlags = hasExplicitOptions(command, ["wizard", "nonInteractive"]);
|
|
167
|
-
if (opts.wizard || hasWizardFlags) {
|
|
168
|
-
await onboardCommand({
|
|
169
|
-
workspace: opts.workspace,
|
|
170
|
-
nonInteractive: Boolean(opts.nonInteractive)
|
|
171
|
-
}, defaultRuntime);
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
await setupCommand({ workspace: opts.workspace }, defaultRuntime);
|
|
175
|
-
});
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
//#endregion
|
|
180
|
-
export { registerSetupCommand };
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import "./paths-zhVksOvm.js";
|
|
2
|
-
import { B as theme, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
3
|
-
import { C as shortenHomePath } from "./utils-RdHkpqQp.js";
|
|
4
|
-
import "./pi-embedded-helpers-6Tb87sgU.js";
|
|
5
|
-
import "./subagent-registry-BOsyxABV.js";
|
|
6
|
-
import "./reply-F1NR0Mmi.js";
|
|
7
|
-
import "./exec-Bsq6vlwp.js";
|
|
8
|
-
import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-kT_pK2eJ.js";
|
|
9
|
-
import "./model-selection-MwLHFnAb.js";
|
|
10
|
-
import "./lanes-CjLEc1h9.js";
|
|
11
|
-
import { l as writeConfigFile, r as createConfigIO } from "./config-Bda-8Rdh.js";
|
|
12
|
-
import "./boolean-Wzu0-e0P.js";
|
|
13
|
-
import "./env-CYcXAarB.js";
|
|
14
|
-
import "./shell-env-SbFYz02H.js";
|
|
15
|
-
import "./manifest-registry-DLouWVJe.js";
|
|
16
|
-
import "./sessions-DiW7DuJO.js";
|
|
17
|
-
import "./image-ops-CVabMYiY.js";
|
|
18
|
-
import "./polls-vAdf9owY.js";
|
|
19
|
-
import "./auth-profiles-CzyebTC0.js";
|
|
20
|
-
import "./file-lock-BRW4LeL0.js";
|
|
21
|
-
import "./model-auth-Cyx2Xoz0.js";
|
|
22
|
-
import "./cli-session-C5q6Uryq.js";
|
|
23
|
-
import "./tokens-BLOye_TP.js";
|
|
24
|
-
import "./sandbox-hOY3muxh.js";
|
|
25
|
-
import "./chrome-CVfcErE4.js";
|
|
26
|
-
import "./auth-B8ry4GB_.js";
|
|
27
|
-
import "./server-context-C0YSbjOv.js";
|
|
28
|
-
import "./skills-DsdcfeyV.js";
|
|
29
|
-
import "./routes-TJ5bwx27.js";
|
|
30
|
-
import "./ports-CmAt9mb6.js";
|
|
31
|
-
import "./message-channel-BbkwF58_.js";
|
|
32
|
-
import "./plugins-CFb1gJ4N.js";
|
|
33
|
-
import { o as resolveSessionTranscriptsDir } from "./paths-CqMZNi-M.js";
|
|
34
|
-
import "./tool-images-C4cophRS.js";
|
|
35
|
-
import "./parse-timeout-PImvLfCF.js";
|
|
36
|
-
import "./chunk-DprzQA5H.js";
|
|
37
|
-
import "./deliver-TokuvSTy.js";
|
|
38
|
-
import "./pi-tools.policy-BntNhXqZ.js";
|
|
39
|
-
import "./client-oEG5cM5Q.js";
|
|
40
|
-
import "./call-CItRp_pr.js";
|
|
41
|
-
import "./memory-cli-hyoQVF7L.js";
|
|
42
|
-
import "./manager-eyHWQVGS.js";
|
|
43
|
-
import "./sqlite-EkbWHNXu.js";
|
|
44
|
-
import "./redact-BICFkpn7.js";
|
|
45
|
-
import "./session-DmKXXA8P.js";
|
|
46
|
-
import "./semantic-Dr5Rm54S.js";
|
|
47
|
-
import "./loader-DdJZwB8s.js";
|
|
48
|
-
import "./soul-QDMbOFQ4.js";
|
|
49
|
-
import "./common-CwWabBN8.js";
|
|
50
|
-
import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
|
|
51
|
-
import { t as runCommandWithRuntime } from "./cli-utils-C2Dtl4o_.js";
|
|
52
|
-
import "./progress-gdB4V88Q.js";
|
|
53
|
-
import "./logging-1vypRz8h.js";
|
|
54
|
-
import "./auth-store-DWgI4Vj8.js";
|
|
55
|
-
import "./control-service-CJ2uXWYM.js";
|
|
56
|
-
import "./dispatcher-DnyO_pzZ.js";
|
|
57
|
-
import "./pi-model-discovery-HH8RvApN.js";
|
|
58
|
-
import "./delivery-queue-CdUtwMZr.js";
|
|
59
|
-
import "./session-cost-usage-CYdqhmt6.js";
|
|
60
|
-
import "./program-context-CC-g5UxM.js";
|
|
61
|
-
import "./completion-cli-BHlamZC3.js";
|
|
62
|
-
import "./daemon-runtime-DP9zI3um.js";
|
|
63
|
-
import "./onboard-helpers-DVbPW8Cs.js";
|
|
64
|
-
import "./prompt-style-CXrnxWQG.js";
|
|
65
|
-
import "./systemd-IDjybnbO.js";
|
|
66
|
-
import "./service-H_0E0nOX.js";
|
|
67
|
-
import "./health-BLxSP-s_.js";
|
|
68
|
-
import "./health-format-BMwPAU53.js";
|
|
69
|
-
import "./prompts-BWkFLWEk.js";
|
|
70
|
-
import "./ipv4-BXko1df7.js";
|
|
71
|
-
import "./hooks-status-BTVvcXJx.js";
|
|
72
|
-
import "./onboarding-ifLjX4Oc.js";
|
|
73
|
-
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-ClHj0gnP.js";
|
|
74
|
-
import "./tui-BbS56NwI.js";
|
|
75
|
-
import "./note-CLRVmCnr.js";
|
|
76
|
-
import "./doctor-completion-Dnj6NNct.js";
|
|
77
|
-
import "./clack-prompter-DGILBk0Q.js";
|
|
78
|
-
import { t as hasExplicitOptions } from "./command-options-HR4rJB0D.js";
|
|
79
|
-
import "./systemd-linger-q1hyIpoI.js";
|
|
80
|
-
import { t as onboardCommand } from "./onboard-Dyr-G4cr.js";
|
|
81
|
-
import JSON5 from "json5";
|
|
82
|
-
import fs from "node:fs/promises";
|
|
83
|
-
|
|
84
|
-
//#region src/commands/setup.ts
|
|
85
|
-
async function readConfigFileRaw(configPath) {
|
|
86
|
-
try {
|
|
87
|
-
const raw = await fs.readFile(configPath, "utf-8");
|
|
88
|
-
const parsed = JSON5.parse(raw);
|
|
89
|
-
if (parsed && typeof parsed === "object") return {
|
|
90
|
-
exists: true,
|
|
91
|
-
parsed
|
|
92
|
-
};
|
|
93
|
-
return {
|
|
94
|
-
exists: true,
|
|
95
|
-
parsed: {}
|
|
96
|
-
};
|
|
97
|
-
} catch {
|
|
98
|
-
return {
|
|
99
|
-
exists: false,
|
|
100
|
-
parsed: {}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
async function setupCommand(opts, runtime = defaultRuntime) {
|
|
105
|
-
const desiredWorkspace = typeof opts?.workspace === "string" && opts.workspace.trim() ? opts.workspace.trim() : void 0;
|
|
106
|
-
const configPath = createConfigIO().configPath;
|
|
107
|
-
const existingRaw = await readConfigFileRaw(configPath);
|
|
108
|
-
const cfg = existingRaw.parsed;
|
|
109
|
-
const defaults = cfg.agents?.defaults ?? {};
|
|
110
|
-
const workspace = desiredWorkspace ?? defaults.workspace ?? DEFAULT_AGENT_WORKSPACE_DIR;
|
|
111
|
-
const next = {
|
|
112
|
-
...cfg,
|
|
113
|
-
agents: {
|
|
114
|
-
...cfg.agents,
|
|
115
|
-
defaults: {
|
|
116
|
-
...defaults,
|
|
117
|
-
workspace
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
if (!existingRaw.exists || defaults.workspace !== workspace) {
|
|
122
|
-
await writeConfigFile(next);
|
|
123
|
-
if (!existingRaw.exists) runtime.log(`Wrote ${formatConfigPath(configPath)}`);
|
|
124
|
-
else logConfigUpdated(runtime, {
|
|
125
|
-
path: configPath,
|
|
126
|
-
suffix: "(set agents.defaults.workspace)"
|
|
127
|
-
});
|
|
128
|
-
} else runtime.log(`Config OK: ${formatConfigPath(configPath)}`);
|
|
129
|
-
const ws = await ensureAgentWorkspace({
|
|
130
|
-
dir: workspace,
|
|
131
|
-
ensureBootstrapFiles: !next.agents?.defaults?.skipBootstrap
|
|
132
|
-
});
|
|
133
|
-
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
134
|
-
const sessionsDir = resolveSessionTranscriptsDir();
|
|
135
|
-
await fs.mkdir(sessionsDir, { recursive: true });
|
|
136
|
-
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
137
|
-
const gatewayMode = cfg.gateway?.mode;
|
|
138
|
-
const gatewayPort = cfg.gateway?.port;
|
|
139
|
-
const heartbeatInterval = cfg.session?.heartbeatIntervalSec;
|
|
140
|
-
runtime.log("");
|
|
141
|
-
runtime.log(" Current settings:");
|
|
142
|
-
runtime.log(` Gateway: ${gatewayMode ?? "not configured"}${gatewayPort ? ` (port ${gatewayPort})` : ""}`);
|
|
143
|
-
runtime.log(` Heartbeat: ${heartbeatInterval ? `${heartbeatInterval}s` : "default (300s)"}`);
|
|
144
|
-
try {
|
|
145
|
-
const { readFileSync } = await import("node:fs");
|
|
146
|
-
const { homedir } = await import("node:os");
|
|
147
|
-
readFileSync(`${homedir()}/.noxsoft-agent-token`, "utf-8");
|
|
148
|
-
runtime.log(" NoxSoft: \x1B[32mregistered\x1B[0m");
|
|
149
|
-
} catch {
|
|
150
|
-
runtime.log(" NoxSoft: \x1B[31mnot registered\x1B[0m");
|
|
151
|
-
runtime.log(" Run \x1B[36manima onboard\x1B[0m to register with NoxSoft");
|
|
152
|
-
}
|
|
153
|
-
runtime.log("");
|
|
154
|
-
runtime.log(" Run \x1B[36manima configure\x1B[0m to change settings.");
|
|
155
|
-
runtime.log(" Run \x1B[36manima setup --wizard\x1B[0m for full guided setup.");
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
//#endregion
|
|
159
|
-
//#region src/cli/program/register.setup.ts
|
|
160
|
-
function registerSetupCommand(program) {
|
|
161
|
-
program.command("setup").description("Initialize ANIMA config and the agent workspace").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/setup", "docs.noxsoft.net/anima/cli/setup")}\n`).option("--workspace <dir>", "Agent workspace directory (default: ~/.anima/workspace; stored as agents.defaults.workspace)").option("--wizard", "Run the interactive onboarding wizard", false).option("--non-interactive", "Run the wizard without prompts", false).action(async (opts, command) => {
|
|
162
|
-
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
163
|
-
const hasWizardFlags = hasExplicitOptions(command, ["wizard", "nonInteractive"]);
|
|
164
|
-
if (opts.wizard || hasWizardFlags) {
|
|
165
|
-
await onboardCommand({
|
|
166
|
-
workspace: opts.workspace,
|
|
167
|
-
nonInteractive: Boolean(opts.nonInteractive)
|
|
168
|
-
}, defaultRuntime);
|
|
169
|
-
return;
|
|
170
|
-
}
|
|
171
|
-
await setupCommand({ workspace: opts.workspace }, defaultRuntime);
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
//#endregion
|
|
177
|
-
export { registerSetupCommand };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|