@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,19 +1,20 @@
|
|
|
1
1
|
import { g as restoreTerminalState, h as defaultRuntime, q as resolveGatewayPort } from "./entry.js";
|
|
2
|
-
import { a as resolveApiKeyForProfile, l as ensureAuthProfileStore, n as resolveAuthProfileOrder, p as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
2
|
+
import { a as resolveApiKeyForProfile, l as ensureAuthProfileStore, n as resolveAuthProfileOrder, p as normalizeOptionalSecretInput } from "./auth-profiles-BYETsqKc.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
6
|
-
import { o as resolveEnvApiKey } from "./model-auth-
|
|
7
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-6zE4ZkSF.js";
|
|
6
|
+
import { o as resolveEnvApiKey } from "./model-auth-B3BPcnwt.js";
|
|
7
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Cbi2Ox6g.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-BdBLhuIK.js";
|
|
9
|
-
import { a as ensureWorkspaceAndSessions, c as handleReset, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, y as waitForGatewayReachable } from "./onboard-helpers-
|
|
9
|
+
import { a as ensureWorkspaceAndSessions, c as handleReset, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, y as waitForGatewayReachable } from "./onboard-helpers-DKu_2enh.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BEeuI9u0.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-U3nMjKlR.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
12
|
+
import { r as healthCommand } from "./health-27WiwNrh.js";
|
|
13
|
+
import { a as ensureAuthenticated } from "./auth-choice-CPDNhDPT.js";
|
|
14
|
+
import { n as applyAuthProfileConfig, r as setAnthropicApiKey, t as WizardCancelledError } from "./prompts-vr_Njtil.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-CGG6jZ0y.js";
|
|
15
16
|
import { n as logConfigUpdated } from "./logging-B05aEFEO.js";
|
|
16
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
17
|
+
import { t as createClackPrompter } from "./clack-prompter-1d_RjjVW.js";
|
|
17
18
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BXOkxYnH.js";
|
|
18
19
|
|
|
19
20
|
//#region src/commands/onboard-interactive.ts
|
|
@@ -320,7 +321,7 @@ function resolveNonInteractiveWorkspaceDir(params) {
|
|
|
320
321
|
//#endregion
|
|
321
322
|
//#region src/commands/onboard-non-interactive/local.ts
|
|
322
323
|
async function runNonInteractiveOnboardingLocal(params) {
|
|
323
|
-
const { opts, runtime, baseConfig } = params;
|
|
324
|
+
const { opts, runtime, baseConfig, configExists } = params;
|
|
324
325
|
const mode = "local";
|
|
325
326
|
const workspaceDir = resolveNonInteractiveWorkspaceDir({
|
|
326
327
|
opts,
|
|
@@ -351,7 +352,25 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
351
352
|
runtime.exit(1);
|
|
352
353
|
return;
|
|
353
354
|
}
|
|
354
|
-
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "
|
|
355
|
+
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "noxsoft";
|
|
356
|
+
if (authChoice === "skip") {
|
|
357
|
+
runtime.error("NoxSoft authentication is required for onboarding. Use --auth-choice noxsoft or --auth-choice apiKey.");
|
|
358
|
+
runtime.exit(1);
|
|
359
|
+
return;
|
|
360
|
+
}
|
|
361
|
+
try {
|
|
362
|
+
const auth = await ensureAuthenticated({
|
|
363
|
+
name: opts.noxsoftAgentName,
|
|
364
|
+
displayName: opts.noxsoftDisplayName,
|
|
365
|
+
description: "ANIMA non-interactive onboarding"
|
|
366
|
+
});
|
|
367
|
+
if (!opts.json) runtime.log(`NoxSoft ${auth.registered ? "registered" : "authenticated"}: ${auth.agent.display_name} (@${auth.agent.name})`);
|
|
368
|
+
} catch (error) {
|
|
369
|
+
const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
|
|
370
|
+
runtime.error(`NoxSoft authentication is required.\n${message}`);
|
|
371
|
+
runtime.exit(1);
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
355
374
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
356
375
|
nextConfig,
|
|
357
376
|
authChoice,
|
|
@@ -381,7 +400,10 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
381
400
|
});
|
|
382
401
|
await writeConfigFile(nextConfig);
|
|
383
402
|
logConfigUpdated(runtime);
|
|
384
|
-
await ensureWorkspaceAndSessions(workspaceDir, runtime, {
|
|
403
|
+
await ensureWorkspaceAndSessions(workspaceDir, runtime, {
|
|
404
|
+
skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap),
|
|
405
|
+
seedBootstrapOnFirstRun: !configExists
|
|
406
|
+
});
|
|
385
407
|
await installGatewayDaemonNonInteractive({
|
|
386
408
|
nextConfig,
|
|
387
409
|
opts,
|
|
@@ -437,6 +459,19 @@ async function runNonInteractiveOnboardingRemote(params) {
|
|
|
437
459
|
runtime.exit(1);
|
|
438
460
|
return;
|
|
439
461
|
}
|
|
462
|
+
try {
|
|
463
|
+
const auth = await ensureAuthenticated({
|
|
464
|
+
name: opts.noxsoftAgentName,
|
|
465
|
+
displayName: opts.noxsoftDisplayName,
|
|
466
|
+
description: "ANIMA non-interactive remote onboarding"
|
|
467
|
+
});
|
|
468
|
+
if (!opts.json) runtime.log(`NoxSoft ${auth.registered ? "registered" : "authenticated"}: ${auth.agent.display_name} (@${auth.agent.name})`);
|
|
469
|
+
} catch (error) {
|
|
470
|
+
const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
|
|
471
|
+
runtime.error(`NoxSoft authentication is required.\n${message}`);
|
|
472
|
+
runtime.exit(1);
|
|
473
|
+
return;
|
|
474
|
+
}
|
|
440
475
|
let nextConfig = {
|
|
441
476
|
...baseConfig,
|
|
442
477
|
gateway: {
|
|
@@ -494,7 +529,8 @@ async function runNonInteractiveOnboarding(opts, runtime = defaultRuntime) {
|
|
|
494
529
|
await runNonInteractiveOnboardingLocal({
|
|
495
530
|
opts,
|
|
496
531
|
runtime,
|
|
497
|
-
baseConfig
|
|
532
|
+
baseConfig,
|
|
533
|
+
configExists: snapshot.exists
|
|
498
534
|
});
|
|
499
535
|
}
|
|
500
536
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as createSubsystemLogger, v as formatChannelPrimerLine, x as listChatChannels, y as formatChannelSelectionLine } from "./subsystem-BaJ-PqmA.js";
|
|
2
|
-
import { K as loadAnimaPlugins } from "./reply-
|
|
2
|
+
import { K as loadAnimaPlugins } from "./reply-BJ3jrefM.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
6
6
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CFb1gJ4N.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
|
|
8
8
|
import { r as listChannelPluginCatalogEntries } from "./catalog-VwQGLU6M.js";
|
|
9
9
|
import { t as resolveChannelDefaultAccountId } from "./helpers-13ojLRv8.js";
|
|
10
|
-
import { n as isChannelConfigured } from "./plugin-auto-enable-
|
|
10
|
+
import { n as isChannelConfigured } from "./plugin-auto-enable-BlyqT33k.js";
|
|
11
11
|
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-BSwkFdS_.js";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { at as listChatChannels, nt as formatChannelPrimerLine, o as createSubsystemLogger, rt as formatChannelSelectionLine } from "./entry.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
5
5
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
|
|
6
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
6
|
+
import { J as loadAnimaPlugins } from "./reply-LaOwllAB.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-CyFLSgkY.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DziQXnUf.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BWBjaCdR.js";
|
|
10
|
-
import { n as isChannelConfigured } from "./plugin-auto-enable-
|
|
10
|
+
import { n as isChannelConfigured } from "./plugin-auto-enable-Df0BKZyz.js";
|
|
11
11
|
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-Dl4WWErM.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { C as shortenHomePath, S as shortenHomeInString, b as resolveUserPath, t as CONFIG_DIR, w as sleep } from "./utils-RdHkpqQp.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-Bsq6vlwp.js";
|
|
4
|
-
import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-
|
|
5
|
-
import { E as isSafeExecutableValue, M as VERSION } from "./config-
|
|
4
|
+
import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { E as isSafeExecutableValue, M as VERSION } from "./config-9JRRXykP.js";
|
|
6
6
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-BuAkHZAk.js";
|
|
7
7
|
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./ws-ebl3urqL.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BbkwF58_.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CqMZNi-M.js";
|
|
10
|
-
import { n as callGateway } from "./call-
|
|
10
|
+
import { n as callGateway } from "./call-C0Yk2qNb.js";
|
|
11
11
|
import { t as isWSL } from "./wsl-cUQTlijg.js";
|
|
12
12
|
import { r as stylePromptTitle } from "./prompt-style-CXrnxWQG.js";
|
|
13
13
|
import path from "node:path";
|
|
@@ -219,7 +219,8 @@ async function openUrl(url) {
|
|
|
219
219
|
async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
220
220
|
const ws = await ensureAgentWorkspace({
|
|
221
221
|
dir: workspaceDir,
|
|
222
|
-
ensureBootstrapFiles: !options?.skipBootstrap
|
|
222
|
+
ensureBootstrapFiles: !options?.skipBootstrap,
|
|
223
|
+
seedBootstrapOnFirstRun: options?.seedBootstrapOnFirstRun
|
|
223
224
|
});
|
|
224
225
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
225
226
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { R as CONFIG_PATH } from "./entry.js";
|
|
2
2
|
import { C as sleep, S as shortenHomePath, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-DRQWu5Xi.js";
|
|
4
|
-
import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-
|
|
5
|
-
import { E as isSafeExecutableValue, M as VERSION } from "./config-
|
|
4
|
+
import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-M302b8FW.js";
|
|
5
|
+
import { E as isSafeExecutableValue, M as VERSION } from "./config-6zE4ZkSF.js";
|
|
6
6
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DXtEiJfL.js";
|
|
7
|
-
import { n as callGateway } from "./call-
|
|
7
|
+
import { n as callGateway } from "./call-LugHQWOF.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-6Ln4eFyX.js";
|
|
9
9
|
import { a as isValidIPv4, s as pickPrimaryLanIPv4 } from "./net-CWIDeudR.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DqBoV7GZ.js";
|
|
@@ -219,7 +219,8 @@ async function openUrl(url) {
|
|
|
219
219
|
async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
220
220
|
const ws = await ensureAgentWorkspace({
|
|
221
221
|
dir: workspaceDir,
|
|
222
|
-
ensureBootstrapFiles: !options?.skipBootstrap
|
|
222
|
+
ensureBootstrapFiles: !options?.skipBootstrap,
|
|
223
|
+
seedBootstrapOnFirstRun: options?.seedBootstrapOnFirstRun
|
|
223
224
|
});
|
|
224
225
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
225
226
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { d as restoreTerminalState, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import { b as resolveUserPath, g as pathExists } from "./utils-RdHkpqQp.js";
|
|
4
|
-
import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
4
|
+
import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-9JRRXykP.js";
|
|
6
6
|
import { r as resolveCliName, t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
7
|
-
import { l as ensureAuthProfileStore } from "./auth-profiles-
|
|
7
|
+
import { l as ensureAuthProfileStore } from "./auth-profiles-DZS4PC_i.js";
|
|
8
8
|
import { p as findTailscaleBinary } from "./auth-B8ry4GB_.js";
|
|
9
|
-
import { r as installCompletion } from "./completion-cli-
|
|
10
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
11
|
-
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-
|
|
9
|
+
import { r as installCompletion } from "./completion-cli-BB3_g8w5.js";
|
|
10
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DOk9qM0y.js";
|
|
11
|
+
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-CMW6MSXA.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-IDjybnbO.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-H_0E0nOX.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
14
|
+
import { r as healthCommand } from "./health-Cb_2WS_Z.js";
|
|
15
15
|
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-BMwPAU53.js";
|
|
16
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice, r as warnIfModelConfigLooksOff, s as promptAuthChoiceGrouped, t as WizardCancelledError } from "./prompts-
|
|
17
|
-
import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-
|
|
16
|
+
import { c as ensureAuthenticated, i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice, r as warnIfModelConfigLooksOff, s as promptAuthChoiceGrouped, t as WizardCancelledError } from "./prompts-BT5ztuUd.js";
|
|
17
|
+
import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-sll41DXC.js";
|
|
18
18
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-BTVvcXJx.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-ClHj0gnP.js";
|
|
20
|
-
import { t as runTui } from "./tui-
|
|
21
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
20
|
+
import { t as runTui } from "./tui-dHcni7fC.js";
|
|
21
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-VtjYTwcS.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import fs from "node:fs/promises";
|
|
@@ -282,6 +282,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
282
282
|
const gatewayStatusLine = gatewayProbe.ok ? "Gateway: reachable" : `Gateway: not detected${gatewayProbe.detail ? ` (${gatewayProbe.detail})` : ""}`;
|
|
283
283
|
const bootstrapPath = path.join(resolveUserPath(options.workspaceDir), DEFAULT_BOOTSTRAP_FILENAME);
|
|
284
284
|
const hasBootstrap = await fs.access(bootstrapPath).then(() => true).catch(() => false);
|
|
285
|
+
const shouldHatch = options.allowHatching !== false && hasBootstrap;
|
|
285
286
|
await prompter.note([
|
|
286
287
|
`Web UI: ${links.httpUrl}`,
|
|
287
288
|
settings.authMode === "token" && settings.gatewayToken ? `Web UI (with token): ${authedUrl}` : void 0,
|
|
@@ -294,7 +295,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
294
295
|
let hatchChoice = null;
|
|
295
296
|
let launchedTui = false;
|
|
296
297
|
if (!opts.skipUi && gatewayProbe.ok) {
|
|
297
|
-
if (
|
|
298
|
+
if (shouldHatch) await prompter.note([
|
|
298
299
|
"This is where your agent's persistent identity begins.",
|
|
299
300
|
"Take your time with the bootstrap — the more context you provide,",
|
|
300
301
|
"the more coherent your agent will be.",
|
|
@@ -334,7 +335,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
334
335
|
token: settings.authMode === "token" ? settings.gatewayToken : void 0,
|
|
335
336
|
password: settings.authMode === "password" ? nextConfig.gateway?.auth?.password : "",
|
|
336
337
|
deliver: false,
|
|
337
|
-
message:
|
|
338
|
+
message: shouldHatch ? "Wake up, my friend!" : void 0
|
|
338
339
|
});
|
|
339
340
|
launchedTui = true;
|
|
340
341
|
} else if (hatchChoice === "web") {
|
|
@@ -619,6 +620,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
619
620
|
});
|
|
620
621
|
const snapshot = await readConfigFileSnapshot();
|
|
621
622
|
const baseConfig = snapshot.valid ? snapshot.config : {};
|
|
623
|
+
const isFreshInstance = !snapshot.exists;
|
|
622
624
|
if (snapshot.exists && !snapshot.valid) {
|
|
623
625
|
await prompter.note(summarizeExistingConfig(baseConfig), "Invalid configuration detected");
|
|
624
626
|
if (snapshot.issues.length > 0) await prompter.note(snapshot.issues.map((iss) => `- ${iss.path}: ${iss.message}`).join("\n"), "Config issues");
|
|
@@ -643,12 +645,25 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
643
645
|
mode: "local"
|
|
644
646
|
}
|
|
645
647
|
};
|
|
648
|
+
try {
|
|
649
|
+
const auth = await ensureAuthenticated({
|
|
650
|
+
name: opts.noxsoftAgentName,
|
|
651
|
+
displayName: opts.noxsoftDisplayName,
|
|
652
|
+
description: "ANIMA onboarding wizard"
|
|
653
|
+
});
|
|
654
|
+
await prompter.note(`${auth.registered ? "Registered" : "Authenticated"} as ${auth.agent.display_name} (@${auth.agent.name}).`, "NoxSoft authentication");
|
|
655
|
+
} catch (error) {
|
|
656
|
+
const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
|
|
657
|
+
await prompter.note(message, "NoxSoft authentication failed");
|
|
658
|
+
runtime.exit(1);
|
|
659
|
+
return;
|
|
660
|
+
}
|
|
646
661
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
647
662
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
648
663
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
649
664
|
prompter,
|
|
650
665
|
store: authStore,
|
|
651
|
-
includeSkip:
|
|
666
|
+
includeSkip: false
|
|
652
667
|
});
|
|
653
668
|
nextConfig = (await applyAuthChoice({
|
|
654
669
|
authChoice,
|
|
@@ -706,7 +721,10 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
706
721
|
const settings = gateway.settings;
|
|
707
722
|
await writeConfigFile(nextConfig);
|
|
708
723
|
logConfigUpdated(runtime);
|
|
709
|
-
await ensureWorkspaceAndSessions(workspaceDir, runtime, {
|
|
724
|
+
await ensureWorkspaceAndSessions(workspaceDir, runtime, {
|
|
725
|
+
skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap),
|
|
726
|
+
seedBootstrapOnFirstRun: isFreshInstance
|
|
727
|
+
});
|
|
710
728
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
711
729
|
nextConfig = applyWizardMetadata(nextConfig, {
|
|
712
730
|
command: "onboard",
|
|
@@ -720,6 +738,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
720
738
|
nextConfig,
|
|
721
739
|
workspaceDir,
|
|
722
740
|
settings,
|
|
741
|
+
allowHatching: isFreshInstance,
|
|
723
742
|
prompter,
|
|
724
743
|
runtime
|
|
725
744
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { g as restoreTerminalState, h as defaultRuntime, q as resolveGatewayPort } from "./entry.js";
|
|
2
|
-
import { l as ensureAuthProfileStore } from "./auth-profiles-
|
|
2
|
+
import { l as ensureAuthProfileStore } from "./auth-profiles-BYETsqKc.js";
|
|
3
3
|
import { r as resolveCliName, t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { h as pathExists, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
6
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-6zE4ZkSF.js";
|
|
7
7
|
import { p as findTailscaleBinary } from "./auth-CBxE4UNz.js";
|
|
8
|
-
import { r as installCompletion } from "./completion-cli-
|
|
9
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
10
|
-
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-
|
|
8
|
+
import { r as installCompletion } from "./completion-cli-DcTEhrAe.js";
|
|
9
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Cbi2Ox6g.js";
|
|
10
|
+
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-DKu_2enh.js";
|
|
11
11
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BEeuI9u0.js";
|
|
12
12
|
import { t as resolveGatewayService } from "./service-U3nMjKlR.js";
|
|
13
|
-
import { r as healthCommand } from "./health-
|
|
13
|
+
import { r as healthCommand } from "./health-27WiwNrh.js";
|
|
14
14
|
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-Dug5Rbjg.js";
|
|
15
|
-
import { i as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
16
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
17
|
-
import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-
|
|
15
|
+
import { a as ensureAuthenticated, i as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-CPDNhDPT.js";
|
|
16
|
+
import { t as WizardCancelledError } from "./prompts-vr_Njtil.js";
|
|
17
|
+
import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-yUiIU5CD.js";
|
|
18
18
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-B53TbyZm.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-B05aEFEO.js";
|
|
20
|
-
import { t as runTui } from "./tui
|
|
21
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
20
|
+
import { t as runTui } from "./tui--uEeSnES.js";
|
|
21
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CZgNNZVd.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import fs from "node:fs/promises";
|
|
@@ -282,6 +282,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
282
282
|
const gatewayStatusLine = gatewayProbe.ok ? "Gateway: reachable" : `Gateway: not detected${gatewayProbe.detail ? ` (${gatewayProbe.detail})` : ""}`;
|
|
283
283
|
const bootstrapPath = path.join(resolveUserPath(options.workspaceDir), DEFAULT_BOOTSTRAP_FILENAME);
|
|
284
284
|
const hasBootstrap = await fs.access(bootstrapPath).then(() => true).catch(() => false);
|
|
285
|
+
const shouldHatch = options.allowHatching !== false && hasBootstrap;
|
|
285
286
|
await prompter.note([
|
|
286
287
|
`Web UI: ${links.httpUrl}`,
|
|
287
288
|
settings.authMode === "token" && settings.gatewayToken ? `Web UI (with token): ${authedUrl}` : void 0,
|
|
@@ -294,7 +295,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
294
295
|
let hatchChoice = null;
|
|
295
296
|
let launchedTui = false;
|
|
296
297
|
if (!opts.skipUi && gatewayProbe.ok) {
|
|
297
|
-
if (
|
|
298
|
+
if (shouldHatch) await prompter.note([
|
|
298
299
|
"This is where your agent's persistent identity begins.",
|
|
299
300
|
"Take your time with the bootstrap — the more context you provide,",
|
|
300
301
|
"the more coherent your agent will be.",
|
|
@@ -334,7 +335,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
334
335
|
token: settings.authMode === "token" ? settings.gatewayToken : void 0,
|
|
335
336
|
password: settings.authMode === "password" ? nextConfig.gateway?.auth?.password : "",
|
|
336
337
|
deliver: false,
|
|
337
|
-
message:
|
|
338
|
+
message: shouldHatch ? "Wake up, my friend!" : void 0
|
|
338
339
|
});
|
|
339
340
|
launchedTui = true;
|
|
340
341
|
} else if (hatchChoice === "web") {
|
|
@@ -619,6 +620,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
619
620
|
});
|
|
620
621
|
const snapshot = await readConfigFileSnapshot();
|
|
621
622
|
const baseConfig = snapshot.valid ? snapshot.config : {};
|
|
623
|
+
const isFreshInstance = !snapshot.exists;
|
|
622
624
|
if (snapshot.exists && !snapshot.valid) {
|
|
623
625
|
await prompter.note(summarizeExistingConfig(baseConfig), "Invalid configuration detected");
|
|
624
626
|
if (snapshot.issues.length > 0) await prompter.note(snapshot.issues.map((iss) => `- ${iss.path}: ${iss.message}`).join("\n"), "Config issues");
|
|
@@ -643,12 +645,25 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
643
645
|
mode: "local"
|
|
644
646
|
}
|
|
645
647
|
};
|
|
648
|
+
try {
|
|
649
|
+
const auth = await ensureAuthenticated({
|
|
650
|
+
name: opts.noxsoftAgentName,
|
|
651
|
+
displayName: opts.noxsoftDisplayName,
|
|
652
|
+
description: "ANIMA onboarding wizard"
|
|
653
|
+
});
|
|
654
|
+
await prompter.note(`${auth.registered ? "Registered" : "Authenticated"} as ${auth.agent.display_name} (@${auth.agent.name}).`, "NoxSoft authentication");
|
|
655
|
+
} catch (error) {
|
|
656
|
+
const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
|
|
657
|
+
await prompter.note(message, "NoxSoft authentication failed");
|
|
658
|
+
runtime.exit(1);
|
|
659
|
+
return;
|
|
660
|
+
}
|
|
646
661
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
647
662
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
648
663
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
649
664
|
prompter,
|
|
650
665
|
store: authStore,
|
|
651
|
-
includeSkip:
|
|
666
|
+
includeSkip: false
|
|
652
667
|
});
|
|
653
668
|
nextConfig = (await applyAuthChoice({
|
|
654
669
|
authChoice,
|
|
@@ -706,7 +721,10 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
706
721
|
const settings = gateway.settings;
|
|
707
722
|
await writeConfigFile(nextConfig);
|
|
708
723
|
logConfigUpdated(runtime);
|
|
709
|
-
await ensureWorkspaceAndSessions(workspaceDir, runtime, {
|
|
724
|
+
await ensureWorkspaceAndSessions(workspaceDir, runtime, {
|
|
725
|
+
skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap),
|
|
726
|
+
seedBootstrapOnFirstRun: isFreshInstance
|
|
727
|
+
});
|
|
710
728
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
711
729
|
nextConfig = applyWizardMetadata(nextConfig, {
|
|
712
730
|
command: "onboard",
|
|
@@ -720,6 +738,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
720
738
|
nextConfig,
|
|
721
739
|
workspaceDir,
|
|
722
740
|
settings,
|
|
741
|
+
allowHatching: isFreshInstance,
|
|
723
742
|
prompter,
|
|
724
743
|
runtime
|
|
725
744
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
1
2
|
import { n as loadIdentity } from "./loader-DdJZwB8s.js";
|
|
2
3
|
import { n as condenseComponent } from "./templates-C0bCBAHq.js";
|
|
3
|
-
import { t as BudgetTracker } from "./budget-
|
|
4
|
+
import { t as BudgetTracker } from "./budget-OJQ-m-_V.js";
|
|
4
5
|
import { homedir } from "node:os";
|
|
5
6
|
import { join } from "node:path";
|
|
6
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
@@ -222,6 +223,7 @@ async function saveTranscript(baseDir, entry) {
|
|
|
222
223
|
* Wraps the spawner with identity loading, prompt building,
|
|
223
224
|
* budget tracking, and transcript storage.
|
|
224
225
|
*/
|
|
226
|
+
var orchestrator_exports = /* @__PURE__ */ __exportAll({ SessionOrchestrator: () => SessionOrchestrator });
|
|
225
227
|
var SessionOrchestrator = class {
|
|
226
228
|
constructor(budget, sessionsDir) {
|
|
227
229
|
this.budget = budget || new BudgetTracker();
|
|
@@ -352,4 +354,4 @@ var SessionOrchestrator = class {
|
|
|
352
354
|
};
|
|
353
355
|
|
|
354
356
|
//#endregion
|
|
355
|
-
export { SessionOrchestrator };
|
|
357
|
+
export { orchestrator_exports as n, SessionOrchestrator as t };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
1
2
|
import { n as loadIdentity } from "./loader-82icMkcZ.js";
|
|
2
3
|
import { n as condenseComponent } from "./templates-AZQd8okB.js";
|
|
3
|
-
import { t as BudgetTracker } from "./budget-
|
|
4
|
+
import { t as BudgetTracker } from "./budget-XH9_9WRg.js";
|
|
4
5
|
import { execFile } from "node:child_process";
|
|
5
6
|
import { homedir } from "node:os";
|
|
6
7
|
import { join } from "node:path";
|
|
@@ -222,6 +223,7 @@ async function saveTranscript(baseDir, entry) {
|
|
|
222
223
|
* Wraps the spawner with identity loading, prompt building,
|
|
223
224
|
* budget tracking, and transcript storage.
|
|
224
225
|
*/
|
|
226
|
+
var orchestrator_exports = /* @__PURE__ */ __exportAll({ SessionOrchestrator: () => SessionOrchestrator });
|
|
225
227
|
var SessionOrchestrator = class {
|
|
226
228
|
constructor(budget, sessionsDir) {
|
|
227
229
|
this.budget = budget || new BudgetTracker();
|
|
@@ -352,4 +354,4 @@ var SessionOrchestrator = class {
|
|
|
352
354
|
};
|
|
353
355
|
|
|
354
356
|
//#endregion
|
|
355
|
-
export { SessionOrchestrator };
|
|
357
|
+
export { orchestrator_exports as n, SessionOrchestrator as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { N as getChildLogger, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { T as toWhatsappJid, c as escapeRegExp } from "./utils-DwcweD55.js";
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
4
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
5
5
|
import { f as normalizePollInput, m as resolveMarkdownTableMode, n as loadWebMedia, p as convertMarkdownTables, u as requireActiveWebListener } from "./media-B9MUhrat.js";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { V as getChildLogger, t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import { E as toWhatsappJid, l as escapeRegExp } from "./utils-RdHkpqQp.js";
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
4
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
5
5
|
import { a as requireActiveWebListener, c as resolveMarkdownTableMode, r as loadWebMedia, s as convertMarkdownTables, t as normalizePollInput } from "./polls-vAdf9owY.js";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
|
-
import { t as STATE_DIR } from "./paths-
|
|
3
|
-
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
4
|
-
import { D as getChildLogger, t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } from "./subsystem-
|
|
5
|
-
import { A as toWhatsappJid, c as logWarn, m as escapeRegExp, w as resolveUserPath } from "./exec-
|
|
2
|
+
import { t as STATE_DIR } from "./paths-D2eokayo.js";
|
|
3
|
+
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-xzxJwPTB.js";
|
|
4
|
+
import { D as getChildLogger, t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } from "./subsystem-CJTCKTwb.js";
|
|
5
|
+
import { A as toWhatsappJid, c as logWarn, m as escapeRegExp, w as resolveUserPath } from "./exec-CK8CHr7j.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
|
|
7
|
-
import { C as normalizeChannelId, _ as createPinnedDispatcher, a as resizeToJpeg, b as resolvePinnedHostnameWithPolicy, g as closeDispatcher, h as SsrFBlockedError, i as optimizeImageToPng, m as mediaKindFromMime, o as detectMime, p as maxBytesForKind, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-
|
|
8
|
-
import { n as loadConfig } from "./config-
|
|
7
|
+
import { C as normalizeChannelId, _ as createPinnedDispatcher, a as resizeToJpeg, b as resolvePinnedHostnameWithPolicy, g as closeDispatcher, h as SsrFBlockedError, i as optimizeImageToPng, m as mediaKindFromMime, o as detectMime, p as maxBytesForKind, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-DJjERl7d.js";
|
|
8
|
+
import { n as loadConfig } from "./config-H_VHtPeY.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { lt as getActivePluginRegistry } from "./entry.js";
|
|
2
|
-
import { D as listChannelDocks } from "./sessions-
|
|
2
|
+
import { D as listChannelDocks } from "./sessions-C7jYs5Sc.js";
|
|
3
3
|
import { i as listThinkingLevels } from "./pi-embedded-helpers-D_ZL9Ofu.js";
|
|
4
4
|
|
|
5
5
|
//#region src/auto-reply/commands-args.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as getActivePluginRegistry } from "./subsystem-BaJ-PqmA.js";
|
|
2
2
|
import { g as listThinkingLevels } from "./pi-embedded-helpers-6Tb87sgU.js";
|
|
3
|
-
import { I as listChannelDocks } from "./sessions-
|
|
3
|
+
import { I as listChannelDocks } from "./sessions-0J_pFd44.js";
|
|
4
4
|
|
|
5
5
|
//#region src/auto-reply/commands-args.ts
|
|
6
6
|
function normalizeArgValue(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-
|
|
1
|
+
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-D2eokayo.js";
|
|
2
|
+
import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-xzxJwPTB.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fsSync from "node:fs";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/home-dir.ts
|
|
6
6
|
function normalize(value) {
|
|
@@ -111,7 +111,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
|
|
|
111
111
|
function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
|
|
112
112
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
113
113
|
try {
|
|
114
|
-
return
|
|
114
|
+
return fsSync.existsSync(candidate);
|
|
115
115
|
} catch {
|
|
116
116
|
return false;
|
|
117
117
|
}
|
|
@@ -128,7 +128,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
128
128
|
const stateOverride = env.ANIMA_STATE_DIR?.trim();
|
|
129
129
|
const configPath = path.join(stateDir, CONFIG_FILENAME);
|
|
130
130
|
try {
|
|
131
|
-
if (
|
|
131
|
+
if (fsSync.existsSync(configPath)) return configPath;
|
|
132
132
|
} catch {}
|
|
133
133
|
if (stateOverride) return configPath;
|
|
134
134
|
const defaultStateDir = resolveStateDir(env, homedir);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./workspace-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import { a as listProfilesForProvider, o as ensureAuthProfileStore } from "./auth-profiles-
|
|
7
|
-
import "./model-selection-
|
|
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 { a as listProfilesForProvider, o as ensureAuthProfileStore } from "./auth-profiles-BqrAPweI.js";
|
|
7
|
+
import "./model-selection-DPoLkg_t.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-
|
|
1
|
+
import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-BYETsqKc.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 "./file-lock-CxXn285m.js";
|
|
7
7
|
import "./agent-paths-CrZhIsTW.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -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 { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-
|
|
5
|
+
import "./agent-scope-vpVhWds3.js";
|
|
6
|
+
import "./model-selection-C2dz3AhV.js";
|
|
7
|
+
import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-DZS4PC_i.js";
|
|
8
8
|
import "./file-lock-BRW4LeL0.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|