@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
|
@@ -2,11 +2,11 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
|
|
3
3
|
import { B as theme, P as setVerbose, R as colorize, S as shortenHomePath, x as shortenHomeInString, y as resolveUserPath, z as isRich } from "./utils-BlC2Fskb.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Cu1fn6xi.js";
|
|
5
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { C as parseDurationMs, i as loadConfig } from "./config-
|
|
5
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BGlpyppa.js";
|
|
6
|
+
import { C as parseDurationMs, i as loadConfig } from "./config-CkqfHk27.js";
|
|
7
7
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
8
8
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-C6eomcf_.js";
|
|
9
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-
|
|
9
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-CzeIEe5A.js";
|
|
10
10
|
import { t as splitShellArgs } from "./shell-argv-BbiXH_xm.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-DN_hM6ov.js";
|
|
@@ -15,7 +15,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-9gCu2IkR.
|
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fs$1 from "node:fs/promises";
|
|
19
19
|
|
|
20
20
|
//#region src/memory/backend-config.ts
|
|
21
21
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -212,7 +212,7 @@ async function getMemorySearchManager(params) {
|
|
|
212
212
|
if (cached) return { manager: cached };
|
|
213
213
|
}
|
|
214
214
|
try {
|
|
215
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
215
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CNVBA7OI.js");
|
|
216
216
|
const primary = await QmdMemoryManager.create({
|
|
217
217
|
cfg: params.cfg,
|
|
218
218
|
agentId: params.agentId,
|
|
@@ -224,7 +224,7 @@ async function getMemorySearchManager(params) {
|
|
|
224
224
|
const wrapper = new FallbackMemoryManager({
|
|
225
225
|
primary,
|
|
226
226
|
fallbackFactory: async () => {
|
|
227
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
227
|
+
const { MemoryIndexManager } = await import("./manager-CDo24VZE.js").then((n) => n.t);
|
|
228
228
|
return await MemoryIndexManager.get(params);
|
|
229
229
|
}
|
|
230
230
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -237,7 +237,7 @@ async function getMemorySearchManager(params) {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
try {
|
|
240
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
240
|
+
const { MemoryIndexManager } = await import("./manager-CDo24VZE.js").then((n) => n.t);
|
|
241
241
|
return { manager: await MemoryIndexManager.get(params) };
|
|
242
242
|
} catch (err) {
|
|
243
243
|
return {
|
|
@@ -419,7 +419,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
419
419
|
}
|
|
420
420
|
async function checkReadableFile(pathname) {
|
|
421
421
|
try {
|
|
422
|
-
await
|
|
422
|
+
await fs$1.access(pathname, fs.constants.R_OK);
|
|
423
423
|
return { exists: true };
|
|
424
424
|
} catch (err) {
|
|
425
425
|
const code = err.code;
|
|
@@ -436,7 +436,7 @@ async function scanSessionFiles(agentId) {
|
|
|
436
436
|
try {
|
|
437
437
|
return {
|
|
438
438
|
source: "sessions",
|
|
439
|
-
totalFiles: (await
|
|
439
|
+
totalFiles: (await fs$1.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
440
440
|
issues
|
|
441
441
|
};
|
|
442
442
|
} catch (err) {
|
|
@@ -468,7 +468,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
468
468
|
if (alt.issue) issues.push(alt.issue);
|
|
469
469
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
470
470
|
for (const extraPath of resolvedExtraPaths) try {
|
|
471
|
-
if ((await
|
|
471
|
+
if ((await fs$1.lstat(extraPath)).isSymbolicLink()) continue;
|
|
472
472
|
const extraCheck = await checkReadableFile(extraPath);
|
|
473
473
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
474
474
|
} catch (err) {
|
|
@@ -478,7 +478,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
478
478
|
}
|
|
479
479
|
let dirReadable = null;
|
|
480
480
|
try {
|
|
481
|
-
await
|
|
481
|
+
await fs$1.access(memoryDir, fs.constants.R_OK);
|
|
482
482
|
dirReadable = true;
|
|
483
483
|
} catch (err) {
|
|
484
484
|
const code = err.code;
|
|
@@ -526,7 +526,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
526
526
|
if (!dbPath) return null;
|
|
527
527
|
let stat;
|
|
528
528
|
try {
|
|
529
|
-
stat = await
|
|
529
|
+
stat = await fs$1.stat(dbPath);
|
|
530
530
|
} catch (err) {
|
|
531
531
|
const code = err.code;
|
|
532
532
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ft as resolveOpenClawAgentDir, Wt as DEFAULT_CONTEXT_TOKENS, l as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { Ft as resolveOpenClawAgentDir, Wt as DEFAULT_CONTEXT_TOKENS, l as normalizeProviderId } from "./model-selection-0qDmOMXI.js";
|
|
3
3
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-4uUnLc3n.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ft as resolveOpenClawAgentDir } from "./model-selection-
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
1
|
+
import { Ft as resolveOpenClawAgentDir } from "./model-selection-0qDmOMXI.js";
|
|
2
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-CTi1zIkq.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
let modelCatalogPromise = null;
|
|
@@ -37,7 +37,7 @@ async function loadModelCatalog(params) {
|
|
|
37
37
|
});
|
|
38
38
|
try {
|
|
39
39
|
await ensureOpenClawModelsJson(params?.config ?? loadConfig());
|
|
40
|
-
await (await import("./pi-auth-json-
|
|
40
|
+
await (await import("./pi-auth-json-C5hwfgoJ.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
|
|
41
41
|
const piSdk = await importPiSdk();
|
|
42
42
|
const agentDir = resolveOpenClawAgentDir();
|
|
43
43
|
const { join } = await import("node:path");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { At as ensureAuthProfileStore, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Tt as listProfilesForProvider, Y as resolveEnvApiKey, kt as upsertAuthProfileWithLock, l as normalizeProviderId, p as resolveConfiguredModelRef, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet } from "./model-selection-
|
|
3
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
4
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { At as ensureAuthProfileStore, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Tt as listProfilesForProvider, Y as resolveEnvApiKey, kt as upsertAuthProfileWithLock, l as normalizeProviderId, p as resolveConfiguredModelRef, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet } from "./model-selection-0qDmOMXI.js";
|
|
3
|
+
import { n as loadModelCatalog } from "./model-catalog-CjwzHKkB.js";
|
|
4
|
+
import { i as formatTokenK } from "./shared-D-u4KNkt.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/openai-codex-model-default.ts
|
|
7
7
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -3,13 +3,13 @@ import { g as resolveStateDir, h as resolveOAuthPath } from "./paths-B4BZAPZh.js
|
|
|
3
3
|
import { y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
4
4
|
import { t as DEFAULT_AGENT_ID } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-Cu1fn6xi.js";
|
|
6
|
-
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-
|
|
6
|
+
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-BGlpyppa.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D2zp6kMZ.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
9
9
|
import { t as isTruthyEnvValue } from "./env-C9RBJHeg.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import fs$1 from "node:fs/promises";
|
|
13
13
|
import { execFileSync } from "node:child_process";
|
|
14
14
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
15
15
|
import { getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai/oauth";
|
|
@@ -107,7 +107,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
107
107
|
}
|
|
108
108
|
async function readLockPayload(lockPath) {
|
|
109
109
|
try {
|
|
110
|
-
const raw = await
|
|
110
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
111
111
|
const parsed = JSON.parse(raw);
|
|
112
112
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
113
113
|
return {
|
|
@@ -121,9 +121,9 @@ async function readLockPayload(lockPath) {
|
|
|
121
121
|
async function resolveNormalizedFilePath(filePath) {
|
|
122
122
|
const resolved = path.resolve(filePath);
|
|
123
123
|
const dir = path.dirname(resolved);
|
|
124
|
-
await
|
|
124
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
125
125
|
try {
|
|
126
|
-
const realDir = await
|
|
126
|
+
const realDir = await fs$1.realpath(dir);
|
|
127
127
|
return path.join(realDir, path.basename(resolved));
|
|
128
128
|
} catch {
|
|
129
129
|
return resolved;
|
|
@@ -137,7 +137,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
137
137
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
138
138
|
}
|
|
139
139
|
try {
|
|
140
|
-
const stat = await
|
|
140
|
+
const stat = await fs$1.stat(lockPath);
|
|
141
141
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
142
142
|
} catch {
|
|
143
143
|
return true;
|
|
@@ -150,7 +150,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
150
150
|
if (current.count > 0) return;
|
|
151
151
|
HELD_LOCKS.delete(normalizedFile);
|
|
152
152
|
await current.handle.close().catch(() => void 0);
|
|
153
|
-
await
|
|
153
|
+
await fs$1.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
154
154
|
}
|
|
155
155
|
async function acquireFileLock(filePath, options) {
|
|
156
156
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -165,7 +165,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
165
165
|
}
|
|
166
166
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
167
167
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
168
|
-
const handle = await
|
|
168
|
+
const handle = await fs$1.open(lockPath, "wx");
|
|
169
169
|
await handle.writeFile(JSON.stringify({
|
|
170
170
|
pid: process.pid,
|
|
171
171
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -182,7 +182,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
182
182
|
} catch (err) {
|
|
183
183
|
if (err.code !== "EEXIST") throw err;
|
|
184
184
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
185
|
-
await
|
|
185
|
+
await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
|
|
186
186
|
continue;
|
|
187
187
|
}
|
|
188
188
|
if (attempt >= attempts - 1) break;
|
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-C64TN-C6.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-C8z_dGoo.js";
|
|
8
8
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
9
9
|
import { C as parseDurationMs, i as loadConfig } from "./config-BIssvwa3.js";
|
|
10
|
-
import { en as loadProviderUsageSummary, gn as formatRemainingShort, hn as buildAuthHealthSummary, mn as DEFAULT_OAUTH_WARN_MS, mt as describeFailoverError, nn as formatUsageWindowSummary, pn as maskApiKey, rn as resolveUsageProviderId, s as runEmbeddedPiAgent } from "./subagent-registry-
|
|
10
|
+
import { en as loadProviderUsageSummary, gn as formatRemainingShort, hn as buildAuthHealthSummary, mn as DEFAULT_OAUTH_WARN_MS, mt as describeFailoverError, nn as formatUsageWindowSummary, pn as maskApiKey, rn as resolveUsageProviderId, s as runEmbeddedPiAgent } from "./subagent-registry-CEyaZMV5.js";
|
|
11
11
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BOr3T_72.js";
|
|
12
12
|
import { t as ensureOpenClawModelsJson } from "./models-config-vHr0Gpa7.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-uXi_S3Cn.js";
|
|
@@ -21,7 +21,7 @@ import { n as redactSecrets } from "./format-B0yJsjEo.js";
|
|
|
21
21
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-wLlUfmNR.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-C2wn_hbZ.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-q9BYdIYy.js";
|
|
24
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
24
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BvdnFgmZ.js";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
27
27
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -1,119 +1,119 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Ct as resolveUsageProviderId, Jt as describeFailoverError, St as formatUsageWindowSummary, bt as loadProviderUsageSummary, dr as maskApiKey, fr as DEFAULT_OAUTH_WARN_MS, l as runEmbeddedPiAgent, mr as formatRemainingShort, pr as buildAuthHealthSummary } from "./reply-
|
|
4
|
+
import { Ct as resolveUsageProviderId, Jt as describeFailoverError, St as formatUsageWindowSummary, bt as loadProviderUsageSummary, dr as maskApiKey, fr as DEFAULT_OAUTH_WARN_MS, l as runEmbeddedPiAgent, mr as formatRemainingShort, pr as buildAuthHealthSummary } from "./reply-CM9fxt2r.js";
|
|
5
5
|
import "./registry-lBbEkQ26.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
7
7
|
import "./exec-DwGfeG8v.js";
|
|
8
|
-
import { D as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-
|
|
9
|
-
import { At as ensureAuthProfileStore, Dt as setAuthProfileOrder, Ft as resolveOpenClawAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, J as resolveAwsSdkEnvVarName, Kt as DEFAULT_PROVIDER, Ot as upsertAuthProfile, Pt as resolveAuthStorePathForDisplay, Tt as listProfilesForProvider, Vt as resolveAuthProfileDisplayLabel, Y as resolveEnvApiKey, Z as getShellEnvAppliedKeys, _t as resolveProfileUnusableUntilForDisplay, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, nt as shouldEnableShellEnvFallback, p as resolveConfiguredModelRef, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, u as parseModelRef } from "./model-selection-
|
|
8
|
+
import { D as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-BGlpyppa.js";
|
|
9
|
+
import { At as ensureAuthProfileStore, Dt as setAuthProfileOrder, Ft as resolveOpenClawAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, J as resolveAwsSdkEnvVarName, Kt as DEFAULT_PROVIDER, Ot as upsertAuthProfile, Pt as resolveAuthStorePathForDisplay, Tt as listProfilesForProvider, Vt as resolveAuthProfileDisplayLabel, Y as resolveEnvApiKey, Z as getShellEnvAppliedKeys, _t as resolveProfileUnusableUntilForDisplay, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, nt as shouldEnableShellEnvFallback, p as resolveConfiguredModelRef, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, u as parseModelRef } from "./model-selection-0qDmOMXI.js";
|
|
10
10
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.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 { C as parseDurationMs, i as loadConfig } from "./config-
|
|
15
|
+
import "./send-i695V0Ow.js";
|
|
16
|
+
import { C as parseDurationMs, i as loadConfig } from "./config-CkqfHk27.js";
|
|
17
17
|
import "./manifest-registry-YRUqEw3J.js";
|
|
18
|
-
import "./runner-
|
|
19
|
-
import "./image-
|
|
20
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
18
|
+
import "./runner-CXGYviGa.js";
|
|
19
|
+
import "./image-DC9YnAwO.js";
|
|
20
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-CTi1zIkq.js";
|
|
21
21
|
import { n as discoverModels, t as discoverAuthStorage } from "./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 "./sessions-
|
|
41
|
-
import "./dock-
|
|
42
|
-
import "./plugins-
|
|
43
|
-
import "./accounts-
|
|
44
|
-
import "./accounts-
|
|
45
|
-
import "./accounts-
|
|
46
|
-
import "./bindings-
|
|
40
|
+
import "./sessions-CwvGRwvW.js";
|
|
41
|
+
import "./dock-B1xpMkYP.js";
|
|
42
|
+
import "./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 { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./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 { n as loadModelCatalog } from "./model-catalog-
|
|
53
|
+
import "./api-key-rotation-CMe3cUAn.js";
|
|
54
|
+
import "./local-roots-B6Q8Hrfc.js";
|
|
55
|
+
import "./sqlite-CzeIEe5A.js";
|
|
56
|
+
import { n as loadModelCatalog } from "./model-catalog-CjwzHKkB.js";
|
|
57
57
|
import "./tokens-BDil8-Uk.js";
|
|
58
|
-
import "./with-timeout-
|
|
59
|
-
import "./deliver-
|
|
58
|
+
import "./with-timeout-n3bwhefQ.js";
|
|
59
|
+
import "./deliver-DPIPJHQH.js";
|
|
60
60
|
import "./diagnostic-loJQGh5N.js";
|
|
61
61
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
62
|
-
import "./send-
|
|
63
|
-
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-
|
|
64
|
-
import "./reply-prefix-
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
62
|
+
import "./send-BGmblGeb.js";
|
|
63
|
+
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./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 { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
85
85
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-DN_hM6ov.js";
|
|
86
86
|
import "./help-format-BNbRyxky.js";
|
|
87
87
|
import { r as withProgressTotals } from "./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 { f as openUrl } from "./onboard-helpers-
|
|
95
|
+
import "./send-H5TFGeHl.js";
|
|
96
|
+
import { f as openUrl } from "./onboard-helpers-CuawFqeV.js";
|
|
97
97
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./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-
|
|
103
|
+
import "./channel-selection-B3CpzNsC.js";
|
|
104
|
+
import "./pi-tools.policy-CrKxTriv.js";
|
|
105
105
|
import "./note-xON1rY4p.js";
|
|
106
106
|
import { t as createClackPrompter } from "./clack-prompter-BWVLqg-2.js";
|
|
107
107
|
import { t as renderTable } from "./table-Csf_WEEY.js";
|
|
108
108
|
import { t as inferParamBFromIdOrName } from "./model-param-b-D1rP7U2U.js";
|
|
109
109
|
import { n as redactSecrets } from "./format-DNqZrSx7.js";
|
|
110
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
111
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
110
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-D-u4KNkt.js";
|
|
111
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-3sJLQq8Y.js";
|
|
112
112
|
import { n as logConfigUpdated } from "./logging-DNqMaj3H.js";
|
|
113
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
114
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./system-cli-
|
|
113
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-GlPRMdgU.js";
|
|
114
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./system-cli-CNufxt6H.js";
|
|
115
115
|
import path from "node:path";
|
|
116
|
-
import
|
|
116
|
+
import fs from "node:fs/promises";
|
|
117
117
|
import crypto from "node:crypto";
|
|
118
118
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
119
119
|
import { Type } from "@sinclair/typebox";
|
|
@@ -947,8 +947,8 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
947
947
|
//#region src/commands/models/list.list-command.ts
|
|
948
948
|
async function modelsListCommand(opts, runtime) {
|
|
949
949
|
ensureFlagCompatibility(opts);
|
|
950
|
-
const { loadConfig } = await import("./config-
|
|
951
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
950
|
+
const { loadConfig } = await import("./config-CkqfHk27.js").then((n) => n.t);
|
|
951
|
+
const { ensureAuthProfileStore } = await import("./model-selection-0qDmOMXI.js").then((n) => n.dt);
|
|
952
952
|
const cfg = loadConfig();
|
|
953
953
|
const authStore = ensureAuthProfileStore();
|
|
954
954
|
const providerFilter = (() => {
|
|
@@ -1008,7 +1008,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
if (!model) {
|
|
1011
|
-
const { resolveModel } = await import("./model-
|
|
1011
|
+
const { resolveModel } = await import("./model-BKG0edkX.js").then((n) => n.t);
|
|
1012
1012
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
1013
1013
|
}
|
|
1014
1014
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1266,7 +1266,7 @@ async function probeTarget(params) {
|
|
|
1266
1266
|
};
|
|
1267
1267
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1268
1268
|
const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
|
|
1269
|
-
await
|
|
1269
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1270
1270
|
const start = Date.now();
|
|
1271
1271
|
try {
|
|
1272
1272
|
await runEmbeddedPiAgent({
|
|
@@ -1321,7 +1321,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1321
1321
|
const agentDir = resolveOpenClawAgentDir();
|
|
1322
1322
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1323
1323
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1324
|
-
await
|
|
1324
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1325
1325
|
let completed = 0;
|
|
1326
1326
|
const results = Array.from({ length: targets.length });
|
|
1327
1327
|
let cursor = 0;
|
|
@@ -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 "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-CEyaZMV5.js";
|
|
18
18
|
import "./sessions-C2GoB4eB.js";
|
|
19
19
|
import "./tokens-BQcb3NZa.js";
|
|
20
20
|
import "./plugins-z3bMeGdF.js";
|
|
@@ -104,8 +104,8 @@ import "./table-CyLyjbdX.js";
|
|
|
104
104
|
import "./shared-wLlUfmNR.js";
|
|
105
105
|
import "./auth-token-C2wn_hbZ.js";
|
|
106
106
|
import "./logging-q9BYdIYy.js";
|
|
107
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
108
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
107
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-BvdnFgmZ.js";
|
|
108
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-DVkqCyTw.js";
|
|
109
109
|
|
|
110
110
|
//#region src/cli/models-cli.ts
|
|
111
111
|
function runModelsCommand(action) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as isRecord } from "./utils-BlC2Fskb.js";
|
|
2
|
-
import { A as resolveImplicitProviders, D as normalizeProviders, Ft as resolveOpenClawAgentDir, O as resolveImplicitBedrockProvider, k as resolveImplicitCopilotProvider } from "./model-selection-
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
2
|
+
import { A as resolveImplicitProviders, D as normalizeProviders, Ft as resolveOpenClawAgentDir, O as resolveImplicitBedrockProvider, k as resolveImplicitCopilotProvider } from "./model-selection-0qDmOMXI.js";
|
|
3
|
+
import { i as loadConfig } from "./config-CkqfHk27.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/models-config.ts
|
|
8
8
|
const DEFAULT_MODE = "merge";
|
|
@@ -44,7 +44,7 @@ function mergeProviders(params) {
|
|
|
44
44
|
}
|
|
45
45
|
async function readJson(pathname) {
|
|
46
46
|
try {
|
|
47
|
-
const raw = await
|
|
47
|
+
const raw = await fs.readFile(pathname, "utf8");
|
|
48
48
|
return JSON.parse(raw);
|
|
49
49
|
} catch {
|
|
50
50
|
return null;
|
|
@@ -92,7 +92,7 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
92
92
|
});
|
|
93
93
|
const next = `${JSON.stringify({ providers: normalizedProviders }, null, 2)}\n`;
|
|
94
94
|
try {
|
|
95
|
-
existingRaw = await
|
|
95
|
+
existingRaw = await fs.readFile(targetPath, "utf8");
|
|
96
96
|
} catch {
|
|
97
97
|
existingRaw = "";
|
|
98
98
|
}
|
|
@@ -100,11 +100,11 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
100
100
|
agentDir,
|
|
101
101
|
wrote: false
|
|
102
102
|
};
|
|
103
|
-
await
|
|
103
|
+
await fs.mkdir(agentDir, {
|
|
104
104
|
recursive: true,
|
|
105
105
|
mode: 448
|
|
106
106
|
});
|
|
107
|
-
await
|
|
107
|
+
await fs.writeFile(targetPath, next, { mode: 384 });
|
|
108
108
|
return {
|
|
109
109
|
agentDir,
|
|
110
110
|
wrote: true
|