@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
|
@@ -3,51 +3,51 @@ import { B as theme, R as colorize } from "./utils-BlC2Fskb.js";
|
|
|
3
3
|
import "./registry-lBbEkQ26.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
5
5
|
import "./exec-DwGfeG8v.js";
|
|
6
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import { r as resolveAgentConfig } from "./agent-scope-BGlpyppa.js";
|
|
7
|
+
import "./model-selection-0qDmOMXI.js";
|
|
8
8
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-C9RBJHeg.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DzkrSzpL.js";
|
|
13
|
-
import { H as VERSION, i as loadConfig } from "./config-
|
|
13
|
+
import { H as VERSION, i as loadConfig } from "./config-CkqfHk27.js";
|
|
14
14
|
import { _ as sanitizeHostExecEnv } from "./manifest-registry-YRUqEw3J.js";
|
|
15
|
-
import "./chrome-
|
|
15
|
+
import "./chrome-C9MCXK8d.js";
|
|
16
16
|
import "./tailscale-CuVYhW-O.js";
|
|
17
17
|
import "./auth-CxiLRCJi.js";
|
|
18
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
19
|
-
import "./routes-
|
|
18
|
+
import { i as resolveBrowserConfig } from "./server-context-BN_KGt0e.js";
|
|
19
|
+
import "./routes-Bh-1i4ub.js";
|
|
20
20
|
import "./redact-f-Q-hFt_.js";
|
|
21
21
|
import "./errors-BF3TeRH2.js";
|
|
22
|
-
import "./fs-safe-
|
|
23
|
-
import "./paths-
|
|
22
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
23
|
+
import "./paths-CIvEoL0m.js";
|
|
24
24
|
import "./ssrf-BCYMnxkM.js";
|
|
25
|
-
import { c as detectMime } from "./image-ops-
|
|
26
|
-
import "./store-
|
|
27
|
-
import "./ports-
|
|
25
|
+
import { c as detectMime } from "./image-ops-B4PbaJHR.js";
|
|
26
|
+
import "./store-YBnR7qvG.js";
|
|
27
|
+
import "./ports-tyVdO5z0.js";
|
|
28
28
|
import "./trash-C46e9E61.js";
|
|
29
29
|
import "./logging-w5jq5901.js";
|
|
30
|
-
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout } from "./with-timeout-
|
|
31
|
-
import { Xt as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
32
|
-
import "./pairing-token-
|
|
30
|
+
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout } from "./with-timeout-n3bwhefQ.js";
|
|
31
|
+
import { Xt as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-DkL-GDcp.js";
|
|
32
|
+
import "./pairing-token-DGufCZxz.js";
|
|
33
33
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
34
34
|
import { t as formatHelpExamples } from "./help-format-BNbRyxky.js";
|
|
35
35
|
import { _ as getTrustedSafeBinDirs, a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, g as resolveSafeBins, h as evaluateShellAllowlist, l as recordAllowlistUse, m as evaluateExecAllowlist, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval, v as analyzeArgvCommand, x as requestJsonlSocket } from "./exec-approvals-CAr0jd5Q.js";
|
|
36
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
36
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-CPT8eogY.js";
|
|
37
37
|
import { g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, m as resolveNodeLaunchAgentLabel, s as formatNodeServiceDescription } from "./constants-CEbQvI8z.js";
|
|
38
38
|
import { t as ensureOpenClawCliOnPath } from "./path-env-W6noyCja.js";
|
|
39
39
|
import "./runtime-guard--qRBajR0.js";
|
|
40
|
-
import { c as buildNodeServiceEnvironment, g as resolveNodeProgramArguments, o as resolveGatewayDevMode, p as resolvePreferredNodePath, r as isGatewayDaemonRuntime, s as emitNodeRuntimeWarning, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
41
|
-
import "./systemd-
|
|
42
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
43
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
44
|
-
import { s as formatRuntimeStatus } from "./systemd-hints
|
|
40
|
+
import { c as buildNodeServiceEnvironment, g as resolveNodeProgramArguments, o as resolveGatewayDevMode, p as resolvePreferredNodePath, r as isGatewayDaemonRuntime, s as emitNodeRuntimeWarning, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-b5AIw6-c.js";
|
|
41
|
+
import "./systemd-_79iBiaB.js";
|
|
42
|
+
import { s as resolveGatewayLogPaths } from "./service-x8sNoic1.js";
|
|
43
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-DNgy-uKO.js";
|
|
44
|
+
import { s as formatRuntimeStatus } from "./systemd-hints--ykZ9med.js";
|
|
45
45
|
import { t as parsePort } from "./parse-port-DSdUR1RE.js";
|
|
46
|
-
import { t as resolveNodeService } from "./node-service-
|
|
46
|
+
import { t as resolveNodeService } from "./node-service-YmmWwF_4.js";
|
|
47
47
|
import { t as resolveSystemRunCommand } from "./system-run-command-DKiCEPJc.js";
|
|
48
48
|
import fs from "node:fs";
|
|
49
49
|
import path from "node:path";
|
|
50
|
-
import
|
|
50
|
+
import fs$1 from "node:fs/promises";
|
|
51
51
|
import { spawn } from "node:child_process";
|
|
52
52
|
import crypto from "node:crypto";
|
|
53
53
|
|
|
@@ -71,7 +71,7 @@ function normalizeConfig(config) {
|
|
|
71
71
|
async function loadNodeHostConfig() {
|
|
72
72
|
const filePath = resolveNodeHostConfigPath();
|
|
73
73
|
try {
|
|
74
|
-
const raw = await
|
|
74
|
+
const raw = await fs$1.readFile(filePath, "utf8");
|
|
75
75
|
return normalizeConfig(JSON.parse(raw));
|
|
76
76
|
} catch {
|
|
77
77
|
return null;
|
|
@@ -79,11 +79,11 @@ async function loadNodeHostConfig() {
|
|
|
79
79
|
}
|
|
80
80
|
async function saveNodeHostConfig(config) {
|
|
81
81
|
const filePath = resolveNodeHostConfigPath();
|
|
82
|
-
await
|
|
82
|
+
await fs$1.mkdir(path.dirname(filePath), { recursive: true });
|
|
83
83
|
const payload = JSON.stringify(config, null, 2);
|
|
84
|
-
await
|
|
84
|
+
await fs$1.writeFile(filePath, `${payload}\n`, { mode: 384 });
|
|
85
85
|
try {
|
|
86
|
-
await
|
|
86
|
+
await fs$1.chmod(filePath, 384);
|
|
87
87
|
} catch {}
|
|
88
88
|
}
|
|
89
89
|
async function ensureNodeHostConfig() {
|
|
@@ -173,10 +173,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
173
173
|
return [...paths];
|
|
174
174
|
}
|
|
175
175
|
async function readBrowserProxyFile(filePath) {
|
|
176
|
-
const stat = await
|
|
176
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
177
177
|
if (!stat || !stat.isFile()) return null;
|
|
178
178
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
179
|
-
const buffer = await
|
|
179
|
+
const buffer = await fs$1.readFile(filePath);
|
|
180
180
|
const mimeType = await detectMime({
|
|
181
181
|
buffer,
|
|
182
182
|
filePath
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as NODE_SERVICE_MARKER, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, m as resolveNodeLaunchAgentLabel, o as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-CEbQvI8z.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-x8sNoic1.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -3,31 +3,31 @@ import { B as theme, S as shortenHomePath, x as shortenHomeInString, z as isRich
|
|
|
3
3
|
import "./registry-lBbEkQ26.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
5
5
|
import "./exec-DwGfeG8v.js";
|
|
6
|
-
import { l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import { l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-BGlpyppa.js";
|
|
7
|
+
import "./model-selection-0qDmOMXI.js";
|
|
8
8
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./env-C9RBJHeg.js";
|
|
11
11
|
import "./message-channel-DzkrSzpL.js";
|
|
12
|
-
import { C as parseDurationMs, i as loadConfig } from "./config-
|
|
12
|
+
import { C as parseDurationMs, i as loadConfig } from "./config-CkqfHk27.js";
|
|
13
13
|
import "./manifest-registry-YRUqEw3J.js";
|
|
14
14
|
import "./redact-f-Q-hFt_.js";
|
|
15
15
|
import "./errors-BF3TeRH2.js";
|
|
16
|
-
import "./client-
|
|
17
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
-
import "./pairing-token-
|
|
16
|
+
import "./client-DkL-GDcp.js";
|
|
17
|
+
import { a as randomIdempotencyKey } from "./call-BVSmc2vl.js";
|
|
18
|
+
import "./pairing-token-DGufCZxz.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
20
20
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
21
21
|
import { n as runCommandWithRuntime } from "./cli-utils-DN_hM6ov.js";
|
|
22
22
|
import { t as formatHelpExamples } from "./help-format-BNbRyxky.js";
|
|
23
23
|
import "./progress-9gCu2IkR.js";
|
|
24
24
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-CAr0jd5Q.js";
|
|
25
|
-
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-
|
|
25
|
+
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-C-rbZoYt.js";
|
|
26
26
|
import { n as parseNodeList, r as parsePairingList } from "./node-match-CN8o4Vi3.js";
|
|
27
27
|
import { t as parseTimeoutMs } from "./parse-timeout-UOA56UND.js";
|
|
28
28
|
import { t as renderTable } from "./table-Csf_WEEY.js";
|
|
29
|
-
import { a as unauthorizedHintForMessage, i as resolveNodeId, n as callGatewayCli, o as formatPermissions, r as nodesCallOpts, t as buildNodeInvokeParams } from "./rpc-
|
|
30
|
-
import
|
|
29
|
+
import { a as unauthorizedHintForMessage, i as resolveNodeId, n as callGatewayCli, o as formatPermissions, r as nodesCallOpts, t as buildNodeInvokeParams } from "./rpc-RAW16k0Y.js";
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
|
|
32
32
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
33
33
|
function getNodesTheme() {
|
|
@@ -369,7 +369,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
369
369
|
const hasJsonl = Boolean(opts.jsonl);
|
|
370
370
|
const hasText = typeof opts.text === "string";
|
|
371
371
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
372
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
372
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fs.readFile(String(opts.jsonl), "utf8");
|
|
373
373
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
374
374
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
375
375
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -3,7 +3,7 @@ import { r as resolveCliName } from "./command-format-DEKzLnLg.js";
|
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import * as fs$
|
|
6
|
+
import * as fs$2 from "node:fs/promises";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
|
|
9
9
|
//#region src/infra/path-prepend.ts
|
|
@@ -138,7 +138,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
138
138
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
139
139
|
const body = res.body;
|
|
140
140
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
141
|
-
const fileHandle = await fs$
|
|
141
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
142
142
|
let bytes = 0;
|
|
143
143
|
let thrown;
|
|
144
144
|
try {
|
|
@@ -157,7 +157,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
157
157
|
await fileHandle.close();
|
|
158
158
|
}
|
|
159
159
|
if (thrown) {
|
|
160
|
-
await fs$
|
|
160
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
161
161
|
throw thrown;
|
|
162
162
|
}
|
|
163
163
|
return {
|
|
@@ -167,7 +167,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
167
167
|
}
|
|
168
168
|
async function writeBase64ToFile(filePath, base64) {
|
|
169
169
|
const buf = Buffer.from(base64, "base64");
|
|
170
|
-
await fs$
|
|
170
|
+
await fs$2.writeFile(filePath, buf);
|
|
171
171
|
return {
|
|
172
172
|
path: filePath,
|
|
173
173
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-DwGfeG8v.js";
|
|
3
|
-
import { c as resolveArchiveKind, o as fileExists } from "./install-safe-path-
|
|
3
|
+
import { c as resolveArchiveKind, o as fileExists } from "./install-safe-path-tCLiMpmO.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-package-dir.ts
|
|
9
9
|
async function installPackageDir(params) {
|
|
@@ -11,18 +11,18 @@ async function installPackageDir(params) {
|
|
|
11
11
|
let backupDir = null;
|
|
12
12
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
13
13
|
backupDir = `${params.targetDir}.backup-${Date.now()}`;
|
|
14
|
-
await
|
|
14
|
+
await fs.rename(params.targetDir, backupDir);
|
|
15
15
|
}
|
|
16
16
|
const rollback = async () => {
|
|
17
17
|
if (!backupDir) return;
|
|
18
|
-
await
|
|
18
|
+
await fs.rm(params.targetDir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
force: true
|
|
21
21
|
}).catch(() => void 0);
|
|
22
|
-
await
|
|
22
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
23
23
|
};
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
26
26
|
} catch (err) {
|
|
27
27
|
await rollback();
|
|
28
28
|
return {
|
|
@@ -59,7 +59,7 @@ async function installPackageDir(params) {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
if (backupDir) await
|
|
62
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
63
63
|
recursive: true,
|
|
64
64
|
force: true
|
|
65
65
|
}).catch(() => void 0);
|
|
@@ -69,11 +69,11 @@ async function installPackageDir(params) {
|
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/infra/install-source-utils.ts
|
|
71
71
|
async function withTempDir(prefix, fn) {
|
|
72
|
-
const tmpDir = await
|
|
72
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
73
73
|
try {
|
|
74
74
|
return await fn(tmpDir);
|
|
75
75
|
} finally {
|
|
76
|
-
await
|
|
76
|
+
await fs.rm(tmpDir, {
|
|
77
77
|
recursive: true,
|
|
78
78
|
force: true
|
|
79
79
|
}).catch(() => void 0);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import { f as defaultRuntime, p as restoreTerminalState } from "./subsystem-Cu1fn6xi.js";
|
|
4
|
-
import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Ot as upsertAuthProfile, Y as resolveEnvApiKey, ft as resolveAuthProfileOrder, l as normalizeProviderId, vt as resolveApiKeyForProfile, zt as normalizeOptionalSecretInput } from "./model-selection-
|
|
4
|
+
import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Ot as upsertAuthProfile, Y as resolveEnvApiKey, ft as resolveAuthProfileOrder, l as normalizeProviderId, vt as resolveApiKeyForProfile, zt as normalizeOptionalSecretInput } from "./model-selection-0qDmOMXI.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
6
|
-
import { C as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
7
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-
|
|
6
|
+
import { C as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CkqfHk27.js";
|
|
7
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-CuawFqeV.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard--qRBajR0.js";
|
|
9
9
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
10
10
|
import { t as createClackPrompter } from "./clack-prompter-BWVLqg-2.js";
|
|
11
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
12
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
13
|
-
import { t as resolveGatewayService } from "./service-
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
16
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-
|
|
11
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-b5AIw6-c.js";
|
|
12
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-_79iBiaB.js";
|
|
13
|
+
import { t as resolveGatewayService } from "./service-x8sNoic1.js";
|
|
14
|
+
import { r as healthCommand } from "./health-CwpYY0fN.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-CQRQ7bCq.js";
|
|
16
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-3sJLQq8Y.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-DNqMaj3H.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-aJ8D6F_s.js";
|
|
19
|
-
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
20
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
21
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger
|
|
22
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
19
|
+
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-CZOgt9C7.js";
|
|
20
|
+
import { r as applyPrimaryModel } from "./model-picker-NGiZaAei.js";
|
|
21
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger--ZF5kAeJ.js";
|
|
22
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-KUI3ky6Y.js";
|
|
23
23
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-B9jTl83d.js";
|
|
24
24
|
|
|
25
25
|
//#region src/commands/onboard-provider-auth-flags.ts
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-Cs_ClFhP.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D1hu6iVL.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-DkhBvS5c.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-DR30gLMN.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-DVBEYCod.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-C2wn_hbZ.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-q9BYdIYy.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { gt as loadOpenClawPlugins, ht as createPluginLoaderLogger } from "./reply-
|
|
2
|
+
import { gt as loadOpenClawPlugins, ht as createPluginLoaderLogger } from "./reply-CM9fxt2r.js";
|
|
3
3
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-lBbEkQ26.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-Cu1fn6xi.js";
|
|
6
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BGlpyppa.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
8
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
8
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DufH79A4.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
10
10
|
import { r as listChannelPluginCatalogEntries } from "./catalog-C7TxlaHu.js";
|
|
11
11
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
|
|
12
|
-
import { n as isChannelConfigured } from "./plugin-auto-enable-
|
|
12
|
+
import { n as isChannelConfigured } from "./plugin-auto-enable-CU5zcL-D.js";
|
|
13
13
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.js";
|
|
14
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
14
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-Bbb02byQ.js";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
|
|
@@ -3,7 +3,7 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-D-HPYIga.js";
|
|
4
4
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CRYIvJeA.js";
|
|
6
|
-
import { g as loadOpenClawPlugins, h as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { g as loadOpenClawPlugins, h as createPluginLoaderLogger } from "./subagent-registry-CEyaZMV5.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-z3bMeGdF.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-CSp_i58l.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-c0_qsZP7.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Kt as DEFAULT_PROVIDER, r as buildModelAliasIndex, s as modelKey } from "./model-selection-
|
|
2
|
+
import { Kt as DEFAULT_PROVIDER, r as buildModelAliasIndex, s as modelKey } from "./model-selection-0qDmOMXI.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-Db3da8yR.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
5
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-D-u4KNkt.js";
|
|
5
|
+
import { r as applyPrimaryModel } from "./model-picker-NGiZaAei.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/onboard-custom.ts
|
|
8
8
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -2,17 +2,17 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-B4BZAPZh.js";
|
|
3
3
|
import { C as sleep, S as shortenHomePath, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-DwGfeG8v.js";
|
|
5
|
-
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
5
|
+
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-BGlpyppa.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DzkrSzpL.js";
|
|
7
|
-
import { F as isSafeExecutableValue, H as VERSION } from "./config-
|
|
7
|
+
import { F as isSafeExecutableValue, H as VERSION } from "./config-CkqfHk27.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-B2SPYrh4.js";
|
|
9
9
|
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./ws-C7EXRv8z.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-C6eomcf_.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
12
|
-
import { t as isWSL } from "./wsl-
|
|
11
|
+
import { n as callGateway } from "./call-BVSmc2vl.js";
|
|
12
|
+
import { t as isWSL } from "./wsl-C4424szg.js";
|
|
13
13
|
import { r as stylePromptTitle } from "./prompt-style-ChA72PBX.js";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fs from "node:fs/promises";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
import { cancel, isCancel } from "@clack/prompts";
|
|
@@ -247,7 +247,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
247
247
|
});
|
|
248
248
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
249
249
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
250
|
-
await
|
|
250
|
+
await fs.mkdir(sessionsDir, { recursive: true });
|
|
251
251
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
252
252
|
}
|
|
253
253
|
function resolveNodeManagerOptions() {
|
|
@@ -269,7 +269,7 @@ function resolveNodeManagerOptions() {
|
|
|
269
269
|
async function moveToTrash(pathname, runtime) {
|
|
270
270
|
if (!pathname) return;
|
|
271
271
|
try {
|
|
272
|
-
await
|
|
272
|
+
await fs.access(pathname);
|
|
273
273
|
} catch {
|
|
274
274
|
return;
|
|
275
275
|
}
|
|
@@ -292,7 +292,7 @@ async function detectBinary(name) {
|
|
|
292
292
|
if (!isSafeExecutableValue(name)) return false;
|
|
293
293
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
294
294
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
295
|
-
await
|
|
295
|
+
await fs.access(resolved);
|
|
296
296
|
return true;
|
|
297
297
|
} catch {
|
|
298
298
|
return false;
|
|
@@ -3,7 +3,7 @@ import "./utils-BlC2Fskb.js";
|
|
|
3
3
|
import "./registry-lBbEkQ26.js";
|
|
4
4
|
import "./subsystem-Cu1fn6xi.js";
|
|
5
5
|
import "./exec-DwGfeG8v.js";
|
|
6
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BGlpyppa.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
8
8
|
import "./boolean-BsqeuxE6.js";
|
|
9
9
|
import "./frontmatter-C_R2lwvR.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
2
|
+
import { r as detectBinary } from "./onboard-helpers-CuawFqeV.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-DhAoR8s0.js";
|
|
4
4
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BC9IAoWK.js";
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Bt as normalizeSecretInput } from "./model-selection-
|
|
2
|
+
import { Bt as normalizeSecretInput } from "./model-selection-0qDmOMXI.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
4
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
5
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-CuawFqeV.js";
|
|
5
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-B90dNffv.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-CHhkAUEW.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -2,7 +2,7 @@ import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-B4BZ
|
|
|
2
2
|
import { y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CkqfHk27.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
7
7
|
|
|
8
8
|
//#region src/wizard/onboarding.ts
|
|
@@ -36,7 +36,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
36
36
|
})) throw new WizardCancelledError("risk not accepted");
|
|
37
37
|
}
|
|
38
38
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
39
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
39
|
+
const onboardHelpers = await import("./onboard-helpers-CuawFqeV.js").then((n) => n.d);
|
|
40
40
|
onboardHelpers.printWizardHeader(runtime);
|
|
41
41
|
await prompter.intro("OpenClaw onboarding");
|
|
42
42
|
await requireRiskAcknowledgement({
|
|
@@ -204,7 +204,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
204
204
|
}]
|
|
205
205
|
}));
|
|
206
206
|
if (mode === "remote") {
|
|
207
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
207
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-ClWpZWND.js").then((n) => n.t);
|
|
208
208
|
const { logConfigUpdated } = await import("./logging-DNqMaj3H.js").then((n) => n.r);
|
|
209
209
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
210
210
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -222,11 +222,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
222
222
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
223
223
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-B9jTl83d.js").then((n) => n.n);
|
|
224
224
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
225
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
225
|
+
const { ensureAuthProfileStore } = await import("./model-selection-0qDmOMXI.js").then((n) => n.dt);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-Cn6U3t8O.js").then((n) => n.t);
|
|
227
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
229
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
227
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-KUI3ky6Y.js").then((n) => n.r);
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-CW81kzG9.js").then((n) => n.t);
|
|
229
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-NGiZaAei.js").then((n) => n.i);
|
|
230
230
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
231
231
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
232
232
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -263,7 +263,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
263
263
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
264
264
|
}
|
|
265
265
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
266
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
266
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-7sVZcOhj.js");
|
|
267
267
|
const gateway = await configureGatewayForOnboarding({
|
|
268
268
|
flow,
|
|
269
269
|
baseConfig,
|
|
@@ -277,8 +277,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
277
277
|
const settings = gateway.settings;
|
|
278
278
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
279
279
|
else {
|
|
280
|
-
const { listChannelPlugins } = await import("./plugins-
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
280
|
+
const { listChannelPlugins } = await import("./plugins-DufH79A4.js").then((n) => n.i);
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-CUuKFX-y.js").then((n) => n.n);
|
|
282
282
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
283
283
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
284
284
|
allowSignalInstall: true,
|
|
@@ -294,17 +294,17 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
294
294
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
295
295
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
296
296
|
else {
|
|
297
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
297
|
+
const { setupSkills } = await import("./onboard-skills-wCr1UcGc.js").then((n) => n.t);
|
|
298
298
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
299
299
|
}
|
|
300
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
300
|
+
const { setupInternalHooks } = await import("./onboard-hooks-Cjnt0UN3.js");
|
|
301
301
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
302
302
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
303
303
|
command: "onboard",
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BRewG-HX.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-McKCasyE.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DF6R_pgV.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-CprYpZc6.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-DKrgElus.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-D0ct-Y1I.js").then((n) => n.i);
|
|
228
228
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
229
229
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -276,7 +276,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
276
276
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
277
277
|
else {
|
|
278
278
|
const { listChannelPlugins } = await import("./plugins-z3bMeGdF.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-SRbD8DVG.js").then((n) => n.n);
|
|
280
280
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
281
281
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
282
282
|
allowSignalInstall: true,
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CTF-nyL8.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|