openclaw-multi-auto 1.7.6 → 1.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-cli-DMujSgSt.js → acp-cli-D2FsuxI4.js} +11 -11
- package/dist/{agent-CaQagdQ7.js → agent-B8D73rdQ.js} +8 -8
- package/dist/{agent-QkWi9ww5.js → agent-BomWJjOy.js} +7 -7
- package/dist/{agent-scope-sd1-3XH0.js → agent-scope-DmTcOjk4.js} +16 -16
- package/dist/{agents.config-DpC62EoF.js → agents.config-Crwrvv0Y.js} +3 -3
- package/dist/{audio-preflight-ByLQ-O2o.js → audio-preflight-CUgcQtbA.js} +1 -1
- package/dist/{audio-preflight-CKN-13f6.js → audio-preflight-CZHCr2-5.js} +1 -1
- package/dist/{audio-preflight-CxMkqmsz.js → audio-preflight-DUZyiet9.js} +10 -10
- package/dist/{audit-COOnp_TQ.js → audit-CX3KlHoS.js} +18 -18
- package/dist/{audit-membership-runtime-o16tAd90.js → audit-membership-runtime-DOqwbA7L.js} +1 -1
- package/dist/{auth-choice-CgIbQGAr.js → auth-choice-CuOI0DLZ.js} +8 -8
- package/dist/{auth-choice-B7hFRxC4.js → auth-choice-DZC8_SXk.js} +19 -19
- package/dist/{auth-choice-options-CaiEtgdy.js → auth-choice-options-C_poWj2I.js} +1 -1
- package/dist/{auth-choice-prompt-CyE2_iHL.js → auth-choice-prompt-Bjt463U7.js} +1 -1
- package/dist/{auth-choice.apply-helpers-BwI7_FDv.js → auth-choice.apply-helpers-BFZ8hPRq.js} +2 -2
- package/dist/{auth-choice.preferred-provider-BJFK05is.js → auth-choice.preferred-provider-CzDq9Lvp.js} +5 -5
- package/dist/{auth-profiles.runtime-Bp6HfAW4.js → auth-profiles.runtime-BEes_Rco.js} +1 -1
- package/dist/{auth-profiles.runtime-firEabaJ.js → auth-profiles.runtime-BWD0iDWZ.js} +10 -10
- package/dist/{auth-profiles.runtime-DHFZjArZ.js → auth-profiles.runtime-DNqCx0L5.js} +1 -1
- package/dist/{auth-token-Ca2ISBq6.js → auth-token-CnWG4-cB.js} +1 -1
- package/dist/{bonjour-discovery-CgQeXj94.js → bonjour-discovery-Cnl-PHZ4.js} +1 -1
- package/dist/{browser-cli-DfrP5czU.js → browser-cli-DLSYDvK2.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-F18H2wEh.js → channel-account-context-DMK0G0sK.js} +7 -7
- package/dist/{channel-options-DR0IjcQw.js → channel-options-CsQMEhUD.js} +3 -3
- package/dist/{channel-web-B3yCvpab.js → channel-web-D7txUcfH.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-C9jvVDlM.js → channels-cli-DK-EFHka.js} +33 -33
- package/dist/{channels-status-issues-C6mRI9nP.js → channels-status-issues-B-PoQaOZ.js} +1 -1
- package/dist/{clack-prompter-CakorHf3.js → clack-prompter-COY2Efgu.js} +1 -1
- package/dist/{clawbot-cli-De1V5wKt.js → clawbot-cli-CYVkuLnO.js} +12 -12
- package/dist/{cleanup-utils-DZ-HVi66.js → cleanup-utils-DksMdp7C.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-5Ap2oull.js → cli-BXEJJp6e.js} +10 -10
- package/dist/{cmd-argv-Dz5qUtqp.js → cmd-argv-BdNFwuhe.js} +1 -1
- package/dist/{compact.runtime-Dy7P2p35.js → compact.runtime-D9Tmp5YS.js} +1 -1
- package/dist/{compact.runtime-Bi0KAZxx.js → compact.runtime-Do9SwMzP.js} +10 -10
- package/dist/{compact.runtime-DoEYdXjJ.js → compact.runtime-pgjSlzSY.js} +1 -1
- package/dist/{completion-cli-DetW6vGx.js → completion-cli-BnHZnvaD.js} +12 -12
- package/dist/{config-cli-JmabBPbR.js → config-cli-BTyfFTwL.js} +13 -13
- package/dist/{config-guard-D0ly1tu3.js → config-guard-DXvConn_.js} +12 -12
- package/dist/{config-validation-DtOoaTl7.js → config-validation-ZC7mw4HJ.js} +3 -3
- package/dist/{configure-DNZVKth2.js → configure--3s3LTcF.js} +52 -52
- package/dist/{control-ui-assets-B9I2TpME.js → control-ui-assets-D5CuaZfV.js} +1 -1
- package/dist/{cron-cli-hA-3anvP.js → cron-cli-BTeTdxk8.js} +11 -11
- package/dist/{daemon-cli-CgEObThe.js → daemon-cli-TvT5eeIP.js} +13 -13
- package/dist/{daemon-install-e324s4no.js → daemon-install-CUvnebOQ.js} +16 -16
- package/dist/{daemon-install-plan.shared-g5FPfccc.js → daemon-install-plan.shared-BfFSRwqA.js} +12 -12
- package/dist/{deliver-runtime-CI-THBhi.js → deliver-runtime-CRO5x8jL.js} +10 -10
- package/dist/{deliver-runtime-DLAZp9H3.js → deliver-runtime-CjrGc3oj.js} +1 -1
- package/dist/{deliver-runtime-CqyJiuFQ.js → deliver-runtime-D4aWAXZ9.js} +1 -1
- package/dist/{deps-B6HgPp5e.js → deps-Cgw7M-k3.js} +6 -6
- package/dist/{device-bootstrap-oW1bwgs7.js → device-bootstrap-DSXbseT6.js} +1 -1
- package/dist/{device-pairing-CMxl0D-M.js → device-pairing-RZV6Mnep.js} +1 -1
- package/dist/{devices-cli-BPpKKc7g.js → devices-cli-DnvmJ-Sg.js} +11 -11
- package/dist/{diagnostics-iZHasrpQ.js → diagnostics-1AwcyuKi.js} +5 -5
- package/dist/{directory-cli-BP8WHXBG.js → directory-cli-CO5of3mT.js} +10 -10
- package/dist/{discord-C5GTGVrg.js → discord-DKZdsbTR.js} +42 -42
- package/dist/{dns-cli-CQl7AkL3.js → dns-cli-s2wuP3H0.js} +10 -10
- package/dist/{docs-cli-BWb05s-1.js → docs-cli-CZA-gAQf.js} +3 -3
- package/dist/{doctor-completion-CA3Zcz0O.js → doctor-completion-DvnTlsPK.js} +2 -2
- package/dist/{doctor-config-flow-C53lW8fK.js → doctor-config-flow-DOEjAAYV.js} +10 -10
- package/dist/{enable-CmddFDJP.js → enable-BSbXEyXD.js} +1 -1
- package/dist/{exec-approvals-cli-Cyhhh2cy.js → exec-approvals-cli-CsNqvj8p.js} +18 -18
- package/dist/{fetch-ggeyBJ4j.js → fetch-CGW2R_wh.js} +2 -2
- package/dist/{gateway-cli-vQfsLSPv.js → gateway-cli-Bq7xXLEB.js} +101 -101
- package/dist/{gateway-install-token-CQHd6wSt.js → gateway-install-token-C40ge2lh.js} +3 -3
- package/dist/{gateway-rpc-DrDqntyT.js → gateway-rpc-DUJcLoxb.js} +1 -1
- package/dist/{health-CTOG7Tdy.js → health-D_dD9-ET.js} +7 -7
- package/dist/{hooks-cli-CvrIbP3A.js → hooks-cli-YvIgaujr.js} +18 -18
- package/dist/{hooks-status-BiuMKGQP.js → hooks-status-C3wWva3H.js} +1 -1
- package/dist/{image-runtime-DuwNoMsX.js → image-runtime-Brryt_BU.js} +1 -1
- package/dist/{image-runtime-CidKJsqA.js → image-runtime-Cr6qZmyh.js} +1 -1
- package/dist/{image-runtime-Cen4jnt5.js → image-runtime-Cx4HaqrI.js} +10 -10
- package/dist/index.js +21 -21
- package/dist/{inspect-C0iPD7zZ.js → inspect-D3lV5ful.js} +4 -4
- package/dist/{install-safe-path-CnIWvuEU.js → install-safe-path-BvwKN_9n.js} +33 -33
- package/dist/{installs-BcQMkw3V.js → installs-BC5ieRDB.js} +8 -8
- package/dist/{ipv4-DHZnIX-K.js → ipv4-CwqOzc5W.js} +1 -1
- package/dist/{issue-format-CtBob7pd.js → issue-format-34LidjQQ.js} +1 -1
- package/dist/{launchd-D7vxtTg7.js → launchd-BLFV2ME0.js} +13 -13
- package/dist/{lifecycle-core-CKec6MyM.js → lifecycle-core-C07n1IOr.js} +6 -6
- package/dist/line/send.js +1 -1
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{logging-B7i4YBpx.js → logging-DPEdtuNl.js} +1 -1
- package/dist/{login-CQ5pGFeF.js → login-BLC4Op_m.js} +3 -3
- package/dist/{login-rVmwSeBs.js → login-CIjIxi5t.js} +2 -2
- package/dist/{login-DC00cCmn.js → login-CKmmxErc.js} +2 -2
- package/dist/{login-qr-D3WKyrcm.js → login-qr-Djgtmdpd.js} +2 -2
- package/dist/{login-qr-C8iDYxXx.js → login-qr-DpxxtTBd.js} +11 -11
- package/dist/{login-qr-DB7lXNdD.js → login-qr-KVA4wuh0.js} +2 -2
- package/dist/{logs-cli-B8u30MKC.js → logs-cli-BKhTgUSN.js} +11 -11
- package/dist/{manager-runtime-DDc_xR6t.js → manager-runtime-B4ZbE6hq.js} +10 -10
- package/dist/{manager-runtime-DON5nkey.js → manager-runtime-CvM8JTRt.js} +1 -1
- package/dist/{manager-runtime-C04JB-55.js → manager-runtime-D9AEoM1M.js} +1 -1
- package/dist/{manager.runtime-y1RqEqxK.js → manager.runtime-BV-CBNb2.js} +2 -2
- package/dist/{manager.runtime-B8hc-v_R.js → manager.runtime-DbQBNTV4.js} +7 -7
- package/dist/{manager.runtime-sDKQexj4.js → manager.runtime-lHLhN5ro.js} +16 -16
- package/dist/{model-picker-iMZicrZb.js → model-picker-C5sQCeTo.js} +5 -5
- package/dist/{model-selection-Coo7zMJO.js → model-selection-CNRMBWfR.js} +43 -43
- package/dist/{models-cli-CHWqnmnX.js → models-cli-B7OdTj93.js} +21 -21
- package/dist/{node-cli-D2EGwHd2.js → node-cli-ArOhWB3h.js} +22 -22
- package/dist/{node-command-policy-C9YoIlNR.js → node-command-policy-BVIbeciX.js} +1 -1
- package/dist/{node-service-D7xRD6Op.js → node-service-ESc5ToCS.js} +1 -1
- package/dist/{nodes-cli-BaWA_a27.js → nodes-cli-BLneGv8c.js} +13 -13
- package/dist/{npm-pack-install-C7ntuYO8.js → npm-pack-install-DI_0G-Ju.js} +23 -23
- package/dist/{npm-resolution-BL-LzQ8q.js → npm-resolution-DowD_x7i.js} +3 -3
- package/dist/{onboard-1Vbkq-0q.js → onboard-Da0Gqg8E.js} +10 -10
- package/dist/{onboard-channels-C_RZQliP.js → onboard-channels-Dub92d1X.js} +16 -16
- package/dist/{onboard-custom-CyUm7NIR.js → onboard-custom-iC39HaRY.js} +5 -5
- package/dist/{onboard-hooks-Bx20a5uy.js → onboard-hooks-DUll1iq8.js} +4 -4
- package/dist/{onboard-remote-Dtm07eUX.js → onboard-remote-Cyc407f2.js} +3 -3
- package/dist/{onboard-skills-BOBtFqTc.js → onboard-skills-BqnqjDI3.js} +3 -3
- package/dist/{onboarding-CAQDdLGu.js → onboarding-BgeTWLi_.js} +17 -17
- package/dist/{onboarding.finalize-BAUMJZlu.js → onboarding.finalize-C4jEsWtC.js} +25 -25
- package/dist/{onboarding.gateway-config-BRSWuajr.js → onboarding.gateway-config-C2XdEUF3.js} +14 -14
- package/dist/{onboarding.secret-input-D75Xjj5j.js → onboarding.secret-input-OwIXA7An.js} +1 -1
- package/dist/{openai-codex-oauth-BjOz2DJZ.js → openai-codex-oauth-BUnBFHjs.js} +3 -3
- package/dist/{openclaw-root-dlCz9toZ.js → openclaw-root-B5jXk2td.js} +8 -8
- package/dist/{outbound-send-deps-Bid3Xegx.js → outbound-send-deps-dRaNZNE7.js} +1 -1
- package/dist/{pairing-cli-Dm_fH3zm.js → pairing-cli-pEJPQw6E.js} +10 -10
- package/dist/{path-alias-guards-B6owPyQX.js → path-alias-guards-BEqdGdn9.js} +3 -3
- package/dist/{path-safety-DN7L46Yk.js → path-safety-TRhr8lhQ.js} +1 -1
- package/dist/{pi-model-discovery-runtime-BRs3OnbK.js → pi-model-discovery-runtime-BkRq7f9h.js} +10 -10
- package/dist/{pi-model-discovery-runtime-Do-8n2s8.js → pi-model-discovery-runtime-BujN_d1_.js} +1 -1
- package/dist/{pi-model-discovery-runtime-DsZRIFOj.js → pi-model-discovery-runtime-CDKkuBYh.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-DpSw9nu5.js → pi-tools.before-tool-call.runtime-BYooFUjV.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-l0nSxXys.js → pi-tools.before-tool-call.runtime-DgAiY2la.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-Cz99nK1_.js → pi-tools.before-tool-call.runtime-Dt7ZWya_.js} +10 -10
- package/dist/{plugin-install-plan-tegfcs_j.js → plugin-install-plan-q0pKUAmp.js} +1 -1
- package/dist/{plugin-registry-D1UVdXNl.js → plugin-registry-DrrKSvdi.js} +2 -2
- package/dist/{plugins-cli-DMTK-3PI.js → plugins-cli-BWuwmlNA.js} +21 -21
- package/dist/{plugins-BVbKGpQJ.js → plugins-om7vnHk0.js} +9 -9
- package/dist/{ports-CrZzXxTl.js → ports-CVD9jTxH.js} +2 -2
- package/dist/{probe-auth-H1_HjX3c.js → probe-auth-CRm2yob0.js} +1 -1
- package/dist/{program-context--XQiK-Vv.js → program-context-BnNrq2_o.js} +42 -42
- package/dist/{prompt-select-styled-BzWw9bIh.js → prompt-select-styled-FpCuoi_9.js} +32 -32
- package/dist/{provider-auth-helpers-B5U-h2Ob.js → provider-auth-helpers-Dzq3SbTh.js} +4 -4
- package/dist/{provider-wizard-BgHYhBzK.js → provider-wizard-CRYUkbUG.js} +1 -1
- package/dist/{push-apns-DQdHdrq8.js → push-apns-6Yefl4vF.js} +3 -3
- package/dist/{pw-ai-R41XeePP.js → pw-ai-3ual6adI.js} +1 -1
- package/dist/{pw-ai-8OpaEmr4.js → pw-ai-Brk_ehKR.js} +15 -15
- package/dist/{pw-ai-B9F20k6L.js → pw-ai-C_IaVhUm.js} +1 -1
- package/dist/{qmd-manager-BMkECKpc.js → qmd-manager-Clny9vcj.js} +19 -19
- package/dist/{qr-cli-CZy0bldy.js → qr-cli-TsbdBlkh.js} +11 -11
- package/dist/{query-expansion-AnOnkIqf.js → query-expansion-BNb6Vys6.js} +48 -48
- package/dist/{redact-snapshot-lCMXNHo3.js → redact-snapshot-sudZsVoX.js} +1 -1
- package/dist/{register.agent-2yZ4uAHT.js → register.agent-BcYbZ3eF.js} +43 -43
- package/dist/{register.backup-Byyque4N.js → register.backup-DbtBtW_J.js} +26 -26
- package/dist/register.configure-CPWCrXrC.js +87 -0
- package/dist/{register.maintenance-BZ_V3Ubt.js → register.maintenance-Cdn2TwrI.js} +33 -33
- package/dist/{register.message-CJwTd37H.js → register.message-cHCXxeA6.js} +13 -13
- package/dist/{register.onboard-BY0T1WHb.js → register.onboard-Dbig7G2G.js} +17 -17
- package/dist/{register.setup-CA3ZUrN-.js → register.setup-DjHUcAcm.js} +18 -18
- package/dist/{register.status-health-sessions-PN0jxAPA.js → register.status-health-sessions-BMxJK45p.js} +26 -26
- package/dist/{reply-gX1XTS9Y.js → reply-Cf5Mm7vB.js} +226 -226
- package/dist/{restart-stale-pids-B6E7QavX.js → restart-stale-pids-ZfbSMILU.js} +2 -2
- package/dist/{rpc-B2PO3N0W.js → rpc-8YrBMBoD.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-BAgknLYS.js → runtime-whatsapp-login.runtime-6yfwX0nq.js} +3 -3
- package/dist/{runtime-whatsapp-login.runtime-DKMtq6l9.js → runtime-whatsapp-login.runtime-Bo1HalYB.js} +12 -12
- package/dist/{runtime-whatsapp-login.runtime-C_E260pb.js → runtime-whatsapp-login.runtime-Br3SxDXL.js} +3 -3
- package/dist/{runtime-whatsapp-outbound.runtime-3elssz_a.js → runtime-whatsapp-outbound.runtime-BKesQQli.js} +2 -2
- package/dist/{runtime-whatsapp-outbound.runtime-Dv1HN4ha.js → runtime-whatsapp-outbound.runtime-Ch2o56Ey.js} +11 -11
- package/dist/{runtime-whatsapp-outbound.runtime-BdHcgl-R.js → runtime-whatsapp-outbound.runtime-L3Qkst0n.js} +2 -2
- package/dist/{sandbox-cli-SCYkP_qN.js → sandbox-cli-CoRe21Si.js} +10 -10
- package/dist/{secret-file-CuiwToxK.js → secret-file-7smmAVRV.js} +1 -1
- package/dist/{secrets-cli-C5O6Jw_4.js → secrets-cli-CHT1AjCX.js} +11 -11
- package/dist/{security-cli-CL4qtb9H.js → security-cli-DRqdmCtr.js} +20 -20
- package/dist/{send-hZxe8sP9.js → send-CHZ7WuOb.js} +2 -2
- package/dist/{send-BvAlpSvh.js → send-CXnKWzde.js} +1 -1
- package/dist/{send-t1epz3bc.js → send-pxKoZnv6.js} +1 -1
- package/dist/{server-Cnc4lO11.js → server-DiTziwvC.js} +10 -10
- package/dist/{server-node-events-aTSoNGTe.js → server-node-events-p5ykMQz-.js} +14 -14
- package/dist/{service-LNrViUVb.js → service-RXVSlLiU.js} +13 -13
- package/dist/{session-CndmPe2D.js → session-CXOhppV3.js} +2 -2
- package/dist/{session-BUpAKttt.js → session-D0j0Q_PW.js} +1 -1
- package/dist/{session-D7nweu0t.js → session-kt-bqE_z.js} +1 -1
- package/dist/{shared-c6JUv5At.js → shared-CoL161wD.js} +1 -1
- package/dist/{skill-scanner-DaUNX-tW.js → skill-scanner-BzjuMMKN.js} +6 -6
- package/dist/{skills-vhlUaliH.js → skills-Jz-BSwRd.js} +2 -2
- package/dist/{skills-cli-YqsScIM5.js → skills-cli-YajvWbjO.js} +11 -11
- package/dist/{skills-install-BnRu7wO4.js → skills-install-DFkV3GsC.js} +6 -6
- package/dist/{skills-status-DHMQ6A2H.js → skills-status-PMeXzDbC.js} +1 -1
- package/dist/{slash-commands.runtime-AZCJXo7S.js → slash-commands.runtime-BYfxn_xu.js} +1 -1
- package/dist/{slash-commands.runtime-D9GHahMO.js → slash-commands.runtime-_LrsMaI1.js} +10 -10
- package/dist/{slash-commands.runtime-YWtbFO1w.js → slash-commands.runtime-eZUYakkd.js} +1 -1
- package/dist/{slash-dispatch.runtime-DyUU1AG5.js → slash-dispatch.runtime-Cu8ghe1h.js} +1 -1
- package/dist/{slash-dispatch.runtime-QxpHMagD.js → slash-dispatch.runtime-D7ogJeRu.js} +1 -1
- package/dist/{slash-dispatch.runtime-DcISuJb0.js → slash-dispatch.runtime-neG4499W.js} +10 -10
- package/dist/{slash-skill-commands.runtime-Cv1NPjj6.js → slash-skill-commands.runtime-8dS5PTaH.js} +1 -1
- package/dist/{slash-skill-commands.runtime-Dt6QQJcX.js → slash-skill-commands.runtime-D0ohJN-V.js} +10 -10
- package/dist/{slash-skill-commands.runtime-Cgu35QuS.js → slash-skill-commands.runtime-iwoxGLKu.js} +1 -1
- package/dist/{status-D9mVTxuB.js → status-1patzIRq.js} +1 -1
- package/dist/{status-QQiIsfFq.js → status-BaLZ1uQV.js} +21 -21
- package/dist/{status.update-DY13od-q.js → status.update-DrzJ1YWu.js} +3 -3
- package/dist/{subagent-registry-runtime-CNgez4Yd.js → subagent-registry-runtime-BPxjP8o9.js} +1 -1
- package/dist/{subagent-registry-runtime-CoeW8s2P.js → subagent-registry-runtime-BTW1zlrG.js} +10 -10
- package/dist/{subagent-registry-runtime-N50VG-ay.js → subagent-registry-runtime-Z0fdsGSq.js} +1 -1
- package/dist/{system-cli-DMu6SZhn.js → system-cli-CndWL3sF.js} +11 -11
- package/dist/{systemd-DSK6B3bg.js → systemd-D47rkLi7.js} +11 -11
- package/dist/{systemd-hints-DsQTPBGt.js → systemd-hints-DHfXVo8k.js} +6 -6
- package/dist/{systemd-linger-BPISBIWJ.js → systemd-linger-DwmFZpci.js} +1 -1
- package/dist/{tui-DzNNH2rc.js → tui-CzYnfJxE.js} +2 -2
- package/dist/{tui-cli-D5JgcWb9.js → tui-cli-D47N0Kfm.js} +11 -11
- package/dist/{update-DL_359AR.js → update-BiUnc38r.js} +2 -2
- package/dist/{update-cli-BfjWjK3A.js → update-cli-CeqH2oQ-.js} +45 -45
- package/dist/{update-runner-CfkBU1BA.js → update-runner-oqYBjs5t.js} +16 -16
- package/dist/{web-BHO-XtPY.js → web-BRvkjVpk.js} +14 -14
- package/dist/{web-rZyV5Fxs.js → web-Bl0ih6N1.js} +4 -4
- package/dist/{web-B4n02Xhe.js → web-CXyjF_si.js} +4 -4
- package/dist/{webhooks-cli-C0kgprJJ.js → webhooks-cli-CnTKcfvh.js} +10 -10
- package/dist/{whatsapp-actions-JJEG8eF3.js → whatsapp-actions-BUvGEDSk.js} +2 -2
- package/dist/{whatsapp-actions-BC06Ug_d.js → whatsapp-actions-BXO9Bi7a.js} +11 -11
- package/dist/{whatsapp-actions-De9-kJMP.js → whatsapp-actions-Cpf6YROk.js} +2 -2
- package/dist/{workspace-BTsqd19h.js → workspace-CWne7yqK.js} +1 -1
- package/package.json +1 -1
- package/scripts/create-instance.sh +5 -9
- package/dist/register.configure-CrATD0tr.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 fs 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 fs.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 fs.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 fs.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 fs.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 fs.readFile(filePath, "utf-8");
|
|
303
303
|
} catch (err) {
|
|
304
304
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
305
305
|
scanned: false,
|
|
@@ -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-B5jXk2td.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-BEqdGdn9.js";
|
|
9
9
|
import { URL, fileURLToPath } from "node:url";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
@@ -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-Cf5Mm7vB.js";
|
|
5
|
+
import { d as resolveAgentWorkspaceDir, f as resolveDefaultAgentId } from "./agent-scope-DmTcOjk4.js";
|
|
6
|
+
import "./openclaw-root-B5jXk2td.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-Jz-BSwRd.js";
|
|
16
16
|
import "./frontmatter-BngyYhS0.js";
|
|
17
|
-
import "./plugins-
|
|
18
|
-
import "./query-expansion-
|
|
17
|
+
import "./plugins-om7vnHk0.js";
|
|
18
|
+
import "./query-expansion-BNb6Vys6.js";
|
|
19
19
|
import "./redact-owRpqMhM.js";
|
|
20
|
-
import "./path-alias-guards-
|
|
21
|
-
import "./fetch-
|
|
20
|
+
import "./path-alias-guards-BEqdGdn9.js";
|
|
21
|
+
import "./fetch-CGW2R_wh.js";
|
|
22
22
|
import "./errors-DNKaAVHN.js";
|
|
23
|
-
import "./cmd-argv-
|
|
24
|
-
import "./restart-stale-pids-
|
|
23
|
+
import "./cmd-argv-BdNFwuhe.js";
|
|
24
|
+
import "./restart-stale-pids-ZfbSMILU.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-PMeXzDbC.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-Cf5Mm7vB.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-Jz-BSwRd.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-BNb6Vys6.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-TRhr8lhQ.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-BvwKN_9n.js";
|
|
11
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-BzjuMMKN.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-Jz-BSwRd.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";
|
|
@@ -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-CNRMBWfR.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-Cf5Mm7vB.js";
|
|
5
|
+
import "./agent-scope-DmTcOjk4.js";
|
|
6
|
+
import "./openclaw-root-B5jXk2td.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-Jz-BSwRd.js";
|
|
15
15
|
import "./frontmatter-BngyYhS0.js";
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import "./plugins-om7vnHk0.js";
|
|
17
|
+
import "./query-expansion-BNb6Vys6.js";
|
|
18
18
|
import "./redact-owRpqMhM.js";
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./fetch-
|
|
19
|
+
import "./path-alias-guards-BEqdGdn9.js";
|
|
20
|
+
import "./fetch-CGW2R_wh.js";
|
|
21
21
|
import "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-BdNFwuhe.js";
|
|
23
|
+
import "./restart-stale-pids-ZfbSMILU.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-DKZdsbTR.js";
|
|
2
2
|
import "./accounts-D5tcOoP8.js";
|
|
3
3
|
import "./token-DI5_CK8b.js";
|
|
4
4
|
import "./query-expansion-Dpf_vNBe.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-CNRMBWfR.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-DKZdsbTR.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-Cf5Mm7vB.js";
|
|
5
|
+
import "./agent-scope-DmTcOjk4.js";
|
|
6
|
+
import "./openclaw-root-B5jXk2td.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-Jz-BSwRd.js";
|
|
15
15
|
import "./frontmatter-BngyYhS0.js";
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import "./plugins-om7vnHk0.js";
|
|
17
|
+
import "./query-expansion-BNb6Vys6.js";
|
|
18
18
|
import "./redact-owRpqMhM.js";
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./fetch-
|
|
19
|
+
import "./path-alias-guards-BEqdGdn9.js";
|
|
20
|
+
import "./fetch-CGW2R_wh.js";
|
|
21
21
|
import "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-BdNFwuhe.js";
|
|
23
|
+
import "./restart-stale-pids-ZfbSMILU.js";
|
|
24
24
|
import "./delivery-queue-B7zSt4zY.js";
|
|
25
25
|
import "./paths-CfmKJcO5.js";
|
|
26
26
|
import "./session-cost-usage-C2jrTKxW.js";
|
package/dist/{slash-skill-commands.runtime-Cv1NPjj6.js → slash-skill-commands.runtime-8dS5PTaH.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-CNRMBWfR.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-Dt6QQJcX.js → slash-skill-commands.runtime-D0ohJN-V.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-Cf5Mm7vB.js";
|
|
5
|
+
import "./agent-scope-DmTcOjk4.js";
|
|
6
|
+
import "./openclaw-root-B5jXk2td.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-Jz-BSwRd.js";
|
|
15
15
|
import "./frontmatter-BngyYhS0.js";
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import "./plugins-om7vnHk0.js";
|
|
17
|
+
import "./query-expansion-BNb6Vys6.js";
|
|
18
18
|
import "./redact-owRpqMhM.js";
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./fetch-
|
|
19
|
+
import "./path-alias-guards-BEqdGdn9.js";
|
|
20
|
+
import "./fetch-CGW2R_wh.js";
|
|
21
21
|
import "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-BdNFwuhe.js";
|
|
23
|
+
import "./restart-stale-pids-ZfbSMILU.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-Cf5Mm7vB.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-Cf5Mm7vB.js";
|
|
4
|
+
import { d as resolveAgentWorkspaceDir } from "./agent-scope-DmTcOjk4.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-B5jXk2td.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-om7vnHk0.js";
|
|
10
|
+
import { d as inspectPortUsage, m as formatPortDiagnostics } from "./cmd-argv-BdNFwuhe.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-PMeXzDbC.js";
|
|
13
|
+
import { t as formatConfigIssueLine } from "./issue-format-34LidjQQ.js";
|
|
14
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-B-PoQaOZ.js";
|
|
15
|
+
import { c as resolveGatewayLogPaths } from "./launchd-BLFV2ME0.js";
|
|
16
|
+
import { n as resolveGatewayService } from "./service-RXVSlLiU.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-CRm2yob0.js";
|
|
19
|
+
import { n as readLastGatewayErrorLine } from "./diagnostics-1AwcyuKi.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-D_dD9-ET.js";
|
|
22
|
+
import { a as formatGitInstallLabel, g as resolveUpdateChannelDisplay, m as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-DMK0G0sK.js";
|
|
23
|
+
import { t as runSecurityAudit } from "./audit-CX3KlHoS.js";
|
|
24
|
+
import { t as resolveNodeService } from "./node-service-ESc5ToCS.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-DrzJ1YWu.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 fs$1 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 fs$1.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 fs$1.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 fs$1.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-Cf5Mm7vB.js";
|
|
2
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-B5jXk2td.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-DMK0G0sK.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-CNgez4Yd.js → subagent-registry-runtime-BPxjP8o9.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-DKZdsbTR.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-CoeW8s2P.js → subagent-registry-runtime-BTW1zlrG.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-Cf5Mm7vB.js";
|
|
5
|
+
import "./agent-scope-DmTcOjk4.js";
|
|
6
|
+
import "./openclaw-root-B5jXk2td.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-Jz-BSwRd.js";
|
|
15
15
|
import "./frontmatter-BngyYhS0.js";
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import "./plugins-om7vnHk0.js";
|
|
17
|
+
import "./query-expansion-BNb6Vys6.js";
|
|
18
18
|
import "./redact-owRpqMhM.js";
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./fetch-
|
|
19
|
+
import "./path-alias-guards-BEqdGdn9.js";
|
|
20
|
+
import "./fetch-CGW2R_wh.js";
|
|
21
21
|
import "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-BdNFwuhe.js";
|
|
23
|
+
import "./restart-stale-pids-ZfbSMILU.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-N50VG-ay.js → subagent-registry-runtime-Z0fdsGSq.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-CNRMBWfR.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-Cf5Mm7vB.js";
|
|
5
|
+
import "./agent-scope-DmTcOjk4.js";
|
|
6
|
+
import "./openclaw-root-B5jXk2td.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-Jz-BSwRd.js";
|
|
15
15
|
import "./frontmatter-BngyYhS0.js";
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import "./plugins-om7vnHk0.js";
|
|
17
|
+
import "./query-expansion-BNb6Vys6.js";
|
|
18
18
|
import "./redact-owRpqMhM.js";
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./fetch-
|
|
19
|
+
import "./path-alias-guards-BEqdGdn9.js";
|
|
20
|
+
import "./fetch-CGW2R_wh.js";
|
|
21
21
|
import "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-BdNFwuhe.js";
|
|
23
|
+
import "./restart-stale-pids-ZfbSMILU.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-DUJcLoxb.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 fs 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 fs.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 fs.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 fs.mkdir(path.dirname(unitPath), { recursive: true });
|
|
385
385
|
let backedUp = false;
|
|
386
386
|
try {
|
|
387
|
-
await
|
|
387
|
+
await fs.access(unitPath);
|
|
388
388
|
const backupPath = `${unitPath}.bak`;
|
|
389
|
-
await
|
|
389
|
+
await fs.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 fs.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 fs.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 fs.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 fs.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 fs.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`);
|