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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as isPathInside } from "./scan-paths-B5Yx6Npu.js";
|
|
2
2
|
import { a as hasErrnoCode } from "./errors-DNKaAVHN.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
//#region src/security/skill-scanner.ts
|
|
6
6
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
7
7
|
".js",
|
|
@@ -194,7 +194,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
194
194
|
async function readDirEntriesWithCache(dirPath) {
|
|
195
195
|
let st = null;
|
|
196
196
|
try {
|
|
197
|
-
st = await
|
|
197
|
+
st = await fsPromises.stat(dirPath);
|
|
198
198
|
} catch (err) {
|
|
199
199
|
if (hasErrnoCode(err, "ENOENT")) return [];
|
|
200
200
|
throw err;
|
|
@@ -202,7 +202,7 @@ async function readDirEntriesWithCache(dirPath) {
|
|
|
202
202
|
if (!st?.isDirectory()) return [];
|
|
203
203
|
const cached = DIR_ENTRY_CACHE.get(dirPath);
|
|
204
204
|
if (cached && cached.mtimeMs === st.mtimeMs) return cached.entries;
|
|
205
|
-
const dirents = await
|
|
205
|
+
const dirents = await fsPromises.readdir(dirPath, { withFileTypes: true });
|
|
206
206
|
const entries = [];
|
|
207
207
|
for (const entry of dirents) if (entry.isDirectory()) entries.push({
|
|
208
208
|
name: entry.name,
|
|
@@ -229,7 +229,7 @@ async function resolveForcedFiles(params) {
|
|
|
229
229
|
if (seen.has(includePath)) continue;
|
|
230
230
|
let st = null;
|
|
231
231
|
try {
|
|
232
|
-
st = await
|
|
232
|
+
st = await fsPromises.stat(includePath);
|
|
233
233
|
} catch (err) {
|
|
234
234
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
235
235
|
throw err;
|
|
@@ -262,7 +262,7 @@ async function scanFileWithCache(params) {
|
|
|
262
262
|
const { filePath, maxFileBytes } = params;
|
|
263
263
|
let st = null;
|
|
264
264
|
try {
|
|
265
|
-
st = await
|
|
265
|
+
st = await fsPromises.stat(filePath);
|
|
266
266
|
} catch (err) {
|
|
267
267
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
268
268
|
scanned: false,
|
|
@@ -299,7 +299,7 @@ async function scanFileWithCache(params) {
|
|
|
299
299
|
}
|
|
300
300
|
let source;
|
|
301
301
|
try {
|
|
302
|
-
source = await
|
|
302
|
+
source = await fsPromises.readFile(filePath, "utf-8");
|
|
303
303
|
} catch (err) {
|
|
304
304
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
305
305
|
scanned: false,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, p as defaultRuntime, u as stripAnsi } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-B8zCe27d.js";
|
|
4
|
-
import { d_ as loadConfig } from "./reply-
|
|
5
|
-
import { d as resolveAgentWorkspaceDir, f as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { d_ as loadConfig } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import { d as resolveAgentWorkspaceDir, f as resolveDefaultAgentId } 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 "./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";
|
|
@@ -257,7 +257,7 @@ function formatSkillsCheck(report, opts) {
|
|
|
257
257
|
async function loadSkillsStatusReport() {
|
|
258
258
|
const config = loadConfig();
|
|
259
259
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
260
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
260
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-DHMQ6A2H.js").then((n) => n.n);
|
|
261
261
|
return buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
262
262
|
}
|
|
263
263
|
async function runSkillsAction(render) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as ensureDir, g as resolveConfigDir, y as resolveUserPath } from "./utils-B8zCe27d.js";
|
|
2
|
-
import { sf as fetchWithSsrFGuard } from "./reply-
|
|
2
|
+
import { sf as fetchWithSsrFGuard } from "./reply-gX1XTS9Y.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CNtAq7Md.js";
|
|
4
4
|
import { p as resolveSkillKey } from "./env-overrides-BYyMsIvB.js";
|
|
5
|
-
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-
|
|
5
|
+
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-vhlUaliH.js";
|
|
6
6
|
import { f as hasBinary } from "./frontmatter-BngyYhS0.js";
|
|
7
|
-
import { Q as writeFileFromPathWithinRoot } from "./query-expansion-
|
|
7
|
+
import { Q as writeFileFromPathWithinRoot } from "./query-expansion-AnOnkIqf.js";
|
|
8
8
|
import { t as resolveBrewExecutable } from "./brew-BoTYTRV7.js";
|
|
9
|
-
import { t as isWithinDir } from "./path-safety-
|
|
10
|
-
import { f as mergeExtractedTreeIntoDestination, h as isWindowsDrivePath, i as safePathSegmentHashed, m as withStagedArchiveDestination, o as createTarEntryPreflightChecker, p as prepareArchiveDestinationDir, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-
|
|
11
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
9
|
+
import { t as isWithinDir } from "./path-safety-DN7L46Yk.js";
|
|
10
|
+
import { f as mergeExtractedTreeIntoDestination, h as isWindowsDrivePath, i as safePathSegmentHashed, m as withStagedArchiveDestination, o as createTarEntryPreflightChecker, p as prepareArchiveDestinationDir, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-CnIWvuEU.js";
|
|
11
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-DaUNX-tW.js";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import { t as CONFIG_DIR } from "./utils-B8zCe27d.js";
|
|
4
4
|
import { a as isBundledSkillAllowed, c as resolveSkillConfig, o as isConfigPathTruthy, s as resolveBundledAllowlist } from "./env-overrides-BYyMsIvB.js";
|
|
5
|
-
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-
|
|
5
|
+
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-vhlUaliH.js";
|
|
6
6
|
import { f as hasBinary } from "./frontmatter-BngyYhS0.js";
|
|
7
7
|
import { t as evaluateEntryRequirementsForCurrentPlatform } from "./entry-status-1kCOFMNZ.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { H as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-G54saDcg.js";
|
|
2
2
|
import { d as isRecord, g as resolveConfigDir, t as CONFIG_DIR, y as resolveUserPath } from "./utils-B8zCe27d.js";
|
|
3
|
-
import { _ as normalizeSkillFilter, a as openBoundaryFileSync, n as resolveOpenClawPackageRootSync, p as isPathInside$1 } from "./openclaw-root-
|
|
3
|
+
import { _ as normalizeSkillFilter, a as openBoundaryFileSync, n as resolveOpenClawPackageRootSync, p as isPathInside$1 } from "./openclaw-root-dlCz9toZ.js";
|
|
4
4
|
import { d as resolveOpenClawMetadata, f as resolveSkillInvocationPolicy, l as shouldIncludeSkill, u as parseFrontmatter } from "./env-overrides-BYyMsIvB.js";
|
|
5
5
|
import { r as isPathInsideWithRealpath } from "./scan-paths-B5Yx6Npu.js";
|
|
6
6
|
import { P as defaultSlotIdForKey, l as normalizeChatChannelId } from "./registry-aHEgjCIQ.js";
|
|
7
7
|
import { m as MANIFEST_KEY } from "./frontmatter-BngyYhS0.js";
|
|
8
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
8
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-B6owPyQX.js";
|
|
9
9
|
import { URL, fileURLToPath } from "node:url";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
@@ -3,7 +3,7 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-Bi8vpJN0.js";
|
|
5
5
|
import "./logger-DCBlX1uz.js";
|
|
6
|
-
import { an as listNativeCommandSpecsForConfig, in as findCommandByNativeName, on as parseCommandArgs, rn as buildCommandTextFromArgs, sn as resolveCommandArgMenu } from "./model-selection-
|
|
6
|
+
import { an as listNativeCommandSpecsForConfig, in as findCommandByNativeName, on as parseCommandArgs, rn as buildCommandTextFromArgs, sn as resolveCommandArgMenu } from "./model-selection-Coo7zMJO.js";
|
|
7
7
|
import "./github-copilot-token-BeFx3MLn.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
9
|
import "./fetch-BdTTF2z-.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { Au as buildCommandTextFromArgs, Fu as parseCommandArgs, Iu as resolveCommandArgMenu, Pu as listNativeCommandSpecsForConfig, ju as findCommandByNativeName } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { Au as buildCommandTextFromArgs, Fu as parseCommandArgs, Iu as resolveCommandArgMenu, Pu as listNativeCommandSpecsForConfig, ju as findCommandByNativeName } 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,4 +1,4 @@
|
|
|
1
|
-
import { An as buildCommandTextFromArgs, Mn as listNativeCommandSpecsForConfig, Nn as parseCommandArgs, Pn as resolveCommandArgMenu, jn as findCommandByNativeName } from "./discord-
|
|
1
|
+
import { An as buildCommandTextFromArgs, Mn as listNativeCommandSpecsForConfig, Nn as parseCommandArgs, Pn as resolveCommandArgMenu, jn as findCommandByNativeName } from "./discord-C5GTGVrg.js";
|
|
2
2
|
import "./accounts-D5tcOoP8.js";
|
|
3
3
|
import "./token-DI5_CK8b.js";
|
|
4
4
|
import "./query-expansion-Dpf_vNBe.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { Dd as resolveChunkMode, Pn as createReplyPrefixOptions, Sn as dispatchReplyWithDispatcher, Xn as finalizeInboundContext, _d as resolveMarkdownTableMode, at as recordInboundSessionMetaSafe, pt as deliverSlackSlashReplies, rd as resolveAgentRoute, um as resolveConversationLabel } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { Dd as resolveChunkMode, Pn as createReplyPrefixOptions, Sn as dispatchReplyWithDispatcher, Xn as finalizeInboundContext, _d as resolveMarkdownTableMode, at as recordInboundSessionMetaSafe, pt as deliverSlackSlashReplies, rd as resolveAgentRoute, um as resolveConversationLabel } 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";
|
|
@@ -3,7 +3,7 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-Bi8vpJN0.js";
|
|
5
5
|
import "./logger-DCBlX1uz.js";
|
|
6
|
-
import { An as resolveChunkMode, B as finalizeInboundContext, Cn as resolveMarkdownTableMode, E as createReplyPrefixOptions, Fr as resolveConversationLabel, S as dispatchReplyWithDispatcher, _ as deliverSlackSlashReplies, h as recordInboundSessionMetaSafe, hn as resolveAgentRoute } from "./model-selection-
|
|
6
|
+
import { An as resolveChunkMode, B as finalizeInboundContext, Cn as resolveMarkdownTableMode, E as createReplyPrefixOptions, Fr as resolveConversationLabel, S as dispatchReplyWithDispatcher, _ as deliverSlackSlashReplies, h as recordInboundSessionMetaSafe, hn as resolveAgentRoute } from "./model-selection-Coo7zMJO.js";
|
|
7
7
|
import "./github-copilot-token-BeFx3MLn.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
9
|
import "./fetch-BdTTF2z-.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as deliverSlackSlashReplies, Hn as resolveAgentRoute, K as dispatchReplyWithDispatcher, Q as createReplyPrefixOptions, R as recordInboundSessionMetaSafe, Yr as resolveConversationLabel, dn as resolveMarkdownTableMode, ft as finalizeInboundContext, pn as resolveChunkMode } from "./discord-
|
|
1
|
+
import { B as deliverSlackSlashReplies, Hn as resolveAgentRoute, K as dispatchReplyWithDispatcher, Q as createReplyPrefixOptions, R as recordInboundSessionMetaSafe, Yr as resolveConversationLabel, dn as resolveMarkdownTableMode, ft as finalizeInboundContext, pn as resolveChunkMode } from "./discord-C5GTGVrg.js";
|
|
2
2
|
import "./accounts-D5tcOoP8.js";
|
|
3
3
|
import "./token-DI5_CK8b.js";
|
|
4
4
|
import "./query-expansion-Dpf_vNBe.js";
|
package/dist/{slash-skill-commands.runtime-8dS5PTaH.js → slash-skill-commands.runtime-Cv1NPjj6.js}
RENAMED
|
@@ -3,7 +3,7 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-Bi8vpJN0.js";
|
|
5
5
|
import "./logger-DCBlX1uz.js";
|
|
6
|
-
import { I as listSkillCommandsForAgents } from "./model-selection-
|
|
6
|
+
import { I as listSkillCommandsForAgents } from "./model-selection-Coo7zMJO.js";
|
|
7
7
|
import "./github-copilot-token-BeFx3MLn.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
9
|
import "./fetch-BdTTF2z-.js";
|
package/dist/{slash-skill-commands.runtime-D0ohJN-V.js → slash-skill-commands.runtime-Dt6QQJcX.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { Qt as listSkillCommandsForAgents } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { Qt as listSkillCommandsForAgents } 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,4 +1,4 @@
|
|
|
1
|
-
import { b as projectSafeChannelAccountSnapshotFields, p as inspectReadOnlyChannelAccount } from "./reply-
|
|
1
|
+
import { b as projectSafeChannelAccountSnapshotFields, p as inspectReadOnlyChannelAccount } from "./reply-gX1XTS9Y.js";
|
|
2
2
|
//#region src/channels/plugins/status.ts
|
|
3
3
|
async function buildSnapshotFromAccount(params) {
|
|
4
4
|
if (params.plugin.status?.buildAccountSnapshot) return await params.plugin.status.buildAccountSnapshot({
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, k as isRich, y as info } from "./subsystem-G54saDcg.js";
|
|
3
|
-
import { $ as resolveCommandSecretRefsViaGateway, $t as getRemoteSkillEligibility, Fa as summarizeRestartSentinel, G as withProgress, Iv as DEFAULT_MODEL, Lg as sha256HexPrefix, Lt as resolveControlUiLinks, Lv as DEFAULT_PROVIDER, P as resolveConfiguredModelRef, Pa as readRestartSentinel, Q as getStatusCommandSecretTargetIds, Si as formatTimeAgo, Wt as normalizeControlUiBasePath, Xp as resolveFreshSessionTotalTokens, _ as resolveChannelAccountEnabled, _g as readTailscaleStatusJson, _p as loadSessionStore, cd as peekSystemEvents, ci as formatUsageReportLines, d_ as loadConfig, dd as formatDurationPrecise, dv as VERSION, f as buildChannelSummary, fi as classifySessionKey, fv as resolveRuntimeServiceVersion, g as resolveChannelAccountConfigured, gg as getTailnetHostname, h as formatChannelAllowFrom, m as buildChannelAccountSnapshot, m_ as readConfigFileSnapshot, ns as buildGatewayConnectionDetails, p as inspectReadOnlyChannelAccount, p_ as readBestEffortConfig, pi as listAgentsForGateway, pu as getMemorySearchManager, rs as callGateway, si as loadProviderUsageSummary, tm as resolveMainSessionKey, v as hasConfiguredUnavailableCredentialStatus, wi as resolveContextTokensForModel, y as hasResolvedCredentialValue, yi as resolveSessionModelRef } from "./reply-
|
|
4
|
-
import { d as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { $ as resolveCommandSecretRefsViaGateway, $t as getRemoteSkillEligibility, Fa as summarizeRestartSentinel, G as withProgress, Iv as DEFAULT_MODEL, Lg as sha256HexPrefix, Lt as resolveControlUiLinks, Lv as DEFAULT_PROVIDER, P as resolveConfiguredModelRef, Pa as readRestartSentinel, Q as getStatusCommandSecretTargetIds, Si as formatTimeAgo, Wt as normalizeControlUiBasePath, Xp as resolveFreshSessionTotalTokens, _ as resolveChannelAccountEnabled, _g as readTailscaleStatusJson, _p as loadSessionStore, cd as peekSystemEvents, ci as formatUsageReportLines, d_ as loadConfig, dd as formatDurationPrecise, dv as VERSION, f as buildChannelSummary, fi as classifySessionKey, fv as resolveRuntimeServiceVersion, g as resolveChannelAccountConfigured, gg as getTailnetHostname, h as formatChannelAllowFrom, m as buildChannelAccountSnapshot, m_ as readConfigFileSnapshot, ns as buildGatewayConnectionDetails, p as inspectReadOnlyChannelAccount, p_ as readBestEffortConfig, pi as listAgentsForGateway, pu as getMemorySearchManager, rs as callGateway, si as loadProviderUsageSummary, tm as resolveMainSessionKey, v as hasConfiguredUnavailableCredentialStatus, wi as resolveContextTokensForModel, y as hasResolvedCredentialValue, yi as resolveSessionModelRef } from "./reply-gX1XTS9Y.js";
|
|
4
|
+
import { d as resolveAgentWorkspaceDir } from "./agent-scope-sd1-3XH0.js";
|
|
5
5
|
import { E as parseAgentSessionKey } from "./session-key-DjKQluAa.js";
|
|
6
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
6
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-dlCz9toZ.js";
|
|
7
7
|
import { n as runExec } from "./exec-CNtAq7Md.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
9
|
-
import { g as resolveChannelDefaultAccountId, n as listChannelPlugins } from "./plugins-
|
|
10
|
-
import { d as inspectPortUsage, m as formatPortDiagnostics } from "./cmd-argv-
|
|
9
|
+
import { g as resolveChannelDefaultAccountId, n as listChannelPlugins } from "./plugins-BVbKGpQJ.js";
|
|
10
|
+
import { d as inspectPortUsage, m as formatPortDiagnostics } from "./cmd-argv-Dz5qUtqp.js";
|
|
11
11
|
import { l as resolveStorePath } from "./paths-CfmKJcO5.js";
|
|
12
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
13
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
14
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
15
|
-
import { c as resolveGatewayLogPaths } from "./launchd-
|
|
16
|
-
import { n as resolveGatewayService } from "./service-
|
|
12
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-DHMQ6A2H.js";
|
|
13
|
+
import { t as formatConfigIssueLine } from "./issue-format-CtBob7pd.js";
|
|
14
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-C6mRI9nP.js";
|
|
15
|
+
import { c as resolveGatewayLogPaths } from "./launchd-D7vxtTg7.js";
|
|
16
|
+
import { n as resolveGatewayService } from "./service-LNrViUVb.js";
|
|
17
17
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CRYx1S7J.js";
|
|
18
|
-
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-
|
|
19
|
-
import { n as readLastGatewayErrorLine } from "./diagnostics-
|
|
18
|
+
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-H1_HjX3c.js";
|
|
19
|
+
import { n as readLastGatewayErrorLine } from "./diagnostics-iZHasrpQ.js";
|
|
20
20
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-DpnYa9iY.js";
|
|
21
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
22
|
-
import { a as formatGitInstallLabel, g as resolveUpdateChannelDisplay, m as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
23
|
-
import { t as runSecurityAudit } from "./audit-
|
|
24
|
-
import { t as resolveNodeService } from "./node-service-
|
|
21
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CTOG7Tdy.js";
|
|
22
|
+
import { a as formatGitInstallLabel, g as resolveUpdateChannelDisplay, m as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-F18H2wEh.js";
|
|
23
|
+
import { t as runSecurityAudit } from "./audit-COOnp_TQ.js";
|
|
24
|
+
import { t as resolveNodeService } from "./node-service-D7xRD6Op.js";
|
|
25
25
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-BPo-2-uv.js";
|
|
26
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
26
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-DY13od-q.js";
|
|
27
27
|
import { t as shortenText } from "./text-format-Ctfd6y8B.js";
|
|
28
28
|
import fs from "node:fs";
|
|
29
29
|
import os from "node:os";
|
|
30
30
|
import path from "node:path";
|
|
31
|
-
import
|
|
31
|
+
import fsPromises from "node:fs/promises";
|
|
32
32
|
import { spawnSync } from "node:child_process";
|
|
33
33
|
//#region src/commands/gateway-presence.ts
|
|
34
34
|
function pickGatewaySelfPresence(presence) {
|
|
@@ -113,7 +113,7 @@ function resolveOsSummary() {
|
|
|
113
113
|
//#region src/commands/status-all/agents.ts
|
|
114
114
|
async function fileExists$1(p) {
|
|
115
115
|
try {
|
|
116
|
-
await
|
|
116
|
+
await fsPromises.access(p);
|
|
117
117
|
return true;
|
|
118
118
|
} catch {
|
|
119
119
|
return false;
|
|
@@ -565,7 +565,7 @@ async function buildChannelsTable(cfg, opts) {
|
|
|
565
565
|
//#endregion
|
|
566
566
|
//#region src/commands/status-all/gateway.ts
|
|
567
567
|
async function readFileTailLines(filePath, maxLines) {
|
|
568
|
-
const raw = await
|
|
568
|
+
const raw = await fsPromises.readFile(filePath, "utf8").catch(() => "");
|
|
569
569
|
if (!raw.trim()) return [];
|
|
570
570
|
const lines = raw.replace(/\r/g, "").split("\n");
|
|
571
571
|
return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
|
|
@@ -1343,7 +1343,7 @@ async function getNodeDaemonStatusSummary() {
|
|
|
1343
1343
|
//#region src/commands/status.agent-local.ts
|
|
1344
1344
|
async function fileExists(p) {
|
|
1345
1345
|
try {
|
|
1346
|
-
await
|
|
1346
|
+
await fsPromises.access(p);
|
|
1347
1347
|
return true;
|
|
1348
1348
|
} catch {
|
|
1349
1349
|
return false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { dv as VERSION } from "./reply-
|
|
2
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
1
|
+
import { dv as VERSION } from "./reply-gX1XTS9Y.js";
|
|
2
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-dlCz9toZ.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
4
|
-
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-
|
|
4
|
+
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-F18H2wEh.js";
|
|
5
5
|
//#region src/commands/status.update.ts
|
|
6
6
|
async function getUpdateCheckResult(params) {
|
|
7
7
|
return await checkUpdateStatus({
|
package/dist/{subagent-registry-runtime-BPxjP8o9.js → subagent-registry-runtime-CNgez4Yd.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as resolveRequesterForChildSession, Dt as isSubagentSessionRunActive, Et as countPendingDescendantRunsExcludingRun, Ot as listSubagentRunsForRequester, Tt as countPendingDescendantRuns, jt as shouldIgnorePostCompletionAnnounceForSession, kt as replaceSubagentRunAfterSteer, wt as countActiveDescendantRuns } from "./discord-
|
|
1
|
+
import { At as resolveRequesterForChildSession, Dt as isSubagentSessionRunActive, Et as countPendingDescendantRunsExcludingRun, Ot as listSubagentRunsForRequester, Tt as countPendingDescendantRuns, jt as shouldIgnorePostCompletionAnnounceForSession, kt as replaceSubagentRunAfterSteer, wt as countActiveDescendantRuns } from "./discord-C5GTGVrg.js";
|
|
2
2
|
import "./accounts-D5tcOoP8.js";
|
|
3
3
|
import "./token-DI5_CK8b.js";
|
|
4
4
|
import "./query-expansion-Dpf_vNBe.js";
|
package/dist/{subagent-registry-runtime-BTW1zlrG.js → subagent-registry-runtime-CoeW8s2P.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { Br as resolveRequesterForChildSession, Ir as isSubagentSessionRunActive, Mr as countActiveDescendantRuns, Nr as countPendingDescendantRuns, Pr as countPendingDescendantRunsExcludingRun, Rr as listSubagentRunsForRequester, Vr as shouldIgnorePostCompletionAnnounceForSession, zr as replaceSubagentRunAfterSteer } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { Br as resolveRequesterForChildSession, Ir as isSubagentSessionRunActive, Mr as countActiveDescendantRuns, Nr as countPendingDescendantRuns, Pr as countPendingDescendantRunsExcludingRun, Rr as listSubagentRunsForRequester, Vr as shouldIgnorePostCompletionAnnounceForSession, zr as replaceSubagentRunAfterSteer } 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";
|
package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-N50VG-ay.js}
RENAMED
|
@@ -3,7 +3,7 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-Bi8vpJN0.js";
|
|
5
5
|
import "./logger-DCBlX1uz.js";
|
|
6
|
-
import { $ as countPendingDescendantRuns, Q as countActiveDescendantRuns, at as shouldIgnorePostCompletionAnnounceForSession, et as countPendingDescendantRunsExcludingRun, it as resolveRequesterForChildSession, nt as listSubagentRunsForRequester, rt as replaceSubagentRunAfterSteer, tt as isSubagentSessionRunActive } from "./model-selection-
|
|
6
|
+
import { $ as countPendingDescendantRuns, Q as countActiveDescendantRuns, at as shouldIgnorePostCompletionAnnounceForSession, et as countPendingDescendantRunsExcludingRun, it as resolveRequesterForChildSession, nt as listSubagentRunsForRequester, rt as replaceSubagentRunAfterSteer, tt as isSubagentSessionRunActive } from "./model-selection-Coo7zMJO.js";
|
|
7
7
|
import "./github-copilot-token-BeFx3MLn.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
9
|
import "./fetch-BdTTF2z-.js";
|
|
@@ -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 "./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,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 { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
29
29
|
import "./cli-utils-BSURvrmb.js";
|
|
30
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
30
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DrDqntyT.js";
|
|
31
31
|
//#region src/cli/system-cli.ts
|
|
32
32
|
const normalizeWakeMode = (raw) => {
|
|
33
33
|
const mode = typeof raw === "string" ? raw.trim() : "";
|
|
@@ -4,7 +4,7 @@ import { t as splitArgsPreservingQuotes } from "./arg-split-CRZ7yqER.js";
|
|
|
4
4
|
import { a as toPosixPath, i as formatLine, o as writeFormattedLines, r as resolveHomeDir, s as execFileUtf8, t as parseKeyValueOutput } from "./runtime-parse-l56zRsXX.js";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsPromises from "node:fs/promises";
|
|
8
8
|
//#region src/daemon/systemd-linger.ts
|
|
9
9
|
function resolveLoginctlUser(env) {
|
|
10
10
|
const fromEnv = env.USER?.trim() || env.LOGNAME?.trim();
|
|
@@ -168,7 +168,7 @@ function resolveSystemdUserUnitPath(env) {
|
|
|
168
168
|
async function readSystemdServiceExecStart(env) {
|
|
169
169
|
const unitPath = resolveSystemdUnitPath(env);
|
|
170
170
|
try {
|
|
171
|
-
const content = await
|
|
171
|
+
const content = await fsPromises.readFile(unitPath, "utf8");
|
|
172
172
|
let execStart = "";
|
|
173
173
|
let workingDirectory = "";
|
|
174
174
|
const inlineEnvironment = {};
|
|
@@ -236,7 +236,7 @@ function parseEnvironmentFileLine(rawLine) {
|
|
|
236
236
|
}
|
|
237
237
|
async function readSystemdEnvironmentFile(pathname) {
|
|
238
238
|
const environment = {};
|
|
239
|
-
const content = await
|
|
239
|
+
const content = await fsPromises.readFile(pathname, "utf8");
|
|
240
240
|
for (const rawLine of content.split(/\r?\n/)) {
|
|
241
241
|
const parsed = parseEnvironmentFileLine(rawLine);
|
|
242
242
|
if (!parsed) continue;
|
|
@@ -381,12 +381,12 @@ async function assertSystemdAvailable(env = process.env) {
|
|
|
381
381
|
async function installSystemdService({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
382
382
|
await assertSystemdAvailable(env);
|
|
383
383
|
const unitPath = resolveSystemdUnitPath(env);
|
|
384
|
-
await
|
|
384
|
+
await fsPromises.mkdir(path.dirname(unitPath), { recursive: true });
|
|
385
385
|
let backedUp = false;
|
|
386
386
|
try {
|
|
387
|
-
await
|
|
387
|
+
await fsPromises.access(unitPath);
|
|
388
388
|
const backupPath = `${unitPath}.bak`;
|
|
389
|
-
await
|
|
389
|
+
await fsPromises.copyFile(unitPath, backupPath);
|
|
390
390
|
backedUp = true;
|
|
391
391
|
} catch {}
|
|
392
392
|
const unit = buildSystemdUnit({
|
|
@@ -399,7 +399,7 @@ async function installSystemdService({ env, stdout, programArguments, workingDir
|
|
|
399
399
|
workingDirectory,
|
|
400
400
|
environment
|
|
401
401
|
});
|
|
402
|
-
await
|
|
402
|
+
await fsPromises.writeFile(unitPath, unit, "utf8");
|
|
403
403
|
const unitName = `${resolveGatewaySystemdServiceName(env.OPENCLAW_PROFILE)}.service`;
|
|
404
404
|
const reload = await execSystemctlUser(env, ["daemon-reload"]);
|
|
405
405
|
if (reload.code !== 0) throw new Error(`systemctl daemon-reload failed: ${reload.stderr || reload.stdout}`.trim());
|
|
@@ -425,7 +425,7 @@ async function uninstallSystemdService({ env, stdout }) {
|
|
|
425
425
|
]);
|
|
426
426
|
const unitPath = resolveSystemdUnitPath(env);
|
|
427
427
|
try {
|
|
428
|
-
await
|
|
428
|
+
await fsPromises.unlink(unitPath);
|
|
429
429
|
stdout.write(`${formatLine("Removed systemd service", unitPath)}\n`);
|
|
430
430
|
} catch {
|
|
431
431
|
stdout.write(`Systemd service not found at ${unitPath}\n`);
|
|
@@ -459,7 +459,7 @@ async function restartSystemdService({ stdout, env }) {
|
|
|
459
459
|
async function isSystemdServiceEnabled(args) {
|
|
460
460
|
const env = args.env ?? process.env;
|
|
461
461
|
try {
|
|
462
|
-
await
|
|
462
|
+
await fsPromises.access(resolveSystemdUnitPath(env));
|
|
463
463
|
} catch (error) {
|
|
464
464
|
if (error.code === "ENOENT") return false;
|
|
465
465
|
throw error;
|
|
@@ -518,7 +518,7 @@ async function findLegacySystemdUnits(env) {
|
|
|
518
518
|
const unitPath = resolveSystemdUnitPathForName(env, name);
|
|
519
519
|
let exists = false;
|
|
520
520
|
try {
|
|
521
|
-
await
|
|
521
|
+
await fsPromises.access(unitPath);
|
|
522
522
|
exists = true;
|
|
523
523
|
} catch {}
|
|
524
524
|
let enabled = false;
|
|
@@ -544,7 +544,7 @@ async function uninstallLegacySystemdUnits({ env, stdout }) {
|
|
|
544
544
|
]);
|
|
545
545
|
else stdout.write(`systemctl unavailable; removed legacy unit file only: ${unit.name}.service\n`);
|
|
546
546
|
try {
|
|
547
|
-
await
|
|
547
|
+
await fsPromises.unlink(unit.unitPath);
|
|
548
548
|
stdout.write(`${formatLine("Removed legacy systemd service", unit.unitPath)}\n`);
|
|
549
549
|
} catch {
|
|
550
550
|
stdout.write(`Legacy systemd unit not found at ${unit.unitPath}\n`);
|