openclaw-multi-auto 1.7.4 → 1.7.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/{acp-cli-D2FsuxI4.js → acp-cli-DMujSgSt.js} +11 -11
- package/dist/{agent-B8D73rdQ.js → agent-CaQagdQ7.js} +8 -8
- package/dist/{agent-BomWJjOy.js → agent-QkWi9ww5.js} +7 -7
- package/dist/{agent-scope-DmTcOjk4.js → agent-scope-sd1-3XH0.js} +16 -16
- package/dist/{agents.config-Crwrvv0Y.js → agents.config-DpC62EoF.js} +3 -3
- package/dist/{audio-preflight-CUgcQtbA.js → audio-preflight-ByLQ-O2o.js} +1 -1
- package/dist/{audio-preflight-CZHCr2-5.js → audio-preflight-CKN-13f6.js} +1 -1
- package/dist/{audio-preflight-DUZyiet9.js → audio-preflight-CxMkqmsz.js} +10 -10
- package/dist/{audit-CX3KlHoS.js → audit-COOnp_TQ.js} +18 -18
- package/dist/{audit-membership-runtime-DOqwbA7L.js → audit-membership-runtime-o16tAd90.js} +1 -1
- package/dist/{auth-choice-DZC8_SXk.js → auth-choice-B7hFRxC4.js} +19 -19
- package/dist/{auth-choice-CuOI0DLZ.js → auth-choice-CgIbQGAr.js} +8 -8
- package/dist/{auth-choice-options-C_poWj2I.js → auth-choice-options-CaiEtgdy.js} +1 -1
- package/dist/{auth-choice-prompt-Bjt463U7.js → auth-choice-prompt-CyE2_iHL.js} +1 -1
- package/dist/{auth-choice.apply-helpers-BFZ8hPRq.js → auth-choice.apply-helpers-BwI7_FDv.js} +2 -2
- package/dist/{auth-choice.preferred-provider-CzDq9Lvp.js → auth-choice.preferred-provider-BJFK05is.js} +5 -5
- package/dist/{auth-profiles.runtime-BEes_Rco.js → auth-profiles.runtime-Bp6HfAW4.js} +1 -1
- package/dist/{auth-profiles.runtime-DNqCx0L5.js → auth-profiles.runtime-DHFZjArZ.js} +1 -1
- package/dist/{auth-profiles.runtime-BWD0iDWZ.js → auth-profiles.runtime-firEabaJ.js} +10 -10
- package/dist/{auth-token-CnWG4-cB.js → auth-token-Ca2ISBq6.js} +1 -1
- package/dist/{bonjour-discovery-Cnl-PHZ4.js → bonjour-discovery-CgQeXj94.js} +1 -1
- package/dist/{browser-cli-DLSYDvK2.js → browser-cli-DfrP5czU.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-DMK0G0sK.js → channel-account-context-F18H2wEh.js} +7 -7
- package/dist/{channel-options-CsQMEhUD.js → channel-options-DR0IjcQw.js} +3 -3
- package/dist/{channel-web-D7txUcfH.js → channel-web-B3yCvpab.js} +4 -4
- package/dist/channels/plugins/actions/discord.js +1 -1
- package/dist/channels/plugins/actions/signal.js +1 -1
- package/dist/channels/plugins/actions/telegram.js +1 -1
- package/dist/channels/plugins/agent-tools/whatsapp-login.js +1 -1
- package/dist/{channels-cli-DK-EFHka.js → channels-cli-C9jvVDlM.js} +33 -33
- package/dist/{channels-status-issues-B-PoQaOZ.js → channels-status-issues-C6mRI9nP.js} +1 -1
- package/dist/{clack-prompter-COY2Efgu.js → clack-prompter-CakorHf3.js} +1 -1
- package/dist/{clawbot-cli-CYVkuLnO.js → clawbot-cli-De1V5wKt.js} +12 -12
- package/dist/{cleanup-utils-DksMdp7C.js → cleanup-utils-DZ-HVi66.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BXEJJp6e.js → cli-5Ap2oull.js} +10 -10
- package/dist/{cmd-argv-BdNFwuhe.js → cmd-argv-Dz5qUtqp.js} +1 -1
- package/dist/{compact.runtime-Do9SwMzP.js → compact.runtime-Bi0KAZxx.js} +10 -10
- package/dist/{compact.runtime-pgjSlzSY.js → compact.runtime-DoEYdXjJ.js} +1 -1
- package/dist/{compact.runtime-D9Tmp5YS.js → compact.runtime-Dy7P2p35.js} +1 -1
- package/dist/{completion-cli-BnHZnvaD.js → completion-cli-DetW6vGx.js} +12 -12
- package/dist/{config-cli-BTyfFTwL.js → config-cli-JmabBPbR.js} +13 -13
- package/dist/{config-guard-DXvConn_.js → config-guard-D0ly1tu3.js} +12 -12
- package/dist/{config-validation-ZC7mw4HJ.js → config-validation-DtOoaTl7.js} +3 -3
- package/dist/{configure--3s3LTcF.js → configure-DNZVKth2.js} +52 -52
- package/dist/{control-ui-assets-D5CuaZfV.js → control-ui-assets-B9I2TpME.js} +1 -1
- package/dist/{cron-cli-BTeTdxk8.js → cron-cli-hA-3anvP.js} +11 -11
- package/dist/{daemon-cli-TvT5eeIP.js → daemon-cli-CgEObThe.js} +13 -13
- package/dist/{daemon-install-CUvnebOQ.js → daemon-install-e324s4no.js} +16 -16
- package/dist/{daemon-install-plan.shared-BfFSRwqA.js → daemon-install-plan.shared-g5FPfccc.js} +12 -12
- package/dist/{deliver-runtime-CRO5x8jL.js → deliver-runtime-CI-THBhi.js} +10 -10
- package/dist/{deliver-runtime-D4aWAXZ9.js → deliver-runtime-CqyJiuFQ.js} +1 -1
- package/dist/{deliver-runtime-CjrGc3oj.js → deliver-runtime-DLAZp9H3.js} +1 -1
- package/dist/{deps-Cgw7M-k3.js → deps-B6HgPp5e.js} +6 -6
- package/dist/{device-bootstrap-DSXbseT6.js → device-bootstrap-oW1bwgs7.js} +1 -1
- package/dist/{device-pairing-RZV6Mnep.js → device-pairing-CMxl0D-M.js} +1 -1
- package/dist/{devices-cli-DnvmJ-Sg.js → devices-cli-BPpKKc7g.js} +11 -11
- package/dist/{diagnostics-1AwcyuKi.js → diagnostics-iZHasrpQ.js} +5 -5
- package/dist/{directory-cli-CO5of3mT.js → directory-cli-BP8WHXBG.js} +10 -10
- package/dist/{discord-DKZdsbTR.js → discord-C5GTGVrg.js} +42 -42
- package/dist/{dns-cli-s2wuP3H0.js → dns-cli-CQl7AkL3.js} +10 -10
- package/dist/{docs-cli-CZA-gAQf.js → docs-cli-BWb05s-1.js} +3 -3
- package/dist/{doctor-completion-DvnTlsPK.js → doctor-completion-CA3Zcz0O.js} +2 -2
- package/dist/{doctor-config-flow-DOEjAAYV.js → doctor-config-flow-C53lW8fK.js} +10 -10
- package/dist/{enable-BSbXEyXD.js → enable-CmddFDJP.js} +1 -1
- package/dist/{exec-approvals-cli-CsNqvj8p.js → exec-approvals-cli-Cyhhh2cy.js} +18 -18
- package/dist/{fetch-CGW2R_wh.js → fetch-ggeyBJ4j.js} +2 -2
- package/dist/{gateway-cli-Bq7xXLEB.js → gateway-cli-vQfsLSPv.js} +101 -101
- package/dist/{gateway-install-token-C40ge2lh.js → gateway-install-token-CQHd6wSt.js} +3 -3
- package/dist/{gateway-rpc-DUJcLoxb.js → gateway-rpc-DrDqntyT.js} +1 -1
- package/dist/{health-D_dD9-ET.js → health-CTOG7Tdy.js} +7 -7
- package/dist/{hooks-cli-YvIgaujr.js → hooks-cli-CvrIbP3A.js} +18 -18
- package/dist/{hooks-status-C3wWva3H.js → hooks-status-BiuMKGQP.js} +1 -1
- package/dist/{image-runtime-Cx4HaqrI.js → image-runtime-Cen4jnt5.js} +10 -10
- package/dist/{image-runtime-Cr6qZmyh.js → image-runtime-CidKJsqA.js} +1 -1
- package/dist/{image-runtime-Brryt_BU.js → image-runtime-DuwNoMsX.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/{inspect-D3lV5ful.js → inspect-C0iPD7zZ.js} +4 -4
- package/dist/{install-safe-path-BvwKN_9n.js → install-safe-path-CnIWvuEU.js} +33 -33
- package/dist/{installs-BC5ieRDB.js → installs-BcQMkw3V.js} +8 -8
- package/dist/{ipv4-CwqOzc5W.js → ipv4-DHZnIX-K.js} +1 -1
- package/dist/{issue-format-34LidjQQ.js → issue-format-CtBob7pd.js} +1 -1
- package/dist/{launchd-BLFV2ME0.js → launchd-D7vxtTg7.js} +13 -13
- package/dist/{lifecycle-core-C07n1IOr.js → lifecycle-core-CKec6MyM.js} +6 -6
- package/dist/line/send.js +1 -1
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{logging-DPEdtuNl.js → logging-B7i4YBpx.js} +1 -1
- package/dist/{login-BLC4Op_m.js → login-CQ5pGFeF.js} +3 -3
- package/dist/{login-CKmmxErc.js → login-DC00cCmn.js} +2 -2
- package/dist/{login-qr-DpxxtTBd.js → login-qr-C8iDYxXx.js} +11 -11
- package/dist/{login-qr-Djgtmdpd.js → login-qr-D3WKyrcm.js} +2 -2
- package/dist/{login-qr-KVA4wuh0.js → login-qr-DB7lXNdD.js} +2 -2
- package/dist/{login-CIjIxi5t.js → login-rVmwSeBs.js} +2 -2
- package/dist/{logs-cli-BKhTgUSN.js → logs-cli-B8u30MKC.js} +11 -11
- package/dist/{manager-runtime-D9AEoM1M.js → manager-runtime-C04JB-55.js} +1 -1
- package/dist/{manager-runtime-B4ZbE6hq.js → manager-runtime-DDc_xR6t.js} +10 -10
- package/dist/{manager-runtime-CvM8JTRt.js → manager-runtime-DON5nkey.js} +1 -1
- package/dist/{manager.runtime-DbQBNTV4.js → manager.runtime-B8hc-v_R.js} +7 -7
- package/dist/{manager.runtime-lHLhN5ro.js → manager.runtime-sDKQexj4.js} +16 -16
- package/dist/{manager.runtime-BV-CBNb2.js → manager.runtime-y1RqEqxK.js} +2 -2
- package/dist/{model-picker-C5sQCeTo.js → model-picker-iMZicrZb.js} +5 -5
- package/dist/{model-selection-CNRMBWfR.js → model-selection-Coo7zMJO.js} +43 -43
- package/dist/{models-cli-B7OdTj93.js → models-cli-CHWqnmnX.js} +21 -21
- package/dist/{node-cli-ArOhWB3h.js → node-cli-D2EGwHd2.js} +22 -22
- package/dist/{node-command-policy-BVIbeciX.js → node-command-policy-C9YoIlNR.js} +1 -1
- package/dist/{node-service-ESc5ToCS.js → node-service-D7xRD6Op.js} +1 -1
- package/dist/{nodes-cli-BLneGv8c.js → nodes-cli-BaWA_a27.js} +13 -13
- package/dist/{npm-pack-install-DI_0G-Ju.js → npm-pack-install-C7ntuYO8.js} +23 -23
- package/dist/{npm-resolution-DowD_x7i.js → npm-resolution-BL-LzQ8q.js} +3 -3
- package/dist/{onboard-Da0Gqg8E.js → onboard-1Vbkq-0q.js} +10 -10
- package/dist/{onboard-channels-Dub92d1X.js → onboard-channels-C_RZQliP.js} +16 -16
- package/dist/{onboard-custom-iC39HaRY.js → onboard-custom-CyUm7NIR.js} +5 -5
- package/dist/{onboard-hooks-DUll1iq8.js → onboard-hooks-Bx20a5uy.js} +4 -4
- package/dist/{onboard-remote-Cyc407f2.js → onboard-remote-Dtm07eUX.js} +3 -3
- package/dist/{onboard-skills-BqnqjDI3.js → onboard-skills-BOBtFqTc.js} +3 -3
- package/dist/{onboarding-BgeTWLi_.js → onboarding-CAQDdLGu.js} +17 -17
- package/dist/{onboarding.finalize-C4jEsWtC.js → onboarding.finalize-BAUMJZlu.js} +25 -25
- package/dist/{onboarding.gateway-config-C2XdEUF3.js → onboarding.gateway-config-BRSWuajr.js} +14 -14
- package/dist/{onboarding.secret-input-OwIXA7An.js → onboarding.secret-input-D75Xjj5j.js} +1 -1
- package/dist/{openai-codex-oauth-BUnBFHjs.js → openai-codex-oauth-BjOz2DJZ.js} +3 -3
- package/dist/{openclaw-root-B5jXk2td.js → openclaw-root-dlCz9toZ.js} +8 -8
- package/dist/{outbound-send-deps-dRaNZNE7.js → outbound-send-deps-Bid3Xegx.js} +1 -1
- package/dist/{pairing-cli-pEJPQw6E.js → pairing-cli-Dm_fH3zm.js} +10 -10
- package/dist/{path-alias-guards-BEqdGdn9.js → path-alias-guards-B6owPyQX.js} +3 -3
- package/dist/{path-safety-TRhr8lhQ.js → path-safety-DN7L46Yk.js} +1 -1
- package/dist/{pi-model-discovery-runtime-BkRq7f9h.js → pi-model-discovery-runtime-BRs3OnbK.js} +10 -10
- package/dist/{pi-model-discovery-runtime-BujN_d1_.js → pi-model-discovery-runtime-Do-8n2s8.js} +1 -1
- package/dist/{pi-model-discovery-runtime-CDKkuBYh.js → pi-model-discovery-runtime-DsZRIFOj.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-Dt7ZWya_.js → pi-tools.before-tool-call.runtime-Cz99nK1_.js} +10 -10
- package/dist/{pi-tools.before-tool-call.runtime-BYooFUjV.js → pi-tools.before-tool-call.runtime-DpSw9nu5.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-DgAiY2la.js → pi-tools.before-tool-call.runtime-l0nSxXys.js} +1 -1
- package/dist/{plugin-install-plan-q0pKUAmp.js → plugin-install-plan-tegfcs_j.js} +1 -1
- package/dist/{plugin-registry-DrrKSvdi.js → plugin-registry-D1UVdXNl.js} +2 -2
- package/dist/{plugins-om7vnHk0.js → plugins-BVbKGpQJ.js} +9 -9
- package/dist/{plugins-cli-BWuwmlNA.js → plugins-cli-DMTK-3PI.js} +21 -21
- package/dist/{ports-CVD9jTxH.js → ports-CrZzXxTl.js} +2 -2
- package/dist/{probe-auth-CRm2yob0.js → probe-auth-H1_HjX3c.js} +1 -1
- package/dist/{program-context-BnNrq2_o.js → program-context--XQiK-Vv.js} +42 -42
- package/dist/{prompt-select-styled-FpCuoi_9.js → prompt-select-styled-BzWw9bIh.js} +32 -32
- package/dist/{provider-auth-helpers-Dzq3SbTh.js → provider-auth-helpers-B5U-h2Ob.js} +4 -4
- package/dist/{provider-wizard-CRYUkbUG.js → provider-wizard-BgHYhBzK.js} +1 -1
- package/dist/{push-apns-6Yefl4vF.js → push-apns-DQdHdrq8.js} +3 -3
- package/dist/{pw-ai-Brk_ehKR.js → pw-ai-8OpaEmr4.js} +15 -15
- package/dist/{pw-ai-C_IaVhUm.js → pw-ai-B9F20k6L.js} +1 -1
- package/dist/{pw-ai-3ual6adI.js → pw-ai-R41XeePP.js} +1 -1
- package/dist/{qmd-manager-Clny9vcj.js → qmd-manager-BMkECKpc.js} +19 -19
- package/dist/{qr-cli-TsbdBlkh.js → qr-cli-CZy0bldy.js} +11 -11
- package/dist/{query-expansion-BNb6Vys6.js → query-expansion-AnOnkIqf.js} +48 -48
- package/dist/{redact-snapshot-sudZsVoX.js → redact-snapshot-lCMXNHo3.js} +1 -1
- package/dist/{register.agent-BcYbZ3eF.js → register.agent-2yZ4uAHT.js} +43 -43
- package/dist/{register.backup-DbtBtW_J.js → register.backup-Byyque4N.js} +26 -26
- package/dist/register.configure-CrATD0tr.js +87 -0
- package/dist/{register.maintenance-Cdn2TwrI.js → register.maintenance-BZ_V3Ubt.js} +33 -33
- package/dist/{register.message-cHCXxeA6.js → register.message-CJwTd37H.js} +13 -13
- package/dist/{register.onboard-Dbig7G2G.js → register.onboard-BY0T1WHb.js} +17 -17
- package/dist/{register.setup-DjHUcAcm.js → register.setup-CA3ZUrN-.js} +18 -18
- package/dist/{register.status-health-sessions-BMxJK45p.js → register.status-health-sessions-PN0jxAPA.js} +26 -26
- package/dist/{reply-Cf5Mm7vB.js → reply-gX1XTS9Y.js} +226 -226
- package/dist/{restart-stale-pids-ZfbSMILU.js → restart-stale-pids-B6E7QavX.js} +2 -2
- package/dist/{rpc-8YrBMBoD.js → rpc-B2PO3N0W.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-6yfwX0nq.js → runtime-whatsapp-login.runtime-BAgknLYS.js} +3 -3
- package/dist/{runtime-whatsapp-login.runtime-Br3SxDXL.js → runtime-whatsapp-login.runtime-C_E260pb.js} +3 -3
- package/dist/{runtime-whatsapp-login.runtime-Bo1HalYB.js → runtime-whatsapp-login.runtime-DKMtq6l9.js} +12 -12
- package/dist/{runtime-whatsapp-outbound.runtime-BKesQQli.js → runtime-whatsapp-outbound.runtime-3elssz_a.js} +2 -2
- package/dist/{runtime-whatsapp-outbound.runtime-L3Qkst0n.js → runtime-whatsapp-outbound.runtime-BdHcgl-R.js} +2 -2
- package/dist/{runtime-whatsapp-outbound.runtime-Ch2o56Ey.js → runtime-whatsapp-outbound.runtime-Dv1HN4ha.js} +11 -11
- package/dist/{sandbox-cli-CoRe21Si.js → sandbox-cli-SCYkP_qN.js} +10 -10
- package/dist/{secret-file-7smmAVRV.js → secret-file-CuiwToxK.js} +1 -1
- package/dist/{secrets-cli-CHT1AjCX.js → secrets-cli-C5O6Jw_4.js} +11 -11
- package/dist/{security-cli-DRqdmCtr.js → security-cli-CL4qtb9H.js} +20 -20
- package/dist/{send-CXnKWzde.js → send-BvAlpSvh.js} +1 -1
- package/dist/{send-CHZ7WuOb.js → send-hZxe8sP9.js} +2 -2
- package/dist/{send-pxKoZnv6.js → send-t1epz3bc.js} +1 -1
- package/dist/{server-DiTziwvC.js → server-Cnc4lO11.js} +10 -10
- package/dist/{server-node-events-p5ykMQz-.js → server-node-events-aTSoNGTe.js} +14 -14
- package/dist/{service-RXVSlLiU.js → service-LNrViUVb.js} +13 -13
- package/dist/{session-D0j0Q_PW.js → session-BUpAKttt.js} +1 -1
- package/dist/{session-CXOhppV3.js → session-CndmPe2D.js} +2 -2
- package/dist/{session-kt-bqE_z.js → session-D7nweu0t.js} +1 -1
- package/dist/{shared-CoL161wD.js → shared-c6JUv5At.js} +1 -1
- package/dist/{skill-scanner-BzjuMMKN.js → skill-scanner-DaUNX-tW.js} +6 -6
- package/dist/{skills-cli-YajvWbjO.js → skills-cli-YqsScIM5.js} +11 -11
- package/dist/{skills-install-DFkV3GsC.js → skills-install-BnRu7wO4.js} +6 -6
- package/dist/{skills-status-PMeXzDbC.js → skills-status-DHMQ6A2H.js} +1 -1
- package/dist/{skills-Jz-BSwRd.js → skills-vhlUaliH.js} +2 -2
- package/dist/{slash-commands.runtime-BYfxn_xu.js → slash-commands.runtime-AZCJXo7S.js} +1 -1
- package/dist/{slash-commands.runtime-_LrsMaI1.js → slash-commands.runtime-D9GHahMO.js} +10 -10
- package/dist/{slash-commands.runtime-eZUYakkd.js → slash-commands.runtime-YWtbFO1w.js} +1 -1
- package/dist/{slash-dispatch.runtime-neG4499W.js → slash-dispatch.runtime-DcISuJb0.js} +10 -10
- package/dist/{slash-dispatch.runtime-Cu8ghe1h.js → slash-dispatch.runtime-DyUU1AG5.js} +1 -1
- package/dist/{slash-dispatch.runtime-D7ogJeRu.js → slash-dispatch.runtime-QxpHMagD.js} +1 -1
- package/dist/{slash-skill-commands.runtime-iwoxGLKu.js → slash-skill-commands.runtime-Cgu35QuS.js} +1 -1
- package/dist/{slash-skill-commands.runtime-8dS5PTaH.js → slash-skill-commands.runtime-Cv1NPjj6.js} +1 -1
- package/dist/{slash-skill-commands.runtime-D0ohJN-V.js → slash-skill-commands.runtime-Dt6QQJcX.js} +10 -10
- package/dist/{status-1patzIRq.js → status-D9mVTxuB.js} +1 -1
- package/dist/{status-BaLZ1uQV.js → status-QQiIsfFq.js} +21 -21
- package/dist/{status.update-DrzJ1YWu.js → status.update-DY13od-q.js} +3 -3
- package/dist/{subagent-registry-runtime-BPxjP8o9.js → subagent-registry-runtime-CNgez4Yd.js} +1 -1
- package/dist/{subagent-registry-runtime-BTW1zlrG.js → subagent-registry-runtime-CoeW8s2P.js} +10 -10
- package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-N50VG-ay.js} +1 -1
- package/dist/{system-cli-CndWL3sF.js → system-cli-DMu6SZhn.js} +11 -11
- package/dist/{systemd-D47rkLi7.js → systemd-DSK6B3bg.js} +11 -11
- package/dist/{systemd-hints-DHfXVo8k.js → systemd-hints-DsQTPBGt.js} +6 -6
- package/dist/{systemd-linger-DwmFZpci.js → systemd-linger-BPISBIWJ.js} +1 -1
- package/dist/{tui-CzYnfJxE.js → tui-DzNNH2rc.js} +2 -2
- package/dist/{tui-cli-D47N0Kfm.js → tui-cli-D5JgcWb9.js} +11 -11
- package/dist/{update-BiUnc38r.js → update-DL_359AR.js} +2 -2
- package/dist/{update-cli-CeqH2oQ-.js → update-cli-BfjWjK3A.js} +45 -45
- package/dist/{update-runner-oqYBjs5t.js → update-runner-CfkBU1BA.js} +16 -16
- package/dist/{web-CXyjF_si.js → web-B4n02Xhe.js} +4 -4
- package/dist/{web-BRvkjVpk.js → web-BHO-XtPY.js} +14 -14
- package/dist/{web-Bl0ih6N1.js → web-rZyV5Fxs.js} +4 -4
- package/dist/{webhooks-cli-CnTKcfvh.js → webhooks-cli-C0kgprJJ.js} +10 -10
- package/dist/{whatsapp-actions-BXO9Bi7a.js → whatsapp-actions-BC06Ug_d.js} +11 -11
- package/dist/{whatsapp-actions-Cpf6YROk.js → whatsapp-actions-De9-kJMP.js} +2 -2
- package/dist/{whatsapp-actions-BUvGEDSk.js → whatsapp-actions-JJEG8eF3.js} +2 -2
- package/dist/{workspace-CWne7yqK.js → workspace-BTsqd19h.js} +1 -1
- package/package.json +11 -18
- package/scripts/create-instance.sh +29 -46
- package/dist/register.configure-CPWCrXrC.js +0 -87
|
@@ -3,10 +3,10 @@ import { g as resolveStateDir } from "./paths-tuenh9TL.js";
|
|
|
3
3
|
import { A as theme, i as routeLogsToStderr } from "./subsystem-G54saDcg.js";
|
|
4
4
|
import { h as pathExists } from "./utils-B8zCe27d.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
6
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
6
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context--XQiK-Vv.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import { Option } from "commander";
|
|
11
11
|
//#region src/cli/completion-fish.ts
|
|
12
12
|
function escapeFishDescription(value) {
|
|
@@ -87,11 +87,11 @@ function getCompletionScript(shell, program) {
|
|
|
87
87
|
}
|
|
88
88
|
async function writeCompletionCache(params) {
|
|
89
89
|
const cacheDir = resolveCompletionCacheDir();
|
|
90
|
-
await
|
|
90
|
+
await fsPromises.mkdir(cacheDir, { recursive: true });
|
|
91
91
|
for (const shell of params.shells) {
|
|
92
92
|
const script = getCompletionScript(shell, params.program);
|
|
93
93
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
94
|
-
await
|
|
94
|
+
await fsPromises.writeFile(targetPath, script, "utf-8");
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -149,7 +149,7 @@ async function isCompletionInstalled(shell, binName = "openclaw") {
|
|
|
149
149
|
if (!await pathExists(profilePath)) return false;
|
|
150
150
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
151
151
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
152
|
-
return (await
|
|
152
|
+
return (await fsPromises.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
155
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -159,7 +159,7 @@ async function usesSlowDynamicCompletion(shell, binName = "openclaw") {
|
|
|
159
159
|
const profilePath = getShellProfilePath(shell);
|
|
160
160
|
if (!await pathExists(profilePath)) return false;
|
|
161
161
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
162
|
-
const lines = (await
|
|
162
|
+
const lines = (await fsPromises.readFile(profilePath, "utf-8")).split("\n");
|
|
163
163
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
164
164
|
return false;
|
|
165
165
|
}
|
|
@@ -208,7 +208,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
208
208
|
} else if (shell === "bash") {
|
|
209
209
|
profilePath = path.join(home, ".bashrc");
|
|
210
210
|
try {
|
|
211
|
-
await
|
|
211
|
+
await fsPromises.access(profilePath);
|
|
212
212
|
} catch {
|
|
213
213
|
profilePath = path.join(home, ".bash_profile");
|
|
214
214
|
}
|
|
@@ -222,13 +222,13 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
222
222
|
}
|
|
223
223
|
try {
|
|
224
224
|
try {
|
|
225
|
-
await
|
|
225
|
+
await fsPromises.access(profilePath);
|
|
226
226
|
} catch {
|
|
227
227
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
228
|
-
await
|
|
229
|
-
await
|
|
228
|
+
await fsPromises.mkdir(path.dirname(profilePath), { recursive: true });
|
|
229
|
+
await fsPromises.writeFile(profilePath, "", "utf-8");
|
|
230
230
|
}
|
|
231
|
-
const update = updateCompletionProfile(await
|
|
231
|
+
const update = updateCompletionProfile(await fsPromises.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
232
232
|
if (!update.changed) {
|
|
233
233
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
234
234
|
return;
|
|
@@ -237,7 +237,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
237
237
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
238
238
|
console.log(`${action} completion in ${profilePath}...`);
|
|
239
239
|
}
|
|
240
|
-
await
|
|
240
|
+
await fsPromises.writeFile(profilePath, update.next, "utf-8");
|
|
241
241
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
242
242
|
} catch (err) {
|
|
243
243
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, E as success, p as defaultRuntime, v as danger, y as info } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-B8zCe27d.js";
|
|
4
|
-
import { m_ as readConfigFileSnapshot, v_ as writeConfigFile } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
4
|
+
import { m_ as readConfigFileSnapshot, v_ as writeConfigFile } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import "./agent-scope-sd1-3XH0.js";
|
|
6
6
|
import { y as isBlockedObjectKey } from "./session-key-DjKQluAa.js";
|
|
7
|
-
import "./openclaw-root-
|
|
7
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
8
8
|
import "./logger-BohkHL0S.js";
|
|
9
9
|
import "./exec-CNtAq7Md.js";
|
|
10
10
|
import "./github-copilot-token-Ff890Vmh.js";
|
|
@@ -13,24 +13,24 @@ import "./boolean-B938tROv.js";
|
|
|
13
13
|
import "./env-CQxWwTMn.js";
|
|
14
14
|
import "./env-overrides-BYyMsIvB.js";
|
|
15
15
|
import "./registry-aHEgjCIQ.js";
|
|
16
|
-
import "./skills-
|
|
16
|
+
import "./skills-vhlUaliH.js";
|
|
17
17
|
import "./frontmatter-BngyYhS0.js";
|
|
18
|
-
import "./plugins-
|
|
19
|
-
import "./query-expansion-
|
|
18
|
+
import "./plugins-BVbKGpQJ.js";
|
|
19
|
+
import "./query-expansion-AnOnkIqf.js";
|
|
20
20
|
import "./redact-owRpqMhM.js";
|
|
21
|
-
import "./path-alias-guards-
|
|
22
|
-
import "./fetch-
|
|
21
|
+
import "./path-alias-guards-B6owPyQX.js";
|
|
22
|
+
import "./fetch-ggeyBJ4j.js";
|
|
23
23
|
import "./errors-DNKaAVHN.js";
|
|
24
|
-
import "./cmd-argv-
|
|
25
|
-
import "./restart-stale-pids-
|
|
24
|
+
import "./cmd-argv-Dz5qUtqp.js";
|
|
25
|
+
import "./restart-stale-pids-B6E7QavX.js";
|
|
26
26
|
import "./delivery-queue-B7zSt4zY.js";
|
|
27
27
|
import "./paths-CfmKJcO5.js";
|
|
28
28
|
import "./session-cost-usage-C2jrTKxW.js";
|
|
29
29
|
import "./prompt-style-DlcWUCNR.js";
|
|
30
30
|
import { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
31
31
|
import "./cli-utils-BSURvrmb.js";
|
|
32
|
-
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-
|
|
33
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
32
|
+
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-CtBob7pd.js";
|
|
33
|
+
import { t as redactConfigObject } from "./redact-snapshot-lCMXNHo3.js";
|
|
34
34
|
import JSON5 from "json5";
|
|
35
35
|
//#region src/cli/config-cli.ts
|
|
36
36
|
const OLLAMA_API_KEY_PATH = [
|
|
@@ -316,7 +316,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
316
316
|
}
|
|
317
317
|
function registerConfigCli(program) {
|
|
318
318
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
319
|
-
const { configureCommandFromSectionsArg } = await import("./configure
|
|
319
|
+
const { configureCommandFromSectionsArg } = await import("./configure-DNZVKth2.js");
|
|
320
320
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
321
321
|
});
|
|
322
322
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, O as colorize, X as shouldMigrateStateFromPath, k as isRich } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-B8zCe27d.js";
|
|
4
|
-
import { m_ as readConfigFileSnapshot } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { m_ as readConfigFileSnapshot } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import "./agent-scope-sd1-3XH0.js";
|
|
6
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
7
7
|
import "./logger-BohkHL0S.js";
|
|
8
8
|
import "./exec-CNtAq7Md.js";
|
|
9
9
|
import "./github-copilot-token-Ff890Vmh.js";
|
|
@@ -12,16 +12,16 @@ import "./boolean-B938tROv.js";
|
|
|
12
12
|
import "./env-CQxWwTMn.js";
|
|
13
13
|
import "./env-overrides-BYyMsIvB.js";
|
|
14
14
|
import "./registry-aHEgjCIQ.js";
|
|
15
|
-
import "./skills-
|
|
15
|
+
import "./skills-vhlUaliH.js";
|
|
16
16
|
import "./frontmatter-BngyYhS0.js";
|
|
17
|
-
import "./plugins-
|
|
18
|
-
import "./query-expansion-
|
|
17
|
+
import "./plugins-BVbKGpQJ.js";
|
|
18
|
+
import "./query-expansion-AnOnkIqf.js";
|
|
19
19
|
import "./redact-owRpqMhM.js";
|
|
20
|
-
import "./path-alias-guards-
|
|
21
|
-
import "./fetch-
|
|
20
|
+
import "./path-alias-guards-B6owPyQX.js";
|
|
21
|
+
import "./fetch-ggeyBJ4j.js";
|
|
22
22
|
import "./errors-DNKaAVHN.js";
|
|
23
|
-
import "./cmd-argv-
|
|
24
|
-
import "./restart-stale-pids-
|
|
23
|
+
import "./cmd-argv-Dz5qUtqp.js";
|
|
24
|
+
import "./restart-stale-pids-B6E7QavX.js";
|
|
25
25
|
import "./delivery-queue-B7zSt4zY.js";
|
|
26
26
|
import "./paths-CfmKJcO5.js";
|
|
27
27
|
import "./session-cost-usage-C2jrTKxW.js";
|
|
@@ -29,8 +29,8 @@ import "./prompt-style-DlcWUCNR.js";
|
|
|
29
29
|
import "./links-BpKafJs4.js";
|
|
30
30
|
import "./cli-utils-BSURvrmb.js";
|
|
31
31
|
import "./note-DOFTT6QH.js";
|
|
32
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
33
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
32
|
+
import { n as formatConfigIssueLines } from "./issue-format-CtBob7pd.js";
|
|
33
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-C53lW8fK.js";
|
|
34
34
|
//#region src/cli/program/config-guard.ts
|
|
35
35
|
const ALLOWED_INVALID_COMMANDS = new Set([
|
|
36
36
|
"doctor",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m_ as readConfigFileSnapshot } from "./reply-
|
|
1
|
+
import { m_ as readConfigFileSnapshot } from "./reply-gX1XTS9Y.js";
|
|
2
2
|
import { c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID } from "./session-key-DjKQluAa.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
4
|
-
import { Q as isRouteBinding, et as listRouteBindings, g as resolveChannelDefaultAccountId, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
4
|
+
import { Q as isRouteBinding, et as listRouteBindings, g as resolveChannelDefaultAccountId, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BVbKGpQJ.js";
|
|
5
|
+
import { n as formatConfigIssueLines } from "./issue-format-CtBob7pd.js";
|
|
6
6
|
//#region src/commands/agents.bindings.ts
|
|
7
7
|
function bindingMatchKey(match) {
|
|
8
8
|
const accountId = match.accountId?.trim() || "default";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-tuenh9TL.js";
|
|
2
2
|
import { p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-B8zCe27d.js";
|
|
4
|
-
import { Bt as validateGatewayPasswordInput, Ct as applyWizardMetadata, Et as ensureWorkspaceAndSessions, Ft as probeGatewayReachable, G as withProgress, It as randomToken, Lt as resolveControlUiLinks, Ot as guardCancel, Pt as printWizardHeader, St as DEFAULT_WORKSPACE, Vt as waitForGatewayReachable, d_ as loadConfig, hg as findTailscaleBinary, jt as normalizeGatewayTokenInput, m_ as readConfigFileSnapshot, v_ as writeConfigFile, xv as ensureAuthProfileStore, zt as summarizeExistingConfig } from "./reply-
|
|
5
|
-
import { j as resolveDefaultAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { Bt as validateGatewayPasswordInput, Ct as applyWizardMetadata, Et as ensureWorkspaceAndSessions, Ft as probeGatewayReachable, G as withProgress, It as randomToken, Lt as resolveControlUiLinks, Ot as guardCancel, Pt as printWizardHeader, St as DEFAULT_WORKSPACE, Vt as waitForGatewayReachable, d_ as loadConfig, hg as findTailscaleBinary, jt as normalizeGatewayTokenInput, m_ as readConfigFileSnapshot, v_ as writeConfigFile, xv as ensureAuthProfileStore, zt as summarizeExistingConfig } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import { j as resolveDefaultAgentWorkspaceDir } from "./agent-scope-sd1-3XH0.js";
|
|
6
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
7
7
|
import "./logger-BohkHL0S.js";
|
|
8
8
|
import "./exec-CNtAq7Md.js";
|
|
9
9
|
import { o as isSecretRef, s as isValidEnvSecretRefId } from "./types.secrets-d7ZFrG7U.js";
|
|
@@ -13,73 +13,73 @@ import "./boolean-B938tROv.js";
|
|
|
13
13
|
import "./env-CQxWwTMn.js";
|
|
14
14
|
import "./env-overrides-BYyMsIvB.js";
|
|
15
15
|
import "./registry-aHEgjCIQ.js";
|
|
16
|
-
import "./skills-
|
|
16
|
+
import "./skills-vhlUaliH.js";
|
|
17
17
|
import "./frontmatter-BngyYhS0.js";
|
|
18
|
-
import { jt as resolveDefaultSecretProviderAlias, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
19
|
-
import "./query-expansion-
|
|
18
|
+
import { jt as resolveDefaultSecretProviderAlias, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BVbKGpQJ.js";
|
|
19
|
+
import "./query-expansion-AnOnkIqf.js";
|
|
20
20
|
import "./redact-owRpqMhM.js";
|
|
21
|
-
import "./path-alias-guards-
|
|
22
|
-
import "./fetch-
|
|
21
|
+
import "./path-alias-guards-B6owPyQX.js";
|
|
22
|
+
import "./fetch-ggeyBJ4j.js";
|
|
23
23
|
import "./errors-DNKaAVHN.js";
|
|
24
|
-
import "./cmd-argv-
|
|
25
|
-
import "./restart-stale-pids-
|
|
24
|
+
import "./cmd-argv-Dz5qUtqp.js";
|
|
25
|
+
import "./restart-stale-pids-B6E7QavX.js";
|
|
26
26
|
import "./delivery-queue-B7zSt4zY.js";
|
|
27
27
|
import "./paths-CfmKJcO5.js";
|
|
28
28
|
import "./session-cost-usage-C2jrTKxW.js";
|
|
29
29
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DlcWUCNR.js";
|
|
30
30
|
import "./links-BpKafJs4.js";
|
|
31
31
|
import "./cli-utils-BSURvrmb.js";
|
|
32
|
-
import "./channel-web-
|
|
33
|
-
import "./send-
|
|
34
|
-
import "./session-
|
|
35
|
-
import "./login-
|
|
32
|
+
import "./channel-web-B3yCvpab.js";
|
|
33
|
+
import "./send-hZxe8sP9.js";
|
|
34
|
+
import "./session-CndmPe2D.js";
|
|
35
|
+
import "./login-CQ5pGFeF.js";
|
|
36
36
|
import "./runtime-guard-C4h47dl7.js";
|
|
37
|
-
import "./skills-status-
|
|
37
|
+
import "./skills-status-DHMQ6A2H.js";
|
|
38
38
|
import "./provider-env-vars-UMPrp98I.js";
|
|
39
39
|
import { t as note$1 } from "./note-DOFTT6QH.js";
|
|
40
40
|
import { t as WizardCancelledError } from "./prompts-88Dfc7Av.js";
|
|
41
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
42
|
-
import "./enable-
|
|
43
|
-
import "./install-safe-path-
|
|
44
|
-
import "./npm-pack-install-
|
|
45
|
-
import "./skill-scanner-
|
|
46
|
-
import "./installs-
|
|
47
|
-
import "./plugin-install-plan-
|
|
48
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
49
|
-
import "./auth-choice.apply-helpers-
|
|
50
|
-
import "./issue-format-
|
|
51
|
-
import "./daemon-install-plan.shared-
|
|
52
|
-
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
41
|
+
import { t as createClackPrompter } from "./clack-prompter-CakorHf3.js";
|
|
42
|
+
import "./enable-CmddFDJP.js";
|
|
43
|
+
import "./install-safe-path-CnIWvuEU.js";
|
|
44
|
+
import "./npm-pack-install-C7ntuYO8.js";
|
|
45
|
+
import "./skill-scanner-DaUNX-tW.js";
|
|
46
|
+
import "./installs-BcQMkw3V.js";
|
|
47
|
+
import "./plugin-install-plan-tegfcs_j.js";
|
|
48
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-C_RZQliP.js";
|
|
49
|
+
import "./auth-choice.apply-helpers-BwI7_FDv.js";
|
|
50
|
+
import "./issue-format-CtBob7pd.js";
|
|
51
|
+
import "./daemon-install-plan.shared-g5FPfccc.js";
|
|
52
|
+
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-CQHd6wSt.js";
|
|
53
53
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CYx-YMxc.js";
|
|
54
54
|
import "./runtime-parse-l56zRsXX.js";
|
|
55
|
-
import "./launchd-
|
|
56
|
-
import { n as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-
|
|
57
|
-
import { n as isNonFatalSystemdInstallProbeError } from "./systemd-
|
|
55
|
+
import "./launchd-D7vxtTg7.js";
|
|
56
|
+
import { n as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-LNrViUVb.js";
|
|
57
|
+
import { n as isNonFatalSystemdInstallProbeError } from "./systemd-DSK6B3bg.js";
|
|
58
58
|
import "./widearea-dns-clEQGTnj.js";
|
|
59
|
-
import "./bonjour-discovery-
|
|
60
|
-
import { r as healthCommand } from "./health-
|
|
61
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
62
|
-
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-
|
|
63
|
-
import "./skills-install-
|
|
64
|
-
import "./provider-auth-helpers-
|
|
65
|
-
import { n as logConfigUpdated } from "./logging-
|
|
66
|
-
import "./openai-codex-oauth-
|
|
67
|
-
import "./auth-token-
|
|
59
|
+
import "./bonjour-discovery-CgQeXj94.js";
|
|
60
|
+
import { r as healthCommand } from "./health-CTOG7Tdy.js";
|
|
61
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B9I2TpME.js";
|
|
62
|
+
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-D75Xjj5j.js";
|
|
63
|
+
import "./skills-install-BnRu7wO4.js";
|
|
64
|
+
import "./provider-auth-helpers-B5U-h2Ob.js";
|
|
65
|
+
import { n as logConfigUpdated } from "./logging-B7i4YBpx.js";
|
|
66
|
+
import "./openai-codex-oauth-BjOz2DJZ.js";
|
|
67
|
+
import "./auth-token-Ca2ISBq6.js";
|
|
68
68
|
import "./oauth-tls-preflight-cdkLewAv.js";
|
|
69
|
-
import "./provider-wizard-
|
|
70
|
-
import "./auth-choice-options-
|
|
71
|
-
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-
|
|
72
|
-
import { r as applyAuthChoice } from "./auth-choice-
|
|
73
|
-
import { t as resolvePreferredProviderForAuthChoice } from "./auth-choice.preferred-provider-
|
|
74
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
75
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
76
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
77
|
-
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
69
|
+
import "./provider-wizard-BgHYhBzK.js";
|
|
70
|
+
import "./auth-choice-options-CaiEtgdy.js";
|
|
71
|
+
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CyE2_iHL.js";
|
|
72
|
+
import { r as applyAuthChoice } from "./auth-choice-CgIbQGAr.js";
|
|
73
|
+
import { t as resolvePreferredProviderForAuthChoice } from "./auth-choice.preferred-provider-BJFK05is.js";
|
|
74
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-iMZicrZb.js";
|
|
75
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BPISBIWJ.js";
|
|
76
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-CyUm7NIR.js";
|
|
77
|
+
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-DHZnIX-K.js";
|
|
78
78
|
import { t as formatHealthCheckFailure } from "./health-format-DjMu3Zty.js";
|
|
79
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
80
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
79
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-Dtm07eUX.js";
|
|
80
|
+
import { n as setupSkills } from "./onboard-skills-BOBtFqTc.js";
|
|
81
81
|
import path from "node:path";
|
|
82
|
-
import
|
|
82
|
+
import fsPromises from "node:fs/promises";
|
|
83
83
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
84
84
|
//#region src/commands/configure.shared.ts
|
|
85
85
|
const CONFIGURE_WIZARD_SECTIONS = [
|
|
@@ -925,7 +925,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
925
925
|
].map((name) => path.join(workspaceDir, name));
|
|
926
926
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
927
927
|
try {
|
|
928
|
-
await
|
|
928
|
+
await fsPromises.access(candidate);
|
|
929
929
|
return true;
|
|
930
930
|
} catch {
|
|
931
931
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
2
|
-
import { n as resolveOpenClawPackageRootSync, t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
2
|
+
import { n as resolveOpenClawPackageRootSync, t as resolveOpenClawPackageRoot } from "./openclaw-root-dlCz9toZ.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CNtAq7Md.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, O as colorize, k as isRich, p as defaultRuntime, v as danger } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { Ha as resolveCronStaggerMs, Za as parseAbsoluteTimeMs, ud as formatDurationHuman } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
4
|
+
import { Ha as resolveCronStaggerMs, Za as parseAbsoluteTimeMs, ud as formatDurationHuman } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import "./agent-scope-sd1-3XH0.js";
|
|
6
6
|
import { f as sanitizeAgentId } from "./session-key-DjKQluAa.js";
|
|
7
|
-
import "./openclaw-root-
|
|
7
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
8
8
|
import "./logger-BohkHL0S.js";
|
|
9
9
|
import "./exec-CNtAq7Md.js";
|
|
10
10
|
import "./github-copilot-token-Ff890Vmh.js";
|
|
@@ -12,16 +12,16 @@ import "./boolean-B938tROv.js";
|
|
|
12
12
|
import "./env-CQxWwTMn.js";
|
|
13
13
|
import "./env-overrides-BYyMsIvB.js";
|
|
14
14
|
import "./registry-aHEgjCIQ.js";
|
|
15
|
-
import "./skills-
|
|
15
|
+
import "./skills-vhlUaliH.js";
|
|
16
16
|
import "./frontmatter-BngyYhS0.js";
|
|
17
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
18
|
-
import "./query-expansion-
|
|
17
|
+
import { n as listChannelPlugins } from "./plugins-BVbKGpQJ.js";
|
|
18
|
+
import "./query-expansion-AnOnkIqf.js";
|
|
19
19
|
import "./redact-owRpqMhM.js";
|
|
20
|
-
import "./path-alias-guards-
|
|
21
|
-
import "./fetch-
|
|
20
|
+
import "./path-alias-guards-B6owPyQX.js";
|
|
21
|
+
import "./fetch-ggeyBJ4j.js";
|
|
22
22
|
import "./errors-DNKaAVHN.js";
|
|
23
|
-
import "./cmd-argv-
|
|
24
|
-
import "./restart-stale-pids-
|
|
23
|
+
import "./cmd-argv-Dz5qUtqp.js";
|
|
24
|
+
import "./restart-stale-pids-B6E7QavX.js";
|
|
25
25
|
import "./delivery-queue-B7zSt4zY.js";
|
|
26
26
|
import "./paths-CfmKJcO5.js";
|
|
27
27
|
import "./session-cost-usage-C2jrTKxW.js";
|
|
@@ -29,7 +29,7 @@ import "./prompt-style-DlcWUCNR.js";
|
|
|
29
29
|
import { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
30
30
|
import "./cli-utils-BSURvrmb.js";
|
|
31
31
|
import { n as parsePositiveIntOrUndefined } from "./helpers-DjgA-EwS.js";
|
|
32
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
32
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DrDqntyT.js";
|
|
33
33
|
//#region src/cli/cron-cli/shared.ts
|
|
34
34
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
35
35
|
function printCronJson(value) {
|
|
@@ -2,25 +2,25 @@ import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
|
2
2
|
import { g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-tuenh9TL.js";
|
|
3
3
|
import { A as theme, N as getResolvedLoggerSettings, O as colorize, k as isRich, p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
4
4
|
import { C as sleep, S as shortenHomePath } from "./utils-B8zCe27d.js";
|
|
5
|
-
import { G as withProgress, Lt as resolveControlUiLinks, Lu as isRestartEnabled, Tm as GATEWAY_CLIENT_NAMES, Uh as trimToUndefined, cg as pickPrimaryTailnetIPv4, cl as loadGatewayTlsRuntime, ig as resolveGatewayBindHost, p_ as readBestEffortConfig, rs as callGateway, u_ as createConfigIO, wm as GATEWAY_CLIENT_MODES } from "./reply-
|
|
5
|
+
import { G as withProgress, Lt as resolveControlUiLinks, Lu as isRestartEnabled, Tm as GATEWAY_CLIENT_NAMES, Uh as trimToUndefined, cg as pickPrimaryTailnetIPv4, cl as loadGatewayTlsRuntime, ig as resolveGatewayBindHost, p_ as readBestEffortConfig, rs as callGateway, u_ as createConfigIO, wm as GATEWAY_CLIENT_MODES } from "./reply-gX1XTS9Y.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
7
|
-
import { a as isWSLEnv } from "./fetch-
|
|
8
|
-
import { d as inspectPortUsage, m as formatPortDiagnostics, o as killProcessTree, p as classifyPortListener } from "./cmd-argv-
|
|
7
|
+
import { a as isWSLEnv } from "./fetch-ggeyBJ4j.js";
|
|
8
|
+
import { d as inspectPortUsage, m as formatPortDiagnostics, o as killProcessTree, p as classifyPortListener } from "./cmd-argv-Dz5qUtqp.js";
|
|
9
9
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, x as parseStrictPositiveInteger } from "./constants-D-pfuSKJ.js";
|
|
10
10
|
import { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
11
11
|
import { n as inheritOptionFromParent } from "./command-options-B_WRgMFd.js";
|
|
12
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
13
|
-
import { n as buildGatewayInstallPlan, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
12
|
+
import { t as formatConfigIssueLine } from "./issue-format-CtBob7pd.js";
|
|
13
|
+
import { n as buildGatewayInstallPlan, t as resolveGatewayInstallToken } from "./gateway-install-token-CQHd6wSt.js";
|
|
14
14
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CYx-YMxc.js";
|
|
15
|
-
import { c as resolveGatewayLogPaths } from "./launchd-
|
|
16
|
-
import { a as findVerifiedGatewayListenerPidsOnPortSync, n as resolveGatewayService, o as formatGatewayPidList, s as signalVerifiedGatewayPidSync } from "./service-
|
|
17
|
-
import { n as isNonFatalSystemdInstallProbeError } from "./systemd-
|
|
18
|
-
import { _ as installDaemonServiceAndEmit, a as createCliStatusTextStyles, c as filterDaemonEnv, d as pickProbeHostForBind, f as renderGatewayServiceStartHints, g as buildDaemonServiceSnapshot, h as safeDaemonEnv, i as runServiceUninstall, l as normalizeListenerAddress, m as resolveRuntimeStatusColor, n as runServiceStart, o as createDaemonInstallActionContext, p as renderRuntimeHints, r as runServiceStop, s as failIfNixDaemonInstallMode, t as runServiceRestart, u as parsePortFromArgs } from "./lifecycle-core-
|
|
19
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail, u as formatRuntimeStatus } from "./systemd-hints-
|
|
15
|
+
import { c as resolveGatewayLogPaths } from "./launchd-D7vxtTg7.js";
|
|
16
|
+
import { a as findVerifiedGatewayListenerPidsOnPortSync, n as resolveGatewayService, o as formatGatewayPidList, s as signalVerifiedGatewayPidSync } from "./service-LNrViUVb.js";
|
|
17
|
+
import { n as isNonFatalSystemdInstallProbeError } from "./systemd-DSK6B3bg.js";
|
|
18
|
+
import { _ as installDaemonServiceAndEmit, a as createCliStatusTextStyles, c as filterDaemonEnv, d as pickProbeHostForBind, f as renderGatewayServiceStartHints, g as buildDaemonServiceSnapshot, h as safeDaemonEnv, i as runServiceUninstall, l as normalizeListenerAddress, m as resolveRuntimeStatusColor, n as runServiceStart, o as createDaemonInstallActionContext, p as renderRuntimeHints, r as runServiceStop, s as failIfNixDaemonInstallMode, t as runServiceRestart, u as parsePortFromArgs } from "./lifecycle-core-CKec6MyM.js";
|
|
19
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail, u as formatRuntimeStatus } from "./systemd-hints-DsQTPBGt.js";
|
|
20
20
|
import { t as parsePort } from "./parse-port-C_3w9_cU.js";
|
|
21
|
-
import { n as resolveGatewayProbeAuthWithSecretInputs, r as probeGateway } from "./probe-auth-
|
|
22
|
-
import { n as readLastGatewayErrorLine } from "./diagnostics-
|
|
23
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
21
|
+
import { n as resolveGatewayProbeAuthWithSecretInputs, r as probeGateway } from "./probe-auth-H1_HjX3c.js";
|
|
22
|
+
import { n as readLastGatewayErrorLine } from "./diagnostics-iZHasrpQ.js";
|
|
23
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-C0iPD7zZ.js";
|
|
24
24
|
//#region src/cli/daemon-cli/install.ts
|
|
25
25
|
async function runDaemonInstall(opts) {
|
|
26
26
|
const { json, stdout, warnings, emit, fail } = createDaemonInstallActionContext(opts.json);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import "./reply-gX1XTS9Y.js";
|
|
5
|
+
import "./agent-scope-sd1-3XH0.js";
|
|
6
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
7
7
|
import "./logger-BohkHL0S.js";
|
|
8
8
|
import "./exec-CNtAq7Md.js";
|
|
9
9
|
import "./github-copilot-token-Ff890Vmh.js";
|
|
@@ -11,16 +11,16 @@ import "./boolean-B938tROv.js";
|
|
|
11
11
|
import "./env-CQxWwTMn.js";
|
|
12
12
|
import "./env-overrides-BYyMsIvB.js";
|
|
13
13
|
import "./registry-aHEgjCIQ.js";
|
|
14
|
-
import "./skills-
|
|
14
|
+
import "./skills-vhlUaliH.js";
|
|
15
15
|
import "./frontmatter-BngyYhS0.js";
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import "./plugins-BVbKGpQJ.js";
|
|
17
|
+
import "./query-expansion-AnOnkIqf.js";
|
|
18
18
|
import "./redact-owRpqMhM.js";
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./fetch-
|
|
19
|
+
import "./path-alias-guards-B6owPyQX.js";
|
|
20
|
+
import "./fetch-ggeyBJ4j.js";
|
|
21
21
|
import "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-Dz5qUtqp.js";
|
|
23
|
+
import "./restart-stale-pids-B6E7QavX.js";
|
|
24
24
|
import "./delivery-queue-B7zSt4zY.js";
|
|
25
25
|
import "./paths-CfmKJcO5.js";
|
|
26
26
|
import "./session-cost-usage-C2jrTKxW.js";
|
|
@@ -29,14 +29,14 @@ import "./links-BpKafJs4.js";
|
|
|
29
29
|
import "./cli-utils-BSURvrmb.js";
|
|
30
30
|
import "./runtime-guard-C4h47dl7.js";
|
|
31
31
|
import "./note-DOFTT6QH.js";
|
|
32
|
-
import "./daemon-install-plan.shared-
|
|
33
|
-
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-
|
|
32
|
+
import "./daemon-install-plan.shared-g5FPfccc.js";
|
|
33
|
+
import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint, t as resolveGatewayInstallToken } from "./gateway-install-token-CQHd6wSt.js";
|
|
34
34
|
import { r as isGatewayDaemonRuntime } from "./daemon-runtime-CYx-YMxc.js";
|
|
35
35
|
import "./runtime-parse-l56zRsXX.js";
|
|
36
|
-
import "./launchd-
|
|
37
|
-
import { n as resolveGatewayService } from "./service-
|
|
38
|
-
import { i as isSystemdUserServiceAvailable } from "./systemd-
|
|
39
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
36
|
+
import "./launchd-D7vxtTg7.js";
|
|
37
|
+
import { n as resolveGatewayService } from "./service-LNrViUVb.js";
|
|
38
|
+
import { i as isSystemdUserServiceAvailable } from "./systemd-DSK6B3bg.js";
|
|
39
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BPISBIWJ.js";
|
|
40
40
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
41
41
|
async function installGatewayDaemonNonInteractive(params) {
|
|
42
42
|
const { opts, runtime, port } = params;
|
package/dist/{daemon-install-plan.shared-BfFSRwqA.js → daemon-install-plan.shared-g5FPfccc.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { $ as isNodeRuntime, Q as isBunRuntime } from "./subsystem-G54saDcg.js";
|
|
2
|
-
import { dv as VERSION } from "./reply-
|
|
2
|
+
import { dv as VERSION } from "./reply-gX1XTS9Y.js";
|
|
3
3
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, f as resolveGatewaySystemdServiceName, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_SERVICE_MARKER, p as resolveGatewayWindowsTaskName, r as GATEWAY_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-D-pfuSKJ.js";
|
|
4
4
|
import { n as isSupportedNodeVersion } from "./runtime-guard-C4h47dl7.js";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { promisify } from "node:util";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
import { execFile } from "node:child_process";
|
|
10
10
|
//#region src/daemon/program-args.ts
|
|
11
11
|
async function resolveCliEntrypointPathForService() {
|
|
@@ -14,23 +14,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
14
14
|
const normalized = path.resolve(argv1);
|
|
15
15
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
16
16
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
17
|
-
await
|
|
17
|
+
await fsPromises.access(resolvedPath);
|
|
18
18
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
19
|
-
await
|
|
19
|
+
await fsPromises.access(normalized);
|
|
20
20
|
return normalized;
|
|
21
21
|
} catch {}
|
|
22
22
|
return resolvedPath;
|
|
23
23
|
}
|
|
24
24
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
25
25
|
for (const candidate of distCandidates) try {
|
|
26
|
-
await
|
|
26
|
+
await fsPromises.access(candidate);
|
|
27
27
|
return candidate;
|
|
28
28
|
} catch {}
|
|
29
29
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
30
30
|
}
|
|
31
31
|
async function resolveRealpathSafe(inputPath) {
|
|
32
32
|
try {
|
|
33
|
-
return await
|
|
33
|
+
return await fsPromises.realpath(inputPath);
|
|
34
34
|
} catch {
|
|
35
35
|
return inputPath;
|
|
36
36
|
}
|
|
@@ -90,7 +90,7 @@ async function resolveBinaryPath(binary) {
|
|
|
90
90
|
try {
|
|
91
91
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
92
92
|
if (!resolved) throw new Error("empty");
|
|
93
|
-
await
|
|
93
|
+
await fsPromises.access(resolved);
|
|
94
94
|
return resolved;
|
|
95
95
|
} catch {
|
|
96
96
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -109,7 +109,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
109
109
|
if (params.dev) {
|
|
110
110
|
const repoRoot = resolveRepoRootForDev();
|
|
111
111
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
112
|
-
await
|
|
112
|
+
await fsPromises.access(devCliPath);
|
|
113
113
|
return {
|
|
114
114
|
programArguments: [
|
|
115
115
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -137,7 +137,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
137
137
|
}
|
|
138
138
|
const repoRoot = resolveRepoRootForDev();
|
|
139
139
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
140
|
-
await
|
|
140
|
+
await fsPromises.access(devCliPath);
|
|
141
141
|
if (isBunRuntime(execPath)) return {
|
|
142
142
|
programArguments: [
|
|
143
143
|
execPath,
|
|
@@ -401,13 +401,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
401
401
|
const pathModule = nodePath.includes("\\") ? path.win32 : path.posix;
|
|
402
402
|
const optPath = pathModule.join(prefix, "opt", formula, "bin", "node");
|
|
403
403
|
try {
|
|
404
|
-
await
|
|
404
|
+
await fsPromises.access(optPath);
|
|
405
405
|
return optPath;
|
|
406
406
|
} catch {}
|
|
407
407
|
if (formula === "node") {
|
|
408
408
|
const binPath = pathModule.join(prefix, "bin", "node");
|
|
409
409
|
try {
|
|
410
|
-
await
|
|
410
|
+
await fsPromises.access(binPath);
|
|
411
411
|
return binPath;
|
|
412
412
|
} catch {}
|
|
413
413
|
}
|
|
@@ -475,7 +475,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
475
475
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
476
476
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
477
477
|
for (const candidate of candidates) try {
|
|
478
|
-
await
|
|
478
|
+
await fsPromises.access(candidate);
|
|
479
479
|
return candidate;
|
|
480
480
|
} catch {}
|
|
481
481
|
return null;
|