@symerian/symi 3.4.27 → 3.4.28
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-DOOj3Gzb.js → agent-D9g71cFB.js} +3 -3
- package/dist/{agent-CiqPWDUd.js → agent-DXAdKNkT.js} +19 -19
- package/dist/{agent-scope-Bnsyyeci.js → agent-scope-DOrZjOnW.js} +18 -18
- package/dist/{agents-BBQfFoen.js → agents-DxIDPR2a.js} +10 -10
- package/dist/{agents.config-Dm3oLpYK.js → agents.config-CxrFhtC1.js} +1 -1
- package/dist/{audit-BSX7fMfc.js → audit-CcxTZUi-.js} +22 -22
- package/dist/{audit-CXT_jhD1.js → audit-CojL8qpM.js} +9 -9
- package/dist/{auth-choice-BYbTjWcs.js → auth-choice-D7pXnPLh.js} +6 -6
- package/dist/{auth-choice-options-Cp206HkX.js → auth-choice-options-DfT-D0Cb.js} +1 -1
- package/dist/{auth-choice-options-DkHelws3.js → auth-choice-options-osb2GMd4.js} +1 -1
- package/dist/{auth-choice-prompt-BMT9i-O0.js → auth-choice-prompt-6_u7zS1M.js} +1 -1
- package/dist/{auth-choice-prompt-D8hErqN3.js → auth-choice-prompt-SCWccuw0.js} +1 -1
- package/dist/{auth-choice-rhBmet5i.js → auth-choice-wXCXR5E2.js} +12 -12
- package/dist/{auth-profiles-D5nYBj_Z.js → auth-profiles-Ce7R_25e.js} +2 -2
- package/dist/{auth-token-CAV1oLQG.js → auth-token-Dvw-1mFR.js} +3 -3
- package/dist/{banner-C1qG5Rm9.js → banner-C2ox6sgo.js} +1 -1
- package/dist/{bonjour-discovery-C44-sj_H.js → bonjour-discovery-BjSUj2V6.js} +1 -1
- package/dist/{bonjour-discovery-C1pYo2mP.js → bonjour-discovery-FJyieAXp.js} +1 -1
- package/dist/{browser-cli-De8jg4-F.js → browser-cli-BXH0KbhG.js} +15 -15
- package/dist/{browser-cli-BeAwhyOG.js → browser-cli-UZqxfaV_.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{call-CW8U1BPq.js → call-CKm3T_ar.js} +10 -9
- package/dist/{call-GzGqMHAx.js → call-DrkOiHjS.js} +2 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BsXUgCMq.js → channel-options-BzblBp9O.js} +2 -2
- package/dist/{channel-options-CJD7jwYg.js → channel-options-DX_AHCmW.js} +2 -2
- package/dist/{channels-cli-Dxn5n9e4.js → channels-cli-BD8GYuGX.js} +37 -37
- package/dist/{channels-cli-Bao4VNbH.js → channels-cli-BMwft2f4.js} +71 -71
- package/dist/{chrome-pFBxO63W.js → chrome-rzK8edU7.js} +2 -2
- package/dist/{clack-prompter-Dw5j2O2o.js → clack-prompter-Bc38EIYW.js} +4 -4
- package/dist/{clack-prompter-B-Q70teL.js → clack-prompter-CuIw5vQW.js} +4 -4
- package/dist/{cli-CrhLSz3t.js → cli-CKE8ng04.js} +19 -19
- package/dist/{cli-WP38F9C5.js → cli-qjFclNUc.js} +50 -50
- package/dist/{client-T5P9umyG.js → client-B9E9fdCA.js} +4 -2
- package/dist/{client-BqT7xONl.js → client-DhdWcgZP.js} +3 -1
- package/dist/{command-registry-DoXcG7FZ.js → command-registry-BQqL4Q9U.js} +11 -11
- package/dist/{commands-registry-BjcGLk4v.js → commands-registry-VfAQOVZO.js} +1 -1
- package/dist/{completion-cli-C0SXi7ya.js → completion-cli-DSp6zI3Z.js} +12 -12
- package/dist/{completion-cli-DaWi3_ux.js → completion-cli-JF4DUQKc.js} +3 -3
- package/dist/{config-D-PYSlE8.js → config-D7SS4vdk.js} +2 -2
- package/dist/{config-cli-DS67KtKf.js → config-cli-Cm4OpJjo.js} +5 -5
- package/dist/{config-cli-DXKm0pS5.js → config-cli-X1KZubYA.js} +2 -2
- package/dist/{config-guard-xLTTFANi.js → config-guard-CN1qhDyB.js} +10 -10
- package/dist/{config-guard-DtNhA37g.js → config-guard-SNMCV6sc.js} +1 -1
- package/dist/{config-validation-C4wGq3rz.js → config-validation-DS5Jr_iO.js} +1 -1
- package/dist/{configure-B99YJJb0.js → configure-C3S_eQA1.js} +23 -23
- package/dist/{configure-CzO4_jJJ.js → configure-fY313TO1.js} +21 -21
- package/dist/{consolidate-BB4BOQIN.js → consolidate-CF6vEjPe.js} +6 -6
- package/dist/{control-service-y53w3Jzy.js → control-service-CJWzOFkK.js} +4 -4
- package/dist/{control-service-CrY0sEKJ.js → control-service-DvK2HPC2.js} +2 -2
- package/dist/control-ui/index.html +7 -0
- package/dist/control-ui/js/menu.js +2 -0
- package/dist/control-ui/js/settings.js +1 -0
- package/dist/{control-ui-assets-Dryy7mCE.js → control-ui-assets-CkPR0Fz2.js} +1 -1
- package/dist/{cron-cli-BMblAFRK.js → cron-cli-BIIzbF-W.js} +10 -10
- package/dist/{cron-cli-COY_Fz9R.js → cron-cli-BNx0V18_.js} +6 -6
- package/dist/{daemon-cli-Bw8s6rpR.js → daemon-cli-CGfWQN7c.js} +13 -13
- package/dist/{daemon-cli-BJGNf5qV.js → daemon-cli-DCbqVfyu.js} +15 -15
- package/dist/daemon-cli.js +3 -0
- package/dist/{daemon-runtime-u4p9jsEF.js → daemon-runtime-BD_EkuZP.js} +11 -11
- package/dist/{daemon-runtime-Cyqcsmvq.js → daemon-runtime-CAdn50ea.js} +1 -1
- package/dist/{deliver-C79-Umbk.js → deliver-DB4v0Tyl.js} +2 -2
- package/dist/{deps-UA1UBhl7.js → deps-Bt6gnwqB.js} +1 -1
- package/dist/{devices-cli-D7V9UfDs.js → devices-cli-CK5iNr60.js} +4 -4
- package/dist/{devices-cli-wsTs-nti.js → devices-cli-Dg4sVTTI.js} +8 -8
- package/dist/{diagnostics-BVt0GQrB.js → diagnostics-4PsqURzT.js} +1 -1
- package/dist/{diagnostics-oW0LBW-t.js → diagnostics-Ee2qfR9V.js} +5 -5
- package/dist/{directory-cli-D8As6t8Z.js → directory-cli-CIX9qXWA.js} +7 -7
- package/dist/{directory-cli-CyY2DN__.js → directory-cli-CR-4DW4i.js} +4 -4
- package/dist/{dm-policy-shared-DRJrFKqJ.js → dm-policy-shared-DmpXsl2K.js} +1 -1
- package/dist/{dns-cli-BKOTBn3n.js → dns-cli-Cd3EpJKL.js} +6 -6
- package/dist/{dns-cli-BKAlICNV.js → dns-cli-DzE58v7c.js} +3 -3
- package/dist/{docs-cli-AvMHsZ3L.js → docs-cli-BcqjkjOA.js} +2 -2
- package/dist/{docs-cli-D5j7Nmz2.js → docs-cli-DD59E5fQ.js} +3 -3
- package/dist/{doctor-completion-B1YCzbvi.js → doctor-completion-0ROoVWx0.js} +2 -2
- package/dist/{doctor-completion-mev5PRjN.js → doctor-completion-BYv8-KM8.js} +3 -3
- package/dist/{doctor-config-flow-B0pP_wcc.js → doctor-config-flow-BOfsrB_o.js} +3 -3
- package/dist/{doctor-config-flow-Uv41seME.js → doctor-config-flow-dUAjyD2W.js} +11 -11
- package/dist/{enable-CwLPpoEb.js → enable-B5wvwTYB.js} +1 -1
- package/dist/{enable-0trJ7bnB.js → enable-avpl_Lwo.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-AOUcxa3t.js → exec-approvals-cli-CLD1HXqE.js} +10 -10
- package/dist/{exec-approvals-cli-B4ry9s5r.js → exec-approvals-cli-Cv9lE0Ov.js} +16 -16
- package/dist/extensionAPI.js +2 -2
- package/dist/{file-lock-2AecMjCa.js → file-lock-BVUYnlQv.js} +8 -8
- package/dist/{fs-safe-B0Is-oLk.js → fs-safe-BdejYjW8.js} +6 -6
- package/dist/{gateway-cli-Chnp6icp.js → gateway-cli-CegyVUQC.js} +65 -64
- package/dist/{gateway-cli-B3JVj_dv.js → gateway-cli-DsWTC2Nn.js} +118 -117
- package/dist/{gateway-rpc-conZO9va.js → gateway-rpc-CBb3_pT9.js} +2 -2
- package/dist/{gateway-rpc-CLzM6ugo.js → gateway-rpc-DrcgCoEA.js} +2 -2
- package/dist/{glass-ui-ws-5o8dvEZO.js → glass-ui-ws-BzjmueMF.js} +45 -45
- package/dist/{glass-ui-ws--GjxFRyX.js → glass-ui-ws-DyY5R2Ze.js} +77 -77
- package/dist/{health-CXUnVb6i.js → health-BJl_ZtRW.js} +3 -3
- package/dist/{health-D2th0Ip6.js → health-B__mwl7J.js} +6 -6
- package/dist/{hooks-cli-B_sZth4r.js → hooks-cli-9wVZvnCx.js} +25 -25
- package/dist/{hooks-cli-B4Nvp9AV.js → hooks-cli-DTaiN3Ce.js} +67 -67
- package/dist/{hooks-status-S76rKAPs.js → hooks-status-CRdYwf7p.js} +1 -1
- package/dist/{hooks-status-C7TAcBYj.js → hooks-status-i4MgV8tU.js} +2 -2
- package/dist/{image-ops-BzCBIakN.js → image-ops-L70xVnpG.js} +10 -10
- package/dist/index.js +61 -61
- package/dist/{inspect-C8l_ltw3.js → inspect-BZEGJ1Wu.js} +1 -1
- package/dist/{inspect-U3g9owQ8.js → inspect-ChCXJY8c.js} +4 -4
- package/dist/{install-safe-path-tUtnFnYm.js → install-safe-path-INk2Z_kc.js} +1 -1
- package/dist/{install-safe-path-BwMMOh9z.js → install-safe-path-PVqsVjI9.js} +12 -12
- package/dist/{installs-vdi1BESF.js → installs-b6XWplET.js} +10 -10
- package/dist/{installs-CylGJ0W4.js → installs-lGgvyXAJ.js} +3 -3
- package/dist/{internal-csqU78gW.js → internal-DVCddhhN.js} +9 -9
- package/dist/{lifecycle-core-Bc5_0u07.js → lifecycle-core-SWNKAc8k.js} +5 -5
- package/dist/{lifecycle-core-BfmNlC-k.js → lifecycle-core-iiq9e4fE.js} +6 -6
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{local-roots-2Jb79HZ8.js → local-roots-CgDCgCuM.js} +1 -1
- package/dist/{logs-cli-COZzdFu6.js → logs-cli-BEWpB_ac.js} +10 -10
- package/dist/{logs-cli-Bs3tAiaq.js → logs-cli-BGjeoamB.js} +6 -6
- package/dist/{manager-DyYRwHZt.js → manager-BVHfEFaI.js} +15 -15
- package/dist/{manager-BfbQb9qM.js → manager-CkrYAqnq.js} +1 -1
- package/dist/{manager-Bryhc0Ip.js → manager-D8CA0MvH.js} +1 -1
- package/dist/{manager-C5FGNRjL.js → manager-DC3OSZcb.js} +1 -1
- package/dist/{memory-DgDnTEcB.js → memory-BAhmymrP.js} +5 -5
- package/dist/{memory-Cypj1lBQ.js → memory-J23whuaE.js} +3 -3
- package/dist/{memory-cli-DB7UIev4.js → memory-cli-CC2-qDiT.js} +6 -6
- package/dist/{memory-cli-CfJkD7mO.js → memory-cli-D4w22HxZ.js} +16 -16
- package/dist/{model-DbILYCfo.js → model-D50Lt_sm.js} +1 -1
- package/dist/{model-auth-_C07_3Yr.js → model-auth-1EAQvYRv.js} +2 -2
- package/dist/{model-catalog-CeqDEWGz.js → model-catalog-DQTmHZK7.js} +3 -3
- package/dist/{model-picker-BAKALONd.js → model-picker-BVNI6Imm.js} +1 -1
- package/dist/{model-picker-C_f6MALt.js → model-picker-DHLA0BEe.js} +5 -5
- package/dist/{model-selection-CCTzD29o.js → model-selection-7wdmO-Iw.js} +1 -1
- package/dist/{models-Bpqeds64.js → models-DKFO8lzG.js} +12 -12
- package/dist/{models-cli-BUWfj5iJ.js → models-cli-D1ZvipJ8.js} +67 -67
- package/dist/{models-cli-Bc47WFhD.js → models-cli-DAdL1XB_.js} +29 -29
- package/dist/{models-config-Dp5-tBqs.js → models-config-CRnTzdFs.js} +8 -8
- package/dist/{node-cli-W9CY_8dK.js → node-cli-DnwByBU2.js} +18 -18
- package/dist/{node-cli-BdjmGI32.js → node-cli-Yqf38Nio.js} +34 -34
- package/dist/{node-service-DphkTjBV.js → node-service-CRSkbk2b.js} +1 -1
- package/dist/{node-service-t7V5EmEq.js → node-service-E8k7BOQV.js} +1 -1
- package/dist/{nodes-cli-BChJzcKY.js → nodes-cli-BY6HrZlh.js} +15 -15
- package/dist/{nodes-cli-DU7g9x5A.js → nodes-cli-OTk4gEj-.js} +8 -8
- package/dist/{nodes-screen-Cp5QP3ET.js → nodes-screen-De9ma6e1.js} +4 -4
- package/dist/{note--x67NNhv.js → note-Bn5K9itM.js} +1 -1
- package/dist/{note-DlaPViz1.js → note-DtkOgLxt.js} +1 -1
- package/dist/{npm-registry-spec-B5KYXHyZ.js → npm-registry-spec-CZCkONwR.js} +1 -1
- package/dist/{npm-registry-spec-CqVgiBCf.js → npm-registry-spec-L8BUQ0nu.js} +9 -9
- package/dist/{onboard-BbfERyKU.js → onboard-BUXhXTvo.js} +17 -17
- package/dist/{onboard-C0nMMiiS.js → onboard-D6gii9NE.js} +21 -21
- package/dist/{onboard-channels-CmsfVut5.js → onboard-channels-CPEw_fGa.js} +8 -8
- package/dist/{onboard-channels-CMp9YXHC.js → onboard-channels-X_6Mru0N.js} +7 -7
- package/dist/{onboard-custom-BcR121kZ.js → onboard-custom-TvRg0dYq.js} +2 -2
- package/dist/{onboard-custom-BfHczxx0.js → onboard-custom-y7PsUrmE.js} +3 -3
- package/dist/{onboard-helpers-OB_xKQze.js → onboard-helpers-CtpOchu0.js} +9 -9
- package/dist/{onboard-helpers-Cut7JJgz.js → onboard-helpers-HjgAKoSl.js} +3 -3
- package/dist/{onboard-hooks-BQZHzOjV.js → onboard-hooks-BU0EsBMH.js} +2 -2
- package/dist/{onboard-hooks-BA22KYCG.js → onboard-hooks-Cmy0Qz0F.js} +3 -3
- package/dist/{onboard-remote-Dv2Uz8Ru.js → onboard-remote-B5kHPh_e.js} +3 -3
- package/dist/{onboard-remote-DkBefpqh.js → onboard-remote-B7bM-1-l.js} +3 -3
- package/dist/{onboard-skills-C3PlCA9W.js → onboard-skills-BsPcuuer.js} +2 -2
- package/dist/{onboard-skills-BzxofI4T.js → onboard-skills-V7pX2pkl.js} +3 -3
- package/dist/{onboarding-DoYMfCjS.js → onboarding-BRGBmixw.js} +15 -15
- package/dist/{onboarding-vgZFhH5N.js → onboarding-CLd3IKVw.js} +17 -17
- package/dist/{onboarding.finalize-Dj0xG8pk.js → onboarding.finalize-DMbn9D6-.js} +24 -24
- package/dist/{onboarding.finalize-BYHDzz2i.js → onboarding.finalize-SWmODPKQ.js} +36 -36
- package/dist/{onboarding.gateway-config-DxaAacmJ.js → onboarding.gateway-config-9dgVRLeb.js} +5 -5
- package/dist/{onboarding.gateway-config-CDRLfIZM.js → onboarding.gateway-config-DXQhxsQS.js} +10 -10
- package/dist/{openai-model-default-CROL7CWb.js → openai-model-default-BkGyzajy.js} +1 -1
- package/dist/{openai-model-default-Dl21Ivjc.js → openai-model-default-D_rz8Pew.js} +2 -2
- package/dist/{pairing-cli-C2_Zobhz.js → pairing-cli-D2zvrKTM.js} +7 -7
- package/dist/{pairing-cli-AsreSKeE.js → pairing-cli-WQ1MKO2B.js} +2 -2
- package/dist/{pairing-store-Be-ZQK87.js → pairing-store-BNhJOnWn.js} +1 -1
- package/dist/{pairing-token-B703A1U3.js → pairing-token-Dcy37-4s.js} +7 -7
- package/dist/{path-env-DV7jtyFi.js → path-env-BHRjFlqO.js} +1 -1
- package/dist/{path-env-BbA98xsH.js → path-env-i-ZjtVbs.js} +1 -1
- package/dist/{paths-BWqg8NZT.js → paths-DObzwe08.js} +1 -1
- package/dist/{pi-auth-json-D-vdh-nY.js → pi-auth-json-Db8XJVGL.js} +6 -6
- package/dist/{pi-embedded-C7mJzGIf.js → pi-embedded-V_-m7KaX.js} +6 -3
- package/dist/{pi-embedded-helpers-y3vJmW6T.js → pi-embedded-helpers-DVolpQ34.js} +6 -6
- package/dist/{pi-embedded-helpers-j8QCV6pY.js → pi-embedded-helpers-nFK_hP2q.js} +1 -1
- package/dist/{pi-tools.policy-ji-L-Mpv.js → pi-tools.policy-CTzYYKRt.js} +3 -3
- package/dist/{pi-tools.policy-4gtz_Ipq.js → pi-tools.policy-uHgu_nx0.js} +1 -1
- package/dist/{plugin-auto-enable-C3-mgy6s.js → plugin-auto-enable-BkhVwtbW.js} +2 -2
- package/dist/{plugin-auto-enable-Ctbn2w4Q.js → plugin-auto-enable-C4b23B35.js} +3 -3
- package/dist/{plugin-registry-pKaJ4ltN.js → plugin-registry-4-CuULhH.js} +1 -1
- package/dist/{plugin-registry-D2ZbwBU_.js → plugin-registry-DXV9NsTS.js} +3 -3
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +5 -2
- package/dist/plugin-sdk/gateway/protocol/schema/logs-chat.d.ts +1 -0
- package/dist/{plugins-cli-CoHiV4BX.js → plugins-cli-BYS6o66e.js} +60 -60
- package/dist/{plugins-cli-uo8lcB7v.js → plugins-cli-DNRfyaba.js} +26 -26
- package/dist/{ports-ukrEAkOP.js → ports-CqKpyZSl.js} +1 -1
- package/dist/{ports-CB_Iu83U.js → ports-gxLM5ahL.js} +2 -2
- package/dist/{program-rzYjZKRz.js → program-S5VHoZek.js} +29 -29
- package/dist/{program-context-B1ZbQmLL.js → program-context-DcVaa1lI.js} +40 -40
- package/dist/{prompt-select-styled-F6P-rvFI.js → prompt-select-styled-BXz6ofdT.js} +27 -27
- package/dist/{prompt-select-styled-CX0v66wx.js → prompt-select-styled-_iQ3XIKF.js} +44 -44
- package/dist/{provider-auth-helpers-_jn9PngO.js → provider-auth-helpers-DUimFIMQ.js} +8 -8
- package/dist/{provider-auth-helpers-Ck98bkHV.js → provider-auth-helpers-DxzoMuRt.js} +6 -6
- package/dist/{push-apns-BtMtpzEm.js → push-apns-B0rCgozR.js} +1 -1
- package/dist/{push-apns-CmeoBcIQ.js → push-apns-rB2dtkMY.js} +4 -4
- package/dist/{pw-ai-CQJsGI1b.js → pw-ai-_prsAw5O.js} +7 -7
- package/dist/{qmd-manager-DawTY2mB.js → qmd-manager-BbWeOOTD.js} +19 -19
- package/dist/{qr-cli-DKowtQcM.js → qr-cli-KmGkQDBF.js} +3 -3
- package/dist/{register.agent-0hWBZXD7.js → register.agent-DA2XHVBw.js} +82 -82
- package/dist/{register.agent-_UqSBmt5.js → register.agent-Dpw6yuGS.js} +44 -44
- package/dist/register.configure-DmOI2ccM.js +134 -0
- package/dist/{register.configure-KrTtvKSp.js → register.configure-h8flfdgW.js} +52 -52
- package/dist/{register.maintenance-DjZeknO6.js → register.maintenance-CKfn4GzH.js} +80 -80
- package/dist/{register.maintenance-DDSfzFoo.js → register.maintenance-D99Kay4u.js} +47 -47
- package/dist/{register.message-DSwwDcGi.js → register.message-CHIX979C.js} +23 -23
- package/dist/{register.message-DTZJ5OiL.js → register.message-DXq0F9ry.js} +55 -55
- package/dist/{register.onboard-BToIZTIS.js → register.onboard-B6BM2IRA.js} +24 -24
- package/dist/{register.onboard-B8k5phG7.js → register.onboard-DTsZZvLQ.js} +34 -34
- package/dist/{register.setup-BdUewOo1.js → register.setup-CfX9Touh.js} +24 -24
- package/dist/{register.setup-1fexz2oW.js → register.setup-DrjcrBpl.js} +37 -37
- package/dist/{register.status-health-sessions-0RyA2cXf.js → register.status-health-sessions-BdTot-iF.js} +50 -50
- package/dist/{register.status-health-sessions-eBaeXIvo.js → register.status-health-sessions-FQdDNcRl.js} +30 -30
- package/dist/{register.subclis-tX3BslaT.js → register.subclis-BWgJlszt.js} +28 -28
- package/dist/{replies-D3cffD5N.js → replies-B91-OngF.js} +1 -1
- package/dist/{reply-prefix-CtZtkTJK.js → reply-prefix-BFNeXT65.js} +1 -1
- package/dist/{resolve-route-B0i_o4Fo.js → resolve-route-Zww0Y-HJ.js} +1 -1
- package/dist/{routes-5AKY1jFp.js → routes-BfeVDhod.js} +1 -1
- package/dist/{routes-zpAUwtCG.js → routes-y2Ww0pum.js} +10 -10
- package/dist/{rpc-CPy6Ks0K.js → rpc-DZCrGGH5.js} +2 -2
- package/dist/{rpc-DhsDKVo-.js → rpc-RIkh5F9v.js} +2 -2
- package/dist/{run-main-DIl_Kl0B.js → run-main-CbC-EYND.js} +43 -43
- package/dist/{sandbox-DBY8ri7U.js → sandbox-BjQ6n3zl.js} +2 -2
- package/dist/{sandbox-DQCaejcD.js → sandbox-DQdjlC-w.js} +18 -18
- package/dist/{sandbox-cli-Bi4IABaL.js → sandbox-cli-C0IVf8AS.js} +5 -5
- package/dist/{sandbox-cli-CbvyZs1z.js → sandbox-cli-CTYAHFyM.js} +15 -15
- package/dist/{security-cli-CbJxNYZx.js → security-cli-B8VyQJcl.js} +31 -31
- package/dist/{security-cli-BTytANc3.js → security-cli-D0oErb9f.js} +11 -11
- package/dist/{send-QscYkkNh.js → send-Cxu1tl56.js} +7 -7
- package/dist/{server-context-CHqhgQgU.js → server-context-BFCh7pUb.js} +3 -3
- package/dist/{server-context-CXVq7gZ7.js → server-context-YlgRz1wC.js} +5 -5
- package/dist/{server-methods-CpFBGxWI.js → server-methods-CMexFbR1.js} +51 -22
- package/dist/{server-methods-DPxjPGr0.js → server-methods-Dp6Bzi3H.js} +92 -63
- package/dist/{server-node-events-B_BPbi7z.js → server-node-events-C3br52Ev.js} +54 -54
- package/dist/{server-node-events-2SUW10k3.js → server-node-events-Ct-qT_KH.js} +22 -22
- package/dist/{service-Bhr6wh5u.js → service-BBw78ATM.js} +1 -1
- package/dist/{service-Cm4-5AH9.js → service-vsb7_8MA.js} +15 -15
- package/dist/{session-dirs-BypCYFN3.js → session-dirs-DJ4qiP3r.js} +2 -2
- package/dist/{session-utils-lXjJoBxe.js → session-utils-BZnPW904.js} +14 -14
- package/dist/{sessions-aSo5jsmg.js → sessions-optZRB57.js} +10 -10
- package/dist/{shared-BI-gOZsD.js → shared-BucaCyaw.js} +3 -3
- package/dist/{shared-DDX_4ypC.js → shared-CVXZtpIq.js} +1 -1
- package/dist/{shared-CpsMsILL.js → shared-CfBMF1VB.js} +1 -1
- package/dist/{skill-commands-C9WuAfb2.js → skill-commands-yPirQFOb.js} +4 -4
- package/dist/{skill-scanner-CFqMkfZW.js → skill-scanner-zh2dJM3x.js} +5 -5
- package/dist/{skills-CYcBtLGH.js → skills-BwDmcZdt.js} +4 -4
- package/dist/{skills-cli-BgyaAQoj.js → skills-cli-CcWFIcOR.js} +9 -9
- package/dist/{skills-cli-DYXzd3nX.js → skills-cli-DcJBgk5R.js} +2 -2
- package/dist/{skills-install-MGsx6q5Z.js → skills-install-CbRsCzAG.js} +5 -5
- package/dist/{skills-install-BmZ-1p6t.js → skills-install-CcW780Kq.js} +4 -4
- package/dist/{skills-remote-BcRQTDsZ.js → skills-remote-bz71Bstn.js} +3 -3
- package/dist/{skills-status-CbSdFlvm.js → skills-status-CLzaY4r2.js} +2 -2
- package/dist/{sqlite-BpogPlQW.js → sqlite-Cod7C5ba.js} +5 -5
- package/dist/{status-C-r9JpJf.js → status-Bs0FcIH9.js} +29 -29
- package/dist/{status-BVYDUlnp.js → status-CeI4Ju5u.js} +16 -16
- package/dist/{status-DbNNmkNB.js → status-DWKk0B2Z.js} +1 -1
- package/dist/{status-DIJvpgEm.js → status-xoNRQH61.js} +3 -3
- package/dist/{status.update-EyslEZkn.js → status.update-B52bM2Tg.js} +3 -3
- package/dist/{status.update-DZ45tdyq.js → status.update-Bl_ewksT.js} +1 -1
- package/dist/{subagent-registry-DWemyjbN.js → subagent-registry-li_hXXbq.js} +18 -17
- package/dist/{symi-root-DeCVdZB4.js → symi-root-BQ0IpoW2.js} +2 -2
- package/dist/{synthesis-BxYzOZUA.js → synthesis-CgMiTo14.js} +19 -19
- package/dist/{synthesis-BdTiornP.js → synthesis-Cp6okb8G.js} +2 -2
- package/dist/{synthesis-C7RlvHEs.js → synthesis-DGwxPIQU.js} +50 -50
- package/dist/{synthesis-DQ7Y6OE0.js → synthesis-mBz9x2Gz.js} +2 -2
- package/dist/{system-cli-DgOvK_kU.js → system-cli-BAn07VkE.js} +9 -9
- package/dist/{system-cli-D7jMpaOw.js → system-cli-BTZ8T0-Z.js} +5 -5
- package/dist/{systemd-B2nTr3Y2.js → systemd-DCzA-V_E.js} +5 -5
- package/dist/{systemd-hints-DtOWJT_2.js → systemd-hints-BlGehfA3.js} +7 -7
- package/dist/{systemd-hints-CfjRhSCF.js → systemd-hints-CvIqgg9d.js} +4 -4
- package/dist/{systemd-linger-C6G2nDWK.js → systemd-linger-BUWYteOW.js} +2 -2
- package/dist/{systemd-linger-CWi5l8Nt.js → systemd-linger-Bj4nK9ZB.js} +2 -2
- package/dist/{tui-KP3CPTV4.js → tui-B6mIUNPO.js} +3 -3
- package/dist/{tui-D7ms_iQ4.js → tui-XLWiN8Hm.js} +7 -7
- package/dist/{tui-cli-DNvAqIYN.js → tui-cli-CTK5_3rU.js} +20 -20
- package/dist/{tui-cli-BG3OTBNU.js → tui-cli-byFYgg3c.js} +8 -8
- package/dist/{unified-runner-BIUJm_Iv.js → unified-runner-BXHNiofY.js} +105 -104
- package/dist/{unified-runner-DPWNhQQA.js → unified-runner-BknJsCw0.js} +6 -3
- package/dist/{update-BhFBDs4W.js → update-DxY1UB0k.js} +1 -1
- package/dist/{update-pddgyV7i.js → update-EhDcBqN1.js} +3 -3
- package/dist/{update-check-CduiCxPo.js → update-check-H0DwvuqN.js} +6 -6
- package/dist/{update-check-BVu0zSCT.js → update-check-pFwV6W-z.js} +1 -1
- package/dist/{update-cli-GKXF83cS.js → update-cli-CV3u08i6.js} +91 -91
- package/dist/{update-cli-BM-A3cIZ.js → update-cli-CxydnTxB.js} +56 -56
- package/dist/{update-runner-BMYqz1dl.js → update-runner-7oHPAIND.js} +15 -15
- package/dist/{update-runner-C5g0azyg.js → update-runner-CERd2XdT.js} +2 -2
- package/dist/{webhooks-cli-BPPmnDCj.js → webhooks-cli-3UJupWMP.js} +6 -6
- package/dist/{webhooks-cli-gY4ZCBXI.js → webhooks-cli-BFpGMNrf.js} +2 -2
- package/dist/{with-timeout-CaEWDssR.js → with-timeout-Bn-ltLg1.js} +1 -1
- package/dist/{with-timeout-D1qzvPE0.js → with-timeout-EXM-FP4_.js} +1 -1
- package/dist/{workspace-dirs-DCICLTHx.js → workspace-dirs-jKFQf7of.js} +1 -1
- package/dist/{wsl-Sed675xh.js → wsl-hSA0zCrh.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-CgQ6sqtQ.js +0 -134
- /package/dist/{agents.config-DJ6HOh-6.js → agents.config-BG9fpad0.js} +0 -0
- /package/dist/{argv-BH07Qj4L.js → argv-oa_KBmv1.js} +0 -0
- /package/dist/{auth-choice-legacy-Ay7AiVPU.js → auth-choice-legacy-DwMt7oDR.js} +0 -0
- /package/dist/{auth-choice-legacy-GGnDhlyD.js → auth-choice-legacy-ZsU_kwPI.js} +0 -0
- /package/dist/{auth-token-DUIqGPhx.js → auth-token-t_CY5BPB.js} +0 -0
- /package/dist/{brew-7GLuXTcQ.js → brew-B3VMQVQk.js} +0 -0
- /package/dist/{brew-CHxBxbYV.js → brew-BsE_w2tW.js} +0 -0
- /package/dist/{catalog-DsC3JTw1.js → catalog-BXxi5-YC.js} +0 -0
- /package/dist/{catalog-CPv67Mhc.js → catalog-CriSxQMH.js} +0 -0
- /package/dist/{channels-status-issues-mROqdfm_.js → channels-status-issues-C2AVfv0-.js} +0 -0
- /package/dist/{channels-status-issues-DGneT0fj.js → channels-status-issues-DuRF3XF3.js} +0 -0
- /package/dist/{cli-utils-BhfE5XS2.js → cli-utils-Ca0KE-dW.js} +0 -0
- /package/dist/{clipboard-zhZhAHCD.js → clipboard-B1jgJ11s.js} +0 -0
- /package/dist/{clipboard-DCY3rzzp.js → clipboard-Sks8Qw-6.js} +0 -0
- /package/dist/{command-options-D2nN4AXX.js → command-options-C2yg82U0.js} +0 -0
- /package/dist/{command-options-nJfiotBs.js → command-options-D_KEIae-.js} +0 -0
- /package/dist/{config-validation-HXl5srHm.js → config-validation-DGWvkKov.js} +0 -0
- /package/dist/{consolidate-ONc01jKh.js → consolidate-DPAffHCg.js} +0 -0
- /package/dist/{control-ui-assets-C_5Ba0OA.js → control-ui-assets-BVCcPRi3.js} +0 -0
- /package/dist/{dm-policy-shared-CES9K2AU.js → dm-policy-shared-ZfPtrTeh.js} +0 -0
- /package/dist/{entry-status-B63VEeeK.js → entry-status-BqhxPFzK.js} +0 -0
- /package/dist/{format-Bxjkt5ce.js → format-BFJAwjeA.js} +0 -0
- /package/dist/{format-DL779yrP.js → format-BskCnX0I.js} +0 -0
- /package/dist/{gmail-setup-utils-D91ZFrEZ.js → gmail-setup-utils-BlGvgPlF.js} +0 -0
- /package/dist/{gmail-setup-utils-B7WinJkq.js → gmail-setup-utils-DsRU2ywQ.js} +0 -0
- /package/dist/{health-format-y74JTiFu.js → health-format-C0DWlpEn.js} +0 -0
- /package/dist/{health-format-CUEM0lJl.js → health-format-CzrMGubG.js} +0 -0
- /package/dist/{help-format-CbgFRc-H.js → help-format-BjEVi4c_.js} +0 -0
- /package/dist/{help-format-CPT6NY3h.js → help-format-DhRyo3Pj.js} +0 -0
- /package/dist/{helpers-DgsKk072.js → helpers-CcArejFh.js} +0 -0
- /package/dist/{helpers-B0WawhZc.js → helpers-DJRLZbrj.js} +0 -0
- /package/dist/{helpers-B454yiz9.js → helpers-DUclfUl-.js} +0 -0
- /package/dist/{helpers-Cv2yCxAb.js → helpers-Dm_utoC3.js} +0 -0
- /package/dist/{ipv4-Coaw2jro.js → ipv4--8f4a_51.js} +0 -0
- /package/dist/{ipv4-DT0eS3F4.js → ipv4-Cy7l-phR.js} +0 -0
- /package/dist/{links-TQwptN6q.js → links-BkFDs4sT.js} +0 -0
- /package/dist/{links-BDe4dm1J.js → links-D6ASL_as.js} +0 -0
- /package/dist/{logging-BqCc-3Ld.js → logging-4WqMHwAZ.js} +0 -0
- /package/dist/{logging-CoYSc9bY.js → logging-iIX8duxv.js} +0 -0
- /package/dist/{logging-BeW3kpQA.js → logging-uD67RPtO.js} +0 -0
- /package/dist/{model-param-b-7eOskmw9.js → model-param-b-CfiuLqZG.js} +0 -0
- /package/dist/{model-param-b-BXLeXwsL.js → model-param-b-DieX_ZxM.js} +0 -0
- /package/dist/{onboard-config-Bi_rwJxu.js → onboard-config-BKb2QQqE.js} +0 -0
- /package/dist/{onboard-config-DtYWshyH.js → onboard-config-DZIbmz6s.js} +0 -0
- /package/dist/{outbound-send-deps-CocVWWDn.js → outbound-send-deps-BR6jeE9h.js} +0 -0
- /package/dist/{outbound-send-deps-Bms6Lw6N.js → outbound-send-deps-PNzbuoSX.js} +0 -0
- /package/dist/{parse-log-line-BX_3CQNJ.js → parse-log-line-CeJ1RDHv.js} +0 -0
- /package/dist/{parse-log-line-kWIsKiHh.js → parse-log-line-DxFrnzNo.js} +0 -0
- /package/dist/{parse-port-BCZfNBii.js → parse-port-DdAxyRwV.js} +0 -0
- /package/dist/{parse-port-Bi7Gqqv0.js → parse-port-W56FnCN_.js} +0 -0
- /package/dist/{path-safety-C0C4YlKw.js → path-safety-LPRW6mO-.js} +0 -0
- /package/dist/{path-safety-D7wDjTGr.js → path-safety-grmMl9nR.js} +0 -0
- /package/dist/{plugins-allowlist-C20oaESO.js → plugins-allowlist-BuJjTWyS.js} +0 -0
- /package/dist/{plugins-allowlist-CWCQC08H.js → plugins-allowlist-BvQZxkGy.js} +0 -0
- /package/dist/{ports-m6zWAy9E.js → ports-BDzMH5Eu.js} +0 -0
- /package/dist/{program-context-4vIUuzQk.js → program-context-C5Y6Svzj.js} +0 -0
- /package/dist/{progress-HNhsbm0E.js → progress-B3K1UFtC.js} +0 -0
- /package/dist/{progress-CqV5lJkt.js → progress-deSwGz9x.js} +0 -0
- /package/dist/{prompt-style-BEDZROvQ.js → prompt-style-DS51QPPi.js} +0 -0
- /package/dist/{prompt-style-BIa9VCNS.js → prompt-style-DeaIm7_1.js} +0 -0
- /package/dist/{prompts-C1Vmrk7-.js → prompts-LvxbwPs6.js} +0 -0
- /package/dist/{prompts-GoDC3iAV.js → prompts-l_pUOv42.js} +0 -0
- /package/dist/{pw-ai-J9lss2w3.js → pw-ai-kkF0QaDF.js} +0 -0
- /package/dist/{qmd-manager-sDAxAbyX.js → qmd-manager-CYKlEJ2U.js} +0 -0
- /package/dist/{qr-cli-DZnZP79P.js → qr-cli-CcAzgz_N.js} +0 -0
- /package/dist/{replies-LM-arXEE.js → replies-UP2sglaR.js} +0 -0
- /package/dist/{runtime-guard-C8jl1lEu.js → runtime-guard-DWXoHW1Q.js} +0 -0
- /package/dist/{runtime-guard-DfRLODeV.js → runtime-guard-GWXNB3ke.js} +0 -0
- /package/dist/{runtime-status-B5agj-Qk.js → runtime-status-BqrK6ivx.js} +0 -0
- /package/dist/{runtime-status-BgZqic8M.js → runtime-status-D4pjzLyv.js} +0 -0
- /package/dist/{session-dirs-Buy7H26D.js → session-dirs-CXErIzZq.js} +0 -0
- /package/dist/{sessions-BceutrR2.js → sessions-uS7rV-lI.js} +0 -0
- /package/dist/{shared-DJ_GXCp1.js → shared-k1QjV3ys.js} +0 -0
- /package/dist/{skill-scanner-CH9qofCG.js → skill-scanner-Ur9nMoo4.js} +0 -0
- /package/dist/{status-BvbsaoNZ.js → status-Bz_-dDs6.js} +0 -0
- /package/dist/{status-QSx6bfFf.js → status-CExNNC5N.js} +0 -0
- /package/dist/{system-run-command-fjiicRnc.js → system-run-command-CeR1OLFk.js} +0 -0
- /package/dist/{systemd-krdArbOb.js → systemd-Cmn7zMqD.js} +0 -0
- /package/dist/{table-D902H0x3.js → table-jBELNhV1.js} +0 -0
- /package/dist/{table-DTXkjZUY.js → table-xKEHbVsK.js} +0 -0
- /package/dist/{tool-loop-detection-DfBe53Zo.js → tool-loop-detection-D3y39HsT.js} +0 -0
- /package/dist/{tool-loop-detection-DGW6psAc.js → tool-loop-detection-DljhV89j.js} +0 -0
- /package/dist/{widearea-dns-CK7KqIOE.js → widearea-dns-BSrnDwJD.js} +0 -0
- /package/dist/{widearea-dns-BtlROnju.js → widearea-dns-C8Rsixsi.js} +0 -0
- /package/dist/{workspace-YJl3L-5e.js → workspace-BkWAKK8O.js} +0 -0
- /package/dist/{workspace-ZEf44zTR.js → workspace-DKEYzTNc.js} +0 -0
- /package/dist/{wsl-CAxwzmL8.js → wsl-cy5jpbkx.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-vsb7_8MA.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];
|
|
@@ -3,9 +3,9 @@ import "./paths-By0XjHBk.js";
|
|
|
3
3
|
import "./utils-CTPsqyE_.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import "./exec-DuYbft0z.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
6
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
7
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
8
|
+
import { i as loadConfig } from "./config-D7SS4vdk.js";
|
|
9
9
|
import "./boolean-CbZoNRMn.js";
|
|
10
10
|
import "./env-BRnPI9sO.js";
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
@@ -13,10 +13,10 @@ import "./manifest-registry-D1MLZEjS.js";
|
|
|
13
13
|
import "./message-channel-DgjXWzf-.js";
|
|
14
14
|
import { t as getChannelPlugin } from "./plugins-CF5skkHh.js";
|
|
15
15
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DF4bza2Q.js";
|
|
16
|
-
import { t as formatDocsLink } from "./links-
|
|
17
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
18
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
19
|
-
import { t as renderTable } from "./table-
|
|
16
|
+
import { t as formatDocsLink } from "./links-BkFDs4sT.js";
|
|
17
|
+
import { t as formatHelpExamples } from "./help-format-DhRyo3Pj.js";
|
|
18
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-CcArejFh.js";
|
|
19
|
+
import { t as renderTable } from "./table-jBELNhV1.js";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/directory-cli.ts
|
|
22
22
|
function parseLimit(value) {
|
|
@@ -8,10 +8,10 @@ import "./shell-env-CTYaxUs_.js";
|
|
|
8
8
|
import "./message-channel-DXToSaWK.js";
|
|
9
9
|
import { t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
10
10
|
import { n as resolveMessageChannelSelection } from "./channel-selection-BiYW5XI-.js";
|
|
11
|
-
import { t as formatDocsLink } from "./links-
|
|
12
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
13
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
14
|
-
import { t as renderTable } from "./table-
|
|
11
|
+
import { t as formatDocsLink } from "./links-D6ASL_as.js";
|
|
12
|
+
import { t as formatHelpExamples } from "./help-format-BjEVi4c_.js";
|
|
13
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-Dm_utoC3.js";
|
|
14
|
+
import { t as renderTable } from "./table-xKEHbVsK.js";
|
|
15
15
|
|
|
16
16
|
//#region src/cli/directory-cli.ts
|
|
17
17
|
function parseLimit(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as normalizeStringEntries } from "./dock-hF45sewN.js";
|
|
2
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
2
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BNhJOnWn.js";
|
|
3
3
|
|
|
4
4
|
//#region src/security/dm-policy-shared.ts
|
|
5
5
|
async function resolveDmAllowState(params) {
|
|
@@ -3,17 +3,17 @@ import "./paths-By0XjHBk.js";
|
|
|
3
3
|
import "./utils-CTPsqyE_.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import "./exec-DuYbft0z.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
6
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
7
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
8
|
+
import { i as loadConfig } from "./config-D7SS4vdk.js";
|
|
9
9
|
import "./boolean-CbZoNRMn.js";
|
|
10
10
|
import "./env-BRnPI9sO.js";
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
12
12
|
import "./manifest-registry-D1MLZEjS.js";
|
|
13
13
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-XKACsamF.js";
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
15
|
-
import { t as renderTable } from "./table-
|
|
16
|
-
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-
|
|
14
|
+
import { t as formatDocsLink } from "./links-BkFDs4sT.js";
|
|
15
|
+
import { t as renderTable } from "./table-jBELNhV1.js";
|
|
16
|
+
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-BSrnDwJD.js";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import fs from "node:fs";
|
|
19
19
|
import { spawnSync } from "node:child_process";
|
|
@@ -6,9 +6,9 @@ import "./manifest-registry-CVLmi8rz.js";
|
|
|
6
6
|
import { i as loadConfig } from "./config-_DaupjQd.js";
|
|
7
7
|
import "./shell-env-CTYaxUs_.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-B2SPYrh4.js";
|
|
9
|
-
import { t as formatDocsLink } from "./links-
|
|
10
|
-
import { t as renderTable } from "./table-
|
|
11
|
-
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-
|
|
9
|
+
import { t as formatDocsLink } from "./links-D6ASL_as.js";
|
|
10
|
+
import { t as renderTable } from "./table-xKEHbVsK.js";
|
|
11
|
+
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-C8Rsixsi.js";
|
|
12
12
|
import { spawnSync } from "node:child_process";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import fs from "node:fs";
|
|
@@ -6,8 +6,8 @@ import "./skills-cLBEdkqu.js";
|
|
|
6
6
|
import "./manifest-registry-CVLmi8rz.js";
|
|
7
7
|
import "./redact-Dj3r1_tS.js";
|
|
8
8
|
import "./errors-BmdGLmRC.js";
|
|
9
|
-
import { t as formatDocsLink } from "./links-
|
|
10
|
-
import { n as runCommandWithRuntime } from "./cli-utils-
|
|
9
|
+
import { t as formatDocsLink } from "./links-D6ASL_as.js";
|
|
10
|
+
import { n as runCommandWithRuntime } from "./cli-utils-tNdOjVQI.js";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/docs.ts
|
|
13
13
|
const SEARCH_TOOL = "https://docs.symi.ai/mcp.SearchSymi";
|
|
@@ -7,11 +7,11 @@ import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
|
7
7
|
import "./boolean-CbZoNRMn.js";
|
|
8
8
|
import "./manifest-registry-D1MLZEjS.js";
|
|
9
9
|
import { d as hasBinary } from "./frontmatter-B_jqcova.js";
|
|
10
|
-
import "./skills-
|
|
10
|
+
import "./skills-BwDmcZdt.js";
|
|
11
11
|
import "./redact-B3O-RBO1.js";
|
|
12
12
|
import "./errors-bI7Tdx75.js";
|
|
13
|
-
import { t as formatDocsLink } from "./links-
|
|
14
|
-
import { n as runCommandWithRuntime } from "./cli-utils-
|
|
13
|
+
import { t as formatDocsLink } from "./links-BkFDs4sT.js";
|
|
14
|
+
import { n as runCommandWithRuntime } from "./cli-utils-Ca0KE-dW.js";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/docs.ts
|
|
17
17
|
const SEARCH_TOOL = "https://docs.symi.ai/mcp.SearchSymi";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveCliName } from "./cli-name-DY75UA5M.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-Ctw1Rb_n.js";
|
|
3
|
-
import { t as note } from "./note
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
3
|
+
import { t as note } from "./note-Bn5K9itM.js";
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-JF4DUQKc.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveCliName } from "./cli-name-CzMV-gJF.js";
|
|
2
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
3
|
-
import { t as note } from "./note-
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
2
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-BQ0IpoW2.js";
|
|
3
|
+
import { t as note } from "./note-DtkOgLxt.js";
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DSp6zI3Z.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -4,9 +4,9 @@ import { n as DEFAULT_MAIN_KEY, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID,
|
|
|
4
4
|
import { l as resolveDefaultAgentId } from "./agent-scope-C-Jte08L.js";
|
|
5
5
|
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-_DaupjQd.js";
|
|
6
6
|
import { M as canonicalizeMainSessionAlias, l as saveSessionStore } from "./sessions-DHPf5TzB.js";
|
|
7
|
-
import { t as note } from "./note
|
|
8
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
9
|
-
import { t as isWithinDir } from "./path-safety-
|
|
7
|
+
import { t as note } from "./note-Bn5K9itM.js";
|
|
8
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BkhVwtbW.js";
|
|
9
|
+
import { t as isWithinDir } from "./path-safety-grmMl9nR.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -2,17 +2,17 @@ import { _ as resolveStateDir, h as resolveOAuthDir, m as resolveNewStateDir, p
|
|
|
2
2
|
import { m as resolveHomeDir, u as isRecord } from "./utils-CTPsqyE_.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
4
4
|
import { n as DEFAULT_MAIN_KEY, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey } from "./session-key-DUSb7CCb.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-
|
|
8
|
-
import { t as note } from "./note-
|
|
9
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
10
|
-
import { t as isWithinDir } from "./path-safety-
|
|
5
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-DOrZjOnW.js";
|
|
6
|
+
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-D7SS4vdk.js";
|
|
7
|
+
import { l as saveSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-optZRB57.js";
|
|
8
|
+
import { t as note } from "./note-DtkOgLxt.js";
|
|
9
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-C4b23B35.js";
|
|
10
|
+
import { t as isWithinDir } from "./path-safety-LPRW6mO-.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
|
@@ -2315,7 +2315,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2315
2315
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2316
2316
|
process$1.argv = parsed.argv;
|
|
2317
2317
|
}
|
|
2318
|
-
import("./run-main-
|
|
2318
|
+
import("./run-main-CbC-EYND.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2319
2319
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2320
2320
|
process$1.exitCode = 1;
|
|
2321
2321
|
});
|
|
@@ -5,20 +5,20 @@ import "./model-selection-CMx1evaF.js";
|
|
|
5
5
|
import "./manifest-registry-CVLmi8rz.js";
|
|
6
6
|
import "./config-_DaupjQd.js";
|
|
7
7
|
import "./shell-env-CTYaxUs_.js";
|
|
8
|
-
import "./client-
|
|
9
|
-
import "./call-
|
|
8
|
+
import "./client-DhdWcgZP.js";
|
|
9
|
+
import "./call-DrkOiHjS.js";
|
|
10
10
|
import "./message-channel-DXToSaWK.js";
|
|
11
11
|
import "./pairing-token-B-OTYROz.js";
|
|
12
12
|
import { n as formatTimeAgo } from "./format-relative-CxLpEQOX.js";
|
|
13
13
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-DEjIocmZ.js";
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
15
|
-
import "./progress-
|
|
16
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
17
|
-
import "./systemd-
|
|
18
|
-
import "./service-
|
|
19
|
-
import { t as renderTable } from "./table-
|
|
20
|
-
import { t as describeUnknownError } from "./shared-
|
|
21
|
-
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
14
|
+
import { t as formatDocsLink } from "./links-D6ASL_as.js";
|
|
15
|
+
import "./progress-deSwGz9x.js";
|
|
16
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-CBb3_pT9.js";
|
|
17
|
+
import "./systemd-Cmn7zMqD.js";
|
|
18
|
+
import "./service-BBw78ATM.js";
|
|
19
|
+
import { t as renderTable } from "./table-xKEHbVsK.js";
|
|
20
|
+
import { t as describeUnknownError } from "./shared-CfBMF1VB.js";
|
|
21
|
+
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-DZCrGGH5.js";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
|
|
@@ -3,29 +3,29 @@ import "./paths-By0XjHBk.js";
|
|
|
3
3
|
import "./utils-CTPsqyE_.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import "./exec-DuYbft0z.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./config-
|
|
6
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
7
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
8
|
+
import "./config-D7SS4vdk.js";
|
|
9
9
|
import "./boolean-CbZoNRMn.js";
|
|
10
10
|
import "./env-BRnPI9sO.js";
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
12
12
|
import "./manifest-registry-D1MLZEjS.js";
|
|
13
13
|
import "./message-channel-DgjXWzf-.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
16
|
-
import "./pairing-token-
|
|
14
|
+
import "./client-B9E9fdCA.js";
|
|
15
|
+
import "./call-CKm3T_ar.js";
|
|
16
|
+
import "./pairing-token-Dcy37-4s.js";
|
|
17
17
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
18
18
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-DioSaIeH.js";
|
|
19
|
-
import { t as formatDocsLink } from "./links-
|
|
20
|
-
import "./progress-
|
|
21
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
22
|
-
import "./systemd-
|
|
23
|
-
import "./service-
|
|
24
|
-
import { t as renderTable } from "./table-
|
|
25
|
-
import { t as describeUnknownError } from "./shared-
|
|
26
|
-
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
19
|
+
import { t as formatDocsLink } from "./links-BkFDs4sT.js";
|
|
20
|
+
import "./progress-B3K1UFtC.js";
|
|
21
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-DrcgCoEA.js";
|
|
22
|
+
import "./systemd-DCzA-V_E.js";
|
|
23
|
+
import "./service-vsb7_8MA.js";
|
|
24
|
+
import { t as renderTable } from "./table-jBELNhV1.js";
|
|
25
|
+
import { t as describeUnknownError } from "./shared-CVXZtpIq.js";
|
|
26
|
+
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-RIkh5F9v.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
|
@@ -6,7 +6,7 @@ import { _ as DEFAULT_PROVIDER, g as DEFAULT_MODEL, p as resolveThinkingDefault
|
|
|
6
6
|
import { a as resolveAgentIdentity } from "./reply-prefix-i-FPYcoQ.js";
|
|
7
7
|
import "./plugins-CZ_mYwXq.js";
|
|
8
8
|
import "./replies-BYF1gbJf.js";
|
|
9
|
-
import { a as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-
|
|
9
|
+
import { a as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-V_-m7KaX.js";
|
|
10
10
|
import { $ as loadSessionStore, nt as saveSessionStore } from "./deliver-Cjyb6h4g.js";
|
|
11
11
|
import "./diagnostic-BdRnGknC.js";
|
|
12
12
|
import "./diagnostic-session-state-DpxCUzoM.js";
|
|
@@ -23,7 +23,7 @@ import "./errors-BEU7IHU6.js";
|
|
|
23
23
|
import "./tokens-yWO1wD7Z.js";
|
|
24
24
|
import "./thinking-DgjGxdSP.js";
|
|
25
25
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-BsT3BvfH.js";
|
|
26
|
-
import "./manager-
|
|
26
|
+
import "./manager-D8CA0MvH.js";
|
|
27
27
|
import "./github-copilot-token-dYUr1mDQ.js";
|
|
28
28
|
import "./sqlite-D8iYC_CU.js";
|
|
29
29
|
import "./markdown-tables-jQzXAsf3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as isPidAlive, t as resolveProcessScopedMap } from "./process-scoped-map-lWFQjQ3p.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/plugin-sdk/file-lock.ts
|
|
6
6
|
const HELD_LOCKS = resolveProcessScopedMap(Symbol.for("symi.fileLockHeldLocks"));
|
|
@@ -11,7 +11,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
11
11
|
}
|
|
12
12
|
async function readLockPayload(lockPath) {
|
|
13
13
|
try {
|
|
14
|
-
const raw = await
|
|
14
|
+
const raw = await fs.readFile(lockPath, "utf8");
|
|
15
15
|
const parsed = JSON.parse(raw);
|
|
16
16
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
17
17
|
return {
|
|
@@ -25,9 +25,9 @@ async function readLockPayload(lockPath) {
|
|
|
25
25
|
async function resolveNormalizedFilePath(filePath) {
|
|
26
26
|
const resolved = path.resolve(filePath);
|
|
27
27
|
const dir = path.dirname(resolved);
|
|
28
|
-
await
|
|
28
|
+
await fs.mkdir(dir, { recursive: true });
|
|
29
29
|
try {
|
|
30
|
-
const realDir = await
|
|
30
|
+
const realDir = await fs.realpath(dir);
|
|
31
31
|
return path.join(realDir, path.basename(resolved));
|
|
32
32
|
} catch {
|
|
33
33
|
return resolved;
|
|
@@ -41,7 +41,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
41
41
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
42
42
|
}
|
|
43
43
|
try {
|
|
44
|
-
const stat = await
|
|
44
|
+
const stat = await fs.stat(lockPath);
|
|
45
45
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
46
46
|
} catch {
|
|
47
47
|
return true;
|
|
@@ -54,7 +54,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
54
54
|
if (current.count > 0) return;
|
|
55
55
|
HELD_LOCKS.delete(normalizedFile);
|
|
56
56
|
await current.handle.close().catch(() => void 0);
|
|
57
|
-
await
|
|
57
|
+
await fs.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
58
58
|
}
|
|
59
59
|
async function acquireFileLock(filePath, options) {
|
|
60
60
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -69,7 +69,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
69
69
|
}
|
|
70
70
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
71
71
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
72
|
-
const handle = await
|
|
72
|
+
const handle = await fs.open(lockPath, "wx");
|
|
73
73
|
await handle.writeFile(JSON.stringify({
|
|
74
74
|
pid: process.pid,
|
|
75
75
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -86,7 +86,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
86
86
|
} catch (err) {
|
|
87
87
|
if (err.code !== "EEXIST") throw err;
|
|
88
88
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
89
|
-
await
|
|
89
|
+
await fs.rm(lockPath, { force: true }).catch(() => void 0);
|
|
90
90
|
continue;
|
|
91
91
|
}
|
|
92
92
|
if (attempt >= attempts - 1) break;
|
|
@@ -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;
|