@symerian/symi 3.5.4 → 3.5.6
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/{agent-Bl0Wfrd4.js → agent-BCszhl_7.js} +11 -11
- package/dist/{agent-BsRlH9Ez.js → agent-Cmx-1Tfs.js} +9 -9
- package/dist/{agents-Ch38fapn.js → agents-BkTzJJ83.js} +11 -11
- package/dist/{audit-CcxTZUi-.js → audit-Bk6kay2Z.js} +9 -9
- package/dist/{audit-CojL8qpM.js → audit-CtrXFZb5.js} +9 -9
- package/dist/{auth-choice-CQnJ5pRD.js → auth-choice-CucG4Wor.js} +8 -8
- package/dist/{auth-choice-O55PGflm.js → auth-choice-D-iIJjJY.js} +8 -8
- package/dist/{auth-choice-options-DfT-D0Cb.js → auth-choice-options-DmXqtnP9.js} +1 -1
- package/dist/{auth-choice-options-osb2GMd4.js → auth-choice-options-od_KpHe8.js} +1 -1
- package/dist/{auth-choice-prompt-6_u7zS1M.js → auth-choice-prompt-BnvC700A.js} +1 -1
- package/dist/{auth-choice-prompt-SCWccuw0.js → auth-choice-prompt-kt2FcieM.js} +1 -1
- package/dist/{auth-token-Dvw-1mFR.js → auth-token-DyhvQgv4.js} +1 -1
- package/dist/{auth-token-t_CY5BPB.js → auth-token-lPWiklDD.js} +1 -1
- package/dist/{banner-TDzek44y.js → banner-CApT91CY.js} +1 -1
- package/dist/{bonjour-discovery-BjSUj2V6.js → bonjour-discovery-CyLfNUkJ.js} +1 -1
- package/dist/{bonjour-discovery-FJyieAXp.js → bonjour-discovery-DuObXMh2.js} +1 -1
- package/dist/breakdown-B_Dhhm3K.js +753 -0
- package/dist/breakdown-Cszrv-Lf.js +753 -0
- package/dist/{browser-cli-BXH0KbhG.js → browser-cli-DGjYBquX.js} +9 -9
- package/dist/{browser-cli-UZqxfaV_.js → browser-cli-rZb2WjFF.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +10 -10
- package/dist/bundled/session-memory/handler.js +9 -9
- package/dist/{call-CKm3T_ar.js → call-DKQC0JT1.js} +1 -1
- package/dist/{call-DrkOiHjS.js → call-ogggp9QZ.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-zAbgRuGY.js → channel-options-CdIEyHya.js} +2 -2
- package/dist/{channel-options-BEM8ruys.js → channel-options-DYh8mLMN.js} +2 -2
- package/dist/{channels-cli-cRWPvOQD.js → channels-cli-Bb18aE2b.js} +54 -53
- package/dist/{channels-cli-DdKnAzW9.js → channels-cli-sG9Wf2LH.js} +54 -53
- package/dist/{chrome-C_I81hbq.js → chrome-3jl2ulOE.js} +4 -4
- package/dist/{chrome-zElD4rpN.js → chrome-D1eO2jfe.js} +1 -1
- package/dist/{chrome-rzK8edU7.js → chrome-DJChpTwP.js} +1 -1
- package/dist/{chrome-BKUACyeO.js → chrome-OTJg3QKn.js} +4 -4
- package/dist/{clack-prompter-CuIw5vQW.js → clack-prompter-_kEnSVz4.js} +4 -4
- package/dist/{clack-prompter-Bc38EIYW.js → clack-prompter-v9MYo-5u.js} +4 -4
- package/dist/{cli-BJDlZfYi.js → cli-DEGt0Tp0.js} +36 -35
- package/dist/{cli--UhNWFtQ.js → cli-DtdTf-ZQ.js} +36 -35
- package/dist/{command-registry-COpZWfkh.js → command-registry-O155hUhR.js} +11 -11
- package/dist/{commands-registry-DPZevjMh.js → commands-registry-BuOUfpmg.js} +31 -0
- package/dist/{commands-registry-VfAQOVZO.js → commands-registry-C2Hvwjym.js} +31 -0
- package/dist/{commands-registry-BisT2Fcd.js → commands-registry-CJPBJPlh.js} +31 -0
- package/dist/{commands-registry-DFYDtKr_.js → commands-registry-DG2kGyg5.js} +31 -0
- package/dist/{completion-cli-EltMSZer.js → completion-cli-BaOjuoPX.js} +3 -3
- package/dist/{completion-cli-DVF5x7Kp.js → completion-cli-DLUKoSIx.js} +1 -1
- package/dist/{config-D7SS4vdk.js → config-B4jkreCN.js} +13 -2
- package/dist/{config-_DaupjQd.js → config-D7TcU4qN.js} +13 -2
- package/dist/{config-cli-DaPePEIB.js → config-cli-BuZ-L1Iw.js} +3 -3
- package/dist/{config-cli-kN07V9j6.js → config-cli-BxWavRxN.js} +3 -3
- package/dist/{config-guard-SNMCV6sc.js → config-guard-CLfXzB_z.js} +2 -2
- package/dist/{config-guard-CN1qhDyB.js → config-guard-D58THqAB.js} +8 -8
- package/dist/{config-validation-DS5Jr_iO.js → config-validation-DQ-lm2Qx.js} +1 -1
- package/dist/{config-validation-DGWvkKov.js → config-validation-DhsYEtLL.js} +1 -1
- package/dist/{configure-C9Z4clKW.js → configure-BSKWgEhS.js} +22 -22
- package/dist/{configure-id9imsuH.js → configure-gxAEhC9E.js} +22 -22
- package/dist/{control-service-CJWzOFkK.js → control-service-DOGU9T2P.js} +4 -4
- package/dist/{control-service-DvK2HPC2.js → control-service-DPzhv357.js} +4 -4
- package/dist/cost-cli-C9LvOtGz.js +138 -0
- package/dist/cost-cli-CmfkZsmZ.js +133 -0
- package/dist/{cron-cli-BIIzbF-W.js → cron-cli-DtDqHIZn.js} +7 -7
- package/dist/{cron-cli-BNx0V18_.js → cron-cli-L4iwVTNV.js} +7 -7
- package/dist/{daemon-cli-CGfWQN7c.js → daemon-cli-39fFIU2G.js} +15 -15
- package/dist/{daemon-cli-DCbqVfyu.js → daemon-cli-B5TdtWCQ.js} +15 -15
- package/dist/daemon-cli.js +13 -2
- package/dist/{daemon-runtime-BD_EkuZP.js → daemon-runtime-7YBz5otm.js} +3 -3
- package/dist/{daemon-runtime-CAdn50ea.js → daemon-runtime-DaJ4Tf2a.js} +3 -3
- package/dist/{deliver-6fYMGY7T.js → deliver-0nDhDdKd.js} +2 -2
- package/dist/{deliver-DyO3QD8O.js → deliver-BiWlR84Y.js} +5 -5
- package/dist/{deliver-DB4v0Tyl.js → deliver-C81eqdrP.js} +2 -2
- package/dist/{deliver-Cjyb6h4g.js → deliver-f3cIWxXT.js} +5 -5
- package/dist/{deps-Bt6gnwqB.js → deps-D5me2CAW.js} +1 -1
- package/dist/{devices-cli-CK5iNr60.js → devices-cli-DuVhACtW.js} +4 -4
- package/dist/{devices-cli-Dg4sVTTI.js → devices-cli-Ec6d58OB.js} +4 -4
- package/dist/{diagnostics-Ee2qfR9V.js → diagnostics-BZH08r5U.js} +1 -1
- package/dist/{diagnostics-4PsqURzT.js → diagnostics-CdawaB0U.js} +1 -1
- package/dist/{directory-cli-CIX9qXWA.js → directory-cli-BQrGwwjf.js} +6 -6
- package/dist/{directory-cli-CR-4DW4i.js → directory-cli-FR_KoYon.js} +6 -6
- package/dist/{dns-cli-Cd3EpJKL.js → dns-cli-CH2QMf70.js} +4 -4
- package/dist/{dns-cli-DzE58v7c.js → dns-cli-Cua_RGWw.js} +4 -4
- package/dist/{docs-cli-DD59E5fQ.js → docs-cli-9yu6OeWj.js} +2 -2
- package/dist/{docs-cli-BcqjkjOA.js → docs-cli-DwrSCuWF.js} +2 -2
- package/dist/{doctor-completion-Dw70YhMd.js → doctor-completion-BzfgfpBH.js} +2 -2
- package/dist/{doctor-completion-Dv6aw9I2.js → doctor-completion-wlBp8bv7.js} +2 -2
- package/dist/{doctor-config-flow-BOfsrB_o.js → doctor-config-flow-CKJlpwtv.js} +5 -5
- package/dist/{doctor-config-flow-dUAjyD2W.js → doctor-config-flow-CcwEh3WQ.js} +5 -5
- package/dist/{enable-avpl_Lwo.js → enable-BI6rQ1Fb.js} +1 -1
- package/dist/{enable-B5wvwTYB.js → enable-xfczksnk.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-Cv9lE0Ov.js → exec-approvals-cli-1K1PMf0f.js} +10 -10
- package/dist/{exec-approvals-cli-CLD1HXqE.js → exec-approvals-cli-N45JsIvc.js} +10 -10
- package/dist/extensionAPI.js +8 -8
- package/dist/{gateway-cli-C1yf0Kx4.js → gateway-cli-Bz5fqsnE.js} +84 -83
- package/dist/{gateway-cli-DF-S-bKo.js → gateway-cli-_xNZ2L_e.js} +86 -85
- package/dist/{gateway-rpc-CBb3_pT9.js → gateway-rpc-c2_A2rwu.js} +2 -2
- package/dist/{gateway-rpc-DrcgCoEA.js → gateway-rpc-gDrdC_J6.js} +2 -2
- package/dist/{glass-ui-ws-CgTry9OG.js → glass-ui-ws-CbKVlQRh.js} +62 -61
- package/dist/{glass-ui-ws-BZJKBK5D.js → glass-ui-ws-DO8WKPIK.js} +63 -62
- package/dist/{health-B__mwl7J.js → health-B5BrlZ8G.js} +6 -6
- package/dist/{health-BJl_ZtRW.js → health-B7yvi1O9.js} +6 -6
- package/dist/{hooks-cli-CpDJa8fo.js → hooks-cli-CrgD2ZqP.js} +42 -41
- package/dist/{hooks-cli-B_d8Cv16.js → hooks-cli-mwiHuRfO.js} +42 -41
- package/dist/{hooks-status-CRdYwf7p.js → hooks-status-B5vDwm19.js} +1 -1
- package/dist/{hooks-status-i4MgV8tU.js → hooks-status-CQ33gaVT.js} +2 -2
- package/dist/index.js +47 -46
- package/dist/{inspect-BZEGJ1Wu.js → inspect-C3_zr-N9.js} +2 -2
- package/dist/{inspect-ChCXJY8c.js → inspect-D_lN8pwg.js} +2 -2
- package/dist/{install-safe-path-PVqsVjI9.js → install-safe-path-79R0iPyC.js} +2 -2
- package/dist/{install-safe-path-INk2Z_kc.js → install-safe-path-BBe6qFNr.js} +2 -2
- package/dist/{installs-lGgvyXAJ.js → installs-BVJQl3Tj.js} +3 -3
- package/dist/{installs-b6XWplET.js → installs-Bb1phV9x.js} +3 -3
- package/dist/{lifecycle-core-iiq9e4fE.js → lifecycle-core-DdbL6ELJ.js} +7 -7
- package/dist/{lifecycle-core-SWNKAc8k.js → lifecycle-core-O50xtu5c.js} +7 -7
- package/dist/llm-slug-generator.js +9 -9
- package/dist/{logs-cli-BGjeoamB.js → logs-cli-DvbMaSKU.js} +6 -6
- package/dist/{logs-cli-BEWpB_ac.js → logs-cli-T5v8efuM.js} +6 -6
- package/dist/{manager-xeIkDkmx.js → manager-BVPXSK-I.js} +1 -1
- package/dist/{manager-rvtFoeFT.js → manager-CnBU0aOR.js} +1 -1
- package/dist/{manager-PTSjHNVq.js → manager-CpBJ1BE6.js} +1 -1
- package/dist/{manager-DcZUW1bz.js → manager-CvqH_tah.js} +1 -1
- package/dist/{memory-D8JRYEYq.js → memory-BsGfHO_F.js} +4 -4
- package/dist/{memory-CeB8eMPH.js → memory-CbwmxmxW.js} +4 -4
- package/dist/{memory-cli-DZtv3G9o.js → memory-cli-B1dFPZw-.js} +7 -7
- package/dist/{memory-cli-rORHUdUV.js → memory-cli-BwQsPEFk.js} +7 -7
- package/dist/{model-catalog-MHTLXFwi.js → model-catalog-CzKsiNZA.js} +2 -2
- package/dist/{model-catalog-DQTmHZK7.js → model-catalog-IWi6-nY9.js} +2 -2
- package/dist/{model-picker-BVNI6Imm.js → model-picker-CS_h9RHv.js} +2 -2
- package/dist/{model-picker-DHLA0BEe.js → model-picker-DN-co6Oy.js} +2 -2
- package/dist/{models-D3haEpaG.js → models-Dm6dSSSx.js} +17 -17
- package/dist/{models-cli-DiyNuQ5w.js → models-cli-BA6ufqLd.js} +49 -48
- package/dist/{models-cli-DidUOdbx.js → models-cli-BPSrz6tf.js} +46 -45
- package/dist/{models-config-CRnTzdFs.js → models-config-B5Xxy-c-.js} +1 -1
- package/dist/{models-config-Br7EjqgG.js → models-config-CiR_RUxw.js} +1 -1
- package/dist/{node-cli-Yqf38Nio.js → node-cli-2HDdeLgi.js} +20 -20
- package/dist/{node-cli-DnwByBU2.js → node-cli-CH1yLZuO.js} +20 -20
- package/dist/{node-service-CRSkbk2b.js → node-service-CfHbECCi.js} +2 -2
- package/dist/{node-service-E8k7BOQV.js → node-service-D44noKnR.js} +2 -2
- package/dist/{nodes-cli-BY6HrZlh.js → nodes-cli-ARs9ZPma.js} +9 -9
- package/dist/{nodes-cli-OTk4gEj-.js → nodes-cli-DIm6cMS_.js} +9 -9
- package/dist/{note-Bn5K9itM.js → note-Cltpxj6i.js} +1 -1
- package/dist/{note-DtkOgLxt.js → note-ytwb4wwn.js} +1 -1
- package/dist/{npm-registry-spec-CZCkONwR.js → npm-registry-spec-CONWlhd6.js} +1 -1
- package/dist/{npm-registry-spec-L8BUQ0nu.js → npm-registry-spec-DPqOMFd9.js} +1 -1
- package/dist/{onboard-oIJ6OEGu.js → onboard-CjnPughY.js} +18 -18
- package/dist/{onboard-C1PSYsJY.js → onboard-Cmz6Rtm-.js} +18 -18
- package/dist/{onboard-channels-BSt89ffO.js → onboard-channels-Cozz3CQv.js} +7 -7
- package/dist/{onboard-channels-DvNWHvx3.js → onboard-channels-D00NAtQt.js} +7 -7
- package/dist/{onboard-custom-y7PsUrmE.js → onboard-custom-BCcuL4Uq.js} +2 -2
- package/dist/{onboard-custom-TvRg0dYq.js → onboard-custom-C-wfNtOM.js} +2 -2
- package/dist/{onboard-helpers-CtpOchu0.js → onboard-helpers-BKfeJ1xj.js} +4 -4
- package/dist/{onboard-helpers-HjgAKoSl.js → onboard-helpers-CCI7SimM.js} +4 -4
- package/dist/{onboard-hooks-BU0EsBMH.js → onboard-hooks-CXRw9BJY.js} +2 -2
- package/dist/{onboard-hooks-Cmy0Qz0F.js → onboard-hooks-DfDF9AU4.js} +2 -2
- package/dist/{onboard-remote-B7bM-1-l.js → onboard-remote-D4R-Yq2Q.js} +3 -3
- package/dist/{onboard-remote-B5kHPh_e.js → onboard-remote-DKXBH_lQ.js} +3 -3
- package/dist/{onboard-skills-BsPcuuer.js → onboard-skills-BPmu8XLA.js} +2 -2
- package/dist/{onboard-skills-V7pX2pkl.js → onboard-skills-jVyIFojF.js} +3 -3
- package/dist/{onboarding-D4SGY_zG.js → onboarding-BPZb40BJ.js} +16 -16
- package/dist/{onboarding-Ce0PyZFq.js → onboarding-BrTMOcPF.js} +16 -16
- package/dist/{onboarding.finalize-BDPrr9CT.js → onboarding.finalize-Bd2rGMjo.js} +26 -26
- package/dist/{onboarding.finalize-TkbmJzg5.js → onboarding.finalize-BiL_LXrR.js} +28 -28
- package/dist/{onboarding.gateway-config-9dgVRLeb.js → onboarding.gateway-config-B301LxTx.js} +6 -6
- package/dist/{onboarding.gateway-config-DXQhxsQS.js → onboarding.gateway-config-ChCxv8dy.js} +6 -6
- package/dist/{openai-model-default-D_rz8Pew.js → openai-model-default-CKfNKTZD.js} +1 -1
- package/dist/{openai-model-default-BkGyzajy.js → openai-model-default-ChdgeMqX.js} +1 -1
- package/dist/{outbound-send-deps-PNzbuoSX.js → outbound-send-deps-JQjmNLPx.js} +1 -1
- package/dist/{pairing-cli-WQ1MKO2B.js → pairing-cli-D7_UlTsI.js} +3 -3
- package/dist/{pairing-cli-D2zvrKTM.js → pairing-cli-UgiAsygW.js} +3 -3
- package/dist/{path-env-BHRjFlqO.js → path-env-BAyW1s3c.js} +1 -1
- package/dist/{path-env-i-ZjtVbs.js → path-env-C1hgM8gP.js} +1 -1
- package/dist/{pi-embedded-BPuUM-gD.js → pi-embedded-C9wLrFjj.js} +1439 -494
- package/dist/{pi-embedded-helpers-nFK_hP2q.js → pi-embedded-helpers-BBiyNXkS.js} +1 -1
- package/dist/{pi-embedded-helpers-DVolpQ34.js → pi-embedded-helpers-CDzBxa-P.js} +1 -1
- package/dist/{pi-tools.policy-uHgu_nx0.js → pi-tools.policy-CU8U7--z.js} +2 -2
- package/dist/{pi-tools.policy-CTzYYKRt.js → pi-tools.policy-WaLKhqJQ.js} +2 -2
- package/dist/{plugin-auto-enable-C4b23B35.js → plugin-auto-enable-Bt2sVz8w.js} +2 -2
- package/dist/{plugin-auto-enable-BkhVwtbW.js → plugin-auto-enable-PBDcVF_-.js} +2 -2
- package/dist/{plugin-registry-V5jShvbP.js → plugin-registry-BLoSesyj.js} +2 -2
- package/dist/{plugin-registry-CxUYRmLh.js → plugin-registry-CZDG8fjK.js} +2 -2
- package/dist/plugin-sdk/auto-reply/reply/commands-info.d.ts +1 -0
- package/dist/plugin-sdk/auto-reply/reply/middleware-context-warning.d.ts +22 -0
- package/dist/plugin-sdk/auto-reply/session-boundary-messages.d.ts +16 -3
- package/dist/plugin-sdk/auto-reply/status.d.ts +13 -0
- package/dist/plugin-sdk/config/types.models.d.ts +5 -0
- package/dist/plugin-sdk/config/zod-schema.core.d.ts +11 -0
- package/dist/plugin-sdk/config/zod-schema.d.ts +5 -0
- package/dist/plugin-sdk/cost/benchmark.d.ts +36 -0
- package/dist/plugin-sdk/cost/breakdown.d.ts +63 -0
- package/dist/plugin-sdk/cost/gpu-inference.d.ts +52 -0
- package/dist/plugin-sdk/cost/rates.d.ts +32 -0
- package/dist/plugin-sdk/cost/serving-discovery.d.ts +54 -0
- package/dist/plugin-sdk/cost/summary.d.ts +40 -0
- package/dist/plugin-sdk/index.js +13 -2
- package/dist/{plugins-cli-CMAwepRk.js → plugins-cli-2yraoR6V.js} +43 -42
- package/dist/{plugins-cli-BthQwo7n.js → plugins-cli-CGs9-UtO.js} +43 -42
- package/dist/{program-iw_XyVhs.js → program-BnKEJpZF.js} +46 -45
- package/dist/{program-context-BVEz8AgF.js → program-context-BvP9L_1W.js} +48 -40
- package/dist/{prompt-select-styled-CF4qV0_M.js → prompt-select-styled-BTF5vvv8.js} +32 -32
- package/dist/{prompt-select-styled-D3RAY7pg.js → prompt-select-styled-Brx330O3.js} +31 -31
- package/dist/{provider-auth-helpers-Dxo0v0UO.js → provider-auth-helpers-CppzYZM9.js} +6 -6
- package/dist/{provider-auth-helpers-BTBjOyhO.js → provider-auth-helpers-hjy3e-oS.js} +6 -6
- package/dist/{push-apns-B8Wg3Hqw.js → push-apns-BD2iO09c.js} +1 -1
- package/dist/{push-apns-DIIbGT1M.js → push-apns-DJ55TFPT.js} +1 -1
- package/dist/{pw-ai-kkF0QaDF.js → pw-ai-DBAtSFTB.js} +2 -2
- package/dist/{pw-ai-BFS9ezWe.js → pw-ai-DOAsQ5NX.js} +2 -2
- package/dist/{pw-ai-_prsAw5O.js → pw-ai-DQZa9DUQ.js} +2 -2
- package/dist/{pw-ai-Cx-Ko_FL.js → pw-ai-DY_6l11g.js} +2 -2
- package/dist/{qr-cli-CcAzgz_N.js → qr-cli-D2A-IU0Y.js} +1 -1
- package/dist/{qr-cli-KmGkQDBF.js → qr-cli-DHpiebkG.js} +1 -1
- package/dist/{redact-identifier-CXvHJXk9.js → redact-identifier-BOxAUdff.js} +1 -1
- package/dist/{register.agent-8XsVRuWC.js → register.agent-DTGvQGla.js} +61 -60
- package/dist/{register.agent-D-OIszeY.js → register.agent-Dz_P7PxO.js} +63 -62
- package/dist/register.configure-CrgU3FzU.js +131 -0
- package/dist/register.configure-D9w7Tm9e.js +135 -0
- package/dist/{register.maintenance-CjM8sJqH.js → register.maintenance-CqvrXPF7.js} +64 -63
- package/dist/{register.maintenance-CBYqsXkf.js → register.maintenance-d5xHdDgu.js} +63 -62
- package/dist/{register.message-DnljWvZP.js → register.message-C0tqgEor.js} +40 -39
- package/dist/{register.message-kSIASKVK.js → register.message-DNMCxaAD.js} +41 -40
- package/dist/{register.onboard-Vj1-Ike1.js → register.onboard--eJVfJGa.js} +28 -28
- package/dist/{register.onboard-eDNn1pdd.js → register.onboard-dkAvGraV.js} +28 -28
- package/dist/{register.setup-DMaoMWRD.js → register.setup-CgufX-6c.js} +28 -28
- package/dist/{register.setup-CmhspsS8.js → register.setup-Dwh0ylCS.js} +28 -28
- package/dist/{register.status-health-sessions-r3F9H8b0.js → register.status-health-sessions-BeAm7HAq.js} +36 -36
- package/dist/{register.status-health-sessions-CJqCoqAi.js → register.status-health-sessions-D6BRCFg_.js} +35 -35
- package/dist/{register.subclis-RqX1a2aL.js → register.subclis-Hb2xSHBy.js} +37 -29
- package/dist/{replies-BYF1gbJf.js → replies-0nzkXt6o.js} +1 -1
- package/dist/{replies-B91-OngF.js → replies-C5CBlnFS.js} +1 -1
- package/dist/{replies-DAYTg6Mb.js → replies-D0FYSIJg.js} +1 -1
- package/dist/{replies-UP2sglaR.js → replies-_DV8VSSj.js} +1 -1
- package/dist/{resolve-route-Zww0Y-HJ.js → resolve-route-CnTdHVgw.js} +1 -1
- package/dist/{resolve-route-CmZ7XjmB.js → resolve-route-D0NrCHnr.js} +1 -1
- package/dist/{routes-BfeVDhod.js → routes-CPMVuvoz.js} +3 -3
- package/dist/{routes-y2Ww0pum.js → routes-DIyAmLYR.js} +3 -3
- package/dist/{rpc-DZCrGGH5.js → rpc-B2BLRS45.js} +2 -2
- package/dist/{rpc-RIkh5F9v.js → rpc-gUsL9Mqf.js} +2 -2
- package/dist/{run-main-6pE2fYXT.js → run-main-B_NTFmz1.js} +61 -60
- package/dist/{sandbox-DQdjlC-w.js → sandbox-61-kshSF.js} +5 -5
- package/dist/{sandbox-BjQ6n3zl.js → sandbox-J92UBQK8.js} +5 -5
- package/dist/{sandbox-cli-CTYAHFyM.js → sandbox-cli-D9v0jhBb.js} +8 -8
- package/dist/{sandbox-cli-C0IVf8AS.js → sandbox-cli-DJgF-r8G.js} +8 -8
- package/dist/{security-cli-B8VyQJcl.js → security-cli-CZix5cXq.js} +13 -13
- package/dist/{security-cli-D0oErb9f.js → security-cli-J9J0qvDy.js} +13 -13
- package/dist/{send-Cxu1tl56.js → send-B0jHSNMF.js} +1 -1
- package/dist/{send-Cuk_Rjss.js → send-C75uSv6p.js} +1 -1
- package/dist/{send-BBfSp-8Q.js → send-Dq252-bi.js} +1 -1
- package/dist/{server-context-BFCh7pUb.js → server-context-D-82OTsT.js} +5 -5
- package/dist/{server-context-YlgRz1wC.js → server-context-SbbjNkPL.js} +5 -5
- package/dist/{server-methods-BxsThjMp.js → server-methods-CFWjtx32.js} +31 -31
- package/dist/{server-methods-BWCAXrQJ.js → server-methods-Cz_-FX5B.js} +31 -31
- package/dist/{server-node-events-AZFI44cm.js → server-node-events-BiMD-Sik.js} +40 -39
- package/dist/{server-node-events-C10Bhdag.js → server-node-events-UJ4Hwcsf.js} +39 -38
- package/dist/{service-vsb7_8MA.js → service-BF50XyKr.js} +2 -2
- package/dist/{service-BBw78ATM.js → service-Ccv3Zi5_.js} +2 -2
- package/dist/{session-cost-usage-CqLUlh7S.js → session-cost-usage-CJWHHY-C.js} +1 -1
- package/dist/{session-cost-usage-D6Ocwmq1.js → session-cost-usage-D3mgssM_.js} +1 -1
- package/dist/{session-utils-BZnPW904.js → session-utils-Cs1jlD-q.js} +3 -3
- package/dist/{session-utils-BGw_xwXK.js → session-utils-Zpe3t68b.js} +3 -3
- package/dist/{sessions-uS7rV-lI.js → sessions-BSmT7vGX.js} +3 -3
- package/dist/{sessions-DHPf5TzB.js → sessions-Dn6VXn4p.js} +1 -1
- package/dist/{sessions-optZRB57.js → sessions-Dxf5Kjig.js} +1 -1
- package/dist/{shared-CfBMF1VB.js → shared-BJRsBGGr.js} +2 -2
- package/dist/{shared-CVXZtpIq.js → shared-BmjlTHYU.js} +2 -2
- package/dist/{shared-BucaCyaw.js → shared-Ck6cf10x.js} +1 -1
- package/dist/{shared-k1QjV3ys.js → shared-Crfo8y70.js} +1 -1
- package/dist/{skill-commands-CKm7eCw6.js → skill-commands-D0xAWG0l.js} +1 -1
- package/dist/{skill-commands-DAtpPeXi.js → skill-commands-DKkiQJxU.js} +1 -1
- package/dist/{skill-commands-BoMrW3WV.js → skill-commands-JIccKWkf.js} +1 -1
- package/dist/{skill-commands-yPirQFOb.js → skill-commands-KnANH5Qm.js} +1 -1
- package/dist/{skills-cli-CcWFIcOR.js → skills-cli-BZF5mcG5.js} +7 -7
- package/dist/{skills-cli-DcJBgk5R.js → skills-cli-C9F-zLWe.js} +3 -3
- package/dist/{skills-install-CcW780Kq.js → skills-install-QOHQrX6P.js} +4 -4
- package/dist/{skills-install-CbRsCzAG.js → skills-install-X12kifP1.js} +4 -4
- package/dist/{skills-status-CLzaY4r2.js → skills-status-6LVKpabC.js} +1 -1
- package/dist/{ssrf-q6hBiAOi.js → ssrf-BCSnhba8.js} +13 -2
- package/dist/{ssrf-oI58TMOb.js → ssrf-DNhyFMRW.js} +13 -2
- package/dist/{status-BxD8CjLr.js → status-BGUaaSHe.js} +2 -2
- package/dist/{status-B5sjPQS6.js → status-Bp48-ySL.js} +20 -20
- package/dist/{status-CZc22Lqb.js → status-CObdh7-H.js} +2 -2
- package/dist/{status-Cv8N2kIe.js → status-FX0BMcCb.js} +20 -20
- package/dist/{status.update-B52bM2Tg.js → status.update-CdTtmVpp.js} +2 -2
- package/dist/{status.update-Bl_ewksT.js → status.update-_3qHPt0O.js} +2 -2
- package/dist/{subagent-registry-BnHgIGX-.js → subagent-registry-ChDWDl_p.js} +304 -106
- package/dist/{synthesis-fD8J2vag.js → synthesis-CmQvOHg6.js} +9 -9
- package/dist/{synthesis-7UL3pCpj.js → synthesis-DIkOQnhF.js} +8 -8
- package/dist/{synthesis-DvfrgkQU.js → synthesis-DdP6tbyk.js} +36 -35
- package/dist/{synthesis-o7Zdrwxz.js → synthesis-m6WCyI41.js} +36 -35
- package/dist/{system-cli-BAn07VkE.js → system-cli-DB9etQxq.js} +5 -5
- package/dist/{system-cli-BTZ8T0-Z.js → system-cli-szRqg1_v.js} +5 -5
- package/dist/{systemd-DCzA-V_E.js → systemd-Dic80Qni.js} +1 -1
- package/dist/{systemd-Cmn7zMqD.js → systemd-Dtydk5-z.js} +1 -1
- package/dist/{systemd-hints-CvIqgg9d.js → systemd-hints-DmDUq9JT.js} +4 -4
- package/dist/{systemd-hints-BlGehfA3.js → systemd-hints-bP8dBJ78.js} +4 -4
- package/dist/{systemd-linger-BUWYteOW.js → systemd-linger-BBxRNFXz.js} +2 -2
- package/dist/{systemd-linger-Bj4nK9ZB.js → systemd-linger-DjoQVcOq.js} +2 -2
- package/dist/{tui-XLWiN8Hm.js → tui-CEhOf9fk.js} +6 -6
- package/dist/{tui-B6mIUNPO.js → tui-Dp58oYvX.js} +6 -6
- package/dist/{tui-cli-byFYgg3c.js → tui-cli-DFaOwBwg.js} +12 -12
- package/dist/{tui-cli-CTK5_3rU.js → tui-cli-wxh3YpaV.js} +12 -12
- package/dist/{unified-runner-BIiKFnNF.js → unified-runner-Cu3lGa3A.js} +1440 -495
- package/dist/{unified-runner-DnikxMFg.js → unified-runner-DL-sfvGT.js} +305 -107
- package/dist/{update-DxY1UB0k.js → update-BDo7wxMf.js} +1 -1
- package/dist/{update-EhDcBqN1.js → update-CcacbR32.js} +1 -1
- package/dist/{update-check-pFwV6W-z.js → update-check-A86nJKtZ.js} +1 -1
- package/dist/{update-check-H0DwvuqN.js → update-check-oEbS0voJ.js} +1 -1
- package/dist/{update-cli-BAdPKO1o.js → update-cli-DAKoU0Wn.js} +73 -72
- package/dist/{update-cli-C8IVRiDZ.js → update-cli-gEBRNrm2.js} +74 -73
- package/dist/{update-runner-CERd2XdT.js → update-runner-CQMv-ibM.js} +3 -3
- package/dist/{update-runner-7oHPAIND.js → update-runner-DHi359Tb.js} +3 -3
- package/dist/{usage-format-_37Bn-Jb.js → usage-format-DQJz-0qd.js} +0 -1
- package/dist/{usage-format-rxT5cEAf.js → usage-format-DeczTGI-.js} +0 -1
- package/dist/{webhooks-cli-3UJupWMP.js → webhooks-cli-C3g4MxCE.js} +3 -3
- package/dist/{webhooks-cli-BFpGMNrf.js → webhooks-cli-C3uyehJS.js} +3 -3
- package/dist/{with-timeout-Bn-ltLg1.js → with-timeout-B0ZJa7f2.js} +1 -1
- package/dist/{with-timeout-EXM-FP4_.js → with-timeout-GbJ1Yzsh.js} +1 -1
- package/package.json +1 -1
- package/dist/register.configure-Bcdw9qlF.js +0 -130
- package/dist/register.configure-KE6Kvt4O.js +0 -134
- /package/dist/{agents.config-BG9fpad0.js → agents.config-Cyc_RegL.js} +0 -0
- /package/dist/{agents.config-CxrFhtC1.js → agents.config-DK6nN-Qh.js} +0 -0
- /package/dist/{argv-oa_KBmv1.js → argv-Bl0th4dq.js} +0 -0
- /package/dist/{auth-choice-legacy-DwMt7oDR.js → auth-choice-legacy-BZWIpO92.js} +0 -0
- /package/dist/{auth-choice-legacy-ZsU_kwPI.js → auth-choice-legacy-iEyARXI2.js} +0 -0
- /package/dist/{bindings-CLS_owm_.js → bindings-BAOPW5eK.js} +0 -0
- /package/dist/{bindings-BpMZcmYL.js → bindings-c7qLJdIA.js} +0 -0
- /package/dist/{brew-B3VMQVQk.js → brew-B4FH-mEH.js} +0 -0
- /package/dist/{brew-BsE_w2tW.js → brew-CI00FKf8.js} +0 -0
- /package/dist/{catalog-CriSxQMH.js → catalog-BaM8d1-T.js} +0 -0
- /package/dist/{catalog-BXxi5-YC.js → catalog-BnLcGVie.js} +0 -0
- /package/dist/{channel-selection-BiYW5XI-.js → channel-selection-BrFl0vVK.js} +0 -0
- /package/dist/{channel-selection-DF4bza2Q.js → channel-selection-DjrS6oiz.js} +0 -0
- /package/dist/{channels-status-issues-DuRF3XF3.js → channels-status-issues-BwbA2OBt.js} +0 -0
- /package/dist/{channels-status-issues-C2AVfv0-.js → channels-status-issues-iWQDGUQe.js} +0 -0
- /package/dist/{cli-utils-tNdOjVQI.js → cli-utils-CbnnSB38.js} +0 -0
- /package/dist/{clipboard-B1jgJ11s.js → clipboard-BSTxQ2tO.js} +0 -0
- /package/dist/{clipboard-Sks8Qw-6.js → clipboard-CHn5r7Kj.js} +0 -0
- /package/dist/{command-options-C2yg82U0.js → command-options-DgcCGXMQ.js} +0 -0
- /package/dist/{command-options-D_KEIae-.js → command-options-Vxb4M7Aj.js} +0 -0
- /package/dist/{consolidate-DPAffHCg.js → consolidate-BSUbtSDt.js} +0 -0
- /package/dist/{consolidate-CF6vEjPe.js → consolidate-DhoiF4n7.js} +0 -0
- /package/dist/{constants-B4wXIPMk.js → constants-BLIhifCJ.js} +0 -0
- /package/dist/{constants-ChnKXZKi.js → constants-BP_JoSwO.js} +0 -0
- /package/dist/{control-ui-assets-CkPR0Fz2.js → control-ui-assets-CnX0W3vy.js} +0 -0
- /package/dist/{control-ui-assets-BVCcPRi3.js → control-ui-assets-DfBRXG5y.js} +0 -0
- /package/dist/{delivery-queue-DqDe6994.js → delivery-queue-CIwn40ej.js} +0 -0
- /package/dist/{delivery-queue-RUd4NhRw.js → delivery-queue-duM0RT18.js} +0 -0
- /package/dist/{dm-policy-shared-DmpXsl2K.js → dm-policy-shared-BUwZ6Ajx.js} +0 -0
- /package/dist/{dm-policy-shared-ZfPtrTeh.js → dm-policy-shared-EuuPwRNE.js} +0 -0
- /package/dist/{entry-status-BqhxPFzK.js → entry-status-D0BSpWt_.js} +0 -0
- /package/dist/{format-BskCnX0I.js → format-BcXs5iuf.js} +0 -0
- /package/dist/{gmail-setup-utils-BlGvgPlF.js → gmail-setup-utils-DJgxyDTX.js} +0 -0
- /package/dist/{gmail-setup-utils-DsRU2ywQ.js → gmail-setup-utils-_TEJA4pL.js} +0 -0
- /package/dist/{health-format-CzrMGubG.js → health-format-Dp4xmTKn.js} +0 -0
- /package/dist/{health-format-C0DWlpEn.js → health-format-Li703vy6.js} +0 -0
- /package/dist/{help-format-DhRyo3Pj.js → help-format-8IYCRvx1.js} +0 -0
- /package/dist/{help-format-BjEVi4c_.js → help-format-BTNd5kFC.js} +0 -0
- /package/dist/{helpers-CcArejFh.js → helpers-BnXDQL2q.js} +0 -0
- /package/dist/{helpers-Dm_utoC3.js → helpers-CoScWBmD.js} +0 -0
- /package/dist/{helpers-DJRLZbrj.js → helpers-DGBa5iKd.js} +0 -0
- /package/dist/{helpers-DUclfUl-.js → helpers-lLtg0Hgi.js} +0 -0
- /package/dist/{ipv4--8f4a_51.js → ipv4-CCdAVmwu.js} +0 -0
- /package/dist/{ipv4-Cy7l-phR.js → ipv4-DFUXU3PT.js} +0 -0
- /package/dist/{links-D6ASL_as.js → links-B9CbwY46.js} +0 -0
- /package/dist/{links-BkFDs4sT.js → links-CQZxjjCO.js} +0 -0
- /package/dist/{logging-4WqMHwAZ.js → logging-BRejMykf.js} +0 -0
- /package/dist/{logging-iIX8duxv.js → logging-BmJ5ky59.js} +0 -0
- /package/dist/{logging-Czh4x_NQ.js → logging-CLWZ3KQI.js} +0 -0
- /package/dist/{model-D50Lt_sm.js → model-BMFj7NXy.js} +0 -0
- /package/dist/{model-param-b-CfiuLqZG.js → model-param-b-C6mMtCJr.js} +0 -0
- /package/dist/{onboard-config-BKb2QQqE.js → onboard-config-B9Iy9-4f.js} +0 -0
- /package/dist/{onboard-config-DZIbmz6s.js → onboard-config-DwsP5yz1.js} +0 -0
- /package/dist/{outbound-send-deps-BR6jeE9h.js → outbound-send-deps-DpyxnI3f.js} +0 -0
- /package/dist/{parse-log-line-CeJ1RDHv.js → parse-log-line-BQPvB6cZ.js} +0 -0
- /package/dist/{parse-log-line-DxFrnzNo.js → parse-log-line-Cg7e_EO6.js} +0 -0
- /package/dist/{parse-port-DdAxyRwV.js → parse-port-CLBKavYE.js} +0 -0
- /package/dist/{parse-port-W56FnCN_.js → parse-port-dzRz6QnZ.js} +0 -0
- /package/dist/{parse-timeout-DKY8YAUj.js → parse-timeout-CuYdP9TL.js} +0 -0
- /package/dist/{path-safety-LPRW6mO-.js → path-safety-ZDtSDPro.js} +0 -0
- /package/dist/{path-safety-grmMl9nR.js → path-safety-cWA8NpOb.js} +0 -0
- /package/dist/{plugins-allowlist-BuJjTWyS.js → plugins-allowlist-C5r7biDp.js} +0 -0
- /package/dist/{plugins-allowlist-BvQZxkGy.js → plugins-allowlist-CD4oIJNk.js} +0 -0
- /package/dist/{ports-CqKpyZSl.js → ports-BE4iY9ho.js} +0 -0
- /package/dist/{ports-BDzMH5Eu.js → ports-C2swmreL.js} +0 -0
- /package/dist/{program-context-C5Y6Svzj.js → program-context-CGKRxOBU.js} +0 -0
- /package/dist/{progress-deSwGz9x.js → progress-BOQ0hkeM.js} +0 -0
- /package/dist/{progress-B3K1UFtC.js → progress-DQTvTiEg.js} +0 -0
- /package/dist/{prompt-style-DeaIm7_1.js → prompt-style-CzRuIYtp.js} +0 -0
- /package/dist/{prompt-style-DS51QPPi.js → prompt-style-pphr4yLK.js} +0 -0
- /package/dist/{prompts-LvxbwPs6.js → prompts-B98rp78m.js} +0 -0
- /package/dist/{prompts-l_pUOv42.js → prompts-CqJkfsHC.js} +0 -0
- /package/dist/{qmd-manager-BbWeOOTD.js → qmd-manager-C6wRtPm_.js} +0 -0
- /package/dist/{qmd-manager-CYKlEJ2U.js → qmd-manager-CYEAMLE7.js} +0 -0
- /package/dist/{runtime-guard-GWXNB3ke.js → runtime-guard-Bgv3O9s4.js} +0 -0
- /package/dist/{runtime-guard-DWXoHW1Q.js → runtime-guard-ofQGcCUc.js} +0 -0
- /package/dist/{runtime-status-BqrK6ivx.js → runtime-status-B-PXkhrX.js} +0 -0
- /package/dist/{runtime-status-D4pjzLyv.js → runtime-status-Zb9OQ0VK.js} +0 -0
- /package/dist/{session-dirs-CXErIzZq.js → session-dirs-BsQ-g02q.js} +0 -0
- /package/dist/{session-dirs-DJ4qiP3r.js → session-dirs-DpiMgw4q.js} +0 -0
- /package/dist/{skill-scanner-zh2dJM3x.js → skill-scanner-D5p8L-xO.js} +0 -0
- /package/dist/{skill-scanner-Ur9nMoo4.js → skill-scanner-EhsZUzzk.js} +0 -0
- /package/dist/{stagger-DkaCfsKB.js → stagger-DQs772BN.js} +0 -0
- /package/dist/{status-Bz_-dDs6.js → status-DtyqId3v.js} +0 -0
- /package/dist/{status-CExNNC5N.js → status-dOhj12u0.js} +0 -0
- /package/dist/{system-run-command-CeR1OLFk.js → system-run-command-2oJPKfVr.js} +0 -0
- /package/dist/{system-run-command-Craglj8T.js → system-run-command-D_OmCQOL.js} +0 -0
- /package/dist/{table-xKEHbVsK.js → table-Dm8jYqmW.js} +0 -0
- /package/dist/{table-jBELNhV1.js → table-Ds5CZCyv.js} +0 -0
- /package/dist/{tool-loop-detection-D3y39HsT.js → tool-loop-detection-2Mxxm8YE.js} +0 -0
- /package/dist/{tool-loop-detection-DljhV89j.js → tool-loop-detection-Bk07vuCX.js} +0 -0
- /package/dist/{widearea-dns-C8Rsixsi.js → widearea-dns-BwIBBqZo.js} +0 -0
- /package/dist/{widearea-dns-BSrnDwJD.js → widearea-dns-DA_m7oeT.js} +0 -0
- /package/dist/{workspace-DKEYzTNc.js → workspace-DD9pYbiv.js} +0 -0
- /package/dist/{workspace-BkWAKK8O.js → workspace-Wkr6wXcS.js} +0 -0
- /package/dist/{wsl-cy5jpbkx.js → wsl-Ci3VOaSK.js} +0 -0
- /package/dist/{wsl-hSA0zCrh.js → wsl-S50RbgL8.js} +0 -0
|
@@ -6,22 +6,22 @@ import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
|
6
6
|
import "./exec-DuYbft0z.js";
|
|
7
7
|
import "./agent-scope-DOrZjOnW.js";
|
|
8
8
|
import "./model-selection-7wdmO-Iw.js";
|
|
9
|
-
import { o as readConfigFileSnapshot } from "./config-
|
|
9
|
+
import { o as readConfigFileSnapshot } from "./config-B4jkreCN.js";
|
|
10
10
|
import "./boolean-CbZoNRMn.js";
|
|
11
11
|
import "./env-BRnPI9sO.js";
|
|
12
12
|
import "./shell-env-Dc3iU7HK.js";
|
|
13
13
|
import "./manifest-registry-D1MLZEjS.js";
|
|
14
|
-
import "./sessions-
|
|
14
|
+
import "./sessions-Dxf5Kjig.js";
|
|
15
15
|
import "./dock-hF45sewN.js";
|
|
16
16
|
import "./message-channel-DgjXWzf-.js";
|
|
17
17
|
import "./plugins-CF5skkHh.js";
|
|
18
18
|
import "./paths-BtvQ7JvU.js";
|
|
19
|
-
import { c as shouldMigrateStateFromPath } from "./argv-
|
|
20
|
-
import "./catalog-
|
|
21
|
-
import "./prompt-style-
|
|
22
|
-
import "./note-
|
|
23
|
-
import "./plugin-auto-enable-
|
|
24
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
19
|
+
import { c as shouldMigrateStateFromPath } from "./argv-Bl0th4dq.js";
|
|
20
|
+
import "./catalog-BnLcGVie.js";
|
|
21
|
+
import "./prompt-style-pphr4yLK.js";
|
|
22
|
+
import "./note-ytwb4wwn.js";
|
|
23
|
+
import "./plugin-auto-enable-Bt2sVz8w.js";
|
|
24
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CcwEh3WQ.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/program/config-guard.ts
|
|
27
27
|
const ALLOWED_INVALID_COMMANDS = new Set([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
2
|
-
import { o as readConfigFileSnapshot } from "./config-
|
|
2
|
+
import { o as readConfigFileSnapshot } from "./config-B4jkreCN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/config-validation.ts
|
|
5
5
|
async function requireValidConfigSnapshot(runtime) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-B3nkKRhC.js";
|
|
2
|
-
import { o as readConfigFileSnapshot } from "./config-
|
|
2
|
+
import { o as readConfigFileSnapshot } from "./config-D7TcU4qN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/config-validation.ts
|
|
5
5
|
async function requireValidConfigSnapshot(runtime) {
|
|
@@ -4,30 +4,30 @@ import { h as resolveUserPath, v as shortenHomePath } from "./utils-CTPsqyE_.js"
|
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { b as ensureAuthProfileStore } from "./auth-profiles-Ce7R_25e.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
7
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
7
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-B4jkreCN.js";
|
|
8
8
|
import { a as findTailscaleBinary } from "./tailscale-DpKBMIvx.js";
|
|
9
9
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CF5skkHh.js";
|
|
10
|
-
import { n as withProgress } from "./progress-
|
|
11
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
12
|
-
import { t as note$1 } from "./note-
|
|
13
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
14
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
17
|
-
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-
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
20
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
21
|
-
import { n as logConfigUpdated } from "./logging-
|
|
22
|
-
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-
|
|
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 { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4
|
|
28
|
-
import { t as formatHealthCheckFailure } from "./health-format-
|
|
29
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
30
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
10
|
+
import { n as withProgress } from "./progress-DQTvTiEg.js";
|
|
11
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-pphr4yLK.js";
|
|
12
|
+
import { t as note$1 } from "./note-ytwb4wwn.js";
|
|
13
|
+
import { t as WizardCancelledError } from "./prompts-B98rp78m.js";
|
|
14
|
+
import { t as createClackPrompter } from "./clack-prompter-v9MYo-5u.js";
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-D00NAtQt.js";
|
|
16
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-7YBz5otm.js";
|
|
17
|
+
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-BKfeJ1xj.js";
|
|
18
|
+
import { t as resolveGatewayService } from "./service-BF50XyKr.js";
|
|
19
|
+
import { r as healthCommand } from "./health-B5BrlZ8G.js";
|
|
20
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CnX0W3vy.js";
|
|
21
|
+
import { n as logConfigUpdated } from "./logging-BmJ5ky59.js";
|
|
22
|
+
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BnvC700A.js";
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-D-iIJjJY.js";
|
|
24
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-DN-co6Oy.js";
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BBxRNFXz.js";
|
|
26
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-BCcuL4Uq.js";
|
|
27
|
+
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-CCdAVmwu.js";
|
|
28
|
+
import { t as formatHealthCheckFailure } from "./health-format-Dp4xmTKn.js";
|
|
29
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-DKXBH_lQ.js";
|
|
30
|
+
import { n as setupSkills } from "./onboard-skills-jVyIFojF.js";
|
|
31
31
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
32
32
|
|
|
33
33
|
//#region src/commands/configure.shared.ts
|
|
@@ -2,30 +2,30 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { Ft as resolveUserPath, Rt as shortenHomePath, _ as defaultRuntime, ft as resolveGatewayPort, rt as CONFIG_PATH } from "./entry.js";
|
|
3
3
|
import { b as ensureAuthProfileStore } from "./auth-profiles-D11Xw15i.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-B3nkKRhC.js";
|
|
5
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-D7TcU4qN.js";
|
|
6
6
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
7
7
|
import { a as findTailscaleBinary } from "./tailscale-FeJ1M0mP.js";
|
|
8
|
-
import { n as withProgress } from "./progress-
|
|
9
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
10
|
-
import { t as note$1 } from "./note-
|
|
11
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
12
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
13
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
15
|
-
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-
|
|
16
|
-
import { t as resolveGatewayService } from "./service-
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
18
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
19
|
-
import { n as logConfigUpdated } from "./logging-
|
|
20
|
-
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
22
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
23
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
24
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
25
|
-
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
26
|
-
import { t as formatHealthCheckFailure } from "./health-format-
|
|
27
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
28
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
8
|
+
import { n as withProgress } from "./progress-BOQ0hkeM.js";
|
|
9
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CzRuIYtp.js";
|
|
10
|
+
import { t as note$1 } from "./note-Cltpxj6i.js";
|
|
11
|
+
import { t as WizardCancelledError } from "./prompts-CqJkfsHC.js";
|
|
12
|
+
import { t as createClackPrompter } from "./clack-prompter-_kEnSVz4.js";
|
|
13
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-Cozz3CQv.js";
|
|
14
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DaJ4Tf2a.js";
|
|
15
|
+
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-CCI7SimM.js";
|
|
16
|
+
import { t as resolveGatewayService } from "./service-Ccv3Zi5_.js";
|
|
17
|
+
import { r as healthCommand } from "./health-B7yvi1O9.js";
|
|
18
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DfBRXG5y.js";
|
|
19
|
+
import { n as logConfigUpdated } from "./logging-BRejMykf.js";
|
|
20
|
+
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-kt2FcieM.js";
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CucG4Wor.js";
|
|
22
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CS_h9RHv.js";
|
|
23
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DjoQVcOq.js";
|
|
24
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-C-wfNtOM.js";
|
|
25
|
+
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-DFUXU3PT.js";
|
|
26
|
+
import { t as formatHealthCheckFailure } from "./health-format-Li703vy6.js";
|
|
27
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-D4R-Yq2Q.js";
|
|
28
|
+
import { n as setupSkills } from "./onboard-skills-BPmu8XLA.js";
|
|
29
29
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
30
30
|
|
|
31
31
|
//#region src/commands/configure.shared.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
3
|
+
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
4
|
+
import { x as ensureChromeExtensionRelayServer } from "./chrome-DJChpTwP.js";
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-SbbjNkPL.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/server-lifecycle.ts
|
|
8
8
|
async function ensureExtensionRelayForProfiles(params) {
|
|
@@ -80,7 +80,7 @@ async function stopBrowserControlService() {
|
|
|
80
80
|
});
|
|
81
81
|
state = null;
|
|
82
82
|
try {
|
|
83
|
-
await (await import("./pw-ai-
|
|
83
|
+
await (await import("./pw-ai-DQZa9DUQ.js")).closePlaywrightBrowserConnection();
|
|
84
84
|
} catch {}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
3
|
+
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
4
|
+
import { x as ensureChromeExtensionRelayServer } from "./chrome-D1eO2jfe.js";
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-D-82OTsT.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/server-lifecycle.ts
|
|
8
8
|
async function ensureExtensionRelayForProfiles(params) {
|
|
@@ -80,7 +80,7 @@ async function stopBrowserControlService() {
|
|
|
80
80
|
});
|
|
81
81
|
state = null;
|
|
82
82
|
try {
|
|
83
|
-
await (await import("./pw-ai-
|
|
83
|
+
await (await import("./pw-ai-DBAtSFTB.js")).closePlaywrightBrowserConnection();
|
|
84
84
|
} catch {}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { j as theme } from "./registry-Sbac4a4z.js";
|
|
2
|
+
import "./paths-By0XjHBk.js";
|
|
3
|
+
import "./utils-CTPsqyE_.js";
|
|
4
|
+
import "./subsystem-CHbO_DkH.js";
|
|
5
|
+
import "./exec-DuYbft0z.js";
|
|
6
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
7
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
8
|
+
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
9
|
+
import "./boolean-CbZoNRMn.js";
|
|
10
|
+
import "./env-BRnPI9sO.js";
|
|
11
|
+
import "./shell-env-Dc3iU7HK.js";
|
|
12
|
+
import "./manifest-registry-D1MLZEjS.js";
|
|
13
|
+
import "./paths-BtvQ7JvU.js";
|
|
14
|
+
import "./session-cost-usage-D3mgssM_.js";
|
|
15
|
+
import { i as resolveWindow, n as formatSummaryReport, r as loadCostBenchmarkSummary, t as buildCostBreakdown } from "./breakdown-B_Dhhm3K.js";
|
|
16
|
+
|
|
17
|
+
//#region src/cli/cost-cli.ts
|
|
18
|
+
function registerCostCli(program) {
|
|
19
|
+
const cost = program.command("cost").description("Inspect token + GPU cost estimates for self-hosted models").action(() => {
|
|
20
|
+
cost.help({ error: true });
|
|
21
|
+
});
|
|
22
|
+
cost.command("detect [provider]").description("Probe a self-hosted serving endpoint and infer GPU + hourly rate").option("--json", "Output JSON", false).option("--timeout <ms>", "Probe timeout in milliseconds", "4000").option("--force", "Bypass the 60s probe cache and re-probe", false).option("--input <tokens>", "Sample input token count for cost estimate").option("--output <tokens>", "Sample output token count for cost estimate").action(async (providerArg, opts) => {
|
|
23
|
+
const cfg = loadConfig();
|
|
24
|
+
const providers = cfg.models?.providers ?? {};
|
|
25
|
+
const targets = providerArg ? [providerArg] : Object.entries(providers).filter(([, p]) => typeof p?.baseUrl === "string" && p.baseUrl.trim()).map(([id]) => id);
|
|
26
|
+
if (targets.length === 0) {
|
|
27
|
+
if (opts.json) process.stdout.write(`${JSON.stringify({ probes: [] })}\n`);
|
|
28
|
+
else process.stdout.write("No providers with baseUrl configured.\n");
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const timeoutMs = Number.parseInt(opts.timeout ?? "4000", 10);
|
|
32
|
+
const usage = opts.input !== void 0 || opts.output !== void 0 ? {
|
|
33
|
+
input: opts.input !== void 0 ? Number.parseInt(opts.input, 10) : void 0,
|
|
34
|
+
output: opts.output !== void 0 ? Number.parseInt(opts.output, 10) : void 0
|
|
35
|
+
} : void 0;
|
|
36
|
+
const probes = [];
|
|
37
|
+
for (const id of targets) {
|
|
38
|
+
const baseUrl = providers[id]?.baseUrl ?? "";
|
|
39
|
+
const modelId = providers[id]?.models?.[0]?.id;
|
|
40
|
+
const breakdown = await buildCostBreakdown({
|
|
41
|
+
baseUrl,
|
|
42
|
+
provider: id,
|
|
43
|
+
modelId,
|
|
44
|
+
config: cfg,
|
|
45
|
+
probeTimeoutMs: timeoutMs,
|
|
46
|
+
forceProbeRefresh: Boolean(opts.force),
|
|
47
|
+
usage
|
|
48
|
+
});
|
|
49
|
+
probes.push({
|
|
50
|
+
provider: id,
|
|
51
|
+
baseUrl,
|
|
52
|
+
breakdown
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
if (opts.json) {
|
|
56
|
+
process.stdout.write(`${JSON.stringify({ probes }, null, 2)}\n`);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
for (const probe of probes) {
|
|
60
|
+
const header = theme.heading(probe.provider);
|
|
61
|
+
process.stdout.write(`${header}\n`);
|
|
62
|
+
process.stdout.write(` baseUrl: ${probe.baseUrl || theme.muted("(none)")}\n`);
|
|
63
|
+
renderBreakdown(probe.breakdown);
|
|
64
|
+
process.stdout.write("\n");
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
cost.command("summary").description("Show cumulative token/cost totals and Claude benchmark comparison").option("--window <span>", "today | week | month | all", "week").option("--json", "Output JSON", false).option("--agent <id>", "Agent id (defaults to active agent)").action(async (opts) => {
|
|
68
|
+
const cfg = loadConfig();
|
|
69
|
+
const window = opts.window ?? "week";
|
|
70
|
+
if (window !== "today" && window !== "week" && window !== "month" && window !== "all") {
|
|
71
|
+
process.stderr.write(`Unknown window '${opts.window}' — use today | week | month | all\n`);
|
|
72
|
+
process.exitCode = 2;
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const { startMs, endMs } = resolveWindow(window);
|
|
76
|
+
const summary = await loadCostBenchmarkSummary({
|
|
77
|
+
startMs,
|
|
78
|
+
endMs,
|
|
79
|
+
config: cfg,
|
|
80
|
+
agentId: opts.agent
|
|
81
|
+
});
|
|
82
|
+
if (opts.json) {
|
|
83
|
+
process.stdout.write(`${JSON.stringify(summary, null, 2)}\n`);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
const label = `${window.charAt(0).toUpperCase()}${window.slice(1)}`;
|
|
87
|
+
process.stdout.write(`${formatSummaryReport(summary, label)}\n`);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function renderBreakdown(b) {
|
|
91
|
+
if (b.serving) {
|
|
92
|
+
const v = b.serving.version ? ` ${b.serving.version}` : "";
|
|
93
|
+
process.stdout.write(` engine: ${b.serving.engine}${v}\n`);
|
|
94
|
+
if (b.serving.modelId) process.stdout.write(` model: ${b.serving.modelId}\n`);
|
|
95
|
+
if (b.serving.contextWindow !== void 0) process.stdout.write(` context: ${b.serving.contextWindow}\n`);
|
|
96
|
+
if (b.serving.observedTps !== void 0) process.stdout.write(` tps: ${b.serving.observedTps.toFixed(1)} (last interval)\n`);
|
|
97
|
+
if (b.serving.kvCacheUsagePerc !== void 0) process.stdout.write(` kv: ${(b.serving.kvCacheUsagePerc * 100).toFixed(1)}%\n`);
|
|
98
|
+
if (b.serving.queueDepth !== void 0) process.stdout.write(` queue: ${b.serving.queueDepth}\n`);
|
|
99
|
+
if (b.serving.numRequestsRunning !== void 0) process.stdout.write(` running: ${b.serving.numRequestsRunning}\n`);
|
|
100
|
+
if (b.serving.cacheConfig) {
|
|
101
|
+
const cc = b.serving.cacheConfig;
|
|
102
|
+
const bits = [
|
|
103
|
+
cc.cacheDtype && `dtype=${cc.cacheDtype}`,
|
|
104
|
+
cc.blockSize !== void 0 && `block=${cc.blockSize}`,
|
|
105
|
+
cc.numGpuBlocks !== void 0 && `blocks=${cc.numGpuBlocks}`,
|
|
106
|
+
cc.gpuMemoryUtilization !== void 0 && `gpu_mem_util=${cc.gpuMemoryUtilization}`,
|
|
107
|
+
cc.enablePrefixCaching !== void 0 && `prefix_cache=${cc.enablePrefixCaching ? "on" : "off"}`
|
|
108
|
+
].filter(Boolean);
|
|
109
|
+
if (bits.length) process.stdout.write(` cache: ${bits.join(" ")}\n`);
|
|
110
|
+
}
|
|
111
|
+
} else process.stdout.write(` ${theme.muted("probe returned nothing (unreachable or hosted)")}\n`);
|
|
112
|
+
if (b.gpu?.gpuType) {
|
|
113
|
+
process.stdout.write(` gpu: ${b.gpu.gpuCount}× ${b.gpu.gpuType} (${b.gpu.confidence}-confidence)\n`);
|
|
114
|
+
if (b.gpu.paramsB !== void 0) {
|
|
115
|
+
const bpp = b.gpu.bytesPerParam ?? 2;
|
|
116
|
+
process.stdout.write(` model=${b.gpu.paramsB}B × ${bpp} byte/param ≈ ${(b.gpu.paramsB * bpp).toFixed(0)}GB\n`);
|
|
117
|
+
}
|
|
118
|
+
} else process.stdout.write(` gpu: ${theme.muted("not inferred (no signal in URL)")}\n`);
|
|
119
|
+
if (b.hourlyRate !== void 0) {
|
|
120
|
+
const total = b.hourlyRate * (b.gpu?.gpuCount ?? 1);
|
|
121
|
+
process.stdout.write(` rate: $${b.hourlyRate.toFixed(2)}/hr/GPU · $${total.toFixed(2)}/hr total · ${b.hourlyRateSource}\n`);
|
|
122
|
+
} else process.stdout.write(` rate: ${theme.muted("no rate (configure cost.hourlyRate or set models.gpuRates)")}\n`);
|
|
123
|
+
if (b.decodeTps !== void 0 && b.prefillTps !== void 0) process.stdout.write(` tput: ${b.decodeTps.toFixed(0)} decode · ${b.prefillTps.toFixed(0)} prefill (${b.throughputSource})\n`);
|
|
124
|
+
if (b.instanceCostUsd !== void 0) {
|
|
125
|
+
const perTok = b.perTokenAvgUsd ? ` · avg $${(b.perTokenAvgUsd * 1e6).toFixed(2)}/M tokens` : "";
|
|
126
|
+
process.stdout.write(` est: $${b.instanceCostUsd.toFixed(4)}${perTok}\n`);
|
|
127
|
+
}
|
|
128
|
+
if (b.benchmarks.length > 0) {
|
|
129
|
+
process.stdout.write(` bench: ${b.benchmarkTarget}\n`);
|
|
130
|
+
for (const bm of b.benchmarks) process.stdout.write(` ${bm.tier.padEnd(6)} $${bm.costUsd.toFixed(4)}\n`);
|
|
131
|
+
if (b.costLineSuffix) process.stdout.write(` suffix: ${b.costLineSuffix}\n`);
|
|
132
|
+
}
|
|
133
|
+
if (b.engineLine) process.stdout.write(` status: ${b.engineLine}\n`);
|
|
134
|
+
if (b.hardwareLine) process.stdout.write(` hw: ${b.hardwareLine}\n`);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
//#endregion
|
|
138
|
+
export { registerCostCli };
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Q as theme } from "./entry.js";
|
|
2
|
+
import "./exec-CzwIUObA.js";
|
|
3
|
+
import "./agent-scope-C-Jte08L.js";
|
|
4
|
+
import "./model-selection-CMx1evaF.js";
|
|
5
|
+
import "./manifest-registry-CVLmi8rz.js";
|
|
6
|
+
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
7
|
+
import "./shell-env-CTYaxUs_.js";
|
|
8
|
+
import "./paths-DtiEyjsC.js";
|
|
9
|
+
import "./session-cost-usage-CJWHHY-C.js";
|
|
10
|
+
import { i as resolveWindow, n as formatSummaryReport, r as loadCostBenchmarkSummary, t as buildCostBreakdown } from "./breakdown-Cszrv-Lf.js";
|
|
11
|
+
|
|
12
|
+
//#region src/cli/cost-cli.ts
|
|
13
|
+
function registerCostCli(program) {
|
|
14
|
+
const cost = program.command("cost").description("Inspect token + GPU cost estimates for self-hosted models").action(() => {
|
|
15
|
+
cost.help({ error: true });
|
|
16
|
+
});
|
|
17
|
+
cost.command("detect [provider]").description("Probe a self-hosted serving endpoint and infer GPU + hourly rate").option("--json", "Output JSON", false).option("--timeout <ms>", "Probe timeout in milliseconds", "4000").option("--force", "Bypass the 60s probe cache and re-probe", false).option("--input <tokens>", "Sample input token count for cost estimate").option("--output <tokens>", "Sample output token count for cost estimate").action(async (providerArg, opts) => {
|
|
18
|
+
const cfg = loadConfig();
|
|
19
|
+
const providers = cfg.models?.providers ?? {};
|
|
20
|
+
const targets = providerArg ? [providerArg] : Object.entries(providers).filter(([, p]) => typeof p?.baseUrl === "string" && p.baseUrl.trim()).map(([id]) => id);
|
|
21
|
+
if (targets.length === 0) {
|
|
22
|
+
if (opts.json) process.stdout.write(`${JSON.stringify({ probes: [] })}\n`);
|
|
23
|
+
else process.stdout.write("No providers with baseUrl configured.\n");
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const timeoutMs = Number.parseInt(opts.timeout ?? "4000", 10);
|
|
27
|
+
const usage = opts.input !== void 0 || opts.output !== void 0 ? {
|
|
28
|
+
input: opts.input !== void 0 ? Number.parseInt(opts.input, 10) : void 0,
|
|
29
|
+
output: opts.output !== void 0 ? Number.parseInt(opts.output, 10) : void 0
|
|
30
|
+
} : void 0;
|
|
31
|
+
const probes = [];
|
|
32
|
+
for (const id of targets) {
|
|
33
|
+
const baseUrl = providers[id]?.baseUrl ?? "";
|
|
34
|
+
const modelId = providers[id]?.models?.[0]?.id;
|
|
35
|
+
const breakdown = await buildCostBreakdown({
|
|
36
|
+
baseUrl,
|
|
37
|
+
provider: id,
|
|
38
|
+
modelId,
|
|
39
|
+
config: cfg,
|
|
40
|
+
probeTimeoutMs: timeoutMs,
|
|
41
|
+
forceProbeRefresh: Boolean(opts.force),
|
|
42
|
+
usage
|
|
43
|
+
});
|
|
44
|
+
probes.push({
|
|
45
|
+
provider: id,
|
|
46
|
+
baseUrl,
|
|
47
|
+
breakdown
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
if (opts.json) {
|
|
51
|
+
process.stdout.write(`${JSON.stringify({ probes }, null, 2)}\n`);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
for (const probe of probes) {
|
|
55
|
+
const header = theme.heading(probe.provider);
|
|
56
|
+
process.stdout.write(`${header}\n`);
|
|
57
|
+
process.stdout.write(` baseUrl: ${probe.baseUrl || theme.muted("(none)")}\n`);
|
|
58
|
+
renderBreakdown(probe.breakdown);
|
|
59
|
+
process.stdout.write("\n");
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
cost.command("summary").description("Show cumulative token/cost totals and Claude benchmark comparison").option("--window <span>", "today | week | month | all", "week").option("--json", "Output JSON", false).option("--agent <id>", "Agent id (defaults to active agent)").action(async (opts) => {
|
|
63
|
+
const cfg = loadConfig();
|
|
64
|
+
const window = opts.window ?? "week";
|
|
65
|
+
if (window !== "today" && window !== "week" && window !== "month" && window !== "all") {
|
|
66
|
+
process.stderr.write(`Unknown window '${opts.window}' — use today | week | month | all\n`);
|
|
67
|
+
process.exitCode = 2;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const { startMs, endMs } = resolveWindow(window);
|
|
71
|
+
const summary = await loadCostBenchmarkSummary({
|
|
72
|
+
startMs,
|
|
73
|
+
endMs,
|
|
74
|
+
config: cfg,
|
|
75
|
+
agentId: opts.agent
|
|
76
|
+
});
|
|
77
|
+
if (opts.json) {
|
|
78
|
+
process.stdout.write(`${JSON.stringify(summary, null, 2)}\n`);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const label = `${window.charAt(0).toUpperCase()}${window.slice(1)}`;
|
|
82
|
+
process.stdout.write(`${formatSummaryReport(summary, label)}\n`);
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function renderBreakdown(b) {
|
|
86
|
+
if (b.serving) {
|
|
87
|
+
const v = b.serving.version ? ` ${b.serving.version}` : "";
|
|
88
|
+
process.stdout.write(` engine: ${b.serving.engine}${v}\n`);
|
|
89
|
+
if (b.serving.modelId) process.stdout.write(` model: ${b.serving.modelId}\n`);
|
|
90
|
+
if (b.serving.contextWindow !== void 0) process.stdout.write(` context: ${b.serving.contextWindow}\n`);
|
|
91
|
+
if (b.serving.observedTps !== void 0) process.stdout.write(` tps: ${b.serving.observedTps.toFixed(1)} (last interval)\n`);
|
|
92
|
+
if (b.serving.kvCacheUsagePerc !== void 0) process.stdout.write(` kv: ${(b.serving.kvCacheUsagePerc * 100).toFixed(1)}%\n`);
|
|
93
|
+
if (b.serving.queueDepth !== void 0) process.stdout.write(` queue: ${b.serving.queueDepth}\n`);
|
|
94
|
+
if (b.serving.numRequestsRunning !== void 0) process.stdout.write(` running: ${b.serving.numRequestsRunning}\n`);
|
|
95
|
+
if (b.serving.cacheConfig) {
|
|
96
|
+
const cc = b.serving.cacheConfig;
|
|
97
|
+
const bits = [
|
|
98
|
+
cc.cacheDtype && `dtype=${cc.cacheDtype}`,
|
|
99
|
+
cc.blockSize !== void 0 && `block=${cc.blockSize}`,
|
|
100
|
+
cc.numGpuBlocks !== void 0 && `blocks=${cc.numGpuBlocks}`,
|
|
101
|
+
cc.gpuMemoryUtilization !== void 0 && `gpu_mem_util=${cc.gpuMemoryUtilization}`,
|
|
102
|
+
cc.enablePrefixCaching !== void 0 && `prefix_cache=${cc.enablePrefixCaching ? "on" : "off"}`
|
|
103
|
+
].filter(Boolean);
|
|
104
|
+
if (bits.length) process.stdout.write(` cache: ${bits.join(" ")}\n`);
|
|
105
|
+
}
|
|
106
|
+
} else process.stdout.write(` ${theme.muted("probe returned nothing (unreachable or hosted)")}\n`);
|
|
107
|
+
if (b.gpu?.gpuType) {
|
|
108
|
+
process.stdout.write(` gpu: ${b.gpu.gpuCount}× ${b.gpu.gpuType} (${b.gpu.confidence}-confidence)\n`);
|
|
109
|
+
if (b.gpu.paramsB !== void 0) {
|
|
110
|
+
const bpp = b.gpu.bytesPerParam ?? 2;
|
|
111
|
+
process.stdout.write(` model=${b.gpu.paramsB}B × ${bpp} byte/param ≈ ${(b.gpu.paramsB * bpp).toFixed(0)}GB\n`);
|
|
112
|
+
}
|
|
113
|
+
} else process.stdout.write(` gpu: ${theme.muted("not inferred (no signal in URL)")}\n`);
|
|
114
|
+
if (b.hourlyRate !== void 0) {
|
|
115
|
+
const total = b.hourlyRate * (b.gpu?.gpuCount ?? 1);
|
|
116
|
+
process.stdout.write(` rate: $${b.hourlyRate.toFixed(2)}/hr/GPU · $${total.toFixed(2)}/hr total · ${b.hourlyRateSource}\n`);
|
|
117
|
+
} else process.stdout.write(` rate: ${theme.muted("no rate (configure cost.hourlyRate or set models.gpuRates)")}\n`);
|
|
118
|
+
if (b.decodeTps !== void 0 && b.prefillTps !== void 0) process.stdout.write(` tput: ${b.decodeTps.toFixed(0)} decode · ${b.prefillTps.toFixed(0)} prefill (${b.throughputSource})\n`);
|
|
119
|
+
if (b.instanceCostUsd !== void 0) {
|
|
120
|
+
const perTok = b.perTokenAvgUsd ? ` · avg $${(b.perTokenAvgUsd * 1e6).toFixed(2)}/M tokens` : "";
|
|
121
|
+
process.stdout.write(` est: $${b.instanceCostUsd.toFixed(4)}${perTok}\n`);
|
|
122
|
+
}
|
|
123
|
+
if (b.benchmarks.length > 0) {
|
|
124
|
+
process.stdout.write(` bench: ${b.benchmarkTarget}\n`);
|
|
125
|
+
for (const bm of b.benchmarks) process.stdout.write(` ${bm.tier.padEnd(6)} $${bm.costUsd.toFixed(4)}\n`);
|
|
126
|
+
if (b.costLineSuffix) process.stdout.write(` suffix: ${b.costLineSuffix}\n`);
|
|
127
|
+
}
|
|
128
|
+
if (b.engineLine) process.stdout.write(` status: ${b.engineLine}\n`);
|
|
129
|
+
if (b.hardwareLine) process.stdout.write(` hw: ${b.hardwareLine}\n`);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
//#endregion
|
|
133
|
+
export { registerCostCli };
|
|
@@ -6,7 +6,7 @@ import { u as sanitizeAgentId } from "./session-key-DUSb7CCb.js";
|
|
|
6
6
|
import "./exec-DuYbft0z.js";
|
|
7
7
|
import "./agent-scope-DOrZjOnW.js";
|
|
8
8
|
import "./model-selection-7wdmO-Iw.js";
|
|
9
|
-
import "./config-
|
|
9
|
+
import "./config-B4jkreCN.js";
|
|
10
10
|
import "./boolean-CbZoNRMn.js";
|
|
11
11
|
import "./env-BRnPI9sO.js";
|
|
12
12
|
import "./shell-env-Dc3iU7HK.js";
|
|
@@ -14,14 +14,14 @@ import "./manifest-registry-D1MLZEjS.js";
|
|
|
14
14
|
import "./message-channel-DgjXWzf-.js";
|
|
15
15
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
16
16
|
import "./client-B9E9fdCA.js";
|
|
17
|
-
import "./call-
|
|
17
|
+
import "./call-DKQC0JT1.js";
|
|
18
18
|
import "./pairing-token-Dcy37-4s.js";
|
|
19
19
|
import { n as formatDurationHuman } from "./format-duration-CIjmjQST.js";
|
|
20
|
-
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-
|
|
21
|
-
import { t as formatDocsLink } from "./links-
|
|
22
|
-
import "./progress-
|
|
23
|
-
import { n as parsePositiveIntOrUndefined } from "./helpers-
|
|
24
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
+
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-DQs772BN.js";
|
|
21
|
+
import { t as formatDocsLink } from "./links-CQZxjjCO.js";
|
|
22
|
+
import "./progress-DQTvTiEg.js";
|
|
23
|
+
import { n as parsePositiveIntOrUndefined } from "./helpers-DGBa5iKd.js";
|
|
24
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-gDrdC_J6.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/cron-cli/shared.ts
|
|
27
27
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -4,19 +4,19 @@ import "./exec-CzwIUObA.js";
|
|
|
4
4
|
import "./agent-scope-C-Jte08L.js";
|
|
5
5
|
import "./model-selection-CMx1evaF.js";
|
|
6
6
|
import "./manifest-registry-CVLmi8rz.js";
|
|
7
|
-
import "./config-
|
|
7
|
+
import "./config-D7TcU4qN.js";
|
|
8
8
|
import "./shell-env-CTYaxUs_.js";
|
|
9
9
|
import "./client-DhdWcgZP.js";
|
|
10
|
-
import "./call-
|
|
10
|
+
import "./call-ogggp9QZ.js";
|
|
11
11
|
import "./message-channel-DXToSaWK.js";
|
|
12
12
|
import "./pairing-token-B-OTYROz.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-BsEhWvLn.js";
|
|
14
14
|
import { n as formatDurationHuman } from "./format-duration-CIjmjQST.js";
|
|
15
|
-
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-
|
|
16
|
-
import { t as formatDocsLink } from "./links-
|
|
17
|
-
import "./progress-
|
|
18
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
19
|
-
import { n as parsePositiveIntOrUndefined } from "./helpers-
|
|
15
|
+
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-DUVGiPYV.js";
|
|
16
|
+
import { t as formatDocsLink } from "./links-B9CbwY46.js";
|
|
17
|
+
import "./progress-BOQ0hkeM.js";
|
|
18
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-c2_A2rwu.js";
|
|
19
|
+
import { n as parsePositiveIntOrUndefined } from "./helpers-lLtg0Hgi.js";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/cron-cli/shared.ts
|
|
22
22
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Q as theme, Rt as shortenHomePath, X as colorize, Z as isRich, _ as defaultRuntime, ct as resolveConfigPath, ft as resolveGatewayPort, pt as resolveIsNixMode, tt as getResolvedLoggerSettings, yt as resolveStateDir } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B3nkKRhC.js";
|
|
4
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
5
|
-
import { n as callGateway } from "./call-
|
|
4
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-D7TcU4qN.js";
|
|
5
|
+
import { n as callGateway } from "./call-ogggp9QZ.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DXToSaWK.js";
|
|
7
7
|
import { l as resolveGatewayBindHost } from "./net-TZUXtwGR.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-B2SPYrh4.js";
|
|
9
9
|
import { a as resolveGatewayAuth } from "./auth-pHRwjgkx.js";
|
|
10
10
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-uA7P2qIK.js";
|
|
11
|
-
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-
|
|
12
|
-
import { t as formatDocsLink } from "./links-
|
|
13
|
-
import { n as withProgress } from "./progress-
|
|
14
|
-
import { n as inheritOptionFromParent } from "./command-options-
|
|
15
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
17
|
-
import { n as isWSLEnv } from "./wsl-
|
|
18
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
19
|
-
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-
|
|
20
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
21
|
-
import { t as parsePort } from "./parse-port-
|
|
22
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
23
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
11
|
+
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-BP_JoSwO.js";
|
|
12
|
+
import { t as formatDocsLink } from "./links-B9CbwY46.js";
|
|
13
|
+
import { n as withProgress } from "./progress-BOQ0hkeM.js";
|
|
14
|
+
import { n as inheritOptionFromParent } from "./command-options-Vxb4M7Aj.js";
|
|
15
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DaJ4Tf2a.js";
|
|
16
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-CCI7SimM.js";
|
|
17
|
+
import { n as isWSLEnv } from "./wsl-S50RbgL8.js";
|
|
18
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Ccv3Zi5_.js";
|
|
19
|
+
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-O50xtu5c.js";
|
|
20
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DmDUq9JT.js";
|
|
21
|
+
import { t as parsePort } from "./parse-port-CLBKavYE.js";
|
|
22
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-BZH08r5U.js";
|
|
23
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-C3_zr-N9.js";
|
|
24
24
|
|
|
25
25
|
//#region src/cli/daemon-cli/install.ts
|
|
26
26
|
async function runDaemonInstall(opts) {
|