@noxsoft/anima 2.0.3 → 2.0.4
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/README.md +1260 -28
- package/dist/{accounts-CP1IAWeM.js → accounts-D8CPKNkN.js} +3 -3
- package/dist/{acp-cli-0JY_DUDb.js → acp-cli-ByK6lS6c.js} +14 -14
- package/dist/{acp-cli-BUGHeckb.js → acp-cli-CaQCjIw4.js} +1 -1
- package/dist/{agent-eLix7YLB.js → agent-BgIkqd3F.js} +3 -3
- package/dist/{agent-DwTJ59DW.js → agent-N5BDcge4.js} +17 -17
- package/dist/{agent-events-COLRhRBH.js → agent-events-COH7NDW2.js} +2 -2
- package/dist/{agent-scope-OZi7lb8S.js → agent-scope-DZgptr9J.js} +4 -4
- package/dist/{agent-scope-CcE0DhlL.js → agent-scope-cj2QCT6R.js} +3 -3
- package/dist/{agents-D57WX9dn.js → agents-NEudYMdg.js} +16 -16
- package/dist/{agents.config-Dvo2ULxs.js → agents.config-Bujs-NIy.js} +2 -2
- package/dist/{audit-BvPmfYxY.js → audit-C-UJhfdv.js} +5 -5
- package/dist/{audit-CmL_VKW9.js → audit-CeCO7SK5.js} +21 -21
- package/dist/{auth-lZ26wsbN.js → auth-DMPZWzEa.js} +3 -3
- package/dist/{auth-choice-DbU0S_0Q.js → auth-choice-5VnaGMD-.js} +4 -4
- package/dist/{auth-choice-8JX4OqDS.js → auth-choice-DA2k4vs8.js} +9 -9
- package/dist/{auth-health-CeDOBbt0.js → auth-health-B7FqA26_.js} +1 -1
- package/dist/{auth-profiles-BVZBTuls.js → auth-profiles-BDrNYX_n.js} +12 -12
- package/dist/{auth-profiles-CC3TFfvS.js → auth-profiles-CxSHydjn.js} +4 -4
- package/dist/{banner-DDcACdvK.js → banner-BtDZPRzi.js} +1 -1
- package/dist/{browser-cli-BZ38kv8Y.js → browser-cli-8yQMpxb8.js} +3 -3
- package/dist/{browser-cli-CYOmCXxE.js → browser-cli-Czg3JtDH.js} +18 -18
- 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 +5 -5
- package/dist/{call-CTMQygkz.js → call-BIzCaKZb.js} +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-BAayBt1L.js → catalog-DMfEg-oK.js} +2 -2
- package/dist/{channel-options-M44Z9-3q.js → channel-options-BrtCtyrT.js} +3 -3
- package/dist/{channel-selection-DfGpCyh2.js → channel-selection-Bbm1lq3P.js} +2 -2
- package/dist/{channel-web-Q-STsf5N.js → channel-web-DrsT6OAE.js} +4 -4
- package/dist/{channels-cli-zIOBobe6.js → channels-cli-Juyh1S6n.js} +74 -74
- package/dist/{channels-cli-SPO9rJnF.js → channels-cli-zNvi1m5c.js} +20 -20
- package/dist/{channels-status-issues-DBc1pU_R.js → channels-status-issues-CqzqshW4.js} +1 -1
- package/dist/{chrome-DlcCwfo_.js → chrome-C4dOMO8z.js} +3 -3
- package/dist/{chrome-mUDT-mA5.js → chrome-DdcDzAtH.js} +11 -11
- package/dist/{chunk-mxPVo000.js → chunk-D2nLsrEW.js} +3 -3
- package/dist/{clack-prompter-B0kl7shw.js → clack-prompter-BI3RDW5w.js} +4 -4
- package/dist/{clack-prompter-Ct2BYIXW.js → clack-prompter-Dwr1m_IZ.js} +3 -3
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-C3cpDaz8.js +99 -0
- package/dist/{cli-AYZaZSSx.js → cli-CjWUGdGC.js} +7 -7
- package/dist/{cli-session-CqlE2JFo.js → cli-session-BVjY_XrW.js} +1 -1
- package/dist/{cli-session-C70q07GT.js → cli-session-gtuYN2Iq.js} +23 -23
- package/dist/{client-C1avc0vD.js → client-Dswwze5_.js} +4 -4
- package/dist/{clipboard-BbGnZskJ.js → clipboard-BZKS9O1u.js} +1 -1
- package/dist/{command-registry-CSbw6FZC.js → command-registry-BBvNvysr.js} +13 -13
- package/dist/{commands-D7CbOdcS.js → commands-AZ3n8Y2c.js} +6 -6
- package/dist/{commands-D5PGoVW4.js → commands-BMnD_QRY.js} +6 -6
- package/dist/{commands-registry-sLFieXCB.js → commands-registry-cFqZ6Ib4.js} +2 -2
- package/dist/{common-D6bu0zHC.js → common-DJbnT8ws.js} +2 -2
- package/dist/{completion-cli-_SwCoFq6.js → completion-cli-BADRBcIl.js} +4 -4
- package/dist/{completion-cli-BFdiNmVD.js → completion-cli-DMQgiObF.js} +1 -1
- package/dist/{config-BeuAT94o.js → config-CU-Axg8P.js} +5 -5
- package/dist/{config-cli-DhdAhW1h.js → config-cli-BPlbwiuA.js} +9 -9
- package/dist/{config-cli-NqEQjCzV.js → config-cli-DXgZJkPU.js} +1 -1
- package/dist/{config-guard-B1rmR88x.js → config-guard-Ba49JNds.js} +4 -4
- package/dist/{config-guard-BCUt7Re8.js → config-guard-Cu0qMKZJ.js} +4 -4
- package/dist/{config-C96685Kz.js → config-kVVm5EYV.js} +34 -34
- package/dist/{config-sync-CoIIbEOe.js → config-sync-CzLnLTXt.js} +2 -2
- package/dist/{config-sync-DvAttep0.js → config-sync-DuydxPWx.js} +2 -2
- package/dist/{configure-B2vlJbd2.js → configure-CHgacLyi.js} +14 -14
- package/dist/{configure-FENKo5hf.js → configure-DfHXDa1L.js} +21 -21
- package/dist/{context-ChaAWbwZ.js → context-DzgXOckU.js} +3 -3
- package/dist/{control-service-DXYImShH.js → control-service-8_wKHwBa.js} +4 -4
- package/dist/{control-service-X_1FRl7x.js → control-service-BtL1Jto_.js} +2 -2
- package/dist/{cron-cli-ByPSA5ZE.js → cron-cli-BCzSR2c0.js} +19 -19
- package/dist/{cron-cli-B6jMeNqC.js → cron-cli-CCWNkykU.js} +1 -1
- package/dist/{daemon-cli-CKOoYhs-.js → daemon-cli-Bjkbu9Vy.js} +21 -21
- package/dist/{daemon-cli-Bf0Q00vC.js → daemon-cli-CmlHcC1J.js} +9 -9
- package/dist/{daemon-runtime-cglglYsH.js → daemon-runtime-rUTqCVwJ.js} +4 -4
- package/dist/{deliver-DujkDzqg.js → deliver-CePITOl8.js} +15 -15
- package/dist/{deliver-DiIOZFml.js → deliver-DFnVaetP.js} +8 -8
- package/dist/{deps-Bim542L5.js → deps-CeEKhrp7.js} +1 -1
- package/dist/{devices-cli-BbUrME_U.js → devices-cli-DQrDMrZH.js} +1 -1
- package/dist/{devices-cli-qvEFBnyH.js → devices-cli-Oe-A1Dv0.js} +12 -12
- package/dist/{diagnostics-DlIw6fqD.js → diagnostics-DxMFrBLO.js} +1 -1
- package/dist/{diagnostics-BCxobJaf.js → diagnostics-m79ZlMmZ.js} +1 -1
- package/dist/{directory-cli-VreWAdNS.js → directory-cli-BL6h8cGF.js} +2 -2
- package/dist/{directory-cli-BjnpktnO.js → directory-cli-Cjgmi_sj.js} +14 -14
- package/dist/{dispatcher-DbDPyVIX.js → dispatcher-DAFbQM-c.js} +1 -1
- package/dist/{dispatcher-CoqsaA3f.js → dispatcher-DNd40gUn.js} +2 -2
- package/dist/dist-CqDI82ei.js +929 -0
- package/dist/dist-DnHRxR5U.js +929 -0
- package/dist/{dns-cli-B-lWrEam.js → dns-cli-CFtV3BXK.js} +2 -2
- package/dist/{dns-cli-CRKIrBD6.js → dns-cli-NyIHvQ5S.js} +10 -10
- package/dist/{dock-Dmxj3en_.js → dock-BdXLb5oY.js} +4 -4
- package/dist/{docs-cli-Bn-mDvE1.js → docs-cli-D_cmJDSr.js} +7 -7
- package/dist/{doctor-DdOw46pE.js → doctor-BpGxKrBl.js} +23 -23
- package/dist/{doctor-CeIWEOAK.js → doctor-D12wNQPU.js} +41 -41
- package/dist/{doctor-completion-CBANZ9T9.js → doctor-completion-DeOfofek.js} +4 -4
- package/dist/{doctor-completion-aDHxGApN.js → doctor-completion-DwjqdEcK.js} +2 -2
- package/dist/{doctor-config-flow-Dxjx2igu.js → doctor-config-flow-BI3mpkbd.js} +9 -9
- package/dist/{doctor-config-flow-Bb8TQwYh.js → doctor-config-flow-wMHheFkC.js} +2 -2
- package/dist/{engine-B9avUJL5.js → engine-BCtL-AMw.js} +5 -5
- package/dist/{engine-BiUQ25D4.js → engine-Bk_UT413.js} +5 -5
- package/dist/entry.js +1 -1
- package/dist/{exec-tTxVr8zb.js → exec-B7sUS164.js} +17 -17
- package/dist/{exec-approvals-CdLmKX2R.js → exec-approvals-CroGJRUg.js} +2 -2
- package/dist/{exec-approvals-cli-5-h9moQI.js → exec-approvals-cli-BTxF_RsH.js} +6 -6
- package/dist/{exec-approvals-cli-Cne9mMrK.js → exec-approvals-cli-n1gyGwH2.js} +19 -19
- package/dist/{frontmatter-YijVi0FQ.js → frontmatter-BmHq0vRD.js} +2 -2
- package/dist/{gateway-cli-DboOVUi8.js → gateway-cli-DDBadlrS.js} +128 -128
- package/dist/{gateway-cli-BZpKEMGi.js → gateway-cli-IZNkOMBe.js} +62 -62
- package/dist/{gateway-rpc-C3eniXwh.js → gateway-rpc-L2PVSqGj.js} +3 -3
- package/dist/{github-copilot-auth-AdaPw_fF.js → github-copilot-auth-DKyqDaGU.js} +2 -2
- package/dist/{github-copilot-auth-C2cJr55I.js → github-copilot-auth-DXpOMSd3.js} +3 -3
- package/dist/{gmail-setup-utils-BPo_LkKI.js → gmail-setup-utils-BKNczIJ9.js} +3 -3
- package/dist/{health-CdHDOLo6.js → health-Bm8ZTvC3.js} +4 -4
- package/dist/{health-WvhhwAnn.js → health-DUf1gt4E.js} +17 -17
- package/dist/{health-format-CdP99j3Y.js → health-format-uzh1xYLD.js} +2 -2
- package/dist/{heartbeat-visibility-B4oqf1qY.js → heartbeat-visibility-1TJb1Zao.js} +1 -1
- package/dist/{heartbeat-visibility-ClqnPSqo.js → heartbeat-visibility-CwodtdcX.js} +1 -1
- package/dist/{helpers-ZKNRexvX.js → helpers-N-uSFKOn.js} +1 -1
- package/dist/{hooks-cli-DfR8cmrL.js → hooks-cli-1POsXqOl.js} +11 -11
- package/dist/{hooks-cli-DTMS4Ly9.js → hooks-cli-BGjILbze.js} +58 -58
- package/dist/{hooks-status-LVJDILL8.js → hooks-status-DE07n5RC.js} +1 -1
- package/dist/{hooks-status-B-e96dZj.js → hooks-status-Du-d1jde.js} +4 -4
- package/dist/{image-ops-Dlt3T7th.js → image-ops-Bp0C6Mvr.js} +1 -1
- package/dist/index.js +12 -12
- package/dist/{init-Bm04RagW.js → init-9A0s7bWG.js} +2 -2
- package/dist/{init-CaJBf4p1.js → init-DoyCHJDC.js} +3 -3
- package/dist/{installs-D-cPGdCw.js → installs-D1C9wHAq.js} +5 -5
- package/dist/{installs-DCTtAJP8.js → installs-Dh4dHayM.js} +2 -2
- package/dist/{ipv4-loTbB6OD.js → ipv4-DCItfaJo.js} +15 -15
- package/dist/{ipv4-CoPxliya.js → ipv4-DSOUVx0i.js} +8 -8
- package/dist/{lifecycle-core-Cu_h9gos.js → lifecycle-core-BY4WIf9g.js} +5 -5
- package/dist/{lifecycle-core-BZo7U2jW.js → lifecycle-core-TQKyXO-6.js} +8 -8
- package/dist/{links-BfjHVTB_.js → links-CNu_8RZl.js} +1 -1
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{logging-DB6BQmhi.js → logging-C7lb3Vjc.js} +1 -1
- package/dist/{login-CnNpZKOD.js → login-DXWKewA2.js} +3 -3
- package/dist/{login-D4n2DJtf.js → login-pPs3UO38.js} +5 -5
- package/dist/{login-qr-CaB_Oi7G.js → login-qr-GF2JMIy-.js} +9 -9
- package/dist/{login-qr-D3xv0VnI.js → login-qr-ZYYKD6Yt.js} +7 -7
- package/dist/{logs-cli-CFX-tr6f.js → logs-cli-CzXbX8HZ.js} +14 -14
- package/dist/{logs-cli-NXQfed5q.js → logs-cli-D9ngH9PF.js} +2 -2
- package/dist/{manager-D_engjHC.js → manager-BD5rA3w0.js} +9 -9
- package/dist/{manager-iFc0bAWS.js → manager-DRWMWM--.js} +7 -7
- package/dist/{manifest-registry-D4lM2RdV.js → manifest-registry-DbvPaBXY.js} +1 -1
- package/dist/{markdown-tables-Bhes7rr4.js → markdown-tables-CqwihY2m.js} +2 -2
- package/dist/{media-Bu2L8c_7.js → media-lUqN-0O9.js} +6 -6
- package/dist/{memory-cli-CvrdGRvA.js → memory-cli-BLXSpgnN.js} +13 -13
- package/dist/{memory-cli-D6v61Mts.js → memory-cli-BcGVkkRJ.js} +1 -1
- package/dist/{migrate-BR6iAIjO.js → migrate-BpVOar4L.js} +3 -3
- package/dist/{migrate-D0EcMs0f.js → migrate-CkgGDkWy.js} +2 -2
- package/dist/{models-D11W7O93.js → models-CExsNQPH.js} +22 -22
- package/dist/{models-cli-ClFZ55qZ.js → models-cli-Ba3Jmwev.js} +18 -18
- package/dist/{models-cli-BfBH9dWH.js → models-cli-iDAlsbL2.js} +64 -64
- package/dist/{net-B5lXhYLV.js → net-0A_zcaQD.js} +1 -1
- package/dist/{node-cli-kxhgdSNi.js → node-cli-ATmwCXIk.js} +33 -33
- package/dist/{node-cli-Cgn2mwSW.js → node-cli-DYFR_V25.js} +12 -12
- package/dist/{node-service-BFxHJsno.js → node-service-CN4LqR1A.js} +2 -2
- package/dist/{node-service-BL8qVG1X.js → node-service-CWt3MdSC.js} +1 -1
- package/dist/{nodes-cli-deMLu7ch.js → nodes-cli-BeVmhTz3.js} +18 -18
- package/dist/{nodes-cli-De6Ta7GH.js → nodes-cli-QeJIfa18.js} +2 -2
- package/dist/{nodes-screen-BST4qOFR.js → nodes-screen-DHyWAlla.js} +1 -1
- package/dist/{note-BtE8fGoO.js → note-CSlg2BnB.js} +1 -1
- package/dist/{note-uiuPxhyX.js → note-Ctvglhp1.js} +1 -1
- package/dist/{npm-registry-spec-za3itb5Y.js → npm-registry-spec-PxisIMts.js} +1 -1
- package/dist/{onboard-DPEqxVx4.js → onboard-DeruD10m.js} +13 -13
- package/dist/{onboard-BGv6xY1s.js → onboard-SAcu5N6N.js} +18 -18
- package/dist/{onboard-channels-DEfpenNa.js → onboard-channels-C4iSfFXR.js} +4 -4
- package/dist/{onboard-channels-BsTwWmEt.js → onboard-channels-oVTVgoyg.js} +10 -10
- package/dist/{onboard-helpers-CwcaOee8.js → onboard-helpers-B8roRwLP.js} +11 -11
- package/dist/{onboard-helpers-Cz42ASwv.js → onboard-helpers-Dgh26hgP.js} +2 -2
- package/dist/{onboarding-BxYOAHWD.js → onboarding-Bi-ac8we.js} +16 -16
- package/dist/{onboarding-DvitiaRS.js → onboarding-C2gjB2u8.js} +23 -23
- package/dist/{orchestrator-BKzmyBWy.js → orchestrator-DlbAYMQP.js} +4 -4
- package/dist/{orchestrator-BN3QCz2s.js → orchestrator-DlwVRVDA.js} +4 -4
- package/dist/{outbound-Csw4yAYo.js → outbound-CkKgc6iR.js} +5 -5
- package/dist/{outbound-L1IT5jN_.js → outbound-Vfm5yDh3.js} +4 -4
- package/dist/{outbound-send-deps-CmzQCbSX.js → outbound-send-deps-DDjiMfEL.js} +6 -6
- package/dist/{pairing-cli-CSRakAu-.js → pairing-cli-CJYeuEik.js} +13 -13
- package/dist/{pairing-cli-BmPkji_u.js → pairing-cli-mqopHI8s.js} +1 -1
- package/dist/{pairing-store-uUh4DCdc.js → pairing-store-DoNj00-X.js} +3 -3
- package/dist/{path-env-Bu6k0jDQ.js → path-env-C_xpiG8l.js} +1 -1
- package/dist/{paths-Ba-yiqjy.js → paths-B1vRVCad.js} +2 -2
- package/dist/{paths-C1R4gjRm.js → paths-DA9WYabg.js} +5 -5
- package/dist/{paths-CxRf2rBG.js → paths-DfQGx0_k.js} +1 -1
- package/dist/{pi-auth-json-C2miwJYp.js → pi-auth-json-DOPW3e4X.js} +4 -4
- package/dist/{pi-auth-json-I3iYPRAb.js → pi-auth-json-lae_wwwo.js} +5 -5
- package/dist/{pi-model-discovery-eIc-PHaM.js → pi-model-discovery-7q0GxMrp.js} +1 -1
- package/dist/{pi-tools.policy-DhmYCpdW.js → pi-tools.policy-xYdDLEv9.js} +5 -5
- package/dist/{plugin-auto-enable-DVD5Kls3.js → plugin-auto-enable-CViVVWgg.js} +4 -4
- package/dist/{plugin-registry-NbbyJq_D.js → plugin-registry-B4Aw2hzq.js} +2 -2
- package/dist/{plugins-DdzdfeTc.js → plugins-DtghNRtM.js} +1 -1
- package/dist/{plugins-cli-Cs_jfROZ.js → plugins-cli-4vWTmOAb.js} +13 -13
- package/dist/{plugins-cli-D0jU5_VE.js → plugins-cli-CdTMbP0X.js} +59 -59
- package/dist/{ports-Co1kd5qX.js → ports-BtZx-JKD.js} +2 -2
- package/dist/{ports-B3Vuo92o.js → ports-vd93M_Pt.js} +3 -3
- package/dist/{program-Db2-b8Np.js → program-CX3aUVeb.js} +64 -64
- package/dist/{program-context-DR1cx29i.js → program-context-BPos0ivo.js} +38 -38
- package/dist/{pw-ai-MrkdzeIJ.js → pw-ai-4QbK5YFe.js} +3 -3
- package/dist/{pw-ai-DM3CIGyg.js → pw-ai-C83HBue2.js} +6 -6
- package/dist/{qmd-manager-Dgo23O3Q.js → qmd-manager-CPypGJ0P.js} +6 -6
- package/dist/{qmd-manager-Cur_Ekn0.js → qmd-manager-CRrSkfia.js} +7 -7
- package/dist/{register.agent-E1qzojq2.js → register.agent-DDY8KJhn.js} +76 -76
- package/dist/{register.agent-B4CGE-cp.js → register.agent-DKawm-9d.js} +26 -26
- package/dist/{register.anima-BETuBtyq.js → register.anima-CEWUo29k.js} +17 -17
- package/dist/{register.anima-C2coCJM_.js → register.anima-DBWz2rk_.js} +17 -17
- package/dist/{register.configure-DqYNhIQj.js → register.configure-BX67qV8k.js} +30 -30
- package/dist/register.configure-CWsySuiq.js +101 -0
- package/dist/{register.maintenance-DC9IhZ2x.js → register.maintenance-0k-ZNhDg.js} +31 -31
- package/dist/{register.maintenance-RuiaMHu7.js → register.maintenance-BIwx1fzX.js} +82 -82
- package/dist/{register.message-BRP5Y8SN.js → register.message-CXPsoakA.js} +59 -59
- package/dist/{register.message-CL5mFcq-.js → register.message-DA3jvfgI.js} +11 -11
- package/dist/{register.onboard-DFjl0E_x.js → register.onboard-C4HG7Hqv.js} +36 -36
- package/dist/{register.onboard-CdvtyeLg.js → register.onboard-GOpdif-j.js} +86 -86
- package/dist/{register.setup-CuNhw63j.js → register.setup-B17vZT7C.js} +87 -87
- package/dist/{register.setup-CVhekh_d.js → register.setup-GJyUDCqh.js} +37 -37
- package/dist/{register.status-health-sessions-BdyiNJFD.js → register.status-health-sessions-D5876dGx.js} +24 -24
- package/dist/{register.status-health-sessions-l7qnXORD.js → register.status-health-sessions-lOewVIZR.js} +73 -73
- package/dist/{register.subclis-Bj3GU0St.js → register.subclis-Dwnujj5C.js} +29 -29
- package/dist/{reply-C9A7Npep.js → reply-CR5T_oQJ.js} +10 -10
- package/dist/{reply-prefix-m-Nj9VGi.js → reply-prefix-BcrS4Umd.js} +1 -1
- package/dist/{reply-prefix-XqRfG1QY.js → reply-prefix-Btb5o2NH.js} +2 -2
- package/dist/{reply-Brlv-JC-.js → reply-r089HuRA.js} +69 -69
- package/dist/{routes-CooYoUCb.js → routes-B4czFzIb.js} +1 -1
- package/dist/{routes-C5ylAnNV.js → routes-ucJWAk5O.js} +8 -8
- package/dist/{rpc-BoNfgecI.js → rpc-BnKxnQ0v.js} +4 -4
- package/dist/{run-main-DKNJvJ7W.js → run-main-B74kv84C.js} +79 -79
- package/dist/{sandbox-D8pgNhTE.js → sandbox-CJTS3er6.js} +6 -6
- package/dist/{sandbox-cli-BlWdpX1h.js → sandbox-cli-CrkjyU5M.js} +3 -3
- package/dist/{sandbox-cli-BeOQ8G6W.js → sandbox-cli-D1r5y6Sz.js} +29 -29
- package/dist/{security-cli-CcYc8gKu.js → security-cli-BZUdnkhn.js} +34 -34
- package/dist/{security-cli-CRSXFNRa.js → security-cli-DS09ebvA.js} +5 -5
- package/dist/{server-context-Du3Gdqy1.js → server-context-C0xZbYhg.js} +3 -3
- package/dist/{server-context-Cu88BsgT.js → server-context-DVh2z7om.js} +9 -9
- package/dist/{server-node-events-DCY3mm-A.js → server-node-events-bu9lpkMH.js} +4 -4
- package/dist/{server-node-events-0Una3QLI.js → server-node-events-i1Rrww31.js} +28 -28
- package/dist/{service-BNVpYcQe.js → service-CJJwLEor.js} +2 -2
- package/dist/{service-CpG4hCVW.js → service-DxLxBhaU.js} +1 -1
- package/dist/{service-audit-DP4USmzf.js → service-audit-DB4Y3Ekp.js} +4 -4
- package/dist/{service-audit-B3atdWsy.js → service-audit-M8y4TXVb.js} +3 -3
- package/dist/{session-B6T_f3RF.js → session-CGxOLFs2.js} +9 -9
- package/dist/{session-cost-usage-BwiTZuKl.js → session-cost-usage-qdfsGU2a.js} +3 -3
- package/dist/{session-xQxk_AyT.js → session-yOhWcsD2.js} +4 -4
- package/dist/{sessions-BQUf6xj_.js → sessions-BgLN4KFr.js} +6 -6
- package/dist/{sessions-B9VnNnIk.js → sessions-CnRjwdVr.js} +8 -8
- package/dist/{sessions-G7nfpjc6.js → sessions-wRKla1Qh.js} +25 -25
- package/dist/{shared-uOwPcrN5.js → shared-DS3UaJSP.js} +1 -1
- package/dist/{shared-BcqU-KU2.js → shared-Qpt4hUDi.js} +3 -3
- package/dist/{shared-CkGP1Gie.js → shared-kzrojZ1B.js} +5 -5
- package/dist/{skill-scanner-CkaVLABv.js → skill-scanner-DLJji5Ye.js} +1 -1
- package/dist/{skills-B5LQx4lT.js → skills-BWFIEp4j.js} +3 -3
- package/dist/{skills-cli-CBFbV14l.js → skills-cli-BY53ILm2.js} +5 -5
- package/dist/{skills-cli-gGWq4bgb.js → skills-cli-CO3gxl8A.js} +13 -13
- package/dist/{skills-status-DaLLXtp7.js → skills-status-DX5pcqY3.js} +1 -1
- package/dist/{skills-status-JQluhU-P.js → skills-status-zhcKzGkp.js} +3 -3
- package/dist/{sqlite-BukcjdJa.js → sqlite-B6MojU1I.js} +2 -2
- package/dist/{sqlite-BiXgPbCK.js → sqlite-CuprTGR7.js} +4 -4
- package/dist/{start-DaXwIgOn.js → start-Cu3aLoSf.js} +10 -10
- package/dist/{start-Fy8lVmlo.js → start-Dz7tMAl8.js} +10 -10
- package/dist/{status-XzLCn872.js → status-CaSxhxfV.js} +16 -16
- package/dist/{status-DbxQqh2e.js → status-D2C0JCX3.js} +33 -33
- package/dist/{status-iUSfyst3.js → status-DlFMsQzh.js} +3 -3
- package/dist/{status-C7YN9z1q.js → status-G0CITnKR.js} +1 -1
- package/dist/{status.update-ZVrSK04Z.js → status.update-CHjhVxJY.js} +4 -4
- package/dist/{status.update-DEtEANLh.js → status.update-DVFelehi.js} +1 -1
- package/dist/{subagent-registry-DKRVOkTv.js → subagent-registry-3Xb4el-8.js} +11 -11
- package/dist/{subagent-registry-BJzLJ6FY.js → subagent-registry-DNDhbHWi.js} +12 -12
- package/dist/{system-cli-CYypNnD9.js → system-cli-B5mt0FWa.js} +1 -1
- package/dist/{system-cli-VMfIEGoj.js → system-cli-Dg3UQ3Zz.js} +12 -12
- package/dist/{systemd-BSrHDyeU.js → systemd-RpPE0XGg.js} +2 -2
- package/dist/{systemd-hints-J3cHYZVZ.js → systemd-hints-vRInKcz9.js} +1 -1
- package/dist/{systemd-linger-CmyqQkeC.js → systemd-linger-Dzyxqsod.js} +2 -2
- package/dist/{systemd-linger-B4wBMvpg.js → systemd-linger-EujbmI5A.js} +2 -2
- package/dist/{table-DoiRPsn0.js → table-DhXHfRX2.js} +1 -1
- package/dist/{timeout-CswI_K-U.js → timeout-Ddn-5kAO.js} +2 -2
- package/dist/{tokens-C-X7wDKj.js → tokens-BaM53PEx.js} +1 -1
- package/dist/{trash-BJLK1vMn.js → trash-Bmxs1Rnm.js} +1 -1
- package/dist/{tui-cli-DN5WL85n.js → tui-cli-B9Sq5-cC.js} +1 -1
- package/dist/{tui-cli-BcsdagN8.js → tui-cli-Dw7v4JoJ.js} +18 -18
- package/dist/{tui-BfPtiXD1.js → tui-mUwDwqvd.js} +12 -12
- package/dist/{update-TxptCqk7.js → update-DF0GHG0j.js} +3 -3
- package/dist/{update-DhOF8e0Q.js → update-DoZLVjva.js} +1 -1
- package/dist/{update-check-DmODY9MR.js → update-check-D5qAKes7.js} +3 -3
- package/dist/{update-cli-DXAbudd9.js → update-cli-BNu2Oi7H.js} +39 -39
- package/dist/{update-cli-BVeg9il9.js → update-cli-D36AmALA.js} +91 -91
- package/dist/{update-runner-B2bjvdxa.js → update-runner-CNQQaTwA.js} +5 -5
- package/dist/{update-runner-CTCGT1OS.js → update-runner-CvxZmbu-.js} +3 -3
- package/dist/{usage-kVpWUUrn.js → usage-BGCwNnjk.js} +25 -25
- package/dist/{web-BGf92cSU.js → web-B5QG839O.js} +100 -100
- package/dist/{web-C4FxauVQ.js → web-Cmnvk9v0.js} +60 -60
- package/dist/{web-B1OjU-Gf.js → web-Cv2KnTnL.js} +9 -9
- package/dist/{webhooks-cli-bEG0ADkY.js → webhooks-cli-B6y89Pj_.js} +1 -1
- package/dist/{webhooks-cli-l0yqYtZW.js → webhooks-cli-BDzHON4w.js} +10 -10
- package/dist/{whatsapp-actions-CvnLgxjq.js → whatsapp-actions-C_5MwVxM.js} +10 -10
- package/dist/{whatsapp-actions-CwSwIOO3.js → whatsapp-actions-zTiVOoOV.js} +16 -16
- package/dist/{widearea-dns-NsEUNYwz.js → widearea-dns-CF1gxpJ-.js} +1 -1
- package/dist/{workspace-BTjqqJY-.js → workspace-DLna1IxR.js} +5 -5
- package/dist/{ws-log-N8R5MvGE.js → ws-log-Q4wO1Ztb.js} +2 -2
- package/package.json +1 -2
- package/dist/cli-XuLBXSur.js +0 -99
- package/dist/register.configure-D5huhRa3.js +0 -101
- /package/dist/{agents.config-DWZdxlQw.js → agents.config-jp7OLssr.js} +0 -0
- /package/dist/{auth-health-CP4Id2rW.js → auth-health-VO_MPqVX.js} +0 -0
- /package/dist/{auto-update-CUeF99gI.js → auto-update-CpF0fycd.js} +0 -0
- /package/dist/{auto-update-cgkp9ZTJ.js → auto-update-DNWdO7uF.js} +0 -0
- /package/dist/{brew-CVZkr0GU.js → brew-nqf_MiE4.js} +0 -0
- /package/dist/{budget-DxYQSekw.js → budget-CPedI-qW.js} +0 -0
- /package/dist/{budget-BWBp8Res.js → budget-CRpvqDRX.js} +0 -0
- /package/dist/{channels-status-issues-DwHRoeWL.js → channels-status-issues-DdJdO866.js} +0 -0
- /package/dist/{cli-utils-DtAxdCte.js → cli-utils-C1YHVD4o.js} +0 -0
- /package/dist/{clipboard-SCV-0V39.js → clipboard-DES8b1AM.js} +0 -0
- /package/dist/{command-format-DAaqLG8J.js → command-format-G6N2zghg.js} +0 -0
- /package/dist/{command-options-CSbuuqHr.js → command-options-BbponVnw.js} +0 -0
- /package/dist/{command-options-Cp1tf96a.js → command-options-s0gnvXnS.js} +0 -0
- /package/dist/{constants-O8yBqCBv.js → constants-Dhb6zSIV.js} +0 -0
- /package/dist/{daemon-runtime-C9KTe-Gn.js → daemon-runtime-C0tz7VAC.js} +0 -0
- /package/dist/{dangerous-tools-5ObDWy1N.js → dangerous-tools-DGTtJ_JR.js} +0 -0
- /package/dist/{dangerous-tools-Jwr7jqNw.js → dangerous-tools-DxrfTOfT.js} +0 -0
- /package/dist/{delivery-queue-B6IHz4Ry.js → delivery-queue-Bxm0nzw7.js} +0 -0
- /package/dist/{display-BDOsXu8F.js → display-Jy3UdGzA.js} +0 -0
- /package/dist/{docs-cli-B02Wm6DH.js → docs-cli-CrOaIK_H.js} +0 -0
- /package/dist/{errors-CHow2wtt.js → errors-CKaCqKga.js} +0 -0
- /package/dist/{exec-BizYYQgP.js → exec-DDmuVVNq.js} +0 -0
- /package/dist/{format-Mq6iU0_5.js → format-ByEjgyTF.js} +0 -0
- /package/dist/{format-duration-DhWzz_5b.js → format-duration-Aaj5tjJd.js} +0 -0
- /package/dist/{format-relative-C6kUHuOj.js → format-relative-79_Y1n2Y.js} +0 -0
- /package/dist/{gateway-rpc-QOe014D_.js → gateway-rpc-Dtx8HN-n.js} +0 -0
- /package/dist/{gmail-setup-utils-Bn8x7djJ.js → gmail-setup-utils-co0ppccC.js} +0 -0
- /package/dist/{health-format-DteBvzWP.js → health-format-BksT6F68.js} +0 -0
- /package/dist/{help-format-DUBI91Ti.js → help-format-BMKzarov.js} +0 -0
- /package/dist/{help-format-C4eJQd8a.js → help-format-C6cv_aZp.js} +0 -0
- /package/dist/{helpers-eJFa4K6r.js → helpers-DpEB9Mh0.js} +0 -0
- /package/dist/{helpers-DLgbkcEn.js → helpers-FMld9sBT.js} +0 -0
- /package/dist/{input-provenance-DJBdpeKk.js → input-provenance-Cy_KnBlP.js} +0 -0
- /package/dist/{is-main-Dt9DTcH1.js → is-main-yjaVwMtJ.js} +0 -0
- /package/dist/{loader-l2OBdJ8x.js → loader-Br7Vr0zn.js} +0 -0
- /package/dist/{loader-BoYxRfcW.js → loader-CkmOrXcC.js} +0 -0
- /package/dist/{logging-BuRtGUH1.js → logging-BIeRw0WR.js} +0 -0
- /package/dist/{logging-BdnOSVPD.js → logging-CY-Q5cwf.js} +0 -0
- /package/dist/{login-qr-Cc2QmLhD.js → login-qr-CevLD8cV.js} +0 -0
- /package/dist/{message-channel-w4F2b2F6.js → message-channel-dua8OOGJ.js} +0 -0
- /package/dist/{mime-B1ZoR53M.js → mime-CBg4KybI.js} +0 -0
- /package/dist/{model-param-b-DPwyNGn8.js → model-param-b-DW9f0NN8.js} +0 -0
- /package/dist/{node-match-8XZnaid6.js → node-match-BV8bTBd4.js} +0 -0
- /package/dist/{normalize-GDK8JTNW.js → normalize-_lmlBOW9.js} +0 -0
- /package/dist/{npm-registry-spec-DvJxezSJ.js → npm-registry-spec-DQd4M22q.js} +0 -0
- /package/dist/{openclaw-root-C85WMnVV.js → openclaw-root-JPvmPTf7.js} +0 -0
- /package/dist/{outbound-send-deps-ANnAhImn.js → outbound-send-deps-BfUvuWGa.js} +0 -0
- /package/dist/{parse-6-2MDhdT.js → parse-CZRwKocn.js} +0 -0
- /package/dist/{parse-log-line-Bqh1SSzC.js → parse-log-line-CvrZEK6A.js} +0 -0
- /package/dist/{parse-log-line-DUZCjXbl.js → parse-log-line-mLdat0AH.js} +0 -0
- /package/dist/{parse-port-BKB9Exlg.js → parse-port-BSOOdo7I.js} +0 -0
- /package/dist/{parse-port-DrfvwwiL.js → parse-port-Y0NK62x1.js} +0 -0
- /package/dist/{parse-timeout-Di_tcEmi.js → parse-timeout-DVPQ3n9j.js} +0 -0
- /package/dist/{paths-DcVEkYX5.js → paths-DHjlJ6cn.js} +0 -0
- /package/dist/{pi-auth-json-B1M8W1pO.js → pi-auth-json-MruLmI_X.js} +0 -0
- /package/dist/{pi-model-discovery-DsRqYJLy.js → pi-model-discovery-DzEIEgHL.js} +0 -0
- /package/dist/{plugin-auto-enable-d9eDmGOX.js → plugin-auto-enable-CjZ238UI.js} +0 -0
- /package/dist/{plugins-CDJw924T.js → plugins-D6PBOdkn.js} +0 -0
- /package/dist/{program-context-Bvn8046-.js → program-context-Q1hkT73c.js} +0 -0
- /package/dist/{progress-CbZ2D53A.js → progress-C9Ha1NJh.js} +0 -0
- /package/dist/{prompt-style-D6u56SjJ.js → prompt-style-Cm4wOtKm.js} +0 -0
- /package/dist/{prompt-style-DKy6qQxR.js → prompt-style-DQi8j03a.js} +0 -0
- /package/dist/{prompts-BI__va99.js → prompts-BEHxUC3w.js} +0 -0
- /package/dist/{prompts-_dDWkCAz.js → prompts-CSOhuiqe.js} +0 -0
- /package/dist/{pw-ai-CbEgFH-G.js → pw-ai-BWz3Cxt7.js} +0 -0
- /package/dist/{qmd-manager-DPslO6i9.js → qmd-manager-BcMeZiGD.js} +0 -0
- /package/dist/{queue-D_u34pbL.js → queue-BJGo7kAB.js} +0 -0
- /package/dist/{queue-PG591iID.js → queue-DYgUbdoq.js} +0 -0
- /package/dist/{redact-ClVwO7Nn.js → redact-CyKvdFrg.js} +0 -0
- /package/dist/{registry-Bs_DJK9E.js → registry-C5MAYD4V.js} +0 -0
- /package/dist/{registry-D_zlP1U-.js → registry-CRrXXVs0.js} +0 -0
- /package/dist/{requirements-BzZxj2Wu.js → requirements-CGkxTCu4.js} +0 -0
- /package/dist/{requirements-DIW1svgA.js → requirements-CIDaOcbO.js} +0 -0
- /package/dist/{rpc-aBUUQWC3.js → rpc-DgE-xnyx.js} +0 -0
- /package/dist/{runtime-guard-DeOXA_86.js → runtime-guard-nL3Lp8T-.js} +0 -0
- /package/dist/{secret-equal-Dghy3xsA.js → secret-equal-DJpmLXlG.js} +0 -0
- /package/dist/{send-BhAfdGII.js → send-CTcxgDDU.js} +0 -0
- /package/dist/{send-ga9udK1_.js → send-DPezUR3-.js} +0 -0
- /package/dist/{send-C2t9xpXI.js → send-DZQTaG7-.js} +0 -0
- /package/dist/{send-DigO-i9j.js → send-VDff2gra.js} +0 -0
- /package/dist/{send-Dz2BDHll.js → send-bgQNV8d1.js} +0 -0
- /package/dist/{session-key-BGiG_JcT.js → session-key-CQT-NR6w.js} +0 -0
- /package/dist/{shared-DwguvoZP.js → shared-DxNHzky3.js} +0 -0
- /package/dist/{shell-argv-CAq1mLa2.js → shell-argv-n9IueeJQ.js} +0 -0
- /package/dist/{skill-scanner-Coo4QoCd.js → skill-scanner-o6NgVMD9.js} +0 -0
- /package/dist/{status-CMnlcBVc.js → status-C53kTIXF.js} +0 -0
- /package/dist/{status-tDZPwewW.js → status-CZDDA_Sy.js} +0 -0
- /package/dist/{system-run-command-X9lDJIy0.js → system-run-command-BCjUffN9.js} +0 -0
- /package/dist/{system-run-command-DGk7dwQP.js → system-run-command-CqAqKL9K.js} +0 -0
- /package/dist/{systemd-BVVNFIBH.js → systemd-B43AvOGx.js} +0 -0
- /package/dist/{systemd-hints-Mpt5QteE.js → systemd-hints-DMJT-Bbc.js} +0 -0
- /package/dist/{table-B_wVcaLO.js → table-bWCLW-3P.js} +0 -0
- /package/dist/{tailnet-CuiNECdL.js → tailnet-Ciwjv243.js} +0 -0
- /package/dist/{templates-CeYJjVzw.js → templates-37RKpACb.js} +0 -0
- /package/dist/{templates-I3Z0xplD.js → templates-DPalk30o.js} +0 -0
- /package/dist/{thinking-BXEswx1X.js → thinking-2hxwmvTl.js} +0 -0
- /package/dist/{transcript-events-C1hdue6u.js → transcript-events-Bp7fGnwv.js} +0 -0
- /package/dist/{transcript-tools-DuyYOkUq.js → transcript-tools-D4Lbxlka.js} +0 -0
- /package/dist/{tui-r0_5VL_h.js → tui-BHgBWhHE.js} +0 -0
- /package/dist/{update-check-DlDloai0.js → update-check-Bt1dVPVN.js} +0 -0
- /package/dist/{usage-format-BAirWUSO.js → usage-format-6Uar63S0.js} +0 -0
- /package/dist/{utils-C9sj30YY.js → utils-DT8uXjFS.js} +0 -0
- /package/dist/{whatsapp-actions-DsoA_Bad.js → whatsapp-actions-hgYA12To.js} +0 -0
- /package/dist/{widearea-dns-1txrPZ0I.js → widearea-dns-BeIdnISJ.js} +0 -0
- /package/dist/{ws-log-BffL5dN_.js → ws-log-xF0kxDzp.js} +0 -0
- /package/dist/{wsl-CqyuRvtM.js → wsl-CrPvx2kZ.js} +0 -0
- /package/dist/{wsl-ymJYvc9Q.js → wsl-UvJ5dHah.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as resolveOAuthDir, n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { C as normalizeAccountId, _ as DEFAULT_AGENT_ID, g as DEFAULT_ACCOUNT_ID, w as normalizeAgentId } from "./workspace-
|
|
3
|
-
import { J as info, L as resolveConfigDir, M as isRecord, P as jidToE164, Q as success, b as normalizeChatChannelId, j as isPlainObject$2, m as CHANNEL_IDS, nt as getChildLogger, u as defaultRuntime, z as resolveUserPath } from "./exec-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { a as resolveOAuthDir, n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DA9WYabg.js";
|
|
2
|
+
import { C as normalizeAccountId, _ as DEFAULT_AGENT_ID, g as DEFAULT_ACCOUNT_ID, w as normalizeAgentId } from "./workspace-DLna1IxR.js";
|
|
3
|
+
import { J as info, L as resolveConfigDir, M as isRecord, P as jidToE164, Q as success, b as normalizeChatChannelId, j as isPlainObject$2, m as CHANNEL_IDS, nt as getChildLogger, u as defaultRuntime, z as resolveUserPath } from "./exec-B7sUS164.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-cj2QCT6R.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CP1YTNCl.js";
|
|
6
|
-
import { F as shouldEnableShellEnvFallback, L as DEFAULT_CONTEXT_TOKENS, M as loadShellEnvFallback, N as resolveShellEnvFallbackTimeoutMs, P as shouldDeferShellEnvFallback, y as parseModelRef } from "./auth-profiles-
|
|
6
|
+
import { F as shouldEnableShellEnvFallback, L as DEFAULT_CONTEXT_TOKENS, M as loadShellEnvFallback, N as resolveShellEnvFallbackTimeoutMs, P as shouldDeferShellEnvFallback, y as parseModelRef } from "./auth-profiles-BDrNYX_n.js";
|
|
7
7
|
import { n as MANIFEST_KEY } from "./legacy-names-CKU7tKQR.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import fsSync from "node:fs";
|
|
13
13
|
import JSON5 from "json5";
|
|
14
14
|
import { isDeepStrictEqual } from "node:util";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
@@ -31,10 +31,10 @@ function resolveWebCredsBackupPath(authDir) {
|
|
|
31
31
|
}
|
|
32
32
|
function readCredsJsonRaw(filePath) {
|
|
33
33
|
try {
|
|
34
|
-
if (!
|
|
35
|
-
const stats =
|
|
34
|
+
if (!fsSync.existsSync(filePath)) return null;
|
|
35
|
+
const stats = fsSync.statSync(filePath);
|
|
36
36
|
if (!stats.isFile() || stats.size <= 1) return null;
|
|
37
|
-
return
|
|
37
|
+
return fsSync.readFileSync(filePath, "utf-8");
|
|
38
38
|
} catch {
|
|
39
39
|
return null;
|
|
40
40
|
}
|
|
@@ -52,9 +52,9 @@ function maybeRestoreCredsFromBackup(authDir) {
|
|
|
52
52
|
const backupRaw = readCredsJsonRaw(backupPath);
|
|
53
53
|
if (!backupRaw) return;
|
|
54
54
|
JSON.parse(backupRaw);
|
|
55
|
-
|
|
55
|
+
fsSync.copyFileSync(backupPath, credsPath);
|
|
56
56
|
try {
|
|
57
|
-
|
|
57
|
+
fsSync.chmodSync(credsPath, 384);
|
|
58
58
|
} catch {}
|
|
59
59
|
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
60
60
|
} catch {}
|
|
@@ -110,11 +110,11 @@ async function logoutWeb(params) {
|
|
|
110
110
|
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
111
111
|
try {
|
|
112
112
|
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
113
|
-
if (!
|
|
113
|
+
if (!fsSync.existsSync(credsPath)) return {
|
|
114
114
|
e164: null,
|
|
115
115
|
jid: null
|
|
116
116
|
};
|
|
117
|
-
const raw =
|
|
117
|
+
const raw = fsSync.readFileSync(credsPath, "utf-8");
|
|
118
118
|
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
119
119
|
return {
|
|
120
120
|
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
@@ -133,7 +133,7 @@ function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
|
133
133
|
*/
|
|
134
134
|
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
135
135
|
try {
|
|
136
|
-
const stats =
|
|
136
|
+
const stats = fsSync.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
137
137
|
return Date.now() - stats.mtimeMs;
|
|
138
138
|
} catch {
|
|
139
139
|
return null;
|
|
@@ -181,7 +181,7 @@ function resolveLegacyAuthDir() {
|
|
|
181
181
|
}
|
|
182
182
|
function legacyAuthExists(authDir) {
|
|
183
183
|
try {
|
|
184
|
-
return
|
|
184
|
+
return fsSync.existsSync(path.join(authDir, "creds.json"));
|
|
185
185
|
} catch {
|
|
186
186
|
return false;
|
|
187
187
|
}
|
|
@@ -244,7 +244,7 @@ function loadDotEnv(opts) {
|
|
|
244
244
|
const quiet = opts?.quiet ?? true;
|
|
245
245
|
dotenv.config({ quiet });
|
|
246
246
|
const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
|
|
247
|
-
if (!
|
|
247
|
+
if (!fsSync.existsSync(globalEnvPath)) return;
|
|
248
248
|
dotenv.config({
|
|
249
249
|
quiet,
|
|
250
250
|
path: globalEnvPath,
|
|
@@ -374,7 +374,7 @@ const DEFAULT_SUBAGENT_MAX_CONCURRENT = 8;
|
|
|
374
374
|
//#endregion
|
|
375
375
|
//#region src/config/talk.ts
|
|
376
376
|
function readTalkApiKeyFromProfile(deps = {}) {
|
|
377
|
-
const fsImpl = deps.fs ??
|
|
377
|
+
const fsImpl = deps.fs ?? fsSync;
|
|
378
378
|
const osImpl = deps.os ?? os;
|
|
379
379
|
const pathImpl = deps.path ?? path;
|
|
380
380
|
const home = osImpl.homedir();
|
|
@@ -1071,7 +1071,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
};
|
|
1073
1073
|
const defaultResolver = {
|
|
1074
|
-
readFile: (p) =>
|
|
1074
|
+
readFile: (p) => fsSync.readFileSync(p, "utf-8"),
|
|
1075
1075
|
parseJson: (raw) => JSON5.parse(raw)
|
|
1076
1076
|
};
|
|
1077
1077
|
/**
|
|
@@ -2308,13 +2308,13 @@ function resolveBundledPluginsDir() {
|
|
|
2308
2308
|
try {
|
|
2309
2309
|
const execDir = path.dirname(process.execPath);
|
|
2310
2310
|
const sibling = path.join(execDir, "extensions");
|
|
2311
|
-
if (
|
|
2311
|
+
if (fsSync.existsSync(sibling)) return sibling;
|
|
2312
2312
|
} catch {}
|
|
2313
2313
|
try {
|
|
2314
2314
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
2315
2315
|
for (let i = 0; i < 6; i += 1) {
|
|
2316
2316
|
const candidate = path.join(cursor, "extensions");
|
|
2317
|
-
if (
|
|
2317
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
2318
2318
|
const parent = path.dirname(cursor);
|
|
2319
2319
|
if (parent === cursor) break;
|
|
2320
2320
|
cursor = parent;
|
|
@@ -2333,20 +2333,20 @@ function normalizeStringList(value) {
|
|
|
2333
2333
|
function resolvePluginManifestPath(rootDir) {
|
|
2334
2334
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
2335
2335
|
const candidate = path.join(rootDir, filename);
|
|
2336
|
-
if (
|
|
2336
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
2337
2337
|
}
|
|
2338
2338
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
2339
2339
|
}
|
|
2340
2340
|
function loadPluginManifest(rootDir) {
|
|
2341
2341
|
const manifestPath = resolvePluginManifestPath(rootDir);
|
|
2342
|
-
if (!
|
|
2342
|
+
if (!fsSync.existsSync(manifestPath)) return {
|
|
2343
2343
|
ok: false,
|
|
2344
2344
|
error: `plugin manifest not found: ${manifestPath}`,
|
|
2345
2345
|
manifestPath
|
|
2346
2346
|
};
|
|
2347
2347
|
let raw;
|
|
2348
2348
|
try {
|
|
2349
|
-
raw = JSON.parse(
|
|
2349
|
+
raw = JSON.parse(fsSync.readFileSync(manifestPath, "utf-8"));
|
|
2350
2350
|
} catch (err) {
|
|
2351
2351
|
return {
|
|
2352
2352
|
ok: false,
|
|
@@ -2419,9 +2419,9 @@ function isExtensionFile(filePath) {
|
|
|
2419
2419
|
}
|
|
2420
2420
|
function readPackageManifest(dir) {
|
|
2421
2421
|
const manifestPath = path.join(dir, "package.json");
|
|
2422
|
-
if (!
|
|
2422
|
+
if (!fsSync.existsSync(manifestPath)) return null;
|
|
2423
2423
|
try {
|
|
2424
|
-
const raw =
|
|
2424
|
+
const raw = fsSync.readFileSync(manifestPath, "utf-8");
|
|
2425
2425
|
return JSON.parse(raw);
|
|
2426
2426
|
} catch {
|
|
2427
2427
|
return null;
|
|
@@ -2459,10 +2459,10 @@ function addCandidate(params) {
|
|
|
2459
2459
|
});
|
|
2460
2460
|
}
|
|
2461
2461
|
function discoverInDirectory(params) {
|
|
2462
|
-
if (!
|
|
2462
|
+
if (!fsSync.existsSync(params.dir)) return;
|
|
2463
2463
|
let entries = [];
|
|
2464
2464
|
try {
|
|
2465
|
-
entries =
|
|
2465
|
+
entries = fsSync.readdirSync(params.dir, { withFileTypes: true });
|
|
2466
2466
|
} catch (err) {
|
|
2467
2467
|
params.diagnostics.push({
|
|
2468
2468
|
level: "warn",
|
|
@@ -2514,7 +2514,7 @@ function discoverInDirectory(params) {
|
|
|
2514
2514
|
"index.js",
|
|
2515
2515
|
"index.mjs",
|
|
2516
2516
|
"index.cjs"
|
|
2517
|
-
].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
2517
|
+
].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
2518
2518
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
2519
2519
|
candidates: params.candidates,
|
|
2520
2520
|
seen: params.seen,
|
|
@@ -2530,7 +2530,7 @@ function discoverInDirectory(params) {
|
|
|
2530
2530
|
}
|
|
2531
2531
|
function discoverFromPath(params) {
|
|
2532
2532
|
const resolved = resolveUserPath(params.rawPath);
|
|
2533
|
-
if (!
|
|
2533
|
+
if (!fsSync.existsSync(resolved)) {
|
|
2534
2534
|
params.diagnostics.push({
|
|
2535
2535
|
level: "error",
|
|
2536
2536
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -2538,7 +2538,7 @@ function discoverFromPath(params) {
|
|
|
2538
2538
|
});
|
|
2539
2539
|
return;
|
|
2540
2540
|
}
|
|
2541
|
-
const stat =
|
|
2541
|
+
const stat = fsSync.statSync(resolved);
|
|
2542
2542
|
if (stat.isFile()) {
|
|
2543
2543
|
if (!isExtensionFile(resolved)) {
|
|
2544
2544
|
params.diagnostics.push({
|
|
@@ -2588,7 +2588,7 @@ function discoverFromPath(params) {
|
|
|
2588
2588
|
"index.js",
|
|
2589
2589
|
"index.mjs",
|
|
2590
2590
|
"index.cjs"
|
|
2591
|
-
].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
2591
|
+
].map((candidate) => path.join(resolved, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
2592
2592
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
2593
2593
|
addCandidate({
|
|
2594
2594
|
candidates: params.candidates,
|
|
@@ -2678,7 +2678,7 @@ function safeRealpathSync(rootDir, cache) {
|
|
|
2678
2678
|
const cached = cache.get(rootDir);
|
|
2679
2679
|
if (cached) return cached;
|
|
2680
2680
|
try {
|
|
2681
|
-
const resolved =
|
|
2681
|
+
const resolved = fsSync.realpathSync(rootDir);
|
|
2682
2682
|
cache.set(rootDir, resolved);
|
|
2683
2683
|
return resolved;
|
|
2684
2684
|
} catch {
|
|
@@ -2704,7 +2704,7 @@ function buildCacheKey(params) {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
function safeStatMtimeMs(filePath) {
|
|
2706
2706
|
try {
|
|
2707
|
-
return
|
|
2707
|
+
return fsSync.statSync(filePath).mtimeMs;
|
|
2708
2708
|
} catch {
|
|
2709
2709
|
return null;
|
|
2710
2710
|
}
|
|
@@ -6060,7 +6060,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
6060
6060
|
}
|
|
6061
6061
|
function normalizeDeps(overrides = {}) {
|
|
6062
6062
|
return {
|
|
6063
|
-
fs: overrides.fs ??
|
|
6063
|
+
fs: overrides.fs ?? fsSync,
|
|
6064
6064
|
json5: overrides.json5 ?? JSON5,
|
|
6065
6065
|
env: overrides.env ?? process.env,
|
|
6066
6066
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as listServers } from "./registry-
|
|
3
|
-
import { existsSync } from "node:fs";
|
|
2
|
+
import { t as listServers } from "./registry-CRrXXVs0.js";
|
|
4
3
|
import { homedir } from "node:os";
|
|
5
4
|
import { join } from "node:path";
|
|
5
|
+
import { existsSync } from "node:fs";
|
|
6
6
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/mcp/config-sync.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as listServers } from "./registry-
|
|
2
|
+
import { t as listServers } from "./registry-C5MAYD4V.js";
|
|
3
|
+
import { existsSync } from "node:fs";
|
|
3
4
|
import { homedir } from "node:os";
|
|
4
5
|
import { join } from "node:path";
|
|
5
|
-
import { existsSync } from "node:fs";
|
|
6
6
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/mcp/config-sync.ts
|
|
@@ -8,20 +8,20 @@ import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } fr
|
|
|
8
8
|
import { f as findTailscaleBinary } from "./auth-BNZsOHGF.js";
|
|
9
9
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DhcGAPDB.js";
|
|
10
10
|
import { n as withProgress } from "./progress-oiAjiiNi.js";
|
|
11
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
12
|
-
import { t as note$1 } from "./note-
|
|
13
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
14
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
15
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
17
|
-
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, f as printWizardHeader, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
19
|
-
import { c as promptCustomApiConfig, d as applyModelFallbacksFromSelection, f as applyPrimaryModel, i as promptRemoteGatewayConfig, m as promptModelAllowlist, n as setupSkills, p as promptDefaultModel, t as validateIPv4AddressInput, u as applyModelAllowlist } from "./ipv4-
|
|
20
|
-
import { r as healthCommand } from "./health-
|
|
21
|
-
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
22
|
-
import { r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-
|
|
23
|
-
import { n as logConfigUpdated } from "./logging-
|
|
24
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
11
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-Cm4wOtKm.js";
|
|
12
|
+
import { t as note$1 } from "./note-CSlg2BnB.js";
|
|
13
|
+
import { t as WizardCancelledError } from "./prompts-CSOhuiqe.js";
|
|
14
|
+
import { t as createClackPrompter } from "./clack-prompter-Dwr1m_IZ.js";
|
|
15
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-C4iSfFXR.js";
|
|
16
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-C0tz7VAC.js";
|
|
17
|
+
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, f as printWizardHeader, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-Dgh26hgP.js";
|
|
18
|
+
import { t as resolveGatewayService } from "./service-DxLxBhaU.js";
|
|
19
|
+
import { c as promptCustomApiConfig, d as applyModelFallbacksFromSelection, f as applyPrimaryModel, i as promptRemoteGatewayConfig, m as promptModelAllowlist, n as setupSkills, p as promptDefaultModel, t as validateIPv4AddressInput, u as applyModelAllowlist } from "./ipv4-DSOUVx0i.js";
|
|
20
|
+
import { r as healthCommand } from "./health-Bm8ZTvC3.js";
|
|
21
|
+
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-BksT6F68.js";
|
|
22
|
+
import { r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-5VnaGMD-.js";
|
|
23
|
+
import { n as logConfigUpdated } from "./logging-BIeRw0WR.js";
|
|
24
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Dzyxqsod.js";
|
|
25
25
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
26
26
|
|
|
27
27
|
//#region src/commands/configure.shared.ts
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { R as CONFIG_PATH, h as defaultRuntime, q as resolveGatewayPort } from "./entry.js";
|
|
3
|
-
import { h as ensureAuthProfileStore } from "./auth-profiles-
|
|
4
|
-
import { t as formatCliCommand } from "./command-format-
|
|
5
|
-
import { S as shortenHomePath, y as resolveUserPath } from "./utils-
|
|
6
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
7
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
8
|
-
import { f as findTailscaleBinary } from "./auth-
|
|
9
|
-
import { n as withProgress } from "./progress-
|
|
10
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
11
|
-
import { t as note$1 } from "./note-
|
|
12
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
13
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
14
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
15
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
-
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, f as printWizardHeader, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-
|
|
17
|
-
import { t as resolveGatewayService } from "./service-
|
|
18
|
-
import { c as promptCustomApiConfig, d as applyModelFallbacksFromSelection, f as applyPrimaryModel, i as promptRemoteGatewayConfig, m as promptModelAllowlist, n as setupSkills, p as promptDefaultModel, t as validateIPv4AddressInput, u as applyModelAllowlist } from "./ipv4-
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
20
|
-
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
21
|
-
import { r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-
|
|
22
|
-
import { n as logConfigUpdated } from "./logging-
|
|
23
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
3
|
+
import { h as ensureAuthProfileStore } from "./auth-profiles-CxSHydjn.js";
|
|
4
|
+
import { t as formatCliCommand } from "./command-format-G6N2zghg.js";
|
|
5
|
+
import { S as shortenHomePath, y as resolveUserPath } from "./utils-DT8uXjFS.js";
|
|
6
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CU-Axg8P.js";
|
|
7
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-D6PBOdkn.js";
|
|
8
|
+
import { f as findTailscaleBinary } from "./auth-DMPZWzEa.js";
|
|
9
|
+
import { n as withProgress } from "./progress-C9Ha1NJh.js";
|
|
10
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DQi8j03a.js";
|
|
11
|
+
import { t as note$1 } from "./note-Ctvglhp1.js";
|
|
12
|
+
import { t as WizardCancelledError } from "./prompts-BEHxUC3w.js";
|
|
13
|
+
import { t as createClackPrompter } from "./clack-prompter-BI3RDW5w.js";
|
|
14
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-oVTVgoyg.js";
|
|
15
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-rUTqCVwJ.js";
|
|
16
|
+
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, f as printWizardHeader, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-B8roRwLP.js";
|
|
17
|
+
import { t as resolveGatewayService } from "./service-CJJwLEor.js";
|
|
18
|
+
import { c as promptCustomApiConfig, d as applyModelFallbacksFromSelection, f as applyPrimaryModel, i as promptRemoteGatewayConfig, m as promptModelAllowlist, n as setupSkills, p as promptDefaultModel, t as validateIPv4AddressInput, u as applyModelAllowlist } from "./ipv4-DCItfaJo.js";
|
|
19
|
+
import { r as healthCommand } from "./health-DUf1gt4E.js";
|
|
20
|
+
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-uzh1xYLD.js";
|
|
21
|
+
import { r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-DA2k4vs8.js";
|
|
22
|
+
import { n as logConfigUpdated } from "./logging-C7lb3Vjc.js";
|
|
23
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-EujbmI5A.js";
|
|
24
24
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
25
25
|
|
|
26
26
|
//#region src/commands/configure.shared.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as resolveAnimaAgentDir } from "./auth-profiles-
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
1
|
+
import { b as resolveAnimaAgentDir } from "./auth-profiles-CxSHydjn.js";
|
|
2
|
+
import { i as loadConfig } from "./config-CU-Axg8P.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -41,7 +41,7 @@ async function ensureAnimaModelsJson(config, agentDirOverride) {
|
|
|
41
41
|
const MODEL_CACHE = /* @__PURE__ */ new Map();
|
|
42
42
|
(async () => {
|
|
43
43
|
try {
|
|
44
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
44
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DzEIEgHL.js").then((n) => n.r);
|
|
45
45
|
await ensureAnimaModelsJson(loadConfig());
|
|
46
46
|
const agentDir = resolveAnimaAgentDir();
|
|
47
47
|
const models = discoverModels(discoverAuthStorage(agentDir), agentDir).getAll();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { c as resolveProfile, i as ensureBrowserControlAuth, n as listKnownProfileNames, s as resolveBrowserConfig, t as createBrowserRouteContext } from "./server-context-
|
|
5
|
-
import { _ as ensureChromeExtensionRelayServer } from "./chrome-
|
|
3
|
+
import { i as loadConfig } from "./config-CU-Axg8P.js";
|
|
4
|
+
import { c as resolveProfile, i as ensureBrowserControlAuth, n as listKnownProfileNames, s as resolveBrowserConfig, t as createBrowserRouteContext } from "./server-context-DVh2z7om.js";
|
|
5
|
+
import { _ as ensureChromeExtensionRelayServer } from "./chrome-C4dOMO8z.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/control-service.ts
|
|
8
8
|
var control_service_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -64,7 +64,7 @@ async function stopBrowserControlService() {
|
|
|
64
64
|
}
|
|
65
65
|
state = null;
|
|
66
66
|
try {
|
|
67
|
-
await (await import("./pw-ai-
|
|
67
|
+
await (await import("./pw-ai-C83HBue2.js")).closePlaywrightBrowserConnection();
|
|
68
68
|
} catch {}
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
3
3
|
import { i as loadConfig } from "./config-DaqbUdkI.js";
|
|
4
4
|
import { _ as ensureChromeExtensionRelayServer } from "./chrome-U3DRzjJD.js";
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-C0xZbYhg.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/control-service.ts
|
|
8
8
|
var control_service_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -64,7 +64,7 @@ async function stopBrowserControlService() {
|
|
|
64
64
|
}
|
|
65
65
|
state = null;
|
|
66
66
|
try {
|
|
67
|
-
await (await import("./pw-ai-
|
|
67
|
+
await (await import("./pw-ai-BWz3Cxt7.js")).closePlaywrightBrowserConnection();
|
|
68
68
|
} catch {}
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { A as colorize, M as theme, b as danger, h as defaultRuntime, j as isRich } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import { p as sanitizeAgentId } from "./session-key-
|
|
4
|
-
import "./utils-
|
|
5
|
-
import "./exec-
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./manifest-registry-
|
|
8
|
-
import "./config-
|
|
9
|
-
import "./client-
|
|
10
|
-
import "./call-
|
|
11
|
-
import "./message-channel-
|
|
12
|
-
import "./logging-
|
|
13
|
-
import "./accounts-
|
|
14
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
15
|
-
import { n as formatDurationHuman } from "./format-duration-
|
|
16
|
-
import { t as formatDocsLink } from "./links-
|
|
17
|
-
import "./progress-
|
|
18
|
-
import { t as parseAbsoluteTimeMs } from "./parse-
|
|
19
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
-
import { n as parsePositiveIntOrUndefined } from "./helpers-
|
|
2
|
+
import "./auth-profiles-CxSHydjn.js";
|
|
3
|
+
import { p as sanitizeAgentId } from "./session-key-CQT-NR6w.js";
|
|
4
|
+
import "./utils-DT8uXjFS.js";
|
|
5
|
+
import "./exec-DDmuVVNq.js";
|
|
6
|
+
import "./agent-scope-DZgptr9J.js";
|
|
7
|
+
import "./manifest-registry-DbvPaBXY.js";
|
|
8
|
+
import "./config-CU-Axg8P.js";
|
|
9
|
+
import "./client-Dswwze5_.js";
|
|
10
|
+
import "./call-BIzCaKZb.js";
|
|
11
|
+
import "./message-channel-dua8OOGJ.js";
|
|
12
|
+
import "./logging-CY-Q5cwf.js";
|
|
13
|
+
import "./accounts-D8CPKNkN.js";
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-D6PBOdkn.js";
|
|
15
|
+
import { n as formatDurationHuman } from "./format-duration-Aaj5tjJd.js";
|
|
16
|
+
import { t as formatDocsLink } from "./links-CNu_8RZl.js";
|
|
17
|
+
import "./progress-C9Ha1NJh.js";
|
|
18
|
+
import { t as parseAbsoluteTimeMs } from "./parse-CZRwKocn.js";
|
|
19
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-L2PVSqGj.js";
|
|
20
|
+
import { n as parsePositiveIntOrUndefined } from "./helpers-FMld9sBT.js";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/cron-cli/shared.ts
|
|
23
23
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -20,7 +20,7 @@ import { t as formatDocsLink } from "./links-D2tt2ouh.js";
|
|
|
20
20
|
import "./progress-oiAjiiNi.js";
|
|
21
21
|
import { t as parseAbsoluteTimeMs } from "./parse-CpunmTOS.js";
|
|
22
22
|
import { n as parsePositiveIntOrUndefined } from "./helpers-9N2Q5aZj.js";
|
|
23
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
23
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-Dtx8HN-n.js";
|
|
24
24
|
|
|
25
25
|
//#region src/cli/cron-cli/shared.ts
|
|
26
26
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $ as resolveStateDir, A as colorize, F as getResolvedLoggerSettings, J as resolveIsNixMode, M as theme, U as resolveConfigPath, h as defaultRuntime, j as isRich, q as resolveGatewayPort } from "./entry.js";
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
4
|
-
import { S as shortenHomePath } from "./utils-
|
|
5
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
6
|
-
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
7
|
-
import { n as callGateway } from "./call-
|
|
8
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
9
|
-
import { c as resolveGatewayBindHost } from "./net-
|
|
10
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
11
|
-
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-
|
|
12
|
-
import { t as formatDocsLink } from "./links-
|
|
13
|
-
import { n as withProgress } from "./progress-
|
|
14
|
-
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-
|
|
15
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
-
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-
|
|
17
|
-
import { n as isWSLEnv } from "./wsl-
|
|
18
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
19
|
-
import { a as filterDaemonEnv, c as pickProbeHostForBind, d as safeDaemonEnv, f as buildDaemonServiceSnapshot, i as runServiceUninstall, l as renderGatewayServiceStartHints, n as runServiceStart, o as normalizeListenerAddress, p as createDaemonActionContext, r as runServiceStop, s as parsePortFromArgs, t as runServiceRestart, u as renderRuntimeHints } from "./lifecycle-core-
|
|
20
|
-
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
21
|
-
import { t as parsePort } from "./parse-port-
|
|
22
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
23
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-G6N2zghg.js";
|
|
4
|
+
import { S as shortenHomePath } from "./utils-DT8uXjFS.js";
|
|
5
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-CU-Axg8P.js";
|
|
6
|
+
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-Ciwjv243.js";
|
|
7
|
+
import { n as callGateway } from "./call-BIzCaKZb.js";
|
|
8
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-dua8OOGJ.js";
|
|
9
|
+
import { c as resolveGatewayBindHost } from "./net-0A_zcaQD.js";
|
|
10
|
+
import { i as resolveGatewayAuth } from "./auth-DMPZWzEa.js";
|
|
11
|
+
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-vd93M_Pt.js";
|
|
12
|
+
import { t as formatDocsLink } from "./links-CNu_8RZl.js";
|
|
13
|
+
import { n as withProgress } from "./progress-C9Ha1NJh.js";
|
|
14
|
+
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-Dhb6zSIV.js";
|
|
15
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-rUTqCVwJ.js";
|
|
16
|
+
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-B8roRwLP.js";
|
|
17
|
+
import { n as isWSLEnv } from "./wsl-CrPvx2kZ.js";
|
|
18
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CJJwLEor.js";
|
|
19
|
+
import { a as filterDaemonEnv, c as pickProbeHostForBind, d as safeDaemonEnv, f as buildDaemonServiceSnapshot, i as runServiceUninstall, l as renderGatewayServiceStartHints, n as runServiceStart, o as normalizeListenerAddress, p as createDaemonActionContext, r as runServiceStop, s as parsePortFromArgs, t as runServiceRestart, u as renderRuntimeHints } from "./lifecycle-core-TQKyXO-6.js";
|
|
20
|
+
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-vRInKcz9.js";
|
|
21
|
+
import { t as parsePort } from "./parse-port-BSOOdo7I.js";
|
|
22
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DxMFrBLO.js";
|
|
23
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-DB4Y3Ekp.js";
|
|
24
24
|
|
|
25
25
|
//#region src/cli/daemon-cli/install.ts
|
|
26
26
|
async function runDaemonInstall(opts) {
|
|
@@ -13,15 +13,15 @@ import { n as callGateway } from "./call-BYDpTVCZ.js";
|
|
|
13
13
|
import { t as formatDocsLink } from "./links-D2tt2ouh.js";
|
|
14
14
|
import { n as withProgress } from "./progress-oiAjiiNi.js";
|
|
15
15
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-BwBn5CGe.js";
|
|
16
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
17
|
-
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-
|
|
18
|
-
import { n as isWSLEnv } from "./wsl-
|
|
19
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
20
|
-
import { a as filterDaemonEnv, c as pickProbeHostForBind, d as safeDaemonEnv, f as buildDaemonServiceSnapshot, i as runServiceUninstall, l as renderGatewayServiceStartHints, n as runServiceStart, o as normalizeListenerAddress, p as createDaemonActionContext, r as runServiceStop, s as parsePortFromArgs, t as runServiceRestart, u as renderRuntimeHints } from "./lifecycle-core-
|
|
21
|
-
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
22
|
-
import { t as parsePort } from "./parse-port-
|
|
23
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
24
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-
|
|
16
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-C0tz7VAC.js";
|
|
17
|
+
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-Dgh26hgP.js";
|
|
18
|
+
import { n as isWSLEnv } from "./wsl-UvJ5dHah.js";
|
|
19
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-DxLxBhaU.js";
|
|
20
|
+
import { a as filterDaemonEnv, c as pickProbeHostForBind, d as safeDaemonEnv, f as buildDaemonServiceSnapshot, i as runServiceUninstall, l as renderGatewayServiceStartHints, n as runServiceStart, o as normalizeListenerAddress, p as createDaemonActionContext, r as runServiceStop, s as parsePortFromArgs, t as runServiceRestart, u as renderRuntimeHints } from "./lifecycle-core-BY4WIf9g.js";
|
|
21
|
+
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DMJT-Bbc.js";
|
|
22
|
+
import { t as parsePort } from "./parse-port-Y0NK62x1.js";
|
|
23
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-m79ZlMmZ.js";
|
|
24
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-M8y4TXVb.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/daemon-cli/install.ts
|
|
27
27
|
async function runDaemonInstall(opts) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
-
import { M as VERSION, k as collectConfigEnvVars } from "./config-
|
|
3
|
-
import { a as NODE_SERVICE_MARKER, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-
|
|
4
|
-
import { n as isSupportedNodeVersion } from "./runtime-guard-
|
|
1
|
+
import { t as formatCliCommand } from "./command-format-G6N2zghg.js";
|
|
2
|
+
import { M as VERSION, k as collectConfigEnvVars } from "./config-CU-Axg8P.js";
|
|
3
|
+
import { a as NODE_SERVICE_MARKER, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-Dhb6zSIV.js";
|
|
4
|
+
import { n as isSupportedNodeVersion } from "./runtime-guard-nL3Lp8T-.js";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { promisify } from "node:util";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { C as normalizeAccountId$1 } from "./workspace-
|
|
4
|
-
import { l as createSubsystemLogger, x as getActivePluginRegistry } from "./exec-
|
|
5
|
-
import { H as isSilentReplyText, V as SILENT_REPLY_TOKEN, k as getChannelDock, n as appendAssistantMessageToSessionTranscript, r as resolveMirroredTranscriptText } from "./sessions-
|
|
6
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
7
|
-
import { a as chunkMarkdownTextWithMode, c as resolveChunkMode, l as resolveTextChunkLimit, r as chunkByParagraph, t as resolveMarkdownTableMode, u as parseFenceSpans } from "./markdown-tables-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-DA9WYabg.js";
|
|
3
|
+
import { C as normalizeAccountId$1 } from "./workspace-DLna1IxR.js";
|
|
4
|
+
import { l as createSubsystemLogger, x as getActivePluginRegistry } from "./exec-B7sUS164.js";
|
|
5
|
+
import { H as isSilentReplyText, V as SILENT_REPLY_TOKEN, k as getChannelDock, n as appendAssistantMessageToSessionTranscript, r as resolveMirroredTranscriptText } from "./sessions-wRKla1Qh.js";
|
|
6
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DtghNRtM.js";
|
|
7
|
+
import { a as chunkMarkdownTextWithMode, c as resolveChunkMode, l as resolveTextChunkLimit, r as chunkByParagraph, t as resolveMarkdownTableMode, u as parseFenceSpans } from "./markdown-tables-CqwihY2m.js";
|
|
8
8
|
import { t as sendMessageSignal } from "./send-BTA6qupx.js";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fsSync from "node:fs";
|
|
11
11
|
import crypto from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/channels/plugins/media-limits.ts
|
|
@@ -346,11 +346,11 @@ function resolveFailedDir(stateDir) {
|
|
|
346
346
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
347
347
|
async function ensureQueueDir(stateDir) {
|
|
348
348
|
const queueDir = resolveQueueDir(stateDir);
|
|
349
|
-
await
|
|
349
|
+
await fsSync.promises.mkdir(queueDir, {
|
|
350
350
|
recursive: true,
|
|
351
351
|
mode: 448
|
|
352
352
|
});
|
|
353
|
-
await
|
|
353
|
+
await fsSync.promises.mkdir(resolveFailedDir(stateDir), {
|
|
354
354
|
recursive: true,
|
|
355
355
|
mode: 448
|
|
356
356
|
});
|
|
@@ -378,18 +378,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
378
378
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
379
379
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
380
380
|
const json = JSON.stringify(entry, null, 2);
|
|
381
|
-
await
|
|
381
|
+
await fsSync.promises.writeFile(tmp, json, {
|
|
382
382
|
encoding: "utf-8",
|
|
383
383
|
mode: 384
|
|
384
384
|
});
|
|
385
|
-
await
|
|
385
|
+
await fsSync.promises.rename(tmp, filePath);
|
|
386
386
|
return id;
|
|
387
387
|
}
|
|
388
388
|
/** Remove a successfully delivered entry from the queue. */
|
|
389
389
|
async function ackDelivery(id, stateDir) {
|
|
390
390
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
391
391
|
try {
|
|
392
|
-
await
|
|
392
|
+
await fsSync.promises.unlink(filePath);
|
|
393
393
|
} catch (err) {
|
|
394
394
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
395
395
|
}
|
|
@@ -397,16 +397,16 @@ async function ackDelivery(id, stateDir) {
|
|
|
397
397
|
/** Update a queue entry after a failed delivery attempt. */
|
|
398
398
|
async function failDelivery(id, error, stateDir) {
|
|
399
399
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
400
|
-
const raw = await
|
|
400
|
+
const raw = await fsSync.promises.readFile(filePath, "utf-8");
|
|
401
401
|
const entry = JSON.parse(raw);
|
|
402
402
|
entry.retryCount += 1;
|
|
403
403
|
entry.lastError = error;
|
|
404
404
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
405
|
-
await
|
|
405
|
+
await fsSync.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
406
406
|
encoding: "utf-8",
|
|
407
407
|
mode: 384
|
|
408
408
|
});
|
|
409
|
-
await
|
|
409
|
+
await fsSync.promises.rename(tmp, filePath);
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
//#endregion
|