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,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Ct as hasHelpOrVersion, bt as getPrimaryCommand } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-DTiQUgvr.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-DIBDbMN8.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-Cm5fn9dF.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-CiIuig3f.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-Dk1yc6M9.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-CpVfbR8z.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-CJErVRcL.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -99,7 +99,7 @@ const coreEntries = [
|
|
|
99
99
|
hasSubcommands: true
|
|
100
100
|
}],
|
|
101
101
|
register: async ({ program }) => {
|
|
102
|
-
(await import("./memory-cli-
|
|
102
|
+
(await import("./memory-cli-BgZK6A-T.js").then((n) => n.t)).registerMemoryCli(program);
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-CVpohSrc.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-Bu3abDYw.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -145,7 +145,7 @@ const coreEntries = [
|
|
|
145
145
|
hasSubcommands: true
|
|
146
146
|
}],
|
|
147
147
|
register: async ({ program }) => {
|
|
148
|
-
(await import("./browser-cli-
|
|
148
|
+
(await import("./browser-cli-DAcccrxR.js")).registerBrowserCli(program);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as describeUnknownError, x as resolveSecretRefValues } from "./auth-profiles-
|
|
1
|
+
import { S as describeUnknownError, x as resolveSecretRefValues } from "./auth-profiles-DF0cLC20.js";
|
|
2
2
|
import { F as resolveSecretInputRef } from "./registry-BcRQUSsJ.js";
|
|
3
3
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DINJBdD0.js";
|
|
4
|
-
import { st as validateSecretsResolveResult } from "./client-
|
|
5
|
-
import { n as callGateway } from "./call-
|
|
6
|
-
import { C as setPathExistingStrict, a as createResolverContext, c as collectCommandSecretAssignmentsFromSnapshot, d as discoverConfigSecretTargetsByIds, h as listSecretTargetRegistryEntries, i as applyResolvedAssignments, t as collectConfigAssignments } from "./runtime-config-collectors-
|
|
4
|
+
import { st as validateSecretsResolveResult } from "./client-jNFqrgw6.js";
|
|
5
|
+
import { n as callGateway } from "./call-DEKH5GO9.js";
|
|
6
|
+
import { C as setPathExistingStrict, a as createResolverContext, c as collectCommandSecretAssignmentsFromSnapshot, d as discoverConfigSecretTargetsByIds, h as listSecretTargetRegistryEntries, i as applyResolvedAssignments, t as collectConfigAssignments } from "./runtime-config-collectors-vw9ITu9W.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/command-secret-gateway.ts
|
|
9
9
|
function dedupeDiagnostics(entries) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as isPlainObject } from "./utils-hiIKrqOK.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-IFacUN_Q.js";
|
|
3
3
|
|
|
4
4
|
//#region src/config/commands.ts
|
|
5
5
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Dr as resolveConfiguredModelRef, Li as DEFAULT_MODEL, Ri as DEFAULT_PROVIDER } from "./auth-profiles-
|
|
1
|
+
import { Dr as resolveConfiguredModelRef, Li as DEFAULT_MODEL, Ri as DEFAULT_PROVIDER } from "./auth-profiles-DF0cLC20.js";
|
|
2
2
|
import { c as escapeRegExp } from "./utils-hiIKrqOK.js";
|
|
3
3
|
import { u as getActivePluginRegistry } from "./registry-BcRQUSsJ.js";
|
|
4
|
-
import { n as listChannelDocks } from "./dock-
|
|
4
|
+
import { n as listChannelDocks } from "./dock-C-w5XvOS.js";
|
|
5
5
|
import { i as listThinkingLevels } from "./thinking-BxCyPtl0.js";
|
|
6
|
-
import { t as isCommandFlagEnabled } from "./commands-
|
|
6
|
+
import { t as isCommandFlagEnabled } from "./commands-DmBkhPD-.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/commands-args.ts
|
|
9
9
|
function normalizeArgValue(value) {
|
|
@@ -2,12 +2,12 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { P as theme, ot as resolveStateDir, u as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { m as pathExists } from "./utils-hiIKrqOK.js";
|
|
4
4
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
5
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
6
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
5
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DTiQUgvr.js";
|
|
6
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-qDpes5Yr.js";
|
|
7
7
|
import { t as getProgramContext } from "./program-context-gd4x_qEm.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs from "node:fs/promises";
|
|
11
11
|
import { Option } from "commander";
|
|
12
12
|
|
|
13
13
|
//#region src/cli/completion-fish.ts
|
|
@@ -90,11 +90,11 @@ function getCompletionScript(shell, program) {
|
|
|
90
90
|
}
|
|
91
91
|
async function writeCompletionCache(params) {
|
|
92
92
|
const cacheDir = resolveCompletionCacheDir();
|
|
93
|
-
await
|
|
93
|
+
await fs.mkdir(cacheDir, { recursive: true });
|
|
94
94
|
for (const shell of params.shells) {
|
|
95
95
|
const script = getCompletionScript(shell, params.program);
|
|
96
96
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
97
|
-
await
|
|
97
|
+
await fs.writeFile(targetPath, script, "utf-8");
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -152,7 +152,7 @@ async function isCompletionInstalled(shell, binName = "winclaw") {
|
|
|
152
152
|
if (!await pathExists(profilePath)) return false;
|
|
153
153
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
154
154
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
155
|
-
return (await
|
|
155
|
+
return (await fs.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -162,7 +162,7 @@ async function usesSlowDynamicCompletion(shell, binName = "winclaw") {
|
|
|
162
162
|
const profilePath = getShellProfilePath(shell);
|
|
163
163
|
if (!await pathExists(profilePath)) return false;
|
|
164
164
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
165
|
-
const lines = (await
|
|
165
|
+
const lines = (await fs.readFile(profilePath, "utf-8")).split("\n");
|
|
166
166
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
167
167
|
return false;
|
|
168
168
|
}
|
|
@@ -211,7 +211,7 @@ async function installCompletion(shell, yes, binName = "winclaw") {
|
|
|
211
211
|
} else if (shell === "bash") {
|
|
212
212
|
profilePath = path.join(home, ".bashrc");
|
|
213
213
|
try {
|
|
214
|
-
await
|
|
214
|
+
await fs.access(profilePath);
|
|
215
215
|
} catch {
|
|
216
216
|
profilePath = path.join(home, ".bash_profile");
|
|
217
217
|
}
|
|
@@ -225,13 +225,13 @@ async function installCompletion(shell, yes, binName = "winclaw") {
|
|
|
225
225
|
}
|
|
226
226
|
try {
|
|
227
227
|
try {
|
|
228
|
-
await
|
|
228
|
+
await fs.access(profilePath);
|
|
229
229
|
} catch {
|
|
230
230
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
231
|
-
await
|
|
232
|
-
await
|
|
231
|
+
await fs.mkdir(path.dirname(profilePath), { recursive: true });
|
|
232
|
+
await fs.writeFile(profilePath, "", "utf-8");
|
|
233
233
|
}
|
|
234
|
-
const update = updateCompletionProfile(await
|
|
234
|
+
const update = updateCompletionProfile(await fs.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
235
235
|
if (!update.changed) {
|
|
236
236
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
237
237
|
return;
|
|
@@ -240,7 +240,7 @@ async function installCompletion(shell, yes, binName = "winclaw") {
|
|
|
240
240
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
241
241
|
console.log(`${action} completion in ${profilePath}...`);
|
|
242
242
|
}
|
|
243
|
-
await
|
|
243
|
+
await fs.writeFile(profilePath, update.next, "utf-8");
|
|
244
244
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
245
245
|
} catch (err) {
|
|
246
246
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { A as success, C as info, G as CONFIG_PATH, P as theme, S as danger, _ as defaultRuntime } 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
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-Dany4R2i.js";
|
|
5
5
|
import { y as isBlockedObjectKey } from "./session-key-9-yI-GU_.js";
|
|
6
6
|
import { x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
7
|
-
import "./winclaw-root-
|
|
7
|
+
import "./winclaw-root-DEqOOeOw.js";
|
|
8
8
|
import "./logger-BcqRk323.js";
|
|
9
9
|
import "./exec-CaapFZaD.js";
|
|
10
10
|
import "./registry-BcRQUSsJ.js";
|
|
@@ -12,10 +12,10 @@ import "./github-copilot-token-DHTToceK.js";
|
|
|
12
12
|
import "./host-env-security-CIiLt2Mi.js";
|
|
13
13
|
import "./version-TiOyTfO4.js";
|
|
14
14
|
import "./env-vars-CE3cUIrz.js";
|
|
15
|
-
import "./manifest-registry-
|
|
15
|
+
import "./manifest-registry-_liSV_Vx.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
17
|
-
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-
|
|
18
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
17
|
+
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-NmLUfbBT.js";
|
|
18
|
+
import { t as redactConfigObject } from "./redact-snapshot-Bfefch_D.js";
|
|
19
19
|
import JSON5 from "json5";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/config-cli.ts
|
|
@@ -302,7 +302,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
302
302
|
}
|
|
303
303
|
function registerConfigCli(program) {
|
|
304
304
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.winclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
305
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
305
|
+
const { configureCommandFromSectionsArg } = await import("./configure-CuqZCxTb.js").then((n) => n.t);
|
|
306
306
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
307
307
|
});
|
|
308
308
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as colorize, N as isRich, P as theme, Tt as shouldMigrateStateFromPath } from "./entry.js";
|
|
3
|
-
import { V as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { V as readConfigFileSnapshot } from "./auth-profiles-DF0cLC20.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
5
5
|
import { x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
6
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
7
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
6
|
+
import { n as formatConfigIssueLines } from "./issue-format-NmLUfbBT.js";
|
|
7
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BzYwmYwv.js";
|
|
8
8
|
|
|
9
9
|
//#region src/cli/program/config-guard.ts
|
|
10
10
|
var config_guard_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { V as readConfigFileSnapshot } from "./auth-profiles-
|
|
1
|
+
import { V as readConfigFileSnapshot } from "./auth-profiles-DF0cLC20.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
3
3
|
import { c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID } from "./session-key-9-yI-GU_.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-IFacUN_Q.js";
|
|
5
5
|
import { t as resolveChannelDefaultAccountId } from "./helpers-dV2m_On0.js";
|
|
6
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
6
|
+
import { n as formatConfigIssueLines } from "./issue-format-NmLUfbBT.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/agents.bindings.ts
|
|
9
9
|
function bindingMatchKey(match) {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { G as CONFIG_PATH, _ as defaultRuntime, et as resolveGatewayPort } from "./entry.js";
|
|
3
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot, er as ensureAuthProfileStore, z as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot, er as ensureAuthProfileStore, z as loadConfig } from "./auth-profiles-DF0cLC20.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
5
5
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
6
6
|
import { N as normalizeSecretInputString } from "./registry-BcRQUSsJ.js";
|
|
7
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
7
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-IFacUN_Q.js";
|
|
8
8
|
import { a as findTailscaleBinary } from "./tailscale-CB_lUnsU.js";
|
|
9
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
9
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-Djj9SkyR.js";
|
|
10
10
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-ezqCM_Sr.js";
|
|
11
11
|
import { n as withProgress } from "./progress-Dtl-ttAH.js";
|
|
12
12
|
import { t as note$1 } from "./note-Emtc1zzf.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-C88sE8nV.js";
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-NBqfiIc3.js";
|
|
16
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DWmF3oFP.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-99xh1fGv.js";
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
20
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
18
|
+
import { t as resolveGatewayService } from "./service-B45ntxm9.js";
|
|
19
|
+
import { r as healthCommand } from "./health-Boe965-L.js";
|
|
20
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-5F0FEjfM.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-D6YjGDjQ.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CWXemmtw.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
24
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
25
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
26
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
27
|
-
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-dFTD1hLR.js";
|
|
24
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-DAr8DpKu.js";
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CDgtOmPf.js";
|
|
26
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-Cv61U_sa.js";
|
|
27
|
+
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-CfrDjvjo.js";
|
|
28
28
|
import { t as formatHealthCheckFailure } from "./health-format-DfUHWWsW.js";
|
|
29
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
30
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
29
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-o8XtWCa_.js";
|
|
30
|
+
import { n as setupSkills } from "./onboard-skills-TATKa-gc.js";
|
|
31
31
|
import path from "node:path";
|
|
32
|
-
import
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
34
34
|
|
|
35
35
|
//#region src/commands/configure.shared.ts
|
|
@@ -792,7 +792,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
792
792
|
].map((name) => path.join(workspaceDir, name));
|
|
793
793
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
794
794
|
try {
|
|
795
|
-
await
|
|
795
|
+
await fs.access(candidate);
|
|
796
796
|
return true;
|
|
797
797
|
} catch {
|
|
798
798
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { n as resolveWinClawPackageRootSync, t as resolveWinClawPackageRoot } from "./winclaw-root-
|
|
2
|
+
import { n as resolveWinClawPackageRootSync, t as resolveWinClawPackageRoot } from "./winclaw-root-DEqOOeOw.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CaapFZaD.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { M as colorize, N as isRich, P as theme, S as danger, _ as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
2
|
+
import "./auth-profiles-DF0cLC20.js";
|
|
3
|
+
import "./agent-scope-Dany4R2i.js";
|
|
4
4
|
import { f as sanitizeAgentId } from "./session-key-9-yI-GU_.js";
|
|
5
5
|
import "./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,21 +11,21 @@ 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-
|
|
14
|
+
import "./manifest-registry-_liSV_Vx.js";
|
|
15
15
|
import "./message-channel-DINJBdD0.js";
|
|
16
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
17
|
-
import "./accounts-
|
|
16
|
+
import { n as listChannelPlugins } from "./plugins-IFacUN_Q.js";
|
|
17
|
+
import "./accounts-BrWJjaKS.js";
|
|
18
18
|
import "./logging-CFvkxgcX.js";
|
|
19
|
-
import "./client-
|
|
20
|
-
import "./call-
|
|
19
|
+
import "./client-jNFqrgw6.js";
|
|
20
|
+
import "./call-DEKH5GO9.js";
|
|
21
21
|
import "./pairing-token-CyhEb6Je.js";
|
|
22
|
-
import "./net-
|
|
23
|
-
import "./tailnet-
|
|
22
|
+
import "./net-C7TXXUto.js";
|
|
23
|
+
import "./tailnet-C4yxhmDk.js";
|
|
24
24
|
import { n as formatDurationHuman } from "./format-duration-DLCmyMPh.js";
|
|
25
25
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-CT5G1TCV.js";
|
|
26
26
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
27
27
|
import "./progress-Dtl-ttAH.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-ICMh7-Qs.js";
|
|
29
29
|
import { n as parsePositiveIntOrUndefined } from "./helpers-DSMIGYx2.js";
|
|
30
30
|
|
|
31
31
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { L as getResolvedLoggerSettings, M as colorize, N as isRich, P as theme, X as resolveConfigPath, _ as defaultRuntime, et as resolveGatewayPort, ot as resolveStateDir, tt as resolveIsNixMode } from "./entry.js";
|
|
3
|
-
import { G as writeConfigFile, R as createConfigIO, V as readConfigFileSnapshot, lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, R as createConfigIO, V as readConfigFileSnapshot, lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-DF0cLC20.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-C2YuTuPp.js";
|
|
5
5
|
import { S as sleep, x as shortenHomePath } from "./utils-hiIKrqOK.js";
|
|
6
6
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-BcRQUSsJ.js";
|
|
7
7
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DINJBdD0.js";
|
|
8
|
-
import { n as callGateway, p as loadGatewayTlsRuntime } from "./call-
|
|
9
|
-
import { u as resolveGatewayBindHost } from "./net-
|
|
10
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
11
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
12
|
-
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
8
|
+
import { n as callGateway, p as loadGatewayTlsRuntime } from "./call-DEKH5GO9.js";
|
|
9
|
+
import { u as resolveGatewayBindHost } from "./net-C7TXXUto.js";
|
|
10
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-C4yxhmDk.js";
|
|
11
|
+
import { a as resolveGatewayAuth } from "./auth-Ahj-1B5R.js";
|
|
12
|
+
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-DqZBwUsy.js";
|
|
13
13
|
import { t as killProcessTree } from "./kill-tree-N_tCnsPC.js";
|
|
14
14
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-DgixEexA.js";
|
|
15
|
-
import { r as isWSLEnv } from "./wsl-
|
|
16
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { r as isWSLEnv } from "./wsl-BisEqrSr.js";
|
|
16
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-Djj9SkyR.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-Bcv6_maG.js";
|
|
18
18
|
import { n as withProgress } from "./progress-Dtl-ttAH.js";
|
|
19
19
|
import { n as inheritOptionFromParent } from "./command-options-ZvhOayEd.js";
|
|
20
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
21
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
20
|
+
import { t as formatConfigIssueLine } from "./issue-format-NmLUfbBT.js";
|
|
21
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-DWmF3oFP.js";
|
|
22
22
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-99xh1fGv.js";
|
|
23
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
24
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
25
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
23
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-B45ntxm9.js";
|
|
24
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-Di83_FGS.js";
|
|
25
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-O9SJa5Ku.js";
|
|
26
26
|
import { t as parsePort } from "./parse-port-CzTewNTY.js";
|
|
27
|
-
import { t as probeGateway } from "./probe-
|
|
28
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
29
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
27
|
+
import { t as probeGateway } from "./probe-CHRXpP2F.js";
|
|
28
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-BDjbQJxP.js";
|
|
29
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DbVcDDi7.js";
|
|
30
30
|
|
|
31
31
|
//#region src/cli/daemon-cli/install.ts
|
|
32
32
|
async function runDaemonInstall(opts) {
|
|
@@ -5,12 +5,12 @@ import "./version-TiOyTfO4.js";
|
|
|
5
5
|
import "./env-vars-CE3cUIrz.js";
|
|
6
6
|
import "./prompt-style-ezqCM_Sr.js";
|
|
7
7
|
import "./note-Emtc1zzf.js";
|
|
8
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
8
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DWmF3oFP.js";
|
|
9
9
|
import "./runtime-guard-H-DjZ1G4.js";
|
|
10
10
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-99xh1fGv.js";
|
|
11
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
12
|
-
import { t as resolveGatewayService } from "./service-
|
|
13
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
11
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-BNMfPHLS.js";
|
|
12
|
+
import { t as resolveGatewayService } from "./service-B45ntxm9.js";
|
|
13
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-CDgtOmPf.js";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
16
16
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -8,7 +8,7 @@ import { execFile } from "node:child_process";
|
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
|
-
import
|
|
11
|
+
import fs from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/daemon/program-args.ts
|
|
14
14
|
async function resolveCliEntrypointPathForService() {
|
|
@@ -17,23 +17,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
17
17
|
const normalized = path.resolve(argv1);
|
|
18
18
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
19
19
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
20
|
-
await
|
|
20
|
+
await fs.access(resolvedPath);
|
|
21
21
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
22
|
-
await
|
|
22
|
+
await fs.access(normalized);
|
|
23
23
|
return normalized;
|
|
24
24
|
} catch {}
|
|
25
25
|
return resolvedPath;
|
|
26
26
|
}
|
|
27
27
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
28
28
|
for (const candidate of distCandidates) try {
|
|
29
|
-
await
|
|
29
|
+
await fs.access(candidate);
|
|
30
30
|
return candidate;
|
|
31
31
|
} catch {}
|
|
32
32
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
33
33
|
}
|
|
34
34
|
async function resolveRealpathSafe(inputPath) {
|
|
35
35
|
try {
|
|
36
|
-
return await
|
|
36
|
+
return await fs.realpath(inputPath);
|
|
37
37
|
} catch {
|
|
38
38
|
return inputPath;
|
|
39
39
|
}
|
|
@@ -93,7 +93,7 @@ async function resolveBinaryPath(binary) {
|
|
|
93
93
|
try {
|
|
94
94
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
95
95
|
if (!resolved) throw new Error("empty");
|
|
96
|
-
await
|
|
96
|
+
await fs.access(resolved);
|
|
97
97
|
return resolved;
|
|
98
98
|
} catch {
|
|
99
99
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -112,7 +112,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
112
112
|
if (params.dev) {
|
|
113
113
|
const repoRoot = resolveRepoRootForDev();
|
|
114
114
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
115
|
-
await
|
|
115
|
+
await fs.access(devCliPath);
|
|
116
116
|
return {
|
|
117
117
|
programArguments: [
|
|
118
118
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -140,7 +140,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
140
140
|
}
|
|
141
141
|
const repoRoot = resolveRepoRootForDev();
|
|
142
142
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
143
|
-
await
|
|
143
|
+
await fs.access(devCliPath);
|
|
144
144
|
if (isBunRuntime(execPath)) return {
|
|
145
145
|
programArguments: [
|
|
146
146
|
execPath,
|
|
@@ -207,13 +207,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
207
207
|
const formula = cellarMatch[2];
|
|
208
208
|
const optPath = `${prefix}/opt/${formula}/bin/node`;
|
|
209
209
|
try {
|
|
210
|
-
await
|
|
210
|
+
await fs.access(optPath);
|
|
211
211
|
return optPath;
|
|
212
212
|
} catch {}
|
|
213
213
|
if (formula === "node") {
|
|
214
214
|
const binPath = `${prefix}/bin/node`;
|
|
215
215
|
try {
|
|
216
|
-
await
|
|
216
|
+
await fs.access(binPath);
|
|
217
217
|
return binPath;
|
|
218
218
|
} catch {}
|
|
219
219
|
}
|
|
@@ -282,7 +282,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
282
282
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
283
283
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
284
284
|
for (const candidate of candidates) try {
|
|
285
|
-
await
|
|
285
|
+
await fs.access(candidate);
|
|
286
286
|
return candidate;
|
|
287
287
|
} catch {}
|
|
288
288
|
return null;
|
|
@@ -2,15 +2,15 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { E as logVerbose, s as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { _ as normalizeAccountId, v as normalizeOptionalAccountId } from "./session-key-9-yI-GU_.js";
|
|
4
4
|
import { E as triggerInternalHook, f as getActivePluginRegistryVersion, u as getActivePluginRegistry, w as createInternalHookEvent } from "./registry-BcRQUSsJ.js";
|
|
5
|
-
import { t as getChannelDock } from "./dock-
|
|
6
|
-
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
7
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
+
import { t as getChannelDock } from "./dock-C-w5XvOS.js";
|
|
6
|
+
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-BUNwVEqF.js";
|
|
7
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-IFacUN_Q.js";
|
|
8
8
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-30uTrUKf.js";
|
|
9
9
|
import { r as parseTelegramTarget } from "./targets-yNRgpXkX.js";
|
|
10
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
11
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
12
|
-
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-
|
|
13
|
-
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
10
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-Be8qWeKb.js";
|
|
11
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-BwrGQrFL.js";
|
|
12
|
+
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-B-FffSKU.js";
|
|
13
|
+
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DUJqLDEQ.js";
|
|
14
14
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-D978kc-o.js";
|
|
15
15
|
|
|
16
16
|
//#region src/plugins/hooks.ts
|
|
@@ -8,7 +8,7 @@ import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DKL-qP
|
|
|
8
8
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-7rATz3L_.js";
|
|
9
9
|
import { n as generateSecureUuid } from "./secure-random-BEYczWtd.js";
|
|
10
10
|
import { r as parseTelegramTarget } from "./targets-B5BJmNgG.js";
|
|
11
|
-
import { H as resolveMirroredTranscriptText, V as appendAssistantMessageToSessionTranscript, ct as parseInlineDirectives, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
11
|
+
import { H as resolveMirroredTranscriptText, V as appendAssistantMessageToSessionTranscript, ct as parseInlineDirectives, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-BthBxPYi.js";
|
|
12
12
|
import { i as getAgentScopedMediaLocalRoots } from "./fetch-DJPm89Bh.js";
|
|
13
13
|
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-dtH6xd5p.js";
|
|
14
14
|
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DAhNO02Q.js";
|
|
@@ -10,11 +10,11 @@ import "./thinking-leUv0tOz.js";
|
|
|
10
10
|
import "./tokens-DKL-qP0N.js";
|
|
11
11
|
import "./plugins-7rATz3L_.js";
|
|
12
12
|
import "./accounts-C4E8dXY5.js";
|
|
13
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
13
|
+
import { t as deliverOutboundPayloads } from "./deliver-r4_Yp7-C.js";
|
|
14
14
|
import "./accounts-erBd-vFQ.js";
|
|
15
15
|
import "./image-ops-B57kBDSi.js";
|
|
16
|
-
import "./pi-embedded-helpers-
|
|
17
|
-
import "./chrome-
|
|
16
|
+
import "./pi-embedded-helpers-BthBxPYi.js";
|
|
17
|
+
import "./chrome-Cr8R7xl_.js";
|
|
18
18
|
import "./frontmatter-Bd5ovog5.js";
|
|
19
19
|
import "./skills-RKUR-FBW.js";
|
|
20
20
|
import "./path-alias-guards-DQAZEPdU.js";
|