winclaw 2026.4.2 → 2026.4.3
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-COQCwaOx.js → accounts-BMzwpoH6.js} +2 -2
- package/dist/{accounts-BpS-Awr5.js → accounts-CLKFSM00.js} +1 -1
- package/dist/{accounts-8qwgz384.js → accounts-CTJXIABG.js} +1 -1
- package/dist/{accounts-C9pRuvFs.js → accounts-DFL8WObH.js} +17 -17
- package/dist/{accounts-BrWJjaKS.js → accounts-cYG8442L.js} +7 -7
- package/dist/{accounts-CB3S-pzi.js → accounts-wUJs71Df.js} +2 -2
- package/dist/{acp-cli-DOyxCPhJ.js → acp-cli-BlB6CU93.js} +8 -8
- package/dist/{active-listener-DC2EPEai.js → active-listener-Cl1nUpSx.js} +2 -2
- package/dist/{agent-scope-Dany4R2i.js → agent-scope-D-i-vMLS.js} +17 -17
- package/dist/{agents-DDk8AzzE.js → agents-W9JWafdB.js} +14 -14
- package/dist/{agents.config-CJNjUDwO.js → agents.config-C3E7R_b_.js} +2 -2
- package/dist/{agents.config-BhjjI0Qu.js → agents.config-DpulRzHE.js} +1 -1
- package/dist/{api-key-rotation-DX8FQ-la.js → api-key-rotation-6yvrHUjY.js} +1 -1
- package/dist/{api-key-rotation-CRL09xew.js → api-key-rotation-DQvswLYB.js} +2 -2
- package/dist/{audio-preflight-uNfu32Ts.js → audio-preflight-BEq84GnJ.js} +32 -32
- package/dist/{audio-preflight-D-fJAjmv.js → audio-preflight-BpK1Fpki.js} +34 -34
- package/dist/{audio-transcription-runner-BLGEfPAB.js → audio-transcription-runner-D4tmQb8q.js} +12 -12
- package/dist/{audio-transcription-runner-CRSNM03k.js → audio-transcription-runner-UjPRrQgJ.js} +23 -23
- package/dist/{audit-CyNXGkn3.js → audit-DRPXorDm.js} +29 -29
- package/dist/{audit-membership-runtime-2MsoqrOe.js → audit-membership-runtime-CGEw2gyt.js} +4 -4
- package/dist/{auth-CnAV77Sn.js → auth--KDo_E_4.js} +1 -1
- package/dist/{auth-choice-CqvYUlqy.js → auth-choice-CqtbkSRG.js} +1 -1
- package/dist/{auth-choice-VaQfxfmJ.js → auth-choice-DM5Plhrj.js} +13 -13
- package/dist/{auth-choice-_mgzqtsu.js → auth-choice-ipCgzgej.js} +11 -11
- package/dist/{auth-choice.apply-helpers-DcSztsOH.js → auth-choice.apply-helpers-CJy8V2Xp.js} +1 -1
- package/dist/{auth-profiles-Ckp5jw_h.js → auth-profiles-C0_vbRBI.js} +16 -16
- package/dist/{auth-token-BxX2fAIF.js → auth-token-BsypkvZB.js} +1 -1
- package/dist/{banner-DCilTGJi.js → banner-CqhuY9h_.js} +2 -2
- package/dist/{bonjour-discovery-TLpgifVr.js → bonjour-discovery-ZXskIxLW.js} +1 -1
- package/dist/{browser-cli-bFKY_VZG.js → browser-cli-DbIjFtFV.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +51 -51
- package/dist/{call-yVj9RKC4.js → call-CmNNda8m.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-D4Yftz20.js → channel-account-context-B4ofKr9t.js} +5 -5
- package/dist/{channel-activity-Be1W--JY.js → channel-activity-ByNcXVRI.js} +3 -3
- package/dist/{channel-activity-D_GsFyli.js → channel-activity-aWOCqUEs.js} +1 -1
- package/dist/{channel-options-ka5SNkDk.js → channel-options-B4BMtqlo.js} +1 -1
- package/dist/{channel-options-BOwz6gxk.js → channel-options-DJUsWV2H.js} +3 -3
- package/dist/{channel-selection-Bke39fer.js → channel-selection-5G2iw3CB.js} +1 -1
- package/dist/{channel-web-GZe-ngAE.js → channel-web-BVyRrl5U.js} +17 -17
- package/dist/{channel-web-CXXgEisi.js → channel-web-CSgMgYJq.js} +1 -1
- package/dist/{channels-cli-CFt6LI0t.js → channels-cli-BdhA0OuZ.js} +93 -93
- package/dist/{channels-cli-BEWtGbgZ.js → channels-cli-NE9EMg_t.js} +6 -6
- package/dist/{channels-status-issues-wCgCdUDu.js → channels-status-issues-DpfEWI4l.js} +1 -1
- package/dist/{chrome-Bbq_TQ3l.js → chrome-Bcoqn7FR.js} +18 -18
- package/dist/{chrome-MZdKzhd4.js → chrome-C3_fgvw4.js} +4 -4
- package/dist/{clawbot-cli-4S0Jk3Re.js → clawbot-cli-CiOmmnPO.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-B4waTO9B.js +154 -0
- package/dist/{cli-JGVm6vvH.js → cli-Cg4jy5nL.js} +1 -1
- package/dist/{client-LzBGN2_q.js → client-BYyYW3K0.js} +2 -2
- package/dist/{command-registry-BcBwO_Fm.js → command-registry-CEiJTFsv.js} +11 -11
- package/dist/{command-secret-targets-mNBDbtq8.js → command-secret-targets-ObW6kBQd.js} +4 -4
- package/dist/{commands-DmBkhPD-.js → commands-4mnxaSoA.js} +1 -1
- package/dist/{commands-registry-BvyQQ61P.js → commands-registry-8CcrHp7D.js} +3 -3
- package/dist/{commands-registry-DdOkPJwk.js → commands-registry-DswEq2Ay.js} +4 -4
- package/dist/{completion-cli-DYl0ufp0.js → completion-cli-BZuJngjb.js} +1 -1
- package/dist/{completion-cli-ROWE0Y1O.js → completion-cli-lYqJFqk5.js} +13 -13
- package/dist/{config-cli-lvoT31zx.js → config-cli-BRL-5RHz.js} +1 -1
- package/dist/{config-cli-CUiYLcZK.js → config-cli-CrISGP2e.js} +7 -7
- package/dist/{config-guard-DEisQhpy.js → config-guard-DMjkNbiG.js} +3 -3
- package/dist/{config-validation-BSCTo9Mn.js → config-validation-BVDib1S1.js} +3 -3
- package/dist/{configure-DqO1EpBG.js → configure-Dp3QBT1v.js} +17 -17
- package/dist/{configure-q0eB9UBx.js → configure-T-dJof2x.js} +3 -3
- package/dist/{control-ui-assets-5F0FEjfM.js → control-ui-assets-B0DdamQU.js} +1 -1
- package/dist/{cron-cli-Ba6hPFCZ.js → cron-cli-C79a_a9Q.js} +11 -11
- package/dist/{daemon-cli-lbUiDK1P.js → daemon-cli-DBMl1neJ.js} +16 -16
- package/dist/{daemon-install-DNhR8NtL.js → daemon-install-C029NlXk.js} +4 -4
- package/dist/{daemon-install-helpers-DWmF3oFP.js → daemon-install-helpers-D1YQ03lO.js} +11 -11
- package/dist/{deliver-DpjgvKXk.js → deliver-3G7ZHuBV.js} +7 -7
- package/dist/{deliver-DIoWILkX.js → deliver-D5DaZPMl.js} +21 -21
- package/dist/deliver-runtime-B3gzR86U.js +36 -0
- package/dist/deliver-runtime-BiUf_p4s.js +57 -0
- package/dist/deps-send-discord.runtime-BnSRXJCf.js +26 -0
- package/dist/deps-send-discord.runtime-CaQ1knyQ.js +32 -0
- package/dist/deps-send-imessage.runtime-CZCKtTEA.js +31 -0
- package/dist/deps-send-imessage.runtime-ae4U6M6_.js +25 -0
- package/dist/deps-send-signal.runtime-CBEKKx_z.js +24 -0
- package/dist/deps-send-signal.runtime-D3kLxuKz.js +30 -0
- package/dist/deps-send-slack.runtime-BipTynUQ.js +22 -0
- package/dist/deps-send-slack.runtime-Mw-zSbtA.js +28 -0
- package/dist/deps-send-telegram.runtime-DnuInXFW.js +27 -0
- package/dist/deps-send-telegram.runtime-FIWepZsM.js +34 -0
- package/dist/{deps-send-whatsapp.runtime-DaPVcadd.js → deps-send-whatsapp.runtime-CjGleY65.js} +2 -2
- package/dist/{deps-send-whatsapp.runtime-DX1aWK51.js → deps-send-whatsapp.runtime-CtJqjuA6.js} +3 -3
- package/dist/deps-send-whatsapp.runtime-DGgg4lhg.js +60 -0
- package/dist/deps-send-whatsapp.runtime-DjsTFusE.js +115 -0
- package/dist/{devices-cli-Dcn9jgVF.js → devices-cli-CuREwwvN.js} +8 -8
- package/dist/{diagnostic-BOh1lWIJ.js → diagnostic-C5t_7Rfz.js} +2 -2
- package/dist/{diagnostic-CxO1LgMH.js → diagnostic-Chwtt8I4.js} +1 -1
- package/dist/{diagnostics-BDjbQJxP.js → diagnostics-KfpqzhsS.js} +5 -5
- package/dist/{directory-cli-2NiA6lFd.js → directory-cli-CL4onMod.js} +7 -7
- package/dist/{dns-cli-DXcp-ZNe.js → dns-cli-CC9zZsXe.js} +5 -5
- package/dist/{dock-C-w5XvOS.js → dock-ClcGZ0LV.js} +4 -4
- package/dist/{docs-cli-BRob5CHm.js → docs-cli-DkQBHXw-.js} +4 -4
- package/dist/{doctor-completion-BmePRyqd.js → doctor-completion-B2EEbfkt.js} +2 -2
- package/dist/{doctor-completion-DNcELVYC.js → doctor-completion-l2rYI6kK.js} +1 -1
- package/dist/{doctor-config-flow-nsTC6y19.js → doctor-config-flow-DAKQgNc6.js} +15 -15
- package/dist/{enable-BQen2xUb.js → enable-DawrgAnk.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-BN2NXt1m.js → errors-Lp0oFoSE.js} +1 -1
- package/dist/{exec-approvals-allowlist-BDxoD2pP.js → exec-approvals-allowlist-CgO3-iPu.js} +1 -1
- package/dist/{exec-approvals-cli-Cp3WmN1t.js → exec-approvals-cli-Ify8VLSY.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-C7sG8mhp.js → exec-safe-bin-runtime-policy-By-anRPS.js} +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-CYQj70i4.js → fetch-CBwzVS3g.js} +5 -5
- package/dist/{fetch-CVGiNhuf.js → fetch-DyoRWiT-.js} +3 -3
- package/dist/{fetch-guard-BdJ7lME2.js → fetch-guard-DF0_kLSc.js} +1 -1
- package/dist/{fetch-guard-ClnW3Whm.js → fetch-guard-xqnMBVqQ.js} +2 -2
- package/dist/{frontmatter-2duFqwD8.js → frontmatter-B6dC_jMR.js} +3 -3
- package/dist/{fs-safe-KcFhMn0Q.js → fs-safe-CR9t1wus.js} +4 -4
- package/dist/{fs-safe-B8J4dv27.js → fs-safe-Dha0DfFC.js} +24 -24
- package/dist/{gateway-cli-BxVrtRih.js → gateway-cli-BHtIer2S.js} +106 -9
- package/dist/{gateway-cli-YhStBtpZ.js → gateway-cli-BcH2oCCY.js} +252 -155
- package/dist/{gateway-rpc-BdlE-Hja.js → gateway-rpc-CSeb8o-w.js} +1 -1
- package/dist/{github-copilot-token-CHwgdQur.js → github-copilot-token-B2GRi9DU.js} +7 -7
- package/dist/{health-K7GwLq6S.js → health-CvfIJF4N.js} +1 -1
- package/dist/{health-DxJC8OKi.js → health-EQHo91qR.js} +11 -11
- package/dist/{hooks-cli-RiP_tejK.js → hooks-cli-BCjZr2Lo.js} +2 -2
- package/dist/{hooks-cli-DqN3vI_G.js → hooks-cli-DNxz7Gy9.js} +81 -81
- package/dist/{hooks-status-CQjtRM1s.js → hooks-status-Cjg5SLpX.js} +1 -1
- package/dist/{image-Dr0dcvw9.js → image-cgeQwq0Z.js} +6 -6
- package/dist/{image-ops-rQAvBPng.js → image-ops-D2IiRc9z.js} +2 -2
- package/dist/{image-ops-DWGnyTvC.js → image-ops-eFMqXMDE.js} +10 -10
- package/dist/image-runtime-CsLPuRVE.js +51 -0
- package/dist/image-runtime-Dk2AXXlu.js +29 -0
- package/dist/{image-COh2_3E2.js → image-zu8Q4gsy.js} +5 -5
- package/dist/index.js +6 -6
- package/dist/{inspect-DbVcDDi7.js → inspect-XmcWN97u.js} +4 -4
- package/dist/{install-safe-path-FR9r9Dmi.js → install-safe-path-DNotGe9T.js} +25 -25
- package/dist/{installs-7zsfIb7P.js → installs-zKF10nZF.js} +9 -9
- package/dist/{ipv4-D8H1uDoq.js → ipv4-xGA578zM.js} +1 -1
- package/dist/{ir-CYJ0KNbJ.js → ir-Dnquxoz8.js} +8 -8
- package/dist/{ir-DzL2vo8U.js → ir-q2115WpK.js} +8 -8
- package/dist/{issue-format-rXDeQGUX.js → issue-format-DUrssptL.js} +1 -1
- package/dist/{json-files-D9ZHO8Ud.js → json-files-kWpauJWO.js} +8 -8
- package/dist/{legacy-names-Cs0nfvQL.js → legacy-names-BojA_VEz.js} +1 -1
- package/dist/{lifecycle-core-H_Cd19GX.js → lifecycle-core-CyyViGlP.js} +5 -5
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-Bb1Weo6w.js → logger-DywNda3z.js} +7 -7
- package/dist/{login-LPyovTj4.js → login---sdzE3U.js} +5 -5
- package/dist/{login-Btnmps3S.js → login-CS326UA-.js} +3 -3
- package/dist/{login-qr-Cf4yfmnj.js → login-qr-B5He9-0M.js} +10 -10
- package/dist/{login-qr-DYZ9Y8Oi.js → login-qr-DODveeI1.js} +6 -6
- package/dist/{logs-cli-BciLawXU.js → logs-cli-CUbhAWk5.js} +9 -9
- package/dist/{manager-CZi2G3PO.js → manager-CuEMnHkv.js} +13 -13
- package/dist/{manager-ClpMRt6c.js → manager-Itd8mwC6.js} +14 -14
- package/dist/manager-runtime-B0x2bOBH.js +18 -0
- package/dist/manager-runtime-CGMfvBou.js +22 -0
- package/dist/{manifest-registry-_liSV_Vx.js → manifest-registry-CI-UuKUO.js} +1 -1
- package/dist/{memory-cli-CTjStkNK.js → memory-cli-BSjyoCME.js} +12 -12
- package/dist/{model-CJZD0FVc.js → model-FuEe2Ft9.js} +2 -2
- package/dist/{model-catalog-qN_RooIW.js → model-catalog-B-CI_Q76.js} +3 -3
- package/dist/{model-picker-DWShnz0q.js → model-picker-BZqbkINL.js} +4 -4
- package/dist/{model-selection-DPCN8XlV.js → model-selection-w1nq3keW.js} +43 -43
- package/dist/{models-CTS5IeQx.js → models-DfwAFm4Y.js} +17 -17
- package/dist/{models-cli-D8ycHwdV.js → models-cli-CpUujx1Z.js} +2 -2
- package/dist/{models-cli-H3MwlreN.js → models-cli-DOQkI05x.js} +78 -78
- package/dist/{models-config-Dp2QIxnd.js → models-config-tPZvlEX4.js} +6 -6
- package/dist/{net-Bj5kyhic.js → net-CXrvhn9o.js} +2 -2
- package/dist/{node-cli-Dl-3Kbvh.js → node-cli-DxuXZEka.js} +33 -33
- package/dist/{node-command-policy-CmGM0UDZ.js → node-command-policy-hSqGZL6Y.js} +1 -1
- package/dist/{node-service-L9-L8-7x.js → node-service-CLtiUeNO.js} +1 -1
- package/dist/{nodes-cli-DVOA51fF.js → nodes-cli-8GveHDsf.js} +16 -16
- package/dist/{nodes-screen-m-f8xnMf.js → nodes-screen-OQegsPOR.js} +7 -7
- package/dist/{npm-pack-install-B3VCcNWC.js → npm-pack-install-DZvYhRnM.js} +18 -18
- package/dist/{npm-resolution-CQ9UcKiH.js → npm-resolution-CxCcdVEj.js} +1 -1
- package/dist/{npm-resolution-nulR7XjJ.js → npm-resolution-myIGgXIu.js} +4 -4
- package/dist/{onboard-C-Gfm_K0.js → onboard-B-B4hzNL.js} +6 -6
- package/dist/{onboard-CUw4EDFu.js → onboard-CYslUAoo.js} +2 -2
- package/dist/{onboard-channels-BbimY1C5.js → onboard-channels-BC4ntQdW.js} +1 -1
- package/dist/{onboard-channels-DJVGQkcY.js → onboard-channels-CdHku_08.js} +21 -21
- package/dist/{onboard-custom-B_v0Ajog.js → onboard-custom-DW1WeR_n.js} +4 -4
- package/dist/{onboard-helpers-6Smrn-T1.js → onboard-helpers-b9T97_8S.js} +10 -10
- package/dist/{onboard-hooks-DRkLf5gL.js → onboard-hooks-BTD0YhRI.js} +4 -4
- package/dist/{onboard-remote-CjyKzrPA.js → onboard-remote-DflQ6_sf.js} +4 -4
- package/dist/{onboard-skills-ClayTs-N.js → onboard-skills-DF5OkxRl.js} +4 -4
- package/dist/{onboarding-BdSep8Az.js → onboarding-B42wpwdF.js} +3 -3
- package/dist/{onboarding-dzFzywXH.js → onboarding-CTwN3TqL.js} +14 -14
- package/dist/{onboarding.finalize-C7Rtax0i.js → onboarding.finalize-86CT5KHw.js} +5 -5
- package/dist/{onboarding.finalize-DQEIdWnS.js → onboarding.finalize-Dc4yDJ-h.js} +87 -87
- package/dist/{onboarding.gateway-config-hFKNYt9m.js → onboarding.gateway-config-Dqp44gBx.js} +18 -18
- package/dist/{onboarding.secret-input-DJOIi-zO.js → onboarding.secret-input-BqpyOfgu.js} +1 -1
- package/dist/{openai-model-default-WrjUZSLr.js → openai-model-default-Duce_n_s.js} +2 -2
- package/dist/{outbound-D0hLs0iR.js → outbound-BdYORiyP.js} +6 -6
- package/dist/{outbound-attachment-C6exYeCf.js → outbound-attachment-DEbgECRe.js} +2 -2
- package/dist/{outbound-attachment-BauPemrx.js → outbound-attachment-Df5bXpFG.js} +2 -2
- package/dist/{outbound-Tv8tCXji.js → outbound-gb5XK6iG.js} +3 -3
- package/dist/{pairing-cli-9Xy08cjw.js → pairing-cli-Dm7rMKEY.js} +8 -8
- package/dist/{pairing-labels-DPcMglcJ.js → pairing-labels-BFRaTO20.js} +1 -1
- package/dist/{pairing-store-Dv0sC8Jz.js → pairing-store-Jfk6MAHv.js} +3 -3
- package/dist/{path-alias-guards-BoydiaPL.js → path-alias-guards-9OJ1UBCd.js} +3 -3
- package/dist/{path-alias-guards-DvRTlaNU.js → path-alias-guards-CrYouAo3.js} +1 -1
- package/dist/{path-safety-CSCsbd-j.js → path-safety-Cq9rwfZN.js} +1 -1
- package/dist/{paths-BVQ0udwc.js → paths-C5mR1YC-.js} +9 -9
- package/dist/{paths-B9IfjJ_z.js → paths-C7wI-mFU.js} +5 -5
- package/dist/{paths-DlO43FaS.js → paths-DmDrv0al.js} +4 -4
- package/dist/{pi-embedded-MX-nhrVP.js → pi-embedded-CFhoBS5-.js} +64 -10
- package/dist/{pi-embedded-m9xKN7BP.js → pi-embedded-IS3lXv4c.js} +222 -168
- package/dist/{pi-embedded-helpers-D21Xq_0y.js → pi-embedded-helpers-C8fEyNeB.js} +52 -52
- package/dist/{pi-embedded-helpers-5DVpps9M.js → pi-embedded-helpers-xQd6fIj4.js} +6 -6
- package/dist/{pi-model-discovery-D0Rvs4r3.js → pi-model-discovery-Cd0pEB8d.js} +1 -1
- package/dist/{pi-model-discovery-HdkINIbT.js → pi-model-discovery-YrFX2ycu.js} +7 -7
- package/dist/pi-model-discovery-runtime-D9EAfbTM.js +11 -0
- package/dist/{pi-model-discovery-runtime-BdvRmBNY.js → pi-model-discovery-runtime-Dpl9vq-K.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-DUKHYZ0f.js → pi-tools.before-tool-call.runtime-C36agKpr.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-47NwS0pj.js → pi-tools.before-tool-call.runtime-C42Ka1qW.js} +9 -9
- package/dist/{pi-tools.policy-UvhsU9iG.js → pi-tools.policy-bVlHvdWR.js} +5 -5
- package/dist/{plugin-auto-enable-BONFXc29.js → plugin-auto-enable-DaK3KSuE.js} +3 -3
- package/dist/{plugin-registry-BeoYaQ7j.js → plugin-registry-DwuNVYCh.js} +1 -1
- package/dist/{plugin-registry-Cm7G6Wqy.js → plugin-registry-qC2PzXeX.js} +3 -3
- package/dist/plugin-sdk/{channel-web-0eWJp2I4.js → channel-web-C0YRi5ES.js} +1 -1
- package/dist/plugin-sdk/{channel-web-D_rV5FYq.js → channel-web-DHC11uG3.js} +1 -1
- package/dist/plugin-sdk/compat.js +2 -2
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-B5KC_XUg.js → deps-send-whatsapp.runtime-_ZbfM-IB.js} +3 -3
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-lNTFp_xN.js → deps-send-whatsapp.runtime-t8l9nPsc.js} +3 -3
- package/dist/plugin-sdk/feishu.js +2 -2
- package/dist/plugin-sdk/googlechat.js +2 -2
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/infra/grc-client.d.ts +16 -0
- package/dist/plugin-sdk/irc.js +2 -2
- package/dist/plugin-sdk/matrix.js +2 -2
- package/dist/plugin-sdk/msteams.js +2 -2
- package/dist/plugin-sdk/nextcloud-talk.js +2 -2
- package/dist/plugin-sdk/{reply-Us_z8d9U.js → reply-CV_lew4k.js} +64 -10
- package/dist/plugin-sdk/{reply-C2UeITgI.js → reply-DHCLJLmv.js} +64 -10
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/{slash-dispatch.runtime-vqzMGLXU.js → slash-dispatch.runtime-BNtHRffo.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CAOof094.js → slash-dispatch.runtime-ODGvHRO2.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-DJsBMkDy.js → subagent-registry-runtime-BdFXj8D5.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-C7JXIci8.js → subagent-registry-runtime-kN-55UCy.js} +1 -1
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/plugin-sdk/tlon.js +2 -2
- package/dist/plugin-sdk/twitch.js +2 -2
- package/dist/plugin-sdk/{web-nfjjwfXe.js → web-3ZVV426U.js} +2 -2
- package/dist/plugin-sdk/{web-Cxcuv91c.js → web-MXQkhr6T.js} +2 -2
- package/dist/plugin-sdk/whatsapp.js +2 -2
- package/dist/plugin-sdk/zalo.js +2 -2
- package/dist/plugin-sdk/zalouser.js +2 -2
- package/dist/{plugins-BTNZZNxf.js → plugins-BjKWVodH.js} +11 -11
- package/dist/{plugins-IFacUN_Q.js → plugins-C1OgLvb4.js} +2 -2
- package/dist/{plugins-cli-XGLqcE_o.js → plugins-cli-B8bO1B4N.js} +2 -2
- package/dist/{plugins-cli-BHG-Rqb-.js → plugins-cli-DDcRJhnX.js} +83 -83
- package/dist/{ports-DqZBwUsy.js → ports-CfOim1GC.js} +2 -2
- package/dist/{ports-FLn4cVl7.js → ports-Dw-3Gxsb.js} +1 -1
- package/dist/{probe-BHa1tp-C.js → probe-DB96HNqH.js} +2 -2
- package/dist/{program-BpW0Mvtk.js → program-CyQJZfV4.js} +81 -81
- package/dist/{program-context-B0-TcbmR.js → program-context-Cdmjqgjp.js} +17 -17
- package/dist/{prompt-select-styled-DoUkFrFy.js → prompt-select-styled-2_mLwsn3.js} +40 -40
- package/dist/{prompt-select-styled-VRQYzKPo.js → prompt-select-styled-DNVF3E39.js} +4 -4
- package/dist/{provider-auth-helpers-BqcEPaTu.js → provider-auth-helpers-B6dLIZhZ.js} +5 -5
- package/dist/{provider-auth-helpers-BdTAe8Ts.js → provider-auth-helpers-DtFxRdIx.js} +1 -1
- package/dist/{proxy-env-C0nYsvsi.js → proxy-env-CmJ7_jtU.js} +1 -1
- package/dist/{proxy-env-Bfk56-mB.js → proxy-env-Dbw5mwIW.js} +1 -1
- package/dist/{proxy-fetch-Cdd34osp.js → proxy-fetch-B7RFVnmM.js} +1 -1
- package/dist/{push-apns-asJ7Q3eB.js → push-apns-BmH7g_cM.js} +1 -1
- package/dist/{push-apns-DgM4yQht.js → push-apns-DIyI0mjW.js} +5 -5
- package/dist/{pw-ai-Bt5abfwW.js → pw-ai-BBZSyzc6.js} +14 -14
- package/dist/{pw-ai-CPNq1DS5.js → pw-ai-CFIm6dB7.js} +18 -18
- package/dist/{qmd-manager-BuFQgbEm.js → qmd-manager-Pep8uczh.js} +10 -10
- package/dist/{qmd-manager-COHJs6wn.js → qmd-manager-oU4X85hj.js} +20 -20
- package/dist/{qr-cli-CRvrxPDx.js → qr-cli-geB0TD3J.js} +2 -2
- package/dist/{query-expansion-IQFdQdeu.js → query-expansion-Cja4xprw.js} +12 -12
- package/dist/{query-expansion-CYm9VrOa.js → query-expansion-DkhZeOmw.js} +6 -6
- package/dist/{redact-C-MBwXcz.js → redact-Dl6e3WFc.js} +1 -1
- package/dist/{redact-snapshot-DNLo0954.js → redact-snapshot-CjRldBIQ.js} +1 -1
- package/dist/{register.agent-cqGoNRDZ.js → register.agent-BZ47zOdM.js} +6 -6
- package/dist/{register.agent-BMoCjJAC.js → register.agent-b_kusS6r.js} +94 -94
- package/dist/{register.configure-k7MYaakQ.js → register.configure-DkBvgbel.js} +7 -7
- package/dist/register.configure-jaXBUzIK.js +162 -0
- package/dist/{register.maintenance-C8wTexrD.js → register.maintenance-CHZKvjAS.js} +95 -95
- package/dist/{register.maintenance-CoDXpmNx.js → register.maintenance-DWLLLqll.js} +7 -7
- package/dist/{register.message-DFjAFovd.js → register.message-BQ8BCgrb.js} +2 -2
- package/dist/{register.message-DJ_Fm2dU.js → register.message-D5K9o0UX.js} +74 -74
- package/dist/{register.onboard-CJwY3lTE.js → register.onboard-HDZTwiyt.js} +18 -18
- package/dist/{register.onboard-BpxK_6AE.js → register.onboard-oboo9ock.js} +2 -2
- package/dist/{register.setup-BlXxnxmN.js → register.setup-Blk7Pd37.js} +21 -21
- package/dist/{register.setup-BG0t1V-t.js → register.setup-DMdAJb32.js} +2 -2
- package/dist/{register.status-health-sessions-N2RFZIgs.js → register.status-health-sessions-BUtdhJDt.js} +3 -3
- package/dist/{register.status-health-sessions-RaDYWbBn.js → register.status-health-sessions-CV82Uu8a.js} +89 -89
- package/dist/{register.subclis-BQPFqVar.js → register.subclis-BSSP0B6y.js} +31 -31
- package/dist/{reply-6fYLjlQL.js → reply-Cl5AEdxW.js} +64 -10
- package/dist/{rpc-C3SnXIiv.js → rpc-VRU7ai3o.js} +1 -1
- package/dist/{run-main-ClI_Brsl.js → run-main-9jk2e8rp.js} +92 -92
- package/dist/{run-with-concurrency-ZZIcz2Jg.js → run-with-concurrency-B1BFXO4d.js} +4 -4
- package/dist/{runtime-CH5fohLt.js → runtime-BF8Olfsc.js} +3 -3
- package/dist/{runtime-config-collectors-B0UvQfrp.js → runtime-config-collectors-CX2DT22y.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-C5O_5Oac.js → runtime-whatsapp-login.runtime-0HUD3AWH.js} +7 -7
- package/dist/runtime-whatsapp-login.runtime-4GKboz-X.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-ThLmldBy.js +22 -0
- package/dist/runtime-whatsapp-outbound.runtime-Z7JKVh88.js +28 -0
- package/dist/{sandbox-CBt528hA.js → sandbox-CHQOIPj9.js} +18 -18
- package/dist/{sandbox-cli-CMwwlijF.js → sandbox-cli-VRZ6h57q.js} +25 -25
- package/dist/{secrets-cli-e2Demg1k.js → secrets-cli-B73viEkt.js} +11 -11
- package/dist/{security-cli-FryW-V8n.js → security-cli-D6wU5KjD.js} +43 -43
- package/dist/{send-2xjAFnHO.js → send-B-Uy34-w.js} +4 -4
- package/dist/{send-CAjgZAx0.js → send-Bz39bEsE.js} +26 -26
- package/dist/{send-C4M_d4By.js → send-C49MF69y.js} +5 -5
- package/dist/{send-CRlSWbm2.js → send-C7PqB4vs.js} +6 -6
- package/dist/{send-DSNIjC7m.js → send-DBB0o489.js} +5 -5
- package/dist/{send-D8Gr9n9p.js → send-Dg9tbmy6.js} +7 -7
- package/dist/{send-DKiKlNe4.js → send-DoTc96BB.js} +6 -6
- package/dist/{send-BUfGAwap.js → send-ExuAKrlR.js} +11 -11
- package/dist/{send-BQNX3KIc.js → send-Ta3D0GAH.js} +8 -8
- package/dist/{send-BfbImn_J.js → send-fqTvsLDY.js} +8 -8
- package/dist/{server-v5t12up6.js → server-YE6zCzOe.js} +20 -20
- package/dist/{server-context-05Fm5Kkz.js → server-context-CJiG1msd.js} +12 -12
- package/dist/{server-lifecycle-BrR-At7-.js → server-lifecycle-Bfo-0Zi5.js} +2 -2
- package/dist/{server-middleware-29IWly-I.js → server-middleware-B0GRmBkQ.js} +1 -1
- package/dist/{server-node-events-CxBR0Hu4.js → server-node-events-Bn4tEcWM.js} +74 -74
- package/dist/{server-node-events-ByuPVZUn.js → server-node-events-DtkTatYf.js} +2 -2
- package/dist/{service-B45ntxm9.js → service-Aratsspm.js} +15 -15
- package/dist/{session-BO7rj_9P.js → session-C4iQQHfw.js} +1 -1
- package/dist/{session-kBzBiiAp.js → session-CRnXhmWA.js} +8 -8
- package/dist/{session-utils-lxnjm2Oj.js → session-utils-z-HrHk5J.js} +6 -6
- package/dist/{sessions-X3dplt-M.js → sessions-8T6PxYa7.js} +4 -4
- package/dist/{sessions-BFIOR30J.js → sessions-D7TKRSga.js} +15 -15
- package/dist/{shared-_43GPoqz.js → shared-CaXgHNH2.js} +3 -3
- package/dist/{shared-CpqkgNHp.js → shared-Cj-SPh02.js} +1 -1
- package/dist/{skill-commands-BTa_Ex3d.js → skill-commands-CUwo4YjF.js} +5 -5
- package/dist/{skill-commands-DxIcKXlN.js → skill-commands-D920JGUk.js} +9 -9
- package/dist/{skill-scanner-DOOfjrYo.js → skill-scanner-DqqhF5of.js} +6 -6
- package/dist/{skills-CFYm0xdh.js → skills-BpN5EUZU.js} +3 -3
- package/dist/{skills-CIUKHVDE.js → skills-CwPsRypX.js} +22 -22
- package/dist/{skills-cli-nYjsj4Ma.js → skills-cli-DnH5WOma.js} +5 -5
- package/dist/{skills-install-DUTZBDD_.js → skills-install-JXf-PngU.js} +6 -6
- package/dist/{skills-status-CmWpjTMz.js → skills-status-Bu28FGtt.js} +1 -1
- package/dist/slash-commands.runtime-C4vrxZzp.js +16 -0
- package/dist/{slash-commands.runtime-BSt9lmeO.js → slash-commands.runtime-DO829aTF.js} +11 -11
- package/dist/slash-dispatch.runtime-BlsRcq9E.js +110 -0
- package/dist/{slash-dispatch.runtime-iMfYxFSp.js → slash-dispatch.runtime-CXe9DbXQ.js} +1 -1
- package/dist/{slash-dispatch.runtime-DYMjx8Lp.js → slash-dispatch.runtime-Dcvf1Ysc.js} +1 -1
- package/dist/slash-dispatch.runtime-kMMgvreA.js +56 -0
- package/dist/slash-skill-commands.runtime-3mTq5sM1.js +20 -0
- package/dist/slash-skill-commands.runtime-BxhuEjRa.js +29 -0
- package/dist/{status-C_a2zgef.js → status-CjfeupT2.js} +2 -2
- package/dist/{status-D2nQPaQt.js → status-DAhNNQd8.js} +28 -28
- package/dist/{status.update-ZhDibzTU.js → status.update-CdaaXiD4.js} +2 -2
- package/dist/{store-b_MFoKvm.js → store-EmAAMoOK.js} +2 -2
- package/dist/{store-Dgl-neCe.js → store-LSg8jeyh.js} +5 -5
- package/dist/{subagent-registry-BZH9LmBn.js → subagent-registry-gTbkVczB.js} +209 -155
- package/dist/subagent-registry-runtime-2Pcr7H_8.js +56 -0
- package/dist/{subagent-registry-runtime-BWuceJvS.js → subagent-registry-runtime-BZK7v3Jv.js} +1 -1
- package/dist/subagent-registry-runtime-C4uHGHz_.js +110 -0
- package/dist/{subagent-registry-runtime-Cr7E-nEo.js → subagent-registry-runtime-DWyii2Si.js} +1 -1
- package/dist/{subsystem-BaUpVOqv.js → subsystem-BXFWKvR-.js} +14 -14
- package/dist/{system-cli-mnC_WWVA.js → system-cli-B_ueNaMP.js} +9 -9
- package/dist/{system-run-command-C8KITr2s.js → system-run-command-8RPNlCCc.js} +1 -1
- package/dist/{systemd-BNMfPHLS.js → systemd-CVY4-XuL.js} +9 -9
- package/dist/{systemd-hints-O9SJa5Ku.js → systemd-hints-GPX9Y1X7.js} +6 -6
- package/dist/{systemd-linger-CDgtOmPf.js → systemd-linger-CyioH9ho.js} +1 -1
- package/dist/{tables-BbyESbJo.js → tables-CPzrJtyj.js} +1 -1
- package/dist/{tables-CjvATHi1.js → tables-D04ixpLC.js} +1 -1
- package/dist/{tailnet-D6miw7DJ.js → tailnet-BXTXJnWv.js} +1 -1
- package/dist/{target-errors-MdnsXHUp.js → target-errors-D6kUZGEh.js} +2 -2
- package/dist/{target-errors-Bd8kj4z9.js → target-errors-HJQQHC3B.js} +4 -4
- package/dist/{thinking-DdSDDCm5.js → thinking-g6Zsi3TU.js} +7 -7
- package/dist/{tokens-DrUFU8gV.js → tokens-k-pJc7k-.js} +1 -1
- package/dist/{tool-images-DbchBdq5.js → tool-images-Cp3hNFNZ.js} +1 -1
- package/dist/{tool-images-CunhBxke.js → tool-images-DIBP-EJA.js} +2 -2
- package/dist/{tui-DTvUykA5.js → tui-D8p-fGCf.js} +6 -6
- package/dist/{tui-cli-CCWcOp3j.js → tui-cli-Y2--Aslb.js} +32 -32
- package/dist/{update-cli-zGCh1iYB.js → update-cli-D51nHVxW.js} +105 -105
- package/dist/{update-cli-D0hfshUF.js → update-cli-DSlUnJ4t.js} +7 -7
- package/dist/{update-runner-BPC9hov9.js → update-runner-BWeJkoEf.js} +1 -1
- package/dist/{update-runner-BVSN8jir.js → update-runner-BoIw2Al-.js} +16 -16
- package/dist/{update-DF240Zd0.js → update-u6OtnABh.js} +3 -3
- package/dist/{web-DdMGTxF7.js → web-CgaabXZw.js} +55 -55
- package/dist/{web-BpS6p4JV.js → web-D4pKkdpJ.js} +2 -2
- package/dist/{web-Cgi80Zuc.js → web-D9UonZhd.js} +1 -1
- package/dist/web-DCfZZwZE.js +114 -0
- package/dist/{webhooks-cli-CVxq1L0o.js → webhooks-cli-CDKN5KjA.js} +6 -6
- package/dist/{whatsapp-actions-BLPiaPMM.js → whatsapp-actions-C8jlipv2.js} +17 -17
- package/dist/{whatsapp-actions-ChuQ4xk1.js → whatsapp-actions-GCSiYut3.js} +21 -21
- package/dist/{winclaw-root-DEqOOeOw.js → winclaw-root-D0OUuGl7.js} +8 -8
- package/dist/{with-timeout--YIf-L5q.js → with-timeout-SqLxvn1K.js} +3 -3
- package/dist/{workspace-dirs-C5erYAob.js → workspace-dirs-C13vnqQQ.js} +1 -1
- package/dist/{workspace-B62PSnAp.js → workspace-gDVhJaYu.js} +20 -20
- package/dist/{workspace-Cx-f7PO5.js → workspace-vYy4qLQz.js} +1 -1
- package/dist/{wsl-BisEqrSr.js → wsl-C9d12M7y.js} +2 -2
- package/package.json +89 -119
- package/dist/cli-pXQqu1s9.js +0 -154
- package/dist/deliver-runtime-B2jvII84.js +0 -57
- package/dist/deliver-runtime-nT_cIICq.js +0 -36
- package/dist/deps-send-discord.runtime-D1xCXoeF.js +0 -26
- package/dist/deps-send-discord.runtime-DEljxwZF.js +0 -32
- package/dist/deps-send-imessage.runtime-BtP6gYgh.js +0 -25
- package/dist/deps-send-imessage.runtime-CDba1iXq.js +0 -31
- package/dist/deps-send-signal.runtime-BBSnJxIE.js +0 -30
- package/dist/deps-send-signal.runtime-BT3ZGmxh.js +0 -24
- package/dist/deps-send-slack.runtime-Cg9DgNZd.js +0 -28
- package/dist/deps-send-slack.runtime-WaznvrEV.js +0 -22
- package/dist/deps-send-telegram.runtime-BozbEmMc.js +0 -34
- package/dist/deps-send-telegram.runtime-DDDFi-uJ.js +0 -27
- package/dist/deps-send-whatsapp.runtime-B4xdx0Qv.js +0 -115
- package/dist/deps-send-whatsapp.runtime-B7iCHxR-.js +0 -60
- package/dist/image-runtime-BkMDCX_o.js +0 -51
- package/dist/image-runtime-CuhtglEA.js +0 -29
- package/dist/manager-runtime-C3O7KVxT.js +0 -22
- package/dist/manager-runtime-COSOsNO-.js +0 -18
- package/dist/pi-model-discovery-runtime-C_2xPfgy.js +0 -11
- package/dist/register.configure-DQi95S_T.js +0 -162
- package/dist/runtime-whatsapp-login.runtime-DM14x-GW.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-BG32-tVv.js +0 -22
- package/dist/runtime-whatsapp-outbound.runtime-Bd0Jz2if.js +0 -28
- package/dist/slash-commands.runtime-BgGee_2S.js +0 -16
- package/dist/slash-dispatch.runtime-CKOfHz1q.js +0 -56
- package/dist/slash-dispatch.runtime-Dzb305um.js +0 -110
- package/dist/slash-skill-commands.runtime-CjCLdeBQ.js +0 -29
- package/dist/slash-skill-commands.runtime-CpWfaytP.js +0 -20
- package/dist/subagent-registry-runtime-Bey0GjjN.js +0 -56
- package/dist/subagent-registry-runtime-wLjXGg91.js +0 -110
- package/dist/web-Bbfidffq.js +0 -114
package/dist/{audio-transcription-runner-BLGEfPAB.js → audio-transcription-runner-D4tmQb8q.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-
|
|
2
|
-
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredWinClawTmpDir } from "./subsystem-
|
|
3
|
-
import { _ as runExec } from "./workspace-
|
|
4
|
-
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, ir as resolveWinClawAgentDir, j as requireApiKey, ot as isInboundPathAllowed, st as mergeInboundPathRoots } from "./model-selection-
|
|
5
|
-
import { _ as normalizeChatType } from "./plugins-
|
|
6
|
-
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-
|
|
7
|
-
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-
|
|
8
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
1
|
+
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-B1BFXO4d.js";
|
|
2
|
+
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredWinClawTmpDir } from "./subsystem-BXFWKvR-.js";
|
|
3
|
+
import { _ as runExec } from "./workspace-gDVhJaYu.js";
|
|
4
|
+
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, ir as resolveWinClawAgentDir, j as requireApiKey, ot as isInboundPathAllowed, st as mergeInboundPathRoots } from "./model-selection-w1nq3keW.js";
|
|
5
|
+
import { _ as normalizeChatType } from "./plugins-BjKWVodH.js";
|
|
6
|
+
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-D2IiRc9z.js";
|
|
7
|
+
import { t as describeImageWithModel, w as ensureWinClawModelsJson } from "./image-cgeQwq0Z.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-CBwzVS3g.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Bghlv-lk.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-xqnMBVqQ.js";
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DQvswLYB.js";
|
|
12
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-B7RFVnmM.js";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
@@ -22,7 +22,7 @@ import crypto from "node:crypto";
|
|
|
22
22
|
const log = createSubsystemLogger("model-catalog");
|
|
23
23
|
let modelCatalogPromise = null;
|
|
24
24
|
let hasLoggedModelCatalogError = false;
|
|
25
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
25
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-YrFX2ycu.js").then((n) => n.r);
|
|
26
26
|
let importPiSdk = defaultImportPiSdk;
|
|
27
27
|
const CODEX_PROVIDER = "openai-codex";
|
|
28
28
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
package/dist/{audio-transcription-runner-CRSNM03k.js → audio-transcription-runner-UjPRrQgJ.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { E as logVerbose, k as shouldLogVerbose, st as resolvePreferredWinClawTmpDir } from "./entry.js";
|
|
2
|
-
import { $ as mergeInboundPathRoots, Cr as normalizeProviderId, Hr as normalizeGoogleModelId, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, hi as resolveApiKeyForProvider, mi as requireApiKey } from "./auth-profiles-
|
|
3
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
2
|
+
import { $ as mergeInboundPathRoots, Cr as normalizeProviderId, Hr as normalizeGoogleModelId, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, hi as resolveApiKeyForProvider, mi as requireApiKey } from "./auth-profiles-C0_vbRBI.js";
|
|
3
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-D-i-vMLS.js";
|
|
4
4
|
import { n as runExec } from "./exec-CaapFZaD.js";
|
|
5
|
-
import { j as normalizeChatType } from "./plugins-
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
5
|
+
import { j as normalizeChatType } from "./plugins-C1OgLvb4.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-eFMqXMDE.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-Dt_4okVn.js";
|
|
8
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
8
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-B-CI_Q76.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DyoRWiT-.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-B3GDS_vc.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { t as describeImageWithModel } from "./image-
|
|
13
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-DF0_kLSc.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-zu8Q4gsy.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-6yvrHUjY.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-BqEHARvZ.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
16
16
|
import { fileURLToPath } from "node:url";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import { constants } from "node:fs";
|
|
20
|
-
import
|
|
20
|
+
import fsPromises from "node:fs/promises";
|
|
21
21
|
import crypto from "node:crypto";
|
|
22
22
|
|
|
23
23
|
//#region src/media-understanding/attachments.normalize.ts
|
|
@@ -426,7 +426,7 @@ var MediaAttachmentCache = class {
|
|
|
426
426
|
const size = await this.ensureLocalStat(entry);
|
|
427
427
|
if (entry.resolvedPath) {
|
|
428
428
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
429
|
-
const buffer = await
|
|
429
|
+
const buffer = await fsPromises.readFile(entry.resolvedPath);
|
|
430
430
|
entry.buffer = buffer;
|
|
431
431
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
432
432
|
buffer,
|
|
@@ -496,10 +496,10 @@ var MediaAttachmentCache = class {
|
|
|
496
496
|
prefix: "winclaw-media",
|
|
497
497
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
498
498
|
});
|
|
499
|
-
await
|
|
499
|
+
await fsPromises.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
503
503
|
};
|
|
504
504
|
return {
|
|
505
505
|
path: tmpPath,
|
|
@@ -546,12 +546,12 @@ var MediaAttachmentCache = class {
|
|
|
546
546
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
547
547
|
try {
|
|
548
548
|
const currentPath = entry.resolvedPath;
|
|
549
|
-
const stat = await
|
|
549
|
+
const stat = await fsPromises.stat(currentPath);
|
|
550
550
|
if (!stat.isFile()) {
|
|
551
551
|
entry.resolvedPath = void 0;
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
const canonicalPath = await
|
|
554
|
+
const canonicalPath = await fsPromises.realpath(currentPath).catch(() => currentPath);
|
|
555
555
|
if (!isInboundPathAllowed({
|
|
556
556
|
filePath: canonicalPath,
|
|
557
557
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -573,7 +573,7 @@ var MediaAttachmentCache = class {
|
|
|
573
573
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
574
574
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
575
575
|
if (root.includes("*")) return root;
|
|
576
|
-
return await
|
|
576
|
+
return await fsPromises.realpath(root).catch(() => root);
|
|
577
577
|
}))))();
|
|
578
578
|
return await this.canonicalLocalPathRoots;
|
|
579
579
|
}
|
|
@@ -646,7 +646,7 @@ const MIN_AUDIO_FILE_BYTES = 1024;
|
|
|
646
646
|
async function fileExists(filePath) {
|
|
647
647
|
if (!filePath) return false;
|
|
648
648
|
try {
|
|
649
|
-
await
|
|
649
|
+
await fsPromises.stat(filePath);
|
|
650
650
|
return true;
|
|
651
651
|
} catch {
|
|
652
652
|
return false;
|
|
@@ -1237,7 +1237,7 @@ async function resolveCliOutput(params) {
|
|
|
1237
1237
|
const commandId = commandBase(params.command);
|
|
1238
1238
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1239
1239
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1240
|
-
const content = await
|
|
1240
|
+
const content = await fsPromises.readFile(fileOutput, "utf8");
|
|
1241
1241
|
if (content.trim()) return content.trim();
|
|
1242
1242
|
} catch {}
|
|
1243
1243
|
if (commandId === "gemini") {
|
|
@@ -1546,10 +1546,10 @@ async function runCliEntry(params) {
|
|
|
1546
1546
|
timeoutMs
|
|
1547
1547
|
});
|
|
1548
1548
|
if (capability === "audio") assertMinAudioSize({
|
|
1549
|
-
size: (await
|
|
1549
|
+
size: (await fsPromises.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fsPromises.mkdtemp(path.join(resolvePreferredWinClawTmpDir(), "winclaw-media-cli-"));
|
|
1553
1553
|
const mediaPath = pathResult.path;
|
|
1554
1554
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1555
1555
|
const templCtx = {
|
|
@@ -1583,7 +1583,7 @@ async function runCliEntry(params) {
|
|
|
1583
1583
|
model: command
|
|
1584
1584
|
};
|
|
1585
1585
|
} finally {
|
|
1586
|
-
await
|
|
1586
|
+
await fsPromises.rm(outputDir, {
|
|
1587
1587
|
recursive: true,
|
|
1588
1588
|
force: true
|
|
1589
1589
|
}).catch(() => {});
|
|
@@ -1627,9 +1627,9 @@ function candidateBinaryNames(name) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
async function isExecutable(filePath) {
|
|
1629
1629
|
try {
|
|
1630
|
-
if (!(await
|
|
1630
|
+
if (!(await fsPromises.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fsPromises.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { X as resolveConfigPath, it as resolveOAuthDir, ot as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { A as formatPermissionRemediation, M as safeStat, Qt as normalizeTrustedSafeBinDirs, R as createConfigIO, Rn as INCLUDE_KEY, dt as isDangerousNetworkMode, ft as normalizeNetworkMode, j as inspectPathPermissions, k as formatPermissionDetail, zn as MAX_INCLUDE_DEPTH } from "./auth-profiles-
|
|
2
|
+
import { A as formatPermissionRemediation, M as safeStat, Qt as normalizeTrustedSafeBinDirs, R as createConfigIO, Rn as INCLUDE_KEY, dt as isDangerousNetworkMode, ft as normalizeNetworkMode, j as inspectPathPermissions, k as formatPermissionDetail, zn as MAX_INCLUDE_DEPTH } from "./auth-profiles-C0_vbRBI.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.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-D-i-vMLS.js";
|
|
5
5
|
import { c as normalizeAgentId } from "./session-key-9-yI-GU_.js";
|
|
6
6
|
import { A as hasConfiguredSecretInput } from "./registry-BcRQUSsJ.js";
|
|
7
7
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-DfPyDvWW.js";
|
|
8
|
-
import { d as normalizePluginsConfig } from "./manifest-registry-
|
|
9
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
10
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
11
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
12
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
8
|
+
import { d as normalizePluginsConfig } from "./manifest-registry-CI-UuKUO.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-ClcGZ0LV.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-BpN5EUZU.js";
|
|
11
|
+
import { n as listChannelPlugins } from "./plugins-C1OgLvb4.js";
|
|
12
|
+
import { t as buildGatewayConnectionDetails } from "./call-CmNNda8m.js";
|
|
13
13
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-D4_agdBB.js";
|
|
14
|
-
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-
|
|
15
|
-
import { a as resolveGatewayAuth } from "./auth
|
|
16
|
-
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-
|
|
17
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
18
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
19
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
20
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
21
|
-
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
14
|
+
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-CHQOIPj9.js";
|
|
15
|
+
import { a as resolveGatewayAuth } from "./auth--KDo_E_4.js";
|
|
16
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-CJiG1msd.js";
|
|
17
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-By-anRPS.js";
|
|
18
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-4mnxaSoA.js";
|
|
19
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-Jfk6MAHv.js";
|
|
20
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-C13vnqQQ.js";
|
|
21
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-bVlHvdWR.js";
|
|
22
22
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-PRkNIyQj.js";
|
|
23
23
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-B9LIt3MU.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-dV2m_On0.js";
|
|
25
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
26
|
-
import { t as probeGateway } from "./probe-
|
|
27
|
-
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
25
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-DqqhF5of.js";
|
|
26
|
+
import { t as probeGateway } from "./probe-DB96HNqH.js";
|
|
27
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-hSqGZL6Y.js";
|
|
28
28
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-7oJa2b5V.js";
|
|
29
29
|
import { t as inferParamBFromIdOrName } from "./model-param-b-CrBJZsiI.js";
|
|
30
30
|
import path from "node:path";
|
|
31
31
|
import JSON5 from "json5";
|
|
32
|
-
import * as fs
|
|
33
|
-
import
|
|
32
|
+
import * as fs from "node:fs/promises";
|
|
33
|
+
import fsPromises from "node:fs/promises";
|
|
34
34
|
import { isIP } from "node:net";
|
|
35
35
|
|
|
36
36
|
//#region src/gateway/probe-auth.ts
|
|
@@ -1252,7 +1252,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1252
1252
|
if (visited.has(resolved)) continue;
|
|
1253
1253
|
visited.add(resolved);
|
|
1254
1254
|
result.push(resolved);
|
|
1255
|
-
const rawText = await fs
|
|
1255
|
+
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1256
1256
|
if (!rawText) continue;
|
|
1257
1257
|
const nestedParsed = (() => {
|
|
1258
1258
|
try {
|
|
@@ -1287,7 +1287,7 @@ function expandTilde(p, env) {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1289
1289
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1290
|
-
const raw = await
|
|
1290
|
+
const raw = await fsPromises.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1291
1291
|
if (!raw.trim()) return [];
|
|
1292
1292
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1293
1293
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1309,7 +1309,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1309
1309
|
};
|
|
1310
1310
|
return {
|
|
1311
1311
|
extensionsDir,
|
|
1312
|
-
pluginDirs: (await
|
|
1312
|
+
pluginDirs: (await fsPromises.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1313
1313
|
params.onReadError?.(err);
|
|
1314
1314
|
return [];
|
|
1315
1315
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1372,7 +1372,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
async function readInstalledPackageVersion(dir) {
|
|
1374
1374
|
try {
|
|
1375
|
-
const raw = await
|
|
1375
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1376
1376
|
const parsed = JSON.parse(raw);
|
|
1377
1377
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1378
1378
|
} catch {
|
|
@@ -1408,10 +1408,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1408
1408
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1409
1409
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1410
1410
|
const dir = queue.shift();
|
|
1411
|
-
const dirRealPath = await
|
|
1411
|
+
const dirRealPath = await fsPromises.realpath(dir).catch(() => path.resolve(dir));
|
|
1412
1412
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1413
1413
|
visitedDirs.add(dirRealPath);
|
|
1414
|
-
const entries = await
|
|
1414
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1415
1415
|
for (const entry of entries) {
|
|
1416
1416
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1417
1417
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1420,7 +1420,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1420
1420
|
continue;
|
|
1421
1421
|
}
|
|
1422
1422
|
if (entry.isSymbolicLink()) {
|
|
1423
|
-
const stat = await
|
|
1423
|
+
const stat = await fsPromises.stat(fullPath).catch(() => null);
|
|
1424
1424
|
if (!stat) continue;
|
|
1425
1425
|
if (stat.isDirectory()) {
|
|
1426
1426
|
queue.push(fullPath);
|
|
@@ -1710,13 +1710,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1710
1710
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1711
1711
|
for (const workspaceDir of workspaceDirs) {
|
|
1712
1712
|
const workspacePath = path.resolve(workspaceDir);
|
|
1713
|
-
const workspaceRealPath = await
|
|
1713
|
+
const workspaceRealPath = await fsPromises.realpath(workspacePath).catch(() => workspacePath);
|
|
1714
1714
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1715
1715
|
for (const skillFilePath of skillFilePaths) {
|
|
1716
1716
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1717
1717
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1718
1718
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1719
|
-
const skillRealPath = await
|
|
1719
|
+
const skillRealPath = await fsPromises.realpath(canonicalSkillPath).catch(() => null);
|
|
1720
1720
|
if (!skillRealPath) continue;
|
|
1721
1721
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1722
1722
|
escapedSkillFiles.push({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import { f as isRecord } from "./logger-
|
|
1
|
+
import "./paths-C7wI-mFU.js";
|
|
2
|
+
import "./subsystem-BXFWKvR-.js";
|
|
3
|
+
import { f as isRecord } from "./logger-DywNda3z.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-Bghlv-lk.js";
|
|
5
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
5
|
+
import { t as makeProxyFetch } from "./proxy-fetch-B7RFVnmM.js";
|
|
6
6
|
import "./proxy-DULbDMaI.js";
|
|
7
7
|
|
|
8
8
|
//#region src/telegram/audit-membership-runtime.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as safeEqualSecret } from "./secret-equal-DyYamV7h.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-CXrvhn9o.js";
|
|
3
3
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-D4_agdBB.js";
|
|
4
4
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-CB_lUnsU.js";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import { f as openUrl } from "./onboard-helpers-DFRRiZxm.js";
|
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-h83wrujL.js";
|
|
8
8
|
import { a as normalizeSecretInputModeInput, c as resolveSecretInputModeForEnvSelection, d as normalizeApiKeyInput, f as validateApiKeyInput, i as ensureApiKeyFromOptionEnvOrPrompt, l as applyDefaultModelChoice, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as promptSecretRefForOnboarding, t as createAuthChoiceAgentModelNoter, u as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-DPRF9yFZ.js";
|
|
9
9
|
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-BRJy8_CO.js";
|
|
10
|
-
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 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-DtFxRdIx.js";
|
|
11
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-CCzw_-KH.js";
|
|
12
12
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-CYgU81oA.js";
|
|
13
13
|
import { r as runOpenAIOAuthTlsPreflight, t as formatOpenAIOAuthTlsPreflightFix } from "./oauth-tls-preflight-s2FxaqDA.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Cr as normalizeProviderId, Mi as normalizeSecretInput, Zn as upsertAuthProfile, _i as resolveEnvApiKey, ct as resolveDefaultSecretProviderAlias, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, ji as normalizeOptionalSecretInput, pt as parseDurationMs, r as resolveAuthProfileOrder } from "./auth-profiles-
|
|
2
|
-
import "./agent-scope-
|
|
1
|
+
import { Cr as normalizeProviderId, Mi as normalizeSecretInput, Zn as upsertAuthProfile, _i as resolveEnvApiKey, ct as resolveDefaultSecretProviderAlias, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, ji as normalizeOptionalSecretInput, pt as parseDurationMs, r as resolveAuthProfileOrder } from "./auth-profiles-C0_vbRBI.js";
|
|
2
|
+
import "./agent-scope-D-i-vMLS.js";
|
|
3
3
|
import "./utils-hiIKrqOK.js";
|
|
4
|
-
import "./winclaw-root-
|
|
4
|
+
import "./winclaw-root-D0OUuGl7.js";
|
|
5
5
|
import "./logger-BcqRk323.js";
|
|
6
6
|
import "./exec-CaapFZaD.js";
|
|
7
7
|
import "./registry-BcRQUSsJ.js";
|
|
@@ -9,16 +9,16 @@ import "./github-copilot-token-DHTToceK.js";
|
|
|
9
9
|
import "./host-env-security-CIiLt2Mi.js";
|
|
10
10
|
import "./version-TiOyTfO4.js";
|
|
11
11
|
import "./env-vars-CE3cUIrz.js";
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import "./models-config-
|
|
14
|
-
import "./model-catalog-
|
|
15
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
16
|
-
import "./issue-format-
|
|
17
|
-
import "./shared-
|
|
18
|
-
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-
|
|
19
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
20
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
21
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
12
|
+
import "./manifest-registry-CI-UuKUO.js";
|
|
13
|
+
import "./models-config-tPZvlEX4.js";
|
|
14
|
+
import "./model-catalog-B-CI_Q76.js";
|
|
15
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-CJy8V2Xp.js";
|
|
16
|
+
import "./issue-format-DUrssptL.js";
|
|
17
|
+
import "./shared-CaXgHNH2.js";
|
|
18
|
+
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-BsypkvZB.js";
|
|
19
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-Duce_n_s.js";
|
|
20
|
+
import { r as applyPrimaryModel } from "./model-picker-BZqbkINL.js";
|
|
21
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-DW1WeR_n.js";
|
|
22
22
|
|
|
23
23
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
24
24
|
function parseEnvVarNameFromSourceLabel(source) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Di as isHuggingfacePolicyLocked, Ei as discoverHuggingfaceModels, Jn as listProfilesForProvider, Jr as VENICE_DEFAULT_MODEL_REF, Oi as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Or as resolveDefaultModelForAgent, Pi as KILOCODE_DEFAULT_MODEL_REF, Zn as upsertAuthProfile, _ as parseOAuthCallbackInput, _i as resolveEnvApiKey, cr as resolveWinClawAgentDir, er as ensureAuthProfileStore, g as generateChutesPkce, h as exchangeChutesCodeForTokens, m as CHUTES_AUTHORIZE_ENDPOINT, pi as getCustomProviderApiKey, r as resolveAuthProfileOrder, ri as SYNTHETIC_DEFAULT_MODEL_REF } 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 { a as normalizeSecretInputModeInput, c as resolveSecretInputModeForEnvSelection, d as normalizeApiKeyInput, f as validateApiKeyInput, i as ensureApiKeyFromOptionEnvOrPrompt, l as applyDefaultModelChoice, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as promptSecretRefForOnboarding, t as createAuthChoiceAgentModelNoter, u as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-
|
|
9
|
-
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-
|
|
10
|
-
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-
|
|
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 { Di as isHuggingfacePolicyLocked, Ei as discoverHuggingfaceModels, Jn as listProfilesForProvider, Jr as VENICE_DEFAULT_MODEL_REF, Oi as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Or as resolveDefaultModelForAgent, Pi as KILOCODE_DEFAULT_MODEL_REF, Zn as upsertAuthProfile, _ as parseOAuthCallbackInput, _i as resolveEnvApiKey, cr as resolveWinClawAgentDir, er as ensureAuthProfileStore, g as generateChutesPkce, h as exchangeChutesCodeForTokens, m as CHUTES_AUTHORIZE_ENDPOINT, pi as getCustomProviderApiKey, r as resolveAuthProfileOrder, ri as SYNTHETIC_DEFAULT_MODEL_REF } from "./auth-profiles-C0_vbRBI.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-D-i-vMLS.js";
|
|
4
|
+
import { r as isLoopbackHost } from "./net-CXrvhn9o.js";
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-B-CI_Q76.js";
|
|
6
|
+
import { f as openUrl } from "./onboard-helpers-b9T97_8S.js";
|
|
7
|
+
import { t as enablePluginInConfig } from "./enable-DawrgAnk.js";
|
|
8
|
+
import { a as normalizeSecretInputModeInput, c as resolveSecretInputModeForEnvSelection, d as normalizeApiKeyInput, f as validateApiKeyInput, i as ensureApiKeyFromOptionEnvOrPrompt, l as applyDefaultModelChoice, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as promptSecretRefForOnboarding, t as createAuthChoiceAgentModelNoter, u as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-CJy8V2Xp.js";
|
|
9
|
+
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-BsypkvZB.js";
|
|
10
|
+
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-B6dLIZhZ.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-Duce_n_s.js";
|
|
12
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-BZqbkINL.js";
|
|
13
13
|
import { r as runOpenAIOAuthTlsPreflight, t as formatOpenAIOAuthTlsPreflightFix } from "./oauth-tls-preflight-DQJBchsr.js";
|
|
14
14
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
15
15
|
import { randomBytes } from "node:crypto";
|
package/dist/{auth-choice.apply-helpers-DcSztsOH.js → auth-choice.apply-helpers-CJy8V2Xp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Er as resolveAllowlistModelKey, O as encodeJsonPointerToken, Ri as DEFAULT_PROVIDER, _i as resolveEnvApiKey, ct as resolveDefaultSecretProviderAlias, ot as isValidFileSecretRefId, y as resolveSecretRefString } from "./auth-profiles-
|
|
1
|
+
import { Er as resolveAllowlistModelKey, O as encodeJsonPointerToken, Ri as DEFAULT_PROVIDER, _i as resolveEnvApiKey, ct as resolveDefaultSecretProviderAlias, ot as isValidFileSecretRefId, y as resolveSecretRefString } from "./auth-profiles-C0_vbRBI.js";
|
|
2
2
|
import { t as PROVIDER_ENV_VARS } from "./provider-env-vars-DYZiYet-.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/auth-choice.api-key.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $ as resolveGatewayLockDir, G as CONFIG_PATH, J as isNixMode, K as DEFAULT_GATEWAY_PORT, Q as resolveDefaultConfigCandidates, X as resolveConfigPath, Y as resolveCanonicalConfigPath, Z as resolveConfigPathCandidate, at as resolveOAuthPath, et as resolveGatewayPort, ft as expandHomePrefix, it as resolveOAuthDir, m as stripAnsi, mt as resolveRequiredHomeDir, nt as resolveLegacyStateDirs, ot as resolveStateDir, q as STATE_DIR, r as isTruthyEnvValue, rt as resolveNewStateDir, s as createSubsystemLogger, tt as resolveIsNixMode } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
4
|
-
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-D-i-vMLS.js";
|
|
5
5
|
import { c as normalizeAgentId, t as DEFAULT_AGENT_ID, y as isBlockedObjectKey } from "./session-key-9-yI-GU_.js";
|
|
6
6
|
import { E as isPlainObject$2, S as sleep, h as resolveConfigDir, u as isRecord$2, v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
7
|
-
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./winclaw-root-
|
|
7
|
+
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./winclaw-root-D0OUuGl7.js";
|
|
8
8
|
import { n as runExec } from "./exec-CaapFZaD.js";
|
|
9
9
|
import { A as hasConfiguredSecretInput, D as DEFAULT_SECRET_PROVIDER_ALIAS, F as resolveSecretInputRef, M as normalizeResolvedSecretInputString, N as normalizeSecretInputString, O as assertSecretInputResolved, P as parseEnvTemplateSecretRef, j as isSecretRef, k as coerceSecretRef, l as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-BcRQUSsJ.js";
|
|
10
10
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DHTToceK.js";
|
|
@@ -12,8 +12,8 @@ import { i as sanitizeHostExecEnv } from "./host-env-security-CIiLt2Mi.js";
|
|
|
12
12
|
import { t as VERSION } from "./version-TiOyTfO4.js";
|
|
13
13
|
import { t as applyConfigEnvVars } from "./env-vars-CE3cUIrz.js";
|
|
14
14
|
import { i as isPathInside } from "./legacy-names-DfPyDvWW.js";
|
|
15
|
-
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-
|
|
16
|
-
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-
|
|
15
|
+
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-CI-UuKUO.js";
|
|
16
|
+
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-ClcGZ0LV.js";
|
|
17
17
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-CzLnwXXV.js";
|
|
18
18
|
import { createRequire } from "node:module";
|
|
19
19
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -22,7 +22,7 @@ import path from "node:path";
|
|
|
22
22
|
import fs from "node:fs";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
24
|
import { isDeepStrictEqual } from "node:util";
|
|
25
|
-
import
|
|
25
|
+
import fsPromises from "node:fs/promises";
|
|
26
26
|
import { BedrockClient, ListFoundationModelsCommand } from "@aws-sdk/client-bedrock";
|
|
27
27
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
28
28
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -3558,7 +3558,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
3558
3558
|
}
|
|
3559
3559
|
async function readLockPayload(lockPath) {
|
|
3560
3560
|
try {
|
|
3561
|
-
const raw = await
|
|
3561
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
3562
3562
|
const parsed = JSON.parse(raw);
|
|
3563
3563
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
3564
3564
|
return {
|
|
@@ -3572,9 +3572,9 @@ async function readLockPayload(lockPath) {
|
|
|
3572
3572
|
async function resolveNormalizedFilePath(filePath) {
|
|
3573
3573
|
const resolved = path.resolve(filePath);
|
|
3574
3574
|
const dir = path.dirname(resolved);
|
|
3575
|
-
await
|
|
3575
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
3576
3576
|
try {
|
|
3577
|
-
const realDir = await
|
|
3577
|
+
const realDir = await fsPromises.realpath(dir);
|
|
3578
3578
|
return path.join(realDir, path.basename(resolved));
|
|
3579
3579
|
} catch {
|
|
3580
3580
|
return resolved;
|
|
@@ -3588,7 +3588,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
3588
3588
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
3589
3589
|
}
|
|
3590
3590
|
try {
|
|
3591
|
-
const stat = await
|
|
3591
|
+
const stat = await fsPromises.stat(lockPath);
|
|
3592
3592
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
3593
3593
|
} catch {
|
|
3594
3594
|
return true;
|
|
@@ -3601,7 +3601,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
3601
3601
|
if (current.count > 0) return;
|
|
3602
3602
|
HELD_LOCKS.delete(normalizedFile);
|
|
3603
3603
|
await current.handle.close().catch(() => void 0);
|
|
3604
|
-
await
|
|
3604
|
+
await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
3605
3605
|
}
|
|
3606
3606
|
async function acquireFileLock(filePath, options) {
|
|
3607
3607
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -3616,7 +3616,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3616
3616
|
}
|
|
3617
3617
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
3618
3618
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
3619
|
-
const handle = await
|
|
3619
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
3620
3620
|
await handle.writeFile(JSON.stringify({
|
|
3621
3621
|
pid: process.pid,
|
|
3622
3622
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -3633,7 +3633,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3633
3633
|
} catch (err) {
|
|
3634
3634
|
if (err.code !== "EEXIST") throw err;
|
|
3635
3635
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
3636
|
-
await
|
|
3636
|
+
await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
|
|
3637
3637
|
continue;
|
|
3638
3638
|
}
|
|
3639
3639
|
if (attempt >= attempts - 1) break;
|
|
@@ -14833,7 +14833,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
14833
14833
|
//#region src/security/audit-fs.ts
|
|
14834
14834
|
async function safeStat(targetPath) {
|
|
14835
14835
|
try {
|
|
14836
|
-
const lst = await
|
|
14836
|
+
const lst = await fsPromises.lstat(targetPath);
|
|
14837
14837
|
return {
|
|
14838
14838
|
ok: true,
|
|
14839
14839
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -14872,7 +14872,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
14872
14872
|
let effectiveMode = st.mode;
|
|
14873
14873
|
let effectiveIsDir = st.isDir;
|
|
14874
14874
|
if (st.isSymlink) try {
|
|
14875
|
-
const target = await
|
|
14875
|
+
const target = await fsPromises.stat(targetPath);
|
|
14876
14876
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
14877
14877
|
effectiveIsDir = target.isDirectory();
|
|
14878
14878
|
} catch {}
|
|
@@ -15126,7 +15126,7 @@ async function assertSecurePath(params) {
|
|
|
15126
15126
|
if (stat.isSymlink) {
|
|
15127
15127
|
if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
|
|
15128
15128
|
try {
|
|
15129
|
-
effectivePath = await
|
|
15129
|
+
effectivePath = await fsPromises.realpath(effectivePath);
|
|
15130
15130
|
} catch {
|
|
15131
15131
|
throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
|
|
15132
15132
|
}
|
|
@@ -15174,7 +15174,7 @@ async function readFileProviderPayload(params) {
|
|
|
15174
15174
|
}, timeoutMs);
|
|
15175
15175
|
});
|
|
15176
15176
|
try {
|
|
15177
|
-
const payload = await Promise.race([
|
|
15177
|
+
const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
|
|
15178
15178
|
if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
|
|
15179
15179
|
const text = payload.toString("utf8");
|
|
15180
15180
|
if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ot as resolveStateDir, s as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { $r as TOGETHER_BASE_URL, Ai as resolveCloudflareAiGatewayBaseUrl, Br as buildQianfanProvider, Ci as HUGGINGFACE_BASE_URL, Cr as normalizeProviderId, Fr as QIANFAN_BASE_URL, Ir as QIANFAN_DEFAULT_MODEL_ID, Jr as VENICE_DEFAULT_MODEL_REF, Lr as XIAOMI_DEFAULT_MODEL_ID, Mi as normalizeSecretInput, Ni as KILOCODE_BASE_URL, Oi as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Pi as KILOCODE_DEFAULT_MODEL_REF, Rr as buildKilocodeProvider, Ti as buildHuggingfaceModelDefinition, Vr as buildXiaomiProvider, Xr as buildVeniceModelDefinition, Yr as VENICE_MODEL_CATALOG, Zn as upsertAuthProfile, ai as buildSyntheticModelDefinition, cr as resolveWinClawAgentDir, ei as TOGETHER_MODEL_CATALOG, ii as SYNTHETIC_MODEL_CATALOG, ki as buildCloudflareAiGatewayModelDefinition, ni as SYNTHETIC_BASE_URL, qr as VENICE_BASE_URL, ri as SYNTHETIC_DEFAULT_MODEL_REF, ti as buildTogetherModelDefinition, wi as HUGGINGFACE_MODEL_CATALOG, zr as buildKimiCodingProvider } from "./auth-profiles-
|
|
2
|
+
import { $r as TOGETHER_BASE_URL, Ai as resolveCloudflareAiGatewayBaseUrl, Br as buildQianfanProvider, Ci as HUGGINGFACE_BASE_URL, Cr as normalizeProviderId, Fr as QIANFAN_BASE_URL, Ir as QIANFAN_DEFAULT_MODEL_ID, Jr as VENICE_DEFAULT_MODEL_REF, Lr as XIAOMI_DEFAULT_MODEL_ID, Mi as normalizeSecretInput, Ni as KILOCODE_BASE_URL, Oi as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Pi as KILOCODE_DEFAULT_MODEL_REF, Rr as buildKilocodeProvider, Ti as buildHuggingfaceModelDefinition, Vr as buildXiaomiProvider, Xr as buildVeniceModelDefinition, Yr as VENICE_MODEL_CATALOG, Zn as upsertAuthProfile, ai as buildSyntheticModelDefinition, cr as resolveWinClawAgentDir, ei as TOGETHER_MODEL_CATALOG, ii as SYNTHETIC_MODEL_CATALOG, ki as buildCloudflareAiGatewayModelDefinition, ni as SYNTHETIC_BASE_URL, qr as VENICE_BASE_URL, ri as SYNTHETIC_DEFAULT_MODEL_REF, ti as buildTogetherModelDefinition, wi as HUGGINGFACE_MODEL_CATALOG, zr as buildKimiCodingProvider } from "./auth-profiles-C0_vbRBI.js";
|
|
3
3
|
import { D as DEFAULT_SECRET_PROVIDER_ALIAS, k as coerceSecretRef } from "./registry-BcRQUSsJ.js";
|
|
4
4
|
import { t as PROVIDER_ENV_VARS } from "./provider-env-vars-DYZiYet-.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as isRich, P as theme, h as visibleWidth, wt as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { Un as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-C0_vbRBI.js";
|
|
3
|
+
import { Un as resolveCommitHash } from "./subagent-registry-gTbkVczB.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/tagline.ts
|
|
6
6
|
const DEFAULT_TAGLINE = "All your chats, one WinClaw.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as runCommandWithTimeout } from "./exec-CaapFZaD.js";
|
|
2
|
-
import { t as isTailnetIPv4 } from "./tailnet-
|
|
2
|
+
import { t as isTailnetIPv4 } from "./tailnet-BXTXJnWv.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CkVHlwIZ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/bonjour-discovery.ts
|