@noxsoft/anima 2.0.5 → 2.0.7
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-Bth3PpPD.js → accounts-CmTAH6vC.js} +4 -4
- package/dist/{accounts-CP1IAWeM.js → accounts-gb7RRjHj.js} +1 -1
- package/dist/{acp-cli-BUGHeckb.js → acp-cli-BC5UY-Z1.js} +15 -15
- package/dist/{acp-cli-0JY_DUDb.js → acp-cli-sXFsOM-8.js} +3 -3
- package/dist/{agent-eLix7YLB.js → agent-CuIBc6Dv.js} +14 -14
- package/dist/{agent-DwTJ59DW.js → agent-DvuHCWqD.js} +8 -8
- package/dist/{agent-events-COLRhRBH.js → agent-events-Cz7RCuji.js} +2 -2
- package/dist/{agent-scope-CcE0DhlL.js → agent-scope-19rmci6N.js} +3 -3
- package/dist/{agent-scope-CPphqq-U.js → agent-scope-CAFK3-OQ.js} +3 -3
- package/dist/{agents-D57WX9dn.js → agents-CxdDDiXC.js} +6 -6
- package/dist/{agents.config-DWZdxlQw.js → agents.config-CM899G3J.js} +1 -1
- package/dist/{audit-CmL_VKW9.js → audit-CUvL1KG9.js} +7 -7
- package/dist/{audit-BvPmfYxY.js → audit-CnU0UFOS.js} +16 -16
- package/dist/{auth-BNZsOHGF.js → auth-CahY_AkV.js} +2 -2
- package/dist/{auth-choice-DbU0S_0Q.js → auth-choice-B3LHgXvO.js} +21 -322
- package/dist/{auth-choice-8JX4OqDS.js → auth-choice-DGxPH-1k.js} +19 -320
- package/dist/{auth-health-CeDOBbt0.js → auth-health-BKjLtUh4.js} +1 -1
- package/dist/{auth-health-CP4Id2rW.js → auth-health-DtGA3VX3.js} +1 -1
- package/dist/{auth-profiles-CC3TFfvS.js → auth-profiles-Duc5USNQ.js} +1 -1
- package/dist/{auth-profiles-BVZBTuls.js → auth-profiles-j1CJuRjD.js} +5 -5
- package/dist/{banner-DDcACdvK.js → banner-CDxxtqRl.js} +1 -1
- package/dist/{browser-cli-CYOmCXxE.js → browser-cli-DqurTW5a.js} +7 -7
- package/dist/{browser-cli-BZ38kv8Y.js → browser-cli-mnxY1yk9.js} +22 -22
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +15 -15
- package/dist/bundled/bootstrap-extra-files/handler.js +3 -3
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-BYDpTVCZ.js → call-0oi2o-6Q.js} +5 -5
- package/dist/{call-CTMQygkz.js → call-BCq1DIZp.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-CqKiUgu6.js → catalog-x0TTN_0P.js} +2 -2
- package/dist/{channel-options-CO21Gl8p.js → channel-options-CKw4jZ6O.js} +5 -5
- package/dist/{channel-options-M44Z9-3q.js → channel-options-DubVlvne.js} +1 -1
- package/dist/{channel-selection-CqcX7Ocw.js → channel-selection-CgscX78L.js} +2 -2
- package/dist/{channel-web-Q-STsf5N.js → channel-web-DfOWhkg9.js} +18 -18
- package/dist/{channels-cli-SPO9rJnF.js → channels-cli-8-u1Zzva.js} +62 -62
- package/dist/{channels-cli-zIOBobe6.js → channels-cli-CPfLY7vk.js} +30 -30
- package/dist/{channels-status-issues-DwHRoeWL.js → channels-status-issues-_b7LHAnf.js} +1 -1
- package/dist/{chrome-U3DRzjJD.js → chrome-Biyz55XJ.js} +3 -3
- package/dist/{chrome-DlcCwfo_.js → chrome-LK5Lr0_d.js} +1 -1
- package/dist/{chrome-mUDT-mA5.js → chrome-oD5Weqwc.js} +1 -1
- package/dist/{clack-prompter-Ct2BYIXW.js → clack-prompter-BIlt7fNe.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-CPmsIdPE.js +101 -0
- package/dist/{cli-XuLBXSur.js → cli-DriMK1fT.js} +25 -25
- package/dist/{cli-session-C70q07GT.js → cli-session-CguGsiXn.js} +6 -6
- package/dist/{cli-session-CqlE2JFo.js → cli-session-iZbfAWmn.js} +17 -17
- package/dist/{client-LRKFjo4A.js → client-CyjQbtPN.js} +3 -3
- package/dist/{clipboard-SCV-0V39.js → clipboard-BBhwZBno.js} +1 -1
- package/dist/{command-format-CVL4K5cj.js → command-format-CIdpJrVY.js} +1 -1
- package/dist/{command-format-DAaqLG8J.js → command-format-DAvTwbVn.js} +1 -1
- package/dist/{command-format-CP1YTNCl.js → command-format-DVLcm0eS.js} +1 -1
- package/dist/{command-registry-CSbw6FZC.js → command-registry-DJezCovh.js} +11 -11
- package/dist/{commands-D5PGoVW4.js → commands-DgAj5HuL.js} +1 -1
- package/dist/{commands-registry-sLFieXCB.js → commands-registry-C3tfxtp5.js} +1 -1
- package/dist/{commands-registry-q13H7ng5.js → commands-registry-eLGJ6btR.js} +2 -2
- package/dist/{common-CX5458fH.js → common-CwUWqIg4.js} +2 -2
- package/dist/{completion-cli-_SwCoFq6.js → completion-cli-BWQ_7enL.js} +2 -2
- package/dist/{completion-cli-BFdiNmVD.js → completion-cli-D68Pq9hN.js} +4 -4
- package/dist/{config-BeuAT94o.js → config-BTrnoeUT.js} +1 -1
- package/dist/{config-DaqbUdkI.js → config-CJqjQoA8.js} +6 -6
- package/dist/{config-C96685Kz.js → config-JaEt6Cr8.js} +6 -6
- package/dist/{config-cli-NqEQjCzV.js → config-cli-DWhRgzat.js} +12 -12
- package/dist/{config-cli-DhdAhW1h.js → config-cli-KPBpolbt.js} +4 -4
- package/dist/{config-guard-B1rmR88x.js → config-guard-D61Jxh4Q.js} +3 -3
- package/dist/{config-guard-BCUt7Re8.js → config-guard-l4p4H5h9.js} +21 -21
- package/dist/{configure-B2vlJbd2.js → configure-C79CPvKQ.js} +22 -22
- package/dist/{configure-FENKo5hf.js → configure-R9QRVWLW.js} +9 -9
- package/dist/{context-ChaAWbwZ.js → context-DZCXqjby.js} +2 -2
- package/dist/{control-service-DXYImShH.js → control-service-BlUVduEF.js} +4 -4
- package/dist/{control-service-X_1FRl7x.js → control-service-C0g6QMkP.js} +5 -5
- package/dist/{cron-cli-B6jMeNqC.js → cron-cli-C9BCVet1.js} +17 -17
- package/dist/{cron-cli-ByPSA5ZE.js → cron-cli-D2bLCu_L.js} +5 -5
- package/dist/{daemon-cli-CKOoYhs-.js → daemon-cli-CkxxKtei.js} +9 -9
- package/dist/{daemon-cli-Bf0Q00vC.js → daemon-cli-vFT6JX-r.js} +18 -18
- package/dist/daemon-cli.js +19 -14
- package/dist/{daemon-runtime-C9KTe-Gn.js → daemon-runtime-9gVO-5HW.js} +3 -3
- package/dist/{daemon-runtime-cglglYsH.js → daemon-runtime-C0hF11tz.js} +2 -2
- package/dist/{deliver-BBggsviM.js → deliver-1TIjSoLF.js} +7 -7
- package/dist/{deliver-DujkDzqg.js → deliver-CBcawSVD.js} +6 -6
- package/dist/{deliver-DiIOZFml.js → deliver-CV2fff0Z.js} +2 -2
- package/dist/{delivery-queue-BJQK3oh5.js → delivery-queue-C5ItT0y1.js} +1 -1
- package/dist/{deps-Bim542L5.js → deps-CzZ0SjC-.js} +1 -1
- package/dist/{devices-cli-qvEFBnyH.js → devices-cli-DjyNwYve.js} +3 -3
- package/dist/{devices-cli-BbUrME_U.js → devices-cli-q2Zmg6Ka.js} +14 -14
- package/dist/{diagnostics-BCxobJaf.js → diagnostics-y_nka8RG.js} +1 -1
- package/dist/{directory-cli-VreWAdNS.js → directory-cli-Blx4MRw0.js} +15 -15
- package/dist/{directory-cli-BjnpktnO.js → directory-cli-DGSrzYv9.js} +3 -3
- package/dist/{dispatcher-DbDPyVIX.js → dispatcher-CvIRP2N0.js} +2 -2
- package/dist/{dispatcher-CoqsaA3f.js → dispatcher-LuAx_TUN.js} +1 -1
- package/dist/{dns-cli-CRKIrBD6.js → dns-cli-8ZyjydwK.js} +2 -2
- package/dist/{dns-cli-B-lWrEam.js → dns-cli-BqXo9OHI.js} +12 -12
- package/dist/{dock-Dmxj3en_.js → dock-CoGVtP1y.js} +1 -1
- package/dist/{dock-jYICmNcI.js → dock-GhlR2cNB.js} +3 -3
- package/dist/{docs-cli-Bn-mDvE1.js → docs-cli-C5TZCzV1.js} +1 -1
- package/dist/{docs-cli-B02Wm6DH.js → docs-cli-yzvilZZs.js} +8 -8
- package/dist/{doctor-completion-aDHxGApN.js → doctor-completion-B9GvB2p5.js} +3 -3
- package/dist/{doctor-completion-CBANZ9T9.js → doctor-completion-CFJG9_md.js} +2 -2
- package/dist/{doctor-config-flow-Dxjx2igu.js → doctor-config-flow-Cc0a2tAq.js} +4 -4
- package/dist/{doctor-config-flow-Bb8TQwYh.js → doctor-config-flow-PvrxWElO.js} +8 -8
- package/dist/{doctor-CeIWEOAK.js → doctor-lSnEAKLw.js} +20 -20
- package/dist/{doctor-DdOw46pE.js → doctor-qetfuqik.js} +39 -39
- package/dist/entry.js +31 -21
- package/dist/{env-v6411I8h.js → env-xVkcwvOb.js} +1 -1
- package/dist/{exec-mhSykkaa.js → exec-BUUHqPfc.js} +1 -1
- package/dist/{exec-tTxVr8zb.js → exec-Dlm56jRi.js} +1 -1
- package/dist/{exec-approvals-cli-5-h9moQI.js → exec-approvals-cli-DbGl7WWT.js} +20 -20
- package/dist/{exec-approvals-cli-Cne9mMrK.js → exec-approvals-cli-_XhglNtz.js} +6 -6
- package/dist/extensionAPI.js +12 -12
- package/dist/{gateway-cli-DboOVUi8.js → gateway-cli-4F4fyNVX.js} +63 -63
- package/dist/{gateway-cli-BZpKEMGi.js → gateway-cli-BTnFrVcR.js} +109 -109
- package/dist/{gateway-rpc-QOe014D_.js → gateway-rpc-AwR5J2MJ.js} +3 -3
- package/dist/{gateway-rpc-C3eniXwh.js → gateway-rpc-DJtTRK5K.js} +1 -1
- package/dist/{github-copilot-auth-C2cJr55I.js → github-copilot-auth-BXvjjCiz.js} +2 -2
- package/dist/{github-copilot-auth-AdaPw_fF.js → github-copilot-auth-DulrJgEO.js} +3 -3
- package/dist/{gmail-setup-utils-Bn8x7djJ.js → gmail-setup-utils-tawy2NU6.js} +4 -4
- package/dist/{health-CdHDOLo6.js → health-9O8CNnpd.js} +16 -16
- package/dist/{health-WvhhwAnn.js → health-BgLOo0ri.js} +8 -8
- package/dist/{health-format-DteBvzWP.js → health-format-C03UUd4E.js} +2 -2
- package/dist/{heartbeat-visibility-ClqnPSqo.js → heartbeat-visibility-CTy9sXG6.js} +1 -1
- package/dist/{heartbeat-visibility-B4oqf1qY.js → heartbeat-visibility-DXiKUvIT.js} +1 -1
- package/dist/{help-format-C4eJQd8a.js → help-format-DY4KQ-oF.js} +1 -1
- package/dist/{hooks-cli-DTMS4Ly9.js → hooks-cli-BIAEGSMc.js} +27 -27
- package/dist/{hooks-cli-DfR8cmrL.js → hooks-cli-CJsWEKhv.js} +55 -55
- package/dist/{hooks-status-LVJDILL8.js → hooks-status-D8QNhO1-.js} +3 -3
- package/dist/{image-ops-B_AYV3tp.js → image-ops-CJhnMC9z.js} +1 -1
- package/dist/index.js +66 -66
- package/dist/{installs-DCTtAJP8.js → installs-VAOcz7bM.js} +4 -4
- package/dist/{ipv4-loTbB6OD.js → ipv4-9hRK6DK8.js} +7 -7
- package/dist/{ipv4-CoPxliya.js → ipv4-B4YmYA-I.js} +13 -13
- package/dist/{lanes-BvSnHq2h.js → lanes-DhUm5tv-.js} +2 -2
- package/dist/{lifecycle-core-Cu_h9gos.js → lifecycle-core-B5f7bVql.js} +11 -6
- package/dist/{lifecycle-core-BZo7U2jW.js → lifecycle-core-DPinD7NS.js} +7 -2
- package/dist/{links-D2tt2ouh.js → links-CW3Qn1TB.js} +1 -1
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{logging-BuRtGUH1.js → logging-D-ImNX0G.js} +2 -2
- package/dist/{login-Fhh4uWmf.js → login-BIUb3Mav.js} +6 -6
- package/dist/{login-D4n2DJtf.js → login-CKAhpwDJ.js} +4 -4
- package/dist/{login-CnNpZKOD.js → login-NNnA68uP.js} +4 -4
- package/dist/{login-qr-CaB_Oi7G.js → login-qr-CFM7GNIB.js} +4 -4
- package/dist/{login-qr-Cc2QmLhD.js → login-qr-Cyvm72p8.js} +11 -11
- package/dist/{login-qr-D3xv0VnI.js → login-qr-D3Ej5fqP.js} +7 -7
- package/dist/{logs-cli-CFX-tr6f.js → logs-cli-Cj8GIDry.js} +5 -5
- package/dist/{logs-cli-NXQfed5q.js → logs-cli-GWsYtW04.js} +16 -16
- package/dist/{manager-BDPgBQSH.js → manager-C92z_-r7.js} +8 -8
- package/dist/{manager-D_engjHC.js → manager-DQOz5jqk.js} +6 -6
- package/dist/{manager-iFc0bAWS.js → manager-xfVCqZZ_.js} +1 -1
- package/dist/{manifest-registry-kHX_MFa1.js → manifest-registry-6S1iCIJs.js} +1 -1
- package/dist/{markdown-tables-Bhes7rr4.js → markdown-tables-_AdeZeeB.js} +2 -2
- package/dist/{markdown-tables-DJV7eAJZ.js → markdown-tables-b4PTmpVd.js} +2 -2
- package/dist/{media-Bu2L8c_7.js → media-VkOdfl_3.js} +1 -1
- package/dist/{memory-cli-CvrdGRvA.js → memory-cli-DyQSX11d.js} +3 -3
- package/dist/{memory-cli-D6v61Mts.js → memory-cli-gGL85mZx.js} +12 -12
- package/dist/{message-channel-D_jIO87f.js → message-channel-CwG1qckU.js} +1 -1
- package/dist/{model-selection-Cqt6aJ0G.js → model-selection-rQ37uYqK.js} +6 -6
- package/dist/{models-D11W7O93.js → models-DM7OKj1o.js} +10 -10
- package/dist/{models-cli-BfBH9dWH.js → models-cli-B1jW_Ny6.js} +32 -32
- package/dist/{models-cli-ClFZ55qZ.js → models-cli-DWMoHsEO.js} +62 -62
- package/dist/{node-cli-kxhgdSNi.js → node-cli-B0zQkwYV.js} +12 -12
- package/dist/{node-cli-Cgn2mwSW.js → node-cli-Cx0giwW_.js} +30 -30
- package/dist/{node-service-BL8qVG1X.js → node-service-B27AI1UJ.js} +1 -1
- package/dist/{nodes-cli-De6Ta7GH.js → nodes-cli-B2MvIgLN.js} +17 -17
- package/dist/{nodes-cli-deMLu7ch.js → nodes-cli-DwPoZIaN.js} +5 -5
- package/dist/{nodes-screen-BST4qOFR.js → nodes-screen-Dx8tBoH3.js} +1 -1
- package/dist/{nodes-screen-qs3jRBPk.js → nodes-screen-pYmTzdgZ.js} +1 -1
- package/dist/{note-BtE8fGoO.js → note-_r1JGZUi.js} +2 -2
- package/dist/{npm-registry-spec-DvJxezSJ.js → npm-registry-spec-C_iL_H6-.js} +1 -1
- package/dist/{onboard-DPEqxVx4.js → onboard-CdhcQdAw.js} +19 -19
- package/dist/{onboard-BGv6xY1s.js → onboard-Czh8AxE5.js} +10 -10
- package/dist/{onboard-channels-BsTwWmEt.js → onboard-channels-BZmKZOw7.js} +3 -3
- package/dist/{onboard-channels-DEfpenNa.js → onboard-channels-jyGfyJ3I.js} +9 -9
- package/dist/{onboard-helpers-CwcaOee8.js → onboard-helpers-DP7_Nx2H.js} +2 -2
- package/dist/{onboard-helpers-Cz42ASwv.js → onboard-helpers-DpXwOTM4.js} +9 -9
- package/dist/{onboarding-BxYOAHWD.js → onboarding-BqGGXgv8.js} +24 -24
- package/dist/{onboarding-DvitiaRS.js → onboarding-CQDElLwK.js} +12 -12
- package/dist/{outbound-L1IT5jN_.js → outbound-BVLLlIru.js} +2 -2
- package/dist/{outbound-Csw4yAYo.js → outbound-BgMYWfbr.js} +6 -6
- package/dist/{outbound-bs_VK51X.js → outbound-COjjxrWj.js} +5 -5
- package/dist/{outbound-send-deps-CmzQCbSX.js → outbound-send-deps-Cu7_tR1D.js} +1 -1
- package/dist/{pairing-cli-CSRakAu-.js → pairing-cli-CwpwOYJ7.js} +5 -5
- package/dist/{pairing-cli-BmPkji_u.js → pairing-cli-DZ9dRRmM.js} +15 -15
- package/dist/{pairing-store-BsXzUDPv.js → pairing-store-BFJgplCL.js} +4 -4
- package/dist/{pairing-store-uUh4DCdc.js → pairing-store-BnSNq5os.js} +1 -1
- package/dist/{path-env-DSSMHu5A.js → path-env-CP5b9_US.js} +1 -1
- package/dist/{paths-Ba-yiqjy.js → paths-BHHJCqTc.js} +2 -2
- package/dist/{paths-C1R4gjRm.js → paths-D1cGHEWK.js} +13 -13
- package/dist/{paths-BXQQzXGQ.js → paths-DaV0x55c.js} +1 -1
- package/dist/{paths-Buw_geoe.js → paths-RKhcq87X.js} +1 -1
- package/dist/{paths-BMuHNFxg.js → paths-bz09i2r4.js} +15 -15
- package/dist/{pi-auth-json-I3iYPRAb.js → pi-auth-json-9FmtkKP0.js} +5 -5
- package/dist/{pi-auth-json-C2miwJYp.js → pi-auth-json-BcqiHLio.js} +1 -1
- package/dist/{pi-auth-json-B1M8W1pO.js → pi-auth-json-Biy_GyuS.js} +7 -7
- package/dist/{pi-model-discovery-eIc-PHaM.js → pi-model-discovery-DOYW93Z_.js} +1 -1
- package/dist/{pi-tools.policy-DhmYCpdW.js → pi-tools.policy-B0vbnO8Z.js} +2 -2
- package/dist/{pi-tools.policy-Csmla32P.js → pi-tools.policy-zVdwEhPY.js} +4 -4
- package/dist/{plugin-auto-enable-d9eDmGOX.js → plugin-auto-enable-BSkVJRpq.js} +5 -5
- package/dist/{plugin-auto-enable-DVD5Kls3.js → plugin-auto-enable-D5sOSYle.js} +2 -2
- package/dist/{plugin-registry-NbbyJq_D.js → plugin-registry-XDTiX4G8.js} +1 -1
- package/dist/{plugin-registry-DW81arxW.js → plugin-registry-c6_8REiG.js} +3 -3
- package/dist/plugin-sdk/config/paths.d.ts +5 -5
- package/dist/plugin-sdk/config/types.anima.d.ts +114 -1
- package/dist/plugin-sdk/index.js +15 -15
- package/dist/{plugins-DdzdfeTc.js → plugins-C0Ns0AI4.js} +1 -1
- package/dist/{plugins-cli-D0jU5_VE.js → plugins-cli-BT1U_g_B.js} +26 -26
- package/dist/{plugins-cli-Cs_jfROZ.js → plugins-cli-CGU1sQli.js} +55 -55
- package/dist/{plugins-DhcGAPDB.js → plugins-xTk0rYX5.js} +1 -1
- package/dist/{polls-D6eCdatA.js → polls-CI7afq3z.js} +6 -6
- package/dist/{ports-DHiKnPRX.js → ports-BE7Mh7ID.js} +3 -3
- package/dist/{ports-B3Vuo92o.js → ports-BJcDDRTO.js} +1 -1
- package/dist/{ports-C8bKN8s0.js → ports-BmouV2bO.js} +2 -2
- package/dist/{ports-Co1kd5qX.js → ports-DCPzF_E4.js} +1 -1
- package/dist/{program-Db2-b8Np.js → program-CVcYV50Z.js} +34 -34
- package/dist/{program-context-DR1cx29i.js → program-context-LECg2uLb.js} +42 -42
- package/dist/{progress-oiAjiiNi.js → progress-DywJvK4g.js} +1 -1
- package/dist/{prompt-style-D6u56SjJ.js → prompt-style-CsXDJfbR.js} +1 -1
- package/dist/{pw-ai-DM3CIGyg.js → pw-ai-94hAtdC6.js} +3 -3
- package/dist/{pw-ai-MrkdzeIJ.js → pw-ai-BgppC07L.js} +4 -4
- package/dist/{pw-ai-CbEgFH-G.js → pw-ai-CSw-jIRR.js} +7 -7
- package/dist/{qmd-manager-DPslO6i9.js → qmd-manager-B4MDTnKC.js} +7 -7
- package/dist/{qmd-manager-Dgo23O3Q.js → qmd-manager-Bb1ZcqTH.js} +6 -6
- package/dist/{register.agent-E1qzojq2.js → register.agent-DajH35qM.js} +34 -34
- package/dist/{register.agent-B4CGE-cp.js → register.agent-ZK18IG5S.js} +67 -67
- package/dist/{register.anima-C2coCJM_.js → register.anima-BEDhqVyg.js} +2 -2
- package/dist/{register.configure-D5huhRa3.js → register.configure-CGL-Gsxd.js} +35 -35
- package/dist/register.configure-DazyImED.js +103 -0
- package/dist/{register.maintenance-DC9IhZ2x.js → register.maintenance-CPC3pjVZ.js} +76 -76
- package/dist/{register.maintenance-RuiaMHu7.js → register.maintenance-P6PAOrdY.js} +40 -40
- package/dist/{register.message-BRP5Y8SN.js → register.message-CPnTdVW4.js} +27 -27
- package/dist/{register.message-CL5mFcq-.js → register.message-DxWbRN2T.js} +54 -54
- package/dist/{register.onboard-DFjl0E_x.js → register.onboard-CnaOXqzt.js} +79 -79
- package/dist/{register.onboard-CdvtyeLg.js → register.onboard-H58DffX5.js} +41 -41
- package/dist/{register.setup-CuNhw63j.js → register.setup-CJndNOOs.js} +63 -41
- package/dist/register.setup-DBhFuVZK.js +197 -0
- package/dist/{register.status-health-sessions-l7qnXORD.js → register.status-health-sessions-DnfRlF6Y.js} +32 -32
- package/dist/{register.status-health-sessions-BdyiNJFD.js → register.status-health-sessions-rJImduj7.js} +65 -65
- package/dist/{register.subclis-Bj3GU0St.js → register.subclis-CF3H5HUB.js} +30 -30
- package/dist/{reply-C9A7Npep.js → reply-Dth3ApJr.js} +50 -50
- package/dist/{reply-prefix-XqRfG1QY.js → reply-prefix-BH8rdngr.js} +2 -2
- package/dist/{reply-prefix-m-Nj9VGi.js → reply-prefix-kysStOWi.js} +2 -2
- package/dist/{reply-Brlv-JC-.js → reply-z4aWqqxB.js} +32 -32
- package/dist/{routes-C5ylAnNV.js → routes-Ce9kvPam.js} +3 -3
- package/dist/{routes-CooYoUCb.js → routes-RBC_3bq5.js} +7 -7
- package/dist/{rpc-BoNfgecI.js → rpc-2vVwhfcD.js} +1 -1
- package/dist/{rpc-aBUUQWC3.js → rpc-B4KNVhqH.js} +3 -3
- package/dist/{run-main-DKNJvJ7W.js → run-main-CSV5mhRg.js} +44 -44
- package/dist/{runtime-guard-CKFdts2L.js → runtime-guard-CVz0WxAA.js} +1 -1
- package/dist/{sandbox-D8pgNhTE.js → sandbox-BbYdqrqj.js} +2 -2
- package/dist/{sandbox-DBSiVHt_.js → sandbox-CMwglj0M.js} +7 -7
- package/dist/{sandbox-cli-BlWdpX1h.js → sandbox-cli--iIrgDrP.js} +28 -28
- package/dist/{sandbox-cli-BeOQ8G6W.js → sandbox-cli-CcUEWvYk.js} +11 -11
- package/dist/{security-cli-CcYc8gKu.js → security-cli-Bzh2Y6rC.js} +15 -15
- package/dist/{security-cli-CRSXFNRa.js → security-cli-CAh4855B.js} +32 -32
- package/dist/{server-context-Du3Gdqy1.js → server-context-BE2G60HV.js} +8 -8
- package/dist/{server-context-Cu88BsgT.js → server-context-BcYxU3h8.js} +5 -5
- package/dist/{server-node-events-DCY3mm-A.js → server-node-events-BFIumR6g.js} +25 -25
- package/dist/{server-node-events-0Una3QLI.js → server-node-events-DwmJj3A5.js} +10 -10
- package/dist/{service-CpG4hCVW.js → service-PAjEhBHO.js} +1 -1
- package/dist/{service-audit-DP4USmzf.js → service-audit-BkDkj1v1.js} +1 -1
- package/dist/{service-audit-B3atdWsy.js → service-audit-CwtYmdp2.js} +3 -3
- package/dist/{session-xQxk_AyT.js → session-2RXoHszA.js} +3 -3
- package/dist/{session-DTTbdKb0.js → session-CoHGRu9z.js} +5 -5
- package/dist/{session-B6T_f3RF.js → session-D9g-jh_r.js} +3 -3
- package/dist/{session-cost-usage-FcdJl9c3.js → session-cost-usage-seXlWQUT.js} +1 -1
- package/dist/{sessions-B-Cu7JZq.js → sessions-BArh4ohZ.js} +8 -8
- package/dist/{sessions-B9VnNnIk.js → sessions-CiJ1eNyx.js} +3 -3
- package/dist/{sessions-G7nfpjc6.js → sessions-DhPZbBV4.js} +6 -6
- package/dist/{sessions-BQUf6xj_.js → sessions-DqVrqfQ9.js} +4 -4
- package/dist/{shared-CkGP1Gie.js → shared-BN9uxK4c.js} +3 -3
- package/dist/{shared-DwguvoZP.js → shared-CZlJFKlS.js} +4 -4
- package/dist/{shared-uOwPcrN5.js → shared-DaRXXL29.js} +3 -3
- package/dist/{shared-BcqU-KU2.js → shared-c5pL32-X.js} +1 -1
- package/dist/{skills-DV4zKdCx.js → skills-CKL89V2y.js} +3 -3
- package/dist/{skills-cli-CBFbV14l.js → skills-cli-Dc0LpUia.js} +16 -16
- package/dist/{skills-cli-gGWq4bgb.js → skills-cli-MzIPSBL3.js} +3 -3
- package/dist/{skills-status-DaLLXtp7.js → skills-status-Dciomngy.js} +3 -3
- package/dist/{sqlite-BiXgPbCK.js → sqlite-CimtpMT2.js} +2 -2
- package/dist/{sqlite-dzD-jMjs.js → sqlite-DeD1kb1o.js} +2 -2
- package/dist/{start-DaXwIgOn.js → start-DJVulltW.js} +2 -2
- package/dist/{status-XzLCn872.js → status-750fJXd2.js} +28 -28
- package/dist/{status-C7YN9z1q.js → status-CfLi06YR.js} +4 -4
- package/dist/{status-DbxQqh2e.js → status-Dm-yhVrY.js} +15 -15
- package/dist/{status-iUSfyst3.js → status-jga7yM9m.js} +2 -2
- package/dist/{status.update-ZVrSK04Z.js → status.update-C-AO6o6i.js} +3 -3
- package/dist/{status.update-DEtEANLh.js → status.update-CyTbyQPn.js} +3 -3
- package/dist/{subagent-registry-DKRVOkTv.js → subagent-registry-C6OYPfUE.js} +11 -11
- package/dist/{subagent-registry-BJzLJ6FY.js → subagent-registry-CkAbKMlw.js} +5 -5
- package/dist/{subagent-registry-CdSjz14I.js → subagent-registry-Ly39TDF0.js} +13 -13
- package/dist/{subsystem-DfKstnEK.js → subsystem-QRgATXba.js} +1 -1
- package/dist/{system-cli-VMfIEGoj.js → system-cli-CL0dOIAV.js} +4 -4
- package/dist/{system-cli-CYypNnD9.js → system-cli-qjXpLudh.js} +15 -15
- package/dist/{systemd-BVVNFIBH.js → systemd-CL5ZY4Zc.js} +2 -2
- package/dist/{systemd-hints-J3cHYZVZ.js → systemd-hints-DTqz1JDy.js} +1 -1
- package/dist/{systemd-hints-Mpt5QteE.js → systemd-hints-Rm5nyf65.js} +1 -1
- package/dist/{systemd-linger-B4wBMvpg.js → systemd-linger-Dhc0nv0p.js} +2 -2
- package/dist/{table-B_wVcaLO.js → table-bWMfXlzH.js} +2 -2
- package/dist/{tokens-3psI_Qk2.js → tokens-CzuA7rQI.js} +1 -1
- package/dist/{trash-C39a6hKA.js → trash-BXn6LqGM.js} +1 -1
- package/dist/{tui-BfPtiXD1.js → tui-BZJbmdKL.js} +3 -3
- package/dist/{tui-cli-BcsdagN8.js → tui-cli-BBqijh-p.js} +7 -7
- package/dist/{tui-cli-DN5WL85n.js → tui-cli-CFSDTCal.js} +17 -17
- package/dist/{tui-r0_5VL_h.js → tui-j2ZbfHOz.js} +8 -8
- package/dist/{update-DhOF8e0Q.js → update-BHbHHfoZ.js} +3 -3
- package/dist/{update-check-DlDloai0.js → update-check-1NIEP3ST.js} +3 -3
- package/dist/{update-check-DmODY9MR.js → update-check-N38t7MOS.js} +1 -1
- package/dist/{update-cli-BVeg9il9.js → update-cli-CcPtqYiS.js} +48 -48
- package/dist/{update-cli-DXAbudd9.js → update-cli-VEtq2Rdk.js} +89 -89
- package/dist/{update-runner-B2bjvdxa.js → update-runner-BognabpZ.js} +2 -2
- package/dist/{update-runner-CTCGT1OS.js → update-runner-DmhN1VB8.js} +5 -5
- package/dist/{usage-kVpWUUrn.js → usage-D49Ytozs.js} +12 -12
- package/dist/{utils-DZ8pnOD5.js → utils-C3LCQU_B.js} +2 -2
- package/dist/{web-BGf92cSU.js → web-C5vhYkwk.js} +38 -38
- package/dist/{web-C4FxauVQ.js → web-Ct_R-Qvl.js} +30 -30
- package/dist/web-DNP6kO2J.js +63 -0
- package/dist/{webhooks-cli-bEG0ADkY.js → webhooks-cli-2UXHMLF3.js} +13 -13
- package/dist/{webhooks-cli-l0yqYtZW.js → webhooks-cli-BhFWTl3z.js} +3 -3
- package/dist/{whatsapp-actions-DsoA_Bad.js → whatsapp-actions-B8vz4Mxv.js} +17 -17
- package/dist/{whatsapp-actions-CwSwIOO3.js → whatsapp-actions-DM6cG1_2.js} +5 -5
- package/dist/{whatsapp-actions-CvnLgxjq.js → whatsapp-actions-X3p-M_OM.js} +10 -10
- package/dist/{widearea-dns-1txrPZ0I.js → widearea-dns-CUC90pVf.js} +1 -1
- package/dist/{workspace-BTjqqJY-.js → workspace-DFBUtCFa.js} +2 -2
- package/dist/{ws-log-BffL5dN_.js → ws-log-Cb_DzyBC.js} +1 -1
- package/package.json +1 -1
- package/dist/cli-AYZaZSSx.js +0 -101
- package/dist/plugin-sdk/config/types.openclaw.d.ts +0 -114
- package/dist/register.configure-DqYNhIQj.js +0 -103
- package/dist/register.setup-CVhekh_d.js +0 -175
- package/dist/web-B1OjU-Gf.js +0 -63
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as requireActivePluginRegistry, b as getChatChannelMeta, g as CHAT_CHANNEL_ORDER } from "./subsystem-
|
|
2
|
-
import { h as normalizeE164, l as escapeRegExp } from "./utils-
|
|
1
|
+
import { E as requireActivePluginRegistry, b as getChatChannelMeta, g as CHAT_CHANNEL_ORDER } from "./subsystem-QRgATXba.js";
|
|
2
|
+
import { h as normalizeE164, l as escapeRegExp } from "./utils-C3LCQU_B.js";
|
|
3
3
|
import { c as normalizeAccountId } from "./session-key-DxcgHezu.js";
|
|
4
4
|
import { a as resolveTelegramAccount, l as resolveDiscordAccount, n as normalizeWhatsAppTarget, o as resolveSlackAccount, s as resolveSlackReplyToMode } from "./normalize-Dlcj9D3K.js";
|
|
5
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
5
|
+
import { n as resolveWhatsAppAccount } from "./accounts-CmTAH6vC.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/group-policy.ts
|
|
8
8
|
function resolveChannelGroupConfig(groups, groupId, caseInsensitive = false) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as theme, h as defaultRuntime, j as isRich } from "./entry.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DAvTwbVn.js";
|
|
3
3
|
import "./utils-C9sj30YY.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-BizYYQgP.js";
|
|
5
5
|
import { x as hasBinary } from "./skills-B5LQx4lT.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as theme, u as defaultRuntime, z as isRich } from "./subsystem-
|
|
3
|
-
import "./utils-
|
|
4
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import "./paths-bz09i2r4.js";
|
|
2
|
+
import { B as theme, u as defaultRuntime, z as isRich } from "./subsystem-QRgATXba.js";
|
|
3
|
+
import "./utils-C3LCQU_B.js";
|
|
4
|
+
import { t as runCommandWithTimeout } from "./exec-BUUHqPfc.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-CIdpJrVY.js";
|
|
6
6
|
import "./boolean-Wzu0-e0P.js";
|
|
7
|
-
import "./manifest-registry-
|
|
8
|
-
import { x as hasBinary } from "./skills-
|
|
9
|
-
import { t as formatDocsLink } from "./links-
|
|
7
|
+
import "./manifest-registry-6S1iCIJs.js";
|
|
8
|
+
import { x as hasBinary } from "./skills-CKL89V2y.js";
|
|
9
|
+
import { t as formatDocsLink } from "./links-CW3Qn1TB.js";
|
|
10
10
|
import { n as runCommandWithRuntime } from "./cli-utils-BTBABPX9.js";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/docs.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveAnimaPackageRoot } from "./openclaw-root-0yHXtO35.js";
|
|
2
|
-
import { r as resolveCliName } from "./command-format-
|
|
3
|
-
import { t as note } from "./note-
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
2
|
+
import { r as resolveCliName } from "./command-format-CIdpJrVY.js";
|
|
3
|
+
import { t as note } from "./note-_r1JGZUi.js";
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-D68Pq9hN.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as resolveCliName } from "./command-format-
|
|
1
|
+
import { r as resolveCliName } from "./command-format-DAvTwbVn.js";
|
|
2
2
|
import { t as resolveAnimaPackageRoot } from "./openclaw-root-C85WMnVV.js";
|
|
3
3
|
import { t as note } from "./note-uiuPxhyX.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BWQ_7enL.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { $ as resolveStateDir, R as CONFIG_PATH, X as resolveNewStateDir, Y as resolveLegacyStateDirs, Z as resolveOAuthDir } from "./entry.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DAvTwbVn.js";
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-BGiG_JcT.js";
|
|
4
4
|
import { _ as resolveHomeDir, d as isRecord } from "./utils-C9sj30YY.js";
|
|
5
5
|
import { c as resolveDefaultAgentId } from "./agent-scope-OZi7lb8S.js";
|
|
6
|
-
import { d as AnimaSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-
|
|
7
|
-
import { s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
6
|
+
import { d as AnimaSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-BTrnoeUT.js";
|
|
7
|
+
import { s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-CiJ1eNyx.js";
|
|
8
8
|
import { a as resolveTelegramAccount, i as listTelegramAccountIds } from "./normalize-GDK8JTNW.js";
|
|
9
9
|
import { t as note } from "./note-uiuPxhyX.js";
|
|
10
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
10
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-D5sOSYle.js";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH } from "./paths-
|
|
2
|
-
import { f as isRecord, v as resolveHomeDir } from "./utils-
|
|
1
|
+
import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH } from "./paths-bz09i2r4.js";
|
|
2
|
+
import { f as isRecord, v as resolveHomeDir } from "./utils-C3LCQU_B.js";
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
6
|
-
import { d as AnimaSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-
|
|
7
|
-
import { E as canonicalizeMainSessionAlias, s as saveSessionStore } from "./sessions-
|
|
4
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-CAFK3-OQ.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-CIdpJrVY.js";
|
|
6
|
+
import { d as AnimaSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-CJqjQoA8.js";
|
|
7
|
+
import { E as canonicalizeMainSessionAlias, s as saveSessionStore } from "./sessions-BArh4ohZ.js";
|
|
8
8
|
import { a as resolveTelegramAccount, i as listTelegramAccountIds } from "./normalize-Dlcj9D3K.js";
|
|
9
|
-
import { t as note } from "./note-
|
|
10
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
9
|
+
import { t as note } from "./note-_r1JGZUi.js";
|
|
10
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BSkVJRpq.js";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { $ as resolveStateDir, Dt as resolveRequiredHomeDir, F as getResolvedLoggerSettings, J as resolveIsNixMode, R as CONFIG_PATH, Z as resolveOAuthDir, h as defaultRuntime, n as isTruthyEnvValue, q as resolveGatewayPort } from "./entry.js";
|
|
2
|
-
import { At as CODEX_CLI_PROFILE_ID, D as getModelRefStatus, Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, L as resolveHooksGmailModel, _ as updateAuthProfileStoreWithLock, a as resolveApiKeyForProfile, at as resolveApiKeyForProvider, h as ensureAuthProfileStore, i as resolveProfileUnusableUntilForDisplay, kt as CLAUDE_CLI_PROFILE_ID, u as repairOAuthProfileIdMismatch } from "./auth-profiles-
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { At as CODEX_CLI_PROFILE_ID, D as getModelRefStatus, Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, L as resolveHooksGmailModel, _ as updateAuthProfileStoreWithLock, a as resolveApiKeyForProfile, at as resolveApiKeyForProvider, h as ensureAuthProfileStore, i as resolveProfileUnusableUntilForDisplay, kt as CLAUDE_CLI_PROFILE_ID, u as repairOAuthProfileIdMismatch } from "./auth-profiles-Duc5USNQ.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-DAvTwbVn.js";
|
|
4
4
|
import { C as sleep, S as shortenHomePath, y as resolveUserPath } from "./utils-C9sj30YY.js";
|
|
5
5
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-BizYYQgP.js";
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./openclaw-root-C85WMnVV.js";
|
|
7
7
|
import { c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-OZi7lb8S.js";
|
|
8
8
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-JQluhU-P.js";
|
|
9
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
10
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BTrnoeUT.js";
|
|
10
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BCq1DIZp.js";
|
|
11
11
|
import { c as resolveGatewayBindHost, n as isLoopbackHost } from "./net-B5lXhYLV.js";
|
|
12
|
-
import { S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-
|
|
13
|
-
import { Q as loadAnimaPlugins } from "./reply-
|
|
12
|
+
import { S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-CiJ1eNyx.js";
|
|
13
|
+
import { Q as loadAnimaPlugins } from "./reply-z4aWqqxB.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-CDJw924T.js";
|
|
15
15
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-CxRf2rBG.js";
|
|
16
16
|
import { i as resolveGatewayAuth } from "./auth-lZ26wsbN.js";
|
|
17
|
-
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-
|
|
18
|
-
import { Yt as loadModelCatalog } from "./cli-session-
|
|
19
|
-
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-
|
|
20
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
21
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
17
|
+
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-BJcDDRTO.js";
|
|
18
|
+
import { Yt as loadModelCatalog } from "./cli-session-CguGsiXn.js";
|
|
19
|
+
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-BbYdqrqj.js";
|
|
20
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BnSNq5os.js";
|
|
21
|
+
import { n as resolveMemorySearchConfig } from "./manager-xfVCqZZ_.js";
|
|
22
22
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel } from "./constants-O8yBqCBv.js";
|
|
23
23
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DKy6qQxR.js";
|
|
24
24
|
import { t as note$1 } from "./note-uiuPxhyX.js";
|
|
25
25
|
import { t as resolveChannelDefaultAccountId } from "./helpers-ZKNRexvX.js";
|
|
26
26
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DBc1pU_R.js";
|
|
27
|
-
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
28
|
-
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-
|
|
27
|
+
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-C0hF11tz.js";
|
|
28
|
+
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-DP7_Nx2H.js";
|
|
29
29
|
import { n as isWSLEnv, t as isWSL } from "./wsl-ymJYvc9Q.js";
|
|
30
30
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BSrHDyeU.js";
|
|
31
31
|
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-BNVpYcQe.js";
|
|
32
|
-
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
32
|
+
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DTqz1JDy.js";
|
|
33
33
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DlIw6fqD.js";
|
|
34
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-
|
|
35
|
-
import { r as healthCommand } from "./health-
|
|
34
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-BkDkj1v1.js";
|
|
35
|
+
import { r as healthCommand } from "./health-BgLOo0ri.js";
|
|
36
36
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-CdP99j3Y.js";
|
|
37
37
|
import { n as logConfigUpdated } from "./logging-DB6BQmhi.js";
|
|
38
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
39
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
40
|
-
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-
|
|
41
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
38
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CFJG9_md.js";
|
|
39
|
+
import { t as runGatewayUpdate } from "./update-runner-BognabpZ.js";
|
|
40
|
+
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-BKjLtUh4.js";
|
|
41
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-Cc0a2tAq.js";
|
|
42
42
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CmyqQkeC.js";
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
44
44
|
import os from "node:os";
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { U as getResolvedLoggerSettings, u as defaultRuntime } from "./subsystem-
|
|
3
|
-
import { C as shortenHomePath, b as resolveUserPath, w as sleep } from "./utils-
|
|
4
|
-
import { Q as loadAnimaPlugins } from "./reply-
|
|
5
|
-
import { n as runExec, t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-bz09i2r4.js";
|
|
2
|
+
import { U as getResolvedLoggerSettings, u as defaultRuntime } from "./subsystem-QRgATXba.js";
|
|
3
|
+
import { C as shortenHomePath, b as resolveUserPath, w as sleep } from "./utils-C3LCQU_B.js";
|
|
4
|
+
import { Q as loadAnimaPlugins } from "./reply-Dth3ApJr.js";
|
|
5
|
+
import { n as runExec, t as runCommandWithTimeout } from "./exec-BUUHqPfc.js";
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./openclaw-root-0yHXtO35.js";
|
|
7
|
-
import { c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
-
import { At as DEFAULT_PROVIDER, Dt as CODEX_CLI_PROFILE_ID, Et as CLAUDE_CLI_PROFILE_ID, I as resolveApiKeyForProvider, f as resolveConfiguredModelRef, gt as updateAuthProfileStoreWithLock, i as getModelRefStatus, it as resolveApiKeyForProfile, kt as DEFAULT_MODEL, lt as repairOAuthProfileIdMismatch, m as resolveHooksGmailModel, mt as ensureAuthProfileStore, rt as resolveProfileUnusableUntilForDisplay } from "./model-selection-
|
|
9
|
-
import { t as formatCliCommand } from "./command-format-
|
|
10
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
11
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
12
|
-
import { i as loadSessionStore, k as resolveMainSessionKey } from "./sessions-
|
|
13
|
-
import { en as loadModelCatalog } from "./cli-session-
|
|
14
|
-
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-
|
|
15
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
7
|
+
import { c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CAFK3-OQ.js";
|
|
8
|
+
import { At as DEFAULT_PROVIDER, Dt as CODEX_CLI_PROFILE_ID, Et as CLAUDE_CLI_PROFILE_ID, I as resolveApiKeyForProvider, f as resolveConfiguredModelRef, gt as updateAuthProfileStoreWithLock, i as getModelRefStatus, it as resolveApiKeyForProfile, kt as DEFAULT_MODEL, lt as repairOAuthProfileIdMismatch, m as resolveHooksGmailModel, mt as ensureAuthProfileStore, rt as resolveProfileUnusableUntilForDisplay } from "./model-selection-rQ37uYqK.js";
|
|
9
|
+
import { t as formatCliCommand } from "./command-format-CIdpJrVY.js";
|
|
10
|
+
import { t as isTruthyEnvValue } from "./env-xVkcwvOb.js";
|
|
11
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CJqjQoA8.js";
|
|
12
|
+
import { i as loadSessionStore, k as resolveMainSessionKey } from "./sessions-BArh4ohZ.js";
|
|
13
|
+
import { en as loadModelCatalog } from "./cli-session-iZbfAWmn.js";
|
|
14
|
+
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-CMwglj0M.js";
|
|
15
|
+
import { i as resolveGatewayAuth } from "./auth-CahY_AkV.js";
|
|
16
16
|
import { l as resolveGatewayBindHost, r as isLoopbackHost } from "./ws-COSqlEPx.js";
|
|
17
|
-
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-
|
|
18
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
19
|
-
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
20
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
21
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
22
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
17
|
+
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-BE7Mh7ID.js";
|
|
18
|
+
import { n as listChannelPlugins } from "./plugins-xTk0rYX5.js";
|
|
19
|
+
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DaV0x55c.js";
|
|
20
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BFJgplCL.js";
|
|
21
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-0oi2o-6Q.js";
|
|
22
|
+
import { n as resolveMemorySearchConfig } from "./manager-C92z_-r7.js";
|
|
23
23
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel } from "./constants-BwBn5CGe.js";
|
|
24
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
25
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
26
|
-
import { t as note$1 } from "./note-
|
|
24
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-Dciomngy.js";
|
|
25
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CsXDJfbR.js";
|
|
26
|
+
import { t as note$1 } from "./note-_r1JGZUi.js";
|
|
27
27
|
import { t as resolveChannelDefaultAccountId } from "./helpers-eJFa4K6r.js";
|
|
28
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
29
|
-
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
30
|
-
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-
|
|
28
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-_b7LHAnf.js";
|
|
29
|
+
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-9gVO-5HW.js";
|
|
30
|
+
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-DpXwOTM4.js";
|
|
31
31
|
import { n as isWSLEnv, t as isWSL } from "./wsl-CqyuRvtM.js";
|
|
32
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
33
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
34
|
-
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
35
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
36
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-
|
|
37
|
-
import { r as healthCommand } from "./health-
|
|
38
|
-
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-
|
|
39
|
-
import { n as logConfigUpdated } from "./logging-
|
|
40
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
41
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
42
|
-
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-
|
|
43
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
44
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
32
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-CL5ZY4Zc.js";
|
|
33
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-PAjEhBHO.js";
|
|
34
|
+
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-Rm5nyf65.js";
|
|
35
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-y_nka8RG.js";
|
|
36
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-CwtYmdp2.js";
|
|
37
|
+
import { r as healthCommand } from "./health-9O8CNnpd.js";
|
|
38
|
+
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-C03UUd4E.js";
|
|
39
|
+
import { n as logConfigUpdated } from "./logging-D-ImNX0G.js";
|
|
40
|
+
import { n as doctorShellCompletion } from "./doctor-completion-B9GvB2p5.js";
|
|
41
|
+
import { t as runGatewayUpdate } from "./update-runner-DmhN1VB8.js";
|
|
42
|
+
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-DtGA3VX3.js";
|
|
43
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-PvrxWElO.js";
|
|
44
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Dhc0nv0p.js";
|
|
45
45
|
import fs from "node:fs";
|
|
46
46
|
import os from "node:os";
|
|
47
47
|
import path from "node:path";
|
package/dist/entry.js
CHANGED
|
@@ -143,18 +143,28 @@ function parseCliProfileArgs(argv) {
|
|
|
143
143
|
}
|
|
144
144
|
function resolveProfileStateDir(profile, env, homedir) {
|
|
145
145
|
const suffix = profile.toLowerCase() === "default" ? "" : `-${profile}`;
|
|
146
|
-
return path.join(resolveRequiredHomeDir(env, homedir), `.
|
|
146
|
+
return path.join(resolveRequiredHomeDir(env, homedir), `.anima${suffix}`);
|
|
147
147
|
}
|
|
148
148
|
function applyCliProfileEnv(params) {
|
|
149
149
|
const env = params.env ?? process.env;
|
|
150
150
|
const homedir = params.homedir ?? os.homedir;
|
|
151
151
|
const profile = params.profile.trim();
|
|
152
152
|
if (!profile) return;
|
|
153
|
+
env.ANIMA_PROFILE = profile;
|
|
153
154
|
env.OPENCLAW_PROFILE = profile;
|
|
154
|
-
const stateDir = env.OPENCLAW_STATE_DIR?.trim() || resolveProfileStateDir(profile, env, homedir);
|
|
155
|
-
if (!env.
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
const stateDir = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim() || resolveProfileStateDir(profile, env, homedir);
|
|
156
|
+
if (!env.ANIMA_STATE_DIR?.trim()) {
|
|
157
|
+
env.ANIMA_STATE_DIR = stateDir;
|
|
158
|
+
env.OPENCLAW_STATE_DIR = stateDir;
|
|
159
|
+
}
|
|
160
|
+
if (!env.ANIMA_CONFIG_PATH?.trim()) {
|
|
161
|
+
env.ANIMA_CONFIG_PATH = path.join(stateDir, "anima.json");
|
|
162
|
+
env.OPENCLAW_CONFIG_PATH = path.join(stateDir, "anima.json");
|
|
163
|
+
}
|
|
164
|
+
if (profile === "dev" && !env.ANIMA_GATEWAY_PORT?.trim()) {
|
|
165
|
+
env.ANIMA_GATEWAY_PORT = "19001";
|
|
166
|
+
env.OPENCLAW_GATEWAY_PORT = "19001";
|
|
167
|
+
}
|
|
158
168
|
}
|
|
159
169
|
|
|
160
170
|
//#endregion
|
|
@@ -471,14 +481,14 @@ function resolvePreferredAnimaTmpDir(options = {}) {
|
|
|
471
481
|
//#endregion
|
|
472
482
|
//#region src/config/paths.ts
|
|
473
483
|
/**
|
|
474
|
-
* Nix mode detection: When
|
|
484
|
+
* Nix mode detection: When ANIMA_NIX_MODE=1, the gateway is running under Nix.
|
|
475
485
|
* In this mode:
|
|
476
486
|
* - No auto-install flows should be attempted
|
|
477
487
|
* - Missing dependencies should produce actionable Nix-specific error messages
|
|
478
488
|
* - Config is managed externally (read-only from Nix perspective)
|
|
479
489
|
*/
|
|
480
490
|
function resolveIsNixMode(env = process.env) {
|
|
481
|
-
return env.OPENCLAW_NIX_MODE === "1";
|
|
491
|
+
return (env.ANIMA_NIX_MODE ?? env.OPENCLAW_NIX_MODE) === "1";
|
|
482
492
|
}
|
|
483
493
|
const isNixMode = resolveIsNixMode();
|
|
484
494
|
const LEGACY_STATE_DIRNAMES = [
|
|
@@ -521,7 +531,7 @@ function resolveNewStateDir(homedir = resolveDefaultHomeDir) {
|
|
|
521
531
|
*/
|
|
522
532
|
function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
523
533
|
const effectiveHomedir = () => resolveRequiredHomeDir(env, homedir);
|
|
524
|
-
const override = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim()
|
|
534
|
+
const override = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim();
|
|
525
535
|
if (override) return resolveUserPath(override, env, effectiveHomedir);
|
|
526
536
|
const newDir = newStateDir(effectiveHomedir);
|
|
527
537
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
@@ -556,7 +566,7 @@ const STATE_DIR = resolveStateDir();
|
|
|
556
566
|
* Default: ~/.anima/anima.json (or $ANIMA_STATE_DIR/anima.json)
|
|
557
567
|
*/
|
|
558
568
|
function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDir(env, envHomedir(env))) {
|
|
559
|
-
const override = env.
|
|
569
|
+
const override = env.ANIMA_CONFIG_PATH?.trim() || env.OPENCLAW_CONFIG_PATH?.trim();
|
|
560
570
|
if (override) return resolveUserPath(override, env, envHomedir(env));
|
|
561
571
|
return path.join(stateDir, CONFIG_FILENAME);
|
|
562
572
|
}
|
|
@@ -579,9 +589,9 @@ function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)
|
|
|
579
589
|
* Active config path (prefers existing config files).
|
|
580
590
|
*/
|
|
581
591
|
function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, envHomedir(env)), homedir = envHomedir(env)) {
|
|
582
|
-
const override = env.OPENCLAW_CONFIG_PATH?.trim();
|
|
592
|
+
const override = env.ANIMA_CONFIG_PATH?.trim() || env.OPENCLAW_CONFIG_PATH?.trim();
|
|
583
593
|
if (override) return resolveUserPath(override, env, homedir);
|
|
584
|
-
const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
|
|
594
|
+
const stateOverride = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim();
|
|
585
595
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
586
596
|
try {
|
|
587
597
|
return fs.existsSync(candidate);
|
|
@@ -602,12 +612,12 @@ const CONFIG_PATH = resolveConfigPathCandidate();
|
|
|
602
612
|
*/
|
|
603
613
|
function resolveDefaultConfigCandidates(env = process.env, homedir = envHomedir(env)) {
|
|
604
614
|
const effectiveHomedir = () => resolveRequiredHomeDir(env, homedir);
|
|
605
|
-
const explicit = env.
|
|
615
|
+
const explicit = env.ANIMA_CONFIG_PATH?.trim() || env.OPENCLAW_CONFIG_PATH?.trim();
|
|
606
616
|
if (explicit) return [resolveUserPath(explicit, env, effectiveHomedir)];
|
|
607
617
|
const candidates = [];
|
|
608
|
-
const
|
|
609
|
-
if (
|
|
610
|
-
const resolved = resolveUserPath(
|
|
618
|
+
const legacyStateDir = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim();
|
|
619
|
+
if (legacyStateDir) {
|
|
620
|
+
const resolved = resolveUserPath(legacyStateDir, env, effectiveHomedir);
|
|
611
621
|
candidates.push(path.join(resolved, CONFIG_FILENAME));
|
|
612
622
|
candidates.push(...LEGACY_CONFIG_FILENAMES.map((name) => path.join(resolved, name)));
|
|
613
623
|
}
|
|
@@ -621,12 +631,12 @@ function resolveDefaultConfigCandidates(env = process.env, homedir = envHomedir(
|
|
|
621
631
|
const DEFAULT_GATEWAY_PORT = 18789;
|
|
622
632
|
/**
|
|
623
633
|
* Gateway lock directory (ephemeral).
|
|
624
|
-
* Default: os.tmpdir()/
|
|
634
|
+
* Default: os.tmpdir()/anima-<uid> (uid suffix when available).
|
|
625
635
|
*/
|
|
626
636
|
function resolveGatewayLockDir(tmpdir = os.tmpdir) {
|
|
627
637
|
const base = tmpdir();
|
|
628
638
|
const uid = typeof process.getuid === "function" ? process.getuid() : void 0;
|
|
629
|
-
const suffix = uid != null ? `
|
|
639
|
+
const suffix = uid != null ? `anima-${uid}` : "anima";
|
|
630
640
|
return path.join(base, suffix);
|
|
631
641
|
}
|
|
632
642
|
const OAUTH_FILENAME = "oauth.json";
|
|
@@ -634,11 +644,11 @@ const OAUTH_FILENAME = "oauth.json";
|
|
|
634
644
|
* OAuth credentials storage directory.
|
|
635
645
|
*
|
|
636
646
|
* Precedence:
|
|
637
|
-
* - `
|
|
647
|
+
* - `ANIMA_OAUTH_DIR` (explicit override, or legacy `OPENCLAW_OAUTH_DIR`)
|
|
638
648
|
* - `$*_STATE_DIR/credentials` (canonical server/default)
|
|
639
649
|
*/
|
|
640
650
|
function resolveOAuthDir(env = process.env, stateDir = resolveStateDir(env, envHomedir(env))) {
|
|
641
|
-
const override = env.OPENCLAW_OAUTH_DIR?.trim();
|
|
651
|
+
const override = env.ANIMA_OAUTH_DIR?.trim() || env.OPENCLAW_OAUTH_DIR?.trim();
|
|
642
652
|
if (override) return resolveUserPath(override, env, envHomedir(env));
|
|
643
653
|
return path.join(stateDir, "credentials");
|
|
644
654
|
}
|
|
@@ -646,7 +656,7 @@ function resolveOAuthPath(env = process.env, stateDir = resolveStateDir(env, env
|
|
|
646
656
|
return path.join(resolveOAuthDir(env, stateDir), OAUTH_FILENAME);
|
|
647
657
|
}
|
|
648
658
|
function resolveGatewayPort(cfg, env = process.env) {
|
|
649
|
-
const envRaw = env.
|
|
659
|
+
const envRaw = env.ANIMA_GATEWAY_PORT?.trim() || env.OPENCLAW_GATEWAY_PORT?.trim();
|
|
650
660
|
if (envRaw) {
|
|
651
661
|
const parsed = Number.parseInt(envRaw, 10);
|
|
652
662
|
if (Number.isFinite(parsed) && parsed > 0) return parsed;
|
|
@@ -1550,7 +1560,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
1550
1560
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1551
1561
|
process$1.argv = parsed.argv;
|
|
1552
1562
|
}
|
|
1553
|
-
import("./run-main-
|
|
1563
|
+
import("./run-main-CSV5mhRg.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1554
1564
|
console.error("[anima] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1555
1565
|
process$1.exitCode = 1;
|
|
1556
1566
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as shouldLogVerbose, H as getLogger, L as warn, N as logVerboseConsole, O as danger, k as info, t as createSubsystemLogger, u as defaultRuntime } from "./subsystem-
|
|
1
|
+
import { F as shouldLogVerbose, H as getLogger, L as warn, N as logVerboseConsole, O as danger, k as info, t as createSubsystemLogger, u as defaultRuntime } from "./subsystem-QRgATXba.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { execFile, spawn } from "node:child_process";
|
|
4
4
|
import { promisify } from "node:util";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveOAuthDir, c as expandHomePrefix, l as resolveEffectiveHomeDir, n as resolveConfigPath, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { a as resolveOAuthDir, c as expandHomePrefix, l as resolveEffectiveHomeDir, n as resolveConfigPath, u as resolveRequiredHomeDir } from "./paths-D1cGHEWK.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as theme, u as defaultRuntime, z as isRich } from "./subsystem-
|
|
3
|
-
import "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
1
|
+
import "./paths-bz09i2r4.js";
|
|
2
|
+
import { B as theme, u as defaultRuntime, z as isRich } from "./subsystem-QRgATXba.js";
|
|
3
|
+
import "./utils-C3LCQU_B.js";
|
|
4
|
+
import "./exec-BUUHqPfc.js";
|
|
5
|
+
import "./agent-scope-CAFK3-OQ.js";
|
|
6
|
+
import "./model-selection-rQ37uYqK.js";
|
|
7
7
|
import "./boolean-Wzu0-e0P.js";
|
|
8
|
-
import "./env-
|
|
9
|
-
import "./config-
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import "./message-channel-
|
|
12
|
-
import "./client-
|
|
13
|
-
import "./call-
|
|
8
|
+
import "./env-xVkcwvOb.js";
|
|
9
|
+
import "./config-CJqjQoA8.js";
|
|
10
|
+
import "./manifest-registry-6S1iCIJs.js";
|
|
11
|
+
import "./message-channel-CwG1qckU.js";
|
|
12
|
+
import "./client-CyjQbtPN.js";
|
|
13
|
+
import "./call-0oi2o-6Q.js";
|
|
14
14
|
import { p as saveExecApprovals, s as readExecApprovalsSnapshot } from "./exec-approvals-BP9AhCSw.js";
|
|
15
15
|
import { n as formatTimeAgo } from "./format-relative-sy9iviQN.js";
|
|
16
|
-
import { t as formatDocsLink } from "./links-
|
|
17
|
-
import "./progress-
|
|
18
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
19
|
-
import "./systemd-
|
|
20
|
-
import "./service-
|
|
21
|
-
import { t as renderTable } from "./table-
|
|
22
|
-
import { t as describeUnknownError } from "./shared-
|
|
23
|
-
import { n as nodesCallOpts, r as resolveNodeId } from "./rpc-
|
|
16
|
+
import { t as formatDocsLink } from "./links-CW3Qn1TB.js";
|
|
17
|
+
import "./progress-DywJvK4g.js";
|
|
18
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-AwR5J2MJ.js";
|
|
19
|
+
import "./systemd-CL5ZY4Zc.js";
|
|
20
|
+
import "./service-PAjEhBHO.js";
|
|
21
|
+
import { t as renderTable } from "./table-bWMfXlzH.js";
|
|
22
|
+
import { t as describeUnknownError } from "./shared-DaRXXL29.js";
|
|
23
|
+
import { n as nodesCallOpts, r as resolveNodeId } from "./rpc-B4KNVhqH.js";
|
|
24
24
|
import JSON5 from "json5";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { M as theme, h as defaultRuntime, j as isRich } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-Duc5USNQ.js";
|
|
3
3
|
import "./utils-C9sj30YY.js";
|
|
4
4
|
import "./exec-BizYYQgP.js";
|
|
5
5
|
import "./agent-scope-OZi7lb8S.js";
|
|
6
6
|
import "./manifest-registry-D4lM2RdV.js";
|
|
7
|
-
import "./config-
|
|
7
|
+
import "./config-BTrnoeUT.js";
|
|
8
8
|
import "./client-C1avc0vD.js";
|
|
9
|
-
import "./call-
|
|
9
|
+
import "./call-BCq1DIZp.js";
|
|
10
10
|
import "./message-channel-w4F2b2F6.js";
|
|
11
11
|
import { p as saveExecApprovals, s as readExecApprovalsSnapshot } from "./exec-approvals-CdLmKX2R.js";
|
|
12
12
|
import { n as formatTimeAgo } from "./format-relative-C6kUHuOj.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-BfjHVTB_.js";
|
|
14
14
|
import "./progress-CbZ2D53A.js";
|
|
15
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
15
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-DJtTRK5K.js";
|
|
16
16
|
import "./systemd-BSrHDyeU.js";
|
|
17
17
|
import "./service-BNVpYcQe.js";
|
|
18
18
|
import { t as renderTable } from "./table-DoiRPsn0.js";
|
|
19
|
-
import { t as describeUnknownError } from "./shared-
|
|
20
|
-
import { n as nodesCallOpts, r as resolveNodeId } from "./rpc-
|
|
19
|
+
import { t as describeUnknownError } from "./shared-c5pL32-X.js";
|
|
20
|
+
import { n as nodesCallOpts, r as resolveNodeId } from "./rpc-2vVwhfcD.js";
|
|
21
21
|
import JSON5 from "json5";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
package/dist/extensionAPI.js
CHANGED
|
@@ -61,14 +61,14 @@ function expandHomePrefix(input, opts) {
|
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/config/paths.ts
|
|
63
63
|
/**
|
|
64
|
-
* Nix mode detection: When
|
|
64
|
+
* Nix mode detection: When ANIMA_NIX_MODE=1, the gateway is running under Nix.
|
|
65
65
|
* In this mode:
|
|
66
66
|
* - No auto-install flows should be attempted
|
|
67
67
|
* - Missing dependencies should produce actionable Nix-specific error messages
|
|
68
68
|
* - Config is managed externally (read-only from Nix perspective)
|
|
69
69
|
*/
|
|
70
70
|
function resolveIsNixMode(env = process.env) {
|
|
71
|
-
return env.OPENCLAW_NIX_MODE === "1";
|
|
71
|
+
return (env.ANIMA_NIX_MODE ?? env.OPENCLAW_NIX_MODE) === "1";
|
|
72
72
|
}
|
|
73
73
|
const isNixMode = resolveIsNixMode();
|
|
74
74
|
const LEGACY_STATE_DIRNAMES = [
|
|
@@ -105,7 +105,7 @@ function newStateDir(homedir = resolveDefaultHomeDir) {
|
|
|
105
105
|
*/
|
|
106
106
|
function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
107
107
|
const effectiveHomedir = () => resolveRequiredHomeDir(env, homedir);
|
|
108
|
-
const override = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim()
|
|
108
|
+
const override = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim();
|
|
109
109
|
if (override) return resolveUserPath$1(override, env, effectiveHomedir);
|
|
110
110
|
const newDir = newStateDir(effectiveHomedir);
|
|
111
111
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
@@ -140,7 +140,7 @@ const STATE_DIR = resolveStateDir();
|
|
|
140
140
|
* Default: ~/.anima/anima.json (or $ANIMA_STATE_DIR/anima.json)
|
|
141
141
|
*/
|
|
142
142
|
function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDir(env, envHomedir(env))) {
|
|
143
|
-
const override = env.
|
|
143
|
+
const override = env.ANIMA_CONFIG_PATH?.trim() || env.OPENCLAW_CONFIG_PATH?.trim();
|
|
144
144
|
if (override) return resolveUserPath$1(override, env, envHomedir(env));
|
|
145
145
|
return path.join(stateDir, CONFIG_FILENAME);
|
|
146
146
|
}
|
|
@@ -163,9 +163,9 @@ function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)
|
|
|
163
163
|
* Active config path (prefers existing config files).
|
|
164
164
|
*/
|
|
165
165
|
function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, envHomedir(env)), homedir = envHomedir(env)) {
|
|
166
|
-
const override = env.OPENCLAW_CONFIG_PATH?.trim();
|
|
166
|
+
const override = env.ANIMA_CONFIG_PATH?.trim() || env.OPENCLAW_CONFIG_PATH?.trim();
|
|
167
167
|
if (override) return resolveUserPath$1(override, env, homedir);
|
|
168
|
-
const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
|
|
168
|
+
const stateOverride = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim();
|
|
169
169
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
170
170
|
try {
|
|
171
171
|
return fs.existsSync(candidate);
|
|
@@ -186,12 +186,12 @@ const CONFIG_PATH = resolveConfigPathCandidate();
|
|
|
186
186
|
*/
|
|
187
187
|
function resolveDefaultConfigCandidates(env = process.env, homedir = envHomedir(env)) {
|
|
188
188
|
const effectiveHomedir = () => resolveRequiredHomeDir(env, homedir);
|
|
189
|
-
const explicit = env.
|
|
189
|
+
const explicit = env.ANIMA_CONFIG_PATH?.trim() || env.OPENCLAW_CONFIG_PATH?.trim();
|
|
190
190
|
if (explicit) return [resolveUserPath$1(explicit, env, effectiveHomedir)];
|
|
191
191
|
const candidates = [];
|
|
192
|
-
const
|
|
193
|
-
if (
|
|
194
|
-
const resolved = resolveUserPath$1(
|
|
192
|
+
const legacyStateDir = env.ANIMA_STATE_DIR?.trim() || env.OPENCLAW_STATE_DIR?.trim();
|
|
193
|
+
if (legacyStateDir) {
|
|
194
|
+
const resolved = resolveUserPath$1(legacyStateDir, env, effectiveHomedir);
|
|
195
195
|
candidates.push(path.join(resolved, CONFIG_FILENAME));
|
|
196
196
|
candidates.push(...LEGACY_CONFIG_FILENAMES.map((name) => path.join(resolved, name)));
|
|
197
197
|
}
|
|
@@ -206,11 +206,11 @@ function resolveDefaultConfigCandidates(env = process.env, homedir = envHomedir(
|
|
|
206
206
|
* OAuth credentials storage directory.
|
|
207
207
|
*
|
|
208
208
|
* Precedence:
|
|
209
|
-
* - `
|
|
209
|
+
* - `ANIMA_OAUTH_DIR` (explicit override, or legacy `OPENCLAW_OAUTH_DIR`)
|
|
210
210
|
* - `$*_STATE_DIR/credentials` (canonical server/default)
|
|
211
211
|
*/
|
|
212
212
|
function resolveOAuthDir(env = process.env, stateDir = resolveStateDir(env, envHomedir(env))) {
|
|
213
|
-
const override = env.OPENCLAW_OAUTH_DIR?.trim();
|
|
213
|
+
const override = env.ANIMA_OAUTH_DIR?.trim() || env.OPENCLAW_OAUTH_DIR?.trim();
|
|
214
214
|
if (override) return resolveUserPath$1(override, env, envHomedir(env));
|
|
215
215
|
return path.join(stateDir, "credentials");
|
|
216
216
|
}
|