@guadskill/openclaw-proxy 2026.2.9 → 2026.2.10
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-x7cMEV1E.js → accounts-Dx4aJi3x.js} +7 -7
- package/dist/{acp-cli-0GGdXLLK.js → acp-cli-B0GEswoT.js} +4 -4
- package/dist/{acp-cli-D1H6dacV.js → acp-cli-OHiTwyKP.js} +4 -4
- package/dist/{agent-2SW8ZCfI.js → agent-CVUy1Thi.js} +10 -10
- package/dist/{agent-DU-T91C5.js → agent-D-ZY5Ay1.js} +10 -10
- package/dist/{agent-scope-DiPc4_Q2.js → agent-scope-Bxl1Ieu_.js} +1 -1
- package/dist/{agent-scope-BUn6DjX7.js → agent-scope-C7vPz4km.js} +1 -1
- package/dist/{agent-scope-CjgJmjE6.js → agent-scope-DUR7NPNo.js} +1 -1
- package/dist/{agent-scope--25ynMc2.js → agent-scope-QnsNO5IK.js} +11 -11
- package/dist/{archive-D0z3LZDK.js → archive-1r-XD_by.js} +9 -9
- package/dist/{audit-CqsOSGgc.js → audit-DJRS7Nza.js} +8 -8
- package/dist/{audit-CLbFGfQc.js → audit-Dnyfbisl.js} +16 -16
- package/dist/{auth-health-6CQOjiY2.js → auth-health-CE7uy9mo.js} +1 -1
- package/dist/{auth-health-BA7lqVxs.js → auth-health-ov3toXHm.js} +1 -1
- package/dist/{auth-profiles-Dg1lg7TZ.js → auth-profiles-kZZY0kCW.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +9 -9
- package/dist/bundled/session-memory/handler.js +9 -9
- package/dist/{call-DfFtEDcF.js → call-BUcaYa5a.js} +8 -8
- package/dist/{call-BRBaanei.js → call-D_Z9T8iV.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DxeLpgAW.js → channel-options-P2xeFf1J.js} +5 -5
- package/dist/{channel-options-lyL-8lwT.js → channel-options-oOUobhHQ.js} +3 -3
- package/dist/{channel-selection-KB-Du2K8.js → channel-selection-CmhD8GeJ.js} +1 -1
- package/dist/{channel-selection-Cm-kszg3.js → channel-selection-Dc2O9U87.js} +1 -1
- package/dist/{channels-cli-CwCvT3wp.js → channels-cli-BYZOMEVn.js} +25 -25
- package/dist/{channels-cli-D8NQgCvh.js → channels-cli-C-TQm_--.js} +36 -36
- package/dist/{channels-status-issues-CtDHK5Hb.js → channels-status-issues-CZVE---T.js} +1 -1
- package/dist/{channels-status-issues-D4zjQ5gR.js → channels-status-issues-CftEAWF4.js} +1 -1
- package/dist/{chrome-CBxye_ED.js → chrome-FITXsKSB.js} +7 -7
- package/dist/{chrome-y0SuEptk.js → chrome-No6wyyAY.js} +2 -2
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BhOaKx0R.js → cli-98b8BoLE.js} +25 -25
- package/dist/{cli-BdLB0dU9.js → cli-9Gs7jI45.js} +21 -21
- package/dist/{command-options-BsaSCNbW.js → command-options-DFbsypaU.js} +3 -3
- package/dist/{commands-D1Vz_pbj.js → commands-DoVIOYAz.js} +3 -3
- package/dist/{completion-cli-B8UeXoAi.js → completion-cli-DBmFb2Zz.js} +27 -27
- package/dist/{completion-cli-DSp3IYfG.js → completion-cli-DrFgqXz-.js} +13 -13
- package/dist/{config-BiUz0L4n.js → config-C_ZMbYir.js} +2 -2
- package/dist/{config-DBR-pg8M.js → config-DFgdMueL.js} +2 -2
- package/dist/{config-Cq5jWpQW.js → config-NtjUezp5.js} +2 -2
- package/dist/{config-guard-BIEzm1Di.js → config-guard-B_Hef8AW.js} +34 -34
- package/dist/{config-JotyqXJB.js → config-yg3MNzIZ.js} +2 -2
- package/dist/{configure-Cec4HsdK.js → configure-BShkc6Iy.js} +8 -8
- package/dist/{configure-CupQ7QSD.js → configure-CnH4eas2.js} +10 -10
- package/dist/{control-service-CH6Bbr0T.js → control-service-CzkpRVn7.js} +4 -4
- package/dist/{control-service-YHi9oKDx.js → control-service-_2M8iCv6.js} +1 -1
- package/dist/{cron-cli-DQ37nGTc.js → cron-cli-Bkwkuduu.js} +7 -7
- package/dist/{cron-cli-BPtSqQjc.js → cron-cli-sBpc08kN.js} +6 -6
- package/dist/{daemon-cli-BwvNtNCH.js → daemon-cli-BQFZUZXG.js} +7 -7
- package/dist/{daemon-cli-ByQDMi6B.js → daemon-cli-D7bFcRv4.js} +11 -11
- package/dist/{daemon-runtime-Dg88Ac7J.js → daemon-runtime-DLtjWz00.js} +10 -10
- package/dist/{daemon-runtime-LePuvITk.js → daemon-runtime-q4XITAGg.js} +1 -1
- package/dist/{deliver-BpcYe8zG.js → deliver-BFZRT50l.js} +7 -7
- package/dist/{deliver-Dpg3LSwN.js → deliver-BRCyIScz.js} +5 -5
- package/dist/{deliver-D4rMk52D.js → deliver-BssKD-vg.js} +3 -3
- package/dist/{deliver-C9Vwdw7k.js → deliver-D_PB5CG5.js} +2 -2
- package/dist/{deps-DWlD7Lyt.js → deps-BBw98Cve.js} +2 -2
- package/dist/{deps-qtgH7RGM.js → deps-Dlhl7sML.js} +2 -2
- package/dist/{devices-cli-CcGB1MVD.js → devices-cli-3aLFbDvW.js} +4 -4
- package/dist/{devices-cli-p9SUggMY.js → devices-cli-Dn5X9lnL.js} +4 -4
- package/dist/{directory-cli-CixpfARf.js → directory-cli-Cc06wNL1.js} +5 -5
- package/dist/{directory-cli-CgKDzRjU.js → directory-cli-Dj48rao9.js} +6 -6
- package/dist/{dispatcher-DsTwmVoy.js → dispatcher-DLLOC08H.js} +1 -1
- package/dist/{dns-cli-y3RAyaeD.js → dns-cli-CugZCOE9.js} +3 -3
- package/dist/{dns-cli--ew6Hcon.js → dns-cli-kXKz4kmo.js} +3 -3
- package/dist/{docs-cli-BPPPY68C.js → docs-cli-BUeU34DD.js} +1 -1
- package/dist/{docs-cli-B8ZWuZdG.js → docs-cli-DPM7sbYQ.js} +1 -1
- package/dist/{doctor-CqYHOc7o.js → doctor-Bb0C7PCD.js} +18 -18
- package/dist/{doctor--sUBhPRM.js → doctor-C5EhTQAn.js} +33 -33
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-AoKQ4upV.js → exec-approvals-cli-DTdAAPIs.js} +11 -11
- package/dist/{exec-approvals-cli-C2XQFrdV.js → exec-approvals-cli-DyvEEBBB.js} +6 -6
- package/dist/extensionAPI.js +20 -20
- package/dist/{gateway-cli-FFlyXx90.js → gateway-cli-BQvs5yMg.js} +116 -116
- package/dist/{gateway-cli-x9uFfaiq.js → gateway-cli-ClF2zEog.js} +43 -43
- package/dist/{gateway-rpc-CpSS8vbu.js → gateway-rpc-CUNihWum.js} +1 -1
- package/dist/{gateway-rpc-BUee5Dv6.js → gateway-rpc-ftABAYn5.js} +1 -1
- package/dist/{github-copilot-auth-C9U7LmQC.js → github-copilot-auth-DbUZnSyk.js} +5 -5
- package/dist/{github-copilot-auth-DhRqdPvp.js → github-copilot-auth-TxtjXx5m.js} +5 -5
- package/dist/{gmail-setup-utils-DwjED-x8.js → gmail-setup-utils-CBKE602c.js} +1 -1
- package/dist/{gmail-setup-utils-BElJpBPG.js → gmail-setup-utils-DFeZNixL.js} +1 -1
- package/dist/{health-format-BB0NTRxV.js → health-format-BOaLA7v1.js} +10 -10
- package/dist/{health-format-xY8AE8iJ.js → health-format-i1geK3KG.js} +8 -8
- package/dist/{hooks-cli-LD-Df2Bi.js → hooks-cli-BoczEJfK.js} +23 -23
- package/dist/{hooks-cli-D0QnfArE.js → hooks-cli-DoLBB8PN.js} +49 -49
- package/dist/{hooks-status-DzV884al.js → hooks-status-Dbj4IlQS.js} +1 -1
- package/dist/{hooks-status-B-1h3DT9.js → hooks-status-Dr9j7oSo.js} +1 -1
- package/dist/{image-zzNMmsKZ.js → image-CE9CeS1j.js} +3 -3
- package/dist/{image-D1s2KO45.js → image-CY3Qb62D.js} +8 -8
- package/dist/{image-A6XShsr8.js → image-Crv76CGv.js} +3 -3
- package/dist/{image-C19aQZmj.js → image-DaoVwbBU.js} +3 -3
- package/dist/index.js +44 -44
- package/dist/{installs-lwst-G4F.js → installs-CJqCIvn4.js} +18 -18
- package/dist/llm-slug-generator.js +9 -9
- package/dist/{loader-t5G-bNh2.js → loader-BNGc0TMW.js} +115 -115
- package/dist/{login-qr-dW3zLPde.js → login-qr-BJHBXw2B.js} +1 -1
- package/dist/{login-qr-fi3WTytg.js → login-qr-BoEpQD7W.js} +2 -2
- package/dist/{login-qr-zHjaf-a-.js → login-qr-CojPlIrx.js} +1 -1
- package/dist/{login-qr-zBlKORpc.js → login-qr-O0Sg-Lht.js} +1 -1
- package/dist/{logs-cli-CNG1ybOs.js → logs-cli-BkQZaLP1.js} +5 -5
- package/dist/{logs-cli-BrwNjHyP.js → logs-cli-DbqvSWfV.js} +5 -5
- package/dist/{manager-BG8ogneZ.js → manager-BLQprOme.js} +3 -3
- package/dist/{manager-D1OOirj8.js → manager-DBEZGESO.js} +2 -2
- package/dist/{manager-CdFcVnZR.js → manager-DLK8bAAA.js} +15 -15
- package/dist/{manager-Bctrvc9j.js → manager-DQXILjKz.js} +2 -2
- package/dist/{model-auth-DisTMlNO.js → model-auth-B3m7mkvr.js} +1 -1
- package/dist/{model-selection-GZFHUD7x.js → model-selection-9N1nn0U_.js} +1 -1
- package/dist/{model-selection-Dcc6YSVW.js → model-selection-BqJ7D4pt.js} +1 -1
- package/dist/{models-cli-B2zLu81b.js → models-cli-DKJ429Km.js} +23 -23
- package/dist/{models-cli-DAT-ArET.js → models-cli-tBSLfpEB.js} +30 -30
- package/dist/{node-cli-ClBB_NxA.js → node-cli-az-8UhFP.js} +20 -20
- package/dist/{node-cli-etrHRm1x.js → node-cli-xTfEqY2t.js} +7 -7
- package/dist/{node-service-BDoNNRp-.js → node-service-CkPOvRv0.js} +1 -1
- package/dist/{nodes-cli-BaBGaJqV.js → nodes-cli-DfTrE8mE.js} +8 -8
- package/dist/{nodes-cli-CGt1ECiI.js → nodes-cli-U9s_odmo.js} +5 -5
- package/dist/{nodes-screen-DGlNPbk4.js → nodes-screen-DufGlxX3.js} +2 -2
- package/dist/{onboard-channels-CCcLnNq7.js → onboard-channels-B12vl_Fz.js} +5 -5
- package/dist/{onboard-channels-BTsEmF84.js → onboard-channels-Bi5gN7Cg.js} +4 -4
- package/dist/{onboard-skills-DTqkozry.js → onboard-skills-Cli5aapW.js} +9 -9
- package/dist/{onboard-skills-COOhVMtI.js → onboard-skills-bQdrzd5W.js} +8 -8
- package/dist/{onboarding-B_hfq1-Z.js → onboarding-o9D1SpDa.js} +20 -20
- package/dist/{openclaw-root-93W6UrUK.js → openclaw-root-BTW4x2Wd.js} +1 -1
- package/dist/{openclaw-root-9ILYSmJ9.js → openclaw-root-zKi4apQH.js} +3 -3
- package/dist/{pairing-cli-IMM6zTxT.js → pairing-cli-ByfGNmaZ.js} +7 -7
- package/dist/{pairing-cli-A-97MaNg.js → pairing-cli-C_IQMrN0.js} +6 -6
- package/dist/{pairing-labels-Bb4yiJHg.js → pairing-labels-B6MQ_Hha.js} +1 -1
- package/dist/{pairing-labels-DP5H8gf6.js → pairing-labels-B6ViJi8r.js} +1 -1
- package/dist/{pairing-store-DnhpK1SH.js → pairing-store-Cc67v-m7.js} +1 -1
- package/dist/{pairing-store-DiCaUGXP.js → pairing-store-DKhgYwjg.js} +1 -1
- package/dist/{paths-fJtAVDc0.js → paths-BifbScbU.js} +1 -1
- package/dist/{pi-embedded-DQydpubI.js → pi-embedded-DPQwlpO6.js} +15 -15
- package/dist/{pi-embedded-helpers-BJ-cu3iK.js → pi-embedded-helpers-CcE0hKxw.js} +8 -8
- package/dist/{pi-embedded-helpers-4Lpm0TfW.js → pi-embedded-helpers-DwhRDCwp.js} +2 -2
- package/dist/{pi-embedded-helpers-B8LSSkHe.js → pi-embedded-helpers-Z2gqd4I2.js} +3 -3
- package/dist/{pi-embedded-helpers-DadKWPQE.js → pi-embedded-helpers-n7o6YJmY.js} +6 -6
- package/dist/{pi-tools.policy-DLLm-j7M.js → pi-tools.policy-CiKYFXrw.js} +3 -3
- package/dist/{plugin-auto-enable-B78nMu3L.js → plugin-auto-enable-CTA5rOU5.js} +1 -1
- package/dist/{plugin-auto-enable-Arz-7wiT.js → plugin-auto-enable-CrzdP1Nz.js} +2 -2
- package/dist/{plugins-CRUvG4uT.js → plugins-CO1rgH0r.js} +1 -1
- package/dist/{plugins-cli-CjpTlFhI.js → plugins-cli-BKilQedx.js} +22 -22
- package/dist/{plugins-cli-DrQ1Deuw.js → plugins-cli-CkZgCEVA.js} +30 -30
- package/dist/{plugins-U0QQZWlW.js → plugins-ia9SOGpI.js} +1 -1
- package/dist/{ports-BcNVanDX.js → ports-DbnuiZZO.js} +1 -1
- package/dist/{program-CDSRl7eR.js → program-3AvELN6H.js} +58 -58
- package/dist/{pw-ai-Bpd-iaBB.js → pw-ai-BOyUF0Kj.js} +4 -4
- package/dist/{pw-ai-C3QEyFGj.js → pw-ai-kZMIzSdQ.js} +1 -1
- package/dist/{qmd-manager-DZhFcVTt.js → qmd-manager-BM5DP4s8.js} +1 -1
- package/dist/{qmd-manager-CjTG-nW_.js → qmd-manager-BRXyEw0a.js} +19 -19
- package/dist/{qmd-manager-qe1SLQy3.js → qmd-manager-CWFe938c.js} +1 -1
- package/dist/{qmd-manager-D4W1VfWC.js → qmd-manager-h50GTfkl.js} +2 -2
- package/dist/{register.subclis-COUZSGkI.js → register.subclis-gkkP8-Yx.js} +28 -28
- package/dist/{reply-CcYZSt6t.js → reply-CH7VZ1jT.js} +28 -28
- package/dist/{routes-CnhRELg3.js → routes-BUDqG0bE.js} +17 -17
- package/dist/{routes-Sj0W9JUC.js → routes-dtswuSI-.js} +1 -1
- package/dist/{rpc-wf5KzhJ_.js → rpc-BeN1YXM7.js} +1 -1
- package/dist/{rpc-BlzExEft.js → rpc-CUy4VHNF.js} +1 -1
- package/dist/{run-main-CadL0LaU.js → run-main-DM5TUpMe.js} +60 -60
- package/dist/{sandbox-CXXC0AOA.js → sandbox-D889a-F8.js} +21 -21
- package/dist/{sandbox-cli-B-c6pLqW.js → sandbox-cli-BNvoe8W3.js} +10 -10
- package/dist/{sandbox-cli-CEQpi4Wb.js → sandbox-cli-DACJb2g8.js} +7 -7
- package/dist/{sandbox-BR9JVXBT.js → sandbox-nFkFFEb7.js} +5 -5
- package/dist/{security-cli-MV9q0KXT.js → security-cli-DvqT9LWk.js} +11 -11
- package/dist/{security-cli-CxnkY7T2.js → security-cli-m_PAeVLY.js} +21 -21
- package/dist/{server-context-B0LbMz_e.js → server-context-qxpb5Ln6.js} +4 -4
- package/dist/{server-node-events-ClBp_ky8.js → server-node-events-Cb6KgBy9.js} +23 -23
- package/dist/{server-node-events-DZQVhZjc.js → server-node-events-Cz7z8PCq.js} +27 -27
- package/dist/{service-DQwKxszE.js → service-CJ_9zG2c.js} +15 -15
- package/dist/{service-audit-D6Jk8jFU.js → service-audit-CURwIRFh.js} +13 -13
- package/dist/{service-audit-JR0RZ8xC.js → service-audit-DtmRGU4O.js} +1 -1
- package/dist/{shared-C_dY3J1K.js → shared-BFnl2Cjh.js} +1 -1
- package/dist/{shared-DN6M8u_S.js → shared-CXK7Zt_F.js} +1 -1
- package/dist/{skill-scanner-C_fQzVDu.js → skill-scanner-BT7PBklM.js} +5 -5
- package/dist/{skills-C1QRKLvh.js → skills-Cgy3X3tK.js} +1 -1
- package/dist/{skills-cli-DDTkkerI.js → skills-cli-B2zxU_2n.js} +5 -5
- package/dist/{skills-cli-DbqgzF80.js → skills-cli-Bg8bkl9E.js} +5 -5
- package/dist/{skills-status-GulhEBnV.js → skills-status-8m5p33dD.js} +1 -1
- package/dist/{skills-status-C_QDsl6j.js → skills-status-BA2DOmHk.js} +1 -1
- package/dist/{skills-CwXLq-nk.js → skills-w-kwwPb2.js} +1 -1
- package/dist/{sqlite-DODNHWJb.js → sqlite-DmufeXxk.js} +8 -8
- package/dist/{status-Y2KMsWuk.js → status-BX5HXftW.js} +3 -3
- package/dist/{status-CErwIaup.js → status-Bcl2H-Cb.js} +31 -31
- package/dist/{status-CtFS7XRr.js → status-CTMeUEYd.js} +3 -3
- package/dist/{system-cli-C0JWELUD.js → system-cli-BzCBKn-l.js} +5 -5
- package/dist/{system-cli-BVweBOhJ.js → system-cli-C886Ufmu.js} +5 -5
- package/dist/{systemd-aL_mEluy.js → systemd-D8TmVYdf.js} +5 -5
- package/dist/{systemd-linger-CEPF4JN6.js → systemd-linger-C57Dz7hA.js} +1 -1
- package/dist/{tui-B9ggfGhy.js → tui-B8ryM4-q.js} +5 -5
- package/dist/{tui-C_gTxPke.js → tui-DMtfTPeq.js} +5 -5
- package/dist/{tui-cli-Zj_x6Bvj.js → tui-cli-BBTZ6Uea.js} +14 -14
- package/dist/{tui-cli-CYc8ZHxI.js → tui-cli-CainEme8.js} +11 -11
- package/dist/{tui-formatters-C1oQXn1l.js → tui-formatters-6nR_zzUg.js} +3 -3
- package/dist/{tui-formatters-CCOWLfCX.js → tui-formatters-Cmrdmcx8.js} +3 -3
- package/dist/{update-C-9KsS1m.js → update-DkJ6rvG7.js} +3 -3
- package/dist/{update-cli-ClAzvLLE.js → update-cli-B44pCOmM.js} +34 -34
- package/dist/{update-cli-Cyh2BgJf.js → update-cli-CeCOtfHd.js} +53 -53
- package/dist/{update-runner-BT3WGHmf.js → update-runner-BZsT7ZyA.js} +6 -6
- package/dist/{update-runner-Br_pa9Xw.js → update-runner-CkoLrD4r.js} +25 -25
- package/dist/{webhooks-cli-Ch9h1RT2.js → webhooks-cli-BH_Y2RXv.js} +5 -5
- package/dist/{webhooks-cli-DBWL77uP.js → webhooks-cli-DZaS4YoE.js} +5 -5
- package/dist/{wsl-CtSDIi51.js → wsl-C-eVEqs4.js} +3 -3
- package/package.json +1 -1
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/index-BeKTXH1m.js +0 -7601
- package/dist/control-ui/assets/index-BeKTXH1m.js.map +0 -1
- package/dist/control-ui/assets/index-DWhx-9JL.css +0 -1
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +0 -22
- package/dist/control-ui/index.html +0 -17
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { p as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-kZZY0kCW.js";
|
|
3
3
|
import { u as normalizeMainKey } from "./session-key-BRdRr5Ah.js";
|
|
4
4
|
import "./utils-Bx1WKTCk.js";
|
|
5
5
|
import "./exec-B8JKbXKW.js";
|
|
6
|
-
import "./agent-scope
|
|
6
|
+
import "./agent-scope-QnsNO5IK.js";
|
|
7
7
|
import "./github-copilot-token-SLWintYd.js";
|
|
8
8
|
import "./pi-model-discovery-DzEIEgHL.js";
|
|
9
|
-
import { i as loadConfig } from "./config-
|
|
9
|
+
import { i as loadConfig } from "./config-DFgdMueL.js";
|
|
10
10
|
import "./manifest-registry-C_FL6H2P.js";
|
|
11
|
-
import "./server-context-
|
|
12
|
-
import "./chrome-
|
|
13
|
-
import "./control-service-
|
|
11
|
+
import "./server-context-qxpb5Ln6.js";
|
|
12
|
+
import "./chrome-No6wyyAY.js";
|
|
13
|
+
import "./control-service-CzkpRVn7.js";
|
|
14
14
|
import "./client-BCOZgvlo.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-BUcaYa5a.js";
|
|
16
16
|
import "./message-channel-BlgPSDAh.js";
|
|
17
17
|
import "./links-CSYf2PwL.js";
|
|
18
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
18
|
+
import { r as normalizeChannelId } from "./plugins-CO1rgH0r.js";
|
|
19
19
|
import "./logging-CfEk_PnX.js";
|
|
20
|
-
import "./accounts-
|
|
21
|
-
import { Qn as enqueueSystemEvent, in as loadSessionEntry, tr as requestHeartbeatNow } from "./loader-
|
|
20
|
+
import "./accounts-Dx4aJi3x.js";
|
|
21
|
+
import { Qn as enqueueSystemEvent, in as loadSessionEntry, tr as requestHeartbeatNow } from "./loader-BNGc0TMW.js";
|
|
22
22
|
import "./progress-Da1ehW-x.js";
|
|
23
23
|
import "./prompt-style-Dc0C5HC9.js";
|
|
24
|
-
import "./manager-
|
|
24
|
+
import "./manager-DLK8bAAA.js";
|
|
25
25
|
import "./paths-C27OFaz1.js";
|
|
26
|
-
import "./sqlite-
|
|
27
|
-
import "./routes-
|
|
28
|
-
import "./pi-embedded-helpers-
|
|
29
|
-
import "./deliver-
|
|
30
|
-
import { g as updateSessionStore } from "./sandbox-
|
|
31
|
-
import "./tui-formatters-
|
|
32
|
-
import "./wsl-
|
|
33
|
-
import "./skills-
|
|
34
|
-
import "./image-
|
|
26
|
+
import "./sqlite-DmufeXxk.js";
|
|
27
|
+
import "./routes-BUDqG0bE.js";
|
|
28
|
+
import "./pi-embedded-helpers-n7o6YJmY.js";
|
|
29
|
+
import "./deliver-BFZRT50l.js";
|
|
30
|
+
import { g as updateSessionStore } from "./sandbox-D889a-F8.js";
|
|
31
|
+
import "./tui-formatters-Cmrdmcx8.js";
|
|
32
|
+
import "./wsl-C-eVEqs4.js";
|
|
33
|
+
import "./skills-w-kwwPb2.js";
|
|
34
|
+
import "./image-CY3Qb62D.js";
|
|
35
35
|
import "./redact-BHmk44DI.js";
|
|
36
36
|
import "./tool-display-Ds0HgmMB.js";
|
|
37
|
-
import "./channel-selection-
|
|
37
|
+
import "./channel-selection-Dc2O9U87.js";
|
|
38
38
|
import "./session-cost-usage-LOtSLoh7.js";
|
|
39
|
-
import "./commands-
|
|
40
|
-
import "./pairing-store-
|
|
41
|
-
import "./login-qr-
|
|
42
|
-
import "./pairing-labels-
|
|
43
|
-
import "./deps-
|
|
39
|
+
import "./commands-DoVIOYAz.js";
|
|
40
|
+
import "./pairing-store-DKhgYwjg.js";
|
|
41
|
+
import "./login-qr-BoEpQD7W.js";
|
|
42
|
+
import "./pairing-labels-B6ViJi8r.js";
|
|
43
|
+
import "./deps-BBw98Cve.js";
|
|
44
44
|
import { t as formatForLog } from "./ws-log-61vWaDj3.js";
|
|
45
|
-
import { t as agentCommand } from "./agent-
|
|
45
|
+
import { t as agentCommand } from "./agent-D-ZY5Ay1.js";
|
|
46
46
|
import { randomUUID } from "node:crypto";
|
|
47
47
|
|
|
48
48
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { D as colorize, O as isRich, k as theme } from "./entry.js";
|
|
2
2
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, p as resolveLegacyGatewayLaunchAgentLabels, s as formatGatewayServiceDescription, t as GATEWAY_LAUNCH_AGENT_LABEL } from "./constants-DuoCkWRh.js";
|
|
3
|
-
import { a as readSystemdServiceRuntime, c as stopSystemdService, f as parseKeyValueOutput, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveHomeDir, n as isSystemdServiceEnabled, p as resolveGatewayStateDir, r as isSystemdUserServiceAvailable, s as restartSystemdService, t as installSystemdService } from "./systemd-
|
|
3
|
+
import { a as readSystemdServiceRuntime, c as stopSystemdService, f as parseKeyValueOutput, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveHomeDir, n as isSystemdServiceEnabled, p as resolveGatewayStateDir, r as isSystemdUserServiceAvailable, s as restartSystemdService, t as installSystemdService } from "./systemd-D8TmVYdf.js";
|
|
4
4
|
import { execFile } from "node:child_process";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { promisify } from "node:util";
|
|
7
|
-
import
|
|
7
|
+
import fsPromises from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/daemon/launchd-plist.ts
|
|
10
10
|
const plistEscape = (value) => value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
@@ -17,7 +17,7 @@ const renderEnvDict = (env) => {
|
|
|
17
17
|
};
|
|
18
18
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
19
19
|
try {
|
|
20
|
-
const plist = await
|
|
20
|
+
const plist = await fsPromises.readFile(plistPath, "utf8");
|
|
21
21
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
22
22
|
if (!programMatch) return null;
|
|
23
23
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -147,7 +147,7 @@ async function isLaunchAgentListed(args) {
|
|
|
147
147
|
async function launchAgentPlistExists(env) {
|
|
148
148
|
try {
|
|
149
149
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
150
|
-
await
|
|
150
|
+
await fsPromises.access(plistPath);
|
|
151
151
|
return true;
|
|
152
152
|
} catch {
|
|
153
153
|
return false;
|
|
@@ -207,7 +207,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
207
207
|
]);
|
|
208
208
|
await execLaunchctl(["unload", plistPath]);
|
|
209
209
|
try {
|
|
210
|
-
await
|
|
210
|
+
await fsPromises.access(plistPath);
|
|
211
211
|
} catch {
|
|
212
212
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
213
213
|
return;
|
|
@@ -216,8 +216,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
216
216
|
const trashDir = path.join(home, ".Trash");
|
|
217
217
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
218
218
|
try {
|
|
219
|
-
await
|
|
220
|
-
await
|
|
219
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
220
|
+
await fsPromises.rename(plistPath, dest);
|
|
221
221
|
stdout.write(`${formatLine$2("Moved LaunchAgent to Trash", dest)}\n`);
|
|
222
222
|
} catch {
|
|
223
223
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -236,7 +236,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
236
236
|
}
|
|
237
237
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
238
238
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
239
|
-
await
|
|
239
|
+
await fsPromises.mkdir(logDir, { recursive: true });
|
|
240
240
|
const domain = resolveGuiDomain();
|
|
241
241
|
const label = resolveLaunchAgentLabel({ env });
|
|
242
242
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.OPENCLAW_PROFILE)) {
|
|
@@ -248,11 +248,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
248
248
|
]);
|
|
249
249
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
250
250
|
try {
|
|
251
|
-
await
|
|
251
|
+
await fsPromises.unlink(legacyPlistPath);
|
|
252
252
|
} catch {}
|
|
253
253
|
}
|
|
254
254
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
255
|
-
await
|
|
255
|
+
await fsPromises.mkdir(path.dirname(plistPath), { recursive: true });
|
|
256
256
|
const plist = buildLaunchAgentPlist({
|
|
257
257
|
label,
|
|
258
258
|
comment: description ?? formatGatewayServiceDescription({
|
|
@@ -265,7 +265,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
265
265
|
stderrPath,
|
|
266
266
|
environment
|
|
267
267
|
});
|
|
268
|
-
await
|
|
268
|
+
await fsPromises.writeFile(plistPath, plist, "utf8");
|
|
269
269
|
await execLaunchctl([
|
|
270
270
|
"bootout",
|
|
271
271
|
domain,
|
|
@@ -498,7 +498,7 @@ function parseCommandLine(value) {
|
|
|
498
498
|
async function readScheduledTaskCommand(env) {
|
|
499
499
|
const scriptPath = resolveTaskScriptPath(env);
|
|
500
500
|
try {
|
|
501
|
-
const content = await
|
|
501
|
+
const content = await fsPromises.readFile(scriptPath, "utf8");
|
|
502
502
|
let workingDirectory = "";
|
|
503
503
|
let commandLine = "";
|
|
504
504
|
const environment = {};
|
|
@@ -586,7 +586,7 @@ async function assertSchtasksAvailable() {
|
|
|
586
586
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
587
587
|
await assertSchtasksAvailable();
|
|
588
588
|
const scriptPath = resolveTaskScriptPath(env);
|
|
589
|
-
await
|
|
589
|
+
await fsPromises.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
590
590
|
const script = buildTaskScript({
|
|
591
591
|
description: description ?? formatGatewayServiceDescription({
|
|
592
592
|
profile: env.OPENCLAW_PROFILE,
|
|
@@ -596,7 +596,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
596
596
|
workingDirectory,
|
|
597
597
|
environment
|
|
598
598
|
});
|
|
599
|
-
await
|
|
599
|
+
await fsPromises.writeFile(scriptPath, script, "utf8");
|
|
600
600
|
const taskName = resolveTaskName(env);
|
|
601
601
|
const baseArgs = [
|
|
602
602
|
"/Create",
|
|
@@ -644,7 +644,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
644
644
|
]);
|
|
645
645
|
const scriptPath = resolveTaskScriptPath(env);
|
|
646
646
|
try {
|
|
647
|
-
await
|
|
647
|
+
await fsPromises.unlink(scriptPath);
|
|
648
648
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
649
649
|
} catch {
|
|
650
650
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-DuoCkWRh.js";
|
|
2
|
-
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-
|
|
3
|
-
import { c as resolveLaunchAgentPlistPath, s as resolveGatewayLogPaths } from "./service-
|
|
4
|
-
import { o as resolveSystemdUserUnitPath } from "./systemd-
|
|
2
|
+
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-DLtjWz00.js";
|
|
3
|
+
import { c as resolveLaunchAgentPlistPath, s as resolveGatewayLogPaths } from "./service-CJ_9zG2c.js";
|
|
4
|
+
import { o as resolveSystemdUserUnitPath } from "./systemd-D8TmVYdf.js";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { promisify } from "node:util";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/daemon/diagnostics.ts
|
|
11
11
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -17,7 +17,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
17
17
|
];
|
|
18
18
|
async function readLastLogLine(filePath) {
|
|
19
19
|
try {
|
|
20
|
-
const lines = (await
|
|
20
|
+
const lines = (await fsPromises.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
21
21
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
22
22
|
return null;
|
|
23
23
|
} catch {
|
|
@@ -26,8 +26,8 @@ async function readLastLogLine(filePath) {
|
|
|
26
26
|
}
|
|
27
27
|
async function readLastGatewayErrorLine(env) {
|
|
28
28
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
29
|
-
const stderrRaw = await
|
|
30
|
-
const stdoutRaw = await
|
|
29
|
+
const stderrRaw = await fsPromises.readFile(stderrPath, "utf8").catch(() => "");
|
|
30
|
+
const stdoutRaw = await fsPromises.readFile(stdoutPath, "utf8").catch(() => "");
|
|
31
31
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
32
32
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
33
33
|
const line = lines[i];
|
|
@@ -114,7 +114,7 @@ async function scanLaunchdDir(params) {
|
|
|
114
114
|
const results = [];
|
|
115
115
|
let entries = [];
|
|
116
116
|
try {
|
|
117
|
-
entries = await
|
|
117
|
+
entries = await fsPromises.readdir(params.dir);
|
|
118
118
|
} catch {
|
|
119
119
|
return results;
|
|
120
120
|
}
|
|
@@ -125,7 +125,7 @@ async function scanLaunchdDir(params) {
|
|
|
125
125
|
const fullPath = path.join(params.dir, entry);
|
|
126
126
|
let contents = "";
|
|
127
127
|
try {
|
|
128
|
-
contents = await
|
|
128
|
+
contents = await fsPromises.readFile(fullPath, "utf8");
|
|
129
129
|
} catch {
|
|
130
130
|
continue;
|
|
131
131
|
}
|
|
@@ -160,7 +160,7 @@ async function scanSystemdDir(params) {
|
|
|
160
160
|
const results = [];
|
|
161
161
|
let entries = [];
|
|
162
162
|
try {
|
|
163
|
-
entries = await
|
|
163
|
+
entries = await fsPromises.readdir(params.dir);
|
|
164
164
|
} catch {
|
|
165
165
|
return results;
|
|
166
166
|
}
|
|
@@ -171,7 +171,7 @@ async function scanSystemdDir(params) {
|
|
|
171
171
|
const fullPath = path.join(params.dir, entry);
|
|
172
172
|
let contents = "";
|
|
173
173
|
try {
|
|
174
|
-
contents = await
|
|
174
|
+
contents = await fsPromises.readFile(fullPath, "utf8");
|
|
175
175
|
} catch {
|
|
176
176
|
continue;
|
|
177
177
|
}
|
|
@@ -385,7 +385,7 @@ async function auditSystemdUnit(env, issues) {
|
|
|
385
385
|
const unitPath = resolveSystemdUserUnitPath(env);
|
|
386
386
|
let content = "";
|
|
387
387
|
try {
|
|
388
|
-
content = await
|
|
388
|
+
content = await fsPromises.readFile(unitPath, "utf8");
|
|
389
389
|
} catch {
|
|
390
390
|
return;
|
|
391
391
|
}
|
|
@@ -413,7 +413,7 @@ async function auditLaunchdPlist(env, issues) {
|
|
|
413
413
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
414
414
|
let content = "";
|
|
415
415
|
try {
|
|
416
|
-
content = await
|
|
416
|
+
content = await fsPromises.readFile(plistPath, "utf8");
|
|
417
417
|
} catch {
|
|
418
418
|
return;
|
|
419
419
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-D1op9uGI.js";
|
|
2
|
-
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-
|
|
2
|
+
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-q4XITAGg.js";
|
|
3
3
|
import { c as resolveLaunchAgentPlistPath, s as resolveGatewayLogPaths } from "./service-gVhgRoT3.js";
|
|
4
4
|
import { o as resolveSystemdUserUnitPath } from "./systemd-BBNP9bBm.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { M as getResolvedLoggerSettings, p as defaultRuntime } from "./entry.js"
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-ayFsmwwz.js";
|
|
3
3
|
import { o as pickPrimaryLanIPv4 } from "./ws-CtFyzK73.js";
|
|
4
4
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel } from "./constants-DuoCkWRh.js";
|
|
5
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
5
|
+
import { s as resolveGatewayLogPaths } from "./service-CJ_9zG2c.js";
|
|
6
6
|
import { Writable } from "node:stream";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/daemon-cli/response.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as defaultRuntime } from "./entry.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-ayFsmwwz.js";
|
|
3
3
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel } from "./constants-DuoCkWRh.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-CJ_9zG2c.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
function parsePort(raw) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as hasErrnoCode } from "./errors-x4NYs-1P.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fsPromises from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/security/skill-scanner.ts
|
|
6
6
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
@@ -159,7 +159,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
159
159
|
while (stack.length > 0 && files.length < maxFiles) {
|
|
160
160
|
const currentDir = stack.pop();
|
|
161
161
|
if (!currentDir) break;
|
|
162
|
-
const entries = await
|
|
162
|
+
const entries = await fsPromises.readdir(currentDir, { withFileTypes: true });
|
|
163
163
|
for (const entry of entries) {
|
|
164
164
|
if (files.length >= maxFiles) break;
|
|
165
165
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
@@ -181,7 +181,7 @@ async function resolveForcedFiles(params) {
|
|
|
181
181
|
if (seen.has(includePath)) continue;
|
|
182
182
|
let st = null;
|
|
183
183
|
try {
|
|
184
|
-
st = await
|
|
184
|
+
st = await fsPromises.stat(includePath);
|
|
185
185
|
} catch (err) {
|
|
186
186
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
187
187
|
throw err;
|
|
@@ -213,14 +213,14 @@ async function collectScannableFiles(dirPath, opts) {
|
|
|
213
213
|
async function readScannableSource(filePath, maxFileBytes) {
|
|
214
214
|
let st = null;
|
|
215
215
|
try {
|
|
216
|
-
st = await
|
|
216
|
+
st = await fsPromises.stat(filePath);
|
|
217
217
|
} catch (err) {
|
|
218
218
|
if (hasErrnoCode(err, "ENOENT")) return null;
|
|
219
219
|
throw err;
|
|
220
220
|
}
|
|
221
221
|
if (!st?.isFile() || st.size > maxFileBytes) return null;
|
|
222
222
|
try {
|
|
223
|
-
return await
|
|
223
|
+
return await fsPromises.readFile(filePath, "utf-8");
|
|
224
224
|
} catch (err) {
|
|
225
225
|
if (hasErrnoCode(err, "ENOENT")) return null;
|
|
226
226
|
throw err;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DPnkvS73.js";
|
|
2
2
|
import { t as CONFIG_DIR, y as resolveUserPath } from "./utils-DMuwyz_q.js";
|
|
3
|
-
import { n as resolveOpenClawPackageRootSync } from "./openclaw-root-
|
|
3
|
+
import { n as resolveOpenClawPackageRootSync } from "./openclaw-root-BTW4x2Wd.js";
|
|
4
4
|
import { t as parseBooleanValue } from "./boolean-BgXe2hyu.js";
|
|
5
5
|
import { a as MANIFEST_KEY, c as normalizePluginsConfig, i as LEGACY_MANIFEST_KEYS, l as resolveEnableState, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BMwHTztn.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
@@ -2,18 +2,18 @@ import "./paths-DVBShlw6.js";
|
|
|
2
2
|
import { R as theme, c as defaultRuntime } from "./subsystem-DPnkvS73.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-DMuwyz_q.js";
|
|
4
4
|
import "./exec-DFOtZbI0.js";
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-C7vPz4km.js";
|
|
6
|
+
import "./model-selection-9N1nn0U_.js";
|
|
7
7
|
import "./github-copilot-token-BW-SEg7E.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-ChfKqObn.js";
|
|
9
9
|
import "./boolean-BgXe2hyu.js";
|
|
10
10
|
import "./env-B5YXooWp.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-yg3MNzIZ.js";
|
|
12
12
|
import "./manifest-registry-BMwHTztn.js";
|
|
13
|
-
import "./skills-
|
|
13
|
+
import "./skills-Cgy3X3tK.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-BPnP7NBH.js";
|
|
15
15
|
import { t as renderTable } from "./table-BwcmzWVS.js";
|
|
16
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
16
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-8m5p33dD.js";
|
|
17
17
|
|
|
18
18
|
//#region src/cli/skills-cli.ts
|
|
19
19
|
function appendClawHubHint(output, json) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { k as theme, p as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-kZZY0kCW.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-ayFsmwwz.js";
|
|
4
4
|
import { x as shortenHomePath } from "./utils-Bx1WKTCk.js";
|
|
5
5
|
import "./exec-B8JKbXKW.js";
|
|
6
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope
|
|
6
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-QnsNO5IK.js";
|
|
7
7
|
import "./github-copilot-token-SLWintYd.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-DFgdMueL.js";
|
|
9
9
|
import "./manifest-registry-C_FL6H2P.js";
|
|
10
10
|
import { t as formatDocsLink } from "./links-CSYf2PwL.js";
|
|
11
|
-
import "./skills-
|
|
11
|
+
import "./skills-w-kwwPb2.js";
|
|
12
12
|
import { t as renderTable } from "./table--JAk2fhT.js";
|
|
13
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
13
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-BA2DOmHk.js";
|
|
14
14
|
|
|
15
15
|
//#region src/cli/skills-cli.ts
|
|
16
16
|
function appendClawHubHint(output, json) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DPnkvS73.js";
|
|
2
2
|
import { t as CONFIG_DIR } from "./utils-DMuwyz_q.js";
|
|
3
|
-
import { c as resolveBundledSkillsDir, d as hasBinary, f as isBundledSkillAllowed, g as resolveSkillConfig, h as resolveConfigPath, i as loadWorkspaceSkillEntries, m as resolveBundledAllowlist, p as isConfigPathTruthy, t as resolveSkillsInstallPreferences } from "./skills-
|
|
3
|
+
import { c as resolveBundledSkillsDir, d as hasBinary, f as isBundledSkillAllowed, g as resolveSkillConfig, h as resolveConfigPath, i as loadWorkspaceSkillEntries, m as resolveBundledAllowlist, p as isConfigPathTruthy, t as resolveSkillsInstallPreferences } from "./skills-Cgy3X3tK.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { t as CONFIG_DIR } from "./utils-Bx1WKTCk.js";
|
|
3
|
-
import { c as resolveBundledSkillsDir, d as hasBinary, f as isBundledSkillAllowed, g as resolveSkillConfig, h as resolveConfigPath, i as loadWorkspaceSkillEntries, m as resolveBundledAllowlist, p as isConfigPathTruthy, t as resolveSkillsInstallPreferences } from "./skills-
|
|
3
|
+
import { c as resolveBundledSkillsDir, d as hasBinary, f as isBundledSkillAllowed, g as resolveSkillConfig, h as resolveConfigPath, i as loadWorkspaceSkillEntries, m as resolveBundledAllowlist, p as isConfigPathTruthy, t as resolveSkillsInstallPreferences } from "./skills-w-kwwPb2.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as parseBooleanValue, o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-Bx1WKTCk.js";
|
|
3
|
-
import { n as resolveOpenClawPackageRootSync } from "./openclaw-root-
|
|
3
|
+
import { n as resolveOpenClawPackageRootSync } from "./openclaw-root-zKi4apQH.js";
|
|
4
4
|
import { a as MANIFEST_KEY, c as normalizePluginsConfig, i as LEGACY_MANIFEST_KEYS, l as resolveEnableState, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-C_FL6H2P.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -2,7 +2,7 @@ import { t as installProcessWarningFilter } from "./entry.js";
|
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
|
|
8
8
|
//#region src/memory/internal.ts
|
|
@@ -27,7 +27,7 @@ function isMemoryPath(relPath) {
|
|
|
27
27
|
return normalized.startsWith("memory/");
|
|
28
28
|
}
|
|
29
29
|
async function walkDir(dir, files) {
|
|
30
|
-
const entries = await
|
|
30
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true });
|
|
31
31
|
for (const entry of entries) {
|
|
32
32
|
const full = path.join(dir, entry.name);
|
|
33
33
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -47,7 +47,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
47
47
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
48
48
|
const addMarkdownFile = async (absPath) => {
|
|
49
49
|
try {
|
|
50
|
-
const stat = await
|
|
50
|
+
const stat = await fsPromises.lstat(absPath);
|
|
51
51
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
52
52
|
if (!absPath.endsWith(".md")) return;
|
|
53
53
|
result.push(absPath);
|
|
@@ -56,12 +56,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
56
56
|
await addMarkdownFile(memoryFile);
|
|
57
57
|
await addMarkdownFile(altMemoryFile);
|
|
58
58
|
try {
|
|
59
|
-
const dirStat = await
|
|
59
|
+
const dirStat = await fsPromises.lstat(memoryDir);
|
|
60
60
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
61
61
|
} catch {}
|
|
62
62
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
63
63
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
64
|
-
const stat = await
|
|
64
|
+
const stat = await fsPromises.lstat(inputPath);
|
|
65
65
|
if (stat.isSymbolicLink()) continue;
|
|
66
66
|
if (stat.isDirectory()) {
|
|
67
67
|
await walkDir(inputPath, result);
|
|
@@ -75,7 +75,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
75
75
|
for (const entry of result) {
|
|
76
76
|
let key = entry;
|
|
77
77
|
try {
|
|
78
|
-
key = await
|
|
78
|
+
key = await fsPromises.realpath(entry);
|
|
79
79
|
} catch {}
|
|
80
80
|
if (seen.has(key)) continue;
|
|
81
81
|
seen.add(key);
|
|
@@ -87,8 +87,8 @@ function hashText(value) {
|
|
|
87
87
|
return crypto.createHash("sha256").update(value).digest("hex");
|
|
88
88
|
}
|
|
89
89
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
90
|
-
const stat = await
|
|
91
|
-
const hash = hashText(await
|
|
90
|
+
const stat = await fsPromises.stat(absPath);
|
|
91
|
+
const hash = hashText(await fsPromises.readFile(absPath, "utf-8"));
|
|
92
92
|
return {
|
|
93
93
|
path: path.relative(workspaceDir, absPath).replace(/\\/g, "/"),
|
|
94
94
|
absPath,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { t as loadOpenClawPlugins } from "./loader-
|
|
2
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-QnsNO5IK.js";
|
|
3
|
+
import { i as loadConfig } from "./config-DFgdMueL.js";
|
|
4
|
+
import { t as loadOpenClawPlugins } from "./loader-BNGc0TMW.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|