@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 { h as normalizeAccountId } from "./session-key-qmb11-mH.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-Bj4Z7jBB.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as normalizeAccountId } from "./session-key-qmb11-mH.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-Bj4Z7jBB.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -4,7 +4,7 @@ import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-
|
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
|
-
import
|
|
7
|
+
import fs$1 from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/account-helpers.ts
|
|
10
10
|
function createAccountListHelpers(channelKey) {
|
|
@@ -85,14 +85,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
85
85
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
86
86
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
87
87
|
try {
|
|
88
|
-
await
|
|
88
|
+
await fs$1.access(resolvedAuthDir);
|
|
89
89
|
} catch {
|
|
90
90
|
return false;
|
|
91
91
|
}
|
|
92
92
|
try {
|
|
93
|
-
const stats = await
|
|
93
|
+
const stats = await fs$1.stat(credsPath);
|
|
94
94
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
95
|
-
const raw = await
|
|
95
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
96
96
|
JSON.parse(raw);
|
|
97
97
|
return true;
|
|
98
98
|
} catch {
|
|
@@ -100,7 +100,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
103
|
-
const entries = await
|
|
103
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
104
104
|
const shouldDelete = (name) => {
|
|
105
105
|
if (name === "oauth.json") return false;
|
|
106
106
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -110,7 +110,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
110
110
|
await Promise.all(entries.map(async (entry) => {
|
|
111
111
|
if (!entry.isFile()) return;
|
|
112
112
|
if (!shouldDelete(entry.name)) return;
|
|
113
|
-
await
|
|
113
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
114
114
|
}));
|
|
115
115
|
}
|
|
116
116
|
async function logoutWeb(params) {
|
|
@@ -121,7 +121,7 @@ async function logoutWeb(params) {
|
|
|
121
121
|
return false;
|
|
122
122
|
}
|
|
123
123
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
124
|
-
else await
|
|
124
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
125
125
|
recursive: true,
|
|
126
126
|
force: true
|
|
127
127
|
});
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Ot as theme, n as isMainModule, st as resolveUserPath, ut as shortenHomePath, 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 { t as VERSION } from "./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 { t as GatewayClient } from "./client-
|
|
13
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
14
|
-
import "./pairing-token-
|
|
15
|
-
import "./net-
|
|
16
|
-
import "./tailnet-
|
|
12
|
+
import { t as GatewayClient } from "./client-CdetOJti.js";
|
|
13
|
+
import { t as buildGatewayConnectionDetails } from "./call-BZSWeS2x.js";
|
|
14
|
+
import "./pairing-token-CtND5y_8.js";
|
|
15
|
+
import "./net-C63UEjlQ.js";
|
|
16
|
+
import "./tailnet-DRVktntg.js";
|
|
17
17
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DQGpxZLN.js";
|
|
18
18
|
import { r as isKnownCoreToolId } from "./tool-catalog-DABanDxl.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-yQMT2QcX.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { $t as resolveStateDir, rt as pathExists, s as createSubsystemLogger, sn as resolveRequiredHomeDir, st as resolveUserPath } from "./entry.js";
|
|
2
2
|
import { C as isSubagentSessionKey, S as isCronSessionKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, w as parseAgentSessionKey } from "./session-key-qmb11-mH.js";
|
|
3
|
-
import { h as normalizeSkillFilter, i as openBoundaryFile, t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
3
|
+
import { h as normalizeSkillFilter, i as openBoundaryFile, t as resolveOpenClawPackageRoot } from "./openclaw-root-Cw_9FXUV.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-BhaMholX.js";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
|
-
import
|
|
9
|
+
import fs$1 from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/config/model-input.ts
|
|
12
12
|
function resolveAgentModelPrimaryValue(model) {
|
|
@@ -148,7 +148,7 @@ async function loadTemplate(name) {
|
|
|
148
148
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
149
149
|
const templatePath = path.join(templateDir, name);
|
|
150
150
|
try {
|
|
151
|
-
return stripFrontMatter(await
|
|
151
|
+
return stripFrontMatter(await fs$1.readFile(templatePath, "utf-8"));
|
|
152
152
|
} catch {
|
|
153
153
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
154
154
|
}
|
|
@@ -163,7 +163,7 @@ async function loadTemplate(name) {
|
|
|
163
163
|
}
|
|
164
164
|
async function writeFileIfMissing(filePath, content) {
|
|
165
165
|
try {
|
|
166
|
-
await
|
|
166
|
+
await fs$1.writeFile(filePath, content, {
|
|
167
167
|
encoding: "utf-8",
|
|
168
168
|
flag: "wx"
|
|
169
169
|
});
|
|
@@ -175,7 +175,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
175
175
|
}
|
|
176
176
|
async function fileExists(filePath) {
|
|
177
177
|
try {
|
|
178
|
-
await
|
|
178
|
+
await fs$1.access(filePath);
|
|
179
179
|
return true;
|
|
180
180
|
} catch {
|
|
181
181
|
return false;
|
|
@@ -199,7 +199,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
199
199
|
}
|
|
200
200
|
async function readWorkspaceOnboardingState(statePath) {
|
|
201
201
|
try {
|
|
202
|
-
return parseWorkspaceOnboardingState(await
|
|
202
|
+
return parseWorkspaceOnboardingState(await fs$1.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
203
203
|
} catch (err) {
|
|
204
204
|
if (err.code !== "ENOENT") throw err;
|
|
205
205
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -213,20 +213,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
213
213
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
214
214
|
}
|
|
215
215
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
216
|
-
await
|
|
216
|
+
await fs$1.mkdir(path.dirname(statePath), { recursive: true });
|
|
217
217
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
218
218
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
219
219
|
try {
|
|
220
|
-
await
|
|
221
|
-
await
|
|
220
|
+
await fs$1.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
221
|
+
await fs$1.rename(tmpPath, statePath);
|
|
222
222
|
} catch (err) {
|
|
223
|
-
await
|
|
223
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
224
224
|
throw err;
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
async function hasGitRepo(dir) {
|
|
228
228
|
try {
|
|
229
|
-
await
|
|
229
|
+
await fs$1.stat(path.join(dir, ".git"));
|
|
230
230
|
return true;
|
|
231
231
|
} catch {
|
|
232
232
|
return false;
|
|
@@ -256,7 +256,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
256
256
|
}
|
|
257
257
|
async function ensureAgentWorkspace(params) {
|
|
258
258
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
259
|
-
await
|
|
259
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
260
260
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
261
261
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
262
262
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -283,7 +283,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
283
283
|
const paths = [...templatePaths, ...userContentPaths];
|
|
284
284
|
return (await Promise.all(paths.map(async (p) => {
|
|
285
285
|
try {
|
|
286
|
-
await
|
|
286
|
+
await fs$1.access(p);
|
|
287
287
|
return true;
|
|
288
288
|
} catch {
|
|
289
289
|
return false;
|
|
@@ -316,7 +316,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
316
316
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
317
317
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
318
318
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
319
|
-
const [identityContent, userContent] = await Promise.all([
|
|
319
|
+
const [identityContent, userContent] = await Promise.all([fs$1.readFile(identityPath, "utf-8"), fs$1.readFile(userPath, "utf-8")]);
|
|
320
320
|
const hasUserContent = await (async () => {
|
|
321
321
|
const indicators = [
|
|
322
322
|
path.join(dir, "memory"),
|
|
@@ -324,7 +324,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
324
324
|
path.join(dir, ".git")
|
|
325
325
|
];
|
|
326
326
|
for (const indicator of indicators) try {
|
|
327
|
-
await
|
|
327
|
+
await fs$1.access(indicator);
|
|
328
328
|
return true;
|
|
329
329
|
} catch {}
|
|
330
330
|
return false;
|
|
@@ -355,7 +355,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
355
355
|
for (const name of candidates) {
|
|
356
356
|
const filePath = path.join(resolvedDir, name);
|
|
357
357
|
try {
|
|
358
|
-
await
|
|
358
|
+
await fs$1.access(filePath);
|
|
359
359
|
entries.push({
|
|
360
360
|
name,
|
|
361
361
|
filePath
|
|
@@ -368,7 +368,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
368
368
|
for (const entry of entries) {
|
|
369
369
|
let key = entry.filePath;
|
|
370
370
|
try {
|
|
371
|
-
key = await
|
|
371
|
+
key = await fs$1.realpath(entry.filePath);
|
|
372
372
|
} catch {}
|
|
373
373
|
if (seen.has(key)) continue;
|
|
374
374
|
seen.add(key);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { st as resolveUserPath, ut as shortenHomePath, v as defaultRuntime } from "./entry.js";
|
|
3
|
-
import { Hn as resolveAuthStorePath, L as writeConfigFile, Ln as ensureAuthProfileStore } from "./auth-profiles-
|
|
3
|
+
import { Hn as resolveAuthStorePath, L as writeConfigFile, Ln as ensureAuthProfileStore } from "./auth-profiles-D3FyYUSG.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
5
|
-
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-B33Scyaw.js";
|
|
6
6
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-qmb11-mH.js";
|
|
7
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
8
|
-
import { F as identityHasValues, L as parseIdentityMarkdown } from "./subagent-registry-
|
|
7
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Cb8JznN4.js";
|
|
8
|
+
import { F as identityHasValues, L as parseIdentityMarkdown } from "./subagent-registry-CrbLe3Kg.js";
|
|
9
9
|
import { c as resolveSessionTranscriptsDirForAgent } from "./paths-4nKmwJd-.js";
|
|
10
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
10
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-CzMlu78H.js";
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-CfOu9uZi.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-b-zJxplB.js";
|
|
13
13
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BgzIw8DX.js";
|
|
14
|
-
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-
|
|
15
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
16
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
14
|
+
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-DM5GZr_k.js";
|
|
15
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-bWKr_efI.js";
|
|
16
|
+
import { r as setupChannels } from "./onboard-channels-BfGGowDI.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-DY1J23zp.js";
|
|
18
18
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BIur2SY-.js";
|
|
19
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
19
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-CLaOH6QA.js";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fs from "node:fs/promises";
|
|
22
22
|
|
|
23
23
|
//#region src/commands/agents.command-shared.ts
|
|
24
24
|
function createQuietRuntime(runtime) {
|
|
@@ -236,7 +236,7 @@ async function agentsUnbindCommand(opts, runtime = defaultRuntime) {
|
|
|
236
236
|
//#region src/commands/agents.commands.add.ts
|
|
237
237
|
async function fileExists(pathname) {
|
|
238
238
|
try {
|
|
239
|
-
await
|
|
239
|
+
await fs.stat(pathname);
|
|
240
240
|
return true;
|
|
241
241
|
} catch {
|
|
242
242
|
return false;
|
|
@@ -378,8 +378,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
378
378
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
379
379
|
initialValue: false
|
|
380
380
|
})) {
|
|
381
|
-
await
|
|
382
|
-
await
|
|
381
|
+
await fs.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
382
|
+
await fs.copyFile(sourceAuthPath, destAuthPath);
|
|
383
383
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
384
384
|
}
|
|
385
385
|
}
|
|
@@ -527,7 +527,7 @@ const coerceTrimmed = (value) => {
|
|
|
527
527
|
};
|
|
528
528
|
async function loadIdentityFromFile(filePath) {
|
|
529
529
|
try {
|
|
530
|
-
const parsed = parseIdentityMarkdown(await
|
|
530
|
+
const parsed = parseIdentityMarkdown(await fs.readFile(filePath, "utf-8"));
|
|
531
531
|
if (!identityHasValues(parsed)) return null;
|
|
532
532
|
return parsed;
|
|
533
533
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-B33Scyaw.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-qmb11-mH.js";
|
|
3
|
-
import { F as identityHasValues, I as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { F as identityHasValues, I as loadAgentIdentityFromWorkspace } from "./subagent-registry-CrbLe3Kg.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import { Ct as shouldLogVerbose, bt as logVerbose } 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-
|
|
11
|
-
import "./dock-
|
|
12
|
-
import "./pi-model-discovery-
|
|
10
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
11
|
+
import "./dock-SjEhga7i.js";
|
|
12
|
+
import "./pi-model-discovery-iNwnGd3m.js";
|
|
13
13
|
import "./frontmatter-CA3PbX1f.js";
|
|
14
|
-
import "./skills-
|
|
15
|
-
import "./path-alias-guards-
|
|
14
|
+
import "./skills-BkqPPXlw.js";
|
|
15
|
+
import "./path-alias-guards-DEakBSGU.js";
|
|
16
16
|
import "./message-channel-CIQTys4Q.js";
|
|
17
|
-
import "./sessions-
|
|
18
|
-
import "./plugins-
|
|
19
|
-
import "./accounts-
|
|
20
|
-
import "./accounts-
|
|
21
|
-
import "./accounts-
|
|
22
|
-
import "./bindings-
|
|
17
|
+
import "./sessions-aGmwHv0g.js";
|
|
18
|
+
import "./plugins-Cb8JznN4.js";
|
|
19
|
+
import "./accounts-Bj4Z7jBB.js";
|
|
20
|
+
import "./accounts-Bgjrmxdu.js";
|
|
21
|
+
import "./accounts-1yld8BY0.js";
|
|
22
|
+
import "./bindings-CWyuSfs6.js";
|
|
23
23
|
import "./logging-CFvkxgcX.js";
|
|
24
24
|
import "./paths-4nKmwJd-.js";
|
|
25
25
|
import "./chat-envelope-BHg8VU61.js";
|
|
26
|
-
import "./net-
|
|
27
|
-
import "./tailnet-
|
|
28
|
-
import "./image-ops-
|
|
29
|
-
import "./pi-embedded-helpers-
|
|
30
|
-
import "./sandbox-
|
|
26
|
+
import "./net-C63UEjlQ.js";
|
|
27
|
+
import "./tailnet-DRVktntg.js";
|
|
28
|
+
import "./image-ops-Z3_QkQPj.js";
|
|
29
|
+
import "./pi-embedded-helpers-BYXUXgYn.js";
|
|
30
|
+
import "./sandbox-BCxHjLQS.js";
|
|
31
31
|
import "./tool-catalog-DABanDxl.js";
|
|
32
|
-
import "./chrome-
|
|
32
|
+
import "./chrome-CmcvtOeC.js";
|
|
33
33
|
import "./tailscale-Cz0j5H8x.js";
|
|
34
|
-
import "./auth-
|
|
35
|
-
import "./server-context-
|
|
36
|
-
import "./paths-
|
|
34
|
+
import "./auth-D3lXwd01.js";
|
|
35
|
+
import "./server-context-RDkXuB9P.js";
|
|
36
|
+
import "./paths-BVyklYXR.js";
|
|
37
37
|
import "./redact-Dcypez3H.js";
|
|
38
38
|
import "./errors-Cu3BYw29.js";
|
|
39
|
-
import "./fs-safe-
|
|
40
|
-
import "./ssrf-
|
|
41
|
-
import "./store-
|
|
42
|
-
import "./ports-
|
|
39
|
+
import "./fs-safe-CCDIEBbt.js";
|
|
40
|
+
import "./ssrf-DQPhGAdC.js";
|
|
41
|
+
import "./store-BnsBHp0V.js";
|
|
42
|
+
import "./ports-4J8-_4SF.js";
|
|
43
43
|
import "./trash-C8oZT55U.js";
|
|
44
|
-
import "./server-middleware-
|
|
45
|
-
import "./tool-images-
|
|
44
|
+
import "./server-middleware-DSIQAJZd.js";
|
|
45
|
+
import "./tool-images-0PIXjd8w.js";
|
|
46
46
|
import "./thinking-DW6CKWyf.js";
|
|
47
|
-
import "./models-config-
|
|
48
|
-
import "./gemini-auth-
|
|
49
|
-
import "./fetch-guard-
|
|
50
|
-
import "./local-roots-
|
|
51
|
-
import "./image-
|
|
47
|
+
import "./models-config-CGGxd1w2.js";
|
|
48
|
+
import "./gemini-auth-i82BVqPg.js";
|
|
49
|
+
import "./fetch-guard-Cm1MSHHV.js";
|
|
50
|
+
import "./local-roots-Cyat99dT.js";
|
|
51
|
+
import "./image-w5Vu5G__.js";
|
|
52
52
|
import "./tool-display-DvjkoW7B.js";
|
|
53
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-
|
|
54
|
-
import "./model-catalog-
|
|
53
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-C9RTcw_0.js";
|
|
54
|
+
import "./model-catalog-el1FVV5q.js";
|
|
55
55
|
|
|
56
56
|
//#region src/media-understanding/audio-preflight.ts
|
|
57
57
|
/**
|
|
@@ -14,8 +14,8 @@ import "./accounts-Bo6sCt5N.js";
|
|
|
14
14
|
import "./image-ops-2OFUPHCW.js";
|
|
15
15
|
import "./pi-model-discovery-C77P6PHW.js";
|
|
16
16
|
import "./message-channel-2ebD0aMr.js";
|
|
17
|
-
import "./pi-embedded-helpers-
|
|
18
|
-
import "./chrome-
|
|
17
|
+
import "./pi-embedded-helpers-Dv3HZWfJ.js";
|
|
18
|
+
import "./chrome-rCogzAbu.js";
|
|
19
19
|
import "./frontmatter-C-cormgP.js";
|
|
20
20
|
import "./skills-CRCTCGF5.js";
|
|
21
21
|
import "./path-alias-guards-C5qernCC.js";
|
|
@@ -29,11 +29,11 @@ import "./accounts-BAjKILS-.js";
|
|
|
29
29
|
import "./paths-Dtwm9D9e.js";
|
|
30
30
|
import "./tool-images-DnvgGTDf.js";
|
|
31
31
|
import "./thinking-CJoHneR6.js";
|
|
32
|
-
import "./image-
|
|
32
|
+
import "./image-dzsBaMmN.js";
|
|
33
33
|
import "./gemini-auth-CKi3hHc3.js";
|
|
34
34
|
import "./fetch-guard-rxepwu2N.js";
|
|
35
35
|
import "./local-roots-CTsAvkXf.js";
|
|
36
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
36
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-Q4wBIACO.js";
|
|
37
37
|
|
|
38
38
|
//#region src/media-understanding/audio-preflight.ts
|
|
39
39
|
/**
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { $t as resolveStateDir, Ut as resolveConfigPath, Zt as resolveOAuthDir } from "./entry.js";
|
|
2
|
-
import { A as createConfigIO, C as inspectPathPermissions, S as formatPermissionRemediation, Sn as MAX_INCLUDE_DEPTH, Vt as normalizeTrustedSafeBinDirs, nt as isDangerousNetworkMode, rt as normalizeNetworkMode, w as safeStat, x as formatPermissionDetail, xn as INCLUDE_KEY } from "./auth-profiles-
|
|
2
|
+
import { A as createConfigIO, C as inspectPathPermissions, S as formatPermissionRemediation, Sn as MAX_INCLUDE_DEPTH, Vt as normalizeTrustedSafeBinDirs, nt as isDangerousNetworkMode, rt as normalizeNetworkMode, w as safeStat, x as formatPermissionDetail, xn as INCLUDE_KEY } from "./auth-profiles-D3FyYUSG.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BYm_a0tW.js";
|
|
4
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId } from "./agent-scope-B33Scyaw.js";
|
|
5
5
|
import { s as normalizeAgentId } from "./session-key-qmb11-mH.js";
|
|
6
6
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-PPcHwaHH.js";
|
|
7
|
-
import { u as normalizePluginsConfig } from "./manifest-registry-
|
|
8
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
9
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
7
|
+
import { u as normalizePluginsConfig } from "./manifest-registry-DRMtnPEQ.js";
|
|
8
|
+
import { l as normalizeStringEntries } from "./dock-SjEhga7i.js";
|
|
9
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-BkqPPXlw.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CIQTys4Q.js";
|
|
11
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
12
|
-
import { Rt as normalizeDeviceMetadataForPolicy, t as GatewayClient } from "./client-
|
|
13
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
+
import { n as listChannelPlugins } from "./plugins-Cb8JznN4.js";
|
|
12
|
+
import { Rt as normalizeDeviceMetadataForPolicy, t as GatewayClient } from "./client-CdetOJti.js";
|
|
13
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-BZSWeS2x.js";
|
|
14
14
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DQGpxZLN.js";
|
|
15
|
-
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
16
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
17
|
-
import { a as resolveProfile, i as resolveBrowserConfig, s as resolveBrowserControlAuth } from "./server-context-
|
|
15
|
+
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-BCxHjLQS.js";
|
|
16
|
+
import { a as resolveGatewayAuth } from "./auth-D3lXwd01.js";
|
|
17
|
+
import { a as resolveProfile, i as resolveBrowserConfig, s as resolveBrowserControlAuth } from "./server-context-RDkXuB9P.js";
|
|
18
18
|
import { n as formatErrorMessage } from "./errors-Cu3BYw29.js";
|
|
19
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
20
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
21
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
22
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
23
|
-
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
19
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-BQ4FXdVM.js";
|
|
20
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-DvATdC6x.js";
|
|
21
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-C49WkfCi.js";
|
|
22
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-Mb8gX4pT.js";
|
|
23
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-B5HqMPIq.js";
|
|
24
24
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-C2i9AEgf.js";
|
|
25
25
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-D2c4akyc.js";
|
|
26
26
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BgzIw8DX.js";
|
|
27
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
27
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-DW9hSz_J.js";
|
|
28
28
|
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-2OSlA4bi.js";
|
|
29
29
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-COMtneie.js";
|
|
30
30
|
import { t as inferParamBFromIdOrName } from "./model-param-b-Dir-zlOZ.js";
|
|
31
31
|
import path from "node:path";
|
|
32
32
|
import JSON5 from "json5";
|
|
33
|
-
import * as fs from "node:fs/promises";
|
|
34
|
-
import
|
|
33
|
+
import * as fs$1 from "node:fs/promises";
|
|
34
|
+
import fs from "node:fs/promises";
|
|
35
35
|
import { randomUUID } from "node:crypto";
|
|
36
36
|
import { isIP } from "node:net";
|
|
37
37
|
|
|
@@ -1487,7 +1487,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1487
1487
|
if (visited.has(resolved)) continue;
|
|
1488
1488
|
visited.add(resolved);
|
|
1489
1489
|
result.push(resolved);
|
|
1490
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1490
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1491
1491
|
if (!rawText) continue;
|
|
1492
1492
|
const nestedParsed = (() => {
|
|
1493
1493
|
try {
|
|
@@ -1520,7 +1520,7 @@ function expandTilde(p, env) {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1522
1522
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1523
|
-
const raw = await
|
|
1523
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1524
1524
|
if (!raw.trim()) return [];
|
|
1525
1525
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1526
1526
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1542,7 +1542,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1542
1542
|
};
|
|
1543
1543
|
return {
|
|
1544
1544
|
extensionsDir,
|
|
1545
|
-
pluginDirs: (await
|
|
1545
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1546
1546
|
params.onReadError?.(err);
|
|
1547
1547
|
return [];
|
|
1548
1548
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1605,7 +1605,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
async function readInstalledPackageVersion(dir) {
|
|
1607
1607
|
try {
|
|
1608
|
-
const raw = await
|
|
1608
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1609
1609
|
const parsed = JSON.parse(raw);
|
|
1610
1610
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1611
1611
|
} catch {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as safeEqualSecret } from "./secret-equal-DRMKpDYs.js";
|
|
2
|
-
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-
|
|
2
|
+
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-C63UEjlQ.js";
|
|
3
3
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-DQGpxZLN.js";
|
|
4
4
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-Cz0j5H8x.js";
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Hr as getCustomProviderApiKey, Ir as SYNTHETIC_DEFAULT_MODEL_REF, Kr as resolveEnvApiKey, Ln as ensureAuthProfileStore, Pn as upsertAuthProfile, Wn as resolveOpenClawAgentDir, d as exchangeChutesCodeForTokens, f as generateChutesPkce, jn as listProfilesForProvider, kr as VENICE_DEFAULT_MODEL_REF, li as KILOCODE_DEFAULT_MODEL_REF, lr as resolveDefaultModelForAgent, n as resolveAuthProfileOrder, ni as isHuggingfacePolicyLocked, p as parseOAuthCallbackInput, ri as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, ti as discoverHuggingfaceModels, u as CHUTES_AUTHORIZE_ENDPOINT } from "./auth-profiles-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { r as isLoopbackHost } from "./net-
|
|
5
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
6
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
7
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
8
|
-
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
10
|
-
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-
|
|
11
|
-
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
12
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
2
|
+
import { Hr as getCustomProviderApiKey, Ir as SYNTHETIC_DEFAULT_MODEL_REF, Kr as resolveEnvApiKey, Ln as ensureAuthProfileStore, Pn as upsertAuthProfile, Wn as resolveOpenClawAgentDir, d as exchangeChutesCodeForTokens, f as generateChutesPkce, jn as listProfilesForProvider, kr as VENICE_DEFAULT_MODEL_REF, li as KILOCODE_DEFAULT_MODEL_REF, lr as resolveDefaultModelForAgent, n as resolveAuthProfileOrder, ni as isHuggingfacePolicyLocked, p as parseOAuthCallbackInput, ri as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, ti as discoverHuggingfaceModels, u as CHUTES_AUTHORIZE_ENDPOINT } from "./auth-profiles-D3FyYUSG.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-B33Scyaw.js";
|
|
4
|
+
import { r as isLoopbackHost } from "./net-C63UEjlQ.js";
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-el1FVV5q.js";
|
|
6
|
+
import { f as openUrl } from "./onboard-helpers-CzMlu78H.js";
|
|
7
|
+
import { t as enablePluginInConfig } from "./enable-D8_8_z2E.js";
|
|
8
|
+
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-5Yewb0K8.js";
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-C-Vm3aEA.js";
|
|
10
|
+
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-DAtOrGrN.js";
|
|
11
|
+
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-Dy_e_lUy.js";
|
|
12
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-BzzwN4eR.js";
|
|
13
13
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
14
14
|
import { randomBytes } from "node:crypto";
|
|
15
15
|
import { createServer } from "node:http";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { $ as resolveDefaultSecretProviderAlias, Kr as resolveEnvApiKey, Ln as ensureAuthProfileStore, Pn as upsertAuthProfile, ir as normalizeProviderId, it as parseDurationMs, l as resolveApiKeyForProfile, n as resolveAuthProfileOrder, oi as normalizeOptionalSecretInput, si as normalizeSecretInput } from "./auth-profiles-
|
|
2
|
-
import "./agent-scope-
|
|
3
|
-
import "./openclaw-root-
|
|
1
|
+
import { $ as resolveDefaultSecretProviderAlias, Kr as resolveEnvApiKey, Ln as ensureAuthProfileStore, Pn as upsertAuthProfile, ir as normalizeProviderId, it as parseDurationMs, l as resolveApiKeyForProfile, n as resolveAuthProfileOrder, oi as normalizeOptionalSecretInput, si as normalizeSecretInput } from "./auth-profiles-D3FyYUSG.js";
|
|
2
|
+
import "./agent-scope-B33Scyaw.js";
|
|
3
|
+
import "./openclaw-root-Cw_9FXUV.js";
|
|
4
4
|
import "./exec-BhaMholX.js";
|
|
5
5
|
import "./github-copilot-token-DKRiM6oj.js";
|
|
6
6
|
import "./host-env-security-BM8ktVlo.js";
|
|
7
7
|
import "./version-CFqP9tDG.js";
|
|
8
8
|
import "./env-vars-kURZgejA.js";
|
|
9
|
-
import "./manifest-registry-
|
|
10
|
-
import "./models-config-
|
|
11
|
-
import "./model-catalog-
|
|
12
|
-
import "./shared-
|
|
13
|
-
import { A as applyTogetherConfig, B as applyLitellmConfig, E as applyQianfanConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, M as applyVeniceConfig, O as applySyntheticConfig, P as applyXaiConfig, R as applyZaiConfig, St as setZaiApiKey, W as applyVercelAiGatewayConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, f as applyHuggingfaceConfig, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, ht as setSyntheticApiKey, it as setHuggingfaceApiKey, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, pt as setOpenrouterApiKey, r as applyOpencodeZenConfig, rt as setGeminiApiKey, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, yt as setVolcengineApiKey } from "./auth-token-
|
|
14
|
-
import { o as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
15
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
16
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
17
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
9
|
+
import "./manifest-registry-DRMtnPEQ.js";
|
|
10
|
+
import "./models-config-CGGxd1w2.js";
|
|
11
|
+
import "./model-catalog-el1FVV5q.js";
|
|
12
|
+
import "./shared-CnARKvCa.js";
|
|
13
|
+
import { A as applyTogetherConfig, B as applyLitellmConfig, E as applyQianfanConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, M as applyVeniceConfig, O as applySyntheticConfig, P as applyXaiConfig, R as applyZaiConfig, St as setZaiApiKey, W as applyVercelAiGatewayConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, f as applyHuggingfaceConfig, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, ht as setSyntheticApiKey, it as setHuggingfaceApiKey, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, pt as setOpenrouterApiKey, r as applyOpencodeZenConfig, rt as setGeminiApiKey, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, yt as setVolcengineApiKey } from "./auth-token-5Yewb0K8.js";
|
|
14
|
+
import { o as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-DAtOrGrN.js";
|
|
15
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-Dy_e_lUy.js";
|
|
16
|
+
import { r as applyPrimaryModel } from "./model-picker-BzzwN4eR.js";
|
|
17
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-D_J_UV_B.js";
|
|
18
18
|
|
|
19
19
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
20
20
|
function parseEnvVarNameFromSourceLabel(source) {
|
package/dist/{auth-choice.apply-helpers-CLLeqgyP.js → auth-choice.apply-helpers-DAtOrGrN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as resolveDefaultSecretProviderAlias, Kr as resolveEnvApiKey, Q as isValidFileSecretRefId, b as encodeJsonPointerToken, gi as DEFAULT_PROVIDER, m as resolveSecretRefString, sr as resolveAllowlistModelKey } from "./auth-profiles-
|
|
1
|
+
import { $ as resolveDefaultSecretProviderAlias, Kr as resolveEnvApiKey, Q as isValidFileSecretRefId, b as encodeJsonPointerToken, gi as DEFAULT_PROVIDER, m as resolveSecretRefString, sr as resolveAllowlistModelKey } from "./auth-profiles-D3FyYUSG.js";
|
|
2
2
|
import { t as PROVIDER_ENV_VARS } from "./provider-env-vars-dJWRqZsf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/auth-choice.api-key.ts
|