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