openclaw-multi-auto 1.7.5 → 1.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-cli-D2FsuxI4.js → acp-cli-DMujSgSt.js} +11 -11
- package/dist/{agent-B8D73rdQ.js → agent-CaQagdQ7.js} +8 -8
- package/dist/{agent-BomWJjOy.js → agent-QkWi9ww5.js} +7 -7
- package/dist/{agent-scope-DmTcOjk4.js → agent-scope-sd1-3XH0.js} +16 -16
- package/dist/{agents.config-Crwrvv0Y.js → agents.config-DpC62EoF.js} +3 -3
- package/dist/{audio-preflight-CZHCr2-5.js → audio-preflight-CKN-13f6.js} +1 -1
- package/dist/{audio-preflight-DUZyiet9.js → audio-preflight-CxMkqmsz.js} +10 -10
- package/dist/{audit-CX3KlHoS.js → audit-COOnp_TQ.js} +18 -18
- package/dist/{audit-membership-runtime-DOqwbA7L.js → audit-membership-runtime-o16tAd90.js} +1 -1
- package/dist/{auth-choice-DZC8_SXk.js → auth-choice-B7hFRxC4.js} +19 -19
- package/dist/{auth-choice-CuOI0DLZ.js → auth-choice-CgIbQGAr.js} +8 -8
- package/dist/{auth-choice-options-C_poWj2I.js → auth-choice-options-CaiEtgdy.js} +1 -1
- package/dist/{auth-choice-prompt-Bjt463U7.js → auth-choice-prompt-CyE2_iHL.js} +1 -1
- package/dist/{auth-choice.apply-helpers-BFZ8hPRq.js → auth-choice.apply-helpers-BwI7_FDv.js} +2 -2
- package/dist/{auth-choice.preferred-provider-CzDq9Lvp.js → auth-choice.preferred-provider-BJFK05is.js} +5 -5
- package/dist/{auth-profiles.runtime-DNqCx0L5.js → auth-profiles.runtime-DHFZjArZ.js} +1 -1
- package/dist/{auth-profiles.runtime-BWD0iDWZ.js → auth-profiles.runtime-firEabaJ.js} +10 -10
- package/dist/{auth-token-CnWG4-cB.js → auth-token-Ca2ISBq6.js} +1 -1
- package/dist/{bonjour-discovery-Cnl-PHZ4.js → bonjour-discovery-CgQeXj94.js} +1 -1
- package/dist/{browser-cli-DLSYDvK2.js → browser-cli-DfrP5czU.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-DMK0G0sK.js → channel-account-context-F18H2wEh.js} +7 -7
- package/dist/{channel-options-CsQMEhUD.js → channel-options-DR0IjcQw.js} +3 -3
- package/dist/{channel-web-D7txUcfH.js → channel-web-B3yCvpab.js} +4 -4
- package/dist/{channels-cli-DK-EFHka.js → channels-cli-C9jvVDlM.js} +33 -33
- package/dist/{channels-status-issues-B-PoQaOZ.js → channels-status-issues-C6mRI9nP.js} +1 -1
- package/dist/{clack-prompter-COY2Efgu.js → clack-prompter-CakorHf3.js} +1 -1
- package/dist/{clawbot-cli-CYVkuLnO.js → clawbot-cli-De1V5wKt.js} +12 -12
- package/dist/{cleanup-utils-DksMdp7C.js → cleanup-utils-DZ-HVi66.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BXEJJp6e.js → cli-5Ap2oull.js} +10 -10
- package/dist/{cmd-argv-BdNFwuhe.js → cmd-argv-Dz5qUtqp.js} +1 -1
- package/dist/{compact.runtime-Do9SwMzP.js → compact.runtime-Bi0KAZxx.js} +10 -10
- package/dist/{compact.runtime-pgjSlzSY.js → compact.runtime-DoEYdXjJ.js} +1 -1
- package/dist/{completion-cli-BnHZnvaD.js → completion-cli-DetW6vGx.js} +12 -12
- package/dist/{config-cli-BTyfFTwL.js → config-cli-JmabBPbR.js} +13 -13
- package/dist/{config-guard-DXvConn_.js → config-guard-D0ly1tu3.js} +12 -12
- package/dist/{config-validation-ZC7mw4HJ.js → config-validation-DtOoaTl7.js} +3 -3
- package/dist/{configure--3s3LTcF.js → configure-DNZVKth2.js} +52 -52
- package/dist/{control-ui-assets-D5CuaZfV.js → control-ui-assets-B9I2TpME.js} +1 -1
- package/dist/{cron-cli-BTeTdxk8.js → cron-cli-hA-3anvP.js} +11 -11
- package/dist/{daemon-cli-TvT5eeIP.js → daemon-cli-CgEObThe.js} +13 -13
- package/dist/{daemon-install-CUvnebOQ.js → daemon-install-e324s4no.js} +16 -16
- package/dist/{daemon-install-plan.shared-BfFSRwqA.js → daemon-install-plan.shared-g5FPfccc.js} +12 -12
- package/dist/{deliver-runtime-CRO5x8jL.js → deliver-runtime-CI-THBhi.js} +10 -10
- package/dist/{deliver-runtime-D4aWAXZ9.js → deliver-runtime-CqyJiuFQ.js} +1 -1
- package/dist/{deps-Cgw7M-k3.js → deps-B6HgPp5e.js} +6 -6
- package/dist/{device-bootstrap-DSXbseT6.js → device-bootstrap-oW1bwgs7.js} +1 -1
- package/dist/{device-pairing-RZV6Mnep.js → device-pairing-CMxl0D-M.js} +1 -1
- package/dist/{devices-cli-DnvmJ-Sg.js → devices-cli-BPpKKc7g.js} +11 -11
- package/dist/{diagnostics-1AwcyuKi.js → diagnostics-iZHasrpQ.js} +5 -5
- package/dist/{directory-cli-CO5of3mT.js → directory-cli-BP8WHXBG.js} +10 -10
- package/dist/{dns-cli-s2wuP3H0.js → dns-cli-CQl7AkL3.js} +10 -10
- package/dist/{docs-cli-CZA-gAQf.js → docs-cli-BWb05s-1.js} +3 -3
- package/dist/{doctor-completion-DvnTlsPK.js → doctor-completion-CA3Zcz0O.js} +2 -2
- package/dist/{doctor-config-flow-DOEjAAYV.js → doctor-config-flow-C53lW8fK.js} +10 -10
- package/dist/{enable-BSbXEyXD.js → enable-CmddFDJP.js} +1 -1
- package/dist/{exec-approvals-cli-CsNqvj8p.js → exec-approvals-cli-Cyhhh2cy.js} +18 -18
- package/dist/{fetch-CGW2R_wh.js → fetch-ggeyBJ4j.js} +2 -2
- package/dist/{gateway-cli-Bq7xXLEB.js → gateway-cli-vQfsLSPv.js} +101 -101
- package/dist/{gateway-install-token-C40ge2lh.js → gateway-install-token-CQHd6wSt.js} +3 -3
- package/dist/{gateway-rpc-DUJcLoxb.js → gateway-rpc-DrDqntyT.js} +1 -1
- package/dist/{health-D_dD9-ET.js → health-CTOG7Tdy.js} +7 -7
- package/dist/{hooks-cli-YvIgaujr.js → hooks-cli-CvrIbP3A.js} +18 -18
- package/dist/{hooks-status-C3wWva3H.js → hooks-status-BiuMKGQP.js} +1 -1
- package/dist/{image-runtime-Cx4HaqrI.js → image-runtime-Cen4jnt5.js} +10 -10
- package/dist/{image-runtime-Brryt_BU.js → image-runtime-DuwNoMsX.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/{inspect-D3lV5ful.js → inspect-C0iPD7zZ.js} +4 -4
- package/dist/{install-safe-path-BvwKN_9n.js → install-safe-path-CnIWvuEU.js} +33 -33
- package/dist/{installs-BC5ieRDB.js → installs-BcQMkw3V.js} +8 -8
- package/dist/{ipv4-CwqOzc5W.js → ipv4-DHZnIX-K.js} +1 -1
- package/dist/{issue-format-34LidjQQ.js → issue-format-CtBob7pd.js} +1 -1
- package/dist/{launchd-BLFV2ME0.js → launchd-D7vxtTg7.js} +13 -13
- package/dist/{lifecycle-core-C07n1IOr.js → lifecycle-core-CKec6MyM.js} +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{logging-DPEdtuNl.js → logging-B7i4YBpx.js} +1 -1
- package/dist/{login-BLC4Op_m.js → login-CQ5pGFeF.js} +3 -3
- package/dist/{login-CKmmxErc.js → login-DC00cCmn.js} +2 -2
- package/dist/{login-qr-DpxxtTBd.js → login-qr-C8iDYxXx.js} +11 -11
- package/dist/{login-qr-KVA4wuh0.js → login-qr-DB7lXNdD.js} +2 -2
- package/dist/{logs-cli-BKhTgUSN.js → logs-cli-B8u30MKC.js} +11 -11
- package/dist/{manager-runtime-D9AEoM1M.js → manager-runtime-C04JB-55.js} +1 -1
- package/dist/{manager-runtime-B4ZbE6hq.js → manager-runtime-DDc_xR6t.js} +10 -10
- package/dist/{manager.runtime-lHLhN5ro.js → manager.runtime-sDKQexj4.js} +16 -16
- package/dist/{manager.runtime-BV-CBNb2.js → manager.runtime-y1RqEqxK.js} +2 -2
- package/dist/{model-picker-C5sQCeTo.js → model-picker-iMZicrZb.js} +5 -5
- package/dist/{model-selection-CNRMBWfR.js → model-selection-Coo7zMJO.js} +43 -43
- package/dist/{models-cli-B7OdTj93.js → models-cli-CHWqnmnX.js} +21 -21
- package/dist/{node-cli-ArOhWB3h.js → node-cli-D2EGwHd2.js} +22 -22
- package/dist/{node-command-policy-BVIbeciX.js → node-command-policy-C9YoIlNR.js} +1 -1
- package/dist/{node-service-ESc5ToCS.js → node-service-D7xRD6Op.js} +1 -1
- package/dist/{nodes-cli-BLneGv8c.js → nodes-cli-BaWA_a27.js} +13 -13
- package/dist/{npm-pack-install-DI_0G-Ju.js → npm-pack-install-C7ntuYO8.js} +23 -23
- package/dist/{npm-resolution-DowD_x7i.js → npm-resolution-BL-LzQ8q.js} +3 -3
- package/dist/{onboard-Da0Gqg8E.js → onboard-1Vbkq-0q.js} +10 -10
- package/dist/{onboard-channels-Dub92d1X.js → onboard-channels-C_RZQliP.js} +16 -16
- package/dist/{onboard-custom-iC39HaRY.js → onboard-custom-CyUm7NIR.js} +5 -5
- package/dist/{onboard-hooks-DUll1iq8.js → onboard-hooks-Bx20a5uy.js} +4 -4
- package/dist/{onboard-remote-Cyc407f2.js → onboard-remote-Dtm07eUX.js} +3 -3
- package/dist/{onboard-skills-BqnqjDI3.js → onboard-skills-BOBtFqTc.js} +3 -3
- package/dist/{onboarding-BgeTWLi_.js → onboarding-CAQDdLGu.js} +17 -17
- package/dist/{onboarding.finalize-C4jEsWtC.js → onboarding.finalize-BAUMJZlu.js} +25 -25
- package/dist/{onboarding.gateway-config-C2XdEUF3.js → onboarding.gateway-config-BRSWuajr.js} +14 -14
- package/dist/{onboarding.secret-input-OwIXA7An.js → onboarding.secret-input-D75Xjj5j.js} +1 -1
- package/dist/{openai-codex-oauth-BUnBFHjs.js → openai-codex-oauth-BjOz2DJZ.js} +3 -3
- package/dist/{openclaw-root-B5jXk2td.js → openclaw-root-dlCz9toZ.js} +8 -8
- package/dist/{outbound-send-deps-dRaNZNE7.js → outbound-send-deps-Bid3Xegx.js} +1 -1
- package/dist/{pairing-cli-pEJPQw6E.js → pairing-cli-Dm_fH3zm.js} +10 -10
- package/dist/{path-alias-guards-BEqdGdn9.js → path-alias-guards-B6owPyQX.js} +3 -3
- package/dist/{path-safety-TRhr8lhQ.js → path-safety-DN7L46Yk.js} +1 -1
- package/dist/{pi-model-discovery-runtime-BkRq7f9h.js → pi-model-discovery-runtime-BRs3OnbK.js} +10 -10
- package/dist/{pi-model-discovery-runtime-CDKkuBYh.js → pi-model-discovery-runtime-DsZRIFOj.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-Dt7ZWya_.js → pi-tools.before-tool-call.runtime-Cz99nK1_.js} +10 -10
- package/dist/{pi-tools.before-tool-call.runtime-DgAiY2la.js → pi-tools.before-tool-call.runtime-l0nSxXys.js} +1 -1
- package/dist/{plugin-install-plan-q0pKUAmp.js → plugin-install-plan-tegfcs_j.js} +1 -1
- package/dist/{plugin-registry-DrrKSvdi.js → plugin-registry-D1UVdXNl.js} +2 -2
- package/dist/{plugins-om7vnHk0.js → plugins-BVbKGpQJ.js} +9 -9
- package/dist/{plugins-cli-BWuwmlNA.js → plugins-cli-DMTK-3PI.js} +21 -21
- package/dist/{ports-CVD9jTxH.js → ports-CrZzXxTl.js} +2 -2
- package/dist/{probe-auth-CRm2yob0.js → probe-auth-H1_HjX3c.js} +1 -1
- package/dist/{program-context-BnNrq2_o.js → program-context--XQiK-Vv.js} +42 -42
- package/dist/{prompt-select-styled-FpCuoi_9.js → prompt-select-styled-BzWw9bIh.js} +32 -32
- package/dist/{provider-auth-helpers-Dzq3SbTh.js → provider-auth-helpers-B5U-h2Ob.js} +4 -4
- package/dist/{provider-wizard-CRYUkbUG.js → provider-wizard-BgHYhBzK.js} +1 -1
- package/dist/{push-apns-6Yefl4vF.js → push-apns-DQdHdrq8.js} +3 -3
- package/dist/{pw-ai-Brk_ehKR.js → pw-ai-8OpaEmr4.js} +15 -15
- package/dist/{pw-ai-3ual6adI.js → pw-ai-R41XeePP.js} +1 -1
- package/dist/{qmd-manager-Clny9vcj.js → qmd-manager-BMkECKpc.js} +19 -19
- package/dist/{qr-cli-TsbdBlkh.js → qr-cli-CZy0bldy.js} +11 -11
- package/dist/{query-expansion-BNb6Vys6.js → query-expansion-AnOnkIqf.js} +48 -48
- package/dist/{redact-snapshot-sudZsVoX.js → redact-snapshot-lCMXNHo3.js} +1 -1
- package/dist/{register.agent-BcYbZ3eF.js → register.agent-2yZ4uAHT.js} +43 -43
- package/dist/{register.backup-DbtBtW_J.js → register.backup-Byyque4N.js} +26 -26
- package/dist/register.configure-CrATD0tr.js +87 -0
- package/dist/{register.maintenance-Cdn2TwrI.js → register.maintenance-BZ_V3Ubt.js} +33 -33
- package/dist/{register.message-cHCXxeA6.js → register.message-CJwTd37H.js} +13 -13
- package/dist/{register.onboard-Dbig7G2G.js → register.onboard-BY0T1WHb.js} +17 -17
- package/dist/{register.setup-DjHUcAcm.js → register.setup-CA3ZUrN-.js} +18 -18
- package/dist/{register.status-health-sessions-BMxJK45p.js → register.status-health-sessions-PN0jxAPA.js} +26 -26
- package/dist/{reply-Cf5Mm7vB.js → reply-gX1XTS9Y.js} +226 -226
- package/dist/{restart-stale-pids-ZfbSMILU.js → restart-stale-pids-B6E7QavX.js} +2 -2
- package/dist/{rpc-8YrBMBoD.js → rpc-B2PO3N0W.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-Br3SxDXL.js → runtime-whatsapp-login.runtime-C_E260pb.js} +3 -3
- package/dist/{runtime-whatsapp-login.runtime-Bo1HalYB.js → runtime-whatsapp-login.runtime-DKMtq6l9.js} +12 -12
- package/dist/{runtime-whatsapp-outbound.runtime-L3Qkst0n.js → runtime-whatsapp-outbound.runtime-BdHcgl-R.js} +2 -2
- package/dist/{runtime-whatsapp-outbound.runtime-Ch2o56Ey.js → runtime-whatsapp-outbound.runtime-Dv1HN4ha.js} +11 -11
- package/dist/{sandbox-cli-CoRe21Si.js → sandbox-cli-SCYkP_qN.js} +10 -10
- package/dist/{secret-file-7smmAVRV.js → secret-file-CuiwToxK.js} +1 -1
- package/dist/{secrets-cli-CHT1AjCX.js → secrets-cli-C5O6Jw_4.js} +11 -11
- package/dist/{security-cli-DRqdmCtr.js → security-cli-CL4qtb9H.js} +20 -20
- package/dist/{send-CXnKWzde.js → send-BvAlpSvh.js} +1 -1
- package/dist/{send-CHZ7WuOb.js → send-hZxe8sP9.js} +2 -2
- package/dist/{server-DiTziwvC.js → server-Cnc4lO11.js} +10 -10
- package/dist/{server-node-events-p5ykMQz-.js → server-node-events-aTSoNGTe.js} +14 -14
- package/dist/{service-RXVSlLiU.js → service-LNrViUVb.js} +13 -13
- package/dist/{session-CXOhppV3.js → session-CndmPe2D.js} +2 -2
- package/dist/{session-kt-bqE_z.js → session-D7nweu0t.js} +1 -1
- package/dist/{shared-CoL161wD.js → shared-c6JUv5At.js} +1 -1
- package/dist/{skill-scanner-BzjuMMKN.js → skill-scanner-DaUNX-tW.js} +6 -6
- package/dist/{skills-cli-YajvWbjO.js → skills-cli-YqsScIM5.js} +11 -11
- package/dist/{skills-install-DFkV3GsC.js → skills-install-BnRu7wO4.js} +6 -6
- package/dist/{skills-status-PMeXzDbC.js → skills-status-DHMQ6A2H.js} +1 -1
- package/dist/{skills-Jz-BSwRd.js → skills-vhlUaliH.js} +2 -2
- package/dist/{slash-commands.runtime-BYfxn_xu.js → slash-commands.runtime-AZCJXo7S.js} +1 -1
- package/dist/{slash-commands.runtime-_LrsMaI1.js → slash-commands.runtime-D9GHahMO.js} +10 -10
- package/dist/{slash-dispatch.runtime-neG4499W.js → slash-dispatch.runtime-DcISuJb0.js} +10 -10
- package/dist/{slash-dispatch.runtime-Cu8ghe1h.js → slash-dispatch.runtime-DyUU1AG5.js} +1 -1
- package/dist/{slash-skill-commands.runtime-8dS5PTaH.js → slash-skill-commands.runtime-Cv1NPjj6.js} +1 -1
- package/dist/{slash-skill-commands.runtime-D0ohJN-V.js → slash-skill-commands.runtime-Dt6QQJcX.js} +10 -10
- package/dist/{status-1patzIRq.js → status-D9mVTxuB.js} +1 -1
- package/dist/{status-BaLZ1uQV.js → status-QQiIsfFq.js} +21 -21
- package/dist/{status.update-DrzJ1YWu.js → status.update-DY13od-q.js} +3 -3
- package/dist/{subagent-registry-runtime-BTW1zlrG.js → subagent-registry-runtime-CoeW8s2P.js} +10 -10
- package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-N50VG-ay.js} +1 -1
- package/dist/{system-cli-CndWL3sF.js → system-cli-DMu6SZhn.js} +11 -11
- package/dist/{systemd-D47rkLi7.js → systemd-DSK6B3bg.js} +11 -11
- package/dist/{systemd-hints-DHfXVo8k.js → systemd-hints-DsQTPBGt.js} +6 -6
- package/dist/{systemd-linger-DwmFZpci.js → systemd-linger-BPISBIWJ.js} +1 -1
- package/dist/{tui-CzYnfJxE.js → tui-DzNNH2rc.js} +2 -2
- package/dist/{tui-cli-D47N0Kfm.js → tui-cli-D5JgcWb9.js} +11 -11
- package/dist/{update-BiUnc38r.js → update-DL_359AR.js} +2 -2
- package/dist/{update-cli-CeqH2oQ-.js → update-cli-BfjWjK3A.js} +45 -45
- package/dist/{update-runner-oqYBjs5t.js → update-runner-CfkBU1BA.js} +16 -16
- package/dist/{web-CXyjF_si.js → web-B4n02Xhe.js} +4 -4
- package/dist/{web-BRvkjVpk.js → web-BHO-XtPY.js} +14 -14
- package/dist/{webhooks-cli-CnTKcfvh.js → webhooks-cli-C0kgprJJ.js} +10 -10
- package/dist/{whatsapp-actions-BXO9Bi7a.js → whatsapp-actions-BC06Ug_d.js} +11 -11
- package/dist/{whatsapp-actions-BUvGEDSk.js → whatsapp-actions-JJEG8eF3.js} +2 -2
- package/dist/{workspace-CWne7yqK.js → workspace-BTsqd19h.js} +1 -1
- package/package.json +8 -8
- package/scripts/create-instance.sh +29 -46
- package/dist/register.configure-CPWCrXrC.js +0 -87
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cleanStaleGatewayProcessesSync } from "./restart-stale-pids-
|
|
1
|
+
import { t as cleanStaleGatewayProcessesSync } from "./restart-stale-pids-B6E7QavX.js";
|
|
2
2
|
import { d as resolveGatewayServiceDescription, l as resolveGatewayLaunchAgentLabel, m as resolveLegacyGatewayLaunchAgentLabels, t as GATEWAY_LAUNCH_AGENT_LABEL, x as parseStrictPositiveInteger, y as parseStrictInteger } from "./constants-D-pfuSKJ.js";
|
|
3
3
|
import { a as toPosixPath, i as formatLine, n as resolveGatewayStateDir, o as writeFormattedLines, r as resolveHomeDir, s as execFileUtf8, t as parseKeyValueOutput } from "./runtime-parse-l56zRsXX.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
const plistEscape = (value) => value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
9
9
|
const plistUnescape = (value) => value.replaceAll("'", "'").replaceAll(""", "\"").replaceAll(">", ">").replaceAll("<", "<").replaceAll("&", "&");
|
|
@@ -15,7 +15,7 @@ const renderEnvDict = (env) => {
|
|
|
15
15
|
};
|
|
16
16
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
17
17
|
try {
|
|
18
|
-
const plist = await
|
|
18
|
+
const plist = await fsPromises.readFile(plistPath, "utf8");
|
|
19
19
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
20
20
|
if (!programMatch) return null;
|
|
21
21
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -247,14 +247,14 @@ async function bootstrapLaunchAgentOrThrow(params) {
|
|
|
247
247
|
throw new Error(`launchctl bootstrap failed: ${detail}`);
|
|
248
248
|
}
|
|
249
249
|
async function ensureSecureDirectory(targetPath) {
|
|
250
|
-
await
|
|
250
|
+
await fsPromises.mkdir(targetPath, {
|
|
251
251
|
recursive: true,
|
|
252
252
|
mode: LAUNCH_AGENT_DIR_MODE
|
|
253
253
|
});
|
|
254
254
|
try {
|
|
255
|
-
const mode = (await
|
|
255
|
+
const mode = (await fsPromises.stat(targetPath)).mode & 511;
|
|
256
256
|
const tightenedMode = mode & -19;
|
|
257
|
-
if (tightenedMode !== mode) await
|
|
257
|
+
if (tightenedMode !== mode) await fsPromises.chmod(targetPath, tightenedMode);
|
|
258
258
|
} catch {}
|
|
259
259
|
}
|
|
260
260
|
function parseLaunchctlPrint(output) {
|
|
@@ -288,7 +288,7 @@ async function isLaunchAgentListed(args) {
|
|
|
288
288
|
async function launchAgentPlistExists(env) {
|
|
289
289
|
try {
|
|
290
290
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
291
|
-
await
|
|
291
|
+
await fsPromises.access(plistPath);
|
|
292
292
|
return true;
|
|
293
293
|
} catch {
|
|
294
294
|
return false;
|
|
@@ -350,7 +350,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
350
350
|
]);
|
|
351
351
|
await execLaunchctl(["unload", plistPath]);
|
|
352
352
|
try {
|
|
353
|
-
await
|
|
353
|
+
await fsPromises.access(plistPath);
|
|
354
354
|
} catch {
|
|
355
355
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
356
356
|
return;
|
|
@@ -359,8 +359,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
359
359
|
const trashDir = path.posix.join(home, ".Trash");
|
|
360
360
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
361
361
|
try {
|
|
362
|
-
await
|
|
363
|
-
await
|
|
362
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
363
|
+
await fsPromises.rename(plistPath, dest);
|
|
364
364
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
365
365
|
} catch {
|
|
366
366
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -395,7 +395,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
395
395
|
]);
|
|
396
396
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
397
397
|
try {
|
|
398
|
-
await
|
|
398
|
+
await fsPromises.unlink(legacyPlistPath);
|
|
399
399
|
} catch {}
|
|
400
400
|
}
|
|
401
401
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
@@ -417,11 +417,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
417
417
|
stderrPath,
|
|
418
418
|
environment
|
|
419
419
|
});
|
|
420
|
-
await
|
|
420
|
+
await fsPromises.writeFile(plistPath, plist, {
|
|
421
421
|
encoding: "utf8",
|
|
422
422
|
mode: LAUNCH_AGENT_PLIST_MODE
|
|
423
423
|
});
|
|
424
|
-
await
|
|
424
|
+
await fsPromises.chmod(plistPath, LAUNCH_AGENT_PLIST_MODE).catch(() => void 0);
|
|
425
425
|
await execLaunchctl([
|
|
426
426
|
"bootout",
|
|
427
427
|
domain,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { d as resolveIsNixMode } from "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, N as getResolvedLoggerSettings, O as colorize, k as isRich, p as defaultRuntime } from "./subsystem-G54saDcg.js";
|
|
3
|
-
import { Rh as isGatewaySecretRefUnavailableError, m_ as readConfigFileSnapshot, p_ as readBestEffortConfig, zh as resolveGatewayDriftCheckCredentialsFromConfig } from "./reply-
|
|
3
|
+
import { Rh as isGatewaySecretRefUnavailableError, m_ as readConfigFileSnapshot, p_ as readBestEffortConfig, zh as resolveGatewayDriftCheckCredentialsFromConfig } from "./reply-gX1XTS9Y.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
5
|
-
import { i as isWSL } from "./fetch-
|
|
5
|
+
import { i as isWSL } from "./fetch-ggeyBJ4j.js";
|
|
6
6
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-D-pfuSKJ.js";
|
|
7
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
8
|
-
import { t as describeGatewayServiceRestart } from "./service-
|
|
9
|
-
import { i as isSystemdUserServiceAvailable } from "./systemd-
|
|
10
|
-
import { a as checkTokenDrift, c as buildPlatformRuntimeLogHints, l as buildPlatformServiceStartHints, n as renderSystemdUnavailableHints } from "./systemd-hints-
|
|
7
|
+
import { n as formatConfigIssueLines } from "./issue-format-CtBob7pd.js";
|
|
8
|
+
import { t as describeGatewayServiceRestart } from "./service-LNrViUVb.js";
|
|
9
|
+
import { i as isSystemdUserServiceAvailable } from "./systemd-DSK6B3bg.js";
|
|
10
|
+
import { a as checkTokenDrift, c as buildPlatformRuntimeLogHints, l as buildPlatformServiceStartHints, n as renderSystemdUnavailableHints } from "./systemd-hints-DsQTPBGt.js";
|
|
11
11
|
import { t as parsePort } from "./parse-port-C_3w9_cU.js";
|
|
12
12
|
import { Writable } from "node:stream";
|
|
13
13
|
//#region src/cli/daemon-cli/response.ts
|
|
@@ -3,7 +3,7 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-Bi8vpJN0.js";
|
|
5
5
|
import "./logger-DCBlX1uz.js";
|
|
6
|
-
import { J as runEmbeddedPiAgent, ji as DEFAULT_PROVIDER, o as parseModelRef } from "./model-selection-
|
|
6
|
+
import { J as runEmbeddedPiAgent, ji as DEFAULT_PROVIDER, o as parseModelRef } 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,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { o as displayPath } from "./utils-B8zCe27d.js";
|
|
3
|
-
import { u_ as createConfigIO } from "./reply-
|
|
3
|
+
import { u_ as createConfigIO } from "./reply-gX1XTS9Y.js";
|
|
4
4
|
//#region src/config/logging.ts
|
|
5
5
|
var logging_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
formatConfigPath: () => formatConfigPath,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { E as success, p as defaultRuntime, v as danger, y as info } from "./subsystem-G54saDcg.js";
|
|
2
|
-
import { d_ as loadConfig } from "./reply-
|
|
2
|
+
import { d_ as loadConfig } from "./reply-gX1XTS9Y.js";
|
|
3
3
|
import { r as logInfo } from "./logger-BohkHL0S.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-p_4ya3m0.js";
|
|
5
|
-
import { E as logoutWeb, b as resolveWhatsAppAccount } from "./plugins-
|
|
6
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
5
|
+
import { E as logoutWeb, b as resolveWhatsAppAccount } from "./plugins-BVbKGpQJ.js";
|
|
6
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CndmPe2D.js";
|
|
7
7
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
8
8
|
//#region extensions/whatsapp/src/login.ts
|
|
9
9
|
async function loginWeb(verbose, waitForConnection, runtime = defaultRuntime, accountId) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as defaultRuntime, h as success, l as danger, u as info } from "./subsystem-Cr1MiLhx.js";
|
|
2
2
|
import { r as logInfo } from "./logger-DCBlX1uz.js";
|
|
3
|
-
import { Ci as formatCliCommand, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
4
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
3
|
+
import { Ci as formatCliCommand, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } from "./model-selection-Coo7zMJO.js";
|
|
4
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-D7nweu0t.js";
|
|
5
5
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
6
6
|
//#region extensions/whatsapp/src/login.ts
|
|
7
7
|
async function loginWeb(verbose, waitForConnection, runtime = defaultRuntime, accountId) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { E as success, p as defaultRuntime, v as danger, y as info } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { d_ as loadConfig } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { d_ as loadConfig } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import "./agent-scope-sd1-3XH0.js";
|
|
6
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
7
7
|
import { r as logInfo } from "./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 { A as readWebSelfId, E as logoutWeb, P as webAuthExists, b as resolveWhatsAppAccount } from "./plugins-
|
|
17
|
-
import "./query-expansion-
|
|
16
|
+
import { A as readWebSelfId, E as logoutWeb, P as webAuthExists, b as resolveWhatsAppAccount } from "./plugins-BVbKGpQJ.js";
|
|
17
|
+
import "./query-expansion-AnOnkIqf.js";
|
|
18
18
|
import "./redact-owRpqMhM.js";
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./fetch-
|
|
19
|
+
import "./path-alias-guards-B6owPyQX.js";
|
|
20
|
+
import "./fetch-ggeyBJ4j.js";
|
|
21
21
|
import "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-Dz5qUtqp.js";
|
|
23
|
+
import "./restart-stale-pids-B6E7QavX.js";
|
|
24
24
|
import "./delivery-queue-B7zSt4zY.js";
|
|
25
25
|
import "./paths-CfmKJcO5.js";
|
|
26
26
|
import "./session-cost-usage-C2jrTKxW.js";
|
|
27
27
|
import "./prompt-style-DlcWUCNR.js";
|
|
28
28
|
import "./links-BpKafJs4.js";
|
|
29
29
|
import "./cli-utils-BSURvrmb.js";
|
|
30
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
30
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CndmPe2D.js";
|
|
31
31
|
import { randomUUID } from "node:crypto";
|
|
32
32
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
33
33
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -3,12 +3,12 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import { a as defaultRuntime, h as success, l as danger, u as info } from "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-Bi8vpJN0.js";
|
|
5
5
|
import { r as logInfo } from "./logger-DCBlX1uz.js";
|
|
6
|
-
import { Mr as webAuthExists, Or as readWebSelfId, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
6
|
+
import { Mr as webAuthExists, Or as readWebSelfId, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } 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";
|
|
10
10
|
import "./frontmatter-DZlWsaUx.js";
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-D7nweu0t.js";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
14
14
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { A as theme, F as formatLocalIsoWithOffset, I as isValidTimeZone, O as colorize, h as clearActiveProgressLine, k as isRich } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { ns as buildGatewayConnectionDetails } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { ns as buildGatewayConnectionDetails } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import "./agent-scope-sd1-3XH0.js";
|
|
6
|
+
import "./openclaw-root-dlCz9toZ.js";
|
|
7
7
|
import "./logger-BohkHL0S.js";
|
|
8
8
|
import "./exec-CNtAq7Md.js";
|
|
9
9
|
import "./github-copilot-token-Ff890Vmh.js";
|
|
@@ -12,23 +12,23 @@ 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";
|
|
28
28
|
import "./prompt-style-DlcWUCNR.js";
|
|
29
29
|
import { t as formatDocsLink } from "./links-BpKafJs4.js";
|
|
30
30
|
import "./cli-utils-BSURvrmb.js";
|
|
31
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
31
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DrDqntyT.js";
|
|
32
32
|
import { t as parseLogLine } from "./parse-log-line-G4IK8EXq.js";
|
|
33
33
|
import { setTimeout } from "node:timers/promises";
|
|
34
34
|
//#region src/terminal/stream-writer.ts
|
|
@@ -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 { Xt as MemoryIndexManager, Zt as closeAllMemoryIndexManagers } from "./model-selection-
|
|
6
|
+
import { Xt as MemoryIndexManager, Zt as closeAllMemoryIndexManagers } 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 { gu as closeAllMemoryIndexManagers, hu as MemoryIndexManager } from "./reply-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { gu as closeAllMemoryIndexManagers, hu as MemoryIndexManager } 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,9 +1,9 @@
|
|
|
1
1
|
import "./paths-tuenh9TL.js";
|
|
2
2
|
import { H as resolvePreferredOpenClawTmpDir, S as logVerbose, T as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-G54saDcg.js";
|
|
3
3
|
import "./utils-B8zCe27d.js";
|
|
4
|
-
import { $d as normalizeMediaAttachments, Id as resolveTtsConfig, Nn as isDangerousNameMatchingEnabled, Qd as createMediaAttachmentCache, Vd as textToSpeech, Wd as parseTtsDirectives, Zd as buildProviderRegistry, bd as resolveDiscordOwnerAccess, pd as formatMention, rd as resolveAgentRoute, tf as runCapability, xd as formatDiscordUserTag } from "./reply-
|
|
5
|
-
import { a as resolveAgentDir } from "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { $d as normalizeMediaAttachments, Id as resolveTtsConfig, Nn as isDangerousNameMatchingEnabled, Qd as createMediaAttachmentCache, Vd as textToSpeech, Wd as parseTtsDirectives, Zd as buildProviderRegistry, bd as resolveDiscordOwnerAccess, pd as formatMention, rd as resolveAgentRoute, tf as runCapability, xd as formatDiscordUserTag } from "./reply-gX1XTS9Y.js";
|
|
5
|
+
import { a as resolveAgentDir } 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";
|
|
@@ -11,27 +11,27 @@ 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 { r as formatErrorMessage } from "./errors-DNKaAVHN.js";
|
|
22
|
-
import "./cmd-argv-
|
|
23
|
-
import "./restart-stale-pids-
|
|
22
|
+
import "./cmd-argv-Dz5qUtqp.js";
|
|
23
|
+
import "./restart-stale-pids-B6E7QavX.js";
|
|
24
24
|
import "./delivery-queue-B7zSt4zY.js";
|
|
25
25
|
import "./paths-CfmKJcO5.js";
|
|
26
26
|
import "./session-cost-usage-C2jrTKxW.js";
|
|
27
27
|
import "./prompt-style-DlcWUCNR.js";
|
|
28
28
|
import "./links-BpKafJs4.js";
|
|
29
29
|
import "./cli-utils-BSURvrmb.js";
|
|
30
|
-
import "./deps-
|
|
31
|
-
import { n as agentCommandFromIngress } from "./agent-
|
|
30
|
+
import "./deps-B6HgPp5e.js";
|
|
31
|
+
import { n as agentCommandFromIngress } from "./agent-CaQagdQ7.js";
|
|
32
32
|
import { createRequire } from "node:module";
|
|
33
33
|
import path from "node:path";
|
|
34
|
-
import
|
|
34
|
+
import fsPromises from "node:fs/promises";
|
|
35
35
|
import { randomUUID } from "node:crypto";
|
|
36
36
|
import { ChannelType, ReadyListener } from "@buape/carbon";
|
|
37
37
|
import { AudioPlayerStatus, EndBehaviorType, VoiceConnectionStatus, createAudioPlayer, createAudioResource, entersState, joinVoiceChannel } from "@discordjs/voice";
|
|
@@ -155,10 +155,10 @@ function estimateDurationSeconds(pcm) {
|
|
|
155
155
|
return pcm.length / (bytesPerSample * SAMPLE_RATE);
|
|
156
156
|
}
|
|
157
157
|
async function writeWavFile(pcm) {
|
|
158
|
-
const tempDir = await
|
|
158
|
+
const tempDir = await fsPromises.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "discord-voice-"));
|
|
159
159
|
const filePath = path.join(tempDir, `segment-${randomUUID()}.wav`);
|
|
160
160
|
const wav = buildWavBuffer(pcm);
|
|
161
|
-
await
|
|
161
|
+
await fsPromises.writeFile(filePath, wav);
|
|
162
162
|
scheduleTempCleanup(tempDir);
|
|
163
163
|
return {
|
|
164
164
|
path: filePath,
|
|
@@ -167,7 +167,7 @@ async function writeWavFile(pcm) {
|
|
|
167
167
|
}
|
|
168
168
|
function scheduleTempCleanup(tempDir, delayMs = 1800 * 1e3) {
|
|
169
169
|
setTimeout(() => {
|
|
170
|
-
|
|
170
|
+
fsPromises.rm(tempDir, {
|
|
171
171
|
recursive: true,
|
|
172
172
|
force: true
|
|
173
173
|
}).catch((err) => {
|
|
@@ -3,12 +3,12 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import { E as resolvePreferredOpenClawTmpDir, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-Bi8vpJN0.js";
|
|
5
5
|
import "./logger-DCBlX1uz.js";
|
|
6
|
-
import { Fn as textToSpeech, Hn as buildProviderRegistry, In as parseTtsDirectives, Kn as runCapability, Pn as resolveTtsConfig, T as isDangerousNameMatchingEnabled, Tn as formatDiscordUserTag, Un as createMediaAttachmentCache, Wn as normalizeMediaAttachments, bn as formatMention, ci as formatErrorMessage, hn as resolveAgentRoute, wn as resolveDiscordOwnerAccess } from "./model-selection-
|
|
6
|
+
import { Fn as textToSpeech, Hn as buildProviderRegistry, In as parseTtsDirectives, Kn as runCapability, Pn as resolveTtsConfig, T as isDangerousNameMatchingEnabled, Tn as formatDiscordUserTag, Un as createMediaAttachmentCache, Wn as normalizeMediaAttachments, bn as formatMention, ci as formatErrorMessage, hn as resolveAgentRoute, wn as resolveDiscordOwnerAccess } 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";
|
|
10
10
|
import "./frontmatter-DZlWsaUx.js";
|
|
11
|
-
import { n as agentCommandFromIngress } from "./agent-
|
|
11
|
+
import { n as agentCommandFromIngress } from "./agent-QkWi9ww5.js";
|
|
12
12
|
import { createRequire } from "node:module";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { A as normalizeProviderId, B as resolvePluginProviders, D as modelKey, Iv as DEFAULT_MODEL, Lv as DEFAULT_PROVIDER, Nt as openUrl, Ov as resolveOpenClawAgentDir, P as resolveConfiguredModelRef, S as buildModelAliasIndex, bv as upsertAuthProfile, ff as loadModelCatalog, gf as hasUsableCustomProviderApiKey, vv as listProfilesForProvider, x as buildAllowedModelSet, xv as ensureAuthProfileStore, yf as resolveEnvApiKey } from "./reply-
|
|
3
|
-
import { P as resolveAgentModelPrimaryValue, a as resolveAgentDir, d as resolveAgentWorkspaceDir, f as resolveDefaultAgentId, j as resolveDefaultAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
5
|
-
import { Zt as formatTokenK, a as OPENAI_CODEX_DEFAULT_MODEL, c as isRemoteEnvironment, i as resolveProviderMatch, n as mergeConfigPatch, r as pickAuthMethod, s as createVpsAwareOAuthHandlers, t as applyDefaultModel, y as applyAuthProfileConfig } from "./provider-auth-helpers-
|
|
6
|
-
import { a as runProviderModelSelectedHook, n as resolveProviderModelPickerEntries, r as resolveProviderPluginChoice } from "./provider-wizard-
|
|
2
|
+
import { A as normalizeProviderId, B as resolvePluginProviders, D as modelKey, Iv as DEFAULT_MODEL, Lv as DEFAULT_PROVIDER, Nt as openUrl, Ov as resolveOpenClawAgentDir, P as resolveConfiguredModelRef, S as buildModelAliasIndex, bv as upsertAuthProfile, ff as loadModelCatalog, gf as hasUsableCustomProviderApiKey, vv as listProfilesForProvider, x as buildAllowedModelSet, xv as ensureAuthProfileStore, yf as resolveEnvApiKey } from "./reply-gX1XTS9Y.js";
|
|
3
|
+
import { P as resolveAgentModelPrimaryValue, a as resolveAgentDir, d as resolveAgentWorkspaceDir, f as resolveDefaultAgentId, j as resolveDefaultAgentWorkspaceDir } from "./agent-scope-sd1-3XH0.js";
|
|
4
|
+
import { t as enablePluginInConfig } from "./enable-CmddFDJP.js";
|
|
5
|
+
import { Zt as formatTokenK, a as OPENAI_CODEX_DEFAULT_MODEL, c as isRemoteEnvironment, i as resolveProviderMatch, n as mergeConfigPatch, r as pickAuthMethod, s as createVpsAwareOAuthHandlers, t as applyDefaultModel, y as applyAuthProfileConfig } from "./provider-auth-helpers-B5U-h2Ob.js";
|
|
6
|
+
import { a as runProviderModelSelectedHook, n as resolveProviderModelPickerEntries, r as resolveProviderPluginChoice } from "./provider-wizard-BgHYhBzK.js";
|
|
7
7
|
//#region src/commands/auth-choice.apply.plugin-provider.ts
|
|
8
8
|
async function runProviderPluginAuthMethod(params) {
|
|
9
9
|
const agentId = params.agentId ?? resolveDefaultAgentId(params.config);
|