@noxsoft/anima 2.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -1
- package/dist/{accounts-CGzuQdAx.js → accounts-4HFzweNO.js} +3 -3
- package/dist/{acp-cli-C2nYnQx-.js → acp-cli-CHsShBeX.js} +4 -4
- package/dist/{acp-cli-B91vBbbX.js → acp-cli-CcOE2A2i.js} +4 -4
- package/dist/{agent-Bd6Zpqnq.js → agent-CT2PCft4.js} +9 -9
- package/dist/{agent-events-BVc91Gjk.js → agent-events-BiKKV3wj.js} +1 -1
- package/dist/{agent-CoxwYg20.js → agent-rY3gCqJE.js} +8 -8
- package/dist/{agent-scope-BoQtElEh.js → agent-scope-BXuH9s05.js} +1 -1
- package/dist/{agent-scope-CuAaArMB.js → agent-scope-M302b8FW.js} +3 -1
- package/dist/{agent-scope-kT_pK2eJ.js → agent-scope-vpVhWds3.js} +3 -1
- package/dist/{agents-ERV83c8T.js → agents-GDJBET4Z.js} +9 -9
- package/dist/{agents.config-Bar8RHWv.js → agents.config-Dqcq7hEy.js} +1 -1
- package/dist/{agents.config-CvQgWymp.js → agents.config-M3p4E9Vk.js} +1 -1
- package/dist/{audit-C4pngOZo.js → audit-BDXqNA5J.js} +6 -6
- package/dist/{audit-94c4PKy2.js → audit-B_3ewOwt.js} +6 -6
- package/dist/{auth-choice-RnqXSEZo.js → auth-choice-BTMheCDo.js} +132 -7
- package/dist/{auth-health-C2V2unOG.js → auth-health-C0g38cq2.js} +1 -1
- package/dist/{auth-profiles-DNpEm389.js → auth-profiles-BYETsqKc.js} +1 -1
- package/dist/{auth-profiles-CzyebTC0.js → auth-profiles-DZS4PC_i.js} +1 -1
- package/dist/{auth-profiles-DxPI9Swi.js → auth-profiles-xk_1uopf.js} +2 -2
- package/dist/{auth-store-vxi4ZPnZ.js → auth-store-Bis9WSLR.js} +1 -1
- package/dist/{auto-update-CFjmeMj2.js → auto-update-D5cnVgXE.js} +10 -4
- package/dist/{auto-update-Ct6OO4xu.js → auto-update-DYjBYplz.js} +10 -4
- package/dist/{banner-D3viiyMP.js → banner-CcUSTTQw.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +14 -14
- package/dist/bundled/bootstrap-extra-files/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-CItRp_pr.js → call-BBzfZU0_.js} +1 -1
- package/dist/{call-DxImJH07.js → call-LugHQWOF.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-DbqT9emt.js → channel-web-BBctXTmi.js} +10 -10
- package/dist/{chunk-B7HJmFUg.js → chunk-Cguey_55.js} +1 -1
- package/dist/{clack-prompter-DzyUpdYc.js → clack-prompter-1d_RjjVW.js} +1 -1
- package/dist/{clack-prompter-DGILBk0Q.js → clack-prompter-S0pujJNH.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CIqM2CiL.js → cli-4D3JIGFt.js} +21 -21
- package/dist/{cli-D3fgTPqQ.js → cli-B2StCcqh.js} +20 -20
- package/dist/{cli-session-C5q6Uryq.js → cli-session-CIhvoVRb.js} +55 -7
- package/dist/{cli-session-DQ9kepDS.js → cli-session-CJ4_a3AU.js} +56 -8
- package/dist/{command-registry-S2ZqFzVe.js → command-registry-D5y3Nn9i.js} +10 -10
- package/dist/{commands-C8xFlkZx.js → commands-BsZdF-6N.js} +1 -1
- package/dist/{commands-Cd2w9dmK.js → commands-quS1zRPr.js} +1 -1
- package/dist/{completion-cli-BHlamZC3.js → completion-cli-CDsbJ-p2.js} +1 -1
- package/dist/{completion-cli-CC0KmaZL.js → completion-cli-CqZwlvs2.js} +2 -2
- package/dist/{config-CaE6v09P.js → config-6zE4ZkSF.js} +2 -2
- package/dist/{config-Bda-8Rdh.js → config-9JRRXykP.js} +2 -2
- package/dist/{config-BEiShGVB.js → config-CrQw7iqE.js} +3 -3
- package/dist/{config-cli-DtJe8KPs.js → config-cli-Brwjz25Y.js} +4 -4
- package/dist/{config-cli-CEU2oLOH.js → config-cli-CaUpfkTl.js} +4 -4
- package/dist/{config-guard-CQWaFJGt.js → config-guard-BUrJR68X.js} +2 -2
- package/dist/{config-guard-a6BWW0DS.js → config-guard-DJ_IK05w.js} +6 -6
- package/dist/{config-sync-DtK8vF0a.js → config-sync-B6XNCiWO.js} +4 -2
- package/dist/{config-sync-DHZT44We.js → config-sync-CVNJhO-W.js} +4 -2
- package/dist/{configure-BwR-MQg6.js → configure-B_PLPDkP.js} +9 -9
- package/dist/{configure-BiIaL4NZ.js → configure-QwZPOdBf.js} +10 -10
- package/dist/{context-Nk3BLa3u.js → context-CsnIPzGP.js} +1 -1
- package/dist/{control-service-CJ2uXWYM.js → control-service-DptjbgYI.js} +2 -2
- package/dist/{control-service-9uTsix_O.js → control-service-dAtxFV2S.js} +2 -2
- package/dist/control-ui/assets/index-CEuStzNh.js +18 -0
- package/dist/control-ui/assets/index-CEuStzNh.js.map +1 -0
- package/dist/control-ui/assets/index-CbNrH7Wu.css +1 -0
- package/dist/control-ui/index.html +20 -0
- package/dist/{cron-cli-Diyg0pr6.js → cron-cli-CpzhiW5t.js} +5 -5
- package/dist/{cron-cli-BoB3GX76.js → cron-cli-DUVPrjk1.js} +5 -5
- package/dist/{daemon-cli-CR7yHMws.js → daemon-cli-CV9nly9k.js} +5 -5
- package/dist/{daemon-cli-CXnpU1lw.js → daemon-cli-tZXFDpZX.js} +5 -5
- package/dist/{daemon-runtime-C-xevhQ5.js → daemon-runtime-Cbi2Ox6g.js} +1 -1
- package/dist/{daemon-runtime-DP9zI3um.js → daemon-runtime-DOk9qM0y.js} +1 -1
- package/dist/{deliver-BJ1xFt2X.js → deliver-Bri9Y1qG.js} +2 -2
- package/dist/{deliver-ZUV32EzH.js → deliver-CkrMkcOx.js} +1 -1
- package/dist/{deliver-TokuvSTy.js → deliver-tQREYhAr.js} +1 -1
- package/dist/{deps-CV9EwaiA.js → deps-DcinYE4_.js} +1 -1
- package/dist/{dispatcher-DT5y2bRx.js → dispatcher-BhzRMibw.js} +1 -1
- package/dist/{dispatcher-DnyO_pzZ.js → dispatcher-CiJKNMU3.js} +1 -1
- package/dist/{dns-cli-Cw0G6u5i.js → dns-cli-B6bcA4-G.js} +3 -3
- package/dist/{dns-cli-CTpT3A5j.js → dns-cli-BvKJGCxL.js} +3 -3
- package/dist/{doctor-a5nLQGbD.js → doctor-BDWGCEMG.js} +19 -19
- package/dist/{doctor-completion-Dnj6NNct.js → doctor-completion-BY4djQTY.js} +1 -1
- package/dist/{doctor-completion-DpxcKMA5.js → doctor-completion-DguJOZqA.js} +1 -1
- package/dist/{doctor-config-flow-D80QIcc-.js → doctor-config-flow-BAntaUow.js} +4 -4
- package/dist/{doctor-config-flow-BZOFJuDW.js → doctor-config-flow-d6ocIX0r.js} +4 -4
- package/dist/{doctor-BRbtvinF.js → doctor-qFADypWz.js} +20 -20
- package/dist/{engine-Df9mQ7es.js → engine-C6iz-qEe.js} +5 -3
- package/dist/{engine-BqAGzYXO.js → engine-CIid6j5k.js} +5 -3
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BWeKuHMf.js → exec-approvals-cli-COqsRheN.js} +5 -5
- package/dist/{exec-approvals-cli-C5OuptCV.js → exec-approvals-cli-ESNXHzjZ.js} +5 -5
- package/dist/extensionAPI.js +3 -1
- package/dist/{gateway-cli-DpikYazv.js → gateway-cli-B091bAD6.js} +45 -45
- package/dist/{gateway-cli-CLhlz_uA.js → gateway-cli-CUmQFMSU.js} +48 -48
- package/dist/{gateway-rpc-B30vCjdB.js → gateway-rpc-2MG1-jz-.js} +1 -1
- package/dist/{gateway-rpc-CeSf5jMa.js → gateway-rpc-hgK9OB-O.js} +1 -1
- package/dist/{health-1JahEOfG.js → health-27WiwNrh.js} +9 -9
- package/dist/{health-BLxSP-s_.js → health-CH8yZB2L.js} +9 -9
- package/dist/{heartbeat-visibility-CS0wp8uu.js → heartbeat-visibility-Blrqxom1.js} +1 -1
- package/dist/{heartbeat-visibility-DgxM3da_.js → heartbeat-visibility-CDRbkOeP.js} +1 -1
- package/dist/{hooks-cli-B-PZNrq5.js → hooks-cli-C7hx3yOv.js} +22 -22
- package/dist/{hooks-cli-Bb1UXfXv.js → hooks-cli-DBAcPJTk.js} +21 -21
- package/dist/index.js +30 -30
- package/dist/{ipv4-BXko1df7.js → ipv4-sll41DXC.js} +4 -4
- package/dist/{ipv4-BmsAjDnB.js → ipv4-yUiIU5CD.js} +5 -5
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{login-DIm-BAka.js → login-Bdyk0es6.js} +2 -2
- package/dist/{login-jV3UWUGr.js → login-DP5hIYxG.js} +3 -3
- package/dist/{login-DQALESNM.js → login-DcBFdgol.js} +2 -2
- package/dist/{login-qr-BMMUazkr.js → login-qr-CEarfn5e.js} +4 -4
- package/dist/{login-qr-CJXqxq1y.js → login-qr-DOt_1aAq.js} +6 -6
- package/dist/{login-qr-BzS8xa3D.js → login-qr-DQS-8_PV.js} +4 -4
- package/dist/{logs-cli-DHjyZjyi.js → logs-cli-O9Vm67Ps.js} +5 -5
- package/dist/{logs-cli-yKcOyM8n.js → logs-cli-VAcUvvxS.js} +5 -5
- package/dist/{manager-eyHWQVGS.js → manager-1ZMunRXe.js} +2 -2
- package/dist/{manager-I5MlcYXv.js → manager-BVhxScwx.js} +2 -2
- package/dist/{manager-BssWfixS.js → manager-CHN3-66K.js} +4 -4
- package/dist/{memory-cli-hyoQVF7L.js → memory-cli-CDMb58Y3.js} +5 -5
- package/dist/{memory-cli-DQm_Q8ks.js → memory-cli-DEnGCMk0.js} +5 -5
- package/dist/{model-auth-CQNrcIIT.js → model-auth-B3BPcnwt.js} +2 -2
- package/dist/{model-auth-BbZzb3IY.js → model-auth-C4Jglp-Y.js} +2 -2
- package/dist/{model-auth-Cyx2Xoz0.js → model-auth-DUHamQTz.js} +2 -2
- package/dist/{model-selection-CtPzqKKJ.js → model-selection-BsVvfxCt.js} +1 -1
- package/dist/{model-selection-MwLHFnAb.js → model-selection-C2dz3AhV.js} +1 -1
- package/dist/{model-selection-BjcyTJyU.js → model-selection-DJcZ82uR.js} +1 -1
- package/dist/{models-Ca4_dCTC.js → models-B8eCDKpA.js} +26 -26
- package/dist/{node-cli-gop9c9Qq.js → node-cli-BujxFy1-.js} +8 -8
- package/dist/{node-cli-CJ-oQ5U6.js → node-cli-CXUIMB7W.js} +8 -8
- package/dist/{onboard-Dyr-G4cr.js → onboard-B006xiEP.js} +48 -13
- package/dist/{onboard-DbCuaHlU.js → onboard-BqpDno7i.js} +49 -13
- package/dist/{onboard-channels-h35eneL1.js → onboard-channels-BQ5lwRDU.js} +3 -3
- package/dist/{onboard-channels-D_jRjSPh.js → onboard-channels-DUklZSXY.js} +3 -3
- package/dist/{onboard-helpers-CAxb1eBy.js → onboard-helpers-DKu_2enh.js} +5 -4
- package/dist/{onboard-helpers-DVbPW8Cs.js → onboard-helpers-K7wUCSoE.js} +5 -4
- package/dist/{onboarding-Djv0NsZi.js → onboarding-BLFJufto.js} +35 -16
- package/dist/{onboarding-ifLjX4Oc.js → onboarding-DXQ0Qtq6.js} +34 -15
- package/dist/{orchestrator-DeKyZfHL.js → orchestrator-CZ5SiD5l.js} +4 -2
- package/dist/{orchestrator-DAY2aHzl.js → orchestrator-KqoQDkvl.js} +4 -2
- package/dist/{outbound-_KURrkN3.js → outbound-Cf_1Utlz.js} +1 -1
- package/dist/{outbound-DptF-A0k.js → outbound-CwCRq4Cg.js} +1 -1
- package/dist/{outbound-ChmdbJju.js → outbound-DdFghG1N.js} +2 -2
- package/dist/{parse-timeout-ByYuFf-D.js → parse-timeout-DhqvtdXz.js} +1 -1
- package/dist/{parse-timeout-PImvLfCF.js → parse-timeout-qnHqZvCW.js} +1 -1
- package/dist/{paths-BzTTzuSa.js → paths-OaazGgrn.js} +1 -1
- package/dist/{pi-auth-json-Ct4FUjxN.js → pi-auth-json-CYnJfuU-.js} +4 -4
- package/dist/{pi-auth-json-QVWbBbGs.js → pi-auth-json-Crkmg439.js} +3 -3
- package/dist/{pi-auth-json-BvGZollA.js → pi-auth-json-PEKcHBMl.js} +3 -3
- package/dist/{pi-embedded-helpers-BS_VM3j4.js → pi-embedded-helpers-CeMv9QXO.js} +4 -4
- package/dist/{pi-tools.policy-BntNhXqZ.js → pi-tools.policy-BoWzLBtH.js} +3 -3
- package/dist/{pi-tools.policy-pvzE9Rfa.js → pi-tools.policy-ClzqRWic.js} +3 -3
- package/dist/{plugin-auto-enable-j_zHeVf1.js → plugin-auto-enable-BlyqT33k.js} +1 -1
- package/dist/{plugin-auto-enable-BvCuJgmb.js → plugin-auto-enable-Df0BKZyz.js} +1 -1
- package/dist/{plugin-registry-BgzrHeH3.js → plugin-registry-BsdLXCVX.js} +3 -3
- package/dist/{plugin-registry-DurMOI5P.js → plugin-registry-k-cSnXEV.js} +3 -3
- package/dist/plugin-sdk/agents/workspace.d.ts +1 -0
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-DJKbvRtd.js → plugins-cli-CXap4R64.js} +22 -22
- package/dist/{plugins-cli-BFJqs061.js → plugins-cli-OPa7o4qd.js} +21 -21
- package/dist/{program-8-GzSO81.js → program-CzWSwu9I.js} +27 -27
- package/dist/{program-context-CC-g5UxM.js → program-context-C8DYJdS-.js} +29 -29
- package/dist/{prompts-BWkFLWEk.js → prompts-Cm8eJ-i3.js} +131 -6
- package/dist/{prompts-CAgrJeru.js → prompts-vr_Njtil.js} +1 -1
- package/dist/{qmd-manager-TUpRgiFa.js → qmd-manager-BD0uCIzM.js} +1 -1
- package/dist/{qmd-manager-NwDwG7DY.js → qmd-manager-CaNCfJK6.js} +1 -1
- package/dist/{qmd-manager-B5wbKcWC.js → qmd-manager-lcdr9Faq.js} +4 -4
- package/dist/{queue-9vTUxVNg.js → queue-CRtO6LOL.js} +3 -1
- package/dist/{queue-R94Bcxk5.js → queue-DMVbLSSW.js} +3 -1
- package/dist/{register.agent-BWl6JYHL.js → register.agent-B_gLj3iW.js} +30 -30
- package/dist/{register.agent-BcxdwhFz.js → register.agent-DY1YeTsP.js} +28 -28
- package/dist/{register.anima-D9CE9aVh.js → register.anima-B0tWw_hC.js} +13 -13
- package/dist/{register.anima-D8cnU8Zq.js → register.anima-CObVi7FQ.js} +13 -13
- package/dist/{register.configure-BQ7viIFW.js → register.configure-BHsLGGdB.js} +29 -29
- package/dist/{register.configure-CWWSJ12h.js → register.configure-De5ZyOFg.js} +32 -32
- package/dist/{register.maintenance-BS36METc.js → register.maintenance-Bcb2lf7H.js} +34 -34
- package/dist/{register.maintenance-BUkkCBQa.js → register.maintenance-DSQmEYe7.js} +31 -31
- package/dist/{register.onboard-CxktbTOi.js → register.onboard-COEVeozO.js} +41 -37
- package/dist/{register.onboard-ks3BprXH.js → register.onboard-DUWYMOX1.js} +37 -33
- package/dist/register.setup-D__YdHzY.js +270 -0
- package/dist/register.setup-fJdxj_9G.js +267 -0
- package/dist/{register.status-health-sessions-Bmgu0PWs.js → register.status-health-sessions-BsGFhOsG.js} +25 -25
- package/dist/{register.status-health-sessions-Cfhab3ds.js → register.status-health-sessions-CP9VvjA9.js} +27 -27
- package/dist/{register.subclis-Cp2R1dTl.js → register.subclis-D2HE_7Rz.js} +20 -20
- package/dist/{reply-F1NR0Mmi.js → reply-B5IU75jY.js} +27 -27
- package/dist/{reply-BWWaNSoB.js → reply-LaOwllAB.js} +28 -28
- package/dist/{reply-prefix-ByFTwsu6.js → reply-prefix-B90kjTag.js} +2 -2
- package/dist/{reply-prefix-Cd1ryhL4.js → reply-prefix-Dl_Gro6x.js} +2 -2
- package/dist/{routes-DdssPiMt.js → routes-Bifu4ATk.js} +2 -2
- package/dist/{routes-TJ5bwx27.js → routes-D7OuiEUz.js} +2 -2
- package/dist/{run-main-Br6uQWzH.js → run-main-BTol0uPD.js} +40 -40
- package/dist/{sandbox-BIZzFPco.js → sandbox-CR2AIW2N.js} +3 -3
- package/dist/{sandbox-cli-DjALBAAV.js → sandbox-cli-CRzBRQ9r.js} +7 -7
- package/dist/{sandbox-cli-DMBBlMK-.js → sandbox-cli-c_HPZNmf.js} +7 -7
- package/dist/{sandbox-hOY3muxh.js → sandbox-wL61f1WP.js} +3 -3
- package/dist/{security-cli-GXZAU0Ax.js → security-cli-CVkFh9a9.js} +10 -10
- package/dist/{security-cli-CsDWYPNG.js → security-cli-DTAzTIiZ.js} +10 -10
- package/dist/{server-context-BW5BY88Y.js → server-context-C2TNamEJ.js} +1 -1
- package/dist/{server-context-C0YSbjOv.js → server-context-CHGGYs6i.js} +1 -1
- package/dist/{server-node-events-DM3CCYrf.js → server-node-events-DMEsGLU8.js} +13 -13
- package/dist/{server-node-events-Byy-Is6v.js → server-node-events-DsfvuRBK.js} +13 -13
- package/dist/{service-audit-u3qzhhqv.js → service-audit-BG0tcSCo.js} +1 -1
- package/dist/{service-audit-CGmQWccK.js → service-audit-DLV93I95.js} +1 -1
- package/dist/{session-BQzzYRDO.js → session-BpAyGjL3.js} +1 -1
- package/dist/{session-ititeJ0j.js → session-ygzMc3r1.js} +4 -4
- package/dist/{sessions-DiW7DuJO.js → sessions-0J_pFd44.js} +1 -1
- package/dist/{sessions-wzfE85C2.js → sessions-C7jYs5Sc.js} +1 -1
- package/dist/{sessions-Bxpm8P5t.js → sessions-CbUTEpMF.js} +4 -4
- package/dist/{shared-DynkOTFs.js → shared-B9kttsme.js} +1 -1
- package/dist/{skills-cli-Dttyzhqz.js → skills-cli-CrB84lEO.js} +3 -3
- package/dist/{skills-cli-DA18YLo4.js → skills-cli-DC6nGiOg.js} +3 -3
- package/dist/{sqlite-Dx5ydniE.js → sqlite-B3u2TqVF.js} +1 -1
- package/dist/{start-BNGlbbt9.js → start-BLi_X68Y.js} +36 -13
- package/dist/{start-DSZJq_zz.js → start-BQfR8aBZ.js} +36 -13
- package/dist/{status-BToHtmWf.js → status-CHuLEuXT.js} +12 -12
- package/dist/{status-QWb0sx59.js → status-CTYln2fY.js} +3 -3
- package/dist/{status-DVYPFs7b.js → status-CzCmUbgr.js} +13 -13
- package/dist/{status-BCbWWHdA.js → status-D5zPydam.js} +3 -3
- package/dist/{status.update-CwIUq3Bq.js → status.update-_DOVm6Tr.js} +1 -1
- package/dist/{status.update-CJR_Zlvb.js → status.update-s92nCoGl.js} +1 -1
- package/dist/{subagent-registry-DEjp4eYh.js → subagent-registry-DQzBrh1E.js} +5 -5
- package/dist/{subagent-registry-BOsyxABV.js → subagent-registry-jwfG4kCT.js} +5 -5
- package/dist/{subagent-registry-DXy6WsnY.js → subagent-registry-xUCd2ZX9.js} +8 -8
- package/dist/{system-cli-CtYpaf1K.js → system-cli-C8kg1fwg.js} +5 -5
- package/dist/{system-cli-BYJicBL3.js → system-cli-CTN9NSfv.js} +5 -5
- package/dist/{tui-Bx6Ty5e9.js → tui--uEeSnES.js} +4 -4
- package/dist/{tui-BbS56NwI.js → tui-DBbVe-hW.js} +4 -4
- package/dist/{tui-cli-BcqM-1Iu.js → tui-cli-CypnMid4.js} +10 -10
- package/dist/{tui-cli-DM2-e45Y.js → tui-cli-De0zVM4-.js} +10 -10
- package/dist/{update-cli-DHCu3Tw_.js → update-cli-C6zUK6ap.js} +38 -38
- package/dist/{update-cli-CzrELkox.js → update-cli-CATjbP1k.js} +41 -41
- package/dist/{update-runner-CBoHuDWR.js → update-runner-B-JShOyr.js} +1 -1
- package/dist/{update-runner-OvETClW6.js → update-runner-O0kK_BAP.js} +1 -1
- package/dist/{usage-ClLnsNuk.js → usage-kmpmqBES.js} +57 -9
- package/dist/{web-DNwUI_-o.js → web-CTS-vEIT.js} +30 -30
- package/dist/{web-B-hsbig8.js → web-DNoikQbD.js} +25 -25
- package/dist/{web-Ci2DZCF7.js → web-EevNfpKp.js} +25 -25
- package/dist/{webhooks-cli-CK3Ooqxg.js → webhooks-cli-BqeMvo07.js} +3 -3
- package/dist/{webhooks-cli-BGo97Z-y.js → webhooks-cli-Cq3eb3vw.js} +3 -3
- package/dist/{whatsapp-actions-C-cAzSXs.js → whatsapp-actions-BkSSHLwM.js} +4 -4
- package/dist/{whatsapp-actions-CFQjbIXn.js → whatsapp-actions-j-5lmC5M.js} +4 -4
- package/dist/{whatsapp-actions-DBSx3VSP.js → whatsapp-actions-qDftmVCc.js} +6 -6
- package/dist/{workspace-BSBhp-B5.js → workspace-CZlo4alz.js} +3 -1
- package/package.json +1 -1
- package/templates/SOUL.md +16 -0
- package/dist/register.setup-CP--HKWT.js +0 -180
- package/dist/register.setup-TUHZSkwM.js +0 -177
- /package/dist/{budget-1SoJncof.js → budget-OJQ-m-_V.js} +0 -0
- /package/dist/{budget-DYeweLNW.js → budget-XH9_9WRg.js} +0 -0
- /package/dist/{config-COtiNNtV.js → config-Btt1rkoB.js} +0 -0
- /package/dist/{input-provenance-MbkIKHHL.js → input-provenance-B0pwc6mp.js} +0 -0
- /package/dist/{registry-Dw31-Q3z.js → registry-6ARhh9Nh.js} +0 -0
- /package/dist/{registry-Bkdrbxa5.js → registry-E-bcMZe2.js} +0 -0
|
@@ -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-CqZwlvs2.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-BTMheCDo.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-DguJOZqA.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 { 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-CDsbJ-p2.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-K7wUCSoE.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-CH8yZB2L.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-Cm8eJ-i3.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-DBbVe-hW.js";
|
|
21
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BY4djQTY.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
2
|
import { t as STATE_DIR } from "./paths-B-AkG5FD.js";
|
|
3
|
-
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
3
|
+
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-CZlo4alz.js";
|
|
4
4
|
import { D as getChildLogger, t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } from "./subsystem-BlEuMJjX.js";
|
|
5
5
|
import { A as toWhatsappJid, c as logWarn, m as escapeRegExp, w as resolveUserPath } from "./exec-DJTRaYS6.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
|
|
7
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-ZMEg1-kE.js";
|
|
8
|
-
import { n as loadConfig } from "./config-
|
|
8
|
+
import { n as loadConfig } from "./config-CrQw7iqE.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
1
|
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-B-AkG5FD.js";
|
|
2
|
-
import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-
|
|
2
|
+
import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-CZlo4alz.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-B-AkG5FD.js";
|
|
2
|
-
import "./workspace-
|
|
2
|
+
import "./workspace-CZlo4alz.js";
|
|
3
3
|
import "./subsystem-BlEuMJjX.js";
|
|
4
4
|
import "./exec-DJTRaYS6.js";
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import { a as listProfilesForProvider, o as ensureAuthProfileStore } from "./auth-profiles-
|
|
7
|
-
import "./model-selection-
|
|
5
|
+
import "./agent-scope-BXuH9s05.js";
|
|
6
|
+
import { a as listProfilesForProvider, o as ensureAuthProfileStore } from "./auth-profiles-xk_1uopf.js";
|
|
7
|
+
import "./model-selection-BsVvfxCt.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";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-B-AkG5FD.js";
|
|
2
|
-
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveAnimaPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-
|
|
2
|
+
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveAnimaPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-CZlo4alz.js";
|
|
3
3
|
import { j as resolvePreferredAnimaTmpDir, l as getChatChannelMeta, m as requireActivePluginRegistry, n as defaultRuntime, o as CHANNEL_IDS, s as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-BlEuMJjX.js";
|
|
4
4
|
import { S as resolveConfigDir, b as normalizeE164, j as truncateUtf16Safe, l as CONFIG_DIR, m as escapeRegExp, n as runExec, w as resolveUserPath } from "./exec-DJTRaYS6.js";
|
|
5
|
-
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-BXuH9s05.js";
|
|
6
6
|
import { A as normalizeMessageChannel, C as normalizeChannelId, a as resizeToJpeg, k as listDeliverableMessageChannels, n as getImageMetadata, o as detectMime, s as extensionForMime } from "./image-ops-ZMEg1-kE.js";
|
|
7
|
-
import { a as writeConfigFile, c as parseDurationMs, h as resolveMemorySlotDecision, m as resolveEnableState, n as loadConfig, p as normalizePluginsConfig, s as parseByteSize, t as createConfigIO, u as loadPluginManifestRegistry } from "./config-
|
|
7
|
+
import { a as writeConfigFile, c as parseDurationMs, h as resolveMemorySlotDecision, m as resolveEnableState, n as loadConfig, p as normalizePluginsConfig, s as parseByteSize, t as createConfigIO, u as loadPluginManifestRegistry } from "./config-CrQw7iqE.js";
|
|
8
8
|
import { t as parseBooleanValue } from "./boolean-BsqeuxE6.js";
|
|
9
|
-
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
9
|
+
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-OaazGgrn.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-D0hT93vo.js";
|
|
11
11
|
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_ANIMA_BROWSER_ENABLED, E as DEFAULT_ANIMA_BROWSER_COLOR, O as DEFAULT_ANIMA_BROWSER_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveAnimaUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchAnimaChrome, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, n as isChromeCdpReady, o as stopAnimaChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-C1KpzLwu.js";
|
|
12
12
|
import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveAnimaManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-DDYuWuK5.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as resolveRequiredHomeDir, f as resolveOAuthDir, m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { x as safeParseJson } from "./utils-RdHkpqQp.js";
|
|
3
3
|
import { S as resolveThreadParentSessionKey, c as normalizeAccountId, d as resolveAgentIdFromSessionKey } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
5
|
-
import { F as getChannelDock } from "./sessions-
|
|
4
|
+
import { n as resolveAgentConfig } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { F as getChannelDock } from "./sessions-0J_pFd44.js";
|
|
6
6
|
import { t as withFileLock$1 } from "./file-lock-BRW4LeL0.js";
|
|
7
|
-
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-
|
|
7
|
+
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-wL61f1WP.js";
|
|
8
8
|
import { l as normalizeMessageChannel } from "./message-channel-BbkwF58_.js";
|
|
9
9
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CFb1gJ4N.js";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Tt as resolveRequiredHomeDir, Y as resolveOAuthDir, Z as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { S as resolveThreadParentSessionKey, c as normalizeAccountId, d as resolveAgentIdFromSessionKey } from "./session-key-DP2WHl90.js";
|
|
3
3
|
import { b as safeParseJson } from "./utils-DwcweD55.js";
|
|
4
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
4
|
+
import { n as resolveAgentConfig } from "./agent-scope-M302b8FW.js";
|
|
5
5
|
import { t as withFileLock$1 } from "./file-lock-CxXn285m.js";
|
|
6
6
|
import { l as normalizeMessageChannel } from "./message-channel-6Ln4eFyX.js";
|
|
7
|
-
import { E as getChannelDock } from "./sessions-
|
|
7
|
+
import { E as getChannelDock } from "./sessions-C7jYs5Sc.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
|
|
9
|
-
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-
|
|
9
|
+
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-CR2AIW2N.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as getChatChannelMeta, w as normalizeChatChannelId, x as listChatChannels } from "./subsystem-BaJ-PqmA.js";
|
|
2
2
|
import { f as isRecord } from "./utils-RdHkpqQp.js";
|
|
3
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
3
|
+
import { c as normalizeProviderId } from "./model-selection-C2dz3AhV.js";
|
|
4
4
|
import { t as hasAnyWhatsAppAuth } from "./accounts-C9dcy8Gp.js";
|
|
5
5
|
import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-VwQGLU6M.js";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { at as listChatChannels, ct as normalizeChatChannelId, it as getChatChannelMeta } from "./entry.js";
|
|
2
2
|
import { d as isRecord } from "./utils-DwcweD55.js";
|
|
3
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
3
|
+
import { c as normalizeProviderId } from "./model-selection-DJcZ82uR.js";
|
|
4
4
|
import { t as hasAnyWhatsAppAuth } from "./accounts-BmC37n9k.js";
|
|
5
5
|
import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-BWBjaCdR.js";
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { T as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
|
|
3
|
-
import { K as loadAnimaPlugins } from "./reply-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { K as loadAnimaPlugins } from "./reply-B5IU75jY.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { lt as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
3
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
4
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
5
|
+
import { J as loadAnimaPlugins } from "./reply-LaOwllAB.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
import fs$1, { readFileSync } from "node:fs";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import chalk, { Chalk } from "chalk";
|
|
10
10
|
import { execFile, execFileSync } from "node:child_process";
|
|
11
11
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
@@ -1483,7 +1483,7 @@ function readLoggingConfig() {
|
|
|
1483
1483
|
try {
|
|
1484
1484
|
if (!fs$1.existsSync(configPath)) return;
|
|
1485
1485
|
const raw = fs$1.readFileSync(configPath, "utf-8");
|
|
1486
|
-
const logging =
|
|
1486
|
+
const logging = json5.parse(raw)?.logging;
|
|
1487
1487
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
1488
1488
|
return logging;
|
|
1489
1489
|
} catch {
|
|
@@ -5014,7 +5014,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
5014
5014
|
};
|
|
5015
5015
|
const defaultResolver = {
|
|
5016
5016
|
readFile: (p) => fs$1.readFileSync(p, "utf-8"),
|
|
5017
|
-
parseJson: (raw) =>
|
|
5017
|
+
parseJson: (raw) => json5.parse(raw)
|
|
5018
5018
|
};
|
|
5019
5019
|
/**
|
|
5020
5020
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -7893,7 +7893,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
7893
7893
|
function normalizeDeps(overrides = {}) {
|
|
7894
7894
|
return {
|
|
7895
7895
|
fs: overrides.fs ?? fs$1,
|
|
7896
|
-
json5: overrides.json5 ??
|
|
7896
|
+
json5: overrides.json5 ?? json5,
|
|
7897
7897
|
env: overrides.env ?? process.env,
|
|
7898
7898
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
7899
7899
|
configPath: overrides.configPath ?? "",
|
|
@@ -7904,11 +7904,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
7904
7904
|
if (env !== process.env) return;
|
|
7905
7905
|
loadDotEnv({ quiet: true });
|
|
7906
7906
|
}
|
|
7907
|
-
function parseConfigJson5(raw, json5 =
|
|
7907
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
7908
7908
|
try {
|
|
7909
7909
|
return {
|
|
7910
7910
|
ok: true,
|
|
7911
|
-
parsed: json5.parse(raw)
|
|
7911
|
+
parsed: json5$1.parse(raw)
|
|
7912
7912
|
};
|
|
7913
7913
|
} catch (err) {
|
|
7914
7914
|
return {
|