@lawpath-tech/openclaw 2026.2.21-31 → 2026.2.21-32
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-CGBT0wQ4.js → accounts-D8ryuxvJ.js} +7 -7
- package/dist/{accounts-CAR30ERb.js → accounts-Dl14M6E6.js} +1 -1
- package/dist/{accounts-BQX482gP.js → accounts-E1DMCEDO.js} +1 -1
- package/dist/{acp-cli-DZV917OP.js → acp-cli-hedESiET.js} +6 -6
- package/dist/{agent-scope-BGlpyppa.js → agent-scope-B6jLdNuI.js} +18 -18
- package/dist/{agents-BP8GDc9z.js → agents-DWpMpnrU.js} +4 -4
- package/dist/{agents.config-Bz7K-hIv.js → agents.config-DfN81iaS.js} +2 -2
- package/dist/{agents.config-BelTNn6K.js → agents.config-bQuerf1-.js} +1 -1
- package/dist/{api-key-rotation-CMe3cUAn.js → api-key-rotation-ddrC-1k5.js} +1 -1
- package/dist/{audio-preflight-Djsieqbl.js → audio-preflight-DRE31Ab_.js} +28 -28
- package/dist/{audio-preflight-DP74Yvkp.js → audio-preflight-Dp9KYMCX.js} +4 -4
- package/dist/{audit-W6GUNtGq.js → audit-DqzfLnre.js} +23 -23
- package/dist/{auth-choice-D1nW1tnt.js → auth-choice-BWs44j21.js} +8 -8
- package/dist/{auth-choice-CBUsciQJ.js → auth-choice-CNEPjZq2.js} +1 -1
- package/dist/{auth-token-3sJLQq8Y.js → auth-token-Il_1hz__.js} +1 -1
- package/dist/{banner-C18cJKYR.js → banner-CxaRxgic.js} +1 -1
- package/dist/{bindings-D_OoALBE.js → bindings-D_90DJ1-.js} +1 -1
- package/dist/{browser-cli-pa0mgoQY.js → browser-cli-DRksx_yW.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +8 -8
- package/dist/bundled/session-memory/handler.js +8 -8
- package/dist/{call-BVSmc2vl.js → call-CYa4YbMh.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Dh4UX17R.js → channel-options-731cZrV3.js} +2 -2
- package/dist/{channel-options-DUJnpe5D.js → channel-options-DOP9meV_.js} +1 -1
- package/dist/{channel-selection-B3CpzNsC.js → channel-selection-NCqPAi5U.js} +1 -1
- package/dist/{channel-web-wLJAIBDS.js → channel-web-BGJ5ln5L.js} +17 -17
- package/dist/{channels-cli-B3GeraPZ.js → channels-cli-BSR5Ss_g.js} +75 -75
- package/dist/{channels-cli-7lL-U0bT.js → channels-cli-D3RDDRf1.js} +6 -6
- package/dist/{channels-status-issues-C4_sbL0E.js → channels-status-issues-CNE14g1e.js} +1 -1
- package/dist/{chrome-C9MCXK8d.js → chrome-BlXdvPOB.js} +2 -2
- package/dist/{chrome-BukFhWVN.js → chrome-DAmaIuXa.js} +7 -7
- package/dist/{clawbot-cli-B2jNAgQu.js → clawbot-cli-__trjQJ4.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-C9y6JSoj.js → cli-C7e7H1JP.js} +3 -3
- package/dist/{cli-BdmFE8Ie.js → cli-DnIh8_UI.js} +62 -62
- package/dist/{client-DkL-GDcp.js → client-BW8Wuj5N.js} +1 -1
- package/dist/{command-registry-D-PJPg1t.js → command-registry-Q4A7-DBA.js} +9 -9
- package/dist/{commands-DHoTLUfu.js → commands-KvUzKZ-E.js} +1 -1
- package/dist/{commands-registry-C6MwKIm9.js → commands-registry-DVVMuhaG.js} +3 -3
- package/dist/{completion-cli-CA5pvA6W.js → completion-cli-JhFn-BzZ.js} +12 -12
- package/dist/{completion-cli-zfVgI7-n.js → completion-cli-dC9YBc-k.js} +2 -2
- package/dist/{config-CkqfHk27.js → config-JupjCURB.js} +2 -2
- package/dist/{config-cli-CgMtqspq.js → config-cli-DMLSe-zW.js} +1 -1
- package/dist/{config-cli-BPrhK0hV.js → config-cli-DOvNIX0v.js} +4 -4
- package/dist/{config-guard-C5fqJ2Ra.js → config-guard-5XdCrtj_.js} +12 -12
- package/dist/{config-validation-cyW76mmN.js → config-validation-B1WJ3f4s.js} +1 -1
- package/dist/{configure-yDD4TKIJ.js → configure-Bvsehc2l.js} +15 -15
- package/dist/{configure-P0T5xCKn.js → configure-DjTsdvi-.js} +3 -3
- package/dist/{control-service-CPT8eogY.js → control-service-C7XguOvd.js} +4 -4
- package/dist/{control-ui-assets-BcSek9LQ.js → control-ui-assets-BLVZXE2I.js} +1 -1
- package/dist/{cron-cli-B8A_gdlC.js → cron-cli-DJY2332p.js} +10 -10
- package/dist/{daemon-cli-BY4RqUnr.js → daemon-cli-BWUQX0oT.js} +11 -11
- package/dist/{daemon-runtime-b5AIw6-c.js → daemon-runtime-DWX-qIBl.js} +10 -10
- package/dist/{deliver-BLmoUvp-.js → deliver-BP564y6d.js} +1 -1
- package/dist/{deliver-DPIPJHQH.js → deliver-DKhy3kV4.js} +7 -7
- package/dist/{devices-cli-lm3S1JQu.js → devices-cli-D4oN5nE1.js} +6 -6
- package/dist/{diagnostics-BTTjVvNB.js → diagnostics-DqqmUDc7.js} +5 -5
- package/dist/{directory-cli-BV3bixZh.js → directory-cli-Cn5w5bQ0.js} +7 -7
- package/dist/{dm-policy-shared-CrbkZ-FV.js → dm-policy-shared-CysWxa2H.js} +2 -2
- package/dist/{dns-cli-D7X1eTm3.js → dns-cli-CYB5gA5O.js} +3 -3
- package/dist/{dock-B1xpMkYP.js → dock-CX_o0bdi.js} +4 -4
- package/dist/{docs-cli-C_3NO2uV.js → docs-cli-Dsn3U8-1.js} +1 -1
- package/dist/{doctor-completion-wNJ24zG1.js → doctor-completion-ZNTlXnGL.js} +1 -1
- package/dist/{doctor-completion-QnB3fOSm.js → doctor-completion-zUNacbyu.js} +2 -2
- package/dist/{doctor-config-flow-BB3nWQcZ.js → doctor-config-flow-C9h7ENJ-.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-TT3Gh9kR.js → exec-approvals-cli-BXXdOl4u.js} +13 -13
- package/dist/extensionAPI.js +3 -3
- package/dist/{fs-safe-CUjO1ca2.js → fs-safe-CTDvb1DF.js} +6 -6
- package/dist/{gateway-cli-jzI2iY9a.js → gateway-cli-B8-2FWEZ.js} +10 -10
- package/dist/{gateway-cli-abohiHMm.js → gateway-cli-BXP02v7b.js} +132 -132
- package/dist/{gateway-rpc-BGGmDgbQ.js → gateway-rpc-CqPT9Cep.js} +1 -1
- package/dist/{health-ChDsDryb.js → health-BFLhZBCV.js} +13 -13
- package/dist/{health-BJ6SHHDr.js → health-Bm_bIcyw.js} +1 -1
- package/dist/{hooks-cli-DuRDIltL.js → hooks-cli-BVjpIkaS.js} +76 -76
- package/dist/{hooks-cli-BmuxgZBH.js → hooks-cli-DyN1Bq_w.js} +4 -4
- package/dist/{image-hH4ugSJI.js → image-DL65NdIM.js} +1 -1
- package/dist/{image-DC9YnAwO.js → image-DtVdv4CQ.js} +3 -3
- package/dist/{image-ops-B4PbaJHR.js → image-ops-Uvt51OHH.js} +10 -10
- package/dist/index.js +72 -72
- package/dist/{inspect-gLKB4R6Z.js → inspect-VKHaN3HT.js} +4 -4
- package/dist/{install-safe-path-tCLiMpmO.js → install-safe-path-Qqr_t_tH.js} +11 -11
- package/dist/{installs-Bbb02byQ.js → installs-BamQ1KDR.js} +10 -10
- package/dist/{ir-D72mYI93.js → ir-1SG-TkUZ.js} +6 -6
- package/dist/{lifecycle-core-DNgy-uKO.js → lifecycle-core-DZJF3omV.js} +5 -5
- package/dist/llm-slug-generator.js +8 -8
- package/dist/{local-roots-B6Q8Hrfc.js → local-roots-25wkka6O.js} +2 -2
- package/dist/{login-Bz2k49Y4.js → login-BThY9qqp.js} +3 -3
- package/dist/{login-qr-L9yhuI9H.js → login-qr-BOOn03RH.js} +5 -5
- package/dist/{logs-cli-B2PPoAkv.js → logs-cli-DoDfF8hD.js} +7 -7
- package/dist/{manager-CDo24VZE.js → manager-BVtzk7_v.js} +13 -13
- package/dist/{markdown-tables-CXWxrKp3.js → markdown-tables-MNYCbYg1.js} +1 -1
- package/dist/{memory-cli-8SCKR9xc.js → memory-cli-CS7LI30B.js} +12 -12
- package/dist/{model-BKG0edkX.js → model-MOoXNngW.js} +1 -1
- package/dist/{model-catalog-CjwzHKkB.js → model-catalog-CzLbr1ZD.js} +4 -4
- package/dist/{model-picker-NGiZaAei.js → model-picker-bpc3jJ5m.js} +3 -3
- package/dist/{model-selection-0qDmOMXI.js → model-selection-C1pdWy7b.js} +9 -9
- package/dist/{models-BpqbY6s6.js → models-Bd3CLEWM.js} +2 -2
- package/dist/{models-cli-COanmcGm.js → models-cli-4QX1LFRs.js} +72 -72
- package/dist/{models-cli-DqWWTCao.js → models-cli-D__CoxU_.js} +5 -5
- package/dist/{models-config-CTi1zIkq.js → models-config-BVp1ZtTh.js} +7 -7
- package/dist/{node-cli-Cqkqlb01.js → node-cli-D-N_WPoP.js} +28 -28
- package/dist/{node-service-YmmWwF_4.js → node-service-BESGjvfV.js} +1 -1
- package/dist/{nodes-cli-xRiWzu3G.js → nodes-cli-Cn4uY_Gx.js} +10 -10
- package/dist/{nodes-screen-C-rbZoYt.js → nodes-screen-kFzB7013.js} +4 -4
- package/dist/{npm-registry-spec-Dw7Zv5pY.js → npm-registry-spec-pqZV9KaL.js} +9 -9
- package/dist/{onboard-UEtBiCoJ.js → onboard-DDzVmEvx.js} +2 -2
- package/dist/{onboard-wCY6TSre.js → onboard-DJUKlsWz.js} +13 -13
- package/dist/{onboard-channels-BJ-tZka8.js → onboard-channels-BqW3maPJ.js} +5 -5
- package/dist/{onboard-channels-CPma01ab.js → onboard-channels-CrfL2B6W.js} +1 -1
- package/dist/{onboard-custom-KUI3ky6Y.js → onboard-custom-D7KcpLUZ.js} +3 -3
- package/dist/{onboard-helpers-CuawFqeV.js → onboard-helpers-C2-IAGyl.js} +8 -8
- package/dist/{onboard-hooks-Cjnt0UN3.js → onboard-hooks-Cf_rZ0y2.js} +1 -1
- package/dist/{onboard-remote-ClWpZWND.js → onboard-remote-DujGEJSZ.js} +1 -1
- package/dist/{onboard-skills-wCr1UcGc.js → onboard-skills-BCOMycP2.js} +4 -4
- package/dist/{onboarding-Di4SkJUj.js → onboarding-0IAGtYhr.js} +3 -3
- package/dist/{onboarding-Dp6k5p-a.js → onboarding-w8peVpJ9.js} +13 -13
- package/dist/{onboarding.finalize-G-q87JA2.js → onboarding.finalize-CwtvbQBP.js} +74 -74
- package/dist/{onboarding.finalize-DshqLGqp.js → onboarding.finalize-De4it5U3.js} +8 -8
- package/dist/{onboarding.gateway-config-7sVZcOhj.js → onboarding.gateway-config-BJ0SMGbj.js} +14 -14
- package/dist/{openai-model-default-CZOgt9C7.js → openai-model-default-DagaQbb0.js} +2 -2
- package/dist/{openclaw-root-CQJwyH9q.js → openclaw-root-CbWxAStx.js} +2 -2
- package/dist/{outbound-BiC9-qyo.js → outbound-DPGxP4j6.js} +4 -4
- package/dist/{plugin-sdk/outbound-attachment-1oBost2D.js → outbound-attachment-D07lPNUZ.js} +2 -2
- package/dist/{pairing-cli-B5reDhJF.js → pairing-cli-BZwhRsWv.js} +8 -8
- package/dist/{pairing-labels-UbwdcASX.js → pairing-labels-Cf9ie2Yo.js} +1 -1
- package/dist/{pairing-store-IkE0_gB1.js → pairing-store-BzMeXbOB.js} +2 -2
- package/dist/{pairing-token-DGufCZxz.js → pairing-token-DAVfcYo5.js} +7 -7
- package/dist/{paths-CIvEoL0m.js → paths-BsnfCNkx.js} +1 -1
- package/dist/{pi-auth-json-C5hwfgoJ.js → pi-auth-json-BBbOI_P4.js} +3 -3
- package/dist/{pi-embedded-C7TfFIPO.js → pi-embedded-CIsGkiaB.js} +200 -43
- package/dist/{pi-embedded-helpers-BDEpQxcD.js → pi-embedded-helpers-B9uwWqnh.js} +6 -6
- package/dist/{pi-embedded-helpers-DR_3fJko.js → pi-embedded-helpers-HnqhrewN.js} +4 -4
- package/dist/{pi-embedded-BAqpVR_m.js → pi-embedded-lJXJAe8z.js} +214 -57
- package/dist/{pi-tools.policy-CrKxTriv.js → pi-tools.policy-BU3gaxu3.js} +4 -4
- package/dist/{plugin-auto-enable-CU5zcL-D.js → plugin-auto-enable-Dkg7tNsW.js} +2 -2
- package/dist/{plugin-registry-BdQI8-bG.js → plugin-registry-BNUYtj9H.js} +3 -3
- package/dist/{plugin-registry-CFiYBSX2.js → plugin-registry-DjJ5pV-y.js} +1 -1
- package/dist/plugin-sdk/{accounts-cFYVb3Ir.js → accounts-BdyAJ80w.js} +1 -1
- package/dist/plugin-sdk/{accounts-owMdcC84.js → accounts-CDDBR5Pk.js} +1 -1
- package/dist/plugin-sdk/{accounts-CIV6d4kn.js → accounts-CNg4Pivg.js} +3 -3
- package/dist/plugin-sdk/{active-listener-n6hyqnXA.js → active-listener-C2nnC9Ax.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DNY1MYCy.js → agent-scope-CtPfsirh.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-nmjAMTZA.js → api-key-rotation-R4AkTIjD.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BkbKy5kx.js → audio-preflight-BAMNt6M5.js} +24 -24
- package/dist/plugin-sdk/{bindings-CopQpHHX.js → bindings-BoFVi5SB.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CrDvXjCQ.js → channel-activity-t_OI1MQf.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DtyyUoWA.js → channel-web-hWtosBa_.js} +22 -22
- package/dist/plugin-sdk/{chrome-CrOYUXQ2.js → chrome-D0tUj9ji.js} +3 -3
- package/dist/plugin-sdk/{chunk-D4rztYS_.js → chunk-CoyesYaI.js} +1 -1
- package/dist/plugin-sdk/{command-format-A8fPp85k.js → command-format-BZHLj2Pv.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BgL5BgCb.js → commands-registry-DhpIXuI8.js} +4 -4
- package/dist/plugin-sdk/{config-CpE4TWH0.js → config-C-kB5yPz.js} +9 -9
- package/dist/plugin-sdk/{deliver-DTKyGKVr.js → deliver-BHg_hqJG.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-AkXUmNj3.js → diagnostic-Bkobf9sL.js} +1 -1
- package/dist/plugin-sdk/{image-D-2tr3lg.js → image-DJgspIhI.js} +4 -4
- package/dist/plugin-sdk/{image-ops-D4rLqyFG.js → image-ops-BeZ1nzVS.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-hakANnEW.js → ir-CRPo3dMY.js} +4 -4
- package/dist/plugin-sdk/{local-roots-CnaI2qJk.js → local-roots-C5Ju-AZh.js} +3 -3
- package/dist/plugin-sdk/{login-CcPkuK_e.js → login-ZAWRtiUn.js} +7 -7
- package/dist/plugin-sdk/{login-qr-C6rEbZ_4.js → login-qr-Vep4Qyfk.js} +9 -9
- package/dist/plugin-sdk/{manager-D0UeotCy.js → manager-BiSIuKTu.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-COeXOYi0.js → manifest-registry-DJWLGnsy.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Bf31F9r6.js → markdown-tables-D3ber0Yy.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CMtCA18K.js → message-channel-BvbVXKrt.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CneSW_JC.js → model-selection-QOKxGwpD.js} +4 -4
- package/dist/{outbound-attachment-91Q9pKkZ.js → plugin-sdk/outbound-attachment-Dukb2BCs.js} +2 -2
- package/dist/plugin-sdk/{outbound-ChKX7wv_.js → outbound-simNZ392.js} +7 -7
- package/dist/plugin-sdk/{pi-auth-json-DfDP_Pzq.js → pi-auth-json-DjRxrq8j.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-idRp2oNz.js → pi-embedded-helpers-onFghmXi.js} +17 -17
- package/dist/plugin-sdk/{plugins-CCHKO6PS.js → plugins-Cmzpj_lq.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-DC87yDnd.js → pw-ai-MetkkJzy.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CnTnX_JH.js → qmd-manager-CD1M3q9a.js} +4 -4
- package/dist/plugin-sdk/{registry-BlMOtcPL.js → registry-BX2vORAB.js} +2 -2
- package/dist/plugin-sdk/{replies-OoosoUz9.js → replies-_91oZTzt.js} +7 -6
- package/dist/plugin-sdk/{reply-C_4ajFUt.js → reply-CKIG0ycG.js} +272 -115
- package/dist/plugin-sdk/{reply-prefix-G9ruZ2EI.js → reply-prefix-DuegEkbr.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D9fgJ-GG.js → resolve-outbound-target-CeT5UKn8.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-yBLQIeuf.js → resolve-route-DxmOOAQ3.js} +3 -3
- package/dist/plugin-sdk/{retry-BG4opKt7.js → retry-DOt8b7_o.js} +1 -1
- package/dist/plugin-sdk/{runner-BkVA5r9t.js → runner-DycIbJjS.js} +9 -9
- package/dist/plugin-sdk/{send-C40m59QO.js → send-5KyVAcYY.js} +10 -10
- package/dist/plugin-sdk/{send-C9Q83PfF.js → send-BUW2Leik.js} +26 -7
- package/dist/plugin-sdk/{send-CgLOABgR.js → send-DWnqhh6N.js} +10 -10
- package/dist/plugin-sdk/{send-CiTMY1uN.js → send-Du8i1Fom.js} +7 -7
- package/dist/plugin-sdk/{send-b1mZbvoC.js → send-Fch4vj7_.js} +6 -6
- package/dist/plugin-sdk/{session-DBbj6znF.js → session-PaIae3bL.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cu6XAfOe.js → skill-commands-CNFldYrK.js} +5 -5
- package/dist/plugin-sdk/{skills-BTu_-5jA.js → skills-CJCz6K_W.js} +7 -7
- package/dist/plugin-sdk/slack/monitor/events/channels.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events/members.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events/pins.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events/reactions.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events.d.ts +2 -0
- package/dist/plugin-sdk/slack/monitor/message-handler.d.ts +2 -0
- package/dist/plugin-sdk/slack/monitor/provider.d.ts +6 -0
- package/dist/plugin-sdk/slack/monitor/replies.d.ts +2 -0
- package/dist/plugin-sdk/slack/monitor/types.d.ts +4 -0
- package/dist/plugin-sdk/slack/threading.d.ts +9 -0
- package/dist/plugin-sdk/{sqlite-CH3lxc5D.js → sqlite-Bmy459sE.js} +1 -1
- package/dist/plugin-sdk/{store-DDOdV26p.js → store-B_h0hmNL.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DoAZkah-.js → subsystem-DJYuxViY.js} +1 -1
- package/dist/plugin-sdk/{tables-DAJbUPhT.js → tables-DCBJv1Oa.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CeKndUCY.js → target-errors-gEAboF7P.js} +2 -2
- package/dist/plugin-sdk/{thinking-lC2HmTea.js → thinking-D8Se3YVf.js} +5 -5
- package/dist/plugin-sdk/{tokens-Dag82kdi.js → tokens-Cx0xANZO.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D_St2NkT.js → tool-images-CIoUqeS9.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BAz1GNFQ.js → tool-loop-detection-B_Opna2S.js} +2 -2
- package/dist/plugin-sdk/web-HBE7hmNI.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CicFq_6w.js → whatsapp-actions-DqfQYPke.js} +21 -21
- package/dist/{plugins-DufH79A4.js → plugins-BYw4LpqC.js} +2 -2
- package/dist/{plugins-cli-CmrER-zr.js → plugins-cli-CKU99tGc.js} +71 -71
- package/dist/{plugins-cli-B03aSLgf.js → plugins-cli-DBrRLw_b.js} +4 -4
- package/dist/{ports-tyVdO5z0.js → ports-CJyNmOL8.js} +2 -2
- package/dist/{ports-B6fsVJW2.js → ports-CbYVfAGi.js} +1 -1
- package/dist/{program-Djk08-l7.js → program-CuRfrHul.js} +9 -9
- package/dist/{program-context-DlRS1tcr.js → program-context-Ct_MVt2A.js} +40 -40
- package/dist/{prompt-select-styled-CMszn2hx.js → prompt-select-styled-BhdDmaM8.js} +4 -4
- package/dist/{prompt-select-styled-JkMJPt68.js → prompt-select-styled-Cb9hZTTU.js} +37 -37
- package/dist/{provider-auth-helpers-ZV7-WRyR.js → provider-auth-helpers-B7bEwRrS.js} +5 -5
- package/dist/{provider-auth-helpers-36LOZ6SL.js → provider-auth-helpers-CPkc9hAj.js} +1 -1
- package/dist/{push-apns-Cm-ZTdUp.js → push-apns-BqDXb4kj.js} +4 -4
- package/dist/{push-apns-TUUEPpx1.js → push-apns-Cor1JBvm.js} +1 -1
- package/dist/{pw-ai-Dp9c5KD_.js → pw-ai-BLLeU82T.js} +1 -1
- package/dist/{pw-ai-fTf_Sq93.js → pw-ai-CWMnNfVs.js} +7 -7
- package/dist/{qmd-manager-CNVBA7OI.js → qmd-manager-D72OxpMn.js} +18 -18
- package/dist/{qr-cli-BQpNL00w.js → qr-cli-jnAlWxJ1.js} +1 -1
- package/dist/{register.agent-7Pku8mId.js → register.agent-BY4qQIyM.js} +81 -81
- package/dist/{register.agent-DsFrb0R7.js → register.agent-CPhQWbIL.js} +8 -8
- package/dist/register.configure-CtqFfgvY.js +147 -0
- package/dist/{register.configure-BMfcA9Sh.js → register.configure-d_7CE6cU.js} +8 -8
- package/dist/{register.maintenance-DfoSO5fo.js → register.maintenance-BiQeKBPQ.js} +84 -84
- package/dist/{register.maintenance-BFSQHBgH.js → register.maintenance-CQVF8TPW.js} +10 -10
- package/dist/{register.message-C-5P7V4g.js → register.message-5XIQHlJd.js} +4 -4
- package/dist/{register.message-BTCpZ8RW.js → register.message-CprmJPCV.js} +63 -63
- package/dist/{register.onboard-CVXaGmEF.js → register.onboard-D4hhxM8J.js} +6 -6
- package/dist/{register.onboard-CTO-qkWZ.js → register.onboard-DpvOjkyQ.js} +74 -74
- package/dist/{register.setup-BzaCK19n.js → register.setup-D3PpeeN2.js} +6 -6
- package/dist/{register.setup-Dg1Ud7ox.js → register.setup-MPlYCmF_.js} +77 -77
- package/dist/{register.status-health-sessions-DjwY1WQe.js → register.status-health-sessions-BE5frGYt.js} +5 -5
- package/dist/{register.status-health-sessions-IymXWaoK.js → register.status-health-sessions-BUzgM9fv.js} +75 -75
- package/dist/{register.subclis-Bw1N3fIn.js → register.subclis-BVUvjO4p.js} +9 -9
- package/dist/{replies-MVPArv-r.js → replies-9ipbTXMP.js} +5 -4
- package/dist/{replies-DtFxhHfI.js → replies-BCd0AxfK.js} +5 -4
- package/dist/{replies-DKKNtkun.js → replies-BVBgaEtE.js} +5 -4
- package/dist/{replies-DhmTgroV.js → replies-CSjH2EQ6.js} +5 -4
- package/dist/{reply-pTxrsMtG.js → reply-C7XZ5Kp3.js} +325 -168
- package/dist/{reply-prefix-CbuTBmdm.js → reply-prefix-CJc9NzGX.js} +1 -1
- package/dist/{resolve-route-DuqgZ7wS.js → resolve-route-C5pUt_LC.js} +2 -2
- package/dist/{routes-Bh-1i4ub.js → routes-BgjaVwmu.js} +8 -8
- package/dist/{rpc-RAW16k0Y.js → rpc-DrpAw2Te.js} +1 -1
- package/dist/{run-main-DnYUey0K.js → run-main-CmSuw5Re.js} +16 -16
- package/dist/{runner-CLY-9j7g.js → runner-CcRtHLpd.js} +1 -1
- package/dist/{runner-CXGYviGa.js → runner-fLI-fZ-v.js} +20 -20
- package/dist/{sandbox-Dbz4ladn.js → sandbox-B1lVufmT.js} +18 -18
- package/dist/{sandbox-cli-Dx1942n8.js → sandbox-cli--odc2cPK.js} +20 -20
- package/dist/{security-cli-Ci7ujUBk.js → security-cli-s6yE26pJ.js} +36 -36
- package/dist/{send-CTGeWUSD.js → send-B3u53ZAu.js} +20 -1
- package/dist/{send-i695V0Ow.js → send-BilxFvrd.js} +13 -13
- package/dist/{send-Cr8R-bMi.js → send-CAuzoyQe.js} +20 -1
- package/dist/{send-D_FU_HIa.js → send-D6r6s6Nf.js} +20 -1
- package/dist/{send-H5TFGeHl.js → send-DAb8zkAc.js} +6 -6
- package/dist/{send-ElgbtTa_.js → send-UJWeL6fz.js} +6 -6
- package/dist/{send-BGmblGeb.js → send-YdmCYGSj.js} +6 -6
- package/dist/{send-CKGUBMnM.js → send-_y-b5SXH.js} +24 -5
- package/dist/{server-context-BN_KGt0e.js → server-context-DFBpyKBE.js} +5 -5
- package/dist/{server-node-events-Dhbdspn_.js → server-node-events-DeVBy3RG.js} +4 -4
- package/dist/{server-node-events-DQYNf8b_.js → server-node-events-E7ENYs3y.js} +63 -63
- package/dist/{service-x8sNoic1.js → service-Bs5m4_g0.js} +15 -15
- package/dist/{session-SFd4vyTd.js → session-Gi1pc_jn.js} +2 -2
- package/dist/{session-dirs-DoK1aPxY.js → session-dirs-DMMeC5kT.js} +1 -1
- package/dist/{session-dirs-CFHymbM9.js → session-dirs-Dz06Isny.js} +16 -16
- package/dist/{sessions-CwvGRwvW.js → sessions-fj33u4f-.js} +13 -13
- package/dist/{shared-BlqeHl3I.js → shared-BYm87AKE.js} +1 -1
- package/dist/{shared-D-u4KNkt.js → shared-Btbxw_J6.js} +3 -3
- package/dist/{skill-commands-VCmL7mMC.js → skill-commands-27Clp6Hw.js} +5 -5
- package/dist/{skill-scanner-CMBwwxis.js → skill-scanner-BRf3FyA6.js} +5 -5
- package/dist/{skills-DhT6my9R.js → skills-DO1RiQMB.js} +4 -4
- package/dist/{skills-cli-AXXW1-ib.js → skills-cli-D8Z6O8tz.js} +7 -7
- package/dist/{skills-install-CHhkAUEW.js → skills-install-D2uuaBF9.js} +3 -3
- package/dist/{skills-status-B90dNffv.js → skills-status-C9NLYboA.js} +1 -1
- package/dist/{sqlite-CzeIEe5A.js → sqlite-DCO2j-0b.js} +12 -12
- package/dist/{status-KRRAxPjg.js → status-DQmoPN3T.js} +25 -25
- package/dist/{status-D32_SxwC.js → status-DUJLCUGg.js} +2 -2
- package/dist/{status-C-PQHlxh.js → status-Di2Pqiji.js} +1 -1
- package/dist/{status-CFnZ8E56.js → status-DppGMZ2s.js} +3 -3
- package/dist/{status.update-BdxnLoXT.js → status.update-CkYiGnzE.js} +3 -3
- package/dist/{store-YBnR7qvG.js → store-CLuh0zX0.js} +5 -5
- package/dist/{subagent-registry-DkjybHrK.js → subagent-registry-D3Pj0bnZ.js} +200 -43
- package/dist/{system-cli-CNufxt6H.js → system-cli-DQpLuBbA.js} +11 -11
- package/dist/{systemd-_79iBiaB.js → systemd-Blg-bgkO.js} +5 -5
- package/dist/{systemd-hints--ykZ9med.js → systemd-hints-pRBdkBPI.js} +6 -6
- package/dist/{systemd-linger--ZF5kAeJ.js → systemd-linger-DqOrhpC-.js} +1 -1
- package/dist/{tables-LYKSFoqx.js → tables-DhRyfXvl.js} +1 -1
- package/dist/{target-errors-BrrPOPT5.js → target-errors-DKUMw1tA.js} +4 -4
- package/dist/{tool-images-BCkPMulQ.js → tool-images-Cdj7iZ0t.js} +1 -1
- package/dist/{tui-BfllwI0b.js → tui-DbvXHepE.js} +7 -7
- package/dist/{tui-cli-DM4ahQxS.js → tui-cli-CIqa9qRn.js} +28 -28
- package/dist/{update-BNGNVRaT.js → update-CqhqeDij.js} +3 -3
- package/dist/{update-check-CEFJiPeh.js → update-check-DOy5cGkD.js} +5 -5
- package/dist/{update-cli-DXd4fNuS.js → update-cli-CsicqPiK.js} +10 -10
- package/dist/{update-cli-DMrRvy-m.js → update-cli-DJIsdQeJ.js} +94 -94
- package/dist/{web-Dsgry4ji.js → web-DRLO5z6-.js} +3 -3
- package/dist/{web-IfDcZx01.js → web-DShT68Ix.js} +3 -3
- package/dist/{web-DCNwbuhj.js → web-EGziWSH9.js} +8 -8
- package/dist/web-lXypZuaq.js +109 -0
- package/dist/{webhooks-cli-Ay0jR658.js → webhooks-cli-BJ1WiH3W.js} +4 -4
- package/dist/{whatsapp-actions-Dsvkb9dr.js → whatsapp-actions-lSqVUZ_h.js} +15 -15
- package/dist/{with-timeout-n3bwhefQ.js → with-timeout-OwJVCBFG.js} +1 -1
- package/dist/{workspace-dirs-DbX5fBAC.js → workspace-dirs-CuYuE5F1.js} +1 -1
- package/dist/{wsl-C4424szg.js → wsl-BbXxnokd.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-BlY2wNrk.js +0 -65
- package/dist/register.configure-CJ6IYgGS.js +0 -147
- package/dist/web-CCqlC0N_.js +0 -109
|
@@ -5,7 +5,7 @@ import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/plugins/account-helpers.ts
|
|
11
11
|
function createAccountListHelpers(channelKey) {
|
|
@@ -86,14 +86,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
86
86
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
87
87
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
88
88
|
try {
|
|
89
|
-
await
|
|
89
|
+
await fsPromises.access(resolvedAuthDir);
|
|
90
90
|
} catch {
|
|
91
91
|
return false;
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
94
|
-
const stats = await
|
|
94
|
+
const stats = await fsPromises.stat(credsPath);
|
|
95
95
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
96
|
-
const raw = await
|
|
96
|
+
const raw = await fsPromises.readFile(credsPath, "utf-8");
|
|
97
97
|
JSON.parse(raw);
|
|
98
98
|
return true;
|
|
99
99
|
} catch {
|
|
@@ -101,7 +101,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
104
|
-
const entries = await
|
|
104
|
+
const entries = await fsPromises.readdir(authDir, { withFileTypes: true });
|
|
105
105
|
const shouldDelete = (name) => {
|
|
106
106
|
if (name === "oauth.json") return false;
|
|
107
107
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -111,7 +111,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
111
111
|
await Promise.all(entries.map(async (entry) => {
|
|
112
112
|
if (!entry.isFile()) return;
|
|
113
113
|
if (!shouldDelete(entry.name)) return;
|
|
114
|
-
await
|
|
114
|
+
await fsPromises.rm(path.join(authDir, entry.name), { force: true });
|
|
115
115
|
}));
|
|
116
116
|
}
|
|
117
117
|
async function logoutWeb(params) {
|
|
@@ -122,7 +122,7 @@ async function logoutWeb(params) {
|
|
|
122
122
|
return false;
|
|
123
123
|
}
|
|
124
124
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
125
|
-
else await
|
|
125
|
+
else await fsPromises.rm(resolvedAuthDir, {
|
|
126
126
|
recursive: true,
|
|
127
127
|
force: true
|
|
128
128
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as normalizeAccountId } from "./session-key-DCt45XZa.js";
|
|
2
|
-
import { h as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { h as createAccountListHelpers } from "./accounts-D8ryuxvJ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as normalizeAccountId } from "./session-key-DCt45XZa.js";
|
|
2
|
-
import { h as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { h as createAccountListHelpers } from "./accounts-D8ryuxvJ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -3,19 +3,19 @@ import { B as theme, S as shortenHomePath, y as resolveUserPath } from "./utils-
|
|
|
3
3
|
import "./registry-lBbEkQ26.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
5
5
|
import "./exec-DwGfeG8v.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import "./agent-scope-B6jLdNuI.js";
|
|
7
|
+
import "./model-selection-C1pdWy7b.js";
|
|
8
8
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./env-C9RBJHeg.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DzkrSzpL.js";
|
|
12
|
-
import { H as VERSION, i as loadConfig } from "./config-
|
|
12
|
+
import { H as VERSION, i as loadConfig } from "./config-JupjCURB.js";
|
|
13
13
|
import "./manifest-registry-YRUqEw3J.js";
|
|
14
14
|
import "./tailscale-CuVYhW-O.js";
|
|
15
15
|
import { a as resolveGatewayAuth } from "./auth-CxiLRCJi.js";
|
|
16
|
-
import { t as GatewayClient } from "./client-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import "./pairing-token-
|
|
16
|
+
import { t as GatewayClient } from "./client-BW8Wuj5N.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-CYa4YbMh.js";
|
|
18
|
+
import "./pairing-token-DAVfcYo5.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
20
20
|
import { t as isMainModule } from "./is-main-DrpmTCqv.js";
|
|
21
21
|
import { t as ensureOpenClawCliOnPath } from "./path-env-W6noyCja.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import { S as parseAgentSessionKey, b as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isSubagentSessionKey } from "./session-key-DCt45XZa.js";
|
|
4
|
-
import { i as normalizeSkillFilter, t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
4
|
+
import { i as normalizeSkillFilter, t as resolveOpenClawPackageRoot } from "./openclaw-root-CbWxAStx.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-DwGfeG8v.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/workspace-templates.ts
|
|
12
12
|
const FALLBACK_TEMPLATE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../docs/reference/templates");
|
|
@@ -73,10 +73,10 @@ const workspaceFileCache = /* @__PURE__ */ new Map();
|
|
|
73
73
|
*/
|
|
74
74
|
async function readFileWithCache(filePath) {
|
|
75
75
|
try {
|
|
76
|
-
const mtimeMs = (await
|
|
76
|
+
const mtimeMs = (await fsPromises.stat(filePath)).mtimeMs;
|
|
77
77
|
const cached = workspaceFileCache.get(filePath);
|
|
78
78
|
if (cached && cached.mtimeMs === mtimeMs) return cached.content;
|
|
79
|
-
const content = await
|
|
79
|
+
const content = await fsPromises.readFile(filePath, "utf-8");
|
|
80
80
|
workspaceFileCache.set(filePath, {
|
|
81
81
|
content,
|
|
82
82
|
mtimeMs
|
|
@@ -103,7 +103,7 @@ async function loadTemplate(name) {
|
|
|
103
103
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
104
104
|
const templatePath = path.join(templateDir, name);
|
|
105
105
|
try {
|
|
106
|
-
return stripFrontMatter(await
|
|
106
|
+
return stripFrontMatter(await fsPromises.readFile(templatePath, "utf-8"));
|
|
107
107
|
} catch {
|
|
108
108
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
109
109
|
}
|
|
@@ -118,7 +118,7 @@ async function loadTemplate(name) {
|
|
|
118
118
|
}
|
|
119
119
|
async function writeFileIfMissing(filePath, content) {
|
|
120
120
|
try {
|
|
121
|
-
await
|
|
121
|
+
await fsPromises.writeFile(filePath, content, {
|
|
122
122
|
encoding: "utf-8",
|
|
123
123
|
flag: "wx"
|
|
124
124
|
});
|
|
@@ -130,7 +130,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
130
130
|
}
|
|
131
131
|
async function fileExists(filePath) {
|
|
132
132
|
try {
|
|
133
|
-
await
|
|
133
|
+
await fsPromises.access(filePath);
|
|
134
134
|
return true;
|
|
135
135
|
} catch {
|
|
136
136
|
return false;
|
|
@@ -154,7 +154,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
154
154
|
}
|
|
155
155
|
async function readWorkspaceOnboardingState(statePath) {
|
|
156
156
|
try {
|
|
157
|
-
return parseWorkspaceOnboardingState(await
|
|
157
|
+
return parseWorkspaceOnboardingState(await fsPromises.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
158
158
|
} catch (err) {
|
|
159
159
|
if (err.code !== "ENOENT") throw err;
|
|
160
160
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -168,20 +168,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
168
168
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
169
169
|
}
|
|
170
170
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
171
|
-
await
|
|
171
|
+
await fsPromises.mkdir(path.dirname(statePath), { recursive: true });
|
|
172
172
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
173
173
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
174
174
|
try {
|
|
175
|
-
await
|
|
176
|
-
await
|
|
175
|
+
await fsPromises.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
176
|
+
await fsPromises.rename(tmpPath, statePath);
|
|
177
177
|
} catch (err) {
|
|
178
|
-
await
|
|
178
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
179
179
|
throw err;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
async function hasGitRepo(dir) {
|
|
183
183
|
try {
|
|
184
|
-
await
|
|
184
|
+
await fsPromises.stat(path.join(dir, ".git"));
|
|
185
185
|
return true;
|
|
186
186
|
} catch {
|
|
187
187
|
return false;
|
|
@@ -211,7 +211,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
211
211
|
}
|
|
212
212
|
async function ensureAgentWorkspace(params) {
|
|
213
213
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
214
|
-
await
|
|
214
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
215
215
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
216
216
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
217
217
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -232,7 +232,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
232
232
|
];
|
|
233
233
|
return (await Promise.all(paths.map(async (p) => {
|
|
234
234
|
try {
|
|
235
|
-
await
|
|
235
|
+
await fsPromises.access(p);
|
|
236
236
|
return true;
|
|
237
237
|
} catch {
|
|
238
238
|
return false;
|
|
@@ -265,7 +265,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
265
265
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
266
266
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
267
267
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
268
|
-
const [identityContent, userContent] = await Promise.all([
|
|
268
|
+
const [identityContent, userContent] = await Promise.all([fsPromises.readFile(identityPath, "utf-8"), fsPromises.readFile(userPath, "utf-8")]);
|
|
269
269
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
270
270
|
else {
|
|
271
271
|
if (!await writeFileIfMissing(bootstrapPath, await loadTemplate(DEFAULT_BOOTSTRAP_FILENAME))) bootstrapExists = await fileExists(bootstrapPath);
|
|
@@ -292,7 +292,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
292
292
|
for (const name of candidates) {
|
|
293
293
|
const filePath = path.join(resolvedDir, name);
|
|
294
294
|
try {
|
|
295
|
-
await
|
|
295
|
+
await fsPromises.access(filePath);
|
|
296
296
|
entries.push({
|
|
297
297
|
name,
|
|
298
298
|
filePath
|
|
@@ -305,7 +305,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
305
305
|
for (const entry of entries) {
|
|
306
306
|
let key = entry.filePath;
|
|
307
307
|
try {
|
|
308
|
-
key = await
|
|
308
|
+
key = await fsPromises.realpath(entry.filePath);
|
|
309
309
|
} catch {}
|
|
310
310
|
if (seen.has(key)) continue;
|
|
311
311
|
seen.add(key);
|
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-D-HPYIga.js";
|
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
6
6
|
import { _ as DEFAULT_IDENTITY_FILENAME, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CRYIvJeA.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-BIssvwa3.js";
|
|
8
|
-
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-D3Pj0bnZ.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-z3bMeGdF.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BOr3T_72.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-xm_EZevL.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-ByvTQBsU.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
|
|
15
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels } from "./onboard-channels-CrfL2B6W.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-BQzBhKoW.js";
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-bQuerf1-.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-q9BYdIYy.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DF6R_pgV.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-CNEPjZq2.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-C7XZ5Kp3.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-
|
|
3
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-B6jLdNuI.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DjZ7Z1hW.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CRYIvJeA.js";
|
|
3
|
-
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-
|
|
3
|
+
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-D3Pj0bnZ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -4,51 +4,51 @@ import "./thinking-EAliFiVK.js";
|
|
|
4
4
|
import "./registry-lBbEkQ26.js";
|
|
5
5
|
import "./subsystem-Cu1fn6xi.js";
|
|
6
6
|
import "./exec-DwGfeG8v.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
7
|
+
import "./agent-scope-B6jLdNuI.js";
|
|
8
|
+
import "./model-selection-C1pdWy7b.js";
|
|
9
9
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-C9RBJHeg.js";
|
|
12
12
|
import "./message-channel-DzkrSzpL.js";
|
|
13
|
-
import "./config-
|
|
13
|
+
import "./config-JupjCURB.js";
|
|
14
14
|
import "./manifest-registry-YRUqEw3J.js";
|
|
15
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-
|
|
16
|
-
import "./image-
|
|
17
|
-
import "./models-config-
|
|
15
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-fLI-fZ-v.js";
|
|
16
|
+
import "./image-DtVdv4CQ.js";
|
|
17
|
+
import "./models-config-BVp1ZtTh.js";
|
|
18
18
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
19
|
-
import "./pi-embedded-helpers-
|
|
20
|
-
import "./sandbox-
|
|
21
|
-
import "./chrome-
|
|
19
|
+
import "./pi-embedded-helpers-B9uwWqnh.js";
|
|
20
|
+
import "./sandbox-B1lVufmT.js";
|
|
21
|
+
import "./chrome-BlXdvPOB.js";
|
|
22
22
|
import "./tailscale-CuVYhW-O.js";
|
|
23
23
|
import "./auth-CxiLRCJi.js";
|
|
24
|
-
import "./server-context-
|
|
24
|
+
import "./server-context-DFBpyKBE.js";
|
|
25
25
|
import "./frontmatter-C_R2lwvR.js";
|
|
26
|
-
import "./skills-
|
|
27
|
-
import "./routes-
|
|
26
|
+
import "./skills-DO1RiQMB.js";
|
|
27
|
+
import "./routes-BgjaVwmu.js";
|
|
28
28
|
import "./redact-f-Q-hFt_.js";
|
|
29
29
|
import "./errors-BF3TeRH2.js";
|
|
30
|
-
import "./fs-safe-
|
|
31
|
-
import "./paths-
|
|
30
|
+
import "./fs-safe-CTDvb1DF.js";
|
|
31
|
+
import "./paths-BsnfCNkx.js";
|
|
32
32
|
import "./ssrf-BCYMnxkM.js";
|
|
33
|
-
import "./image-ops-
|
|
34
|
-
import "./store-
|
|
35
|
-
import "./ports-
|
|
33
|
+
import "./image-ops-Uvt51OHH.js";
|
|
34
|
+
import "./store-CLuh0zX0.js";
|
|
35
|
+
import "./ports-CJyNmOL8.js";
|
|
36
36
|
import "./trash-C46e9E61.js";
|
|
37
|
-
import "./sessions-
|
|
38
|
-
import "./dock-
|
|
39
|
-
import "./plugins-
|
|
40
|
-
import "./accounts-
|
|
41
|
-
import "./accounts-
|
|
42
|
-
import "./accounts-
|
|
43
|
-
import "./bindings-
|
|
37
|
+
import "./sessions-fj33u4f-.js";
|
|
38
|
+
import "./dock-CX_o0bdi.js";
|
|
39
|
+
import "./plugins-BYw4LpqC.js";
|
|
40
|
+
import "./accounts-D8ryuxvJ.js";
|
|
41
|
+
import "./accounts-E1DMCEDO.js";
|
|
42
|
+
import "./accounts-Dl14M6E6.js";
|
|
43
|
+
import "./bindings-D_90DJ1-.js";
|
|
44
44
|
import "./logging-w5jq5901.js";
|
|
45
45
|
import "./paths-C6eomcf_.js";
|
|
46
|
-
import "./tool-images-
|
|
46
|
+
import "./tool-images-Cdj7iZ0t.js";
|
|
47
47
|
import "./tool-display-2OmEbBUF.js";
|
|
48
48
|
import "./fetch-guard-w97sP7Hz.js";
|
|
49
|
-
import "./api-key-rotation-
|
|
50
|
-
import "./local-roots-
|
|
51
|
-
import "./model-catalog-
|
|
49
|
+
import "./api-key-rotation-ddrC-1k5.js";
|
|
50
|
+
import "./local-roots-25wkka6O.js";
|
|
51
|
+
import "./model-catalog-CzLbr1ZD.js";
|
|
52
52
|
|
|
53
53
|
//#region src/media-understanding/audio-preflight.ts
|
|
54
54
|
/**
|
|
@@ -14,10 +14,10 @@ import "./model-auth-CZJx4V2b.js";
|
|
|
14
14
|
import "./github-copilot-token-Dgb9dAHW.js";
|
|
15
15
|
import "./pi-model-discovery-DaNAekda.js";
|
|
16
16
|
import "./message-channel-iIguLnrh.js";
|
|
17
|
-
import "./pi-embedded-helpers-
|
|
17
|
+
import "./pi-embedded-helpers-HnqhrewN.js";
|
|
18
18
|
import "./config-CAG6tF2v.js";
|
|
19
19
|
import "./manifest-registry-DIrjGjR5.js";
|
|
20
|
-
import "./chrome-
|
|
20
|
+
import "./chrome-DAmaIuXa.js";
|
|
21
21
|
import "./frontmatter-CdkBcBAo.js";
|
|
22
22
|
import "./skills-CshrABO7.js";
|
|
23
23
|
import "./redact-jSxx6Ep2.js";
|
|
@@ -28,10 +28,10 @@ import "./thinking-TlG86rbX.js";
|
|
|
28
28
|
import "./accounts-B3-U7ptq.js";
|
|
29
29
|
import "./paths-BEAbheM8.js";
|
|
30
30
|
import "./tool-images-zWf2wdvF.js";
|
|
31
|
-
import "./image-
|
|
31
|
+
import "./image-DL65NdIM.js";
|
|
32
32
|
import "./gemini-auth-CEx7Gd8x.js";
|
|
33
33
|
import "./local-roots-nQ6A1U7J.js";
|
|
34
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
34
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-CcRtHLpd.js";
|
|
35
35
|
|
|
36
36
|
//#region src/media-understanding/audio-preflight.ts
|
|
37
37
|
/**
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
3
|
import { n as runExec } from "./exec-DwGfeG8v.js";
|
|
4
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-B6jLdNuI.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DzkrSzpL.js";
|
|
7
|
-
import { I as INCLUDE_KEY, L as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
7
|
+
import { I as INCLUDE_KEY, L as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-JupjCURB.js";
|
|
8
8
|
import { u as normalizePluginsConfig } from "./manifest-registry-YRUqEw3J.js";
|
|
9
9
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-u6U1_9U0.js";
|
|
10
|
-
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
10
|
+
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-B1lVufmT.js";
|
|
11
11
|
import { a as resolveGatewayAuth } from "./auth-CxiLRCJi.js";
|
|
12
|
-
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-
|
|
13
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
12
|
+
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-DFBpyKBE.js";
|
|
13
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-DO1RiQMB.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
15
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
16
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
17
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
18
|
-
import { t as GatewayClient } from "./client-
|
|
19
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
20
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
21
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
22
|
-
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
15
|
+
import { l as normalizeStringEntries } from "./dock-CX_o0bdi.js";
|
|
16
|
+
import { n as listChannelPlugins } from "./plugins-BYw4LpqC.js";
|
|
17
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-KvUzKZ-E.js";
|
|
18
|
+
import { t as GatewayClient } from "./client-BW8Wuj5N.js";
|
|
19
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-CYa4YbMh.js";
|
|
20
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BzMeXbOB.js";
|
|
21
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-CuYuE5F1.js";
|
|
22
|
+
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-BU3gaxu3.js";
|
|
23
23
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-BL-M3lPt.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
|
|
25
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
25
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-BRf3FyA6.js";
|
|
26
26
|
import { n as normalizeTelegramAllowFromEntry, t as isNumericTelegramUserId } from "./allow-from-C4p9SsVb.js";
|
|
27
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
27
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-CysWxa2H.js";
|
|
28
28
|
import { t as inferParamBFromIdOrName } from "./model-param-b-D1rP7U2U.js";
|
|
29
29
|
import os from "node:os";
|
|
30
30
|
import path from "node:path";
|
|
31
31
|
import JSON5 from "json5";
|
|
32
|
-
import * as fs
|
|
33
|
-
import
|
|
32
|
+
import * as fs from "node:fs/promises";
|
|
33
|
+
import fsPromises from "node:fs/promises";
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
35
35
|
|
|
36
36
|
//#region src/gateway/probe.ts
|
|
@@ -1209,7 +1209,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1209
1209
|
if (visited.has(resolved)) continue;
|
|
1210
1210
|
visited.add(resolved);
|
|
1211
1211
|
result.push(resolved);
|
|
1212
|
-
const rawText = await fs
|
|
1212
|
+
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1213
1213
|
if (!rawText) continue;
|
|
1214
1214
|
const nestedParsed = (() => {
|
|
1215
1215
|
try {
|
|
@@ -1388,7 +1388,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
1388
1388
|
//#region src/security/audit-fs.ts
|
|
1389
1389
|
async function safeStat(targetPath) {
|
|
1390
1390
|
try {
|
|
1391
|
-
const lst = await
|
|
1391
|
+
const lst = await fsPromises.lstat(targetPath);
|
|
1392
1392
|
return {
|
|
1393
1393
|
ok: true,
|
|
1394
1394
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -1427,7 +1427,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
1427
1427
|
let effectiveMode = st.mode;
|
|
1428
1428
|
let effectiveIsDir = st.isDir;
|
|
1429
1429
|
if (st.isSymlink) try {
|
|
1430
|
-
const target = await
|
|
1430
|
+
const target = await fsPromises.stat(targetPath);
|
|
1431
1431
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
1432
1432
|
effectiveIsDir = target.isDirectory();
|
|
1433
1433
|
} catch {}
|
|
@@ -1530,7 +1530,7 @@ function expandTilde(p, env) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1532
1532
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1533
|
-
const raw = await
|
|
1533
|
+
const raw = await fsPromises.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1534
1534
|
if (!raw.trim()) return [];
|
|
1535
1535
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1536
1536
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1552,7 +1552,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1552
1552
|
};
|
|
1553
1553
|
return {
|
|
1554
1554
|
extensionsDir,
|
|
1555
|
-
pluginDirs: (await
|
|
1555
|
+
pluginDirs: (await fsPromises.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1556
1556
|
params.onReadError?.(err);
|
|
1557
1557
|
return [];
|
|
1558
1558
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1615,7 +1615,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
async function readInstalledPackageVersion(dir) {
|
|
1617
1617
|
try {
|
|
1618
|
-
const raw = await
|
|
1618
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1619
1619
|
const parsed = JSON.parse(raw);
|
|
1620
1620
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1621
1621
|
} catch {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-
|
|
3
|
-
import { At as ensureAuthProfileStore, Ft as resolveOpenClawAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, M as VENICE_DEFAULT_MODEL_REF, Ot as upsertAuthProfile, St as parseOAuthCallbackInput, Tt as listProfilesForProvider, Y as resolveEnvApiKey, bt as exchangeChutesCodeForTokens, ct as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, ft as resolveAuthProfileOrder, ot as discoverHuggingfaceModels, p as resolveConfiguredModelRef, st as isHuggingfacePolicyLocked, xt as generateChutesPkce, yt as CHUTES_AUTHORIZE_ENDPOINT, z as SYNTHETIC_DEFAULT_MODEL_REF } from "./model-selection-
|
|
2
|
+
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-B6jLdNuI.js";
|
|
3
|
+
import { At as ensureAuthProfileStore, Ft as resolveOpenClawAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, M as VENICE_DEFAULT_MODEL_REF, Ot as upsertAuthProfile, St as parseOAuthCallbackInput, Tt as listProfilesForProvider, Y as resolveEnvApiKey, bt as exchangeChutesCodeForTokens, ct as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, ft as resolveAuthProfileOrder, ot as discoverHuggingfaceModels, p as resolveConfiguredModelRef, st as isHuggingfacePolicyLocked, xt as generateChutesPkce, yt as CHUTES_AUTHORIZE_ENDPOINT, z as SYNTHETIC_DEFAULT_MODEL_REF } from "./model-selection-C1pdWy7b.js";
|
|
4
4
|
import { r as isLoopbackHost } from "./ws-C7EXRv8z.js";
|
|
5
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
6
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-CzLbr1ZD.js";
|
|
6
|
+
import { f as openUrl } from "./onboard-helpers-C2-IAGyl.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.js";
|
|
8
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-
|
|
9
|
-
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-
|
|
10
|
-
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
11
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
8
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-Il_1hz__.js";
|
|
9
|
+
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-B7bEwRrS.js";
|
|
10
|
+
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-DagaQbb0.js";
|
|
11
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-bpc3jJ5m.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
13
13
|
import { loginOpenAICodex } from "@mariozechner/pi-ai/oauth";
|
|
14
14
|
import { createServer } from "node:http";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-uXi_S3Cn.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-xm_EZevL.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CknE1f0w.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-C2wn_hbZ.js";
|
|
9
|
-
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-
|
|
9
|
+
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-CPkc9hAj.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-ZKgFcN18.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-D0ct-Y1I.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
|
|
2
|
-
import { B as SYNTHETIC_MODEL_CATALOG, C as buildKimiCodingProvider, F as TOGETHER_BASE_URL, Ft as resolveOpenClawAgentDir, I as TOGETHER_MODEL_CATALOG, L as buildTogetherModelDefinition, M as VENICE_DEFAULT_MODEL_REF, N as VENICE_MODEL_CATALOG, Ot as upsertAuthProfile, P as buildVeniceModelDefinition, R as SYNTHETIC_BASE_URL, S as XIAOMI_DEFAULT_MODEL_ID, T as buildXiaomiProvider, V as buildSyntheticModelDefinition, at as buildHuggingfaceModelDefinition, b as QIANFAN_BASE_URL, ct as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, it as HUGGINGFACE_MODEL_CATALOG, j as VENICE_BASE_URL, l as normalizeProviderId, lt as buildCloudflareAiGatewayModelDefinition, rt as HUGGINGFACE_BASE_URL, ut as resolveCloudflareAiGatewayBaseUrl, w as buildQianfanProvider, x as QIANFAN_DEFAULT_MODEL_ID, z as SYNTHETIC_DEFAULT_MODEL_REF } from "./model-selection-
|
|
2
|
+
import { B as SYNTHETIC_MODEL_CATALOG, C as buildKimiCodingProvider, F as TOGETHER_BASE_URL, Ft as resolveOpenClawAgentDir, I as TOGETHER_MODEL_CATALOG, L as buildTogetherModelDefinition, M as VENICE_DEFAULT_MODEL_REF, N as VENICE_MODEL_CATALOG, Ot as upsertAuthProfile, P as buildVeniceModelDefinition, R as SYNTHETIC_BASE_URL, S as XIAOMI_DEFAULT_MODEL_ID, T as buildXiaomiProvider, V as buildSyntheticModelDefinition, at as buildHuggingfaceModelDefinition, b as QIANFAN_BASE_URL, ct as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, it as HUGGINGFACE_MODEL_CATALOG, j as VENICE_BASE_URL, l as normalizeProviderId, lt as buildCloudflareAiGatewayModelDefinition, rt as HUGGINGFACE_BASE_URL, ut as resolveCloudflareAiGatewayBaseUrl, w as buildQianfanProvider, x as QIANFAN_DEFAULT_MODEL_ID, z as SYNTHETIC_DEFAULT_MODEL_REF } from "./model-selection-C1pdWy7b.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as isRich, Ot as theme, h as visibleWidth, un as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { sn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { sn as resolveCommitHash } from "./subagent-registry-D3Pj0bnZ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one OpenClaw.";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as normalizeAccountId, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
2
2
|
import { u as normalizeChatChannelId } from "./registry-lBbEkQ26.js";
|
|
3
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-B6jLdNuI.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -3,29 +3,29 @@ import { B as theme, O as danger, S as shortenHomePath, k as info } from "./util
|
|
|
3
3
|
import "./registry-lBbEkQ26.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
5
5
|
import "./exec-DwGfeG8v.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import "./agent-scope-B6jLdNuI.js";
|
|
7
|
+
import "./model-selection-C1pdWy7b.js";
|
|
8
8
|
import "./github-copilot-token-D2zp6kMZ.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-C9RBJHeg.js";
|
|
12
12
|
import "./message-channel-DzkrSzpL.js";
|
|
13
|
-
import { i as loadConfig } from "./config-
|
|
13
|
+
import { i as loadConfig } from "./config-JupjCURB.js";
|
|
14
14
|
import "./manifest-registry-YRUqEw3J.js";
|
|
15
15
|
import "./redact-f-Q-hFt_.js";
|
|
16
16
|
import "./errors-BF3TeRH2.js";
|
|
17
|
-
import "./fs-safe-
|
|
18
|
-
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-
|
|
17
|
+
import "./fs-safe-CTDvb1DF.js";
|
|
18
|
+
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-BsnfCNkx.js";
|
|
19
19
|
import { t as movePathToTrash } from "./trash-C46e9E61.js";
|
|
20
|
-
import "./client-
|
|
21
|
-
import "./call-
|
|
22
|
-
import "./pairing-token-
|
|
20
|
+
import "./client-BW8Wuj5N.js";
|
|
21
|
+
import "./call-CYa4YbMh.js";
|
|
22
|
+
import "./pairing-token-DAVfcYo5.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-DN_hM6ov.js";
|
|
25
25
|
import { t as formatHelpExamples } from "./help-format-BNbRyxky.js";
|
|
26
26
|
import "./progress-9gCu2IkR.js";
|
|
27
27
|
import { n as inheritOptionFromParent } from "./command-options-BtDai3oC.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CqPT9Cep.js";
|
|
29
29
|
import { t as copyToClipboard } from "./clipboard-B-YV-j0M.js";
|
|
30
30
|
import { fileURLToPath } from "node:url";
|
|
31
31
|
import fs from "node:fs";
|