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,13 +1,13 @@
|
|
|
1
1
|
import { st as resolvePreferredWinClawTmpDir } from "./entry.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-C2YuTuPp.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-CIiLt2Mi.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-Bx8OhutV.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CHht1LfT.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-CUMrwy8H.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$2 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$2.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CaapFZaD.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-FR9r9Dmi.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fs.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fs.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fs.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fs.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fs.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fs.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".winclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fs.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fs.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fs.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -339,7 +339,7 @@ async function installPackageDir(params) {
|
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
if (backupDir) await
|
|
342
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
343
343
|
recursive: true,
|
|
344
344
|
force: true
|
|
345
345
|
}).catch(() => void 0);
|
|
@@ -355,7 +355,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
355
355
|
//#endregion
|
|
356
356
|
//#region src/infra/install-target.ts
|
|
357
357
|
async function resolveCanonicalInstallTarget(params) {
|
|
358
|
-
await
|
|
358
|
+
await fs.mkdir(params.baseDir, { recursive: true });
|
|
359
359
|
const targetDirResult = resolveSafeInstallDir({
|
|
360
360
|
baseDir: params.baseDir,
|
|
361
361
|
id: params.id,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { b as loadWinClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
5
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-DF0cLC20.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dany4R2i.js";
|
|
4
|
+
import { b as loadWinClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-DPqc72Pw.js";
|
|
5
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-B3VCcNWC.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/status.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as defaultRuntime, et as resolveGatewayPort, v as restoreTerminalState } from "./entry.js";
|
|
2
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-
|
|
2
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-DF0cLC20.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
4
4
|
import { v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
5
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
5
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-Djj9SkyR.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
7
7
|
import { t as createClackPrompter } from "./clack-prompter-C88sE8nV.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-H-DjZ1G4.js";
|
|
9
9
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-99xh1fGv.js";
|
|
10
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
10
|
+
import { t as runOnboardingWizard } from "./onboarding-C_LQ6doG.js";
|
|
11
11
|
import { n as logConfigUpdated } from "./logging-D6YjGDjQ.js";
|
|
12
12
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags--oF1OLyy.js";
|
|
13
13
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-g-XBXKJM.js";
|
|
@@ -206,7 +206,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
206
206
|
}
|
|
207
207
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
208
208
|
if (authChoice !== "skip") {
|
|
209
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
209
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-NjkwJsBG.js");
|
|
210
210
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
211
211
|
nextConfig,
|
|
212
212
|
authChoice,
|
|
@@ -239,7 +239,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
239
239
|
logConfigUpdated(runtime);
|
|
240
240
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
241
241
|
if (opts.installDaemon) {
|
|
242
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
242
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-DNhR8NtL.js");
|
|
243
243
|
await installGatewayDaemonNonInteractive({
|
|
244
244
|
nextConfig,
|
|
245
245
|
opts,
|
|
@@ -250,7 +250,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
250
250
|
}
|
|
251
251
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
252
252
|
if (!opts.skipHealth) {
|
|
253
|
-
const { healthCommand } = await import("./health-
|
|
253
|
+
const { healthCommand } = await import("./health-Boe965-L.js").then((n) => n.i);
|
|
254
254
|
await waitForGatewayReachable({
|
|
255
255
|
url: resolveControlUiLinks({
|
|
256
256
|
bind: gatewayResult.bind,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dany4R2i.js";
|
|
5
5
|
import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./session-key-9-yI-GU_.js";
|
|
6
6
|
import { m as pathExists, p as normalizeE164, t as CONFIG_DIR } from "./utils-hiIKrqOK.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CaapFZaD.js";
|
|
8
8
|
import { A as hasConfiguredSecretInput, i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-BcRQUSsJ.js";
|
|
9
|
-
import { E as listDiscordAccountIds, O as resolveDefaultDiscordAccountId, _ as listSlackAccountIds, c as resolveDefaultTelegramAccountId, k as resolveDiscordAccount, l as resolveTelegramAccount, n as listChannelPlugins, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDefaultSlackAccountId, y as resolveSlackAccount } from "./plugins-
|
|
10
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
11
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
12
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
13
|
-
import { dt as normalizeDiscordSlug } from "./send-
|
|
14
|
-
import { E as resolveSlackChannelAllowlist, Qn as resolveDiscordUserAllowlist, Zn as resolveSlackUserAllowlist, b as loadWinClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { o as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
9
|
+
import { E as listDiscordAccountIds, O as resolveDefaultDiscordAccountId, _ as listSlackAccountIds, c as resolveDefaultTelegramAccountId, k as resolveDiscordAccount, l as resolveTelegramAccount, n as listChannelPlugins, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDefaultSlackAccountId, y as resolveSlackAccount } from "./plugins-IFacUN_Q.js";
|
|
10
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-BrWJjaKS.js";
|
|
11
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-8qwgz384.js";
|
|
12
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BpS-Awr5.js";
|
|
13
|
+
import { dt as normalizeDiscordSlug } from "./send-CFsJh6px.js";
|
|
14
|
+
import { E as resolveSlackChannelAllowlist, Qn as resolveDiscordUserAllowlist, Zn as resolveSlackUserAllowlist, b as loadWinClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-DPqc72Pw.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-Crpu18wt.js";
|
|
16
|
+
import { o as normalizeIMessageHandle } from "./send-BTQQeOIu.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-Djj9SkyR.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-BrdFlfV0.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-Djs-Lc5s.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-DzoFupsM.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-dV2m_On0.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
26
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-Qw-mz6ta.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-FR9r9Dmi.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-7zsfIb7P.js";
|
|
26
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-ClzwLPaB.js";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
import fs, { createWriteStream } from "node:fs";
|
|
30
|
-
import
|
|
30
|
+
import fs$1 from "node:fs/promises";
|
|
31
31
|
import { pipeline } from "node:stream/promises";
|
|
32
32
|
import { request } from "node:https";
|
|
33
33
|
|
|
@@ -1134,7 +1134,7 @@ async function findSignalCliBinary(root) {
|
|
|
1134
1134
|
const candidates = [];
|
|
1135
1135
|
const enqueue = async (dir, depth) => {
|
|
1136
1136
|
if (depth > 3) return;
|
|
1137
|
-
const entries = await
|
|
1137
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1138
1138
|
for (const entry of entries) {
|
|
1139
1139
|
const full = path.join(dir, entry.name);
|
|
1140
1140
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1155,7 +1155,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1155
1155
|
const prefix = result.stdout.trim();
|
|
1156
1156
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1157
1157
|
try {
|
|
1158
|
-
await
|
|
1158
|
+
await fs$1.access(candidate);
|
|
1159
1159
|
return candidate;
|
|
1160
1160
|
} catch {
|
|
1161
1161
|
return findSignalCliBinary(prefix);
|
|
@@ -1211,12 +1211,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1211
1211
|
ok: false,
|
|
1212
1212
|
error: "No compatible release asset found for this platform."
|
|
1213
1213
|
};
|
|
1214
|
-
const tmpDir = await
|
|
1214
|
+
const tmpDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "winclaw-signal-"));
|
|
1215
1215
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1216
1216
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1217
1217
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1218
1218
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1219
|
-
await
|
|
1219
|
+
await fs$1.mkdir(installRoot, { recursive: true });
|
|
1220
1220
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1221
1221
|
ok: false,
|
|
1222
1222
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1235,7 +1235,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1235
1235
|
ok: false,
|
|
1236
1236
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1237
1237
|
};
|
|
1238
|
-
await
|
|
1238
|
+
await fs$1.chmod(cliPath, 493).catch(() => {});
|
|
1239
1239
|
return {
|
|
1240
1240
|
ok: true,
|
|
1241
1241
|
cliPath,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Mi as normalizeSecretInput, Ri as DEFAULT_PROVIDER, br as modelKey, hr as buildModelAliasIndex, ji as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
2
|
+
import { Mi as normalizeSecretInput, Ri as DEFAULT_PROVIDER, br as modelKey, hr as buildModelAliasIndex, ji as normalizeOptionalSecretInput } from "./auth-profiles-DF0cLC20.js";
|
|
3
3
|
import { j as isSecretRef } from "./registry-BcRQUSsJ.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-B3GDS_vc.js";
|
|
5
5
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-Bs0PeDpo.js";
|
|
6
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
7
|
-
import { c as normalizeAlias } from "./shared-
|
|
8
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
6
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-ClzwLPaB.js";
|
|
7
|
+
import { c as normalizeAlias } from "./shared-CeHWQzSU.js";
|
|
8
|
+
import { r as applyPrimaryModel } from "./model-picker-DAr8DpKu.js";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/onboard-custom.ts
|
|
11
11
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { G as CONFIG_PATH } from "./entry.js";
|
|
3
|
-
import { An as isSafeExecutableValue, Lt as looksLikeAvatarPath, Mt as isAvatarHttpUrl, Nt as isAvatarImageDataUrl } from "./auth-profiles-
|
|
4
|
-
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
3
|
+
import { An as isSafeExecutableValue, Lt as looksLikeAvatarPath, Mt as isAvatarHttpUrl, Nt as isAvatarImageDataUrl } from "./auth-profiles-DF0cLC20.js";
|
|
4
|
+
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-Dany4R2i.js";
|
|
5
5
|
import { S as sleep, b as shortenHomeInString, t as CONFIG_DIR, v as resolveUserPath, x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-CaapFZaD.js";
|
|
7
7
|
import { t as VERSION } from "./version-TiOyTfO4.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DINJBdD0.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-ByCv35uy.js";
|
|
10
|
-
import { n as callGateway } from "./call-
|
|
11
|
-
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-
|
|
12
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
10
|
+
import { n as callGateway } from "./call-DEKH5GO9.js";
|
|
11
|
+
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-C7TXXUto.js";
|
|
12
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-C4yxhmDk.js";
|
|
13
|
+
import { t as isWSL } from "./wsl-BisEqrSr.js";
|
|
14
14
|
import { r as stylePromptTitle } from "./prompt-style-ezqCM_Sr.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
|
-
import
|
|
17
|
+
import fs from "node:fs/promises";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { cancel, isCancel } from "@clack/prompts";
|
|
20
20
|
|
|
@@ -244,7 +244,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
244
244
|
});
|
|
245
245
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
246
246
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
247
|
-
await
|
|
247
|
+
await fs.mkdir(sessionsDir, { recursive: true });
|
|
248
248
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
249
249
|
}
|
|
250
250
|
function resolveNodeManagerOptions() {
|
|
@@ -266,7 +266,7 @@ function resolveNodeManagerOptions() {
|
|
|
266
266
|
async function moveToTrash(pathname, runtime) {
|
|
267
267
|
if (!pathname) return;
|
|
268
268
|
try {
|
|
269
|
-
await
|
|
269
|
+
await fs.access(pathname);
|
|
270
270
|
} catch {
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
@@ -289,7 +289,7 @@ async function detectBinary(name) {
|
|
|
289
289
|
if (!isSafeExecutableValue(name)) return false;
|
|
290
290
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
291
291
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
292
|
-
await
|
|
292
|
+
await fs.access(resolved);
|
|
293
293
|
return true;
|
|
294
294
|
} catch {
|
|
295
295
|
return false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
2
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./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 "./frontmatter-BnXqzQr3.js";
|
|
8
|
-
import "./workspace-
|
|
9
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
8
|
+
import "./workspace-Cx-f7PO5.js";
|
|
9
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-CQjtRM1s.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/onboard-hooks.ts
|
|
12
12
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as isSecureWebSocketUrl } from "./net-
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
4
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { i as isSecureWebSocketUrl } from "./net-C7TXXUto.js";
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-Djj9SkyR.js";
|
|
4
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-ClzwLPaB.js";
|
|
5
5
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CkVHlwIZ.js";
|
|
6
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
6
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BVSpbdjs.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-remote.ts
|
|
9
9
|
var onboard_remote_exports = /* @__PURE__ */ __exportAll({ promptRemoteGatewayConfig: () => promptRemoteGatewayConfig });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Mi as normalizeSecretInput } from "./auth-profiles-
|
|
2
|
+
import { Mi as normalizeSecretInput } from "./auth-profiles-DF0cLC20.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
4
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-CmWpjTMz.js";
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-Djj9SkyR.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-DSB3T8VY.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { K as DEFAULT_GATEWAY_PORT, _ as defaultRuntime, et as resolveGatewayPort } from "./entry.js";
|
|
2
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-
|
|
2
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-DF0cLC20.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
4
4
|
import { v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
5
5
|
import { N as normalizeSecretInputString } from "./registry-BcRQUSsJ.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
7
|
-
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-
|
|
7
|
+
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-Cw4uIgyl.js";
|
|
8
8
|
|
|
9
9
|
//#region src/wizard/onboarding.ts
|
|
10
10
|
async function requireRiskAcknowledgement(params) {
|
|
@@ -43,7 +43,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
43
43
|
})) throw new WizardCancelledError("risk not accepted");
|
|
44
44
|
}
|
|
45
45
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
46
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
46
|
+
const onboardHelpers = await import("./onboard-helpers-Djj9SkyR.js").then((n) => n.d);
|
|
47
47
|
onboardHelpers.printWizardHeader(runtime);
|
|
48
48
|
await prompter.intro("WinClaw onboarding");
|
|
49
49
|
await requireRiskAcknowledgement({
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
}]
|
|
224
224
|
}));
|
|
225
225
|
if (mode === "remote") {
|
|
226
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
226
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-o8XtWCa_.js").then((n) => n.t);
|
|
227
227
|
const { logConfigUpdated } = await import("./logging-D6YjGDjQ.js").then((n) => n.r);
|
|
228
228
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter, { secretInputMode: opts.secretInputMode });
|
|
229
229
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -241,11 +241,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
241
241
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
242
242
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-g-XBXKJM.js").then((n) => n.n);
|
|
243
243
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
244
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
244
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-DF0cLC20.js").then((n) => n.t);
|
|
245
245
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-CWXemmtw.js").then((n) => n.t);
|
|
246
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
247
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
248
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
246
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-Cv61U_sa.js").then((n) => n.r);
|
|
247
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-dFTD1hLR.js").then((n) => n.t);
|
|
248
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-DAr8DpKu.js").then((n) => n.i);
|
|
249
249
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
250
250
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
251
251
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -283,7 +283,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
283
283
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
284
284
|
}
|
|
285
285
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
286
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
286
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-ByvXJY2k.js");
|
|
287
287
|
const gateway = await configureGatewayForOnboarding({
|
|
288
288
|
flow,
|
|
289
289
|
baseConfig,
|
|
@@ -298,8 +298,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
298
298
|
const settings = gateway.settings;
|
|
299
299
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
300
300
|
else {
|
|
301
|
-
const { listChannelPlugins } = await import("./plugins-
|
|
302
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
301
|
+
const { listChannelPlugins } = await import("./plugins-IFacUN_Q.js").then((n) => n.i);
|
|
302
|
+
const { setupChannels } = await import("./onboard-channels-NBqfiIc3.js").then((n) => n.n);
|
|
303
303
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
304
304
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
305
305
|
allowSignalInstall: true,
|
|
@@ -316,17 +316,17 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
316
316
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
317
317
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
318
318
|
else {
|
|
319
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
319
|
+
const { setupSkills } = await import("./onboard-skills-TATKa-gc.js").then((n) => n.t);
|
|
320
320
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
321
321
|
}
|
|
322
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
322
|
+
const { setupInternalHooks } = await import("./onboard-hooks-DRkLf5gL.js");
|
|
323
323
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
324
324
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
325
325
|
command: "onboard",
|
|
326
326
|
mode
|
|
327
327
|
});
|
|
328
328
|
await writeConfigFile(nextConfig);
|
|
329
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
329
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-uHWzNBrm.js");
|
|
330
330
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
331
331
|
flow,
|
|
332
332
|
opts,
|