@yuf1011/openclaw 2026.3.1 → 2026.3.2
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-DmPvlCpt.js → accounts-1yld8BY0.js} +1 -1
- package/dist/{accounts-UyfWuXKC.js → accounts-Bgjrmxdu.js} +1 -1
- package/dist/{accounts-9Q07LhiR.js → accounts-Bj4Z7jBB.js} +7 -7
- package/dist/{acp-cli-nchqxQfx.js → acp-cli-CmC_BH_F.js} +9 -9
- package/dist/{agent-scope-CaXaKovT.js → agent-scope-B33Scyaw.js} +17 -17
- package/dist/{agents-Bp-on4Ol.js → agents-C1kcu676.js} +14 -14
- package/dist/{agents.config-FcpuK_oH.js → agents.config-bWKr_efI.js} +2 -2
- package/dist/{audio-preflight-HamJvwTU.js → audio-preflight-DrlqJTSX.js} +36 -36
- package/dist/{audio-preflight-O-Z_sN2r.js → audio-preflight-DwqzIQik.js} +4 -4
- package/dist/{audit-BNH972H2.js → audit-BJB-Xpuo.js} +23 -23
- package/dist/{auth-DHBdjHjv.js → auth-D3lXwd01.js} +1 -1
- package/dist/{auth-choice-C9nuVlg2.js → auth-choice-CLaOH6QA.js} +11 -11
- package/dist/{auth-choice-DcdZx6iq.js → auth-choice-DvgigM9u.js} +12 -12
- package/dist/{auth-choice.apply-helpers-CLLeqgyP.js → auth-choice.apply-helpers-DAtOrGrN.js} +1 -1
- package/dist/{auth-profiles-qnck2ozy.js → auth-profiles-D3FyYUSG.js} +16 -16
- package/dist/{auth-token-D7uxXxRA.js → auth-token-5Yewb0K8.js} +1 -1
- package/dist/{banner-KQwBaYzV.js → banner-BBj7LBMv.js} +1 -1
- package/dist/{bindings-vuIL-APZ.js → bindings-CWyuSfs6.js} +1 -1
- package/dist/{bonjour-discovery-BTitpiD_.js → bonjour-discovery-BZKMSZbv.js} +1 -1
- package/dist/{browser-cli-mVm8SiTf.js → browser-cli-Dae28dnV.js} +13 -13
- 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-C-oZgsJl.js → call-BZSWeS2x.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BJEFFNm5.js → channel-account-context-CvN7490K.js} +5 -5
- package/dist/{channel-options-C16VfUrO.js → channel-options-C-f-M1qF.js} +3 -3
- package/dist/{channel-selection-D7I4uyOc.js → channel-selection-DYEAZFR_.js} +1 -1
- package/dist/{channel-web-B1GNR2Dq.js → channel-web-DZsn-oXm.js} +18 -18
- package/dist/{channels-cli-CoYoUIpQ.js → channels-cli-D4rNipxg.js} +94 -94
- package/dist/{channels-status-issues-BDFtJFM3.js → channels-status-issues-BU67pzdy.js} +1 -1
- package/dist/{chrome-BO_XI6hR.js → chrome-CmcvtOeC.js} +4 -4
- package/dist/{chrome-C9dZ_OUB.js → chrome-rCogzAbu.js} +9 -9
- package/dist/{clawbot-cli-DvFI6yxU.js → clawbot-cli-z2dtXuJD.js} +5 -5
- package/dist/cli-CRcQGL-0.js +156 -0
- package/dist/{client-BBiFerkj.js → client-CdetOJti.js} +2 -2
- package/dist/{command-registry-CA18iTa1.js → command-registry-DpWSR6vE.js} +11 -11
- package/dist/{commands-CPLAkZQx.js → commands-DvATdC6x.js} +1 -1
- package/dist/{commands-registry-C9Mi0U--.js → commands-registry-CxF5UuEv.js} +3 -3
- package/dist/{completion-cli-f2rJo_UJ.js → completion-cli-8XhBe_hV.js} +13 -13
- package/dist/{config-cli-D3Kk9KK5.js → config-cli-KR_BJlS_.js} +6 -6
- package/dist/{config-guard-DOLjY0Fe.js → config-guard-CCUlwUmY.js} +2 -2
- package/dist/{config-validation-krJ4BOp0.js → config-validation-DM5GZr_k.js} +2 -2
- package/dist/{configure-BJLfFfRf.js → configure-Cijg4qS_.js} +17 -17
- package/dist/{control-ui-assets-DwsjxukL.js → control-ui-assets-D3JoK4hu.js} +1 -1
- package/dist/{cron-cli-C35CLkzi.js → cron-cli-D9M9O2W6.js} +13 -13
- package/dist/{daemon-cli-YUZ4wWO5.js → daemon-cli-CV7F4tGh.js} +14 -14
- package/dist/{daemon-install-CvpZhhVu.js → daemon-install-DoY06atb.js} +4 -4
- package/dist/{daemon-install-helpers-2MdByqYP.js → daemon-install-helpers-BbDloeys.js} +9 -9
- package/dist/{deliver-B7mNw8Vu.js → deliver-CZEKwM5v.js} +7 -7
- package/dist/{deliver-D1fs1S3v.js → deliver-vfoVGjjK.js} +1 -1
- package/dist/{devices-cli-D62t6AOQ.js → devices-cli-DO3kZZY9.js} +9 -9
- package/dist/{diagnostic-CJIq8gp_.js → diagnostic-Bc4KUKvc.js} +1 -1
- package/dist/{diagnostics-B_N_47d8.js → diagnostics-Cwm6yj6S.js} +5 -5
- package/dist/{directory-cli-gpg8jejU.js → directory-cli-CxHr8BB9.js} +8 -8
- package/dist/{dns-cli-AJOUY2RK.js → dns-cli-D4tVpUzw.js} +5 -5
- package/dist/{dock-BYLdmpt5.js → dock-SjEhga7i.js} +4 -4
- package/dist/{docs-cli-B8nNTRqk.js → docs-cli-Dfg5DloZ.js} +4 -4
- package/dist/{doctor-completion-C8_UEBvL.js → doctor-completion-Cx1hTz2p.js} +2 -2
- package/dist/{doctor-config-flow-BoMU70Ko.js → doctor-config-flow-AkAVT_nE.js} +14 -14
- package/dist/{enable-BIW6JnCC.js → enable-D8_8_z2E.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CklJrJwI.js → exec-approvals-allowlist-CjjR0Lj9.js} +1 -1
- package/dist/{exec-approvals-cli-tXCzQbvW.js → exec-approvals-cli-DzUDeKvk.js} +17 -17
- package/dist/{exec-safe-bin-runtime-policy-BCQlhcV7.js → exec-safe-bin-runtime-policy-BQ4FXdVM.js} +2 -2
- package/dist/{fetch-guard-qBXlHXD_.js → fetch-guard-Cm1MSHHV.js} +1 -1
- package/dist/{fs-safe-Dr8G7a6P.js → fs-safe-CCDIEBbt.js} +16 -16
- package/dist/{gateway-cli-Bl2PLo3y.js → gateway-cli-CZD2FTCR.js} +154 -154
- package/dist/{gateway-rpc-BTAI1-VC.js → gateway-rpc-D_B_ulqD.js} +1 -1
- package/dist/{gemini-auth-DLd8nbvG.js → gemini-auth-i82BVqPg.js} +1 -1
- package/dist/{health-C2cEnW7K.js → health-BayXWmty.js} +13 -13
- package/dist/{hooks-cli-D8BwaEoO.js → hooks-cli-BPDlubbK.js} +90 -90
- package/dist/{hooks-status-Bk97nvaD.js → hooks-status-0v40xw4Q.js} +1 -1
- package/dist/{image-CEFy-HTg.js → image-dzsBaMmN.js} +1 -1
- package/dist/{plugin-sdk/image-ops-CVCbKZRn.js → image-ops-Z3_QkQPj.js} +2 -2
- package/dist/{image-QYMqJ_Cu.js → image-w5Vu5G__.js} +5 -5
- package/dist/{inspect-CmMfTMbw.js → inspect-Br6JEUTm.js} +4 -4
- package/dist/{install-safe-path-DXJW8Vo3.js → install-safe-path-DGYbxO86.js} +19 -19
- package/dist/{installs-Dn2iXOnd.js → installs-Bg1jGMwd.js} +10 -10
- package/dist/{ipv4-CrhBNcyo.js → ipv4-BBc3Sa_a.js} +1 -1
- package/dist/{ir-DYUcUO1t.js → ir-Dhd5EWHO.js} +6 -6
- package/dist/{lifecycle-core-CkOjXGl1.js → lifecycle-core-DrcOD7_e.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-iKHeLTM9.js → local-roots-Cyat99dT.js} +3 -3
- package/dist/{login-BdEIPD3M.js → login-CbEdSE8o.js} +3 -3
- package/dist/{login-qr-BCrD2_fy.js → login-qr-DK2E0Fk5.js} +6 -6
- package/dist/{logs-cli-BUI8frD6.js → logs-cli-DX5sTx_Z.js} +10 -10
- package/dist/{manager-SsdELHU2.js → manager-DdwvQQ2A.js} +14 -14
- package/dist/{manifest-registry-YC37UceR.js → manifest-registry-DRMtnPEQ.js} +1 -1
- package/dist/{markdown-tables-BvxYO6Nz.js → markdown-tables-DhrZVWff.js} +1 -1
- package/dist/{memory-cli-DPD3Jnkc.js → memory-cli-CdB1ptzd.js} +12 -12
- package/dist/{model-2aL8NZKc.js → model-AKh96s7h.js} +2 -2
- package/dist/{model-catalog-BL39Jul_.js → model-catalog-el1FVV5q.js} +3 -3
- package/dist/{model-picker-wenGgGVr.js → model-picker-BzzwN4eR.js} +4 -4
- package/dist/{models-BGvQqrQE.js → models-CyBxXuv1.js} +17 -17
- package/dist/{models-cli-fQ4IbjQs.js → models-cli-q5yywUVm.js} +80 -80
- package/dist/{models-config-1JCLlVs8.js → models-config-CGGxd1w2.js} +6 -6
- package/dist/{net-CWUwrVfz.js → net-C63UEjlQ.js} +2 -2
- package/dist/{node-cli-DHw9Zenb.js → node-cli-DeauKipI.js} +36 -36
- package/dist/{node-service-sJ_Rmbk7.js → node-service-CVNXtZeJ.js} +1 -1
- package/dist/{nodes-cli-BgDJY7us.js → nodes-cli-QVwX4ULT.js} +15 -15
- package/dist/{nodes-screen-BV63eC7o.js → nodes-screen-CHgcakcH.js} +5 -5
- package/dist/{npm-pack-install-C2E_zBU6.js → npm-pack-install-ChrCCIJD.js} +16 -16
- package/dist/{npm-resolution-B6xDbagk.js → npm-resolution-CvPKK0T0.js} +3 -3
- package/dist/{onboard-BBEWORGd.js → onboard-G39xAbGJ.js} +6 -6
- package/dist/{onboard-channels-DwWwZbhS.js → onboard-channels-BfGGowDI.js} +20 -20
- package/dist/{onboard-custom-CFuF05H2.js → onboard-custom-D_J_UV_B.js} +4 -4
- package/dist/{onboard-helpers-BnUKgDFe.js → onboard-helpers-CzMlu78H.js} +10 -10
- package/dist/{onboard-hooks-Te3_nPpe.js → onboard-hooks-gniWP7px.js} +4 -4
- package/dist/{onboard-remote-BgO_SWWa.js → onboard-remote-BpvvuHBw.js} +3 -3
- package/dist/{onboard-skills-CbTLB4cs.js → onboard-skills-CTY-DPhb.js} +4 -4
- package/dist/{onboarding-1PceVUnc.js → onboarding-BVt6sz-b.js} +13 -13
- package/dist/{onboarding.finalize-B4cr4Txq.js → onboarding.finalize-UFHE8pEj.js} +89 -89
- package/dist/{onboarding.gateway-config-BwYXTzcK.js → onboarding.gateway-config-1awD8XGu.js} +18 -18
- package/dist/{openai-model-default-CUxaHKMh.js → openai-model-default-Dy_e_lUy.js} +2 -2
- package/dist/{openclaw-root-DW-p-saf.js → openclaw-root-Cw_9FXUV.js} +8 -8
- package/dist/{plugin-sdk/outbound-attachment-BXtgutRQ.js → outbound-attachment-DmkmJ2Lc.js} +2 -2
- package/dist/{outbound-DXu6wxmi.js → outbound-m3MjDRvf.js} +4 -4
- package/dist/{pairing-cli-tFQQnCAT.js → pairing-cli-GoI4I4if.js} +9 -9
- package/dist/{pairing-labels-rAuS5aeV.js → pairing-labels-ZYWr_HV3.js} +1 -1
- package/dist/{pairing-store-_x0NQEfq.js → pairing-store-C49WkfCi.js} +2 -2
- package/dist/{pairing-token-PHk3tBUz.js → pairing-token-CtND5y_8.js} +7 -7
- package/dist/{path-alias-guards-z2hGNiIs.js → path-alias-guards-DEakBSGU.js} +3 -3
- package/dist/{path-safety-DBBDWKy1.js → path-safety-DeVxBPre.js} +1 -1
- package/dist/{paths-rIq72jC_.js → paths-BVyklYXR.js} +9 -9
- package/dist/{pi-embedded-fLS3EStS.js → pi-embedded-BCr5zWiT.js} +21 -21
- package/dist/{pi-embedded-helpers-BUce0Iqb.js → pi-embedded-helpers-BYXUXgYn.js} +6 -6
- package/dist/{pi-embedded-helpers-C_cbk2KW.js → pi-embedded-helpers-Dv3HZWfJ.js} +4 -4
- package/dist/{pi-model-discovery-BvGj4Ik8.js → pi-model-discovery-iNwnGd3m.js} +1 -1
- package/dist/{pi-tools.policy-oE4ZdHFF.js → pi-tools.policy-B5HqMPIq.js} +5 -5
- package/dist/{plugin-auto-enable-B2Kx-xH3.js → plugin-auto-enable-gT66Wggm.js} +3 -3
- package/dist/{plugin-registry-Cct_UdcP.js → plugin-registry-w2gqdvm-.js} +3 -3
- package/dist/plugin-sdk/{accounts-DFBfxw6M.js → accounts-DCDKnmrW.js} +1 -1
- package/dist/plugin-sdk/{accounts-WdYXo32T.js → accounts-DcjX_Olt.js} +1 -1
- package/dist/plugin-sdk/{accounts-CK8zoDbM.js → accounts-wG7sdxrI.js} +2 -2
- package/dist/plugin-sdk/{active-listener-PQ_Tmkac.js → active-listener-CZu4-ue_.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-Mc1svPAJ.js → agent-scope-wi2hKUar.js} +1 -1
- package/dist/plugin-sdk/{api-key-rotation-0R4c0BKy.js → api-key-rotation-C50AZ4HQ.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DeKzW6t7.js → audio-preflight-CWobJe2m.js} +29 -29
- package/dist/plugin-sdk/{bindings-Doyw0dbC.js → bindings-B2InXUgN.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WTkBRQhD.js → channel-activity-DhlOJslm.js} +3 -3
- package/dist/plugin-sdk/{channel-web-O8qsWnj-.js → channel-web-b5Y6qjaX.js} +21 -21
- package/dist/plugin-sdk/{chrome-DBhifTKw.js → chrome-BE2vPym_.js} +6 -6
- package/dist/plugin-sdk/{chunk-1puCfOZX.js → chunk-BKXLkSr_.js} +1 -1
- package/dist/plugin-sdk/{command-format-Bf4OYMmN.js → command-format-D4smYdZ1.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Bv5URQN-.js → commands-registry-CRAjZbMZ.js} +4 -4
- package/dist/plugin-sdk/{config-CCVvq2-2.js → config-CuVxnKd5.js} +8 -8
- package/dist/plugin-sdk/{deliver-Du8jMk_2.js → deliver-C-QqkAxt.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-8HfhvtLS.js → diagnostic-DF5kk6Ha.js} +2 -2
- package/dist/plugin-sdk/{dock-1qTnXc22.js → dock-B6o_YOXU.js} +5 -5
- package/dist/plugin-sdk/{errors-D6sYxFmI.js → errors--NHuiZti.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CfkACfHH.js → fetch-guard-IzK0s4EP.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DOZJUWUV.js → fs-safe-DCNfFQXN.js} +2 -2
- package/dist/plugin-sdk/{image-p3JhFE-q.js → image-Ckh39rIc.js} +6 -6
- package/dist/{image-ops-toDXWGMw.js → plugin-sdk/image-ops-c8-5iEn1.js} +12 -12
- package/dist/plugin-sdk/index.js +58 -58
- package/dist/plugin-sdk/{ir-EtEIlzCl.js → ir-KJ8B3heg.js} +5 -5
- package/dist/plugin-sdk/{local-roots-DcjujrLt.js → local-roots-oFw9xB3W.js} +4 -4
- package/dist/plugin-sdk/{login-CaiyG7fL.js → login-BpSGWRAn.js} +6 -6
- package/dist/plugin-sdk/{login-qr-qR_0F2uz.js → login-qr-BcEHe2l6.js} +6 -6
- package/dist/plugin-sdk/{manager-DHHJPm4z.js → manager-Mk7Al8tR.js} +9 -9
- package/dist/plugin-sdk/{markdown-tables-DfInfLzW.js → markdown-tables-CgoIgjwH.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CTmZmMGO.js → message-channel-B_avrhM-.js} +1 -1
- package/dist/plugin-sdk/{outbound-Csej8W-L.js → outbound-5ejc0abd.js} +6 -6
- package/dist/{outbound-attachment-Bi7QWVn5.js → plugin-sdk/outbound-attachment-DJZwfefq.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-mPZl8VD3.js → path-alias-guards-dQJhySnm.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-C9JVi9wk.js → pi-embedded-helpers-ChvwOu5y.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-BS3RfvIw.js → pi-model-discovery-DgYhmlNG.js} +1 -1
- package/dist/plugin-sdk/{plugins-kAeBKYoU.js → plugins-43A_vro3.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-DczkhBlG.js → pw-ai-B_Eskool.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-QzGHpfme.js → qmd-manager-D8hOneSc.js} +4 -4
- package/dist/plugin-sdk/{query-expansion-asHSnsMm.js → query-expansion-Dy2RqhGj.js} +2 -2
- package/dist/plugin-sdk/{redact-Bd2SiHkr.js → redact-C1cyUA71.js} +1 -1
- package/dist/plugin-sdk/{replies-FfnAJgf7.js → replies-CnQaxnV4.js} +3 -3
- package/dist/plugin-sdk/{reply-COGOw5Ek.js → reply-BwE-soc9.js} +86 -86
- package/dist/plugin-sdk/{reply-prefix-CrfFpZVa.js → reply-prefix-DCQtho4T.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BVT4EVrH.js → resolve-outbound-target-Dq9I2GaW.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-CXAS6e8J.js → resolve-route-CJvtv5t9.js} +3 -3
- package/dist/plugin-sdk/{retry-9m7s9V95.js → retry-C-lOGVgE.js} +1 -1
- package/dist/plugin-sdk/{runner-C6ylai6Z.js → runner-DsccFtkb.js} +9 -9
- package/dist/plugin-sdk/{send-CxsVHVAX.js → send-2gyvX72Q.js} +12 -12
- package/dist/plugin-sdk/{send-D_ho4big.js → send-BMhePV_4.js} +10 -10
- package/dist/plugin-sdk/{send-alW6jFu1.js → send-BeYIngcm.js} +6 -6
- package/dist/plugin-sdk/{send-BnfdAJbL.js → send-BlEAcyDg.js} +8 -8
- package/dist/plugin-sdk/{send-CSOzYSNF.js → send-DeNtjymi.js} +7 -7
- package/dist/plugin-sdk/{session-Bqv8qF6e.js → session-D2AiJJYy.js} +4 -4
- package/dist/plugin-sdk/{sessions-BuxRaCyw.js → sessions-zmPjX-cD.js} +5 -5
- package/dist/plugin-sdk/{skill-commands-BpaJj_N6.js → skill-commands-BTNdJ6Cr.js} +4 -4
- package/dist/plugin-sdk/{skills-BFujt10E.js → skills-BkGa5_yy.js} +7 -7
- package/dist/plugin-sdk/{ssrf-Q9AqFBuw.js → ssrf-B_Q2k5gm.js} +1 -1
- package/dist/plugin-sdk/{store-BKCEQ-Gy.js → store-DlIx0Ljh.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Dv9ZY_DW.js → subsystem-D7KkLxSJ.js} +2 -2
- package/dist/plugin-sdk/{tables-CiLC1-xu.js → tables-BbXRskgD.js} +1 -1
- package/dist/plugin-sdk/{target-errors-D28xCQm8.js → target-errors-BvPFqIjq.js} +2 -2
- package/dist/plugin-sdk/{tokens-V3CP7Ge2.js → tokens-CVvkQM_V.js} +1 -1
- package/dist/plugin-sdk/{tool-images-Cog7Gmdl.js → tool-images-aK1slaVl.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DG_vuYxb.js → tool-loop-detection-BP9LIuuY.js} +1 -1
- package/dist/plugin-sdk/web-CH6ZZsT2.js +67 -0
- package/dist/plugin-sdk/{whatsapp-actions-WLB-KfIA.js → whatsapp-actions-ChLODgBj.js} +22 -22
- package/dist/{plugins-CiBXm-v1.js → plugins-Cb8JznN4.js} +2 -2
- package/dist/{plugins-cli-BGpk_mxe.js → plugins-cli-BQAyU_if.js} +86 -86
- package/dist/{ports-Z6QFaVRW.js → ports-4J8-_4SF.js} +2 -2
- package/dist/{ports-DMnEiLQa.js → ports-Ds33lE1B.js} +1 -1
- package/dist/{program-Aj-MXGpl.js → program-D5ThaA_K.js} +84 -84
- package/dist/{prompt-select-styled-g85rM8c_.js → prompt-select-styled-B1xopDJb.js} +39 -39
- package/dist/{provider-auth-helpers-JeXDbyPW.js → provider-auth-helpers-C-Vm3aEA.js} +5 -5
- package/dist/{push-apns-BsK6rZMS.js → push-apns-C0YjpY9N.js} +5 -5
- package/dist/{pw-ai-CoN0pihK.js → pw-ai-DloIDud2.js} +16 -16
- package/dist/{pw-ai-BDzqpsq_.js → pw-ai-PpF146vO.js} +1 -1
- package/dist/{qmd-manager-D8eAzrZY.js → qmd-manager-Du0tEQ-8.js} +19 -19
- package/dist/{qr-cli-ovb8Q1J9.js → qr-cli-DJ6LqChA.js} +1 -1
- package/dist/{query-expansion-B3FVYwN6.js → query-expansion-CwyL4z9j.js} +12 -12
- package/dist/{redact-snapshot-zDjp0HRV.js → redact-snapshot-W7mO-kGu.js} +1 -1
- package/dist/{register.agent-Bcd3jYoI.js → register.agent-CdV5WCcn.js} +96 -96
- package/dist/register.configure-265nQbq2.js +162 -0
- package/dist/{register.maintenance-DE9PWWja.js → register.maintenance-_pksRHI5.js} +97 -97
- package/dist/{register.message-CNcokMYT.js → register.message-BIuzvBK0.js} +77 -77
- package/dist/{register.onboard-lN_aaVOZ.js → register.onboard-DEl8fY1G.js} +19 -19
- package/dist/{register.setup-B6EaaMq4.js → register.setup-Ig_gGvdF.js} +22 -22
- package/dist/{register.status-health-sessions-CboXR8WN.js → register.status-health-sessions-DdHiFiQ8.js} +89 -89
- package/dist/{register.subclis-BkGATlmp.js → register.subclis-FZKDXxxL.js} +31 -31
- package/dist/{replies-COLVQezU.js → replies-BAqKfdVk.js} +1 -1
- package/dist/{reply-prefix-BLgL5eLu.js → reply-prefix-Q23IMgrt.js} +1 -1
- package/dist/{resolve-route-B0u78v_W.js → resolve-route-DvJmdJ7B.js} +2 -2
- package/dist/{rpc-BWpHds0n.js → rpc-u34pBflj.js} +1 -1
- package/dist/{run-main-dqrwXIoU.js → run-main-CAQXzgkK.js} +94 -94
- package/dist/{runner-DcvLsEbZ.js → runner-C9RTcw_0.js} +21 -21
- package/dist/{runner-CsGs9PzD.js → runner-Q4wBIACO.js} +1 -1
- package/dist/{runtime-x5BqK1kr.js → runtime-CnfENRVM.js} +2 -2
- package/dist/{sandbox-B-wAH3en.js → sandbox-BCxHjLQS.js} +22 -22
- package/dist/{sandbox-cli-CegfJFAq.js → sandbox-cli-DnMnYrDy.js} +26 -26
- package/dist/{secrets-cli-CAIsSLya.js → secrets-cli-Bj6VgalW.js} +11 -11
- package/dist/{security-cli-DESlyONm.js → security-cli-DctG0oZz.js} +43 -43
- package/dist/{send-sEXu0p87.js → send-CVj6uOGI.js} +7 -7
- package/dist/{send-CgATYx8D.js → send-DE17gd7F.js} +6 -6
- package/dist/{send-DZ9JXWaZ.js → send-oJraTp-6.js} +6 -6
- package/dist/{send-DY7qzDta.js → send-snKm1H4E.js} +13 -13
- package/dist/{send-OJbtfeWf.js → send-zp5AuaHE.js} +5 -5
- package/dist/{server-C9NDdRkP.js → server-CRa1oZfY.js} +19 -19
- package/dist/{server-context-YevsHXaf.js → server-context-RDkXuB9P.js} +13 -13
- package/dist/{server-lifecycle-BVWplIzw.js → server-lifecycle-CQk8mryT.js} +2 -2
- package/dist/{server-middleware-DJQVLZmo.js → server-middleware-DSIQAJZd.js} +1 -1
- package/dist/{server-node-events-DH8c0jEn.js → server-node-events-DqzBAn3Q.js} +77 -77
- package/dist/{service-oBfCq-qK.js → service-B0CzjIz2.js} +15 -15
- package/dist/{session-C8fYTfkG.js → session-Crum9mSn.js} +1 -1
- package/dist/{session-utils-Bt_Cx0zH.js → session-utils-dd1SrJKT.js} +6 -6
- package/dist/{sessions-DWdz1xc4.js → sessions-9J-stFWk.js} +4 -4
- package/dist/{sessions-IKxRT_G9.js → sessions-aGmwHv0g.js} +14 -14
- package/dist/{shared-Q1aRCgme.js → shared-5VPKZal4.js} +1 -1
- package/dist/{shared-BqFzJLjd.js → shared-CnARKvCa.js} +2 -2
- package/dist/{skill-commands-KdMeqg8g.js → skill-commands-B4-CgHlk.js} +5 -5
- package/dist/{skill-scanner-YaxFgz1o.js → skill-scanner-DW9hSz_J.js} +5 -5
- package/dist/{skills-DjfCNN-j.js → skills-BkqPPXlw.js} +3 -3
- package/dist/{skills-cli-6EDVmjHz.js → skills-cli-DPSjkS2r.js} +5 -5
- package/dist/{skills-install-CdZGnrOv.js → skills-install-m034GRjq.js} +5 -5
- package/dist/{skills-status-DZfbtXdy.js → skills-status--02_4mXJ.js} +1 -1
- package/dist/{ssrf-6Hb9TNxM.js → ssrf-DQPhGAdC.js} +1 -1
- package/dist/{status-CN8vEkdO.js → status-DA7gKGeU.js} +25 -25
- package/dist/{status.update-B0a3iQjj.js → status.update-DEPhS3kj.js} +2 -2
- package/dist/{store-DVxkLZrN.js → store-BnsBHp0V.js} +5 -5
- package/dist/{subagent-registry-CY8NG6Io.js → subagent-registry-CrbLe3Kg.js} +153 -153
- package/dist/{system-cli-CWbpLljA.js → system-cli-DwVWo2kb.js} +10 -10
- package/dist/{system-run-command-h3aZvaIL.js → system-run-command-BD_JuCLP.js} +1 -1
- package/dist/{systemd-DpV5A3Tl.js → systemd-B48mxZjg.js} +9 -9
- package/dist/{systemd-hints-OqRJ_OnZ.js → systemd-hints-CupZgKik.js} +6 -6
- package/dist/{systemd-linger-vRX-cxeO.js → systemd-linger-663aGc_T.js} +1 -1
- package/dist/{tables-CsW7naec.js → tables-CuPXwWh2.js} +1 -1
- package/dist/{tailnet-D3oqrI3q.js → tailnet-DRVktntg.js} +1 -1
- package/dist/{target-errors-yilhMKWi.js → target-errors-D4aLwsCU.js} +4 -4
- package/dist/{tool-images-Bo0IcPMG.js → tool-images-0PIXjd8w.js} +1 -1
- package/dist/{tui-2gCoYUUs.js → tui-14zIh3zr.js} +6 -6
- package/dist/{tui-cli-BNY2WcIM.js → tui-cli-BjHx8K12.js} +34 -34
- package/dist/{update-NahlryOD.js → update-VaL_prKP.js} +3 -3
- package/dist/{update-cli-By_RMYHj.js → update-cli-ZVB5K666.js} +106 -106
- package/dist/{update-runner-BoksUWgy.js → update-runner-sefNoN9G.js} +15 -15
- package/dist/web-BsX8l9H1.js +116 -0
- package/dist/{web-3ZvmLaE3.js → web-Ch0JHP2x.js} +6 -6
- package/dist/{webhooks-cli-C3a8VMoI.js → webhooks-cli-BUVjs-bx.js} +6 -6
- package/dist/{whatsapp-actions-D69bEFbN.js → whatsapp-actions-D-q8r2i5.js} +19 -19
- package/dist/{with-timeout-DOYJYBpu.js → with-timeout-ChQUbgyO.js} +3 -3
- package/dist/{workspace-BhsnAjlE.js → workspace-B-5q5HFZ.js} +1 -1
- package/dist/{workspace-dirs-BC9tU92n.js → workspace-dirs-Mb8gX4pT.js} +1 -1
- package/dist/{wsl-Din03sl7.js → wsl-D9-kubbW.js} +2 -2
- package/package.json +1 -1
- package/dist/cli-BfrcQXmk.js +0 -156
- package/dist/plugin-sdk/web-DPBNX3_v.js +0 -67
- package/dist/register.configure-15nzK_2U.js +0 -162
- package/dist/web-BTc3UuX6.js +0 -116
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as getActivePluginRegistry, Z as escapeRegExp } from "./entry.js";
|
|
3
|
-
import { cr as resolveConfiguredModelRef, gi as DEFAULT_PROVIDER, hi as DEFAULT_MODEL } from "./auth-profiles-
|
|
4
|
-
import { n as listChannelDocks } from "./dock-
|
|
3
|
+
import { cr as resolveConfiguredModelRef, gi as DEFAULT_PROVIDER, hi as DEFAULT_MODEL } from "./auth-profiles-D3FyYUSG.js";
|
|
4
|
+
import { n as listChannelDocks } from "./dock-SjEhga7i.js";
|
|
5
5
|
import { i as listThinkingLevels } from "./thinking-DW6CKWyf.js";
|
|
6
|
-
import { t as isCommandFlagEnabled } from "./commands-
|
|
6
|
+
import { t as isCommandFlagEnabled } from "./commands-DvATdC6x.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/commands-args.ts
|
|
9
9
|
function normalizeArgValue(value) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $t as resolveStateDir, Ot as theme, rt as pathExists, u as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
4
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
5
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
4
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-FZKDXxxL.js";
|
|
5
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-DpWSR6vE.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-1ShjEUzz.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
10
|
import { Option } from "commander";
|
|
11
11
|
|
|
12
12
|
//#region src/cli/completion-fish.ts
|
|
@@ -89,11 +89,11 @@ function getCompletionScript(shell, program) {
|
|
|
89
89
|
}
|
|
90
90
|
async function writeCompletionCache(params) {
|
|
91
91
|
const cacheDir = resolveCompletionCacheDir();
|
|
92
|
-
await
|
|
92
|
+
await fs.mkdir(cacheDir, { recursive: true });
|
|
93
93
|
for (const shell of params.shells) {
|
|
94
94
|
const script = getCompletionScript(shell, params.program);
|
|
95
95
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
96
|
-
await
|
|
96
|
+
await fs.writeFile(targetPath, script, "utf-8");
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -151,7 +151,7 @@ async function isCompletionInstalled(shell, binName = "openclaw") {
|
|
|
151
151
|
if (!await pathExists(profilePath)) return false;
|
|
152
152
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
153
153
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
154
|
-
return (await
|
|
154
|
+
return (await fs.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
157
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -161,7 +161,7 @@ async function usesSlowDynamicCompletion(shell, binName = "openclaw") {
|
|
|
161
161
|
const profilePath = getShellProfilePath(shell);
|
|
162
162
|
if (!await pathExists(profilePath)) return false;
|
|
163
163
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
164
|
-
const lines = (await
|
|
164
|
+
const lines = (await fs.readFile(profilePath, "utf-8")).split("\n");
|
|
165
165
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
166
166
|
return false;
|
|
167
167
|
}
|
|
@@ -210,7 +210,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
210
210
|
} else if (shell === "bash") {
|
|
211
211
|
profilePath = path.join(home, ".bashrc");
|
|
212
212
|
try {
|
|
213
|
-
await
|
|
213
|
+
await fs.access(profilePath);
|
|
214
214
|
} catch {
|
|
215
215
|
profilePath = path.join(home, ".bash_profile");
|
|
216
216
|
}
|
|
@@ -224,13 +224,13 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
224
224
|
}
|
|
225
225
|
try {
|
|
226
226
|
try {
|
|
227
|
-
await
|
|
227
|
+
await fs.access(profilePath);
|
|
228
228
|
} catch {
|
|
229
229
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
230
|
-
await
|
|
231
|
-
await
|
|
230
|
+
await fs.mkdir(path.dirname(profilePath), { recursive: true });
|
|
231
|
+
await fs.writeFile(profilePath, "", "utf-8");
|
|
232
232
|
}
|
|
233
|
-
const update = updateCompletionProfile(await
|
|
233
|
+
const update = updateCompletionProfile(await fs.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
234
234
|
if (!update.changed) {
|
|
235
235
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
236
236
|
return;
|
|
@@ -239,7 +239,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
239
239
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
240
240
|
console.log(`${action} completion in ${profilePath}...`);
|
|
241
241
|
}
|
|
242
|
-
await
|
|
242
|
+
await fs.writeFile(profilePath, update.next, "utf-8");
|
|
243
243
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
244
244
|
} catch (err) {
|
|
245
245
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Ot as theme, _t as info, gt as danger, ut as shortenHomePath, v as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { L as writeConfigFile, N as readConfigFileSnapshot } from "./auth-profiles-
|
|
2
|
+
import { L as writeConfigFile, N as readConfigFileSnapshot } from "./auth-profiles-D3FyYUSG.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-B33Scyaw.js";
|
|
5
5
|
import { _ as isBlockedObjectKey } from "./session-key-qmb11-mH.js";
|
|
6
|
-
import "./openclaw-root-
|
|
6
|
+
import "./openclaw-root-Cw_9FXUV.js";
|
|
7
7
|
import "./exec-BhaMholX.js";
|
|
8
8
|
import "./github-copilot-token-DKRiM6oj.js";
|
|
9
9
|
import "./host-env-security-BM8ktVlo.js";
|
|
10
10
|
import "./version-CFqP9tDG.js";
|
|
11
11
|
import "./env-vars-kURZgejA.js";
|
|
12
|
-
import "./manifest-registry-
|
|
12
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
14
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
14
|
+
import { t as redactConfigObject } from "./redact-snapshot-W7mO-kGu.js";
|
|
15
15
|
import JSON5 from "json5";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/config-cli.ts
|
|
@@ -237,7 +237,7 @@ async function runConfigUnset(opts) {
|
|
|
237
237
|
}
|
|
238
238
|
function registerConfigCli(program) {
|
|
239
239
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
240
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
240
|
+
const { configureCommandFromSectionsArg } = await import("./configure-Cijg4qS_.js").then((n) => n.t);
|
|
241
241
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
242
242
|
});
|
|
243
243
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Dt as isRich, Et as colorize, Ot as theme, _n as shouldMigrateStateFromPath, ut as shortenHomePath } from "./entry.js";
|
|
3
|
-
import { N as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { N as readConfigFileSnapshot } from "./auth-profiles-D3FyYUSG.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
5
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
5
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-AkAVT_nE.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/program/config-guard.ts
|
|
8
8
|
var config_guard_exports = /* @__PURE__ */ __exportAll({ ensureConfigReady: () => ensureConfigReady });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { N as readConfigFileSnapshot } from "./auth-profiles-
|
|
1
|
+
import { N as readConfigFileSnapshot } from "./auth-profiles-D3FyYUSG.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
3
3
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId } from "./session-key-qmb11-mH.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Cb8JznN4.js";
|
|
5
5
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BgzIw8DX.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/agents.bindings.ts
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Rt as CONFIG_PATH, qt as resolveGatewayPort, st as resolveUserPath, ut as shortenHomePath, v as defaultRuntime } from "./entry.js";
|
|
3
|
-
import { L as writeConfigFile, Ln as ensureAuthProfileStore, N as readConfigFileSnapshot, j as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { L as writeConfigFile, Ln as ensureAuthProfileStore, N as readConfigFileSnapshot, j as loadConfig } from "./auth-profiles-D3FyYUSG.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
5
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
5
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Cb8JznN4.js";
|
|
6
6
|
import { a as findTailscaleBinary } from "./tailscale-Cz0j5H8x.js";
|
|
7
7
|
import { n as withProgress } from "./progress-bvyZjsUc.js";
|
|
8
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
8
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-CzMlu78H.js";
|
|
9
9
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-wsroINzm.js";
|
|
10
10
|
import { t as note$1 } from "./note-DQ26Rw8p.js";
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-CfOu9uZi.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-b-zJxplB.js";
|
|
13
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
13
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-BfGGowDI.js";
|
|
14
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BbDloeys.js";
|
|
15
15
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CeI4hRxg.js";
|
|
16
|
-
import { t as resolveGatewayService } from "./service-
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
18
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
16
|
+
import { t as resolveGatewayService } from "./service-B0CzjIz2.js";
|
|
17
|
+
import { r as healthCommand } from "./health-BayXWmty.js";
|
|
18
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-D3JoK4hu.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-DY1J23zp.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BIur2SY-.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
22
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
23
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
24
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
25
|
-
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CLaOH6QA.js";
|
|
22
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-BzzwN4eR.js";
|
|
23
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-663aGc_T.js";
|
|
24
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-D_J_UV_B.js";
|
|
25
|
+
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-BBc3Sa_a.js";
|
|
26
26
|
import { t as formatHealthCheckFailure } from "./health-format-CEoJgD_R.js";
|
|
27
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
28
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
27
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-BpvvuHBw.js";
|
|
28
|
+
import { n as setupSkills } from "./onboard-skills-CTY-DPhb.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
32
32
|
|
|
33
33
|
//#region src/commands/configure.shared.ts
|
|
@@ -747,7 +747,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
747
747
|
].map((name) => path.join(workspaceDir, name));
|
|
748
748
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
749
749
|
try {
|
|
750
|
-
await
|
|
750
|
+
await fs.access(candidate);
|
|
751
751
|
return true;
|
|
752
752
|
} catch {
|
|
753
753
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { n as resolveOpenClawPackageRootSync, t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
2
|
+
import { n as resolveOpenClawPackageRootSync, t as resolveOpenClawPackageRoot } from "./openclaw-root-Cw_9FXUV.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BhaMholX.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { Dt as isRich, Et as colorize, Ot as theme, gt as danger, v as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
2
|
+
import "./auth-profiles-D3FyYUSG.js";
|
|
3
|
+
import "./agent-scope-B33Scyaw.js";
|
|
4
4
|
import { d as sanitizeAgentId } from "./session-key-qmb11-mH.js";
|
|
5
|
-
import "./openclaw-root-
|
|
5
|
+
import "./openclaw-root-Cw_9FXUV.js";
|
|
6
6
|
import "./exec-BhaMholX.js";
|
|
7
7
|
import "./github-copilot-token-DKRiM6oj.js";
|
|
8
8
|
import "./host-env-security-BM8ktVlo.js";
|
|
9
9
|
import "./version-CFqP9tDG.js";
|
|
10
10
|
import "./env-vars-kURZgejA.js";
|
|
11
|
-
import "./manifest-registry-
|
|
11
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
12
12
|
import "./message-channel-CIQTys4Q.js";
|
|
13
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
14
|
-
import "./accounts-
|
|
15
|
-
import "./bindings-
|
|
13
|
+
import { n as listChannelPlugins } from "./plugins-Cb8JznN4.js";
|
|
14
|
+
import "./accounts-Bj4Z7jBB.js";
|
|
15
|
+
import "./bindings-CWyuSfs6.js";
|
|
16
16
|
import "./logging-CFvkxgcX.js";
|
|
17
|
-
import "./client-
|
|
18
|
-
import "./call-
|
|
19
|
-
import "./pairing-token-
|
|
20
|
-
import "./net-
|
|
21
|
-
import "./tailnet-
|
|
17
|
+
import "./client-CdetOJti.js";
|
|
18
|
+
import "./call-BZSWeS2x.js";
|
|
19
|
+
import "./pairing-token-CtND5y_8.js";
|
|
20
|
+
import "./net-C63UEjlQ.js";
|
|
21
|
+
import "./tailnet-DRVktntg.js";
|
|
22
22
|
import { n as formatDurationHuman } from "./format-duration-pIcWg99c.js";
|
|
23
23
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-wClkZ9EC.js";
|
|
24
24
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
25
25
|
import "./progress-bvyZjsUc.js";
|
|
26
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
26
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-D_B_ulqD.js";
|
|
27
27
|
import { n as parsePositiveIntOrUndefined } from "./helpers-DzjyyYL4.js";
|
|
28
28
|
|
|
29
29
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $t as resolveStateDir, Dt as isRich, Et as colorize, Jt as resolveIsNixMode, Ot as theme, Ut as resolveConfigPath, dt as sleep, jt as getResolvedLoggerSettings, qt as resolveGatewayPort, ut as shortenHomePath, v as defaultRuntime } from "./entry.js";
|
|
3
|
-
import { A as createConfigIO, L as writeConfigFile, N as readConfigFileSnapshot, j as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { A as createConfigIO, L as writeConfigFile, N as readConfigFileSnapshot, j as loadConfig } from "./auth-profiles-D3FyYUSG.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
5
5
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CIQTys4Q.js";
|
|
6
|
-
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-
|
|
7
|
-
import { u as resolveGatewayBindHost } from "./net-
|
|
8
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
9
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
10
|
-
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
6
|
+
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-BZSWeS2x.js";
|
|
7
|
+
import { u as resolveGatewayBindHost } from "./net-C63UEjlQ.js";
|
|
8
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-DRVktntg.js";
|
|
9
|
+
import { a as resolveGatewayAuth } from "./auth-D3lXwd01.js";
|
|
10
|
+
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-4J8-_4SF.js";
|
|
11
11
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-B6D1y3V2.js";
|
|
12
|
-
import { r as isWSLEnv } from "./wsl-
|
|
12
|
+
import { r as isWSLEnv } from "./wsl-D9-kubbW.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
14
14
|
import { n as withProgress } from "./progress-bvyZjsUc.js";
|
|
15
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-CzMlu78H.js";
|
|
16
16
|
import { n as inheritOptionFromParent } from "./command-options-BtDai3oC.js";
|
|
17
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
17
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-BbDloeys.js";
|
|
18
18
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CeI4hRxg.js";
|
|
19
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
20
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
21
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
19
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-B0CzjIz2.js";
|
|
20
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-DrcOD7_e.js";
|
|
21
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-CupZgKik.js";
|
|
22
22
|
import { t as parsePort } from "./parse-port-DSCrRotM.js";
|
|
23
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
24
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
23
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-Cwm6yj6S.js";
|
|
24
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-Br6JEUTm.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/daemon-cli/install.ts
|
|
27
27
|
async function runDaemonInstall(opts) {
|
|
@@ -4,12 +4,12 @@ import "./version-CFqP9tDG.js";
|
|
|
4
4
|
import "./env-vars-kURZgejA.js";
|
|
5
5
|
import "./prompt-style-wsroINzm.js";
|
|
6
6
|
import "./note-DQ26Rw8p.js";
|
|
7
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
7
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BbDloeys.js";
|
|
8
8
|
import "./runtime-guard-jjhyM3bE.js";
|
|
9
9
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CeI4hRxg.js";
|
|
10
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
11
|
-
import { t as resolveGatewayService } from "./service-
|
|
12
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
10
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-B48mxZjg.js";
|
|
11
|
+
import { t as resolveGatewayService } from "./service-B0CzjIz2.js";
|
|
12
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-663aGc_T.js";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
15
15
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -8,7 +8,7 @@ import { execFile } from "node:child_process";
|
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
|
-
import
|
|
11
|
+
import fs from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/daemon/program-args.ts
|
|
14
14
|
async function resolveCliEntrypointPathForService() {
|
|
@@ -17,23 +17,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
17
17
|
const normalized = path.resolve(argv1);
|
|
18
18
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
19
19
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
20
|
-
await
|
|
20
|
+
await fs.access(resolvedPath);
|
|
21
21
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
22
|
-
await
|
|
22
|
+
await fs.access(normalized);
|
|
23
23
|
return normalized;
|
|
24
24
|
} catch {}
|
|
25
25
|
return resolvedPath;
|
|
26
26
|
}
|
|
27
27
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
28
28
|
for (const candidate of distCandidates) try {
|
|
29
|
-
await
|
|
29
|
+
await fs.access(candidate);
|
|
30
30
|
return candidate;
|
|
31
31
|
} catch {}
|
|
32
32
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
33
33
|
}
|
|
34
34
|
async function resolveRealpathSafe(inputPath) {
|
|
35
35
|
try {
|
|
36
|
-
return await
|
|
36
|
+
return await fs.realpath(inputPath);
|
|
37
37
|
} catch {
|
|
38
38
|
return inputPath;
|
|
39
39
|
}
|
|
@@ -93,7 +93,7 @@ async function resolveBinaryPath(binary) {
|
|
|
93
93
|
try {
|
|
94
94
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
95
95
|
if (!resolved) throw new Error("empty");
|
|
96
|
-
await
|
|
96
|
+
await fs.access(resolved);
|
|
97
97
|
return resolved;
|
|
98
98
|
} catch {
|
|
99
99
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -112,7 +112,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
112
112
|
if (params.dev) {
|
|
113
113
|
const repoRoot = resolveRepoRootForDev();
|
|
114
114
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
115
|
-
await
|
|
115
|
+
await fs.access(devCliPath);
|
|
116
116
|
return {
|
|
117
117
|
programArguments: [
|
|
118
118
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -140,7 +140,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
140
140
|
}
|
|
141
141
|
const repoRoot = resolveRepoRootForDev();
|
|
142
142
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
143
|
-
await
|
|
143
|
+
await fs.access(devCliPath);
|
|
144
144
|
if (isBunRuntime(execPath)) return {
|
|
145
145
|
programArguments: [
|
|
146
146
|
execPath,
|
|
@@ -253,7 +253,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
253
253
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
254
254
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
255
255
|
for (const candidate of candidates) try {
|
|
256
|
-
await
|
|
256
|
+
await fs.access(candidate);
|
|
257
257
|
return candidate;
|
|
258
258
|
} catch {}
|
|
259
259
|
return null;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as getActivePluginRegistry, rn as triggerInternalHook, s as createSubsystemLogger, tn as createInternalHookEvent } from "./entry.js";
|
|
3
3
|
import { g as normalizeOptionalAccountId, h as normalizeAccountId } from "./session-key-qmb11-mH.js";
|
|
4
|
-
import { t as getChannelDock } from "./dock-
|
|
5
|
-
import { I as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
6
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { t as getChannelDock } from "./dock-SjEhga7i.js";
|
|
5
|
+
import { I as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-aGmwHv0g.js";
|
|
6
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Cb8JznN4.js";
|
|
7
7
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DytUXmpb.js";
|
|
8
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-BYXUXgYn.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-Cyat99dT.js";
|
|
10
10
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-C1ApS_WL.js";
|
|
11
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
12
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
11
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DhrZVWff.js";
|
|
12
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DE17gd7F.js";
|
|
13
13
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-CpA_Z7vE.js";
|
|
14
14
|
|
|
15
15
|
//#region src/plugins/hooks.ts
|
|
@@ -6,7 +6,7 @@ import { t as getChannelDock } from "./dock-B_97K4Pm.js";
|
|
|
6
6
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D845wKqz.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BHtud3UK.js";
|
|
8
8
|
import { n as generateSecureUuid } from "./secure-random-aFAMbHUC.js";
|
|
9
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
9
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-Dv3HZWfJ.js";
|
|
10
10
|
import { T as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-IKtrEX5Q.js";
|
|
11
11
|
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CTsAvkXf.js";
|
|
12
12
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-Do89kJEA.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Ot as theme, v as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./openclaw-root-
|
|
2
|
+
import "./auth-profiles-D3FyYUSG.js";
|
|
3
|
+
import "./agent-scope-B33Scyaw.js";
|
|
4
|
+
import "./openclaw-root-Cw_9FXUV.js";
|
|
5
5
|
import "./exec-BhaMholX.js";
|
|
6
6
|
import "./github-copilot-token-DKRiM6oj.js";
|
|
7
7
|
import "./host-env-security-BM8ktVlo.js";
|
|
8
8
|
import "./version-CFqP9tDG.js";
|
|
9
9
|
import "./env-vars-kURZgejA.js";
|
|
10
|
-
import "./manifest-registry-
|
|
10
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CIQTys4Q.js";
|
|
12
|
-
import { Ht as listDevicePairing, Jt as summarizeDeviceTokens, zt as approveDevicePairing } from "./client-
|
|
13
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
14
|
-
import "./pairing-token-
|
|
15
|
-
import { r as isLoopbackHost } from "./net-
|
|
16
|
-
import "./tailnet-
|
|
12
|
+
import { Ht as listDevicePairing, Jt as summarizeDeviceTokens, zt as approveDevicePairing } from "./client-CdetOJti.js";
|
|
13
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BZSWeS2x.js";
|
|
14
|
+
import "./pairing-token-CtND5y_8.js";
|
|
15
|
+
import { r as isLoopbackHost } from "./net-C63UEjlQ.js";
|
|
16
|
+
import "./tailnet-DRVktntg.js";
|
|
17
17
|
import { n as formatTimeAgo } from "./format-relative-CLDwoKCS.js";
|
|
18
18
|
import { n as withProgress } from "./progress-bvyZjsUc.js";
|
|
19
19
|
import { t as renderTable } from "./table-D7QRfQ5S.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { j as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { j as loadConfig } from "./auth-profiles-D3FyYUSG.js";
|
|
4
4
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Cw3EMvZy.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-B0CzjIz2.js";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fs.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fs.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fs.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Ot as theme, gt as danger, v as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { j as loadConfig } from "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./openclaw-root-
|
|
2
|
+
import { j as loadConfig } from "./auth-profiles-D3FyYUSG.js";
|
|
3
|
+
import "./agent-scope-B33Scyaw.js";
|
|
4
|
+
import "./openclaw-root-Cw_9FXUV.js";
|
|
5
5
|
import "./exec-BhaMholX.js";
|
|
6
6
|
import "./github-copilot-token-DKRiM6oj.js";
|
|
7
7
|
import "./host-env-security-BM8ktVlo.js";
|
|
8
8
|
import "./version-CFqP9tDG.js";
|
|
9
9
|
import "./env-vars-kURZgejA.js";
|
|
10
|
-
import "./manifest-registry-
|
|
10
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
11
11
|
import "./message-channel-CIQTys4Q.js";
|
|
12
|
-
import { t as getChannelPlugin } from "./plugins-
|
|
13
|
-
import "./accounts-
|
|
14
|
-
import "./bindings-
|
|
12
|
+
import { t as getChannelPlugin } from "./plugins-Cb8JznN4.js";
|
|
13
|
+
import "./accounts-Bj4Z7jBB.js";
|
|
14
|
+
import "./bindings-CWyuSfs6.js";
|
|
15
15
|
import "./logging-CFvkxgcX.js";
|
|
16
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
16
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-DYEAZFR_.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
18
18
|
import { t as formatHelpExamples } from "./help-format-Du-bXlH0.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BgzIw8DX.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Ot as theme, v as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { j as loadConfig } from "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./openclaw-root-
|
|
2
|
+
import { j as loadConfig } from "./auth-profiles-D3FyYUSG.js";
|
|
3
|
+
import "./agent-scope-B33Scyaw.js";
|
|
4
|
+
import "./openclaw-root-Cw_9FXUV.js";
|
|
5
5
|
import "./exec-BhaMholX.js";
|
|
6
6
|
import "./github-copilot-token-DKRiM6oj.js";
|
|
7
7
|
import "./host-env-security-BM8ktVlo.js";
|
|
8
8
|
import "./version-CFqP9tDG.js";
|
|
9
9
|
import "./env-vars-kURZgejA.js";
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-
|
|
10
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
11
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-DRVktntg.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
13
13
|
import { t as renderTable } from "./table-D7QRfQ5S.js";
|
|
14
14
|
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-Ah8QpopA.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { D as getChatChannelMeta, P as requireActivePluginRegistry, Z as escapeRegExp, nt as normalizeE164, w as CHAT_CHANNEL_ORDER } from "./entry.js";
|
|
2
2
|
import { h as normalizeAccountId } from "./session-key-qmb11-mH.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
4
|
-
import { C as resolveDiscordAccount, d as resolveTelegramAccount, g as resolveSlackReplyToMode, h as resolveSlackAccount, o as normalizeWhatsAppTarget } from "./plugins-
|
|
5
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
7
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
4
|
+
import { C as resolveDiscordAccount, d as resolveTelegramAccount, g as resolveSlackReplyToMode, h as resolveSlackAccount, o as normalizeWhatsAppTarget } from "./plugins-Cb8JznN4.js";
|
|
5
|
+
import { i as resolveWhatsAppAccount } from "./accounts-Bj4Z7jBB.js";
|
|
6
|
+
import { r as resolveIMessageAccount } from "./accounts-Bgjrmxdu.js";
|
|
7
|
+
import { i as resolveSignalAccount } from "./accounts-1yld8BY0.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/types.tools.ts
|
|
10
10
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Dt as isRich, Ot as theme, v as defaultRuntime } from "./entry.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
3
|
-
import "./openclaw-root-
|
|
3
|
+
import "./openclaw-root-Cw_9FXUV.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-BhaMholX.js";
|
|
5
5
|
import "./host-env-security-BM8ktVlo.js";
|
|
6
|
-
import "./manifest-registry-
|
|
6
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
7
7
|
import { d as hasBinary } from "./frontmatter-CA3PbX1f.js";
|
|
8
|
-
import "./skills-
|
|
9
|
-
import "./path-alias-guards-
|
|
8
|
+
import "./skills-BkqPPXlw.js";
|
|
9
|
+
import "./path-alias-guards-DEakBSGU.js";
|
|
10
10
|
import "./redact-Dcypez3H.js";
|
|
11
11
|
import "./errors-Cu3BYw29.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BYm_a0tW.js";
|
|
2
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
2
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-Cw_9FXUV.js";
|
|
3
3
|
import { t as note } from "./note-DQ26Rw8p.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-8XhBe_hV.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|