@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
|
@@ -2,23 +2,23 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
3
3
|
import { u as isRecord } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import { Et as normalizeSecretInput, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, L as normalizeProviderId, R as parseModelRef, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, h as listProfilesForProvider, m as dedupeProfileIds, n as resolveAuthProfileOrder, yt as getCustomProviderApiKey } from "./auth-profiles-
|
|
5
|
+
import { Et as normalizeSecretInput, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, L as normalizeProviderId, R as parseModelRef, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, h as listProfilesForProvider, m as dedupeProfileIds, n as resolveAuthProfileOrder, yt as getCustomProviderApiKey } from "./auth-profiles-BDvJK1Bg.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
7
|
import { o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, s as normalizeMainKey, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
8
8
|
import { i as logDebug } from "./exec-DKyLtSjm.js";
|
|
9
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
10
|
-
import { i as loadConfig } from "./config-
|
|
11
|
-
import { B as resolveAgentMainSessionKey, D as resolveSessionTranscriptCandidates, E as readSessionTitleFieldsFromTranscript, H as resolveMainSessionKey, K as buildGroupDisplayName, R as resolveFreshSessionTotalTokens, o as loadSessionStore, y as normalizeSessionDeliveryFields, z as canonicalizeMainSessionAlias } from "./sessions-
|
|
9
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
10
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
11
|
+
import { B as resolveAgentMainSessionKey, D as resolveSessionTranscriptCandidates, E as readSessionTitleFieldsFromTranscript, H as resolveMainSessionKey, K as buildGroupDisplayName, R as resolveFreshSessionTotalTokens, o as loadSessionStore, y as normalizeSessionDeliveryFields, z as canonicalizeMainSessionAlias } from "./sessions-DorP6zY8.js";
|
|
12
12
|
import { n as listChannelPlugins } from "./plugins-DuuHorqi.js";
|
|
13
13
|
import { c as resolveStorePath } from "./paths-CJcw9nbZ.js";
|
|
14
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
14
|
+
import { t as ensureSymiModelsJson } from "./models-config-Dh1tABIl.js";
|
|
15
15
|
import { t as bindAbortRelay } from "./fetch-timeout-CgmRK282.js";
|
|
16
16
|
import { n as formatTimeAgo } from "./format-relative-Vm-Tqk0h.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import fs from "node:fs";
|
|
20
20
|
import os from "node:os";
|
|
21
|
-
import
|
|
21
|
+
import fsPromises from "node:fs/promises";
|
|
22
22
|
|
|
23
23
|
//#region src/logging/redact-identifier.ts
|
|
24
24
|
function sha256HexPrefix(value, len = 12) {
|
|
@@ -1428,27 +1428,27 @@ function resolveRestartSentinelPath(env = process.env) {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
async function writeRestartSentinel(payload, env = process.env) {
|
|
1430
1430
|
const filePath = resolveRestartSentinelPath(env);
|
|
1431
|
-
await
|
|
1431
|
+
await fsPromises.mkdir(path.dirname(filePath), { recursive: true });
|
|
1432
1432
|
const data = {
|
|
1433
1433
|
version: 1,
|
|
1434
1434
|
payload
|
|
1435
1435
|
};
|
|
1436
|
-
await
|
|
1436
|
+
await fsPromises.writeFile(filePath, `${JSON.stringify(data, null, 2)}\n`, "utf-8");
|
|
1437
1437
|
return filePath;
|
|
1438
1438
|
}
|
|
1439
1439
|
async function readRestartSentinel(env = process.env) {
|
|
1440
1440
|
const filePath = resolveRestartSentinelPath(env);
|
|
1441
1441
|
try {
|
|
1442
|
-
const raw = await
|
|
1442
|
+
const raw = await fsPromises.readFile(filePath, "utf-8");
|
|
1443
1443
|
let parsed;
|
|
1444
1444
|
try {
|
|
1445
1445
|
parsed = JSON.parse(raw);
|
|
1446
1446
|
} catch {
|
|
1447
|
-
await
|
|
1447
|
+
await fsPromises.unlink(filePath).catch(() => {});
|
|
1448
1448
|
return null;
|
|
1449
1449
|
}
|
|
1450
1450
|
if (!parsed || parsed.version !== 1 || !parsed.payload) {
|
|
1451
|
-
await
|
|
1451
|
+
await fsPromises.unlink(filePath).catch(() => {});
|
|
1452
1452
|
return null;
|
|
1453
1453
|
}
|
|
1454
1454
|
return parsed;
|
|
@@ -1460,7 +1460,7 @@ async function consumeRestartSentinel(env = process.env) {
|
|
|
1460
1460
|
const filePath = resolveRestartSentinelPath(env);
|
|
1461
1461
|
const parsed = await readRestartSentinel(env);
|
|
1462
1462
|
if (!parsed) return null;
|
|
1463
|
-
await
|
|
1463
|
+
await fsPromises.unlink(filePath).catch(() => {});
|
|
1464
1464
|
return parsed;
|
|
1465
1465
|
}
|
|
1466
1466
|
function formatRestartSentinelMessage(payload) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { At as normalizeE164, an as resolveRequiredHomeDir, o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { D as resolveProcessScopedMap, O as isPidAlive } from "./auth-profiles-Bs5D0GUv.js";
|
|
3
3
|
import { h as normalizeOptionalAccountId, o as normalizeAgentId, r as buildAgentMainSessionKey, s as normalizeMainKey, t as DEFAULT_AGENT_ID } from "./session-key-BfskPVEs.js";
|
|
4
|
-
import { f as parseDurationMs, i as loadConfig, p as parseByteSize } from "./config-
|
|
4
|
+
import { f as parseDurationMs, i as loadConfig, p as parseByteSize } from "./config-Cw7uo7Dh.js";
|
|
5
5
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-CNPAq1Tl.js";
|
|
6
6
|
import { r as hasInterSessionUserProvenance } from "./input-provenance-D0lNkCf6.js";
|
|
7
7
|
import { t as normalizeChatType } from "./chat-type-BYHUZIi_.js";
|
|
@@ -2,11 +2,11 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { H as info, Q as theme, Z as isRich } from "./entry.js";
|
|
3
3
|
import { Ht as DEFAULT_MODEL, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-Bs5D0GUv.js";
|
|
4
4
|
import { x as parseAgentSessionKey } from "./session-key-BfskPVEs.js";
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
6
|
-
import { j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-
|
|
5
|
+
import { i as loadConfig } from "./config-Cw7uo7Dh.js";
|
|
6
|
+
import { j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-BHrlpR92.js";
|
|
7
7
|
import { c as resolveStorePath } from "./paths-CNexk5_o.js";
|
|
8
8
|
import { n as formatTimeAgo } from "./format-relative-Cyq001S7.js";
|
|
9
|
-
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-
|
|
9
|
+
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-CJfEkQQQ.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/sessions.ts
|
|
12
12
|
var sessions_exports = /* @__PURE__ */ __exportAll({ sessionsCommand: () => sessionsCommand });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { y as resolveRequiredHomeDir } from "./paths-BSzKwaxE.js";
|
|
2
2
|
import { d as normalizeE164 } from "./utils-BU8jVQFM.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
4
|
-
import { D as resolveProcessScopedMap, O as isPidAlive } from "./auth-profiles-
|
|
4
|
+
import { D as resolveProcessScopedMap, O as isPidAlive } from "./auth-profiles-BDvJK1Bg.js";
|
|
5
5
|
import { h as normalizeOptionalAccountId, o as normalizeAgentId, r as buildAgentMainSessionKey, s as normalizeMainKey, t as DEFAULT_AGENT_ID } from "./session-key-B_ZVH1kE.js";
|
|
6
|
-
import { f as parseDurationMs, i as loadConfig, p as parseByteSize } from "./config-
|
|
6
|
+
import { f as parseDurationMs, i as loadConfig, p as parseByteSize } from "./config-BEaq2Sb6.js";
|
|
7
7
|
import { s as normalizeHyphenSlug, t as getChannelDock } from "./dock-CnGWTXL4.js";
|
|
8
8
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-C_V8IAYx.js";
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-B7XD_ESN.js";
|
|
@@ -17,7 +17,7 @@ import crypto from "node:crypto";
|
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import fs from "node:fs";
|
|
19
19
|
import os from "node:os";
|
|
20
|
-
import
|
|
20
|
+
import fsPromises from "node:fs/promises";
|
|
21
21
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
22
22
|
|
|
23
23
|
//#region src/agents/session-write-lock.ts
|
|
@@ -82,7 +82,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
|
|
|
82
82
|
await held.handle.close();
|
|
83
83
|
} catch {}
|
|
84
84
|
try {
|
|
85
|
-
await
|
|
85
|
+
await fsPromises.rm(held.lockPath, { force: true });
|
|
86
86
|
} catch {}
|
|
87
87
|
})();
|
|
88
88
|
try {
|
|
@@ -161,7 +161,7 @@ function registerCleanupHandlers() {
|
|
|
161
161
|
}
|
|
162
162
|
async function readLockPayload(lockPath) {
|
|
163
163
|
try {
|
|
164
|
-
const raw = await
|
|
164
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
165
165
|
const parsed = JSON.parse(raw);
|
|
166
166
|
const payload = {};
|
|
167
167
|
if (typeof parsed.pid === "number") payload.pid = parsed.pid;
|
|
@@ -198,7 +198,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
198
198
|
const nowMs = params.nowMs ?? Date.now();
|
|
199
199
|
let entries = [];
|
|
200
200
|
try {
|
|
201
|
-
entries = await
|
|
201
|
+
entries = await fsPromises.readdir(sessionsDir, { withFileTypes: true });
|
|
202
202
|
} catch (err) {
|
|
203
203
|
if (err.code === "ENOENT") return {
|
|
204
204
|
locks: [],
|
|
@@ -217,7 +217,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
217
217
|
removed: false
|
|
218
218
|
};
|
|
219
219
|
if (lockInfo.stale && removeStale) {
|
|
220
|
-
await
|
|
220
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
221
221
|
lockInfo.removed = true;
|
|
222
222
|
cleaned.push(lockInfo);
|
|
223
223
|
params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
|
|
@@ -236,10 +236,10 @@ async function acquireSessionWriteLock(params) {
|
|
|
236
236
|
const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
|
|
237
237
|
const sessionFile = path.resolve(params.sessionFile);
|
|
238
238
|
const sessionDir = path.dirname(sessionFile);
|
|
239
|
-
await
|
|
239
|
+
await fsPromises.mkdir(sessionDir, { recursive: true });
|
|
240
240
|
let normalizedDir = sessionDir;
|
|
241
241
|
try {
|
|
242
|
-
normalizedDir = await
|
|
242
|
+
normalizedDir = await fsPromises.realpath(sessionDir);
|
|
243
243
|
} catch {}
|
|
244
244
|
const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
|
|
245
245
|
const lockPath = `${normalizedSessionFile}.lock`;
|
|
@@ -256,7 +256,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
256
256
|
while (Date.now() - startedAt < timeoutMs) {
|
|
257
257
|
attempt += 1;
|
|
258
258
|
try {
|
|
259
|
-
const handle = await
|
|
259
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
260
260
|
const createdAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
261
261
|
await handle.writeFile(JSON.stringify({
|
|
262
262
|
pid: process.pid,
|
|
@@ -276,7 +276,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
276
276
|
} catch (err) {
|
|
277
277
|
if (err.code !== "EEXIST") throw err;
|
|
278
278
|
if (inspectLockPayload(await readLockPayload(lockPath), staleMs, Date.now()).stale) {
|
|
279
|
-
await
|
|
279
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
280
280
|
continue;
|
|
281
281
|
}
|
|
282
282
|
const delay = Math.min(1e3, 50 * attempt);
|
|
@@ -2,7 +2,7 @@ import { F as modelKey, Ut as DEFAULT_PROVIDER, W as resolveModelRefFromString,
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
3
3
|
import { o as normalizeAgentId } from "./session-key-BfskPVEs.js";
|
|
4
4
|
import { n as listAgentIds } from "./agent-scope-B6p555mP.js";
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-Cw7uo7Dh.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as modelKey, Ut as DEFAULT_PROVIDER, W as resolveModelRefFromString, j as buildModelAliasIndex } from "./auth-profiles-
|
|
1
|
+
import { F as modelKey, Ut as DEFAULT_PROVIDER, W as resolveModelRefFromString, j as buildModelAliasIndex } from "./auth-profiles-BDvJK1Bg.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
3
3
|
import { o as normalizeAgentId } from "./session-key-B_ZVH1kE.js";
|
|
4
|
-
import { n as listAgentIds } from "./agent-scope-
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
4
|
+
import { n as listAgentIds } from "./agent-scope-CKTVXF_1.js";
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BEaq2Sb6.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
3
3
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-DsZw7bas.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-9ItKCWWS.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -3,7 +3,7 @@ import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
|
3
3
|
import { I as CONFIG_DIR, K as resolveUserPath } from "./registry-CANRzFn-.js";
|
|
4
4
|
import { o as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-DZEuQYrq.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-Bzq1QhtO.js";
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-Bn0f9KTL.js";
|
|
7
7
|
import { n as listChatCommands } from "./commands-registry-BRWqR35Z.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, n as listAgentIds } from "./agent-scope-B6p555mP.js";
|
|
3
|
-
import { n as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
3
|
+
import { n as buildWorkspaceSkillCommandSpecs } from "./skills-BP6p7GnN.js";
|
|
4
4
|
import { n as listChatCommands } from "./commands-registry-Bccp0eH5.js";
|
|
5
|
-
import { t as getRemoteSkillEligibility } from "./skills-remote-
|
|
5
|
+
import { t as getRemoteSkillEligibility } from "./skills-remote-DHfuS68n.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/skill-commands.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveAgentWorkspaceDir, n as listAgentIds } from "./agent-scope-
|
|
3
|
-
import { n as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
4
|
-
import { n as listChatCommands } from "./commands-registry-
|
|
5
|
-
import { t as getRemoteSkillEligibility } from "./skills-remote-
|
|
2
|
+
import { c as resolveAgentWorkspaceDir, n as listAgentIds } from "./agent-scope-CKTVXF_1.js";
|
|
3
|
+
import { n as buildWorkspaceSkillCommandSpecs } from "./skills-DS1Vdylm.js";
|
|
4
|
+
import { n as listChatCommands } from "./commands-registry-CLePPNDW.js";
|
|
5
|
+
import { t as getRemoteSkillEligibility } from "./skills-remote-BDSyRdyX.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/skill-commands.ts
|
|
@@ -3,7 +3,7 @@ import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
|
3
3
|
import { Y as resolveUserPath, z as CONFIG_DIR } from "./registry-C-JddWwo.js";
|
|
4
4
|
import { o as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-B1Ina6jV.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-DaU_5XvP.js";
|
|
7
7
|
import { n as listChatCommands } from "./commands-registry-CBFyeJ5K.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as isPathInside } from "./legacy-names-
|
|
1
|
+
import { i as isPathInside } from "./legacy-names-Catogrri.js";
|
|
2
2
|
import { i as hasErrnoCode } from "./errors-Z-WkF18Q.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/security/skill-scanner.ts
|
|
7
7
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
@@ -154,7 +154,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
154
154
|
while (stack.length > 0 && files.length < maxFiles) {
|
|
155
155
|
const currentDir = stack.pop();
|
|
156
156
|
if (!currentDir) break;
|
|
157
|
-
const entries = await
|
|
157
|
+
const entries = await fsPromises.readdir(currentDir, { withFileTypes: true });
|
|
158
158
|
for (const entry of entries) {
|
|
159
159
|
if (files.length >= maxFiles) break;
|
|
160
160
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
@@ -176,7 +176,7 @@ async function resolveForcedFiles(params) {
|
|
|
176
176
|
if (seen.has(includePath)) continue;
|
|
177
177
|
let st = null;
|
|
178
178
|
try {
|
|
179
|
-
st = await
|
|
179
|
+
st = await fsPromises.stat(includePath);
|
|
180
180
|
} catch (err) {
|
|
181
181
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
182
182
|
throw err;
|
|
@@ -208,14 +208,14 @@ async function collectScannableFiles(dirPath, opts) {
|
|
|
208
208
|
async function readScannableSource(filePath, maxFileBytes) {
|
|
209
209
|
let st = null;
|
|
210
210
|
try {
|
|
211
|
-
st = await
|
|
211
|
+
st = await fsPromises.stat(filePath);
|
|
212
212
|
} catch (err) {
|
|
213
213
|
if (hasErrnoCode(err, "ENOENT")) return null;
|
|
214
214
|
throw err;
|
|
215
215
|
}
|
|
216
216
|
if (!st?.isFile() || st.size > maxFileBytes) return null;
|
|
217
217
|
try {
|
|
218
|
-
return await
|
|
218
|
+
return await fsPromises.readFile(filePath, "utf-8");
|
|
219
219
|
} catch (err) {
|
|
220
220
|
if (hasErrnoCode(err, "ENOENT")) return null;
|
|
221
221
|
throw err;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Pt as resolveUserPath, bt as CONFIG_DIR, o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { i as normalizeSkillFilter, n as resolveSymiPackageRootSync } from "./symi-root-CK6iELVh.js";
|
|
3
|
-
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-
|
|
4
|
-
import { d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-
|
|
3
|
+
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-B4levtVg.js";
|
|
4
|
+
import { d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-DJcKcUQ9.js";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
@@ -2,7 +2,7 @@ import { I as CONFIG_DIR, K as resolveUserPath } from "./registry-CANRzFn-.js";
|
|
|
2
2
|
import { A as normalizeSkillFilter, S as resolveSymiPackageRootSync } from "./agent-scope-DZEuQYrq.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Bzq1QhtO.js";
|
|
4
4
|
import { N as parseBooleanValue } from "./model-selection-DUQlsUfk.js";
|
|
5
|
-
import { a as LEGACY_MANIFEST_KEYS, c as normalizePluginsConfig, l as resolveEnableState, o as MANIFEST_KEY, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
5
|
+
import { a as LEGACY_MANIFEST_KEYS, c as normalizePluginsConfig, l as resolveEnableState, o as MANIFEST_KEY, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-CAWGTwb5.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import os from "node:os";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { i as normalizeSkillFilter, n as resolveSymiPackageRootSync } from "./symi-root-
|
|
4
|
-
import { d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-
|
|
5
|
-
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-
|
|
3
|
+
import { i as normalizeSkillFilter, n as resolveSymiPackageRootSync } from "./symi-root-0MUhiNlM.js";
|
|
4
|
+
import { d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-D_LsBSyt.js";
|
|
5
|
+
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-CHu3sfCM.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
|
-
import
|
|
10
|
+
import fsPromises from "node:fs/promises";
|
|
11
11
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
12
12
|
|
|
13
13
|
//#region src/agents/skills/frontmatter.ts
|
|
@@ -392,7 +392,7 @@ async function assertNoSymlinkEscape(relative, root, options) {
|
|
|
392
392
|
const isLast = idx === parts.length - 1;
|
|
393
393
|
current = path.join(current, part);
|
|
394
394
|
try {
|
|
395
|
-
if ((await
|
|
395
|
+
if ((await fsPromises.lstat(current)).isSymbolicLink()) {
|
|
396
396
|
if (options?.allowFinalSymlink && isLast) return;
|
|
397
397
|
const target = await tryRealpath(current);
|
|
398
398
|
if (!isPathInside(rootReal, target)) throw new Error(`Symlink escapes sandbox root (${shortPath(rootReal)}): ${shortPath(current)}`);
|
|
@@ -406,7 +406,7 @@ async function assertNoSymlinkEscape(relative, root, options) {
|
|
|
406
406
|
}
|
|
407
407
|
async function tryRealpath(value) {
|
|
408
408
|
try {
|
|
409
|
-
return await
|
|
409
|
+
return await fsPromises.realpath(value);
|
|
410
410
|
} catch {
|
|
411
411
|
return path.resolve(value);
|
|
412
412
|
}
|
|
@@ -2,8 +2,8 @@ import { Y as resolveUserPath, z as CONFIG_DIR } from "./registry-C-JddWwo.js";
|
|
|
2
2
|
import { d as normalizeSkillFilter } from "./agent-scope-B1Ina6jV.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
4
4
|
import { h as resolveSymiPackageRootSync } from "./workspace-CsaDUuDn.js";
|
|
5
|
-
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
6
|
-
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-
|
|
5
|
+
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-C0nJ3Ja3.js";
|
|
6
|
+
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-CwO0i5Q7.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -2,15 +2,15 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import { v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BDvJK1Bg.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
7
|
import "./exec-DKyLtSjm.js";
|
|
8
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
8
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
9
9
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
10
10
|
import "./boolean-Wzu0-e0P.js";
|
|
11
11
|
import "./env-B97Ms861.js";
|
|
12
|
-
import { i as loadConfig } from "./config-
|
|
13
|
-
import "./manifest-registry-
|
|
12
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
13
|
+
import "./manifest-registry-D_LsBSyt.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
15
15
|
import { t as renderTable } from "./table-DkAQzCOR.js";
|
|
16
16
|
|
|
@@ -236,7 +236,7 @@ function registerSkillsCli(program) {
|
|
|
236
236
|
try {
|
|
237
237
|
const config = loadConfig();
|
|
238
238
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
239
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
239
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-F7nlolZZ.js").then((n) => n.n);
|
|
240
240
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
241
241
|
defaultRuntime.log(formatSkillsList(report, opts));
|
|
242
242
|
} catch (err) {
|
|
@@ -248,7 +248,7 @@ function registerSkillsCli(program) {
|
|
|
248
248
|
try {
|
|
249
249
|
const config = loadConfig();
|
|
250
250
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
251
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
251
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-F7nlolZZ.js").then((n) => n.n);
|
|
252
252
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
253
253
|
defaultRuntime.log(formatSkillInfo(report, name, opts));
|
|
254
254
|
} catch (err) {
|
|
@@ -260,7 +260,7 @@ function registerSkillsCli(program) {
|
|
|
260
260
|
try {
|
|
261
261
|
const config = loadConfig();
|
|
262
262
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
263
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
263
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-F7nlolZZ.js").then((n) => n.n);
|
|
264
264
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
265
265
|
defaultRuntime.log(formatSkillsCheck(report, opts));
|
|
266
266
|
} catch (err) {
|
|
@@ -272,7 +272,7 @@ function registerSkillsCli(program) {
|
|
|
272
272
|
try {
|
|
273
273
|
const config = loadConfig();
|
|
274
274
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
275
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
275
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-F7nlolZZ.js").then((n) => n.n);
|
|
276
276
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
277
277
|
defaultRuntime.log(formatSkillsList(report, {}));
|
|
278
278
|
} catch (err) {
|
|
@@ -4,8 +4,8 @@ import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
|
4
4
|
import "./exec-B6oWJSJW.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-B6p555mP.js";
|
|
6
6
|
import "./github-copilot-token-a6a53zx_.js";
|
|
7
|
-
import "./manifest-registry-
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
7
|
+
import "./manifest-registry-DJcKcUQ9.js";
|
|
8
|
+
import { i as loadConfig } from "./config-Cw7uo7Dh.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
10
10
|
import { t as renderTable } from "./table-CSEp22Mk.js";
|
|
11
11
|
|
|
@@ -231,7 +231,7 @@ function registerSkillsCli(program) {
|
|
|
231
231
|
try {
|
|
232
232
|
const config = loadConfig();
|
|
233
233
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
234
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
234
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-01KNlWUS.js").then((n) => n.n);
|
|
235
235
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
236
236
|
defaultRuntime.log(formatSkillsList(report, opts));
|
|
237
237
|
} catch (err) {
|
|
@@ -243,7 +243,7 @@ function registerSkillsCli(program) {
|
|
|
243
243
|
try {
|
|
244
244
|
const config = loadConfig();
|
|
245
245
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
246
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
246
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-01KNlWUS.js").then((n) => n.n);
|
|
247
247
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
248
248
|
defaultRuntime.log(formatSkillInfo(report, name, opts));
|
|
249
249
|
} catch (err) {
|
|
@@ -255,7 +255,7 @@ function registerSkillsCli(program) {
|
|
|
255
255
|
try {
|
|
256
256
|
const config = loadConfig();
|
|
257
257
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
258
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
258
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-01KNlWUS.js").then((n) => n.n);
|
|
259
259
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
260
260
|
defaultRuntime.log(formatSkillsCheck(report, opts));
|
|
261
261
|
} catch (err) {
|
|
@@ -267,7 +267,7 @@ function registerSkillsCli(program) {
|
|
|
267
267
|
try {
|
|
268
268
|
const config = loadConfig();
|
|
269
269
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
270
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
270
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-01KNlWUS.js").then((n) => n.n);
|
|
271
271
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
272
272
|
defaultRuntime.log(formatSkillsList(report, {}));
|
|
273
273
|
} catch (err) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h as resolveUserPath, p as resolveConfigDir, s as ensureDir } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
3
|
-
import { d as hasBinary } from "./frontmatter-
|
|
4
|
-
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-
|
|
3
|
+
import { d as hasBinary } from "./frontmatter-CHu3sfCM.js";
|
|
4
|
+
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-DS1Vdylm.js";
|
|
5
5
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DG6T0ZdL.js";
|
|
6
6
|
import { t as resolveBrewExecutable } from "./brew-BoKmB5x9.js";
|
|
7
7
|
import { t as isWithinDir } from "./path-safety-pFCZCFPp.js";
|
|
8
|
-
import { a as extractArchive$1, d as resolveArchiveOutputPath, f as stripArchivePath, p as validateArchiveEntryPath, r as safePathSegmentHashed, u as isWindowsDrivePath } from "./install-safe-path-
|
|
9
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
8
|
+
import { a as extractArchive$1, d as resolveArchiveOutputPath, f as stripArchivePath, p as validateArchiveEntryPath, r as safePathSegmentHashed, u as isWindowsDrivePath } from "./install-safe-path-B73BkVO3.js";
|
|
9
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CZK0TG9g.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import { pipeline } from "node:stream/promises";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Et as ensureDir, Mt as resolveConfigDir, Pt as resolveUserPath } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-B6oWJSJW.js";
|
|
3
|
-
import { d as hasBinary } from "./frontmatter-
|
|
4
|
-
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-
|
|
3
|
+
import { d as hasBinary } from "./frontmatter-B4levtVg.js";
|
|
4
|
+
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-BP6p7GnN.js";
|
|
5
5
|
import { t as fetchWithSsrFGuard } from "./fetch-guard--i1VgM2O.js";
|
|
6
6
|
import { t as isWithinDir } from "./path-safety-CnSZJR00.js";
|
|
7
7
|
import { a as extractArchive$1, d as resolveArchiveOutputPath, f as stripArchivePath, p as validateArchiveEntryPath, r as safePathSegmentHashed, u as isWindowsDrivePath } from "./install-safe-path-BiJP_bOf.js";
|
|
8
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
8
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CuoStu03.js";
|
|
9
9
|
import { t as resolveBrewExecutable } from "./brew-B5ek79r9.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { i as loadWorkspaceSkillEntries, s as resolvePluginSkillDirs } from "./skills-
|
|
4
|
-
import { a as upsertPendingPairingRequest, c as writeJsonAtomic, i as resolvePairingPaths, n as verifyPairingToken, o as createAsyncLock, r as pruneExpiredPending, s as readJsonFile, t as generatePairingToken } from "./pairing-token-
|
|
5
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
3
|
+
import { i as loadWorkspaceSkillEntries, s as resolvePluginSkillDirs } from "./skills-DS1Vdylm.js";
|
|
4
|
+
import { a as upsertPendingPairingRequest, c as writeJsonAtomic, i as resolvePairingPaths, n as verifyPairingToken, o as createAsyncLock, r as pruneExpiredPending, s as readJsonFile, t as generatePairingToken } from "./pairing-token-DorpwP8O.js";
|
|
5
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-QmSWJptJ.js";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Pt as resolveUserPath, bt as CONFIG_DIR, o as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { i as loadWorkspaceSkillEntries, s as resolvePluginSkillDirs } from "./skills-
|
|
2
|
+
import { i as loadWorkspaceSkillEntries, s as resolvePluginSkillDirs } from "./skills-BP6p7GnN.js";
|
|
3
3
|
import { a as upsertPendingPairingRequest, c as writeJsonAtomic, i as resolvePairingPaths, n as verifyPairingToken, o as createAsyncLock, r as pruneExpiredPending, s as readJsonFile, t as generatePairingToken } from "./pairing-token-Bnr7QjVF.js";
|
|
4
4
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-23IYtZj2.js";
|
|
5
5
|
import os from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { bt as CONFIG_DIR, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { t as evaluateEntryMetadataRequirementsForCurrentPlatform } from "./entry-status-BQkcejku.js";
|
|
4
|
-
import { d as hasBinary } from "./frontmatter-
|
|
5
|
-
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-
|
|
4
|
+
import { d as hasBinary } from "./frontmatter-B4levtVg.js";
|
|
5
|
+
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-BP6p7GnN.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_DIR } from "./utils-BU8jVQFM.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
4
|
-
import { d as hasBinary } from "./frontmatter-
|
|
5
|
-
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-
|
|
4
|
+
import { d as hasBinary } from "./frontmatter-CHu3sfCM.js";
|
|
5
|
+
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-DS1Vdylm.js";
|
|
6
6
|
import { t as evaluateEntryMetadataRequirementsForCurrentPlatform } from "./entry-status-B9ZXzXaN.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
2
2
|
import { n as redactSensitiveText } from "./redact-CSc_2Nka.js";
|
|
3
3
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
4
|
-
import { a as hashText } from "./internal-
|
|
4
|
+
import { a as hashText } from "./internal-C3o_xyzP.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsPromises from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/memory/session-files.ts
|
|
10
10
|
const log = createSubsystemLogger("memory");
|
|
11
11
|
async function listSessionFilesForAgent(agentId) {
|
|
12
12
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
13
13
|
try {
|
|
14
|
-
return (await
|
|
14
|
+
return (await fsPromises.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
|
|
15
15
|
} catch {
|
|
16
16
|
return [];
|
|
17
17
|
}
|
|
@@ -41,8 +41,8 @@ function extractSessionText(content) {
|
|
|
41
41
|
}
|
|
42
42
|
async function buildSessionEntry(absPath) {
|
|
43
43
|
try {
|
|
44
|
-
const stat = await
|
|
45
|
-
const lines = (await
|
|
44
|
+
const stat = await fsPromises.stat(absPath);
|
|
45
|
+
const lines = (await fsPromises.readFile(absPath, "utf-8")).split("\n");
|
|
46
46
|
const collected = [];
|
|
47
47
|
const lineMap = [];
|
|
48
48
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|