@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,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
3
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
4
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
2
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
3
|
+
import { v as mediaKindFromMime } from "./image-ops-B4PbaJHR.js";
|
|
4
|
+
import { n as resolveSignalAccount } from "./accounts-CAR30ERb.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-Db3da8yR.js";
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CXWxrKp3.js";
|
|
7
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-D72mYI93.js";
|
|
8
8
|
import { t as resolveFetch } from "./fetch-EupTshKr.js";
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-91Q9pKkZ.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/client.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeE164, y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
5
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
3
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-B4PbaJHR.js";
|
|
5
|
+
import { t as resolveIMessageAccount } from "./accounts-BQX482gP.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CXWxrKp3.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-LYKSFoqx.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-91Q9pKkZ.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { X as resolvePreferredOpenClawTmpDir } from "./utils-BlC2Fskb.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
5
|
-
import { v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-
|
|
3
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
4
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-B4PbaJHR.js";
|
|
5
|
+
import { v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-DufH79A4.js";
|
|
6
6
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-bG1Q8FzV.js";
|
|
7
7
|
import { n as retryAsync, t as resolveRetryConfig } from "./retry-BNSym93Y.js";
|
|
8
8
|
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-ZFvwZqoJ.js";
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CXWxrKp3.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-D72mYI93.js";
|
|
11
11
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-DhH5YkzN.js";
|
|
12
12
|
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-DplV01TN.js";
|
|
13
13
|
import { t as resolveFetch } from "./fetch-EupTshKr.js";
|
|
14
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
+
import { t as convertMarkdownTables } from "./tables-LYKSFoqx.js";
|
|
15
15
|
import path from "node:path";
|
|
16
|
-
import
|
|
16
|
+
import fs from "node:fs/promises";
|
|
17
17
|
import { execFile } from "node:child_process";
|
|
18
18
|
import { promisify } from "node:util";
|
|
19
19
|
import crypto from "node:crypto";
|
|
@@ -1524,7 +1524,7 @@ async function generateWaveformFromPcm(filePath) {
|
|
|
1524
1524
|
"8000",
|
|
1525
1525
|
tempPcm
|
|
1526
1526
|
]);
|
|
1527
|
-
const pcmData = await
|
|
1527
|
+
const pcmData = await fs.readFile(tempPcm);
|
|
1528
1528
|
const samples = new Int16Array(pcmData.buffer, pcmData.byteOffset, pcmData.byteLength / 2);
|
|
1529
1529
|
const step = Math.max(1, Math.floor(samples.length / WAVEFORM_SAMPLES));
|
|
1530
1530
|
const waveform = [];
|
|
@@ -1543,7 +1543,7 @@ async function generateWaveformFromPcm(filePath) {
|
|
|
1543
1543
|
return Buffer.from(waveform).toString("base64");
|
|
1544
1544
|
} finally {
|
|
1545
1545
|
try {
|
|
1546
|
-
await
|
|
1546
|
+
await fs.unlink(tempPcm);
|
|
1547
1547
|
} catch {}
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
@@ -1855,7 +1855,7 @@ async function materializeVoiceMessageInput(mediaUrl) {
|
|
|
1855
1855
|
const ext = extFromName || extFromMime || ".bin";
|
|
1856
1856
|
const tempDir = resolvePreferredOpenClawTmpDir();
|
|
1857
1857
|
const filePath = path.join(tempDir, `voice-src-${crypto.randomUUID()}${ext}`);
|
|
1858
|
-
await
|
|
1858
|
+
await fs.writeFile(filePath, media.buffer, { mode: 384 });
|
|
1859
1859
|
return { filePath };
|
|
1860
1860
|
}
|
|
1861
1861
|
/**
|
|
@@ -1891,7 +1891,7 @@ async function sendVoiceMessageDiscord(to, audioPath, opts = {}) {
|
|
|
1891
1891
|
oggPath = ogg.path;
|
|
1892
1892
|
oggCleanup = ogg.cleanup;
|
|
1893
1893
|
const metadata = await getVoiceMessageMetadata(oggPath);
|
|
1894
|
-
const audioBuffer = await
|
|
1894
|
+
const audioBuffer = await fs.readFile(oggPath);
|
|
1895
1895
|
const result = await sendDiscordVoiceMessage(rest, channelId, audioBuffer, metadata, opts.replyTo, request, opts.silent);
|
|
1896
1896
|
recordChannelActivity({
|
|
1897
1897
|
channel: "discord",
|
|
@@ -1909,10 +1909,10 @@ async function sendVoiceMessageDiscord(to, audioPath, opts = {}) {
|
|
|
1909
1909
|
throw err;
|
|
1910
1910
|
} finally {
|
|
1911
1911
|
if (oggCleanup && oggPath) try {
|
|
1912
|
-
await
|
|
1912
|
+
await fs.unlink(oggPath);
|
|
1913
1913
|
} catch {}
|
|
1914
1914
|
try {
|
|
1915
|
-
await
|
|
1915
|
+
await fs.unlink(localInputPath);
|
|
1916
1916
|
} catch {}
|
|
1917
1917
|
}
|
|
1918
1918
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-B4BZAPZh.js";
|
|
2
|
-
import { i as loadConfig, l as writeConfigFile, r as createConfigIO } from "./config-
|
|
3
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveOpenClawUserDataDir, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, v as fetchOk, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
2
|
+
import { i as loadConfig, l as writeConfigFile, r as createConfigIO } from "./config-CkqfHk27.js";
|
|
3
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveOpenClawUserDataDir, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, v as fetchOk, x as ensureChromeExtensionRelayServer } from "./chrome-C9MCXK8d.js";
|
|
4
4
|
import { r as isLoopbackHost } from "./ws-C7EXRv8z.js";
|
|
5
5
|
import { a as resolveGatewayAuth } from "./auth-CxiLRCJi.js";
|
|
6
6
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BF3TeRH2.js";
|
|
@@ -152,7 +152,7 @@ function isModuleNotFoundError(err) {
|
|
|
152
152
|
}
|
|
153
153
|
async function loadPwAiModule(mode) {
|
|
154
154
|
try {
|
|
155
|
-
return await import("./pw-ai-
|
|
155
|
+
return await import("./pw-ai-fTf_Sq93.js");
|
|
156
156
|
} catch (err) {
|
|
157
157
|
if (mode === "soft") return null;
|
|
158
158
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -775,11 +775,11 @@ function createProfileContext(opts, profile) {
|
|
|
775
775
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
776
776
|
const profileState = getProfileState();
|
|
777
777
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
778
|
-
await (await import("./pw-ai-
|
|
778
|
+
await (await import("./pw-ai-fTf_Sq93.js")).closePlaywrightBrowserConnection();
|
|
779
779
|
} catch {}
|
|
780
780
|
if (profileState.running) await stopRunningBrowser();
|
|
781
781
|
try {
|
|
782
|
-
await (await import("./pw-ai-
|
|
782
|
+
await (await import("./pw-ai-fTf_Sq93.js")).closePlaywrightBrowserConnection();
|
|
783
783
|
} catch {}
|
|
784
784
|
if (!fs.existsSync(userDataDir)) return {
|
|
785
785
|
moved: false,
|
|
@@ -14,7 +14,7 @@ import "./client-Dsuc__Z5.js";
|
|
|
14
14
|
import "./call-9P8a5VLv.js";
|
|
15
15
|
import "./message-channel-CVHJDItx.js";
|
|
16
16
|
import "./pairing-token-DIDmMgOf.js";
|
|
17
|
-
import { C as agentCommand, D as createOutboundSendDeps, bn as enqueueSystemEvent, cn as requestHeartbeatNow, ct as resolveOutboundTarget } from "./subagent-registry-
|
|
17
|
+
import { C as agentCommand, D as createOutboundSendDeps, bn as enqueueSystemEvent, cn as requestHeartbeatNow, ct as resolveOutboundTarget } from "./subagent-registry-CEyaZMV5.js";
|
|
18
18
|
import { d as updateSessionStore } from "./sessions-C2GoB4eB.js";
|
|
19
19
|
import "./tokens-BQcb3NZa.js";
|
|
20
20
|
import { r as normalizeChannelId } from "./plugins-z3bMeGdF.js";
|
|
@@ -98,7 +98,7 @@ import "./onboard-helpers-xm_EZevL.js";
|
|
|
98
98
|
import "./prompt-style-BnX7ehmB.js";
|
|
99
99
|
import "./pairing-labels-Bq0F29US.js";
|
|
100
100
|
import "./pi-tools.policy-B5XMJ2SX.js";
|
|
101
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
101
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BLl8QvkS.js";
|
|
102
102
|
import { randomUUID } from "node:crypto";
|
|
103
103
|
|
|
104
104
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { At as agentCommand, C as loadSessionEntry, It as resolveOutboundTarget, Rt as createOutboundSendDeps, T as resolveGatewaySessionStoreTarget, dt as requestHeartbeatNow, vr as enqueueSystemEvent, w as pruneLegacyStoreKeys } from "./reply-
|
|
4
|
+
import { At as agentCommand, C as loadSessionEntry, It as resolveOutboundTarget, Rt as createOutboundSendDeps, T as resolveGatewaySessionStoreTarget, dt as requestHeartbeatNow, vr as enqueueSystemEvent, w as pruneLegacyStoreKeys } from "./reply-CM9fxt2r.js";
|
|
5
5
|
import { c as normalizeMainKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import "./registry-lBbEkQ26.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
8
8
|
import "./exec-DwGfeG8v.js";
|
|
9
|
-
import { d as resolveSessionAgentId } from "./agent-scope-
|
|
10
|
-
import "./model-selection-
|
|
9
|
+
import { d as resolveSessionAgentId } from "./agent-scope-BGlpyppa.js";
|
|
10
|
+
import "./model-selection-0qDmOMXI.js";
|
|
11
11
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
12
12
|
import "./boolean-BsqeuxE6.js";
|
|
13
13
|
import "./env-C9RBJHeg.js";
|
|
14
14
|
import "./message-channel-DzkrSzpL.js";
|
|
15
|
-
import "./send-
|
|
16
|
-
import { i as loadConfig } from "./config-
|
|
15
|
+
import "./send-i695V0Ow.js";
|
|
16
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
17
17
|
import "./manifest-registry-YRUqEw3J.js";
|
|
18
|
-
import "./runner-
|
|
19
|
-
import "./image-
|
|
20
|
-
import "./models-config-
|
|
18
|
+
import "./runner-CXGYviGa.js";
|
|
19
|
+
import "./image-DC9YnAwO.js";
|
|
20
|
+
import "./models-config-CTi1zIkq.js";
|
|
21
21
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./sandbox-
|
|
24
|
-
import "./chrome-
|
|
22
|
+
import "./pi-embedded-helpers-BDEpQxcD.js";
|
|
23
|
+
import "./sandbox-Dbz4ladn.js";
|
|
24
|
+
import "./chrome-C9MCXK8d.js";
|
|
25
25
|
import "./tailscale-CuVYhW-O.js";
|
|
26
26
|
import "./auth-CxiLRCJi.js";
|
|
27
|
-
import "./server-context-
|
|
27
|
+
import "./server-context-BN_KGt0e.js";
|
|
28
28
|
import "./frontmatter-C_R2lwvR.js";
|
|
29
|
-
import "./skills-
|
|
30
|
-
import "./routes-
|
|
29
|
+
import "./skills-DhT6my9R.js";
|
|
30
|
+
import "./routes-Bh-1i4ub.js";
|
|
31
31
|
import "./redact-f-Q-hFt_.js";
|
|
32
32
|
import "./errors-BF3TeRH2.js";
|
|
33
|
-
import "./fs-safe-
|
|
34
|
-
import "./paths-
|
|
33
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
34
|
+
import "./paths-CIvEoL0m.js";
|
|
35
35
|
import "./ssrf-BCYMnxkM.js";
|
|
36
|
-
import "./image-ops-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
36
|
+
import "./image-ops-B4PbaJHR.js";
|
|
37
|
+
import "./store-YBnR7qvG.js";
|
|
38
|
+
import "./ports-tyVdO5z0.js";
|
|
39
39
|
import "./trash-C46e9E61.js";
|
|
40
|
-
import { d as updateSessionStore } from "./sessions-
|
|
41
|
-
import "./dock-
|
|
42
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
43
|
-
import "./accounts-
|
|
44
|
-
import "./accounts-
|
|
45
|
-
import "./accounts-
|
|
46
|
-
import "./bindings-
|
|
40
|
+
import { d as updateSessionStore } from "./sessions-CwvGRwvW.js";
|
|
41
|
+
import "./dock-B1xpMkYP.js";
|
|
42
|
+
import { r as normalizeChannelId } from "./plugins-DufH79A4.js";
|
|
43
|
+
import "./accounts-CGBT0wQ4.js";
|
|
44
|
+
import "./accounts-BQX482gP.js";
|
|
45
|
+
import "./accounts-CAR30ERb.js";
|
|
46
|
+
import "./bindings-D_OoALBE.js";
|
|
47
47
|
import "./logging-w5jq5901.js";
|
|
48
|
-
import "./send-
|
|
48
|
+
import "./send-DUc9Jw32.js";
|
|
49
49
|
import "./paths-C6eomcf_.js";
|
|
50
|
-
import "./tool-images-
|
|
50
|
+
import "./tool-images-BCkPMulQ.js";
|
|
51
51
|
import "./tool-display-2OmEbBUF.js";
|
|
52
52
|
import "./fetch-guard-w97sP7Hz.js";
|
|
53
|
-
import "./api-key-rotation-
|
|
54
|
-
import "./local-roots-
|
|
55
|
-
import "./sqlite-
|
|
56
|
-
import "./model-catalog-
|
|
53
|
+
import "./api-key-rotation-CMe3cUAn.js";
|
|
54
|
+
import "./local-roots-B6Q8Hrfc.js";
|
|
55
|
+
import "./sqlite-CzeIEe5A.js";
|
|
56
|
+
import "./model-catalog-CjwzHKkB.js";
|
|
57
57
|
import "./tokens-BDil8-Uk.js";
|
|
58
|
-
import "./with-timeout-
|
|
59
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
58
|
+
import "./with-timeout-n3bwhefQ.js";
|
|
59
|
+
import { t as deliverOutboundPayloads } from "./deliver-DPIPJHQH.js";
|
|
60
60
|
import "./diagnostic-loJQGh5N.js";
|
|
61
61
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
62
|
-
import "./send-
|
|
63
|
-
import "./model-
|
|
64
|
-
import "./reply-prefix-
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
62
|
+
import "./send-BGmblGeb.js";
|
|
63
|
+
import "./model-BKG0edkX.js";
|
|
64
|
+
import "./reply-prefix-CbuTBmdm.js";
|
|
65
|
+
import "./memory-cli-8SCKR9xc.js";
|
|
66
|
+
import "./manager-CDo24VZE.js";
|
|
67
67
|
import "./retry-BNSym93Y.js";
|
|
68
|
-
import "./target-errors-
|
|
68
|
+
import "./target-errors-BrrPOPT5.js";
|
|
69
69
|
import "./chunk-ZFvwZqoJ.js";
|
|
70
|
-
import "./markdown-tables-
|
|
71
|
-
import "./ir-
|
|
70
|
+
import "./markdown-tables-CXWxrKp3.js";
|
|
71
|
+
import "./ir-D72mYI93.js";
|
|
72
72
|
import "./render-CXDO_kgw.js";
|
|
73
|
-
import "./commands-
|
|
74
|
-
import "./commands-registry-
|
|
75
|
-
import "./client-
|
|
76
|
-
import "./call-
|
|
77
|
-
import "./pairing-token-
|
|
73
|
+
import "./commands-DHoTLUfu.js";
|
|
74
|
+
import "./commands-registry-C6MwKIm9.js";
|
|
75
|
+
import "./client-DkL-GDcp.js";
|
|
76
|
+
import "./call-BVSmc2vl.js";
|
|
77
|
+
import "./pairing-token-DGufCZxz.js";
|
|
78
78
|
import "./channel-activity-DplV01TN.js";
|
|
79
79
|
import "./fetch-EupTshKr.js";
|
|
80
|
-
import "./tables-
|
|
81
|
-
import "./send-
|
|
82
|
-
import "./pairing-store-
|
|
80
|
+
import "./tables-LYKSFoqx.js";
|
|
81
|
+
import "./send-ElgbtTa_.js";
|
|
82
|
+
import "./pairing-store-IkE0_gB1.js";
|
|
83
83
|
import "./proxy-DU7W9XSc.js";
|
|
84
84
|
import "./links-DHovuBDt.js";
|
|
85
85
|
import "./cli-utils-DN_hM6ov.js";
|
|
86
86
|
import "./help-format-BNbRyxky.js";
|
|
87
87
|
import "./progress-9gCu2IkR.js";
|
|
88
|
-
import "./resolve-route-
|
|
89
|
-
import "./replies-
|
|
90
|
-
import "./skill-commands-
|
|
91
|
-
import "./workspace-dirs-
|
|
92
|
-
import "./outbound-attachment-
|
|
88
|
+
import "./resolve-route-DuqgZ7wS.js";
|
|
89
|
+
import "./replies-BdkHHO5V.js";
|
|
90
|
+
import "./skill-commands-VCmL7mMC.js";
|
|
91
|
+
import "./workspace-dirs-DbX5fBAC.js";
|
|
92
|
+
import "./outbound-attachment-91Q9pKkZ.js";
|
|
93
93
|
import "./delivery-queue-CxDDEWQg.js";
|
|
94
94
|
import "./session-cost-usage-CNxpZ3DJ.js";
|
|
95
|
-
import "./send-
|
|
96
|
-
import "./onboard-helpers-
|
|
95
|
+
import "./send-H5TFGeHl.js";
|
|
96
|
+
import "./onboard-helpers-CuawFqeV.js";
|
|
97
97
|
import "./prompt-style-ChA72PBX.js";
|
|
98
|
-
import "./pairing-labels-
|
|
98
|
+
import "./pairing-labels-UbwdcASX.js";
|
|
99
99
|
import "./exec-approvals-CAr0jd5Q.js";
|
|
100
|
-
import "./nodes-screen-
|
|
101
|
-
import "./control-service-
|
|
100
|
+
import "./nodes-screen-C-rbZoYt.js";
|
|
101
|
+
import "./control-service-CPT8eogY.js";
|
|
102
102
|
import "./stagger-B6VQyn1F.js";
|
|
103
|
-
import "./channel-selection-
|
|
104
|
-
import "./pi-tools.policy-
|
|
105
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
103
|
+
import "./channel-selection-B3CpzNsC.js";
|
|
104
|
+
import "./pi-tools.policy-CrKxTriv.js";
|
|
105
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-4PMWZHdd.js";
|
|
106
106
|
import { randomUUID } from "node:crypto";
|
|
107
107
|
|
|
108
108
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveGatewayLaunchAgentLabel, f as resolveGatewayWindowsTaskName, p as resolveLegacyGatewayLaunchAgentLabels, t as GATEWAY_LAUNCH_AGENT_LABEL, u as resolveGatewayServiceDescription } from "./constants-CEbQvI8z.js";
|
|
2
|
-
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-
|
|
2
|
+
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-_79iBiaB.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/launchd-plist.ts
|
|
7
7
|
const plistEscape = (value) => value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
@@ -14,7 +14,7 @@ const renderEnvDict = (env) => {
|
|
|
14
14
|
};
|
|
15
15
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
16
16
|
try {
|
|
17
|
-
const plist = await
|
|
17
|
+
const plist = await fs.readFile(plistPath, "utf8");
|
|
18
18
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
19
19
|
if (!programMatch) return null;
|
|
20
20
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -128,7 +128,7 @@ async function isLaunchAgentListed(args) {
|
|
|
128
128
|
async function launchAgentPlistExists(env) {
|
|
129
129
|
try {
|
|
130
130
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
131
|
-
await
|
|
131
|
+
await fs.access(plistPath);
|
|
132
132
|
return true;
|
|
133
133
|
} catch {
|
|
134
134
|
return false;
|
|
@@ -188,7 +188,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
188
188
|
]);
|
|
189
189
|
await execLaunchctl(["unload", plistPath]);
|
|
190
190
|
try {
|
|
191
|
-
await
|
|
191
|
+
await fs.access(plistPath);
|
|
192
192
|
} catch {
|
|
193
193
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
194
194
|
return;
|
|
@@ -197,8 +197,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
197
197
|
const trashDir = path.join(home, ".Trash");
|
|
198
198
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
199
199
|
try {
|
|
200
|
-
await
|
|
201
|
-
await
|
|
200
|
+
await fs.mkdir(trashDir, { recursive: true });
|
|
201
|
+
await fs.rename(plistPath, dest);
|
|
202
202
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
203
203
|
} catch {
|
|
204
204
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -221,7 +221,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
221
221
|
}
|
|
222
222
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
223
223
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
224
|
-
await
|
|
224
|
+
await fs.mkdir(logDir, { recursive: true });
|
|
225
225
|
const domain = resolveGuiDomain();
|
|
226
226
|
const label = resolveLaunchAgentLabel({ env });
|
|
227
227
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.OPENCLAW_PROFILE)) {
|
|
@@ -233,11 +233,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
233
233
|
]);
|
|
234
234
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
235
235
|
try {
|
|
236
|
-
await
|
|
236
|
+
await fs.unlink(legacyPlistPath);
|
|
237
237
|
} catch {}
|
|
238
238
|
}
|
|
239
239
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
240
|
-
await
|
|
240
|
+
await fs.mkdir(path.dirname(plistPath), { recursive: true });
|
|
241
241
|
const plist = buildLaunchAgentPlist({
|
|
242
242
|
label,
|
|
243
243
|
comment: resolveGatewayServiceDescription({
|
|
@@ -251,7 +251,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
251
251
|
stderrPath,
|
|
252
252
|
environment
|
|
253
253
|
});
|
|
254
|
-
await
|
|
254
|
+
await fs.writeFile(plistPath, plist, "utf8");
|
|
255
255
|
await execLaunchctl([
|
|
256
256
|
"bootout",
|
|
257
257
|
domain,
|
|
@@ -408,7 +408,7 @@ function resolveTaskUser(env) {
|
|
|
408
408
|
async function readScheduledTaskCommand(env) {
|
|
409
409
|
const scriptPath = resolveTaskScriptPath(env);
|
|
410
410
|
try {
|
|
411
|
-
const content = await
|
|
411
|
+
const content = await fs.readFile(scriptPath, "utf8");
|
|
412
412
|
let workingDirectory = "";
|
|
413
413
|
let commandLine = "";
|
|
414
414
|
const environment = {};
|
|
@@ -476,7 +476,7 @@ async function assertSchtasksAvailable() {
|
|
|
476
476
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
477
477
|
await assertSchtasksAvailable();
|
|
478
478
|
const scriptPath = resolveTaskScriptPath(env);
|
|
479
|
-
await
|
|
479
|
+
await fs.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
480
480
|
const script = buildTaskScript({
|
|
481
481
|
description: resolveGatewayServiceDescription({
|
|
482
482
|
env,
|
|
@@ -487,7 +487,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
487
487
|
workingDirectory,
|
|
488
488
|
environment
|
|
489
489
|
});
|
|
490
|
-
await
|
|
490
|
+
await fs.writeFile(scriptPath, script, "utf8");
|
|
491
491
|
const taskName = resolveTaskName(env);
|
|
492
492
|
const baseArgs = [
|
|
493
493
|
"/Create",
|
|
@@ -539,7 +539,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
539
539
|
]);
|
|
540
540
|
const scriptPath = resolveTaskScriptPath(env);
|
|
541
541
|
try {
|
|
542
|
-
await
|
|
542
|
+
await fs.unlink(scriptPath);
|
|
543
543
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
544
544
|
} catch {
|
|
545
545
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { G as toPinoLikeLogger, I as success, O as danger, V as getChildLogger, c as ensureDir, y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
3
|
-
import { H as VERSION } from "./config-
|
|
4
|
-
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-
|
|
3
|
+
import { H as VERSION } from "./config-CkqfHk27.js";
|
|
4
|
+
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-CGBT0wQ4.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-BlC2Fskb.js";
|
|
2
|
-
import { K as trimLogTail } from "./reply-
|
|
2
|
+
import { K as trimLogTail } from "./reply-CM9fxt2r.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-DwGfeG8v.js";
|
|
4
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
5
|
-
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-
|
|
4
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BcSek9LQ.js";
|
|
5
|
+
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-CEFJiPeh.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/infra/package-json.ts
|
|
11
11
|
async function readPackageVersion(root) {
|
|
12
12
|
try {
|
|
13
|
-
const raw = await
|
|
13
|
+
const raw = await fs.readFile(path.join(root, "package.json"), "utf-8");
|
|
14
14
|
const parsed = JSON.parse(raw);
|
|
15
15
|
return typeof parsed?.version === "string" ? parsed.version : null;
|
|
16
16
|
} catch {
|
|
@@ -19,7 +19,7 @@ async function readPackageVersion(root) {
|
|
|
19
19
|
}
|
|
20
20
|
async function readPackageName(root) {
|
|
21
21
|
try {
|
|
22
|
-
const raw = await
|
|
22
|
+
const raw = await fs.readFile(path.join(root, "package.json"), "utf-8");
|
|
23
23
|
const name = JSON.parse(raw)?.name?.trim();
|
|
24
24
|
return name ? name : null;
|
|
25
25
|
} catch {
|
|
@@ -39,7 +39,7 @@ const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
|
|
|
39
39
|
];
|
|
40
40
|
async function tryRealpath(targetPath) {
|
|
41
41
|
try {
|
|
42
|
-
return await
|
|
42
|
+
return await fs.realpath(targetPath);
|
|
43
43
|
} catch {
|
|
44
44
|
return path.resolve(targetPath);
|
|
45
45
|
}
|
|
@@ -140,7 +140,7 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
140
140
|
const prefix = `${GLOBAL_RENAME_PREFIX}${name}-`;
|
|
141
141
|
let entries = [];
|
|
142
142
|
try {
|
|
143
|
-
entries = await
|
|
143
|
+
entries = await fs.readdir(root);
|
|
144
144
|
} catch {
|
|
145
145
|
return { removed };
|
|
146
146
|
}
|
|
@@ -148,8 +148,8 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
148
148
|
if (!entry.startsWith(prefix)) continue;
|
|
149
149
|
const target = path.join(root, entry);
|
|
150
150
|
try {
|
|
151
|
-
if (!(await
|
|
152
|
-
await
|
|
151
|
+
if (!(await fs.lstat(target)).isDirectory()) continue;
|
|
152
|
+
await fs.rm(target, {
|
|
153
153
|
recursive: true,
|
|
154
154
|
force: true
|
|
155
155
|
});
|
|
@@ -261,7 +261,7 @@ async function findPackageRoot(candidates) {
|
|
|
261
261
|
for (let i = 0; i < 12; i += 1) {
|
|
262
262
|
const pkgPath = path.join(current, "package.json");
|
|
263
263
|
try {
|
|
264
|
-
const raw = await
|
|
264
|
+
const raw = await fs.readFile(pkgPath, "utf-8");
|
|
265
265
|
const name = JSON.parse(raw)?.name?.trim();
|
|
266
266
|
if (name && CORE_PACKAGE_NAMES.has(name)) return current;
|
|
267
267
|
} catch {}
|
|
@@ -543,7 +543,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
543
543
|
durationMs: Date.now() - startedAt
|
|
544
544
|
};
|
|
545
545
|
const manager = await detectPackageManager(gitRoot);
|
|
546
|
-
const preflightRoot = await
|
|
546
|
+
const preflightRoot = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-update-preflight-"));
|
|
547
547
|
const worktreeDir = path.join(preflightRoot, "worktree");
|
|
548
548
|
const worktreeStep = await runStep(step("preflight worktree", [
|
|
549
549
|
"git",
|
|
@@ -557,7 +557,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
557
557
|
], gitRoot));
|
|
558
558
|
steps.push(worktreeStep);
|
|
559
559
|
if (worktreeStep.exitCode !== 0) {
|
|
560
|
-
await
|
|
560
|
+
await fs.rm(preflightRoot, {
|
|
561
561
|
recursive: true,
|
|
562
562
|
force: true
|
|
563
563
|
}).catch(() => {});
|
|
@@ -621,7 +621,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
621
621
|
cwd: gitRoot,
|
|
622
622
|
timeoutMs
|
|
623
623
|
}).catch(() => null);
|
|
624
|
-
await
|
|
624
|
+
await fs.rm(preflightRoot, {
|
|
625
625
|
recursive: true,
|
|
626
626
|
force: true
|
|
627
627
|
}).catch(() => {});
|
|
@@ -769,7 +769,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
769
769
|
durationMs: Date.now() - startedAt
|
|
770
770
|
};
|
|
771
771
|
const doctorEntry = path.join(gitRoot, "openclaw.mjs");
|
|
772
|
-
if (!await
|
|
772
|
+
if (!await fs.stat(doctorEntry).then(() => true).catch(() => false)) {
|
|
773
773
|
steps.push({
|
|
774
774
|
name: "openclaw doctor entry",
|
|
775
775
|
command: `verify ${doctorEntry}`,
|
|
@@ -936,7 +936,7 @@ async function resolveAgentSessionDirs(stateDir) {
|
|
|
936
936
|
const agentsDir = path.join(stateDir, "agents");
|
|
937
937
|
let entries = [];
|
|
938
938
|
try {
|
|
939
|
-
entries = await
|
|
939
|
+
entries = await fs.readdir(agentsDir, { withFileTypes: true });
|
|
940
940
|
} catch (err) {
|
|
941
941
|
if (err.code === "ENOENT") return [];
|
|
942
942
|
throw err;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { rt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-X8f1jCG3.js";
|
|
3
|
-
import { bt as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { bt as trimLogTail } from "./subagent-registry-CEyaZMV5.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B68X-xpb.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-DdZ89jPG.js";
|
|
6
6
|
import os from "node:os";
|