@guadskill/openclaw-proxy 2026.3.7 → 2026.3.9
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-BAXPpGUT.js → accounts-B_Mf6Ybe.js} +1 -1
- package/dist/{accounts-DDk7Alkl.js → accounts-CGMgxUfN.js} +7 -7
- package/dist/{accounts-DIGnwOCI.js → accounts-NKTm9o4M.js} +1 -1
- package/dist/{acp-cli-CL-bRMaF.js → acp-cli-BKb3AGdK.js} +8 -8
- package/dist/{agent-scope-CT92dyCK.js → agent-scope-Dd2_TNoB.js} +17 -17
- package/dist/{agents-Ux5TCgO6.js → agents-yZG80_Bk.js} +14 -14
- package/dist/{agents.config-7ZBT3aJH.js → agents.config-iby7tWX6.js} +3 -3
- package/dist/{api-key-rotation-D7uyLcCV.js → api-key-rotation-DsHx0Ttu.js} +1 -1
- package/dist/{audio-preflight-CqbpJICd.js → audio-preflight-DbDIZaaN.js} +4 -4
- package/dist/{audio-preflight-B0sj35Ce.js → audio-preflight-Ot_1VrgG.js} +34 -34
- package/dist/{audio-transcription-runner-Cdvz7bpD.js → audio-transcription-runner-Cl9Pu_e3.js} +23 -23
- package/dist/{audio-transcription-runner-EQqd2K8L.js → audio-transcription-runner-DX0Waokh.js} +1 -1
- package/dist/{audit-qqRogHSL.js → audit-DtKtvGnO.js} +29 -29
- package/dist/{auth-DfEti-nH.js → auth-DkciOmKe.js} +1 -1
- package/dist/{auth-choice-BjQ5BF_A.js → auth-choice-CDiDpyjK.js} +12 -12
- package/dist/{auth-choice-C4XhKa87.js → auth-choice-mCitki7b.js} +13 -13
- package/dist/{auth-choice.apply-helpers-BJLWC6EX.js → auth-choice.apply-helpers-DFO2u4vW.js} +1 -1
- package/dist/{auth-profiles-Bh2dHooQ.js → auth-profiles-QXvcpjIT.js} +16 -16
- package/dist/{auth-token-qGutIUyw.js → auth-token-4Y8dUkki.js} +1 -1
- package/dist/{banner-D3w3334V.js → banner-BIxf18aP.js} +2 -2
- package/dist/{bonjour-discovery-Dk22JKmo.js → bonjour-discovery-DBClG9uw.js} +1 -1
- package/dist/{browser-cli-C1NkBy0u.js → browser-cli-B0KE9qxO.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-Bl8osGeS.js → call-B56A9tyz.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Bkq8Tao4.js → channel-account-context-CkpkengK.js} +5 -5
- package/dist/{channel-activity-DFfVKdMC.js → channel-activity-ClJu0F_1.js} +1 -1
- package/dist/{channel-options-Ddq9nbjL.js → channel-options-BGF--IMr.js} +3 -3
- package/dist/{channel-selection-TEB-oKFB.js → channel-selection-DHlVN8Pr.js} +1 -1
- package/dist/{channel-web-BRc8grVl.js → channel-web-CJ_qOhFv.js} +17 -17
- package/dist/{channels-cli-0uHlhl_q.js → channels-cli-CdmEguK_.js} +93 -93
- package/dist/{channels-status-issues-CHYRNB54.js → channels-status-issues-CmDh358n.js} +1 -1
- package/dist/{chrome-BKmthESk.js → chrome-CMibSHuV.js} +8 -8
- package/dist/{chrome-8g2ppizL.js → chrome-CjADilJt.js} +4 -4
- package/dist/{clawbot-cli-C40Lz65o.js → clawbot-cli-CYI_p-Ig.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-B4cqtuy2.js → cli-C7HjUgZL.js} +72 -72
- package/dist/{client-IQ7AZ1A-.js → client-DaFloLVI.js} +3 -3
- package/dist/{command-registry-CufWvKi3.js → command-registry-CrsK0cpv.js} +11 -11
- package/dist/{command-secret-targets-B1PuKXnU.js → command-secret-targets-CsIlET0p.js} +4 -4
- package/dist/{commands-DP7Bcuo2.js → commands-C-YxTe08.js} +1 -1
- package/dist/{commands-registry-B5lrLxcS.js → commands-registry-WI8KXlO7.js} +3 -3
- package/dist/{compact-SZ3BDWQp.js → compact-BBdhRYXH.js} +149 -149
- package/dist/compact.runtime-DDxAzGC2.js +110 -0
- package/dist/{compact.runtime-CMZ_UYyk.js → compact.runtime-DdbMKiHW.js} +6 -6
- package/dist/{completion-cli-B0f-xBOC.js → completion-cli-Bg8nShmO.js} +1 -1
- package/dist/{completion-cli-DQ2oZ0Xm.js → completion-cli-D1eUD4z0.js} +13 -13
- package/dist/{config-cli-CC2671nv.js → config-cli-C8aGIdsa.js} +7 -7
- package/dist/{config-cli-C0Z8l_cH.js → config-cli-DfABZZJ1.js} +1 -1
- package/dist/{config-guard-THCtF7SH.js → config-guard-CdbAZXqh.js} +3 -3
- package/dist/{config-validation-BgjGiBwk.js → config-validation-Bn0atyWE.js} +3 -3
- package/dist/{configure-CyhJDi-o.js → configure-PWOO1SWf.js} +19 -19
- package/dist/{configure-CwCN7C4J.js → configure-tNoPV8AJ.js} +1 -1
- package/dist/{control-ui-assets-DIBwwDAL.js → control-ui-assets-B1qVA62q.js} +1 -1
- package/dist/{cron-cli-DEWQQAZg.js → cron-cli-BWWBn58q.js} +11 -11
- package/dist/{daemon-cli-fixQtS_3.js → daemon-cli-Ckhi3S0x.js} +5 -5
- package/dist/{daemon-cli-DDOlXF-y.js → daemon-cli-Di0mFZWs.js} +16 -16
- package/dist/daemon-cli.js +9 -4
- package/dist/{daemon-install-C4AKaLdy.js → daemon-install-B2fT93a3.js} +21 -21
- package/dist/{daemon-install-D0yIgdZW.js → daemon-install-CWpghW8k.js} +1 -1
- package/dist/{daemon-install-helpers-CVfc_ZXM.js → daemon-install-helpers-BWyx8Sx7.js} +12 -12
- package/dist/{deliver-754C3f2C.js → deliver-BSlI6o2D.js} +7 -7
- package/dist/{deliver-D-x487kv.js → deliver-DBsYfyHP.js} +1 -1
- package/dist/deliver-runtime-BjkTIwlL.js +57 -0
- package/dist/{deliver-runtime-gs8PEJHW.js → deliver-runtime-Yz8xsseU.js} +3 -3
- package/dist/deps-send-discord.runtime-COZDJ4kj.js +31 -0
- package/dist/deps-send-imessage.runtime-CrUNGLpB.js +30 -0
- package/dist/deps-send-signal.runtime-BdIsLRiH.js +29 -0
- package/dist/deps-send-slack.runtime-haEMGbWP.js +27 -0
- package/dist/deps-send-telegram.runtime-TdOBj1BE.js +33 -0
- package/dist/deps-send-whatsapp.runtime-Bf8yUhOp.js +115 -0
- package/dist/{deps-send-whatsapp.runtime-D9cBUcGe.js → deps-send-whatsapp.runtime-Mb5nI79S.js} +7 -7
- package/dist/{devices-cli-quvV3Kka.js → devices-cli-D78eahM0.js} +8 -8
- package/dist/{diagnostic-D0TftuxK.js → diagnostic-CFCd8W0m.js} +1 -1
- package/dist/{diagnostics-BrA18SV4.js → diagnostics-CJLP-HQK.js} +5 -5
- package/dist/{diagnostics-CKEVHs7n.js → diagnostics-g4kCl3Wr.js} +1 -1
- package/dist/{directory-cli-CRRwqLtU.js → directory-cli-CchmjuDY.js} +7 -7
- package/dist/{dns-cli-LufK6hHQ.js → dns-cli-C73_Y0ZB.js} +5 -5
- package/dist/{dock-tPqNmtNL.js → dock-wtxEAACu.js} +4 -4
- package/dist/{docs-cli-BJb-cOpV.js → docs-cli-CdYaag66.js} +4 -4
- package/dist/{doctor-completion-DDK1pAvc.js → doctor-completion-B7MotNqQ.js} +1 -1
- package/dist/{doctor-completion-CbB8sBAb.js → doctor-completion-DmWeZX0M.js} +2 -2
- package/dist/{doctor-config-flow-qCvK2k4B.js → doctor-config-flow-CLlEO2jJ.js} +16 -16
- package/dist/{enable-DfvB7o85.js → enable-Dk8s7RC7.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-BKsPjl3W.js → exec-approvals-allowlist-BTePmA7R.js} +1 -1
- package/dist/{exec-approvals-cli-raoktoDD.js → exec-approvals-cli-DzmNRLok.js} +16 -16
- package/dist/{exec-approvals-cli-DKUcKVKU.js → exec-approvals-cli-sNZ1MCrZ.js} +2 -2
- package/dist/{exec-safe-bin-runtime-policy-Cm7TKqpY.js → exec-safe-bin-runtime-policy-B8a4-DkO.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-OsQusEch.js → fetch-CLpizcRC.js} +3 -3
- package/dist/{fetch-guard-CYvHLcm1.js → fetch-guard-CTJIkmOy.js} +1 -1
- package/dist/{fs-safe-CgWykA_r.js → fs-safe-DZPN9PEp.js} +24 -24
- package/dist/{gateway-cli-FCR2v3fN.js → gateway-cli-B-C_BUeg.js} +158 -158
- package/dist/{gateway-cli-CQfPJGkv.js → gateway-cli-DuJgUJEo.js} +9 -9
- package/dist/{gateway-install-token-DpBkW5NL.js → gateway-install-token-DUJ-X-CS.js} +3 -3
- package/dist/{gateway-rpc-vqmfnd4e.js → gateway-rpc-CZWffg-J.js} +1 -1
- package/dist/{health-CX11t-Su.js → health-CqfjbU3N.js} +11 -11
- package/dist/{hooks-cli-D9dqop-W.js → hooks-cli-CwrgdWfU.js} +80 -80
- package/dist/{hooks-status-wJu8Rm9x.js → hooks-status-41E49JnH.js} +1 -1
- package/dist/{image-gKRn4k2T.js → image-C-OScNLH.js} +5 -5
- package/dist/{image-BH87HyHn.js → image-Nk4Z8dsI.js} +1 -1
- package/dist/{image-ops-Dt4M7xkd.js → image-ops-sooGTpsU.js} +10 -10
- package/dist/image-runtime-CvfZqzwb.js +51 -0
- package/dist/{image-runtime-RUsR--QR.js → image-runtime-koB5Zl5s.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{inspect-DYLkh7ux.js → inspect-BESssF_o.js} +1 -1
- package/dist/{inspect-Bg11sSfy.js → inspect-BLDaR51z.js} +4 -4
- package/dist/{install-safe-path-Brs51UVy.js → install-safe-path-NpGSerww.js} +25 -25
- package/dist/{installs-XHd3fauV.js → installs-CLaVeEP2.js} +8 -8
- package/dist/{ipv4-s-bz8E7J.js → ipv4-oTVR6LLm.js} +1 -1
- package/dist/{ir-DTl0TSQX.js → ir-MJchm-P0.js} +8 -8
- package/dist/{issue-format-8vbMtP-9.js → issue-format-BhYUpe8G.js} +1 -1
- package/dist/{json-files-Byf92VOl.js → json-files-D-hzuOc8.js} +8 -8
- package/dist/{lifecycle-core-D57bmaEM.js → lifecycle-core-BDRJ-gZl.js} +5 -5
- package/dist/{lifecycle-core-Bh-Jy8dW.js → lifecycle-core-Cuioj9RE.js} +2 -2
- package/dist/{login-BcTfGveb.js → login-BrAq_fE9.js} +3 -3
- package/dist/{login-qr-DxsNtFb-.js → login-qr-w8g9Wssr.js} +6 -6
- package/dist/{logs-cli-C1mQ6jm1.js → logs-cli-Dm95Nvw2.js} +9 -9
- package/dist/{manager-DyZ-LIQS.js → manager-Mu3eMmUj.js} +14 -14
- package/dist/manager-runtime-Cj9Hvway.js +21 -0
- package/dist/{manifest-registry-DjjgwuVC.js → manifest-registry-C_atL4ID.js} +1 -1
- package/dist/{memory-cli-CXFqQMtN.js → memory-cli-DjSgQlDO.js} +12 -12
- package/dist/{model-catalog-CyL_QlZd.js → model-catalog-Crm5h6fz.js} +3 -3
- package/dist/{model-picker-DqYwIby0.js → model-picker-RWaJDIbf.js} +4 -4
- package/dist/{models-BryKzxGG.js → models-Dm0hzS3D.js} +15 -15
- package/dist/{models-cli-BU89hunh.js → models-cli-TrSDz03D.js} +77 -77
- package/dist/{models-config-Do_bkbr3.js → models-config-ioRkhhh4.js} +6 -6
- package/dist/{node-cli-CA1SvH73.js → node-cli-C9unxcj_.js} +33 -33
- package/dist/{node-cli-CfmQ2Qof.js → node-cli-DCokZ5VQ.js} +4 -4
- package/dist/{node-command-policy-Bqp9nIUg.js → node-command-policy-DdF7xJQa.js} +1 -1
- package/dist/{node-service-BirxNntZ.js → node-service-DCfQospz.js} +1 -1
- package/dist/{node-service-BUERUsa_.js → node-service-DhooZn04.js} +1 -1
- package/dist/{nodes-cli-DLtFA23h.js → nodes-cli-ZdvlYwxX.js} +16 -16
- package/dist/{nodes-screen-gvENU0qT.js → nodes-screen-B7eOQ14A.js} +7 -7
- package/dist/{npm-pack-install-2dbksMMb.js → npm-pack-install-Dz4wJtRd.js} +18 -18
- package/dist/{npm-resolution-DafKZYAM.js → npm-resolution-BFE8ihLy.js} +4 -4
- package/dist/{onboard-CpYQ6i29.js → onboard-CI27VpfB.js} +6 -6
- package/dist/{onboard-DCljJSci.js → onboard-DQpNrN8f.js} +2 -2
- package/dist/{onboard-channels-lyZUxSJ-.js → onboard-channels-BBkxHyWU.js} +21 -21
- package/dist/{onboard-custom-BYAJVMrS.js → onboard-custom-CLwjPxwD.js} +4 -4
- package/dist/{onboard-helpers-BqSYoJSO.js → onboard-helpers-BJ2MHcp9.js} +10 -10
- package/dist/{onboard-hooks-B4f4qUvf.js → onboard-hooks-OrZtfoSC.js} +4 -4
- package/dist/{onboard-remote-5YZ2k5qA.js → onboard-remote-wY_bxC1W.js} +4 -4
- package/dist/{onboard-skills-P7WUXQqb.js → onboard-skills-CdhTiJIU.js} +4 -4
- package/dist/{onboarding-C2ZQIZ5e.js → onboarding-BV3dioI3.js} +14 -14
- package/dist/{onboarding-TLgFqsJ0.js → onboarding-bSVnEk-q.js} +1 -1
- package/dist/{onboarding.finalize-C0dSrRMy.js → onboarding.finalize-CthILcfJ.js} +88 -88
- package/dist/{onboarding.finalize-BKLMwDpS.js → onboarding.finalize-V311LPsU.js} +4 -4
- package/dist/{onboarding.gateway-config-DOjylmTf.js → onboarding.gateway-config-DWG9D6GI.js} +19 -19
- package/dist/{onboarding.secret-input-D28tCmCi.js → onboarding.secret-input-yXmtdEMi.js} +1 -1
- package/dist/{openai-codex-model-default-Dh0Anrx7.js → openai-codex-model-default-BnNc6l4d.js} +3 -3
- package/dist/{openai-model-default-JIrv3HNj.js → openai-model-default-PyAlsRPb.js} +2 -2
- package/dist/{openclaw-root-Dh_Sm1l8.js → openclaw-root-Gv7Ob-5V.js} +8 -8
- package/dist/{outbound-attachment-BE3KAIhc.js → outbound-attachment-Bui79r_g.js} +2 -2
- package/dist/{outbound-EIL02rQd.js → outbound-owi6Cvj_.js} +4 -4
- package/dist/{pairing-cli-DYFTC4OI.js → pairing-cli-y8L4PLm3.js} +8 -8
- package/dist/{pairing-labels-c6cTWTzi.js → pairing-labels-DvrRVH1N.js} +1 -1
- package/dist/{pairing-store-gcbFdvn2.js → pairing-store-BsYNiJyH.js} +3 -3
- package/dist/{path-alias-guards-OAUIyvyc.js → path-alias-guards-BndjEKU2.js} +3 -3
- package/dist/{path-safety-h4lG_U1h.js → path-safety-FANXxHHr.js} +1 -1
- package/dist/{paths-C6-x9jb-.js → paths-B-3rcnCY.js} +9 -9
- package/dist/{pi-embedded-NHtVbVqt.js → pi-embedded-DhjXWD5O.js} +25 -25
- package/dist/{pi-embedded-helpers-C1kbyX9C.js → pi-embedded-helpers-BUubsAcJ.js} +6 -6
- package/dist/{pi-embedded-helpers-o22sdqT_.js → pi-embedded-helpers-CSodYzr7.js} +3 -3
- package/dist/{pi-model-discovery-BJyAkuau.js → pi-model-discovery-qGBDJI9t.js} +1 -1
- package/dist/{pi-model-discovery-runtime-D_6fWmk1.js → pi-model-discovery-runtime-B8XjnAyy.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-LDkkLRSe.js → pi-tools.before-tool-call.runtime-CDfXf9XL.js} +5 -5
- package/dist/{pi-tools.policy-dFXahmgF.js → pi-tools.policy-CSPrerKx.js} +6 -6
- package/dist/{plugin-auto-enable-CPLdiF-6.js → plugin-auto-enable-BAHkcVP4.js} +3 -3
- package/dist/{plugin-registry-BA0j17R1.js → plugin-registry-bnANTUyV.js} +3 -3
- package/dist/plugin-sdk/bluebubbles.js +2 -2
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/plugin-sdk/tlon.js +2 -2
- package/dist/plugin-sdk/twitch.js +2 -2
- package/dist/{plugins-BB30X9Wg.js → plugins-Bv9ZfJVO.js} +2 -2
- package/dist/{plugins-cli-Do7-62o7.js → plugins-cli-BnD810PB.js} +82 -82
- package/dist/{ports-CrkPY1HU.js → ports-CFvWMNlt.js} +1 -1
- package/dist/{ports-CRHQM_CU.js → ports-JXKx9QTu.js} +2 -2
- package/dist/{probe-B01qwW3t.js → probe-BSiLGREe.js} +2 -2
- package/dist/{program-DibN7S7t.js → program-DslcDMLC.js} +80 -80
- package/dist/{program-context-QLGv1wVR.js → program-context-BCkMeZ0D.js} +12 -12
- package/dist/{prompt-select-styled-DeQQQ0QA.js → prompt-select-styled-C0PnL2-4.js} +41 -41
- package/dist/{prompt-select-styled-BLaCMb3d.js → prompt-select-styled-DtsNnfFy.js} +5 -5
- package/dist/{provider-auth-helpers-Bu3NP92x.js → provider-auth-helpers-Bo68RFgl.js} +5 -5
- package/dist/{proxy-env-CHINy-_C.js → proxy-env-C4Sv8mbU.js} +1 -1
- package/dist/{push-apns-Dv9W1mnb.js → push-apns-JhqWOAwU.js} +5 -5
- package/dist/{pw-ai-DNjwFfSW.js → pw-ai-BL-cDtw0.js} +18 -18
- package/dist/{pw-ai-MWIrQHO4.js → pw-ai-DZOmcrIm.js} +1 -1
- package/dist/{qmd-manager-BFlQuEU2.js → qmd-manager-CXJXujXb.js} +20 -20
- package/dist/{qr-cli-CDRdlfTz.js → qr-cli-IKWtasYO.js} +2 -2
- package/dist/{redact-snapshot-DfzfKriI.js → redact-snapshot-sxLRRmfh.js} +1 -1
- package/dist/{register.agent-DZcC5FDy.js → register.agent-BhE6O5kz.js} +93 -93
- package/dist/{register.configure-Dmv99pKW.js → register.configure-COPz8XYt.js} +2 -2
- package/dist/register.configure-NmyxXY5V.js +164 -0
- package/dist/{register.maintenance-BNVvn7VP.js → register.maintenance-CEk4B6v4.js} +95 -95
- package/dist/{register.maintenance-By_ZStHt.js → register.maintenance-CyYEm7iS.js} +7 -7
- package/dist/{register.message-DcsEcis4.js → register.message-6oUodJEa.js} +73 -73
- package/dist/{register.onboard-wGV8LHCW.js → register.onboard-2PhRDQTS.js} +18 -18
- package/dist/{register.onboard-rxQ8R21T.js → register.onboard-BP9GuZks.js} +2 -2
- package/dist/{register.setup-DoDh05A7.js → register.setup-CprZSMEV.js} +21 -21
- package/dist/{register.setup-e2gy3YmS.js → register.setup-Ni4737D9.js} +2 -2
- package/dist/{register.status-health-sessions-CFPRa6iq.js → register.status-health-sessions-BpTP5AfU.js} +88 -88
- package/dist/{register.status-health-sessions-BoG2-Twd.js → register.status-health-sessions-HgeTqr9l.js} +4 -4
- package/dist/{register.subclis-Dperszpc.js → register.subclis-CXGjQuPd.js} +31 -31
- package/dist/{resolve-configured-secret-input-string-BdkI2Dl0.js → resolve-configured-secret-input-string-DvKJxAtp.js} +1 -1
- package/dist/{rpc-CM5MI1Km.js → rpc-CQs3IjG7.js} +1 -1
- package/dist/{run-main-BcAftmJ6.js → run-main-CHHrSCWI.js} +91 -91
- package/dist/{runtime-DIn_d_mi.js → runtime-BC8kvHYq.js} +3 -3
- package/dist/{runtime-config-collectors-DVZ-fK7E.js → runtime-config-collectors-DM4YW0m9.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-C2Hz6tBD.js → runtime-whatsapp-login.runtime-Dj6jyYEL.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-CboIijG_.js +27 -0
- package/dist/{sandbox-QUwr5BiV.js → sandbox-Ey0spRTA.js} +18 -18
- package/dist/{sandbox-cli-BHPtvNZP.js → sandbox-cli-WnhAHtf7.js} +25 -25
- package/dist/{secrets-cli-BirGeLI0.js → secrets-cli-CxRF1ol0.js} +11 -11
- package/dist/{security-cli-BdtTg2un.js → security-cli-EJK_t_Hu.js} +43 -43
- package/dist/{send-DR8brNFF.js → send-Cms8uhN1.js} +5 -5
- package/dist/{send-DsIy0owU.js → send-DExcQWAf.js} +4 -4
- package/dist/{send-D0TbCIOU.js → send-DgUi3bl8.js} +8 -8
- package/dist/{send-BRb_0Ibb.js → send-Dlp3HAiX.js} +6 -6
- package/dist/{send-CHUBkOx4.js → send-Don_FZgW.js} +11 -11
- package/dist/{server-CsG3vwY6.js → server-DUXr6A6B.js} +20 -20
- package/dist/{server-context-BOMErxlB.js → server-context-DDDYJ1E5.js} +12 -12
- package/dist/{server-lifecycle-Bz_tILpw.js → server-lifecycle-5QwrD-pI.js} +2 -2
- package/dist/{server-middleware-COJNPqNx.js → server-middleware-CUHXrp2x.js} +1 -1
- package/dist/{server-node-events-Bkfa7nls.js → server-node-events-D8EKx-Ef.js} +73 -73
- package/dist/{service-BqHBIJsE.js → service-CkeyjKgU.js} +9 -4
- package/dist/{service-A9LH2cqi.js → service-VB8hrx3m.js} +24 -19
- package/dist/{session-B78ElRuv.js → session-DLkD-iwM.js} +1 -1
- package/dist/{session-utils-HmD-1G9e.js → session-utils-DqcL4tRB.js} +6 -6
- package/dist/{sessions-TCNQfcSW.js → sessions-BJu8U8kz.js} +15 -15
- package/dist/{sessions-CteOs-Xa.js → sessions-DGFe_VH1.js} +4 -4
- package/dist/{shared-0ohfVTdd.js → shared-Bto9UlKB.js} +1 -1
- package/dist/{shared-CiWwdWaM.js → shared-DFIymKVc.js} +1 -1
- package/dist/{skill-commands-BvomqRJm.js → skill-commands-C7_32HvU.js} +5 -5
- package/dist/{skill-scanner-B_VveqAF.js → skill-scanner-CTA9_1Ad.js} +6 -6
- package/dist/{skills-Bme_5_Wh.js → skills-C3DzmT-s.js} +3 -3
- package/dist/{skills-cli-DMOEU-Kf.js → skills-cli-C2MW9QVA.js} +5 -5
- package/dist/{skills-install-jgMttMiG.js → skills-install-xhIs9n_2.js} +6 -6
- package/dist/{skills-status-DDy1p1bH.js → skills-status-n9vgDHer.js} +1 -1
- package/dist/{slash-commands.runtime-kurmXJKo.js → slash-commands.runtime-BrlJHzZ0.js} +11 -11
- package/dist/{slash-dispatch.runtime-Du0T-jw8.js → slash-dispatch.runtime--1geVpWH.js} +6 -6
- package/dist/slash-dispatch.runtime-BPzR4clK.js +110 -0
- package/dist/slash-skill-commands.runtime-C3MY6G1s.js +29 -0
- package/dist/{sqlite-CVpjz_Fn.js → sqlite-B6J7wlgb.js} +12 -12
- package/dist/{status-DGNyj-My.js → status-BvATDhyx.js} +29 -29
- package/dist/{status-CZmvZ4Du.js → status-CzDUyBhZ.js} +1 -1
- package/dist/{status-CcDhfT7z.js → status-gmvLzqWY.js} +3 -3
- package/dist/{status.update-CMY8gTu2.js → status.update-DndHNWm3.js} +2 -2
- package/dist/{store-dO9FxwIh.js → store-BxDf7hdp.js} +15 -15
- package/dist/{subagent-registry-runtime-BX7PeNcG.js → subagent-registry-runtime-BF8LA25p.js} +6 -6
- package/dist/subagent-registry-runtime-CTIJfGw5.js +110 -0
- package/dist/{system-cli-C5W2hXEn.js → system-cli-Be_6EDGU.js} +9 -9
- package/dist/{system-run-command-B6YFaIn3.js → system-run-command-BlvZfJeb.js} +1 -1
- package/dist/{systemd-DunyHHc7.js → systemd-QfmEIyC_.js} +10 -10
- package/dist/{systemd-hints-DNCfudm3.js → systemd-hints-B1wK4V9O.js} +1 -1
- package/dist/{systemd-hints-Cc1WoU1g.js → systemd-hints-C8DMAujY.js} +6 -6
- package/dist/{systemd-linger-C8eA-s3i.js → systemd-linger-D_EygRlf.js} +1 -1
- package/dist/{tables-Ckhi6C4h.js → tables-DVqUjPRa.js} +1 -1
- package/dist/{tailnet-CcjaRS5e.js → tailnet-CoMmrqa1.js} +1 -1
- package/dist/{target-errors-018oJFiB.js → target-errors-N10oAD8K.js} +4 -4
- package/dist/{tool-images-C1FdHV43.js → tool-images-ByGbgP3W.js} +1 -1
- package/dist/{tui-cli-DImVjijU.js → tui-cli-A2qCvBWw.js} +33 -33
- package/dist/{tui-CsIlN_Go.js → tui-o3M_Bbq1.js} +7 -7
- package/dist/{update-CDOtvt7K.js → update-Mc1LqzY6.js} +3 -3
- package/dist/{update-cli-Dq8uIRxF.js → update-cli-BKMUoIZY.js} +105 -105
- package/dist/{update-cli-CazqKKsR.js → update-cli-ByxIfOIf.js} +9 -9
- package/dist/{update-runner-BSMIDJ-p.js → update-runner-CCB_wRmi.js} +16 -16
- package/dist/web-BblTI04D.js +114 -0
- package/dist/{web-CuWkibTO.js → web-DUmwaFF8.js} +6 -6
- package/dist/{webhooks-cli-5lNqCVtQ.js → webhooks-cli-B1O1xKF7.js} +6 -6
- package/dist/{whatsapp-actions-BXDIsy-2.js → whatsapp-actions-P1s1gYIT.js} +17 -17
- package/dist/{with-timeout-xWhqcPuu.js → with-timeout-gotbjCau.js} +3 -3
- package/dist/{workspace-Ct8qaDh3.js → workspace-ST8Op53v.js} +1 -1
- package/dist/{workspace-dirs-Ch8qs0UH.js → workspace-dirs--0e3kMf7.js} +1 -1
- package/dist/{ws-DUfuK8DQ.js → ws-DrZBk8aE.js} +2 -2
- package/dist/{wsl-DLw4LET-.js → wsl-Dd7vjPIH.js} +2 -2
- package/package.json +1 -1
- package/dist/compact.runtime-Cs7M1NjN.js +0 -110
- package/dist/deliver-runtime-BSN3wlW_.js +0 -57
- package/dist/deps-send-discord.runtime-DD-RWrwG.js +0 -31
- package/dist/deps-send-imessage.runtime-gAWYnB6p.js +0 -30
- package/dist/deps-send-signal.runtime-Ry6Voc2R.js +0 -29
- package/dist/deps-send-slack.runtime-CcCvO5a7.js +0 -27
- package/dist/deps-send-telegram.runtime-97vMMh1v.js +0 -33
- package/dist/deps-send-whatsapp.runtime-B8nhC5lk.js +0 -115
- package/dist/image-runtime-3d_07I1J.js +0 -51
- package/dist/manager-runtime-DDmFvXWq.js +0 -21
- package/dist/register.configure-C_xciKz5.js +0 -164
- package/dist/runtime-whatsapp-outbound.runtime-BpuvPdTK.js +0 -27
- package/dist/slash-dispatch.runtime-BDYuFlr9.js +0 -110
- package/dist/slash-skill-commands.runtime-CRatiVfd.js +0 -29
- package/dist/subagent-registry-runtime-CqAEqqbS.js +0 -110
- package/dist/web-CNj08Zq-.js +0 -114
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { P as theme, _ as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { B as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { B as loadConfig } from "./auth-profiles-QXvcpjIT.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DdHwx_z_.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dd2_TNoB.js";
|
|
5
5
|
import { x as shortenHomePath } from "./utils-DanSccFf.js";
|
|
6
|
-
import "./openclaw-root-
|
|
6
|
+
import "./openclaw-root-Gv7Ob-5V.js";
|
|
7
7
|
import "./logger-BcqRk323.js";
|
|
8
8
|
import "./exec-OWC_Lkz4.js";
|
|
9
9
|
import "./github-copilot-token-DHTToceK.js";
|
|
10
10
|
import "./host-env-security-CIiLt2Mi.js";
|
|
11
11
|
import "./version-BKzmSBiX.js";
|
|
12
12
|
import "./registry-CZbmSOj8.js";
|
|
13
|
-
import "./manifest-registry-
|
|
13
|
+
import "./manifest-registry-C_atL4ID.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-BUkYLQQF.js";
|
|
15
15
|
import { t as renderTable } from "./table-n1r43DsC.js";
|
|
16
16
|
|
|
@@ -230,7 +230,7 @@ function formatSkillsCheck(report, opts) {
|
|
|
230
230
|
async function loadSkillsStatusReport() {
|
|
231
231
|
const config = loadConfig();
|
|
232
232
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
233
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
233
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-n9vgDHer.js").then((n) => n.n);
|
|
234
234
|
return buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
235
235
|
}
|
|
236
236
|
async function runSkillsAction(render) {
|
|
@@ -2,13 +2,13 @@ import { h as resolveConfigDir, s as ensureDir, v as resolveUserPath } from "./u
|
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-OWC_Lkz4.js";
|
|
3
3
|
import { f as hasBinary } from "./frontmatter-ukO4UPgE.js";
|
|
4
4
|
import { p as resolveSkillKey } from "./env-overrides-DliONB2B.js";
|
|
5
|
-
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-
|
|
6
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
7
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
5
|
+
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-C3DzmT-s.js";
|
|
6
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-DZPN9PEp.js";
|
|
7
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CTJIkmOy.js";
|
|
8
8
|
import { t as resolveBrewExecutable } from "./brew-BU-ImXQp.js";
|
|
9
|
-
import { t as isWithinDir } from "./path-safety-
|
|
10
|
-
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-
|
|
11
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
9
|
+
import { t as isWithinDir } from "./path-safety-FANXxHHr.js";
|
|
10
|
+
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-NpGSerww.js";
|
|
11
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CTA9_1Ad.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ import { s as createSubsystemLogger } from "./entry.js";
|
|
|
3
3
|
import { t as CONFIG_DIR } from "./utils-DanSccFf.js";
|
|
4
4
|
import { f as hasBinary } from "./frontmatter-ukO4UPgE.js";
|
|
5
5
|
import { a as isBundledSkillAllowed, c as resolveSkillConfig, o as isConfigPathTruthy, s as resolveBundledAllowlist } from "./env-overrides-DliONB2B.js";
|
|
6
|
-
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-
|
|
6
|
+
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-C3DzmT-s.js";
|
|
7
7
|
import { t as evaluateEntryRequirementsForCurrentPlatform } from "./entry-status-DZ7Qup8J.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./auth-profiles-
|
|
2
|
-
import "./agent-scope-
|
|
1
|
+
import "./auth-profiles-QXvcpjIT.js";
|
|
2
|
+
import "./agent-scope-Dd2_TNoB.js";
|
|
3
3
|
import "./utils-DanSccFf.js";
|
|
4
|
-
import "./openclaw-root-
|
|
4
|
+
import "./openclaw-root-Gv7Ob-5V.js";
|
|
5
5
|
import "./logger-BcqRk323.js";
|
|
6
6
|
import "./exec-OWC_Lkz4.js";
|
|
7
7
|
import "./github-copilot-token-DHTToceK.js";
|
|
8
8
|
import "./host-env-security-CIiLt2Mi.js";
|
|
9
9
|
import "./version-BKzmSBiX.js";
|
|
10
10
|
import "./registry-CZbmSOj8.js";
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./dock-
|
|
13
|
-
import "./accounts-
|
|
14
|
-
import "./plugins-
|
|
11
|
+
import "./manifest-registry-C_atL4ID.js";
|
|
12
|
+
import "./dock-wtxEAACu.js";
|
|
13
|
+
import "./accounts-CGMgxUfN.js";
|
|
14
|
+
import "./plugins-Bv9ZfJVO.js";
|
|
15
15
|
import "./logging-BdnOSVPD.js";
|
|
16
|
-
import "./accounts-
|
|
17
|
-
import "./accounts-
|
|
16
|
+
import "./accounts-B_Mf6Ybe.js";
|
|
17
|
+
import "./accounts-NKTm9o4M.js";
|
|
18
18
|
import "./thinking-Bkhiq_gH.js";
|
|
19
|
-
import "./commands-
|
|
20
|
-
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-
|
|
19
|
+
import "./commands-C-YxTe08.js";
|
|
20
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-WI8KXlO7.js";
|
|
21
21
|
|
|
22
22
|
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -2,7 +2,7 @@ import "./run-with-concurrency-Bs9-HnHw.js";
|
|
|
2
2
|
import "./paths-CaA28K0s.js";
|
|
3
3
|
import "./logger-03l-fZAz.js";
|
|
4
4
|
import "./model-selection-cS_zSy97.js";
|
|
5
|
-
import { F as resolveAgentRoute, I as finalizeInboundContext, S as dispatchReplyWithDispatcher, i as deliverSlackSlashReplies, l as createReplyPrefixOptions, r as recordInboundSessionMetaSafe } from "./pi-embedded-
|
|
5
|
+
import { F as resolveAgentRoute, I as finalizeInboundContext, S as dispatchReplyWithDispatcher, i as deliverSlackSlashReplies, l as createReplyPrefixOptions, r as recordInboundSessionMetaSafe } from "./pi-embedded-DhjXWD5O.js";
|
|
6
6
|
import "./github-copilot-token-BWXANsA6.js";
|
|
7
7
|
import "./thinking-2PNUuxuN.js";
|
|
8
8
|
import "./tokens-C8DQ6xw-.js";
|
|
@@ -10,14 +10,14 @@ import "./accounts-UwV5AIRM.js";
|
|
|
10
10
|
import "./plugins-DVUzcEPT.js";
|
|
11
11
|
import "./send-DpzGLEaw.js";
|
|
12
12
|
import "./send-Dqd2ItKE.js";
|
|
13
|
-
import "./deliver-
|
|
13
|
+
import "./deliver-DBsYfyHP.js";
|
|
14
14
|
import "./diagnostic-DkCNQXnY.js";
|
|
15
15
|
import "./accounts-CdWRqpfK.js";
|
|
16
16
|
import "./image-ops-DVXcAqlu.js";
|
|
17
17
|
import "./send-BEOBr-1i.js";
|
|
18
18
|
import "./pi-model-discovery-BFeJ0ZCz.js";
|
|
19
|
-
import { At as resolveConversationLabel } from "./pi-embedded-helpers-
|
|
20
|
-
import "./chrome-
|
|
19
|
+
import { At as resolveConversationLabel } from "./pi-embedded-helpers-CSodYzr7.js";
|
|
20
|
+
import "./chrome-CMibSHuV.js";
|
|
21
21
|
import "./skills-C2hKwiN4.js";
|
|
22
22
|
import "./path-alias-guards-Ba9jvI-u.js";
|
|
23
23
|
import "./redact-COiNLRqA.js";
|
|
@@ -28,8 +28,8 @@ import "./store-D6GdUBYO.js";
|
|
|
28
28
|
import "./accounts-DjqGHhCq.js";
|
|
29
29
|
import "./paths-DCMEFJb9.js";
|
|
30
30
|
import "./tool-images-CUV07CW3.js";
|
|
31
|
-
import "./image-
|
|
32
|
-
import "./audio-transcription-runner-
|
|
31
|
+
import "./image-Nk4Z8dsI.js";
|
|
32
|
+
import "./audio-transcription-runner-DX0Waokh.js";
|
|
33
33
|
import "./fetch-B7wAopED.js";
|
|
34
34
|
import "./fetch-guard-MFfRSNg-.js";
|
|
35
35
|
import "./api-key-rotation-CWqDt4LX.js";
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import "./auth-profiles-QXvcpjIT.js";
|
|
2
|
+
import "./agent-scope-Dd2_TNoB.js";
|
|
3
|
+
import "./utils-DanSccFf.js";
|
|
4
|
+
import "./openclaw-root-Gv7Ob-5V.js";
|
|
5
|
+
import "./logger-BcqRk323.js";
|
|
6
|
+
import "./exec-OWC_Lkz4.js";
|
|
7
|
+
import "./github-copilot-token-DHTToceK.js";
|
|
8
|
+
import "./host-env-security-CIiLt2Mi.js";
|
|
9
|
+
import "./version-BKzmSBiX.js";
|
|
10
|
+
import "./registry-CZbmSOj8.js";
|
|
11
|
+
import "./manifest-registry-C_atL4ID.js";
|
|
12
|
+
import "./dock-wtxEAACu.js";
|
|
13
|
+
import "./tokens-Df74FoY2.js";
|
|
14
|
+
import { F as createReplyPrefixOptions, Hn as finalizeInboundContext, Nn as resolveAgentRoute, W as dispatchReplyWithDispatcher, d as recordInboundSessionMetaSafe, f as deliverSlackSlashReplies } from "./compact-BBdhRYXH.js";
|
|
15
|
+
import "./accounts-CGMgxUfN.js";
|
|
16
|
+
import "./plugins-Bv9ZfJVO.js";
|
|
17
|
+
import "./logging-BdnOSVPD.js";
|
|
18
|
+
import "./send-DExcQWAf.js";
|
|
19
|
+
import "./send-Don_FZgW.js";
|
|
20
|
+
import "./with-timeout-gotbjCau.js";
|
|
21
|
+
import "./deliver-BSlI6o2D.js";
|
|
22
|
+
import "./diagnostic-CFCd8W0m.js";
|
|
23
|
+
import "./accounts-B_Mf6Ybe.js";
|
|
24
|
+
import "./image-ops-sooGTpsU.js";
|
|
25
|
+
import "./send-DgUi3bl8.js";
|
|
26
|
+
import "./pi-model-discovery-qGBDJI9t.js";
|
|
27
|
+
import "./message-channel-6rkF5KkO.js";
|
|
28
|
+
import "./pi-embedded-helpers-BUubsAcJ.js";
|
|
29
|
+
import "./sandbox-Ey0spRTA.js";
|
|
30
|
+
import "./tool-catalog-BCkWN5F6.js";
|
|
31
|
+
import "./chrome-CjADilJt.js";
|
|
32
|
+
import "./tailscale-BRTAbJuN.js";
|
|
33
|
+
import "./tailnet-CoMmrqa1.js";
|
|
34
|
+
import "./ws-DrZBk8aE.js";
|
|
35
|
+
import "./auth-DkciOmKe.js";
|
|
36
|
+
import "./server-context-DDDYJ1E5.js";
|
|
37
|
+
import "./frontmatter-ukO4UPgE.js";
|
|
38
|
+
import "./env-overrides-DliONB2B.js";
|
|
39
|
+
import "./path-alias-guards-BndjEKU2.js";
|
|
40
|
+
import "./skills-C3DzmT-s.js";
|
|
41
|
+
import "./paths-B-3rcnCY.js";
|
|
42
|
+
import "./redact-BCIqtHJW.js";
|
|
43
|
+
import "./errors-DMBofubI.js";
|
|
44
|
+
import "./fs-safe-DZPN9PEp.js";
|
|
45
|
+
import "./proxy-env-C4Sv8mbU.js";
|
|
46
|
+
import "./store-BxDf7hdp.js";
|
|
47
|
+
import "./ports-JXKx9QTu.js";
|
|
48
|
+
import "./trash-BvQCk4Sz.js";
|
|
49
|
+
import "./server-middleware-CUHXrp2x.js";
|
|
50
|
+
import { it as resolveConversationLabel } from "./sessions-BJu8U8kz.js";
|
|
51
|
+
import "./accounts-NKTm9o4M.js";
|
|
52
|
+
import "./paths-CA9zLiBI.js";
|
|
53
|
+
import "./chat-envelope-Ccu0M1Es.js";
|
|
54
|
+
import "./tool-images-ByGbgP3W.js";
|
|
55
|
+
import "./thinking-Bkhiq_gH.js";
|
|
56
|
+
import "./models-config-ioRkhhh4.js";
|
|
57
|
+
import "./exec-approvals-allowlist-BTePmA7R.js";
|
|
58
|
+
import "./exec-safe-bin-runtime-policy-B8a4-DkO.js";
|
|
59
|
+
import "./model-catalog-Crm5h6fz.js";
|
|
60
|
+
import "./fetch-CLpizcRC.js";
|
|
61
|
+
import "./audio-transcription-runner-Cl9Pu_e3.js";
|
|
62
|
+
import "./fetch-guard-CTJIkmOy.js";
|
|
63
|
+
import "./image-C-OScNLH.js";
|
|
64
|
+
import "./tool-display-C82F9dil.js";
|
|
65
|
+
import "./api-key-rotation-DsHx0Ttu.js";
|
|
66
|
+
import "./proxy-fetch-D5sLhh0l.js";
|
|
67
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-MJchm-P0.js";
|
|
68
|
+
import "./render-CumKrTIx.js";
|
|
69
|
+
import "./target-errors-N10oAD8K.js";
|
|
70
|
+
import "./commands-C-YxTe08.js";
|
|
71
|
+
import "./commands-registry-WI8KXlO7.js";
|
|
72
|
+
import "./session-cost-usage-cBObXwSm.js";
|
|
73
|
+
import "./session-utils-DqcL4tRB.js";
|
|
74
|
+
import "./sqlite-B6J7wlgb.js";
|
|
75
|
+
import "./client-DaFloLVI.js";
|
|
76
|
+
import "./call-B56A9tyz.js";
|
|
77
|
+
import "./pairing-token-fl66UgDc.js";
|
|
78
|
+
import "./fetch-CT-djTs1.js";
|
|
79
|
+
import "./pairing-store-BsYNiJyH.js";
|
|
80
|
+
import "./exec-approvals-C9sQPnw_.js";
|
|
81
|
+
import "./nodes-screen-B7eOQ14A.js";
|
|
82
|
+
import "./system-run-command-BlvZfJeb.js";
|
|
83
|
+
import "./skill-commands-C7_32HvU.js";
|
|
84
|
+
import "./pi-tools.policy-CSPrerKx.js";
|
|
85
|
+
import "./workspace-dirs--0e3kMf7.js";
|
|
86
|
+
import "./channel-activity-ClJu0F_1.js";
|
|
87
|
+
import "./tables-DVqUjPRa.js";
|
|
88
|
+
import "./server-lifecycle-5QwrD-pI.js";
|
|
89
|
+
import "./stagger-CiDn7D2Z.js";
|
|
90
|
+
import "./channel-selection-DHlVN8Pr.js";
|
|
91
|
+
import "./plugin-auto-enable-BAHkcVP4.js";
|
|
92
|
+
import "./send-Cms8uhN1.js";
|
|
93
|
+
import "./outbound-attachment-Bui79r_g.js";
|
|
94
|
+
import "./delivery-queue-B_HOp2X3.js";
|
|
95
|
+
import "./send-Dlp3HAiX.js";
|
|
96
|
+
import "./proxy-CUsDSClP.js";
|
|
97
|
+
import "./timeouts-DEnpCqGd.js";
|
|
98
|
+
import "./runtime-config-collectors-DM4YW0m9.js";
|
|
99
|
+
import "./command-secret-targets-CsIlET0p.js";
|
|
100
|
+
import "./onboard-helpers-BJ2MHcp9.js";
|
|
101
|
+
import "./prompt-style-ezqCM_Sr.js";
|
|
102
|
+
import "./pairing-labels-DvrRVH1N.js";
|
|
103
|
+
import "./memory-cli-DjSgQlDO.js";
|
|
104
|
+
import "./manager-Mu3eMmUj.js";
|
|
105
|
+
import "./links-BUkYLQQF.js";
|
|
106
|
+
import "./cli-utils-CI_KkT8q.js";
|
|
107
|
+
import "./help-format-B08o9IQj.js";
|
|
108
|
+
import "./progress-BNL5DRrQ.js";
|
|
109
|
+
|
|
110
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./auth-profiles-QXvcpjIT.js";
|
|
2
|
+
import "./agent-scope-Dd2_TNoB.js";
|
|
3
|
+
import "./utils-DanSccFf.js";
|
|
4
|
+
import "./openclaw-root-Gv7Ob-5V.js";
|
|
5
|
+
import "./logger-BcqRk323.js";
|
|
6
|
+
import "./exec-OWC_Lkz4.js";
|
|
7
|
+
import "./github-copilot-token-DHTToceK.js";
|
|
8
|
+
import "./host-env-security-CIiLt2Mi.js";
|
|
9
|
+
import "./version-BKzmSBiX.js";
|
|
10
|
+
import "./registry-CZbmSOj8.js";
|
|
11
|
+
import "./manifest-registry-C_atL4ID.js";
|
|
12
|
+
import "./dock-wtxEAACu.js";
|
|
13
|
+
import "./accounts-CGMgxUfN.js";
|
|
14
|
+
import "./plugins-Bv9ZfJVO.js";
|
|
15
|
+
import "./logging-BdnOSVPD.js";
|
|
16
|
+
import "./accounts-B_Mf6Ybe.js";
|
|
17
|
+
import "./frontmatter-ukO4UPgE.js";
|
|
18
|
+
import "./env-overrides-DliONB2B.js";
|
|
19
|
+
import "./path-alias-guards-BndjEKU2.js";
|
|
20
|
+
import "./skills-C3DzmT-s.js";
|
|
21
|
+
import "./accounts-NKTm9o4M.js";
|
|
22
|
+
import "./thinking-Bkhiq_gH.js";
|
|
23
|
+
import "./commands-C-YxTe08.js";
|
|
24
|
+
import "./commands-registry-WI8KXlO7.js";
|
|
25
|
+
import "./pairing-token-fl66UgDc.js";
|
|
26
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-C7_32HvU.js";
|
|
27
|
+
import "./workspace-dirs--0e3kMf7.js";
|
|
28
|
+
|
|
29
|
+
export { listSkillCommandsForAgents };
|
|
@@ -5,7 +5,7 @@ import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CA9zLiBI.js";
|
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/memory/query-expansion.ts
|
|
@@ -642,7 +642,7 @@ function isFileMissingError(err) {
|
|
|
642
642
|
async function statRegularFile(absPath) {
|
|
643
643
|
let stat;
|
|
644
644
|
try {
|
|
645
|
-
stat = await
|
|
645
|
+
stat = await fsPromises.lstat(absPath);
|
|
646
646
|
} catch (err) {
|
|
647
647
|
if (isFileMissingError(err)) return { missing: true };
|
|
648
648
|
throw err;
|
|
@@ -677,7 +677,7 @@ function isMemoryPath(relPath) {
|
|
|
677
677
|
return normalized.startsWith("memory/");
|
|
678
678
|
}
|
|
679
679
|
async function walkDir(dir, files) {
|
|
680
|
-
const entries = await
|
|
680
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true });
|
|
681
681
|
for (const entry of entries) {
|
|
682
682
|
const full = path.join(dir, entry.name);
|
|
683
683
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -697,7 +697,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
697
697
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
698
698
|
const addMarkdownFile = async (absPath) => {
|
|
699
699
|
try {
|
|
700
|
-
const stat = await
|
|
700
|
+
const stat = await fsPromises.lstat(absPath);
|
|
701
701
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
702
702
|
if (!absPath.endsWith(".md")) return;
|
|
703
703
|
result.push(absPath);
|
|
@@ -706,12 +706,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
706
706
|
await addMarkdownFile(memoryFile);
|
|
707
707
|
await addMarkdownFile(altMemoryFile);
|
|
708
708
|
try {
|
|
709
|
-
const dirStat = await
|
|
709
|
+
const dirStat = await fsPromises.lstat(memoryDir);
|
|
710
710
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
711
711
|
} catch {}
|
|
712
712
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
713
713
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
714
|
-
const stat = await
|
|
714
|
+
const stat = await fsPromises.lstat(inputPath);
|
|
715
715
|
if (stat.isSymbolicLink()) continue;
|
|
716
716
|
if (stat.isDirectory()) {
|
|
717
717
|
await walkDir(inputPath, result);
|
|
@@ -725,7 +725,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
725
725
|
for (const entry of result) {
|
|
726
726
|
let key = entry;
|
|
727
727
|
try {
|
|
728
|
-
key = await
|
|
728
|
+
key = await fsPromises.realpath(entry);
|
|
729
729
|
} catch {}
|
|
730
730
|
if (seen.has(key)) continue;
|
|
731
731
|
seen.add(key);
|
|
@@ -739,14 +739,14 @@ function hashText(value) {
|
|
|
739
739
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
740
740
|
let stat;
|
|
741
741
|
try {
|
|
742
|
-
stat = await
|
|
742
|
+
stat = await fsPromises.stat(absPath);
|
|
743
743
|
} catch (err) {
|
|
744
744
|
if (isFileMissingError(err)) return null;
|
|
745
745
|
throw err;
|
|
746
746
|
}
|
|
747
747
|
let content;
|
|
748
748
|
try {
|
|
749
|
-
content = await
|
|
749
|
+
content = await fsPromises.readFile(absPath, "utf-8");
|
|
750
750
|
} catch (err) {
|
|
751
751
|
if (isFileMissingError(err)) return null;
|
|
752
752
|
throw err;
|
|
@@ -880,7 +880,7 @@ const log = createSubsystemLogger("memory");
|
|
|
880
880
|
async function listSessionFilesForAgent(agentId) {
|
|
881
881
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
882
882
|
try {
|
|
883
|
-
return (await
|
|
883
|
+
return (await fsPromises.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
|
|
884
884
|
} catch {
|
|
885
885
|
return [];
|
|
886
886
|
}
|
|
@@ -910,8 +910,8 @@ function extractSessionText(content) {
|
|
|
910
910
|
}
|
|
911
911
|
async function buildSessionEntry(absPath) {
|
|
912
912
|
try {
|
|
913
|
-
const stat = await
|
|
914
|
-
const lines = (await
|
|
913
|
+
const stat = await fsPromises.stat(absPath);
|
|
914
|
+
const lines = (await fsPromises.readFile(absPath, "utf-8")).split("\n");
|
|
915
915
|
const collected = [];
|
|
916
916
|
const lineMap = [];
|
|
917
917
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { C as info, N as isRich, P as theme, et as resolveGatewayPort } from "./entry.js";
|
|
3
|
-
import { B as loadConfig, Bi as DEFAULT_PROVIDER, H as readConfigFileSnapshot, Ri as DEFAULT_CONTEXT_TOKENS, kr as resolveConfiguredModelRef, zi as DEFAULT_MODEL } from "./auth-profiles-
|
|
3
|
+
import { B as loadConfig, Bi as DEFAULT_PROVIDER, H as readConfigFileSnapshot, Ri as DEFAULT_CONTEXT_TOKENS, kr as resolveConfiguredModelRef, zi as DEFAULT_MODEL } from "./auth-profiles-QXvcpjIT.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-DdHwx_z_.js";
|
|
5
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-Dd2_TNoB.js";
|
|
6
6
|
import { E as parseAgentSessionKey } from "./session-key-9-yI-GU_.js";
|
|
7
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
7
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-Gv7Ob-5V.js";
|
|
8
8
|
import { n as runExec } from "./exec-OWC_Lkz4.js";
|
|
9
9
|
import { t as VERSION } from "./version-BKzmSBiX.js";
|
|
10
|
-
import { Tn as peekSystemEvents, _n as buildChannelAccountSnapshot, bn as resolveChannelAccountEnabled, bt as summarizeRestartSentinel, dn as loadProviderUsageSummary, fn as formatUsageReportLines, gn as buildChannelSummary, vn as formatChannelAllowFrom, yn as resolveChannelAccountConfigured, yt as readRestartSentinel } from "./compact-
|
|
11
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
10
|
+
import { Tn as peekSystemEvents, _n as buildChannelAccountSnapshot, bn as resolveChannelAccountEnabled, bt as summarizeRestartSentinel, dn as loadProviderUsageSummary, fn as formatUsageReportLines, gn as buildChannelSummary, vn as formatChannelAllowFrom, yn as resolveChannelAccountConfigured, yt as readRestartSentinel } from "./compact-BBdhRYXH.js";
|
|
11
|
+
import { n as listChannelPlugins } from "./plugins-Bv9ZfJVO.js";
|
|
12
12
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-BRTAbJuN.js";
|
|
13
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
14
|
-
import { Y as resolveFreshSessionTotalTokens, et as resolveMainSessionKey, s as loadSessionStore } from "./sessions-
|
|
13
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-JXKx9QTu.js";
|
|
14
|
+
import { Y as resolveFreshSessionTotalTokens, et as resolveMainSessionKey, s as loadSessionStore } from "./sessions-BJu8U8kz.js";
|
|
15
15
|
import { c as resolveStorePath } from "./paths-CA9zLiBI.js";
|
|
16
|
-
import { d as resolveContextTokensForModel, l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway } from "./session-utils-
|
|
16
|
+
import { d as resolveContextTokensForModel, l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway } from "./session-utils-DqcL4tRB.js";
|
|
17
17
|
import { a as sha256HexPrefix } from "./active-listener-CyW11kvQ.js";
|
|
18
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-B56A9tyz.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-DX-rh76l.js";
|
|
20
20
|
import { r as formatDurationPrecise } from "./format-duration-CezeS0x4.js";
|
|
21
|
-
import { a as getRemoteSkillEligibility } from "./skill-commands-
|
|
22
|
-
import { _ as hasResolvedCredentialValue, g as hasConfiguredUnavailableCredentialStatus, h as inspectReadOnlyChannelAccount } from "./pi-tools.policy-
|
|
23
|
-
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
24
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
25
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
21
|
+
import { a as getRemoteSkillEligibility } from "./skill-commands-C7_32HvU.js";
|
|
22
|
+
import { _ as hasResolvedCredentialValue, g as hasConfiguredUnavailableCredentialStatus, h as inspectReadOnlyChannelAccount } from "./pi-tools.policy-CSPrerKx.js";
|
|
23
|
+
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-CsIlET0p.js";
|
|
24
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-BJ2MHcp9.js";
|
|
25
|
+
import { r as getMemorySearchManager } from "./memory-cli-DjSgQlDO.js";
|
|
26
26
|
import { n as withProgress } from "./progress-BNL5DRrQ.js";
|
|
27
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
27
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-n9vgDHer.js";
|
|
28
28
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BAv58r5B.js";
|
|
29
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
30
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
31
|
-
import { c as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
29
|
+
import { t as formatConfigIssueLine } from "./issue-format-BhYUpe8G.js";
|
|
30
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-CmDh358n.js";
|
|
31
|
+
import { c as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-VB8hrx3m.js";
|
|
32
32
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D6c3G7my.js";
|
|
33
|
-
import { t as probeGateway } from "./probe-
|
|
34
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
33
|
+
import { t as probeGateway } from "./probe-BSiLGREe.js";
|
|
34
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-CJLP-HQK.js";
|
|
35
35
|
import { t as renderTable } from "./table-n1r43DsC.js";
|
|
36
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
37
|
-
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
38
|
-
import { i as resolveGatewayProbeAuthSafe, t as runSecurityAudit } from "./audit-
|
|
39
|
-
import { t as resolveNodeService } from "./node-service-
|
|
36
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CqfjbU3N.js";
|
|
37
|
+
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-CkpkengK.js";
|
|
38
|
+
import { i as resolveGatewayProbeAuthSafe, t as runSecurityAudit } from "./audit-DtKtvGnO.js";
|
|
39
|
+
import { t as resolveNodeService } from "./node-service-DCfQospz.js";
|
|
40
40
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-CZG14xdV.js";
|
|
41
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
41
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-DndHNWm3.js";
|
|
42
42
|
import { t as shortenText } from "./text-format-Bs22Yj1e.js";
|
|
43
43
|
import { spawnSync } from "node:child_process";
|
|
44
44
|
import os from "node:os";
|
|
45
45
|
import path from "node:path";
|
|
46
46
|
import fs from "node:fs";
|
|
47
|
-
import
|
|
47
|
+
import fsPromises from "node:fs/promises";
|
|
48
48
|
|
|
49
49
|
//#region src/commands/gateway-presence.ts
|
|
50
50
|
function pickGatewaySelfPresence(presence) {
|
|
@@ -132,7 +132,7 @@ function resolveOsSummary() {
|
|
|
132
132
|
//#region src/commands/status-all/agents.ts
|
|
133
133
|
async function fileExists$1(p) {
|
|
134
134
|
try {
|
|
135
|
-
await
|
|
135
|
+
await fsPromises.access(p);
|
|
136
136
|
return true;
|
|
137
137
|
} catch {
|
|
138
138
|
return false;
|
|
@@ -586,7 +586,7 @@ async function buildChannelsTable(cfg, opts) {
|
|
|
586
586
|
//#endregion
|
|
587
587
|
//#region src/commands/status-all/gateway.ts
|
|
588
588
|
async function readFileTailLines(filePath, maxLines) {
|
|
589
|
-
const raw = await
|
|
589
|
+
const raw = await fsPromises.readFile(filePath, "utf8").catch(() => "");
|
|
590
590
|
if (!raw.trim()) return [];
|
|
591
591
|
const lines = raw.replace(/\r/g, "").split("\n");
|
|
592
592
|
return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
|
|
@@ -1352,7 +1352,7 @@ async function getNodeDaemonStatusSummary() {
|
|
|
1352
1352
|
//#region src/commands/status.agent-local.ts
|
|
1353
1353
|
async function fileExists(p) {
|
|
1354
1354
|
try {
|
|
1355
|
-
await
|
|
1355
|
+
await fsPromises.access(p);
|
|
1356
1356
|
return true;
|
|
1357
1357
|
} catch {
|
|
1358
1358
|
return false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as inspectReadOnlyChannelAccount, v as projectSafeChannelAccountSnapshotFields } from "./pi-tools.policy-
|
|
1
|
+
import { h as inspectReadOnlyChannelAccount, v as projectSafeChannelAccountSnapshotFields } from "./pi-tools.policy-CSPrerKx.js";
|
|
2
2
|
|
|
3
3
|
//#region src/channels/plugins/status.ts
|
|
4
4
|
async function buildSnapshotFromAccount(params) {
|
|
@@ -26,15 +26,15 @@ import { t as buildWorkspaceSkillStatus } from "./skills-status-DCNnSHug.js";
|
|
|
26
26
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DpYugZ_U.js";
|
|
27
27
|
import { t as formatConfigIssueLine } from "./issue-format-wSm_e8Sh.js";
|
|
28
28
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-C4L_SbkZ.js";
|
|
29
|
-
import { c as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
29
|
+
import { c as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CkeyjKgU.js";
|
|
30
30
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.js";
|
|
31
31
|
import { t as probeGateway } from "./probe-EYjJQI0Q.js";
|
|
32
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
32
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-g4kCl3Wr.js";
|
|
33
33
|
import { t as renderTable } from "./table-CQ1N3VVM.js";
|
|
34
34
|
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DtKnpxWq.js";
|
|
35
35
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-hMGr49iu.js";
|
|
36
36
|
import { i as resolveGatewayProbeAuthSafe, t as runSecurityAudit } from "./audit-B_em7hqq.js";
|
|
37
|
-
import { t as resolveNodeService } from "./node-service-
|
|
37
|
+
import { t as resolveNodeService } from "./node-service-DhooZn04.js";
|
|
38
38
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-pjTv8otg.js";
|
|
39
39
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CxjuA592.js";
|
|
40
40
|
import { t as shortenText } from "./text-format-I6mH2hAk.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-DdHwx_z_.js";
|
|
2
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
2
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-Gv7Ob-5V.js";
|
|
3
3
|
import { t as VERSION } from "./version-BKzmSBiX.js";
|
|
4
|
-
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-
|
|
4
|
+
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-CkpkengK.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
7
7
|
async function getUpdateCheckResult(params) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h as resolveConfigDir } from "./utils-DanSccFf.js";
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-sooGTpsU.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createWriteStream } from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
8
8
|
import { request } from "node:https";
|
|
@@ -28,7 +28,7 @@ function getMediaDir() {
|
|
|
28
28
|
}
|
|
29
29
|
async function ensureMediaDir() {
|
|
30
30
|
const mediaDir = resolveMediaDir();
|
|
31
|
-
await
|
|
31
|
+
await fsPromises.mkdir(mediaDir, {
|
|
32
32
|
recursive: true,
|
|
33
33
|
mode: 448
|
|
34
34
|
});
|
|
@@ -42,7 +42,7 @@ async function retryAfterRecreatingDir(dir, run) {
|
|
|
42
42
|
return await run();
|
|
43
43
|
} catch (err) {
|
|
44
44
|
if (!isMissingPathError(err)) throw err;
|
|
45
|
-
await
|
|
45
|
+
await fsPromises.mkdir(dir, {
|
|
46
46
|
recursive: true,
|
|
47
47
|
mode: 448
|
|
48
48
|
});
|
|
@@ -55,41 +55,41 @@ async function cleanOldMedia(ttlMs = DEFAULT_TTL_MS, options = {}) {
|
|
|
55
55
|
const recursive = options.recursive ?? false;
|
|
56
56
|
const pruneEmptyDirs = recursive && (options.pruneEmptyDirs ?? false);
|
|
57
57
|
const removeExpiredFilesInDir = async (dir) => {
|
|
58
|
-
const dirEntries = await
|
|
58
|
+
const dirEntries = await fsPromises.readdir(dir).catch(() => null);
|
|
59
59
|
if (!dirEntries) return false;
|
|
60
60
|
for (const entry of dirEntries) {
|
|
61
61
|
const fullPath = path.join(dir, entry);
|
|
62
|
-
const stat = await
|
|
62
|
+
const stat = await fsPromises.lstat(fullPath).catch(() => null);
|
|
63
63
|
if (!stat || stat.isSymbolicLink()) continue;
|
|
64
64
|
if (stat.isDirectory()) {
|
|
65
65
|
if (recursive) {
|
|
66
|
-
if (await removeExpiredFilesInDir(fullPath)) await
|
|
66
|
+
if (await removeExpiredFilesInDir(fullPath)) await fsPromises.rmdir(fullPath).catch(() => {});
|
|
67
67
|
}
|
|
68
68
|
continue;
|
|
69
69
|
}
|
|
70
70
|
if (!stat.isFile()) continue;
|
|
71
|
-
if (now - stat.mtimeMs > ttlMs) await
|
|
71
|
+
if (now - stat.mtimeMs > ttlMs) await fsPromises.rm(fullPath, { force: true }).catch(() => {});
|
|
72
72
|
}
|
|
73
73
|
if (!pruneEmptyDirs) return false;
|
|
74
|
-
const remainingEntries = await
|
|
74
|
+
const remainingEntries = await fsPromises.readdir(dir).catch(() => null);
|
|
75
75
|
return remainingEntries !== null && remainingEntries.length === 0;
|
|
76
76
|
};
|
|
77
|
-
const entries = await
|
|
77
|
+
const entries = await fsPromises.readdir(mediaDir).catch(() => []);
|
|
78
78
|
for (const file of entries) {
|
|
79
79
|
const full = path.join(mediaDir, file);
|
|
80
|
-
const stat = await
|
|
80
|
+
const stat = await fsPromises.lstat(full).catch(() => null);
|
|
81
81
|
if (!stat || stat.isSymbolicLink()) continue;
|
|
82
82
|
if (stat.isDirectory()) {
|
|
83
|
-
if (await removeExpiredFilesInDir(full)) await
|
|
83
|
+
if (await removeExpiredFilesInDir(full)) await fsPromises.rmdir(full).catch(() => {});
|
|
84
84
|
continue;
|
|
85
85
|
}
|
|
86
|
-
if (stat.isFile() && now - stat.mtimeMs > ttlMs) await
|
|
86
|
+
if (stat.isFile() && now - stat.mtimeMs > ttlMs) await fsPromises.rm(full, { force: true }).catch(() => {});
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
90
90
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
91
91
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
92
|
-
await
|
|
92
|
+
await fsPromises.mkdir(dir, {
|
|
93
93
|
recursive: true,
|
|
94
94
|
mode: 448
|
|
95
95
|
});
|
|
@@ -107,7 +107,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
107
107
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
108
108
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
109
109
|
const dest = path.join(dir, id);
|
|
110
|
-
await retryAfterRecreatingDir(dir, () =>
|
|
110
|
+
await retryAfterRecreatingDir(dir, () => fsPromises.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE }));
|
|
111
111
|
return {
|
|
112
112
|
id,
|
|
113
113
|
path: dest,
|