@symerian/symi 3.4.2 → 3.4.3
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-BcHmIY_n.js → agent--IK5M1T9.js} +18 -18
- package/dist/{agent-CDUpwXQX.js → agent-CKmM2vyY.js} +1 -1
- package/dist/{agent-scope-CKTVXF_1.js → agent-scope-DIjW66iO.js} +18 -18
- package/dist/{agents-Dx_B11LV.js → agents-CyR_QeUn.js} +5 -5
- package/dist/{agents.config-D6lBCMyT.js → agents.config-D1nFwU81.js} +1 -1
- package/dist/{audit-FMN4BTKc.js → audit-DQpLuCNP.js} +2 -2
- package/dist/{audit-CMPCYnHv.js → audit-o0s717ob.js} +21 -21
- package/dist/{auth-choice-BJgf7XV6.js → auth-choice-CUs4WmYv.js} +4 -4
- package/dist/{auth-choice-s1SGAS0u.js → auth-choice-WduOdkq8.js} +8 -8
- package/dist/{auth-choice-options-B5NLwpLs.js → auth-choice-options-BBYiPleR.js} +1 -1
- package/dist/{auth-choice-options-EWUh0VM6.js → auth-choice-options-C5b4PCvw.js} +1 -1
- package/dist/{auth-choice-prompt-BkTmN4sy.js → auth-choice-prompt-D8GvjOBX.js} +1 -1
- package/dist/{auth-choice-prompt-CXcrToaB.js → auth-choice-prompt-DBfm0y9l.js} +1 -1
- package/dist/{auth-profiles-BDvJK1Bg.js → auth-profiles-BFSVvFKy.js} +9 -9
- package/dist/{auth-token-BKp_ClDP.js → auth-token-SebYuqfR.js} +1 -1
- package/dist/{banner-C1DH2kVa.js → banner-CJWij079.js} +1 -1
- package/dist/{browser-cli-DW3CxkSc.js → browser-cli-BdYqssco.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/{call-BjHvYJx2.js → call-CbF18cyd.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-77nGDc70.js → channel-options-CDA0OfJ3.js} +1 -1
- package/dist/{channel-options-BMZyRh5E.js → channel-options-CZEn3Cel.js} +1 -1
- package/dist/{channels-cli-C048Z7h-.js → channels-cli-C84jkCS9.js} +54 -54
- package/dist/{channels-cli-CjQ8Rfpv.js → channels-cli-veDmkOnJ.js} +7 -7
- package/dist/{chrome-droANDig.js → chrome-BWQSyLHT.js} +7 -7
- package/dist/{chrome-BQoO4LXq.js → chrome-D5UEEo4y.js} +2 -2
- package/dist/{cli-CXAyZ9dx.js → cli-BBd1ZRun.js} +42 -42
- package/dist/{cli-CpmVizCT.js → cli-SeEQuQkN.js} +4 -4
- package/dist/{client-Bs2zB0rY.js → client-ZZqt0H0-.js} +1 -1
- package/dist/{command-registry-B9TplwzB.js → command-registry-CVsOBck9.js} +10 -10
- package/dist/{commands-registry-CLePPNDW.js → commands-registry-BNCcZy2y.js} +1 -1
- package/dist/{completion-cli-Dv8CNTMW.js → completion-cli-B5bq51hT.js} +2 -2
- package/dist/{completion-cli-ecfjoaIU.js → completion-cli-BoD_MZfu.js} +12 -12
- package/dist/{config-BEaq2Sb6.js → config-MU0QT0xu.js} +2 -2
- package/dist/{config-cli-zMpHOTSD.js → config-cli--_Qaef5L.js} +1 -1
- package/dist/{config-cli-CAwWFZwh.js → config-cli-Bbb6yrgS.js} +4 -4
- package/dist/{config-guard-29sjAeg8.js → config-guard-BFH1qNlf.js} +6 -6
- package/dist/{config-guard-B2j-KuUQ.js → config-guard-DQgHcGdp.js} +1 -1
- package/dist/{config-validation-Bp2AdKjN.js → config-validation-BkJh21Ko.js} +1 -1
- package/dist/{configure-DvVtZB1V.js → configure-B64O-IVQ.js} +18 -18
- package/dist/{configure-Bh0-A3hM.js → configure-C-39fnS7.js} +11 -11
- package/dist/{consolidate-DeA11kIO.js → consolidate-7Usm-b2g.js} +6 -6
- package/dist/{control-service-DhlgNQGb.js → control-service-D1aZqS0Q.js} +4 -4
- package/dist/{control-ui-assets-D22DSxhv.js → control-ui-assets-DUhvOLUL.js} +1 -1
- package/dist/{cron-cli-Cr8hrEDQ.js → cron-cli-Ch8MwxYs.js} +7 -7
- package/dist/{daemon-cli-OZuuMobs.js → daemon-cli-DbwmIQAj.js} +11 -11
- package/dist/{daemon-runtime-Dr_xKl0r.js → daemon-runtime-DDwhgI7i.js} +10 -10
- package/dist/{deliver-vzAN9mRl.js → deliver-BBoTRer2.js} +4 -4
- package/dist/{deliver-ccf_boim.js → deliver-BX3IOm7k.js} +2 -2
- package/dist/{deps-B6QYsl_-.js → deps-BCywDAi0.js} +1 -1
- package/dist/{devices-cli-DN3SH89Z.js → devices-cli-ZiU2HGbP.js} +6 -6
- package/dist/{diagnostics-nLP2i_BY.js → diagnostics-DxdqTfpW.js} +5 -5
- package/dist/{directory-cli-B72WzWuP.js → directory-cli-DJnKldBM.js} +3 -3
- package/dist/{dm-policy-shared-DiZ3lMtl.js → dm-policy-shared-5HLej1br.js} +1 -1
- package/dist/{dns-cli-DPO4AuUq.js → dns-cli-LhrwMgGE.js} +3 -3
- package/dist/{docs-cli-C2BEC5yU.js → docs-cli-DjQ3SvBq.js} +1 -1
- package/dist/{doctor-completion-Cvu8koMQ.js → doctor-completion-BmJ6Xtlu.js} +2 -2
- package/dist/{doctor-completion-DwrIExJJ.js → doctor-completion-CUC2jl4R.js} +1 -1
- package/dist/{doctor-config-flow-Cu1ZuFHd.js → doctor-config-flow-DJrfwr2x.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BN5OFwrg.js → exec-approvals-cli-DqWFmApk.js} +13 -13
- package/dist/extensionAPI.js +4 -4
- package/dist/{fs-safe-DjAKGGJ8.js → fs-safe-B6nMaZqV.js} +6 -6
- package/dist/{gateway-cli-uquFQTQW.js → gateway-cli-D3MIV11i.js} +316 -9665
- package/dist/{gateway-cli-C_wDspkm.js → gateway-cli-DtWLXC5j.js} +377 -9726
- package/dist/{gateway-rpc-fQLZhzRK.js → gateway-rpc-RZAJMB1i.js} +1 -1
- package/dist/glass-ui-ws-BzGjkdgV.js +346 -0
- package/dist/glass-ui-ws-C4tW88dG.js +341 -0
- package/dist/{health-DUulgHFK.js → health-DnOYGIFp.js} +4 -4
- package/dist/{hooks-cli-C6XdXNdl.js → hooks-cli-PSE_YjYr.js} +7 -7
- package/dist/{hooks-cli-6UBBpeAz.js → hooks-cli-XjhtoSGz.js} +58 -58
- package/dist/{hooks-status-DGjgoBZt.js → hooks-status-COU9Cw9_.js} +1 -1
- package/dist/{hooks-status-BQAuzmwT.js → hooks-status-uaFS2SUa.js} +1 -1
- package/dist/{image-ops-c7_of0HT.js → image-ops-C-gIIp7Q.js} +10 -10
- package/dist/index.js +49 -49
- package/dist/{inspect-op0Ov-v4.js → inspect-BDzd6yBs.js} +4 -4
- package/dist/{install-safe-path-B73BkVO3.js → install-safe-path-CQXx3s9R.js} +11 -11
- package/dist/{installs-BzgwvqqQ.js → installs-DhSLZRT7.js} +10 -10
- package/dist/{internal-C3o_xyzP.js → internal-CHnZdvRy.js} +9 -9
- package/dist/{lifecycle-core-BmGPBj_P.js → lifecycle-core-B9_prcP5.js} +5 -5
- package/dist/{local-roots-CUKhHNCV.js → local-roots-BnDnugq3.js} +1 -1
- package/dist/{logs-cli-BXBN6_Kf.js → logs-cli-Dqq-1RM5.js} +7 -7
- package/dist/{manager-C_5p8DxF.js → manager-BFOp2VHW.js} +14 -14
- package/dist/{manager-DOfc0hW0.js → manager-GRHfrG3p.js} +1 -1
- package/dist/{manager-tYTYy-pH.js → manager-z92Qfa3m.js} +1 -1
- package/dist/{memory-CjpS9o50.js → memory-CUt9fSz8.js} +3 -3
- package/dist/{memory-BZPO-RoX.js → memory-cQbfKDAe.js} +5 -5
- package/dist/{memory-cli-CbV91o_X.js → memory-cli-BlBxrZF2.js} +2 -2
- package/dist/{memory-cli-4vj-LpgO.js → memory-cli-DXmGAhFX.js} +12 -12
- package/dist/{model-CbRy_3xW.js → model-BRcKPW49.js} +1 -1
- package/dist/{model-catalog-BrW9BL1p.js → model-catalog-De1c8o1y.js} +4 -4
- package/dist/{model-picker-DAOOfQUH.js → model-picker-BQrdlRCb.js} +1 -1
- package/dist/{model-picker-UrQQVAuN.js → model-picker-C4xfgSwe.js} +3 -3
- package/dist/{models-EthIDORJ.js → models-CBuTLoD4.js} +7 -7
- package/dist/{models-cli-DSW-aLCj.js → models-cli-D0reLJxf.js} +9 -9
- package/dist/{models-cli-BRnmApgY.js → models-cli-DLc8lwUF.js} +55 -55
- package/dist/{models-config-Dh1tABIl.js → models-config-C-VjjDXg.js} +7 -7
- package/dist/{node-cli-DXCDRV3y.js → node-cli-C4uJ1LcV.js} +28 -28
- package/dist/{node-cli-SMqarSas.js → node-cli-MO_9MCpD.js} +2 -2
- package/dist/{node-service-n6G8Ybbk.js → node-service-tPO_yUk7.js} +1 -1
- package/dist/{nodes-cli-Fyv-oG6A.js → nodes-cli-C52eXJSX.js} +10 -10
- package/dist/{nodes-screen-CT94yu_w.js → nodes-screen-JELuBMBi.js} +4 -4
- package/dist/{npm-registry-spec-B8X06AqB.js → npm-registry-spec-BXw_6vF6.js} +9 -9
- package/dist/{onboard-CLSFAKKt.js → onboard-Dky6Vgqw.js} +9 -9
- package/dist/{onboard-CEyd79t_.js → onboard-RyyCiCgk.js} +16 -16
- package/dist/{onboard-channels-DqhDDHZ3.js → onboard-channels-B7nvfziF.js} +4 -4
- package/dist/{onboard-channels-LkgOp2vs.js → onboard-channels-jAqPucaS.js} +1 -1
- package/dist/{onboard-custom-BRFhBogJ.js → onboard-custom-CEBV-OCa.js} +3 -3
- package/dist/{onboard-custom-BD_6SIA8.js → onboard-custom-CMle6THh.js} +2 -2
- package/dist/{onboard-helpers-wgkj6qF2.js → onboard-helpers-DpIB1xVU.js} +8 -8
- package/dist/{onboard-hooks-CknstfLG.js → onboard-hooks-DBYkemjF.js} +3 -3
- package/dist/{onboard-hooks-DotvaUqG.js → onboard-hooks-DgRzMz0E.js} +2 -2
- package/dist/{onboard-remote-B5rlIYUq.js → onboard-remote-DZa5gKRe.js} +1 -1
- package/dist/{onboard-skills-_6kHqhHz.js → onboard-skills-5Ty3AuY6.js} +4 -4
- package/dist/{onboard-skills-5rA5bRSG.js → onboard-skills-Bv4-MQ7C.js} +1 -1
- package/dist/{onboarding-CJuG6AyD.js → onboarding-B7vTX33U.js} +13 -13
- package/dist/{onboarding-CREA0oQK.js → onboarding-BxybJPim.js} +16 -16
- package/dist/{onboarding.finalize-CkgL8Zde.js → onboarding.finalize-Cjck4WX4.js} +32 -32
- package/dist/{onboarding.finalize-7iPylQyi.js → onboarding.finalize-Cm8jc2yf.js} +7 -7
- package/dist/{onboarding.gateway-config-DtNG0As8.js → onboarding.gateway-config-BDJ4tufO.js} +9 -9
- package/dist/{onboarding.gateway-config-BzM2v2U5.js → onboarding.gateway-config-DP9rTU6-.js} +1 -1
- package/dist/{openai-model-default-CSl0PZzK.js → openai-model-default-BVPmAuXK.js} +1 -1
- package/dist/{openai-model-default-DeTAMJKz.js → openai-model-default-CDDFpxUr.js} +2 -2
- package/dist/{pairing-cli-BvP6MoPZ.js → pairing-cli-WOgnEerl.js} +4 -4
- package/dist/{pairing-store-S9CXOhSG.js → pairing-store-BGf29nPx.js} +1 -1
- package/dist/{pairing-token-DorpwP8O.js → pairing-token-CURbSHdi.js} +7 -7
- package/dist/{paths-DaQrPPet.js → paths-Dc6A9_vI.js} +1 -1
- package/dist/{pi-auth-json-CVwNh4rb.js → pi-auth-json-SHGGQzOL.js} +5 -5
- package/dist/{pi-embedded-B7_uthwZ.js → pi-embedded-BvMMjrvj.js} +10 -10
- package/dist/{pi-embedded-helpers-DGW2untm.js → pi-embedded-helpers-D4cxQiPr.js} +6 -6
- package/dist/{pi-tools.policy-BcTgKDG6.js → pi-tools.policy-NmG0EGEY.js} +3 -3
- package/dist/{plugin-auto-enable-BDPdHiLS.js → plugin-auto-enable-D2TNEv3x.js} +1 -1
- package/dist/{plugin-registry-5aIoUu-O.js → plugin-registry-D9f4FfDL.js} +1 -1
- package/dist/{plugin-registry-bskbnEuW.js → plugin-registry-DOQyKvh2.js} +3 -3
- package/dist/{plugins-cli-DMCWSACj.js → plugins-cli-Biq9COww.js} +6 -6
- package/dist/{plugins-cli-LQUO7D2v.js → plugins-cli-R-ZE64Cv.js} +51 -51
- package/dist/{ports-ChuJYhEL.js → ports-DRHSHvqY.js} +1 -1
- package/dist/{ports-EAVAOFyK.js → ports-DqxP-bXz.js} +2 -2
- package/dist/{program-BgrmtnFn.js → program-Cg53oQfq.js} +12 -12
- package/dist/{program-context-C_uJXnZV.js → program-context-CLtVUsa6.js} +38 -38
- package/dist/{prompt-select-styled-CuGBQ9LO.js → prompt-select-styled-2-MTlOry.js} +11 -10
- package/dist/{prompt-select-styled-B3nTSykf.js → prompt-select-styled-CGS3IQAy.js} +38 -37
- package/dist/{provider-auth-helpers-IsZNkaS0.js → provider-auth-helpers-BHqejuN7.js} +6 -6
- package/dist/{provider-auth-helpers-MMYRbW_U.js → provider-auth-helpers-DTc5TSWH.js} +4 -4
- package/dist/{push-apns-C7t2qAZ6.js → push-apns-9QCL6OFW.js} +4 -4
- package/dist/{push-apns-qCbh6Vhl.js → push-apns-DFKohq1V.js} +1 -1
- package/dist/{pw-ai-Tm3pd-HP.js → pw-ai-CNOE7SUx.js} +1 -1
- package/dist/{pw-ai-YJhl5L-z.js → pw-ai-CyCnG_Kj.js} +7 -7
- package/dist/{qmd-manager-CrRvB46v.js → qmd-manager-358OTDns.js} +19 -19
- package/dist/{qr-cli-D1U-qIkG.js → qr-cli-BXf1ID0g.js} +3 -3
- package/dist/{register.agent-BblNQlzT.js → register.agent-Bf-zNnpf.js} +66 -66
- package/dist/{register.agent-BWcxonR9.js → register.agent-CUEmf_fe.js} +15 -15
- package/dist/{register.configure-D0T0kOp7.js → register.configure-BX1pnvZN.js} +19 -19
- package/dist/register.configure-CbUszoWU.js +129 -0
- package/dist/{register.maintenance-DLJpeuc4.js → register.maintenance-B6Hf-dFR.js} +66 -66
- package/dist/{register.maintenance-w7sKxODf.js → register.maintenance-ck4eLkWr.js} +15 -15
- package/dist/{register.message-CXEwBJ1O.js → register.message-B6A5GxKa.js} +45 -45
- package/dist/{register.message-C3dCPjVc.js → register.message-DUtzKXxY.js} +5 -5
- package/dist/{register.onboard-DJmVC_6h.js → register.onboard-Lt0JI36k.js} +10 -10
- package/dist/{register.onboard-B520Ixsd.js → register.onboard-ppi11I2H.js} +24 -24
- package/dist/{register.setup-Br-aZ0qD.js → register.setup-D--UK_mz.js} +9 -9
- package/dist/{register.setup-BTse4F3a.js → register.setup-p3Bv9cvy.js} +26 -26
- package/dist/{register.status-health-sessions-4dxLj6hJ.js → register.status-health-sessions-DEGk6Zeg.js} +8 -8
- package/dist/{register.status-health-sessions-Dbizirr2.js → register.status-health-sessions-s4im2lAy.js} +38 -38
- package/dist/{register.subclis-CSJZQox4.js → register.subclis-Bhsc6TUP.js} +20 -20
- package/dist/{replies-CbipVshj.js → replies-t5bPemnD.js} +1 -1
- package/dist/{reply-prefix-DZQBodKF.js → reply-prefix-BOdARKaY.js} +1 -1
- package/dist/{resolve-route-BbUl3Hi7.js → resolve-route-CRWE36h5.js} +1 -1
- package/dist/{routes-DiqMB1cp.js → routes-CTOYLhQ1.js} +10 -10
- package/dist/{rpc-BcPBUUXl.js → rpc-BLUOZg0H.js} +1 -1
- package/dist/{run-main-DISYU1dh.js → run-main-BbCFxhFG.js} +20 -20
- package/dist/{sandbox-DPn-s_K5.js → sandbox-CpZmnHRC.js} +18 -18
- package/dist/{sandbox-cli-Bl5CMRjH.js → sandbox-cli-DGcyrD_y.js} +13 -13
- package/dist/{security-cli-DuxEuSGr.js → security-cli-DwBo5cRE.js} +28 -28
- package/dist/{security-cli-C7LBaB0e.js → security-cli-ub7VEaGq.js} +2 -2
- package/dist/{send-CYJucYob.js → send-zbkImdk9.js} +7 -7
- package/dist/{server-context-BUbuOgNz.js → server-context-Dytgl6ZD.js} +5 -5
- package/dist/server-methods-B_5RRPVi.js +9434 -0
- package/dist/server-methods-CZIqJLhS.js +9432 -0
- package/dist/{server-node-events-7ToqdaU5.js → server-node-events-CIsCdDxa.js} +46 -46
- package/dist/{server-node-events-BH4-UlAH.js → server-node-events-lQu3U-Wr.js} +6 -6
- package/dist/{service-9ItKCWWS.js → service-AP9pR9R5.js} +15 -15
- package/dist/session-dirs-Chh7bBGo.js +18 -0
- package/dist/session-dirs-Sl_x6tjD.js +18 -0
- package/dist/{session-utils-CqSXwGYa.js → session-utils-NOQiGgMD.js} +12 -12
- package/dist/{sessions-DorP6zY8.js → sessions-B7Of0Rqm.js} +11 -11
- package/dist/{shared-Z3KjnA8n.js → shared-Bvjz11ts.js} +3 -3
- package/dist/{shared-ot5_jkpP.js → shared-DmYHvtn2.js} +1 -1
- package/dist/{skill-commands-RbglvrSW.js → skill-commands-5QB5E8bv.js} +4 -4
- package/dist/{skill-scanner-CZK0TG9g.js → skill-scanner-YF2jR4RY.js} +5 -5
- package/dist/{skills-DS1Vdylm.js → skills-Bmjf5nFv.js} +4 -4
- package/dist/{skills-cli-BmIb-9--.js → skills-cli-BypZ_n-i.js} +7 -7
- package/dist/{skills-install-DcX1Txvp.js → skills-install-BB27sD4d.js} +3 -3
- package/dist/{skills-remote-BDSyRdyX.js → skills-remote-CqwR3Zvp.js} +3 -3
- package/dist/{skills-status-F7nlolZZ.js → skills-status-BNDqwHkP.js} +1 -1
- package/dist/{sqlite-BUXBg2yu.js → sqlite-DBEvS-Ne.js} +5 -5
- package/dist/{status-Hf__QNbH.js → status-BJpznKU1.js} +24 -24
- package/dist/{status-CR4VgVZ0.js → status-BhH4w6Rh.js} +3 -3
- package/dist/{status-CeaJlVQK.js → status-DjbQ_4aI.js} +1 -1
- package/dist/{status-dHYcVtbb.js → status-Dz-fz0Sg.js} +5 -5
- package/dist/{status.update-DOj5ifHZ.js → status.update-C45HhTTL.js} +3 -3
- package/dist/{subagent-registry-BbQL79Gk.js → subagent-registry-DexfLiQ_.js} +3 -3
- package/dist/{symi-root-0MUhiNlM.js → symi-root-DueRHNOE.js} +2 -2
- package/dist/{synthesis-CK0K7wFk.js → synthesis-BKdyZilP.js} +42 -42
- package/dist/{synthesis-DiPl8Usv.js → synthesis-B_uoS8jb.js} +4 -4
- package/dist/{synthesis-C-IePZG6.js → synthesis-DcGTICel.js} +4 -4
- package/dist/{system-cli-BKp2K0sb.js → system-cli-BdITqp7I.js} +7 -7
- package/dist/{systemd-8KKQdTO_.js → systemd-9LEEqibe.js} +5 -5
- package/dist/{systemd-hints-BefHB3bX.js → systemd-hints-RoqMZFFM.js} +6 -6
- package/dist/{systemd-linger-C0-G8yq4.js → systemd-linger-PqG8iGCt.js} +1 -1
- package/dist/{tui-BheB3rbE.js → tui-CckiZT5A.js} +7 -7
- package/dist/{tui-cli-D7wYLESM.js → tui-cli-SrnAqI8U.js} +1 -1
- package/dist/{tui-cli-BDcU-VgA.js → tui-cli-e0WhCXvw.js} +19 -19
- package/dist/{unified-runner-D6p4N2vu.js → unified-runner-IQkrAem7.js} +99 -99
- package/dist/{update-Djvyvehx.js → update-CjZgU686.js} +3 -3
- package/dist/{update-check-BdSIMYWq.js → update-check-CZxZhEXr.js} +5 -5
- package/dist/{update-cli-BmQuYKTw.js → update-cli-BiRyfmPL.js} +17 -17
- package/dist/{update-cli-CwznFR5g.js → update-cli-jbW8hE0j.js} +76 -76
- package/dist/{session-dirs-6atzU47U.js → update-runner-CXpAiQuF.js} +1 -15
- package/dist/{session-dirs-DONOhYc3.js → update-runner-Dbiosgid.js} +16 -30
- package/dist/{webhooks-cli-B2_nrbvn.js → webhooks-cli-DofAY6FK.js} +1 -1
- package/dist/{webhooks-cli-D_wAaLOU.js → webhooks-cli-DqJnNdFt.js} +5 -5
- package/dist/{with-timeout-CAUWEPmp.js → with-timeout-COajnkmj.js} +1 -1
- package/dist/{workspace-dirs-QmSWJptJ.js → workspace-dirs-D5OnUmvw.js} +1 -1
- package/dist/{wsl-DO9usEVV.js → wsl-ZWGwnnKI.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-BJ7xtOUZ.js +0 -129
- /package/dist/{agents.config-gkq5o5Hy.js → agents.config-D7cHU-OU.js} +0 -0
- /package/dist/{auth-choice-legacy-DlTku0W1.js → auth-choice-legacy-CsjluQCN.js} +0 -0
- /package/dist/{auth-choice-legacy-y8ZXjhDq.js → auth-choice-legacy-D9WcUI_J.js} +0 -0
- /package/dist/{auth-token-2yjfGFTo.js → auth-token-Brb1Askz.js} +0 -0
- /package/dist/{consolidate-CTKMVS1l.js → consolidate-D1GUJ5qq.js} +0 -0
- /package/dist/{dm-policy-shared-BcYwq7H9.js → dm-policy-shared-CSF4Tw_F.js} +0 -0
- /package/dist/{doctor-config-flow-BayEnbIy.js → doctor-config-flow-BXjmJyRY.js} +0 -0
- /package/dist/{format-CUJQOEUj.js → format-BGzoTHhD.js} +0 -0
- /package/dist/{format-Cj8gNX2r.js → format-C-0EAOjI.js} +0 -0
- /package/dist/{gmail-setup-utils-C5QXoiTl.js → gmail-setup-utils-B1BYpISg.js} +0 -0
- /package/dist/{gmail-setup-utils-DO0-mXYp.js → gmail-setup-utils-fA1VaWLv.js} +0 -0
- /package/dist/{health-format-BQdYy0nL.js → health-format-39e76m9p.js} +0 -0
- /package/dist/{health-format-OIqaDZ2V.js → health-format-DaP03FBk.js} +0 -0
- /package/dist/{ipv4-CFw4fYIH.js → ipv4-CfVqgiTN.js} +0 -0
- /package/dist/{ipv4-DBwTCOBu.js → ipv4-DK4xoUQ-.js} +0 -0
- /package/dist/{logging-BA2NbxMy.js → logging-B96FQvnn.js} +0 -0
- /package/dist/{logging-Dt9kBzoO.js → logging-BeA4q4J_.js} +0 -0
- /package/dist/{logs-cli-Dg7J424l.js → logs-cli-CVBGriNc.js} +0 -0
- /package/dist/{model-param-b-CErLzOT8.js → model-param-b-B34yvxBN.js} +0 -0
- /package/dist/{model-param-b-DnsFCAGo.js → model-param-b-CmgmcGoJ.js} +0 -0
- /package/dist/{node-service-B7zf4WFE.js → node-service-DDDCEDdv.js} +0 -0
- /package/dist/{nodes-cli-BpG8jU6q.js → nodes-cli-C70ejrs0.js} +0 -0
- /package/dist/{onboard-config-CIBKQuYV.js → onboard-config-Barp7MT9.js} +0 -0
- /package/dist/{onboard-config-D6L72_zg.js → onboard-config-DQkZqcyq.js} +0 -0
- /package/dist/{onboard-remote-DR9mcFjZ.js → onboard-remote-BDvWSzRz.js} +0 -0
- /package/dist/{outbound-send-deps-pzO0D6kV.js → outbound-send-deps-BpziI1pC.js} +0 -0
- /package/dist/{pairing-cli-MwIIeBee.js → pairing-cli-mM4XdTk0.js} +0 -0
- /package/dist/{ports-B3NnaSHu.js → ports-BAzQoIw0.js} +0 -0
- /package/dist/{qmd-manager-CX0jtKS5.js → qmd-manager--kGuC39q.js} +0 -0
- /package/dist/{qr-cli-Bv4zF-WM.js → qr-cli-D5Gl0wH3.js} +0 -0
- /package/dist/{sandbox-cli-bOFig9Jd.js → sandbox-cli-kmVLo1NO.js} +0 -0
- /package/dist/{sessions-Chjdz1Gx.js → sessions-1BZvXUIa.js} +0 -0
- /package/dist/{shared-B-64oefu.js → shared-ByldVglV.js} +0 -0
- /package/dist/{skills-cli-DbhEEC78.js → skills-cli-CFMRYyuc.js} +0 -0
- /package/dist/{skills-install-Q5hgZITy.js → skills-install-BzqoHn0x.js} +0 -0
- /package/dist/{status.update-lna4Lub4.js → status.update-BoxoMaxX.js} +0 -0
- /package/dist/{system-cli-C9uTFA4c.js → system-cli-BdG41gcY.js} +0 -0
- /package/dist/{system-run-command-XG1_P_la.js → system-run-command-QikSIqYG.js} +0 -0
- /package/dist/{systemd-linger-CoyAJEZx.js → systemd-linger-BM4qvprK.js} +0 -0
- /package/dist/{tui-C_yv1hvy.js → tui-BrE4FemN.js} +0 -0
- /package/dist/{update-CbkItCeC.js → update-C1rkPV1C.js} +0 -0
- /package/dist/{workspace-2m2BLIbx.js → workspace-B3sO7QlN.js} +0 -0
- /package/dist/{workspace-CxAs2tsz.js → workspace-Bb1HX2I0.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-AP9pR9R5.js";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fs.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fs.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fs.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|
|
@@ -2,13 +2,13 @@ import { b as danger, j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-DIjW66iO.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-MU0QT0xu.js";
|
|
12
12
|
import "./manifest-registry-D_LsBSyt.js";
|
|
13
13
|
import "./message-channel-C_V8IAYx.js";
|
|
14
14
|
import { t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as normalizeStringEntries } from "./dock-CnGWTXL4.js";
|
|
2
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
2
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BGf29nPx.js";
|
|
3
3
|
|
|
4
4
|
//#region src/security/dm-policy-shared.ts
|
|
5
5
|
async function resolveDmAllowState(params) {
|
|
@@ -2,13 +2,13 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-DIjW66iO.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-MU0QT0xu.js";
|
|
12
12
|
import "./manifest-registry-D_LsBSyt.js";
|
|
13
13
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-LYvn9g3I.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
@@ -7,7 +7,7 @@ import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
|
7
7
|
import "./boolean-Wzu0-e0P.js";
|
|
8
8
|
import "./manifest-registry-D_LsBSyt.js";
|
|
9
9
|
import { d as hasBinary } from "./frontmatter-CHu3sfCM.js";
|
|
10
|
-
import "./skills-
|
|
10
|
+
import "./skills-Bmjf5nFv.js";
|
|
11
11
|
import "./redact-CSc_2Nka.js";
|
|
12
12
|
import "./errors-Z-WkF18Q.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BvAkTjTI.js";
|
|
2
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
2
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-DueRHNOE.js";
|
|
3
3
|
import { t as note } from "./note-CHrtEumO.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BoD_MZfu.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-Xm6vX3qJ.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-CK6iELVh.js";
|
|
3
3
|
import { t as note } from "./note-DKRm9hYC.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-B5bq51hT.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -2,17 +2,17 @@ import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir
|
|
|
2
2
|
import { m as resolveHomeDir, u as isRecord } from "./utils-BU8jVQFM.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
4
4
|
import { n as DEFAULT_MAIN_KEY, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
5
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-
|
|
7
|
-
import { l as saveSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-
|
|
5
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-DIjW66iO.js";
|
|
6
|
+
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-MU0QT0xu.js";
|
|
7
|
+
import { l as saveSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-B7Of0Rqm.js";
|
|
8
8
|
import { t as note } from "./note-CHrtEumO.js";
|
|
9
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
9
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-D2TNEv3x.js";
|
|
10
10
|
import { t as isWithinDir } from "./path-safety-pFCZCFPp.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import JSON5 from "json5";
|
|
15
|
-
import
|
|
15
|
+
import fs$1 from "node:fs/promises";
|
|
16
16
|
|
|
17
17
|
//#region src/commands/doctor-legacy-config.ts
|
|
18
18
|
function normalizeLegacyConfigValues(cfg) {
|
|
@@ -1063,7 +1063,7 @@ async function maybeMigrateLegacyConfig() {
|
|
|
1063
1063
|
const targetDir = path.join(home, ".symi");
|
|
1064
1064
|
const targetPath = path.join(targetDir, "symi.json");
|
|
1065
1065
|
try {
|
|
1066
|
-
await
|
|
1066
|
+
await fs$1.access(targetPath);
|
|
1067
1067
|
return changes;
|
|
1068
1068
|
} catch {}
|
|
1069
1069
|
const legacyCandidates = [
|
|
@@ -1073,14 +1073,14 @@ async function maybeMigrateLegacyConfig() {
|
|
|
1073
1073
|
];
|
|
1074
1074
|
let legacyPath = null;
|
|
1075
1075
|
for (const candidate of legacyCandidates) try {
|
|
1076
|
-
await
|
|
1076
|
+
await fs$1.access(candidate);
|
|
1077
1077
|
legacyPath = candidate;
|
|
1078
1078
|
break;
|
|
1079
1079
|
} catch {}
|
|
1080
1080
|
if (!legacyPath) return changes;
|
|
1081
|
-
await
|
|
1081
|
+
await fs$1.mkdir(targetDir, { recursive: true });
|
|
1082
1082
|
try {
|
|
1083
|
-
await
|
|
1083
|
+
await fs$1.copyFile(legacyPath, targetPath, fs$1.constants.COPYFILE_EXCL);
|
|
1084
1084
|
changes.push(`Migrated legacy config: ${legacyPath} -> ${targetPath}`);
|
|
1085
1085
|
} catch {}
|
|
1086
1086
|
return changes;
|
package/dist/entry.js
CHANGED
|
@@ -2312,7 +2312,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2312
2312
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2313
2313
|
process$1.argv = parsed.argv;
|
|
2314
2314
|
}
|
|
2315
|
-
import("./run-main-
|
|
2315
|
+
import("./run-main-BbCFxhFG.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2316
2316
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2317
2317
|
process$1.exitCode = 1;
|
|
2318
2318
|
});
|
|
@@ -2,30 +2,30 @@ import { A as isRich, j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-DIjW66iO.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import "./config-
|
|
11
|
+
import "./config-MU0QT0xu.js";
|
|
12
12
|
import "./manifest-registry-D_LsBSyt.js";
|
|
13
13
|
import "./message-channel-C_V8IAYx.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
16
|
-
import "./pairing-token-
|
|
14
|
+
import "./client-ZZqt0H0-.js";
|
|
15
|
+
import "./call-CbF18cyd.js";
|
|
16
|
+
import "./pairing-token-CURbSHdi.js";
|
|
17
17
|
import { n as formatTimeAgo } from "./format-relative-Vm-Tqk0h.js";
|
|
18
18
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-CZOc8M5w.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
20
20
|
import "./progress-CyPyGCDn.js";
|
|
21
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
22
|
-
import "./systemd-
|
|
23
|
-
import "./service-
|
|
21
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-RZAJMB1i.js";
|
|
22
|
+
import "./systemd-9LEEqibe.js";
|
|
23
|
+
import "./service-AP9pR9R5.js";
|
|
24
24
|
import { t as renderTable } from "./table-DkAQzCOR.js";
|
|
25
|
-
import { t as describeUnknownError } from "./shared-
|
|
26
|
-
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
25
|
+
import { t as describeUnknownError } from "./shared-DmYHvtn2.js";
|
|
26
|
+
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-BLUOZg0H.js";
|
|
27
27
|
import JSON5 from "json5";
|
|
28
|
-
import
|
|
28
|
+
import fs from "node:fs/promises";
|
|
29
29
|
|
|
30
30
|
//#region src/cli/exec-approvals-cli.ts
|
|
31
31
|
async function readStdin() {
|
|
@@ -315,7 +315,7 @@ function registerExecApprovalsCli(program) {
|
|
|
315
315
|
if (!opts.file && !opts.stdin) exitWithError("Provide --file or --stdin.");
|
|
316
316
|
if (opts.file && opts.stdin) exitWithError("Use either --file or --stdin (not both).");
|
|
317
317
|
const { source, nodeId, targetLabel, baseHash } = await loadWritableSnapshotTarget(opts);
|
|
318
|
-
const raw = opts.stdin ? await readStdin() : await
|
|
318
|
+
const raw = opts.stdin ? await readStdin() : await fs.readFile(String(opts.file), "utf8");
|
|
319
319
|
let file;
|
|
320
320
|
try {
|
|
321
321
|
file = JSON5.parse(raw);
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,21 +7,21 @@ import { a as resolveAgentIdentity } from "./reply-prefix-i-FPYcoQ.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./plugins-Cp39v6b_.js";
|
|
9
9
|
import "./replies-CjSfYK97.js";
|
|
10
|
-
import { a as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-
|
|
11
|
-
import { $ as loadSessionStore, nt as saveSessionStore } from "./deliver-
|
|
10
|
+
import { a as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-BvMMjrvj.js";
|
|
11
|
+
import { $ as loadSessionStore, nt as saveSessionStore } from "./deliver-BBoTRer2.js";
|
|
12
12
|
import "./diagnostic-BvZmqxYI.js";
|
|
13
13
|
import "./diagnostic-session-state-CWtaDOiK.js";
|
|
14
14
|
import "./chunk-BjnT3w_x.js";
|
|
15
15
|
import "./ssrf-CJor4ewC.js";
|
|
16
16
|
import "./manifest-registry-CAWGTwb5.js";
|
|
17
|
-
import "./chrome-
|
|
17
|
+
import "./chrome-BWQSyLHT.js";
|
|
18
18
|
import "./skills-Bn0f9KTL.js";
|
|
19
19
|
import "./redact-ojHFHOAb.js";
|
|
20
20
|
import "./errors-C6sHIFo_.js";
|
|
21
21
|
import "./tokens-Dm_xa-oz.js";
|
|
22
22
|
import "./thinking-BKsvyjWX.js";
|
|
23
23
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-N698mtPE.js";
|
|
24
|
-
import "./manager-
|
|
24
|
+
import "./manager-GRHfrG3p.js";
|
|
25
25
|
import "./sqlite-jFnvSfLz.js";
|
|
26
26
|
import "./markdown-tables-BtWlyyt1.js";
|
|
27
27
|
import "./commands-registry-BRWqR35Z.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { constants } from "node:fs";
|
|
3
|
-
import
|
|
3
|
+
import fs$1 from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/fs-safe.ts
|
|
6
6
|
var SafeOpenError = class extends Error {
|
|
@@ -20,19 +20,19 @@ const isSymlinkOpenError = (err) => isNodeError(err) && (err.code === "ELOOP" ||
|
|
|
20
20
|
async function openVerifiedLocalFile(filePath) {
|
|
21
21
|
let handle;
|
|
22
22
|
try {
|
|
23
|
-
handle = await
|
|
23
|
+
handle = await fs$1.open(filePath, OPEN_READ_FLAGS);
|
|
24
24
|
} catch (err) {
|
|
25
25
|
if (isNotFoundError(err)) throw new SafeOpenError("not-found", "file not found");
|
|
26
26
|
if (isSymlinkOpenError(err)) throw new SafeOpenError("symlink", "symlink open blocked", { cause: err });
|
|
27
27
|
throw err;
|
|
28
28
|
}
|
|
29
29
|
try {
|
|
30
|
-
const [stat, lstat] = await Promise.all([handle.stat(),
|
|
30
|
+
const [stat, lstat] = await Promise.all([handle.stat(), fs$1.lstat(filePath)]);
|
|
31
31
|
if (lstat.isSymbolicLink()) throw new SafeOpenError("symlink", "symlink not allowed");
|
|
32
32
|
if (!stat.isFile()) throw new SafeOpenError("not-file", "not a file");
|
|
33
33
|
if (stat.ino !== lstat.ino || stat.dev !== lstat.dev) throw new SafeOpenError("path-mismatch", "path changed during read");
|
|
34
|
-
const realPath = await
|
|
35
|
-
const realStat = await
|
|
34
|
+
const realPath = await fs$1.realpath(filePath);
|
|
35
|
+
const realStat = await fs$1.stat(realPath);
|
|
36
36
|
if (stat.ino !== realStat.ino || stat.dev !== realStat.dev) throw new SafeOpenError("path-mismatch", "path mismatch");
|
|
37
37
|
return {
|
|
38
38
|
handle,
|
|
@@ -49,7 +49,7 @@ async function openVerifiedLocalFile(filePath) {
|
|
|
49
49
|
async function openFileWithinRoot(params) {
|
|
50
50
|
let rootReal;
|
|
51
51
|
try {
|
|
52
|
-
rootReal = await
|
|
52
|
+
rootReal = await fs$1.realpath(params.rootDir);
|
|
53
53
|
} catch (err) {
|
|
54
54
|
if (isNotFoundError(err)) throw new SafeOpenError("not-found", "root dir not found");
|
|
55
55
|
throw err;
|