@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-O8yBqCBv.js";
|
|
2
|
-
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-
|
|
2
|
+
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-cglglYsH.js";
|
|
3
3
|
import { o as resolveSystemdUserUnitPath } from "./systemd-BSrHDyeU.js";
|
|
4
4
|
import { c as resolveLaunchAgentPlistPath, n as execSchtasks } from "./service-BNVpYcQe.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as ensureDir, Q as success, nt as getChildLogger, q as danger, rt as toPinoLikeLogger, z as resolveUserPath } from "./exec-
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
-
import { A as maybeRestoreCredsFromBackup, F as resolveWebCredsPath, N as resolveDefaultWebAuthDir, P as resolveWebCredsBackupPath, w as VERSION } from "./config-
|
|
1
|
+
import { O as ensureDir, Q as success, nt as getChildLogger, q as danger, rt as toPinoLikeLogger, z as resolveUserPath } from "./exec-tTxVr8zb.js";
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-CP1YTNCl.js";
|
|
3
|
+
import { A as maybeRestoreCredsFromBackup, F as resolveWebCredsPath, N as resolveDefaultWebAuthDir, P as resolveWebCredsBackupPath, w as VERSION } from "./config-C96685Kz.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as success, O as danger, V as getChildLogger, W as toPinoLikeLogger } from "./subsystem-
|
|
2
|
-
import { b as resolveUserPath, c as ensureDir } from "./utils-
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
4
|
-
import { M as VERSION } from "./config-
|
|
5
|
-
import { d as resolveWebCredsBackupPath, f as resolveWebCredsPath, s as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-
|
|
1
|
+
import { I as success, O as danger, V as getChildLogger, W as toPinoLikeLogger } from "./subsystem-DfKstnEK.js";
|
|
2
|
+
import { b as resolveUserPath, c as ensureDir } from "./utils-DZ8pnOD5.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
4
|
+
import { M as VERSION } from "./config-DaqbUdkI.js";
|
|
5
|
+
import { d as resolveWebCredsBackupPath, f as resolveWebCredsPath, s as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-Bth3PpPD.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
2
|
+
import { n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BXQQzXGQ.js";
|
|
3
3
|
import { n as extractToolCallNames, s as normalizeUsage, t as countToolResults } from "./transcript-tools-DtE5di1q.js";
|
|
4
4
|
import { i as resolveModelCostConfig, t as estimateUsageCost } from "./usage-format-CpORtVCG.js";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { I as toPinoLikeLogger, N as getChildLogger, O as success, b as danger } from "./entry.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
3
3
|
import { s as ensureDir, y as resolveUserPath } from "./utils-C9sj30YY.js";
|
|
4
|
-
import { M as VERSION } from "./config-
|
|
5
|
-
import { d as resolveWebCredsBackupPath, f as resolveWebCredsPath, s as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-
|
|
4
|
+
import { M as VERSION } from "./config-BeuAT94o.js";
|
|
5
|
+
import { d as resolveWebCredsBackupPath, f as resolveWebCredsPath, s as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-CP1IAWeM.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { h as normalizeE164 } from "./utils-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
2
|
+
import { h as normalizeE164 } from "./utils-DZ8pnOD5.js";
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, u as normalizeMainKey } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-
|
|
5
|
-
import { t as getChannelDock } from "./dock-
|
|
6
|
-
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-
|
|
7
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
8
|
-
import { c as resolveStorePath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
4
|
+
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-DaqbUdkI.js";
|
|
5
|
+
import { t as getChannelDock } from "./dock-jYICmNcI.js";
|
|
6
|
+
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-D_jIO87f.js";
|
|
7
|
+
import { r as normalizeChannelId } from "./plugins-DhcGAPDB.js";
|
|
8
|
+
import { c as resolveStorePath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-BXQQzXGQ.js";
|
|
9
9
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C8Tqw4td.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, u as normalizeMainKey } from "./session-key-BGiG_JcT.js";
|
|
3
3
|
import { m as normalizeE164 } from "./utils-C9sj30YY.js";
|
|
4
|
-
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-
|
|
4
|
+
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-BeuAT94o.js";
|
|
5
5
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-w4F2b2F6.js";
|
|
6
6
|
import { r as normalizeChannelId } from "./plugins-CDJw924T.js";
|
|
7
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
+
import { t as getChannelDock } from "./dock-Dmxj3en_.js";
|
|
8
8
|
import { c as resolveStorePath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-CxRf2rBG.js";
|
|
9
9
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C1hdue6u.js";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as theme, j as isRich, x as info } from "./entry.js";
|
|
3
|
-
import { Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, Tt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import { i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-
|
|
3
|
+
import { Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, Tt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-CC3TFfvS.js";
|
|
4
|
+
import { i as loadConfig } from "./config-BeuAT94o.js";
|
|
5
|
+
import { i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-B9VnNnIk.js";
|
|
6
6
|
import { c as resolveStorePath } from "./paths-CxRf2rBG.js";
|
|
7
|
-
import { t as lookupContextTokens } from "./context-
|
|
7
|
+
import { t as lookupContextTokens } from "./context-ChaAWbwZ.js";
|
|
8
8
|
import { n as formatTimeAgo } from "./format-relative-C6kUHuOj.js";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/sessions.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as normalizeAccountId$1, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-
|
|
2
|
-
import { F as normalizeE164, S as requireActivePluginRegistry, _ as getChatChannelMeta, h as CHAT_CHANNEL_ORDER, k as escapeRegExp, l as createSubsystemLogger } from "./exec-
|
|
3
|
-
import { T as resolveWhatsAppAccount, c as parseDurationMs, n as loadConfig, s as parseByteSize } from "./config-
|
|
4
|
-
import { _ as listDeliverableMessageChannels, a as normalizeWhatsAppTarget, c as resolveSlackAccount, d as resolveDiscordAccount, l as resolveSlackReplyToMode, r as normalizeChannelId, s as resolveTelegramAccount, v as normalizeMessageChannel } from "./plugins-
|
|
5
|
-
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
1
|
+
import { C as normalizeAccountId$1, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-BTjqqJY-.js";
|
|
2
|
+
import { F as normalizeE164, S as requireActivePluginRegistry, _ as getChatChannelMeta, h as CHAT_CHANNEL_ORDER, k as escapeRegExp, l as createSubsystemLogger } from "./exec-tTxVr8zb.js";
|
|
3
|
+
import { T as resolveWhatsAppAccount, c as parseDurationMs, n as loadConfig, s as parseByteSize } from "./config-C96685Kz.js";
|
|
4
|
+
import { _ as listDeliverableMessageChannels, a as normalizeWhatsAppTarget, c as resolveSlackAccount, d as resolveDiscordAccount, l as resolveSlackReplyToMode, r as normalizeChannelId, s as resolveTelegramAccount, v as normalizeMessageChannel } from "./plugins-DdzdfeTc.js";
|
|
5
|
+
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Ba-yiqjy.js";
|
|
6
6
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DW_H__a1.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
3
3
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel } from "./constants-O8yBqCBv.js";
|
|
4
4
|
import { t as resolveGatewayService } from "./service-BNVpYcQe.js";
|
|
5
5
|
|
|
@@ -43,10 +43,10 @@ function extractGatewayMiskeys(parsed) {
|
|
|
43
43
|
function renderGatewayServiceStopHints(env = process.env) {
|
|
44
44
|
const profile = env.OPENCLAW_PROFILE;
|
|
45
45
|
switch (process.platform) {
|
|
46
|
-
case "darwin": return [`Tip: ${formatCliCommand("
|
|
47
|
-
case "linux": return [`Tip: ${formatCliCommand("
|
|
48
|
-
case "win32": return [`Tip: ${formatCliCommand("
|
|
49
|
-
default: return [`Tip: ${formatCliCommand("
|
|
46
|
+
case "darwin": return [`Tip: ${formatCliCommand("anima gateway stop")}`, `Or: launchctl bootout gui/$UID/${resolveGatewayLaunchAgentLabel(profile)}`];
|
|
47
|
+
case "linux": return [`Tip: ${formatCliCommand("anima gateway stop")}`, `Or: systemctl --user stop ${resolveGatewaySystemdServiceName(profile)}.service`];
|
|
48
|
+
case "win32": return [`Tip: ${formatCliCommand("anima gateway stop")}`, `Or: schtasks /End /TN "${resolveGatewayWindowsTaskName(profile)}"`];
|
|
49
|
+
default: return [`Tip: ${formatCliCommand("anima gateway stop")}`];
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
async function maybeExplainGatewayServiceStop() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dt as DEFAULT_PROVIDER, E as buildModelAliasIndex, R as resolveModelRefFromString } from "./auth-profiles-
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import { Dt as DEFAULT_PROVIDER, E as buildModelAliasIndex, R as resolveModelRefFromString } from "./auth-profiles-CC3TFfvS.js";
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
3
3
|
import { l as normalizeAgentId } from "./session-key-BGiG_JcT.js";
|
|
4
4
|
import { t as listAgentIds } from "./agent-scope-OZi7lb8S.js";
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BeuAT94o.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as normalizeAgentId } from "./session-key-DxcgHezu.js";
|
|
2
|
-
import { t as listAgentIds } from "./agent-scope-
|
|
3
|
-
import { At as DEFAULT_PROVIDER, h as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-
|
|
4
|
-
import { t as formatCliCommand } from "./command-format-
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
2
|
+
import { t as listAgentIds } from "./agent-scope-CPphqq-U.js";
|
|
3
|
+
import { At as DEFAULT_PROVIDER, h as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-Cqt6aJ0G.js";
|
|
4
|
+
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-DaqbUdkI.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as defaultRuntime } from "./subsystem-
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import { u as defaultRuntime } from "./subsystem-DfKstnEK.js";
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
3
3
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel } from "./constants-BwBn5CGe.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-CpG4hCVW.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -43,10 +43,10 @@ function extractGatewayMiskeys(parsed) {
|
|
|
43
43
|
function renderGatewayServiceStopHints(env = process.env) {
|
|
44
44
|
const profile = env.OPENCLAW_PROFILE;
|
|
45
45
|
switch (process.platform) {
|
|
46
|
-
case "darwin": return [`Tip: ${formatCliCommand("
|
|
47
|
-
case "linux": return [`Tip: ${formatCliCommand("
|
|
48
|
-
case "win32": return [`Tip: ${formatCliCommand("
|
|
49
|
-
default: return [`Tip: ${formatCliCommand("
|
|
46
|
+
case "darwin": return [`Tip: ${formatCliCommand("anima gateway stop")}`, `Or: launchctl bootout gui/$UID/${resolveGatewayLaunchAgentLabel(profile)}`];
|
|
47
|
+
case "linux": return [`Tip: ${formatCliCommand("anima gateway stop")}`, `Or: systemctl --user stop ${resolveGatewaySystemdServiceName(profile)}.service`];
|
|
48
|
+
case "win32": return [`Tip: ${formatCliCommand("anima gateway stop")}`, `Or: schtasks /End /TN "${resolveGatewayWindowsTaskName(profile)}"`];
|
|
49
|
+
default: return [`Tip: ${formatCliCommand("anima gateway stop")}`];
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
async function maybeExplainGatewayServiceStop() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { b as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
2
|
+
import { b as resolveUserPath, t as CONFIG_DIR } from "./utils-DZ8pnOD5.js";
|
|
3
3
|
import { n as resolveAnimaPackageRootSync } from "./openclaw-root-0yHXtO35.js";
|
|
4
4
|
import { t as parseBooleanValue } from "./boolean-Wzu0-e0P.js";
|
|
5
|
-
import { a as MANIFEST_KEY, d as resolveMemorySlotDecision, i as LEGACY_MANIFEST_KEYS, l as normalizePluginsConfig, t as loadPluginManifestRegistry, u as resolveEnableState } from "./manifest-registry-
|
|
5
|
+
import { a as MANIFEST_KEY, d as resolveMemorySlotDecision, i as LEGACY_MANIFEST_KEYS, l as normalizePluginsConfig, t as loadPluginManifestRegistry, u as resolveEnableState } from "./manifest-registry-kHX_MFa1.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import os from "node:os";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as theme, u as defaultRuntime } from "./subsystem-
|
|
3
|
-
import { C as shortenHomePath } from "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import "./paths-BMuHNFxg.js";
|
|
2
|
+
import { B as theme, u as defaultRuntime } from "./subsystem-DfKstnEK.js";
|
|
3
|
+
import { C as shortenHomePath } from "./utils-DZ8pnOD5.js";
|
|
4
|
+
import "./exec-mhSykkaa.js";
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./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 { i as loadConfig } from "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import { t as formatDocsLink } from "./links-
|
|
13
|
-
import { t as renderTable } from "./table-
|
|
9
|
+
import "./env-v6411I8h.js";
|
|
10
|
+
import { i as loadConfig } from "./config-DaqbUdkI.js";
|
|
11
|
+
import "./manifest-registry-kHX_MFa1.js";
|
|
12
|
+
import { t as formatDocsLink } from "./links-D2tt2ouh.js";
|
|
13
|
+
import { t as renderTable } from "./table-B_wVcaLO.js";
|
|
14
14
|
|
|
15
15
|
//#region src/cli/skills-cli.format.ts
|
|
16
16
|
function appendClawHubHint(output, json) {
|
|
@@ -57,7 +57,7 @@ function formatSkillsList(report, opts) {
|
|
|
57
57
|
};
|
|
58
58
|
return JSON.stringify(jsonReport, null, 2);
|
|
59
59
|
}
|
|
60
|
-
if (skills.length === 0) return appendClawHubHint(opts.eligible ? `No eligible skills found. Run \`${formatCliCommand("
|
|
60
|
+
if (skills.length === 0) return appendClawHubHint(opts.eligible ? `No eligible skills found. Run \`${formatCliCommand("anima skills list")}\` to see all skills.` : "No skills found.", opts.json);
|
|
61
61
|
const eligible = skills.filter((s) => s.eligible);
|
|
62
62
|
const tableWidth = Math.max(60, (process.stdout.columns ?? 120) - 1);
|
|
63
63
|
const rows = skills.map((skill) => {
|
|
@@ -116,7 +116,7 @@ function formatSkillInfo(report, skillName, opts) {
|
|
|
116
116
|
error: "not found",
|
|
117
117
|
skill: skillName
|
|
118
118
|
}, null, 2);
|
|
119
|
-
return appendClawHubHint(`Skill "${skillName}" not found. Run \`${formatCliCommand("
|
|
119
|
+
return appendClawHubHint(`Skill "${skillName}" not found. Run \`${formatCliCommand("anima skills list")}\` to see available skills.`, opts.json);
|
|
120
120
|
}
|
|
121
121
|
if (opts.json) return JSON.stringify(skill, null, 2);
|
|
122
122
|
const lines = [];
|
|
@@ -234,12 +234,12 @@ function formatSkillsCheck(report, opts) {
|
|
|
234
234
|
* Register the skills CLI commands
|
|
235
235
|
*/
|
|
236
236
|
function registerSkillsCli(program) {
|
|
237
|
-
const skills = program.command("skills").description("List and inspect available skills").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/skills", "docs.
|
|
237
|
+
const skills = program.command("skills").description("List and inspect available skills").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/skills", "docs.noxsoft.net/anima/cli/skills")}\n`);
|
|
238
238
|
skills.command("list").description("List all available skills").option("--json", "Output as JSON", false).option("--eligible", "Show only eligible (ready to use) skills", false).option("-v, --verbose", "Show more details including missing requirements", false).action(async (opts) => {
|
|
239
239
|
try {
|
|
240
240
|
const config = loadConfig();
|
|
241
241
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
242
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
242
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-DaLLXtp7.js").then((n) => n.n);
|
|
243
243
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
244
244
|
defaultRuntime.log(formatSkillsList(report, opts));
|
|
245
245
|
} catch (err) {
|
|
@@ -251,7 +251,7 @@ function registerSkillsCli(program) {
|
|
|
251
251
|
try {
|
|
252
252
|
const config = loadConfig();
|
|
253
253
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
254
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
254
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-DaLLXtp7.js").then((n) => n.n);
|
|
255
255
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
256
256
|
defaultRuntime.log(formatSkillInfo(report, name, opts));
|
|
257
257
|
} catch (err) {
|
|
@@ -263,7 +263,7 @@ function registerSkillsCli(program) {
|
|
|
263
263
|
try {
|
|
264
264
|
const config = loadConfig();
|
|
265
265
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
266
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
266
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-DaLLXtp7.js").then((n) => n.n);
|
|
267
267
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
268
268
|
defaultRuntime.log(formatSkillsCheck(report, opts));
|
|
269
269
|
} catch (err) {
|
|
@@ -275,7 +275,7 @@ function registerSkillsCli(program) {
|
|
|
275
275
|
try {
|
|
276
276
|
const config = loadConfig();
|
|
277
277
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
278
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
278
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-DaLLXtp7.js").then((n) => n.n);
|
|
279
279
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
280
280
|
defaultRuntime.log(formatSkillsList(report, {}));
|
|
281
281
|
} catch (err) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { M as theme, h as defaultRuntime } 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 { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-OZi7lb8S.js";
|
|
7
7
|
import "./manifest-registry-D4lM2RdV.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-BeuAT94o.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-BfjHVTB_.js";
|
|
10
10
|
import { t as renderTable } from "./table-DoiRPsn0.js";
|
|
11
11
|
|
|
@@ -54,7 +54,7 @@ function formatSkillsList(report, opts) {
|
|
|
54
54
|
};
|
|
55
55
|
return JSON.stringify(jsonReport, null, 2);
|
|
56
56
|
}
|
|
57
|
-
if (skills.length === 0) return appendClawHubHint(opts.eligible ? `No eligible skills found. Run \`${formatCliCommand("
|
|
57
|
+
if (skills.length === 0) return appendClawHubHint(opts.eligible ? `No eligible skills found. Run \`${formatCliCommand("anima skills list")}\` to see all skills.` : "No skills found.", opts.json);
|
|
58
58
|
const eligible = skills.filter((s) => s.eligible);
|
|
59
59
|
const tableWidth = Math.max(60, (process.stdout.columns ?? 120) - 1);
|
|
60
60
|
const rows = skills.map((skill) => {
|
|
@@ -113,7 +113,7 @@ function formatSkillInfo(report, skillName, opts) {
|
|
|
113
113
|
error: "not found",
|
|
114
114
|
skill: skillName
|
|
115
115
|
}, null, 2);
|
|
116
|
-
return appendClawHubHint(`Skill "${skillName}" not found. Run \`${formatCliCommand("
|
|
116
|
+
return appendClawHubHint(`Skill "${skillName}" not found. Run \`${formatCliCommand("anima skills list")}\` to see available skills.`, opts.json);
|
|
117
117
|
}
|
|
118
118
|
if (opts.json) return JSON.stringify(skill, null, 2);
|
|
119
119
|
const lines = [];
|
|
@@ -231,7 +231,7 @@ function formatSkillsCheck(report, opts) {
|
|
|
231
231
|
* Register the skills CLI commands
|
|
232
232
|
*/
|
|
233
233
|
function registerSkillsCli(program) {
|
|
234
|
-
const skills = program.command("skills").description("List and inspect available skills").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/skills", "docs.
|
|
234
|
+
const skills = program.command("skills").description("List and inspect available skills").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/skills", "docs.noxsoft.net/anima/cli/skills")}\n`);
|
|
235
235
|
skills.command("list").description("List all available skills").option("--json", "Output as JSON", false).option("--eligible", "Show only eligible (ready to use) skills", false).option("-v, --verbose", "Show more details including missing requirements", false).action(async (opts) => {
|
|
236
236
|
try {
|
|
237
237
|
const config = loadConfig();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { d as isBundledSkillAllowed, f as isConfigPathTruthy, i as loadWorkspaceSkillEntries, m as resolveSkillConfig, p as resolveBundledAllowlist, s as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, x as hasBinary } from "./skills-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
3
|
+
import { t as CONFIG_DIR } from "./utils-DZ8pnOD5.js";
|
|
4
|
+
import { d as isBundledSkillAllowed, f as isConfigPathTruthy, i as loadWorkspaceSkillEntries, m as resolveSkillConfig, p as resolveBundledAllowlist, s as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, x as hasBinary } from "./skills-DV4zKdCx.js";
|
|
5
5
|
import { t as evaluateRequirementsFromMetadata } from "./requirements-DIW1svgA.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as createSubsystemLogger } from "./exec-
|
|
2
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { l as createSubsystemLogger } from "./exec-tTxVr8zb.js";
|
|
2
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-Ba-yiqjy.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
2
|
+
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BXQQzXGQ.js";
|
|
3
3
|
import { n as redactSensitiveText } from "./redact-BHmk44DI.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./paths-
|
|
1
|
+
import "./paths-BMuHNFxg.js";
|
|
2
2
|
import { c as formatNotification, i as colors, l as formatSuccess, n as banner, o as formatError, t as PROMPT } from "./display-BDOsXu8F.js";
|
|
3
3
|
import { n as loadIdentity } from "./loader-l2OBdJ8x.js";
|
|
4
4
|
import { t as HeartbeatEngine } from "./engine-B9avUJL5.js";
|
|
@@ -7,12 +7,11 @@ import { t as BudgetTracker } from "./budget-BWBp8Res.js";
|
|
|
7
7
|
import "./registry-Bs_DJK9E.js";
|
|
8
8
|
import { n as syncConfig } from "./config-sync-CoIIbEOe.js";
|
|
9
9
|
import { t as RequestQueue } from "./queue-D_u34pbL.js";
|
|
10
|
-
import { n as findCommand, r as loadSVRNConfig } from "./commands-
|
|
10
|
+
import { a as isSVRNAvailable, i as SVRNNode, n as findCommand, r as loadSVRNConfig } from "./commands-D5PGoVW4.js";
|
|
11
11
|
import { r as loadAutoUpdateConfig, t as AnimaAutoUpdater } from "./auto-update-CUeF99gI.js";
|
|
12
12
|
import { homedir } from "node:os";
|
|
13
13
|
import { join } from "node:path";
|
|
14
14
|
import { createInterface } from "node:readline";
|
|
15
|
-
import { SVRNNode } from "@noxsoft/svrn-node";
|
|
16
15
|
|
|
17
16
|
//#region src/repl/interface.ts
|
|
18
17
|
/**
|
|
@@ -195,85 +194,6 @@ var AnimaRepl = class {
|
|
|
195
194
|
}
|
|
196
195
|
};
|
|
197
196
|
|
|
198
|
-
//#endregion
|
|
199
|
-
//#region src/svrn/node.ts
|
|
200
|
-
/**
|
|
201
|
-
* ANIMA SVRNNode adapter.
|
|
202
|
-
*
|
|
203
|
-
* Wraps the @noxsoft/svrn-node package's SVRNNode class with the API
|
|
204
|
-
* surface that ANIMA's repl commands and lifecycle hooks expect.
|
|
205
|
-
*/
|
|
206
|
-
/** Adapter providing the API shape ANIMA's repl expects. */
|
|
207
|
-
var SVRNNode$1 = class {
|
|
208
|
-
constructor(config) {
|
|
209
|
-
this.config = config;
|
|
210
|
-
this.inner = new SVRNNode(config);
|
|
211
|
-
}
|
|
212
|
-
async start() {
|
|
213
|
-
await this.inner.start();
|
|
214
|
-
}
|
|
215
|
-
async stop() {
|
|
216
|
-
await this.inner.stop();
|
|
217
|
-
}
|
|
218
|
-
getNodeId() {
|
|
219
|
-
return this.inner.getNodeId();
|
|
220
|
-
}
|
|
221
|
-
isEnabled() {
|
|
222
|
-
return this.config.enabled;
|
|
223
|
-
}
|
|
224
|
-
/** Stats shape expected by ANIMA repl commands. */
|
|
225
|
-
getStats() {
|
|
226
|
-
const status = this.inner.getStatus();
|
|
227
|
-
const earnings = this.inner.getEarnings();
|
|
228
|
-
const wallet = this.inner.getWallet();
|
|
229
|
-
return {
|
|
230
|
-
nodeId: status.nodeId,
|
|
231
|
-
running: status.state === "running",
|
|
232
|
-
paused: false,
|
|
233
|
-
uptimeMs: status.uptime * 1e3,
|
|
234
|
-
tasksCompleted: earnings.tasksThisSession,
|
|
235
|
-
tasksFailed: 0,
|
|
236
|
-
balance: wallet.balance,
|
|
237
|
-
sessionEarnings: earnings.session
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
/** Earnings adapter with method-based API for repl commands. */
|
|
241
|
-
getEarnings() {
|
|
242
|
-
const summary = this.inner.getEarnings();
|
|
243
|
-
const wallet = this.inner.getWallet();
|
|
244
|
-
return {
|
|
245
|
-
getTodayEarnings: () => summary.tasksToday > 0 ? {
|
|
246
|
-
total: summary.today,
|
|
247
|
-
taskCount: summary.tasksToday
|
|
248
|
-
} : null,
|
|
249
|
-
getBalanceValueUSD: () => wallet.balance * .001,
|
|
250
|
-
getAllTimeEarned: () => summary.allTime,
|
|
251
|
-
getBalance: () => wallet.balance
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
/** Monitor adapter with method-based API for repl commands. */
|
|
255
|
-
getMonitor() {
|
|
256
|
-
const resources = this.inner.getResources();
|
|
257
|
-
return {
|
|
258
|
-
getLatest: () => ({
|
|
259
|
-
cpuPercent: resources.cpuPercent,
|
|
260
|
-
ramUsedMB: resources.ramMB
|
|
261
|
-
}),
|
|
262
|
-
getLimits: () => ({
|
|
263
|
-
maxCpuPercent: this.config.resources.maxCpuPercent,
|
|
264
|
-
maxRamMB: this.config.resources.maxRamMB,
|
|
265
|
-
maxBandwidthMbps: this.config.resources.maxBandwidthMbps
|
|
266
|
-
})
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
/** Update resource limits at runtime. */
|
|
270
|
-
updateLimits(limits) {
|
|
271
|
-
if (limits.maxCpuPercent !== void 0) this.config.resources.maxCpuPercent = limits.maxCpuPercent;
|
|
272
|
-
if (limits.maxRamMB !== void 0) this.config.resources.maxRamMB = limits.maxRamMB;
|
|
273
|
-
if (limits.maxBandwidthMbps !== void 0) this.config.resources.maxBandwidthMbps = limits.maxBandwidthMbps;
|
|
274
|
-
}
|
|
275
|
-
};
|
|
276
|
-
|
|
277
197
|
//#endregion
|
|
278
198
|
//#region src/cli/start.ts
|
|
279
199
|
/**
|
|
@@ -318,16 +238,21 @@ async function startDaemon(options = {}) {
|
|
|
318
238
|
process.stderr.write(`${colors.error} Heartbeat start error: ${msg}${colors.reset}\n`);
|
|
319
239
|
});
|
|
320
240
|
const svrnConfig = await loadSVRNConfig();
|
|
321
|
-
|
|
322
|
-
if (
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
241
|
+
let svrnNode;
|
|
242
|
+
if (!await isSVRNAvailable()) process.stdout.write(`${colors.muted} SVRN Node: @noxsoft/svrn-node not installed (skipping)${colors.reset}\n`);
|
|
243
|
+
else {
|
|
244
|
+
svrnNode = new SVRNNode(svrnConfig);
|
|
245
|
+
await svrnNode.init();
|
|
246
|
+
if (svrnConfig.enabled) try {
|
|
247
|
+
await svrnNode.start();
|
|
248
|
+
const balance = svrnNode.getEarnings().getBalance();
|
|
249
|
+
process.stdout.write(`${colors.success} SVRN Node: Active${colors.reset} ${colors.muted}|${colors.reset} ${colors.accent}Balance: ${balance.toFixed(3)} UCU${colors.reset} ${colors.muted}|${colors.reset} ${colors.muted}Node: ${svrnNode.getNodeId().slice(0, 8)}...${colors.reset}\n`);
|
|
250
|
+
} catch (err) {
|
|
251
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
252
|
+
process.stderr.write(`${colors.warning} SVRN node warning: ${msg}${colors.reset}\n`);
|
|
253
|
+
}
|
|
254
|
+
else process.stdout.write(`${colors.muted} SVRN Node: Disabled (run \`anima svrn enable\` to earn UCU)${colors.reset}\n`);
|
|
329
255
|
}
|
|
330
|
-
else process.stdout.write(`${colors.muted} SVRN Node: Disabled (run \`anima svrn enable\` to earn UCU)${colors.reset}\n`);
|
|
331
256
|
const autoUpdateConfig = loadAutoUpdateConfig();
|
|
332
257
|
const updater = new AnimaAutoUpdater(autoUpdateConfig, join(homedir(), ".anima"));
|
|
333
258
|
if (autoUpdateConfig.enabled) {
|
|
@@ -356,7 +281,7 @@ async function startDaemon(options = {}) {
|
|
|
356
281
|
process.stdout.write(`\n${colors.muted} Shutting down...${colors.reset}\n`);
|
|
357
282
|
heartbeat.stop();
|
|
358
283
|
updater.stop();
|
|
359
|
-
await svrnNode.stop();
|
|
284
|
+
if (svrnNode) await svrnNode.stop();
|
|
360
285
|
await queue.save();
|
|
361
286
|
await budget.persist();
|
|
362
287
|
process.stdout.write(`${colors.accent} Amor Fati.${colors.reset}\n`);
|