@lawpath-tech/openclaw 2026.2.21-32 → 2026.2.21-33
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-E1DMCEDO.js → accounts-BQX482gP.js} +1 -1
- package/dist/{accounts-Dl14M6E6.js → accounts-CAR30ERb.js} +1 -1
- package/dist/{accounts-D8ryuxvJ.js → accounts-CGBT0wQ4.js} +7 -7
- package/dist/{acp-cli-hedESiET.js → acp-cli-DZV917OP.js} +6 -6
- package/dist/{agent-scope-B6jLdNuI.js → agent-scope-BGlpyppa.js} +18 -18
- package/dist/{agents-DWpMpnrU.js → agents-B1Ai7rsS.js} +4 -4
- package/dist/{agents.config-DfN81iaS.js → agents.config-CxHnl-lL.js} +2 -2
- package/dist/{agents.config-bQuerf1-.js → agents.config-DX3tDviB.js} +1 -1
- package/dist/{api-key-rotation-ddrC-1k5.js → api-key-rotation-CMe3cUAn.js} +1 -1
- package/dist/{audio-preflight-DRE31Ab_.js → audio-preflight-Djsieqbl.js} +28 -28
- package/dist/{audit-DqzfLnre.js → audit-W6GUNtGq.js} +23 -23
- package/dist/{auth-choice-BWs44j21.js → auth-choice-CW81kzG9.js} +8 -8
- package/dist/{auth-choice-CNEPjZq2.js → auth-choice-DKrgElus.js} +1 -1
- package/dist/{auth-token-Il_1hz__.js → auth-token-3sJLQq8Y.js} +1 -1
- package/dist/{banner-CxaRxgic.js → banner-B3qK6V55.js} +1 -1
- package/dist/{bindings-D_90DJ1-.js → bindings-D_OoALBE.js} +1 -1
- package/dist/{browser-cli-DRksx_yW.js → browser-cli-pa0mgoQY.js} +9 -9
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/{call-CYa4YbMh.js → call-BVSmc2vl.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DOP9meV_.js → channel-options-CvSrxm2D.js} +1 -1
- package/dist/{channel-options-731cZrV3.js → channel-options-UCu5_Nv-.js} +2 -2
- package/dist/{channel-selection-NCqPAi5U.js → channel-selection-B3CpzNsC.js} +1 -1
- package/dist/{channel-web-BGJ5ln5L.js → channel-web-BUJggj7Y.js} +17 -17
- package/dist/{channels-cli-BSR5Ss_g.js → channels-cli-B5TJMyaR.js} +75 -75
- package/dist/{channels-cli-D3RDDRf1.js → channels-cli-CGweC0NS.js} +4 -4
- package/dist/{channels-status-issues-CNE14g1e.js → channels-status-issues-C4_sbL0E.js} +1 -1
- package/dist/{chrome-BlXdvPOB.js → chrome-C9MCXK8d.js} +2 -2
- package/dist/{clawbot-cli-__trjQJ4.js → clawbot-cli-B2jNAgQu.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DnIh8_UI.js → cli-B1suYn5Q.js} +62 -62
- package/dist/{cli-C7e7H1JP.js → cli-BFVjC6gz.js} +1 -1
- package/dist/{client-BW8Wuj5N.js → client-DkL-GDcp.js} +1 -1
- package/dist/{command-registry-Q4A7-DBA.js → command-registry-C3Cb6_lT.js} +9 -9
- package/dist/{commands-KvUzKZ-E.js → commands-DHoTLUfu.js} +1 -1
- package/dist/{commands-registry-DVVMuhaG.js → commands-registry-C6MwKIm9.js} +3 -3
- package/dist/{completion-cli-JhFn-BzZ.js → completion-cli-CiR_bu8-.js} +12 -12
- package/dist/{completion-cli-dC9YBc-k.js → completion-cli-D-U8-xK-.js} +2 -2
- package/dist/{config-JupjCURB.js → config-CkqfHk27.js} +2 -2
- package/dist/{config-cli-DOvNIX0v.js → config-cli-BOhut0nG.js} +4 -4
- package/dist/{config-cli-DMLSe-zW.js → config-cli-CsmTCdxD.js} +1 -1
- package/dist/{config-guard-5XdCrtj_.js → config-guard-C5fqJ2Ra.js} +12 -12
- package/dist/{config-validation-B1WJ3f4s.js → config-validation-cyW76mmN.js} +1 -1
- package/dist/{configure-Bvsehc2l.js → configure-B7NUZjG2.js} +15 -15
- package/dist/{configure-DjTsdvi-.js → configure-BWfLMNPf.js} +3 -3
- package/dist/{control-service-C7XguOvd.js → control-service-CPT8eogY.js} +4 -4
- package/dist/{control-ui-assets-BLVZXE2I.js → control-ui-assets-BcSek9LQ.js} +1 -1
- package/dist/{cron-cli-DJY2332p.js → cron-cli-B8A_gdlC.js} +10 -10
- package/dist/{daemon-cli-BWUQX0oT.js → daemon-cli-BY4RqUnr.js} +11 -11
- package/dist/{daemon-runtime-DWX-qIBl.js → daemon-runtime-b5AIw6-c.js} +10 -10
- package/dist/{deliver-DKhy3kV4.js → deliver-DPIPJHQH.js} +7 -7
- package/dist/{devices-cli-D4oN5nE1.js → devices-cli-lm3S1JQu.js} +6 -6
- package/dist/{diagnostics-DqqmUDc7.js → diagnostics-BTTjVvNB.js} +5 -5
- package/dist/{directory-cli-Cn5w5bQ0.js → directory-cli-BV3bixZh.js} +7 -7
- package/dist/{dm-policy-shared-CysWxa2H.js → dm-policy-shared-CrbkZ-FV.js} +2 -2
- package/dist/{dns-cli-CYB5gA5O.js → dns-cli-D7X1eTm3.js} +3 -3
- package/dist/{dock-CX_o0bdi.js → dock-B1xpMkYP.js} +4 -4
- package/dist/{docs-cli-Dsn3U8-1.js → docs-cli-C_3NO2uV.js} +1 -1
- package/dist/{doctor-completion-ZNTlXnGL.js → doctor-completion-CRCM30Gd.js} +1 -1
- package/dist/{doctor-completion-zUNacbyu.js → doctor-completion-GAbf1D6s.js} +2 -2
- package/dist/{doctor-config-flow-C9h7ENJ-.js → doctor-config-flow-BB3nWQcZ.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BXXdOl4u.js → exec-approvals-cli-TT3Gh9kR.js} +13 -13
- package/dist/extensionAPI.js +1 -1
- package/dist/{fs-safe-CTDvb1DF.js → fs-safe-CUjO1ca2.js} +6 -6
- package/dist/{gateway-cli-B8-2FWEZ.js → gateway-cli-DGPCB6rN.js} +8 -8
- package/dist/{gateway-cli-BXP02v7b.js → gateway-cli-QMubBYii.js} +132 -132
- package/dist/{gateway-rpc-CqPT9Cep.js → gateway-rpc-BGGmDgbQ.js} +1 -1
- package/dist/{health-BFLhZBCV.js → health-CwpYY0fN.js} +13 -13
- package/dist/{health-Bm_bIcyw.js → health-DR30gLMN.js} +1 -1
- package/dist/{hooks-cli-DyN1Bq_w.js → hooks-cli-DNwlE26g.js} +2 -2
- package/dist/{hooks-cli-BVjpIkaS.js → hooks-cli-DlkiBMJi.js} +76 -76
- package/dist/{image-DtVdv4CQ.js → image-DC9YnAwO.js} +3 -3
- package/dist/{image-ops-Uvt51OHH.js → image-ops-B4PbaJHR.js} +10 -10
- package/dist/index.js +72 -72
- package/dist/{inspect-VKHaN3HT.js → inspect-gLKB4R6Z.js} +4 -4
- package/dist/{install-safe-path-Qqr_t_tH.js → install-safe-path-tCLiMpmO.js} +11 -11
- package/dist/{installs-BamQ1KDR.js → installs-Bbb02byQ.js} +10 -10
- package/dist/{ir-1SG-TkUZ.js → ir-D72mYI93.js} +6 -6
- package/dist/{lifecycle-core-DZJF3omV.js → lifecycle-core-DNgy-uKO.js} +5 -5
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{local-roots-25wkka6O.js → local-roots-B6Q8Hrfc.js} +2 -2
- package/dist/{login-BThY9qqp.js → login-Bz2k49Y4.js} +3 -3
- package/dist/{login-qr-BOOn03RH.js → login-qr-L9yhuI9H.js} +5 -5
- package/dist/{logs-cli-DoDfF8hD.js → logs-cli-B2PPoAkv.js} +7 -7
- package/dist/{manager-BVtzk7_v.js → manager-CDo24VZE.js} +13 -13
- package/dist/{markdown-tables-MNYCbYg1.js → markdown-tables-CXWxrKp3.js} +1 -1
- package/dist/{memory-cli-CS7LI30B.js → memory-cli-8SCKR9xc.js} +12 -12
- package/dist/{model-MOoXNngW.js → model-BKG0edkX.js} +1 -1
- package/dist/{model-catalog-CzLbr1ZD.js → model-catalog-CjwzHKkB.js} +4 -4
- package/dist/{model-picker-bpc3jJ5m.js → model-picker-NGiZaAei.js} +3 -3
- package/dist/{model-selection-C1pdWy7b.js → model-selection-0qDmOMXI.js} +9 -9
- package/dist/{models-Bd3CLEWM.js → models-DVkqCyTw.js} +2 -2
- package/dist/{models-cli-4QX1LFRs.js → models-cli-BEkmRLcC.js} +72 -72
- package/dist/{models-cli-D__CoxU_.js → models-cli-DVKgOKux.js} +3 -3
- package/dist/{models-config-BVp1ZtTh.js → models-config-CTi1zIkq.js} +7 -7
- package/dist/{node-cli-D-N_WPoP.js → node-cli-Cqkqlb01.js} +28 -28
- package/dist/{node-service-BESGjvfV.js → node-service-YmmWwF_4.js} +1 -1
- package/dist/{nodes-cli-Cn4uY_Gx.js → nodes-cli-xRiWzu3G.js} +10 -10
- package/dist/{nodes-screen-kFzB7013.js → nodes-screen-C-rbZoYt.js} +4 -4
- package/dist/{npm-registry-spec-pqZV9KaL.js → npm-registry-spec-Dw7Zv5pY.js} +9 -9
- package/dist/{onboard-DJUKlsWz.js → onboard-BS7ZSQTR.js} +13 -13
- package/dist/{onboard-DDzVmEvx.js → onboard-D9z9OO_A.js} +2 -2
- package/dist/{onboard-channels-BqW3maPJ.js → onboard-channels-CUuKFX-y.js} +5 -5
- package/dist/{onboard-channels-CrfL2B6W.js → onboard-channels-SRbD8DVG.js} +1 -1
- package/dist/{onboard-custom-D7KcpLUZ.js → onboard-custom-KUI3ky6Y.js} +3 -3
- package/dist/{onboard-helpers-C2-IAGyl.js → onboard-helpers-CuawFqeV.js} +8 -8
- package/dist/{onboard-hooks-Cf_rZ0y2.js → onboard-hooks-Cjnt0UN3.js} +1 -1
- package/dist/{onboard-remote-DujGEJSZ.js → onboard-remote-ClWpZWND.js} +1 -1
- package/dist/{onboard-skills-BCOMycP2.js → onboard-skills-wCr1UcGc.js} +4 -4
- package/dist/{onboarding-w8peVpJ9.js → onboarding-CQRQ7bCq.js} +13 -13
- package/dist/{onboarding-0IAGtYhr.js → onboarding-DVBEYCod.js} +3 -3
- package/dist/{onboarding.finalize-CwtvbQBP.js → onboarding.finalize-BRewG-HX.js} +74 -74
- package/dist/{onboarding.finalize-De4it5U3.js → onboarding.finalize-CTF-nyL8.js} +6 -6
- package/dist/{onboarding.gateway-config-BJ0SMGbj.js → onboarding.gateway-config-7sVZcOhj.js} +14 -14
- package/dist/{openai-model-default-DagaQbb0.js → openai-model-default-CZOgt9C7.js} +2 -2
- package/dist/{openclaw-root-CbWxAStx.js → openclaw-root-CQJwyH9q.js} +2 -2
- package/dist/{outbound-DPGxP4j6.js → outbound-BiC9-qyo.js} +4 -4
- package/dist/{plugin-sdk/outbound-attachment-Dukb2BCs.js → outbound-attachment-91Q9pKkZ.js} +2 -2
- package/dist/{pairing-cli-BZwhRsWv.js → pairing-cli-B5reDhJF.js} +8 -8
- package/dist/{pairing-labels-Cf9ie2Yo.js → pairing-labels-UbwdcASX.js} +1 -1
- package/dist/{pairing-store-BzMeXbOB.js → pairing-store-IkE0_gB1.js} +2 -2
- package/dist/{pairing-token-DAVfcYo5.js → pairing-token-DGufCZxz.js} +7 -7
- package/dist/{paths-BsnfCNkx.js → paths-CIvEoL0m.js} +1 -1
- package/dist/{pi-auth-json-BBbOI_P4.js → pi-auth-json-C5hwfgoJ.js} +3 -3
- package/dist/{pi-embedded-CIsGkiaB.js → pi-embedded-BqyWOcTK.js} +3 -3
- package/dist/{pi-embedded-helpers-B9uwWqnh.js → pi-embedded-helpers-BDEpQxcD.js} +6 -6
- package/dist/{pi-embedded-lJXJAe8z.js → pi-embedded-rXq7jDOy.js} +3 -3
- package/dist/{pi-tools.policy-BU3gaxu3.js → pi-tools.policy-CrKxTriv.js} +4 -4
- package/dist/{plugin-auto-enable-Dkg7tNsW.js → plugin-auto-enable-CU5zcL-D.js} +2 -2
- package/dist/{plugin-registry-DjJ5pV-y.js → plugin-registry-Bp0OjK16.js} +1 -1
- package/dist/{plugin-registry-BNUYtj9H.js → plugin-registry-Ca9kiZbZ.js} +3 -3
- package/dist/plugin-sdk/{accounts-CNg4Pivg.js → accounts-CIV6d4kn.js} +3 -3
- package/dist/plugin-sdk/{accounts-BdyAJ80w.js → accounts-cFYVb3Ir.js} +1 -1
- package/dist/plugin-sdk/{accounts-CDDBR5Pk.js → accounts-owMdcC84.js} +1 -1
- package/dist/plugin-sdk/{active-listener-C2nnC9Ax.js → active-listener-n6hyqnXA.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CtPfsirh.js → agent-scope-DNY1MYCy.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-BjU_kuyW.js → agent-scope-KjIvGpFh.js} +19 -19
- package/dist/plugin-sdk/{api-key-rotation-R4AkTIjD.js → api-key-rotation-nmjAMTZA.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BAMNt6M5.js → audio-preflight-BkbKy5kx.js} +24 -24
- package/dist/plugin-sdk/{bindings-BoFVi5SB.js → bindings-CopQpHHX.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-t_OI1MQf.js → channel-activity-CrDvXjCQ.js} +1 -1
- package/dist/plugin-sdk/{channel-web-hWtosBa_.js → channel-web-i7Q0e2xL.js} +22 -22
- package/dist/plugin-sdk/{chrome-D0tUj9ji.js → chrome-CrOYUXQ2.js} +3 -3
- package/dist/plugin-sdk/{chunk-CoyesYaI.js → chunk-D4rztYS_.js} +1 -1
- package/dist/plugin-sdk/{command-format-BZHLj2Pv.js → command-format-A8fPp85k.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-DhpIXuI8.js → commands-registry-BgL5BgCb.js} +4 -4
- package/dist/plugin-sdk/{config-C-kB5yPz.js → config-CpE4TWH0.js} +9 -9
- package/dist/plugin-sdk/{deliver-BHg_hqJG.js → deliver-DTKyGKVr.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-Bkobf9sL.js → diagnostic-AkXUmNj3.js} +1 -1
- package/dist/plugin-sdk/{image-DJgspIhI.js → image-D-2tr3lg.js} +4 -4
- package/dist/plugin-sdk/{image-ops-BeZ1nzVS.js → image-ops-D4rLqyFG.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-CRPo3dMY.js → ir-hakANnEW.js} +4 -4
- package/dist/plugin-sdk/{local-roots-C5Ju-AZh.js → local-roots-CnaI2qJk.js} +3 -3
- package/dist/plugin-sdk/{login-ZAWRtiUn.js → login-CcPkuK_e.js} +7 -7
- package/dist/plugin-sdk/{login-qr-Vep4Qyfk.js → login-qr-C6rEbZ_4.js} +9 -9
- package/dist/plugin-sdk/{manager-BiSIuKTu.js → manager-D0UeotCy.js} +8 -8
- package/dist/plugin-sdk/{manager-BBcNMx7F.js → manager-DeHKg0Ym.js} +28 -28
- package/dist/plugin-sdk/{manifest-registry-DJWLGnsy.js → manifest-registry-COeXOYi0.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-D3ber0Yy.js → markdown-tables-Bf31F9r6.js} +1 -1
- package/dist/plugin-sdk/memory-host-search.js +4 -4
- package/dist/plugin-sdk/{message-channel-BvbVXKrt.js → message-channel-CMtCA18K.js} +1 -1
- package/dist/plugin-sdk/{model-selection-QOKxGwpD.js → model-selection-CneSW_JC.js} +4 -4
- package/dist/plugin-sdk/{outbound-simNZ392.js → outbound-ChKX7wv_.js} +7 -7
- package/dist/{outbound-attachment-D07lPNUZ.js → plugin-sdk/outbound-attachment-1oBost2D.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-DjRxrq8j.js → pi-auth-json-DfDP_Pzq.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-onFghmXi.js → pi-embedded-helpers-idRp2oNz.js} +17 -17
- package/dist/plugin-sdk/{plugins-Cmzpj_lq.js → plugins-CCHKO6PS.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-MetkkJzy.js → pw-ai-DC87yDnd.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-B5NFEjJd.js → qmd-manager-Ci6Ood2P.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-CD1M3q9a.js → qmd-manager-CnTnX_JH.js} +4 -4
- package/dist/plugin-sdk/{registry-BX2vORAB.js → registry-BlMOtcPL.js} +2 -2
- package/dist/plugin-sdk/{replies-_91oZTzt.js → replies-CvKNemz4.js} +3 -3
- package/dist/plugin-sdk/{reply-CKIG0ycG.js → reply-CrBuiTf0.js} +79 -79
- package/dist/plugin-sdk/{reply-prefix-DuegEkbr.js → reply-prefix-G9ruZ2EI.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CeT5UKn8.js → resolve-outbound-target-D9fgJ-GG.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DxmOOAQ3.js → resolve-route-yBLQIeuf.js} +3 -3
- package/dist/plugin-sdk/{retry-DOt8b7_o.js → retry-BG4opKt7.js} +1 -1
- package/dist/plugin-sdk/{runner-DycIbJjS.js → runner-BkVA5r9t.js} +9 -9
- package/dist/plugin-sdk/{send-5KyVAcYY.js → send-C40m59QO.js} +10 -10
- package/dist/plugin-sdk/{send-DWnqhh6N.js → send-CgLOABgR.js} +10 -10
- package/dist/plugin-sdk/{send-Du8i1Fom.js → send-CiTMY1uN.js} +7 -7
- package/dist/plugin-sdk/{send-BUW2Leik.js → send-DzgvnkSq.js} +7 -7
- package/dist/plugin-sdk/{send-Fch4vj7_.js → send-b1mZbvoC.js} +6 -6
- package/dist/plugin-sdk/{session-PaIae3bL.js → session-DBbj6znF.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-CNFldYrK.js → skill-commands-Cu6XAfOe.js} +5 -5
- package/dist/plugin-sdk/{skills-CJCz6K_W.js → skills-BTu_-5jA.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Bmy459sE.js → sqlite-CH3lxc5D.js} +1 -1
- package/dist/plugin-sdk/{sqlite-CH_AglGD.js → sqlite-CcSeRdqy.js} +15 -15
- package/dist/plugin-sdk/{store-B_h0hmNL.js → store-DDOdV26p.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DJYuxViY.js → subsystem-DoAZkah-.js} +1 -1
- package/dist/plugin-sdk/{tables-DCBJv1Oa.js → tables-DAJbUPhT.js} +1 -1
- package/dist/plugin-sdk/{target-errors-gEAboF7P.js → target-errors-CeKndUCY.js} +2 -2
- package/dist/plugin-sdk/{thinking-D8Se3YVf.js → thinking-lC2HmTea.js} +5 -5
- package/dist/plugin-sdk/{tokens-Cx0xANZO.js → tokens-Dag82kdi.js} +1 -1
- package/dist/plugin-sdk/{tool-images-CIoUqeS9.js → tool-images-D_St2NkT.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-B_Opna2S.js → tool-loop-detection-BAz1GNFQ.js} +2 -2
- package/dist/plugin-sdk/web-DXbKqGiu.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DqfQYPke.js → whatsapp-actions-CicFq_6w.js} +21 -21
- package/dist/{plugins-BYw4LpqC.js → plugins-DufH79A4.js} +2 -2
- package/dist/{plugins-cli-CKU99tGc.js → plugins-cli-B54I3YDp.js} +71 -71
- package/dist/{plugins-cli-DBrRLw_b.js → plugins-cli-DQqPpkDg.js} +2 -2
- package/dist/{ports-CbYVfAGi.js → ports-B6fsVJW2.js} +1 -1
- package/dist/{ports-CJyNmOL8.js → ports-tyVdO5z0.js} +2 -2
- package/dist/{program-CuRfrHul.js → program-CiVPUyGe.js} +7 -7
- package/dist/{program-context-Ct_MVt2A.js → program-context-B8jVIvqn.js} +40 -40
- package/dist/{prompt-select-styled-BhdDmaM8.js → prompt-select-styled-DP6ORKEH.js} +4 -4
- package/dist/{prompt-select-styled-Cb9hZTTU.js → prompt-select-styled-XJNDuVI-.js} +37 -37
- package/dist/{provider-auth-helpers-CPkc9hAj.js → provider-auth-helpers-BvdnFgmZ.js} +1 -1
- package/dist/{provider-auth-helpers-B7bEwRrS.js → provider-auth-helpers-GlPRMdgU.js} +5 -5
- package/dist/{push-apns-BqDXb4kj.js → push-apns-4PMWZHdd.js} +4 -4
- package/dist/{push-apns-Cor1JBvm.js → push-apns-BLl8QvkS.js} +1 -1
- package/dist/{pw-ai-CWMnNfVs.js → pw-ai-fTf_Sq93.js} +7 -7
- package/dist/{qmd-manager-D72OxpMn.js → qmd-manager-CNVBA7OI.js} +18 -18
- package/dist/{qr-cli-jnAlWxJ1.js → qr-cli-BQpNL00w.js} +1 -1
- package/dist/{register.agent-CPhQWbIL.js → register.agent-DMDB7XFY.js} +6 -6
- package/dist/{register.agent-BY4qQIyM.js → register.agent-O8MfanIY.js} +81 -81
- package/dist/{register.configure-d_7CE6cU.js → register.configure-BnK5Jcux.js} +6 -6
- package/dist/register.configure-z-iZ8GQq.js +147 -0
- package/dist/{register.maintenance-BiQeKBPQ.js → register.maintenance-BnFA8dD9.js} +84 -84
- package/dist/{register.maintenance-CQVF8TPW.js → register.maintenance-DSLAHGdZ.js} +8 -8
- package/dist/{register.message-CprmJPCV.js → register.message-BEBbZm3E.js} +63 -63
- package/dist/{register.message-5XIQHlJd.js → register.message-Diwl2TLo.js} +2 -2
- package/dist/{register.onboard-D4hhxM8J.js → register.onboard-Bc4G3TMS.js} +4 -4
- package/dist/{register.onboard-DpvOjkyQ.js → register.onboard-gF_aeZ9o.js} +74 -74
- package/dist/{register.setup-MPlYCmF_.js → register.setup-B4r3oTHQ.js} +77 -77
- package/dist/{register.setup-D3PpeeN2.js → register.setup-CdWPBfRb.js} +4 -4
- package/dist/{register.status-health-sessions-BUzgM9fv.js → register.status-health-sessions-gEelqg9y.js} +75 -75
- package/dist/{register.status-health-sessions-BE5frGYt.js → register.status-health-sessions-gHKOUBxw.js} +3 -3
- package/dist/{register.subclis-BVUvjO4p.js → register.subclis-DflQa27k.js} +9 -9
- package/dist/{replies-BVBgaEtE.js → replies-BdkHHO5V.js} +1 -1
- package/dist/{reply-C7XZ5Kp3.js → reply-CM9fxt2r.js} +132 -132
- package/dist/{reply-prefix-CJc9NzGX.js → reply-prefix-CbuTBmdm.js} +1 -1
- package/dist/{resolve-route-C5pUt_LC.js → resolve-route-DuqgZ7wS.js} +2 -2
- package/dist/{routes-BgjaVwmu.js → routes-Bh-1i4ub.js} +8 -8
- package/dist/{rpc-DrpAw2Te.js → rpc-RAW16k0Y.js} +1 -1
- package/dist/{run-main-CmSuw5Re.js → run-main-3miuYYBs.js} +14 -14
- package/dist/{runner-fLI-fZ-v.js → runner-CXGYviGa.js} +20 -20
- package/dist/{sandbox-B1lVufmT.js → sandbox-Dbz4ladn.js} +18 -18
- package/dist/{sandbox-cli--odc2cPK.js → sandbox-cli-Dx1942n8.js} +20 -20
- package/dist/{security-cli-s6yE26pJ.js → security-cli-Ci7ujUBk.js} +36 -36
- package/dist/{send-YdmCYGSj.js → send-BGmblGeb.js} +6 -6
- package/dist/{send-_y-b5SXH.js → send-DUc9Jw32.js} +4 -4
- package/dist/{send-UJWeL6fz.js → send-ElgbtTa_.js} +6 -6
- package/dist/{send-DAb8zkAc.js → send-H5TFGeHl.js} +6 -6
- package/dist/{send-BilxFvrd.js → send-i695V0Ow.js} +13 -13
- package/dist/{server-context-DFBpyKBE.js → server-context-BN_KGt0e.js} +5 -5
- package/dist/{server-node-events-DeVBy3RG.js → server-node-events-BcfA38Ht.js} +2 -2
- package/dist/{server-node-events-E7ENYs3y.js → server-node-events-DzAfZuLY.js} +63 -63
- package/dist/{service-Bs5m4_g0.js → service-x8sNoic1.js} +15 -15
- package/dist/{session-Gi1pc_jn.js → session-SFd4vyTd.js} +2 -2
- package/dist/{session-dirs-Dz06Isny.js → session-dirs-BdEl6HTu.js} +16 -16
- package/dist/{session-dirs-DMMeC5kT.js → session-dirs-BeIjLerM.js} +1 -1
- package/dist/{sessions-fj33u4f-.js → sessions-CwvGRwvW.js} +13 -13
- package/dist/{shared-BYm87AKE.js → shared-BlqeHl3I.js} +1 -1
- package/dist/{shared-Btbxw_J6.js → shared-D-u4KNkt.js} +3 -3
- package/dist/{skill-commands-27Clp6Hw.js → skill-commands-VCmL7mMC.js} +5 -5
- package/dist/{skill-scanner-BRf3FyA6.js → skill-scanner-CMBwwxis.js} +5 -5
- package/dist/{skills-DO1RiQMB.js → skills-DhT6my9R.js} +4 -4
- package/dist/{skills-cli-D8Z6O8tz.js → skills-cli-AXXW1-ib.js} +7 -7
- package/dist/{skills-install-D2uuaBF9.js → skills-install-CHhkAUEW.js} +3 -3
- package/dist/{skills-status-C9NLYboA.js → skills-status-B90dNffv.js} +1 -1
- package/dist/{sqlite-DCO2j-0b.js → sqlite-CzeIEe5A.js} +12 -12
- package/dist/{status-DUJLCUGg.js → status-B0MQkmRx.js} +2 -2
- package/dist/{status-DppGMZ2s.js → status-CgApQy5C.js} +3 -3
- package/dist/{status-Di2Pqiji.js → status-DpOLEQn-.js} +1 -1
- package/dist/{status-DQmoPN3T.js → status-dZ2UgRzN.js} +25 -25
- package/dist/{status.update-CkYiGnzE.js → status.update-BdxnLoXT.js} +3 -3
- package/dist/{store-CLuh0zX0.js → store-YBnR7qvG.js} +5 -5
- package/dist/{subagent-registry-D3Pj0bnZ.js → subagent-registry-CEyaZMV5.js} +3 -3
- package/dist/{system-cli-DQpLuBbA.js → system-cli-CNufxt6H.js} +11 -11
- package/dist/{systemd-Blg-bgkO.js → systemd-_79iBiaB.js} +5 -5
- package/dist/{systemd-hints-pRBdkBPI.js → systemd-hints--ykZ9med.js} +6 -6
- package/dist/{systemd-linger-DqOrhpC-.js → systemd-linger--ZF5kAeJ.js} +1 -1
- package/dist/{tables-DhRyfXvl.js → tables-LYKSFoqx.js} +1 -1
- package/dist/{target-errors-DKUMw1tA.js → target-errors-BrrPOPT5.js} +4 -4
- package/dist/{tool-images-Cdj7iZ0t.js → tool-images-BCkPMulQ.js} +1 -1
- package/dist/{tui-DbvXHepE.js → tui-BfllwI0b.js} +7 -7
- package/dist/{tui-cli-CIqa9qRn.js → tui-cli-DM4ahQxS.js} +28 -28
- package/dist/{update-CqhqeDij.js → update-BNGNVRaT.js} +3 -3
- package/dist/{update-check-DOy5cGkD.js → update-check-CEFJiPeh.js} +5 -5
- package/dist/{update-cli-CsicqPiK.js → update-cli-COdYp-Y5.js} +8 -8
- package/dist/{update-cli-DJIsdQeJ.js → update-cli-Y2wT8mXS.js} +94 -94
- package/dist/{web-DRLO5z6-.js → web-CQ4AF_Y7.js} +1 -1
- package/dist/web-Cp6O0VTJ.js +109 -0
- package/dist/{web-DShT68Ix.js → web-D8FEwRAX.js} +1 -1
- package/dist/{web-EGziWSH9.js → web-c0XVFCZq.js} +1 -1
- package/dist/{webhooks-cli-BJ1WiH3W.js → webhooks-cli-Ay0jR658.js} +4 -4
- package/dist/{whatsapp-actions-lSqVUZ_h.js → whatsapp-actions-Dsvkb9dr.js} +15 -15
- package/dist/{with-timeout-OwJVCBFG.js → with-timeout-n3bwhefQ.js} +1 -1
- package/dist/{workspace-dirs-CuYuE5F1.js → workspace-dirs-DbX5fBAC.js} +1 -1
- package/dist/{wsl-BbXxnokd.js → wsl-C4424szg.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-HBE7hmNI.js +0 -65
- package/dist/register.configure-CtqFfgvY.js +0 -147
- package/dist/web-lXypZuaq.js +0 -109
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-BGlpyppa.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { F as shouldLogVerbose } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import { d as sanitizeAgentId, h as normalizeAccountId, i as buildAgentPeerSessionKey, m as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { i as logDebug } from "./exec-DwGfeG8v.js";
|
|
5
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-BGlpyppa.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
7
|
-
import { n as listBindings } from "./bindings-
|
|
7
|
+
import { n as listBindings } from "./bindings-D_OoALBE.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as parseBooleanValue } from "./boolean-BsqeuxE6.js";
|
|
2
|
-
import { i as loadConfig, l as writeConfigFile } from "./config-
|
|
3
|
-
import { C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, f as snapshotAria, h as withBrowserNavigationPolicy, s as resolveBrowserExecutableForPlatform, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
4
|
-
import { a as resolveProfile, c as getUsedColors, d as deriveDefaultBrowserCdpPortRange, f as getPwAiModule$1, l as getUsedPorts, o as allocateCdpPort, r as parseHttpUrl, s as allocateColor, u as isValidProfileName } from "./server-context-
|
|
5
|
-
import { a as resolvePathWithinRoot, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-
|
|
6
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
7
|
-
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
2
|
+
import { i as loadConfig, l as writeConfigFile } from "./config-CkqfHk27.js";
|
|
3
|
+
import { C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, f as snapshotAria, h as withBrowserNavigationPolicy, s as resolveBrowserExecutableForPlatform, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-C9MCXK8d.js";
|
|
4
|
+
import { a as resolveProfile, c as getUsedColors, d as deriveDefaultBrowserCdpPortRange, f as getPwAiModule$1, l as getUsedPorts, o as allocateCdpPort, r as parseHttpUrl, s as allocateColor, u as isValidProfileName } from "./server-context-BN_KGt0e.js";
|
|
5
|
+
import { a as resolvePathWithinRoot, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-CIvEoL0m.js";
|
|
6
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-B4PbaJHR.js";
|
|
7
|
+
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-YBnR7qvG.js";
|
|
8
8
|
import { t as movePathToTrash } from "./trash-C46e9E61.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs$1 from "node:fs/promises";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
|
|
14
14
|
//#region src/browser/routes/agent.act.shared.ts
|
|
@@ -770,7 +770,7 @@ function registerBrowserAgentDebugRoutes(app, ctx) {
|
|
|
770
770
|
run: async ({ cdpUrl, tab, pw }) => {
|
|
771
771
|
const id = crypto.randomUUID();
|
|
772
772
|
const dir = DEFAULT_TRACE_DIR;
|
|
773
|
-
await
|
|
773
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
774
774
|
const tracePathResult = resolvePathWithinRoot({
|
|
775
775
|
rootDir: dir,
|
|
776
776
|
requestedPath: out,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DzkrSzpL.js";
|
|
2
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
2
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-BVSmc2vl.js";
|
|
3
3
|
import { n as withProgress } from "./progress-9gCu2IkR.js";
|
|
4
4
|
import { n as parseNodeList, r as parsePairingList, t as resolveNodeIdFromCandidates } from "./node-match-CN8o4Vi3.js";
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ import "./client-Dsuc__Z5.js";
|
|
|
13
13
|
import "./call-9P8a5VLv.js";
|
|
14
14
|
import "./message-channel-CVHJDItx.js";
|
|
15
15
|
import "./pairing-token-DIDmMgOf.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-CEyaZMV5.js";
|
|
17
17
|
import "./sessions-C2GoB4eB.js";
|
|
18
18
|
import "./tokens-BQcb3NZa.js";
|
|
19
19
|
import "./plugins-z3bMeGdF.js";
|
|
@@ -101,9 +101,9 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-Co_fin1B.js";
|
|
|
101
101
|
import "./catalog-c0_qsZP7.js";
|
|
102
102
|
import "./note-w1yEEDzo.js";
|
|
103
103
|
import "./plugin-auto-enable-ComPhQV1.js";
|
|
104
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
104
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Bp0OjK16.js";
|
|
105
105
|
import { t as assertSupportedRuntime } from "./runtime-guard-Cs_ClFhP.js";
|
|
106
|
-
import { t as emitCliBanner } from "./banner-
|
|
106
|
+
import { t as emitCliBanner } from "./banner-B3qK6V55.js";
|
|
107
107
|
import "./doctor-config-flow-B_HxBb2K.js";
|
|
108
108
|
import { n as ensureConfigReady } from "./config-guard-CPICoaf9.js";
|
|
109
109
|
import process$1 from "node:process";
|
|
@@ -118,7 +118,7 @@ const routeHealth = {
|
|
|
118
118
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
119
119
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
120
120
|
if (timeoutMs === null) return false;
|
|
121
|
-
const { healthCommand } = await import("./health-
|
|
121
|
+
const { healthCommand } = await import("./health-DR30gLMN.js").then((n) => n.i);
|
|
122
122
|
await healthCommand({
|
|
123
123
|
json,
|
|
124
124
|
timeoutMs,
|
|
@@ -138,7 +138,7 @@ const routeStatus = {
|
|
|
138
138
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
139
139
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
140
140
|
if (timeoutMs === null) return false;
|
|
141
|
-
const { statusCommand } = await import("./status-
|
|
141
|
+
const { statusCommand } = await import("./status-B0MQkmRx.js").then((n) => n.t);
|
|
142
142
|
await statusCommand({
|
|
143
143
|
json,
|
|
144
144
|
deep,
|
|
@@ -172,7 +172,7 @@ const routeAgentsList = {
|
|
|
172
172
|
run: async (argv) => {
|
|
173
173
|
const json = hasFlag(argv, "--json");
|
|
174
174
|
const bindings = hasFlag(argv, "--bindings");
|
|
175
|
-
const { agentsListCommand } = await import("./agents-
|
|
175
|
+
const { agentsListCommand } = await import("./agents-B1Ai7rsS.js").then((n) => n.t);
|
|
176
176
|
await agentsListCommand({
|
|
177
177
|
json,
|
|
178
178
|
bindings
|
|
@@ -243,7 +243,7 @@ const routes = [
|
|
|
243
243
|
const pathArg = getCommandPositionals(argv)[2];
|
|
244
244
|
if (!pathArg) return false;
|
|
245
245
|
const json = hasFlag(argv, "--json");
|
|
246
|
-
const { runConfigGet } = await import("./config-cli-
|
|
246
|
+
const { runConfigGet } = await import("./config-cli-CsmTCdxD.js");
|
|
247
247
|
await runConfigGet({
|
|
248
248
|
path: pathArg,
|
|
249
249
|
json
|
|
@@ -256,7 +256,7 @@ const routes = [
|
|
|
256
256
|
run: async (argv) => {
|
|
257
257
|
const pathArg = getCommandPositionals(argv)[2];
|
|
258
258
|
if (!pathArg) return false;
|
|
259
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
259
|
+
const { runConfigUnset } = await import("./config-cli-CsmTCdxD.js");
|
|
260
260
|
await runConfigUnset({ path: pathArg });
|
|
261
261
|
return true;
|
|
262
262
|
}
|
|
@@ -270,7 +270,7 @@ const routes = [
|
|
|
270
270
|
const local = hasFlag(argv, "--local");
|
|
271
271
|
const json = hasFlag(argv, "--json");
|
|
272
272
|
const plain = hasFlag(argv, "--plain");
|
|
273
|
-
const { modelsListCommand } = await import("./models-
|
|
273
|
+
const { modelsListCommand } = await import("./models-DVkqCyTw.js").then((n) => n.t);
|
|
274
274
|
await modelsListCommand({
|
|
275
275
|
all,
|
|
276
276
|
local,
|
|
@@ -301,7 +301,7 @@ const routes = [
|
|
|
301
301
|
const plain = hasFlag(argv, "--plain");
|
|
302
302
|
const check = hasFlag(argv, "--check");
|
|
303
303
|
const probe = hasFlag(argv, "--probe");
|
|
304
|
-
const { modelsStatusCommand } = await import("./models-
|
|
304
|
+
const { modelsStatusCommand } = await import("./models-DVkqCyTw.js").then((n) => n.t);
|
|
305
305
|
await modelsStatusCommand({
|
|
306
306
|
json,
|
|
307
307
|
plain,
|
|
@@ -379,7 +379,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
379
379
|
assertSupportedRuntime();
|
|
380
380
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
381
381
|
enableConsoleCapture();
|
|
382
|
-
const { buildProgram } = await import("./program-
|
|
382
|
+
const { buildProgram } = await import("./program-CiVPUyGe.js");
|
|
383
383
|
const program = buildProgram();
|
|
384
384
|
installUnhandledRejectionHandler();
|
|
385
385
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -392,10 +392,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
392
392
|
const { getProgramContext } = await import("./program-context-5q-A0wbP.js").then((n) => n.n);
|
|
393
393
|
const ctx = getProgramContext(program);
|
|
394
394
|
if (ctx) {
|
|
395
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
395
|
+
const { registerCoreCliByName } = await import("./command-registry-C3Cb6_lT.js").then((n) => n.t);
|
|
396
396
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
397
397
|
}
|
|
398
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
398
|
+
const { registerSubCliByName } = await import("./register.subclis-DflQa27k.js").then((n) => n.a);
|
|
399
399
|
await registerSubCliByName(program, primary);
|
|
400
400
|
}
|
|
401
401
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -403,7 +403,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
403
403
|
primary,
|
|
404
404
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
405
405
|
})) {
|
|
406
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
406
|
+
const { registerPluginCliCommands } = await import("./cli-BFVjC6gz.js");
|
|
407
407
|
const { loadConfig } = await import("./config-BIssvwa3.js").then((n) => n.t);
|
|
408
408
|
registerPluginCliCommands(program, loadConfig());
|
|
409
409
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { F as shouldLogVerbose, M as logVerbose } from "./utils-BlC2Fskb.js";
|
|
2
2
|
import { n as runExec } from "./exec-DwGfeG8v.js";
|
|
3
|
-
import { E as normalizeGoogleModelId, K as requireApiKey, l as normalizeProviderId, q as resolveApiKeyForProvider } from "./model-selection-
|
|
4
|
-
import { _ as isInboundPathAllowed, g as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, v as mergeInboundPathRoots, y as resolveIMessageAttachmentRoots } from "./config-
|
|
3
|
+
import { E as normalizeGoogleModelId, K as requireApiKey, l as normalizeProviderId, q as resolveApiKeyForProvider } from "./model-selection-0qDmOMXI.js";
|
|
4
|
+
import { _ as isInboundPathAllowed, g as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, v as mergeInboundPathRoots, y as resolveIMessageAttachmentRoots } from "./config-CkqfHk27.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
6
|
-
import { t as describeImageWithModel } from "./image-
|
|
6
|
+
import { t as describeImageWithModel } from "./image-DC9YnAwO.js";
|
|
7
7
|
import { r as formatUncaughtError, t as extractErrorCode } from "./errors-BF3TeRH2.js";
|
|
8
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
8
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-B4PbaJHR.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Db3da8yR.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-w97sP7Hz.js";
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
13
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CMe3cUAn.js";
|
|
12
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-B6Q8Hrfc.js";
|
|
13
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-CjwzHKkB.js";
|
|
14
14
|
import process$1 from "node:process";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
16
|
import { constants } from "node:fs";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import fs$1 from "node:fs/promises";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
|
|
22
22
|
//#region src/auto-reply/templating.ts
|
|
@@ -794,7 +794,7 @@ var MediaAttachmentCache = class {
|
|
|
794
794
|
const size = await this.ensureLocalStat(entry);
|
|
795
795
|
if (entry.resolvedPath) {
|
|
796
796
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
797
|
-
const buffer = await
|
|
797
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
798
798
|
entry.buffer = buffer;
|
|
799
799
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
800
800
|
buffer,
|
|
@@ -864,10 +864,10 @@ var MediaAttachmentCache = class {
|
|
|
864
864
|
prefix: "openclaw-media",
|
|
865
865
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
866
866
|
});
|
|
867
|
-
await
|
|
867
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
868
868
|
entry.tempPath = tmpPath;
|
|
869
869
|
entry.tempCleanup = async () => {
|
|
870
|
-
await
|
|
870
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
871
871
|
};
|
|
872
872
|
return {
|
|
873
873
|
path: tmpPath,
|
|
@@ -914,12 +914,12 @@ var MediaAttachmentCache = class {
|
|
|
914
914
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
915
915
|
try {
|
|
916
916
|
const currentPath = entry.resolvedPath;
|
|
917
|
-
const stat = await
|
|
917
|
+
const stat = await fs$1.stat(currentPath);
|
|
918
918
|
if (!stat.isFile()) {
|
|
919
919
|
entry.resolvedPath = void 0;
|
|
920
920
|
return;
|
|
921
921
|
}
|
|
922
|
-
const canonicalPath = await
|
|
922
|
+
const canonicalPath = await fs$1.realpath(currentPath).catch(() => currentPath);
|
|
923
923
|
if (!isInboundPathAllowed({
|
|
924
924
|
filePath: canonicalPath,
|
|
925
925
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -941,7 +941,7 @@ var MediaAttachmentCache = class {
|
|
|
941
941
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
942
942
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
943
943
|
if (root.includes("*")) return root;
|
|
944
|
-
return await
|
|
944
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
945
945
|
}))))();
|
|
946
946
|
return await this.canonicalLocalPathRoots;
|
|
947
947
|
}
|
|
@@ -952,7 +952,7 @@ var MediaAttachmentCache = class {
|
|
|
952
952
|
async function fileExists(filePath) {
|
|
953
953
|
if (!filePath) return false;
|
|
954
954
|
try {
|
|
955
|
-
await
|
|
955
|
+
await fs$1.stat(filePath);
|
|
956
956
|
return true;
|
|
957
957
|
} catch {
|
|
958
958
|
return false;
|
|
@@ -1052,7 +1052,7 @@ async function resolveCliOutput(params) {
|
|
|
1052
1052
|
const commandId = commandBase(params.command);
|
|
1053
1053
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : null;
|
|
1054
1054
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1055
|
-
const content = await
|
|
1055
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
1056
1056
|
if (content.trim()) return content.trim();
|
|
1057
1057
|
} catch {}
|
|
1058
1058
|
if (commandId === "gemini") {
|
|
@@ -1343,7 +1343,7 @@ async function runCliEntry(params) {
|
|
|
1343
1343
|
maxBytes,
|
|
1344
1344
|
timeoutMs
|
|
1345
1345
|
});
|
|
1346
|
-
const outputDir = await
|
|
1346
|
+
const outputDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "openclaw-media-cli-"));
|
|
1347
1347
|
const mediaPath = pathResult.path;
|
|
1348
1348
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1349
1349
|
const templCtx = {
|
|
@@ -1377,7 +1377,7 @@ async function runCliEntry(params) {
|
|
|
1377
1377
|
model: command
|
|
1378
1378
|
};
|
|
1379
1379
|
} finally {
|
|
1380
|
-
await
|
|
1380
|
+
await fs$1.rm(outputDir, {
|
|
1381
1381
|
recursive: true,
|
|
1382
1382
|
force: true
|
|
1383
1383
|
}).catch(() => {});
|
|
@@ -1421,9 +1421,9 @@ function candidateBinaryNames(name) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
async function isExecutable(filePath) {
|
|
1423
1423
|
try {
|
|
1424
|
-
if (!(await
|
|
1424
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1425
1425
|
if (process.platform === "win32") return true;
|
|
1426
|
-
await
|
|
1426
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1427
1427
|
return true;
|
|
1428
1428
|
} catch {
|
|
1429
1429
|
return false;
|
|
@@ -3,19 +3,19 @@ import { y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
|
3
3
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { t as CHANNEL_IDS } from "./registry-lBbEkQ26.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
6
|
-
import { C as ensureAgentWorkspace, S as DEFAULT_USER_FILENAME, _ as DEFAULT_IDENTITY_FILENAME, b as DEFAULT_SOUL_FILENAME, d as resolveSessionAgentId, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, m as DEFAULT_AGENT_WORKSPACE_DIR, p as DEFAULT_AGENTS_FILENAME, r as resolveAgentConfig, x as DEFAULT_TOOLS_FILENAME } from "./agent-scope-
|
|
6
|
+
import { C as ensureAgentWorkspace, S as DEFAULT_USER_FILENAME, _ as DEFAULT_IDENTITY_FILENAME, b as DEFAULT_SOUL_FILENAME, d as resolveSessionAgentId, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, m as DEFAULT_AGENT_WORKSPACE_DIR, p as DEFAULT_AGENTS_FILENAME, r as resolveAgentConfig, x as DEFAULT_TOOLS_FILENAME } from "./agent-scope-BGlpyppa.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
9
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, O as DEFAULT_OPENCLAW_BROWSER_COLOR } from "./chrome-
|
|
8
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
9
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, O as DEFAULT_OPENCLAW_BROWSER_COLOR } from "./chrome-C9MCXK8d.js";
|
|
10
10
|
import { t as safeEqualSecret } from "./secret-equal-D7A3Bol7.js";
|
|
11
11
|
import { r as isLoopbackHost } from "./ws-C7EXRv8z.js";
|
|
12
|
-
import { a as resolveProfile, m as resolveBrowserControlAuth, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
13
|
-
import { d as resolveSandboxInputPath, f as resolveSandboxPath, g as sanitizeEnvVars, o as syncSkillsToWorkspace } from "./skills-
|
|
14
|
-
import { t as registerBrowserRoutes } from "./routes-
|
|
15
|
-
import { B as resolveAgentMainSessionKey, J as acquireSessionWriteLock, z as canonicalizeMainSessionAlias } from "./sessions-
|
|
12
|
+
import { a as resolveProfile, m as resolveBrowserControlAuth, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-BN_KGt0e.js";
|
|
13
|
+
import { d as resolveSandboxInputPath, f as resolveSandboxPath, g as sanitizeEnvVars, o as syncSkillsToWorkspace } from "./skills-DhT6my9R.js";
|
|
14
|
+
import { t as registerBrowserRoutes } from "./routes-Bh-1i4ub.js";
|
|
15
|
+
import { B as resolveAgentMainSessionKey, J as acquireSessionWriteLock, z as canonicalizeMainSessionAlias } from "./sessions-CwvGRwvW.js";
|
|
16
16
|
import { existsSync, realpathSync } from "node:fs";
|
|
17
17
|
import path, { posix } from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fs$1 from "node:fs/promises";
|
|
19
19
|
import { spawn } from "node:child_process";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
import express from "express";
|
|
@@ -769,7 +769,7 @@ async function withRegistryLock(registryPath, fn) {
|
|
|
769
769
|
}
|
|
770
770
|
async function readRegistryFromFile(registryPath, mode) {
|
|
771
771
|
try {
|
|
772
|
-
const raw = await
|
|
772
|
+
const raw = await fs$1.readFile(registryPath, "utf-8");
|
|
773
773
|
const parsed = JSON.parse(raw);
|
|
774
774
|
if (isRegistryFile(parsed)) return parsed;
|
|
775
775
|
if (mode === "fallback") return { entries: [] };
|
|
@@ -782,15 +782,15 @@ async function readRegistryFromFile(registryPath, mode) {
|
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
async function writeRegistryFile(registryPath, registry) {
|
|
785
|
-
await
|
|
785
|
+
await fs$1.mkdir(SANDBOX_STATE_DIR, { recursive: true });
|
|
786
786
|
const payload = `${JSON.stringify(registry, null, 2)}\n`;
|
|
787
787
|
const registryDir = path.dirname(registryPath);
|
|
788
788
|
const tempPath = path.join(registryDir, `${path.basename(registryPath)}.${crypto.randomUUID()}.tmp`);
|
|
789
|
-
await
|
|
789
|
+
await fs$1.writeFile(tempPath, payload, "utf-8");
|
|
790
790
|
try {
|
|
791
|
-
await
|
|
791
|
+
await fs$1.rename(tempPath, registryPath);
|
|
792
792
|
} catch (error) {
|
|
793
|
-
await
|
|
793
|
+
await fs$1.rm(tempPath, { force: true });
|
|
794
794
|
throw error;
|
|
795
795
|
}
|
|
796
796
|
}
|
|
@@ -2025,7 +2025,7 @@ function formatSandboxToolPolicyBlockedMessage(params) {
|
|
|
2025
2025
|
//#endregion
|
|
2026
2026
|
//#region src/agents/sandbox/workspace.ts
|
|
2027
2027
|
async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
2028
|
-
await
|
|
2028
|
+
await fs$1.mkdir(workspaceDir, { recursive: true });
|
|
2029
2029
|
if (seedFrom) {
|
|
2030
2030
|
const seed = resolveUserPath(seedFrom);
|
|
2031
2031
|
const files = [
|
|
@@ -2041,11 +2041,11 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
2041
2041
|
const src = path.join(seed, name);
|
|
2042
2042
|
const dest = path.join(workspaceDir, name);
|
|
2043
2043
|
try {
|
|
2044
|
-
await
|
|
2044
|
+
await fs$1.access(dest);
|
|
2045
2045
|
} catch {
|
|
2046
2046
|
try {
|
|
2047
|
-
const content = await
|
|
2048
|
-
await
|
|
2047
|
+
const content = await fs$1.readFile(src, "utf-8");
|
|
2048
|
+
await fs$1.writeFile(dest, content, {
|
|
2049
2049
|
encoding: "utf-8",
|
|
2050
2050
|
flag: "wx"
|
|
2051
2051
|
});
|
|
@@ -2080,7 +2080,7 @@ async function ensureSandboxWorkspaceLayout(params) {
|
|
|
2080
2080
|
const message = error instanceof Error ? error.message : JSON.stringify(error);
|
|
2081
2081
|
defaultRuntime.error?.(`Sandbox skill sync failed: ${message}`);
|
|
2082
2082
|
}
|
|
2083
|
-
} else await
|
|
2083
|
+
} else await fs$1.mkdir(workspaceDir, { recursive: true });
|
|
2084
2084
|
return {
|
|
2085
2085
|
agentWorkspaceDir,
|
|
2086
2086
|
scopeKey,
|
|
@@ -4,39 +4,39 @@ import { S as parseAgentSessionKey, c as normalizeMainKey, l as resolveAgentIdFr
|
|
|
4
4
|
import { c as normalizeAnyChannelId } from "./registry-lBbEkQ26.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
6
6
|
import "./exec-DwGfeG8v.js";
|
|
7
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
7
|
+
import { r as resolveAgentConfig } from "./agent-scope-BGlpyppa.js";
|
|
8
|
+
import "./model-selection-0qDmOMXI.js";
|
|
9
9
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
12
|
import "./env-C9RBJHeg.js";
|
|
13
13
|
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DzkrSzpL.js";
|
|
14
|
-
import { i as loadConfig } from "./config-
|
|
14
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
15
15
|
import "./manifest-registry-YRUqEw3J.js";
|
|
16
|
-
import { f as resolveSandboxConfigForAgent, i as removeSandboxContainer, m as resolveSandboxToolPolicyForAgent, n as listSandboxContainers, r as removeSandboxBrowserContainer, t as listSandboxBrowsers } from "./sandbox-
|
|
17
|
-
import "./chrome-
|
|
16
|
+
import { f as resolveSandboxConfigForAgent, i as removeSandboxContainer, m as resolveSandboxToolPolicyForAgent, n as listSandboxContainers, r as removeSandboxBrowserContainer, t as listSandboxBrowsers } from "./sandbox-Dbz4ladn.js";
|
|
17
|
+
import "./chrome-C9MCXK8d.js";
|
|
18
18
|
import "./tailscale-CuVYhW-O.js";
|
|
19
19
|
import "./auth-CxiLRCJi.js";
|
|
20
|
-
import "./server-context-
|
|
20
|
+
import "./server-context-BN_KGt0e.js";
|
|
21
21
|
import "./frontmatter-C_R2lwvR.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./routes-
|
|
22
|
+
import "./skills-DhT6my9R.js";
|
|
23
|
+
import "./routes-Bh-1i4ub.js";
|
|
24
24
|
import "./redact-f-Q-hFt_.js";
|
|
25
25
|
import "./errors-BF3TeRH2.js";
|
|
26
|
-
import "./fs-safe-
|
|
27
|
-
import "./paths-
|
|
26
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
27
|
+
import "./paths-CIvEoL0m.js";
|
|
28
28
|
import "./ssrf-BCYMnxkM.js";
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./store-
|
|
31
|
-
import "./ports-
|
|
29
|
+
import "./image-ops-B4PbaJHR.js";
|
|
30
|
+
import "./store-YBnR7qvG.js";
|
|
31
|
+
import "./ports-tyVdO5z0.js";
|
|
32
32
|
import "./trash-C46e9E61.js";
|
|
33
|
-
import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, o as loadSessionStore } from "./sessions-
|
|
34
|
-
import "./dock-
|
|
35
|
-
import "./plugins-
|
|
36
|
-
import "./accounts-
|
|
37
|
-
import "./accounts-
|
|
38
|
-
import "./accounts-
|
|
39
|
-
import "./bindings-
|
|
33
|
+
import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, o as loadSessionStore } from "./sessions-CwvGRwvW.js";
|
|
34
|
+
import "./dock-B1xpMkYP.js";
|
|
35
|
+
import "./plugins-DufH79A4.js";
|
|
36
|
+
import "./accounts-CGBT0wQ4.js";
|
|
37
|
+
import "./accounts-BQX482gP.js";
|
|
38
|
+
import "./accounts-CAR30ERb.js";
|
|
39
|
+
import "./bindings-D_OoALBE.js";
|
|
40
40
|
import "./logging-w5jq5901.js";
|
|
41
41
|
import { c as resolveStorePath } from "./paths-C6eomcf_.js";
|
|
42
42
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
@@ -4,61 +4,61 @@ import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
|
4
4
|
import "./registry-lBbEkQ26.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
6
6
|
import { n as runExec } from "./exec-DwGfeG8v.js";
|
|
7
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
7
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-BGlpyppa.js";
|
|
8
|
+
import "./model-selection-0qDmOMXI.js";
|
|
9
9
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
12
|
import "./env-C9RBJHeg.js";
|
|
13
13
|
import "./message-channel-DzkrSzpL.js";
|
|
14
|
-
import { i as loadConfig, r as createConfigIO } from "./config-
|
|
14
|
+
import { i as loadConfig, r as createConfigIO } from "./config-CkqfHk27.js";
|
|
15
15
|
import "./manifest-registry-YRUqEw3J.js";
|
|
16
|
-
import "./sandbox-
|
|
17
|
-
import "./chrome-
|
|
16
|
+
import "./sandbox-Dbz4ladn.js";
|
|
17
|
+
import "./chrome-C9MCXK8d.js";
|
|
18
18
|
import "./tailscale-CuVYhW-O.js";
|
|
19
19
|
import "./auth-CxiLRCJi.js";
|
|
20
|
-
import "./server-context-
|
|
20
|
+
import "./server-context-BN_KGt0e.js";
|
|
21
21
|
import "./frontmatter-C_R2lwvR.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./routes-
|
|
22
|
+
import "./skills-DhT6my9R.js";
|
|
23
|
+
import "./routes-Bh-1i4ub.js";
|
|
24
24
|
import "./redact-f-Q-hFt_.js";
|
|
25
25
|
import "./errors-BF3TeRH2.js";
|
|
26
|
-
import "./fs-safe-
|
|
27
|
-
import "./paths-
|
|
26
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
27
|
+
import "./paths-CIvEoL0m.js";
|
|
28
28
|
import "./ssrf-BCYMnxkM.js";
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./store-
|
|
31
|
-
import "./ports-
|
|
29
|
+
import "./image-ops-B4PbaJHR.js";
|
|
30
|
+
import "./store-YBnR7qvG.js";
|
|
31
|
+
import "./ports-tyVdO5z0.js";
|
|
32
32
|
import "./trash-C46e9E61.js";
|
|
33
|
-
import "./sessions-
|
|
34
|
-
import "./dock-
|
|
35
|
-
import "./plugins-
|
|
36
|
-
import "./accounts-
|
|
37
|
-
import "./accounts-
|
|
38
|
-
import "./accounts-
|
|
39
|
-
import "./bindings-
|
|
33
|
+
import "./sessions-CwvGRwvW.js";
|
|
34
|
+
import "./dock-B1xpMkYP.js";
|
|
35
|
+
import "./plugins-DufH79A4.js";
|
|
36
|
+
import "./accounts-CGBT0wQ4.js";
|
|
37
|
+
import "./accounts-BQX482gP.js";
|
|
38
|
+
import "./accounts-CAR30ERb.js";
|
|
39
|
+
import "./bindings-D_OoALBE.js";
|
|
40
40
|
import "./logging-w5jq5901.js";
|
|
41
41
|
import "./paths-C6eomcf_.js";
|
|
42
|
-
import "./commands-
|
|
43
|
-
import "./client-
|
|
44
|
-
import "./call-
|
|
45
|
-
import "./pairing-token-
|
|
46
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
42
|
+
import "./commands-DHoTLUfu.js";
|
|
43
|
+
import "./client-DkL-GDcp.js";
|
|
44
|
+
import "./call-BVSmc2vl.js";
|
|
45
|
+
import "./pairing-token-DGufCZxz.js";
|
|
46
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-IkE0_gB1.js";
|
|
47
47
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
48
48
|
import { t as formatHelpExamples } from "./help-format-BNbRyxky.js";
|
|
49
|
-
import "./workspace-dirs-
|
|
50
|
-
import "./pi-tools.policy-
|
|
49
|
+
import "./workspace-dirs-DbX5fBAC.js";
|
|
50
|
+
import "./pi-tools.policy-CrKxTriv.js";
|
|
51
51
|
import "./dangerous-tools-BL-M3lPt.js";
|
|
52
|
-
import "./skill-scanner-
|
|
53
|
-
import { i as collectIncludePathsRecursive, n as createIcaclsResetCommand, r as formatIcaclsResetCommand, t as runSecurityAudit } from "./audit-
|
|
54
|
-
import "./dm-policy-shared-
|
|
52
|
+
import "./skill-scanner-CMBwwxis.js";
|
|
53
|
+
import { i as collectIncludePathsRecursive, n as createIcaclsResetCommand, r as formatIcaclsResetCommand, t as runSecurityAudit } from "./audit-W6GUNtGq.js";
|
|
54
|
+
import "./dm-policy-shared-CrbkZ-FV.js";
|
|
55
55
|
import path from "node:path";
|
|
56
|
-
import
|
|
56
|
+
import fs from "node:fs/promises";
|
|
57
57
|
|
|
58
58
|
//#region src/security/fix.ts
|
|
59
59
|
async function safeChmod(params) {
|
|
60
60
|
try {
|
|
61
|
-
const st = await
|
|
61
|
+
const st = await fs.lstat(params.path);
|
|
62
62
|
if (st.isSymbolicLink()) return {
|
|
63
63
|
kind: "chmod",
|
|
64
64
|
path: params.path,
|
|
@@ -87,7 +87,7 @@ async function safeChmod(params) {
|
|
|
87
87
|
ok: false,
|
|
88
88
|
skipped: "already"
|
|
89
89
|
};
|
|
90
|
-
await
|
|
90
|
+
await fs.chmod(params.path, params.mode);
|
|
91
91
|
return {
|
|
92
92
|
kind: "chmod",
|
|
93
93
|
path: params.path,
|
|
@@ -117,7 +117,7 @@ async function safeAclReset(params) {
|
|
|
117
117
|
env: params.env
|
|
118
118
|
});
|
|
119
119
|
try {
|
|
120
|
-
const st = await
|
|
120
|
+
const st = await fs.lstat(params.path);
|
|
121
121
|
if (st.isSymbolicLink()) return {
|
|
122
122
|
kind: "icacls",
|
|
123
123
|
path: params.path,
|
|
@@ -256,7 +256,7 @@ async function chmodCredentialsAndAgentState(params) {
|
|
|
256
256
|
mode: 448,
|
|
257
257
|
require: "dir"
|
|
258
258
|
}));
|
|
259
|
-
const credsEntries = await
|
|
259
|
+
const credsEntries = await fs.readdir(credsDir, { withFileTypes: true }).catch(() => []);
|
|
260
260
|
for (const entry of credsEntries) {
|
|
261
261
|
if (!entry.isFile()) continue;
|
|
262
262
|
if (!entry.name.endsWith(".json")) continue;
|
|
@@ -307,7 +307,7 @@ async function chmodCredentialsAndAgentState(params) {
|
|
|
307
307
|
mode: 384,
|
|
308
308
|
require: "file"
|
|
309
309
|
}));
|
|
310
|
-
const sessionEntries = await
|
|
310
|
+
const sessionEntries = await fs.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
311
311
|
for (const entry of sessionEntries) {
|
|
312
312
|
if (!entry.isFile()) continue;
|
|
313
313
|
if (!entry.name.endsWith(".jsonl")) continue;
|
|
@@ -2,18 +2,18 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { M as logVerbose, O as danger } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Cu1fn6xi.js";
|
|
4
4
|
import { t as isTruthyEnvValue } from "./env-C9RBJHeg.js";
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
6
6
|
import { n as redactSensitiveText } from "./redact-f-Q-hFt_.js";
|
|
7
7
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-BF3TeRH2.js";
|
|
8
|
-
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-
|
|
9
|
-
import { u as resolveTelegramAccount } from "./plugins-
|
|
10
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
11
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
8
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-B4PbaJHR.js";
|
|
9
|
+
import { u as resolveTelegramAccount } from "./plugins-DufH79A4.js";
|
|
10
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CXWxrKp3.js";
|
|
11
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-D72mYI93.js";
|
|
12
12
|
import { t as renderMarkdownWithMarkers } from "./render-CXDO_kgw.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-DhH5YkzN.js";
|
|
14
14
|
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-DplV01TN.js";
|
|
15
15
|
import { t as resolveFetch } from "./fetch-EupTshKr.js";
|
|
16
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
16
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-IkE0_gB1.js";
|
|
17
17
|
import { t as makeProxyFetch } from "./proxy-DU7W9XSc.js";
|
|
18
18
|
import process$1 from "node:process";
|
|
19
19
|
import * as net$1 from "node:net";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as logVerbose } from "./utils-BlC2Fskb.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { f as resolveSlackAccount, h as resolveSlackBotToken } from "./plugins-
|
|
3
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
4
|
+
import { f as resolveSlackAccount, h as resolveSlackBotToken } from "./plugins-DufH79A4.js";
|
|
5
5
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-bG1Q8FzV.js";
|
|
6
6
|
import { i as isSilentReplyText } from "./tokens-BDil8-Uk.js";
|
|
7
7
|
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-ZFvwZqoJ.js";
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CXWxrKp3.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-D72mYI93.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-CXDO_kgw.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|