@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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { D as shouldLogVerbose, w as logVerbose } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { h as resolveUserPath } from "./utils-BU8jVQFM.js";
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
6
|
-
import { _ as mediaKindFromMime, a as hasAlphaChannel, c as detectMime, g as maxBytesForKind, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-
|
|
4
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
5
|
+
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-DjAKGGJ8.js";
|
|
6
|
+
import { _ as mediaKindFromMime, a as hasAlphaChannel, c as detectMime, g as maxBytesForKind, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-c7_of0HT.js";
|
|
7
7
|
import { a as resolveSlackAccount, c as resolveSlackBotToken } from "./plugins-DuuHorqi.js";
|
|
8
8
|
import { a as chunkText, c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DQGU0F8t.js";
|
|
9
9
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-GTLvbzuR.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DG6T0ZdL.js";
|
|
11
|
-
import { n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
11
|
+
import { n as getDefaultMediaLocalRoots } from "./local-roots-CUKhHNCV.js";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
13
13
|
import path from "node:path";
|
|
14
|
-
import
|
|
14
|
+
import fsPromises from "node:fs/promises";
|
|
15
15
|
import { WebClient } from "@slack/web-api";
|
|
16
16
|
import MarkdownIt from "markdown-it";
|
|
17
17
|
|
|
@@ -380,7 +380,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
380
380
|
const roots = localRoots ?? getDefaultLocalRoots();
|
|
381
381
|
let resolved;
|
|
382
382
|
try {
|
|
383
|
-
resolved = await
|
|
383
|
+
resolved = await fsPromises.realpath(mediaPath);
|
|
384
384
|
} catch {
|
|
385
385
|
resolved = path.resolve(mediaPath);
|
|
386
386
|
}
|
|
@@ -397,7 +397,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
397
397
|
for (const root of roots) {
|
|
398
398
|
let resolvedRoot;
|
|
399
399
|
try {
|
|
400
|
-
resolvedRoot = await
|
|
400
|
+
resolvedRoot = await fsPromises.realpath(root);
|
|
401
401
|
} catch {
|
|
402
402
|
resolvedRoot = path.resolve(root);
|
|
403
403
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BSzKwaxE.js";
|
|
2
|
-
import { i as loadConfig, l as writeConfigFile, r as createConfigIO } from "./config-
|
|
3
|
-
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_SYMI_BROWSER_COLOR, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, k as DEFAULT_SYMI_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, v as fetchOk, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
2
|
+
import { i as loadConfig, l as writeConfigFile, r as createConfigIO } from "./config-BEaq2Sb6.js";
|
|
3
|
+
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_SYMI_BROWSER_COLOR, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, k as DEFAULT_SYMI_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, v as fetchOk, x as ensureChromeExtensionRelayServer } from "./chrome-BQoO4LXq.js";
|
|
4
4
|
import { r as isLoopbackHost } from "./ws-CahTJvD6.js";
|
|
5
5
|
import { a as resolveGatewayAuth } from "./auth-BbwD4lRX.js";
|
|
6
6
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-Z-WkF18Q.js";
|
|
@@ -152,7 +152,7 @@ function isModuleNotFoundError(err) {
|
|
|
152
152
|
}
|
|
153
153
|
async function loadPwAiModule(mode) {
|
|
154
154
|
try {
|
|
155
|
-
return await import("./pw-ai-
|
|
155
|
+
return await import("./pw-ai-YJhl5L-z.js");
|
|
156
156
|
} catch (err) {
|
|
157
157
|
if (mode === "soft") return null;
|
|
158
158
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -775,11 +775,11 @@ function createProfileContext(opts, profile) {
|
|
|
775
775
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
776
776
|
const profileState = getProfileState();
|
|
777
777
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
778
|
-
await (await import("./pw-ai-
|
|
778
|
+
await (await import("./pw-ai-YJhl5L-z.js")).closePlaywrightBrowserConnection();
|
|
779
779
|
} catch {}
|
|
780
780
|
if (profileState.running) await stopRunningBrowser();
|
|
781
781
|
try {
|
|
782
|
-
await (await import("./pw-ai-
|
|
782
|
+
await (await import("./pw-ai-YJhl5L-z.js")).closePlaywrightBrowserConnection();
|
|
783
783
|
} catch {}
|
|
784
784
|
if (!fs.existsSync(userDataDir)) return {
|
|
785
785
|
moved: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ft as resolveGatewayPort } from "./entry.js";
|
|
2
|
-
import { i as loadConfig, l as writeConfigFile, r as createConfigIO } from "./config-
|
|
2
|
+
import { i as loadConfig, l as writeConfigFile, r as createConfigIO } from "./config-Cw7uo7Dh.js";
|
|
3
3
|
import { n as isLoopbackHost } from "./net-DZ5Ayk-W.js";
|
|
4
|
-
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_SYMI_BROWSER_COLOR, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, k as DEFAULT_SYMI_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, v as fetchOk, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
4
|
+
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_SYMI_BROWSER_COLOR, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, k as DEFAULT_SYMI_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, v as fetchOk, x as ensureChromeExtensionRelayServer } from "./chrome-BxWRyWC_.js";
|
|
5
5
|
import { a as resolveGatewayAuth } from "./auth-DIdzV4_r.js";
|
|
6
6
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-TVUWuVoP.js";
|
|
7
7
|
import { t as SsrFBlockedError } from "./ssrf-jKt8PSDl.js";
|
|
@@ -152,7 +152,7 @@ function isModuleNotFoundError(err) {
|
|
|
152
152
|
}
|
|
153
153
|
async function loadPwAiModule(mode) {
|
|
154
154
|
try {
|
|
155
|
-
return await import("./pw-ai-
|
|
155
|
+
return await import("./pw-ai-DuPDo_Ia.js");
|
|
156
156
|
} catch (err) {
|
|
157
157
|
if (mode === "soft") return null;
|
|
158
158
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -775,11 +775,11 @@ function createProfileContext(opts, profile) {
|
|
|
775
775
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
776
776
|
const profileState = getProfileState();
|
|
777
777
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
778
|
-
await (await import("./pw-ai-
|
|
778
|
+
await (await import("./pw-ai-DuPDo_Ia.js")).closePlaywrightBrowserConnection();
|
|
779
779
|
} catch {}
|
|
780
780
|
if (profileState.running) await stopRunningBrowser();
|
|
781
781
|
try {
|
|
782
|
-
await (await import("./pw-ai-
|
|
782
|
+
await (await import("./pw-ai-DuPDo_Ia.js")).closePlaywrightBrowserConnection();
|
|
783
783
|
} catch {}
|
|
784
784
|
if (!fs.existsSync(userDataDir)) return {
|
|
785
785
|
moved: false,
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { O as resolveOutboundTarget } from "./unified-runner-
|
|
1
|
+
import { O as resolveOutboundTarget } from "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import "./auth-profiles-
|
|
6
|
+
import "./auth-profiles-BDvJK1Bg.js";
|
|
7
7
|
import { s as normalizeMainKey } from "./session-key-B_ZVH1kE.js";
|
|
8
8
|
import "./exec-DKyLtSjm.js";
|
|
9
|
-
import { d as resolveSessionAgentId } from "./agent-scope-
|
|
9
|
+
import { d as resolveSessionAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
10
10
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
11
11
|
import "./boolean-Wzu0-e0P.js";
|
|
12
12
|
import "./env-B97Ms861.js";
|
|
13
|
-
import "./pi-embedded-helpers-
|
|
14
|
-
import { i as loadConfig } from "./config-
|
|
15
|
-
import "./manifest-registry-
|
|
16
|
-
import "./sandbox-
|
|
17
|
-
import "./chrome-
|
|
13
|
+
import "./pi-embedded-helpers-DGW2untm.js";
|
|
14
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
15
|
+
import "./manifest-registry-D_LsBSyt.js";
|
|
16
|
+
import "./sandbox-DPn-s_K5.js";
|
|
17
|
+
import "./chrome-BQoO4LXq.js";
|
|
18
18
|
import "./tailscale-D7dC-5EX.js";
|
|
19
19
|
import "./auth-BbwD4lRX.js";
|
|
20
|
-
import "./server-context-
|
|
21
|
-
import "./frontmatter-
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./routes-
|
|
20
|
+
import "./server-context-BUbuOgNz.js";
|
|
21
|
+
import "./frontmatter-CHu3sfCM.js";
|
|
22
|
+
import "./skills-DS1Vdylm.js";
|
|
23
|
+
import "./routes-DiqMB1cp.js";
|
|
24
24
|
import "./redact-CSc_2Nka.js";
|
|
25
25
|
import "./errors-Z-WkF18Q.js";
|
|
26
|
-
import "./fs-safe-
|
|
27
|
-
import "./paths-
|
|
26
|
+
import "./fs-safe-DjAKGGJ8.js";
|
|
27
|
+
import "./paths-DaQrPPet.js";
|
|
28
28
|
import "./ssrf-CC9kEPCT.js";
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./ports-
|
|
29
|
+
import "./image-ops-c7_of0HT.js";
|
|
30
|
+
import "./ports-EAVAOFyK.js";
|
|
31
31
|
import "./trash-BjVrPcAx.js";
|
|
32
|
-
import { d as updateSessionStore } from "./sessions-
|
|
32
|
+
import { d as updateSessionStore } from "./sessions-DorP6zY8.js";
|
|
33
33
|
import "./dock-CnGWTXL4.js";
|
|
34
34
|
import "./message-channel-C_V8IAYx.js";
|
|
35
35
|
import { r as normalizeChannelId } from "./plugins-DuuHorqi.js";
|
|
36
|
-
import "./send-
|
|
36
|
+
import "./send-CYJucYob.js";
|
|
37
37
|
import "./paths-CJcw9nbZ.js";
|
|
38
38
|
import "./thinking-177f26eg.js";
|
|
39
39
|
import "./tokens-BKbemuIk.js";
|
|
40
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
40
|
+
import { t as deliverOutboundPayloads } from "./deliver-ccf_boim.js";
|
|
41
41
|
import "./diagnostic-CwF3MnBL.js";
|
|
42
42
|
import "./diagnostic-session-state-I4x9gPY4.js";
|
|
43
|
-
import "./models-config-
|
|
44
|
-
import "./pi-auth-json-
|
|
43
|
+
import "./models-config-Dh1tABIl.js";
|
|
44
|
+
import "./pi-auth-json-CVwNh4rb.js";
|
|
45
45
|
import "./session-cost-usage-DYcv40ss.js";
|
|
46
|
-
import { C as enqueueSystemEvent, c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-
|
|
47
|
-
import "./with-timeout-
|
|
48
|
-
import "./reply-prefix-
|
|
49
|
-
import "./memory-
|
|
50
|
-
import "./manager-
|
|
51
|
-
import "./sqlite-
|
|
46
|
+
import { C as enqueueSystemEvent, c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-CqSXwGYa.js";
|
|
47
|
+
import "./with-timeout-CAUWEPmp.js";
|
|
48
|
+
import "./reply-prefix-DZQBodKF.js";
|
|
49
|
+
import "./memory-BZPO-RoX.js";
|
|
50
|
+
import "./manager-C_5p8DxF.js";
|
|
51
|
+
import "./sqlite-BUXBg2yu.js";
|
|
52
52
|
import "./chunk-DQGU0F8t.js";
|
|
53
53
|
import "./markdown-tables-GTLvbzuR.js";
|
|
54
54
|
import "./fetch-guard-DG6T0ZdL.js";
|
|
55
|
-
import "./local-roots-
|
|
55
|
+
import "./local-roots-CUKhHNCV.js";
|
|
56
56
|
import "./commands-B3UrgxIz.js";
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./client-
|
|
59
|
-
import "./call-
|
|
60
|
-
import "./pairing-token-
|
|
57
|
+
import "./commands-registry-CLePPNDW.js";
|
|
58
|
+
import "./client-Bs2zB0rY.js";
|
|
59
|
+
import "./call-BjHvYJx2.js";
|
|
60
|
+
import "./pairing-token-DorpwP8O.js";
|
|
61
61
|
import "./tool-display-Dr6VaTg5.js";
|
|
62
|
-
import "./skills-remote-
|
|
63
|
-
import "./workspace-dirs-
|
|
62
|
+
import "./skills-remote-BDSyRdyX.js";
|
|
63
|
+
import "./workspace-dirs-QmSWJptJ.js";
|
|
64
64
|
import "./pi-model-discovery-DdkUSfiI.js";
|
|
65
|
-
import "./model-catalog-
|
|
66
|
-
import "./skill-commands-
|
|
67
|
-
import "./pairing-store-
|
|
65
|
+
import "./model-catalog-BrW9BL1p.js";
|
|
66
|
+
import "./skill-commands-RbglvrSW.js";
|
|
67
|
+
import "./pairing-store-S9CXOhSG.js";
|
|
68
68
|
import "./exec-approvals-CZOc8M5w.js";
|
|
69
|
-
import "./nodes-screen-
|
|
70
|
-
import "./control-service-
|
|
69
|
+
import "./nodes-screen-CT94yu_w.js";
|
|
70
|
+
import "./control-service-DhlgNQGb.js";
|
|
71
71
|
import "./stagger-BhvnarfO.js";
|
|
72
72
|
import "./channel-selection-BvIcXQLj.js";
|
|
73
73
|
import "./delivery-queue-DDs84baU.js";
|
|
74
74
|
import "./bindings-9LSA3Jr1.js";
|
|
75
|
-
import "./resolve-route-
|
|
75
|
+
import "./resolve-route-BbUl3Hi7.js";
|
|
76
76
|
import "./links-CSaUKNKm.js";
|
|
77
77
|
import "./cli-utils-CX1oQ81G.js";
|
|
78
78
|
import "./help-format-BI_G2p1e.js";
|
|
79
79
|
import "./progress-CyPyGCDn.js";
|
|
80
|
-
import "./memory-cli-
|
|
80
|
+
import "./memory-cli-4vj-LpgO.js";
|
|
81
81
|
import "./logging-B5YNzZB9.js";
|
|
82
|
-
import "./replies
|
|
83
|
-
import "./pi-tools.policy-
|
|
84
|
-
import "./model-
|
|
85
|
-
import "./deps-
|
|
86
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
87
|
-
import { t as agentCommand } from "./agent-
|
|
88
|
-
import { t as createOutboundSendDeps } from "./outbound-send-deps-
|
|
82
|
+
import "./replies-CbipVshj.js";
|
|
83
|
+
import "./pi-tools.policy-BcTgKDG6.js";
|
|
84
|
+
import "./model-CbRy_3xW.js";
|
|
85
|
+
import "./deps-B6QYsl_-.js";
|
|
86
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-C7t2qAZ6.js";
|
|
87
|
+
import { t as agentCommand } from "./agent-BcHmIY_n.js";
|
|
88
|
+
import { t as createOutboundSendDeps } from "./outbound-send-deps-pzO0D6kV.js";
|
|
89
89
|
import { randomUUID } from "node:crypto";
|
|
90
90
|
|
|
91
91
|
//#region src/gateway/server-node-events.ts
|
|
@@ -7,29 +7,29 @@ import "./github-copilot-token-a6a53zx_.js";
|
|
|
7
7
|
import "./pi-auth-json-CUZ7IgY7.js";
|
|
8
8
|
import "./model-DgN15006.js";
|
|
9
9
|
import "./pi-model-discovery-Do3xMEtM.js";
|
|
10
|
-
import "./frontmatter-
|
|
11
|
-
import "./skills-
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import { i as loadConfig } from "./config-
|
|
10
|
+
import "./frontmatter-B4levtVg.js";
|
|
11
|
+
import "./skills-BP6p7GnN.js";
|
|
12
|
+
import "./manifest-registry-DJcKcUQ9.js";
|
|
13
|
+
import { i as loadConfig } from "./config-Cw7uo7Dh.js";
|
|
14
14
|
import "./client-CAz5aPpp.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-Dy_T6f6d.js";
|
|
16
16
|
import "./message-channel-CNPAq1Tl.js";
|
|
17
17
|
import "./pairing-token-Bnr7QjVF.js";
|
|
18
|
-
import { H as resolveOutboundTarget } from "./subagent-registry-
|
|
19
|
-
import { d as updateSessionStore } from "./sessions-
|
|
18
|
+
import { H as resolveOutboundTarget } from "./subagent-registry-BbQL79Gk.js";
|
|
19
|
+
import { d as updateSessionStore } from "./sessions-BHrlpR92.js";
|
|
20
20
|
import { r as normalizeChannelId } from "./plugins-Bq-Msc8Z.js";
|
|
21
|
-
import "./send-
|
|
22
|
-
import "./with-timeout-
|
|
23
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
21
|
+
import "./send-C3ZXgOXw.js";
|
|
22
|
+
import "./with-timeout-BhDKgIeU.js";
|
|
23
|
+
import { t as deliverOutboundPayloads } from "./deliver-Cl2fWxx4.js";
|
|
24
24
|
import "./diagnostic-BevbDWGa.js";
|
|
25
25
|
import "./diagnostic-session-state-Zw87xFym.js";
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
27
|
-
import "./sandbox-
|
|
28
|
-
import "./chrome-
|
|
26
|
+
import "./pi-embedded-helpers-BbBfO9m_.js";
|
|
27
|
+
import "./sandbox-B6P9-J8g.js";
|
|
28
|
+
import "./chrome-BxWRyWC_.js";
|
|
29
29
|
import "./tailscale-BsA0YClX.js";
|
|
30
30
|
import "./auth-DIdzV4_r.js";
|
|
31
|
-
import "./server-context-
|
|
32
|
-
import "./routes-
|
|
31
|
+
import "./server-context-Vd9sEFb9.js";
|
|
32
|
+
import "./routes-CWYyvbxi.js";
|
|
33
33
|
import "./redact-KvsGzUFH.js";
|
|
34
34
|
import "./errors-TVUWuVoP.js";
|
|
35
35
|
import "./fs-safe-DzJT_iD4.js";
|
|
@@ -41,10 +41,10 @@ import "./trash-CF1G530Y.js";
|
|
|
41
41
|
import "./dock-Cq5LxV1L.js";
|
|
42
42
|
import "./paths-CNexk5_o.js";
|
|
43
43
|
import "./thinking-BDh5LPh-.js";
|
|
44
|
-
import "./models-config-
|
|
44
|
+
import "./models-config-C2OLw8vc.js";
|
|
45
45
|
import "./reply-prefix-B7pYEiW_.js";
|
|
46
|
-
import "./memory-
|
|
47
|
-
import "./manager-
|
|
46
|
+
import "./memory-CjpS9o50.js";
|
|
47
|
+
import "./manager-tYTYy-pH.js";
|
|
48
48
|
import "./sqlite-l3CZYU6t.js";
|
|
49
49
|
import "./chunk-BySyfaEr.js";
|
|
50
50
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -54,17 +54,17 @@ import "./commands-CHkx0oTl.js";
|
|
|
54
54
|
import "./commands-registry-Bccp0eH5.js";
|
|
55
55
|
import "./tool-display-wSdT0Ynz.js";
|
|
56
56
|
import "./tokens-K3kGchJA.js";
|
|
57
|
-
import "./skills-remote-
|
|
58
|
-
import { h as enqueueSystemEvent } from "./redact-identifier-
|
|
57
|
+
import "./skills-remote-DHfuS68n.js";
|
|
58
|
+
import { h as enqueueSystemEvent } from "./redact-identifier-QYENCXvy.js";
|
|
59
59
|
import "./workspace-dirs-23IYtZj2.js";
|
|
60
|
-
import "./model-catalog-
|
|
61
|
-
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-
|
|
62
|
-
import "./skill-commands-
|
|
60
|
+
import "./model-catalog-Ba4R_zVe.js";
|
|
61
|
+
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-CJfEkQQQ.js";
|
|
62
|
+
import "./skill-commands-CcCCVblU.js";
|
|
63
63
|
import "./pairing-store-CtBnCGHZ.js";
|
|
64
64
|
import "./exec-approvals-B8n8es8o.js";
|
|
65
65
|
import "./nodes-screen-Bkq2kswx.js";
|
|
66
66
|
import "./session-cost-usage-Cj3vd7lZ.js";
|
|
67
|
-
import "./control-service-
|
|
67
|
+
import "./control-service-BTydj9Kk.js";
|
|
68
68
|
import "./stagger-C2kEx8j9.js";
|
|
69
69
|
import "./channel-selection-p35DYzAL.js";
|
|
70
70
|
import "./delivery-queue-nheCYaMd.js";
|
|
@@ -74,13 +74,13 @@ import "./links-Db3Rw0Tg.js";
|
|
|
74
74
|
import "./cli-utils-BqMwAlgf.js";
|
|
75
75
|
import "./help-format-DbbIlOje.js";
|
|
76
76
|
import "./progress-C4ck6JXh.js";
|
|
77
|
-
import "./memory-cli-
|
|
77
|
+
import "./memory-cli-CbV91o_X.js";
|
|
78
78
|
import "./logging-D0L9TWhE.js";
|
|
79
|
-
import "./replies-
|
|
80
|
-
import "./pi-tools.policy
|
|
81
|
-
import { t as createOutboundSendDeps } from "./outbound-send-deps-
|
|
82
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
83
|
-
import { t as agentCommand } from "./agent-
|
|
79
|
+
import "./replies-DIWartyA.js";
|
|
80
|
+
import "./pi-tools.policy--USPnaLr.js";
|
|
81
|
+
import { t as createOutboundSendDeps } from "./outbound-send-deps-CBRh4LsL.js";
|
|
82
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-qCbh6Vhl.js";
|
|
83
|
+
import { t as agentCommand } from "./agent-CDUpwXQX.js";
|
|
84
84
|
import { randomUUID } from "node:crypto";
|
|
85
85
|
|
|
86
86
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveGatewayLaunchAgentLabel, f as resolveGatewayWindowsTaskName, p as resolveLegacyGatewayLaunchAgentLabels, t as GATEWAY_LAUNCH_AGENT_LABEL, u as resolveGatewayServiceDescription } from "./constants-DsZw7bas.js";
|
|
2
|
-
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-
|
|
2
|
+
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-8KKQdTO_.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/launchd-plist.ts
|
|
7
7
|
const plistEscape = (value) => value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
@@ -14,7 +14,7 @@ const renderEnvDict = (env) => {
|
|
|
14
14
|
};
|
|
15
15
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
16
16
|
try {
|
|
17
|
-
const plist = await
|
|
17
|
+
const plist = await fsPromises.readFile(plistPath, "utf8");
|
|
18
18
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
19
19
|
if (!programMatch) return null;
|
|
20
20
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -128,7 +128,7 @@ async function isLaunchAgentListed(args) {
|
|
|
128
128
|
async function launchAgentPlistExists(env) {
|
|
129
129
|
try {
|
|
130
130
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
131
|
-
await
|
|
131
|
+
await fsPromises.access(plistPath);
|
|
132
132
|
return true;
|
|
133
133
|
} catch {
|
|
134
134
|
return false;
|
|
@@ -188,7 +188,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
188
188
|
]);
|
|
189
189
|
await execLaunchctl(["unload", plistPath]);
|
|
190
190
|
try {
|
|
191
|
-
await
|
|
191
|
+
await fsPromises.access(plistPath);
|
|
192
192
|
} catch {
|
|
193
193
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
194
194
|
return;
|
|
@@ -197,8 +197,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
197
197
|
const trashDir = path.join(home, ".Trash");
|
|
198
198
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
199
199
|
try {
|
|
200
|
-
await
|
|
201
|
-
await
|
|
200
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
201
|
+
await fsPromises.rename(plistPath, dest);
|
|
202
202
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
203
203
|
} catch {
|
|
204
204
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -221,7 +221,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
221
221
|
}
|
|
222
222
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
223
223
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
224
|
-
await
|
|
224
|
+
await fsPromises.mkdir(logDir, { recursive: true });
|
|
225
225
|
const domain = resolveGuiDomain();
|
|
226
226
|
const label = resolveLaunchAgentLabel({ env });
|
|
227
227
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.SYMI_PROFILE)) {
|
|
@@ -233,11 +233,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
233
233
|
]);
|
|
234
234
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
235
235
|
try {
|
|
236
|
-
await
|
|
236
|
+
await fsPromises.unlink(legacyPlistPath);
|
|
237
237
|
} catch {}
|
|
238
238
|
}
|
|
239
239
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
240
|
-
await
|
|
240
|
+
await fsPromises.mkdir(path.dirname(plistPath), { recursive: true });
|
|
241
241
|
const plist = buildLaunchAgentPlist({
|
|
242
242
|
label,
|
|
243
243
|
comment: resolveGatewayServiceDescription({
|
|
@@ -251,7 +251,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
251
251
|
stderrPath,
|
|
252
252
|
environment
|
|
253
253
|
});
|
|
254
|
-
await
|
|
254
|
+
await fsPromises.writeFile(plistPath, plist, "utf8");
|
|
255
255
|
await execLaunchctl([
|
|
256
256
|
"bootout",
|
|
257
257
|
domain,
|
|
@@ -408,7 +408,7 @@ function resolveTaskUser(env) {
|
|
|
408
408
|
async function readScheduledTaskCommand(env) {
|
|
409
409
|
const scriptPath = resolveTaskScriptPath(env);
|
|
410
410
|
try {
|
|
411
|
-
const content = await
|
|
411
|
+
const content = await fsPromises.readFile(scriptPath, "utf8");
|
|
412
412
|
let workingDirectory = "";
|
|
413
413
|
let commandLine = "";
|
|
414
414
|
const environment = {};
|
|
@@ -476,7 +476,7 @@ async function assertSchtasksAvailable() {
|
|
|
476
476
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
477
477
|
await assertSchtasksAvailable();
|
|
478
478
|
const scriptPath = resolveTaskScriptPath(env);
|
|
479
|
-
await
|
|
479
|
+
await fsPromises.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
480
480
|
const script = buildTaskScript({
|
|
481
481
|
description: resolveGatewayServiceDescription({
|
|
482
482
|
env,
|
|
@@ -487,7 +487,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
487
487
|
workingDirectory,
|
|
488
488
|
environment
|
|
489
489
|
});
|
|
490
|
-
await
|
|
490
|
+
await fsPromises.writeFile(scriptPath, script, "utf8");
|
|
491
491
|
const taskName = resolveTaskName(env);
|
|
492
492
|
const baseArgs = [
|
|
493
493
|
"/Create",
|
|
@@ -539,7 +539,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
539
539
|
]);
|
|
540
540
|
const scriptPath = resolveTaskScriptPath(env);
|
|
541
541
|
try {
|
|
542
|
-
await
|
|
542
|
+
await fsPromises.unlink(scriptPath);
|
|
543
543
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
544
544
|
} catch {
|
|
545
545
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-B6oWJSJW.js";
|
|
3
|
-
import { c as trimLogTail } from "./redact-identifier-
|
|
3
|
+
import { c as trimLogTail } from "./redact-identifier-QYENCXvy.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B5BrwGRs.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-C1JNxsic.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -931,4 +931,18 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
//#endregion
|
|
934
|
-
|
|
934
|
+
//#region src/agents/session-dirs.ts
|
|
935
|
+
async function resolveAgentSessionDirs(stateDir) {
|
|
936
|
+
const agentsDir = path.join(stateDir, "agents");
|
|
937
|
+
let entries = [];
|
|
938
|
+
try {
|
|
939
|
+
entries = await fs.readdir(agentsDir, { withFileTypes: true });
|
|
940
|
+
} catch (err) {
|
|
941
|
+
if (err.code === "ENOENT") return [];
|
|
942
|
+
throw err;
|
|
943
|
+
}
|
|
944
|
+
return entries.filter((entry) => entry.isDirectory()).map((entry) => path.join(agentsDir, entry.name, "sessions")).toSorted((a, b) => a.localeCompare(b));
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
//#endregion
|
|
948
|
+
export { detectGlobalInstallManagerForRoot as a, readPackageName as c, detectGlobalInstallManagerByPresence as i, readPackageVersion as l, runGatewayUpdate as n, globalInstallArgs as o, cleanupGlobalRenameDirs as r, resolveGlobalPackageRoot as s, resolveAgentSessionDirs as t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { f as pathExists } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
3
|
-
import { h as trimLogTail } from "./session-utils-
|
|
4
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
5
|
-
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-
|
|
3
|
+
import { h as trimLogTail } from "./session-utils-CqSXwGYa.js";
|
|
4
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-D22DSxhv.js";
|
|
5
|
+
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-BdSIMYWq.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/infra/package-json.ts
|
|
11
11
|
async function readPackageVersion(root) {
|
|
12
12
|
try {
|
|
13
|
-
const raw = await
|
|
13
|
+
const raw = await fsPromises.readFile(path.join(root, "package.json"), "utf-8");
|
|
14
14
|
const parsed = JSON.parse(raw);
|
|
15
15
|
return typeof parsed?.version === "string" ? parsed.version : null;
|
|
16
16
|
} catch {
|
|
@@ -19,7 +19,7 @@ async function readPackageVersion(root) {
|
|
|
19
19
|
}
|
|
20
20
|
async function readPackageName(root) {
|
|
21
21
|
try {
|
|
22
|
-
const raw = await
|
|
22
|
+
const raw = await fsPromises.readFile(path.join(root, "package.json"), "utf-8");
|
|
23
23
|
const name = JSON.parse(raw)?.name?.trim();
|
|
24
24
|
return name ? name : null;
|
|
25
25
|
} catch {
|
|
@@ -39,7 +39,7 @@ const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
|
|
|
39
39
|
];
|
|
40
40
|
async function tryRealpath(targetPath) {
|
|
41
41
|
try {
|
|
42
|
-
return await
|
|
42
|
+
return await fsPromises.realpath(targetPath);
|
|
43
43
|
} catch {
|
|
44
44
|
return path.resolve(targetPath);
|
|
45
45
|
}
|
|
@@ -140,7 +140,7 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
140
140
|
const prefix = `${GLOBAL_RENAME_PREFIX}${name}-`;
|
|
141
141
|
let entries = [];
|
|
142
142
|
try {
|
|
143
|
-
entries = await
|
|
143
|
+
entries = await fsPromises.readdir(root);
|
|
144
144
|
} catch {
|
|
145
145
|
return { removed };
|
|
146
146
|
}
|
|
@@ -148,8 +148,8 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
148
148
|
if (!entry.startsWith(prefix)) continue;
|
|
149
149
|
const target = path.join(root, entry);
|
|
150
150
|
try {
|
|
151
|
-
if (!(await
|
|
152
|
-
await
|
|
151
|
+
if (!(await fsPromises.lstat(target)).isDirectory()) continue;
|
|
152
|
+
await fsPromises.rm(target, {
|
|
153
153
|
recursive: true,
|
|
154
154
|
force: true
|
|
155
155
|
});
|
|
@@ -261,7 +261,7 @@ async function findPackageRoot(candidates) {
|
|
|
261
261
|
for (let i = 0; i < 12; i += 1) {
|
|
262
262
|
const pkgPath = path.join(current, "package.json");
|
|
263
263
|
try {
|
|
264
|
-
const raw = await
|
|
264
|
+
const raw = await fsPromises.readFile(pkgPath, "utf-8");
|
|
265
265
|
const name = JSON.parse(raw)?.name?.trim();
|
|
266
266
|
if (name && CORE_PACKAGE_NAMES.has(name)) return current;
|
|
267
267
|
} catch {}
|
|
@@ -543,7 +543,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
543
543
|
durationMs: Date.now() - startedAt
|
|
544
544
|
};
|
|
545
545
|
const manager = await detectPackageManager(gitRoot);
|
|
546
|
-
const preflightRoot = await
|
|
546
|
+
const preflightRoot = await fsPromises.mkdtemp(path.join(os.tmpdir(), "symi-update-preflight-"));
|
|
547
547
|
const worktreeDir = path.join(preflightRoot, "worktree");
|
|
548
548
|
const worktreeStep = await runStep(step("preflight worktree", [
|
|
549
549
|
"git",
|
|
@@ -557,7 +557,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
557
557
|
], gitRoot));
|
|
558
558
|
steps.push(worktreeStep);
|
|
559
559
|
if (worktreeStep.exitCode !== 0) {
|
|
560
|
-
await
|
|
560
|
+
await fsPromises.rm(preflightRoot, {
|
|
561
561
|
recursive: true,
|
|
562
562
|
force: true
|
|
563
563
|
}).catch(() => {});
|
|
@@ -621,7 +621,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
621
621
|
cwd: gitRoot,
|
|
622
622
|
timeoutMs
|
|
623
623
|
}).catch(() => null);
|
|
624
|
-
await
|
|
624
|
+
await fsPromises.rm(preflightRoot, {
|
|
625
625
|
recursive: true,
|
|
626
626
|
force: true
|
|
627
627
|
}).catch(() => {});
|
|
@@ -769,7 +769,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
769
769
|
durationMs: Date.now() - startedAt
|
|
770
770
|
};
|
|
771
771
|
const doctorEntry = path.join(gitRoot, "symi.mjs");
|
|
772
|
-
if (!await
|
|
772
|
+
if (!await fsPromises.stat(doctorEntry).then(() => true).catch(() => false)) {
|
|
773
773
|
steps.push({
|
|
774
774
|
name: "symi doctor entry",
|
|
775
775
|
command: `verify ${doctorEntry}`,
|
|
@@ -931,4 +931,18 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
//#endregion
|
|
934
|
-
|
|
934
|
+
//#region src/agents/session-dirs.ts
|
|
935
|
+
async function resolveAgentSessionDirs(stateDir) {
|
|
936
|
+
const agentsDir = path.join(stateDir, "agents");
|
|
937
|
+
let entries = [];
|
|
938
|
+
try {
|
|
939
|
+
entries = await fsPromises.readdir(agentsDir, { withFileTypes: true });
|
|
940
|
+
} catch (err) {
|
|
941
|
+
if (err.code === "ENOENT") return [];
|
|
942
|
+
throw err;
|
|
943
|
+
}
|
|
944
|
+
return entries.filter((entry) => entry.isDirectory()).map((entry) => path.join(agentsDir, entry.name, "sessions")).toSorted((a, b) => a.localeCompare(b));
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
//#endregion
|
|
948
|
+
export { detectGlobalInstallManagerForRoot as a, readPackageName as c, detectGlobalInstallManagerByPresence as i, readPackageVersion as l, runGatewayUpdate as n, globalInstallArgs as o, cleanupGlobalRenameDirs as r, resolveGlobalPackageRoot as s, resolveAgentSessionDirs as t };
|
|
@@ -2,10 +2,10 @@ import { o as createSubsystemLogger, vt as resolveStateDir } from "./entry.js";
|
|
|
2
2
|
import { H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, R as parseModelRef, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-Bs5D0GUv.js";
|
|
3
3
|
import { o as normalizeAgentId, s as normalizeMainKey, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-BfskPVEs.js";
|
|
4
4
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-B6p555mP.js";
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
6
|
-
import { F as resolveMainSessionKey, J as normalizeSessionDeliveryFields, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, b as readSessionTitleFieldsFromTranscript, j as resolveFreshSessionTotalTokens, o as loadSessionStore, x as resolveSessionTranscriptCandidates, z as buildGroupDisplayName } from "./sessions-
|
|
5
|
+
import { i as loadConfig } from "./config-Cw7uo7Dh.js";
|
|
6
|
+
import { F as resolveMainSessionKey, J as normalizeSessionDeliveryFields, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, b as readSessionTitleFieldsFromTranscript, j as resolveFreshSessionTotalTokens, o as loadSessionStore, x as resolveSessionTranscriptCandidates, z as buildGroupDisplayName } from "./sessions-BHrlpR92.js";
|
|
7
7
|
import { c as resolveStorePath } from "./paths-CNexk5_o.js";
|
|
8
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
8
|
+
import { t as ensureSymiModelsJson } from "./models-config-C2OLw8vc.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
|