@mcpc-tech/unplugin-dev-inspector-mcp 0.1.25 → 0.1.26
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/client/dist/PromptParamsDialog-CtCaLYaq.js +5218 -0
- package/client/dist/{_basePickBy-VajNci9y.js → _basePickBy-CO2jbuKs.js} +1 -1
- package/client/dist/{_baseUniq-CDC7r2eu.js → _baseUniq-DrKsbT7-.js} +1 -1
- package/client/dist/angular-html-B_cenFSN.js +1 -0
- package/client/dist/{angular-html-CYi310U8.js → angular-html-Cth2LqBf.js} +1 -1
- package/client/dist/{angular-ts-CqnqKzvX.js → angular-ts-D6GgngEL.js} +1 -1
- package/client/dist/{apl-DkPJsNcI.js → apl-8Q3duBRO.js} +1 -1
- package/client/dist/{arc-DQdfxxUS.js → arc-1IuUEc3l.js} +1 -1
- package/client/dist/architecture-U656AL7Q-BbnkeEk-.js +1 -0
- package/client/dist/{architectureDiagram-VXUJARFQ-CMr0m5it.js → architectureDiagram-VXUJARFQ-mTEFN4g1.js} +1 -1
- package/client/dist/{astro-BCO6O3oM.js → astro-CEzd2gSX.js} +1 -1
- package/client/dist/{blade-BGI2i8dn.js → blade-BiESHVEE.js} +1 -1
- package/client/dist/{blockDiagram-VD42YOAC-DB4rjLow.js → blockDiagram-VD42YOAC-DuZyDGXz.js} +1 -1
- package/client/dist/{bsl-fQRX_jWV.js → bsl-CgIWHY2F.js} +1 -1
- package/client/dist/c-C71qyMdz.js +1 -0
- package/client/dist/{c4Diagram-YG6GDRKO-C-OvxJNF.js → c4Diagram-YG6GDRKO-GpSiJ-09.js} +1 -1
- package/client/dist/{cairo-3ac5zVq8.js → cairo-DeB79q5_.js} +1 -1
- package/client/dist/channel-DU5N8yz4.js +1 -0
- package/client/dist/{chunk-4BX2VUAB-Di4LZGaH.js → chunk-4BX2VUAB-CnDqYS75.js} +1 -1
- package/client/dist/{chunk-55IACEB6-C41LdCQI.js → chunk-55IACEB6-Cno6J5VV.js} +1 -1
- package/client/dist/{chunk-76Q3JFCE-Cx-JYVsg.js → chunk-76Q3JFCE-naB4GsSN.js} +1 -1
- package/client/dist/{chunk-ABZYJK2D-CjFwXoDd.js → chunk-ABZYJK2D-B-uQQBad.js} +2 -2
- package/client/dist/{chunk-ATLVNIR6-iDd5WiFs.js → chunk-ATLVNIR6-06VCvgCA.js} +1 -1
- package/client/dist/{chunk-B4BG7PRW-B1LszEWJ.js → chunk-B4BG7PRW-CaYT2kjb.js} +1 -1
- package/client/dist/{chunk-CVBHYZKI-CUI-n_Tq.js → chunk-CVBHYZKI-C8bYjiGm.js} +1 -1
- package/client/dist/{chunk-DI55MBZ5-LZJU-R6o.js → chunk-DI55MBZ5-4NKIyaAY.js} +1 -1
- package/client/dist/chunk-EXTU4WIE-hA6kjEor.js +1 -0
- package/client/dist/{chunk-FMBD7UC4-DfDwyPfJ.js → chunk-FMBD7UC4-z8oIKcMh.js} +1 -1
- package/client/dist/{chunk-FPAJGGOC-Br6MAcFg.js → chunk-FPAJGGOC-_ax7LrI6.js} +1 -1
- package/client/dist/{chunk-FWNWRKHM-BVtcM6yk.js → chunk-FWNWRKHM-DESdnxaO.js} +1 -1
- package/client/dist/{chunk-HN2XXSSU-BYdnnbel.js → chunk-HN2XXSSU-CwOdrF1j.js} +1 -1
- package/client/dist/{chunk-JA3XYJ7Z-B_pLt1VO.js → chunk-JA3XYJ7Z-B2ggvruF.js} +1 -1
- package/client/dist/{chunk-JZLCHNYA-4gstbahU.js → chunk-JZLCHNYA-CkNAdoyb.js} +1 -1
- package/client/dist/{chunk-LBM3YZW2-g1Vy7H47.js → chunk-LBM3YZW2-D1UaPZ0s.js} +1 -1
- package/client/dist/{chunk-LHMN2FUI-DwRziK7j.js → chunk-LHMN2FUI-DvMeDi1w.js} +1 -1
- package/client/dist/{chunk-MI3HLSF2-DYwJlrsV.js → chunk-MI3HLSF2-C6Pm8cQC.js} +1 -1
- package/client/dist/{chunk-N4CR4FBY-Cx9rvJkZ.js → chunk-N4CR4FBY-CESp_hlr.js} +1 -1
- package/client/dist/{chunk-O7ZBX7Z2-D79B2A-4.js → chunk-O7ZBX7Z2-CzEL6GEY.js} +1 -1
- package/client/dist/{chunk-QN33PNHL-DhA65vkt.js → chunk-QN33PNHL-O3aN_XUL.js} +1 -1
- package/client/dist/{chunk-QXUST7PY-Wnp3VURs.js → chunk-QXUST7PY-BHpud-vy.js} +1 -1
- package/client/dist/chunk-QZHKN3VN-Cor-573y.js +1 -0
- package/client/dist/{chunk-S3R3BYOJ-DoqDNp4C.js → chunk-S3R3BYOJ-CQpHdWQs.js} +1 -1
- package/client/dist/{chunk-S6J4BHB3-EUOFpaV8.js → chunk-S6J4BHB3-dkKq153Y.js} +1 -1
- package/client/dist/{chunk-T53DSG4Q-CO1WsO85.js → chunk-T53DSG4Q-m8YxcxT5.js} +1 -1
- package/client/dist/{chunk-TZMSLE5B-e9hcNU0P.js → chunk-TZMSLE5B-KitBzjA6.js} +1 -1
- package/client/dist/classDiagram-2ON5EDUG-CG9xuA-s.js +1 -0
- package/client/dist/classDiagram-v2-WZHVMYZB-BqQco41Z.js +1 -0
- package/client/dist/clone-DaCWoOD3.js +1 -0
- package/client/dist/{cobol-Bh5O3QYW.js → cobol-CtnoUhpi.js} +1 -1
- package/client/dist/{coffee-CibAxXBQ.js → coffee-D63VVNN6.js} +1 -1
- package/client/dist/{cose-bilkent-S5V4N54A-BN6AIcys.js → cose-bilkent-S5V4N54A-DAl-qmUx.js} +1 -1
- package/client/dist/{cpp-C1RL7g4a.js → cpp-BXPFxrHd.js} +1 -1
- package/client/dist/cpp-Cb8PUfPp.js +1 -0
- package/client/dist/{crystal-COtPWwkm.js → crystal-qpW1qy1j.js} +1 -1
- package/client/dist/css-D_BsqRYw.js +1 -0
- package/client/dist/{dagre-6UL2VRFP-RxjSyDlS.js → dagre-6UL2VRFP-BzQ9vB_e.js} +1 -1
- package/client/dist/{dagre-DWEIVqUm.js → dagre-DLEkL_Zs.js} +1 -1
- package/client/dist/{diagram-PSM6KHXK-SZBdSkvQ.js → diagram-PSM6KHXK-BxJGiGPe.js} +1 -1
- package/client/dist/{diagram-QEK2KX5R-CLGGdlpf.js → diagram-QEK2KX5R-DYp7ZFqv.js} +1 -1
- package/client/dist/{diagram-S2PKOQOG-BRCVMVaG.js → diagram-S2PKOQOG-DJkha_WW.js} +1 -1
- package/client/dist/{edge-gnkqOgnq.js → edge-CP_fR0O2.js} +1 -1
- package/client/dist/{elixir-DkJ5dmQi.js → elixir-DMAcWBTu.js} +1 -1
- package/client/dist/{elm-DbERawtE.js → elm-CbfCFGpu.js} +1 -1
- package/client/dist/{erDiagram-Q2GNP2WA-Crx5hK6P.js → erDiagram-Q2GNP2WA-6XtwsRni.js} +1 -1
- package/client/dist/{erb-Ba5ePOhy.js → erb-tgtMjjw7.js} +1 -1
- package/client/dist/{erlang-DvggRTyY.js → erlang-B0ruUFZX.js} +1 -1
- package/client/dist/{flowDiagram-NV44I4VS-Dgft2jlf.js → flowDiagram-NV44I4VS-CelHIHjn.js} +1 -1
- package/client/dist/{fortran-fixed-form-V47soKQs.js → fortran-fixed-form-axN74ijH.js} +1 -1
- package/client/dist/{fsharp-BGnN6XqY.js → fsharp-BbXO1JyA.js} +1 -1
- package/client/dist/{ganttDiagram-LVOFAZNH-CeMyq5ly.js → ganttDiagram-LVOFAZNH-Cvj1uEfB.js} +1 -1
- package/client/dist/{gdresource-CTqCmzm8.js → gdresource-Cloq6T1D.js} +1 -1
- package/client/dist/{git-commit-D--jujpE.js → git-commit-CPVxcpY7.js} +1 -1
- package/client/dist/{git-rebase-ew-n6N0S.js → git-rebase-D69XtsSv.js} +1 -1
- package/client/dist/gitGraph-F6HP7TQM-KAtjK5Ox.js +1 -0
- package/client/dist/{gitGraphDiagram-NY62KEGX-D_IQEgv3.js → gitGraphDiagram-NY62KEGX-Cr6_VXUM.js} +1 -1
- package/client/dist/{glimmer-js-CvHkyQW8.js → glimmer-js-CoeADt6M.js} +1 -1
- package/client/dist/{glimmer-ts-yUPvOhqX.js → glimmer-ts-BlmV-Y9-.js} +1 -1
- package/client/dist/glsl-BTo0Z16q.js +1 -0
- package/client/dist/{glsl-BFy28U-g.js → glsl-Biu0K-6p.js} +1 -1
- package/client/dist/{graphlib-DHCf1ZPq.js → graphlib-CScjOeSi.js} +1 -1
- package/client/dist/graphql-DN6CkYdl.js +1 -0
- package/client/dist/{graphql-CHCDiMKU.js → graphql-hAKdRMip.js} +1 -1
- package/client/dist/{hack-Dfku4leT.js → hack-D1duHfqL.js} +1 -1
- package/client/dist/{haml-Bt-cM6Kf.js → haml-CiZU0d5H.js} +1 -1
- package/client/dist/haml-DPWY5s1M.js +1 -0
- package/client/dist/{handlebars-D4Rqe7kb.js → handlebars-Dp_cDcAt.js} +1 -1
- package/client/dist/{html-BIgIDTTk.js → html-BT5um7nF.js} +1 -1
- package/client/dist/html-C31JlaJ-.js +1 -0
- package/client/dist/{html-derivative-Cr3u945w.js → html-derivative-Cx1PsJxD.js} +1 -1
- package/client/dist/html-derivative-wg2-hYIg.js +1 -0
- package/client/dist/{http-GGX7qjOU.js → http-BW75yjvO.js} +1 -1
- package/client/dist/{hurl-DK4p4h12.js → hurl-DrbkG80a.js} +1 -1
- package/client/dist/{hxml-ChVmPQtH.js → hxml-VlQN6FkD.js} +1 -1
- package/client/dist/info-NVLQJR56-DiZxlu_o.js +1 -0
- package/client/dist/infoDiagram-ER5ION4S-CtrGb0So.js +2 -0
- package/client/dist/inspector.css +212 -0
- package/client/dist/inspector.js +35 -5035
- package/client/dist/{isEmpty-CAzzI-9E.js → isEmpty-CokRQ2Nu.js} +1 -1
- package/client/dist/java-H4bqYiqZ.js +1 -0
- package/client/dist/javascript-DH63jrE3.js +1 -0
- package/client/dist/{jinja-BatEiZah.js → jinja-CHSC99qg.js} +1 -1
- package/client/dist/{jison-5s-QNhI1.js → jison-DqMkPOAC.js} +1 -1
- package/client/dist/{journeyDiagram-XKPGCS4Q-Dep3D8p0.js → journeyDiagram-XKPGCS4Q-CdZJjun-.js} +1 -1
- package/client/dist/json-DOslWoX1.js +1 -0
- package/client/dist/jsx-CjK28ufS.js +1 -0
- package/client/dist/{julia-hmN1VBxQ.js → julia-cA-yAml8.js} +1 -1
- package/client/dist/{kanban-definition-3W4ZIXB7-DaDrLIUQ.js → kanban-definition-3W4ZIXB7-B3nQllvM.js} +1 -1
- package/client/dist/katex-D7PU7xG4.js +1 -0
- package/client/dist/{latex-B2ZV4OQ3.js → latex-CbkKCm2d.js} +1 -1
- package/client/dist/{line-BUOKh-HE.js → line-D9fEXxLg.js} +1 -1
- package/client/dist/{linear-BMBwG6lD.js → linear-CFKbUwXk.js} +1 -1
- package/client/dist/{liquid-tVoFpvBO.js → liquid-BpMC_Fqt.js} +1 -1
- package/client/dist/{lua-C4zcr4Rq.js → lua-C77CXP4F.js} +1 -1
- package/client/dist/lua-CRueSYXF.js +1 -0
- package/client/dist/{marko-DsvPyZf5.js → marko-CrC0ANF-.js} +1 -1
- package/client/dist/{mdc-CzHGal8T.js → mdc-NdIm27xk.js} +1 -1
- package/client/dist/{mermaid-parser.core-ow7sqQkB.js → mermaid-parser.core-lVkskdol.js} +1 -1
- package/client/dist/{mermaid.core-DbNkaVXi.js → mermaid.core-DfenwpGd.js} +2 -2
- package/client/dist/{mindmap-definition-VGOIOE7T-DVRq1RYX.js → mindmap-definition-VGOIOE7T-E51zBHdA.js} +1 -1
- package/client/dist/{nginx-DellYz9Y.js → nginx-BQI27kLq.js} +1 -1
- package/client/dist/{nim-B-AWUKTE.js → nim-qigkNB2O.js} +1 -1
- package/client/dist/{ordinal-A1CyKHQ4.js → ordinal-NoUKjW5R.js} +1 -1
- package/client/dist/packet-BFZMPI3H-Co0kmFAY.js +1 -0
- package/client/dist/{perl-pXXQBt-A.js → perl-CWZ9Tx7Z.js} +1 -1
- package/client/dist/{php-DOGKACDF.js → php-C_izhi_N.js} +1 -1
- package/client/dist/pie-7BOR55EZ-27A0zi3z.js +1 -0
- package/client/dist/{pieDiagram-ADFJNKIX-5wOv-Sou.js → pieDiagram-ADFJNKIX-10ENr3pD.js} +1 -1
- package/client/dist/{pug-BEuydwIY.js → pug-DiALhKYN.js} +1 -1
- package/client/dist/{qml-6blpd43-.js → qml-C9j4g26c.js} +1 -1
- package/client/dist/{quadrantDiagram-AYHSOK5B-BHjR7ccN.js → quadrantDiagram-AYHSOK5B-lMjtU4jB.js} +1 -1
- package/client/dist/r-BIGEI86X.js +1 -0
- package/client/dist/radar-NHE76QYJ-BNuOm017.js +1 -0
- package/client/dist/{razor-DszTWfYs.js → razor-A0q1Asj9.js} +1 -1
- package/client/dist/regexp-oqAv1t88.js +1 -0
- package/client/dist/{requirementDiagram-UZGBJVZJ-DUqqAwgE.js → requirementDiagram-UZGBJVZJ-BANZB6Iz.js} +1 -1
- package/client/dist/{rst-DHsi4jEF.js → rst-Cev6-qlZ.js} +1 -1
- package/client/dist/{ruby-Br8kAlMV.js → ruby-CcAYYGRU.js} +1 -1
- package/client/dist/{sankeyDiagram-TZEHDZUN-CxJnP2LU.js → sankeyDiagram-TZEHDZUN-C6vl5I45.js} +1 -1
- package/client/dist/{sas-Fm1ez35-.js → sas-BGlfoPrs.js} +1 -1
- package/client/dist/{scss--EPB2qJk.js → scss-A6Xwb3sB.js} +1 -1
- package/client/dist/scss-CZuLwQ6L.js +1 -0
- package/client/dist/{sequenceDiagram-WL72ISMW-Bqy7huq2.js → sequenceDiagram-WL72ISMW-DnnKpwi7.js} +1 -1
- package/client/dist/{shaderlab-mRjR82Iw.js → shaderlab-CMErLCd1.js} +1 -1
- package/client/dist/shellscript-XfxS4mi1.js +1 -0
- package/client/dist/{shellsession-BwWJX0k2.js → shellsession-QiegSG75.js} +1 -1
- package/client/dist/sidebar.css +4736 -0
- package/client/dist/sidebar.js +1 -0
- package/client/dist/{soy-ZvAEekaL.js → soy-BoMAIRkx.js} +1 -1
- package/client/dist/{sparql-DUJ_UkED.js → sparql-DhHvB3Dp.js} +1 -1
- package/client/dist/sql-Dga86kBP.js +1 -0
- package/client/dist/{stata-B4dQ_ds2.js → stata-CIv2IgqT.js} +1 -1
- package/client/dist/{stateDiagram-FKZM4ZOC-BDuxTD97.js → stateDiagram-FKZM4ZOC-iYM8j2jN.js} +1 -1
- package/client/dist/stateDiagram-v2-4FDKWEC3-CzW1Ir10.js +1 -0
- package/client/dist/{svelte-DP3P9hTU.js → svelte-BPdTtTW_.js} +1 -1
- package/client/dist/{templ-DzU4X84Z.js → templ-Bu1xjVjb.js} +1 -1
- package/client/dist/{tex-DmK8sLqk.js → tex-BrGV_a00.js} +1 -1
- package/client/dist/{timeline-definition-IT6M3QCI-X2Zr6sAz.js → timeline-definition-IT6M3QCI-DVa8bOe8.js} +1 -1
- package/client/dist/treemap-KMMF4GRG-Cs32ogTY.js +1 -0
- package/client/dist/{ts-tags-DQicFPeT.js → ts-tags-C2KZ65Bb.js} +1 -1
- package/client/dist/tsx-Dy5oGylO.js +1 -0
- package/client/dist/{twig-DMpkralp.js → twig-CAdzRXFv.js} +1 -1
- package/client/dist/typescript-BCL2cVvE.js +1 -0
- package/client/dist/{vue-html-D8cmRA9A.js → vue-html-ClbUAPY3.js} +1 -1
- package/client/dist/{vue-CXnTHxsh.js → vue-m_9UuRcq.js} +1 -1
- package/client/dist/{vue-vine-DKxJMTV4.js → vue-vine-BhY0kO3x.js} +1 -1
- package/client/dist/{xml-DdBhobiL.js → xml-BCPOgRQ8.js} +1 -1
- package/client/dist/xml-LiQIKAk-.js +1 -0
- package/client/dist/{xsl-rnFMNj5T.js → xsl-CiacnBum.js} +1 -1
- package/client/dist/{xychartDiagram-PRI3JC2R-Bkdy-d61.js → xychartDiagram-PRI3JC2R-CSHRJA-w.js} +1 -1
- package/client/dist/yaml-x21mtn6r.js +1 -0
- package/dist/cli.cjs +135 -129
- package/dist/cli.js +135 -129
- package/dist/config-updater.cjs +84 -0
- package/dist/config-updater.js +84 -0
- package/dist/index.d.cts +4 -4
- package/dist/react/react.d.ts +203 -0
- package/dist/react/react.js +1177 -0
- package/package.json +9 -2
- package/client/dist/angular-html-d0m67Y5J.js +0 -1
- package/client/dist/architecture-U656AL7Q-MgtP82yP.js +0 -1
- package/client/dist/c-3wGWaCKl.js +0 -1
- package/client/dist/channel-Dq37Efc1.js +0 -1
- package/client/dist/chunk-EXTU4WIE-ChqGChCy.js +0 -1
- package/client/dist/chunk-QZHKN3VN-DdT5lUD2.js +0 -1
- package/client/dist/classDiagram-2ON5EDUG-C7nmW2OD.js +0 -1
- package/client/dist/classDiagram-v2-WZHVMYZB-D1OZs5dX.js +0 -1
- package/client/dist/clone-CmMu9STX.js +0 -1
- package/client/dist/cpp-BnxWAOSJ.js +0 -1
- package/client/dist/css-D_nzbeA8.js +0 -1
- package/client/dist/gitGraph-F6HP7TQM-DYc7wArC.js +0 -1
- package/client/dist/glsl-CGxWHcVc.js +0 -1
- package/client/dist/graphql-565U4wbG.js +0 -1
- package/client/dist/haml-BHYOha9I.js +0 -1
- package/client/dist/html-CYUobRUD.js +0 -1
- package/client/dist/html-derivative-DgGbkyuK.js +0 -1
- package/client/dist/info-NVLQJR56-Bvqp73xD.js +0 -1
- package/client/dist/infoDiagram-ER5ION4S-BDBCikE4.js +0 -2
- package/client/dist/java-DmkKjtyZ.js +0 -1
- package/client/dist/javascript-CkCLGt8x.js +0 -1
- package/client/dist/json-C3HKuiPJ.js +0 -1
- package/client/dist/jsx-Cb_Ywdgo.js +0 -1
- package/client/dist/katex-BQxtjXbf.js +0 -1
- package/client/dist/lua-BL1jjzZD.js +0 -1
- package/client/dist/packet-BFZMPI3H-BGenTAod.js +0 -1
- package/client/dist/pie-7BOR55EZ-Clb9mYfc.js +0 -1
- package/client/dist/r-FsqRuzNL.js +0 -1
- package/client/dist/radar-NHE76QYJ-DKi0Armo.js +0 -1
- package/client/dist/regexp-BTE6Swxv.js +0 -1
- package/client/dist/scss-Cmb4RaIv.js +0 -1
- package/client/dist/shellscript-DuJfYg8R.js +0 -1
- package/client/dist/sql-D5NpKK-X.js +0 -1
- package/client/dist/stateDiagram-v2-4FDKWEC3-BxmkJjbP.js +0 -1
- package/client/dist/treemap-KMMF4GRG-BJ7jSaqo.js +0 -1
- package/client/dist/tsx-QMnwGbeN.js +0 -1
- package/client/dist/typescript-JBzxF6Qj.js +0 -1
- package/client/dist/xml-BzQ8r2Jc.js +0 -1
- package/client/dist/yaml-DF6vsW46.js +0 -1
- /package/client/dist/{abap-BdPhiG-3.js → abap-BUoW4mq0.js} +0 -0
- /package/client/dist/{actionscript-3-4lsAJric.js → actionscript-3-CDsNmykd.js} +0 -0
- /package/client/dist/{ada-DcGdSDNe.js → ada-EgRVL2g9.js} +0 -0
- /package/client/dist/{andromeeda-D4fdrr4S.js → andromeeda-GPgN43QN.js} +0 -0
- /package/client/dist/{apache-BfNtzv3H.js → apache-C_ty8NzZ.js} +0 -0
- /package/client/dist/{apex-COUYbqxw.js → apex-BO_xUY2-.js} +0 -0
- /package/client/dist/{applescript-DZy9r0Tx.js → applescript-DQAS9zcd.js} +0 -0
- /package/client/dist/{ara-BuNu-Hkp.js → ara-DIjuS0gF.js} +0 -0
- /package/client/dist/{array-Dz4ZVbz2.js → array-BgcdGrkc.js} +0 -0
- /package/client/dist/{asciidoc-CRgFazCG.js → asciidoc-BxG7ZQrc.js} +0 -0
- /package/client/dist/{asm-DMOLEIzq.js → asm-PnON5mRP.js} +0 -0
- /package/client/dist/{aurora-x-CMrxRU0F.js → aurora-x-CqQ7QmKq.js} +0 -0
- /package/client/dist/{awk-CsRJBxn5.js → awk-BVO8fiUv.js} +0 -0
- /package/client/dist/{ayu-dark-y6Bf9zzc.js → ayu-dark-n_FrPZjA.js} +0 -0
- /package/client/dist/{ballerina-DaMt4nBf.js → ballerina-BJsKgOB8.js} +0 -0
- /package/client/dist/{bat-DFR5wrFi.js → bat-DRIwbK7_.js} +0 -0
- /package/client/dist/{beancount-BrwuSNB3.js → beancount-BTo4XwaG.js} +0 -0
- /package/client/dist/{berry-DRXw-ZNq.js → berry-B5o92twl.js} +0 -0
- /package/client/dist/{bibtex-CQd7fyYH.js → bibtex-DuLtVC8l.js} +0 -0
- /package/client/dist/{bicep-B14cKy0e.js → bicep-BfIj04_h.js} +0 -0
- /package/client/dist/{c-Cu5Jn1Jp.js → c-BL138DB5.js} +0 -0
- /package/client/dist/{cadence-B7jHVQ8u.js → cadence-CnLw1Pon.js} +0 -0
- /package/client/dist/{catppuccin-frappe-BMyWp_6O.js → catppuccin-frappe-D7hlMtXo.js} +0 -0
- /package/client/dist/{catppuccin-latte-nZzsPBPu.js → catppuccin-latte-D2-cwLAh.js} +0 -0
- /package/client/dist/{catppuccin-macchiato-BzBCE9F0.js → catppuccin-macchiato-Dt-n4vTY.js} +0 -0
- /package/client/dist/{catppuccin-mocha-DbBzL313.js → catppuccin-mocha-pJ9gr9o9.js} +0 -0
- /package/client/dist/{chunk-6MN3ZHY7-Bw7GUOel.js → chunk-6MN3ZHY7-B86W-RmZ.js} +0 -0
- /package/client/dist/{clarity-BaaRo_dO.js → clarity-B1loWXVz.js} +0 -0
- /package/client/dist/{clojure-Cryf_rtB.js → clojure-BuPCnGPH.js} +0 -0
- /package/client/dist/{cmake-Drlfezq0.js → cmake-fD9kB-N_.js} +0 -0
- /package/client/dist/{codeowners-Bhm5vPJA.js → codeowners-C_VH6Ljx.js} +0 -0
- /package/client/dist/{codeql-eIV9UcRt.js → codeql-DhWjL8Kq.js} +0 -0
- /package/client/dist/{common-lisp-Dends_YH.js → common-lisp-CruE29WJ.js} +0 -0
- /package/client/dist/{coq-KkkUzLyU.js → coq-Bx_cXDWL.js} +0 -0
- /package/client/dist/{csharp-CPdyP2VR.js → csharp-BGiDklkX.js} +0 -0
- /package/client/dist/{css-B5e7W8LB.js → css-D3eCZIjt.js} +0 -0
- /package/client/dist/{csv-DYwX6NEn.js → csv-TlCvaDUb.js} +0 -0
- /package/client/dist/{cue-DW0ynfCq.js → cue-CMZTYgU5.js} +0 -0
- /package/client/dist/{cypher-Bmq5NZ59.js → cypher-BMGc7dGe.js} +0 -0
- /package/client/dist/{cytoscape.esm-5hlfDxlN.js → cytoscape.esm-COkX_sb7.js} +0 -0
- /package/client/dist/{d-BTh8oGLC.js → d-CZehDVN6.js} +0 -0
- /package/client/dist/{dark-plus-DzCrhcx4.js → dark-plus-CGcVEdxm.js} +0 -0
- /package/client/dist/{dart-B45K8wV9.js → dart-BfQboB_J.js} +0 -0
- /package/client/dist/{dax-BdHYj1Ue.js → dax-Bba5a30x.js} +0 -0
- /package/client/dist/{defaultLocale-wBfqlpfB.js → defaultLocale-S7fGF81p.js} +0 -0
- /package/client/dist/{desktop-BMuYANPV.js → desktop-DyR7Z7D7.js} +0 -0
- /package/client/dist/{diff-BxwcTI8k.js → diff-CWN81QQV.js} +0 -0
- /package/client/dist/{dist-DDGIHxz4.js → dist-Bz_xenUc.js} +0 -0
- /package/client/dist/{docker-CSoMkU3O.js → docker-Dv8_2ppU.js} +0 -0
- /package/client/dist/{dotenv-i_QlcFUp.js → dotenv-DCISGmUs.js} +0 -0
- /package/client/dist/{dracula-BTpR5_Te.js → dracula-D76yIU1-.js} +0 -0
- /package/client/dist/{dracula-soft-D_6f0jsH.js → dracula-soft-txtzq0a7.js} +0 -0
- /package/client/dist/{dream-maker-DtVNo9em.js → dream-maker-DA4WbaAF.js} +0 -0
- /package/client/dist/{emacs-lisp-BnCZgkUr.js → emacs-lisp-tzsjo5DB.js} +0 -0
- /package/client/dist/{everforest-dark-BB8iY9dl.js → everforest-dark-CJDH8s0z.js} +0 -0
- /package/client/dist/{everforest-light-BG7kqcrd.js → everforest-light-C6xhm1QL.js} +0 -0
- /package/client/dist/{fennel-B3HXE7FJ.js → fennel-DA_rS4S7.js} +0 -0
- /package/client/dist/{fish-ogOvUHoU.js → fish-BrLZQvoa.js} +0 -0
- /package/client/dist/{fluent-B4l8qlbd.js → fluent-DntAoeEC.js} +0 -0
- /package/client/dist/{fortran-free-form-BA0vVvYt.js → fortran-free-form-c4So7WT8.js} +0 -0
- /package/client/dist/{gdscript-BA3jq6mQ.js → gdscript-Djzzged5.js} +0 -0
- /package/client/dist/{gdshader-dB9N4Ao3.js → gdshader-CJeNXdA2.js} +0 -0
- /package/client/dist/{genie-CZngrDjU.js → genie-C9fU7PiA.js} +0 -0
- /package/client/dist/{gherkin-BzRYJufi.js → gherkin-DDlBNjNG.js} +0 -0
- /package/client/dist/{github-dark-CRKj4hAt.js → github-dark-Ckt6nlQx.js} +0 -0
- /package/client/dist/{github-dark-default-DIQY-h5g.js → github-dark-default-DfCBMOYz.js} +0 -0
- /package/client/dist/{github-dark-dimmed-BEpLsuRj.js → github-dark-dimmed-BKiErX1j.js} +0 -0
- /package/client/dist/{github-dark-high-contrast-CVTJFdKj.js → github-dark-high-contrast-DVxoJyHI.js} +0 -0
- /package/client/dist/{github-light-CpZwDIg7.js → github-light-BZC_cQ4W.js} +0 -0
- /package/client/dist/{github-light-default-DHtzD_-y.js → github-light-default-BY0m_WyP.js} +0 -0
- /package/client/dist/{github-light-high-contrast-CaLb5Zh9.js → github-light-high-contrast-DcWq4z9I.js} +0 -0
- /package/client/dist/{gleam-C6DPFaBN.js → gleam-cWmrDEMg.js} +0 -0
- /package/client/dist/{gnuplot-CdwpsLMX.js → gnuplot-BHRhuGLx.js} +0 -0
- /package/client/dist/{go-BEgA9rS0.js → go-BaSASZlM.js} +0 -0
- /package/client/dist/{groovy-DKhzsnBi.js → groovy-BjidEaDx.js} +0 -0
- /package/client/dist/{gruvbox-dark-hard-B34oe0Ej.js → gruvbox-dark-hard-gIGwkeSY.js} +0 -0
- /package/client/dist/{gruvbox-dark-medium-D5sKuUU6.js → gruvbox-dark-medium-V93T0amg.js} +0 -0
- /package/client/dist/{gruvbox-dark-soft-FrQ3F5LW.js → gruvbox-dark-soft-DWvGTPhe.js} +0 -0
- /package/client/dist/{gruvbox-light-hard-DtpNIMu0.js → gruvbox-light-hard-CDR7jAaS.js} +0 -0
- /package/client/dist/{gruvbox-light-medium-DXqc1yk8.js → gruvbox-light-medium-BH05YZpj.js} +0 -0
- /package/client/dist/{gruvbox-light-soft-CBWPsdg8.js → gruvbox-light-soft-_FpHi3hq.js} +0 -0
- /package/client/dist/{haskell-COHrgR9O.js → haskell-D6diK_o1.js} +0 -0
- /package/client/dist/{haxe-Bl1c-ZNb.js → haxe-B5pmXmLa.js} +0 -0
- /package/client/dist/{hcl-awf4jn86.js → hcl-BPPiC6Ub.js} +0 -0
- /package/client/dist/{hjson-DfFUNltF.js → hjson-BYqpFKnP.js} +0 -0
- /package/client/dist/{hlsl-CtcTTmYG.js → hlsl-BjNae5So.js} +0 -0
- /package/client/dist/{houston-CNv85-6f.js → houston-CTP0HFka.js} +0 -0
- /package/client/dist/{hy-CshaiMZE.js → hy-DkwVZxUW.js} +0 -0
- /package/client/dist/{imba-C2bpAlb9.js → imba-pxRlZERz.js} +0 -0
- /package/client/dist/{ini-BMqmGKBw.js → ini-B_rjZOXj.js} +0 -0
- /package/client/dist/{init-CyS92-Wc.js → init-BnPQj6aR.js} +0 -0
- /package/client/dist/{isArrayLikeObject-BtcNYc4X.js → isArrayLikeObject-CgiDz5DP.js} +0 -0
- /package/client/dist/{java-CvxUKxx6.js → java-DeUXjYQU.js} +0 -0
- /package/client/dist/{javascript-BIsIt0kc.js → javascript-DpvUI8vq.js} +0 -0
- /package/client/dist/{json-h7zTKPSW.js → json-cDpc1bY6.js} +0 -0
- /package/client/dist/{json5-CDsqIwN6.js → json5-D1op8XDc.js} +0 -0
- /package/client/dist/{jsonc-C_H6KdCM.js → jsonc-TsBL8Zw4.js} +0 -0
- /package/client/dist/{jsonl-CYEL_JbB.js → jsonl-VehePL7r.js} +0 -0
- /package/client/dist/{jsonnet-DvezpFew.js → jsonnet-gOuuHn0J.js} +0 -0
- /package/client/dist/{jssm-DGCQVTMl.js → jssm-Ccle0HAR.js} +0 -0
- /package/client/dist/{jsx-B3fSgSFr.js → jsx-aZzZib73.js} +0 -0
- /package/client/dist/{kanagawa-dragon-C9NBfuIt.js → kanagawa-dragon-CSKAbSka.js} +0 -0
- /package/client/dist/{kanagawa-lotus-B_6UdT6p.js → kanagawa-lotus-DN7DspOm.js} +0 -0
- /package/client/dist/{kanagawa-wave-C2OIICwW.js → kanagawa-wave-Dberk7yB.js} +0 -0
- /package/client/dist/{katex-BnRKOLw6.js → katex-C3zESuch.js} +0 -0
- /package/client/dist/{katex.min-DRkgVcya.css → katex.min-DkVKOBvG.css} +0 -0
- /package/client/dist/{katex.min-DidvNX82.js → katex.min-RTO9ag3H.js} +0 -0
- /package/client/dist/{kdl-BkuYp80m.js → kdl-ghIqIEqx.js} +0 -0
- /package/client/dist/{kotlin-D1eKjLwq.js → kotlin-CGg4-W_M.js} +0 -0
- /package/client/dist/{kusto-CvOu21Cj.js → kusto-DCV3owQ6.js} +0 -0
- /package/client/dist/{laserwave-DQxwrmJt.js → laserwave-DHr_OdQx.js} +0 -0
- /package/client/dist/{lean-IA1_MsWd.js → lean-981kZEaB.js} +0 -0
- /package/client/dist/{less-B7zZlgJh.js → less-BsrVljrL.js} +0 -0
- /package/client/dist/{light-plus-Cy89fA56.js → light-plus-Bc9BLT5A.js} +0 -0
- /package/client/dist/{llvm-CAuHI5e8.js → llvm-DyE_X-oq.js} +0 -0
- /package/client/dist/{log-tguHOLzV.js → log-CJNm4UbC.js} +0 -0
- /package/client/dist/{logo-4FQxpkt4.js → logo-DKbdyqt-.js} +0 -0
- /package/client/dist/{luau-sRWHo1Up.js → luau-MmBwuyT2.js} +0 -0
- /package/client/dist/{make-DkNT42IA.js → make-D1C6Tiwy.js} +0 -0
- /package/client/dist/{markdown-CzS3ZP7I.js → markdown-DBA3Mmim.js} +0 -0
- /package/client/dist/{marked.esm-CTdAAA_v.js → marked.esm-DUB0uiru.js} +0 -0
- /package/client/dist/{material-theme-BfWYt0TZ.js → material-theme-Bv8yLSP0.js} +0 -0
- /package/client/dist/{material-theme-darker-DtkmIcAA.js → material-theme-darker-1AqpNdZt.js} +0 -0
- /package/client/dist/{material-theme-lighter-BH0j90Oh.js → material-theme-lighter-DPdC5l8C.js} +0 -0
- /package/client/dist/{material-theme-ocean-DmKabesL.js → material-theme-ocean-37Kook8Q.js} +0 -0
- /package/client/dist/{material-theme-palenight-DZ7uHLju.js → material-theme-palenight-C27iD4SF.js} +0 -0
- /package/client/dist/{math-CBcHHeVd.js → math-XICenNyA.js} +0 -0
- /package/client/dist/{matlab-CpkpzR_d.js → matlab-Ck3HEU2k.js} +0 -0
- /package/client/dist/{mdx-CKC34rlC.js → mdx-C1PRejio.js} +0 -0
- /package/client/dist/{mermaid-Ct_09yAh.js → mermaid-BckVcVXX.js} +0 -0
- /package/client/dist/{min-dark-iCM7syk7.js → min-dark-anAUOToK.js} +0 -0
- /package/client/dist/{min-light-C8rThYym.js → min-light-CvG_iQWP.js} +0 -0
- /package/client/dist/{mipsasm-Cty6G9T2.js → mipsasm-BM_FQj2A.js} +0 -0
- /package/client/dist/{mojo-Xauqc8AX.js → mojo-BR-LqNeT.js} +0 -0
- /package/client/dist/{monokai-Bjch1Bhl.js → monokai-DYv3rk-A.js} +0 -0
- /package/client/dist/{move-CXMREC6M.js → move-m3_5UNfo.js} +0 -0
- /package/client/dist/{narrat-BaBjazI9.js → narrat-DYFj8Q6-.js} +0 -0
- /package/client/dist/{nextflow-_c6uqgsv.js → nextflow-ZIzFDe2m.js} +0 -0
- /package/client/dist/{night-owl-BJrjdpga.js → night-owl-DkBbLKGE.js} +0 -0
- /package/client/dist/{nix-DrpzwZYz.js → nix-17F0HB0G.js} +0 -0
- /package/client/dist/{nord-D0Fqg42Q.js → nord-Be97_T58.js} +0 -0
- /package/client/dist/{nushell-PwLzyrh4.js → nushell-njEJEBNK.js} +0 -0
- /package/client/dist/{objective-c-B316WMPD.js → objective-c-DcpJ0eV7.js} +0 -0
- /package/client/dist/{objective-cpp-sh3AkVQi.js → objective-cpp-CXgpfRIb.js} +0 -0
- /package/client/dist/{ocaml-CT2O122u.js → ocaml-RYuU9VTm.js} +0 -0
- /package/client/dist/{one-dark-pro-CWCqr3AC.js → one-dark-pro-Ci-bUEIf.js} +0 -0
- /package/client/dist/{one-light-DTgkXOoh.js → one-light-BtoBaJgF.js} +0 -0
- /package/client/dist/{pascal-BfdV161T.js → pascal-HLRSlJ2v.js} +0 -0
- /package/client/dist/{path-Dqo4FhGl.js → path-CoY9QgOk.js} +0 -0
- /package/client/dist/{pkl-CIdtaeNd.js → pkl-D0LsOQD5.js} +0 -0
- /package/client/dist/{plastic-CLpeNc9-.js → plastic-BHBVdpN4.js} +0 -0
- /package/client/dist/{plsql-BuKM571s.js → plsql-Ckotkn8G.js} +0 -0
- /package/client/dist/{po-Dxsk_XzY.js → po-Qix2N2fA.js} +0 -0
- /package/client/dist/{poimandres-CoZ0vKOg.js → poimandres-DCZ4zCH5.js} +0 -0
- /package/client/dist/{polar-DTkh7YGI.js → polar-DHAM8Rqb.js} +0 -0
- /package/client/dist/{postcss-BoVDzDIq.js → postcss-8wrDfWlb.js} +0 -0
- /package/client/dist/{powerquery-C7UUl55u.js → powerquery-sXjCytsm.js} +0 -0
- /package/client/dist/{powershell-7fisTB1Z.js → powershell-Br9y9LlC.js} +0 -0
- /package/client/dist/{prisma-CKBKGf6P.js → prisma-COBUUaqE.js} +0 -0
- /package/client/dist/{prolog-DEUEVLMg.js → prolog-BbJTvtA-.js} +0 -0
- /package/client/dist/{proto-BI7m_T-K.js → proto-Dn7PeVbf.js} +0 -0
- /package/client/dist/{puppet-1QKvlfLG.js → puppet-CNdK406T.js} +0 -0
- /package/client/dist/{purescript-BeTyiTEN.js → purescript-Cgw06S43.js} +0 -0
- /package/client/dist/{python-BY6XMItz.js → python-DioJsT9z.js} +0 -0
- /package/client/dist/{qmldir-BJRdxGUb.js → qmldir-tOWyMniz.js} +0 -0
- /package/client/dist/{qss-CgpUCiqI.js → qss-CQ_tB_vx.js} +0 -0
- /package/client/dist/{r-DO0FNojz.js → r-omh8Ou_K.js} +0 -0
- /package/client/dist/{racket-DOfMsQ-m.js → racket-xM_JlWdJ.js} +0 -0
- /package/client/dist/{raku-BpVGnEOk.js → raku-CsjbV0q-.js} +0 -0
- /package/client/dist/{red-Dtjys_cC.js → red-B8qD19HM.js} +0 -0
- /package/client/dist/{reg-BFwQ42iU.js → reg-CDO-JwKW.js} +0 -0
- /package/client/dist/{regexp-71-eZjwK.js → regexp-ZL8WsoEe.js} +0 -0
- /package/client/dist/{rel-DgV0LP0F.js → rel-Lnk3efq_.js} +0 -0
- /package/client/dist/{riscv-CMDCoJxM.js → riscv-B6rT4cSG.js} +0 -0
- /package/client/dist/{rose-pine-BXrntRdT.js → rose-pine-Dh-EMol0.js} +0 -0
- /package/client/dist/{rose-pine-dawn-tFiW2rRe.js → rose-pine-dawn-BqC-N8fL.js} +0 -0
- /package/client/dist/{rose-pine-moon-DrIxqQYd.js → rose-pine-moon-vcuVc4Xx.js} +0 -0
- /package/client/dist/{rosmsg-Cewq0GIU.js → rosmsg-CkrEKNqZ.js} +0 -0
- /package/client/dist/{rust-DUqlQOJa.js → rust-BJsQV1yN.js} +0 -0
- /package/client/dist/{sass-B6etFGcc.js → sass-DUMhS7Ul.js} +0 -0
- /package/client/dist/{scala-DO7Y6ZnG.js → scala-QIWWuOfJ.js} +0 -0
- /package/client/dist/{scheme-DRfbr32a.js → scheme-DUaTpimf.js} +0 -0
- /package/client/dist/{sdbl-Cwj938jR.js → sdbl-ByziAReF.js} +0 -0
- /package/client/dist/{shellscript-6ddxflCk.js → shellscript-C_4ahoKK.js} +0 -0
- /package/client/dist/{slack-dark-MJ2tXQFU.js → slack-dark-BStzxS3X.js} +0 -0
- /package/client/dist/{slack-ochin-JiV8dnc5.js → slack-ochin-2x4WQR0g.js} +0 -0
- /package/client/dist/{smalltalk-n98K00NG.js → smalltalk-BgOCST23.js} +0 -0
- /package/client/dist/{snazzy-light-Diadm8ds.js → snazzy-light-D0wXjU0P.js} +0 -0
- /package/client/dist/{solarized-dark-E9lKu8O9.js → solarized-dark-YpFNWaFw.js} +0 -0
- /package/client/dist/{solarized-light-DUxZ3u6U.js → solarized-light-7a4AqvZ7.js} +0 -0
- /package/client/dist/{solidity-TIGR-FLA.js → solidity-oQ4hiwc0.js} +0 -0
- /package/client/dist/{splunk-BQx3McES.js → splunk-C8Rf4xma.js} +0 -0
- /package/client/dist/{sql-Dmd5GQHa.js → sql-5h2ZDb6r.js} +0 -0
- /package/client/dist/{src-DyiU8SPu.js → src-CoWzf9ks.js} +0 -0
- /package/client/dist/{ssh-config-fbfk9ZS-.js → ssh-config-BK2cOZ3H.js} +0 -0
- /package/client/dist/{stylus-BojZhyRk.js → stylus-y5-4LTjW.js} +0 -0
- /package/client/dist/{swift-BQSJcvSP.js → swift-BgxBD2YR.js} +0 -0
- /package/client/dist/{synthwave-84-JxbjaS25.js → synthwave-84-BkPcWg5x.js} +0 -0
- /package/client/dist/{system-verilog-B92pMEOF.js → system-verilog--HBRY74c.js} +0 -0
- /package/client/dist/{systemd-Ce42yWog.js → systemd-CEGf-MNr.js} +0 -0
- /package/client/dist/{talonscript-DJHwn0Oo.js → talonscript-DxfF5wgQ.js} +0 -0
- /package/client/dist/{tasl-CjWGKv7Q.js → tasl-Bs3WmVDT.js} +0 -0
- /package/client/dist/{tcl-nr6oYQi-.js → tcl-sj44Uys6.js} +0 -0
- /package/client/dist/{terraform-BmtGXZe8.js → terraform-Dk3Frx3Z.js} +0 -0
- /package/client/dist/{tokyo-night-gi5ylZcS.js → tokyo-night-jks_2THM.js} +0 -0
- /package/client/dist/{toml-BJ91txE7.js → toml-58T5lJMb.js} +0 -0
- /package/client/dist/{tsv-DptZ_IAJ.js → tsv-Be6q89a5.js} +0 -0
- /package/client/dist/{tsx-zaCZdc_j.js → tsx-S_sG4GSd.js} +0 -0
- /package/client/dist/{turtle-KObLSigr.js → turtle-D3vlU2OK.js} +0 -0
- /package/client/dist/{typescript-BK0CyBaL.js → typescript-DCWwSN3O.js} +0 -0
- /package/client/dist/{typespec-Dixzl_0-.js → typespec-DOAqMqZd.js} +0 -0
- /package/client/dist/{typst-Ca21Y7Pn.js → typst-eQZesfAU.js} +0 -0
- /package/client/dist/{v-Bw8_1WxQ.js → v-CjxftokX.js} +0 -0
- /package/client/dist/{vala-Da3xMxIP.js → vala-BY4gOu9x.js} +0 -0
- /package/client/dist/{vb-DT5W8f2u.js → vb-jHsx6ydV.js} +0 -0
- /package/client/dist/{verilog-B1qcJjpT.js → verilog-uRed-ROJ.js} +0 -0
- /package/client/dist/{vesper-v8GRJVTp.js → vesper-IPbSDcY9.js} +0 -0
- /package/client/dist/{vhdl-BbOu44s9.js → vhdl-BpuKDOPO.js} +0 -0
- /package/client/dist/{viml-rl1TVVjI.js → viml-CVGu2R7N.js} +0 -0
- /package/client/dist/{vitesse-black-D6O93llO.js → vitesse-black-CvxMZcbe.js} +0 -0
- /package/client/dist/{vitesse-dark-BGTXnHSp.js → vitesse-dark-BO9bSnXr.js} +0 -0
- /package/client/dist/{vitesse-light-B8rxnpw3.js → vitesse-light-UtuwVwQJ.js} +0 -0
- /package/client/dist/{vyper-CCGDUHkP.js → vyper-DBdOKuCY.js} +0 -0
- /package/client/dist/{wasm-D9kcNmzo.js → wasm-Ded3y1Or.js} +0 -0
- /package/client/dist/{wasm-60TGlqXX.js → wasm-Dxuep-_m.js} +0 -0
- /package/client/dist/{wenyan-BBpTXpp6.js → wenyan-DsdZPJPl.js} +0 -0
- /package/client/dist/{wgsl-C3K1t-VI.js → wgsl-DkPKK0zn.js} +0 -0
- /package/client/dist/{wikitext-IKeinUQo.js → wikitext-C2JOdtm0.js} +0 -0
- /package/client/dist/{wit-DjseqtIO.js → wit-BFX5-EUh.js} +0 -0
- /package/client/dist/{wolfram-2yhZCbpX.js → wolfram-DkXQ7ZMv.js} +0 -0
- /package/client/dist/{yaml-CIUMmuno.js → yaml-ZSEnqUIp.js} +0 -0
- /package/client/dist/{zenscript--Fzj1TA1.js → zenscript-ITj6Wa64.js} +0 -0
- /package/client/dist/{zig-DSc-j2rQ.js → zig-1Mlf-trN.js} +0 -0
package/dist/cli.js
CHANGED
|
@@ -67,6 +67,20 @@ function detectConfigFile(cwd, patterns) {
|
|
|
67
67
|
return null;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
+
* Detects the indentation style used in the code.
|
|
71
|
+
* Simple approach: find the first indented line and use its indent.
|
|
72
|
+
*/
|
|
73
|
+
function detectIndent(code) {
|
|
74
|
+
const match = code.match(/\n(\t+|[ ]+)(?=\S)/);
|
|
75
|
+
if (match) {
|
|
76
|
+
const indent = match[1];
|
|
77
|
+
if (indent[0] === " ") return " ";
|
|
78
|
+
if (indent.length >= 4 && indent.startsWith(" ")) return " ";
|
|
79
|
+
if (indent.length >= 2) return " ";
|
|
80
|
+
}
|
|
81
|
+
return " ";
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
70
84
|
* Calculates the character position to insert an import, based on the last import line.
|
|
71
85
|
*/
|
|
72
86
|
function getInsertPosition(code, lastImportLine) {
|
|
@@ -81,24 +95,29 @@ function getInsertPosition(code, lastImportLine) {
|
|
|
81
95
|
function sanitizePath(path$1) {
|
|
82
96
|
return path$1.replace(/\\/g, "\\\\").replace(/'/g, "\\'").replace(/\n/g, "");
|
|
83
97
|
}
|
|
84
|
-
|
|
98
|
+
/**
|
|
99
|
+
* Serializes an object to a formatted string.
|
|
100
|
+
* @param obj - The object to serialize
|
|
101
|
+
* @param baseIndent - The base indentation unit (e.g., " " for 2 spaces)
|
|
102
|
+
* @param depth - Current nesting depth
|
|
103
|
+
*/
|
|
104
|
+
function serializeObject(obj, baseIndent = " ", depth = 0) {
|
|
85
105
|
if (obj === null) return "null";
|
|
86
106
|
if (obj === void 0) return "undefined";
|
|
87
107
|
if (typeof obj === "string") return `'${sanitizePath(obj)}'`;
|
|
88
108
|
if (typeof obj !== "object") return String(obj);
|
|
89
|
-
if (Array.isArray(obj)) return `[${obj.map((item) => serializeObject(item,
|
|
109
|
+
if (Array.isArray(obj)) return `[${obj.map((item) => serializeObject(item, baseIndent, depth)).join(", ")}]`;
|
|
90
110
|
const keys = Object.keys(obj);
|
|
91
111
|
if (keys.length === 0) return "{}";
|
|
92
|
-
const indent =
|
|
93
|
-
const propIndent =
|
|
112
|
+
const indent = baseIndent.repeat(depth);
|
|
113
|
+
const propIndent = baseIndent.repeat(depth + 1);
|
|
94
114
|
return `{\n${keys.map((key) => {
|
|
95
|
-
const value = serializeObject(obj[key],
|
|
115
|
+
const value = serializeObject(obj[key], baseIndent, depth + 1);
|
|
96
116
|
return `${propIndent}${/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(key) ? key : `'${key}'`}: ${value}`;
|
|
97
117
|
}).join(",\n")}\n${indent}}`;
|
|
98
118
|
}
|
|
99
119
|
/**
|
|
100
120
|
* Parses a Babel ObjectExpression node into a simple JS object (shallow).
|
|
101
|
-
* Helper for KISS principle to avoid duplicating parsing logic.
|
|
102
121
|
*/
|
|
103
122
|
function parseObjectExpression(node) {
|
|
104
123
|
const result = {};
|
|
@@ -113,6 +132,15 @@ function parseObjectExpression(node) {
|
|
|
113
132
|
});
|
|
114
133
|
return result;
|
|
115
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Unwraps TS expressions like 'as any', '!', etc. to get the underlying expression.
|
|
137
|
+
*/
|
|
138
|
+
function unwrapNode(node) {
|
|
139
|
+
if (!node) return node;
|
|
140
|
+
let current = node;
|
|
141
|
+
while (current.type === "TSAsExpression" || current.type === "TSNonNullExpression" || current.type === "TSSatisfiesExpression" || current.type === "TSTypeAssertion") current = current.expression;
|
|
142
|
+
return current;
|
|
143
|
+
}
|
|
116
144
|
|
|
117
145
|
//#endregion
|
|
118
146
|
//#region src/commands/setup/frameworks/vite.ts
|
|
@@ -126,6 +154,7 @@ function transformViteConfig(code, options) {
|
|
|
126
154
|
sourceType: "module",
|
|
127
155
|
plugins: ["typescript", "jsx"]
|
|
128
156
|
});
|
|
157
|
+
const indent = detectIndent(code);
|
|
129
158
|
let lastImportEnd = 0;
|
|
130
159
|
let pluginsArrayStart = -1;
|
|
131
160
|
let firstPluginStart = -1;
|
|
@@ -140,38 +169,35 @@ function transformViteConfig(code, options) {
|
|
|
140
169
|
ImportDeclaration(path$1) {
|
|
141
170
|
if (path$1.node.source.value === PLUGIN_IMPORT$2) {
|
|
142
171
|
hasImport = true;
|
|
143
|
-
const
|
|
144
|
-
if (
|
|
172
|
+
const spec = path$1.node.specifiers.find((s$1) => s$1.type === "ImportDefaultSpecifier");
|
|
173
|
+
if (spec?.local.type === "Identifier") importedVarName = spec.local.name;
|
|
145
174
|
}
|
|
146
175
|
if (path$1.node.loc) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
147
176
|
},
|
|
148
177
|
ObjectProperty(path$1) {
|
|
149
178
|
if (path$1.node.key.type === "Identifier" && path$1.node.key.name === "plugins" && path$1.node.value.type === "ArrayExpression") {
|
|
150
179
|
hasPluginsArray = true;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
180
|
+
pluginsArrayStart = path$1.node.value.start ?? -1;
|
|
181
|
+
const elements = path$1.node.value.elements;
|
|
182
|
+
elements.forEach((rawElement) => {
|
|
183
|
+
const element = unwrapNode(rawElement);
|
|
184
|
+
if (element && element.type === "CallExpression" && element.callee.type === "MemberExpression" && element.callee.object.type === "Identifier" && element.callee.object.name === importedVarName && element.callee.property.type === "Identifier" && element.callee.property.name === "vite") {
|
|
185
|
+
hasPluginUsage = true;
|
|
186
|
+
if (typeof element.start === "number" && typeof element.end === "number") {
|
|
187
|
+
usageStart = element.start;
|
|
188
|
+
usageEnd = element.end;
|
|
162
189
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
190
|
+
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
if (elements.length > 0 && elements[0]?.start != null) firstPluginStart = elements[0].start;
|
|
166
194
|
}
|
|
167
195
|
}
|
|
168
196
|
});
|
|
169
197
|
if (!hasImport) {
|
|
170
198
|
const importLine = `import ${PLUGIN_VAR_NAME$2} from '${PLUGIN_IMPORT$2}';\n`;
|
|
171
|
-
if (lastImportEnd > 0)
|
|
172
|
-
|
|
173
|
-
s.appendLeft(insertPos, importLine);
|
|
174
|
-
} else s.prepend(importLine);
|
|
199
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
200
|
+
else s.prepend(importLine);
|
|
175
201
|
}
|
|
176
202
|
const cliConfig = {};
|
|
177
203
|
if (options.entryPath) {
|
|
@@ -185,56 +211,42 @@ function transformViteConfig(code, options) {
|
|
|
185
211
|
if (options.defaultAgent !== void 0) cliConfig.defaultAgent = options.defaultAgent;
|
|
186
212
|
if (options.visibleAgents !== void 0) cliConfig.visibleAgents = options.visibleAgents;
|
|
187
213
|
if (options.publicBaseUrl !== void 0) cliConfig.publicBaseUrl = options.publicBaseUrl;
|
|
214
|
+
const pluginIndent = indent.repeat(2);
|
|
188
215
|
if (hasPluginUsage) {
|
|
189
216
|
const mergedConfig = existingOptionsNode ? parseObjectExpression(existingOptionsNode) : {};
|
|
190
217
|
Object.assign(mergedConfig, cliConfig);
|
|
191
|
-
if (usageStart > -1 && usageEnd > -1) {
|
|
192
|
-
|
|
193
|
-
s.overwrite(usageStart, usageEnd, newPluginCall);
|
|
194
|
-
}
|
|
195
|
-
} else {
|
|
218
|
+
if (usageStart > -1 && usageEnd > -1) s.overwrite(usageStart, usageEnd, `${importedVarName}.vite(${serializeObject(mergedConfig, indent, 3)})`);
|
|
219
|
+
} else if (hasPluginsArray) {
|
|
196
220
|
const finalConfig = {
|
|
197
221
|
enabled: true,
|
|
198
222
|
...cliConfig
|
|
199
223
|
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
if (options.host || options.allowedHosts && options.allowedHosts.length > 0) traverse$2(ast, { ExportDefaultDeclaration(path$1) {
|
|
214
|
-
if (path$1.node.declaration.type === "CallExpression" && path$1.node.declaration.arguments.length > 0 && path$1.node.declaration.arguments[0].type === "ObjectExpression") {
|
|
224
|
+
const pluginCall = `${importedVarName}.vite(${serializeObject(finalConfig, indent, 3)})`;
|
|
225
|
+
if (firstPluginStart > -1) s.appendLeft(firstPluginStart, `${pluginCall},\n${pluginIndent}`);
|
|
226
|
+
else if (pluginsArrayStart > -1) s.appendLeft(pluginsArrayStart + 1, `\n${pluginIndent}${pluginCall},\n${indent}`);
|
|
227
|
+
} else return {
|
|
228
|
+
success: false,
|
|
229
|
+
modified: false,
|
|
230
|
+
error: "Could not find plugins array in config",
|
|
231
|
+
message: "Please add DevInspector manually to your plugins array"
|
|
232
|
+
};
|
|
233
|
+
if (options.host || options.allowedHosts?.length) traverse$2(ast, { ExportDefaultDeclaration(path$1) {
|
|
234
|
+
if (path$1.node.declaration.type === "CallExpression" && path$1.node.declaration.arguments[0]?.type === "ObjectExpression") {
|
|
215
235
|
const configObj = path$1.node.declaration.arguments[0];
|
|
216
236
|
const serverProp = configObj.properties.find((p) => p.type === "ObjectProperty" && p.key.type === "Identifier" && p.key.name === "server");
|
|
217
|
-
|
|
237
|
+
const serverIndent = indent.repeat(2);
|
|
238
|
+
if (serverProp?.value.start != null) {
|
|
218
239
|
const serverContentStart = serverProp.value.start + 1;
|
|
219
|
-
const
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}
|
|
230
|
-
} else if (configObj.start !== null) {
|
|
231
|
-
let injection = "\n server: {\n";
|
|
232
|
-
if (options.host) injection += ` host: '${options.host}',\n`;
|
|
233
|
-
if (options.allowedHosts && options.allowedHosts.length > 0) {
|
|
234
|
-
const hostsStr = options.allowedHosts.map((h) => `'${h}'`).join(", ");
|
|
235
|
-
injection += ` allowedHosts: [${hostsStr}],\n`;
|
|
236
|
-
}
|
|
237
|
-
injection += " },";
|
|
240
|
+
const currentBlock = code.slice(serverContentStart, serverProp.value.end);
|
|
241
|
+
let injection = "";
|
|
242
|
+
if (options.host && !currentBlock.includes("host:")) injection += `\n${serverIndent}host: '${options.host}',`;
|
|
243
|
+
if (options.allowedHosts?.length && !currentBlock.includes("allowedHosts:")) injection += `\n${serverIndent}allowedHosts: [${options.allowedHosts.map((h) => `'${h}'`).join(", ")}],`;
|
|
244
|
+
if (injection) s.appendLeft(serverContentStart, injection);
|
|
245
|
+
} else if (configObj.start != null) {
|
|
246
|
+
let injection = `\n${indent}server: {\n`;
|
|
247
|
+
if (options.host) injection += `${serverIndent}host: '${options.host}',\n`;
|
|
248
|
+
if (options.allowedHosts?.length) injection += `${serverIndent}allowedHosts: [${options.allowedHosts.map((h) => `'${h}'`).join(", ")}],\n`;
|
|
249
|
+
injection += `${indent}},`;
|
|
238
250
|
s.appendLeft(configObj.start + 1, injection);
|
|
239
251
|
}
|
|
240
252
|
}
|
|
@@ -280,8 +292,10 @@ function transformWebpackConfig(code, options) {
|
|
|
280
292
|
sourceType: "module",
|
|
281
293
|
plugins: ["typescript"]
|
|
282
294
|
});
|
|
295
|
+
const indent = detectIndent(code);
|
|
283
296
|
let lastImportEnd = 0;
|
|
284
297
|
let pluginsArrayStart = -1;
|
|
298
|
+
let firstPluginStart = -1;
|
|
285
299
|
let hasImport = false;
|
|
286
300
|
let hasPluginUsage = false;
|
|
287
301
|
let importedVarName = PLUGIN_VAR_NAME$1;
|
|
@@ -293,43 +307,40 @@ function transformWebpackConfig(code, options) {
|
|
|
293
307
|
if (path$1.node.loc) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
294
308
|
if (path$1.node.source.value === PLUGIN_IMPORT$1) {
|
|
295
309
|
hasImport = true;
|
|
296
|
-
const
|
|
297
|
-
if (
|
|
310
|
+
const spec = path$1.node.specifiers.find((s$1) => s$1.type === "ImportDefaultSpecifier");
|
|
311
|
+
if (spec?.local.type === "Identifier") importedVarName = spec.local.name;
|
|
298
312
|
}
|
|
299
313
|
},
|
|
300
314
|
VariableDeclaration(path$1) {
|
|
301
315
|
if (path$1.node.loc && !isESM) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
302
|
-
path$1.node.declarations
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}
|
|
307
|
-
});
|
|
316
|
+
for (const decl of path$1.node.declarations) if (decl.init?.type === "CallExpression" && decl.init.callee.type === "Identifier" && decl.init.callee.name === "require" && decl.init.arguments[0]?.type === "StringLiteral" && decl.init.arguments[0].value === PLUGIN_IMPORT$1 && decl.id.type === "Identifier") {
|
|
317
|
+
hasImport = true;
|
|
318
|
+
importedVarName = decl.id.name;
|
|
319
|
+
}
|
|
308
320
|
},
|
|
309
321
|
ObjectProperty(path$1) {
|
|
310
322
|
if (path$1.node.key.type === "Identifier" && path$1.node.key.name === "plugins" && path$1.node.value.type === "ArrayExpression") {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
323
|
+
pluginsArrayStart = path$1.node.value.start ?? -1;
|
|
324
|
+
const elements = path$1.node.value.elements;
|
|
325
|
+
elements.forEach((rawElement) => {
|
|
326
|
+
const element = unwrapNode(rawElement);
|
|
327
|
+
if (element && element.type === "CallExpression" && element.callee.type === "MemberExpression" && element.callee.object.type === "Identifier" && element.callee.object.name === importedVarName && element.callee.property.type === "Identifier" && element.callee.property.name === "webpack") {
|
|
328
|
+
hasPluginUsage = true;
|
|
329
|
+
if (typeof element.start === "number" && typeof element.end === "number") {
|
|
330
|
+
usageStart = element.start;
|
|
331
|
+
usageEnd = element.end;
|
|
321
332
|
}
|
|
322
|
-
|
|
323
|
-
|
|
333
|
+
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
if (elements.length > 0 && elements[0]?.start != null) firstPluginStart = elements[0].start;
|
|
324
337
|
}
|
|
325
338
|
}
|
|
326
339
|
});
|
|
327
340
|
if (!hasImport) {
|
|
328
341
|
const importLine = isESM ? `import ${PLUGIN_VAR_NAME$1} from '${PLUGIN_IMPORT$1}';\n` : `const ${PLUGIN_VAR_NAME$1} = require('${PLUGIN_IMPORT$1}');\n`;
|
|
329
|
-
if (lastImportEnd > 0)
|
|
330
|
-
|
|
331
|
-
s.appendLeft(insertPos, importLine);
|
|
332
|
-
} else s.prepend(importLine);
|
|
342
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
343
|
+
else s.prepend(importLine);
|
|
333
344
|
}
|
|
334
345
|
const cliConfig = {};
|
|
335
346
|
if (options.entryPath) {
|
|
@@ -343,20 +354,23 @@ function transformWebpackConfig(code, options) {
|
|
|
343
354
|
if (options.defaultAgent !== void 0) cliConfig.defaultAgent = options.defaultAgent;
|
|
344
355
|
if (options.visibleAgents !== void 0) cliConfig.visibleAgents = options.visibleAgents;
|
|
345
356
|
if (options.publicBaseUrl !== void 0) cliConfig.publicBaseUrl = options.publicBaseUrl;
|
|
357
|
+
const pluginIndent = indent.repeat(2);
|
|
346
358
|
if (hasPluginUsage) {
|
|
347
359
|
const mergedConfig = existingOptionsNode ? parseObjectExpression(existingOptionsNode) : {};
|
|
348
360
|
Object.assign(mergedConfig, cliConfig);
|
|
349
|
-
if (usageStart > -1 && usageEnd > -1) {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
361
|
+
if (usageStart > -1 && usageEnd > -1) s.overwrite(usageStart, usageEnd, `${importedVarName}.webpack(${serializeObject(mergedConfig, indent, 3)})`);
|
|
362
|
+
} else if (firstPluginStart > -1) {
|
|
363
|
+
const finalConfig = {
|
|
364
|
+
enabled: true,
|
|
365
|
+
...cliConfig
|
|
366
|
+
};
|
|
367
|
+
s.appendLeft(firstPluginStart, `${importedVarName}.webpack(${serializeObject(finalConfig, indent, 3)}),\n${pluginIndent}`);
|
|
353
368
|
} else if (pluginsArrayStart > -1) {
|
|
354
369
|
const finalConfig = {
|
|
355
370
|
enabled: true,
|
|
356
371
|
...cliConfig
|
|
357
372
|
};
|
|
358
|
-
|
|
359
|
-
s.appendLeft(pluginsArrayStart + 1, pluginCall);
|
|
373
|
+
s.appendLeft(pluginsArrayStart + 1, `\n${pluginIndent}${importedVarName}.webpack(${serializeObject(finalConfig, indent, 3)}),\n${indent}`);
|
|
360
374
|
} else return {
|
|
361
375
|
success: false,
|
|
362
376
|
modified: false,
|
|
@@ -409,6 +423,7 @@ function transformNextConfig(code, _options) {
|
|
|
409
423
|
sourceType: "module",
|
|
410
424
|
plugins: ["typescript"]
|
|
411
425
|
});
|
|
426
|
+
const indent = detectIndent(code);
|
|
412
427
|
let lastImportEnd = 0;
|
|
413
428
|
let nextConfigStart = -1;
|
|
414
429
|
let hasWebpackProperty = false;
|
|
@@ -419,44 +434,39 @@ function transformNextConfig(code, _options) {
|
|
|
419
434
|
},
|
|
420
435
|
VariableDeclarator(path$1) {
|
|
421
436
|
if (path$1.node.id.type === "Identifier" && path$1.node.id.name === "nextConfig" && path$1.node.init?.type === "ObjectExpression") {
|
|
422
|
-
|
|
423
|
-
path$1.node.init.properties
|
|
424
|
-
if (prop.
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
}
|
|
428
|
-
});
|
|
437
|
+
nextConfigStart = path$1.node.init.start ?? -1;
|
|
438
|
+
for (const prop of path$1.node.init.properties) if (prop.type === "ObjectProperty" && prop.key.type === "Identifier") {
|
|
439
|
+
if (prop.key.name === "webpack") hasWebpackProperty = true;
|
|
440
|
+
if (prop.key.name === "turbopack") hasTurbopackProperty = true;
|
|
441
|
+
}
|
|
429
442
|
}
|
|
430
443
|
}
|
|
431
444
|
});
|
|
432
445
|
const importLine = `import ${PLUGIN_VAR_NAME}, { turbopackDevInspector } from '${PLUGIN_IMPORT}';\n`;
|
|
433
|
-
if (lastImportEnd > 0)
|
|
434
|
-
|
|
435
|
-
s.appendLeft(insertPos, importLine);
|
|
436
|
-
} else s.prepend(importLine);
|
|
446
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
447
|
+
else s.prepend(importLine);
|
|
437
448
|
if (nextConfigStart > -1 && !hasWebpackProperty && !hasTurbopackProperty) {
|
|
438
|
-
const
|
|
449
|
+
const i1 = indent, i2 = indent.repeat(2);
|
|
450
|
+
indent.repeat(3);
|
|
439
451
|
const webpackConfig = `
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
rules: turbopackDevInspector(${pluginOptions}),
|
|
448
|
-
},`;
|
|
452
|
+
${i1}webpack: (config) => {
|
|
453
|
+
${i2}config.plugins.push(${PLUGIN_VAR_NAME}.webpack({ enabled: true }));
|
|
454
|
+
${i2}return config;
|
|
455
|
+
${i1}},
|
|
456
|
+
${i1}turbopack: {
|
|
457
|
+
${i2}rules: turbopackDevInspector({ enabled: true }),
|
|
458
|
+
${i1}},`;
|
|
449
459
|
s.appendLeft(nextConfigStart + 1, webpackConfig);
|
|
450
460
|
} else if (hasWebpackProperty || hasTurbopackProperty) return {
|
|
451
461
|
success: false,
|
|
452
462
|
modified: false,
|
|
453
|
-
message: `${hasWebpackProperty ? "webpack" : "turbopack"} property already exists. Please add DevInspector manually
|
|
463
|
+
message: `${hasWebpackProperty ? "webpack" : "turbopack"} property already exists. Please add DevInspector manually`
|
|
454
464
|
};
|
|
455
465
|
else return {
|
|
456
466
|
success: false,
|
|
457
467
|
modified: false,
|
|
458
468
|
error: "Could not find nextConfig object",
|
|
459
|
-
message: "Please add DevInspector manually
|
|
469
|
+
message: "Please add DevInspector manually"
|
|
460
470
|
};
|
|
461
471
|
return {
|
|
462
472
|
success: true,
|
|
@@ -486,6 +496,7 @@ function transformNextLayout(code) {
|
|
|
486
496
|
sourceType: "module",
|
|
487
497
|
plugins: ["typescript", "jsx"]
|
|
488
498
|
});
|
|
499
|
+
const indent = detectIndent(code);
|
|
489
500
|
let lastImportEnd = 0;
|
|
490
501
|
let bodyStart = -1;
|
|
491
502
|
traverse(ast, {
|
|
@@ -493,23 +504,18 @@ function transformNextLayout(code) {
|
|
|
493
504
|
if (path$1.node.loc) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
494
505
|
},
|
|
495
506
|
JSXElement(path$1) {
|
|
496
|
-
if (path$1.node.openingElement.name.type === "JSXIdentifier" && path$1.node.openingElement.name.name === "body" && path$1.node.
|
|
497
|
-
const openingEnd = path$1.node.openingElement.end;
|
|
498
|
-
if (openingEnd !== null && openingEnd !== void 0) bodyStart = openingEnd;
|
|
499
|
-
}
|
|
507
|
+
if (path$1.node.openingElement.name.type === "JSXIdentifier" && path$1.node.openingElement.name.name === "body" && path$1.node.openingElement.end != null) bodyStart = path$1.node.openingElement.end;
|
|
500
508
|
}
|
|
501
509
|
});
|
|
502
510
|
const importLine = `import { DevInspector } from "${COMPONENT_IMPORT}";\n`;
|
|
503
|
-
if (lastImportEnd > 0)
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
} else s.prepend(importLine);
|
|
507
|
-
if (bodyStart > -1) s.appendLeft(bodyStart, "\n <DevInspector />");
|
|
511
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
512
|
+
else s.prepend(importLine);
|
|
513
|
+
if (bodyStart > -1) s.appendLeft(bodyStart, `\n${indent.repeat(4)}<DevInspector />`);
|
|
508
514
|
else return {
|
|
509
515
|
success: false,
|
|
510
516
|
modified: false,
|
|
511
517
|
error: "Could not find <body> element",
|
|
512
|
-
message: "Please add <DevInspector /> manually
|
|
518
|
+
message: "Please add <DevInspector /> manually"
|
|
513
519
|
};
|
|
514
520
|
return {
|
|
515
521
|
success: true,
|
package/dist/config-updater.cjs
CHANGED
|
@@ -87714,9 +87714,54 @@ function getInspectorCSS() {
|
|
|
87714
87714
|
console.warn("⚠️ Inspector CSS not found. Run `pnpm build:client` first.");
|
|
87715
87715
|
return null;
|
|
87716
87716
|
}
|
|
87717
|
+
function getSidebarScript() {
|
|
87718
|
+
const possiblePaths = [
|
|
87719
|
+
path.default.resolve(process.cwd(), "packages/unplugin-dev-inspector/client/dist/sidebar.js"),
|
|
87720
|
+
path.default.resolve(__dirname$1, "../../client/dist/sidebar.js"),
|
|
87721
|
+
path.default.resolve(__dirname$1, "../client/dist/sidebar.js"),
|
|
87722
|
+
path.default.resolve(process.cwd(), "node_modules/@mcpc-tech/unplugin-dev-inspector-mcp/client/dist/sidebar.js")
|
|
87723
|
+
];
|
|
87724
|
+
for (const scriptPath of possiblePaths) try {
|
|
87725
|
+
if (fs.default.existsSync(scriptPath)) return fs.default.readFileSync(scriptPath, "utf-8");
|
|
87726
|
+
} catch (error) {
|
|
87727
|
+
continue;
|
|
87728
|
+
}
|
|
87729
|
+
return null;
|
|
87730
|
+
}
|
|
87731
|
+
function getSidebarCSS() {
|
|
87732
|
+
const possiblePaths = [
|
|
87733
|
+
path.default.resolve(process.cwd(), "packages/unplugin-dev-inspector/client/dist/sidebar.css"),
|
|
87734
|
+
path.default.resolve(__dirname$1, "../../client/dist/sidebar.css"),
|
|
87735
|
+
path.default.resolve(__dirname$1, "../client/dist/sidebar.css"),
|
|
87736
|
+
path.default.resolve(process.cwd(), "node_modules/@mcpc-tech/unplugin-dev-inspector-mcp/client/dist/sidebar.css")
|
|
87737
|
+
];
|
|
87738
|
+
for (const cssPath of possiblePaths) try {
|
|
87739
|
+
if (fs.default.existsSync(cssPath)) return fs.default.readFileSync(cssPath, "utf-8");
|
|
87740
|
+
} catch (error) {
|
|
87741
|
+
continue;
|
|
87742
|
+
}
|
|
87743
|
+
return null;
|
|
87744
|
+
}
|
|
87745
|
+
function getSidebarHTML() {
|
|
87746
|
+
const possiblePaths = [
|
|
87747
|
+
path.default.resolve(process.cwd(), "packages/unplugin-dev-inspector/client/sidebar.html"),
|
|
87748
|
+
path.default.resolve(__dirname$1, "../../client/sidebar.html"),
|
|
87749
|
+
path.default.resolve(__dirname$1, "../client/sidebar.html"),
|
|
87750
|
+
path.default.resolve(process.cwd(), "node_modules/@mcpc-tech/unplugin-dev-inspector-mcp/client/sidebar.html")
|
|
87751
|
+
];
|
|
87752
|
+
for (const htmlPath of possiblePaths) try {
|
|
87753
|
+
if (fs.default.existsSync(htmlPath)) return fs.default.readFileSync(htmlPath, "utf-8");
|
|
87754
|
+
} catch (error) {
|
|
87755
|
+
continue;
|
|
87756
|
+
}
|
|
87757
|
+
return null;
|
|
87758
|
+
}
|
|
87717
87759
|
function setupInspectorMiddleware(middlewares, config) {
|
|
87718
87760
|
let cachedScript = null;
|
|
87719
87761
|
let cachedCSS = null;
|
|
87762
|
+
let cachedSidebarScript = null;
|
|
87763
|
+
let cachedSidebarCSS = null;
|
|
87764
|
+
let cachedSidebarHTML = null;
|
|
87720
87765
|
let filesChecked = false;
|
|
87721
87766
|
middlewares.use((req, res, next$1) => {
|
|
87722
87767
|
if (req.url?.startsWith("/__inspector__")) {
|
|
@@ -87725,8 +87770,47 @@ function setupInspectorMiddleware(middlewares, config) {
|
|
|
87725
87770
|
if (!filesChecked) {
|
|
87726
87771
|
cachedScript = getInspectorScript();
|
|
87727
87772
|
cachedCSS = getInspectorCSS();
|
|
87773
|
+
cachedSidebarScript = getSidebarScript();
|
|
87774
|
+
cachedSidebarCSS = getSidebarCSS();
|
|
87775
|
+
cachedSidebarHTML = getSidebarHTML();
|
|
87728
87776
|
filesChecked = true;
|
|
87729
87777
|
}
|
|
87778
|
+
if (req.url === "/__inspector__/sidebar" || req.url === "/__inspector__/sidebar/") {
|
|
87779
|
+
if (cachedSidebarHTML) {
|
|
87780
|
+
res.statusCode = 200;
|
|
87781
|
+
res.setHeader("Content-Type", "text/html");
|
|
87782
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
87783
|
+
res.end(cachedSidebarHTML);
|
|
87784
|
+
return;
|
|
87785
|
+
}
|
|
87786
|
+
res.statusCode = 404;
|
|
87787
|
+
res.end("Sidebar not found. Run `pnpm build:client` first.");
|
|
87788
|
+
return;
|
|
87789
|
+
}
|
|
87790
|
+
if (req.url === "/__inspector__/sidebar.js") {
|
|
87791
|
+
if (cachedSidebarScript) {
|
|
87792
|
+
res.statusCode = 200;
|
|
87793
|
+
res.setHeader("Content-Type", "application/javascript");
|
|
87794
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
87795
|
+
res.end(cachedSidebarScript);
|
|
87796
|
+
return;
|
|
87797
|
+
}
|
|
87798
|
+
res.statusCode = 404;
|
|
87799
|
+
res.end("Sidebar script not found");
|
|
87800
|
+
return;
|
|
87801
|
+
}
|
|
87802
|
+
if (req.url === "/__inspector__/sidebar.css") {
|
|
87803
|
+
if (cachedSidebarCSS) {
|
|
87804
|
+
res.statusCode = 200;
|
|
87805
|
+
res.setHeader("Content-Type", "text/css");
|
|
87806
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
87807
|
+
res.end(cachedSidebarCSS);
|
|
87808
|
+
return;
|
|
87809
|
+
}
|
|
87810
|
+
res.statusCode = 404;
|
|
87811
|
+
res.end("Sidebar CSS not found");
|
|
87812
|
+
return;
|
|
87813
|
+
}
|
|
87730
87814
|
if (req.url === "/__inspector__/inspector.js") {
|
|
87731
87815
|
if (cachedScript) {
|
|
87732
87816
|
res.statusCode = 200;
|
package/dist/config-updater.js
CHANGED
|
@@ -87706,9 +87706,54 @@ function getInspectorCSS() {
|
|
|
87706
87706
|
console.warn("⚠️ Inspector CSS not found. Run `pnpm build:client` first.");
|
|
87707
87707
|
return null;
|
|
87708
87708
|
}
|
|
87709
|
+
function getSidebarScript() {
|
|
87710
|
+
const possiblePaths = [
|
|
87711
|
+
path.resolve(process.cwd(), "packages/unplugin-dev-inspector/client/dist/sidebar.js"),
|
|
87712
|
+
path.resolve(__dirname, "../../client/dist/sidebar.js"),
|
|
87713
|
+
path.resolve(__dirname, "../client/dist/sidebar.js"),
|
|
87714
|
+
path.resolve(process.cwd(), "node_modules/@mcpc-tech/unplugin-dev-inspector-mcp/client/dist/sidebar.js")
|
|
87715
|
+
];
|
|
87716
|
+
for (const scriptPath of possiblePaths) try {
|
|
87717
|
+
if (fs.existsSync(scriptPath)) return fs.readFileSync(scriptPath, "utf-8");
|
|
87718
|
+
} catch (error) {
|
|
87719
|
+
continue;
|
|
87720
|
+
}
|
|
87721
|
+
return null;
|
|
87722
|
+
}
|
|
87723
|
+
function getSidebarCSS() {
|
|
87724
|
+
const possiblePaths = [
|
|
87725
|
+
path.resolve(process.cwd(), "packages/unplugin-dev-inspector/client/dist/sidebar.css"),
|
|
87726
|
+
path.resolve(__dirname, "../../client/dist/sidebar.css"),
|
|
87727
|
+
path.resolve(__dirname, "../client/dist/sidebar.css"),
|
|
87728
|
+
path.resolve(process.cwd(), "node_modules/@mcpc-tech/unplugin-dev-inspector-mcp/client/dist/sidebar.css")
|
|
87729
|
+
];
|
|
87730
|
+
for (const cssPath of possiblePaths) try {
|
|
87731
|
+
if (fs.existsSync(cssPath)) return fs.readFileSync(cssPath, "utf-8");
|
|
87732
|
+
} catch (error) {
|
|
87733
|
+
continue;
|
|
87734
|
+
}
|
|
87735
|
+
return null;
|
|
87736
|
+
}
|
|
87737
|
+
function getSidebarHTML() {
|
|
87738
|
+
const possiblePaths = [
|
|
87739
|
+
path.resolve(process.cwd(), "packages/unplugin-dev-inspector/client/sidebar.html"),
|
|
87740
|
+
path.resolve(__dirname, "../../client/sidebar.html"),
|
|
87741
|
+
path.resolve(__dirname, "../client/sidebar.html"),
|
|
87742
|
+
path.resolve(process.cwd(), "node_modules/@mcpc-tech/unplugin-dev-inspector-mcp/client/sidebar.html")
|
|
87743
|
+
];
|
|
87744
|
+
for (const htmlPath of possiblePaths) try {
|
|
87745
|
+
if (fs.existsSync(htmlPath)) return fs.readFileSync(htmlPath, "utf-8");
|
|
87746
|
+
} catch (error) {
|
|
87747
|
+
continue;
|
|
87748
|
+
}
|
|
87749
|
+
return null;
|
|
87750
|
+
}
|
|
87709
87751
|
function setupInspectorMiddleware(middlewares, config) {
|
|
87710
87752
|
let cachedScript = null;
|
|
87711
87753
|
let cachedCSS = null;
|
|
87754
|
+
let cachedSidebarScript = null;
|
|
87755
|
+
let cachedSidebarCSS = null;
|
|
87756
|
+
let cachedSidebarHTML = null;
|
|
87712
87757
|
let filesChecked = false;
|
|
87713
87758
|
middlewares.use((req, res, next$1) => {
|
|
87714
87759
|
if (req.url?.startsWith("/__inspector__")) {
|
|
@@ -87717,8 +87762,47 @@ function setupInspectorMiddleware(middlewares, config) {
|
|
|
87717
87762
|
if (!filesChecked) {
|
|
87718
87763
|
cachedScript = getInspectorScript();
|
|
87719
87764
|
cachedCSS = getInspectorCSS();
|
|
87765
|
+
cachedSidebarScript = getSidebarScript();
|
|
87766
|
+
cachedSidebarCSS = getSidebarCSS();
|
|
87767
|
+
cachedSidebarHTML = getSidebarHTML();
|
|
87720
87768
|
filesChecked = true;
|
|
87721
87769
|
}
|
|
87770
|
+
if (req.url === "/__inspector__/sidebar" || req.url === "/__inspector__/sidebar/") {
|
|
87771
|
+
if (cachedSidebarHTML) {
|
|
87772
|
+
res.statusCode = 200;
|
|
87773
|
+
res.setHeader("Content-Type", "text/html");
|
|
87774
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
87775
|
+
res.end(cachedSidebarHTML);
|
|
87776
|
+
return;
|
|
87777
|
+
}
|
|
87778
|
+
res.statusCode = 404;
|
|
87779
|
+
res.end("Sidebar not found. Run `pnpm build:client` first.");
|
|
87780
|
+
return;
|
|
87781
|
+
}
|
|
87782
|
+
if (req.url === "/__inspector__/sidebar.js") {
|
|
87783
|
+
if (cachedSidebarScript) {
|
|
87784
|
+
res.statusCode = 200;
|
|
87785
|
+
res.setHeader("Content-Type", "application/javascript");
|
|
87786
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
87787
|
+
res.end(cachedSidebarScript);
|
|
87788
|
+
return;
|
|
87789
|
+
}
|
|
87790
|
+
res.statusCode = 404;
|
|
87791
|
+
res.end("Sidebar script not found");
|
|
87792
|
+
return;
|
|
87793
|
+
}
|
|
87794
|
+
if (req.url === "/__inspector__/sidebar.css") {
|
|
87795
|
+
if (cachedSidebarCSS) {
|
|
87796
|
+
res.statusCode = 200;
|
|
87797
|
+
res.setHeader("Content-Type", "text/css");
|
|
87798
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
87799
|
+
res.end(cachedSidebarCSS);
|
|
87800
|
+
return;
|
|
87801
|
+
}
|
|
87802
|
+
res.statusCode = 404;
|
|
87803
|
+
res.end("Sidebar CSS not found");
|
|
87804
|
+
return;
|
|
87805
|
+
}
|
|
87722
87806
|
if (req.url === "/__inspector__/inspector.js") {
|
|
87723
87807
|
if (cachedScript) {
|
|
87724
87808
|
res.statusCode = 200;
|