openclaw-multi-auto 1.7.5 → 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-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-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-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/{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/{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/{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-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/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-KVA4wuh0.js → login-qr-DB7lXNdD.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-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-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-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-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-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-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/{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-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-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-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-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/{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-BUvGEDSk.js → whatsapp-actions-JJEG8eF3.js} +2 -2
- package/dist/{workspace-CWne7yqK.js → workspace-BTsqd19h.js} +1 -1
- package/package.json +8 -8
- package/scripts/create-instance.sh +29 -46
- package/dist/register.configure-CPWCrXrC.js +0 -87
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { G as withProgress, Si as formatTimeAgo, Tm as GATEWAY_CLIENT_NAMES, Zh as isLoopbackHost, ns as buildGatewayConnectionDetails, rs as callGateway, wm as GATEWAY_CLIENT_MODES } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { G as withProgress, Si as formatTimeAgo, Tm as GATEWAY_CLIENT_NAMES, Zh as isLoopbackHost, ns as buildGatewayConnectionDetails, rs as callGateway, wm as GATEWAY_CLIENT_MODES } 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";
|
|
@@ -11,23 +11,23 @@ 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";
|
|
27
27
|
import "./prompt-style-DlcWUCNR.js";
|
|
28
28
|
import "./links-BpKafJs4.js";
|
|
29
29
|
import "./cli-utils-BSURvrmb.js";
|
|
30
|
-
import { i as listDevicePairing, t as approveDevicePairing, u as summarizeDeviceTokens } from "./device-pairing-
|
|
30
|
+
import { i as listDevicePairing, t as approveDevicePairing, u as summarizeDeviceTokens } from "./device-pairing-CMxl0D-M.js";
|
|
31
31
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-DpnYa9iY.js";
|
|
32
32
|
//#region src/cli/devices-cli.ts
|
|
33
33
|
const FALLBACK_NOTICE = "Direct scope access failed; using local fallback.";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { c as resolveGatewayLogPaths } from "./launchd-
|
|
3
|
-
import
|
|
2
|
+
import { c as resolveGatewayLogPaths } from "./launchd-D7vxtTg7.js";
|
|
3
|
+
import fsPromises from "node:fs/promises";
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
var diagnostics_exports = /* @__PURE__ */ __exportAll({ readLastGatewayErrorLine: () => readLastGatewayErrorLine });
|
|
6
6
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -12,7 +12,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
12
12
|
];
|
|
13
13
|
async function readLastLogLine(filePath) {
|
|
14
14
|
try {
|
|
15
|
-
const lines = (await
|
|
15
|
+
const lines = (await fsPromises.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
16
16
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
17
17
|
return null;
|
|
18
18
|
} catch {
|
|
@@ -21,8 +21,8 @@ async function readLastLogLine(filePath) {
|
|
|
21
21
|
}
|
|
22
22
|
async function readLastGatewayErrorLine(env) {
|
|
23
23
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
24
|
-
const stderrRaw = await
|
|
25
|
-
const stdoutRaw = await
|
|
24
|
+
const stderrRaw = await fsPromises.readFile(stderrPath, "utf8").catch(() => "");
|
|
25
|
+
const stdoutRaw = await fsPromises.readFile(stdoutPath, "utf8").catch(() => "");
|
|
26
26
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
27
27
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
28
28
|
const line = lines[i];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, p as defaultRuntime, v as danger } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { d_ as loadConfig, ga as resolveMessageChannelSelection, q as formatHelpExamples } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { d_ as loadConfig, ga as resolveMessageChannelSelection, q as formatHelpExamples } 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";
|
|
@@ -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 { g as resolveChannelDefaultAccountId, t as getChannelPlugin } from "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import { g as resolveChannelDefaultAccountId, t as getChannelPlugin } from "./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";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { cg as pickPrimaryTailnetIPv4, d_ as loadConfig, lg as pickPrimaryTailnetIPv6 } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { cg as pickPrimaryTailnetIPv4, d_ as loadConfig, lg as pickPrimaryTailnetIPv6 } 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";
|
|
@@ -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";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, k as isRich, p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import "./openclaw-root-
|
|
4
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
5
5
|
import "./logger-BohkHL0S.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-CNtAq7Md.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
8
8
|
import "./boolean-B938tROv.js";
|
|
9
9
|
import "./env-overrides-BYyMsIvB.js";
|
|
10
10
|
import "./registry-aHEgjCIQ.js";
|
|
11
|
-
import "./skills-
|
|
11
|
+
import "./skills-vhlUaliH.js";
|
|
12
12
|
import { f as hasBinary } from "./frontmatter-BngyYhS0.js";
|
|
13
13
|
import "./redact-owRpqMhM.js";
|
|
14
|
-
import "./path-alias-guards-
|
|
14
|
+
import "./path-alias-guards-B6owPyQX.js";
|
|
15
15
|
import "./errors-DNKaAVHN.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
17
17
|
import { n as runCommandWithRuntime } from "./cli-utils-BSURvrmb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
1
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-dlCz9toZ.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-p_4ya3m0.js";
|
|
3
3
|
import { t as note } from "./note-DOFTT6QH.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DetW6vGx.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
//#region src/commands/doctor-completion.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH } from "./paths-tuenh9TL.js";
|
|
2
2
|
import { _ as resolveHomeDir, d as isRecord } from "./utils-B8zCe27d.js";
|
|
3
|
-
import { $ as resolveCommandSecretRefsViaGateway, Hl as listInterpreterLikeSafeBins, I_ as getTrustedSafeBinDirs, L_ as isTrustedSafeBinPath, Mn as collectProviderDangerousNameMatchingScopes, Qp as canonicalizeMainSessionAlias, R_ as normalizeTrustedSafeBinDirs, V_ as resolveCommandResolutionFromArgv, Wl as resolveMergedSafeBinProfileFixtures, Y as getChannelsCommandSecretTargetIds, Yu as readChannelAllowFromStore, Zu as resolveChannelAllowFromPath, av as resolveTelegramPreviewStreamMode, b_ as OpenClawSchema, c_ as parseToolsBySenderTypedKey, ca as applyPluginAutoEnable, ev as formatSlackStreamModeMigrationMessage, iv as resolveSlackStreamingMode, l_ as migrateLegacyConfig, m_ as readConfigFileSnapshot, nv as resolveDiscordPreviewStreamMode, rv as resolveSlackNativeStreaming, tv as formatSlackStreamingBooleanMigrationMessage, yp as saveSessionStore } from "./reply-
|
|
4
|
-
import { f as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { $ as resolveCommandSecretRefsViaGateway, Hl as listInterpreterLikeSafeBins, I_ as getTrustedSafeBinDirs, L_ as isTrustedSafeBinPath, Mn as collectProviderDangerousNameMatchingScopes, Qp as canonicalizeMainSessionAlias, R_ as normalizeTrustedSafeBinDirs, V_ as resolveCommandResolutionFromArgv, Wl as resolveMergedSafeBinProfileFixtures, Y as getChannelsCommandSecretTargetIds, Yu as readChannelAllowFromStore, Zu as resolveChannelAllowFromPath, av as resolveTelegramPreviewStreamMode, b_ as OpenClawSchema, c_ as parseToolsBySenderTypedKey, ca as applyPluginAutoEnable, ev as formatSlackStreamModeMigrationMessage, iv as resolveSlackStreamingMode, l_ as migrateLegacyConfig, m_ as readConfigFileSnapshot, nv as resolveDiscordPreviewStreamMode, rv as resolveSlackNativeStreaming, tv as formatSlackStreamingBooleanMigrationMessage, yp as saveSessionStore } from "./reply-gX1XTS9Y.js";
|
|
4
|
+
import { f as resolveDefaultAgentId } from "./agent-scope-sd1-3XH0.js";
|
|
5
5
|
import { _ as normalizeAccountId, c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, v as normalizeOptionalAccountId } from "./session-key-DjKQluAa.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
7
7
|
import { l as normalizeChatChannelId } from "./registry-aHEgjCIQ.js";
|
|
8
|
-
import { J as formatSetExplicitDefaultToConfiguredInstruction, K as formatChannelAccountsDefaultPath, R as inspectTelegramAccount, U as resolveTelegramAccount, V as listTelegramAccountIds, et as listRouteBindings, q as formatSetExplicitDefaultInstruction } from "./plugins-
|
|
8
|
+
import { J as formatSetExplicitDefaultToConfiguredInstruction, K as formatChannelAccountsDefaultPath, R as inspectTelegramAccount, U as resolveTelegramAccount, V as listTelegramAccountIds, et as listRouteBindings, q as formatSetExplicitDefaultInstruction } from "./plugins-BVbKGpQJ.js";
|
|
9
9
|
import { i as shouldMoveSingleAccountChannelKey, t as fetchTelegramChatId } from "./api-fetch-DlNaizdi.js";
|
|
10
10
|
import { t as note } from "./note-DOFTT6QH.js";
|
|
11
|
-
import { t as isWithinDir } from "./path-safety-
|
|
12
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
11
|
+
import { t as isWithinDir } from "./path-safety-DN7L46Yk.js";
|
|
12
|
+
import { n as formatConfigIssueLines } from "./issue-format-CtBob7pd.js";
|
|
13
13
|
import { a as isMattermostMutableAllowEntry, c as isNumericTelegramUserId, i as isMSTeamsMutableAllowEntry, l as normalizeTelegramAllowFromEntry, n as isGoogleChatMutableAllowEntry, o as isSlackMutableAllowEntry, r as isIrcMutableAllowEntry, s as isZalouserMutableGroupEntry, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-rMmQt6Ld.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import JSON5 from "json5";
|
|
18
|
-
import
|
|
18
|
+
import fsPromises from "node:fs/promises";
|
|
19
19
|
//#region src/commands/doctor-config-analysis.ts
|
|
20
20
|
function normalizeIssuePath(path) {
|
|
21
21
|
return path.filter((part) => typeof part !== "symbol");
|
|
@@ -2166,7 +2166,7 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2166
2166
|
const targetDir = path.join(home, ".openclaw");
|
|
2167
2167
|
const targetPath = path.join(targetDir, "openclaw.json");
|
|
2168
2168
|
try {
|
|
2169
|
-
await
|
|
2169
|
+
await fsPromises.access(targetPath);
|
|
2170
2170
|
return changes;
|
|
2171
2171
|
} catch {}
|
|
2172
2172
|
const legacyCandidates = [
|
|
@@ -2176,14 +2176,14 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2176
2176
|
];
|
|
2177
2177
|
let legacyPath = null;
|
|
2178
2178
|
for (const candidate of legacyCandidates) try {
|
|
2179
|
-
await
|
|
2179
|
+
await fsPromises.access(candidate);
|
|
2180
2180
|
legacyPath = candidate;
|
|
2181
2181
|
break;
|
|
2182
2182
|
} catch {}
|
|
2183
2183
|
if (!legacyPath) return changes;
|
|
2184
|
-
await
|
|
2184
|
+
await fsPromises.mkdir(targetDir, { recursive: true });
|
|
2185
2185
|
try {
|
|
2186
|
-
await
|
|
2186
|
+
await fsPromises.copyFile(legacyPath, targetPath, fsPromises.constants.COPYFILE_EXCL);
|
|
2187
2187
|
changes.push(`Migrated legacy config: ${legacyPath} -> ${targetPath}`);
|
|
2188
2188
|
} catch {}
|
|
2189
2189
|
return changes;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ua as ensurePluginAllowlisted } from "./reply-
|
|
1
|
+
import { ua as ensurePluginAllowlisted } from "./reply-gX1XTS9Y.js";
|
|
2
2
|
import { l as normalizeChatChannelId } from "./registry-aHEgjCIQ.js";
|
|
3
3
|
//#region src/plugins/toggle-config.ts
|
|
4
4
|
function setPluginEnabledInConfig(config, pluginId, enabled) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, k as isRich, p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { Il as saveExecApprovals, Si as formatTimeAgo, jl as readExecApprovalsSnapshot } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { Il as saveExecApprovals, Si as formatTimeAgo, jl as readExecApprovalsSnapshot } 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";
|
|
@@ -11,32 +11,32 @@ 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";
|
|
27
27
|
import "./prompt-style-DlcWUCNR.js";
|
|
28
28
|
import { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
29
29
|
import "./cli-utils-BSURvrmb.js";
|
|
30
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
30
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-DrDqntyT.js";
|
|
31
31
|
import "./runtime-parse-l56zRsXX.js";
|
|
32
|
-
import "./launchd-
|
|
33
|
-
import "./service-
|
|
34
|
-
import "./systemd-
|
|
32
|
+
import "./launchd-D7vxtTg7.js";
|
|
33
|
+
import "./service-LNrViUVb.js";
|
|
34
|
+
import "./systemd-DSK6B3bg.js";
|
|
35
35
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-DpnYa9iY.js";
|
|
36
|
-
import { t as describeUnknownError } from "./shared-
|
|
37
|
-
import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
36
|
+
import { t as describeUnknownError } from "./shared-c6JUv5At.js";
|
|
37
|
+
import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-B2PO3N0W.js";
|
|
38
38
|
import JSON5 from "json5";
|
|
39
|
-
import
|
|
39
|
+
import fsPromises from "node:fs/promises";
|
|
40
40
|
//#region src/cli/exec-approvals-cli.ts
|
|
41
41
|
async function readStdin() {
|
|
42
42
|
const chunks = [];
|
|
@@ -332,7 +332,7 @@ function registerExecApprovalsCli(program) {
|
|
|
332
332
|
if (!opts.file && !opts.stdin) exitWithError("Provide --file or --stdin.");
|
|
333
333
|
if (opts.file && opts.stdin) exitWithError("Use either --file or --stdin (not both).");
|
|
334
334
|
const { source, nodeId, targetLabel, baseHash } = await loadWritableSnapshotTarget(opts);
|
|
335
|
-
const raw = opts.stdin ? await readStdin() : await
|
|
335
|
+
const raw = opts.stdin ? await readStdin() : await fsPromises.readFile(String(opts.file), "utf8");
|
|
336
336
|
let file;
|
|
337
337
|
try {
|
|
338
338
|
file = JSON5.parse(raw);
|
|
@@ -3,7 +3,7 @@ import { i as logWarn } from "./logger-BohkHL0S.js";
|
|
|
3
3
|
import { t as isTruthyEnvValue } from "./env-CQxWwTMn.js";
|
|
4
4
|
import process$1 from "node:process";
|
|
5
5
|
import { readFileSync } from "node:fs";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
import * as dns from "node:dns";
|
|
8
8
|
import { Agent, EnvHttpProxyAgent, ProxyAgent, fetch as fetch$1 } from "undici";
|
|
9
9
|
//#region src/infra/net/proxy-env.ts
|
|
@@ -237,7 +237,7 @@ async function isWSL() {
|
|
|
237
237
|
return wslCached;
|
|
238
238
|
}
|
|
239
239
|
try {
|
|
240
|
-
const release = await
|
|
240
|
+
const release = await fsPromises.readFile("/proc/sys/kernel/osrelease", "utf8");
|
|
241
241
|
wslCached = release.toLowerCase().includes("microsoft") || release.toLowerCase().includes("wsl");
|
|
242
242
|
} catch {
|
|
243
243
|
wslCached = false;
|