openclaw-multi-auto 1.6.7 → 1.6.9
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/{accounts-BPt-s1cW.js → accounts-4vg8osA5.js} +7 -7
- package/dist/{accounts-CC3alHma.js → accounts-BgOnManD.js} +1 -1
- package/dist/{accounts-CNIODbBr.js → accounts-CXo4Ac3z.js} +1 -1
- package/dist/{acp-cli-DjB0ovMh.js → acp-cli-B2w71bEK.js} +8 -8
- package/dist/{agent-scope-CNJUPFcR.js → agent-scope-BbO_VBbv.js} +17 -17
- package/dist/{agents.config-Dh5Lcv4N.js → agents.config-y8kHMoox.js} +2 -2
- package/dist/{api-key-rotation-PzGuOQm_.js → api-key-rotation-CzacqD3s.js} +1 -1
- package/dist/{audio-preflight-BMvgEQ5j.js → audio-preflight-C58LeYZM.js} +4 -4
- package/dist/{audio-preflight-DOYiMo_d.js → audio-preflight-CiANHFx-.js} +34 -34
- package/dist/{audio-transcription-runner-gLFfz8fr.js → audio-transcription-runner-B8jbozH5.js} +1 -1
- package/dist/{audio-transcription-runner-sLK1yiya.js → audio-transcription-runner-B9-J1DUd.js} +23 -23
- package/dist/{audit-BSvn3dTQ.js → audit-BBbzzHkv.js} +29 -29
- package/dist/{auth-C_LDvTxu.js → auth-B_YGaEcP.js} +1 -1
- package/dist/{auth-choice-Bu5kPuhF.js → auth-choice-CV87PVB8.js} +11 -11
- package/dist/{auth-choice-fpoHu7pV.js → auth-choice-gf8aEhcg.js} +13 -13
- package/dist/{auth-choice.apply-helpers-RNa-mjTS.js → auth-choice.apply-helpers-IK7zIZHi.js} +1 -1
- package/dist/{auth-token-CktupXSw.js → auth-token-D2V9CMur.js} +1 -1
- package/dist/{bonjour-discovery-DvVDs7rm.js → bonjour-discovery-BC_XEtg4.js} +1 -1
- package/dist/{browser-cli-DuYjaYLJ.js → browser-cli-BEWtuR6r.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-eK-5ynwM.js → call-YJ9zjeji.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BQD0zpuF.js → channel-account-context-CJ_25Q5X.js} +5 -5
- package/dist/{channel-activity-w-iWKqZg.js → channel-activity-BHb0aL0J.js} +1 -1
- package/dist/{channel-options-o5oDDArl.js → channel-options-8OGfdfdc.js} +3 -3
- package/dist/{channel-selection-HaUsJ3kL.js → channel-selection-D21oKnM0.js} +1 -1
- package/dist/{channel-web-JuhY6j_M.js → channel-web-BXHQWjc6.js} +16 -16
- package/dist/{channels-cli-aZhDWAhv.js → channels-cli-ByTcIaZC.js} +92 -92
- package/dist/{channels-status-issues-Bi69DlUp.js → channels-status-issues-Cva3QRlu.js} +1 -1
- package/dist/{chrome-DxxEKrY7.js → chrome-CRBG2YP_.js} +8 -8
- package/dist/{chrome-CQR5U4Oc.js → chrome-DBMFZ1ho.js} +4 -4
- package/dist/{clawbot-cli-DJzN7m49.js → clawbot-cli-DpZDxNOd.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-fGEJw7Bh.js → cli-bsDX2k8k.js} +72 -72
- package/dist/{client-BEwDNigg.js → client-D9sBKoZI.js} +2 -2
- package/dist/{command-secret-targets-qpSAI_K2.js → command-secret-targets-SH5qP5X_.js} +4 -4
- package/dist/{commands-BaXA2bSJ.js → commands-DUzVNM-Q.js} +1 -1
- package/dist/{commands-registry-D-nkNP-x.js → commands-registry-C2INbVUe.js} +3 -3
- package/dist/{completion-cli-D-Vt6klA.js → completion-cli-4GVy2WHG.js} +12 -12
- package/dist/{config-cli-D7CkjeZo.js → config-cli-ByWpkmkG.js} +7 -7
- package/dist/{config-guard-B1hrQ4RG.js → config-guard-ofLFxSQh.js} +16 -16
- package/dist/{config-validation-CZ59Kb8S.js → config-validation-9QNDxE74.js} +3 -3
- package/dist/{configure-BTMq-WnT.js → configure-JiVnjIlt.js} +17 -17
- package/dist/{control-ui-assets-DR9xNC3f.js → control-ui-assets-D7bG2PFs.js} +1 -1
- package/dist/{cron-cli-CvFNRfgv.js → cron-cli-DuHdcQFw.js} +11 -11
- package/dist/{daemon-cli-Bb7Q2DPz.js → daemon-cli-Do_4dH0e.js} +15 -15
- package/dist/{daemon-install-mDWE60H-.js → daemon-install-C0_0OAHU.js} +4 -4
- package/dist/{daemon-install-helpers-BYWgt_7u.js → daemon-install-helpers-Pex1FHrG.js} +11 -11
- package/dist/{deliver-DuqANTNs.js → deliver-B05oD9oA.js} +7 -7
- package/dist/{deliver-DbdywYJE.js → deliver-ChbFOwjw.js} +1 -1
- package/dist/{deliver-runtime-BFs7iAZF.js → deliver-runtime-B80mXYrL.js} +3 -3
- package/dist/deliver-runtime-DGrrnFpY.js +61 -0
- package/dist/deps-send-discord.runtime-DAPWkSXf.js +36 -0
- package/dist/deps-send-imessage.runtime-DWqR6W7h.js +35 -0
- package/dist/deps-send-signal.runtime-Ce60L81Z.js +34 -0
- package/dist/deps-send-slack.runtime-s0pqdhHR.js +32 -0
- package/dist/{deps-send-telegram.runtime-TOpNwBFj.js → deps-send-telegram.runtime-IVPYXaID.js} +16 -16
- package/dist/{deps-send-whatsapp.runtime-DK8jqd14.js → deps-send-whatsapp.runtime-UBgpoWg9.js} +7 -7
- package/dist/deps-send-whatsapp.runtime-bRJ5Zed1.js +118 -0
- package/dist/{devices-cli-DVXzYwja.js → devices-cli-D0SxzElB.js} +8 -8
- package/dist/{diagnostic-CL9h6IXx.js → diagnostic-v2TGEcgC.js} +1 -1
- package/dist/{diagnostics-CwWdfrvB.js → diagnostics-CBcbp7BB.js} +5 -5
- package/dist/{directory-cli-DL2TKoz1.js → directory-cli-A0q9Ftjc.js} +7 -7
- package/dist/{dns-cli-DOHzu8H-.js → dns-cli-hyt6Wvvq.js} +5 -5
- package/dist/{dock-BR4hdehX.js → dock-SpSqP4RS.js} +4 -4
- package/dist/{docs-cli-D1S8CZJy.js → docs-cli-CJfXaxzc.js} +4 -4
- package/dist/{doctor-completion-CkEHCVMO.js → doctor-completion-CDRZEttH.js} +2 -2
- package/dist/{doctor-config-flow-DQNZsEku.js → doctor-config-flow-kZl_wy2A.js} +15 -15
- package/dist/{enable-V7r6GCwn.js → enable-B27E5MMW.js} +1 -1
- package/dist/{exec-approvals-allowlist-CtUT02un.js → exec-approvals-allowlist-BOUCQu6B.js} +1 -1
- package/dist/{exec-approvals-cli-CsCqi3wl.js → exec-approvals-cli-_cqBqjTA.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CSBwsuHS.js → exec-safe-bin-runtime-policy-CkhpnueN.js} +2 -2
- package/dist/{fetch-guard-Ca0W-yZr.js → fetch-guard-NyNh7p-s.js} +1 -1
- package/dist/{fs-safe-D_adQJX4.js → fs-safe-mG29clJ9.js} +24 -24
- package/dist/{gateway-cli-C5cq5Fv9.js → gateway-cli-94YTdTAa.js} +152 -152
- package/dist/{gateway-rpc-C32KFHnD.js → gateway-rpc-NhXLPpJx.js} +1 -1
- package/dist/{health-yuGFUIWJ.js → health-B99KJscL.js} +11 -11
- package/dist/{hooks-cli-CXWcvFYo.js → hooks-cli-C01QhY4h.js} +80 -80
- package/dist/{hooks-status-Bjjm7teR.js → hooks-status-CZNGtyrM.js} +1 -1
- package/dist/{image-CDKYPK1-.js → image-BaqqhHHh.js} +5 -5
- package/dist/{image-eT7Y-nP5.js → image-C7RmnYxa.js} +1 -1
- package/dist/{image-ops-BTwvusXV.js → image-ops-CKnT_r12.js} +10 -10
- package/dist/image-runtime-D9iVXh4M.js +55 -0
- package/dist/{image-runtime-BcAK3n8a.js → image-runtime-DtMbm7AR.js} +3 -3
- package/dist/index.js +82 -82
- package/dist/{inspect-lNlGLW_c.js → inspect-XHunUBlV.js} +4 -4
- package/dist/{install-safe-path-BNRYD-KJ.js → install-safe-path-om__n8TQ.js} +25 -25
- package/dist/{installs-BB_8nllr.js → installs-Z0VR0SY2.js} +9 -9
- package/dist/{ipv4-CPzn5xIX.js → ipv4-NJiClroF.js} +1 -1
- package/dist/{ir-BdjoGJyL.js → ir-ChJe1hY6.js} +8 -8
- package/dist/{issue-format-D_MHPECu.js → issue-format-G-7IkANX.js} +1 -1
- package/dist/{json-files-DIEpaxUj.js → json-files-D6M304Qd.js} +8 -8
- package/dist/{lifecycle-core-C2u5W-Xd.js → lifecycle-core-BcIuIPMF.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-_noFNwvo.js → local-roots-BCYAjsgu.js} +3 -3
- package/dist/{login-CbJ7lelX.js → login-D7cZyPrd.js} +3 -3
- package/dist/{login-qr-9cwofnkY.js → login-qr-DPVFxhjZ.js} +6 -6
- package/dist/{logs-cli-RYm8XZEC.js → logs-cli-CtEDxmDk.js} +9 -9
- package/dist/{manager-Dbz9CyPw.js → manager-CSnZM2Iw.js} +14 -14
- package/dist/{manager-runtime-DsniMUxY.js → manager-runtime-aMwRbhZ3.js} +9 -9
- package/dist/{manifest-registry-QfHOpQrg.js → manifest-registry-D74D25g7.js} +1 -1
- package/dist/{memory-cli-CLBPPSow.js → memory-cli-CCMIlraX.js} +12 -12
- package/dist/{model-CfB7nuUK.js → model-CnHxvu4o.js} +2 -2
- package/dist/{model-catalog-BH55qLYK.js → model-catalog-QXAt20Vy.js} +3 -3
- package/dist/{model-picker-D3xDEPDv.js → model-picker-ByrLHc9_.js} +4 -4
- package/dist/{model-selection-DZM1M4yx.js → model-selection-DqSNdtby.js} +16 -16
- package/dist/{models-cli-DlFeSGXD.js → models-cli-C0mrlgSL.js} +81 -81
- package/dist/{models-config-BLJwyO9D.js → models-config-5EhgxVMQ.js} +6 -6
- package/dist/{node-cli-Dcn7Lxvr.js → node-cli-DdKfRYhS.js} +33 -33
- package/dist/{node-command-policy-DfcI_g5B.js → node-command-policy-D-hu0n3w.js} +1 -1
- package/dist/{node-service-CIXWfpdM.js → node-service--hFCI8Ok.js} +1 -1
- package/dist/{nodes-cli-CtIY3Wdi.js → nodes-cli-BmjFvKQh.js} +16 -16
- package/dist/{nodes-screen-DgLXnfNX.js → nodes-screen-CCNot0xV.js} +7 -7
- package/dist/{npm-pack-install-BmT2Qku8.js → npm-pack-install-DSR8-nhr.js} +18 -18
- package/dist/{npm-resolution-Ch4kSz-J.js → npm-resolution-dr4H2dBm.js} +4 -4
- package/dist/{onboard-pvZeQwGW.js → onboard-CyDS1PdS.js} +6 -6
- package/dist/{onboard-channels-CZMeimvm.js → onboard-channels-QzPuUsu5.js} +21 -21
- package/dist/{onboard-custom-Bk9lP_gS.js → onboard-custom-pyXzjp5z.js} +4 -4
- package/dist/{onboard-helpers-C51uqagK.js → onboard-helpers-ByC3v1-U.js} +10 -10
- package/dist/{onboard-hooks-B4RFbzBs.js → onboard-hooks-C2cFv3_-.js} +4 -4
- package/dist/{onboard-remote-CmB2v7g1.js → onboard-remote-DHZv5w4W.js} +4 -4
- package/dist/{onboard-skills-B52kyElD.js → onboard-skills-D_R383gZ.js} +4 -4
- package/dist/{onboarding-BQS8Nd_E.js → onboarding-Df6qbE08.js} +14 -14
- package/dist/{onboarding.finalize-1BqhSubV.js → onboarding.finalize-DkEbxmLj.js} +85 -85
- package/dist/{onboarding.gateway-config-BIkI8VxE.js → onboarding.gateway-config-DttU83Zb.js} +18 -18
- package/dist/{onboarding.secret-input-Dz6lMbgK.js → onboarding.secret-input-BJILGy22.js} +1 -1
- package/dist/{openai-model-default-LC7S-YJ9.js → openai-model-default-uuDOWnTl.js} +2 -2
- package/dist/{openclaw-root-DG6I1Pl4.js → openclaw-root-DeEQQJyX.js} +8 -8
- package/dist/{outbound-C2sayF6_.js → outbound-B0HGMG3V.js} +3 -3
- package/dist/{outbound-attachment-BMKxLFNL.js → outbound-attachment-Ccf9O8B8.js} +2 -2
- package/dist/{pairing-cli-BiogXen1.js → pairing-cli-L76jWxbm.js} +8 -8
- package/dist/{pairing-labels-OxEX3p5e.js → pairing-labels-D9vsJ1yc.js} +1 -1
- package/dist/{pairing-store-CxcCXceV.js → pairing-store-qlIFCeZB.js} +3 -3
- package/dist/{path-alias-guards-CY88Htx_.js → path-alias-guards-BzAaCM2k.js} +3 -3
- package/dist/{path-safety-dy_YlK3a.js → path-safety-BtMBl7vC.js} +1 -1
- package/dist/{paths-C48pWRFv.js → paths-1ThfklTP.js} +9 -9
- package/dist/{pi-embedded-BQQa91aA.js → pi-embedded-BC_GWGuw.js} +24 -24
- package/dist/{pi-embedded-helpers-CLXm10bV.js → pi-embedded-helpers-CbIShbOM.js} +3 -3
- package/dist/{pi-embedded-helpers-CuG0ngBL.js → pi-embedded-helpers-DXrnVbBZ.js} +6 -6
- package/dist/{pi-model-discovery-Drm3mYtt.js → pi-model-discovery-BKbDxeIp.js} +1 -1
- package/dist/{pi-model-discovery-runtime-CCZ87Xog.js → pi-model-discovery-runtime-CpLmZvoC.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-CxMxsbgT.js → pi-tools.before-tool-call.runtime-81kH9GUj.js} +5 -5
- package/dist/{pi-tools.policy-DaB-Ff9f.js → pi-tools.policy-BC7YGcon.js} +5 -5
- package/dist/{plugin-auto-enable-DOlffoVt.js → plugin-auto-enable-CIeegxhY.js} +3 -3
- package/dist/{plugin-registry-DfKKSRKU.js → plugin-registry-D8JSGXQX.js} +3 -3
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/{plugins-DaN4Jp7R.js → plugins-TLur5wHC.js} +2 -2
- package/dist/{plugins-cli-540srne6.js → plugins-cli-e8svgZ6i.js} +82 -82
- package/dist/{ports-DX1Cxj7W.js → ports-BE9ZTYml.js} +1 -1
- package/dist/{ports-B6f6PDVD.js → ports-CfTWPxj9.js} +2 -2
- package/dist/{program-context-iEkoyF3D.js → program-context-DNYbQrvx.js} +41 -41
- package/dist/{prompt-select-styled-C1MS6ea1.js → prompt-select-styled-B7A4T4-F.js} +40 -40
- package/dist/{provider-auth-helpers-BeZKOpzW.js → provider-auth-helpers-DolkcfyF.js} +5 -5
- package/dist/{proxy-env-R4DbTLy-.js → proxy-env-hdF2jCzB.js} +1 -1
- package/dist/{push-apns-wRpQOiqI.js → push-apns-COJt9ulg.js} +5 -5
- package/dist/{pw-ai-DP_aLfwB.js → pw-ai-CICkGw_S.js} +18 -18
- package/dist/{pw-ai-DNMjFMqH.js → pw-ai-D2wlMJtN.js} +1 -1
- package/dist/{qmd-manager-DP6UdQoL.js → qmd-manager-CT6j2ntm.js} +20 -20
- package/dist/{qr-cli-7lXeTSek.js → qr-cli-CKPDy5Oq.js} +2 -2
- package/dist/{query-expansion-bOaotSTR.js → query-expansion-DmxOigqX.js} +12 -12
- package/dist/{redact-snapshot-D6W9dz8Q.js → redact-snapshot-C6NRnnHx.js} +1 -1
- package/dist/{register.agent-Bjkfci3x.js → register.agent-D4BrsIbk.js} +97 -97
- package/dist/register.configure-B8qyHllb.js +164 -0
- package/dist/{register.maintenance-ErXA_uuU.js → register.maintenance-x2-poSUG.js} +93 -93
- package/dist/{register.message-vHhFsp94.js → register.message-NeUR5N0O.js} +73 -73
- package/dist/{register.onboard-BgvfFczx.js → register.onboard-Cdh-N4A9.js} +18 -18
- package/dist/{register.setup-Bel3kQD6.js → register.setup-B3ADFeTG.js} +21 -21
- package/dist/{register.status-health-sessions-BEhwEKZV.js → register.status-health-sessions-zRCJ2e-L.js} +86 -86
- package/dist/{reply-9D8ZuOqr.js → reply-BFrmGuXU.js} +149 -149
- package/dist/{rpc-BSqhmmbX.js → rpc-DUJUbW2t.js} +1 -1
- package/dist/{runtime-BHbS8ZHw.js → runtime-DTxtPm0I.js} +3 -3
- package/dist/{runtime-config-collectors-CXxR70dG.js → runtime-config-collectors-BEvlZaJw.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-BkF8zMbl.js → runtime-whatsapp-login.runtime-DLNWSVqX.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-bK_Rub3q.js +32 -0
- package/dist/{sandbox-HvaJFfqL.js → sandbox-C0HLb5d5.js} +18 -18
- package/dist/{sandbox-cli-Cyu9YZx0.js → sandbox-cli-CHpGeoro.js} +25 -25
- package/dist/{secrets-cli-B-aLO0SY.js → secrets-cli-DgQQmw65.js} +11 -11
- package/dist/{security-cli-DZTjYQ-D.js → security-cli-W-7xXDn1.js} +42 -42
- package/dist/{send-BlhxqBI9.js → send-BUFnD0eE.js} +6 -6
- package/dist/{send-BcAN5-hD.js → send-CJrrDXqE.js} +11 -11
- package/dist/{send-CVzWMFl1.js → send-D3BV3zCy.js} +8 -8
- package/dist/{send-C9SevGlM.js → send-Ddtb8gLT.js} +4 -4
- package/dist/{send-7ekhdACO.js → send-tsYgRPrs.js} +5 -5
- package/dist/{server-ChrqZt3H.js → server-Bzgq55gk.js} +20 -20
- package/dist/{server-context-BhpOEoCB.js → server-context-DCpD_bA8.js} +12 -12
- package/dist/{server-lifecycle-BYHavdLd.js → server-lifecycle-B2SzHMkK.js} +2 -2
- package/dist/{server-middleware-BzsDWK_f.js → server-middleware-C_u_M_FK.js} +1 -1
- package/dist/{server-node-events-CN7o3YoN.js → server-node-events-BS0Yy6SL.js} +73 -73
- package/dist/{service-qQCNqvmY.js → service-DhcBUav5.js} +15 -15
- package/dist/{session-CdQJLohq.js → session-D6FZ4tQ8.js} +1 -1
- package/dist/{sessions-Fm2Lx117.js → sessions-CRTJuMXp.js} +15 -15
- package/dist/{shared-CWdEWtsZ.js → shared-BXXG3vT8.js} +3 -3
- package/dist/{shared-26KZSqMI.js → shared-DOUEV_Eq.js} +1 -1
- package/dist/{skill-commands-De4NUpNz.js → skill-commands-BgzZkiJz.js} +5 -5
- package/dist/{skill-scanner-BtrQE0gO.js → skill-scanner-DcrwF2Fr.js} +6 -6
- package/dist/{skills-Sy3onNq_.js → skills-4CjDh8J_.js} +3 -3
- package/dist/{skills-cli-DiN4xbFz.js → skills-cli-CRB7e30Z.js} +5 -5
- package/dist/{skills-install-DksQkSIq.js → skills-install-DOKJADrz.js} +6 -6
- package/dist/{skills-status-BZptMdLx.js → skills-status-BWqCvt0g.js} +1 -1
- package/dist/{slash-commands.runtime-Becs7mLt.js → slash-commands.runtime-DSjg6jg8.js} +11 -11
- package/dist/{slash-dispatch.runtime-B9Ygtzi4.js → slash-dispatch.runtime-CMK_EPYG.js} +6 -6
- package/dist/slash-dispatch.runtime-DcGK4xow.js +113 -0
- package/dist/{slash-skill-commands.runtime-BqcgqTMM.js → slash-skill-commands.runtime-DwvIfTev.js} +15 -15
- package/dist/{status-CaG5OT-N.js → status-BiX1kbtY.js} +26 -26
- package/dist/{status.update-DR8lt70f.js → status.update-QMbtfb38.js} +2 -2
- package/dist/{store-B7o63XvV.js → store-s4dlu9ZQ.js} +5 -5
- package/dist/subagent-registry-runtime-D5KDyK6C.js +113 -0
- package/dist/{subagent-registry-runtime-DL1Wv7nA.js → subagent-registry-runtime-DdGrQBnQ.js} +6 -6
- package/dist/{system-cli-CpyvQedP.js → system-cli-Dz6Xu0cZ.js} +9 -9
- package/dist/{system-run-command-B7_IasTx.js → system-run-command-MvTaWm_5.js} +1 -1
- package/dist/{systemd-DotMzkho.js → systemd-V-rr1rHU.js} +9 -9
- package/dist/{systemd-hints-B1n_Cmj7.js → systemd-hints-BanLoKAv.js} +6 -6
- package/dist/{systemd-linger-la785pXY.js → systemd-linger-CWkk4GBp.js} +1 -1
- package/dist/{tables-B3d05drH.js → tables-D6c57Lrs.js} +1 -1
- package/dist/{tailnet-CSHZafwU.js → tailnet-DuRcvzVE.js} +1 -1
- package/dist/{target-errors-CCgPtzPv.js → target-errors-u7pjywIy.js} +4 -4
- package/dist/{tool-images-Bhog1Yix.js → tool-images-6ceVT7-i.js} +1 -1
- package/dist/{tui-DoROfmXy.js → tui-DIVVG-0Y.js} +6 -6
- package/dist/{tui-cli-Axgy0FU4.js → tui-cli-DdB0uJii.js} +32 -32
- package/dist/{update-xgJWkTh1.js → update-C4nonzOq.js} +3 -3
- package/dist/{update-cli-Dudao0uZ.js → update-cli-B0ekEE4A.js} +102 -102
- package/dist/{update-runner-B_J4-cY6.js → update-runner-gVTOOfSH.js} +16 -16
- package/dist/web-C0Ki9gxL.js +117 -0
- package/dist/{web-Btj-e8kN.js → web-igmw_EhT.js} +6 -6
- package/dist/{webhooks-cli-HRhGQtAq.js → webhooks-cli-D2omOmfe.js} +6 -6
- package/dist/{whatsapp-actions-s6qkgp-7.js → whatsapp-actions-Ds8L0msY.js} +17 -17
- package/dist/{with-timeout-OltBBBXv.js → with-timeout-DW6XbMi-.js} +3 -3
- package/dist/{workspace-B3uGN7Xe.js → workspace-B7XBLNce.js} +1 -1
- package/dist/{workspace-dirs-0V-76Wmq.js → workspace-dirs-Ds-g-s99.js} +1 -1
- package/dist/{ws-BrCPoV7j.js → ws-BNW54x9_.js} +2 -2
- package/dist/{wsl-wYxPJ8EO.js → wsl-CgxzAzRe.js} +2 -2
- package/package.json +1 -1
- package/scripts/create-instance.sh +4 -1
- package/dist/deliver-runtime-CBjIBIWj.js +0 -61
- package/dist/deps-send-discord.runtime-Ch7m0GFO.js +0 -36
- package/dist/deps-send-imessage.runtime-BBXNUMFu.js +0 -35
- package/dist/deps-send-signal.runtime-DVVQsW-M.js +0 -34
- package/dist/deps-send-slack.runtime-Bm60sFNH.js +0 -32
- package/dist/deps-send-whatsapp.runtime-B2i2JcV5.js +0 -118
- package/dist/image-runtime-Csw6M1GE.js +0 -55
- package/dist/register.configure-BEkx9CQc.js +0 -164
- package/dist/runtime-whatsapp-outbound.runtime-CdzmGvC6.js +0 -32
- package/dist/slash-dispatch.runtime-BGHMR1xK.js +0 -113
- package/dist/subagent-registry-runtime-0qZtQB7_.js +0 -113
- package/dist/web-QKn04c6k.js +0 -117
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BBP4yd-2.js";
|
|
2
2
|
import { g as getResolvedLoggerSettings } from "./globals-BawKHR8h.js";
|
|
3
3
|
import { C as sleep, S as shortenHomePath, y as resolveUserPath } from "./utils-CokqDAE4.js";
|
|
4
|
-
import { Kt as analyzeBootstrapBudget, a as buildAuthHealthSummary, ft as loadOpenClawPlugins, gr as resolveBootstrapContextForRun, i as DEFAULT_OAUTH_WARN_MS, o as formatRemainingShort, qt as buildBootstrapInjectionStats, ri as resolveAgentSessionDirs } from "./reply-
|
|
5
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { Kt as analyzeBootstrapBudget, a as buildAuthHealthSummary, ft as loadOpenClawPlugins, gr as resolveBootstrapContextForRun, i as DEFAULT_OAUTH_WARN_MS, o as formatRemainingShort, qt as buildBootstrapInjectionStats, ri as resolveAgentSessionDirs } from "./reply-BFrmGuXU.js";
|
|
5
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-BbO_VBbv.js";
|
|
6
6
|
import { d as defaultRuntime } from "./subsystem-BiaB_3Ei.js";
|
|
7
7
|
import { E as parseAgentSessionKey } from "./session-key-CIXZm7v4.js";
|
|
8
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
8
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-DeEQQJyX.js";
|
|
9
9
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-Cu2obwh9.js";
|
|
10
|
-
import { Bi as DEFAULT_MODEL, Ct as resolveProfileUnusableUntilForDisplay, Mi as CLAUDE_CLI_PROFILE_ID, Ni as CODEX_CLI_PROFILE_ID, Si as updateAuthProfileStoreWithLock, Tt as resolveApiKeyForProfile, Vi as DEFAULT_PROVIDER, _ as resolveHooksGmailModel, a as getModelRefStatus, an as writeConfigFile, h as resolveConfiguredModelRef, rt as resolveApiKeyForProvider, tn as readConfigFileSnapshot, ui as repairOAuthProfileIdMismatch, vi as ensureAuthProfileStore } from "./model-selection-
|
|
10
|
+
import { Bi as DEFAULT_MODEL, Ct as resolveProfileUnusableUntilForDisplay, Mi as CLAUDE_CLI_PROFILE_ID, Ni as CODEX_CLI_PROFILE_ID, Si as updateAuthProfileStoreWithLock, Tt as resolveApiKeyForProfile, Vi as DEFAULT_PROVIDER, _ as resolveHooksGmailModel, a as getModelRefStatus, an as writeConfigFile, h as resolveConfiguredModelRef, rt as resolveApiKeyForProvider, tn as readConfigFileSnapshot, ui as repairOAuthProfileIdMismatch, vi as ensureAuthProfileStore } from "./model-selection-DqSNdtby.js";
|
|
11
11
|
import { A as hasConfiguredSecretInput } from "./registry-CTtrVpZB.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-Gp1OUMPH.js";
|
|
13
13
|
import { t as isTruthyEnvValue$1 } from "./env-CNF75H3c.js";
|
|
14
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
15
|
-
import { $ as resolveMainSessionKey, ct as cleanStaleLockFiles, it as isPrimarySessionTranscriptFileName, o as loadSessionStore, rt as formatSessionArchiveTimestamp } from "./sessions-
|
|
16
|
-
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-
|
|
17
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
18
|
-
import { d as resolveGatewayBindHost, i as isLoopbackHost } from "./ws-
|
|
19
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
20
|
-
import { a as inspectPortUsage, l as formatPortDiagnostics } from "./ports-
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-TLur5wHC.js";
|
|
15
|
+
import { $ as resolveMainSessionKey, ct as cleanStaleLockFiles, it as isPrimarySessionTranscriptFileName, o as loadSessionStore, rt as formatSessionArchiveTimestamp } from "./sessions-CRTJuMXp.js";
|
|
16
|
+
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-DXrnVbBZ.js";
|
|
17
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-C0HLb5d5.js";
|
|
18
|
+
import { d as resolveGatewayBindHost, i as isLoopbackHost } from "./ws-BNW54x9_.js";
|
|
19
|
+
import { a as resolveGatewayAuth } from "./auth-B_YGaEcP.js";
|
|
20
|
+
import { a as inspectPortUsage, l as formatPortDiagnostics } from "./ports-CfTWPxj9.js";
|
|
21
21
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-D24h0XR4.js";
|
|
22
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
23
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
24
|
-
import { l as resolveDmAllowState } from "./pi-tools.policy-
|
|
25
|
-
import { r as isWSLEnv, t as isWSL } from "./wsl-
|
|
26
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
22
|
+
import { n as loadModelCatalog } from "./model-catalog-QXAt20Vy.js";
|
|
23
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-YJ9zjeji.js";
|
|
24
|
+
import { l as resolveDmAllowState } from "./pi-tools.policy-BC7YGcon.js";
|
|
25
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-CgxzAzRe.js";
|
|
26
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-ByC3v1-U.js";
|
|
27
27
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-C7TXsSbx.js";
|
|
28
|
-
import { i as resolveMemoryBackendConfig } from "./memory-cli-
|
|
29
|
-
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-
|
|
28
|
+
import { i as resolveMemoryBackendConfig } from "./memory-cli-CCMIlraX.js";
|
|
29
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-CSnZM2Iw.js";
|
|
30
30
|
import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-B6D1y3V2.js";
|
|
31
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
31
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-BWqCvt0g.js";
|
|
32
32
|
import { t as note$1 } from "./note-BrhOoFjC.js";
|
|
33
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
34
|
-
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
33
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-Cva3QRlu.js";
|
|
34
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-Pex1FHrG.js";
|
|
35
35
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Di8BSZyD.js";
|
|
36
|
-
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
37
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
38
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
39
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
40
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
41
|
-
import { r as healthCommand } from "./health-
|
|
42
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
43
|
-
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
44
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
36
|
+
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-V-rr1rHU.js";
|
|
37
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-DhcBUav5.js";
|
|
38
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BanLoKAv.js";
|
|
39
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-CBcbp7BB.js";
|
|
40
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-XHunUBlV.js";
|
|
41
|
+
import { r as healthCommand } from "./health-B99KJscL.js";
|
|
42
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-D7bG2PFs.js";
|
|
43
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-CJ_25Q5X.js";
|
|
44
|
+
import { t as runGatewayUpdate } from "./update-runner-gVTOOfSH.js";
|
|
45
45
|
import { n as logConfigUpdated } from "./logging-DFBLkPkp.js";
|
|
46
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
46
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-kZl_wy2A.js";
|
|
47
47
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-B-sdIaaa.js";
|
|
48
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
48
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CWkk4GBp.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-CgmosAsr.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CDRZEttH.js";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
54
54
|
import { promisify } from "node:util";
|
|
55
|
-
import
|
|
55
|
+
import fs$1 from "node:fs/promises";
|
|
56
56
|
import { execFile } from "node:child_process";
|
|
57
57
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
58
58
|
|
|
@@ -604,16 +604,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
604
604
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
605
605
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
606
606
|
try {
|
|
607
|
-
await
|
|
607
|
+
await fs$1.mkdir(trashDir, { recursive: true });
|
|
608
608
|
} catch {}
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fs$1.access(params.plistPath);
|
|
611
611
|
} catch {
|
|
612
612
|
return null;
|
|
613
613
|
}
|
|
614
614
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
615
615
|
try {
|
|
616
|
-
await
|
|
616
|
+
await fs$1.rename(params.plistPath, dest);
|
|
617
617
|
return dest;
|
|
618
618
|
} catch {
|
|
619
619
|
return null;
|
|
@@ -1952,11 +1952,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1952
1952
|
argv1: process.argv[1]
|
|
1953
1953
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1954
1954
|
try {
|
|
1955
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1955
|
+
const [schemaStats, uiStats] = await Promise.all([fs$1.stat(schemaPath).catch(() => null), fs$1.stat(uiIndexPath).catch(() => null)]);
|
|
1956
1956
|
if (schemaStats && !uiStats) {
|
|
1957
1957
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1958
1958
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1959
|
-
if (!await
|
|
1959
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1960
1960
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1961
1961
|
return;
|
|
1962
1962
|
}
|
|
@@ -2001,7 +2001,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
2001
2001
|
initialValue: true
|
|
2002
2002
|
})) {
|
|
2003
2003
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
2004
|
-
if (!await
|
|
2004
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
2005
2005
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
2006
2006
|
return;
|
|
2007
2007
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { dt as createPluginLoaderLogger, ft as loadOpenClawPlugins } from "./reply-
|
|
1
|
+
import { dt as createPluginLoaderLogger, ft as loadOpenClawPlugins } from "./reply-BFrmGuXU.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BiaB_3Ei.js";
|
|
3
|
-
import { d as normalizeProviderId, hi as upsertAuthProfile, vi as ensureAuthProfileStore } from "./model-selection-
|
|
4
|
-
import { r as isWSLEnv } from "./wsl-
|
|
3
|
+
import { d as normalizeProviderId, hi as upsertAuthProfile, vi as ensureAuthProfileStore } from "./model-selection-DqSNdtby.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-CgxzAzRe.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-C7TXsSbx.js";
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { f as updateConfig } from "./shared-BXXG3vT8.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-D2V9CMur.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-DFBLkPkp.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { An as isBlockedSpecialUseIpv4Address, Fn as isIpv4Address, Hn as parseCanonicalIpAddress, Ln as isLegacyIpv4Literal, Mn as isCanonicalDottedDecimalIPv4, Un as parseLooseIpAddress, jn as isBlockedSpecialUseIpv6Address, kn as extractEmbeddedIpv4FromIpv6 } from "./model-selection-
|
|
1
|
+
import { An as isBlockedSpecialUseIpv4Address, Fn as isIpv4Address, Hn as parseCanonicalIpAddress, Ln as isLegacyIpv4Literal, Mn as isCanonicalDottedDecimalIPv4, Un as parseLooseIpAddress, jn as isBlockedSpecialUseIpv6Address, kn as extractEmbeddedIpv4FromIpv6 } from "./model-selection-DqSNdtby.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
2
2
|
import { r as isVerbose } from "./globals-BawKHR8h.js";
|
|
3
|
-
import { b as sniffMimeFromBase64 } from "./reply-
|
|
3
|
+
import { b as sniffMimeFromBase64 } from "./reply-BFrmGuXU.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-BiaB_3Ei.js";
|
|
5
5
|
import { E as parseAgentSessionKey } from "./session-key-CIXZm7v4.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-sDsI6gV3.js";
|
|
7
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
8
|
-
import { o as estimateBase64DecodedBytes } from "./tool-images-
|
|
7
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-D6M304Qd.js";
|
|
8
|
+
import { o as estimateBase64DecodedBytes } from "./tool-images-6ceVT7-i.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
|
-
import
|
|
11
|
+
import fs from "node:fs/promises";
|
|
12
12
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
13
13
|
import http2 from "node:http2";
|
|
14
14
|
|
|
@@ -526,7 +526,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
526
526
|
value: {
|
|
527
527
|
teamId,
|
|
528
528
|
keyId,
|
|
529
|
-
privateKey: normalizePrivateKey(await
|
|
529
|
+
privateKey: normalizePrivateKey(await fs.readFile(keyPath, "utf8"))
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
} catch (err) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
2
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-BawKHR8h.js";
|
|
3
3
|
import "./utils-CokqDAE4.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-BbO_VBbv.js";
|
|
5
5
|
import "./subsystem-BiaB_3Ei.js";
|
|
6
|
-
import "./openclaw-root-
|
|
6
|
+
import "./openclaw-root-DeEQQJyX.js";
|
|
7
7
|
import "./logger-fgPrvtjf.js";
|
|
8
8
|
import "./exec-Cu2obwh9.js";
|
|
9
|
-
import "./model-selection-
|
|
9
|
+
import "./model-selection-DqSNdtby.js";
|
|
10
10
|
import "./registry-CTtrVpZB.js";
|
|
11
11
|
import "./github-copilot-token-b6kJVrW-.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-Gp1OUMPH.js";
|
|
@@ -14,20 +14,20 @@ import "./boolean-BsqeuxE6.js";
|
|
|
14
14
|
import "./env-CNF75H3c.js";
|
|
15
15
|
import "./host-env-security-DkAVVuaw.js";
|
|
16
16
|
import "./env-vars-ausEv-bN.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./ws-
|
|
21
|
-
import "./path-alias-guards-
|
|
22
|
-
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-
|
|
17
|
+
import "./manifest-registry-D74D25g7.js";
|
|
18
|
+
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-DBMFZ1ho.js";
|
|
19
|
+
import "./tailnet-DuRcvzVE.js";
|
|
20
|
+
import "./ws-BNW54x9_.js";
|
|
21
|
+
import "./path-alias-guards-BzAaCM2k.js";
|
|
22
|
+
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-1ThfklTP.js";
|
|
23
23
|
import "./redact-sDsI6gV3.js";
|
|
24
24
|
import { r as formatErrorMessage } from "./errors-BkPBAjci.js";
|
|
25
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
26
|
-
import "./proxy-env-
|
|
27
|
-
import "./ports-
|
|
28
|
-
import { n as markPwAiLoaded } from "./whatsapp-actions-
|
|
25
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-mG29clJ9.js";
|
|
26
|
+
import "./proxy-env-hdF2jCzB.js";
|
|
27
|
+
import "./ports-CfTWPxj9.js";
|
|
28
|
+
import { n as markPwAiLoaded } from "./whatsapp-actions-Ds8L0msY.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
32
|
import { chromium, devices } from "playwright-core";
|
|
33
33
|
|
|
@@ -547,9 +547,9 @@ function buildSiblingTempPath(targetPath) {
|
|
|
547
547
|
return path.join(path.dirname(targetPath), `.openclaw-output-${id}-${safeTail}.part`);
|
|
548
548
|
}
|
|
549
549
|
async function writeViaSiblingTempPath(params) {
|
|
550
|
-
const rootDir = await
|
|
550
|
+
const rootDir = await fs.realpath(path.resolve(params.rootDir)).catch(() => path.resolve(params.rootDir));
|
|
551
551
|
const requestedTargetPath = path.resolve(params.targetPath);
|
|
552
|
-
const targetPath = await
|
|
552
|
+
const targetPath = await fs.realpath(path.dirname(requestedTargetPath)).then((realDir) => path.join(realDir, path.basename(requestedTargetPath))).catch(() => requestedTargetPath);
|
|
553
553
|
const relativeTargetPath = path.relative(rootDir, targetPath);
|
|
554
554
|
if (!relativeTargetPath || relativeTargetPath === ".." || relativeTargetPath.startsWith(`..${path.sep}`) || path.isAbsolute(relativeTargetPath)) throw new Error("Target path is outside the allowed root");
|
|
555
555
|
const tempPath = buildSiblingTempPath(targetPath);
|
|
@@ -564,7 +564,7 @@ async function writeViaSiblingTempPath(params) {
|
|
|
564
564
|
});
|
|
565
565
|
renameSucceeded = true;
|
|
566
566
|
} finally {
|
|
567
|
-
if (!renameSucceeded) await
|
|
567
|
+
if (!renameSucceeded) await fs.rm(tempPath, { force: true }).catch(() => {});
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
@@ -955,7 +955,7 @@ async function saveDownloadPayload(download, outPath) {
|
|
|
955
955
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
956
956
|
const requestedPath = outPath?.trim();
|
|
957
957
|
const resolvedOutPath = path.resolve(requestedPath || buildTempDownloadPath(suggested));
|
|
958
|
-
await
|
|
958
|
+
await fs.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
959
959
|
if (!requestedPath) await download.saveAs?.(resolvedOutPath);
|
|
960
960
|
else await writeViaSiblingTempPath({
|
|
961
961
|
rootDir: path.dirname(resolvedOutPath),
|
|
@@ -6,7 +6,7 @@ import "./logger-BfjWMCSD.js";
|
|
|
6
6
|
import { lr as formatCliCommand } from "./model-selection-Dna0Gz1k.js";
|
|
7
7
|
import "./github-copilot-token-BDioPmd6.js";
|
|
8
8
|
import "./legacy-names-DOC03BkU.js";
|
|
9
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
9
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CRBG2YP_.js";
|
|
10
10
|
import "./path-alias-guards-BzvdLvTI.js";
|
|
11
11
|
import "./redact-COik8ET1.js";
|
|
12
12
|
import { r as formatErrorMessage } from "./errors-xt401nuk.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
2
2
|
import "./globals-BawKHR8h.js";
|
|
3
3
|
import "./utils-CokqDAE4.js";
|
|
4
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-BbO_VBbv.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BiaB_3Ei.js";
|
|
6
6
|
import { E as parseAgentSessionKey } from "./session-key-CIXZm7v4.js";
|
|
7
|
-
import "./openclaw-root-
|
|
7
|
+
import "./openclaw-root-DeEQQJyX.js";
|
|
8
8
|
import "./logger-fgPrvtjf.js";
|
|
9
9
|
import "./exec-Cu2obwh9.js";
|
|
10
|
-
import "./path-alias-guards-
|
|
10
|
+
import "./path-alias-guards-BzAaCM2k.js";
|
|
11
11
|
import "./redact-sDsI6gV3.js";
|
|
12
|
-
import { l as writeFileWithinRoot } from "./fs-safe-
|
|
12
|
+
import { l as writeFileWithinRoot } from "./fs-safe-mG29clJ9.js";
|
|
13
13
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Bo-pPi83.js";
|
|
14
14
|
import "./paths-D24h0XR4.js";
|
|
15
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
15
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-DmxOigqX.js";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fs from "node:fs/promises";
|
|
19
19
|
import { spawn } from "node:child_process";
|
|
20
20
|
import readline from "node:readline";
|
|
21
21
|
|
|
@@ -292,10 +292,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
292
292
|
async initialize(mode) {
|
|
293
293
|
this.bootstrapCollections();
|
|
294
294
|
if (mode === "status") return;
|
|
295
|
-
await
|
|
296
|
-
await
|
|
297
|
-
await
|
|
298
|
-
if (this.sessionExporter) await
|
|
295
|
+
await fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
296
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
297
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
298
|
+
if (this.sessionExporter) await fs.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
299
299
|
await this.symlinkSharedModels();
|
|
300
300
|
await this.ensureCollections();
|
|
301
301
|
if (this.qmd.update.onBoot) {
|
|
@@ -388,7 +388,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
388
388
|
}
|
|
389
389
|
async ensureCollectionPath(collection) {
|
|
390
390
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
391
|
-
await
|
|
391
|
+
await fs.mkdir(collection.path, { recursive: true });
|
|
392
392
|
}
|
|
393
393
|
isDirectoryGlobPattern(pattern) {
|
|
394
394
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -832,19 +832,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
832
832
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
833
833
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
834
834
|
try {
|
|
835
|
-
if (!(await
|
|
835
|
+
if (!(await fs.stat(defaultModelsDir).catch((err) => {
|
|
836
836
|
if (err.code === "ENOENT") return null;
|
|
837
837
|
throw err;
|
|
838
838
|
}))?.isDirectory()) return;
|
|
839
839
|
try {
|
|
840
|
-
await
|
|
840
|
+
await fs.lstat(targetModelsDir);
|
|
841
841
|
return;
|
|
842
842
|
} catch {}
|
|
843
843
|
try {
|
|
844
|
-
await
|
|
844
|
+
await fs.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
845
845
|
} catch (symlinkErr) {
|
|
846
846
|
const code = symlinkErr.code;
|
|
847
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
847
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fs.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
848
848
|
else throw symlinkErr;
|
|
849
849
|
}
|
|
850
850
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -1020,7 +1020,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1020
1020
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
1021
1021
|
let handle;
|
|
1022
1022
|
try {
|
|
1023
|
-
handle = await
|
|
1023
|
+
handle = await fs.open(absPath);
|
|
1024
1024
|
} catch (err) {
|
|
1025
1025
|
if (isFileMissingError(err)) return { missing: true };
|
|
1026
1026
|
throw err;
|
|
@@ -1052,7 +1052,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1052
1052
|
try {
|
|
1053
1053
|
return {
|
|
1054
1054
|
missing: false,
|
|
1055
|
-
text: await
|
|
1055
|
+
text: await fs.readFile(absPath, "utf-8")
|
|
1056
1056
|
};
|
|
1057
1057
|
} catch (err) {
|
|
1058
1058
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1069,7 +1069,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1069
1069
|
async exportSessions() {
|
|
1070
1070
|
if (!this.sessionExporter) return;
|
|
1071
1071
|
const exportDir = this.sessionExporter.dir;
|
|
1072
|
-
await
|
|
1072
|
+
await fs.mkdir(exportDir, { recursive: true });
|
|
1073
1073
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
1074
1074
|
const keep = /* @__PURE__ */ new Set();
|
|
1075
1075
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -1095,11 +1095,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1095
1095
|
});
|
|
1096
1096
|
keep.add(target);
|
|
1097
1097
|
}
|
|
1098
|
-
const exported = await
|
|
1098
|
+
const exported = await fs.readdir(exportDir).catch(() => []);
|
|
1099
1099
|
for (const name of exported) {
|
|
1100
1100
|
if (!name.endsWith(".md")) continue;
|
|
1101
1101
|
const full = path.join(exportDir, name);
|
|
1102
|
-
if (!keep.has(full)) await
|
|
1102
|
+
if (!keep.has(full)) await fs.rm(full, { force: true });
|
|
1103
1103
|
}
|
|
1104
1104
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
1105
1105
|
}
|
|
@@ -3,9 +3,9 @@ import { u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
|
3
3
|
import { p as theme } from "./globals-BawKHR8h.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-BiaB_3Ei.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-Cu2obwh9.js";
|
|
6
|
-
import { $t as loadConfig, Bn as isRfc1918Ipv4Address, Cn as secretRefKey, Ft as resolveSecretRefValues, Nn as isCarrierGradeNatIpv4Address } from "./model-selection-
|
|
6
|
+
import { $t as loadConfig, Bn as isRfc1918Ipv4Address, Cn as secretRefKey, Ft as resolveSecretRefValues, Nn as isCarrierGradeNatIpv4Address } from "./model-selection-DqSNdtby.js";
|
|
7
7
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-CTtrVpZB.js";
|
|
8
|
-
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
8
|
+
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-SH5qP5X_.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-3lq_eIAs.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import qrcode from "qrcode-terminal";
|
|
@@ -5,7 +5,7 @@ import { s as resolveSessionTranscriptsDirForAgent } from "./paths-D24h0XR4.js";
|
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs$1 from "node:fs/promises";
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/memory/fs-utils.ts
|
|
@@ -15,7 +15,7 @@ function isFileMissingError(err) {
|
|
|
15
15
|
async function statRegularFile(absPath) {
|
|
16
16
|
let stat;
|
|
17
17
|
try {
|
|
18
|
-
stat = await
|
|
18
|
+
stat = await fs$1.lstat(absPath);
|
|
19
19
|
} catch (err) {
|
|
20
20
|
if (isFileMissingError(err)) return { missing: true };
|
|
21
21
|
throw err;
|
|
@@ -50,7 +50,7 @@ function isMemoryPath(relPath) {
|
|
|
50
50
|
return normalized.startsWith("memory/");
|
|
51
51
|
}
|
|
52
52
|
async function walkDir(dir, files) {
|
|
53
|
-
const entries = await
|
|
53
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true });
|
|
54
54
|
for (const entry of entries) {
|
|
55
55
|
const full = path.join(dir, entry.name);
|
|
56
56
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -70,7 +70,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
70
70
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
71
71
|
const addMarkdownFile = async (absPath) => {
|
|
72
72
|
try {
|
|
73
|
-
const stat = await
|
|
73
|
+
const stat = await fs$1.lstat(absPath);
|
|
74
74
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
75
75
|
if (!absPath.endsWith(".md")) return;
|
|
76
76
|
result.push(absPath);
|
|
@@ -79,12 +79,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
79
79
|
await addMarkdownFile(memoryFile);
|
|
80
80
|
await addMarkdownFile(altMemoryFile);
|
|
81
81
|
try {
|
|
82
|
-
const dirStat = await
|
|
82
|
+
const dirStat = await fs$1.lstat(memoryDir);
|
|
83
83
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
84
84
|
} catch {}
|
|
85
85
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
86
86
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
87
|
-
const stat = await
|
|
87
|
+
const stat = await fs$1.lstat(inputPath);
|
|
88
88
|
if (stat.isSymbolicLink()) continue;
|
|
89
89
|
if (stat.isDirectory()) {
|
|
90
90
|
await walkDir(inputPath, result);
|
|
@@ -98,7 +98,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
98
98
|
for (const entry of result) {
|
|
99
99
|
let key = entry;
|
|
100
100
|
try {
|
|
101
|
-
key = await
|
|
101
|
+
key = await fs$1.realpath(entry);
|
|
102
102
|
} catch {}
|
|
103
103
|
if (seen.has(key)) continue;
|
|
104
104
|
seen.add(key);
|
|
@@ -112,14 +112,14 @@ function hashText(value) {
|
|
|
112
112
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
113
113
|
let stat;
|
|
114
114
|
try {
|
|
115
|
-
stat = await
|
|
115
|
+
stat = await fs$1.stat(absPath);
|
|
116
116
|
} catch (err) {
|
|
117
117
|
if (isFileMissingError(err)) return null;
|
|
118
118
|
throw err;
|
|
119
119
|
}
|
|
120
120
|
let content;
|
|
121
121
|
try {
|
|
122
|
-
content = await
|
|
122
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
123
123
|
} catch (err) {
|
|
124
124
|
if (isFileMissingError(err)) return null;
|
|
125
125
|
throw err;
|
|
@@ -253,7 +253,7 @@ const log = createSubsystemLogger("memory");
|
|
|
253
253
|
async function listSessionFilesForAgent(agentId) {
|
|
254
254
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
255
255
|
try {
|
|
256
|
-
return (await
|
|
256
|
+
return (await fs$1.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
|
|
257
257
|
} catch {
|
|
258
258
|
return [];
|
|
259
259
|
}
|
|
@@ -283,8 +283,8 @@ function extractSessionText(content) {
|
|
|
283
283
|
}
|
|
284
284
|
async function buildSessionEntry(absPath) {
|
|
285
285
|
try {
|
|
286
|
-
const stat = await
|
|
287
|
-
const lines = (await
|
|
286
|
+
const stat = await fs$1.stat(absPath);
|
|
287
|
+
const lines = (await fs$1.readFile(absPath, "utf-8")).split("\n");
|
|
288
288
|
const collected = [];
|
|
289
289
|
const lineMap = [];
|
|
290
290
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BiaB_3Ei.js";
|
|
2
|
-
import { yn as sensitive } from "./model-selection-
|
|
2
|
+
import { yn as sensitive } from "./model-selection-DqSNdtby.js";
|
|
3
3
|
import JSON5 from "json5";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { z } from "zod";
|