winclaw 2026.3.21 → 2026.3.22
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-CTJXIABG.js → accounts-8qwgz384.js} +1 -1
- package/dist/{accounts-CLKFSM00.js → accounts-BpS-Awr5.js} +1 -1
- package/dist/{accounts-cYG8442L.js → accounts-BrWJjaKS.js} +7 -7
- package/dist/{acp-cli-BbN2vTHD.js → acp-cli-BMM5ssNE.js} +8 -8
- package/dist/{agent-scope-D-i-vMLS.js → agent-scope-Dany4R2i.js} +17 -17
- package/dist/{agents-_gcdm-kb.js → agents-AMH_Bmb6.js} +14 -14
- package/dist/{agents.config-BkgsJJng.js → agents.config-6n_jmCMa.js} +2 -2
- package/dist/{api-key-rotation-D_JdsLIl.js → api-key-rotation-C9ywPLG3.js} +1 -1
- package/dist/{audio-preflight-CdgtLVh2.js → audio-preflight-D7UvXGlQ.js} +34 -34
- package/dist/{audio-preflight-CBWXmKyj.js → audio-preflight-DHeEYciJ.js} +4 -4
- package/dist/{audio-transcription-runner-DpvjaNmr.js → audio-transcription-runner-1-9PFrzh.js} +1 -1
- package/dist/{audio-transcription-runner-DGZYB2Wq.js → audio-transcription-runner-nnwJufig.js} +23 -23
- package/dist/{audit-DdcsBl_-.js → audit-DV_kf1sd.js} +29 -29
- package/dist/{auth-CU4HqNch.js → auth-Ahj-1B5R.js} +1 -1
- package/dist/{auth-choice-CtzD_rrW.js → auth-choice-NjkwJsBG.js} +13 -13
- package/dist/{auth-choice-i771W71t.js → auth-choice-dFTD1hLR.js} +11 -11
- package/dist/{auth-choice.apply-helpers-Bmj9LZnO.js → auth-choice.apply-helpers-ClzwLPaB.js} +1 -1
- package/dist/{auth-profiles-CmoHF97e.js → auth-profiles-DF0cLC20.js} +16 -16
- package/dist/{auth-token-C_S_Uszj.js → auth-token-BXCBtI3p.js} +1 -1
- package/dist/{banner-C-01b-if.js → banner-BB4DFL8E.js} +2 -2
- package/dist/{bonjour-discovery-BxCVyJLG.js → bonjour-discovery-BVSpbdjs.js} +1 -1
- package/dist/{browser-cli-Rt_P1-M1.js → browser-cli-DAcccrxR.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-BLyRfBMl.js → call-DEKH5GO9.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-B4ofKr9t.js → channel-account-context-D4Yftz20.js} +5 -5
- package/dist/{channel-activity-CPWF8YR5.js → channel-activity-D03SwGPA.js} +1 -1
- package/dist/{channel-options-it9Z3dNk.js → channel-options-C7dYNZsy.js} +3 -3
- package/dist/{channel-selection-5G2iw3CB.js → channel-selection-Bke39fer.js} +1 -1
- package/dist/{channel-web-CJ_jcZSw.js → channel-web-BOrAGcza.js} +17 -17
- package/dist/{channels-cli-miFqkj2-.js → channels-cli-4YLI7Ar_.js} +93 -93
- package/dist/{channels-status-issues-DpfEWI4l.js → channels-status-issues-wCgCdUDu.js} +1 -1
- package/dist/{chrome-RAfAR4xV.js → chrome-BDFA9lPV.js} +4 -4
- package/dist/{chrome-GsaZ074n.js → chrome-Cr8R7xl_.js} +8 -8
- package/dist/{clawbot-cli-HvFYYAc6.js → clawbot-cli-B96xAtzs.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BozE7JCS.js +154 -0
- package/dist/{client-DCxDsURZ.js → client-jNFqrgw6.js} +2 -2
- package/dist/{command-registry-m8nfRV-J.js → command-registry-qDpes5Yr.js} +11 -11
- package/dist/{command-secret-targets-BfqkoJyp.js → command-secret-targets-Dd4qCPSg.js} +4 -4
- package/dist/{commands-4mnxaSoA.js → commands-DmBkhPD-.js} +1 -1
- package/dist/{commands-registry-h5KiQe_S.js → commands-registry-BB289Bg8.js} +3 -3
- package/dist/{completion-cli-B-8mTxbh.js → completion-cli-DzZieT3i.js} +13 -13
- package/dist/{config-cli-1ecjxVfC.js → config-cli-Dk1yc6M9.js} +7 -7
- package/dist/{config-guard-DlzKrdcR.js → config-guard-3fwTO4Mb.js} +3 -3
- package/dist/{config-validation-E-3Wz4C4.js → config-validation-5pIaju5U.js} +3 -3
- package/dist/{configure-B-tOY-wa.js → configure-CuqZCxTb.js} +17 -17
- package/dist/{control-ui-assets-B0DdamQU.js → control-ui-assets-5F0FEjfM.js} +1 -1
- package/dist/{cron-cli-DpVGzupl.js → cron-cli-BIa0VxDk.js} +11 -11
- package/dist/{daemon-cli-CqwUFobu.js → daemon-cli-BE11O7QX.js} +16 -16
- package/dist/{daemon-install-C029NlXk.js → daemon-install-DNhR8NtL.js} +4 -4
- package/dist/{daemon-install-helpers-D1YQ03lO.js → daemon-install-helpers-DWmF3oFP.js} +11 -11
- package/dist/{deliver-BX-UVg7x.js → deliver-CqiBzHnh.js} +7 -7
- package/dist/{deliver-CtyrAYix.js → deliver-r4_Yp7-C.js} +1 -1
- package/dist/{deliver-runtime-Bvh4te8E.js → deliver-runtime-CIXUsI5k.js} +3 -3
- package/dist/deliver-runtime-DJsAB9LW.js +57 -0
- package/dist/deps-send-discord.runtime-M8Cl0fms.js +32 -0
- package/dist/deps-send-imessage.runtime-Bing_Bvm.js +31 -0
- package/dist/deps-send-signal.runtime-CEnhoskG.js +30 -0
- package/dist/deps-send-slack.runtime-DeKWrOdA.js +28 -0
- package/dist/deps-send-telegram.runtime-K5LxxPog.js +34 -0
- package/dist/{deps-send-whatsapp.runtime-BJV7VcRP.js → deps-send-whatsapp.runtime-BXDQiU2D.js} +7 -7
- package/dist/deps-send-whatsapp.runtime-Cie2nrT8.js +115 -0
- package/dist/{devices-cli-Cpq_Gt1l.js → devices-cli-BJgUG9fc.js} +8 -8
- package/dist/{diagnostic-DIPYflOJ.js → diagnostic-BCcd-_zI.js} +1 -1
- package/dist/{diagnostics-KfpqzhsS.js → diagnostics-BDjbQJxP.js} +5 -5
- package/dist/{directory-cli-CPBPE8N1.js → directory-cli-CJ_l_BnF.js} +7 -7
- package/dist/{dns-cli-CI7HzCVI.js → dns-cli-CFau82Y7.js} +5 -5
- package/dist/{dock-ClcGZ0LV.js → dock-C-w5XvOS.js} +4 -4
- package/dist/{docs-cli-DkQBHXw-.js → docs-cli-BRob5CHm.js} +4 -4
- package/dist/{doctor-completion-DEdT-_9v.js → doctor-completion-DB39JNV7.js} +2 -2
- package/dist/{doctor-config-flow-D6rEqOwb.js → doctor-config-flow-BzYwmYwv.js} +15 -15
- package/dist/{enable-sRe0nI5a.js → enable-Qw-mz6ta.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-B5ZdMbz6.js → exec-approvals-allowlist-BkdJCc3F.js} +1 -1
- package/dist/{exec-approvals-cli-BFxdGk9c.js → exec-approvals-cli-DsDGgzyV.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CB8atBLm.js → exec-safe-bin-runtime-policy-C5pAgyiz.js} +2 -2
- package/dist/{fetch-CdvuNDFE.js → fetch-BwrGQrFL.js} +3 -3
- package/dist/{fetch-guard-D-W6TRJN.js → fetch-guard-CHht1LfT.js} +1 -1
- package/dist/{plugin-sdk/fs-safe-DRACrdwg.js → fs-safe-B8J4dv27.js} +6 -6
- package/dist/{gateway-cli-C_4mlmOW.js → gateway-cli-BdyXCC2C.js} +154 -154
- package/dist/{gateway-rpc-Dg3CGljP.js → gateway-rpc-ICMh7-Qs.js} +1 -1
- package/dist/{health-C5a0wlfE.js → health-Boe965-L.js} +11 -11
- package/dist/{hooks-cli-C79J_WG7.js → hooks-cli-DI0sn396.js} +81 -81
- package/dist/{hooks-status-Cjg5SLpX.js → hooks-status-CQjtRM1s.js} +1 -1
- package/dist/{image-7s8Q2r40.js → image-DoOVDHql.js} +1 -1
- package/dist/{image-EjGWXbei.js → image-Dpt9TurJ.js} +5 -5
- package/dist/{image-ops-eFMqXMDE.js → image-ops-DWGnyTvC.js} +10 -10
- package/dist/image-runtime-HfAsK5X3.js +51 -0
- package/dist/{image-runtime-QNP_uABR.js → image-runtime-Wym8Keh3.js} +3 -3
- package/dist/{inspect-XmcWN97u.js → inspect-DbVcDDi7.js} +4 -4
- package/dist/{install-safe-path-DNotGe9T.js → install-safe-path-FR9r9Dmi.js} +25 -25
- package/dist/{installs-zKF10nZF.js → installs-7zsfIb7P.js} +9 -9
- package/dist/{ipv4-DIKCnoyz.js → ipv4-CfrDjvjo.js} +1 -1
- package/dist/{ir-CJPPU4LU.js → ir-B-FffSKU.js} +8 -8
- package/dist/{issue-format-DCF2SXK_.js → issue-format-NmLUfbBT.js} +1 -1
- package/dist/{json-files-kWpauJWO.js → json-files-D9ZHO8Ud.js} +8 -8
- package/dist/{lifecycle-core-BLhI5nRz.js → lifecycle-core-Di83_FGS.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-D26qK4NQ.js → login-BrdFlfV0.js} +3 -3
- package/dist/{login-qr-CMgMlRCI.js → login-qr-Ci3FVgS9.js} +6 -6
- package/dist/{logs-cli-Cn7bGSc7.js → logs-cli-DUl4D14l.js} +9 -9
- package/dist/{manager-f6tniCBN.js → manager-2Wice7pq.js} +14 -14
- package/dist/manager-runtime-BrpO8pJp.js +22 -0
- package/dist/{manifest-registry-CI-UuKUO.js → manifest-registry-_liSV_Vx.js} +1 -1
- package/dist/{memory-cli-C2Yq9ryD.js → memory-cli-BgZK6A-T.js} +12 -12
- package/dist/{model-CXGHDOeN.js → model-C4J88Gi3.js} +2 -2
- package/dist/{model-catalog-08ftNXDk.js → model-catalog-BYxSwIkt.js} +3 -3
- package/dist/{model-picker-CTRi5Yhj.js → model-picker-DAr8DpKu.js} +4 -4
- package/dist/{models-Do96D4zT.js → models-DqwqcGxg.js} +17 -17
- package/dist/{models-cli-pblTciC_.js → models-cli-BFfUYhHp.js} +78 -78
- package/dist/{models-config-DYJ-p9kt.js → models-config-CJq2ywhf.js} +6 -6
- package/dist/{net-DQYHvbkN.js → net-C7TXXUto.js} +2 -2
- package/dist/{node-cli-CsQwAHzH.js → node-cli-DMpZsjse.js} +33 -33
- package/dist/{node-command-policy-BHdicfMO.js → node-command-policy-DGMJi4xw.js} +1 -1
- package/dist/{node-service-CLtiUeNO.js → node-service-L9-L8-7x.js} +1 -1
- package/dist/{nodes-cli-Dlilj-Pf.js → nodes-cli-BcyY77Cc.js} +16 -16
- package/dist/{nodes-screen-CL-8raxt.js → nodes-screen-B6QVlwKO.js} +7 -7
- package/dist/{npm-pack-install-DZvYhRnM.js → npm-pack-install-B3VCcNWC.js} +18 -18
- package/dist/{npm-resolution-DE7xcGkg.js → npm-resolution-0-Scs5nn.js} +4 -4
- package/dist/{onboard-CReGZ3G9.js → onboard-C9gtA3_b.js} +6 -6
- package/dist/{onboard-channels-ljMkIe7O.js → onboard-channels-NBqfiIc3.js} +21 -21
- package/dist/{onboard-custom-DoJDTzAW.js → onboard-custom-Cv61U_sa.js} +4 -4
- package/dist/{onboard-helpers-7lOdCHhD.js → onboard-helpers-Djj9SkyR.js} +10 -10
- package/dist/{onboard-hooks-BTD0YhRI.js → onboard-hooks-DRkLf5gL.js} +4 -4
- package/dist/{onboard-remote-Bj9uk3zW.js → onboard-remote-o8XtWCa_.js} +4 -4
- package/dist/{onboard-skills-1KAA9UrK.js → onboard-skills-TATKa-gc.js} +4 -4
- package/dist/{onboarding-CoH1hPY0.js → onboarding-C_LQ6doG.js} +14 -14
- package/dist/{onboarding.finalize-DzRWtkmA.js → onboarding.finalize-uHWzNBrm.js} +87 -87
- package/dist/{onboarding.gateway-config-s11ZLxLE.js → onboarding.gateway-config-ByvXJY2k.js} +18 -18
- package/dist/{onboarding.secret-input-D5VKqHdN.js → onboarding.secret-input-Cw4uIgyl.js} +1 -1
- package/dist/{openai-model-default-sYh2slgj.js → openai-model-default-Db9joqm4.js} +2 -2
- package/dist/{outbound-D0KF3CHY.js → outbound-DgsIsXfj.js} +3 -3
- package/dist/{outbound-attachment-CEC4H3tX.js → outbound-attachment-CjhkSZBR.js} +2 -2
- package/dist/{pairing-cli-4Nrc-V_v.js → pairing-cli-D0KKynjI.js} +8 -8
- package/dist/{pairing-labels-e3Pnen1C.js → pairing-labels-Ev8O2qBX.js} +1 -1
- package/dist/{pairing-store-Kslw_Wa0.js → pairing-store-CI0hWzZk.js} +3 -3
- package/dist/{plugin-sdk/path-alias-guards-CaCBZRHc.js → path-alias-guards-BoydiaPL.js} +1 -1
- package/dist/{path-safety-Cq9rwfZN.js → path-safety-CSCsbd-j.js} +1 -1
- package/dist/{paths-C5mR1YC-.js → paths-BVQ0udwc.js} +9 -9
- package/dist/{pi-embedded-DUO1eQ_J.js → pi-embedded-CD3oPGOP.js} +24 -24
- package/dist/{pi-embedded-helpers-BWpzwT6B.js → pi-embedded-helpers-Be8qWeKb.js} +6 -6
- package/dist/{pi-embedded-helpers-BMGRFCuV.js → pi-embedded-helpers-BthBxPYi.js} +3 -3
- package/dist/{pi-model-discovery-CibSv4gC.js → pi-model-discovery-CgxnCHvU.js} +1 -1
- package/dist/{pi-model-discovery-runtime-DhBE8w94.js → pi-model-discovery-runtime-CqYOz48r.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-D6h4CmLs.js → pi-tools.before-tool-call.runtime-CPnt06zM.js} +5 -5
- package/dist/{pi-tools.policy-BqpmC_c4.js → pi-tools.policy-DGbCC2Ji.js} +5 -5
- package/dist/{plugin-auto-enable-DnSZLbIH.js → plugin-auto-enable-Crpu18wt.js} +3 -3
- package/dist/{plugin-registry-DckyegZB.js → plugin-registry-Dbu4pN4B.js} +3 -3
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/{plugins-C1OgLvb4.js → plugins-IFacUN_Q.js} +2 -2
- package/dist/{plugins-cli-C6Oo9R6E.js → plugins-cli-CCpaWcyg.js} +83 -83
- package/dist/{ports-CfOim1GC.js → ports-DqZBwUsy.js} +2 -2
- package/dist/{ports-Dw-3Gxsb.js → ports-FLn4cVl7.js} +1 -1
- package/dist/{probe-D3f6QMfy.js → probe-CHRXpP2F.js} +2 -2
- package/dist/{program-CEJ6CsoR.js → program-Br4Re78f.js} +81 -81
- package/dist/{prompt-select-styled-D-f3R2mt.js → prompt-select-styled-w-CGGgrT.js} +40 -40
- package/dist/{provider-auth-helpers-CN4iPBfs.js → provider-auth-helpers-BVCos07y.js} +5 -5
- package/dist/{proxy-env-B7GwrH5p.js → proxy-env-Bx8OhutV.js} +1 -1
- package/dist/{push-apns-BEZdCQsM.js → push-apns-Cdl2nskU.js} +5 -5
- package/dist/{pw-ai-Ckb-165q.js → pw-ai-BpQw305H.js} +18 -18
- package/dist/{pw-ai-D6e8FGb0.js → pw-ai-CJfoHUhH.js} +1 -1
- package/dist/{plugin-sdk/qmd-manager-JiY1T3wh.js → qmd-manager-COHJs6wn.js} +15 -11
- package/dist/{qr-cli-BI54tdt3.js → qr-cli-Bzo00_vR.js} +2 -2
- package/dist/{query-expansion-Cja4xprw.js → query-expansion-IQFdQdeu.js} +12 -12
- package/dist/{redact-snapshot-YrAxVxTI.js → redact-snapshot-Bfefch_D.js} +1 -1
- package/dist/{register.agent-BjxrirHi.js → register.agent-CVpohSrc.js} +94 -94
- package/dist/register.configure-CiIuig3f.js +162 -0
- package/dist/{register.maintenance-BfdiJ7KX.js → register.maintenance-CpVfbR8z.js} +95 -95
- package/dist/{register.message-BszoJEBm.js → register.message-CJErVRcL.js} +74 -74
- package/dist/{register.onboard-CbJU4Y-3.js → register.onboard-Cm5fn9dF.js} +18 -18
- package/dist/{register.setup-BTTBsCT0.js → register.setup-DIBDbMN8.js} +21 -21
- package/dist/{register.status-health-sessions-C3Ji8sqv.js → register.status-health-sessions-Bu3abDYw.js} +89 -89
- package/dist/{register.subclis-2iN-TxPh.js → register.subclis-DTiQUgvr.js} +31 -31
- package/dist/{rpc-4GcuaLHq.js → rpc-CkwrblZ9.js} +1 -1
- package/dist/{run-main-BEtPk_9z.js → run-main-4p7ridqP.js} +92 -92
- package/dist/{runtime-4RU4PT-H.js → runtime-C-9xWVep.js} +3 -3
- package/dist/{runtime-config-collectors-Ca2llf68.js → runtime-config-collectors-vw9ITu9W.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-DOTrH3Wz.js → runtime-whatsapp-login.runtime-CrytFUOh.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-DOHkvY0R.js +28 -0
- package/dist/{sandbox-D19lOCVP.js → sandbox-CDjV0Crv.js} +18 -18
- package/dist/{sandbox-cli-DAZxiFQz.js → sandbox-cli-CyS9Kzp1.js} +25 -25
- package/dist/{secrets-cli-Bd2eDDOJ.js → secrets-cli-BPXW13bC.js} +11 -11
- package/dist/{security-cli-C6oO69to.js → security-cli-DfuX1PAw.js} +43 -43
- package/dist/{send-DR5zNR-6.js → send-BTQQeOIu.js} +6 -6
- package/dist/{send-3vnK2por.js → send-CFsJh6px.js} +11 -11
- package/dist/{send-DTvtOsK3.js → send-CM55Cnqy.js} +4 -4
- package/dist/{send-Bz5LPBFx.js → send-D7wKzeqg.js} +8 -8
- package/dist/{send-CEgqE2b1.js → send-DUJqLDEQ.js} +5 -5
- package/dist/{server-vPpafyBR.js → server-57rjxu9J.js} +20 -20
- package/dist/{server-context-FT_S05Zu.js → server-context-DdGwcBos.js} +12 -12
- package/dist/{server-lifecycle-YV61YmRr.js → server-lifecycle-TD7uRUJM.js} +2 -2
- package/dist/{server-middleware-BPI-0Duw.js → server-middleware-Dqzu_N47.js} +1 -1
- package/dist/{server-node-events-BozhXo6J.js → server-node-events-CstHr-4q.js} +74 -74
- package/dist/{service-Aratsspm.js → service-B45ntxm9.js} +15 -15
- package/dist/{session-C4iQQHfw.js → session-BO7rj_9P.js} +1 -1
- package/dist/{session-utils-CTpXGSxL.js → session-utils-DqzU9P2d.js} +6 -6
- package/dist/{sessions-CZvR93mC.js → sessions-BPbCt7hk.js} +4 -4
- package/dist/{sessions-Cvvux3S6.js → sessions-BUNwVEqF.js} +15 -15
- package/dist/{shared-ByZODVse.js → shared-CeHWQzSU.js} +3 -3
- package/dist/{shared-Cj-SPh02.js → shared-CpqkgNHp.js} +1 -1
- package/dist/{skill-commands-CzaT61kL.js → skill-commands-BlmjGaIe.js} +5 -5
- package/dist/{skill-scanner-DqqhF5of.js → skill-scanner-DOOfjrYo.js} +6 -6
- package/dist/{skills-BpN5EUZU.js → skills-CFYm0xdh.js} +3 -3
- package/dist/{skills-cli-Bk2WM5gn.js → skills-cli-Dmbm2-L8.js} +5 -5
- package/dist/{skills-install-0pjIZu1-.js → skills-install-DSB3T8VY.js} +6 -6
- package/dist/{skills-status-Bu28FGtt.js → skills-status-CmWpjTMz.js} +1 -1
- package/dist/{slash-commands.runtime-CU--cvcd.js → slash-commands.runtime-CTVGYo20.js} +11 -11
- package/dist/{slash-dispatch.runtime-DDLolsGY.js → slash-dispatch.runtime-CQmhrE1-.js} +6 -6
- package/dist/slash-dispatch.runtime-yKnwVCI5.js +110 -0
- package/dist/slash-skill-commands.runtime-BCG9eUm1.js +29 -0
- package/dist/{status-B5hylgEQ.js → status-DPFQHdBI.js} +28 -28
- package/dist/{status.update-CdaaXiD4.js → status.update-ZhDibzTU.js} +2 -2
- package/dist/{store-LSg8jeyh.js → store-Dgl-neCe.js} +5 -5
- package/dist/{subagent-registry-iD-ynHA9.js → subagent-registry-DPqc72Pw.js} +149 -149
- package/dist/{subagent-registry-runtime-DfMDVaOY.js → subagent-registry-runtime-BYxLgcCY.js} +6 -6
- package/dist/subagent-registry-runtime-DE-5902Y.js +110 -0
- package/dist/{system-cli-B8wmT3y0.js → system-cli-BiiO_z6k.js} +9 -9
- package/dist/{system-run-command-Ft0meR8i.js → system-run-command-CUMrwy8H.js} +1 -1
- package/dist/{systemd-CVY4-XuL.js → systemd-BNMfPHLS.js} +9 -9
- package/dist/{systemd-hints-GPX9Y1X7.js → systemd-hints-O9SJa5Ku.js} +6 -6
- package/dist/{systemd-linger-CyioH9ho.js → systemd-linger-CDgtOmPf.js} +1 -1
- package/dist/{tables-B6p8P9wY.js → tables-Bjpb4vEC.js} +1 -1
- package/dist/{tailnet-yScEfa2T.js → tailnet-C4yxhmDk.js} +1 -1
- package/dist/{plugin-sdk/target-errors-Hoj2qirZ.js → target-errors-Bd8kj4z9.js} +2 -2
- package/dist/{tool-images-Cp3hNFNZ.js → tool-images-DbchBdq5.js} +1 -1
- package/dist/{tui-BPqNtl51.js → tui-BVOPPCMP.js} +6 -6
- package/dist/{tui-cli-BZE2zssw.js → tui-cli-B2jmEXCo.js} +32 -32
- package/dist/{update-u6OtnABh.js → update-DF240Zd0.js} +3 -3
- package/dist/{update-cli-C1nysDmM.js → update-cli-PDG-KYWB.js} +105 -105
- package/dist/{update-runner-BpzbDTnQ.js → update-runner-BkpGT3AA.js} +16 -16
- package/dist/{web-CodV11ZY.js → web-0SOsmYmI.js} +6 -6
- package/dist/web-20qjCzeI.js +114 -0
- package/dist/{webhooks-cli-D4O_OfXU.js → webhooks-cli-N_vV0iXR.js} +6 -6
- package/dist/{whatsapp-actions-By2rV868.js → whatsapp-actions-X768ziyc.js} +17 -17
- package/dist/{winclaw-root-D0OUuGl7.js → winclaw-root-DEqOOeOw.js} +8 -8
- package/dist/{with-timeout-Cng0KnPd.js → with-timeout-DJb5ULbL.js} +3 -3
- package/dist/{workspace-vYy4qLQz.js → workspace-Cx-f7PO5.js} +1 -1
- package/dist/{workspace-dirs-C13vnqQQ.js → workspace-dirs-C5erYAob.js} +1 -1
- package/dist/{wsl-C9d12M7y.js → wsl-BisEqrSr.js} +2 -2
- package/package.json +1 -1
- package/dist/cli-Da0pNyXg.js +0 -154
- package/dist/deliver-runtime-Co5o7uv0.js +0 -57
- package/dist/deps-send-discord.runtime-D0BtA9iO.js +0 -32
- package/dist/deps-send-imessage.runtime-89fweiea.js +0 -31
- package/dist/deps-send-signal.runtime-BA3mNq_v.js +0 -30
- package/dist/deps-send-slack.runtime-DiA-Ieod.js +0 -28
- package/dist/deps-send-telegram.runtime-C9bLOnbt.js +0 -34
- package/dist/deps-send-whatsapp.runtime-Dflrvnq-.js +0 -115
- package/dist/fs-safe-Dha0DfFC.js +0 -352
- package/dist/image-runtime-CGAobfgI.js +0 -51
- package/dist/manager-runtime-BifbXCuI.js +0 -22
- package/dist/path-alias-guards-9OJ1UBCd.js +0 -43
- package/dist/plugin-sdk/accounts-B9lBByhz.js +0 -35
- package/dist/plugin-sdk/accounts-Bl6fp04N.js +0 -288
- package/dist/plugin-sdk/accounts-CQWq_42g.js +0 -46
- package/dist/plugin-sdk/active-listener-Dc-P7jeX.js +0 -50
- package/dist/plugin-sdk/api-key-rotation-DSOB99GV.js +0 -181
- package/dist/plugin-sdk/audio-preflight-DYTxAG0v.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-Bndij5Q1.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-ZTTIhQhs.js +0 -58
- package/dist/plugin-sdk/channel-activity-ChRCQNSc.js +0 -94
- package/dist/plugin-sdk/channel-web-CfZNFYCV.js +0 -2256
- package/dist/plugin-sdk/chrome-DNpRdbZ1.js +0 -2415
- package/dist/plugin-sdk/commands-registry-Bq1HqcJU.js +0 -1125
- package/dist/plugin-sdk/config-Cyo0rHBx.js +0 -17959
- package/dist/plugin-sdk/deliver-mBruQPRt.js +0 -1719
- package/dist/plugin-sdk/deliver-runtime-ByVt0evu.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-C2fc3t93.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-D4m7X6j4.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DwGJRjyX.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-7J491hID.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DAKGyd6b.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BxQ5tZO2.js +0 -57
- package/dist/plugin-sdk/diagnostic-B3ZoSFoM.js +0 -319
- package/dist/plugin-sdk/errors-DdSHGcgi.js +0 -54
- package/dist/plugin-sdk/fetch-guard-Uhk4tySC.js +0 -156
- package/dist/plugin-sdk/image-CEBZ8sRh.js +0 -2314
- package/dist/plugin-sdk/image-ops-Dye2ozSZ.js +0 -584
- package/dist/plugin-sdk/image-runtime-CabQkSZn.js +0 -25
- package/dist/plugin-sdk/ir-CruONUHn.js +0 -1296
- package/dist/plugin-sdk/local-roots-BYSlR-at.js +0 -186
- package/dist/plugin-sdk/logger-C_vnHQg2.js +0 -1163
- package/dist/plugin-sdk/login-bdsdinOj.js +0 -57
- package/dist/plugin-sdk/login-qr-BYAvyop9.js +0 -320
- package/dist/plugin-sdk/manager-AOQxrU7P.js +0 -3929
- package/dist/plugin-sdk/manager-runtime-CijO5giX.js +0 -15
- package/dist/plugin-sdk/outbound-FdiP5J7H.js +0 -212
- package/dist/plugin-sdk/outbound-attachment-DZphVgq7.js +0 -19
- package/dist/plugin-sdk/paths-ICLB349I.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-tHjfJzH4.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-DQV-B6bn.js +0 -134
- package/dist/plugin-sdk/pi-model-discovery-runtime-MJmZTIax.js +0 -8
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-7DPjo7Ey.js +0 -354
- package/dist/plugin-sdk/plugins-BQHnLb2v.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-BpMu-RpD.js +0 -38
- package/dist/plugin-sdk/pw-ai-DAMRoo8O.js +0 -1938
- package/dist/plugin-sdk/query-expansion-CuaTloKx.js +0 -1011
- package/dist/plugin-sdk/redact-BznLQ6I5.js +0 -319
- package/dist/plugin-sdk/reply-Cx_4UtvJ.js +0 -100211
- package/dist/plugin-sdk/resolve-outbound-target-BDjhohcf.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-BcPenaKJ.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DqezqoLI.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dgnv_x4o.js +0 -19
- package/dist/plugin-sdk/send-BWz-g7wE.js +0 -540
- package/dist/plugin-sdk/send-DB9pUM0k.js +0 -414
- package/dist/plugin-sdk/send-QPap4wBN.js +0 -503
- package/dist/plugin-sdk/send-gz4Lq5tL.js +0 -2587
- package/dist/plugin-sdk/send-tyEtWeMX.js +0 -3135
- package/dist/plugin-sdk/session-88GgvJcW.js +0 -169
- package/dist/plugin-sdk/skill-commands-ClwX3DoE.js +0 -353
- package/dist/plugin-sdk/skills-B2FPl9ca.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-CGAfyDkY.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DN7TWAWh.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-C4i9B-79.js +0 -16
- package/dist/plugin-sdk/ssrf-D3NQgatK.js +0 -202
- package/dist/plugin-sdk/store-CDmdRGxP.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-CprGCjIU.js +0 -52
- package/dist/plugin-sdk/tables-j2CMtAoX.js +0 -55
- package/dist/plugin-sdk/thinking-Dh6B0ZhB.js +0 -1206
- package/dist/plugin-sdk/tokens-PExiD061.js +0 -52
- package/dist/plugin-sdk/tool-images-D7ah30xm.js +0 -274
- package/dist/plugin-sdk/web-D9wJfMr_.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-BjarJorO.js +0 -80
- package/dist/qmd-manager-oU4X85hj.js +0 -1452
- package/dist/register.configure-MduIRRMt.js +0 -162
- package/dist/runtime-whatsapp-outbound.runtime-CNnM5MdE.js +0 -28
- package/dist/slash-dispatch.runtime-D5Cl7j1v.js +0 -110
- package/dist/slash-skill-commands.runtime-DnvHGcVS.js +0 -29
- package/dist/subagent-registry-runtime-LH0OBaWN.js +0 -110
- package/dist/target-errors-HJQQHC3B.js +0 -195
- package/dist/web-DxHq9RWt.js +0 -114
|
@@ -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-DF0cLC20.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-Dany4R2i.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-_liSV_Vx.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-C-w5XvOS.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-CFYm0xdh.js";
|
|
11
|
+
import { n as listChannelPlugins } from "./plugins-IFacUN_Q.js";
|
|
12
|
+
import { t as buildGatewayConnectionDetails } from "./call-DEKH5GO9.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-CDjV0Crv.js";
|
|
15
|
+
import { a as resolveGatewayAuth } from "./auth-Ahj-1B5R.js";
|
|
16
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-DdGwcBos.js";
|
|
17
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-C5pAgyiz.js";
|
|
18
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-DmBkhPD-.js";
|
|
19
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-CI0hWzZk.js";
|
|
20
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-C5erYAob.js";
|
|
21
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-DGbCC2Ji.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-DOOfjrYo.js";
|
|
26
|
+
import { t as probeGateway } from "./probe-CHRXpP2F.js";
|
|
27
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-DGMJi4xw.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 from "node:fs/promises";
|
|
33
|
-
import
|
|
32
|
+
import * as fs$1 from "node:fs/promises";
|
|
33
|
+
import fs 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.readFile(resolved, "utf-8").catch(() => null);
|
|
1255
|
+
const rawText = await fs$1.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.realpath(canonicalSkillPath).catch(() => null);
|
|
1720
1720
|
if (!skillRealPath) continue;
|
|
1721
1721
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1722
1722
|
escapedSkillFiles.push({
|
|
@@ -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-C7TXXUto.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
|
|
|
@@ -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-DF0cLC20.js";
|
|
2
|
+
import "./agent-scope-Dany4R2i.js";
|
|
3
3
|
import "./utils-hiIKrqOK.js";
|
|
4
|
-
import "./winclaw-root-
|
|
4
|
+
import "./winclaw-root-DEqOOeOw.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-_liSV_Vx.js";
|
|
13
|
+
import "./models-config-CJq2ywhf.js";
|
|
14
|
+
import "./model-catalog-BYxSwIkt.js";
|
|
15
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-ClzwLPaB.js";
|
|
16
|
+
import "./issue-format-NmLUfbBT.js";
|
|
17
|
+
import "./shared-CeHWQzSU.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-BXCBtI3p.js";
|
|
19
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-Db9joqm4.js";
|
|
20
|
+
import { r as applyPrimaryModel } from "./model-picker-DAr8DpKu.js";
|
|
21
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-Cv61U_sa.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-DF0cLC20.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dany4R2i.js";
|
|
4
|
+
import { r as isLoopbackHost } from "./net-C7TXXUto.js";
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-BYxSwIkt.js";
|
|
6
|
+
import { f as openUrl } from "./onboard-helpers-Djj9SkyR.js";
|
|
7
|
+
import { t as enablePluginInConfig } from "./enable-Qw-mz6ta.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-ClzwLPaB.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-BXCBtI3p.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-BVCos07y.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-Db9joqm4.js";
|
|
12
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-DAr8DpKu.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-Bmj9LZnO.js → auth-choice.apply-helpers-ClzwLPaB.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-DF0cLC20.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-Dany4R2i.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-DEqOOeOw.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-_liSV_Vx.js";
|
|
16
|
+
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-C-w5XvOS.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 fs$1 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 fs$1.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 fs$1.mkdir(dir, { recursive: true });
|
|
3576
3576
|
try {
|
|
3577
|
-
const realDir = await
|
|
3577
|
+
const realDir = await fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.rm(lockPath, { force: true }).catch(() => void 0);
|
|
3637
3637
|
continue;
|
|
3638
3638
|
}
|
|
3639
3639
|
if (attempt >= attempts - 1) break;
|
|
@@ -14831,7 +14831,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
14831
14831
|
//#region src/security/audit-fs.ts
|
|
14832
14832
|
async function safeStat(targetPath) {
|
|
14833
14833
|
try {
|
|
14834
|
-
const lst = await
|
|
14834
|
+
const lst = await fs$1.lstat(targetPath);
|
|
14835
14835
|
return {
|
|
14836
14836
|
ok: true,
|
|
14837
14837
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -14870,7 +14870,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
14870
14870
|
let effectiveMode = st.mode;
|
|
14871
14871
|
let effectiveIsDir = st.isDir;
|
|
14872
14872
|
if (st.isSymlink) try {
|
|
14873
|
-
const target = await
|
|
14873
|
+
const target = await fs$1.stat(targetPath);
|
|
14874
14874
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
14875
14875
|
effectiveIsDir = target.isDirectory();
|
|
14876
14876
|
} catch {}
|
|
@@ -15124,7 +15124,7 @@ async function assertSecurePath(params) {
|
|
|
15124
15124
|
if (stat.isSymlink) {
|
|
15125
15125
|
if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
|
|
15126
15126
|
try {
|
|
15127
|
-
effectivePath = await
|
|
15127
|
+
effectivePath = await fs$1.realpath(effectivePath);
|
|
15128
15128
|
} catch {
|
|
15129
15129
|
throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
|
|
15130
15130
|
}
|
|
@@ -15172,7 +15172,7 @@ async function readFileProviderPayload(params) {
|
|
|
15172
15172
|
}, timeoutMs);
|
|
15173
15173
|
});
|
|
15174
15174
|
try {
|
|
15175
|
-
const payload = await Promise.race([
|
|
15175
|
+
const payload = await Promise.race([fs$1.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
|
|
15176
15176
|
if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
|
|
15177
15177
|
const text = payload.toString("utf8");
|
|
15178
15178
|
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-DF0cLC20.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-DF0cLC20.js";
|
|
3
|
+
import { Un as resolveCommitHash } from "./subagent-registry-DPqc72Pw.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-C4yxhmDk.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CkVHlwIZ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/bonjour-discovery.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { C as info, P as theme, S as danger, _ as defaultRuntime, o as parseBooleanValue, ot as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-DF0cLC20.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-Dany4R2i.js";
|
|
5
5
|
import { x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
6
|
-
import "./winclaw-root-
|
|
6
|
+
import "./winclaw-root-DEqOOeOw.js";
|
|
7
7
|
import "./logger-BcqRk323.js";
|
|
8
8
|
import "./exec-CaapFZaD.js";
|
|
9
9
|
import "./registry-BcRQUSsJ.js";
|
|
@@ -11,25 +11,25 @@ import "./github-copilot-token-DHTToceK.js";
|
|
|
11
11
|
import "./host-env-security-CIiLt2Mi.js";
|
|
12
12
|
import "./version-TiOyTfO4.js";
|
|
13
13
|
import "./env-vars-CE3cUIrz.js";
|
|
14
|
-
import "./manifest-registry-
|
|
15
|
-
import "./path-alias-guards-
|
|
14
|
+
import "./manifest-registry-_liSV_Vx.js";
|
|
15
|
+
import "./path-alias-guards-BoydiaPL.js";
|
|
16
16
|
import "./message-channel-DINJBdD0.js";
|
|
17
|
-
import "./client-
|
|
18
|
-
import "./call-
|
|
17
|
+
import "./client-jNFqrgw6.js";
|
|
18
|
+
import "./call-DEKH5GO9.js";
|
|
19
19
|
import "./pairing-token-CyhEb6Je.js";
|
|
20
|
-
import "./net-
|
|
21
|
-
import "./tailnet-
|
|
22
|
-
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, l as normalizeBrowserFormFieldValue, r as DEFAULT_UPLOAD_DIR } from "./paths-
|
|
20
|
+
import "./net-C7TXXUto.js";
|
|
21
|
+
import "./tailnet-C4yxhmDk.js";
|
|
22
|
+
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, l as normalizeBrowserFormFieldValue, r as DEFAULT_UPLOAD_DIR } from "./paths-BVQ0udwc.js";
|
|
23
23
|
import "./redact-D1OBirZT.js";
|
|
24
24
|
import "./errors-Dt_4okVn.js";
|
|
25
|
-
import "./fs-safe-
|
|
25
|
+
import "./fs-safe-B8J4dv27.js";
|
|
26
26
|
import { t as movePathToTrash } from "./trash-D9VuTy5D.js";
|
|
27
27
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
28
28
|
import { n as runCommandWithRuntime } from "./cli-utils-BlpNlYVq.js";
|
|
29
29
|
import { t as formatHelpExamples } from "./help-format-DqamOwoM.js";
|
|
30
30
|
import "./progress-Dtl-ttAH.js";
|
|
31
31
|
import { n as inheritOptionFromParent } from "./command-options-ZvhOayEd.js";
|
|
32
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
32
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-ICMh7-Qs.js";
|
|
33
33
|
import { t as copyToClipboard } from "./clipboard-Co_m2ybJ.js";
|
|
34
34
|
import { fileURLToPath } from "node:url";
|
|
35
35
|
import path from "node:path";
|
package/dist/build-info.json
CHANGED
|
@@ -8,19 +8,19 @@ import "../../github-copilot-token-BPV26Xlc.js";
|
|
|
8
8
|
import { a as isGatewayStartupEvent } from "../../legacy-names-BfbtBVxA.js";
|
|
9
9
|
import "../../thinking-leUv0tOz.js";
|
|
10
10
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-DKL-qP0N.js";
|
|
11
|
-
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-
|
|
11
|
+
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-CD3oPGOP.js";
|
|
12
12
|
import "../../plugins-7rATz3L_.js";
|
|
13
13
|
import "../../accounts-C4E8dXY5.js";
|
|
14
14
|
import "../../send-CM2xsD1-.js";
|
|
15
15
|
import "../../send-BBOtyWyN.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-r4_Yp7-C.js";
|
|
17
17
|
import "../../diagnostic-Bfg2dGdT.js";
|
|
18
18
|
import "../../accounts-erBd-vFQ.js";
|
|
19
19
|
import "../../image-ops-B57kBDSi.js";
|
|
20
20
|
import "../../send-DyitDdbm.js";
|
|
21
21
|
import "../../pi-model-discovery-CG08IlF3.js";
|
|
22
|
-
import { Dt as resolveMainSessionKey, J as updateSessionStore, Tt as resolveAgentMainSessionKey, W as loadSessionStore } from "../../pi-embedded-helpers-
|
|
23
|
-
import "../../chrome-
|
|
22
|
+
import { Dt as resolveMainSessionKey, J as updateSessionStore, Tt as resolveAgentMainSessionKey, W as loadSessionStore } from "../../pi-embedded-helpers-BthBxPYi.js";
|
|
23
|
+
import "../../chrome-Cr8R7xl_.js";
|
|
24
24
|
import "../../frontmatter-Bd5ovog5.js";
|
|
25
25
|
import "../../skills-RKUR-FBW.js";
|
|
26
26
|
import "../../path-alias-guards-DQAZEPdU.js";
|
|
@@ -32,8 +32,8 @@ import "../../store-TUglTWiC.js";
|
|
|
32
32
|
import "../../accounts-B8tD_UsF.js";
|
|
33
33
|
import { s as resolveStorePath } from "../../paths-ClcxBVEC.js";
|
|
34
34
|
import "../../tool-images-vmtyKntM.js";
|
|
35
|
-
import "../../image-
|
|
36
|
-
import "../../audio-transcription-runner-
|
|
35
|
+
import "../../image-DoOVDHql.js";
|
|
36
|
+
import "../../audio-transcription-runner-1-9PFrzh.js";
|
|
37
37
|
import "../../fetch-DJPm89Bh.js";
|
|
38
38
|
import "../../fetch-guard-B21Cix4W.js";
|
|
39
39
|
import "../../api-key-rotation-KGcAmHdg.js";
|
|
@@ -8,19 +8,19 @@ import "../../github-copilot-token-BPV26Xlc.js";
|
|
|
8
8
|
import "../../legacy-names-BfbtBVxA.js";
|
|
9
9
|
import "../../thinking-leUv0tOz.js";
|
|
10
10
|
import "../../tokens-DKL-qP0N.js";
|
|
11
|
-
import "../../pi-embedded-
|
|
11
|
+
import "../../pi-embedded-CD3oPGOP.js";
|
|
12
12
|
import "../../plugins-7rATz3L_.js";
|
|
13
13
|
import "../../accounts-C4E8dXY5.js";
|
|
14
14
|
import "../../send-CM2xsD1-.js";
|
|
15
15
|
import "../../send-BBOtyWyN.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-r4_Yp7-C.js";
|
|
17
17
|
import "../../diagnostic-Bfg2dGdT.js";
|
|
18
18
|
import "../../accounts-erBd-vFQ.js";
|
|
19
19
|
import "../../image-ops-B57kBDSi.js";
|
|
20
20
|
import "../../send-DyitDdbm.js";
|
|
21
21
|
import "../../pi-model-discovery-CG08IlF3.js";
|
|
22
|
-
import { dt as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-
|
|
23
|
-
import "../../chrome-
|
|
22
|
+
import { dt as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-BthBxPYi.js";
|
|
23
|
+
import "../../chrome-Cr8R7xl_.js";
|
|
24
24
|
import "../../frontmatter-Bd5ovog5.js";
|
|
25
25
|
import "../../skills-RKUR-FBW.js";
|
|
26
26
|
import "../../path-alias-guards-DQAZEPdU.js";
|
|
@@ -32,8 +32,8 @@ import "../../store-TUglTWiC.js";
|
|
|
32
32
|
import "../../accounts-B8tD_UsF.js";
|
|
33
33
|
import "../../paths-ClcxBVEC.js";
|
|
34
34
|
import "../../tool-images-vmtyKntM.js";
|
|
35
|
-
import "../../image-
|
|
36
|
-
import "../../audio-transcription-runner-
|
|
35
|
+
import "../../image-DoOVDHql.js";
|
|
36
|
+
import "../../audio-transcription-runner-1-9PFrzh.js";
|
|
37
37
|
import "../../fetch-DJPm89Bh.js";
|
|
38
38
|
import "../../fetch-guard-B21Cix4W.js";
|
|
39
39
|
import "../../api-key-rotation-KGcAmHdg.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { X as resolveConfigPath, et as resolveGatewayPort, ot as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-DF0cLC20.js";
|
|
3
3
|
import { b as shortenHomeInString, s as ensureDir, t as CONFIG_DIR, v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
4
4
|
import { A as hasConfiguredSecretInput, F as resolveSecretInputRef } from "./registry-BcRQUSsJ.js";
|
|
5
5
|
import { t as VERSION } from "./version-TiOyTfO4.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DINJBdD0.js";
|
|
7
|
-
import { Mt as PROTOCOL_VERSION, en as normalizeFingerprint, nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
8
|
-
import { i as isSecureWebSocketUrl } from "./net-
|
|
7
|
+
import { Mt as PROTOCOL_VERSION, en as normalizeFingerprint, nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-jNFqrgw6.js";
|
|
8
|
+
import { i as isSecureWebSocketUrl } from "./net-C7TXXUto.js";
|
|
9
9
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-D4_agdBB.js";
|
|
10
10
|
import { execFile } from "node:child_process";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { promisify } from "node:util";
|
|
13
|
-
import
|
|
13
|
+
import fs from "node:fs/promises";
|
|
14
14
|
import { X509Certificate, randomUUID } from "node:crypto";
|
|
15
15
|
|
|
16
16
|
//#region src/infra/tls/gateway.ts
|
|
17
17
|
const execFileAsync = promisify(execFile);
|
|
18
18
|
async function fileExists(filePath) {
|
|
19
19
|
try {
|
|
20
|
-
await
|
|
20
|
+
await fs.access(filePath);
|
|
21
21
|
return true;
|
|
22
22
|
} catch {
|
|
23
23
|
return false;
|
|
@@ -44,8 +44,8 @@ async function generateSelfSignedCert(params) {
|
|
|
44
44
|
"-subj",
|
|
45
45
|
"/CN=winclaw-gateway"
|
|
46
46
|
]);
|
|
47
|
-
await
|
|
48
|
-
await
|
|
47
|
+
await fs.chmod(params.keyPath, 384).catch(() => {});
|
|
48
|
+
await fs.chmod(params.certPath, 384).catch(() => {});
|
|
49
49
|
params.log?.info?.(`gateway tls: generated self-signed cert at ${shortenHomeInString(params.certPath)}`);
|
|
50
50
|
}
|
|
51
51
|
async function loadGatewayTlsRuntime(cfg, log) {
|
|
@@ -83,9 +83,9 @@ async function loadGatewayTlsRuntime(cfg, log) {
|
|
|
83
83
|
error: "gateway tls: cert/key missing"
|
|
84
84
|
};
|
|
85
85
|
try {
|
|
86
|
-
const cert = await
|
|
87
|
-
const key = await
|
|
88
|
-
const ca = caPath ? await
|
|
86
|
+
const cert = await fs.readFile(certPath, "utf8");
|
|
87
|
+
const key = await fs.readFile(keyPath, "utf8");
|
|
88
|
+
const ca = caPath ? await fs.readFile(caPath, "utf8") : void 0;
|
|
89
89
|
const fingerprintSha256 = normalizeFingerprint(new X509Certificate(cert).fingerprint256 ?? "");
|
|
90
90
|
if (!fingerprintSha256) return {
|
|
91
91
|
enabled: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2f870841b4738ebb0a211d62a22056269e387e6c7dc22b48d3f160c7bc3abb1e
|
|
@@ -2,16 +2,16 @@ import { t as runCommandWithTimeout } from "./exec-CaapFZaD.js";
|
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-B3GDS_vc.js";
|
|
3
3
|
import { t as resolveChannelDefaultAccountId } from "./helpers-dV2m_On0.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/detect-package-manager.ts
|
|
8
8
|
async function detectPackageManager$1(root) {
|
|
9
9
|
try {
|
|
10
|
-
const raw = await
|
|
10
|
+
const raw = await fs.readFile(path.join(root, "package.json"), "utf-8");
|
|
11
11
|
const pm = JSON.parse(raw)?.packageManager?.split("@")[0]?.trim();
|
|
12
12
|
if (pm === "pnpm" || pm === "bun" || pm === "npm") return pm;
|
|
13
13
|
} catch {}
|
|
14
|
-
const files = await
|
|
14
|
+
const files = await fs.readdir(root).catch(() => []);
|
|
15
15
|
if (files.includes("pnpm-lock.yaml")) return "pnpm";
|
|
16
16
|
if (files.includes("bun.lockb")) return "bun";
|
|
17
17
|
if (files.includes("package-lock.json")) return "npm";
|
|
@@ -112,7 +112,7 @@ function formatGitInstallLabel(update) {
|
|
|
112
112
|
}
|
|
113
113
|
async function exists(p) {
|
|
114
114
|
try {
|
|
115
|
-
await
|
|
115
|
+
await fs.access(p);
|
|
116
116
|
return true;
|
|
117
117
|
} catch {
|
|
118
118
|
return false;
|
|
@@ -239,7 +239,7 @@ async function checkGitUpdateStatus(params) {
|
|
|
239
239
|
}
|
|
240
240
|
async function statMtimeMs(p) {
|
|
241
241
|
try {
|
|
242
|
-
return (await
|
|
242
|
+
return (await fs.stat(p)).mtimeMs;
|
|
243
243
|
} catch {
|
|
244
244
|
return null;
|
|
245
245
|
}
|