openclaw-multi-auto 1.4.4 → 1.4.6
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-BVgYdU9W.js → accounts-BtEMxtPK.js} +1 -1
- package/dist/{accounts-BU-CeDai.js → accounts-CUYZBSKh.js} +1 -1
- package/dist/{accounts-DJaYqD2E.js → accounts-khXX75l1.js} +7 -7
- package/dist/{acp-cli-oWFHnS7i.js → acp-cli-CA2oCCEA.js} +8 -8
- package/dist/{agent-scope-BRElciAf.js → agent-scope-NQ9CtXYN.js} +17 -17
- package/dist/{agents-CujsWz9d.js → agents-BWVlofyv.js} +14 -14
- package/dist/{agents.config-C42STger.js → agents.config-QVfqc4C-.js} +2 -2
- package/dist/{api-key-rotation-BbuLHl0_.js → api-key-rotation-Vix80AUw.js} +1 -1
- package/dist/{audio-preflight-Yg1vzPE1.js → audio-preflight-DUtdCXjJ.js} +34 -34
- package/dist/{audio-transcription-runner-D1cvrZ6s.js → audio-transcription-runner-DYKvqK54.js} +23 -23
- package/dist/{audit-DtlAv66L.js → audit-oC--RZy0.js} +29 -29
- package/dist/{auth-Mj21c_GN.js → auth-YB6m93-M.js} +1 -1
- package/dist/{auth-choice-CEycltU4.js → auth-choice-CsSQLEkP.js} +13 -13
- package/dist/{auth-choice-CGHVedXa.js → auth-choice-gp-h1aBd.js} +11 -11
- package/dist/{auth-choice.apply-helpers-D4YQXYfc.js → auth-choice.apply-helpers-CPpuynsT.js} +1 -1
- package/dist/{auth-profiles-CdLTlJLc.js → auth-profiles-15pq9j9V.js} +16 -16
- package/dist/{auth-token-7kzDLVhb.js → auth-token-Bwn8N6KA.js} +1 -1
- package/dist/{banner-CpzKVd4-.js → banner-hcZ0XNXv.js} +2 -2
- package/dist/{bonjour-discovery-BuS9wF_p.js → bonjour-discovery-2btw06uD.js} +1 -1
- package/dist/{browser-cli-BVtbvQ3Z.js → browser-cli-C4PdLYHy.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-Dp9SDkqK.js → call-CZgRbVYm.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-ESLVGdUf.js → channel-account-context-BYiOuxnf.js} +5 -5
- package/dist/{channel-activity-LfmEkdDN.js → channel-activity-D9K6yeu8.js} +1 -1
- package/dist/{channel-options-CsYaFB_4.js → channel-options-DJkf_8wi.js} +3 -3
- package/dist/{channel-selection-DFJsYFPo.js → channel-selection-BpIsCVV5.js} +1 -1
- package/dist/{channel-web-DzRsJEE4.js → channel-web-wb1My1Yi.js} +17 -17
- package/dist/{channels-cli-CpfeOXtJ.js → channels-cli-DlQONtY9.js} +93 -93
- package/dist/{channels-status-issues-6V9ktlZD.js → channels-status-issues-Hj-GOSVm.js} +1 -1
- package/dist/{chrome-CyM61Cn2.js → chrome-L_icBVLq.js} +4 -4
- package/dist/{clawbot-cli-COtnakIJ.js → clawbot-cli-CyTZUVIJ.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-jnT1hYPO.js → cli-CNTrB-ni.js} +73 -73
- package/dist/{client-C-wA75vx.js → client-g0366Z73.js} +2 -2
- package/dist/{command-registry-g5tDqdAU.js → command-registry-VOmumlmD.js} +11 -11
- package/dist/{command-secret-targets-u3eWn-W3.js → command-secret-targets-CIMuIdbL.js} +4 -4
- package/dist/{commands-C8pWcFs_.js → commands-DU7At3rY.js} +1 -1
- package/dist/{commands-registry-J6nVL3BQ.js → commands-registry-B_WUa9KB.js} +3 -3
- package/dist/{completion-cli-DQsyli3B.js → completion-cli-pqdmKVTo.js} +13 -13
- package/dist/{config-cli-DUycVHoC.js → config-cli-BqznmzlM.js} +7 -7
- package/dist/{config-guard--Obk2MGi.js → config-guard-D8jiLjr7.js} +3 -3
- package/dist/{config-validation-iOxszdEd.js → config-validation-BngLiGoq.js} +3 -3
- package/dist/{configure-Al_pz_5z.js → configure-B--Umf_O.js} +17 -17
- package/dist/{control-ui-assets-DpjfNcTC.js → control-ui-assets-C9ewbI8z.js} +1 -1
- package/dist/{cron-cli-CQ5EZw_b.js → cron-cli-DCRPpI1m.js} +11 -11
- package/dist/{daemon-cli-Bb80Mzv5.js → daemon-cli-DtBzKM_d.js} +15 -15
- package/dist/{daemon-install-B09ifLcJ.js → daemon-install-ckPBUAjJ.js} +4 -4
- package/dist/{daemon-install-helpers-CYpECiEx.js → daemon-install-helpers-BWf-PrgA.js} +11 -11
- package/dist/{deliver-CxF9h9PE.js → deliver-b93aBgie.js} +7 -7
- package/dist/deliver-runtime-CdWd-JQI.js +61 -0
- package/dist/deps-send-discord.runtime-BltWu9GW.js +36 -0
- package/dist/deps-send-imessage.runtime-CdCif3t7.js +35 -0
- package/dist/deps-send-signal.runtime-fHqkSmMW.js +34 -0
- package/dist/deps-send-slack.runtime-CkyZO7ln.js +32 -0
- package/dist/{deps-send-telegram.runtime-B6wp3kx8.js → deps-send-telegram.runtime-C--B69CN.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-BkoMLlCM.js +119 -0
- package/dist/{devices-cli-C0dUbeL4.js → devices-cli-D6V059Dh.js} +8 -8
- package/dist/{diagnostic-BfiudAAN.js → diagnostic-BpP9UBCE.js} +1 -1
- package/dist/{diagnostics-DCWM_8Ur.js → diagnostics---0c2_jo.js} +5 -5
- package/dist/{directory-cli-Dlws13Di.js → directory-cli-RYC34-EU.js} +7 -7
- package/dist/{dns-cli-But7QdAw.js → dns-cli-CElNoV5S.js} +5 -5
- package/dist/{dock-BbUkruOF.js → dock-nA2DVPCV.js} +4 -4
- package/dist/{docs-cli-Ck2IKAtw.js → docs-cli-Bv7ltPvi.js} +4 -4
- package/dist/{doctor-completion-Nat1HXE1.js → doctor-completion-CQIiN7rY.js} +2 -2
- package/dist/{doctor-config-flow-WCCoUXeB.js → doctor-config-flow-BOAryh5P.js} +15 -15
- package/dist/{enable-C3H8BtN4.js → enable-688HYBNS.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-ySf2Yo5n.js → exec-approvals-allowlist-C0Eya3rT.js} +1 -1
- package/dist/{exec-approvals-cli-DhLLOys6.js → exec-approvals-cli-BYYerKp8.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-DnXViOlF.js → exec-safe-bin-runtime-policy-BmJmfDRo.js} +2 -2
- package/dist/{fetch-D-SiVqBm.js → fetch-BhAHVdwx.js} +3 -3
- package/dist/{fetch-guard-CKYBfJ66.js → fetch-guard-BbBdhWz_.js} +1 -1
- package/dist/{fs-safe-jMDpsYew.js → fs-safe-CFLs-j60.js} +24 -24
- package/dist/{gateway-cli--atF6LYo.js → gateway-cli-DOYWSRqa.js} +153 -153
- package/dist/{gateway-rpc-DYyQQ1z9.js → gateway-rpc-w6t8Eq_1.js} +1 -1
- package/dist/{health-BDJ72U4Z.js → health-C1EstYHd.js} +11 -11
- package/dist/{hooks-cli-r0UX8B9a.js → hooks-cli-BFMve5sG.js} +81 -81
- package/dist/{hooks-status-CxBdpBry.js → hooks-status-DBnEWOEP.js} +1 -1
- package/dist/{image-CyHTO86Q.js → image-Bw71y73Q.js} +5 -5
- package/dist/{image-ops-pjs5W0CZ.js → image-ops-AJL9tN3_.js} +10 -10
- package/dist/image-runtime-6jhrqcle.js +55 -0
- package/dist/{inspect-BeU4yMp2.js → inspect-CUxeDA8c.js} +4 -4
- package/dist/{install-safe-path-BiL8OJvK.js → install-safe-path-BX58wFBl.js} +25 -25
- package/dist/{installs-BwKmG0Uy.js → installs-B-xr0Fzq.js} +9 -9
- package/dist/{ipv4-BoGwfnEw.js → ipv4-C4Yt-xid.js} +1 -1
- package/dist/{ir-Da7Ahsqc.js → ir-otKVkb4a.js} +8 -8
- package/dist/{issue-format-CJ89_-9v.js → issue-format-DSksfKiV.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-BzuWBBm8.js → lifecycle-core-DVwen0ks.js} +5 -5
- package/dist/{login-VkQ9MW3d.js → login-BcRaGQb6.js} +3 -3
- package/dist/{login-qr-BVMQ-xQz.js → login-qr-C9D47WEZ.js} +6 -6
- package/dist/{logs-cli-DWHhSnWs.js → logs-cli-B3TG2lp8.js} +9 -9
- package/dist/{manager-BUBwl6M6.js → manager-iwcRf3Xc.js} +14 -14
- package/dist/{manager-runtime-H9iQnw64.js → manager-runtime-D3KqpRT7.js} +9 -9
- package/dist/{manifest-registry-DVviqWVY.js → manifest-registry-CJb8odRF.js} +1 -1
- package/dist/{memory-cli-DarWCbU6.js → memory-cli-DGsJx7YM.js} +12 -12
- package/dist/{model-BLV8y_N-.js → model-B792l3Cn.js} +2 -2
- package/dist/{model-catalog-DTcBkUlX.js → model-catalog-DZ6kl2Ko.js} +3 -3
- package/dist/{model-picker-D-fTOOzb.js → model-picker-6fHys0wK.js} +4 -4
- package/dist/{models-CmjutMmh.js → models-DerrMmwF.js} +17 -17
- package/dist/{models-cli-BZFQX22p.js → models-cli-BkTZg_4v.js} +78 -78
- package/dist/{models-config-DNcDbV_G.js → models-config-Dabs9Kdv.js} +6 -6
- package/dist/{net-D5fSREu4.js → net-BAIqYNz0.js} +2 -2
- package/dist/{node-cli-Cnq-PJTp.js → node-cli-DoEq4zeG.js} +33 -33
- package/dist/{node-command-policy-B5BMBBJP.js → node-command-policy-DRhSc90G.js} +1 -1
- package/dist/{node-service-BpYZAvpl.js → node-service-CcgtNIeT.js} +1 -1
- package/dist/{nodes-cli-CkrDOWpv.js → nodes-cli--d9RiCnK.js} +16 -16
- package/dist/{nodes-screen-DfsQohWd.js → nodes-screen-BTND5VDq.js} +7 -7
- package/dist/{npm-pack-install-E-mkrZ55.js → npm-pack-install-CGUDOSKz.js} +18 -18
- package/dist/{npm-resolution-BUUmg5ON.js → npm-resolution-CAoULCWM.js} +4 -4
- package/dist/{onboard-DINGSS9R.js → onboard-CMZRkPVc.js} +6 -6
- package/dist/{onboard-channels-Di4MjWDY.js → onboard-channels-SlJu6XWJ.js} +21 -21
- package/dist/{onboard-custom-DITBQuWQ.js → onboard-custom-EzfL89yz.js} +4 -4
- package/dist/{onboard-helpers-DO7u2ZOy.js → onboard-helpers-lGpaVp03.js} +10 -10
- package/dist/{onboard-hooks-K02_ZWDq.js → onboard-hooks-B7TMiJoY.js} +4 -4
- package/dist/{onboard-remote-5-ugiSN2.js → onboard-remote-nvWS7on7.js} +4 -4
- package/dist/{onboard-skills-CSzbC2KZ.js → onboard-skills-hz91W03u.js} +4 -4
- package/dist/{onboarding-BM4dvUK6.js → onboarding-CTPuMVQI.js} +14 -14
- package/dist/{onboarding.finalize-p_RDh7ET.js → onboarding.finalize-DLzl5ZOg.js} +87 -87
- package/dist/{onboarding.gateway-config-DldlRfms.js → onboarding.gateway-config-C4MoTr60.js} +18 -18
- package/dist/{onboarding.secret-input-BIRIJiCU.js → onboarding.secret-input-BFD0OW4X.js} +1 -1
- package/dist/{openai-model-default-CY2Nk4cn.js → openai-model-default-h4LbSR7f.js} +2 -2
- package/dist/{openclaw-root-BFfBQ6FD.js → openclaw-root-BU3lu8pM.js} +8 -8
- package/dist/{outbound-attachment-DfWsfe2N.js → outbound-attachment-CAJBGcna.js} +2 -2
- package/dist/{outbound-DPdJe7e1.js → outbound-kbHYt1JW.js} +3 -3
- package/dist/{pairing-cli-D2VZxWg3.js → pairing-cli-CXbmkz7Z.js} +8 -8
- package/dist/{pairing-labels-D4rnJ5pJ.js → pairing-labels-CaPLIhlh.js} +1 -1
- package/dist/{pairing-store-BXArq4hn.js → pairing-store-Brs9aNn_.js} +3 -3
- package/dist/{path-alias-guards-DbNvNQar.js → path-alias-guards-DhIwq92y.js} +3 -3
- package/dist/{path-safety-ClQO4BB6.js → path-safety-BjIM4N4t.js} +1 -1
- package/dist/{paths-BB_1ZWOj.js → paths-Cv63xST_.js} +9 -9
- package/dist/{pi-embedded-helpers-oXDyXTD8.js → pi-embedded-helpers-DC2OtKrl.js} +6 -6
- package/dist/{pi-model-discovery-CECkJMCt.js → pi-model-discovery-DOb5RTev.js} +1 -1
- package/dist/{pi-model-discovery-runtime-g7UP-SFR.js → pi-model-discovery-runtime-DShjmiiF.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-Df7B-ggW.js → pi-tools.before-tool-call.runtime-B079pVah.js} +5 -5
- package/dist/{pi-tools.policy-CydUEzFi.js → pi-tools.policy-DZ-X86Va.js} +5 -5
- package/dist/{plugin-auto-enable-BE4ZVjAL.js → plugin-auto-enable-BCMqEDjQ.js} +3 -3
- package/dist/{plugin-registry-DXW3eyib.js → plugin-registry-BPlCWMur.js} +3 -3
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/{plugins-VAZrrfgw.js → plugins-DCxT-37x.js} +2 -2
- package/dist/{plugins-cli-BQJOOVMx.js → plugins-cli-D9ILEfyb.js} +83 -83
- package/dist/{ports-DMkRSlnH.js → ports-BlCLhwbc.js} +1 -1
- package/dist/{ports-DogAV7pa.js → ports-CER5YPnN.js} +2 -2
- package/dist/{program-BA11qFx1.js → program-CV56xn7w.js} +81 -81
- package/dist/{prompt-select-styled-B0GS28ia.js → prompt-select-styled-BOa5I_PU.js} +40 -40
- package/dist/{provider-auth-helpers-CrGL-jik.js → provider-auth-helpers-c6mNCUXO.js} +5 -5
- package/dist/{proxy-env-wKO3g8Yv.js → proxy-env-BMrSVckF.js} +1 -1
- package/dist/{push-apns-BEwBjZ0a.js → push-apns-FOkPD05E.js} +5 -5
- package/dist/{pw-ai-CnbxziFP.js → pw-ai-CxBU3aK5.js} +18 -18
- package/dist/{qmd-manager-Dp6PJ8zQ.js → qmd-manager-DEJMqoGd.js} +20 -20
- package/dist/{qr-cli-CFz9kS5X.js → qr-cli-BD2jK4fg.js} +2 -2
- package/dist/{query-expansion-BrSWVbaE.js → query-expansion-1UTIWjP6.js} +12 -12
- package/dist/{redact-snapshot-Bs4goggz.js → redact-snapshot-D_qQD4A-.js} +1 -1
- package/dist/{register.agent-D641ju8B.js → register.agent-tbPA5YAy.js} +94 -94
- package/dist/register.configure-DuwRrXc2.js +165 -0
- package/dist/{register.maintenance-BFkk8MEH.js → register.maintenance-DrqDlV5b.js} +95 -95
- package/dist/{register.message-D5uE_Hop.js → register.message-CoKXNaU0.js} +74 -74
- package/dist/{register.onboard-zHFvSwFr.js → register.onboard-CSWOSL9O.js} +18 -18
- package/dist/{register.setup-uTbv3_P1.js → register.setup-DBx5JX6h.js} +21 -21
- package/dist/{register.status-health-sessions-CB7t-JQx.js → register.status-health-sessions-D1bPtfep.js} +88 -88
- package/dist/{register.subclis-MEiNmuy5.js → register.subclis-QGJNmjss.js} +31 -31
- package/dist/{rpc-DVfuVmy9.js → rpc-DkMrTUww.js} +1 -1
- package/dist/{run-main-mrvunzuy.js → run-main-CPftxqTe.js} +92 -92
- package/dist/{runtime-C87FQrrv.js → runtime-MAH2Oph4.js} +3 -3
- package/dist/{runtime-config-collectors-BQaC477D.js → runtime-config-collectors-BJMV6Mt1.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-DjdgScUI.js → runtime-whatsapp-login.runtime-CGYWl9eB.js} +7 -7
- package/dist/{runtime-whatsapp-outbound.runtime-B74K7opl.js → runtime-whatsapp-outbound.runtime-hZEfYaRM.js} +15 -15
- package/dist/{sandbox-Ct-_lzi1.js → sandbox-0TbzPJaS.js} +18 -18
- package/dist/{sandbox-cli-C3RoXFRE.js → sandbox-cli-NLaxffXl.js} +25 -25
- package/dist/{secrets-cli-B3hqCxvs.js → secrets-cli-KLGbYet6.js} +11 -11
- package/dist/{security-cli-DcHIyXr7.js → security-cli-EIEkcYVb.js} +42 -42
- package/dist/{send-CnRP4P-G.js → send-BW-ZtYG3.js} +5 -5
- package/dist/{send-2zKwf9NW.js → send-BtZAqquW.js} +11 -11
- package/dist/{send-DAQAKa9Z.js → send-CxgWxXZc.js} +6 -6
- package/dist/{send-5o2p_xjn.js → send-DAMtu9kK.js} +4 -4
- package/dist/{send-u1Bo4CSn.js → send-sC6ka831.js} +8 -8
- package/dist/{server-context-8pDe2iyd.js → server-context-HJVwPQYn.js} +12 -12
- package/dist/{server-Ci4xtuR9.js → server-kUElNhlY.js} +20 -20
- package/dist/{server-lifecycle-k5daSrde.js → server-lifecycle-BE32unpZ.js} +2 -2
- package/dist/{server-middleware-DMiFT9xU.js → server-middleware-AS2VOYkK.js} +1 -1
- package/dist/{server-node-events-BmnPjNXE.js → server-node-events-DkbZzI6P.js} +74 -74
- package/dist/{service-BhOFtHSw.js → service-CyStNr3d.js} +15 -15
- package/dist/{session-DkOjpX3_.js → session-CaCx4rPH.js} +1 -1
- package/dist/{session-utils-DKRmXD2l.js → session-utils-CGqb1oeq.js} +6 -6
- package/dist/{sessions-svLGrv0Z.js → sessions-BV6HNW4h.js} +4 -4
- package/dist/{sessions-BOWPuhe5.js → sessions-BmVDW-7q.js} +15 -15
- package/dist/{shared-CjuadLFV.js → shared-DUQavBtY.js} +3 -3
- package/dist/{shared-CbAkLNrg.js → shared-JW74idb0.js} +1 -1
- package/dist/{skill-commands-TpUsdjev.js → skill-commands-WtIJG0CI.js} +5 -5
- package/dist/{skill-scanner-BZvvItef.js → skill-scanner-DIFsGcqE.js} +6 -6
- package/dist/{skills-DR-vacol.js → skills-7T9PwwL6.js} +3 -3
- package/dist/{skills-cli-oay0tY8Z.js → skills-cli-DPavvthL.js} +5 -5
- package/dist/{skills-install-Vmi7xYfa.js → skills-install-BoLfaoWv.js} +6 -6
- package/dist/{skills-status-BmN697ff.js → skills-status-CK5Gnf6i.js} +1 -1
- package/dist/{slash-commands.runtime-BfaheruW.js → slash-commands.runtime-CMGx2xHy.js} +11 -11
- package/dist/slash-dispatch.runtime-BAeJXa56.js +114 -0
- package/dist/{slash-skill-commands.runtime-D34BKAN-.js → slash-skill-commands.runtime-ChU2tck2.js} +15 -15
- package/dist/{status-BcQchPaC.js → status-Bp-K1BEf.js} +27 -27
- package/dist/{status.update-B20UBTDq.js → status.update-ZYUSggzS.js} +2 -2
- package/dist/{store-DDkqo1sO.js → store-DeASfYEV.js} +5 -5
- package/dist/{subagent-registry-CPxHbyN5.js → subagent-registry-8qHIVhRq.js} +149 -149
- package/dist/subagent-registry-runtime-DVomlbm6.js +114 -0
- package/dist/{system-cli-D2yIJoKU.js → system-cli-C2xNfuQM.js} +9 -9
- package/dist/{system-run-command-BmhbnLTE.js → system-run-command-BPWZk7KI.js} +1 -1
- package/dist/{systemd-DjWVSbAG.js → systemd-Cf-0XKYu.js} +9 -9
- package/dist/{systemd-hints-Do-aQ9jw.js → systemd-hints-CYllYKO0.js} +6 -6
- package/dist/{systemd-linger-DpmnYgKU.js → systemd-linger-zllO90bD.js} +1 -1
- package/dist/{tables-BxyIF0w4.js → tables-CV7Afb0h.js} +1 -1
- package/dist/{tailnet-0_FsdHP-.js → tailnet-DJFUq7_R.js} +1 -1
- package/dist/{plugin-sdk/target-errors-Blia4S69.js → target-errors-iVxliVqA.js} +4 -4
- package/dist/{tool-images-CNPfeCmU.js → tool-images-Bn6dB14u.js} +1 -1
- package/dist/{tui-DL6NZZEa.js → tui-DTVy-YhN.js} +6 -6
- package/dist/{tui-cli-BNAYhvpu.js → tui-cli-CexRLJ3a.js} +32 -32
- package/dist/{update-DlS-d52F.js → update-DijPxK0g.js} +3 -3
- package/dist/{update-cli-D8-DqIs2.js → update-cli-9NslG4yR.js} +104 -104
- package/dist/{update-runner-CzTQ7BJT.js → update-runner-B6_UqreW.js} +16 -16
- package/dist/web-DGoa03ue.js +118 -0
- package/dist/{webhooks-cli-QdaQhvbT.js → webhooks-cli-B4ZcXTtw.js} +6 -6
- package/dist/{whatsapp-actions-Bp8F0cOF.js → whatsapp-actions-Jm4VW1Ve.js} +17 -17
- package/dist/{with-timeout-BMMWHlH3.js → with-timeout-C8-tY12i.js} +3 -3
- package/dist/{workspace-v76gFdZu.js → workspace-CIGzK2_w.js} +1 -1
- package/dist/{workspace-dirs-Cz_Zgtg2.js → workspace-dirs-D4SMysgC.js} +1 -1
- package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
- package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
- package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
- package/package.json +1 -1
- package/scripts/create-instance.sh +1 -1
- package/scripts/install-maca.sh +78 -87
- package/dist/deliver-runtime-DixuU_uB.js +0 -61
- package/dist/deps-send-discord.runtime-CDcLcDSt.js +0 -36
- package/dist/deps-send-imessage.runtime-BGPUVMIE.js +0 -35
- package/dist/deps-send-signal.runtime-DQDD44_O.js +0 -34
- package/dist/deps-send-slack.runtime-Cpy77gBG.js +0 -32
- package/dist/deps-send-whatsapp.runtime-D2sVAclS.js +0 -119
- package/dist/image-runtime-B2qh5seQ.js +0 -55
- package/dist/plugin-sdk/accounts-CJWOBzwB.js +0 -35
- package/dist/plugin-sdk/accounts-DP1-L-QS.js +0 -288
- package/dist/plugin-sdk/accounts-DZhWlEg3.js +0 -46
- package/dist/plugin-sdk/active-listener-B_sLJTXM.js +0 -50
- package/dist/plugin-sdk/api-key-rotation-BRE4X2tf.js +0 -181
- package/dist/plugin-sdk/audio-preflight-DGEUDxxR.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-DkoPNPYt.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-DSBHHw7o.js +0 -58
- package/dist/plugin-sdk/channel-activity-F3d0yUwy.js +0 -94
- package/dist/plugin-sdk/channel-web-QF7EpjeP.js +0 -2256
- package/dist/plugin-sdk/chrome-BXoCyCkY.js +0 -2415
- package/dist/plugin-sdk/commands-registry-t7cXBTfN.js +0 -1125
- package/dist/plugin-sdk/config-BkEnz2Po.js +0 -17913
- package/dist/plugin-sdk/deliver-B6AG_l67.js +0 -1694
- package/dist/plugin-sdk/deliver-runtime-D585kJZc.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-a_OKY2js.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-Baxy9TD4.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BwXoCrFl.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-CLmKjgso.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-BKfdBKnZ.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BOTwkbx_.js +0 -57
- package/dist/plugin-sdk/diagnostic-CsP-lEkI.js +0 -319
- package/dist/plugin-sdk/errors-DaiAM-yU.js +0 -54
- package/dist/plugin-sdk/fetch-guard-DETCcJzQ.js +0 -156
- package/dist/plugin-sdk/fs-safe-B8y811FR.js +0 -352
- package/dist/plugin-sdk/image-DjTEkYZE.js +0 -2310
- package/dist/plugin-sdk/image-ops-BSiMpAw4.js +0 -584
- package/dist/plugin-sdk/image-runtime-6xPp8m5a.js +0 -25
- package/dist/plugin-sdk/ir-DQ7_HbvK.js +0 -1296
- package/dist/plugin-sdk/local-roots-BUP4YBmR.js +0 -186
- package/dist/plugin-sdk/logger-CZY9KIoY.js +0 -1163
- package/dist/plugin-sdk/login-BxEKLlCo.js +0 -57
- package/dist/plugin-sdk/login-qr-BQIpMPr9.js +0 -320
- package/dist/plugin-sdk/manager-I6KbPihW.js +0 -3917
- package/dist/plugin-sdk/manager-runtime-CFfYYWIQ.js +0 -15
- package/dist/plugin-sdk/outbound-NS6UHnB6.js +0 -212
- package/dist/plugin-sdk/outbound-attachment-Dy6fyf6H.js +0 -19
- package/dist/plugin-sdk/path-alias-guards-DBjLbIX_.js +0 -43
- package/dist/plugin-sdk/paths-vTM3Lh3X.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-1R1gu7eX.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-runtime-Do9o-dUd.js +0 -8
- package/dist/plugin-sdk/pi-model-discovery-v-XPUOOf.js +0 -134
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-D4sFsIks.js +0 -354
- package/dist/plugin-sdk/plugins-DeBZB9l_.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-ChxOhWF4.js +0 -38
- package/dist/plugin-sdk/pw-ai-DEOmCSSC.js +0 -1938
- package/dist/plugin-sdk/qmd-manager-HyYKoEch.js +0 -1448
- package/dist/plugin-sdk/query-expansion-CeyKUeDW.js +0 -1011
- package/dist/plugin-sdk/redact-DjVX-1N3.js +0 -319
- package/dist/plugin-sdk/reply-DAo_Jt8K.js +0 -97916
- package/dist/plugin-sdk/resolve-outbound-target-B42qgQS9.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-Bt_ks0Qa.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6W989eF.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-c_GDFy37.js +0 -19
- package/dist/plugin-sdk/send-CQpMudwO.js +0 -2587
- package/dist/plugin-sdk/send-DQHLzVyO.js +0 -414
- package/dist/plugin-sdk/send-DTB24bEF.js +0 -3135
- package/dist/plugin-sdk/send-DfHadjZ_.js +0 -503
- package/dist/plugin-sdk/send-XXlW2iny.js +0 -540
- package/dist/plugin-sdk/session-6TF6MyaC.js +0 -169
- package/dist/plugin-sdk/skill-commands-CkGeFUMl.js +0 -342
- package/dist/plugin-sdk/skills-CBkHBYPq.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-CxliuGaP.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DFaeYlJQ.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-0M0OLCxq.js +0 -16
- package/dist/plugin-sdk/ssrf-cFtplYtS.js +0 -202
- package/dist/plugin-sdk/store-5nyxY3WU.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-DCtmDwna.js +0 -52
- package/dist/plugin-sdk/tables-C47P4GTN.js +0 -55
- package/dist/plugin-sdk/thinking-Bo2eosVa.js +0 -1206
- package/dist/plugin-sdk/tokens-DgNRBwIg.js +0 -52
- package/dist/plugin-sdk/tool-images-Gk_-0y2N.js +0 -274
- package/dist/plugin-sdk/web-CVxZbXyH.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-Bw0H9g-n.js +0 -80
- package/dist/register.configure-BrDOSLIq.js +0 -165
- package/dist/slash-dispatch.runtime-D0xInkf3.js +0 -114
- package/dist/subagent-registry-runtime-SkB2tTaE.js +0 -114
- package/dist/target-errors-KOHiT_JA.js +0 -195
- package/dist/web-DWiOofzq.js +0 -118
|
@@ -3,11 +3,11 @@ import "./paths-BMo6kTge.js";
|
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
6
|
-
import "./auth-profiles-
|
|
6
|
+
import "./auth-profiles-15pq9j9V.js";
|
|
7
7
|
import { n as replaceCliName, r as resolveCliName } from "./command-format-CLEQe4bk.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-NQ9CtXYN.js";
|
|
9
9
|
import { c as escapeRegExp } from "./utils-6WlODK5w.js";
|
|
10
|
-
import "./openclaw-root-
|
|
10
|
+
import "./openclaw-root-BU3lu8pM.js";
|
|
11
11
|
import "./logger-9wCpWqHD.js";
|
|
12
12
|
import "./exec-GR2kPVc1.js";
|
|
13
13
|
import "./registry-C3qkO1RG.js";
|
|
@@ -15,110 +15,110 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
15
15
|
import "./host-env-security-lcjXF83D.js";
|
|
16
16
|
import { t as VERSION } from "./version-DdJhsIqk.js";
|
|
17
17
|
import "./env-vars-mSSOl7Rv.js";
|
|
18
|
-
import "./manifest-registry-
|
|
19
|
-
import "./dock-
|
|
20
|
-
import "./model-
|
|
21
|
-
import "./pi-model-discovery-
|
|
22
|
-
import "./diagnostic-
|
|
18
|
+
import "./manifest-registry-CJb8odRF.js";
|
|
19
|
+
import "./dock-nA2DVPCV.js";
|
|
20
|
+
import "./model-B792l3Cn.js";
|
|
21
|
+
import "./pi-model-discovery-DOb5RTev.js";
|
|
22
|
+
import "./diagnostic-BpP9UBCE.js";
|
|
23
23
|
import "./frontmatter-D2o8_Jfu.js";
|
|
24
|
-
import "./skills-
|
|
25
|
-
import "./path-alias-guards-
|
|
24
|
+
import "./skills-7T9PwwL6.js";
|
|
25
|
+
import "./path-alias-guards-DhIwq92y.js";
|
|
26
26
|
import "./message-channel-CIqYyQ36.js";
|
|
27
|
-
import "./sessions-
|
|
28
|
-
import "./plugins-
|
|
29
|
-
import "./accounts-
|
|
30
|
-
import "./accounts-
|
|
27
|
+
import "./sessions-BmVDW-7q.js";
|
|
28
|
+
import "./plugins-DCxT-37x.js";
|
|
29
|
+
import "./accounts-khXX75l1.js";
|
|
30
|
+
import "./accounts-CUYZBSKh.js";
|
|
31
31
|
import "./logging-CcxUDNcI.js";
|
|
32
|
-
import "./accounts-
|
|
33
|
-
import "./send-
|
|
34
|
-
import "./send-
|
|
35
|
-
import "./subagent-registry-
|
|
32
|
+
import "./accounts-BtEMxtPK.js";
|
|
33
|
+
import "./send-DAMtu9kK.js";
|
|
34
|
+
import "./send-BtZAqquW.js";
|
|
35
|
+
import "./subagent-registry-8qHIVhRq.js";
|
|
36
36
|
import "./paths-DvFmz0MB.js";
|
|
37
37
|
import "./chat-envelope-D3RSz140.js";
|
|
38
|
-
import "./client-
|
|
39
|
-
import "./call-
|
|
38
|
+
import "./client-g0366Z73.js";
|
|
39
|
+
import "./call-CZgRbVYm.js";
|
|
40
40
|
import "./pairing-token-BXrId5bQ.js";
|
|
41
|
-
import "./net-
|
|
42
|
-
import "./tailnet-
|
|
41
|
+
import "./net-BAIqYNz0.js";
|
|
42
|
+
import "./tailnet-DJFUq7_R.js";
|
|
43
43
|
import "./tokens-6laAe_ss.js";
|
|
44
|
-
import "./with-timeout-
|
|
45
|
-
import "./deliver-
|
|
46
|
-
import "./image-ops-
|
|
47
|
-
import "./send-
|
|
48
|
-
import "./pi-embedded-helpers-
|
|
49
|
-
import "./sandbox-
|
|
44
|
+
import "./with-timeout-C8-tY12i.js";
|
|
45
|
+
import "./deliver-b93aBgie.js";
|
|
46
|
+
import "./image-ops-AJL9tN3_.js";
|
|
47
|
+
import "./send-sC6ka831.js";
|
|
48
|
+
import "./pi-embedded-helpers-DC2OtKrl.js";
|
|
49
|
+
import "./sandbox-0TbzPJaS.js";
|
|
50
50
|
import "./tool-catalog-C04U7H3F.js";
|
|
51
|
-
import "./chrome-
|
|
51
|
+
import "./chrome-L_icBVLq.js";
|
|
52
52
|
import "./tailscale-aXobtl7f.js";
|
|
53
|
-
import "./auth-
|
|
54
|
-
import "./server-context-
|
|
55
|
-
import "./paths-
|
|
53
|
+
import "./auth-YB6m93-M.js";
|
|
54
|
+
import "./server-context-HJVwPQYn.js";
|
|
55
|
+
import "./paths-Cv63xST_.js";
|
|
56
56
|
import "./redact-TY4yJzrg.js";
|
|
57
57
|
import "./errors-BbXSsOtF.js";
|
|
58
|
-
import "./fs-safe-
|
|
59
|
-
import "./proxy-env-
|
|
60
|
-
import "./store-
|
|
61
|
-
import "./ports-
|
|
58
|
+
import "./fs-safe-CFLs-j60.js";
|
|
59
|
+
import "./proxy-env-BMrSVckF.js";
|
|
60
|
+
import "./store-DeASfYEV.js";
|
|
61
|
+
import "./ports-CER5YPnN.js";
|
|
62
62
|
import "./trash-C6zcuM95.js";
|
|
63
|
-
import "./server-middleware-
|
|
64
|
-
import "./tool-images-
|
|
63
|
+
import "./server-middleware-AS2VOYkK.js";
|
|
64
|
+
import "./tool-images-Bn6dB14u.js";
|
|
65
65
|
import "./thinking-CrcT589P.js";
|
|
66
|
-
import "./models-config-
|
|
67
|
-
import "./exec-approvals-allowlist-
|
|
68
|
-
import "./exec-safe-bin-runtime-policy-
|
|
69
|
-
import "./model-catalog-
|
|
70
|
-
import "./fetch-
|
|
71
|
-
import "./audio-transcription-runner-
|
|
72
|
-
import "./fetch-guard-
|
|
73
|
-
import "./image-
|
|
66
|
+
import "./models-config-Dabs9Kdv.js";
|
|
67
|
+
import "./exec-approvals-allowlist-C0Eya3rT.js";
|
|
68
|
+
import "./exec-safe-bin-runtime-policy-BmJmfDRo.js";
|
|
69
|
+
import "./model-catalog-DZ6kl2Ko.js";
|
|
70
|
+
import "./fetch-BhAHVdwx.js";
|
|
71
|
+
import "./audio-transcription-runner-DYKvqK54.js";
|
|
72
|
+
import "./fetch-guard-BbBdhWz_.js";
|
|
73
|
+
import "./image-Bw71y73Q.js";
|
|
74
74
|
import "./tool-display-CvlNC8XD.js";
|
|
75
|
-
import "./api-key-rotation-
|
|
75
|
+
import "./api-key-rotation-Vix80AUw.js";
|
|
76
76
|
import "./proxy-fetch-DezNPSn_.js";
|
|
77
|
-
import "./ir-
|
|
77
|
+
import "./ir-otKVkb4a.js";
|
|
78
78
|
import "./render-CCLsW6Lz.js";
|
|
79
|
-
import "./target-errors-
|
|
80
|
-
import "./commands-
|
|
81
|
-
import "./commands-registry-
|
|
79
|
+
import "./target-errors-iVxliVqA.js";
|
|
80
|
+
import "./commands-DU7At3rY.js";
|
|
81
|
+
import "./commands-registry-B_WUa9KB.js";
|
|
82
82
|
import "./fetch-Cep8cXb2.js";
|
|
83
|
-
import "./pairing-store-
|
|
83
|
+
import "./pairing-store-Brs9aNn_.js";
|
|
84
84
|
import "./exec-approvals-BXpO0clf.js";
|
|
85
|
-
import "./nodes-screen-
|
|
86
|
-
import "./system-run-command-
|
|
87
|
-
import "./session-utils-
|
|
85
|
+
import "./nodes-screen-BTND5VDq.js";
|
|
86
|
+
import "./system-run-command-BPWZk7KI.js";
|
|
87
|
+
import "./session-utils-CGqb1oeq.js";
|
|
88
88
|
import "./session-cost-usage-TIBv8Nm4.js";
|
|
89
|
-
import "./skill-commands-
|
|
90
|
-
import "./workspace-dirs-
|
|
91
|
-
import "./channel-activity-
|
|
92
|
-
import "./tables-
|
|
93
|
-
import "./server-lifecycle-
|
|
89
|
+
import "./skill-commands-WtIJG0CI.js";
|
|
90
|
+
import "./workspace-dirs-D4SMysgC.js";
|
|
91
|
+
import "./channel-activity-D9K6yeu8.js";
|
|
92
|
+
import "./tables-CV7Afb0h.js";
|
|
93
|
+
import "./server-lifecycle-BE32unpZ.js";
|
|
94
94
|
import "./stagger-C4U8O7GM.js";
|
|
95
|
-
import "./channel-selection-
|
|
96
|
-
import "./plugin-auto-enable-
|
|
97
|
-
import "./send-
|
|
98
|
-
import "./outbound-attachment-
|
|
95
|
+
import "./channel-selection-BpIsCVV5.js";
|
|
96
|
+
import "./plugin-auto-enable-BCMqEDjQ.js";
|
|
97
|
+
import "./send-BW-ZtYG3.js";
|
|
98
|
+
import "./outbound-attachment-CAJBGcna.js";
|
|
99
99
|
import "./delivery-queue-Bl-IGZt-.js";
|
|
100
|
-
import "./send-
|
|
101
|
-
import "./pi-tools.policy-
|
|
100
|
+
import "./send-CxgWxXZc.js";
|
|
101
|
+
import "./pi-tools.policy-DZ-X86Va.js";
|
|
102
102
|
import "./proxy-Dgwoliym.js";
|
|
103
|
-
import "./runtime-config-collectors-
|
|
104
|
-
import "./command-secret-targets-
|
|
105
|
-
import "./onboard-helpers-
|
|
103
|
+
import "./runtime-config-collectors-BJMV6Mt1.js";
|
|
104
|
+
import "./command-secret-targets-CIMuIdbL.js";
|
|
105
|
+
import "./onboard-helpers-lGpaVp03.js";
|
|
106
106
|
import "./prompt-style-xJW90oWC.js";
|
|
107
|
-
import "./pairing-labels-
|
|
108
|
-
import "./memory-cli-
|
|
109
|
-
import "./manager-
|
|
110
|
-
import "./query-expansion-
|
|
107
|
+
import "./pairing-labels-CaPLIhlh.js";
|
|
108
|
+
import "./memory-cli-DGsJx7YM.js";
|
|
109
|
+
import "./manager-iwcRf3Xc.js";
|
|
110
|
+
import "./query-expansion-1UTIWjP6.js";
|
|
111
111
|
import { t as formatDocsLink } from "./links-D_JFKt7M.js";
|
|
112
112
|
import "./cli-utils-BKqG4ZT-.js";
|
|
113
113
|
import "./help-format-D9iBodJ_.js";
|
|
114
114
|
import "./progress-BJ1VMw-T.js";
|
|
115
|
-
import "./plugin-registry-
|
|
116
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
117
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
118
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
115
|
+
import "./plugin-registry-BPlCWMur.js";
|
|
116
|
+
import { n as resolveCliChannelOptions } from "./channel-options-DJkf_8wi.js";
|
|
117
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-QGJNmjss.js";
|
|
118
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-VOmumlmD.js";
|
|
119
119
|
import { r as setProgramContext } from "./program-context-D-_wfauA.js";
|
|
120
|
-
import { t as forceFreePort } from "./ports-
|
|
121
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
120
|
+
import { t as forceFreePort } from "./ports-BlCLhwbc.js";
|
|
121
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-hcZ0XNXv.js";
|
|
122
122
|
import { Command, InvalidArgumentError } from "commander";
|
|
123
123
|
|
|
124
124
|
//#region src/cli/program/context.ts
|
|
@@ -247,11 +247,11 @@ function shouldBypassConfigGuard(commandPath) {
|
|
|
247
247
|
return false;
|
|
248
248
|
}
|
|
249
249
|
function loadConfigGuardModule() {
|
|
250
|
-
configGuardModulePromise ??= import("./config-guard
|
|
250
|
+
configGuardModulePromise ??= import("./config-guard-D8jiLjr7.js").then((n) => n.t);
|
|
251
251
|
return configGuardModulePromise;
|
|
252
252
|
}
|
|
253
253
|
function loadPluginRegistryModule() {
|
|
254
|
-
pluginRegistryModulePromise ??= import("./plugin-registry-
|
|
254
|
+
pluginRegistryModulePromise ??= import("./plugin-registry-BPlCWMur.js").then((n) => n.n);
|
|
255
255
|
return pluginRegistryModulePromise;
|
|
256
256
|
}
|
|
257
257
|
function getRootCommand(command) {
|
|
@@ -2,58 +2,58 @@ import { g as getResolvedLoggerSettings } from "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import { r as isTruthyEnvValue$1 } from "./entry.js";
|
|
5
|
-
import { Bi as CLAUDE_CLI_PROFILE_ID, Er as resolveConfiguredModelRef, G as writeConfigFile, Ii as DEFAULT_MODEL, Kn as repairOAuthProfileIdMismatch, Li as DEFAULT_PROVIDER, Or as resolveHooksGmailModel, V as readConfigFileSnapshot, Vi as CODEX_CLI_PROFILE_ID, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gr as getModelRefStatus, ir as updateAuthProfileStoreWithLock, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider } from "./auth-profiles-
|
|
5
|
+
import { Bi as CLAUDE_CLI_PROFILE_ID, Er as resolveConfiguredModelRef, G as writeConfigFile, Ii as DEFAULT_MODEL, Kn as repairOAuthProfileIdMismatch, Li as DEFAULT_PROVIDER, Or as resolveHooksGmailModel, V as readConfigFileSnapshot, Vi as CODEX_CLI_PROFILE_ID, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gr as getModelRefStatus, ir as updateAuthProfileStoreWithLock, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider } from "./auth-profiles-15pq9j9V.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
7
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-NQ9CtXYN.js";
|
|
8
8
|
import { E as parseAgentSessionKey } from "./session-key-k6urs9r-.js";
|
|
9
9
|
import { S as sleep, v as resolveUserPath, x as shortenHomePath } from "./utils-6WlODK5w.js";
|
|
10
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
10
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BU3lu8pM.js";
|
|
11
11
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-GR2kPVc1.js";
|
|
12
12
|
import { A as hasConfiguredSecretInput } from "./registry-C3qkO1RG.js";
|
|
13
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
14
|
-
import { B as cleanStaleLockFiles, o as loadSessionStore, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-
|
|
15
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
16
|
-
import { Nn as analyzeBootstrapBudget, Pn as buildBootstrapInjectionStats, b as loadOpenClawPlugins, dn as buildAuthHealthSummary, fn as formatRemainingShort, un as DEFAULT_OAUTH_WARN_MS, vr as resolveAgentSessionDirs, wr as resolveBootstrapContextForRun } from "./subagent-registry-
|
|
13
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-CK5Gnf6i.js";
|
|
14
|
+
import { B as cleanStaleLockFiles, o as loadSessionStore, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-BmVDW-7q.js";
|
|
15
|
+
import { n as listChannelPlugins } from "./plugins-DCxT-37x.js";
|
|
16
|
+
import { Nn as analyzeBootstrapBudget, Pn as buildBootstrapInjectionStats, b as loadOpenClawPlugins, dn as buildAuthHealthSummary, fn as formatRemainingShort, un as DEFAULT_OAUTH_WARN_MS, vr as resolveAgentSessionDirs, wr as resolveBootstrapContextForRun } from "./subagent-registry-8qHIVhRq.js";
|
|
17
17
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-DvFmz0MB.js";
|
|
18
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
-
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-
|
|
20
|
-
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-
|
|
21
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
22
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
23
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
24
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
18
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CZgRbVYm.js";
|
|
19
|
+
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-BAIqYNz0.js";
|
|
20
|
+
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-DC2OtKrl.js";
|
|
21
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-0TbzPJaS.js";
|
|
22
|
+
import { a as resolveGatewayAuth } from "./auth-YB6m93-M.js";
|
|
23
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-CER5YPnN.js";
|
|
24
|
+
import { n as loadModelCatalog } from "./model-catalog-DZ6kl2Ko.js";
|
|
25
25
|
import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-C8Mfdyag.js";
|
|
26
|
-
import { l as resolveDmAllowState } from "./pi-tools.policy-
|
|
27
|
-
import { r as isWSLEnv, t as isWSL } from "./wsl-
|
|
28
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
26
|
+
import { l as resolveDmAllowState } from "./pi-tools.policy-DZ-X86Va.js";
|
|
27
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-CsGe5QCP.js";
|
|
28
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-lGpaVp03.js";
|
|
29
29
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-xJW90oWC.js";
|
|
30
|
-
import { i as resolveMemoryBackendConfig } from "./memory-cli-
|
|
31
|
-
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-
|
|
30
|
+
import { i as resolveMemoryBackendConfig } from "./memory-cli-DGsJx7YM.js";
|
|
31
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-iwcRf3Xc.js";
|
|
32
32
|
import { t as note$1 } from "./note-CMWVcNTw.js";
|
|
33
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
34
|
-
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
33
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-Hj-GOSVm.js";
|
|
34
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BWf-PrgA.js";
|
|
35
35
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
36
|
-
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
37
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
38
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
39
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics
|
|
40
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
41
|
-
import { r as healthCommand } from "./health-
|
|
42
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
43
|
-
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
44
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
36
|
+
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-Cf-0XKYu.js";
|
|
37
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CyStNr3d.js";
|
|
38
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-CYllYKO0.js";
|
|
39
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics---0c2_jo.js";
|
|
40
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CUxeDA8c.js";
|
|
41
|
+
import { r as healthCommand } from "./health-C1EstYHd.js";
|
|
42
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-C9ewbI8z.js";
|
|
43
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-BYiOuxnf.js";
|
|
44
|
+
import { t as runGatewayUpdate } from "./update-runner-B6_UqreW.js";
|
|
45
45
|
import { n as logConfigUpdated } from "./logging-DBqQTcKD.js";
|
|
46
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
46
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BOAryh5P.js";
|
|
47
47
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-f2PW3ZlR.js";
|
|
48
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
48
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-zllO90bD.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-10FSPzek.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CQIiN7rY.js";
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
54
54
|
import fs from "node:fs";
|
|
55
55
|
import { promisify } from "node:util";
|
|
56
|
-
import
|
|
56
|
+
import fsPromises from "node:fs/promises";
|
|
57
57
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
58
58
|
|
|
59
59
|
//#region src/commands/doctor-auth.ts
|
|
@@ -604,16 +604,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
604
604
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
605
605
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
606
606
|
try {
|
|
607
|
-
await
|
|
607
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
608
608
|
} catch {}
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fsPromises.access(params.plistPath);
|
|
611
611
|
} catch {
|
|
612
612
|
return null;
|
|
613
613
|
}
|
|
614
614
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
615
615
|
try {
|
|
616
|
-
await
|
|
616
|
+
await fsPromises.rename(params.plistPath, dest);
|
|
617
617
|
return dest;
|
|
618
618
|
} catch {
|
|
619
619
|
return null;
|
|
@@ -1952,11 +1952,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1952
1952
|
argv1: process.argv[1]
|
|
1953
1953
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1954
1954
|
try {
|
|
1955
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1955
|
+
const [schemaStats, uiStats] = await Promise.all([fsPromises.stat(schemaPath).catch(() => null), fsPromises.stat(uiIndexPath).catch(() => null)]);
|
|
1956
1956
|
if (schemaStats && !uiStats) {
|
|
1957
1957
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1958
1958
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1959
|
-
if (!await
|
|
1959
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
1960
1960
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1961
1961
|
return;
|
|
1962
1962
|
}
|
|
@@ -2001,7 +2001,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
2001
2001
|
initialValue: true
|
|
2002
2002
|
})) {
|
|
2003
2003
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
2004
|
-
if (!await
|
|
2004
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
2005
2005
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
2006
2006
|
return;
|
|
2007
2007
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
2
|
-
import { Sr as normalizeProviderId, Zn as upsertAuthProfile, er as ensureAuthProfileStore } from "./auth-profiles-
|
|
3
|
-
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
-
import { r as isWSLEnv } from "./wsl-
|
|
2
|
+
import { Sr as normalizeProviderId, Zn as upsertAuthProfile, er as ensureAuthProfileStore } from "./auth-profiles-15pq9j9V.js";
|
|
3
|
+
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-8qHIVhRq.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-CsGe5QCP.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-xJW90oWC.js";
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { f as updateConfig } from "./shared-DUQavBtY.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-Bwn8N6KA.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-DBqQTcKD.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as isLegacyIpv4Literal, Ot as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv6Address, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, kt as parseLooseIpAddress, vt as isCanonicalDottedDecimalIPv4, xt as isIpv4Address } from "./auth-profiles-
|
|
1
|
+
import { Ct as isLegacyIpv4Literal, Ot as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv6Address, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, kt as parseLooseIpAddress, vt as isCanonicalDottedDecimalIPv4, xt as isIpv4Address } from "./auth-profiles-15pq9j9V.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -2,13 +2,13 @@ import { r as isVerbose } from "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import { E as parseAgentSessionKey } from "./session-key-k6urs9r-.js";
|
|
5
|
-
import { g as sniffMimeFromBase64 } from "./subagent-registry-
|
|
6
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
5
|
+
import { g as sniffMimeFromBase64 } from "./subagent-registry-8qHIVhRq.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-rR19q30D.js";
|
|
7
7
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-TY4yJzrg.js";
|
|
8
|
-
import { o as estimateBase64DecodedBytes } from "./tool-images-
|
|
8
|
+
import { o as estimateBase64DecodedBytes } from "./tool-images-Bn6dB14u.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
|
-
import
|
|
11
|
+
import fsPromises from "node:fs/promises";
|
|
12
12
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
13
13
|
import http2 from "node:http2";
|
|
14
14
|
|
|
@@ -526,7 +526,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
526
526
|
value: {
|
|
527
527
|
teamId,
|
|
528
528
|
keyId,
|
|
529
|
-
privateKey: normalizePrivateKey(await
|
|
529
|
+
privateKey: normalizePrivateKey(await fsPromises.readFile(keyPath, "utf8"))
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
} catch (err) {
|
|
@@ -2,11 +2,11 @@ import { k as resolvePreferredOpenClawTmpDir } from "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-15pq9j9V.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-NQ9CtXYN.js";
|
|
8
8
|
import "./utils-6WlODK5w.js";
|
|
9
|
-
import "./openclaw-root-
|
|
9
|
+
import "./openclaw-root-BU3lu8pM.js";
|
|
10
10
|
import "./logger-9wCpWqHD.js";
|
|
11
11
|
import "./exec-GR2kPVc1.js";
|
|
12
12
|
import "./registry-C3qkO1RG.js";
|
|
@@ -14,20 +14,20 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
14
14
|
import "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import "./version-DdJhsIqk.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./net-
|
|
20
|
-
import "./tailnet-
|
|
21
|
-
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-
|
|
22
|
-
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-
|
|
17
|
+
import "./manifest-registry-CJb8odRF.js";
|
|
18
|
+
import "./path-alias-guards-DhIwq92y.js";
|
|
19
|
+
import "./net-BAIqYNz0.js";
|
|
20
|
+
import "./tailnet-DJFUq7_R.js";
|
|
21
|
+
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-L_icBVLq.js";
|
|
22
|
+
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-Cv63xST_.js";
|
|
23
23
|
import "./redact-TY4yJzrg.js";
|
|
24
24
|
import { r as formatErrorMessage } from "./errors-BbXSsOtF.js";
|
|
25
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
26
|
-
import "./proxy-env-
|
|
27
|
-
import "./ports-
|
|
28
|
-
import { n as markPwAiLoaded } from "./whatsapp-actions-
|
|
25
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-CFLs-j60.js";
|
|
26
|
+
import "./proxy-env-BMrSVckF.js";
|
|
27
|
+
import "./ports-CER5YPnN.js";
|
|
28
|
+
import { n as markPwAiLoaded } from "./whatsapp-actions-Jm4VW1Ve.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fsPromises from "node:fs/promises";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
32
|
import { chromium, devices } from "playwright-core";
|
|
33
33
|
|
|
@@ -547,9 +547,9 @@ function buildSiblingTempPath(targetPath) {
|
|
|
547
547
|
return path.join(path.dirname(targetPath), `.openclaw-output-${id}-${safeTail}.part`);
|
|
548
548
|
}
|
|
549
549
|
async function writeViaSiblingTempPath(params) {
|
|
550
|
-
const rootDir = await
|
|
550
|
+
const rootDir = await fsPromises.realpath(path.resolve(params.rootDir)).catch(() => path.resolve(params.rootDir));
|
|
551
551
|
const requestedTargetPath = path.resolve(params.targetPath);
|
|
552
|
-
const targetPath = await
|
|
552
|
+
const targetPath = await fsPromises.realpath(path.dirname(requestedTargetPath)).then((realDir) => path.join(realDir, path.basename(requestedTargetPath))).catch(() => requestedTargetPath);
|
|
553
553
|
const relativeTargetPath = path.relative(rootDir, targetPath);
|
|
554
554
|
if (!relativeTargetPath || relativeTargetPath === ".." || relativeTargetPath.startsWith(`..${path.sep}`) || path.isAbsolute(relativeTargetPath)) throw new Error("Target path is outside the allowed root");
|
|
555
555
|
const tempPath = buildSiblingTempPath(targetPath);
|
|
@@ -564,7 +564,7 @@ async function writeViaSiblingTempPath(params) {
|
|
|
564
564
|
});
|
|
565
565
|
renameSucceeded = true;
|
|
566
566
|
} finally {
|
|
567
|
-
if (!renameSucceeded) await
|
|
567
|
+
if (!renameSucceeded) await fsPromises.rm(tempPath, { force: true }).catch(() => {});
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
@@ -955,7 +955,7 @@ async function saveDownloadPayload(download, outPath) {
|
|
|
955
955
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
956
956
|
const requestedPath = outPath?.trim();
|
|
957
957
|
const resolvedOutPath = path.resolve(requestedPath || buildTempDownloadPath(suggested));
|
|
958
|
-
await
|
|
958
|
+
await fsPromises.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
959
959
|
if (!requestedPath) await download.saveAs?.(resolvedOutPath);
|
|
960
960
|
else await writeViaSiblingTempPath({
|
|
961
961
|
rootDir: path.dirname(resolvedOutPath),
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./globals-ENg_AXRt.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
4
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-NQ9CtXYN.js";
|
|
5
5
|
import { E as parseAgentSessionKey } from "./session-key-k6urs9r-.js";
|
|
6
6
|
import "./utils-6WlODK5w.js";
|
|
7
|
-
import "./openclaw-root-
|
|
7
|
+
import "./openclaw-root-BU3lu8pM.js";
|
|
8
8
|
import "./logger-9wCpWqHD.js";
|
|
9
9
|
import "./exec-GR2kPVc1.js";
|
|
10
|
-
import "./path-alias-guards-
|
|
10
|
+
import "./path-alias-guards-DhIwq92y.js";
|
|
11
11
|
import "./paths-DvFmz0MB.js";
|
|
12
12
|
import "./redact-TY4yJzrg.js";
|
|
13
|
-
import { l as writeFileWithinRoot } from "./fs-safe-
|
|
13
|
+
import { l as writeFileWithinRoot } from "./fs-safe-CFLs-j60.js";
|
|
14
14
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-BTikdM3p.js";
|
|
15
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
15
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-1UTIWjP6.js";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import fsPromises from "node:fs/promises";
|
|
20
20
|
import readline from "node:readline";
|
|
21
21
|
|
|
22
22
|
//#region src/memory/qmd-scope.ts
|
|
@@ -292,10 +292,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
292
292
|
async initialize(mode) {
|
|
293
293
|
this.bootstrapCollections();
|
|
294
294
|
if (mode === "status") return;
|
|
295
|
-
await
|
|
296
|
-
await
|
|
297
|
-
await
|
|
298
|
-
if (this.sessionExporter) await
|
|
295
|
+
await fsPromises.mkdir(this.xdgConfigHome, { recursive: true });
|
|
296
|
+
await fsPromises.mkdir(this.xdgCacheHome, { recursive: true });
|
|
297
|
+
await fsPromises.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
298
|
+
if (this.sessionExporter) await fsPromises.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
299
299
|
await this.symlinkSharedModels();
|
|
300
300
|
await this.ensureCollections();
|
|
301
301
|
if (this.qmd.update.onBoot) {
|
|
@@ -388,7 +388,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
388
388
|
}
|
|
389
389
|
async ensureCollectionPath(collection) {
|
|
390
390
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
391
|
-
await
|
|
391
|
+
await fsPromises.mkdir(collection.path, { recursive: true });
|
|
392
392
|
}
|
|
393
393
|
isDirectoryGlobPattern(pattern) {
|
|
394
394
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -832,19 +832,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
832
832
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
833
833
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
834
834
|
try {
|
|
835
|
-
if (!(await
|
|
835
|
+
if (!(await fsPromises.stat(defaultModelsDir).catch((err) => {
|
|
836
836
|
if (err.code === "ENOENT") return null;
|
|
837
837
|
throw err;
|
|
838
838
|
}))?.isDirectory()) return;
|
|
839
839
|
try {
|
|
840
|
-
await
|
|
840
|
+
await fsPromises.lstat(targetModelsDir);
|
|
841
841
|
return;
|
|
842
842
|
} catch {}
|
|
843
843
|
try {
|
|
844
|
-
await
|
|
844
|
+
await fsPromises.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
845
845
|
} catch (symlinkErr) {
|
|
846
846
|
const code = symlinkErr.code;
|
|
847
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
847
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fsPromises.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
848
848
|
else throw symlinkErr;
|
|
849
849
|
}
|
|
850
850
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -1020,7 +1020,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1020
1020
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
1021
1021
|
let handle;
|
|
1022
1022
|
try {
|
|
1023
|
-
handle = await
|
|
1023
|
+
handle = await fsPromises.open(absPath);
|
|
1024
1024
|
} catch (err) {
|
|
1025
1025
|
if (isFileMissingError(err)) return { missing: true };
|
|
1026
1026
|
throw err;
|
|
@@ -1052,7 +1052,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1052
1052
|
try {
|
|
1053
1053
|
return {
|
|
1054
1054
|
missing: false,
|
|
1055
|
-
text: await
|
|
1055
|
+
text: await fsPromises.readFile(absPath, "utf-8")
|
|
1056
1056
|
};
|
|
1057
1057
|
} catch (err) {
|
|
1058
1058
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1069,7 +1069,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1069
1069
|
async exportSessions() {
|
|
1070
1070
|
if (!this.sessionExporter) return;
|
|
1071
1071
|
const exportDir = this.sessionExporter.dir;
|
|
1072
|
-
await
|
|
1072
|
+
await fsPromises.mkdir(exportDir, { recursive: true });
|
|
1073
1073
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
1074
1074
|
const keep = /* @__PURE__ */ new Set();
|
|
1075
1075
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -1095,11 +1095,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1095
1095
|
});
|
|
1096
1096
|
keep.add(target);
|
|
1097
1097
|
}
|
|
1098
|
-
const exported = await
|
|
1098
|
+
const exported = await fsPromises.readdir(exportDir).catch(() => []);
|
|
1099
1099
|
for (const name of exported) {
|
|
1100
1100
|
if (!name.endsWith(".md")) continue;
|
|
1101
1101
|
const full = path.join(exportDir, name);
|
|
1102
|
-
if (!keep.has(full)) await
|
|
1102
|
+
if (!keep.has(full)) await fsPromises.rm(full, { force: true });
|
|
1103
1103
|
}
|
|
1104
1104
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
1105
1105
|
}
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { p as theme } from "./globals-ENg_AXRt.js";
|
|
3
3
|
import { u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
5
|
-
import { Et as isRfc1918Ipv4Address, lt as secretRefKey, x as resolveSecretRefValues, yt as isCarrierGradeNatIpv4Address, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { Et as isRfc1918Ipv4Address, lt as secretRefKey, x as resolveSecretRefValues, yt as isCarrierGradeNatIpv4Address, z as loadConfig } from "./auth-profiles-15pq9j9V.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-GR2kPVc1.js";
|
|
7
7
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-C3qkO1RG.js";
|
|
8
|
-
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
8
|
+
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-CIMuIdbL.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-D_JFKt7M.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import qrcode from "qrcode-terminal";
|