@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,6 +1,6 @@
|
|
|
1
1
|
import { n as fetchWithTimeout } from "./fetch-timeout-Meg2TxSF.js";
|
|
2
|
-
import { At as ZAI_CODING_CN_BASE_URL, Mt as ZAI_GLOBAL_BASE_URL, jt as ZAI_CODING_GLOBAL_BASE_URL, kt as ZAI_CN_BASE_URL } from "./auth-token-
|
|
3
|
-
import { l as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { At as ZAI_CODING_CN_BASE_URL, Mt as ZAI_GLOBAL_BASE_URL, jt as ZAI_CODING_GLOBAL_BASE_URL, kt as ZAI_CN_BASE_URL } from "./auth-token-5Yewb0K8.js";
|
|
3
|
+
import { l as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-DAtOrGrN.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/model-default.ts
|
|
6
6
|
function resolvePrimaryModel(model) {
|
|
@@ -2,7 +2,7 @@ import { fileURLToPath } from "node:url";
|
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import fs$1 from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/skills/filter.ts
|
|
8
8
|
function normalizeSkillFilter(skillFilter) {
|
|
@@ -166,7 +166,7 @@ async function resolveBoundaryPathLexicalAsync(params) {
|
|
|
166
166
|
lexicalCursor = path.join(lexicalCursor, segment);
|
|
167
167
|
let stat;
|
|
168
168
|
try {
|
|
169
|
-
stat = await
|
|
169
|
+
stat = await fs$1.lstat(lexicalCursor);
|
|
170
170
|
} catch (error) {
|
|
171
171
|
if (isNotFoundPathError(error)) {
|
|
172
172
|
const missingSuffix = segments.slice(idx);
|
|
@@ -333,7 +333,7 @@ async function resolvePathViaExistingAncestor(targetPath) {
|
|
|
333
333
|
}
|
|
334
334
|
if (!await pathExists(cursor)) return normalized;
|
|
335
335
|
try {
|
|
336
|
-
const resolvedAncestor = path.resolve(await
|
|
336
|
+
const resolvedAncestor = path.resolve(await fs$1.realpath(cursor));
|
|
337
337
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
338
338
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
339
339
|
} catch {
|
|
@@ -363,7 +363,7 @@ async function getPathKind(absolutePath, preserveFinalSymlink) {
|
|
|
363
363
|
try {
|
|
364
364
|
return {
|
|
365
365
|
exists: true,
|
|
366
|
-
kind: toResolvedKind(preserveFinalSymlink ? await
|
|
366
|
+
kind: toResolvedKind(preserveFinalSymlink ? await fs$1.lstat(absolutePath) : await fs$1.stat(absolutePath))
|
|
367
367
|
};
|
|
368
368
|
} catch (error) {
|
|
369
369
|
if (isNotFoundPathError(error)) return {
|
|
@@ -419,7 +419,7 @@ function isFilesystemRoot(candidate) {
|
|
|
419
419
|
}
|
|
420
420
|
async function pathExists(targetPath) {
|
|
421
421
|
try {
|
|
422
|
-
await
|
|
422
|
+
await fs$1.lstat(targetPath);
|
|
423
423
|
return true;
|
|
424
424
|
} catch (error) {
|
|
425
425
|
if (isNotFoundPathError(error)) return false;
|
|
@@ -428,10 +428,10 @@ async function pathExists(targetPath) {
|
|
|
428
428
|
}
|
|
429
429
|
async function resolveSymlinkHopPath(symlinkPath) {
|
|
430
430
|
try {
|
|
431
|
-
return path.resolve(await
|
|
431
|
+
return path.resolve(await fs$1.realpath(symlinkPath));
|
|
432
432
|
} catch (error) {
|
|
433
433
|
if (!isNotFoundPathError(error)) throw error;
|
|
434
|
-
const linkTarget = await
|
|
434
|
+
const linkTarget = await fs$1.readlink(symlinkPath);
|
|
435
435
|
return resolvePathViaExistingAncestor(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
436
436
|
}
|
|
437
437
|
}
|
|
@@ -631,7 +631,7 @@ async function openBoundaryFile(params) {
|
|
|
631
631
|
const CORE_PACKAGE_NAMES = new Set(["openclaw"]);
|
|
632
632
|
async function readPackageName(dir) {
|
|
633
633
|
try {
|
|
634
|
-
const raw = await
|
|
634
|
+
const raw = await fs$1.readFile(path.join(dir, "package.json"), "utf-8");
|
|
635
635
|
const parsed = JSON.parse(raw);
|
|
636
636
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
637
637
|
} catch {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as saveMediaBuffer } from "./store-BnsBHp0V.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-Dhd5EWHO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Z as escapeRegExp, kt as getChildLogger, pt as toWhatsappJid, 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 { n as generateSecureUuid } from "./secure-random-B3f7Ri2X.js";
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DhrZVWff.js";
|
|
6
|
+
import { a as loadWebMedia } from "./ir-Dhd5EWHO.js";
|
|
7
7
|
import { n as normalizePollInput } from "./polls-CzQVxIg5.js";
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-CuPXwWh2.js";
|
|
9
9
|
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-BuPMj005.js";
|
|
10
10
|
|
|
11
11
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Ot as theme, v as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { j as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { j as loadConfig } from "./auth-profiles-D3FyYUSG.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./openclaw-root-
|
|
4
|
+
import "./agent-scope-B33Scyaw.js";
|
|
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-
|
|
12
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
13
|
-
import "./accounts-
|
|
14
|
-
import "./bindings-
|
|
11
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
12
|
+
import { r as normalizeChannelId } from "./plugins-Cb8JznN4.js";
|
|
13
|
+
import "./accounts-Bj4Z7jBB.js";
|
|
14
|
+
import "./bindings-CWyuSfs6.js";
|
|
15
15
|
import "./logging-CFvkxgcX.js";
|
|
16
|
-
import { d as listPairingChannels, f as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-
|
|
16
|
+
import { d as listPairingChannels, f as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-C49WkfCi.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
18
|
-
import { t as resolvePairingIdLabel } from "./pairing-labels-
|
|
18
|
+
import { t as resolvePairingIdLabel } from "./pairing-labels-ZYWr_HV3.js";
|
|
19
19
|
import { t as renderTable } from "./table-D7QRfQ5S.js";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/pairing-cli.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $t as resolveStateDir, Zt as resolveOAuthDir, ct as safeParseJson, sn as resolveRequiredHomeDir } from "./entry.js";
|
|
2
|
-
import { Gn as withFileLock$1 } from "./auth-profiles-
|
|
2
|
+
import { Gn as withFileLock$1 } from "./auth-profiles-D3FyYUSG.js";
|
|
3
3
|
import { m as DEFAULT_ACCOUNT_ID } from "./session-key-qmb11-mH.js";
|
|
4
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Cb8JznN4.js";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { $t as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { t as safeEqualSecret } from "./secret-equal-DRMKpDYs.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/json-files.ts
|
|
8
8
|
async function readJsonFile(filePath) {
|
|
9
9
|
try {
|
|
10
|
-
const raw = await
|
|
10
|
+
const raw = await fs.readFile(filePath, "utf8");
|
|
11
11
|
return JSON.parse(raw);
|
|
12
12
|
} catch {
|
|
13
13
|
return null;
|
|
@@ -16,15 +16,15 @@ async function readJsonFile(filePath) {
|
|
|
16
16
|
async function writeJsonAtomic(filePath, value, options) {
|
|
17
17
|
const mode = options?.mode ?? 384;
|
|
18
18
|
const dir = path.dirname(filePath);
|
|
19
|
-
await
|
|
19
|
+
await fs.mkdir(dir, { recursive: true });
|
|
20
20
|
const tmp = `${filePath}.${randomUUID()}.tmp`;
|
|
21
|
-
await
|
|
21
|
+
await fs.writeFile(tmp, JSON.stringify(value, null, 2), "utf8");
|
|
22
22
|
try {
|
|
23
|
-
await
|
|
23
|
+
await fs.chmod(tmp, mode);
|
|
24
24
|
} catch {}
|
|
25
|
-
await
|
|
25
|
+
await fs.rename(tmp, filePath);
|
|
26
26
|
try {
|
|
27
|
-
await
|
|
27
|
+
await fs.chmod(filePath, mode);
|
|
28
28
|
} catch {}
|
|
29
29
|
}
|
|
30
30
|
function createAsyncLock() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as BOUNDARY_PATH_ALIAS_POLICIES, d as isNotFoundPathError, l as resolveBoundaryPath } from "./openclaw-root-
|
|
1
|
+
import { c as BOUNDARY_PATH_ALIAS_POLICIES, d as isNotFoundPathError, l as resolveBoundaryPath } from "./openclaw-root-Cw_9FXUV.js";
|
|
2
2
|
import os from "node:os";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/hardlink-guards.ts
|
|
6
6
|
async function assertNoHardlinkedFinalPath(params) {
|
|
7
7
|
if (params.allowFinalHardlinkForUnlink) return;
|
|
8
8
|
let stat;
|
|
9
9
|
try {
|
|
10
|
-
stat = await
|
|
10
|
+
stat = await fs.stat(params.filePath);
|
|
11
11
|
} catch (err) {
|
|
12
12
|
if (isNotFoundPathError(err)) return;
|
|
13
13
|
throw err;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Lt as resolvePreferredOpenClawTmpDir } from "./entry.js";
|
|
2
|
-
import { d as isNotFoundPathError, f as isPathInside } from "./openclaw-root-
|
|
3
|
-
import { r as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
2
|
+
import { d as isNotFoundPathError, f as isPathInside } from "./openclaw-root-Cw_9FXUV.js";
|
|
3
|
+
import { r as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CCDIEBbt.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/form-fields.ts
|
|
8
8
|
const DEFAULT_FILL_FIELD_TYPE = "text";
|
|
@@ -44,28 +44,28 @@ function invalidPath(scopeLabel) {
|
|
|
44
44
|
}
|
|
45
45
|
async function resolveRealPathIfExists(targetPath) {
|
|
46
46
|
try {
|
|
47
|
-
return await
|
|
47
|
+
return await fs.realpath(targetPath);
|
|
48
48
|
} catch {
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
async function resolveTrustedRootRealPath(rootDir) {
|
|
53
53
|
try {
|
|
54
|
-
const rootLstat = await
|
|
54
|
+
const rootLstat = await fs.lstat(rootDir);
|
|
55
55
|
if (!rootLstat.isDirectory() || rootLstat.isSymbolicLink()) return;
|
|
56
|
-
return await
|
|
56
|
+
return await fs.realpath(rootDir);
|
|
57
57
|
} catch {
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
async function validateCanonicalPathWithinRoot(params) {
|
|
62
62
|
try {
|
|
63
|
-
const candidateLstat = await
|
|
63
|
+
const candidateLstat = await fs.lstat(params.candidatePath);
|
|
64
64
|
if (candidateLstat.isSymbolicLink()) return "invalid";
|
|
65
65
|
if (params.expect === "directory" && !candidateLstat.isDirectory()) return "invalid";
|
|
66
66
|
if (params.expect === "file" && !candidateLstat.isFile()) return "invalid";
|
|
67
67
|
if (params.expect === "file" && candidateLstat.nlink > 1) return "invalid";
|
|
68
|
-
const candidateRealPath = await
|
|
68
|
+
const candidateRealPath = await fs.realpath(params.candidatePath);
|
|
69
69
|
return isPathInside(params.rootRealPath, candidateRealPath) ? "ok" : "invalid";
|
|
70
70
|
} catch (err) {
|
|
71
71
|
return isNotFoundPathError(err) ? "not-found" : "invalid";
|
|
@@ -143,7 +143,7 @@ async function resolveCheckedPathsWithinRoot(params) {
|
|
|
143
143
|
};
|
|
144
144
|
if (!rootRealPath || !raw || !path.isAbsolute(raw)) return lexicalPathResult;
|
|
145
145
|
try {
|
|
146
|
-
const resolvedExistingPath = await
|
|
146
|
+
const resolvedExistingPath = await fs.realpath(raw);
|
|
147
147
|
const relativePath = path.relative(rootRealPath, resolvedExistingPath);
|
|
148
148
|
if (!isInRoot(relativePath)) return lexicalPathResult;
|
|
149
149
|
return {
|
|
@@ -20,7 +20,7 @@ import { t as buildChannelAccountBindings } from "./bindings-CvVAbMIm.js";
|
|
|
20
20
|
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-B8LEoIKG.js";
|
|
21
21
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-CV5wyYyC.js";
|
|
22
22
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-aFAMbHUC.js";
|
|
23
|
-
import { C as initializeGlobalHookRunner, S as getGlobalHookRunner, _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as parseReplyDirectives, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as splitMediaFromOutput, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-
|
|
23
|
+
import { C as initializeGlobalHookRunner, S as getGlobalHookRunner, _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as parseReplyDirectives, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as splitMediaFromOutput, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-vfoVGjjK.js";
|
|
24
24
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-CdZtdUXM.js";
|
|
25
25
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-_tGY1a3B.js";
|
|
26
26
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-Bo6sCt5N.js";
|
|
@@ -28,8 +28,8 @@ import { $ as readJsonFileWithFallback, A as extractTelegramLocation, B as norma
|
|
|
28
28
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-2OFUPHCW.js";
|
|
29
29
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-C77P6PHW.js";
|
|
30
30
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-2ebD0aMr.js";
|
|
31
|
-
import { $ as stripPluginOnlyAllowlist, A as isTimeoutErrorMessage, B as resolveBrowserConfig, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as ensureSandboxWorkspaceForSession, G as resolveGatewayCredentialsFromConfig, H as getBridgeAuthForPort, I as resolveSandboxContext, J as applyOwnerOnlyToolPolicy, K as trimToUndefined$1, L as resolveSandboxRuntimeStatus, M as parseImageDimensionError, N as parseImageSizeError, O as isRateLimitAssistantError, P as sanitizeUserFacingText, Q as mergeAlsoAllowPolicy, R as createBrowserRouteContext, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as ensureBrowserControlAuth, V as resolveProfile, W as resolveBrowserControlAuth, X as collectExplicitAllowlist, Y as buildPluginToolGroups, Z as expandPolicyWithPluginGroups, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as buildBootstrapContextFiles, b as isAuthPermanentErrorMessage, c as extractToolCallsFromAssistant, ct as resolveBootstrapTotalMaxChars, d as downgradeOpenAIReasoningBlocks, et as expandToolGroups, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, it as matchesAnyGlobPattern, j as isTransientHttpError, k as isRawApiErrorPayload, l as extractToolResultId, lt as sanitizeGoogleTurnOrdering, m as classifyFailoverReason, n as validateGeminiTurns, nt as resolveToolProfilePolicy, o as normalizeTextForComparison, ot as ensureSessionHeader, p as BILLING_ERROR_USER_MESSAGE, q as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rt as compileGlobPatterns, s as sanitizeSessionMessagesImages, st as resolveBootstrapMaxChars, t as validateAnthropicTurns, tt as normalizeToolName, u as sanitizeToolCallIdsForCloudCodeAssist, v as getApiErrorPayloadFingerprint, w as isContextOverflowError, x as isBillingAssistantError, y as isAuthAssistantError, z as registerBrowserRoutes } from "./pi-embedded-helpers-
|
|
32
|
-
import { C as ensureChromeExtensionRelayServer, F as isSecureWebSocketUrl, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as rawDataToString, k as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-
|
|
31
|
+
import { $ as stripPluginOnlyAllowlist, A as isTimeoutErrorMessage, B as resolveBrowserConfig, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as ensureSandboxWorkspaceForSession, G as resolveGatewayCredentialsFromConfig, H as getBridgeAuthForPort, I as resolveSandboxContext, J as applyOwnerOnlyToolPolicy, K as trimToUndefined$1, L as resolveSandboxRuntimeStatus, M as parseImageDimensionError, N as parseImageSizeError, O as isRateLimitAssistantError, P as sanitizeUserFacingText, Q as mergeAlsoAllowPolicy, R as createBrowserRouteContext, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as ensureBrowserControlAuth, V as resolveProfile, W as resolveBrowserControlAuth, X as collectExplicitAllowlist, Y as buildPluginToolGroups, Z as expandPolicyWithPluginGroups, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as buildBootstrapContextFiles, b as isAuthPermanentErrorMessage, c as extractToolCallsFromAssistant, ct as resolveBootstrapTotalMaxChars, d as downgradeOpenAIReasoningBlocks, et as expandToolGroups, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, it as matchesAnyGlobPattern, j as isTransientHttpError, k as isRawApiErrorPayload, l as extractToolResultId, lt as sanitizeGoogleTurnOrdering, m as classifyFailoverReason, n as validateGeminiTurns, nt as resolveToolProfilePolicy, o as normalizeTextForComparison, ot as ensureSessionHeader, p as BILLING_ERROR_USER_MESSAGE, q as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rt as compileGlobPatterns, s as sanitizeSessionMessagesImages, st as resolveBootstrapMaxChars, t as validateAnthropicTurns, tt as normalizeToolName, u as sanitizeToolCallIdsForCloudCodeAssist, v as getApiErrorPayloadFingerprint, w as isContextOverflowError, x as isBillingAssistantError, y as isAuthAssistantError, z as registerBrowserRoutes } from "./pi-embedded-helpers-Dv3HZWfJ.js";
|
|
32
|
+
import { C as ensureChromeExtensionRelayServer, F as isSecureWebSocketUrl, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as rawDataToString, k as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-rCogzAbu.js";
|
|
33
33
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-CRCTCGF5.js";
|
|
34
34
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-C5qernCC.js";
|
|
35
35
|
import { r as compileSafeRegex, t as redactSensitiveText } from "./redact-CCJhkLdQ.js";
|
|
@@ -44,7 +44,7 @@ import { a as resolveSessionTranscriptPath, c as resolveSessionTranscriptsDirFor
|
|
|
44
44
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BtNd-j6q.js";
|
|
45
45
|
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-DnvgGTDf.js";
|
|
46
46
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-CJoHneR6.js";
|
|
47
|
-
import { C as isInsideCode, S as findCodeRegions, T as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as resolveToolDisplay, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, w as extractTextFromChatContent, x as stripReasoningTagsFromText, y as formatToolSummary } from "./image-
|
|
47
|
+
import { C as isInsideCode, S as findCodeRegions, T as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as resolveToolDisplay, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, w as extractTextFromChatContent, x as stripReasoningTagsFromText, y as formatToolSummary } from "./image-dzsBaMmN.js";
|
|
48
48
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-vhtFWn2i.js";
|
|
49
49
|
import { n as resolveMemorySearchConfig } from "./manager-B8_pW0TY.js";
|
|
50
50
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-DwuL9y6C.js";
|
|
@@ -59,7 +59,7 @@ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-BKY0GWR7.js";
|
|
|
59
59
|
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-g8hqgBn1.js";
|
|
60
60
|
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-WRdh-Gm0.js";
|
|
61
61
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-Boo26WJ8.js";
|
|
62
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
62
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-Q4wBIACO.js";
|
|
63
63
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-B1nZSYJF.js";
|
|
64
64
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-DB3s0Mox.js";
|
|
65
65
|
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-WEu8L9_x.js";
|
|
@@ -89,7 +89,7 @@ import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, Setting
|
|
|
89
89
|
import { EdgeTTS } from "node-edge-tts";
|
|
90
90
|
import { createServer } from "node:http";
|
|
91
91
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
92
|
-
import WebSocket
|
|
92
|
+
import WebSocket, { WebSocket as WebSocket$1 } from "ws";
|
|
93
93
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
94
94
|
import { createJiti } from "jiti";
|
|
95
95
|
import { Type } from "@sinclair/typebox";
|
|
@@ -8544,7 +8544,7 @@ var GatewayClient = class {
|
|
|
8544
8544
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8545
8545
|
});
|
|
8546
8546
|
}
|
|
8547
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
8547
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
8548
8548
|
this.ws.on("open", () => {
|
|
8549
8549
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8550
8550
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8740,7 +8740,7 @@ var GatewayClient = class {
|
|
|
8740
8740
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
8741
8741
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
8742
8742
|
this.connectTimer = setTimeout(() => {
|
|
8743
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
8743
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
|
|
8744
8744
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
8745
8745
|
this.ws?.close(1008, "connect challenge timeout");
|
|
8746
8746
|
}, connectChallengeTimeoutMs);
|
|
@@ -8782,7 +8782,7 @@ var GatewayClient = class {
|
|
|
8782
8782
|
return null;
|
|
8783
8783
|
}
|
|
8784
8784
|
async request(method, params, opts) {
|
|
8785
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8785
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
8786
8786
|
const id = randomUUID();
|
|
8787
8787
|
const frame = {
|
|
8788
8788
|
type: "req",
|
|
@@ -10108,7 +10108,7 @@ async function routeReply(params) {
|
|
|
10108
10108
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
10109
10109
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
10110
10110
|
try {
|
|
10111
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10111
|
+
const { deliverOutboundPayloads } = await import("./deliver-vfoVGjjK.js").then((n) => n.n);
|
|
10112
10112
|
const outboundSession = buildOutboundSessionContext({
|
|
10113
10113
|
cfg,
|
|
10114
10114
|
agentId: resolvedAgentId,
|
|
@@ -48476,7 +48476,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
48476
48476
|
return;
|
|
48477
48477
|
}
|
|
48478
48478
|
try {
|
|
48479
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
48479
|
+
const { deliverOutboundPayloads } = await import("./deliver-vfoVGjjK.js").then((n) => n.n);
|
|
48480
48480
|
const outboundSession = buildOutboundSessionContext({
|
|
48481
48481
|
cfg: params.cfg,
|
|
48482
48482
|
sessionKey: params.sessionKey
|
|
@@ -53337,7 +53337,7 @@ async function describeStickerImage(params) {
|
|
|
53337
53337
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
53338
53338
|
try {
|
|
53339
53339
|
const buffer = await fs.readFile(imagePath);
|
|
53340
|
-
const { describeImageWithModel } = await import("./image-
|
|
53340
|
+
const { describeImageWithModel } = await import("./image-dzsBaMmN.js").then((n) => n.n);
|
|
53341
53341
|
return (await describeImageWithModel({
|
|
53342
53342
|
buffer,
|
|
53343
53343
|
fileName: "sticker.webp",
|
|
@@ -56355,7 +56355,7 @@ async function preflightDiscordMessage(params) {
|
|
|
56355
56355
|
let preflightTranscript;
|
|
56356
56356
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
56357
56357
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
56358
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
56358
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DwqzIQik.js");
|
|
56359
56359
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
56360
56360
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
56361
56361
|
ctx: {
|
|
@@ -60277,7 +60277,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
60277
60277
|
function createDefaultDeps() {
|
|
60278
60278
|
return {
|
|
60279
60279
|
sendMessageWhatsApp: async (...args) => {
|
|
60280
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
60280
|
+
const { sendMessageWhatsApp } = await import("./web-Ch0JHP2x.js");
|
|
60281
60281
|
return await sendMessageWhatsApp(...args);
|
|
60282
60282
|
},
|
|
60283
60283
|
sendMessageTelegram: async (...args) => {
|
|
@@ -63631,7 +63631,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
63631
63631
|
return super.registerClient(client);
|
|
63632
63632
|
}
|
|
63633
63633
|
createWebSocket(url) {
|
|
63634
|
-
return new WebSocket
|
|
63634
|
+
return new WebSocket(url, { agent: wsAgent });
|
|
63635
63635
|
}
|
|
63636
63636
|
}
|
|
63637
63637
|
return new ProxyGatewayPlugin();
|
|
@@ -74909,7 +74909,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
74909
74909
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
74910
74910
|
let preflightTranscript;
|
|
74911
74911
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
74912
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
74912
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DwqzIQik.js");
|
|
74913
74913
|
preflightTranscript = await transcribeFirstAudio({
|
|
74914
74914
|
ctx: {
|
|
74915
74915
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -77507,7 +77507,7 @@ function loadWebLoginQr() {
|
|
|
77507
77507
|
return webLoginQrPromise;
|
|
77508
77508
|
}
|
|
77509
77509
|
function loadWebChannel() {
|
|
77510
|
-
webChannelPromise ??= import("./web-
|
|
77510
|
+
webChannelPromise ??= import("./web-Ch0JHP2x.js");
|
|
77511
77511
|
return webChannelPromise;
|
|
77512
77512
|
}
|
|
77513
77513
|
function loadWhatsAppActions() {
|
|
@@ -83778,7 +83778,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
83778
83778
|
* Throws if the connection is not open.
|
|
83779
83779
|
*/
|
|
83780
83780
|
send(event) {
|
|
83781
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
83781
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
83782
83782
|
this.ws.send(JSON.stringify(event));
|
|
83783
83783
|
}
|
|
83784
83784
|
/**
|
|
@@ -83795,7 +83795,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
83795
83795
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
83796
83796
|
*/
|
|
83797
83797
|
isConnected() {
|
|
83798
|
-
return this.ws !== null && this.ws.readyState === WebSocket
|
|
83798
|
+
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
83799
83799
|
}
|
|
83800
83800
|
/**
|
|
83801
83801
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -83805,7 +83805,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
83805
83805
|
this._cancelRetryTimer();
|
|
83806
83806
|
if (this.ws) {
|
|
83807
83807
|
this.ws.removeAllListeners();
|
|
83808
|
-
if (this.ws.readyState === WebSocket
|
|
83808
|
+
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
83809
83809
|
this.ws = null;
|
|
83810
83810
|
}
|
|
83811
83811
|
}
|
|
@@ -83815,7 +83815,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
83815
83815
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
83816
83816
|
return;
|
|
83817
83817
|
}
|
|
83818
|
-
const socket = new WebSocket
|
|
83818
|
+
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
83819
83819
|
Authorization: `Bearer ${this.apiKey}`,
|
|
83820
83820
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
83821
83821
|
} });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { mt as truncateUtf16Safe, s as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
3
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
2
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-BCxHjLQS.js";
|
|
3
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-0PIXjd8w.js";
|
|
4
4
|
import { s as normalizeThinkLevel } from "./thinking-DW6CKWyf.js";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
|
|
9
9
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
@@ -101,10 +101,10 @@ function clampToBudget(content, budget) {
|
|
|
101
101
|
async function ensureSessionHeader(params) {
|
|
102
102
|
const file = params.sessionFile;
|
|
103
103
|
try {
|
|
104
|
-
await
|
|
104
|
+
await fs.stat(file);
|
|
105
105
|
return;
|
|
106
106
|
} catch {}
|
|
107
|
-
await
|
|
107
|
+
await fs.mkdir(path.dirname(file), { recursive: true });
|
|
108
108
|
const entry = {
|
|
109
109
|
type: "session",
|
|
110
110
|
version: 2,
|
|
@@ -112,7 +112,7 @@ async function ensureSessionHeader(params) {
|
|
|
112
112
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
113
113
|
cwd: params.cwd
|
|
114
114
|
};
|
|
115
|
-
await
|
|
115
|
+
await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
116
116
|
}
|
|
117
117
|
function buildBootstrapContextFiles(files, opts) {
|
|
118
118
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -8,7 +8,7 @@ import { n as formatCliCommand } from "./env-Dmb9NI10.js";
|
|
|
8
8
|
import { t as parseBooleanValue } from "./boolean-Ce2-qkSB.js";
|
|
9
9
|
import { t as generateSecureToken } from "./secure-random-aFAMbHUC.js";
|
|
10
10
|
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-2OFUPHCW.js";
|
|
11
|
-
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_OPENCLAW_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, V as DEFAULT_OPENCLAW_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-
|
|
11
|
+
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_OPENCLAW_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, V as DEFAULT_OPENCLAW_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-rCogzAbu.js";
|
|
12
12
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CRCTCGF5.js";
|
|
13
13
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-C5qernCC.js";
|
|
14
14
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-Q-5Tp91z.js";
|
|
@@ -1180,7 +1180,7 @@ function isModuleNotFoundError(err) {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
async function loadPwAiModule(mode) {
|
|
1182
1182
|
try {
|
|
1183
|
-
return await import("./pw-ai-
|
|
1183
|
+
return await import("./pw-ai-PpF146vO.js");
|
|
1184
1184
|
} catch (err) {
|
|
1185
1185
|
if (mode === "soft") return null;
|
|
1186
1186
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3739,11 +3739,11 @@ function createProfileContext(opts, profile) {
|
|
|
3739
3739
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
3740
3740
|
const profileState = getProfileState();
|
|
3741
3741
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3742
|
-
await (await import("./pw-ai-
|
|
3742
|
+
await (await import("./pw-ai-PpF146vO.js")).closePlaywrightBrowserConnection();
|
|
3743
3743
|
} catch {}
|
|
3744
3744
|
if (profileState.running) await stopRunningBrowser();
|
|
3745
3745
|
try {
|
|
3746
|
-
await (await import("./pw-ai-
|
|
3746
|
+
await (await import("./pw-ai-PpF146vO.js")).closePlaywrightBrowserConnection();
|
|
3747
3747
|
} catch {}
|
|
3748
3748
|
if (!fs$1.existsSync(userDataDir)) return {
|
|
3749
3749
|
moved: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ln as ensureAuthProfileStore, ir as normalizeProviderId } from "./auth-profiles-
|
|
2
|
+
import { Ln as ensureAuthProfileStore, ir as normalizeProviderId } from "./auth-profiles-D3FyYUSG.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-
|
|
2
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-D3FyYUSG.js";
|
|
2
|
+
import { i as resolveAgentConfig } from "./agent-scope-B33Scyaw.js";
|
|
3
3
|
import { T as resolveThreadParentSessionKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-qmb11-mH.js";
|
|
4
|
-
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-
|
|
4
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-SjEhga7i.js";
|
|
5
5
|
import { l as normalizeMessageChannel } from "./message-channel-CIQTys4Q.js";
|
|
6
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
7
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
6
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-BCxHjLQS.js";
|
|
7
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-C49WkfCi.js";
|
|
8
8
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-CAjnA3Zh.js";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/command-gating.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { $ as isRecord, D as getChatChannelMeta, O as listChatChannels, W as CONFIG_DIR, j as normalizeChatChannelId, st as resolveUserPath } from "./entry.js";
|
|
2
|
-
import { ir as normalizeProviderId } from "./auth-profiles-
|
|
2
|
+
import { ir as normalizeProviderId } from "./auth-profiles-D3FyYUSG.js";
|
|
3
3
|
import { n as MANIFEST_KEY } from "./legacy-names-PPcHwaHH.js";
|
|
4
|
-
import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-
|
|
5
|
-
import { t as hasAnyWhatsAppAuth } from "./accounts-
|
|
4
|
+
import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-DRMtnPEQ.js";
|
|
5
|
+
import { t as hasAnyWhatsAppAuth } from "./accounts-Bj4Z7jBB.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as getActivePluginRegistry, s as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { j as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { _ as loadOpenClawPlugins } from "./subagent-registry-
|
|
3
|
+
import { j as loadConfig } from "./auth-profiles-D3FyYUSG.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-B33Scyaw.js";
|
|
5
|
+
import { _ as loadOpenClawPlugins } from "./subagent-registry-CrbLe3Kg.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-47BV2tLd.js";
|
|
2
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers } from "./accounts-wG7sdxrI.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-47BV2tLd.js";
|
|
2
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers } from "./accounts-wG7sdxrI.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { o as resolveOAuthDir } from "./paths-DCNrSyZW.js";
|
|
3
|
-
import { H as resolveUserPath, L as jidToE164, Q as info, ct as getChildLogger, i as defaultRuntime, rt as success } from "./subsystem-
|
|
4
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { H as resolveUserPath, L as jidToE164, Q as info, ct as getChildLogger, i as defaultRuntime, rt as success } from "./subsystem-D7KkLxSJ.js";
|
|
4
|
+
import { t as formatCliCommand } from "./command-format-D4smYdZ1.js";
|
|
5
5
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|