@symerian/symi 3.4.0 → 3.4.2
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-D4GA9G6b.js → agent-BcHmIY_n.js} +18 -18
- package/dist/{agent-CEYVMKqC.js → agent-CDUpwXQX.js} +10 -10
- package/dist/{agent-scope-DIjW66iO.js → agent-scope-CKTVXF_1.js} +18 -18
- package/dist/{agents-Bh3R6D2o.js → agents-Dx_B11LV.js} +8 -8
- package/dist/{agents.config-D1nFwU81.js → agents.config-D6lBCMyT.js} +1 -1
- package/dist/{audit-DdRmmIE-.js → audit-CMPCYnHv.js} +23 -23
- package/dist/{audit-BzlpUi7R.js → audit-FMN4BTKc.js} +11 -11
- package/dist/{auth-choice-DY9j2BCn.js → auth-choice-BJgf7XV6.js} +6 -6
- package/dist/{auth-choice-options-BBYiPleR.js → auth-choice-options-B5NLwpLs.js} +1 -1
- package/dist/{auth-choice-options-C5b4PCvw.js → auth-choice-options-EWUh0VM6.js} +1 -1
- package/dist/{auth-choice-prompt-D8GvjOBX.js → auth-choice-prompt-BkTmN4sy.js} +1 -1
- package/dist/{auth-choice-prompt-DBfm0y9l.js → auth-choice-prompt-CXcrToaB.js} +1 -1
- package/dist/{auth-choice-EyD891pg.js → auth-choice-s1SGAS0u.js} +8 -8
- package/dist/{auth-profiles-BFSVvFKy.js → auth-profiles-BDvJK1Bg.js} +9 -9
- package/dist/{auth-token-SebYuqfR.js → auth-token-BKp_ClDP.js} +1 -1
- package/dist/{banner-DAGLXnYN.js → banner-C1DH2kVa.js} +1 -1
- package/dist/{browser-cli-BH_i0QVr.js → browser-cli-C6G2Ql9l.js} +4 -4
- package/dist/{browser-cli-YS3EqU78.js → browser-cli-DW3CxkSc.js} +10 -10
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +12 -12
- package/dist/bundled/bootstrap-extra-files/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +11 -11
- package/dist/{call-uEbo7Orp.js → call-BjHvYJx2.js} +9 -9
- package/dist/{call-BDC211Sd.js → call-Dy_T6f6d.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-D2QxJOn1.js → catalog-CJzUbDcX.js} +2 -2
- package/dist/{catalog-BEREnWaa.js → catalog-CSgSg5Gp.js} +2 -2
- package/dist/{channel-options-2P4SZQZY.js → channel-options-77nGDc70.js} +2 -2
- package/dist/{channel-options-Dr3Iu_Yn.js → channel-options-BMZyRh5E.js} +2 -2
- package/dist/{channels-cli-BwAPAj2_.js → channels-cli-C048Z7h-.js} +57 -57
- package/dist/{channels-cli-Bxq-od6o.js → channels-cli-CjQ8Rfpv.js} +35 -35
- package/dist/{chrome-DfmXP1Xa.js → chrome-BQoO4LXq.js} +2 -2
- package/dist/{chrome-DvbQQ7qH.js → chrome-BxWRyWC_.js} +1 -1
- package/dist/{chrome-Cwdu25B-.js → chrome-C0vnHDyY.js} +8 -8
- package/dist/{chrome-Dw6r3c_L.js → chrome-droANDig.js} +8 -8
- package/dist/{cli-BCcQWANT.js → cli-CXAyZ9dx.js} +44 -44
- package/dist/{cli-6ogm9wuW.js → cli-CpmVizCT.js} +27 -27
- package/dist/{client-ZZqt0H0-.js → client-Bs2zB0rY.js} +1 -1
- package/dist/{command-registry-BBgjrvGs.js → command-registry-B9TplwzB.js} +11 -11
- package/dist/{commands-registry-BNCcZy2y.js → commands-registry-CLePPNDW.js} +1 -1
- package/dist/{completion-cli-DgR7QC7W.js → completion-cli-Dv8CNTMW.js} +2 -2
- package/dist/{completion-cli-B_lEJpoO.js → completion-cli-ecfjoaIU.js} +12 -12
- package/dist/{config-C5Ztbpa2.js → config-BEaq2Sb6.js} +4 -4
- package/dist/{config-CVMQkipH.js → config-Cw7uo7Dh.js} +2 -2
- package/dist/{config-cli-AEQbHSmK.js → config-cli-CAwWFZwh.js} +5 -5
- package/dist/{config-cli-Vl7Xxk-9.js → config-cli-zMpHOTSD.js} +3 -3
- package/dist/{config-guard-IIOwDwXX.js → config-guard-29sjAeg8.js} +8 -8
- package/dist/{config-guard-DiNrx0Cz.js → config-guard-B2j-KuUQ.js} +2 -2
- package/dist/{config-validation-CmSRTlVT.js → config-validation-Bp2AdKjN.js} +1 -1
- package/dist/{config-validation-sGgKL2lH.js → config-validation-MUkEKwbD.js} +1 -1
- package/dist/{configure-BLL4bVXO.js → configure-Bh0-A3hM.js} +15 -15
- package/dist/{configure-BbpI3Lrz.js → configure-DvVtZB1V.js} +18 -18
- package/dist/{consolidate-7Usm-b2g.js → consolidate-DeA11kIO.js} +6 -6
- package/dist/{control-service-Bew5Jq9S.js → control-service-BTydj9Kk.js} +4 -4
- package/dist/{control-service-wnEr9eCS.js → control-service-DhlgNQGb.js} +4 -4
- package/dist/{control-ui-assets-DUhvOLUL.js → control-ui-assets-D22DSxhv.js} +1 -1
- package/dist/{cron-cli-PyIF_pI1.js → cron-cli-5souN2YC.js} +4 -4
- package/dist/{cron-cli-vlseqDwZ.js → cron-cli-Cr8hrEDQ.js} +8 -8
- package/dist/{daemon-cli-BQJGtFBH.js → daemon-cli-AVJLjFd5.js} +6 -6
- package/dist/{daemon-cli-CYQDp0HS.js → daemon-cli-OZuuMobs.js} +11 -11
- package/dist/daemon-cli.js +1 -2
- package/dist/{daemon-runtime-CCIiGZsG.js → daemon-runtime-CkBw3gG5.js} +1 -1
- package/dist/{daemon-runtime-DGcALfeE.js → daemon-runtime-Dr_xKl0r.js} +10 -10
- package/dist/{deliver-CtSoKpd9.js → deliver-BwcK0QD6.js} +6 -6
- package/dist/{deliver-CHtzqhdE.js → deliver-Cl2fWxx4.js} +1 -1
- package/dist/{deliver-CKAEloz3.js → deliver-ccf_boim.js} +2 -2
- package/dist/{deliver-DnF5-Jn0.js → deliver-vzAN9mRl.js} +6 -6
- package/dist/{deps-CkEuUibi.js → deps-B6QYsl_-.js} +1 -1
- package/dist/{devices-cli-DHjCb6xx.js → devices-cli-BXaodSI7.js} +3 -3
- package/dist/{devices-cli-DuV6VLMa.js → devices-cli-DN3SH89Z.js} +7 -7
- package/dist/{diagnostics-DxdqTfpW.js → diagnostics-nLP2i_BY.js} +5 -5
- package/dist/{directory-cli-Cj3zj4zt.js → directory-cli-B72WzWuP.js} +4 -4
- package/dist/{directory-cli-B6BW3AGE.js → directory-cli-cK6CHm4W.js} +2 -2
- package/dist/{dm-policy-shared-5HLej1br.js → dm-policy-shared-DiZ3lMtl.js} +1 -1
- package/dist/{dns-cli-BpLjriTN.js → dns-cli-D6uc55C9.js} +2 -2
- package/dist/{dns-cli-Jd9gJc0T.js → dns-cli-DPO4AuUq.js} +4 -4
- package/dist/{docs-cli--T-77Ujn.js → docs-cli-C2BEC5yU.js} +3 -3
- package/dist/{docs-cli-D2hhvfad.js → docs-cli-CFklWCND.js} +3 -3
- package/dist/{doctor-completion-DaXTGUhV.js → doctor-completion-Cvu8koMQ.js} +2 -2
- package/dist/{doctor-completion-o02Kanxp.js → doctor-completion-DwrIExJJ.js} +1 -1
- package/dist/{doctor-config-flow-QPIo58ud.js → doctor-config-flow-BayEnbIy.js} +3 -3
- package/dist/{doctor-config-flow-Bdc03rxx.js → doctor-config-flow-Cu1ZuFHd.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-CJW8VyEa.js → exec-approvals-cli-BI9yAGI5.js} +5 -5
- package/dist/{exec-approvals-cli-DKRhv0JO.js → exec-approvals-cli-BN5OFwrg.js} +14 -14
- package/dist/extensionAPI.js +9 -9
- package/dist/{frontmatter-B8duUx_6.js → frontmatter-B4levtVg.js} +1 -1
- package/dist/{frontmatter-B6IdJ7UK.js → frontmatter-CHu3sfCM.js} +1 -1
- package/dist/{frontmatter-BzAaXBfE.js → frontmatter-CwO0i5Q7.js} +1 -1
- package/dist/{fs-safe-B6nMaZqV.js → fs-safe-DjAKGGJ8.js} +6 -6
- package/dist/{gateway-cli-CKbm9ikc.js → gateway-cli-C_wDspkm.js} +9669 -323
- package/dist/{gateway-cli-uZu6GsIz.js → gateway-cli-uquFQTQW.js} +9629 -283
- package/dist/{gateway-rpc-BnGjn5ao.js → gateway-rpc-B5_ZCiHW.js} +1 -1
- package/dist/{gateway-rpc-BuXF5p-F.js → gateway-rpc-fQLZhzRK.js} +1 -1
- package/dist/{gmail-setup-utils-DjIM4-F9.js → gmail-setup-utils-C5QXoiTl.js} +1 -1
- package/dist/{gmail-setup-utils-D5G00y8h.js → gmail-setup-utils-DO0-mXYp.js} +1 -1
- package/dist/{health-DrjeJzLE.js → health-D2CsIdFz.js} +3 -3
- package/dist/{health-D41l07BM.js → health-DUulgHFK.js} +4 -4
- package/dist/{hooks-cli-BWp12-sQ.js → hooks-cli-6UBBpeAz.js} +61 -61
- package/dist/{hooks-cli-CqiK6DE3.js → hooks-cli-C6XdXNdl.js} +31 -31
- package/dist/{hooks-status-C-tHI7ZM.js → hooks-status-BQAuzmwT.js} +2 -2
- package/dist/{hooks-status-DLHEahg_.js → hooks-status-DGjgoBZt.js} +2 -2
- package/dist/{image-ops-C-gIIp7Q.js → image-ops-c7_of0HT.js} +10 -10
- package/dist/index.js +52 -52
- package/dist/{inspect-BDzd6yBs.js → inspect-op0Ov-v4.js} +4 -4
- package/dist/{install-safe-path-CQXx3s9R.js → install-safe-path-B73BkVO3.js} +11 -11
- package/dist/{installs-CLp95gcX.js → installs-BzgwvqqQ.js} +11 -11
- package/dist/{installs-D0_bsQwa.js → installs-cPraL4Dg.js} +2 -2
- package/dist/{internal-CHnZdvRy.js → internal-C3o_xyzP.js} +9 -9
- package/dist/legacy-names-BFZfXujv.js +6 -0
- package/dist/{legacy-names-C0hZiM-7.js → legacy-names-Catogrri.js} +2 -4
- package/dist/{lifecycle-core-BhmX7dfP.js → lifecycle-core-BmGPBj_P.js} +5 -5
- package/dist/{lifecycle-core-flVPkttM.js → lifecycle-core-Dark4HHr.js} +2 -2
- package/dist/llm-slug-generator.js +11 -11
- package/dist/{local-roots-BnDnugq3.js → local-roots-CUKhHNCV.js} +1 -1
- package/dist/{logs-cli-DLktVEgU.js → logs-cli-BXBN6_Kf.js} +8 -8
- package/dist/{logs-cli-BgLHN6qm.js → logs-cli-Dg7J424l.js} +4 -4
- package/dist/{manager-DJHy2EAm.js → manager-C_5p8DxF.js} +14 -14
- package/dist/{manager-CF2y6wbp.js → manager-DOfc0hW0.js} +1 -1
- package/dist/{manager-BU8KmNG0.js → manager-WHZtXzz0.js} +1 -1
- package/dist/{manager-Uwh87iKi.js → manager-tYTYy-pH.js} +1 -1
- package/dist/{manifest-registry-DsTUFMvZ.js → manifest-registry-C0nJ3Ja3.js} +1 -1
- package/dist/{manifest-registry-BV_2TbGz.js → manifest-registry-CAWGTwb5.js} +2 -4
- package/dist/{manifest-registry-BshGdYwm.js → manifest-registry-DJcKcUQ9.js} +1 -1
- package/dist/{manifest-registry-D7Qup2Vq.js → manifest-registry-D_LsBSyt.js} +1 -1
- package/dist/{memory-gSw5eshw.js → memory-BZPO-RoX.js} +5 -5
- package/dist/{memory-cQSSricw.js → memory-CjpS9o50.js} +4 -4
- package/dist/{memory-cli-DIchyZJ2.js → memory-cli-4vj-LpgO.js} +12 -12
- package/dist/{memory-cli-DXS73nCX.js → memory-cli-CbV91o_X.js} +3 -3
- package/dist/{model-BRcKPW49.js → model-CbRy_3xW.js} +1 -1
- package/dist/{model-catalog-BKCEeOYV.js → model-catalog-Ba4R_zVe.js} +2 -2
- package/dist/{model-catalog-DiG_T-Hd.js → model-catalog-BrW9BL1p.js} +4 -4
- package/dist/{model-picker-Cj3P3dRc.js → model-picker-DAOOfQUH.js} +2 -2
- package/dist/{model-picker-Ba0aPjVG.js → model-picker-UrQQVAuN.js} +3 -3
- package/dist/{models-CcT56XMM.js → models-EthIDORJ.js} +13 -13
- package/dist/{models-cli-BGBn_XQb.js → models-cli-BRnmApgY.js} +57 -57
- package/dist/{models-cli-C7vX8wrK.js → models-cli-DSW-aLCj.js} +33 -33
- package/dist/{models-config-T55qUOQH.js → models-config-C2OLw8vc.js} +1 -1
- package/dist/{models-config-of-BhU9a.js → models-config-Dh1tABIl.js} +7 -7
- package/dist/{node-cli-6nSZg2Ag.js → node-cli-DXCDRV3y.js} +29 -29
- package/dist/{node-cli-P6Bd4azz.js → node-cli-SMqarSas.js} +12 -12
- package/dist/{node-service-tPO_yUk7.js → node-service-n6G8Ybbk.js} +1 -1
- package/dist/{nodes-cli-CNbL0FQP.js → nodes-cli-BpG8jU6q.js} +4 -4
- package/dist/{nodes-cli-CxlfnpiJ.js → nodes-cli-Fyv-oG6A.js} +11 -11
- package/dist/{nodes-screen-JELuBMBi.js → nodes-screen-CT94yu_w.js} +4 -4
- package/dist/{npm-registry-spec-BXw_6vF6.js → npm-registry-spec-B8X06AqB.js} +9 -9
- package/dist/{onboard-C5Ivk_7_.js → onboard-CEyd79t_.js} +16 -16
- package/dist/{onboard-CG9scrQx.js → onboard-CLSFAKKt.js} +13 -13
- package/dist/{onboard-channels-Br6c8ho-.js → onboard-channels-DqhDDHZ3.js} +5 -5
- package/dist/{onboard-channels-B6_L4dD7.js → onboard-channels-LkgOp2vs.js} +4 -4
- package/dist/{onboard-custom-C--9q1aw.js → onboard-custom-BD_6SIA8.js} +2 -2
- package/dist/{onboard-custom-CdIFCex3.js → onboard-custom-BRFhBogJ.js} +3 -3
- package/dist/{onboard-helpers-DU7-6FKZ.js → onboard-helpers-C5YryU1N.js} +2 -2
- package/dist/{onboard-helpers-KK8MYq1e.js → onboard-helpers-wgkj6qF2.js} +8 -8
- package/dist/{onboard-hooks-CP54Px40.js → onboard-hooks-CknstfLG.js} +4 -4
- package/dist/{onboard-hooks-Dn62HF2k.js → onboard-hooks-DotvaUqG.js} +3 -3
- package/dist/{onboard-remote-BCG6Pa34.js → onboard-remote-B5rlIYUq.js} +1 -1
- package/dist/{onboard-remote-BNgEcJhQ.js → onboard-remote-DR9mcFjZ.js} +1 -1
- package/dist/{onboard-skills-Dl9x6Ewy.js → onboard-skills-5rA5bRSG.js} +3 -3
- package/dist/{onboard-skills-BMZQWj72.js → onboard-skills-_6kHqhHz.js} +4 -4
- package/dist/{onboarding-CsBNx5v8.js → onboarding-CJuG6AyD.js} +15 -15
- package/dist/{onboarding-BDfOQl6b.js → onboarding-CREA0oQK.js} +16 -16
- package/dist/{onboarding.finalize-Dnw20wa-.js → onboarding.finalize-7iPylQyi.js} +21 -21
- package/dist/{onboarding.finalize-CLPOjrbG.js → onboarding.finalize-CkgL8Zde.js} +34 -34
- package/dist/{onboarding.gateway-config-D-SDWyuX.js → onboarding.gateway-config-BzM2v2U5.js} +6 -6
- package/dist/{onboarding.gateway-config-BRSy-1P9.js → onboarding.gateway-config-DtNG0As8.js} +10 -10
- package/dist/{openai-model-default-BVPmAuXK.js → openai-model-default-CSl0PZzK.js} +1 -1
- package/dist/{openai-model-default-CDDFpxUr.js → openai-model-default-DeTAMJKz.js} +2 -2
- package/dist/{outbound-send-deps-EMcNAOK3.js → outbound-send-deps-CBRh4LsL.js} +1 -1
- package/dist/{pairing-cli-BlH0ZFgu.js → pairing-cli-BvP6MoPZ.js} +5 -5
- package/dist/{pairing-cli-B3N7sSmL.js → pairing-cli-MwIIeBee.js} +2 -2
- package/dist/{pairing-store-BGf29nPx.js → pairing-store-S9CXOhSG.js} +1 -1
- package/dist/{pairing-token-CURbSHdi.js → pairing-token-DorpwP8O.js} +7 -7
- package/dist/{paths-Dc6A9_vI.js → paths-DaQrPPet.js} +1 -1
- package/dist/{pi-auth-json-SHGGQzOL.js → pi-auth-json-CVwNh4rb.js} +5 -5
- package/dist/{pi-embedded-DE2UILhi.js → pi-embedded-B7_uthwZ.js} +20 -24
- package/dist/{pi-embedded-helpers-Ak7hKJEV.js → pi-embedded-helpers-BbBfO9m_.js} +1 -1
- package/dist/{pi-embedded-helpers-B-A6e4jw.js → pi-embedded-helpers-DGW2untm.js} +6 -6
- package/dist/{pi-tools.policy-BUY9pOhW.js → pi-tools.policy--USPnaLr.js} +2 -2
- package/dist/{pi-tools.policy-B3nP1-Zp.js → pi-tools.policy-BcTgKDG6.js} +3 -3
- package/dist/{plugin-auto-enable-CNDA103e.js → plugin-auto-enable-BDPdHiLS.js} +2 -2
- package/dist/{plugin-auto-enable-CF_vB-_e.js → plugin-auto-enable-DSliW8o4.js} +1 -1
- package/dist/{plugin-registry-C02Ztbi2.js → plugin-registry-5aIoUu-O.js} +2 -2
- package/dist/{plugin-registry-D2YgQFB0.js → plugin-registry-bskbnEuW.js} +3 -3
- package/dist/plugin-sdk/auto-reply/reply/typing-mode.d.ts +0 -4
- package/dist/plugin-sdk/compat/legacy-names.d.ts +0 -5
- package/dist/plugin-sdk/config/types.messages.d.ts +1 -8
- package/dist/plugin-sdk/config/types.symi.d.ts +1 -2
- package/dist/plugin-sdk/gateway/outbound-filter.d.ts +1 -7
- package/dist/plugin-sdk/index.js +1 -2
- package/dist/{plugins-cli-vVBp7ZxP.js → plugins-cli-DMCWSACj.js} +31 -31
- package/dist/{plugins-cli-Ba3CBKt4.js → plugins-cli-LQUO7D2v.js} +53 -53
- package/dist/{ports-DRHSHvqY.js → ports-ChuJYhEL.js} +1 -1
- package/dist/{ports-DqxP-bXz.js → ports-EAVAOFyK.js} +2 -2
- package/dist/{program-CUvzxNJ4.js → program-BgrmtnFn.js} +36 -36
- package/dist/{program-context-4FxfWCCw.js → program-context-C_uJXnZV.js} +38 -38
- package/dist/{prompt-select-styled-vwMhoP-U.js → prompt-select-styled-B3nTSykf.js} +38 -38
- package/dist/{prompt-select-styled-DTaKuS6l.js → prompt-select-styled-CuGBQ9LO.js} +21 -21
- package/dist/{provider-auth-helpers-WUtMTKoJ.js → provider-auth-helpers-IsZNkaS0.js} +6 -6
- package/dist/{provider-auth-helpers-Bu5Q-WC_.js → provider-auth-helpers-MMYRbW_U.js} +4 -4
- package/dist/{push-apns-D6zky4hI.js → push-apns-C7t2qAZ6.js} +4 -4
- package/dist/{push-apns-CnfKExbf.js → push-apns-qCbh6Vhl.js} +1 -1
- package/dist/{pw-ai-DQ1ckkue.js → pw-ai-Bc5uzn_J.js} +3 -3
- package/dist/{pw-ai-CNPSgxuq.js → pw-ai-DuPDo_Ia.js} +3 -3
- package/dist/{pw-ai-DJ_8OOoJ.js → pw-ai-Tm3pd-HP.js} +3 -3
- package/dist/{pw-ai-BpKRTux4.js → pw-ai-YJhl5L-z.js} +8 -8
- package/dist/{qmd-manager-358OTDns.js → qmd-manager-CrRvB46v.js} +19 -19
- package/dist/{qr-cli-DLAxaM_N.js → qr-cli-Bv4zF-WM.js} +2 -2
- package/dist/{qr-cli-BjgtEKM0.js → qr-cli-D1U-qIkG.js} +4 -4
- package/dist/{redact-identifier-DvxxnBnB.js → redact-identifier-QYENCXvy.js} +1 -1
- package/dist/{register.agent-B5s0F98B.js → register.agent-BWcxonR9.js} +45 -45
- package/dist/{register.agent-BtVDiH_r.js → register.agent-BblNQlzT.js} +69 -69
- package/dist/register.configure-BJ7xtOUZ.js +129 -0
- package/dist/{register.configure-NZcXrNuS.js → register.configure-D0T0kOp7.js} +50 -50
- package/dist/{register.maintenance-jTTn3oMK.js → register.maintenance-DLJpeuc4.js} +69 -69
- package/dist/{register.maintenance-DIkEIl8R.js → register.maintenance-w7sKxODf.js} +45 -45
- package/dist/{register.message-Cm77gd0W.js → register.message-C3dCPjVc.js} +29 -29
- package/dist/{register.message-DEa450JY.js → register.message-CXEwBJ1O.js} +47 -47
- package/dist/{register.onboard-5TEaQi6x.js → register.onboard-B520Ixsd.js} +25 -25
- package/dist/{register.onboard-DAMmTKhy.js → register.onboard-DJmVC_6h.js} +19 -19
- package/dist/{register.setup-B7PRYzpb.js → register.setup-BTse4F3a.js} +27 -27
- package/dist/{register.setup-DCwJ-ZlR.js → register.setup-Br-aZ0qD.js} +18 -18
- package/dist/{register.status-health-sessions-BXjn8VnY.js → register.status-health-sessions-4dxLj6hJ.js} +27 -27
- package/dist/{register.status-health-sessions-h8DNZ6hd.js → register.status-health-sessions-Dbizirr2.js} +40 -40
- package/dist/{register.subclis-BDIT6N_V.js → register.subclis-CSJZQox4.js} +28 -28
- package/dist/{replies-R4bX9dTZ.js → replies-CH1VlYZQ.js} +1 -1
- package/dist/{replies--JRoxSNQ.js → replies-CbipVshj.js} +1 -1
- package/dist/{replies-BnGR-qet.js → replies-CjSfYK97.js} +1 -1
- package/dist/{replies-BE5ZprKO.js → replies-DIWartyA.js} +1 -1
- package/dist/{reply-prefix-BOdARKaY.js → reply-prefix-DZQBodKF.js} +1 -1
- package/dist/{resolve-route-CRWE36h5.js → resolve-route-BbUl3Hi7.js} +1 -1
- package/dist/{routes-BFcVAVwZ.js → routes-CWYyvbxi.js} +3 -3
- package/dist/{routes-Czff-g7s.js → routes-DiqMB1cp.js} +10 -10
- package/dist/{rpc-Dv5VElqW.js → rpc-BcPBUUXl.js} +1 -1
- package/dist/{rpc-DyGMGnDM.js → rpc-DLfjbTSu.js} +1 -1
- package/dist/{run-main-DTZupTas.js → run-main-DISYU1dh.js} +47 -47
- package/dist/{sandbox-Yk0sGNnf.js → sandbox-B6P9-J8g.js} +6 -6
- package/dist/{sandbox-W71753dA.js → sandbox-DPn-s_K5.js} +18 -18
- package/dist/{sandbox-cli-XK1CujoA.js → sandbox-cli-Bl5CMRjH.js} +15 -15
- package/dist/{sandbox-cli-xejs3DAe.js → sandbox-cli-bOFig9Jd.js} +9 -9
- package/dist/{scan-paths-ppKrtZ9U.js → scan-paths-BVaXDn8b.js} +2 -4
- package/dist/{security-cli-D72O3Drj.js → security-cli-C7LBaB0e.js} +14 -14
- package/dist/{security-cli-C0OL3r1u.js → security-cli-DuxEuSGr.js} +30 -30
- package/dist/{send-BIeRhWqk.js → send-6IYv-yRp.js} +1 -1
- package/dist/{send-Bw1MYrkS.js → send-C3ZXgOXw.js} +1 -1
- package/dist/{send-D9mx56JE.js → send-CYJucYob.js} +7 -7
- package/dist/{server-context-D1WDO10m.js → server-context-BUbuOgNz.js} +5 -5
- package/dist/{server-context-BxbXmmz7.js → server-context-Vd9sEFb9.js} +5 -5
- package/dist/{server-node-events-x9VKUipR.js → server-node-events-7ToqdaU5.js} +48 -48
- package/dist/{server-node-events-CV6-B9Hg.js → server-node-events-BH4-UlAH.js} +30 -30
- package/dist/{service-AP9pR9R5.js → service-9ItKCWWS.js} +15 -15
- package/dist/{update-runner-CAdnmZZ6.js → session-dirs-6atzU47U.js} +16 -2
- package/dist/{update-runner-BtZbVAdv.js → session-dirs-DONOhYc3.js} +30 -16
- package/dist/{session-utils-CZAshAsv.js → session-utils-CJfEkQQQ.js} +3 -3
- package/dist/{session-utils-BgILIwNf.js → session-utils-CqSXwGYa.js} +12 -12
- package/dist/{sessions-TVtiVSw4.js → sessions-BHrlpR92.js} +1 -1
- package/dist/{sessions-DKoFrAAL.js → sessions-Chjdz1Gx.js} +3 -3
- package/dist/{sessions-C_xvI21O.js → sessions-DorP6zY8.js} +11 -11
- package/dist/{shared-iK9UaK0Y.js → shared-B-64oefu.js} +1 -1
- package/dist/{shared-CPD46OzN.js → shared-Z3KjnA8n.js} +3 -3
- package/dist/{shared-DmYHvtn2.js → shared-ot5_jkpP.js} +1 -1
- package/dist/{skill-commands-DlbnDTRO.js → skill-commands-C5n7FeDJ.js} +1 -1
- package/dist/{skill-commands-Dy8IDORU.js → skill-commands-CcCCVblU.js} +2 -2
- package/dist/{skill-commands-CWvBRsds.js → skill-commands-RbglvrSW.js} +4 -4
- package/dist/{skill-commands-5-5JJtVf.js → skill-commands-sTJFg5lz.js} +1 -1
- package/dist/{skill-scanner-qMQf6-FN.js → skill-scanner-CZK0TG9g.js} +6 -6
- package/dist/{skill-scanner-DkITukAS.js → skill-scanner-CuoStu03.js} +1 -1
- package/dist/{skills-B3e5S0iU.js → skills-BP6p7GnN.js} +2 -2
- package/dist/{skills-CSykGHmk.js → skills-Bn0f9KTL.js} +1 -1
- package/dist/{skills-DL8DjveU.js → skills-DS1Vdylm.js} +6 -6
- package/dist/{skills-D0hw3721.js → skills-DaU_5XvP.js} +2 -2
- package/dist/{skills-cli-BZvDZu8v.js → skills-cli-BmIb-9--.js} +8 -8
- package/dist/{skills-cli-BeJZwWJF.js → skills-cli-DbhEEC78.js} +6 -6
- package/dist/{skills-install-C9uT4MR2.js → skills-install-DcX1Txvp.js} +4 -4
- package/dist/{skills-install-BMhIk6vI.js → skills-install-Q5hgZITy.js} +3 -3
- package/dist/{skills-remote-Vz1dbWNB.js → skills-remote-BDSyRdyX.js} +3 -3
- package/dist/{skills-remote-Dv9T079m.js → skills-remote-DHfuS68n.js} +1 -1
- package/dist/{skills-status-CaEDEfYZ.js → skills-status-01KNlWUS.js} +2 -2
- package/dist/{skills-status-Dx3Lf5iU.js → skills-status-F7nlolZZ.js} +2 -2
- package/dist/{sqlite-DBEvS-Ne.js → sqlite-BUXBg2yu.js} +5 -5
- package/dist/{ssrf-B09I40bf.js → ssrf-BzPY2FrA.js} +1 -1
- package/dist/{ssrf-BEXdgoWo.js → ssrf-CJor4ewC.js} +1 -1
- package/dist/{status-JhT3liK_.js → status-CR4VgVZ0.js} +3 -3
- package/dist/{status-BZHeQGF_.js → status-CeaJlVQK.js} +2 -2
- package/dist/{status-DMNL9Ga5.js → status-Hf__QNbH.js} +24 -24
- package/dist/{status-DRtu03r8.js → status-dHYcVtbb.js} +14 -14
- package/dist/{status.update-D3Q9PDtb.js → status.update-DOj5ifHZ.js} +3 -3
- package/dist/{status.update-BOb9rNG9.js → status.update-lna4Lub4.js} +1 -1
- package/dist/{subagent-registry-B9IxZkG5.js → subagent-registry-BbQL79Gk.js} +34 -38
- package/dist/{symi-root-DueRHNOE.js → symi-root-0MUhiNlM.js} +2 -2
- package/dist/{synthesis--06mqRPn.js → synthesis-B4G0BnU5.js} +11 -11
- package/dist/{synthesis-DZT5Fkc5.js → synthesis-C-IePZG6.js} +9 -9
- package/dist/{synthesis-B8Nvwbp_.js → synthesis-CK0K7wFk.js} +44 -44
- package/dist/{synthesis-BPwzKPQT.js → synthesis-DiPl8Usv.js} +27 -27
- package/dist/{system-cli-D74xDNa8.js → system-cli-BKp2K0sb.js} +8 -8
- package/dist/{system-cli-B1eB5FoT.js → system-cli-C9uTFA4c.js} +4 -4
- package/dist/{systemd-9LEEqibe.js → systemd-8KKQdTO_.js} +5 -5
- package/dist/{systemd-hints-B0aT2ugu.js → systemd-hints-BefHB3bX.js} +6 -6
- package/dist/{systemd-hints-DDaidHXa.js → systemd-hints-DQKA3tTS.js} +1 -1
- package/dist/{systemd-linger-PqG8iGCt.js → systemd-linger-C0-G8yq4.js} +1 -1
- package/dist/{tui-CQAhT9c1.js → tui-BheB3rbE.js} +7 -7
- package/dist/{tui-C_cCiruf.js → tui-C_yv1hvy.js} +4 -4
- package/dist/{tui-cli-CwbuVeHU.js → tui-cli-BDcU-VgA.js} +21 -21
- package/dist/{tui-cli-71uMNJfy.js → tui-cli-D7wYLESM.js} +12 -12
- package/dist/{unified-runner-quh_mYPi.js → unified-runner-BSdnT6eM.js} +22 -26
- package/dist/{unified-runner-CMsoxWFP.js → unified-runner-D6p4N2vu.js} +105 -109
- package/dist/{update-JtKX2Yl3.js → update-CbkItCeC.js} +2 -2
- package/dist/{update-BvDXKE6K.js → update-Djvyvehx.js} +4 -4
- package/dist/{update-check-CZxZhEXr.js → update-check-BdSIMYWq.js} +5 -5
- package/dist/{update-cli-dSJwPmKQ.js → update-cli-BmQuYKTw.js} +51 -51
- package/dist/{update-cli-Bg728CPt.js → update-cli-CwznFR5g.js} +79 -79
- package/dist/{webhooks-cli-C4_gK-VO.js → webhooks-cli-B2_nrbvn.js} +5 -5
- package/dist/{webhooks-cli-CdWRzSWK.js → webhooks-cli-D_wAaLOU.js} +7 -7
- package/dist/{with-timeout-Uhem6WU4.js → with-timeout-BhDKgIeU.js} +1 -1
- package/dist/{with-timeout-C_GTWqlF.js → with-timeout-CAUWEPmp.js} +1 -1
- package/dist/{workspace-DHzBY6qe.js → workspace-2m2BLIbx.js} +2 -2
- package/dist/{workspace-B_xyjOdv.js → workspace-CxAs2tsz.js} +2 -2
- package/dist/{workspace-dirs-D5OnUmvw.js → workspace-dirs-QmSWJptJ.js} +1 -1
- package/dist/{wsl-ZWGwnnKI.js → wsl-DO9usEVV.js} +2 -2
- package/package.json +1 -1
- package/dist/glass-ui-ws-CagpHsSJ.js +0 -341
- package/dist/glass-ui-ws-DLs3LNTG.js +0 -346
- package/dist/legacy-names-sghWmXe3.js +0 -8
- package/dist/register.configure-CD7DAbZQ.js +0 -129
- package/dist/server-methods-CMznpteR.js +0 -9432
- package/dist/server-methods-SRD683d-.js +0 -9434
- package/dist/session-dirs-Chh7bBGo.js +0 -18
- package/dist/session-dirs-Sl_x6tjD.js +0 -18
- /package/dist/{agents.config-D7cHU-OU.js → agents.config-gkq5o5Hy.js} +0 -0
- /package/dist/{auth-choice-legacy-CsjluQCN.js → auth-choice-legacy-DlTku0W1.js} +0 -0
- /package/dist/{auth-choice-legacy-D9WcUI_J.js → auth-choice-legacy-y8ZXjhDq.js} +0 -0
- /package/dist/{auth-token-Brb1Askz.js → auth-token-2yjfGFTo.js} +0 -0
- /package/dist/{consolidate-D1GUJ5qq.js → consolidate-CTKMVS1l.js} +0 -0
- /package/dist/{dm-policy-shared-CSF4Tw_F.js → dm-policy-shared-BcYwq7H9.js} +0 -0
- /package/dist/{format-BGzoTHhD.js → format-CUJQOEUj.js} +0 -0
- /package/dist/{format-C-0EAOjI.js → format-Cj8gNX2r.js} +0 -0
- /package/dist/{health-format-39e76m9p.js → health-format-BQdYy0nL.js} +0 -0
- /package/dist/{health-format-DaP03FBk.js → health-format-OIqaDZ2V.js} +0 -0
- /package/dist/{ipv4-CfVqgiTN.js → ipv4-CFw4fYIH.js} +0 -0
- /package/dist/{ipv4-DK4xoUQ-.js → ipv4-DBwTCOBu.js} +0 -0
- /package/dist/{logging-B96FQvnn.js → logging-BA2NbxMy.js} +0 -0
- /package/dist/{logging-BeA4q4J_.js → logging-Dt9kBzoO.js} +0 -0
- /package/dist/{model-param-b-B34yvxBN.js → model-param-b-CErLzOT8.js} +0 -0
- /package/dist/{model-param-b-CmgmcGoJ.js → model-param-b-DnsFCAGo.js} +0 -0
- /package/dist/{node-service-DDDCEDdv.js → node-service-B7zf4WFE.js} +0 -0
- /package/dist/{onboard-config-Barp7MT9.js → onboard-config-CIBKQuYV.js} +0 -0
- /package/dist/{onboard-config-DQkZqcyq.js → onboard-config-D6L72_zg.js} +0 -0
- /package/dist/{outbound-send-deps-BpziI1pC.js → outbound-send-deps-pzO0D6kV.js} +0 -0
- /package/dist/{ports-BAzQoIw0.js → ports-B3NnaSHu.js} +0 -0
- /package/dist/{qmd-manager--kGuC39q.js → qmd-manager-CX0jtKS5.js} +0 -0
- /package/dist/{system-run-command-QikSIqYG.js → system-run-command-XG1_P_la.js} +0 -0
- /package/dist/{systemd-linger-BM4qvprK.js → systemd-linger-CoyAJEZx.js} +0 -0
|
@@ -4,7 +4,7 @@ import { randomUUID } from "node:crypto";
|
|
|
4
4
|
import * as path$1 from "node:path";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
|
-
import * as fs$
|
|
7
|
+
import * as fs$1 from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/infra/path-prepend.ts
|
|
10
10
|
function normalizePathPrepend(entries) {
|
|
@@ -138,7 +138,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
138
138
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
139
139
|
const body = res.body;
|
|
140
140
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
141
|
-
const fileHandle = await fs$
|
|
141
|
+
const fileHandle = await fs$1.open(filePath, "w");
|
|
142
142
|
let bytes = 0;
|
|
143
143
|
let thrown;
|
|
144
144
|
try {
|
|
@@ -157,7 +157,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
157
157
|
await fileHandle.close();
|
|
158
158
|
}
|
|
159
159
|
if (thrown) {
|
|
160
|
-
await fs$
|
|
160
|
+
await fs$1.unlink(filePath).catch(() => {});
|
|
161
161
|
throw thrown;
|
|
162
162
|
}
|
|
163
163
|
return {
|
|
@@ -167,7 +167,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
167
167
|
}
|
|
168
168
|
async function writeBase64ToFile(filePath, base64) {
|
|
169
169
|
const buf = Buffer.from(base64, "base64");
|
|
170
|
-
await fs$
|
|
170
|
+
await fs$1.writeFile(filePath, buf);
|
|
171
171
|
return {
|
|
172
172
|
path: filePath,
|
|
173
173
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h as resolveUserPath } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
3
|
-
import { c as resolveArchiveKind, o as fileExists } from "./install-safe-path-
|
|
3
|
+
import { c as resolveArchiveKind, o as fileExists } from "./install-safe-path-B73BkVO3.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-package-dir.ts
|
|
9
9
|
async function installPackageDir(params) {
|
|
@@ -11,18 +11,18 @@ async function installPackageDir(params) {
|
|
|
11
11
|
let backupDir = null;
|
|
12
12
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
13
13
|
backupDir = `${params.targetDir}.backup-${Date.now()}`;
|
|
14
|
-
await
|
|
14
|
+
await fsPromises.rename(params.targetDir, backupDir);
|
|
15
15
|
}
|
|
16
16
|
const rollback = async () => {
|
|
17
17
|
if (!backupDir) return;
|
|
18
|
-
await
|
|
18
|
+
await fsPromises.rm(params.targetDir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
force: true
|
|
21
21
|
}).catch(() => void 0);
|
|
22
|
-
await
|
|
22
|
+
await fsPromises.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
23
23
|
};
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fsPromises.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
26
26
|
} catch (err) {
|
|
27
27
|
await rollback();
|
|
28
28
|
return {
|
|
@@ -59,7 +59,7 @@ async function installPackageDir(params) {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
if (backupDir) await
|
|
62
|
+
if (backupDir) await fsPromises.rm(backupDir, {
|
|
63
63
|
recursive: true,
|
|
64
64
|
force: true
|
|
65
65
|
}).catch(() => void 0);
|
|
@@ -69,11 +69,11 @@ async function installPackageDir(params) {
|
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/infra/install-source-utils.ts
|
|
71
71
|
async function withTempDir(prefix, fn) {
|
|
72
|
-
const tmpDir = await
|
|
72
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
73
73
|
try {
|
|
74
74
|
return await fn(tmpDir);
|
|
75
75
|
} finally {
|
|
76
|
-
await
|
|
76
|
+
await fsPromises.rm(tmpDir, {
|
|
77
77
|
recursive: true,
|
|
78
78
|
force: true
|
|
79
79
|
}).catch(() => void 0);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BSzKwaxE.js";
|
|
2
2
|
import { h as resolveUserPath, v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
3
3
|
import { f as defaultRuntime, p as restoreTerminalState } from "./subsystem-CtH6J8AV.js";
|
|
4
|
-
import { Ct as resolveEnvApiKey, Et as normalizeSecretInput, L as normalizeProviderId, Tt as normalizeOptionalSecretInput, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, n as resolveAuthProfileOrder, v as upsertAuthProfile } from "./auth-profiles-
|
|
4
|
+
import { Ct as resolveEnvApiKey, Et as normalizeSecretInput, L as normalizeProviderId, Tt as normalizeOptionalSecretInput, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, n as resolveAuthProfileOrder, v as upsertAuthProfile } from "./auth-profiles-BDvJK1Bg.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
6
|
-
import { f as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
6
|
+
import { f as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BEaq2Sb6.js";
|
|
7
7
|
import { t as assertSupportedRuntime } from "./runtime-guard-BZ3_1QqS.js";
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-CPtDKw-j.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-CWQQn_CK.js";
|
|
10
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
11
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-
|
|
12
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
13
|
-
import { t as resolveGatewayService } from "./service-
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
16
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-
|
|
17
|
-
import { n as logConfigUpdated } from "./logging-
|
|
18
|
-
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-
|
|
19
|
-
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
20
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
21
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
22
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
23
|
-
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-
|
|
10
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dr_xKl0r.js";
|
|
11
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-wgkj6qF2.js";
|
|
12
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-8KKQdTO_.js";
|
|
13
|
+
import { t as resolveGatewayService } from "./service-9ItKCWWS.js";
|
|
14
|
+
import { r as healthCommand } from "./health-DUulgHFK.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-CREA0oQK.js";
|
|
16
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-BKp_ClDP.js";
|
|
17
|
+
import { n as logConfigUpdated } from "./logging-BA2NbxMy.js";
|
|
18
|
+
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-y8ZXjhDq.js";
|
|
19
|
+
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-DeTAMJKz.js";
|
|
20
|
+
import { r as applyPrimaryModel } from "./model-picker-UrQQVAuN.js";
|
|
21
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-C0-G8yq4.js";
|
|
22
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-BRFhBogJ.js";
|
|
23
|
+
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D6L72_zg.js";
|
|
24
24
|
|
|
25
25
|
//#region src/commands/onboard-provider-auth-flags.ts
|
|
26
26
|
const ONBOARD_PROVIDER_AUTH_FLAGS = [
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Lt as shortenHomePath, Pt as resolveUserPath, _ as defaultRuntime, ft as resolveGatewayPort, v as restoreTerminalState } from "./entry.js";
|
|
2
2
|
import { Ct as resolveEnvApiKey, Et as normalizeSecretInput, L as normalizeProviderId, Tt as normalizeOptionalSecretInput, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, n as resolveAuthProfileOrder, v as upsertAuthProfile } from "./auth-profiles-Bs5D0GUv.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
4
|
-
import { f as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
4
|
+
import { f as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-Cw7uo7Dh.js";
|
|
5
5
|
import { t as WizardCancelledError } from "./prompts-fhztJPuZ.js";
|
|
6
6
|
import { t as createClackPrompter } from "./clack-prompter-Cm3OvXXT.js";
|
|
7
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
7
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CkBw3gG5.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-p4-FMx0l.js";
|
|
9
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-
|
|
9
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-C5YryU1N.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-p_nEAkHC.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-BIixwO-v.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
14
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-
|
|
15
|
-
import { n as logConfigUpdated } from "./logging-
|
|
16
|
-
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-
|
|
17
|
-
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
18
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
19
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
20
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
21
|
-
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-
|
|
12
|
+
import { r as healthCommand } from "./health-D2CsIdFz.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-CJuG6AyD.js";
|
|
14
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-2yjfGFTo.js";
|
|
15
|
+
import { n as logConfigUpdated } from "./logging-Dt9kBzoO.js";
|
|
16
|
+
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DlTku0W1.js";
|
|
17
|
+
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-CSl0PZzK.js";
|
|
18
|
+
import { r as applyPrimaryModel } from "./model-picker-DAOOfQUH.js";
|
|
19
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-CoyAJEZx.js";
|
|
20
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-BD_6SIA8.js";
|
|
21
|
+
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-CIBKQuYV.js";
|
|
22
22
|
|
|
23
23
|
//#region src/commands/onboard-provider-auth-flags.ts
|
|
24
24
|
const ONBOARD_PROVIDER_AUTH_FLAGS = [
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-D6p4N2vu.js";
|
|
3
3
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-DKJLAPDB.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
6
6
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-B_ZVH1kE.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
10
|
-
import { r as listChannelPluginCatalogEntries } from "./catalog-
|
|
10
|
+
import { r as listChannelPluginCatalogEntries } from "./catalog-CSgSg5Gp.js";
|
|
11
11
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
|
|
12
|
-
import { n as isChannelConfigured } from "./plugin-auto-enable-
|
|
12
|
+
import { n as isChannelConfigured } from "./plugin-auto-enable-BDPdHiLS.js";
|
|
13
13
|
import { t as enablePluginInConfig } from "./enable-CAlFtzVH.js";
|
|
14
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
14
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-BzgwvqqQ.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
|
|
@@ -3,14 +3,14 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
4
4
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-BfskPVEs.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-B6p555mP.js";
|
|
6
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-BbQL79Gk.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
9
|
-
import { r as listChannelPluginCatalogEntries } from "./catalog-
|
|
9
|
+
import { r as listChannelPluginCatalogEntries } from "./catalog-CJzUbDcX.js";
|
|
10
10
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DlWXcOEI.js";
|
|
11
|
-
import { n as isChannelConfigured } from "./plugin-auto-enable-
|
|
11
|
+
import { n as isChannelConfigured } from "./plugin-auto-enable-DSliW8o4.js";
|
|
12
12
|
import { t as enablePluginInConfig } from "./enable-Dn-aw3YN.js";
|
|
13
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
13
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-cPraL4Dg.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as modelKey, Ut as DEFAULT_PROVIDER, j as buildModelAliasIndex } from "./auth-profiles-Bs5D0GUv.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-PV2_ySyb.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
5
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-B-64oefu.js";
|
|
5
|
+
import { r as applyPrimaryModel } from "./model-picker-DAOOfQUH.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/onboard-custom.ts
|
|
8
8
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { F as modelKey, Ut as DEFAULT_PROVIDER, j as buildModelAliasIndex } from "./auth-profiles-
|
|
2
|
+
import { F as modelKey, Ut as DEFAULT_PROVIDER, j as buildModelAliasIndex } from "./auth-profiles-BDvJK1Bg.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-CgmRK282.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
5
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-Z3KjnA8n.js";
|
|
5
|
+
import { r as applyPrimaryModel } from "./model-picker-UrQQVAuN.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/onboard-custom.ts
|
|
8
8
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -2,8 +2,8 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { It as shortenHomeInString, Lt as shortenHomePath, Pt as resolveUserPath, Rt as sleep, bt as CONFIG_DIR, rt as CONFIG_PATH } from "./entry.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-B6oWJSJW.js";
|
|
4
4
|
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-B6p555mP.js";
|
|
5
|
-
import { E as isSafeExecutableValue, N as VERSION } from "./config-
|
|
6
|
-
import { n as callGateway } from "./call-
|
|
5
|
+
import { E as isSafeExecutableValue, N as VERSION } from "./config-Cw7uo7Dh.js";
|
|
6
|
+
import { n as callGateway } from "./call-Dy_T6f6d.js";
|
|
7
7
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CNPAq1Tl.js";
|
|
8
8
|
import { a as isValidIPv4, s as pickPrimaryLanIPv4 } from "./net-DZ5Ayk-W.js";
|
|
9
9
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-Cmumpn76.js";
|
|
@@ -2,19 +2,19 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-BSzKwaxE.js";
|
|
3
3
|
import { _ as shortenHomeInString, h as resolveUserPath, t as CONFIG_DIR, v as shortenHomePath, y as sleep } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
5
|
-
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
6
|
-
import { E as isSafeExecutableValue, N as VERSION } from "./config-
|
|
5
|
+
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-CKTVXF_1.js";
|
|
6
|
+
import { E as isSafeExecutableValue, N as VERSION } from "./config-BEaq2Sb6.js";
|
|
7
7
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-LYvn9g3I.js";
|
|
8
8
|
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./ws-CahTJvD6.js";
|
|
9
9
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C_V8IAYx.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
11
|
+
import { n as callGateway } from "./call-BjHvYJx2.js";
|
|
12
12
|
import { r as stylePromptTitle } from "./prompt-style-Cad0BDRS.js";
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
13
|
+
import { t as isWSL } from "./wsl-DO9usEVV.js";
|
|
14
14
|
import crypto from "node:crypto";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
import { cancel, isCancel } from "@clack/prompts";
|
|
19
19
|
|
|
20
20
|
//#region src/gateway/control-ui-shared.ts
|
|
@@ -247,7 +247,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
247
247
|
});
|
|
248
248
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
249
249
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
250
|
-
await
|
|
250
|
+
await fsPromises.mkdir(sessionsDir, { recursive: true });
|
|
251
251
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
252
252
|
}
|
|
253
253
|
function resolveNodeManagerOptions() {
|
|
@@ -269,7 +269,7 @@ function resolveNodeManagerOptions() {
|
|
|
269
269
|
async function moveToTrash(pathname, runtime) {
|
|
270
270
|
if (!pathname) return;
|
|
271
271
|
try {
|
|
272
|
-
await
|
|
272
|
+
await fsPromises.access(pathname);
|
|
273
273
|
} catch {
|
|
274
274
|
return;
|
|
275
275
|
}
|
|
@@ -292,7 +292,7 @@ async function detectBinary(name) {
|
|
|
292
292
|
if (!isSafeExecutableValue(name)) return false;
|
|
293
293
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
294
294
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
295
|
-
await
|
|
295
|
+
await fsPromises.access(resolved);
|
|
296
296
|
return true;
|
|
297
297
|
} catch {
|
|
298
298
|
return false;
|
|
@@ -4,11 +4,11 @@ import "./utils-BU8jVQFM.js";
|
|
|
4
4
|
import "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
|
-
import "./frontmatter-
|
|
10
|
-
import "./workspace-
|
|
11
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
9
|
+
import "./frontmatter-CHu3sfCM.js";
|
|
10
|
+
import "./workspace-CxAs2tsz.js";
|
|
11
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-DGjgoBZt.js";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/onboard-hooks.ts
|
|
14
14
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
2
2
|
import "./exec-B6oWJSJW.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-B6p555mP.js";
|
|
4
|
-
import "./frontmatter-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
4
|
+
import "./frontmatter-B4levtVg.js";
|
|
5
|
+
import "./workspace-2m2BLIbx.js";
|
|
6
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-BQAuzmwT.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-hooks.ts
|
|
9
9
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
2
|
+
import { r as detectBinary } from "./onboard-helpers-wgkj6qF2.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-C5NqCQ3L.js";
|
|
4
4
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CU1mz7AC.js";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
2
|
+
import { r as detectBinary } from "./onboard-helpers-C5YryU1N.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-drOINmDM.js";
|
|
4
4
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BTpm6P8H.js";
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Et as normalizeSecretInput } from "./auth-profiles-Bs5D0GUv.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
4
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-01KNlWUS.js";
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-C5YryU1N.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-Q5hgZITy.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Et as normalizeSecretInput } from "./auth-profiles-
|
|
2
|
+
import { Et as normalizeSecretInput } from "./auth-profiles-BDvJK1Bg.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
4
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-F7nlolZZ.js";
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-wgkj6qF2.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-DcX1Txvp.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Pt as resolveUserPath, _ as defaultRuntime, ft as resolveGatewayPort, it as DEFAULT_GATEWAY_PORT } from "./entry.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
3
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
3
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-Cw7uo7Dh.js";
|
|
4
4
|
import { t as WizardCancelledError } from "./prompts-fhztJPuZ.js";
|
|
5
5
|
|
|
6
6
|
//#region src/wizard/onboarding.ts
|
|
@@ -34,7 +34,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
34
34
|
})) throw new WizardCancelledError("risk not accepted");
|
|
35
35
|
}
|
|
36
36
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
37
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
37
|
+
const onboardHelpers = await import("./onboard-helpers-C5YryU1N.js").then((n) => n.d);
|
|
38
38
|
onboardHelpers.printWizardHeader(runtime);
|
|
39
39
|
await prompter.intro("Symi onboarding");
|
|
40
40
|
await requireRiskAcknowledgement({
|
|
@@ -202,8 +202,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
202
202
|
}]
|
|
203
203
|
}));
|
|
204
204
|
if (mode === "remote") {
|
|
205
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
206
|
-
const { logConfigUpdated } = await import("./logging-
|
|
205
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-DR9mcFjZ.js").then((n) => n.t);
|
|
206
|
+
const { logConfigUpdated } = await import("./logging-Dt9kBzoO.js").then((n) => n.r);
|
|
207
207
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
208
208
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
209
209
|
command: "onboard",
|
|
@@ -218,13 +218,13 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
218
218
|
message: "Workspace directory",
|
|
219
219
|
initialValue: baseConfig.agents?.defaults?.workspace ?? onboardHelpers.DEFAULT_WORKSPACE
|
|
220
220
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
221
|
-
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-
|
|
221
|
+
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-CIBKQuYV.js").then((n) => n.n);
|
|
222
222
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-Bs5D0GUv.js").then((n) => n.t);
|
|
224
|
-
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-
|
|
225
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
227
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
224
|
+
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-BkTmN4sy.js").then((n) => n.t);
|
|
225
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-BD_6SIA8.js").then((n) => n.r);
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-BJgf7XV6.js").then((n) => n.t);
|
|
227
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-DAOOfQUH.js").then((n) => n.i);
|
|
228
228
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
229
229
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
230
230
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -261,7 +261,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
261
261
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
262
262
|
}
|
|
263
263
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
264
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
264
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-BzM2v2U5.js");
|
|
265
265
|
const gateway = await configureGatewayForOnboarding({
|
|
266
266
|
flow,
|
|
267
267
|
baseConfig,
|
|
@@ -276,7 +276,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
276
276
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
277
277
|
else {
|
|
278
278
|
const { listChannelPlugins } = await import("./plugins-Bq-Msc8Z.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-LkgOp2vs.js").then((n) => n.n);
|
|
280
280
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
281
281
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
282
282
|
allowSignalInstall: true,
|
|
@@ -287,22 +287,22 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
287
287
|
});
|
|
288
288
|
}
|
|
289
289
|
await writeConfigFile(nextConfig);
|
|
290
|
-
const { logConfigUpdated } = await import("./logging-
|
|
290
|
+
const { logConfigUpdated } = await import("./logging-Dt9kBzoO.js").then((n) => n.r);
|
|
291
291
|
logConfigUpdated(runtime);
|
|
292
292
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
293
293
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
294
294
|
else {
|
|
295
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
295
|
+
const { setupSkills } = await import("./onboard-skills-5rA5bRSG.js").then((n) => n.t);
|
|
296
296
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
297
297
|
}
|
|
298
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
298
|
+
const { setupInternalHooks } = await import("./onboard-hooks-DotvaUqG.js");
|
|
299
299
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
300
300
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
301
301
|
command: "onboard",
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-7iPylQyi.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -2,7 +2,7 @@ import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-BSzK
|
|
|
2
2
|
import { h as resolveUserPath } from "./utils-BU8jVQFM.js";
|
|
3
3
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BEaq2Sb6.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-CPtDKw-j.js";
|
|
7
7
|
|
|
8
8
|
//#region src/wizard/onboarding.ts
|
|
@@ -36,7 +36,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
36
36
|
})) throw new WizardCancelledError("risk not accepted");
|
|
37
37
|
}
|
|
38
38
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
39
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
39
|
+
const onboardHelpers = await import("./onboard-helpers-wgkj6qF2.js").then((n) => n.d);
|
|
40
40
|
onboardHelpers.printWizardHeader(runtime);
|
|
41
41
|
await prompter.intro("Symi onboarding");
|
|
42
42
|
await requireRiskAcknowledgement({
|
|
@@ -204,8 +204,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
204
204
|
}]
|
|
205
205
|
}));
|
|
206
206
|
if (mode === "remote") {
|
|
207
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
208
|
-
const { logConfigUpdated } = await import("./logging-
|
|
207
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-B5rlIYUq.js").then((n) => n.t);
|
|
208
|
+
const { logConfigUpdated } = await import("./logging-BA2NbxMy.js").then((n) => n.r);
|
|
209
209
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
210
210
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
211
211
|
command: "onboard",
|
|
@@ -220,13 +220,13 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
220
220
|
message: "Workspace directory",
|
|
221
221
|
initialValue: baseConfig.agents?.defaults?.workspace ?? onboardHelpers.DEFAULT_WORKSPACE
|
|
222
222
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
223
|
-
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-
|
|
223
|
+
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-D6L72_zg.js").then((n) => n.n);
|
|
224
224
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
225
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
226
|
-
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-
|
|
227
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
229
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
225
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-BDvJK1Bg.js").then((n) => n.t);
|
|
226
|
+
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-CXcrToaB.js").then((n) => n.t);
|
|
227
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-BRFhBogJ.js").then((n) => n.r);
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-s1SGAS0u.js").then((n) => n.t);
|
|
229
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-UrQQVAuN.js").then((n) => n.i);
|
|
230
230
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
231
231
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
232
232
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -263,7 +263,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
263
263
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
264
264
|
}
|
|
265
265
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
266
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
266
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-DtNG0As8.js");
|
|
267
267
|
const gateway = await configureGatewayForOnboarding({
|
|
268
268
|
flow,
|
|
269
269
|
baseConfig,
|
|
@@ -278,7 +278,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
278
278
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
279
279
|
else {
|
|
280
280
|
const { listChannelPlugins } = await import("./plugins-DuuHorqi.js").then((n) => n.i);
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-DqhDDHZ3.js").then((n) => n.n);
|
|
282
282
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
283
283
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
284
284
|
allowSignalInstall: true,
|
|
@@ -289,22 +289,22 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
await writeConfigFile(nextConfig);
|
|
292
|
-
const { logConfigUpdated } = await import("./logging-
|
|
292
|
+
const { logConfigUpdated } = await import("./logging-BA2NbxMy.js").then((n) => n.r);
|
|
293
293
|
logConfigUpdated(runtime);
|
|
294
294
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
295
295
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
296
296
|
else {
|
|
297
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
297
|
+
const { setupSkills } = await import("./onboard-skills-_6kHqhHz.js").then((n) => n.t);
|
|
298
298
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
299
299
|
}
|
|
300
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
300
|
+
const { setupInternalHooks } = await import("./onboard-hooks-CknstfLG.js");
|
|
301
301
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
302
302
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
303
303
|
command: "onboard",
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CkgL8Zde.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|