@guadskill/openclaw-proxy 2026.2.9 → 2026.2.11
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-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-BkcNcF2W.js} +27 -27
- package/dist/{completion-cli-DSp3IYfG.js → completion-cli-DzFGiqKN.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-GXJBeXgt.js} +34 -34
- package/dist/{config-JotyqXJB.js → config-yg3MNzIZ.js} +2 -2
- package/dist/{configure-CupQ7QSD.js → configure-Cn-9vqSs.js} +10 -10
- package/dist/{configure-Cec4HsdK.js → configure-Mwbu9bfG.js} +8 -8
- 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-CR0uQwr7.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-D_er5eUz.js} +18 -18
- package/dist/{doctor--sUBhPRM.js → doctor-iSnCqUEi.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 +16 -16
- package/dist/{gateway-cli-FFlyXx90.js → gateway-cli-BUHCHKE6.js} +116 -116
- package/dist/{gateway-cli-x9uFfaiq.js → gateway-cli-DfFbLb7d.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-xY8AE8iJ.js → health-format-BSrJdaJW.js} +10 -9
- package/dist/{health-format-BB0NTRxV.js → health-format-fowslicT.js} +12 -11
- 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-C19aQZmj.js → image-BNNazXqI.js} +3 -3
- 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/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-KdG_ApLH.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-DBsbz1Wq.js} +4 -4
- 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-CFqsq13P.js} +58 -58
- package/dist/{pw-ai-Bpd-iaBB.js → pw-ai-BOyUF0Kj.js} +4 -4
- 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-CYsvBF5c.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-Couc_fdJ.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-CHFPyXak.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-C72mF9AM.js} +34 -34
- package/dist/{update-cli-Cyh2BgJf.js → update-cli-MVVbpgcz.js} +53 -53
- package/dist/{update-runner-BT3WGHmf.js → update-runner-CsWAyRQf.js} +6 -6
- package/dist/{update-runner-Br_pa9Xw.js → update-runner-CztlHuQ9.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
|
@@ -110,143 +110,143 @@ const shouldEagerRegisterSubcommands = (_argv) => {
|
|
|
110
110
|
return isTruthyEnvValue(process.env.OPENCLAW_DISABLE_LAZY_SUBCOMMANDS);
|
|
111
111
|
};
|
|
112
112
|
const loadConfig = async () => {
|
|
113
|
-
return (await import("./config-
|
|
113
|
+
return (await import("./config-DFgdMueL.js").then((n) => n.t)).loadConfig();
|
|
114
114
|
};
|
|
115
115
|
const entries = [
|
|
116
116
|
{
|
|
117
117
|
name: "acp",
|
|
118
118
|
description: "Agent Control Protocol tools",
|
|
119
119
|
register: async (program) => {
|
|
120
|
-
(await import("./acp-cli-
|
|
120
|
+
(await import("./acp-cli-B0GEswoT.js")).registerAcpCli(program);
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-BUHCHKE6.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
name: "daemon",
|
|
132
132
|
description: "Gateway service (legacy alias)",
|
|
133
133
|
register: async (program) => {
|
|
134
|
-
(await import("./daemon-cli-
|
|
134
|
+
(await import("./daemon-cli-D7bFcRv4.js").then((n) => n.t)).registerDaemonCli(program);
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
name: "logs",
|
|
139
139
|
description: "Gateway logs",
|
|
140
140
|
register: async (program) => {
|
|
141
|
-
(await import("./logs-cli-
|
|
141
|
+
(await import("./logs-cli-BkQZaLP1.js")).registerLogsCli(program);
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
name: "system",
|
|
146
146
|
description: "System events, heartbeat, and presence",
|
|
147
147
|
register: async (program) => {
|
|
148
|
-
(await import("./system-cli-
|
|
148
|
+
(await import("./system-cli-BzCBKn-l.js")).registerSystemCli(program);
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
name: "models",
|
|
153
153
|
description: "Model configuration",
|
|
154
154
|
register: async (program) => {
|
|
155
|
-
(await import("./models-cli-
|
|
155
|
+
(await import("./models-cli-tBSLfpEB.js")).registerModelsCli(program);
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
name: "approvals",
|
|
160
160
|
description: "Exec approvals",
|
|
161
161
|
register: async (program) => {
|
|
162
|
-
(await import("./exec-approvals-cli-
|
|
162
|
+
(await import("./exec-approvals-cli-DTdAAPIs.js")).registerExecApprovalsCli(program);
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
name: "nodes",
|
|
167
167
|
description: "Node commands",
|
|
168
168
|
register: async (program) => {
|
|
169
|
-
(await import("./nodes-cli-
|
|
169
|
+
(await import("./nodes-cli-DfTrE8mE.js")).registerNodesCli(program);
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
name: "devices",
|
|
174
174
|
description: "Device pairing + token management",
|
|
175
175
|
register: async (program) => {
|
|
176
|
-
(await import("./devices-cli-
|
|
176
|
+
(await import("./devices-cli-3aLFbDvW.js")).registerDevicesCli(program);
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
name: "node",
|
|
181
181
|
description: "Node control",
|
|
182
182
|
register: async (program) => {
|
|
183
|
-
(await import("./node-cli-
|
|
183
|
+
(await import("./node-cli-az-8UhFP.js")).registerNodeCli(program);
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
name: "sandbox",
|
|
188
188
|
description: "Sandbox tools",
|
|
189
189
|
register: async (program) => {
|
|
190
|
-
(await import("./sandbox-cli-
|
|
190
|
+
(await import("./sandbox-cli-BNvoe8W3.js")).registerSandboxCli(program);
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
name: "tui",
|
|
195
195
|
description: "Terminal UI",
|
|
196
196
|
register: async (program) => {
|
|
197
|
-
(await import("./tui-cli-
|
|
197
|
+
(await import("./tui-cli-BBTZ6Uea.js")).registerTuiCli(program);
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
name: "cron",
|
|
202
202
|
description: "Cron scheduler",
|
|
203
203
|
register: async (program) => {
|
|
204
|
-
(await import("./cron-cli-
|
|
204
|
+
(await import("./cron-cli-Bkwkuduu.js")).registerCronCli(program);
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
name: "dns",
|
|
209
209
|
description: "DNS helpers",
|
|
210
210
|
register: async (program) => {
|
|
211
|
-
(await import("./dns-cli
|
|
211
|
+
(await import("./dns-cli-kXKz4kmo.js")).registerDnsCli(program);
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
name: "docs",
|
|
216
216
|
description: "Docs helpers",
|
|
217
217
|
register: async (program) => {
|
|
218
|
-
(await import("./docs-cli-
|
|
218
|
+
(await import("./docs-cli-BUeU34DD.js")).registerDocsCli(program);
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
name: "hooks",
|
|
223
223
|
description: "Hooks tooling",
|
|
224
224
|
register: async (program) => {
|
|
225
|
-
(await import("./hooks-cli-
|
|
225
|
+
(await import("./hooks-cli-DoLBB8PN.js")).registerHooksCli(program);
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
name: "webhooks",
|
|
230
230
|
description: "Webhook helpers",
|
|
231
231
|
register: async (program) => {
|
|
232
|
-
(await import("./webhooks-cli-
|
|
232
|
+
(await import("./webhooks-cli-DZaS4YoE.js")).registerWebhooksCli(program);
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
name: "pairing",
|
|
237
237
|
description: "Pairing helpers",
|
|
238
238
|
register: async (program) => {
|
|
239
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
239
|
+
const { registerPluginCliCommands } = await import("./cli-98b8BoLE.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
|
-
(await import("./pairing-cli-
|
|
241
|
+
(await import("./pairing-cli-ByfGNmaZ.js")).registerPairingCli(program);
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
name: "plugins",
|
|
246
246
|
description: "Plugin management",
|
|
247
247
|
register: async (program) => {
|
|
248
|
-
(await import("./plugins-cli-
|
|
249
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
248
|
+
(await import("./plugins-cli-CkZgCEVA.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-98b8BoLE.js");
|
|
250
250
|
registerPluginCliCommands(program, await loadConfig());
|
|
251
251
|
}
|
|
252
252
|
},
|
|
@@ -254,42 +254,42 @@ const entries = [
|
|
|
254
254
|
name: "channels",
|
|
255
255
|
description: "Channel management",
|
|
256
256
|
register: async (program) => {
|
|
257
|
-
(await import("./channels-cli-
|
|
257
|
+
(await import("./channels-cli-C-TQm_--.js")).registerChannelsCli(program);
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
name: "directory",
|
|
262
262
|
description: "Directory commands",
|
|
263
263
|
register: async (program) => {
|
|
264
|
-
(await import("./directory-cli-
|
|
264
|
+
(await import("./directory-cli-Dj48rao9.js")).registerDirectoryCli(program);
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
name: "security",
|
|
269
269
|
description: "Security helpers",
|
|
270
270
|
register: async (program) => {
|
|
271
|
-
(await import("./security-cli-
|
|
271
|
+
(await import("./security-cli-m_PAeVLY.js")).registerSecurityCli(program);
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
name: "skills",
|
|
276
276
|
description: "Skills management",
|
|
277
277
|
register: async (program) => {
|
|
278
|
-
(await import("./skills-cli-
|
|
278
|
+
(await import("./skills-cli-Bg8bkl9E.js")).registerSkillsCli(program);
|
|
279
279
|
}
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
name: "update",
|
|
283
283
|
description: "CLI update helpers",
|
|
284
284
|
register: async (program) => {
|
|
285
|
-
(await import("./update-cli-
|
|
285
|
+
(await import("./update-cli-MVVbpgcz.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
name: "completion",
|
|
290
290
|
description: "Generate shell completion script",
|
|
291
291
|
register: async (program) => {
|
|
292
|
-
(await import("./completion-cli-
|
|
292
|
+
(await import("./completion-cli-DzFGiqKN.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { g as resolveStateDir, r as STATE_DIR, t as CONFIG_PATH, y as resolveRequiredHomeDir } from "./paths-DVBShlw6.js";
|
|
2
2
|
import { A as logVerbose, D as info, E as danger, F as warn, I as colorize, L as isRich, M as setVerbose, N as shouldLogVerbose, P as success, R as theme, T as setActivePluginRegistry, U as normalizeLogLevel, b as normalizeAnyChannelId, c as defaultRuntime, m as CHAT_CHANNEL_ORDER, t as createSubsystemLogger, w as requireActivePluginRegistry, x as normalizeChannelId, z as getChildLogger } from "./subsystem-DPnkvS73.js";
|
|
3
3
|
import { C as sleep, E as truncateUtf16Safe, S as shortenHomePath, T as toWhatsappJid, d as isPlainObject, f as isRecord, h as normalizeE164, i as clampInt, l as escapeRegExp, m as jidToE164, p as isSelfChatMode, r as clamp, t as CONFIG_DIR, v as resolveJidToE164, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./utils-DMuwyz_q.js";
|
|
4
|
-
import { A as parseImageSizeError, B as normalizeElevatedLevel, C as isFailoverAssistantError, D as isRawApiErrorPayload, E as isRateLimitAssistantError, F as sanitizeGoogleTurnOrdering, G as resolveResponseUsageMode, H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, M as buildBootstrapContextFiles, N as ensureSessionHeader, O as isTimeoutErrorMessage, P as resolveBootstrapMaxChars, S as isContextOverflowError, T as isLikelyContextOverflowError, U as normalizeUsageDisplay, V as normalizeReasoningLevel, W as normalizeVerboseLevel, _ as getApiErrorPayloadFingerprint, a as isMessagingToolDuplicateNormalized, b as isCloudCodeAssistFormatError, c as sanitizeImageBlocks, d as isAntigravityClaude, f as isGoogleModelApi, g as formatRawAssistantErrorForUi, h as formatAssistantErrorText, j as sanitizeUserFacingText, k as parseImageDimensionError, l as sanitizeToolResultImages, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as isAuthAssistantError, w as isFailoverErrorMessage, x as isCompactionFailureError, y as isBillingAssistantError } from "./pi-embedded-helpers-
|
|
4
|
+
import { A as parseImageSizeError, B as normalizeElevatedLevel, C as isFailoverAssistantError, D as isRawApiErrorPayload, E as isRateLimitAssistantError, F as sanitizeGoogleTurnOrdering, G as resolveResponseUsageMode, H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, M as buildBootstrapContextFiles, N as ensureSessionHeader, O as isTimeoutErrorMessage, P as resolveBootstrapMaxChars, S as isContextOverflowError, T as isLikelyContextOverflowError, U as normalizeUsageDisplay, V as normalizeReasoningLevel, W as normalizeVerboseLevel, _ as getApiErrorPayloadFingerprint, a as isMessagingToolDuplicateNormalized, b as isCloudCodeAssistFormatError, c as sanitizeImageBlocks, d as isAntigravityClaude, f as isGoogleModelApi, g as formatRawAssistantErrorForUi, h as formatAssistantErrorText, j as sanitizeUserFacingText, k as parseImageDimensionError, l as sanitizeToolResultImages, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as isAuthAssistantError, w as isFailoverErrorMessage, x as isCompactionFailureError, y as isBillingAssistantError } from "./pi-embedded-helpers-DwhRDCwp.js";
|
|
5
5
|
import { _ as isSubagentSessionKey, a as buildAgentPeerSessionKey, c as normalizeAccountId$3, d as resolveAgentIdFromSessionKey, f as resolveThreadSessionKeys, g as isAcpSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, o as buildGroupHistoryKey, p as sanitizeAgentId, r as DEFAULT_MAIN_KEY, s as classifySessionKeyShape, t as DEFAULT_ACCOUNT_ID$1, u as normalizeMainKey, v as parseAgentSessionKey, y as resolveThreadParentSessionKey } from "./session-key-CUWZSMYQ.js";
|
|
6
6
|
import { a as logDebug, c as logWarn, i as spawnWithFallback, n as runExec, o as logError, r as formatSpawnError, s as logInfo, t as runCommandWithTimeout } from "./exec-DFOtZbI0.js";
|
|
7
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
8
|
-
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, x as ensureAgentWorkspace } from "./agent-scope-
|
|
9
|
-
import { B as resolveApiKeyForProvider, Ct as resolveAuthProfileDisplayLabel, Dt as DEFAULT_MODEL, Et as DEFAULT_CONTEXT_TOKENS, G as getShellPathFromLoginShell, H as resolveEnvApiKey, L as getApiKeyForModel, Ot as DEFAULT_PROVIDER, R as getCustomProviderApiKey, St as normalizeSecretInput, U as resolveModelAuthMode, a as isCliProvider, at as resolveApiKeyForProfile, bt as resolveOpenClawAgentDir, d as resolveConfiguredModelRef, dt as listProfilesForProvider, et as resolveAuthProfileOrder, f as resolveDefaultModelForAgent, ft as markAuthProfileGood, h as resolveThinkingDefault, ht as ensureAuthProfileStore, m as resolveModelRefFromString, n as buildConfiguredAllowlistKeys, nt as markAuthProfileFailure, o as modelKey, q as resolveShellEnvFallbackTimeoutMs, r as buildModelAliasIndex, rt as markAuthProfileUsed, s as normalizeProviderId, t as buildAllowedModelSet, tt as isProfileInCooldown, x as normalizeGoogleModelId, yt as resolveAuthStorePathForDisplay, z as requireApiKey } from "./model-selection-
|
|
7
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BTW4x2Wd.js";
|
|
8
|
+
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, x as ensureAgentWorkspace } from "./agent-scope-C7vPz4km.js";
|
|
9
|
+
import { B as resolveApiKeyForProvider, Ct as resolveAuthProfileDisplayLabel, Dt as DEFAULT_MODEL, Et as DEFAULT_CONTEXT_TOKENS, G as getShellPathFromLoginShell, H as resolveEnvApiKey, L as getApiKeyForModel, Ot as DEFAULT_PROVIDER, R as getCustomProviderApiKey, St as normalizeSecretInput, U as resolveModelAuthMode, a as isCliProvider, at as resolveApiKeyForProfile, bt as resolveOpenClawAgentDir, d as resolveConfiguredModelRef, dt as listProfilesForProvider, et as resolveAuthProfileOrder, f as resolveDefaultModelForAgent, ft as markAuthProfileGood, h as resolveThinkingDefault, ht as ensureAuthProfileStore, m as resolveModelRefFromString, n as buildConfiguredAllowlistKeys, nt as markAuthProfileFailure, o as modelKey, q as resolveShellEnvFallbackTimeoutMs, r as buildModelAliasIndex, rt as markAuthProfileUsed, s as normalizeProviderId, t as buildAllowedModelSet, tt as isProfileInCooldown, x as normalizeGoogleModelId, yt as resolveAuthStorePathForDisplay, z as requireApiKey } from "./model-selection-9N1nn0U_.js";
|
|
10
10
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BW-SEg7E.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-ChfKqObn.js";
|
|
12
12
|
import { t as parseBooleanValue$1 } from "./boolean-BgXe2hyu.js";
|
|
13
13
|
import { t as isTruthyEnvValue } from "./env-B5YXooWp.js";
|
|
14
|
-
import { C as setConfigValueAtPath, S as parseConfigPath, _ as getConfigOverrides, b as unsetConfigOverride, c as writeConfigFile, d as TELEGRAM_COMMAND_NAME_PATTERN, f as normalizeTelegramCommandName, g as validateJsonSchemaValue, h as parseDurationMs, i as loadConfig, j as VERSION, k as resolveAgentMaxConcurrent, l as validateConfigObjectWithPlugins, m as isSafeExecutableValue, o as readConfigFileSnapshot, p as resolveTelegramCustomCommands, s as resolveConfigSnapshotHash, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-
|
|
14
|
+
import { C as setConfigValueAtPath, S as parseConfigPath, _ as getConfigOverrides, b as unsetConfigOverride, c as writeConfigFile, d as TELEGRAM_COMMAND_NAME_PATTERN, f as normalizeTelegramCommandName, g as validateJsonSchemaValue, h as parseDurationMs, i as loadConfig, j as VERSION, k as resolveAgentMaxConcurrent, l as validateConfigObjectWithPlugins, m as isSafeExecutableValue, o as readConfigFileSnapshot, p as resolveTelegramCustomCommands, s as resolveConfigSnapshotHash, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-yg3MNzIZ.js";
|
|
15
15
|
import { c as normalizePluginsConfig, l as resolveEnableState, n as discoverOpenClawPlugins, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BMwHTztn.js";
|
|
16
|
-
import { _ as listEnabledDiscordAccounts, a as normalizeWhatsAppTarget, b as normalizeChatType, c as resolveTelegramAccount, d as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramToken, n as listChannelPlugins, o as listEnabledTelegramAccounts, p as resolveSlackAccount, r as normalizeChannelId$1, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-
|
|
17
|
-
import { A as resolveSessionResetPolicy, C as normalizeDeliveryContext, D as resolveSessionKey$1, H as listChannelDocks, J as resolveIMessageAccount, K as listEnabledSignalAccounts, L as resolveMainSessionKey, M as resolveThreadFlag, N as DEFAULT_RESET_TRIGGERS, O as evaluateSessionFreshness, P as canonicalizeMainSessionAlias, S as mergeDeliveryContext, U as resolveChannelGroupPolicy, V as getChannelDock, W as resolveChannelGroupRequireMention, X as resolveGroupSessionKey, Y as buildGroupDisplayName, Z as resolveSandboxConfigForAgent, _ as updateSessionStoreEntry, a as ensureSandboxWorkspaceForSession, at as normalizeToolName, b as deliveryContextFromSession, c as resolveSandboxRuntimeStatus, d as loadSessionStore, dt as resolveConversationLabel, et as applyOwnerOnlyToolPolicy, f as readSessionUpdatedAt, g as updateSessionStore, h as updateLastRoute, j as resolveSessionResetType, k as resolveChannelResetConfig, l as appendAssistantMessageToSessionTranscript, nt as collectExplicitAllowlist, o as resolveSandboxContext, ot as resolveToolProfilePolicy, p as recordSessionMetaFromInbound, q as resolveSignalAccount, rt as expandPolicyWithPluginGroups, st as stripPluginOnlyAllowlist, tt as buildPluginToolGroups, v as isCacheEnabled, w as normalizeSessionDeliveryFields, x as deliveryContextKey, y as resolveCacheTtlMs$1, z as deriveSessionMetaPatch } from "./sandbox-
|
|
18
|
-
import { _ as ensureOpenClawModelsJson, a as decodeDataUrl, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as stripDowngradedToolCallText, o as resolveProviderVisionModelFromConfig, p as promoteThinkingTagsToBlocks, r as coerceImageAssistantText, s as extractAssistantText$1, t as describeImageWithModel, u as extractThinkingFromTaggedText, v as minimaxUnderstandImage } from "./image-
|
|
16
|
+
import { _ as listEnabledDiscordAccounts, a as normalizeWhatsAppTarget, b as normalizeChatType, c as resolveTelegramAccount, d as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramToken, n as listChannelPlugins, o as listEnabledTelegramAccounts, p as resolveSlackAccount, r as normalizeChannelId$1, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-ia9SOGpI.js";
|
|
17
|
+
import { A as resolveSessionResetPolicy, C as normalizeDeliveryContext, D as resolveSessionKey$1, H as listChannelDocks, J as resolveIMessageAccount, K as listEnabledSignalAccounts, L as resolveMainSessionKey, M as resolveThreadFlag, N as DEFAULT_RESET_TRIGGERS, O as evaluateSessionFreshness, P as canonicalizeMainSessionAlias, S as mergeDeliveryContext, U as resolveChannelGroupPolicy, V as getChannelDock, W as resolveChannelGroupRequireMention, X as resolveGroupSessionKey, Y as buildGroupDisplayName, Z as resolveSandboxConfigForAgent, _ as updateSessionStoreEntry, a as ensureSandboxWorkspaceForSession, at as normalizeToolName, b as deliveryContextFromSession, c as resolveSandboxRuntimeStatus, d as loadSessionStore, dt as resolveConversationLabel, et as applyOwnerOnlyToolPolicy, f as readSessionUpdatedAt, g as updateSessionStore, h as updateLastRoute, j as resolveSessionResetType, k as resolveChannelResetConfig, l as appendAssistantMessageToSessionTranscript, nt as collectExplicitAllowlist, o as resolveSandboxContext, ot as resolveToolProfilePolicy, p as recordSessionMetaFromInbound, q as resolveSignalAccount, rt as expandPolicyWithPluginGroups, st as stripPluginOnlyAllowlist, tt as buildPluginToolGroups, v as isCacheEnabled, w as normalizeSessionDeliveryFields, x as deliveryContextKey, y as resolveCacheTtlMs$1, z as deriveSessionMetaPatch } from "./sandbox-nFkFFEb7.js";
|
|
18
|
+
import { _ as ensureOpenClawModelsJson, a as decodeDataUrl, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as stripDowngradedToolCallText, o as resolveProviderVisionModelFromConfig, p as promoteThinkingTagsToBlocks, r as coerceImageAssistantText, s as extractAssistantText$1, t as describeImageWithModel, u as extractThinkingFromTaggedText, v as minimaxUnderstandImage } from "./image-CE9CeS1j.js";
|
|
19
19
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CV2V1HHz.js";
|
|
20
20
|
import { E as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-BKkyn8EY.js";
|
|
21
|
-
import { a as resolveSkillsPromptForRun, i as loadWorkspaceSkillEntries, l as applySkillEnvOverrides, n as buildWorkspaceSkillCommandSpecs, r as buildWorkspaceSkillSnapshot, s as resolvePluginSkillDirs, u as applySkillEnvOverridesFromSnapshot } from "./skills-
|
|
22
|
-
import { c as saveMediaBuffer, d as getFileExtension, f as imageMimeFromFormat, g as MAX_IMAGE_BYTES, h as kindFromMime, l as detectMime, m as isGifMedia, o as resizeToJpeg, p as isAudioFileName, r as getImageMetadata, s as getMediaDir, u as extensionForMime, v as mediaKindFromMime, y as SsrFBlockedError } from "./routes-
|
|
21
|
+
import { a as resolveSkillsPromptForRun, i as loadWorkspaceSkillEntries, l as applySkillEnvOverrides, n as buildWorkspaceSkillCommandSpecs, r as buildWorkspaceSkillSnapshot, s as resolvePluginSkillDirs, u as applySkillEnvOverridesFromSnapshot } from "./skills-Cgy3X3tK.js";
|
|
22
|
+
import { c as saveMediaBuffer, d as getFileExtension, f as imageMimeFromFormat, g as MAX_IMAGE_BYTES, h as kindFromMime, l as detectMime, m as isGifMedia, o as resizeToJpeg, p as isAudioFileName, r as getImageMetadata, s as getMediaDir, u as extensionForMime, v as mediaKindFromMime, y as SsrFBlockedError } from "./routes-dtswuSI-.js";
|
|
23
23
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-B0eT3jVv.js";
|
|
24
24
|
import { i as resolveBrowserConfig } from "./server-context-DBGqh1ik.js";
|
|
25
25
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DGRSvYuQ.js";
|
|
@@ -30,32 +30,32 @@ import { a as resolveSessionTranscriptsDirForAgent, n as resolveSessionFilePath,
|
|
|
30
30
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C1hdue6u.js";
|
|
31
31
|
import { n as redactSensitiveText } from "./redact-DAKeu7PA.js";
|
|
32
32
|
import { n as resolveToolDisplay } from "./tool-display-BZ1-Xio6.js";
|
|
33
|
-
import { A as loadWebMedia, B as findFenceSpanAt, C as sendTypingSignal, D as chunkMarkdownIR, E as streamSignalEvents, F as chunkMarkdownTextWithMode, G as isSilentReplyText, H as parseFenceSpans, I as chunkText, J as fetchWithSsrFGuard, K as MediaFetchError, L as chunkTextWithMode, M as resolveMarkdownTableMode, N as chunkByNewline, O as markdownToIR, P as chunkMarkdownText, R as resolveChunkMode, S as sendReadReceiptSignal, T as signalRpcRequest, U as HEARTBEAT_TOKEN, V as isSafeFenceBreak, W as SILENT_REPLY_TOKEN, _ as throwIfAborted, b as parseInlineDirectives$1, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, j as loadWebMediaRaw, k as markdownToIRWithMeta, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, q as fetchRemoteMedia, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as parseReplyDirectives, w as signalCheck, x as sendMessageSignal, y as splitMediaFromOutput, z as resolveTextChunkLimit } from "./deliver-
|
|
34
|
-
import { i as getMachineDisplayName, n as isWSL, t as createBrowserRouteDispatcher } from "./dispatcher-
|
|
35
|
-
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-
|
|
33
|
+
import { A as loadWebMedia, B as findFenceSpanAt, C as sendTypingSignal, D as chunkMarkdownIR, E as streamSignalEvents, F as chunkMarkdownTextWithMode, G as isSilentReplyText, H as parseFenceSpans, I as chunkText, J as fetchWithSsrFGuard, K as MediaFetchError, L as chunkTextWithMode, M as resolveMarkdownTableMode, N as chunkByNewline, O as markdownToIR, P as chunkMarkdownText, R as resolveChunkMode, S as sendReadReceiptSignal, T as signalRpcRequest, U as HEARTBEAT_TOKEN, V as isSafeFenceBreak, W as SILENT_REPLY_TOKEN, _ as throwIfAborted, b as parseInlineDirectives$1, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, j as loadWebMediaRaw, k as markdownToIRWithMeta, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, q as fetchRemoteMedia, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as parseReplyDirectives, w as signalCheck, x as sendMessageSignal, y as splitMediaFromOutput, z as resolveTextChunkLimit } from "./deliver-BRCyIScz.js";
|
|
34
|
+
import { i as getMachineDisplayName, n as isWSL, t as createBrowserRouteDispatcher } from "./dispatcher-DLLOC08H.js";
|
|
35
|
+
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-DQXILjKz.js";
|
|
36
36
|
import { c as listMemoryFiles, l as normalizeExtraMemoryPaths } from "./sqlite-cSdsHVEw.js";
|
|
37
|
-
import { _ as parseCommandArgs, b as serializeCommandArgs, d as findCommandByNativeName, f as listChatCommands, g as normalizeCommandBody, h as listNativeCommandSpecsForConfig, i as extractTextFromMessage, m as listNativeCommandSpecs, p as listChatCommandsForConfig, u as buildCommandTextFromArgs, v as resolveCommandArgChoices, x as shouldHandleTextCommands, y as resolveCommandArgMenu } from "./tui-formatters-
|
|
37
|
+
import { _ as parseCommandArgs, b as serializeCommandArgs, d as findCommandByNativeName, f as listChatCommands, g as normalizeCommandBody, h as listNativeCommandSpecsForConfig, i as extractTextFromMessage, m as listNativeCommandSpecs, p as listChatCommandsForConfig, u as buildCommandTextFromArgs, v as resolveCommandArgChoices, x as shouldHandleTextCommands, y as resolveCommandArgMenu } from "./tui-formatters-6nR_zzUg.js";
|
|
38
38
|
import { kt as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-56cv8SiG.js";
|
|
39
|
-
import { i as randomIdempotencyKey, n as callGateway } from "./call-
|
|
39
|
+
import { i as randomIdempotencyKey, n as callGateway } from "./call-D_Z9T8iV.js";
|
|
40
40
|
import { i as formatDurationSeconds, r as formatDurationPrecise, t as formatDurationCompact } from "./format-duration-CEmFWLyX.js";
|
|
41
41
|
import { n as formatTimeAgo } from "./format-relative-Db7eqEu8.js";
|
|
42
42
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CuM85c29.js";
|
|
43
|
-
import { a as formatError$1, i as createWaSocket, n as startWebLoginWithQr, o as getStatusCode$1, r as waitForWebLogin, s as waitForWaConnection } from "./login-qr-
|
|
44
|
-
import { a as removeChannelAllowFromStoreEntry, c as listPairingChannels, i as readChannelAllowFromStore, o as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-
|
|
43
|
+
import { a as formatError$1, i as createWaSocket, n as startWebLoginWithQr, o as getStatusCode$1, r as waitForWebLogin, s as waitForWaConnection } from "./login-qr-CojPlIrx.js";
|
|
44
|
+
import { a as removeChannelAllowFromStoreEntry, c as listPairingChannels, i as readChannelAllowFromStore, o as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-Cc67v-m7.js";
|
|
45
45
|
import { t as formatDocsLink } from "./links-BPnP7NBH.js";
|
|
46
46
|
import { r as withManager } from "./cli-utils-BrEIqBi3.js";
|
|
47
47
|
import { n as withProgress, r as withProgressTotals } from "./progress-L0AJ2h6x.js";
|
|
48
|
-
import { a as resolveSubagentToolPolicy, c as resolveNativeSkillsEnabled, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, o as isNativeCommandsExplicitlyDisabled, r as resolveEffectiveToolPolicy, s as resolveNativeCommandsEnabled, t as filterToolsByPolicy } from "./pi-tools.policy-
|
|
48
|
+
import { a as resolveSubagentToolPolicy, c as resolveNativeSkillsEnabled, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, o as isNativeCommandsExplicitlyDisabled, r as resolveEffectiveToolPolicy, s as resolveNativeCommandsEnabled, t as filterToolsByPolicy } from "./pi-tools.policy-CiKYFXrw.js";
|
|
49
49
|
import { r as stylePromptTitle } from "./prompt-style-CHcfaV8X.js";
|
|
50
|
-
import { t as resolvePairingIdLabel } from "./pairing-labels-
|
|
50
|
+
import { t as resolvePairingIdLabel } from "./pairing-labels-B6MQ_Hha.js";
|
|
51
51
|
import { c as derivePromptTokens, d as normalizeUsage, l as deriveSessionTotalTokens, n as loadCostUsageSummary, o as extractToolCallNames, r as loadSessionCostSummary, s as hasToolCall, u as hasNonzeroUsage } from "./session-cost-usage-j9RNOPvV.js";
|
|
52
52
|
import { i as resolveModelCostConfig, n as formatTokenCount$2, r as formatUsd$1, t as estimateUsageCost } from "./usage-format-CWtS2X_P.js";
|
|
53
53
|
import { a as evaluateShellAllowlist, d as requiresExecApproval, f as resolveExecApprovals, h as resolveSafeBins, o as maxAsk, p as resolveExecApprovalsFromFile, s as minSecurity, t as addAllowlistEntry, u as recordAllowlistUse } from "./exec-approvals-BYIyMQfG.js";
|
|
54
54
|
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as buildNodeShellCommand, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-Bxxshylb.js";
|
|
55
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
55
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-_2M8iCv6.js";
|
|
56
56
|
import { t as parseAbsoluteTimeMs } from "./parse-gTOGQPH6.js";
|
|
57
57
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-D1op9uGI.js";
|
|
58
|
-
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-
|
|
58
|
+
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-CmhD8GeJ.js";
|
|
59
59
|
import { t as parseTimeoutMs } from "./parse-timeout-CbVKLZ4B.js";
|
|
60
60
|
import { createRequire } from "node:module";
|
|
61
61
|
import process$1 from "node:process";
|
|
@@ -4396,7 +4396,7 @@ async function createModelSelectionState(params) {
|
|
|
4396
4396
|
}
|
|
4397
4397
|
}
|
|
4398
4398
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
4399
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
4399
|
+
const { ensureAuthProfileStore } = await import("./model-selection-9N1nn0U_.js").then((n) => n.$);
|
|
4400
4400
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
4401
4401
|
const providerKey = normalizeProviderId(provider);
|
|
4402
4402
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -8218,7 +8218,7 @@ async function getMemorySearchManager(params) {
|
|
|
8218
8218
|
const cached = QMD_MANAGER_CACHE.get(cacheKey);
|
|
8219
8219
|
if (cached) return { manager: cached };
|
|
8220
8220
|
try {
|
|
8221
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
8221
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BM5DP4s8.js");
|
|
8222
8222
|
const primary = await QmdMemoryManager.create({
|
|
8223
8223
|
cfg: params.cfg,
|
|
8224
8224
|
agentId: params.agentId,
|
|
@@ -8228,7 +8228,7 @@ async function getMemorySearchManager(params) {
|
|
|
8228
8228
|
const wrapper = new FallbackMemoryManager({
|
|
8229
8229
|
primary,
|
|
8230
8230
|
fallbackFactory: async () => {
|
|
8231
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
8231
|
+
const { MemoryIndexManager } = await import("./manager-DQXILjKz.js").then((n) => n.t);
|
|
8232
8232
|
return await MemoryIndexManager.get(params);
|
|
8233
8233
|
}
|
|
8234
8234
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -8241,7 +8241,7 @@ async function getMemorySearchManager(params) {
|
|
|
8241
8241
|
}
|
|
8242
8242
|
}
|
|
8243
8243
|
try {
|
|
8244
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
8244
|
+
const { MemoryIndexManager } = await import("./manager-DQXILjKz.js").then((n) => n.t);
|
|
8245
8245
|
return { manager: await MemoryIndexManager.get(params) };
|
|
8246
8246
|
} catch (err) {
|
|
8247
8247
|
return {
|
|
@@ -12554,7 +12554,7 @@ async function routeReply(params) {
|
|
|
12554
12554
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
12555
12555
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
12556
12556
|
try {
|
|
12557
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
12557
|
+
const { deliverOutboundPayloads } = await import("./deliver-BRCyIScz.js").then((n) => n.n);
|
|
12558
12558
|
return {
|
|
12559
12559
|
ok: true,
|
|
12560
12560
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -17533,7 +17533,7 @@ async function describeStickerImage(params) {
|
|
|
17533
17533
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
17534
17534
|
try {
|
|
17535
17535
|
const buffer = await fs$1.readFile(imagePath);
|
|
17536
|
-
const { describeImageWithModel } = await import("./image-
|
|
17536
|
+
const { describeImageWithModel } = await import("./image-CE9CeS1j.js").then((n) => n.n);
|
|
17537
17537
|
return (await describeImageWithModel({
|
|
17538
17538
|
buffer,
|
|
17539
17539
|
fileName: "sticker.webp",
|
|
@@ -17890,7 +17890,7 @@ function createWhatsAppLoginTool() {
|
|
|
17890
17890
|
force: Type.Optional(Type.Boolean())
|
|
17891
17891
|
}),
|
|
17892
17892
|
execute: async (_toolCallId, args) => {
|
|
17893
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
17893
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-CojPlIrx.js").then((n) => n.t);
|
|
17894
17894
|
if ((args?.action ?? "start") === "wait") {
|
|
17895
17895
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
17896
17896
|
return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as parseBooleanValue } from "./entry.js";
|
|
2
2
|
import { h as resolveConfigDir } from "./utils-Bx1WKTCk.js";
|
|
3
3
|
import { n as runExec } from "./exec-B8JKbXKW.js";
|
|
4
|
-
import { c as writeConfigFile, i as loadConfig } from "./config-
|
|
5
|
-
import { c as allocateColor, d as isValidProfileName, f as deriveDefaultBrowserCdpPortRange, i as parseHttpUrl, l as getUsedColors, n as movePathToTrash, o as resolveProfile, r as getPwAiModule$1, s as allocateCdpPort, u as getUsedPorts } from "./server-context-
|
|
6
|
-
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, f as captureScreenshot, g as snapshotAria, s as resolveBrowserExecutableForPlatform, w as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH } from "./chrome-
|
|
4
|
+
import { c as writeConfigFile, i as loadConfig } from "./config-DFgdMueL.js";
|
|
5
|
+
import { c as allocateColor, d as isValidProfileName, f as deriveDefaultBrowserCdpPortRange, i as parseHttpUrl, l as getUsedColors, n as movePathToTrash, o as resolveProfile, r as getPwAiModule$1, s as allocateCdpPort, u as getUsedPorts } from "./server-context-qxpb5Ln6.js";
|
|
6
|
+
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, f as captureScreenshot, g as snapshotAria, s as resolveBrowserExecutableForPlatform, w as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH } from "./chrome-No6wyyAY.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import
|
|
10
|
+
import fsPromises from "node:fs/promises";
|
|
11
11
|
import crypto from "node:crypto";
|
|
12
12
|
import { fileTypeFromBuffer } from "file-type";
|
|
13
13
|
import { lookup } from "node:dns";
|
|
@@ -224,11 +224,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
224
224
|
return null;
|
|
225
225
|
}
|
|
226
226
|
async function withTempDir(fn) {
|
|
227
|
-
const dir = await
|
|
227
|
+
const dir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-img-"));
|
|
228
228
|
try {
|
|
229
229
|
return await fn(dir);
|
|
230
230
|
} finally {
|
|
231
|
-
await
|
|
231
|
+
await fsPromises.rm(dir, {
|
|
232
232
|
recursive: true,
|
|
233
233
|
force: true
|
|
234
234
|
}).catch(() => {});
|
|
@@ -237,7 +237,7 @@ async function withTempDir(fn) {
|
|
|
237
237
|
async function sipsMetadataFromBuffer(buffer) {
|
|
238
238
|
return await withTempDir(async (dir) => {
|
|
239
239
|
const input = path.join(dir, "in.img");
|
|
240
|
-
await
|
|
240
|
+
await fsPromises.writeFile(input, buffer);
|
|
241
241
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
242
242
|
"-g",
|
|
243
243
|
"pixelWidth",
|
|
@@ -265,7 +265,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
265
265
|
return await withTempDir(async (dir) => {
|
|
266
266
|
const input = path.join(dir, "in.img");
|
|
267
267
|
const output = path.join(dir, "out.jpg");
|
|
268
|
-
await
|
|
268
|
+
await fsPromises.writeFile(input, params.buffer);
|
|
269
269
|
await runExec("/usr/bin/sips", [
|
|
270
270
|
"-Z",
|
|
271
271
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -282,14 +282,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
282
282
|
timeoutMs: 2e4,
|
|
283
283
|
maxBuffer: 1024 * 1024
|
|
284
284
|
});
|
|
285
|
-
return await
|
|
285
|
+
return await fsPromises.readFile(output);
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
288
|
async function sipsConvertToJpeg(buffer) {
|
|
289
289
|
return await withTempDir(async (dir) => {
|
|
290
290
|
const input = path.join(dir, "in.heic");
|
|
291
291
|
const output = path.join(dir, "out.jpg");
|
|
292
|
-
await
|
|
292
|
+
await fsPromises.writeFile(input, buffer);
|
|
293
293
|
await runExec("/usr/bin/sips", [
|
|
294
294
|
"-s",
|
|
295
295
|
"format",
|
|
@@ -301,7 +301,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
301
301
|
timeoutMs: 2e4,
|
|
302
302
|
maxBuffer: 1024 * 1024
|
|
303
303
|
});
|
|
304
|
-
return await
|
|
304
|
+
return await fsPromises.readFile(output);
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
307
|
async function getImageMetadata(buffer) {
|
|
@@ -352,7 +352,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
352
352
|
return await withTempDir(async (dir) => {
|
|
353
353
|
const input = path.join(dir, "in.jpg");
|
|
354
354
|
const output = path.join(dir, "out.jpg");
|
|
355
|
-
await
|
|
355
|
+
await fsPromises.writeFile(input, buffer);
|
|
356
356
|
await runExec("/usr/bin/sips", [
|
|
357
357
|
...ops,
|
|
358
358
|
input,
|
|
@@ -362,7 +362,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
362
362
|
timeoutMs: 2e4,
|
|
363
363
|
maxBuffer: 1024 * 1024
|
|
364
364
|
});
|
|
365
|
-
return await
|
|
365
|
+
return await fsPromises.readFile(output);
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
368
|
async function resizeToJpeg(params) {
|
|
@@ -1332,7 +1332,7 @@ function registerBrowserAgentDebugRoutes(app, ctx) {
|
|
|
1332
1332
|
if (!pw) return;
|
|
1333
1333
|
const id = crypto.randomUUID();
|
|
1334
1334
|
const dir = "/tmp/openclaw";
|
|
1335
|
-
await
|
|
1335
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
1336
1336
|
const tracePath = out.trim() || path.join(dir, `browser-trace-${id}.zip`);
|
|
1337
1337
|
await pw.traceStopViaPlaywright({
|
|
1338
1338
|
cdpUrl: profileCtx.profile.cdpUrl,
|
|
@@ -1371,7 +1371,7 @@ function getMediaDir() {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
async function ensureMediaDir() {
|
|
1373
1373
|
const mediaDir = resolveMediaDir();
|
|
1374
|
-
await
|
|
1374
|
+
await fsPromises.mkdir(mediaDir, {
|
|
1375
1375
|
recursive: true,
|
|
1376
1376
|
mode: 448
|
|
1377
1377
|
});
|
|
@@ -1380,7 +1380,7 @@ async function ensureMediaDir() {
|
|
|
1380
1380
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
1381
1381
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
1382
1382
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
1383
|
-
await
|
|
1383
|
+
await fsPromises.mkdir(dir, {
|
|
1384
1384
|
recursive: true,
|
|
1385
1385
|
mode: 448
|
|
1386
1386
|
});
|
|
@@ -1398,7 +1398,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
1398
1398
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
1399
1399
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
1400
1400
|
const dest = path.join(dir, id);
|
|
1401
|
-
await
|
|
1401
|
+
await fsPromises.writeFile(dest, buffer, { mode: 384 });
|
|
1402
1402
|
return {
|
|
1403
1403
|
id,
|
|
1404
1404
|
path: dest,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveConfigDir } from "./utils-DMuwyz_q.js";
|
|
2
2
|
import { n as runExec } from "./exec-DFOtZbI0.js";
|
|
3
3
|
import { t as parseBooleanValue } from "./boolean-BgXe2hyu.js";
|
|
4
|
-
import { c as writeConfigFile, i as loadConfig } from "./config-
|
|
4
|
+
import { c as writeConfigFile, i as loadConfig } from "./config-yg3MNzIZ.js";
|
|
5
5
|
import { D as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, h as captureScreenshot, m as resolveBrowserExecutableForPlatform, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, y as snapshotAria } from "./chrome-BKkyn8EY.js";
|
|
6
6
|
import { a as resolveProfile, c as getUsedColors, d as deriveDefaultBrowserCdpPortRange, f as getPwAiModule$1, l as getUsedPorts, n as movePathToTrash, o as allocateCdpPort, r as parseHttpUrl, s as allocateColor, u as isValidProfileName } from "./server-context-DBGqh1ik.js";
|
|
7
7
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CHRYQtAM.js";
|
|
2
|
-
import { n as callGateway } from "./call-
|
|
2
|
+
import { n as callGateway } from "./call-D_Z9T8iV.js";
|
|
3
3
|
import { n as withProgress } from "./progress-L0AJ2h6x.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/nodes-cli/format.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as callGateway } from "./call-
|
|
1
|
+
import { n as callGateway } from "./call-BUcaYa5a.js";
|
|
2
2
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BlgPSDAh.js";
|
|
3
3
|
import { n as withProgress } from "./progress-Da1ehW-x.js";
|
|
4
4
|
|