openclaw-multi-auto 1.4.6 → 1.4.7
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-CUYZBSKh.js → accounts-BU-CeDai.js} +1 -1
- package/dist/{accounts-BtEMxtPK.js → accounts-BVgYdU9W.js} +1 -1
- package/dist/{accounts-khXX75l1.js → accounts-DJaYqD2E.js} +7 -7
- package/dist/{acp-cli-CA2oCCEA.js → acp-cli-oWFHnS7i.js} +8 -8
- package/dist/{agent-scope-NQ9CtXYN.js → agent-scope-BRElciAf.js} +17 -17
- package/dist/{agents-BWVlofyv.js → agents-CujsWz9d.js} +14 -14
- package/dist/{agents.config-QVfqc4C-.js → agents.config-C42STger.js} +2 -2
- package/dist/{api-key-rotation-Vix80AUw.js → api-key-rotation-BbuLHl0_.js} +1 -1
- package/dist/{audio-preflight-DUtdCXjJ.js → audio-preflight-Yg1vzPE1.js} +34 -34
- package/dist/{audio-transcription-runner-DYKvqK54.js → audio-transcription-runner-D1cvrZ6s.js} +23 -23
- package/dist/{audit-oC--RZy0.js → audit-DtlAv66L.js} +29 -29
- package/dist/{auth-YB6m93-M.js → auth-Mj21c_GN.js} +1 -1
- package/dist/{auth-choice-CsSQLEkP.js → auth-choice-CEycltU4.js} +13 -13
- package/dist/{auth-choice-gp-h1aBd.js → auth-choice-CGHVedXa.js} +11 -11
- package/dist/{auth-choice.apply-helpers-CPpuynsT.js → auth-choice.apply-helpers-D4YQXYfc.js} +1 -1
- package/dist/{auth-profiles-15pq9j9V.js → auth-profiles-CdLTlJLc.js} +16 -16
- package/dist/{auth-token-Bwn8N6KA.js → auth-token-7kzDLVhb.js} +1 -1
- package/dist/{banner-hcZ0XNXv.js → banner-CpzKVd4-.js} +2 -2
- package/dist/{bonjour-discovery-2btw06uD.js → bonjour-discovery-BuS9wF_p.js} +1 -1
- package/dist/{browser-cli-C4PdLYHy.js → browser-cli-BVtbvQ3Z.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-CZgRbVYm.js → call-Dp9SDkqK.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BYiOuxnf.js → channel-account-context-ESLVGdUf.js} +5 -5
- package/dist/{channel-activity-D9K6yeu8.js → channel-activity-LfmEkdDN.js} +1 -1
- package/dist/{channel-options-DJkf_8wi.js → channel-options-CsYaFB_4.js} +3 -3
- package/dist/{channel-selection-BpIsCVV5.js → channel-selection-DFJsYFPo.js} +1 -1
- package/dist/{channel-web-wb1My1Yi.js → channel-web-DzRsJEE4.js} +17 -17
- package/dist/{channels-cli-DlQONtY9.js → channels-cli-CpfeOXtJ.js} +93 -93
- package/dist/{channels-status-issues-Hj-GOSVm.js → channels-status-issues-6V9ktlZD.js} +1 -1
- package/dist/{chrome-L_icBVLq.js → chrome-CyM61Cn2.js} +4 -4
- package/dist/{clawbot-cli-CyTZUVIJ.js → clawbot-cli-COtnakIJ.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CNTrB-ni.js → cli-jnT1hYPO.js} +73 -73
- package/dist/{client-g0366Z73.js → client-C-wA75vx.js} +2 -2
- package/dist/{command-registry-VOmumlmD.js → command-registry-g5tDqdAU.js} +11 -11
- package/dist/{command-secret-targets-CIMuIdbL.js → command-secret-targets-u3eWn-W3.js} +4 -4
- package/dist/{commands-DU7At3rY.js → commands-C8pWcFs_.js} +1 -1
- package/dist/{commands-registry-B_WUa9KB.js → commands-registry-J6nVL3BQ.js} +3 -3
- package/dist/{completion-cli-pqdmKVTo.js → completion-cli-DQsyli3B.js} +13 -13
- package/dist/{config-cli-BqznmzlM.js → config-cli-DUycVHoC.js} +7 -7
- package/dist/{config-guard-D8jiLjr7.js → config-guard--Obk2MGi.js} +3 -3
- package/dist/{config-validation-BngLiGoq.js → config-validation-iOxszdEd.js} +3 -3
- package/dist/{configure-B--Umf_O.js → configure-Al_pz_5z.js} +17 -17
- package/dist/{control-ui-assets-C9ewbI8z.js → control-ui-assets-DpjfNcTC.js} +1 -1
- package/dist/{cron-cli-DCRPpI1m.js → cron-cli-CQ5EZw_b.js} +11 -11
- package/dist/{daemon-cli-DtBzKM_d.js → daemon-cli-Bb80Mzv5.js} +15 -15
- package/dist/{daemon-install-ckPBUAjJ.js → daemon-install-B09ifLcJ.js} +4 -4
- package/dist/{daemon-install-helpers-BWf-PrgA.js → daemon-install-helpers-CYpECiEx.js} +11 -11
- package/dist/{deliver-b93aBgie.js → deliver-CxF9h9PE.js} +7 -7
- package/dist/deliver-runtime-DixuU_uB.js +61 -0
- package/dist/deps-send-discord.runtime-CDcLcDSt.js +36 -0
- package/dist/deps-send-imessage.runtime-BGPUVMIE.js +35 -0
- package/dist/deps-send-signal.runtime-DQDD44_O.js +34 -0
- package/dist/deps-send-slack.runtime-Cpy77gBG.js +32 -0
- package/dist/{deps-send-telegram.runtime-C--B69CN.js → deps-send-telegram.runtime-B6wp3kx8.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-D2sVAclS.js +119 -0
- package/dist/{devices-cli-D6V059Dh.js → devices-cli-C0dUbeL4.js} +8 -8
- package/dist/{diagnostic-BpP9UBCE.js → diagnostic-BfiudAAN.js} +1 -1
- package/dist/{diagnostics---0c2_jo.js → diagnostics-DCWM_8Ur.js} +5 -5
- package/dist/{directory-cli-RYC34-EU.js → directory-cli-Dlws13Di.js} +7 -7
- package/dist/{dns-cli-CElNoV5S.js → dns-cli-But7QdAw.js} +5 -5
- package/dist/{dock-nA2DVPCV.js → dock-BbUkruOF.js} +4 -4
- package/dist/{docs-cli-Bv7ltPvi.js → docs-cli-Ck2IKAtw.js} +4 -4
- package/dist/{doctor-completion-CQIiN7rY.js → doctor-completion-Nat1HXE1.js} +2 -2
- package/dist/{doctor-config-flow-BOAryh5P.js → doctor-config-flow-WCCoUXeB.js} +15 -15
- package/dist/{enable-688HYBNS.js → enable-C3H8BtN4.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-C0Eya3rT.js → exec-approvals-allowlist-ySf2Yo5n.js} +1 -1
- package/dist/{exec-approvals-cli-BYYerKp8.js → exec-approvals-cli-DhLLOys6.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BmJmfDRo.js → exec-safe-bin-runtime-policy-DnXViOlF.js} +2 -2
- package/dist/{fetch-BhAHVdwx.js → fetch-D-SiVqBm.js} +3 -3
- package/dist/{fetch-guard-BbBdhWz_.js → fetch-guard-CKYBfJ66.js} +1 -1
- package/dist/{fs-safe-CFLs-j60.js → fs-safe-jMDpsYew.js} +24 -24
- package/dist/{gateway-cli-DOYWSRqa.js → gateway-cli--atF6LYo.js} +153 -153
- package/dist/{gateway-rpc-w6t8Eq_1.js → gateway-rpc-DYyQQ1z9.js} +1 -1
- package/dist/{health-C1EstYHd.js → health-BDJ72U4Z.js} +11 -11
- package/dist/{hooks-cli-BFMve5sG.js → hooks-cli-r0UX8B9a.js} +81 -81
- package/dist/{hooks-status-DBnEWOEP.js → hooks-status-CxBdpBry.js} +1 -1
- package/dist/{image-Bw71y73Q.js → image-CyHTO86Q.js} +5 -5
- package/dist/{image-ops-AJL9tN3_.js → image-ops-pjs5W0CZ.js} +10 -10
- package/dist/image-runtime-B2qh5seQ.js +55 -0
- package/dist/{inspect-CUxeDA8c.js → inspect-BeU4yMp2.js} +4 -4
- package/dist/{install-safe-path-BX58wFBl.js → install-safe-path-BiL8OJvK.js} +25 -25
- package/dist/{installs-B-xr0Fzq.js → installs-BwKmG0Uy.js} +9 -9
- package/dist/{ipv4-C4Yt-xid.js → ipv4-BoGwfnEw.js} +1 -1
- package/dist/{ir-otKVkb4a.js → ir-Da7Ahsqc.js} +8 -8
- package/dist/{issue-format-DSksfKiV.js → issue-format-CJ89_-9v.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{lifecycle-core-DVwen0ks.js → lifecycle-core-BzuWBBm8.js} +5 -5
- package/dist/{login-BcRaGQb6.js → login-VkQ9MW3d.js} +3 -3
- package/dist/{login-qr-C9D47WEZ.js → login-qr-BVMQ-xQz.js} +6 -6
- package/dist/{logs-cli-B3TG2lp8.js → logs-cli-DWHhSnWs.js} +9 -9
- package/dist/{manager-iwcRf3Xc.js → manager-BUBwl6M6.js} +14 -14
- package/dist/{manager-runtime-D3KqpRT7.js → manager-runtime-H9iQnw64.js} +9 -9
- package/dist/{manifest-registry-CJb8odRF.js → manifest-registry-DVviqWVY.js} +1 -1
- package/dist/{memory-cli-DGsJx7YM.js → memory-cli-DarWCbU6.js} +12 -12
- package/dist/{model-B792l3Cn.js → model-BLV8y_N-.js} +2 -2
- package/dist/{model-catalog-DZ6kl2Ko.js → model-catalog-DTcBkUlX.js} +3 -3
- package/dist/{model-picker-6fHys0wK.js → model-picker-D-fTOOzb.js} +4 -4
- package/dist/{models-DerrMmwF.js → models-CmjutMmh.js} +17 -17
- package/dist/{models-cli-BkTZg_4v.js → models-cli-BZFQX22p.js} +78 -78
- package/dist/{models-config-Dabs9Kdv.js → models-config-DNcDbV_G.js} +6 -6
- package/dist/{net-BAIqYNz0.js → net-D5fSREu4.js} +2 -2
- package/dist/{node-cli-DoEq4zeG.js → node-cli-Cnq-PJTp.js} +33 -33
- package/dist/{node-command-policy-DRhSc90G.js → node-command-policy-B5BMBBJP.js} +1 -1
- package/dist/{node-service-CcgtNIeT.js → node-service-BpYZAvpl.js} +1 -1
- package/dist/{nodes-cli--d9RiCnK.js → nodes-cli-CkrDOWpv.js} +16 -16
- package/dist/{nodes-screen-BTND5VDq.js → nodes-screen-DfsQohWd.js} +7 -7
- package/dist/{npm-pack-install-CGUDOSKz.js → npm-pack-install-E-mkrZ55.js} +18 -18
- package/dist/{npm-resolution-CAoULCWM.js → npm-resolution-BUUmg5ON.js} +4 -4
- package/dist/{onboard-CMZRkPVc.js → onboard-DINGSS9R.js} +6 -6
- package/dist/{onboard-channels-SlJu6XWJ.js → onboard-channels-Di4MjWDY.js} +21 -21
- package/dist/{onboard-custom-EzfL89yz.js → onboard-custom-DITBQuWQ.js} +4 -4
- package/dist/{onboard-helpers-lGpaVp03.js → onboard-helpers-DO7u2ZOy.js} +10 -10
- package/dist/{onboard-hooks-B7TMiJoY.js → onboard-hooks-K02_ZWDq.js} +4 -4
- package/dist/{onboard-remote-nvWS7on7.js → onboard-remote-5-ugiSN2.js} +4 -4
- package/dist/{onboard-skills-hz91W03u.js → onboard-skills-CSzbC2KZ.js} +4 -4
- package/dist/{onboarding-CTPuMVQI.js → onboarding-BM4dvUK6.js} +14 -14
- package/dist/{onboarding.finalize-DLzl5ZOg.js → onboarding.finalize-p_RDh7ET.js} +87 -87
- package/dist/{onboarding.gateway-config-C4MoTr60.js → onboarding.gateway-config-DldlRfms.js} +18 -18
- package/dist/{onboarding.secret-input-BFD0OW4X.js → onboarding.secret-input-BIRIJiCU.js} +1 -1
- package/dist/{openai-model-default-h4LbSR7f.js → openai-model-default-CY2Nk4cn.js} +2 -2
- package/dist/{openclaw-root-BU3lu8pM.js → openclaw-root-BFfBQ6FD.js} +8 -8
- package/dist/{outbound-kbHYt1JW.js → outbound-DPdJe7e1.js} +3 -3
- package/dist/{outbound-attachment-CAJBGcna.js → outbound-attachment-DfWsfe2N.js} +2 -2
- package/dist/{pairing-cli-CXbmkz7Z.js → pairing-cli-D2VZxWg3.js} +8 -8
- package/dist/{pairing-labels-CaPLIhlh.js → pairing-labels-D4rnJ5pJ.js} +1 -1
- package/dist/{pairing-store-Brs9aNn_.js → pairing-store-BXArq4hn.js} +3 -3
- package/dist/{path-alias-guards-DhIwq92y.js → path-alias-guards-DbNvNQar.js} +3 -3
- package/dist/{path-safety-BjIM4N4t.js → path-safety-ClQO4BB6.js} +1 -1
- package/dist/{paths-Cv63xST_.js → paths-BB_1ZWOj.js} +9 -9
- package/dist/{pi-embedded-helpers-DC2OtKrl.js → pi-embedded-helpers-oXDyXTD8.js} +6 -6
- package/dist/{pi-model-discovery-DOb5RTev.js → pi-model-discovery-CECkJMCt.js} +1 -1
- package/dist/{pi-model-discovery-runtime-DShjmiiF.js → pi-model-discovery-runtime-g7UP-SFR.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-B079pVah.js → pi-tools.before-tool-call.runtime-Df7B-ggW.js} +5 -5
- package/dist/{pi-tools.policy-DZ-X86Va.js → pi-tools.policy-CydUEzFi.js} +5 -5
- package/dist/{plugin-auto-enable-BCMqEDjQ.js → plugin-auto-enable-BE4ZVjAL.js} +3 -3
- package/dist/{plugin-registry-BPlCWMur.js → plugin-registry-DXW3eyib.js} +3 -3
- package/dist/plugin-sdk/{accounts-C3m65--E.js → accounts-BJAXxY46.js} +2 -2
- package/dist/plugin-sdk/{accounts-CNCCkdEF.js → accounts-C1j7HSL0.js} +3 -3
- package/dist/plugin-sdk/{accounts-BslAlVYS.js → accounts-DyFCXtHv.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CkPnMUkB.js → active-listener-CftX5jLD.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BXnNsojA.js → api-key-rotation-8nyyt1kx.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CtO4fFvp.js → audio-preflight-C_aSAPR1.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DnxvOS1-.js → audio-transcription-runner-CB53F7_7.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BpfoSk8M.js → audit-membership-runtime-BXndI4LG.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WJYxcJ3S.js → channel-activity-C5y8AgAV.js} +3 -3
- package/dist/plugin-sdk/{channel-web-dO5k3ubM.js → channel-web-DBTRO03V.js} +18 -18
- package/dist/plugin-sdk/{chrome-CjNTuJML.js → chrome-f00sZkDX.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-CdYjoI0i.js → commands-registry-BJ_NxG2F.js} +4 -4
- package/dist/plugin-sdk/{common-oYc5vPFl.js → common-Cf27Jwxu.js} +2 -2
- package/dist/plugin-sdk/{config-B1z-UxQ3.js → config-CHQrpx-Q.js} +7 -7
- package/dist/plugin-sdk/{deliver-D5_6T567.js → deliver-DNEuetST.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Bxxu0ig-.js → diagnostic-LYUUmjJ5.js} +2 -2
- package/dist/plugin-sdk/{errors-B3cHyZZA.js → errors-CtMWwS2Z.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dcgod0tg.js → fetch-guard-CxYB5Kg6.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-BaKqI3G4.js → fs-safe-DtfhxbrI.js} +3 -3
- package/dist/plugin-sdk/{image-B2mQW9Rb.js → image-BwjYjRHx.js} +6 -6
- package/dist/plugin-sdk/{image-ops-Cbzr4U9l.js → image-ops-BnZKcbd6.js} +2 -2
- package/dist/plugin-sdk/image-runtime-B8twoubs.js +25 -0
- package/dist/plugin-sdk/{ir-ZEmrTr4J.js → ir-Z4hX67TJ.js} +7 -7
- package/dist/plugin-sdk/{local-roots-CIPRxA-4.js → local-roots-KhjQw04O.js} +4 -4
- package/dist/plugin-sdk/{logger-CvPFVOgT.js → logger-DHIIvMxj.js} +2 -2
- package/dist/plugin-sdk/{login-CCTew9bt.js → login-C31642Ld.js} +4 -4
- package/dist/plugin-sdk/{login-qr-BI3Vi_wJ.js → login-qr--y2SG_Ue.js} +5 -5
- package/dist/plugin-sdk/{manager-BEoYPn7R.js → manager-2UZBMCc7.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CMeLwose.js +15 -0
- package/dist/plugin-sdk/{outbound-ByOw1K6W.js → outbound-Ba0QUI5h.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-BzVhxRRw.js → outbound-attachment-B1Laso-8.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-sWayacde.js → path-alias-guards-C7Vm5DZ1.js} +1 -1
- package/dist/plugin-sdk/{paths-Dpg3qxcl.js → paths-DopV9PQG.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DIxXkGJf.js → pi-embedded-helpers-DnA_OCzP.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DM_2uFtj.js → pi-model-discovery-DdPqXk8f.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-w1dqL_ty.js → pi-tools.before-tool-call.runtime-DxFHiLUE.js} +4 -4
- package/dist/plugin-sdk/{plugins-C4USiH29.js → plugins-CbCt4osF.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-ET-rp8eg.js → proxy-env-C63mMdas.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-uDXGKG3Z.js → proxy-fetch-Ch95c_Y2.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-CyOt3RDA.js → pw-ai-DpJk62D4.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-BySdoVR7.js → qmd-manager-Ca-iSfEE.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-C6uS-7lj.js → query-expansion-B_Xe41Ab.js} +4 -4
- package/dist/plugin-sdk/{redact-Bvxt1T_Q.js → redact-hp9TOulW.js} +1 -1
- package/dist/plugin-sdk/{reply-CTCSeQqW.js → reply-CovBlFea.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-Bw8YNANu.js → resolve-outbound-target-BbrHgyUk.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-C_KCHwvf.js → run-with-concurrency-BR1DXa8T.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +19 -0
- package/dist/plugin-sdk/{send-C0w6xP2x.js → send-BTztm3D2.js} +6 -6
- package/dist/plugin-sdk/{send-qPyNGSe4.js → send-BXpXBwM_.js} +13 -13
- package/dist/plugin-sdk/{send-BZ6nYFZr.js → send-BvAtLLPl.js} +5 -5
- package/dist/plugin-sdk/{send-CFf-1V89.js → send-CWJUuG0i.js} +8 -8
- package/dist/plugin-sdk/{send-CY-Qfwia.js → send-EcglC4cG.js} +7 -7
- package/dist/plugin-sdk/{session-COrvpvUQ.js → session-k256LJZT.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-DZqhtmiv.js → skill-commands-DoRqLzxm.js} +4 -4
- package/dist/plugin-sdk/{skills-Cw_vXEJb.js → skills-QudILG6e.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +16 -0
- package/dist/plugin-sdk/{store-CMHj6IIw.js → store-BbDQw3g6.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +52 -0
- package/dist/plugin-sdk/{tables-CSqrHsKL.js → tables-BhvloMKN.js} +1 -1
- package/dist/plugin-sdk/{thinking-DOnsR_A8.js → thinking-URzkT-3p.js} +7 -7
- package/dist/plugin-sdk/{tokens-BDr0Z9o3.js → tokens-B1PW5Ayy.js} +1 -1
- package/dist/plugin-sdk/{tool-images-eEfOVkzf.js → tool-images-xpqbP6RR.js} +2 -2
- package/dist/plugin-sdk/web-B74yhL2N.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-xcleMoMv.js → whatsapp-actions-RcZ6vp61.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-DCxT-37x.js → plugins-VAZrrfgw.js} +2 -2
- package/dist/{plugins-cli-D9ILEfyb.js → plugins-cli-BQJOOVMx.js} +83 -83
- package/dist/{ports-BlCLhwbc.js → ports-DMkRSlnH.js} +1 -1
- package/dist/{ports-CER5YPnN.js → ports-DogAV7pa.js} +2 -2
- package/dist/{program-CV56xn7w.js → program-BA11qFx1.js} +81 -81
- package/dist/{prompt-select-styled-BOa5I_PU.js → prompt-select-styled-B0GS28ia.js} +40 -40
- package/dist/{provider-auth-helpers-c6mNCUXO.js → provider-auth-helpers-CrGL-jik.js} +5 -5
- package/dist/{proxy-env-BMrSVckF.js → proxy-env-wKO3g8Yv.js} +1 -1
- package/dist/{push-apns-FOkPD05E.js → push-apns-BEwBjZ0a.js} +5 -5
- package/dist/{pw-ai-CxBU3aK5.js → pw-ai-CnbxziFP.js} +18 -18
- package/dist/{qmd-manager-DEJMqoGd.js → qmd-manager-Dp6PJ8zQ.js} +20 -20
- package/dist/{qr-cli-BD2jK4fg.js → qr-cli-CFz9kS5X.js} +2 -2
- package/dist/{query-expansion-1UTIWjP6.js → query-expansion-BrSWVbaE.js} +12 -12
- package/dist/{redact-snapshot-D_qQD4A-.js → redact-snapshot-Bs4goggz.js} +1 -1
- package/dist/{register.agent-tbPA5YAy.js → register.agent-D641ju8B.js} +94 -94
- package/dist/register.configure-BrDOSLIq.js +165 -0
- package/dist/{register.maintenance-DrqDlV5b.js → register.maintenance-BFkk8MEH.js} +95 -95
- package/dist/{register.message-CoKXNaU0.js → register.message-D5uE_Hop.js} +74 -74
- package/dist/{register.onboard-CSWOSL9O.js → register.onboard-zHFvSwFr.js} +18 -18
- package/dist/{register.setup-DBx5JX6h.js → register.setup-uTbv3_P1.js} +21 -21
- package/dist/{register.status-health-sessions-D1bPtfep.js → register.status-health-sessions-CB7t-JQx.js} +88 -88
- package/dist/{register.subclis-QGJNmjss.js → register.subclis-MEiNmuy5.js} +31 -31
- package/dist/{rpc-DkMrTUww.js → rpc-DVfuVmy9.js} +1 -1
- package/dist/{run-main-CPftxqTe.js → run-main-mrvunzuy.js} +92 -92
- package/dist/{runtime-MAH2Oph4.js → runtime-C87FQrrv.js} +3 -3
- package/dist/{runtime-config-collectors-BJMV6Mt1.js → runtime-config-collectors-BQaC477D.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-CGYWl9eB.js → runtime-whatsapp-login.runtime-DjdgScUI.js} +7 -7
- package/dist/{runtime-whatsapp-outbound.runtime-hZEfYaRM.js → runtime-whatsapp-outbound.runtime-B74K7opl.js} +15 -15
- package/dist/{sandbox-0TbzPJaS.js → sandbox-Ct-_lzi1.js} +18 -18
- package/dist/{sandbox-cli-NLaxffXl.js → sandbox-cli-C3RoXFRE.js} +25 -25
- package/dist/{secrets-cli-KLGbYet6.js → secrets-cli-B3hqCxvs.js} +11 -11
- package/dist/{security-cli-EIEkcYVb.js → security-cli-DcHIyXr7.js} +42 -42
- package/dist/{send-BtZAqquW.js → send-2zKwf9NW.js} +11 -11
- package/dist/{send-DAMtu9kK.js → send-5o2p_xjn.js} +4 -4
- package/dist/{send-BW-ZtYG3.js → send-CnRP4P-G.js} +5 -5
- package/dist/{send-CxgWxXZc.js → send-DAQAKa9Z.js} +6 -6
- package/dist/{send-sC6ka831.js → send-u1Bo4CSn.js} +8 -8
- package/dist/{server-kUElNhlY.js → server-Ci4xtuR9.js} +20 -20
- package/dist/{server-context-HJVwPQYn.js → server-context-8pDe2iyd.js} +12 -12
- package/dist/{server-lifecycle-BE32unpZ.js → server-lifecycle-k5daSrde.js} +2 -2
- package/dist/{server-middleware-AS2VOYkK.js → server-middleware-DMiFT9xU.js} +1 -1
- package/dist/{server-node-events-DkbZzI6P.js → server-node-events-BmnPjNXE.js} +74 -74
- package/dist/{service-CyStNr3d.js → service-BhOFtHSw.js} +15 -15
- package/dist/{session-CaCx4rPH.js → session-DkOjpX3_.js} +1 -1
- package/dist/{session-utils-CGqb1oeq.js → session-utils-DKRmXD2l.js} +6 -6
- package/dist/{sessions-BmVDW-7q.js → sessions-BOWPuhe5.js} +15 -15
- package/dist/{sessions-BV6HNW4h.js → sessions-svLGrv0Z.js} +4 -4
- package/dist/{shared-JW74idb0.js → shared-CbAkLNrg.js} +1 -1
- package/dist/{shared-DUQavBtY.js → shared-CjuadLFV.js} +3 -3
- package/dist/{skill-commands-WtIJG0CI.js → skill-commands-TpUsdjev.js} +5 -5
- package/dist/{skill-scanner-DIFsGcqE.js → skill-scanner-BZvvItef.js} +6 -6
- package/dist/{skills-7T9PwwL6.js → skills-DR-vacol.js} +3 -3
- package/dist/{skills-cli-DPavvthL.js → skills-cli-oay0tY8Z.js} +5 -5
- package/dist/{skills-install-BoLfaoWv.js → skills-install-Vmi7xYfa.js} +6 -6
- package/dist/{skills-status-CK5Gnf6i.js → skills-status-BmN697ff.js} +1 -1
- package/dist/{slash-commands.runtime-CMGx2xHy.js → slash-commands.runtime-BfaheruW.js} +11 -11
- package/dist/slash-dispatch.runtime-D0xInkf3.js +114 -0
- package/dist/{slash-skill-commands.runtime-ChU2tck2.js → slash-skill-commands.runtime-D34BKAN-.js} +15 -15
- package/dist/{status-Bp-K1BEf.js → status-BcQchPaC.js} +27 -27
- package/dist/{status.update-ZYUSggzS.js → status.update-B20UBTDq.js} +2 -2
- package/dist/{store-DeASfYEV.js → store-DDkqo1sO.js} +5 -5
- package/dist/{subagent-registry-8qHIVhRq.js → subagent-registry-CPxHbyN5.js} +149 -149
- package/dist/subagent-registry-runtime-SkB2tTaE.js +114 -0
- package/dist/{system-cli-C2xNfuQM.js → system-cli-D2yIJoKU.js} +9 -9
- package/dist/{system-run-command-BPWZk7KI.js → system-run-command-BmhbnLTE.js} +1 -1
- package/dist/{systemd-Cf-0XKYu.js → systemd-DjWVSbAG.js} +9 -9
- package/dist/{systemd-hints-CYllYKO0.js → systemd-hints-Do-aQ9jw.js} +6 -6
- package/dist/{systemd-linger-zllO90bD.js → systemd-linger-DpmnYgKU.js} +1 -1
- package/dist/{tables-CV7Afb0h.js → tables-BxyIF0w4.js} +1 -1
- package/dist/{tailnet-DJFUq7_R.js → tailnet-0_FsdHP-.js} +1 -1
- package/dist/{target-errors-iVxliVqA.js → target-errors-KOHiT_JA.js} +4 -4
- package/dist/{tool-images-Bn6dB14u.js → tool-images-CNPfeCmU.js} +1 -1
- package/dist/{tui-DTVy-YhN.js → tui-DL6NZZEa.js} +6 -6
- package/dist/{tui-cli-CexRLJ3a.js → tui-cli-BNAYhvpu.js} +32 -32
- package/dist/{update-DijPxK0g.js → update-DlS-d52F.js} +3 -3
- package/dist/{update-cli-9NslG4yR.js → update-cli-D8-DqIs2.js} +104 -104
- package/dist/{update-runner-B6_UqreW.js → update-runner-CzTQ7BJT.js} +16 -16
- package/dist/web-DWiOofzq.js +118 -0
- package/dist/{webhooks-cli-B4ZcXTtw.js → webhooks-cli-QdaQhvbT.js} +6 -6
- package/dist/{whatsapp-actions-Jm4VW1Ve.js → whatsapp-actions-Bp8F0cOF.js} +17 -17
- package/dist/{with-timeout-C8-tY12i.js → with-timeout-BMMWHlH3.js} +3 -3
- package/dist/{workspace-dirs-D4SMysgC.js → workspace-dirs-Cz_Zgtg2.js} +1 -1
- package/dist/{workspace-CIGzK2_w.js → workspace-v76gFdZu.js} +1 -1
- package/dist/{wsl-CsGe5QCP.js → wsl-CvQfS6aU.js} +2 -2
- package/docs/browser-architecture.md +602 -0
- package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
- package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/page-action-cache/dist/actions-executor.d.ts +62 -0
- package/extensions/page-action-cache/dist/actions-executor.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/actions-executor.js +339 -0
- package/extensions/page-action-cache/dist/actions-executor.js.map +1 -0
- package/extensions/page-action-cache/dist/cache-invalidator.d.ts +70 -0
- package/extensions/page-action-cache/dist/cache-invalidator.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/cache-invalidator.js +212 -0
- package/extensions/page-action-cache/dist/cache-invalidator.js.map +1 -0
- package/extensions/page-action-cache/dist/cache-store.d.ts +80 -0
- package/extensions/page-action-cache/dist/cache-store.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/cache-store.js +361 -0
- package/extensions/page-action-cache/dist/cache-store.js.map +1 -0
- package/extensions/page-action-cache/dist/cache-strategy.d.ts +65 -0
- package/extensions/page-action-cache/dist/cache-strategy.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/cache-strategy.js +237 -0
- package/extensions/page-action-cache/dist/cache-strategy.js.map +1 -0
- package/extensions/page-action-cache/dist/hooks-entry.d.ts +18 -0
- package/extensions/page-action-cache/dist/hooks-entry.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/hooks-entry.js +27 -0
- package/extensions/page-action-cache/dist/hooks-entry.js.map +1 -0
- package/extensions/page-action-cache/dist/hooks.d.ts +10 -0
- package/extensions/page-action-cache/dist/hooks.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/hooks.js +277 -0
- package/extensions/page-action-cache/dist/hooks.js.map +1 -0
- package/extensions/page-action-cache/dist/index.d.ts +24 -0
- package/extensions/page-action-cache/dist/index.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/index.js +34 -0
- package/extensions/page-action-cache/dist/index.js.map +1 -0
- package/extensions/page-action-cache/dist/scenario-recognizer.d.ts +45 -0
- package/extensions/page-action-cache/dist/scenario-recognizer.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/scenario-recognizer.js +213 -0
- package/extensions/page-action-cache/dist/scenario-recognizer.js.map +1 -0
- package/extensions/page-action-cache/dist/security-policy.d.ts +62 -0
- package/extensions/page-action-cache/dist/security-policy.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/security-policy.js +219 -0
- package/extensions/page-action-cache/dist/security-policy.js.map +1 -0
- package/extensions/page-action-cache/dist/tools.d.ts +209 -0
- package/extensions/page-action-cache/dist/tools.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/tools.js +383 -0
- package/extensions/page-action-cache/dist/tools.js.map +1 -0
- package/extensions/page-action-cache/dist/types.d.ts +336 -0
- package/extensions/page-action-cache/dist/types.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/types.js +8 -0
- package/extensions/page-action-cache/dist/types.js.map +1 -0
- package/extensions/page-action-cache/dist/ux-enhancer.d.ts +60 -0
- package/extensions/page-action-cache/dist/ux-enhancer.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/ux-enhancer.js +218 -0
- package/extensions/page-action-cache/dist/ux-enhancer.js.map +1 -0
- package/extensions/page-action-cache/dist/variable-resolver.d.ts +28 -0
- package/extensions/page-action-cache/dist/variable-resolver.d.ts.map +1 -0
- package/extensions/page-action-cache/dist/variable-resolver.js +201 -0
- package/extensions/page-action-cache/dist/variable-resolver.js.map +1 -0
- package/extensions/page-action-cache/docs/API.md +555 -0
- package/extensions/page-action-cache/docs/IMPLEMENTATION.md +1792 -0
- package/extensions/page-action-cache/docs/INTEGRATION.md +387 -0
- package/extensions/page-action-cache/docs/README.md +183 -0
- package/extensions/page-action-cache/index.ts +118 -0
- package/extensions/page-action-cache/node_modules/.bin/nlc +21 -0
- package/extensions/page-action-cache/node_modules/.bin/node-llama-cpp +21 -0
- package/extensions/page-action-cache/node_modules/.bin/openclaw +21 -0
- package/extensions/page-action-cache/node_modules/.bin/tsc +21 -0
- package/extensions/page-action-cache/node_modules/.bin/tsserver +21 -0
- package/extensions/page-action-cache/node_modules/.bin/vitest +21 -0
- package/extensions/page-action-cache/openclaw.plugin.json +208 -0
- package/extensions/page-action-cache/package.json +76 -0
- package/extensions/page-action-cache/scripts/npm_publish.sh +80 -0
- package/extensions/page-action-cache/skills/page-action-cache/SKILL.md +216 -0
- package/extensions/page-action-cache/src/actions-executor.ts +441 -0
- package/extensions/page-action-cache/src/cache-invalidator.ts +271 -0
- package/extensions/page-action-cache/src/cache-store.ts +457 -0
- package/extensions/page-action-cache/src/cache-strategy.ts +327 -0
- package/extensions/page-action-cache/src/hooks-entry.ts +114 -0
- package/extensions/page-action-cache/src/hooks.ts +332 -0
- package/extensions/page-action-cache/src/index.ts +104 -0
- package/extensions/page-action-cache/src/scenario-recognizer.ts +259 -0
- package/extensions/page-action-cache/src/security-policy.ts +268 -0
- package/extensions/page-action-cache/src/tools.ts +437 -0
- package/extensions/page-action-cache/src/types.ts +482 -0
- package/extensions/page-action-cache/src/ux-enhancer.ts +266 -0
- package/extensions/page-action-cache/src/variable-resolver.ts +258 -0
- package/extensions/page-action-cache/tests/actions-executor.test.ts +424 -0
- package/extensions/page-action-cache/tests/cache-store.test.ts +267 -0
- package/extensions/page-action-cache/tests/integration-test.ts +62 -0
- package/extensions/page-action-cache/tests/scenario-recognizer.test.ts +140 -0
- package/extensions/page-action-cache/tests/variable-resolver.test.ts +187 -0
- package/extensions/page-action-cache/tsconfig.json +39 -0
- package/package.json +1 -1
- package/scripts/create-instance.sh +25 -1
- package/scripts/npm_publish.sh +59 -1
- package/scripts/publish-extension.sh +343 -0
- package/ui/node_modules/.bin/vite +2 -2
- package/ui/node_modules/.bin/vitest +2 -2
- package/dist/deliver-runtime-CdWd-JQI.js +0 -61
- package/dist/deps-send-discord.runtime-BltWu9GW.js +0 -36
- package/dist/deps-send-imessage.runtime-CdCif3t7.js +0 -35
- package/dist/deps-send-signal.runtime-fHqkSmMW.js +0 -34
- package/dist/deps-send-slack.runtime-CkyZO7ln.js +0 -32
- package/dist/deps-send-whatsapp.runtime-BkoMLlCM.js +0 -119
- package/dist/image-runtime-6jhrqcle.js +0 -55
- package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +0 -57
- package/dist/plugin-sdk/image-runtime-BFm45j49.js +0 -25
- package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +0 -52
- package/dist/plugin-sdk/web-BLyT64pW.js +0 -56
- package/dist/register.configure-DuwRrXc2.js +0 -165
- package/dist/slash-dispatch.runtime-BAeJXa56.js +0 -114
- package/dist/subagent-registry-runtime-DVomlbm6.js +0 -114
- package/dist/web-DGoa03ue.js +0 -118
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
2
|
-
import { sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-DNcDbV_G.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
const log = createSubsystemLogger("model-catalog");
|
|
7
7
|
let modelCatalogPromise = null;
|
|
8
8
|
let hasLoggedModelCatalogError = false;
|
|
9
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
9
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-CECkJMCt.js").then((n) => n.r);
|
|
10
10
|
let importPiSdk = defaultImportPiSdk;
|
|
11
11
|
const CODEX_PROVIDER = "openai-codex";
|
|
12
12
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Qn as upsertAuthProfileWithLock, Sr as normalizeProviderId, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, fr as buildAllowedModelSet, gi as resolveEnvApiKey, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-
|
|
3
|
-
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Qn as upsertAuthProfileWithLock, Sr as normalizeProviderId, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, fr as buildAllowedModelSet, gi as resolveEnvApiKey, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-CdLTlJLc.js";
|
|
3
|
+
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-BRElciAf.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-DTcBkUlX.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-CjuadLFV.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as colorize, f as isRich$1, p as theme } from "./globals-ENg_AXRt.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Ri as resolveAuthProfileDisplayLabel, Sr as normalizeProviderId, Xn as setAuthProfileOrder, Zn as upsertAuthProfile, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, gi as resolveEnvApiKey, hi as resolveAwsSdkEnvVarName, hr as findNormalizedProviderValue, kr as resolveModelRefFromString, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider, mr as buildModelAliasIndex, n as resolveAuthProfileEligibility, or as resolveAuthStorePathForDisplay, pt as parseDurationMs, r as resolveAuthProfileOrder, sr as resolveOpenClawAgentDir, vi as getShellEnvAppliedKeys, xi as shouldEnableShellEnvFallback, y as resolveSecretRefString, yr as modelKey, z as loadConfig } from "./auth-profiles-
|
|
4
|
+
import { Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Ri as resolveAuthProfileDisplayLabel, Sr as normalizeProviderId, Xn as setAuthProfileOrder, Zn as upsertAuthProfile, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, gi as resolveEnvApiKey, hi as resolveAwsSdkEnvVarName, hr as findNormalizedProviderValue, kr as resolveModelRefFromString, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider, mr as buildModelAliasIndex, n as resolveAuthProfileEligibility, or as resolveAuthStorePathForDisplay, pt as parseDurationMs, r as resolveAuthProfileOrder, sr as resolveOpenClawAgentDir, vi as getShellEnvAppliedKeys, xi as shouldEnableShellEnvFallback, y as resolveSecretRefString, yr as modelKey, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
6
|
-
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
+
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-BRElciAf.js";
|
|
7
7
|
import { x as shortenHomePath } from "./utils-6WlODK5w.js";
|
|
8
8
|
import { N as normalizeSecretInputString, k as coerceSecretRef } from "./registry-C3qkO1RG.js";
|
|
9
|
-
import { r as resolveForwardCompatModel } from "./model-
|
|
10
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
11
|
-
import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-
|
|
9
|
+
import { r as resolveForwardCompatModel } from "./model-BLV8y_N-.js";
|
|
10
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CECkJMCt.js";
|
|
11
|
+
import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-CPxHbyN5.js";
|
|
12
12
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DvFmz0MB.js";
|
|
13
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
14
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
15
|
-
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
16
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
13
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-DNcDbV_G.js";
|
|
14
|
+
import { n as loadModelCatalog } from "./model-catalog-DTcBkUlX.js";
|
|
15
|
+
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-u3eWn-W3.js";
|
|
16
|
+
import { f as openUrl } from "./onboard-helpers-DO7u2ZOy.js";
|
|
17
17
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-xJW90oWC.js";
|
|
18
18
|
import { r as withProgressTotals } from "./progress-BJ1VMw-T.js";
|
|
19
19
|
import { t as createClackPrompter } from "./clack-prompter-t5d11SiL.js";
|
|
20
20
|
import { t as renderTable } from "./table-BGZynnUY.js";
|
|
21
21
|
import { t as inferParamBFromIdOrName } from "./model-param-b-scvX_s5g.js";
|
|
22
22
|
import { n as redactSecrets } from "./format-B4BvVfHq.js";
|
|
23
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
24
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
23
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-CjuadLFV.js";
|
|
24
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-7kzDLVhb.js";
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-DBqQTcKD.js";
|
|
26
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
26
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CrGL-jik.js";
|
|
27
27
|
import path from "node:path";
|
|
28
|
-
import
|
|
28
|
+
import fs from "node:fs/promises";
|
|
29
29
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
30
30
|
import crypto from "node:crypto";
|
|
31
31
|
import { Type } from "@sinclair/typebox";
|
|
@@ -854,7 +854,7 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
854
854
|
//#region src/commands/models/list.list-command.ts
|
|
855
855
|
async function modelsListCommand(opts, runtime) {
|
|
856
856
|
ensureFlagCompatibility(opts);
|
|
857
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
857
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-CdLTlJLc.js").then((n) => n.t);
|
|
858
858
|
const cfg = await loadModelsConfig({
|
|
859
859
|
commandName: "models list",
|
|
860
860
|
runtime
|
|
@@ -917,7 +917,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
if (!model) {
|
|
920
|
-
const { resolveModel } = await import("./model-
|
|
920
|
+
const { resolveModel } = await import("./model-BLV8y_N-.js").then((n) => n.t);
|
|
921
921
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
922
922
|
}
|
|
923
923
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1271,7 +1271,7 @@ async function probeTarget(params) {
|
|
|
1271
1271
|
};
|
|
1272
1272
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1273
1273
|
const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
|
|
1274
|
-
await
|
|
1274
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1275
1275
|
const start = Date.now();
|
|
1276
1276
|
try {
|
|
1277
1277
|
await runEmbeddedPiAgent({
|
|
@@ -1326,7 +1326,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1326
1326
|
const agentDir = resolveOpenClawAgentDir();
|
|
1327
1327
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1328
1328
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1329
|
-
await
|
|
1329
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1330
1330
|
let completed = 0;
|
|
1331
1331
|
const results = Array.from({ length: targets.length });
|
|
1332
1332
|
let cursor = 0;
|
|
@@ -2,10 +2,10 @@ import { p as theme } from "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-CdLTlJLc.js";
|
|
6
|
+
import "./agent-scope-BRElciAf.js";
|
|
7
7
|
import "./utils-6WlODK5w.js";
|
|
8
|
-
import "./openclaw-root-
|
|
8
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
9
9
|
import "./logger-9wCpWqHD.js";
|
|
10
10
|
import "./exec-GR2kPVc1.js";
|
|
11
11
|
import "./registry-C3qkO1RG.js";
|
|
@@ -13,112 +13,112 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
13
13
|
import "./host-env-security-lcjXF83D.js";
|
|
14
14
|
import "./version-DdJhsIqk.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./dock-
|
|
18
|
-
import "./model-
|
|
19
|
-
import "./pi-model-discovery-
|
|
20
|
-
import "./diagnostic-
|
|
16
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
17
|
+
import "./dock-BbUkruOF.js";
|
|
18
|
+
import "./model-BLV8y_N-.js";
|
|
19
|
+
import "./pi-model-discovery-CECkJMCt.js";
|
|
20
|
+
import "./diagnostic-BfiudAAN.js";
|
|
21
21
|
import "./frontmatter-D2o8_Jfu.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./path-alias-guards-
|
|
22
|
+
import "./skills-DR-vacol.js";
|
|
23
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
24
24
|
import "./message-channel-CIqYyQ36.js";
|
|
25
|
-
import "./sessions-
|
|
26
|
-
import "./plugins-
|
|
27
|
-
import "./accounts-
|
|
28
|
-
import "./accounts-
|
|
25
|
+
import "./sessions-BOWPuhe5.js";
|
|
26
|
+
import "./plugins-VAZrrfgw.js";
|
|
27
|
+
import "./accounts-DJaYqD2E.js";
|
|
28
|
+
import "./accounts-BU-CeDai.js";
|
|
29
29
|
import "./logging-CcxUDNcI.js";
|
|
30
|
-
import "./accounts-
|
|
31
|
-
import "./send-
|
|
32
|
-
import "./send-
|
|
33
|
-
import "./subagent-registry-
|
|
30
|
+
import "./accounts-BVgYdU9W.js";
|
|
31
|
+
import "./send-5o2p_xjn.js";
|
|
32
|
+
import "./send-2zKwf9NW.js";
|
|
33
|
+
import "./subagent-registry-CPxHbyN5.js";
|
|
34
34
|
import "./paths-DvFmz0MB.js";
|
|
35
35
|
import "./chat-envelope-D3RSz140.js";
|
|
36
|
-
import "./client-
|
|
37
|
-
import "./call-
|
|
36
|
+
import "./client-C-wA75vx.js";
|
|
37
|
+
import "./call-Dp9SDkqK.js";
|
|
38
38
|
import "./pairing-token-BXrId5bQ.js";
|
|
39
|
-
import "./net-
|
|
40
|
-
import "./tailnet-
|
|
39
|
+
import "./net-D5fSREu4.js";
|
|
40
|
+
import "./tailnet-0_FsdHP-.js";
|
|
41
41
|
import "./tokens-6laAe_ss.js";
|
|
42
|
-
import "./with-timeout-
|
|
43
|
-
import "./deliver-
|
|
44
|
-
import "./image-ops-
|
|
45
|
-
import "./send-
|
|
46
|
-
import "./pi-embedded-helpers-
|
|
47
|
-
import "./sandbox-
|
|
42
|
+
import "./with-timeout-BMMWHlH3.js";
|
|
43
|
+
import "./deliver-CxF9h9PE.js";
|
|
44
|
+
import "./image-ops-pjs5W0CZ.js";
|
|
45
|
+
import "./send-u1Bo4CSn.js";
|
|
46
|
+
import "./pi-embedded-helpers-oXDyXTD8.js";
|
|
47
|
+
import "./sandbox-Ct-_lzi1.js";
|
|
48
48
|
import "./tool-catalog-C04U7H3F.js";
|
|
49
|
-
import "./chrome-
|
|
49
|
+
import "./chrome-CyM61Cn2.js";
|
|
50
50
|
import "./tailscale-aXobtl7f.js";
|
|
51
|
-
import "./auth-
|
|
52
|
-
import "./server-context-
|
|
53
|
-
import "./paths-
|
|
51
|
+
import "./auth-Mj21c_GN.js";
|
|
52
|
+
import "./server-context-8pDe2iyd.js";
|
|
53
|
+
import "./paths-BB_1ZWOj.js";
|
|
54
54
|
import "./redact-TY4yJzrg.js";
|
|
55
55
|
import "./errors-BbXSsOtF.js";
|
|
56
|
-
import "./fs-safe-
|
|
57
|
-
import "./proxy-env-
|
|
58
|
-
import "./store-
|
|
59
|
-
import "./ports-
|
|
56
|
+
import "./fs-safe-jMDpsYew.js";
|
|
57
|
+
import "./proxy-env-wKO3g8Yv.js";
|
|
58
|
+
import "./store-DDkqo1sO.js";
|
|
59
|
+
import "./ports-DogAV7pa.js";
|
|
60
60
|
import "./trash-C6zcuM95.js";
|
|
61
|
-
import "./server-middleware-
|
|
62
|
-
import "./tool-images-
|
|
61
|
+
import "./server-middleware-DMiFT9xU.js";
|
|
62
|
+
import "./tool-images-CNPfeCmU.js";
|
|
63
63
|
import "./thinking-CrcT589P.js";
|
|
64
|
-
import "./models-config-
|
|
65
|
-
import "./exec-approvals-allowlist-
|
|
66
|
-
import "./exec-safe-bin-runtime-policy-
|
|
67
|
-
import "./model-catalog-
|
|
68
|
-
import "./fetch-
|
|
69
|
-
import "./audio-transcription-runner-
|
|
70
|
-
import "./fetch-guard-
|
|
71
|
-
import "./image-
|
|
64
|
+
import "./models-config-DNcDbV_G.js";
|
|
65
|
+
import "./exec-approvals-allowlist-ySf2Yo5n.js";
|
|
66
|
+
import "./exec-safe-bin-runtime-policy-DnXViOlF.js";
|
|
67
|
+
import "./model-catalog-DTcBkUlX.js";
|
|
68
|
+
import "./fetch-D-SiVqBm.js";
|
|
69
|
+
import "./audio-transcription-runner-D1cvrZ6s.js";
|
|
70
|
+
import "./fetch-guard-CKYBfJ66.js";
|
|
71
|
+
import "./image-CyHTO86Q.js";
|
|
72
72
|
import "./tool-display-CvlNC8XD.js";
|
|
73
|
-
import "./api-key-rotation-
|
|
73
|
+
import "./api-key-rotation-BbuLHl0_.js";
|
|
74
74
|
import "./proxy-fetch-DezNPSn_.js";
|
|
75
|
-
import "./ir-
|
|
75
|
+
import "./ir-Da7Ahsqc.js";
|
|
76
76
|
import "./render-CCLsW6Lz.js";
|
|
77
|
-
import "./target-errors-
|
|
78
|
-
import "./commands-
|
|
79
|
-
import "./commands-registry-
|
|
77
|
+
import "./target-errors-KOHiT_JA.js";
|
|
78
|
+
import "./commands-C8pWcFs_.js";
|
|
79
|
+
import "./commands-registry-J6nVL3BQ.js";
|
|
80
80
|
import "./fetch-Cep8cXb2.js";
|
|
81
|
-
import "./pairing-store-
|
|
81
|
+
import "./pairing-store-BXArq4hn.js";
|
|
82
82
|
import "./exec-approvals-BXpO0clf.js";
|
|
83
|
-
import "./nodes-screen-
|
|
84
|
-
import "./system-run-command-
|
|
85
|
-
import "./session-utils-
|
|
83
|
+
import "./nodes-screen-DfsQohWd.js";
|
|
84
|
+
import "./system-run-command-BmhbnLTE.js";
|
|
85
|
+
import "./session-utils-DKRmXD2l.js";
|
|
86
86
|
import "./session-cost-usage-TIBv8Nm4.js";
|
|
87
|
-
import "./skill-commands-
|
|
88
|
-
import "./workspace-dirs-
|
|
89
|
-
import "./channel-activity-
|
|
90
|
-
import "./tables-
|
|
91
|
-
import "./server-lifecycle-
|
|
87
|
+
import "./skill-commands-TpUsdjev.js";
|
|
88
|
+
import "./workspace-dirs-Cz_Zgtg2.js";
|
|
89
|
+
import "./channel-activity-LfmEkdDN.js";
|
|
90
|
+
import "./tables-BxyIF0w4.js";
|
|
91
|
+
import "./server-lifecycle-k5daSrde.js";
|
|
92
92
|
import "./stagger-C4U8O7GM.js";
|
|
93
|
-
import "./channel-selection-
|
|
94
|
-
import "./plugin-auto-enable-
|
|
95
|
-
import "./send-
|
|
96
|
-
import "./outbound-attachment-
|
|
93
|
+
import "./channel-selection-DFJsYFPo.js";
|
|
94
|
+
import "./plugin-auto-enable-BE4ZVjAL.js";
|
|
95
|
+
import "./send-CnRP4P-G.js";
|
|
96
|
+
import "./outbound-attachment-DfWsfe2N.js";
|
|
97
97
|
import "./delivery-queue-Bl-IGZt-.js";
|
|
98
|
-
import "./send-
|
|
99
|
-
import "./pi-tools.policy-
|
|
98
|
+
import "./send-DAQAKa9Z.js";
|
|
99
|
+
import "./pi-tools.policy-CydUEzFi.js";
|
|
100
100
|
import "./proxy-Dgwoliym.js";
|
|
101
|
-
import "./runtime-config-collectors-
|
|
102
|
-
import "./command-secret-targets-
|
|
103
|
-
import "./onboard-helpers-
|
|
101
|
+
import "./runtime-config-collectors-BQaC477D.js";
|
|
102
|
+
import "./command-secret-targets-u3eWn-W3.js";
|
|
103
|
+
import "./onboard-helpers-DO7u2ZOy.js";
|
|
104
104
|
import "./prompt-style-xJW90oWC.js";
|
|
105
|
-
import "./pairing-labels-
|
|
106
|
-
import "./memory-cli-
|
|
107
|
-
import "./manager-
|
|
108
|
-
import "./query-expansion-
|
|
105
|
+
import "./pairing-labels-D4rnJ5pJ.js";
|
|
106
|
+
import "./memory-cli-DarWCbU6.js";
|
|
107
|
+
import "./manager-BUBwl6M6.js";
|
|
108
|
+
import "./query-expansion-BrSWVbaE.js";
|
|
109
109
|
import { t as formatDocsLink } from "./links-D_JFKt7M.js";
|
|
110
110
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-BKqG4ZT-.js";
|
|
111
111
|
import "./help-format-D9iBodJ_.js";
|
|
112
112
|
import "./progress-BJ1VMw-T.js";
|
|
113
113
|
import "./note-CMWVcNTw.js";
|
|
114
114
|
import "./clack-prompter-t5d11SiL.js";
|
|
115
|
-
import "./issue-format-
|
|
115
|
+
import "./issue-format-CJ89_-9v.js";
|
|
116
116
|
import "./table-BGZynnUY.js";
|
|
117
|
-
import "./shared-
|
|
118
|
-
import "./auth-token-
|
|
117
|
+
import "./shared-CjuadLFV.js";
|
|
118
|
+
import "./auth-token-7kzDLVhb.js";
|
|
119
119
|
import "./logging-DBqQTcKD.js";
|
|
120
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
121
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
120
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-CrGL-jik.js";
|
|
121
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-CmjutMmh.js";
|
|
122
122
|
|
|
123
123
|
//#region src/cli/models-cli.ts
|
|
124
124
|
function runModelsCommand(action) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Gr as resolveImplicitProviders, Hr as normalizeProviders, Ur as resolveImplicitBedrockProvider, Wr as resolveImplicitCopilotProvider, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-
|
|
1
|
+
import { Gr as resolveImplicitProviders, Hr as normalizeProviders, Ur as resolveImplicitBedrockProvider, Wr as resolveImplicitCopilotProvider, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
2
2
|
import { u as isRecord } from "./utils-6WlODK5w.js";
|
|
3
3
|
import { t as applyConfigEnvVars } from "./env-vars-mSSOl7Rv.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/models-config.ts
|
|
8
8
|
const DEFAULT_MODE = "merge";
|
|
@@ -61,7 +61,7 @@ function mergeProviders(params) {
|
|
|
61
61
|
}
|
|
62
62
|
async function readJson(pathname) {
|
|
63
63
|
try {
|
|
64
|
-
const raw = await
|
|
64
|
+
const raw = await fs.readFile(pathname, "utf8");
|
|
65
65
|
return JSON.parse(raw);
|
|
66
66
|
} catch {
|
|
67
67
|
return null;
|
|
@@ -121,7 +121,7 @@ async function resolveProvidersForMode(params) {
|
|
|
121
121
|
}
|
|
122
122
|
async function readRawFile(pathname) {
|
|
123
123
|
try {
|
|
124
|
-
return await
|
|
124
|
+
return await fs.readFile(pathname, "utf8");
|
|
125
125
|
} catch {
|
|
126
126
|
return "";
|
|
127
127
|
}
|
|
@@ -153,11 +153,11 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
153
153
|
agentDir,
|
|
154
154
|
wrote: false
|
|
155
155
|
};
|
|
156
|
-
await
|
|
156
|
+
await fs.mkdir(agentDir, {
|
|
157
157
|
recursive: true,
|
|
158
158
|
mode: 448
|
|
159
159
|
});
|
|
160
|
-
await
|
|
160
|
+
await fs.writeFile(targetPath, next, { mode: 384 });
|
|
161
161
|
return {
|
|
162
162
|
agentDir,
|
|
163
163
|
wrote: true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dt as normalizeIpAddress, Tt as isPrivateOrLoopbackIpAddress, bt as isIpInCidr, vt as isCanonicalDottedDecimalIPv4, wt as isLoopbackIpAddress } from "./auth-profiles-
|
|
2
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
1
|
+
import { Dt as normalizeIpAddress, Tt as isPrivateOrLoopbackIpAddress, bt as isIpInCidr, vt as isCanonicalDottedDecimalIPv4, wt as isLoopbackIpAddress } from "./auth-profiles-CdLTlJLc.js";
|
|
2
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-0_FsdHP-.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import { Buffer } from "node:buffer";
|
|
5
5
|
import net from "node:net";
|
|
@@ -2,11 +2,11 @@ import { d as colorize, p as theme } from "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { en as analyzeArgvCommand, in as resolvePlannedSegmentArgv, ln as resolveCommandResolutionFromArgv, lt as secretRefKey, un as resolveExecutableFromPathEnv, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { en as analyzeArgvCommand, in as resolvePlannedSegmentArgv, ln as resolveCommandResolutionFromArgv, lt as secretRefKey, un as resolveExecutableFromPathEnv, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
7
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
7
|
+
import { i as resolveAgentConfig } from "./agent-scope-BRElciAf.js";
|
|
8
8
|
import "./utils-6WlODK5w.js";
|
|
9
|
-
import { s as sameFileIdentity } from "./openclaw-root-
|
|
9
|
+
import { s as sameFileIdentity } from "./openclaw-root-BFfBQ6FD.js";
|
|
10
10
|
import { i as logWarn } from "./logger-9wCpWqHD.js";
|
|
11
11
|
import "./exec-GR2kPVc1.js";
|
|
12
12
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-C3qkO1RG.js";
|
|
@@ -14,52 +14,52 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
14
14
|
import { a as sanitizeSystemRunEnvOverrides, i as sanitizeHostExecEnv } from "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import { t as VERSION } from "./version-DdJhsIqk.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
17
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
18
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
19
19
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CIqYyQ36.js";
|
|
20
20
|
import "./logging-CcxUDNcI.js";
|
|
21
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
22
|
-
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
21
|
+
import { r as writeJsonAtomic } from "./json-files-CuJjdF_0.js";
|
|
22
|
+
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-C-wA75vx.js";
|
|
23
23
|
import "./pairing-token-BXrId5bQ.js";
|
|
24
|
-
import "./net-
|
|
25
|
-
import "./tailnet-
|
|
26
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
27
|
-
import { c as detectMime } from "./image-ops-
|
|
28
|
-
import "./chrome-
|
|
24
|
+
import "./net-D5fSREu4.js";
|
|
25
|
+
import "./tailnet-0_FsdHP-.js";
|
|
26
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-BMMWHlH3.js";
|
|
27
|
+
import { c as detectMime } from "./image-ops-pjs5W0CZ.js";
|
|
28
|
+
import "./chrome-CyM61Cn2.js";
|
|
29
29
|
import "./tailscale-aXobtl7f.js";
|
|
30
|
-
import "./auth-
|
|
31
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
32
|
-
import "./paths-
|
|
30
|
+
import "./auth-Mj21c_GN.js";
|
|
31
|
+
import { i as resolveBrowserConfig } from "./server-context-8pDe2iyd.js";
|
|
32
|
+
import "./paths-BB_1ZWOj.js";
|
|
33
33
|
import "./redact-TY4yJzrg.js";
|
|
34
34
|
import "./errors-BbXSsOtF.js";
|
|
35
|
-
import "./fs-safe-
|
|
36
|
-
import "./proxy-env-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
35
|
+
import "./fs-safe-jMDpsYew.js";
|
|
36
|
+
import "./proxy-env-wKO3g8Yv.js";
|
|
37
|
+
import "./store-DDkqo1sO.js";
|
|
38
|
+
import "./ports-DogAV7pa.js";
|
|
39
39
|
import "./trash-C6zcuM95.js";
|
|
40
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
41
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
40
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-ySf2Yo5n.js";
|
|
41
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-DnXViOlF.js";
|
|
42
42
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, l as recordAllowlistUse, m as requestJsonlSocket, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval } from "./exec-approvals-BXpO0clf.js";
|
|
43
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
43
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-BmhbnLTE.js";
|
|
44
44
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-C8Mfdyag.js";
|
|
45
|
-
import "./server-lifecycle-
|
|
45
|
+
import "./server-lifecycle-k5daSrde.js";
|
|
46
46
|
import { t as formatDocsLink } from "./links-D_JFKt7M.js";
|
|
47
47
|
import { t as formatHelpExamples } from "./help-format-D9iBodJ_.js";
|
|
48
48
|
import { t as ensureOpenClawCliOnPath } from "./path-env-CXgXiZuy.js";
|
|
49
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
49
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-CYpECiEx.js";
|
|
50
50
|
import "./runtime-guard-TFt5GJ_Q.js";
|
|
51
51
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
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-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
52
|
+
import "./systemd-DjWVSbAG.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-BhOFtHSw.js";
|
|
54
|
+
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-BzuWBBm8.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-Do-aQ9jw.js";
|
|
56
56
|
import { t as parsePort } from "./parse-port-CboE2EQm.js";
|
|
57
57
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-D80C29Tj.js";
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-BpYZAvpl.js";
|
|
59
59
|
import { spawn, spawnSync } from "node:child_process";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import fs from "node:fs";
|
|
62
|
-
import
|
|
62
|
+
import fs$1 from "node:fs/promises";
|
|
63
63
|
import crypto from "node:crypto";
|
|
64
64
|
|
|
65
65
|
//#region src/node-host/config.ts
|
|
@@ -82,7 +82,7 @@ function normalizeConfig(config) {
|
|
|
82
82
|
async function loadNodeHostConfig() {
|
|
83
83
|
const filePath = resolveNodeHostConfigPath();
|
|
84
84
|
try {
|
|
85
|
-
const raw = await
|
|
85
|
+
const raw = await fs$1.readFile(filePath, "utf8");
|
|
86
86
|
return normalizeConfig(JSON.parse(raw));
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
@@ -178,10 +178,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
178
178
|
return [...paths];
|
|
179
179
|
}
|
|
180
180
|
async function readBrowserProxyFile(filePath) {
|
|
181
|
-
const stat = await
|
|
181
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
182
182
|
if (!stat || !stat.isFile()) return null;
|
|
183
183
|
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`);
|
|
184
|
-
const buffer = await
|
|
184
|
+
const buffer = await fs$1.readFile(filePath);
|
|
185
185
|
const mimeType = await detectMime({
|
|
186
186
|
buffer,
|
|
187
187
|
filePath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-
|
|
1
|
+
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-C-wA75vx.js";
|
|
2
2
|
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-D80C29Tj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-C8Mfdyag.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-BhOFtHSw.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { pt as parseDurationMs, z as loadConfig } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { pt as parseDurationMs, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-BRElciAf.js";
|
|
7
7
|
import { b as shortenHomeInString, x as shortenHomePath } from "./utils-6WlODK5w.js";
|
|
8
|
-
import "./openclaw-root-
|
|
8
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
9
9
|
import "./logger-9wCpWqHD.js";
|
|
10
10
|
import "./exec-GR2kPVc1.js";
|
|
11
11
|
import "./registry-C3qkO1RG.js";
|
|
@@ -13,22 +13,22 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
13
13
|
import "./host-env-security-lcjXF83D.js";
|
|
14
14
|
import "./version-DdJhsIqk.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
17
17
|
import "./message-channel-CIqYyQ36.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
+
import "./client-C-wA75vx.js";
|
|
19
|
+
import { a as randomIdempotencyKey } from "./call-Dp9SDkqK.js";
|
|
20
20
|
import "./pairing-token-BXrId5bQ.js";
|
|
21
|
-
import "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import "./net-D5fSREu4.js";
|
|
22
|
+
import "./tailnet-0_FsdHP-.js";
|
|
23
23
|
import "./redact-TY4yJzrg.js";
|
|
24
24
|
import "./errors-BbXSsOtF.js";
|
|
25
|
-
import "./proxy-env-
|
|
26
|
-
import "./exec-approvals-allowlist-
|
|
27
|
-
import "./fetch-guard-
|
|
25
|
+
import "./proxy-env-wKO3g8Yv.js";
|
|
26
|
+
import "./exec-approvals-allowlist-ySf2Yo5n.js";
|
|
27
|
+
import "./fetch-guard-CKYBfJ66.js";
|
|
28
28
|
import { n as formatTimeAgo } from "./format-relative-Czf5fUjn.js";
|
|
29
29
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-BXpO0clf.js";
|
|
30
|
-
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-
|
|
31
|
-
import "./system-run-command-
|
|
30
|
+
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-DfsQohWd.js";
|
|
31
|
+
import "./system-run-command-BmhbnLTE.js";
|
|
32
32
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-DO_ibeH6.js";
|
|
33
33
|
import { t as parseTimeoutMs } from "./parse-timeout-DUdeaMqF.js";
|
|
34
34
|
import { t as formatDocsLink } from "./links-D_JFKt7M.js";
|
|
@@ -36,8 +36,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-BKqG4ZT-.js";
|
|
|
36
36
|
import { t as formatHelpExamples } from "./help-format-D9iBodJ_.js";
|
|
37
37
|
import "./progress-BJ1VMw-T.js";
|
|
38
38
|
import { t as renderTable } from "./table-BGZynnUY.js";
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
40
|
-
import
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-DVfuVmy9.js";
|
|
40
|
+
import fs from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
43
43
|
function getNodesTheme() {
|
|
@@ -387,7 +387,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
387
387
|
const hasJsonl = Boolean(opts.jsonl);
|
|
388
388
|
const hasText = typeof opts.text === "string";
|
|
389
389
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
390
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
390
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fs.readFile(String(opts.jsonl), "utf8");
|
|
391
391
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
392
392
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
393
393
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-ENg_AXRt.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-CLEQe4bk.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-lcjXF83D.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-wKO3g8Yv.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CKYBfJ66.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-BmhbnLTE.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$2 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
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}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$2.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|