@noxsoft/anima 2.0.1 → 2.0.3
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/dist/{accounts-Cc5E4IDO.js → accounts-Bth3PpPD.js} +4 -4
- package/dist/{accounts-CcVrwKqv.js → accounts-CP1IAWeM.js} +1 -1
- package/dist/{acp-cli-DvphOKuh.js → acp-cli-0JY_DUDb.js} +5 -5
- package/dist/{acp-cli-p28pQ65a.js → acp-cli-BUGHeckb.js} +17 -17
- package/dist/{agent-Cj7uDJaZ.js → agent-DwTJ59DW.js} +8 -8
- package/dist/{agent-Cuj9-2sT.js → agent-eLix7YLB.js} +14 -14
- package/dist/{agent-events-BEBQsyE5.js → agent-events-COLRhRBH.js} +2 -2
- package/dist/{agent-scope-V1bi9OYL.js → agent-scope-CPphqq-U.js} +3 -3
- package/dist/{agent-scope-BVf4aSwY.js → agent-scope-CcE0DhlL.js} +3 -3
- package/dist/{agents-BUWqn_Ui.js → agents-D57WX9dn.js} +6 -6
- package/dist/{agents.config-d6H0_3oj.js → agents.config-DWZdxlQw.js} +1 -1
- package/dist/{argv-DqUHKf0o.js → argv-BMZMiW7v.js} +1 -1
- package/dist/{audit-VWjIdwC7.js → audit-BvPmfYxY.js} +16 -16
- package/dist/{audit-C6okOOSh.js → audit-CmL_VKW9.js} +7 -7
- package/dist/{auth-91o2YM96.js → auth-BNZsOHGF.js} +2 -2
- package/dist/{auth-choice-p3SeHPj2.js → auth-choice-8JX4OqDS.js} +6 -6
- package/dist/{auth-choice-CAmACV13.js → auth-choice-DbU0S_0Q.js} +8 -8
- package/dist/{auth-health-DCicUKYR.js → auth-health-CP4Id2rW.js} +1 -1
- package/dist/{auth-health-B_jXrWe6.js → auth-health-CeDOBbt0.js} +1 -1
- package/dist/{auth-profiles-CCDD56dU.js → auth-profiles-BVZBTuls.js} +5 -5
- package/dist/{auth-profiles-DxI8L7bs.js → auth-profiles-CC3TFfvS.js} +1 -1
- package/dist/{banner-Cohn04J6.js → banner-DDcACdvK.js} +6 -6
- package/dist/{browser-cli-WjsVH741.js → browser-cli-BZ38kv8Y.js} +65 -65
- package/dist/{browser-cli-DANzjztE.js → browser-cli-CYOmCXxE.js} +50 -50
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +15 -15
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-Ct7EGP_L.js → call-BYDpTVCZ.js} +5 -5
- package/dist/{call-BAHvlu2G.js → call-CTMQygkz.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-BNsf97BM.js → catalog-CqKiUgu6.js} +2 -2
- package/dist/{channel-options-Dx9nPlX8.js → channel-options-CO21Gl8p.js} +5 -5
- package/dist/{channel-options-ZdvXrTGs.js → channel-options-M44Z9-3q.js} +1 -1
- package/dist/{channel-selection-CujyiWGM.js → channel-selection-CqcX7Ocw.js} +2 -2
- package/dist/{channel-web-CC0hkgkR.js → channel-web-Q-STsf5N.js} +18 -18
- package/dist/{channels-cli-DUPG8WDv.js → channels-cli-SPO9rJnF.js} +63 -63
- package/dist/{channels-cli-D7lNBpIb.js → channels-cli-zIOBobe6.js} +31 -31
- package/dist/{channels-status-issues-DjO9MHIG.js → channels-status-issues-DwHRoeWL.js} +1 -1
- package/dist/{chrome-Bi6iZ5sG.js → chrome-DlcCwfo_.js} +3 -3
- package/dist/{chrome-DScZx4Lk.js → chrome-U3DRzjJD.js} +5 -5
- package/dist/{chrome-DNSv7Cpy.js → chrome-mUDT-mA5.js} +3 -3
- package/dist/{clack-prompter-B1YxZdRy.js → clack-prompter-Ct2BYIXW.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-AYZaZSSx.js +101 -0
- package/dist/{cli-ClMrIh6l.js → cli-XuLBXSur.js} +25 -25
- package/dist/{cli-session-Dd8DKb5a.js → cli-session-C70q07GT.js} +6 -6
- package/dist/{cli-session-BkPTd9Pk.js → cli-session-CqlE2JFo.js} +17 -17
- package/dist/{client-CC94YZrT.js → client-LRKFjo4A.js} +3 -3
- package/dist/{clipboard-B2fBy8tG.js → clipboard-SCV-0V39.js} +1 -1
- package/dist/{command-format-SkzzRqR1.js → command-format-CP1YTNCl.js} +4 -4
- package/dist/{command-format-DELazozB.js → command-format-CVL4K5cj.js} +4 -4
- package/dist/{command-format-Clp46jkj.js → command-format-DAaqLG8J.js} +4 -4
- package/dist/{command-registry-DZ4hkmA0.js → command-registry-CSbw6FZC.js} +12 -12
- package/dist/{commands-DtYZJSPn.js → commands-D5PGoVW4.js} +166 -8
- package/dist/{commands-Dujk1JmY.js → commands-D7CbOdcS.js} +165 -7
- package/dist/{commands-registry-DYfRSVF3.js → commands-registry-q13H7ng5.js} +2 -2
- package/dist/{commands-registry-Bd0xbvwG.js → commands-registry-sLFieXCB.js} +1 -1
- package/dist/{common-zW9Y2P1B.js → common-CX5458fH.js} +2 -2
- package/dist/{completion-cli-tSe7Pmqm.js → completion-cli-BFdiNmVD.js} +13 -13
- package/dist/{completion-cli-vn4IScs5.js → completion-cli-_SwCoFq6.js} +11 -11
- package/dist/{config-C8rUDJXY.js → config-BeuAT94o.js} +1 -1
- package/dist/{config-CLZ_XGVw.js → config-C96685Kz.js} +6 -6
- package/dist/{config-SY8M0kM_.js → config-DaqbUdkI.js} +6 -6
- package/dist/{config-cli-CjWEC81L.js → config-cli-DhdAhW1h.js} +6 -6
- package/dist/{config-cli-1V7D2Wsw.js → config-cli-NqEQjCzV.js} +14 -14
- package/dist/{config-guard-BvxuzHpo.js → config-guard-B1rmR88x.js} +4 -4
- package/dist/{config-guard-BW2gpKj_.js → config-guard-BCUt7Re8.js} +23 -23
- package/dist/{configure-DRM-7zFf.js → configure-B2vlJbd2.js} +22 -22
- package/dist/{configure-Bf0oupCE.js → configure-FENKo5hf.js} +9 -9
- package/dist/{context-D5iEFzv9.js → context-ChaAWbwZ.js} +2 -2
- package/dist/{control-service-DKotCWCg.js → control-service-DXYImShH.js} +4 -4
- package/dist/{control-service-C8m8F9pr.js → control-service-X_1FRl7x.js} +5 -5
- package/dist/{cron-cli-bxm5lrrO.js → cron-cli-B6jMeNqC.js} +18 -18
- package/dist/{cron-cli-DB_FLYHD.js → cron-cli-ByPSA5ZE.js} +6 -6
- package/dist/{daemon-cli-1LsOnICv.js → daemon-cli-Bf0Q00vC.js} +25 -25
- package/dist/{daemon-cli-CC2NrJ7a.js → daemon-cli-CKOoYhs-.js} +16 -16
- package/dist/daemon-cli.js +16 -16
- package/dist/{daemon-runtime-BXZhtBL9.js → daemon-runtime-C9KTe-Gn.js} +3 -3
- package/dist/{daemon-runtime-DW4USC7r.js → daemon-runtime-cglglYsH.js} +2 -2
- package/dist/{deliver-xrmk7xjh.js → deliver-BBggsviM.js} +7 -7
- package/dist/{deliver-LiY5oL52.js → deliver-DiIOZFml.js} +2 -2
- package/dist/{deliver-B4HuPwJA.js → deliver-DujkDzqg.js} +6 -6
- package/dist/{delivery-queue-TnQykYsg.js → delivery-queue-BJQK3oh5.js} +1 -1
- package/dist/{deps-CMMOiOsF.js → deps-Bim542L5.js} +1 -1
- package/dist/{devices-cli-z6ecoFe9.js → devices-cli-BbUrME_U.js} +14 -14
- package/dist/{devices-cli-Be5he2SA.js → devices-cli-qvEFBnyH.js} +3 -3
- package/dist/{diagnostics-Dj75aEHN.js → diagnostics-BCxobJaf.js} +1 -1
- package/dist/{directory-cli-CEy-0nxj.js → directory-cli-BjnpktnO.js} +4 -4
- package/dist/{directory-cli-DpzKcigr.js → directory-cli-VreWAdNS.js} +16 -16
- package/dist/{dispatcher-10Shiuz3.js → dispatcher-CoqsaA3f.js} +1 -1
- package/dist/{dispatcher-3Jae6AiW.js → dispatcher-DbDPyVIX.js} +2 -2
- package/dist/{dns-cli-Bat1pkc-.js → dns-cli-B-lWrEam.js} +16 -16
- package/dist/{dns-cli-NohNyEo0.js → dns-cli-CRKIrBD6.js} +6 -6
- package/dist/{dock-DbxBBv30.js → dock-Dmxj3en_.js} +1 -1
- package/dist/{dock-cPBY4qGl.js → dock-jYICmNcI.js} +3 -3
- package/dist/{docs-cli-BWp6p-Tq.js → docs-cli-B02Wm6DH.js} +9 -9
- package/dist/{docs-cli-x22FnZfL.js → docs-cli-Bn-mDvE1.js} +2 -2
- package/dist/{doctor-Pp2HVnjM.js → doctor-CeIWEOAK.js} +20 -20
- package/dist/{doctor-BrT5m_on.js → doctor-DdOw46pE.js} +39 -39
- package/dist/{doctor-completion-DNTimX9o.js → doctor-completion-CBANZ9T9.js} +2 -2
- package/dist/{doctor-completion-ylN9QAJ6.js → doctor-completion-aDHxGApN.js} +3 -3
- package/dist/{doctor-config-flow-Dq50iE1R.js → doctor-config-flow-Bb8TQwYh.js} +8 -8
- package/dist/{doctor-config-flow-D1w3700T.js → doctor-config-flow-Dxjx2igu.js} +4 -4
- package/dist/entry.js +5 -5
- package/dist/{env-0lJfCPsw.js → env-v6411I8h.js} +1 -1
- package/dist/{exec-approvals-cli-J2cZs10o.js → exec-approvals-cli-5-h9moQI.js} +22 -22
- package/dist/{exec-approvals-cli-DXfV6G8H.js → exec-approvals-cli-Cne9mMrK.js} +8 -8
- package/dist/{exec-Bv3pyjeM.js → exec-mhSykkaa.js} +1 -1
- package/dist/{exec-BenD3A5l.js → exec-tTxVr8zb.js} +1 -1
- package/dist/extensionAPI.js +3 -3
- package/dist/{gateway-cli-DOAbA0pc.js → gateway-cli-BZpKEMGi.js} +108 -108
- package/dist/{gateway-cli-QpWtBhQy.js → gateway-cli-DboOVUi8.js} +62 -62
- package/dist/{gateway-rpc-DJKBil9s.js → gateway-rpc-C3eniXwh.js} +1 -1
- package/dist/{gateway-rpc-DVterpLP.js → gateway-rpc-QOe014D_.js} +3 -3
- package/dist/{github-copilot-auth-C9E0IROs.js → github-copilot-auth-AdaPw_fF.js} +3 -3
- package/dist/{github-copilot-auth-4IUFp669.js → github-copilot-auth-C2cJr55I.js} +2 -2
- package/dist/{gmail-setup-utils-D3Yqgor7.js → gmail-setup-utils-Bn8x7djJ.js} +4 -4
- package/dist/{health-Cn2OoVWZ.js → health-CdHDOLo6.js} +16 -16
- package/dist/{health-BeZnqp6m.js → health-WvhhwAnn.js} +8 -8
- package/dist/{health-format-JEChH08S.js → health-format-DteBvzWP.js} +2 -2
- package/dist/{heartbeat-visibility-CQ9QimI7.js → heartbeat-visibility-B4oqf1qY.js} +1 -1
- package/dist/{heartbeat-visibility-BL3WAchI.js → heartbeat-visibility-ClqnPSqo.js} +1 -1
- package/dist/{help-format-Dl4bsrLI.js → help-format-C4eJQd8a.js} +1 -1
- package/dist/{hooks-cli-D99hXt7K.js → hooks-cli-DTMS4Ly9.js} +30 -30
- package/dist/{hooks-cli-DMB8RiEO.js → hooks-cli-DfR8cmrL.js} +58 -58
- package/dist/{hooks-status-C_9sE0ox.js → hooks-status-LVJDILL8.js} +3 -3
- package/dist/{image-ops-omlvdfah.js → image-ops-B_AYV3tp.js} +1 -1
- package/dist/index.js +82 -82
- package/dist/{installs-C2iMRBVz.js → installs-DCTtAJP8.js} +4 -4
- package/dist/{ipv4-wWNs8IH_.js → ipv4-CoPxliya.js} +13 -13
- package/dist/{ipv4-Bf7NS3QU.js → ipv4-loTbB6OD.js} +7 -7
- package/dist/{lanes-CNxj3tit.js → lanes-BvSnHq2h.js} +2 -2
- package/dist/{lifecycle-core-By83PVAK.js → lifecycle-core-BZo7U2jW.js} +4 -4
- package/dist/{lifecycle-core-B_7XRcvF.js → lifecycle-core-Cu_h9gos.js} +8 -8
- package/dist/{links-DPGe0OHw.js → links-D2tt2ouh.js} +1 -1
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{logging-mcb66J0p.js → logging-BuRtGUH1.js} +2 -2
- package/dist/{login-BDfnbjnZ.js → login-CnNpZKOD.js} +4 -4
- package/dist/{login-BqH1itcg.js → login-D4n2DJtf.js} +4 -4
- package/dist/{login-BDCg6D0N.js → login-Fhh4uWmf.js} +6 -6
- package/dist/{login-qr-D8ECtb72.js → login-qr-CaB_Oi7G.js} +4 -4
- package/dist/{login-qr-RnR7e4Bw.js → login-qr-Cc2QmLhD.js} +11 -11
- package/dist/{login-qr-CyOw3R4r.js → login-qr-D3xv0VnI.js} +7 -7
- package/dist/{logs-cli-DpEMg_Gq.js → logs-cli-CFX-tr6f.js} +8 -8
- package/dist/{logs-cli--j89L74J.js → logs-cli-NXQfed5q.js} +19 -19
- package/dist/{manager-Cqc1CeH7.js → manager-BDPgBQSH.js} +8 -8
- package/dist/{manager-DUyQPFvj.js → manager-D_engjHC.js} +6 -6
- package/dist/{manager-B4OyvcxT.js → manager-iFc0bAWS.js} +1 -1
- package/dist/{manifest-registry-CW1zCyRF.js → manifest-registry-kHX_MFa1.js} +1 -1
- package/dist/{markdown-tables-BT1X6jqH.js → markdown-tables-Bhes7rr4.js} +2 -2
- package/dist/{markdown-tables-DHgOK2vI.js → markdown-tables-DJV7eAJZ.js} +2 -2
- package/dist/{media-THyainiE.js → media-Bu2L8c_7.js} +1 -1
- package/dist/{memory-cli-BKocCWXM.js → memory-cli-CvrdGRvA.js} +4 -4
- package/dist/{memory-cli-Jmma-xI_.js → memory-cli-D6v61Mts.js} +13 -13
- package/dist/{message-channel-dSTVVCyX.js → message-channel-D_jIO87f.js} +1 -1
- package/dist/{model-selection-YcSr9CgC.js → model-selection-Cqt6aJ0G.js} +6 -6
- package/dist/{models-1vUQBVfw.js → models-D11W7O93.js} +10 -10
- package/dist/{models-cli-DECrM8oA.js → models-cli-BfBH9dWH.js} +31 -31
- package/dist/{models-cli-BK3BwUhL.js → models-cli-ClFZ55qZ.js} +61 -61
- package/dist/{node-cli-fO7Y132S.js → node-cli-Cgn2mwSW.js} +33 -33
- package/dist/{node-cli-cLHUNpPD.js → node-cli-kxhgdSNi.js} +15 -15
- package/dist/{node-service-DUnan4uK.js → node-service-BL8qVG1X.js} +1 -1
- package/dist/{nodes-cli-BCq35E6N.js → nodes-cli-De6Ta7GH.js} +19 -19
- package/dist/{nodes-cli-vD7MwAKP.js → nodes-cli-deMLu7ch.js} +7 -7
- package/dist/{nodes-screen-DZeD8hE5.js → nodes-screen-BST4qOFR.js} +2 -2
- package/dist/{nodes-screen-1YiLkqr5.js → nodes-screen-qs3jRBPk.js} +2 -2
- package/dist/{note-Bi8Wb8DV.js → note-BtE8fGoO.js} +2 -2
- package/dist/{npm-registry-spec-B-XIShkB.js → npm-registry-spec-DvJxezSJ.js} +1 -1
- package/dist/{onboard-Ds6w_sWo.js → onboard-BGv6xY1s.js} +10 -10
- package/dist/{onboard-SAVx3bp4.js → onboard-DPEqxVx4.js} +19 -19
- package/dist/{onboard-channels-D7NbA55V.js → onboard-channels-BsTwWmEt.js} +3 -3
- package/dist/{onboard-channels-Cg_EkBa4.js → onboard-channels-DEfpenNa.js} +9 -9
- package/dist/{onboard-helpers-DO_hgZb9.js → onboard-helpers-CwcaOee8.js} +3 -3
- package/dist/{onboard-helpers-_XgJgeqh.js → onboard-helpers-Cz42ASwv.js} +10 -10
- package/dist/{onboarding-3hLmDd0r.js → onboarding-BxYOAHWD.js} +24 -24
- package/dist/{onboarding-B4LKLsbU.js → onboarding-DvitiaRS.js} +12 -12
- package/dist/{outbound-BgA9hNlP.js → outbound-Csw4yAYo.js} +6 -6
- package/dist/{outbound-DOGe6qb2.js → outbound-L1IT5jN_.js} +2 -2
- package/dist/{outbound-CjdvVhUI.js → outbound-bs_VK51X.js} +5 -5
- package/dist/{outbound-send-deps-Du5aBpd7.js → outbound-send-deps-CmzQCbSX.js} +1 -1
- package/dist/{pairing-cli-BH1KQtNV.js → pairing-cli-BmPkji_u.js} +18 -18
- package/dist/{pairing-cli-2vnyg_Nd.js → pairing-cli-CSRakAu-.js} +8 -8
- package/dist/{pairing-store-DJz_9Gv0.js → pairing-store-BsXzUDPv.js} +4 -4
- package/dist/{pairing-store-DmOzxcuk.js → pairing-store-uUh4DCdc.js} +1 -1
- package/dist/{path-env-C0zQSjw8.js → path-env-DSSMHu5A.js} +1 -1
- package/dist/{paths-C6VCWKo3.js → paths-BMuHNFxg.js} +3 -3
- package/dist/{paths-hcX1Gqg5.js → paths-BXQQzXGQ.js} +1 -1
- package/dist/{paths-BTc4nk-6.js → paths-Ba-yiqjy.js} +2 -2
- package/dist/{paths-BgUi2Z2G.js → paths-Buw_geoe.js} +1 -1
- package/dist/{paths-CCxa0o9c.js → paths-C1R4gjRm.js} +3 -3
- package/dist/{pi-auth-json-B68R7q7_.js → pi-auth-json-B1M8W1pO.js} +7 -7
- package/dist/{pi-auth-json-CR0jXAgq.js → pi-auth-json-C2miwJYp.js} +1 -1
- package/dist/{pi-auth-json-ZYzi3nxs.js → pi-auth-json-I3iYPRAb.js} +5 -5
- package/dist/{pi-model-discovery-CYh6nRuo.js → pi-model-discovery-eIc-PHaM.js} +1 -1
- package/dist/{pi-tools.policy-D81U5xy0.js → pi-tools.policy-Csmla32P.js} +4 -4
- package/dist/{pi-tools.policy-DSHkkb5b.js → pi-tools.policy-DhmYCpdW.js} +2 -2
- package/dist/{plugin-auto-enable-CxF4bpDN.js → plugin-auto-enable-DVD5Kls3.js} +2 -2
- package/dist/{plugin-auto-enable-jNaAeyEh.js → plugin-auto-enable-d9eDmGOX.js} +5 -5
- package/dist/{plugin-registry-C7XWotZG.js → plugin-registry-DW81arxW.js} +3 -3
- package/dist/{plugin-registry-DcUCbGax.js → plugin-registry-NbbyJq_D.js} +1 -1
- package/dist/plugin-sdk/cli/cli-name.d.ts +1 -1
- package/dist/plugin-sdk/config/paths.d.ts +2 -2
- package/dist/plugin-sdk/index.js +13 -13
- package/dist/{plugins-B362e77G.js → plugins-DdzdfeTc.js} +1 -1
- package/dist/{plugins-CmSUIUNi.js → plugins-DhcGAPDB.js} +1 -1
- package/dist/{plugins-cli-QSIsMUG7.js → plugins-cli-Cs_jfROZ.js} +57 -57
- package/dist/{plugins-cli-BsCEnoQ7.js → plugins-cli-D0jU5_VE.js} +28 -28
- package/dist/{polls-CItfB1H8.js → polls-D6eCdatA.js} +6 -6
- package/dist/{ports-CqLSlU6Z.js → ports-B3Vuo92o.js} +1 -1
- package/dist/{ports-BVLMN1Sr.js → ports-C8bKN8s0.js} +2 -2
- package/dist/{ports-D_NHthOz.js → ports-Co1kd5qX.js} +1 -1
- package/dist/{ports-D94CwCrv.js → ports-DHiKnPRX.js} +3 -3
- package/dist/{program-DkJHjI0R.js → program-Db2-b8Np.js} +44 -44
- package/dist/{program-context-DnyGM2SC.js → program-context-DR1cx29i.js} +41 -41
- package/dist/{progress-Bek_GyWS.js → progress-oiAjiiNi.js} +1 -1
- package/dist/{prompt-style-lu0clOOE.js → prompt-style-D6u56SjJ.js} +1 -1
- package/dist/{pw-ai-dzf-ptcn.js → pw-ai-CbEgFH-G.js} +7 -7
- package/dist/{pw-ai-BLVMuSLv.js → pw-ai-DM3CIGyg.js} +3 -3
- package/dist/{pw-ai-DZJWEF_f.js → pw-ai-MrkdzeIJ.js} +4 -4
- package/dist/{qmd-manager-DNAUuwjK.js → qmd-manager-DPslO6i9.js} +7 -7
- package/dist/{qmd-manager-DepEoASu.js → qmd-manager-Dgo23O3Q.js} +6 -6
- package/dist/{register.agent-UeH2NXmH.js → register.agent-B4CGE-cp.js} +79 -79
- package/dist/{register.agent-CSWvzOkR.js → register.agent-E1qzojq2.js} +46 -46
- package/dist/{register.anima-HHDWsz6r.js → register.anima-BETuBtyq.js} +2 -2
- package/dist/{register.anima-DOdee0dh.js → register.anima-C2coCJM_.js} +2 -2
- package/dist/{register.configure-D84Fvcz4.js → register.configure-D5huhRa3.js} +36 -36
- package/dist/register.configure-DqYNhIQj.js +103 -0
- package/dist/{register.maintenance-B3pvNbZb.js → register.maintenance-DC9IhZ2x.js} +80 -80
- package/dist/{register.maintenance-BKVOwkw6.js → register.maintenance-RuiaMHu7.js} +44 -44
- package/dist/{register.message-BAO6CPl2.js → register.message-BRP5Y8SN.js} +32 -32
- package/dist/{register.message-OXoOKE_6.js → register.message-CL5mFcq-.js} +59 -59
- package/dist/{register.onboard-BK_ixVmD.js → register.onboard-CdvtyeLg.js} +42 -42
- package/dist/{register.onboard-cfCaPx6j.js → register.onboard-DFjl0E_x.js} +80 -80
- package/dist/register.setup-CVhekh_d.js +175 -0
- package/dist/{register.setup-Y-Q74M-0.js → register.setup-CuNhw63j.js} +42 -42
- package/dist/{register.status-health-sessions-TfZMzAUn.js → register.status-health-sessions-BdyiNJFD.js} +78 -78
- package/dist/{register.status-health-sessions-CT14eitH.js → register.status-health-sessions-l7qnXORD.js} +45 -45
- package/dist/{register.subclis-BZwdlNHC.js → register.subclis-Bj3GU0St.js} +28 -28
- package/dist/{reply-mlsExaZm.js → reply-Brlv-JC-.js} +33 -33
- package/dist/{reply-qalRISe_.js → reply-C9A7Npep.js} +51 -51
- package/dist/{reply-prefix-w4a39ybC.js → reply-prefix-XqRfG1QY.js} +2 -2
- package/dist/{reply-prefix-B0CfR4bM.js → reply-prefix-m-Nj9VGi.js} +2 -2
- package/dist/{routes-DO0HqW2e.js → routes-C5ylAnNV.js} +3 -3
- package/dist/{routes-CENsHJyg.js → routes-CooYoUCb.js} +7 -7
- package/dist/{rpc-DZ44PIXE.js → rpc-BoNfgecI.js} +1 -1
- package/dist/{rpc-C0pjNhBi.js → rpc-aBUUQWC3.js} +3 -3
- package/dist/{run-main-DUQDJuyf.js → run-main-DKNJvJ7W.js} +47 -47
- package/dist/{runtime-guard-BSUFiAQV.js → runtime-guard-CKFdts2L.js} +1 -1
- package/dist/{sandbox-BIGfMYEI.js → sandbox-D8pgNhTE.js} +2 -2
- package/dist/{sandbox-DxP3IpUP.js → sandbox-DBSiVHt_.js} +7 -7
- package/dist/{sandbox-cli-_Tg7lfJ_.js → sandbox-cli-BeOQ8G6W.js} +30 -30
- package/dist/{sandbox-cli-DtLGH8sL.js → sandbox-cli-BlWdpX1h.js} +47 -47
- package/dist/{security-cli-D3bSuyZt.js → security-cli-CRSXFNRa.js} +36 -36
- package/dist/{security-cli-BRwgbedo.js → security-cli-CcYc8gKu.js} +19 -19
- package/dist/{server-context-49XFFxFg.js → server-context-Cu88BsgT.js} +5 -5
- package/dist/{server-context-LrlgrZzS.js → server-context-Du3Gdqy1.js} +8 -8
- package/dist/{server-node-events-Dm52i7NW.js → server-node-events-0Una3QLI.js} +10 -10
- package/dist/{server-node-events-QX523UyF.js → server-node-events-DCY3mm-A.js} +25 -25
- package/dist/{service-D56aMXUB.js → service-CpG4hCVW.js} +1 -1
- package/dist/{service-audit-qmf6XMmP.js → service-audit-B3atdWsy.js} +3 -3
- package/dist/{service-audit-D0X_XAB2.js → service-audit-DP4USmzf.js} +1 -1
- package/dist/{session-CrQQLLhx.js → session-B6T_f3RF.js} +3 -3
- package/dist/{session-Vlce2BAT.js → session-DTTbdKb0.js} +5 -5
- package/dist/{session-cost-usage-DT9YNXTJ.js → session-cost-usage-FcdJl9c3.js} +1 -1
- package/dist/{session-LocsOOWJ.js → session-xQxk_AyT.js} +3 -3
- package/dist/{sessions-BfV53TbG.js → sessions-B-Cu7JZq.js} +7 -7
- package/dist/{sessions-DcXpzig0.js → sessions-B9VnNnIk.js} +2 -2
- package/dist/{sessions-BimpX_km.js → sessions-BQUf6xj_.js} +4 -4
- package/dist/{sessions-Wd18dukK.js → sessions-G7nfpjc6.js} +5 -5
- package/dist/{shared-Cgly1vPb.js → shared-BcqU-KU2.js} +5 -5
- package/dist/{shared-f7dvQsi7.js → shared-CkGP1Gie.js} +3 -3
- package/dist/{shared-Bsr69u_7.js → shared-DwguvoZP.js} +4 -4
- package/dist/{shared-JOo05hST.js → shared-uOwPcrN5.js} +7 -7
- package/dist/{skills-B-G7UHOa.js → skills-DV4zKdCx.js} +3 -3
- package/dist/{skills-cli-DtOk0bvK.js → skills-cli-CBFbV14l.js} +19 -19
- package/dist/{skills-cli-DUGe2ZWW.js → skills-cli-gGWq4bgb.js} +6 -6
- package/dist/{skills-status-Clq9ZnYu.js → skills-status-DaLLXtp7.js} +3 -3
- package/dist/{sqlite-Ck6f9KWc.js → sqlite-BiXgPbCK.js} +2 -2
- package/dist/{sqlite-CGcOZZ0C.js → sqlite-dzD-jMjs.js} +2 -2
- package/dist/{start--xmSFepB.js → start-DaXwIgOn.js} +17 -92
- package/dist/{start-BdlZbqrr.js → start-Fy8lVmlo.js} +16 -91
- package/dist/{status-RA_uNmK0.js → status-C7YN9z1q.js} +4 -4
- package/dist/{status-BgoeFm6g.js → status-DbxQqh2e.js} +15 -15
- package/dist/{status-Ct0DgOZ-.js → status-XzLCn872.js} +28 -28
- package/dist/{status-BjjDrUq7.js → status-iUSfyst3.js} +2 -2
- package/dist/{status.update-DLU1qBf0.js → status.update-DEtEANLh.js} +3 -3
- package/dist/{status.update-BjOH3GlS.js → status.update-ZVrSK04Z.js} +3 -3
- package/dist/{subagent-registry-Byuex3zp.js → subagent-registry-BJzLJ6FY.js} +5 -5
- package/dist/{subagent-registry-9RLdKxES.js → subagent-registry-CdSjz14I.js} +13 -13
- package/dist/{subagent-registry-C_L25DeQ.js → subagent-registry-DKRVOkTv.js} +11 -11
- package/dist/{subsystem-Dowf8fSU.js → subsystem-DfKstnEK.js} +1 -1
- package/dist/{system-cli-DXNKD_Id.js → system-cli-CYypNnD9.js} +16 -16
- package/dist/{system-cli-C5oBpzni.js → system-cli-VMfIEGoj.js} +5 -5
- package/dist/{systemd-By5xdSB4.js → systemd-BVVNFIBH.js} +2 -2
- package/dist/{systemd-hints-sJmr6cjb.js → systemd-hints-J3cHYZVZ.js} +1 -1
- package/dist/{systemd-hints-BtjL_5Rh.js → systemd-hints-Mpt5QteE.js} +1 -1
- package/dist/{systemd-linger-CTmV2Gci.js → systemd-linger-B4wBMvpg.js} +2 -2
- package/dist/{table-BL0lJzsm.js → table-B_wVcaLO.js} +2 -2
- package/dist/{tokens-DkvqA72p.js → tokens-3psI_Qk2.js} +1 -1
- package/dist/{trash-_x5UZ94k.js → trash-C39a6hKA.js} +1 -1
- package/dist/{tui-BHjxDFZC.js → tui-BfPtiXD1.js} +3 -3
- package/dist/{tui-cli-5ANH8dE5.js → tui-cli-BcsdagN8.js} +8 -8
- package/dist/{tui-cli-BQ4P-JW_.js → tui-cli-DN5WL85n.js} +18 -18
- package/dist/{tui-CgOocwN8.js → tui-r0_5VL_h.js} +8 -8
- package/dist/{update-LFgxHHPd.js → update-DhOF8e0Q.js} +3 -3
- package/dist/{update-check-CWc7YXmc.js → update-check-DlDloai0.js} +3 -3
- package/dist/{update-check-IhlWaui6.js → update-check-DmODY9MR.js} +1 -1
- package/dist/{update-cli-PtXU62w7.js → update-cli-BVeg9il9.js} +73 -73
- package/dist/{update-cli-Va0EtETG.js → update-cli-DXAbudd9.js} +114 -114
- package/dist/{update-runner-BLeKFkiB.js → update-runner-B2bjvdxa.js} +2 -2
- package/dist/{update-runner-Iuzpc-_y.js → update-runner-CTCGT1OS.js} +5 -5
- package/dist/{usage-DT8fA_sU.js → usage-kVpWUUrn.js} +12 -12
- package/dist/{utils-Bsw__U-F.js → utils-DZ8pnOD5.js} +2 -2
- package/dist/web-B1OjU-Gf.js +63 -0
- package/dist/{web-DeUZRbHY.js → web-BGf92cSU.js} +42 -42
- package/dist/{web-pec8YJUX.js → web-C4FxauVQ.js} +30 -30
- package/dist/{webhooks-cli-BYQKTHTp.js → webhooks-cli-bEG0ADkY.js} +16 -16
- package/dist/{webhooks-cli-C2_xtsUQ.js → webhooks-cli-l0yqYtZW.js} +6 -6
- package/dist/{whatsapp-actions-DElImNQl.js → whatsapp-actions-CvnLgxjq.js} +10 -10
- package/dist/{whatsapp-actions-C72VCq8f.js → whatsapp-actions-CwSwIOO3.js} +5 -5
- package/dist/{whatsapp-actions-D0reTj2k.js → whatsapp-actions-DsoA_Bad.js} +17 -17
- package/dist/{widearea-dns-B6ocX23x.js → widearea-dns-1txrPZ0I.js} +1 -1
- package/dist/{workspace-Dcfoy5JJ.js → workspace-BTjqqJY-.js} +2 -2
- package/dist/{ws-log-gwFxPxj5.js → ws-log-BffL5dN_.js} +1 -1
- package/package.json +1 -1
- package/dist/cli-CfHUkOD0.js +0 -101
- package/dist/register.configure-CSJFxdz9.js +0 -103
- package/dist/register.setup-BGfDnzph.js +0 -175
- package/dist/web-B6_Ky60G.js +0 -63
- /package/dist/{config-CdK6Gy6A.js → config-Co6UXXF5.js} +0 -0
- /package/dist/{input-provenance-FBfKhRye.js → input-provenance-BgwBljRz.js} +0 -0
|
@@ -8,14 +8,151 @@ import { homedir } from "node:os";
|
|
|
8
8
|
import { dirname, join } from "node:path";
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
10
10
|
import { mkdir, readFile, readdir, writeFile } from "node:fs/promises";
|
|
11
|
-
import { resolveConfig } from "@noxsoft/svrn-node";
|
|
12
11
|
|
|
12
|
+
//#region src/svrn/node.ts
|
|
13
|
+
const DEFAULT_SVRN_CONFIG = {
|
|
14
|
+
enabled: false,
|
|
15
|
+
resources: {
|
|
16
|
+
maxCpuPercent: 10,
|
|
17
|
+
maxRamMB: 256,
|
|
18
|
+
maxBandwidthMbps: 5
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
let _svrnModule;
|
|
22
|
+
async function loadSVRNModule() {
|
|
23
|
+
if (_svrnModule !== void 0) return _svrnModule;
|
|
24
|
+
try {
|
|
25
|
+
_svrnModule = await import("@noxsoft/svrn-node");
|
|
26
|
+
return _svrnModule;
|
|
27
|
+
} catch {
|
|
28
|
+
_svrnModule = null;
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/** Check whether @noxsoft/svrn-node is available (loadable). */
|
|
33
|
+
async function isSVRNAvailable() {
|
|
34
|
+
return await loadSVRNModule() != null;
|
|
35
|
+
}
|
|
36
|
+
/** Adapter providing the API shape ANIMA's repl expects. */
|
|
37
|
+
var SVRNNode = class {
|
|
38
|
+
constructor(config) {
|
|
39
|
+
this.inner = null;
|
|
40
|
+
this._available = false;
|
|
41
|
+
this.config = config;
|
|
42
|
+
}
|
|
43
|
+
/** Must be called after construction to attempt loading the module. */
|
|
44
|
+
async init() {
|
|
45
|
+
const mod = await loadSVRNModule();
|
|
46
|
+
if (mod) {
|
|
47
|
+
this.inner = new mod.SVRNNode(this.config);
|
|
48
|
+
this._available = true;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
/** Whether the underlying svrn-node module was loaded. */
|
|
54
|
+
isAvailable() {
|
|
55
|
+
return this._available;
|
|
56
|
+
}
|
|
57
|
+
async start() {
|
|
58
|
+
if (!this.inner) return;
|
|
59
|
+
await this.inner.start();
|
|
60
|
+
}
|
|
61
|
+
async stop() {
|
|
62
|
+
if (!this.inner) return;
|
|
63
|
+
await this.inner.stop();
|
|
64
|
+
}
|
|
65
|
+
getNodeId() {
|
|
66
|
+
if (!this.inner) return "unavailable";
|
|
67
|
+
return this.inner.getNodeId();
|
|
68
|
+
}
|
|
69
|
+
isEnabled() {
|
|
70
|
+
return this.config.enabled;
|
|
71
|
+
}
|
|
72
|
+
/** Stats shape expected by ANIMA repl commands. */
|
|
73
|
+
getStats() {
|
|
74
|
+
if (!this.inner) return {
|
|
75
|
+
nodeId: "unavailable",
|
|
76
|
+
running: false,
|
|
77
|
+
paused: false,
|
|
78
|
+
uptimeMs: 0,
|
|
79
|
+
tasksCompleted: 0,
|
|
80
|
+
tasksFailed: 0,
|
|
81
|
+
balance: 0,
|
|
82
|
+
sessionEarnings: 0
|
|
83
|
+
};
|
|
84
|
+
const status = this.inner.getStatus();
|
|
85
|
+
const earnings = this.inner.getEarnings();
|
|
86
|
+
const wallet = this.inner.getWallet();
|
|
87
|
+
return {
|
|
88
|
+
nodeId: status.nodeId,
|
|
89
|
+
running: status.state === "running",
|
|
90
|
+
paused: false,
|
|
91
|
+
uptimeMs: status.uptime * 1e3,
|
|
92
|
+
tasksCompleted: earnings.tasksThisSession,
|
|
93
|
+
tasksFailed: 0,
|
|
94
|
+
balance: wallet.balance,
|
|
95
|
+
sessionEarnings: earnings.session
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/** Earnings adapter with method-based API for repl commands. */
|
|
99
|
+
getEarnings() {
|
|
100
|
+
if (!this.inner) return {
|
|
101
|
+
getTodayEarnings: () => null,
|
|
102
|
+
getBalanceValueUSD: () => 0,
|
|
103
|
+
getAllTimeEarned: () => 0,
|
|
104
|
+
getBalance: () => 0
|
|
105
|
+
};
|
|
106
|
+
const summary = this.inner.getEarnings();
|
|
107
|
+
const wallet = this.inner.getWallet();
|
|
108
|
+
return {
|
|
109
|
+
getTodayEarnings: () => summary.tasksToday > 0 ? {
|
|
110
|
+
total: summary.today,
|
|
111
|
+
taskCount: summary.tasksToday
|
|
112
|
+
} : null,
|
|
113
|
+
getBalanceValueUSD: () => wallet.balance * .001,
|
|
114
|
+
getAllTimeEarned: () => summary.allTime,
|
|
115
|
+
getBalance: () => wallet.balance
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
/** Monitor adapter with method-based API for repl commands. */
|
|
119
|
+
getMonitor() {
|
|
120
|
+
if (!this.inner) return {
|
|
121
|
+
getLatest: () => null,
|
|
122
|
+
getLimits: () => ({
|
|
123
|
+
maxCpuPercent: this.config.resources.maxCpuPercent,
|
|
124
|
+
maxRamMB: this.config.resources.maxRamMB,
|
|
125
|
+
maxBandwidthMbps: this.config.resources.maxBandwidthMbps
|
|
126
|
+
})
|
|
127
|
+
};
|
|
128
|
+
const resources = this.inner.getResources();
|
|
129
|
+
return {
|
|
130
|
+
getLatest: () => ({
|
|
131
|
+
cpuPercent: resources.cpuPercent,
|
|
132
|
+
ramUsedMB: resources.ramMB
|
|
133
|
+
}),
|
|
134
|
+
getLimits: () => ({
|
|
135
|
+
maxCpuPercent: this.config.resources.maxCpuPercent,
|
|
136
|
+
maxRamMB: this.config.resources.maxRamMB,
|
|
137
|
+
maxBandwidthMbps: this.config.resources.maxBandwidthMbps
|
|
138
|
+
})
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
/** Update resource limits at runtime. */
|
|
142
|
+
updateLimits(limits) {
|
|
143
|
+
if (limits.maxCpuPercent !== void 0) this.config.resources.maxCpuPercent = limits.maxCpuPercent;
|
|
144
|
+
if (limits.maxRamMB !== void 0) this.config.resources.maxRamMB = limits.maxRamMB;
|
|
145
|
+
if (limits.maxBandwidthMbps !== void 0) this.config.resources.maxBandwidthMbps = limits.maxBandwidthMbps;
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
//#endregion
|
|
13
150
|
//#region src/svrn/config.ts
|
|
14
151
|
/**
|
|
15
152
|
* ANIMA-specific SVRN config management.
|
|
16
153
|
*
|
|
17
154
|
* Reads/writes SVRN configuration within the ANIMA config file (~/.anima/anima.json).
|
|
18
|
-
* The underlying SVRNNode comes from @noxsoft/svrn-node.
|
|
155
|
+
* The underlying SVRNNode comes from @noxsoft/svrn-node (optional dependency).
|
|
19
156
|
*/
|
|
20
157
|
const CONFIG_FILENAME = "anima.json";
|
|
21
158
|
async function readAnimaConfig() {
|
|
@@ -42,15 +179,36 @@ async function writeAnimaConfig(config, configPath) {
|
|
|
42
179
|
await writeFile(configPath, JSON.stringify(config, null, 2), "utf-8");
|
|
43
180
|
}
|
|
44
181
|
/**
|
|
182
|
+
* Try to dynamically load resolveConfig from @noxsoft/svrn-node.
|
|
183
|
+
* Returns null if the package is not installed.
|
|
184
|
+
*/
|
|
185
|
+
async function loadResolveConfig() {
|
|
186
|
+
try {
|
|
187
|
+
return (await import("@noxsoft/svrn-node")).resolveConfig;
|
|
188
|
+
} catch {
|
|
189
|
+
return null;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
45
193
|
* Load SVRN config from ANIMA config file, merging with defaults.
|
|
46
194
|
*/
|
|
47
195
|
async function loadSVRNConfig() {
|
|
48
196
|
const { config } = await readAnimaConfig();
|
|
49
197
|
const stateDir = resolveStateDir();
|
|
50
|
-
|
|
198
|
+
const partial = {
|
|
51
199
|
...config.svrn,
|
|
52
200
|
dataDir: config.svrn?.dataDir ?? join(stateDir, "svrn")
|
|
53
|
-
}
|
|
201
|
+
};
|
|
202
|
+
const resolveConfig = await loadResolveConfig();
|
|
203
|
+
if (resolveConfig) return resolveConfig(partial);
|
|
204
|
+
return {
|
|
205
|
+
...DEFAULT_SVRN_CONFIG,
|
|
206
|
+
...partial,
|
|
207
|
+
resources: {
|
|
208
|
+
...DEFAULT_SVRN_CONFIG.resources,
|
|
209
|
+
...partial.resources
|
|
210
|
+
}
|
|
211
|
+
};
|
|
54
212
|
}
|
|
55
213
|
/**
|
|
56
214
|
* Enable the SVRN node and persist to config.
|
|
@@ -82,8 +240,8 @@ async function updateSVRNLimits(limits) {
|
|
|
82
240
|
config.svrn = {
|
|
83
241
|
...config.svrn,
|
|
84
242
|
resources: {
|
|
85
|
-
...config.svrn?.resources
|
|
86
|
-
...limits.resources
|
|
243
|
+
...config.svrn?.resources,
|
|
244
|
+
...limits.resources
|
|
87
245
|
}
|
|
88
246
|
};
|
|
89
247
|
await writeAnimaConfig(config, path);
|
|
@@ -565,4 +723,4 @@ function findCommand(name) {
|
|
|
565
723
|
}
|
|
566
724
|
|
|
567
725
|
//#endregion
|
|
568
|
-
export { findCommand as n, loadSVRNConfig as r, commands_exports as t };
|
|
726
|
+
export { isSVRNAvailable as a, SVRNNode as i, findCommand as n, loadSVRNConfig as r, commands_exports as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as getActivePluginRegistry } from "./subsystem-
|
|
1
|
+
import { T as getActivePluginRegistry } from "./subsystem-DfKstnEK.js";
|
|
2
2
|
import { i as listThinkingLevels } from "./thinking-BLU0jXR8.js";
|
|
3
|
-
import { n as listChannelDocks } from "./dock-
|
|
3
|
+
import { n as listChannelDocks } from "./dock-jYICmNcI.js";
|
|
4
4
|
|
|
5
5
|
//#region src/auto-reply/commands-args.ts
|
|
6
6
|
function normalizeArgValue(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { dt as getActivePluginRegistry } from "./entry.js";
|
|
2
|
-
import { n as listChannelDocks } from "./dock-
|
|
2
|
+
import { n as listChannelDocks } from "./dock-Dmxj3en_.js";
|
|
3
3
|
import { i as listThinkingLevels } from "./thinking-BXEswx1X.js";
|
|
4
4
|
|
|
5
5
|
//#region src/auto-reply/commands-args.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
2
|
+
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-B_AYV3tp.js";
|
|
3
3
|
import { t as detectMime } from "./mime-C1RlpUSs.js";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { g as resolveStateDir } from "./paths-
|
|
3
|
-
import { i as routeLogsToStderr } from "./subsystem-
|
|
4
|
-
import { g as pathExists } from "./utils-
|
|
5
|
-
import { i as registerCoreCliByName, o as getSubCliEntries, r as getCoreCliCommandNames, s as registerSubCliByName, t as getProgramContext } from "./program-context-
|
|
2
|
+
import { g as resolveStateDir } from "./paths-BMuHNFxg.js";
|
|
3
|
+
import { i as routeLogsToStderr } from "./subsystem-DfKstnEK.js";
|
|
4
|
+
import { g as pathExists } from "./utils-DZ8pnOD5.js";
|
|
5
|
+
import { i as registerCoreCliByName, o as getSubCliEntries, r as getCoreCliCommandNames, s as registerSubCliByName, t as getProgramContext } from "./program-context-DR1cx29i.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -38,7 +38,7 @@ function resolveShellFromEnv(env = process.env) {
|
|
|
38
38
|
}
|
|
39
39
|
function sanitizeCompletionBasename(value) {
|
|
40
40
|
const trimmed = value.trim();
|
|
41
|
-
if (!trimmed) return "
|
|
41
|
+
if (!trimmed) return "anima";
|
|
42
42
|
return trimmed.replace(/[^a-zA-Z0-9._-]/g, "-");
|
|
43
43
|
}
|
|
44
44
|
function resolveCompletionCacheDir(env = process.env) {
|
|
@@ -51,7 +51,7 @@ function resolveCompletionCachePath(shell, binName) {
|
|
|
51
51
|
return path.join(resolveCompletionCacheDir(), `${basename}.${extension}`);
|
|
52
52
|
}
|
|
53
53
|
/** Check if the completion cache file exists for the given shell. */
|
|
54
|
-
async function completionCacheExists(shell, binName = "
|
|
54
|
+
async function completionCacheExists(shell, binName = "anima") {
|
|
55
55
|
return pathExists(resolveCompletionCachePath(shell, binName));
|
|
56
56
|
}
|
|
57
57
|
function getCompletionScript(shell, program) {
|
|
@@ -74,7 +74,7 @@ function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
|
74
74
|
return `source "${cachePath}"`;
|
|
75
75
|
}
|
|
76
76
|
function isCompletionProfileHeader(line) {
|
|
77
|
-
return line.trim() === "#
|
|
77
|
+
return line.trim() === "# Anima Completion";
|
|
78
78
|
}
|
|
79
79
|
function isCompletionProfileLine(line, binName, cachePath) {
|
|
80
80
|
if (line.includes(`${binName} completion`)) return true;
|
|
@@ -103,7 +103,7 @@ function updateCompletionProfile(content, binName, cachePath, sourceLine) {
|
|
|
103
103
|
filtered.push(line);
|
|
104
104
|
}
|
|
105
105
|
const trimmed = filtered.join("\n").trimEnd();
|
|
106
|
-
const block = `#
|
|
106
|
+
const block = `# Anima Completion\n${sourceLine}`;
|
|
107
107
|
const next = trimmed ? `${trimmed}\n\n${block}\n` : `${block}\n`;
|
|
108
108
|
return {
|
|
109
109
|
next,
|
|
@@ -119,7 +119,7 @@ function getShellProfilePath(shell) {
|
|
|
119
119
|
if (process.platform === "win32") return path.join(process.env.USERPROFILE || home, "Documents", "PowerShell", "Microsoft.PowerShell_profile.ps1");
|
|
120
120
|
return path.join(home, ".config", "powershell", "Microsoft.PowerShell_profile.ps1");
|
|
121
121
|
}
|
|
122
|
-
async function isCompletionInstalled(shell, binName = "
|
|
122
|
+
async function isCompletionInstalled(shell, binName = "anima") {
|
|
123
123
|
const profilePath = getShellProfilePath(shell);
|
|
124
124
|
if (!await pathExists(profilePath)) return false;
|
|
125
125
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
@@ -128,9 +128,9 @@ async function isCompletionInstalled(shell, binName = "openclaw") {
|
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
131
|
-
* Returns true if profile has `source <(
|
|
131
|
+
* Returns true if profile has `source <(anima completion ...)` instead of cached file.
|
|
132
132
|
*/
|
|
133
|
-
async function usesSlowDynamicCompletion(shell, binName = "
|
|
133
|
+
async function usesSlowDynamicCompletion(shell, binName = "anima") {
|
|
134
134
|
const profilePath = getShellProfilePath(shell);
|
|
135
135
|
if (!await pathExists(profilePath)) return false;
|
|
136
136
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
@@ -139,7 +139,7 @@ async function usesSlowDynamicCompletion(shell, binName = "openclaw") {
|
|
|
139
139
|
return false;
|
|
140
140
|
}
|
|
141
141
|
function registerCompletionCli(program) {
|
|
142
|
-
program.command("completion").description("Generate shell completion script").addOption(new Option("-s, --shell <shell>", "Shell to generate completion for (default: zsh)").choices(COMPLETION_SHELLS)).option("-i, --install", "Install completion script to shell profile").option("--write-state", "Write completion scripts to $
|
|
142
|
+
program.command("completion").description("Generate shell completion script").addOption(new Option("-s, --shell <shell>", "Shell to generate completion for (default: zsh)").choices(COMPLETION_SHELLS)).option("-i, --install", "Install completion script to shell profile").option("--write-state", "Write completion scripts to $ANIMA_STATE_DIR/completions (no stdout)").option("-y, --yes", "Skip confirmation (non-interactive)", false).action(async (options) => {
|
|
143
143
|
routeLogsToStderr();
|
|
144
144
|
const shell = options.shell ?? "zsh";
|
|
145
145
|
const ctx = getProgramContext(program);
|
|
@@ -164,7 +164,7 @@ function registerCompletionCli(program) {
|
|
|
164
164
|
process.stdout.write(script + "\n");
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
async function installCompletion(shell, yes, binName = "
|
|
167
|
+
async function installCompletion(shell, yes, binName = "anima") {
|
|
168
168
|
const home = process.env.HOME || os.homedir();
|
|
169
169
|
let profilePath = "";
|
|
170
170
|
let sourceLine = "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $ as resolveStateDir, l as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { h as pathExists } from "./utils-C9sj30YY.js";
|
|
4
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
5
|
-
import { n as getCoreCliCommandNames, r as registerCoreCliByName } from "./command-registry-
|
|
4
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-Bj3GU0St.js";
|
|
5
|
+
import { n as getCoreCliCommandNames, r as registerCoreCliByName } from "./command-registry-CSbw6FZC.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-Bvn8046-.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -39,7 +39,7 @@ function resolveShellFromEnv(env = process.env) {
|
|
|
39
39
|
}
|
|
40
40
|
function sanitizeCompletionBasename(value) {
|
|
41
41
|
const trimmed = value.trim();
|
|
42
|
-
if (!trimmed) return "
|
|
42
|
+
if (!trimmed) return "anima";
|
|
43
43
|
return trimmed.replace(/[^a-zA-Z0-9._-]/g, "-");
|
|
44
44
|
}
|
|
45
45
|
function resolveCompletionCacheDir(env = process.env) {
|
|
@@ -52,7 +52,7 @@ function resolveCompletionCachePath(shell, binName) {
|
|
|
52
52
|
return path.join(resolveCompletionCacheDir(), `${basename}.${extension}`);
|
|
53
53
|
}
|
|
54
54
|
/** Check if the completion cache file exists for the given shell. */
|
|
55
|
-
async function completionCacheExists(shell, binName = "
|
|
55
|
+
async function completionCacheExists(shell, binName = "anima") {
|
|
56
56
|
return pathExists(resolveCompletionCachePath(shell, binName));
|
|
57
57
|
}
|
|
58
58
|
function getCompletionScript(shell, program) {
|
|
@@ -75,7 +75,7 @@ function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
|
75
75
|
return `source "${cachePath}"`;
|
|
76
76
|
}
|
|
77
77
|
function isCompletionProfileHeader(line) {
|
|
78
|
-
return line.trim() === "#
|
|
78
|
+
return line.trim() === "# Anima Completion";
|
|
79
79
|
}
|
|
80
80
|
function isCompletionProfileLine(line, binName, cachePath) {
|
|
81
81
|
if (line.includes(`${binName} completion`)) return true;
|
|
@@ -104,7 +104,7 @@ function updateCompletionProfile(content, binName, cachePath, sourceLine) {
|
|
|
104
104
|
filtered.push(line);
|
|
105
105
|
}
|
|
106
106
|
const trimmed = filtered.join("\n").trimEnd();
|
|
107
|
-
const block = `#
|
|
107
|
+
const block = `# Anima Completion\n${sourceLine}`;
|
|
108
108
|
const next = trimmed ? `${trimmed}\n\n${block}\n` : `${block}\n`;
|
|
109
109
|
return {
|
|
110
110
|
next,
|
|
@@ -120,7 +120,7 @@ function getShellProfilePath(shell) {
|
|
|
120
120
|
if (process.platform === "win32") return path.join(process.env.USERPROFILE || home, "Documents", "PowerShell", "Microsoft.PowerShell_profile.ps1");
|
|
121
121
|
return path.join(home, ".config", "powershell", "Microsoft.PowerShell_profile.ps1");
|
|
122
122
|
}
|
|
123
|
-
async function isCompletionInstalled(shell, binName = "
|
|
123
|
+
async function isCompletionInstalled(shell, binName = "anima") {
|
|
124
124
|
const profilePath = getShellProfilePath(shell);
|
|
125
125
|
if (!await pathExists(profilePath)) return false;
|
|
126
126
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
@@ -129,9 +129,9 @@ async function isCompletionInstalled(shell, binName = "openclaw") {
|
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
131
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
132
|
-
* Returns true if profile has `source <(
|
|
132
|
+
* Returns true if profile has `source <(anima completion ...)` instead of cached file.
|
|
133
133
|
*/
|
|
134
|
-
async function usesSlowDynamicCompletion(shell, binName = "
|
|
134
|
+
async function usesSlowDynamicCompletion(shell, binName = "anima") {
|
|
135
135
|
const profilePath = getShellProfilePath(shell);
|
|
136
136
|
if (!await pathExists(profilePath)) return false;
|
|
137
137
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
@@ -140,7 +140,7 @@ async function usesSlowDynamicCompletion(shell, binName = "openclaw") {
|
|
|
140
140
|
return false;
|
|
141
141
|
}
|
|
142
142
|
function registerCompletionCli(program) {
|
|
143
|
-
program.command("completion").description("Generate shell completion script").addOption(new Option("-s, --shell <shell>", "Shell to generate completion for (default: zsh)").choices(COMPLETION_SHELLS)).option("-i, --install", "Install completion script to shell profile").option("--write-state", "Write completion scripts to $
|
|
143
|
+
program.command("completion").description("Generate shell completion script").addOption(new Option("-s, --shell <shell>", "Shell to generate completion for (default: zsh)").choices(COMPLETION_SHELLS)).option("-i, --install", "Install completion script to shell profile").option("--write-state", "Write completion scripts to $ANIMA_STATE_DIR/completions (no stdout)").option("-y, --yes", "Skip confirmation (non-interactive)", false).action(async (options) => {
|
|
144
144
|
routeLogsToStderr();
|
|
145
145
|
const shell = options.shell ?? "zsh";
|
|
146
146
|
const ctx = getProgramContext(program);
|
|
@@ -165,7 +165,7 @@ function registerCompletionCli(program) {
|
|
|
165
165
|
process.stdout.write(script + "\n");
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
|
-
async function installCompletion(shell, yes, binName = "
|
|
168
|
+
async function installCompletion(shell, yes, binName = "anima") {
|
|
169
169
|
const home = process.env.HOME || os.homedir();
|
|
170
170
|
let profilePath = "";
|
|
171
171
|
let sourceLine = "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $ as resolveStateDir, B as STATE_DIR, Dt as resolveRequiredHomeDir, G as resolveDefaultConfigCandidates, H as resolveCanonicalConfigPath, J as resolveIsNixMode, K as resolveGatewayLockDir, Q as resolveOAuthPath, R as CONFIG_PATH, U as resolveConfigPath, V as isNixMode, W as resolveConfigPathCandidate, X as resolveNewStateDir, Y as resolveLegacyStateDirs, Z as resolveOAuthDir, q as resolveGatewayPort, tt as CHANNEL_IDS, ut as normalizeChatChannelId, z as DEFAULT_GATEWAY_PORT } from "./entry.js";
|
|
3
|
-
import { M as parseModelRef, Tt as DEFAULT_CONTEXT_TOKENS, gt as shouldEnableShellEnvFallback, ht as shouldDeferShellEnvFallback, mt as resolveShellEnvFallbackTimeoutMs, pt as loadShellEnvFallback } from "./auth-profiles-
|
|
3
|
+
import { M as parseModelRef, Tt as DEFAULT_CONTEXT_TOKENS, gt as shouldEnableShellEnvFallback, ht as shouldDeferShellEnvFallback, mt as resolveShellEnvFallbackTimeoutMs, pt as loadShellEnvFallback } from "./auth-profiles-CC3TFfvS.js";
|
|
4
4
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-BGiG_JcT.js";
|
|
5
5
|
import { d as isRecord, g as resolveConfigDir, u as isPlainObject$2, y as resolveUserPath } from "./utils-C9sj30YY.js";
|
|
6
6
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-OZi7lb8S.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as resolveOAuthDir, n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { C as normalizeAccountId, _ as DEFAULT_AGENT_ID, g as DEFAULT_ACCOUNT_ID, w as normalizeAgentId } from "./workspace-
|
|
3
|
-
import { J as info, L as resolveConfigDir, M as isRecord, P as jidToE164, Q as success, b as normalizeChatChannelId, j as isPlainObject$2, m as CHANNEL_IDS, nt as getChildLogger, u as defaultRuntime, z as resolveUserPath } from "./exec-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
6
|
-
import { F as shouldEnableShellEnvFallback, L as DEFAULT_CONTEXT_TOKENS, M as loadShellEnvFallback, N as resolveShellEnvFallbackTimeoutMs, P as shouldDeferShellEnvFallback, y as parseModelRef } from "./auth-profiles-
|
|
1
|
+
import { a as resolveOAuthDir, n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-C1R4gjRm.js";
|
|
2
|
+
import { C as normalizeAccountId, _ as DEFAULT_AGENT_ID, g as DEFAULT_ACCOUNT_ID, w as normalizeAgentId } from "./workspace-BTjqqJY-.js";
|
|
3
|
+
import { J as info, L as resolveConfigDir, M as isRecord, P as jidToE164, Q as success, b as normalizeChatChannelId, j as isPlainObject$2, m as CHANNEL_IDS, nt as getChildLogger, u as defaultRuntime, z as resolveUserPath } from "./exec-tTxVr8zb.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CcE0DhlL.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-CP1YTNCl.js";
|
|
6
|
+
import { F as shouldEnableShellEnvFallback, L as DEFAULT_CONTEXT_TOKENS, M as loadShellEnvFallback, N as resolveShellEnvFallbackTimeoutMs, P as shouldDeferShellEnvFallback, y as parseModelRef } from "./auth-profiles-BVZBTuls.js";
|
|
7
7
|
import { n as MANIFEST_KEY } from "./legacy-names-CKU7tKQR.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-
|
|
3
|
-
import { h as CHANNEL_IDS, w as normalizeChatChannelId } from "./subsystem-
|
|
4
|
-
import { _ as resolveConfigDir, b as resolveUserPath, d as isPlainObject$2, f as isRecord } from "./utils-
|
|
2
|
+
import { a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BMuHNFxg.js";
|
|
3
|
+
import { h as CHANNEL_IDS, w as normalizeChatChannelId } from "./subsystem-DfKstnEK.js";
|
|
4
|
+
import { _ as resolveConfigDir, b as resolveUserPath, d as isPlainObject$2, f as isRecord } from "./utils-DZ8pnOD5.js";
|
|
5
5
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-DxcgHezu.js";
|
|
6
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
-
import { G as shouldEnableShellEnvFallback, H as loadShellEnvFallback, Ot as DEFAULT_CONTEXT_TOKENS, U as resolveShellEnvFallbackTimeoutMs, W as shouldDeferShellEnvFallback, l as parseModelRef } from "./model-selection-
|
|
8
|
-
import { d as resolveMemorySlotDecision, l as normalizePluginsConfig, t as loadPluginManifestRegistry, u as resolveEnableState } from "./manifest-registry-
|
|
6
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CPphqq-U.js";
|
|
7
|
+
import { G as shouldEnableShellEnvFallback, H as loadShellEnvFallback, Ot as DEFAULT_CONTEXT_TOKENS, U as resolveShellEnvFallbackTimeoutMs, W as shouldDeferShellEnvFallback, l as parseModelRef } from "./model-selection-Cqt6aJ0G.js";
|
|
8
|
+
import { d as resolveMemorySlotDecision, l as normalizePluginsConfig, t as loadPluginManifestRegistry, u as resolveEnableState } from "./manifest-registry-kHX_MFa1.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { M as theme, b as danger, h as defaultRuntime, x as info } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import "./auth-profiles-CC3TFfvS.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
4
4
|
import { S as shortenHomePath } from "./utils-C9sj30YY.js";
|
|
5
5
|
import "./exec-BizYYQgP.js";
|
|
6
6
|
import "./agent-scope-OZi7lb8S.js";
|
|
7
7
|
import "./manifest-registry-D4lM2RdV.js";
|
|
8
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
8
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BeuAT94o.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-BfjHVTB_.js";
|
|
10
10
|
import JSON5 from "json5";
|
|
11
11
|
|
|
@@ -148,7 +148,7 @@ async function loadValidConfig(runtime = defaultRuntime) {
|
|
|
148
148
|
if (snapshot.valid) return snapshot;
|
|
149
149
|
runtime.error(`Config invalid at ${shortenHomePath(snapshot.path)}.`);
|
|
150
150
|
for (const issue of snapshot.issues) runtime.error(`- ${issue.path || "<root>"}: ${issue.message}`);
|
|
151
|
-
runtime.error(`Run \`${formatCliCommand("
|
|
151
|
+
runtime.error(`Run \`${formatCliCommand("anima doctor")}\` to repair, then retry.`);
|
|
152
152
|
runtime.exit(1);
|
|
153
153
|
return snapshot;
|
|
154
154
|
}
|
|
@@ -200,8 +200,8 @@ async function runConfigUnset(opts) {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
function registerConfigCli(program) {
|
|
203
|
-
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.
|
|
204
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-
|
|
203
|
+
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.noxsoft.net/anima/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
204
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-FENKo5hf.js").then((n) => n.t);
|
|
205
205
|
const { sections, invalid } = parseConfigureWizardSections(opts.section);
|
|
206
206
|
if (sections.length === 0) {
|
|
207
207
|
await configureCommand(defaultRuntime);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as theme, O as danger, k as info, u as defaultRuntime } from "./subsystem-
|
|
3
|
-
import { C as shortenHomePath } from "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import "./paths-BMuHNFxg.js";
|
|
2
|
+
import { B as theme, O as danger, k as info, u as defaultRuntime } from "./subsystem-DfKstnEK.js";
|
|
3
|
+
import { C as shortenHomePath } from "./utils-DZ8pnOD5.js";
|
|
4
|
+
import "./exec-mhSykkaa.js";
|
|
5
|
+
import "./agent-scope-CPphqq-U.js";
|
|
6
|
+
import "./model-selection-Cqt6aJ0G.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
|
-
import "./env-
|
|
10
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import { t as formatDocsLink } from "./links-
|
|
9
|
+
import "./env-v6411I8h.js";
|
|
10
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-DaqbUdkI.js";
|
|
11
|
+
import "./manifest-registry-kHX_MFa1.js";
|
|
12
|
+
import { t as formatDocsLink } from "./links-D2tt2ouh.js";
|
|
13
13
|
import JSON5 from "json5";
|
|
14
14
|
|
|
15
15
|
//#region src/cli/config-cli.ts
|
|
@@ -151,7 +151,7 @@ async function loadValidConfig(runtime = defaultRuntime) {
|
|
|
151
151
|
if (snapshot.valid) return snapshot;
|
|
152
152
|
runtime.error(`Config invalid at ${shortenHomePath(snapshot.path)}.`);
|
|
153
153
|
for (const issue of snapshot.issues) runtime.error(`- ${issue.path || "<root>"}: ${issue.message}`);
|
|
154
|
-
runtime.error(`Run \`${formatCliCommand("
|
|
154
|
+
runtime.error(`Run \`${formatCliCommand("anima doctor")}\` to repair, then retry.`);
|
|
155
155
|
runtime.exit(1);
|
|
156
156
|
return snapshot;
|
|
157
157
|
}
|
|
@@ -203,8 +203,8 @@ async function runConfigUnset(opts) {
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
function registerConfigCli(program) {
|
|
206
|
-
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.
|
|
207
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-
|
|
206
|
+
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.noxsoft.net/anima/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
207
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-B2vlJbd2.js").then((n) => n.t);
|
|
208
208
|
const { sections, invalid } = parseConfigureWizardSections(opts.section);
|
|
209
209
|
if (sections.length === 0) {
|
|
210
210
|
await configureCommand(defaultRuntime);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { A as colorize, Ct as shouldMigrateStateFromPath, M as theme, j as isRich } from "./entry.js";
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
4
4
|
import { S as shortenHomePath } from "./utils-C9sj30YY.js";
|
|
5
|
-
import { o as readConfigFileSnapshot } from "./config-
|
|
6
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
5
|
+
import { o as readConfigFileSnapshot } from "./config-BeuAT94o.js";
|
|
6
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-Dxjx2igu.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/program/config-guard.ts
|
|
9
9
|
var config_guard_exports = /* @__PURE__ */ __exportAll({ ensureConfigReady: () => ensureConfigReady });
|
|
@@ -68,7 +68,7 @@ async function ensureConfigReady(params) {
|
|
|
68
68
|
params.runtime.error(legacyIssues.map((issue) => ` ${error(issue)}`).join("\n"));
|
|
69
69
|
}
|
|
70
70
|
params.runtime.error("");
|
|
71
|
-
params.runtime.error(`${muted("Run:")} ${commandText(formatCliCommand("
|
|
71
|
+
params.runtime.error(`${muted("Run:")} ${commandText(formatCliCommand("anima doctor --fix"))}`);
|
|
72
72
|
if (!allowInvalid) params.runtime.exit(1);
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as theme, R as colorize, z as isRich } from "./subsystem-
|
|
3
|
-
import { C as shortenHomePath } from "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import "./paths-BMuHNFxg.js";
|
|
2
|
+
import { B as theme, R as colorize, z as isRich } from "./subsystem-DfKstnEK.js";
|
|
3
|
+
import { C as shortenHomePath } from "./utils-DZ8pnOD5.js";
|
|
4
|
+
import "./exec-mhSykkaa.js";
|
|
5
|
+
import "./agent-scope-CPphqq-U.js";
|
|
6
|
+
import "./model-selection-Cqt6aJ0G.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
|
-
import "./env-
|
|
10
|
-
import { o as readConfigFileSnapshot } from "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./sessions-
|
|
13
|
-
import "./dock-
|
|
9
|
+
import "./env-v6411I8h.js";
|
|
10
|
+
import { o as readConfigFileSnapshot } from "./config-DaqbUdkI.js";
|
|
11
|
+
import "./manifest-registry-kHX_MFa1.js";
|
|
12
|
+
import "./sessions-B-Cu7JZq.js";
|
|
13
|
+
import "./dock-jYICmNcI.js";
|
|
14
14
|
import "./logging-54nXj81z.js";
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./message-channel-
|
|
17
|
-
import "./plugins-
|
|
18
|
-
import "./paths-
|
|
19
|
-
import { o as shouldMigrateStateFromPath } from "./argv-
|
|
20
|
-
import "./catalog-
|
|
21
|
-
import "./prompt-style-
|
|
22
|
-
import "./note-
|
|
23
|
-
import "./plugin-auto-enable-
|
|
24
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
15
|
+
import "./accounts-Bth3PpPD.js";
|
|
16
|
+
import "./message-channel-D_jIO87f.js";
|
|
17
|
+
import "./plugins-DhcGAPDB.js";
|
|
18
|
+
import "./paths-BXQQzXGQ.js";
|
|
19
|
+
import { o as shouldMigrateStateFromPath } from "./argv-BMZMiW7v.js";
|
|
20
|
+
import "./catalog-CqKiUgu6.js";
|
|
21
|
+
import "./prompt-style-D6u56SjJ.js";
|
|
22
|
+
import "./note-BtE8fGoO.js";
|
|
23
|
+
import "./plugin-auto-enable-d9eDmGOX.js";
|
|
24
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-Bb8TQwYh.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/program/config-guard.ts
|
|
27
27
|
const ALLOWED_INVALID_COMMANDS = new Set([
|
|
@@ -85,7 +85,7 @@ async function ensureConfigReady(params) {
|
|
|
85
85
|
params.runtime.error(legacyIssues.map((issue) => ` ${error(issue)}`).join("\n"));
|
|
86
86
|
}
|
|
87
87
|
params.runtime.error("");
|
|
88
|
-
params.runtime.error(`${muted("Run:")} ${commandText(formatCliCommand("
|
|
88
|
+
params.runtime.error(`${muted("Run:")} ${commandText(formatCliCommand("anima doctor --fix"))}`);
|
|
89
89
|
if (!allowInvalid) params.runtime.exit(1);
|
|
90
90
|
}
|
|
91
91
|
|