@hienlh/ppm 0.20.9 → 0.21.0
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/CHANGELOG.md +114 -0
- package/CLAUDE.md +42 -1
- package/LICENSE +5 -0
- package/THIRD-PARTY-NOTICES.md +83 -0
- package/assets/skills/ppm/SKILL.md +1 -1
- package/assets/skills/ppm/references/http-api.md +1 -1
- package/bun.lock +38 -7
- package/dist/web/assets/KaTeX_Size3-Regular-gV2CO0n9.woff2 +0 -0
- package/dist/web/assets/accounts-settings-section-BuxD9zH3.js +1 -0
- package/dist/web/assets/ai-resource-editor-F09pf8Hd.js +1 -0
- package/dist/web/assets/ai-settings-section-Dd9tOUp0.js +1 -0
- package/dist/web/assets/ai-settings-section-FrU2X8Fu.js +1 -0
- package/dist/web/assets/{angular-html-CTx8qAkv.js → angular-html-DkR4iCth.js} +1 -1
- package/dist/web/assets/{angular-ts-BhBGUAnu.js → angular-ts-DcyL4Chx.js} +1 -1
- package/dist/web/assets/api-client-BUCo1lms.js +1 -0
- package/dist/web/assets/{api-settings-CqiVKFUX.js → api-settings-BcNjZIvG.js} +1 -1
- package/dist/web/assets/{api-themes-DtLXqXpC.js → api-themes-DBfyVUtX.js} +1 -1
- package/dist/web/assets/{apl-Dec3pSzF.js → apl-BVlrVtjt.js} +1 -1
- package/dist/web/assets/appearance-settings-section-whgnq3ss.js +1 -0
- package/dist/web/assets/architecture-PBZL5I3N-5K0wEkAn.js +1 -0
- package/dist/web/assets/{astro-Cb_3-S86.js → astro-MjJlozLj.js} +1 -1
- package/dist/web/assets/audio-preview-Bc54GCAV.js +1 -0
- package/dist/web/assets/{blade-1QMj5JxI.js → blade-DnJWi1fz.js} +1 -1
- package/dist/web/assets/{bsl-D0bT3Wjp.js → bsl-DCmJxSIz.js} +1 -1
- package/dist/web/assets/{button-DhnNoqpV.js → button-VW4QGKCn.js} +1 -1
- package/dist/web/assets/{cairo-DTuGb2w7.js → cairo-C8dDenub.js} +1 -1
- package/dist/web/assets/chat-tab-Cr6_KSGO.js +15 -0
- package/dist/web/assets/{cobol-DSx_Nb7T.js → cobol-DPx_nifl.js} +1 -1
- package/dist/web/assets/code-editor-DfmlGamv.js +7 -0
- package/dist/web/assets/codex-daily-guard-CfybHv_c.js +1 -0
- package/dist/web/assets/{coffee-DBcQ7DKB.js → coffee-DvFzqhgN.js} +1 -1
- package/dist/web/assets/conflict-editor-DenQUOT2.js +19 -0
- package/dist/web/assets/context-menu-DOODKZdF.js +1 -0
- package/dist/web/assets/{cpp-Bj1azGr-.js → cpp-BLJN0umi.js} +1 -1
- package/dist/web/assets/{crystal-CCgkDI0i.js → crystal-BXR-9fGw.js} +1 -1
- package/dist/web/assets/csv-preview-CClrJOuR.js +2 -0
- package/dist/web/assets/{data-grid-overlay-editor-C2NAQ-88.js → data-grid-overlay-editor-D4fhcMfT.js} +1 -1
- package/dist/web/assets/database-viewer-DItjm8wB.js +1 -0
- package/dist/web/assets/dialog-DQTn55Mt.js +1 -0
- package/dist/web/assets/diff-viewer-BpNj7pN9.js +4 -0
- package/dist/web/assets/docx-preview-DYBkiUaE.js +12 -0
- package/dist/web/assets/{edge-ClBfeO7z.js → edge-rWOlCmXT.js} +1 -1
- package/dist/web/assets/{edit-diff-preview-CRjufuw_.js → edit-diff-preview-COtmo54G.js} +1 -1
- package/dist/web/assets/editor-font-BDrdiGf1.js +1 -0
- package/dist/web/assets/editor-language-service-DxkZ51E5.js +1 -0
- package/dist/web/assets/{elixir-ir__-3kt.js → elixir-E7Y82okW.js} +1 -1
- package/dist/web/assets/{elm-CUv-xMuU.js → elm-DTPGbc-w.js} +1 -1
- package/dist/web/assets/{erb-DcRwHyUq.js → erb-DHqLHrE6.js} +1 -1
- package/dist/web/assets/{erlang-DW-GAdmv.js → erlang-Byg0nNiV.js} +1 -1
- package/dist/web/assets/{esm-DBm5LSCw.js → esm-D_DmOM7n.js} +1 -1
- package/dist/web/assets/explorer-body-D-5z464e.js +2 -0
- package/dist/web/assets/explorer-window-content-7-1wuRul.js +1 -0
- package/dist/web/assets/extension-manager-section-BhwB6nqr.js +1 -0
- package/dist/web/assets/extension-webview-DI4VL2tJ.js +12 -0
- package/dist/web/assets/file-icons-EzPL0q-k.js +1 -0
- package/dist/web/assets/file-icons.generated-CfaJuvZu.css +1 -0
- package/dist/web/assets/file-store-DMABxOkV.js +1 -0
- package/dist/web/assets/files-settings-section-CZzABuKz.js +1 -0
- package/dist/web/assets/format-file-meta-DOpzJJhS.js +1 -0
- package/dist/web/assets/{fortran-fixed-form-DrQbMSkt.js → fortran-fixed-form-CY1n0Xf6.js} +1 -1
- package/dist/web/assets/{fsharp-DvDj84Ys.js → fsharp-_vEDSCJz.js} +1 -1
- package/dist/web/assets/{gdresource-CPgY7R2s.js → gdresource-B6XT0wAC.js} +1 -1
- package/dist/web/assets/geist-cyrillic-ext-wght-italic-BYAq_K0C.woff2 +0 -0
- package/dist/web/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
- package/dist/web/assets/geist-cyrillic-wght-italic-Da0gXVk3.woff2 +0 -0
- package/dist/web/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
- package/dist/web/assets/geist-latin-ext-wght-italic-XgKbg5n7.woff2 +0 -0
- package/dist/web/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
- package/dist/web/assets/geist-latin-wght-italic-dTnRTFFJ.woff2 +0 -0
- package/dist/web/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
- package/dist/web/assets/geist-vietnamese-wght-italic-0fly6zkB.woff2 +0 -0
- package/dist/web/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
- package/dist/web/assets/general-settings-section-BcxwiZ0X.js +1 -0
- package/dist/web/assets/{git-commit-NJ9iGbTd.js → git-commit-Wk9ovq59.js} +1 -1
- package/dist/web/assets/git-log-panel-CRN4JVOx.js +1 -0
- package/dist/web/assets/{git-rebase-DBSy9OKE.js → git-rebase-DSarGPvK.js} +1 -1
- package/dist/web/assets/git-repo-store-Dy69YCHN.js +1 -0
- package/dist/web/assets/gitGraph-HDMCJU4V-DkVT2MAM.js +1 -0
- package/dist/web/assets/glide-data-grid-BvgAqSUr.js +141 -0
- package/dist/web/assets/{glimmer-js-EGWSSdwJ.js → glimmer-js-CkYI35_P.js} +1 -1
- package/dist/web/assets/{glimmer-ts-BpfXRYRV.js → glimmer-ts-BqmIZcds.js} +1 -1
- package/dist/web/assets/{glsl-BtWQ4j8X.js → glsl-Be-yBCF5.js} +1 -1
- package/dist/web/assets/{graphql-DHR5AO2c.js → graphql-a5DrENHY.js} +1 -1
- package/dist/web/assets/group-chat-tab-DFa5mAx5.js +1 -0
- package/dist/web/assets/{hack-A3iOItmC.js → hack-BLAg20aD.js} +1 -1
- package/dist/web/assets/{haml-DXA8NXfZ.js → haml-Dj6bGOQH.js} +1 -1
- package/dist/web/assets/{handlebars-BdIFK4pP.js → handlebars-dmEa36Oh.js} +1 -1
- package/dist/web/assets/{html-derivative-Cd_vDV4L.js → html-derivative-lLi3-RNT.js} +1 -1
- package/dist/web/assets/{html-BTA4eRkb.js → html-yacZYzSE.js} +1 -1
- package/dist/web/assets/{http-CMY5fp9k.js → http-1KaxcE4e.js} +1 -1
- package/dist/web/assets/{hurl-DJZLRi6K.js → hurl-ST-dEEZR.js} +1 -1
- package/dist/web/assets/{hxml-C2EdtM37.js → hxml-CpDtuq__.js} +1 -1
- package/dist/web/assets/icons-DQjqk0lJ.js +1 -0
- package/dist/web/assets/image-preview-CJVxL0uH.js +1 -0
- package/dist/web/assets/index-D7DbXD3G.css +1 -0
- package/dist/web/assets/index-ZtfxZOyb.js +52 -0
- package/dist/web/assets/info-3K5VOQVL-BBsmKGzA.js +1 -0
- package/dist/web/assets/input-D-dR8RI6.js +1 -0
- package/dist/web/assets/{jinja-DWU92jHm.js → jinja-Cjw-evAn.js} +1 -1
- package/dist/web/assets/{jira-watcher-section-BhQzWJ3r.js → jira-watcher-section-DIC1yIV3.js} +1 -1
- package/dist/web/assets/{jison-Bt3f5-S6.js → jison-DfATMYoY.js} +1 -1
- package/dist/web/assets/{julia-BS-e0jQg.js → julia-DDCaxiqT.js} +1 -1
- package/dist/web/assets/{just-OU89Ot3I.js → just-CJL529u6.js} +1 -1
- package/dist/web/assets/keybindings-store-tVfhPANS.js +1 -0
- package/dist/web/assets/keyboard-shortcuts-section-BW03P3AF.js +1 -0
- package/dist/web/assets/{latex-Bt5mTs31.js → latex-Zc4EpLpW.js} +1 -1
- package/dist/web/assets/{liquid-C03IGCJ6.js → liquid-B_6KMNYS.js} +1 -1
- package/dist/web/assets/{lua-Dl4zPu0P.js → lua-BtS2idK7.js} +1 -1
- package/dist/web/assets/markdown-renderer-CvL1pWeK.js +3 -0
- package/dist/web/assets/markdown-renderer-sJNNVhlS.js +1 -0
- package/dist/web/assets/{marko-BEnkIoHY.js → marko-Wk6LBnck.js} +1 -1
- package/dist/web/assets/{mdc-DGglct19.js → mdc-cRaXBrzL.js} +1 -1
- package/dist/web/assets/{media-url-LiPp2UsV.js → media-url-DL8OCGGg.js} +1 -1
- package/dist/web/assets/{mobile-bottom-sheet-BizNfPAu.js → mobile-bottom-sheet-CoUauvLF.js} +1 -1
- package/dist/web/assets/mobile-explorer-sheet-CZ0HZ2E_.js +1 -0
- package/dist/web/assets/monaco-dotenv-language-BDYnKcnr.js +1 -0
- package/dist/web/assets/monaspace-argon-latin-400-italic-DHf095HZ.woff2 +0 -0
- package/dist/web/assets/monaspace-argon-latin-400-italic-DZMiIHEH.woff +0 -0
- package/dist/web/assets/monaspace-argon-latin-400-normal-DZUN4ACH.woff +0 -0
- package/dist/web/assets/monaspace-argon-latin-400-normal-RS-2TGNg.woff2 +0 -0
- package/dist/web/assets/monaspace-argon-latin-700-normal-4y--rLW1.woff +0 -0
- package/dist/web/assets/monaspace-argon-latin-700-normal-D9kWRRK5.woff2 +0 -0
- package/dist/web/assets/monaspace-krypton-latin-400-italic-BoBCEexI.woff2 +0 -0
- package/dist/web/assets/monaspace-krypton-latin-400-italic-LWEicbvC.woff +0 -0
- package/dist/web/assets/monaspace-krypton-latin-400-normal-D9XlxC9R.woff +0 -0
- package/dist/web/assets/monaspace-krypton-latin-400-normal-DsuVXUab.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-codicons-DSvMY_FK.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-devicons-BBab8P54.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-font-awesome-BzNW1pRA.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-font-awesome-ext-D30e--UY.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-font-awesome-legacy-D_qekXx9.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-font-logos-gdu3INfy.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-iec-power-Cw6TNeDf.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-material-l-CXi9Ay.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-misc-BaVfdyeB.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-octicons-CJLTTzKm.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-pomicons-D7T3Ya3H.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-powerline-Cgg0sdGS.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-seti-DYiUFq6z.woff2 +0 -0
- package/dist/web/assets/nerd-symbols-weather-D4Jrp5XD.woff2 +0 -0
- package/dist/web/assets/{nextflow-DKFYidyC.js → nextflow-Bos2wvDV.js} +1 -1
- package/dist/web/assets/{nginx-Bhq0tzlh.js → nginx-DMlOwzdr.js} +1 -1
- package/dist/web/assets/{nim-CSuBzart.js → nim-D2dZQA88.js} +1 -1
- package/dist/web/assets/notification-store-BZbsPnW0.js +1 -0
- package/dist/web/assets/notifications-settings-section-DPUROMw-.js +1 -0
- package/dist/web/assets/{number-overlay-editor-CYHlP43e.js → number-overlay-editor-DZ2i_Bnb.js} +1 -1
- package/dist/web/assets/{overview-panel-xn2BYvn6.js → overview-panel-R146OIom.js} +1 -1
- package/dist/web/assets/packet-RMMSAZCW-DwmYPOlx.js +1 -0
- package/dist/web/assets/panel-store-BVLBRn6M.js +1 -0
- package/dist/web/assets/pdf-preview-BWUPGLp6.js +1 -0
- package/dist/web/assets/{perl-uDVR7Ceh.js → perl-C5-Z6fPn.js} +1 -1
- package/dist/web/assets/{php-Bby8J3zk.js → php-BXNNhkMH.js} +1 -1
- package/dist/web/assets/pie-UPGHQEXC-D0oogIFi.js +1 -0
- package/dist/web/assets/{postgres-viewer-CJbHLcGE.js → postgres-viewer-CjOvaruz.js} +3 -3
- package/dist/web/assets/ppmbot-settings-section-DrvWh8l8.js +1 -0
- package/dist/web/assets/problems-panel-B7BWVhdy.js +1 -0
- package/dist/web/assets/process-table-BRMS1MrX.js +1 -0
- package/dist/web/assets/{project-store-Dy3A3LJT.js → project-store-BhMbVln3.js} +1 -1
- package/dist/web/assets/proxy-settings-section-Bv0Ny-Yy.js +1 -0
- package/dist/web/assets/{pug-EapfojTW.js → pug-C1zf1yWy.js} +1 -1
- package/dist/web/assets/{qml-DiR6J5_C.js → qml-OW58jGpD.js} +1 -1
- package/dist/web/assets/query-audit-section-BcHJZcVC.js +1 -0
- package/dist/web/assets/radar-KQ55EAFF-CQIJOQGa.js +1 -0
- package/dist/web/assets/{razor-B2QvlGNY.js → razor-DzjSaobM.js} +1 -1
- package/dist/web/assets/remote-desktop-mobile-sheet-ByjaeZKX.js +2 -0
- package/dist/web/assets/remote-desktop-mobile-view-D13mtr9F.js +1 -0
- package/dist/web/assets/remote-desktop-readiness-gate-BTzss2wX.js +1 -0
- package/dist/web/assets/remote-desktop-window-content-CbqTCaC6.js +1 -0
- package/dist/web/assets/{rst-D2eJ0kH4.js → rst-RfuihOUW.js} +1 -1
- package/dist/web/assets/{ruby-DzpnBpz-.js → ruby-CNO3pli1.js} +1 -1
- package/dist/web/assets/{run-in-terminal-DisO5HC-.js → run-in-terminal-Cb_hVU8x.js} +1 -1
- package/dist/web/assets/{sas-WDAKsX0U.js → sas-DZY5BtXx.js} +1 -1
- package/dist/web/assets/schedules-settings-section-DO8xAOVj.js +1 -0
- package/dist/web/assets/scroll-area-LtNV8g5o.js +1 -0
- package/dist/web/assets/{scss-Ci6PdscL.js → scss--4g-REcN.js} +1 -1
- package/dist/web/assets/{send-to-chat-DDFdKWNf.js → send-to-chat-Cnpru1M0.js} +1 -1
- package/dist/web/assets/{separator-CyisF27O.js → separator-Cds1yxy8.js} +1 -1
- package/dist/web/assets/settings-body-Rnu-FcX-.js +2 -0
- package/dist/web/assets/settings-store-DZPgPtEA.js +2 -0
- package/dist/web/assets/settings-tab-C6PHxs0Z.js +1 -0
- package/dist/web/assets/settings-window-content-CQ4gT2qj.js +1 -0
- package/dist/web/assets/{shaderlab-Cv3mWofL.js → shaderlab-Cu4sBiVn.js} +1 -1
- package/dist/web/assets/{shellsession-D1KVtQa1.js → shellsession-DWzJfEv7.js} +1 -1
- package/dist/web/assets/{soy-BGLBwFZT.js → soy-BnqE-5Ff.js} +1 -1
- package/dist/web/assets/{sparql-TvnQmFDh.js → sparql-Ctg__NhZ.js} +1 -1
- package/dist/web/assets/{sql-query-editor-DaQqRBNA.js → sql-query-editor-D9k19T_M.js} +1 -1
- package/dist/web/assets/sqlite-viewer-DoV9hnWJ.js +1 -0
- package/dist/web/assets/{stata-Gi-BKyEv.js → stata-Qk2h66XW.js} +1 -1
- package/dist/web/assets/{streaming-store-DAbnOfLu.js → streaming-store-uDu3PoN1.js} +1 -1
- package/dist/web/assets/{surrealql-BVXs6tkz.js → surrealql-8QEX7EfH.js} +1 -1
- package/dist/web/assets/{svelte-BlnFpLWV.js → svelte-D_mubC5-.js} +1 -1
- package/dist/web/assets/system-monitor-body-2vQ1kMxE.js +2 -0
- package/dist/web/assets/system-monitor-tab-krAcvwF7.js +1 -0
- package/dist/web/assets/system-monitor-window-content-qXLcicFM.js +1 -0
- package/dist/web/assets/tab-host-window-content-7fPZNEni.js +1 -0
- package/dist/web/assets/{tab-store-B7BksLr-.js → tab-store-DGJGnbwv.js} +1 -1
- package/dist/web/assets/team-member-sheet-2FnRmk1a.js +2 -0
- package/dist/web/assets/team-member-window-content-BgvJFypM.js +1 -0
- package/dist/web/assets/{templ-YJYH5r1A.js → templ-C1jV0fsO.js} +1 -1
- package/dist/web/assets/terminal-tab-Cs0sGljx.js +3 -0
- package/dist/web/assets/{tex-IVZLDIeh.js → tex-D_StFXy_.js} +1 -1
- package/dist/web/assets/tool-cards-DU_S2o51.js +9 -0
- package/dist/web/assets/treemap-KZPCXAKY-BhEtjljr.js +1 -0
- package/dist/web/assets/{ts-tags-DBd321I-.js → ts-tags-B5m47rEm.js} +1 -1
- package/dist/web/assets/{twig-DQENQjEn.js → twig-C_br6GIl.js} +1 -1
- package/dist/web/assets/{use-blob-url-CGChX4vi.js → use-blob-url-C-SGi_Hb.js} +1 -1
- package/dist/web/assets/use-inline-blame-B4trxGcR.js +16 -0
- package/dist/web/assets/use-lsp-CV0vzILO.js +6 -0
- package/dist/web/assets/use-monaco-theme-DBqbWjWX.js +1 -0
- package/dist/web/assets/{use-open-team-member-kmNnlzDD.js → use-open-team-member-DENsjp0s.js} +1 -1
- package/dist/web/assets/use-remote-desktop-display-choice-BK_f787P.js +1 -0
- package/dist/web/assets/{use-websocket-D8OGBwH8.js → use-websocket-LgXiX1qN.js} +1 -1
- package/dist/web/assets/{vendor-mermaid-BoRFiriK.js → vendor-mermaid-Cbig5zA6.js} +1 -1
- package/dist/web/assets/video-preview-BDNwumbW.js +1 -0
- package/dist/web/assets/{vue-Do2JXEwi.js → vue-DQwCnLdr.js} +1 -1
- package/dist/web/assets/{vue-html-Bse0CwSC.js → vue-html-T_EoGpPJ.js} +1 -1
- package/dist/web/assets/{vue-vine-C8JSXu5Z.js → vue-vine-DmxLqX50.js} +1 -1
- package/dist/web/assets/{window-pip-registry-C2dcY0pE.js → window-pip-registry-3l4hoxuD.js} +1 -1
- package/dist/web/assets/{window-store-2z4t5YAt.js → window-store-UC1jJeLM.js} +1 -1
- package/dist/web/assets/ws-auth-DEAJiGCR.js +1 -0
- package/dist/web/assets/{xml-OX6YmzGK.js → xml-Bs6Bw8is.js} +1 -1
- package/dist/web/assets/{xsl-RQUQgcgy.js → xsl-f5ZNhRCc.js} +1 -1
- package/dist/web/index.html +105 -71
- package/dist/web/sw.js +1 -1
- package/docs/project-roadmap.md +2 -0
- package/licenses/Apache-2.0.txt +73 -0
- package/licenses/CC-BY-4.0.txt +156 -0
- package/licenses/MIT.txt +18 -0
- package/licenses/OFL-1.1.txt +43 -0
- package/licenses/Unlicense.txt +10 -0
- package/package.json +14 -7
- package/packages/ext-git-graph/src/blame-view.ts +4 -5
- package/packages/ext-git-graph/src/commit-detail-escaping.test.ts +205 -0
- package/packages/ext-git-graph/src/commit-detail-file-cap.test.ts +65 -0
- package/packages/ext-git-graph/src/commit-message-html.test.ts +214 -0
- package/packages/ext-git-graph/src/commit-message-html.ts +190 -0
- package/packages/ext-git-graph/src/commit-request-generation.test.ts +57 -0
- package/packages/ext-git-graph/src/compare-view.ts +4 -5
- package/packages/ext-git-graph/src/extension.ts +148 -36
- package/packages/ext-git-graph/src/file-history-view.ts +4 -5
- package/packages/ext-git-graph/src/log-args.test.ts +57 -0
- package/packages/ext-git-graph/src/ppm-api.ts +39 -6
- package/packages/ext-git-graph/src/project-scope.test.ts +77 -0
- package/packages/ext-git-graph/src/project-scope.ts +69 -0
- package/packages/ext-git-graph/src/shortstat-parser.test.ts +53 -0
- package/packages/ext-git-graph/src/shortstat-parser.ts +45 -0
- package/packages/ext-git-graph/src/types.ts +2 -0
- package/packages/ext-git-graph/src/webview-html.test.ts +407 -0
- package/packages/ext-git-graph/src/webview-html.ts +631 -108
- package/packages/ext-git-graph/src/webview-shell.test.ts +63 -0
- package/packages/ext-git-graph/src/webview-shell.ts +48 -7
- package/scripts/copy-monaco.ts +63 -0
- package/scripts/gen-file-icons.ts +485 -0
- package/scripts/gen-nerd-font.ts +311 -0
- package/scripts/gen-product-icons.ts +442 -0
- package/scripts/monaco-staging.ts +32 -0
- package/scripts/precompress-web.ts +77 -0
- package/scripts/third-party-notices.ts +160 -0
- package/scripts/vite-monaco-dev-assets.ts +63 -0
- package/src/providers/claude-agent-sdk.ts +32 -2
- package/src/server/index.ts +17 -0
- package/src/server/routes/chat.ts +16 -6
- package/src/server/routes/git.ts +113 -1
- package/src/server/routes/lsp.ts +58 -0
- package/src/server/routes/project-scoped.ts +2 -0
- package/src/server/routes/static-encoding.ts +73 -0
- package/src/server/routes/static-fallback.ts +51 -0
- package/src/server/routes/static.ts +41 -5
- package/src/server/ws/lsp.ts +433 -0
- package/src/services/chat-search.service.ts +211 -26
- package/src/services/fs-ops/fs-real-path.ts +23 -0
- package/src/services/git-blame/commit-line-diff.ts +124 -0
- package/src/services/git-blame/git-blame.service.ts +96 -1
- package/src/services/git-repos/git-repo-discovery.ts +152 -0
- package/src/services/lsp/lsp-capabilities.ts +160 -0
- package/src/services/lsp/lsp-manager.ts +442 -0
- package/src/services/lsp/lsp-protocol.ts +170 -0
- package/src/services/lsp/lsp-session.ts +466 -0
- package/src/services/lsp/server-registry.ts +401 -0
- package/src/services/search-index-db.service.ts +10 -2
- package/src/shared/blame.ts +51 -0
- package/src/shared/lsp-uri.ts +108 -0
- package/src/web/app.tsx +6 -0
- package/src/web/components/ai-resources/ai-resource-editor.tsx +1 -1
- package/src/web/components/ai-resources/ai-resources-panel.tsx +1 -1
- package/src/web/components/ai-resources/mcp-group.tsx +1 -1
- package/src/web/components/ai-resources/new-resource-menu.tsx +1 -1
- package/src/web/components/ai-resources/resource-visuals.tsx +1 -1
- package/src/web/components/auth/login-screen.tsx +1 -1
- package/src/web/components/auth/support-dialog.tsx +1 -1
- package/src/web/components/chat/attachment-chips.tsx +113 -5
- package/src/web/components/chat/background-command-bar.tsx +1 -1
- package/src/web/components/chat/background-output-panel.tsx +1 -1
- package/src/web/components/chat/change-edit-list.tsx +1 -1
- package/src/web/components/chat/change-file-row.tsx +1 -1
- package/src/web/components/chat/chat-history-bar.tsx +2 -2
- package/src/web/components/chat/chat-history-panel.tsx +1 -1
- package/src/web/components/chat/chat-placeholder.tsx +1 -1
- package/src/web/components/chat/chat-scroll-nav.tsx +1 -1
- package/src/web/components/chat/chat-tab.tsx +1 -1
- package/src/web/components/chat/chat-toolbar-overflow-menu.tsx +1 -1
- package/src/web/components/chat/chat-welcome.tsx +1 -1
- package/src/web/components/chat/codex-usage-panel.tsx +1 -1
- package/src/web/components/chat/file-picker.tsx +1 -1
- package/src/web/components/chat/image-preview-states.tsx +1 -1
- package/src/web/components/chat/message-action-bar.tsx +1 -1
- package/src/web/components/chat/message-input.tsx +1 -1
- package/src/web/components/chat/message-list.tsx +1 -1
- package/src/web/components/chat/mode-selector.tsx +1 -1
- package/src/web/components/chat/model-selector.tsx +1 -1
- package/src/web/components/chat/model-thinking-selector.tsx +1 -1
- package/src/web/components/chat/pre-compact-button.tsx +1 -1
- package/src/web/components/chat/provider-selector.tsx +1 -1
- package/src/web/components/chat/send-message-card.tsx +1 -1
- package/src/web/components/chat/session-context-menu.tsx +1 -1
- package/src/web/components/chat/session-debug-dialog.tsx +1 -1
- package/src/web/components/chat/session-history-list.tsx +1 -1
- package/src/web/components/chat/session-list-panel.tsx +1 -1
- package/src/web/components/chat/session-picker.tsx +1 -1
- package/src/web/components/chat/slash-command-picker.tsx +1 -1
- package/src/web/components/chat/task-tracker.tsx +1 -1
- package/src/web/components/chat/team-activity-panel.tsx +1 -1
- package/src/web/components/chat/team-member-activity-row.tsx +1 -1
- package/src/web/components/chat/team-member-list.tsx +1 -1
- package/src/web/components/chat/team-member-sheet.tsx +1 -1
- package/src/web/components/chat/team-member-window-content.tsx +1 -1
- package/src/web/components/chat/team-working-bar.tsx +1 -1
- package/src/web/components/chat/tool-cards.tsx +2 -2
- package/src/web/components/chat/turn-change-sheet.tsx +1 -1
- package/src/web/components/chat/turn-change-tray.tsx +1 -1
- package/src/web/components/chat/turn-cost-warning.tsx +1 -1
- package/src/web/components/chat/usage-badge.tsx +1 -1
- package/src/web/components/chat/usage-panel-shell.tsx +1 -1
- package/src/web/components/chat/version-switcher.tsx +1 -1
- package/src/web/components/database/connection-import-export.tsx +1 -1
- package/src/web/components/database/connection-list.tsx +1 -1
- package/src/web/components/database/connection-row.tsx +1 -1
- package/src/web/components/database/database-sidebar.tsx +1 -1
- package/src/web/components/database/database-viewer.tsx +1 -1
- package/src/web/components/database/export-button.tsx +1 -1
- package/src/web/components/database/glide-context-menu.tsx +1 -1
- package/src/web/components/database/glide-data-grid.tsx +1 -1
- package/src/web/components/database/glide-data-preview-panel.tsx +2 -2
- package/src/web/components/database/glide-grid-pagination.tsx +1 -1
- package/src/web/components/database/glide-grid-toolbar.tsx +1 -1
- package/src/web/components/database/glide-header-menu.tsx +1 -1
- package/src/web/components/database/glide-save-bar.tsx +1 -1
- package/src/web/components/database/schema-table-tree.tsx +1 -1
- package/src/web/components/editor/audio-preview.tsx +1 -1
- package/src/web/components/editor/code-editor.tsx +167 -21
- package/src/web/components/editor/compare-picker.tsx +1 -1
- package/src/web/components/editor/conflict-editor.tsx +15 -6
- package/src/web/components/editor/csv-preview.tsx +1 -1
- package/src/web/components/editor/diff-viewer.tsx +59 -37
- package/src/web/components/editor/docx-preview.tsx +1 -1
- package/src/web/components/editor/editor-breadcrumb-external.tsx +1 -1
- package/src/web/components/editor/editor-breadcrumb.tsx +1 -1
- package/src/web/components/editor/editor-language-picker.tsx +3 -1
- package/src/web/components/editor/editor-language-service.tsx +77 -0
- package/src/web/components/editor/editor-mobile-toolbar.tsx +13 -2
- package/src/web/components/editor/editor-placeholder.tsx +1 -1
- package/src/web/components/editor/editor-toolbar.tsx +1 -1
- package/src/web/components/editor/image-preview.tsx +1 -1
- package/src/web/components/editor/lsp-status.tsx +241 -0
- package/src/web/components/editor/pdf-preview.tsx +1 -1
- package/src/web/components/editor/video-player/video-player-controls.tsx +1 -1
- package/src/web/components/editor/video-player/video-player.tsx +1 -1
- package/src/web/components/editor/video-player/video-settings-menu.tsx +1 -1
- package/src/web/components/editor/video-preview.tsx +1 -1
- package/src/web/components/explorer/file-tree.tsx +1 -1
- package/src/web/components/explorer/inline-tree-input.tsx +1 -1
- package/src/web/components/explorer/search-panel.tsx +3 -2
- package/src/web/components/explorer/tree-node-context-menu.tsx +1 -1
- package/src/web/components/explorer/tree-node.tsx +5 -12
- package/src/web/components/extensions/extension-quickpick.tsx +1 -1
- package/src/web/components/extensions/extension-tree-view.tsx +1 -1
- package/src/web/components/extensions/extension-webview.tsx +53 -20
- package/src/web/components/extensions/webview-theme.ts +121 -0
- package/src/web/components/floating-window/pip/pip-caption-button.tsx +1 -1
- package/src/web/components/git/create-worktree-dialog.tsx +5 -3
- package/src/web/components/git/git-log-panel.tsx +4 -2
- package/src/web/components/git/git-placeholder.tsx +1 -1
- package/src/web/components/git/git-ref-badge.tsx +1 -1
- package/src/web/components/git/git-repo-picker.tsx +145 -0
- package/src/web/components/git/git-status-panel.tsx +231 -250
- package/src/web/components/git/git-worktree-panel.tsx +6 -4
- package/src/web/components/git/hunk-stage-dialog.tsx +5 -3
- package/src/web/components/group-chat/group-chat-tab.tsx +1 -1
- package/src/web/components/group-chat/group-create-dialog.tsx +1 -1
- package/src/web/components/group-chat/group-full-transcript-view.tsx +1 -1
- package/src/web/components/group-chat/group-list.tsx +1 -1
- package/src/web/components/group-chat/group-member-edit-dialog.tsx +1 -1
- package/src/web/components/group-chat/group-member-roster.tsx +1 -1
- package/src/web/components/group-chat/group-message-item.tsx +1 -1
- package/src/web/components/group-chat/group-transcript-messages.tsx +1 -1
- package/src/web/components/jira/jira-config-form.tsx +1 -1
- package/src/web/components/jira/jira-filter-builder.tsx +1 -1
- package/src/web/components/jira/jira-panel.tsx +1 -1
- package/src/web/components/jira/jira-results-panel.tsx +1 -1
- package/src/web/components/jira/jira-ticket-card.tsx +1 -1
- package/src/web/components/jira/jira-ticket-detail.tsx +1 -1
- package/src/web/components/jira/jira-watcher-form.tsx +1 -1
- package/src/web/components/jira/jira-watcher-list.tsx +1 -1
- package/src/web/components/layout/add-project-form.tsx +1 -1
- package/src/web/components/layout/cloud-alias-row.tsx +1 -1
- package/src/web/components/layout/cloud-share-named-tunnel-row.tsx +1 -1
- package/src/web/components/layout/cloud-share-popover.tsx +1 -1
- package/src/web/components/layout/command-palette-filter-chips.tsx +1 -1
- package/src/web/components/layout/command-palette.tsx +46 -8
- package/src/web/components/layout/dock-header.tsx +4 -4
- package/src/web/components/layout/dock-panel.tsx +3 -3
- package/src/web/components/layout/draggable-tab.tsx +20 -3
- package/src/web/components/layout/editor-panel.tsx +1 -1
- package/src/web/components/layout/mobile-drawer-tab-bar.tsx +10 -1
- package/src/web/components/layout/mobile-drawer.tsx +1 -1
- package/src/web/components/layout/mobile-nav.tsx +3 -3
- package/src/web/components/layout/mobile-tab-switcher-sheet.tsx +13 -4
- package/src/web/components/layout/nav-section-rail.tsx +1 -1
- package/src/web/components/layout/notification-bell-popover.tsx +1 -1
- package/src/web/components/layout/panel-layout.tsx +1 -1
- package/src/web/components/layout/project-bottom-sheet.tsx +4 -1
- package/src/web/components/layout/project-sort.ts +1 -1
- package/src/web/components/layout/project-switcher.tsx +1 -1
- package/src/web/components/layout/reparenting-tab.tsx +1 -1
- package/src/web/components/layout/sidebar.tsx +1 -1
- package/src/web/components/layout/status-bar.tsx +4 -1
- package/src/web/components/layout/tab-bar.tsx +9 -23
- package/src/web/components/layout/tab-content.tsx +6 -1
- package/src/web/components/layout/tab-pool.tsx +1 -0
- package/src/web/components/layout/tab-pop-out-menu-item.tsx +1 -1
- package/src/web/components/layout/upgrade-button.tsx +1 -1
- package/src/web/components/layout/wake-lock-indicator.tsx +1 -1
- package/src/web/components/os-explorer/explorer-body.tsx +1 -1
- package/src/web/components/os-explorer/explorer-breadcrumb.tsx +1 -1
- package/src/web/components/os-explorer/explorer-sidebar.tsx +1 -1
- package/src/web/components/os-explorer/explorer-sort-menu.tsx +1 -1
- package/src/web/components/os-explorer/explorer-toolbar.tsx +1 -1
- package/src/web/components/os-explorer/icons/file-type-icon-map.ts +10 -94
- package/src/web/components/os-explorer/icons/file-type-icon.tsx +17 -13
- package/src/web/components/os-explorer/mobile/mobile-bottom-toolbar.tsx +1 -1
- package/src/web/components/os-explorer/mobile/mobile-explorer-top-bar.tsx +1 -1
- package/src/web/components/os-explorer/mobile/mobile-more-sheet.tsx +1 -1
- package/src/web/components/os-explorer/mobile/mobile-places-sheet.tsx +1 -1
- package/src/web/components/os-explorer/mobile/mobile-places-strip.tsx +1 -1
- package/src/web/components/os-explorer/properties-dialog.tsx +1 -1
- package/src/web/components/os-explorer/skins/macos-window-chrome.tsx +1 -1
- package/src/web/components/os-explorer/skins/windows-window-chrome.tsx +1 -1
- package/src/web/components/os-explorer/upload/upload-batch-card.tsx +1 -1
- package/src/web/components/os-explorer/upload/upload-batch-row.tsx +1 -1
- package/src/web/components/os-explorer/use-coarse-long-press.ts +8 -0
- package/src/web/components/os-explorer/views/column-view-mobile.tsx +1 -1
- package/src/web/components/os-explorer/views/icons-view-tile.tsx +1 -1
- package/src/web/components/os-explorer/views/list-row.tsx +1 -1
- package/src/web/components/os-explorer/views/list-view.tsx +1 -1
- package/src/web/components/postgres/postgres-viewer.tsx +1 -1
- package/src/web/components/problems/problems-panel.tsx +230 -0
- package/src/web/components/problems/problems-status.tsx +53 -0
- package/src/web/components/projects/dir-suggest.tsx +1 -1
- package/src/web/components/projects/project-list.tsx +1 -1
- package/src/web/components/remote-desktop/remote-desktop-mobile-toolbar.tsx +1 -1
- package/src/web/components/remote-desktop/remote-desktop-mobile-view.tsx +1 -1
- package/src/web/components/remote-desktop/remote-desktop-readiness-gate.tsx +1 -1
- package/src/web/components/remote-desktop/remote-desktop-warning-gate.tsx +1 -1
- package/src/web/components/remote-desktop/remote-desktop-window-content.tsx +1 -1
- package/src/web/components/root-error-boundary.tsx +116 -0
- package/src/web/components/settings/accounts/account-add-dialog.tsx +1 -1
- package/src/web/components/settings/accounts/account-card.tsx +1 -1
- package/src/web/components/settings/accounts/account-export-dialog.tsx +1 -1
- package/src/web/components/settings/accounts/account-export-simulation.tsx +1 -1
- package/src/web/components/settings/accounts/account-import-dialog.tsx +1 -1
- package/src/web/components/settings/accounts/account-profile-panel.tsx +1 -1
- package/src/web/components/settings/accounts/account-rotation-settings.tsx +1 -1
- package/src/web/components/settings/accounts/account-token-test-dialog.tsx +1 -1
- package/src/web/components/settings/accounts/account-usage-pattern-chart.tsx +1 -1
- package/src/web/components/settings/accounts/accounts-pane-header.tsx +1 -1
- package/src/web/components/settings/accounts/accounts-settings-section.tsx +1 -1
- package/src/web/components/settings/accounts/claude-accounts-section.tsx +9 -1
- package/src/web/components/settings/accounts/codex-accounts-section.tsx +10 -1
- package/src/web/components/settings/accounts/codex-add-account-dialog.tsx +1 -1
- package/src/web/components/settings/accounts/codex-backup-dialog.tsx +1 -1
- package/src/web/components/settings/ai-settings-section.tsx +1 -1
- package/src/web/components/settings/appearance-settings-section.tsx +56 -1
- package/src/web/components/settings/change-password-section.tsx +1 -1
- package/src/web/components/settings/extension-manager-section.tsx +1 -1
- package/src/web/components/settings/general-settings-section.tsx +1 -1
- package/src/web/components/settings/glob-list-editor.tsx +1 -1
- package/src/web/components/settings/keyboard-shortcuts-section.tsx +1 -1
- package/src/web/components/settings/mcp-server-dialog.tsx +1 -1
- package/src/web/components/settings/notifications-settings-section.tsx +1 -1
- package/src/web/components/settings/ppmbot-settings-section.tsx +1 -1
- package/src/web/components/settings/proxy-settings-section.tsx +1 -1
- package/src/web/components/settings/proxy-test-section.tsx +1 -1
- package/src/web/components/settings/query-audit-section.tsx +1 -1
- package/src/web/components/settings/schedules/schedule-row.tsx +1 -1
- package/src/web/components/settings/schedules/schedules-settings-section.tsx +1 -1
- package/src/web/components/settings/settings-body.tsx +1 -1
- package/src/web/components/settings/settings-categories.ts +14 -3
- package/src/web/components/settings/settings-category-list.tsx +1 -1
- package/src/web/components/settings/settings-section-content.tsx +1 -1
- package/src/web/components/settings/tag-settings-section.tsx +1 -1
- package/src/web/components/settings/theme-grid.tsx +1 -1
- package/src/web/components/settings/theme-manager-section.tsx +1 -1
- package/src/web/components/settings/theme-picker.tsx +1 -1
- package/src/web/components/shared/bug-report-popup.tsx +1 -1
- package/src/web/components/shared/connection-lost-overlay.tsx +1 -1
- package/src/web/components/shared/diagram-overlay.tsx +1 -1
- package/src/web/components/shared/image-overlay.tsx +1 -1
- package/src/web/components/shared/theme-mode-menu.tsx +1 -1
- package/src/web/components/sqlite/sqlite-data-grid.tsx +1 -1
- package/src/web/components/sqlite/sqlite-table-list.tsx +1 -1
- package/src/web/components/sqlite/sqlite-viewer.tsx +1 -1
- package/src/web/components/system/process-group-row.tsx +1 -1
- package/src/web/components/system/process-row.tsx +1 -1
- package/src/web/components/system/process-table-toolbar.tsx +1 -1
- package/src/web/components/system/resource-status-bar.tsx +1 -1
- package/src/web/components/system/sortable-header.tsx +1 -1
- package/src/web/components/system/system-monitor-body.tsx +1 -1
- package/src/web/components/terminal/terminal-finish-login.tsx +1 -1
- package/src/web/components/terminal/terminal-links-sheet.tsx +1 -1
- package/src/web/components/terminal/terminal-mobile-toolbar.tsx +1 -1
- package/src/web/components/terminal/terminal-placeholder.tsx +1 -1
- package/src/web/components/terminal/terminal-tab.tsx +1 -1
- package/src/web/components/tunnels/named-tunnel/named-tunnel-copy.ts +1 -0
- package/src/web/components/tunnels/named-tunnel/named-tunnel-login-step.tsx +1 -1
- package/src/web/components/tunnels/named-tunnel/named-tunnel-section.tsx +1 -1
- package/src/web/components/tunnels/named-tunnel/named-tunnel-setup-content.tsx +9 -3
- package/src/web/components/tunnels/named-tunnel/named-tunnel-setup-popup.tsx +1 -1
- package/src/web/components/tunnels/named-tunnel/named-tunnel-step-reducer.ts +14 -2
- package/src/web/components/tunnels/tunnel-manager-tab.tsx +1 -1
- package/src/web/components/ui/accordion.tsx +1 -1
- package/src/web/components/ui/adaptive-context-menu.tsx +9 -2
- package/src/web/components/ui/browse-button.tsx +1 -1
- package/src/web/components/ui/context-menu.tsx +1 -1
- package/src/web/components/ui/dialog.tsx +1 -1
- package/src/web/components/ui/dropdown-menu.tsx +1 -1
- package/src/web/components/ui/file-browser-picker.tsx +4 -6
- package/src/web/components/ui/select.tsx +1 -1
- package/src/web/components/ui/sidebar-header.tsx +1 -1
- package/src/web/components/ui/sonner.tsx +1 -1
- package/src/web/hooks/use-git-repo.ts +124 -0
- package/src/web/hooks/use-global-keybindings.ts +11 -6
- package/src/web/hooks/use-inline-blame.ts +161 -11
- package/src/web/hooks/use-is-touch-only.ts +46 -0
- package/src/web/hooks/use-lsp.ts +182 -0
- package/src/web/hooks/use-terminal.ts +60 -2
- package/src/web/hooks/use-touch-tab-drag.ts +18 -2
- package/src/web/hooks/use-url-sync.ts +15 -1
- package/src/web/index.html +74 -0
- package/src/web/lib/blame-hover-commands.ts +82 -0
- package/src/web/lib/blame-hover.ts +199 -0
- package/src/web/lib/chunk-recovery.ts +113 -0
- package/src/web/lib/editor-font.ts +70 -0
- package/src/web/lib/ext-command-dispatch.ts +24 -0
- package/src/web/lib/file-icons.generated.ts +408 -0
- package/src/web/lib/file-icons.tsx +192 -0
- package/src/web/lib/fluent-icon.tsx +62 -0
- package/src/web/lib/git-file-tree.ts +83 -0
- package/src/web/lib/git-repo-scope.ts +157 -0
- package/src/web/lib/icons.generated.tsx +428 -0
- package/src/web/lib/icons.ts +17 -0
- package/src/web/lib/lsp/lsp-client.ts +321 -0
- package/src/web/lib/lsp/lsp-documents.ts +39 -0
- package/src/web/lib/lsp/lsp-monaco.ts +214 -0
- package/src/web/lib/lsp/lsp-navigation.ts +129 -0
- package/src/web/lib/lsp/lsp-responses.ts +244 -0
- package/src/web/lib/lsp/lsp-semantic-tokens.ts +180 -0
- package/src/web/lib/lsp/lsp-shadow-models.ts +254 -0
- package/src/web/lib/lsp/monaco-builtin-typescript.ts +149 -0
- package/src/web/lib/lsp/register-providers.ts +458 -0
- package/src/web/lib/monaco-diff-language.ts +62 -0
- package/src/web/lib/monaco-dotenv-language.ts +134 -0
- package/src/web/lib/sidebar-tabs/tab-registry.ts +11 -2
- package/src/web/lib/tab-type-icons.ts +32 -4
- package/src/web/main.tsx +30 -1
- package/src/web/stores/git-repo-store.ts +117 -0
- package/src/web/stores/git-status-store.ts +10 -7
- package/src/web/stores/keybindings-store.ts +1 -0
- package/src/web/stores/panel-utils.ts +5 -2
- package/src/web/stores/problems-store.ts +116 -0
- package/src/web/stores/settings-store.ts +40 -0
- package/src/web/stores/tab-store.ts +2 -1
- package/src/web/stores/window-panel-persistence.ts +1 -0
- package/src/web/styles/file-icons.generated.css +1007 -0
- package/src/web/styles/fonts/nerd-symbols-codicons.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-devicons.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-font-awesome-ext.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-font-awesome-legacy.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-font-awesome.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-font-logos.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-iec-power.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-material.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-misc.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-octicons.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-pomicons.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-powerline.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-seti.woff2 +0 -0
- package/src/web/styles/fonts/nerd-symbols-weather.woff2 +0 -0
- package/src/web/styles/globals.css +30 -3
- package/src/web/styles/nerd-font.generated.css +153 -0
- package/src/web/sw.ts +69 -2
- package/src/web/theme/adapters/monaco-adapter.ts +20 -1
- package/src/web/theme/diff-token-rules.ts +34 -0
- package/src/web/theme/semantic-token-rules.ts +103 -0
- package/src/web/theme/theme-mode-options.ts +1 -1
- package/vite.config.ts +24 -7
- package/dist/web/assets/accounts-settings-section-ByM99C7p.js +0 -1
- package/dist/web/assets/ai-resource-editor-BsB9wa0z.js +0 -1
- package/dist/web/assets/ai-settings-section-BT-QVUBa.js +0 -1
- package/dist/web/assets/ai-settings-section-BUPOINaw.js +0 -1
- package/dist/web/assets/api-client-C6VTn7cG.js +0 -1
- package/dist/web/assets/appearance-settings-section-DJEoECoJ.js +0 -1
- package/dist/web/assets/architecture-PBZL5I3N-D55g5j-p.js +0 -1
- package/dist/web/assets/arrow-left-DpXaakMC.js +0 -1
- package/dist/web/assets/arrow-right-BqNSIscF.js +0 -1
- package/dist/web/assets/audio-preview-CF4tTFv_.js +0 -1
- package/dist/web/assets/bot-D3-n2i31.js +0 -1
- package/dist/web/assets/brain-CuAQMSBE.js +0 -1
- package/dist/web/assets/calendar-clock-CDP7AVjA.js +0 -1
- package/dist/web/assets/chat-tab-fD2vWwj2.js +0 -15
- package/dist/web/assets/check-BQKbhtoA.js +0 -1
- package/dist/web/assets/chevron-down-B9puixxZ.js +0 -1
- package/dist/web/assets/chevron-right-DK_HbYZC.js +0 -1
- package/dist/web/assets/chevron-up-BPAINgoK.js +0 -1
- package/dist/web/assets/circle-BpGTLAas.js +0 -1
- package/dist/web/assets/circle-question-mark-DUaySkoB.js +0 -1
- package/dist/web/assets/clock-Dqq0H9yH.js +0 -1
- package/dist/web/assets/code-CX6640Tv.js +0 -1
- package/dist/web/assets/code-editor-CyFLXCsD.js +0 -7
- package/dist/web/assets/codex-daily-guard-Cg19EWxk.js +0 -1
- package/dist/web/assets/conflict-editor-DSjo2FRy.js +0 -19
- package/dist/web/assets/context-menu-DchAkdnL.js +0 -1
- package/dist/web/assets/copy-Bt_1tjoJ.js +0 -1
- package/dist/web/assets/csv-preview-BIE3Wpww.js +0 -2
- package/dist/web/assets/database-9_p74TtY.js +0 -1
- package/dist/web/assets/database-viewer-CMvIORcM.js +0 -1
- package/dist/web/assets/diff-viewer-BQQ6fUr6.js +0 -4
- package/dist/web/assets/docx-preview-DcCh59Oe.js +0 -12
- package/dist/web/assets/download-CEPFebri.js +0 -1
- package/dist/web/assets/explorer-body-DRo2JHP9.js +0 -2
- package/dist/web/assets/explorer-window-content-7mnRpSqn.js +0 -1
- package/dist/web/assets/extension-manager-section-CEfr7-Kv.js +0 -1
- package/dist/web/assets/extension-webview-D7HqqdTv.js +0 -3
- package/dist/web/assets/eye-BQaWPI4P.js +0 -1
- package/dist/web/assets/eye-off-BlB3QV90.js +0 -1
- package/dist/web/assets/file-exclamation-point-BDmSZbxs.js +0 -1
- package/dist/web/assets/files-settings-section-h6a-WpSO.js +0 -1
- package/dist/web/assets/flask-conical-Cj-J6cxs.js +0 -1
- package/dist/web/assets/folder-symlink-BSYalAHC.js +0 -1
- package/dist/web/assets/general-settings-section-Bt3KNcyM.js +0 -1
- package/dist/web/assets/git-log-panel-H-Bg9p7m.js +0 -1
- package/dist/web/assets/gitGraph-HDMCJU4V-At-P8hlA.js +0 -1
- package/dist/web/assets/glide-data-grid-D3Xc_WGh.js +0 -141
- package/dist/web/assets/group-chat-tab-BkLt7J_s.js +0 -1
- package/dist/web/assets/hand-BkDyLfcc.js +0 -1
- package/dist/web/assets/image-preview-D_6-FhZP.js +0 -1
- package/dist/web/assets/index-BV_sFdHY.js +0 -52
- package/dist/web/assets/index-Di9nVG3y.css +0 -2
- package/dist/web/assets/info-3K5VOQVL-btSsuixb.js +0 -1
- package/dist/web/assets/key-round-Cv4z7_KG.js +0 -1
- package/dist/web/assets/keybindings-store-alreySno.js +0 -1
- package/dist/web/assets/keyboard-HG0BUtuN.js +0 -1
- package/dist/web/assets/keyboard-shortcuts-section-B_D0FamP.js +0 -1
- package/dist/web/assets/loader-circle-H81ywCuQ.js +0 -1
- package/dist/web/assets/markdown-renderer-CG_nGh7k.js +0 -3
- package/dist/web/assets/markdown-renderer-CgbqvSuc.js +0 -1
- package/dist/web/assets/mobile-explorer-sheet-DAZTzi1k.js +0 -1
- package/dist/web/assets/monitor-CKcYUoAV.js +0 -1
- package/dist/web/assets/notification-store-HCg5Shw9.js +0 -1
- package/dist/web/assets/notifications-settings-section-BAs_p_ai.js +0 -1
- package/dist/web/assets/packet-RMMSAZCW-B20_sIFd.js +0 -1
- package/dist/web/assets/panel-store-XhAruR6D.js +0 -1
- package/dist/web/assets/pdf-preview-BJjqU3AX.js +0 -1
- package/dist/web/assets/pie-UPGHQEXC-nzfJdXCC.js +0 -1
- package/dist/web/assets/power-D_wlLkC0.js +0 -1
- package/dist/web/assets/ppmbot-settings-section-5U0a58oj.js +0 -1
- package/dist/web/assets/process-table-CqGL0Bcj.js +0 -1
- package/dist/web/assets/proxy-settings-section-B1LDpGSc.js +0 -1
- package/dist/web/assets/query-audit-section-DfCvY94_.js +0 -1
- package/dist/web/assets/radar-KQ55EAFF-CS4sHKD5.js +0 -1
- package/dist/web/assets/remote-desktop-mobile-sheet-_LH4uCcA.js +0 -2
- package/dist/web/assets/remote-desktop-mobile-view-C5TUPDh_.js +0 -1
- package/dist/web/assets/remote-desktop-readiness-gate-DuT4A893.js +0 -1
- package/dist/web/assets/remote-desktop-window-content-B4V-1aJn.js +0 -1
- package/dist/web/assets/save-BehCuMf4.js +0 -1
- package/dist/web/assets/schedules-settings-section-C2SjwWFB.js +0 -1
- package/dist/web/assets/send-CtXcGcsk.js +0 -1
- package/dist/web/assets/settings-body-CdFauCAU.js +0 -2
- package/dist/web/assets/settings-store-BkNrLdjk.js +0 -2
- package/dist/web/assets/settings-tab-DGUlmMbc.js +0 -1
- package/dist/web/assets/settings-window-content-CIH5sihe.js +0 -1
- package/dist/web/assets/shield-check-z9PX8HVZ.js +0 -1
- package/dist/web/assets/shield-off-Du0U5dVI.js +0 -1
- package/dist/web/assets/sparkles-CO9zx1f-.js +0 -1
- package/dist/web/assets/sqlite-viewer-Bpz7QnBk.js +0 -1
- package/dist/web/assets/system-monitor-body-BBJOWFCa.js +0 -2
- package/dist/web/assets/system-monitor-tab-D7RIwhmg.js +0 -1
- package/dist/web/assets/system-monitor-window-content-CH0UmMP9.js +0 -1
- package/dist/web/assets/tab-host-window-content-C_yU5MH_.js +0 -1
- package/dist/web/assets/table-BK4h8E7u.js +0 -1
- package/dist/web/assets/team-member-sheet-CopMME1E.js +0 -2
- package/dist/web/assets/team-member-window-content-CUDQ6oX7.js +0 -1
- package/dist/web/assets/terminal-tab-BjI95uG5.js +0 -3
- package/dist/web/assets/text-wrap-DLtVgSnU.js +0 -1
- package/dist/web/assets/tool-cards-I71v1w5Z.js +0 -9
- package/dist/web/assets/treemap-KZPCXAKY-BBrhTPZk.js +0 -1
- package/dist/web/assets/use-coarse-long-press-XrJ4Upuv.js +0 -1
- package/dist/web/assets/use-inline-blame-CRUwd6FF.js +0 -8
- package/dist/web/assets/use-monaco-theme-qzMbRfCW.js +0 -1
- package/dist/web/assets/use-remote-desktop-display-choice-0zDkCmsK.js +0 -1
- package/dist/web/assets/video-preview-Mlgl7hGr.js +0 -1
- package/dist/web/assets/ws-auth-DI1E6Fe7.js +0 -1
- package/dist/web/assets/x-DlnNFF2t.js +0 -1
- package/dist/web/monacoeditorwork/css.worker.bundle.js +0 -54268
- package/dist/web/monacoeditorwork/editor.worker.bundle.js +0 -14316
- package/dist/web/monacoeditorwork/html.worker.bundle.js +0 -30452
- package/dist/web/monacoeditorwork/json.worker.bundle.js +0 -22095
- package/dist/web/monacoeditorwork/ts.worker.bundle.js +0 -225957
- package/src/web/components/explorer/file-icon-map.ts +0 -69
- /package/dist/web/assets/{abap-BIHt2d9F.js → abap-tkptwpsK.js} +0 -0
- /package/dist/web/assets/{actionscript-3-rbCNRHFj.js → actionscript-3-Di9TMGwg.js} +0 -0
- /package/dist/web/assets/{ada-CN94LQTJ.js → ada-CB9F079D.js} +0 -0
- /package/dist/web/assets/{andromeeda-BsmcoXuQ.js → andromeeda-Dcl8jpb7.js} +0 -0
- /package/dist/web/assets/{apache-pRQmqcVZ.js → apache-D0Nk0qsH.js} +0 -0
- /package/dist/web/assets/{apex-CNEumC1X.js → apex-mQIoWncD.js} +0 -0
- /package/dist/web/assets/{api-client-DKvkxuDr.js → api-client-bfB7cXRM.js} +0 -0
- /package/dist/web/assets/{applescript-DjEVsS-3.js → applescript-C6ljbcsI.js} +0 -0
- /package/dist/web/assets/{apply-theme-Abd1TNqE.js → apply-theme-BwIMNXyX.js} +0 -0
- /package/dist/web/assets/{ara-DbhZRlTL.js → ara-WFqRPGPe.js} +0 -0
- /package/dist/web/assets/{asciidoc-BsfbAXIK.js → asciidoc-bNd8w4nf.js} +0 -0
- /package/dist/web/assets/{asm-Vw5NMXjI.js → asm-BQ1_F580.js} +0 -0
- /package/dist/web/assets/{aurora-x-CoahU6sR.js → aurora-x-Ciqs_Dbu.js} +0 -0
- /package/dist/web/assets/{awk-ChKjCxHz.js → awk-GCR-6KZV.js} +0 -0
- /package/dist/web/assets/{ayu-dark-By9RKxTf.js → ayu-dark-DxJXuj99.js} +0 -0
- /package/dist/web/assets/{ayu-light-CEsgeLON.js → ayu-light-jvSyJWDV.js} +0 -0
- /package/dist/web/assets/{ayu-mirage-CYrtwSLW.js → ayu-mirage-Cg3BPO6H.js} +0 -0
- /package/dist/web/assets/{ballerina-CCSVz22W.js → ballerina-BPz4CrX6.js} +0 -0
- /package/dist/web/assets/{bat-DU4--CMj.js → bat-CSTs2hIG.js} +0 -0
- /package/dist/web/assets/{beancount-DF_tlRlF.js → beancount-DMateAZX.js} +0 -0
- /package/dist/web/assets/{berry-CZTnatvO.js → berry-9lXg0GRM.js} +0 -0
- /package/dist/web/assets/{bibtex-BSpXy8jk.js → bibtex-DIbqmvFg.js} +0 -0
- /package/dist/web/assets/{bicep-yv1Ydq5Z.js → bicep-02WGsoJ8.js} +0 -0
- /package/dist/web/assets/{bird2-Db7Z7SMN.js → bird2-BY0tbu3k.js} +0 -0
- /package/dist/web/assets/{c-C3ivhwA4.js → c-jMBX_9Je.js} +0 -0
- /package/dist/web/assets/{c3-N4mKyst9.js → c3-B8JVbNjW.js} +0 -0
- /package/dist/web/assets/{cadence-BYK8tFFk.js → cadence-DUIf1tvL.js} +0 -0
- /package/dist/web/assets/{can-open-in-ppm-DU5MH6XF.js → can-open-in-ppm-DGEc0s4P.js} +0 -0
- /package/dist/web/assets/{catppuccin-frappe-BK9Tv2XG.js → catppuccin-frappe-FhUCVxex.js} +0 -0
- /package/dist/web/assets/{catppuccin-latte-De4mVCp3.js → catppuccin-latte-CzfrtmgL.js} +0 -0
- /package/dist/web/assets/{catppuccin-macchiato-Bxt_D7cs.js → catppuccin-macchiato-6xL0lOtj.js} +0 -0
- /package/dist/web/assets/{catppuccin-mocha-Dz2o8gN7.js → catppuccin-mocha-D39-xS3P.js} +0 -0
- /package/dist/web/assets/{clarity-BJdh0Pw-.js → clarity-D8TeGvoT.js} +0 -0
- /package/dist/web/assets/{clojure-DG-FYGzn.js → clojure-Dx_acSX7.js} +0 -0
- /package/dist/web/assets/{cmake-D1imEXan.js → cmake-CyeYPq8o.js} +0 -0
- /package/dist/web/assets/{codeowners-YpylTFB5.js → codeowners-DrTI0lmI.js} +0 -0
- /package/dist/web/assets/{codeql-ajDEPgqi.js → codeql-CPkFxVW-.js} +0 -0
- /package/dist/web/assets/{common-lisp-C2sCrd-m.js → common-lisp-B0k-3LTj.js} +0 -0
- /package/dist/web/assets/{coq-BqybyDc9.js → coq-uygpo7to.js} +0 -0
- /package/dist/web/assets/{createLucideIcon-D6fVXe3s.js → createLucideIcon-DoiEKeJ_.js} +0 -0
- /package/dist/web/assets/{csharp-nKCEiujy.js → csharp-DKUYGfSp.js} +0 -0
- /package/dist/web/assets/{css-CJSp2CsD.js → css-DoOUp7v4.js} +0 -0
- /package/dist/web/assets/{csv-Nh9vQwQm.js → csv-B3YE13gi.js} +0 -0
- /package/dist/web/assets/{csv-parser-iow1WWML.js → csv-parser-DXePqmXe.js} +0 -0
- /package/dist/web/assets/{cue-Ch79RPsU.js → cue-DViO2wvn.js} +0 -0
- /package/dist/web/assets/{cypher-CgiOQ6hs.js → cypher-4BMCIW5N.js} +0 -0
- /package/dist/web/assets/{d-CmBcySpH.js → d-BT_sTHas.js} +0 -0
- /package/dist/web/assets/{dark-plus-COLEX2ui.js → dark-plus-DVVXu-1N.js} +0 -0
- /package/dist/web/assets/{dart-BTAArMcJ.js → dart-DHz6f6_6.js} +0 -0
- /package/dist/web/assets/{data-grid-types-tNj9zuRV.js → data-grid-types-OgUxMLdQ.js} +0 -0
- /package/dist/web/assets/{dax-BbZzRY9i.js → dax-ChYCjweK.js} +0 -0
- /package/dist/web/assets/{desktop-OmQvU3-J.js → desktop-D6Lt4p04.js} +0 -0
- /package/dist/web/assets/{diff-BEPnb9Fb.js → diff-D8TDe4hP.js} +0 -0
- /package/dist/web/assets/{dist-BiqPfYiP.js → dist-CrBOCtCW.js} +0 -0
- /package/dist/web/assets/{dist-BDpuZ376.js → dist-DOTlFQJA.js} +0 -0
- /package/dist/web/assets/{docker-Cg17HgTD.js → docker-Bsp0YbPx.js} +0 -0
- /package/dist/web/assets/{dotenv-DEMIaY7V.js → dotenv-B_7giSY_.js} +0 -0
- /package/dist/web/assets/{dracula-BkCFq8SO.js → dracula-TrQL2iB5.js} +0 -0
- /package/dist/web/assets/{dracula-soft-Cjp6-ltF.js → dracula-soft-n2XOlgh-.js} +0 -0
- /package/dist/web/assets/{dream-maker-Ce7Y_UKj.js → dream-maker-CdIEdhpT.js} +0 -0
- /package/dist/web/assets/{emacs-lisp-BjpyfTbN.js → emacs-lisp-CSbixs6u.js} +0 -0
- /package/dist/web/assets/{everforest-dark-9r4okw1s.js → everforest-dark-BuZahZYp.js} +0 -0
- /package/dist/web/assets/{everforest-light-GCQTZ3Ju.js → everforest-light-DPH53z5H.js} +0 -0
- /package/dist/web/assets/{fennel-ITjY5Z6u.js → fennel-B1-K_hlJ.js} +0 -0
- /package/dist/web/assets/{fish-DP2uEzyg.js → fish-Cy12Dbua.js} +0 -0
- /package/dist/web/assets/{fluent-irzaP1f6.js → fluent-B_82ys8E.js} +0 -0
- /package/dist/web/assets/{format-bytes-B9Dbme9a.js → format-bytes-D5sBgIqU.js} +0 -0
- /package/dist/web/assets/{fortran-free-form-BAPoainr.js → fortran-free-form-BRQdNzZF.js} +0 -0
- /package/dist/web/assets/{gdscript-DJ098V1z.js → gdscript-XBDmLUm9.js} +0 -0
- /package/dist/web/assets/{gdshader-DS2Jfy-K.js → gdshader-DhVfB3u4.js} +0 -0
- /package/dist/web/assets/{genie-CqfOaFFx.js → genie-X3K29Y49.js} +0 -0
- /package/dist/web/assets/{gherkin-CoZ2ucDH.js → gherkin-DKIx-6cX.js} +0 -0
- /package/dist/web/assets/{github-dark-BNLgnSO9.js → github-dark-Bf7zdp5s.js} +0 -0
- /package/dist/web/assets/{github-dark-default-CYlSggwi.js → github-dark-default-DqsBBV11.js} +0 -0
- /package/dist/web/assets/{github-dark-dimmed-DumUysDk.js → github-dark-dimmed-X2gqRz6w.js} +0 -0
- /package/dist/web/assets/{github-dark-high-contrast-TKrcDJ2I.js → github-dark-high-contrast-Z7tvbGX4.js} +0 -0
- /package/dist/web/assets/{github-light-DVENFHLJ.js → github-light-BKxt-7zZ.js} +0 -0
- /package/dist/web/assets/{github-light-default-DtN8AGcE.js → github-light-default-B0liF4d4.js} +0 -0
- /package/dist/web/assets/{github-light-high-contrast-NSyF37x4.js → github-light-high-contrast-F4encJwr.js} +0 -0
- /package/dist/web/assets/{gleam-hp4NMSb5.js → gleam-Pz2bHgBB.js} +0 -0
- /package/dist/web/assets/{gn-Dptw2PEu.js → gn-CgmdNsPU.js} +0 -0
- /package/dist/web/assets/{gnuplot-9juRzjwv.js → gnuplot-qLNF5yZ9.js} +0 -0
- /package/dist/web/assets/{go-D-QLCda0.js → go-CSDUNhE7.js} +0 -0
- /package/dist/web/assets/{groovy-DHKNy6Eh.js → groovy-B3NEnOHF.js} +0 -0
- /package/dist/web/assets/{gruvbox-dark-hard-BFD6aQdB.js → gruvbox-dark-hard-DcoftiUX.js} +0 -0
- /package/dist/web/assets/{gruvbox-dark-medium-D5llYBNp.js → gruvbox-dark-medium-D1wVSuD8.js} +0 -0
- /package/dist/web/assets/{gruvbox-dark-soft-DOztQmNR.js → gruvbox-dark-soft-DWpunymH.js} +0 -0
- /package/dist/web/assets/{gruvbox-light-hard-BFGD-8Pd.js → gruvbox-light-hard-rHMvyUdS.js} +0 -0
- /package/dist/web/assets/{gruvbox-light-medium-DzoyXgT7.js → gruvbox-light-medium-3O2KiXO7.js} +0 -0
- /package/dist/web/assets/{gruvbox-light-soft-B1Ix2zLN.js → gruvbox-light-soft-lNlXJPwH.js} +0 -0
- /package/dist/web/assets/{haskell-BnrJ0k7G.js → haskell-aaG3aC0h.js} +0 -0
- /package/dist/web/assets/{haxe-DwShHT_-.js → haxe-CPcHhUDd.js} +0 -0
- /package/dist/web/assets/{hcl-VOjEibVB.js → hcl-CMQNlR_4.js} +0 -0
- /package/dist/web/assets/{hjson-BHEn7pNn.js → hjson-DeuklPFj.js} +0 -0
- /package/dist/web/assets/{hlsl-CrvxlGii.js → hlsl-BI3hlsaM.js} +0 -0
- /package/dist/web/assets/{horizon-D3T-P0u6.js → horizon-C7-gOcjs.js} +0 -0
- /package/dist/web/assets/{horizon-bright-vifGsEdk.js → horizon-bright-Cxt9bRW7.js} +0 -0
- /package/dist/web/assets/{houston-IrOgT7r4.js → houston-DbF2G7iD.js} +0 -0
- /package/dist/web/assets/{hy-5eSgTJ8G.js → hy-DRG6Hs2I.js} +0 -0
- /package/dist/web/assets/{image-gallery-COea0nSk.js → image-gallery-CObzTisL.js} +0 -0
- /package/dist/web/assets/{imba-Dp0I4DVl.js → imba-CxKv_2TW.js} +0 -0
- /package/dist/web/assets/{ini-CHDKad9O.js → ini-BiHsyCdO.js} +0 -0
- /package/dist/web/assets/{java-YLv7IDJ1.js → java-D3RZzgDB.js} +0 -0
- /package/dist/web/assets/{javascript-jr4kIdgl.js → javascript-4FmSqG-T.js} +0 -0
- /package/dist/web/assets/{json-EJWSOZfp.js → json-CjB236_E.js} +0 -0
- /package/dist/web/assets/{json5-D6f_uNwJ.js → json5-bkfO-Rco.js} +0 -0
- /package/dist/web/assets/{jsonc-DrHCdmos.js → jsonc-BwaTeLyv.js} +0 -0
- /package/dist/web/assets/{jsonl-Cwc3cXEL.js → jsonl-CfxNSwGd.js} +0 -0
- /package/dist/web/assets/{jsonnet-BwZfaIFT.js → jsonnet-CQETCYrp.js} +0 -0
- /package/dist/web/assets/{jssm-BpEmg_MT.js → jssm-D5o3Zzdz.js} +0 -0
- /package/dist/web/assets/{jsx-DBGPwcr4.js → jsx-BAMILPLo.js} +0 -0
- /package/dist/web/assets/{kanagawa-dragon-DRfVaGIX.js → kanagawa-dragon-BhGVxu3R.js} +0 -0
- /package/dist/web/assets/{kanagawa-lotus-CjOlny0Q.js → kanagawa-lotus-FH4Y59ro.js} +0 -0
- /package/dist/web/assets/{kanagawa-wave-DvdM88a4.js → kanagawa-wave-eilvP9MB.js} +0 -0
- /package/dist/web/assets/{kdl-DSo3PvM0.js → kdl-BQ-yvXUK.js} +0 -0
- /package/dist/web/assets/{kotlin-BV8TwCGu.js → kotlin-BuCx0-VT.js} +0 -0
- /package/dist/web/assets/{kusto-DCo1Fdmm.js → kusto-DAN_n_Cy.js} +0 -0
- /package/dist/web/assets/{laserwave-DPX9FvD9.js → laserwave-Cq2BlxrT.js} +0 -0
- /package/dist/web/assets/{lean-Cya8dqZu.js → lean-Dhq7uXKw.js} +0 -0
- /package/dist/web/assets/{less-CJUPgkIs.js → less-CxaMQb8j.js} +0 -0
- /package/dist/web/assets/{lib-DUBAP_Gd.js → lib-BVwmtv2i.js} +0 -0
- /package/dist/web/assets/{libesm-CcPYXCKp.js → libesm-DdtEjhIi.js} +0 -0
- /package/dist/web/assets/{light-plus-BXXrlFJH.js → light-plus-B4sMAend.js} +0 -0
- /package/dist/web/assets/{llvm-CUbQanZr.js → llvm-DQ6-B_6Y.js} +0 -0
- /package/dist/web/assets/{log-B3fFlSMd.js → log-Bb_vqvu7.js} +0 -0
- /package/dist/web/assets/{logo-ucAyw6zf.js → logo-BzfYv3A_.js} +0 -0
- /package/dist/web/assets/{luau-C4l6TSTB.js → luau-BnAeNR77.js} +0 -0
- /package/dist/web/assets/{make-CDtGIVc7.js → make-B6IFuxpC.js} +0 -0
- /package/dist/web/assets/{markdown-CH1zKu2p.js → markdown-Z0xi77Fn.js} +0 -0
- /package/dist/web/assets/{material-theme-CEuGVTmh.js → material-theme-1scy1SYn.js} +0 -0
- /package/dist/web/assets/{material-theme-darker-CUZ3MoIr.js → material-theme-darker-G-JykXQP.js} +0 -0
- /package/dist/web/assets/{material-theme-lighter-DxAqJSid.js → material-theme-lighter-BtKkCMVq.js} +0 -0
- /package/dist/web/assets/{material-theme-ocean-BSvvHJp6.js → material-theme-ocean-irrDC89L.js} +0 -0
- /package/dist/web/assets/{material-theme-palenight-QVOl50_m.js → material-theme-palenight-Eq5_K4LM.js} +0 -0
- /package/dist/web/assets/{matlab-CZLQLwUp.js → matlab-BE3oCXZC.js} +0 -0
- /package/dist/web/assets/{mdx-DO4NJsOo.js → mdx-DYiuFTGw.js} +0 -0
- /package/dist/web/assets/{mermaid-CIwzg1uO.js → mermaid-DVlaEvtw.js} +0 -0
- /package/dist/web/assets/{min-dark-BdIgslXy.js → min-dark-DSkeTpQa.js} +0 -0
- /package/dist/web/assets/{min-light-DyU-T1r2.js → min-light-CFv2Q0uF.js} +0 -0
- /package/dist/web/assets/{mipsasm-DRad-Klm.js → mipsasm-CiAFuZQ2.js} +0 -0
- /package/dist/web/assets/{mojo-DXp5LDOc.js → mojo-ARshcaSQ.js} +0 -0
- /package/dist/web/assets/{monokai-BiKX3qby.js → monokai-CPTV-SOg.js} +0 -0
- /package/dist/web/assets/{moonbit-BOUoLF5r.js → moonbit-D57B0dZr.js} +0 -0
- /package/dist/web/assets/{move-Dlk64FWK.js → move-qgy3G_o9.js} +0 -0
- /package/dist/web/assets/{narrat-B-qd2Lh0.js → narrat-CZ3rC-oc.js} +0 -0
- /package/dist/web/assets/{nextflow-groovy-iAMYas0F.js → nextflow-groovy-BxxIOcI4.js} +0 -0
- /package/dist/web/assets/{night-owl-3YNqjftR.js → night-owl-B1ryGCda.js} +0 -0
- /package/dist/web/assets/{night-owl-light-GIncHb5w.js → night-owl-light-BZvNnvMF.js} +0 -0
- /package/dist/web/assets/{nix-xjlEb3uw.js → nix-BVBQi8yv.js} +0 -0
- /package/dist/web/assets/{nord-C8tvWx7P.js → nord-3NXw613h.js} +0 -0
- /package/dist/web/assets/{nushell-BqBb4pU6.js → nushell-BMOLRalb.js} +0 -0
- /package/dist/web/assets/{objective-c-Bk6s0Cn5.js → objective-c-AxruEUgh.js} +0 -0
- /package/dist/web/assets/{objective-cpp-DGTVWQ3V.js → objective-cpp-cFT0qRsD.js} +0 -0
- /package/dist/web/assets/{ocaml-D6wPQ4kw.js → ocaml-_8JH6O8J.js} +0 -0
- /package/dist/web/assets/{odin-C9mw2xRN.js → odin-nwYvR0O6.js} +0 -0
- /package/dist/web/assets/{one-dark-pro-SMBlneFb.js → one-dark-pro-C1LaYJaH.js} +0 -0
- /package/dist/web/assets/{one-light-C9JMU1Cx.js → one-light-B7rMc__c.js} +0 -0
- /package/dist/web/assets/{openscad-C0I9CtuA.js → openscad-Cwes8bKO.js} +0 -0
- /package/dist/web/assets/{pascal-D0z4DJnY.js → pascal-DMt-6tdZ.js} +0 -0
- /package/dist/web/assets/{pkl-CITYNGVz.js → pkl-QBTyYQmB.js} +0 -0
- /package/dist/web/assets/{plastic-Bf0T6rmg.js → plastic-BTSUp8Fk.js} +0 -0
- /package/dist/web/assets/{plsql-Chr907pu.js → plsql-DQv3IFXP.js} +0 -0
- /package/dist/web/assets/{po-07U75CYV.js → po-CNwZx4tW.js} +0 -0
- /package/dist/web/assets/{poimandres-B0T4qwXY.js → poimandres-8Os7Qequ.js} +0 -0
- /package/dist/web/assets/{polar-BvNJMMV5.js → polar-b4yK8oD8.js} +0 -0
- /package/dist/web/assets/{portal-container-context-Bqn516X4.js → portal-container-context-BarKmT4S.js} +0 -0
- /package/dist/web/assets/{postcss-BSdf-zzo.js → postcss-sFctwpxx.js} +0 -0
- /package/dist/web/assets/{powerquery-B2Ad_HK8.js → powerquery-Cg_WrtuN.js} +0 -0
- /package/dist/web/assets/{powershell-DO5WY2v2.js → powershell-C7Ifz95h.js} +0 -0
- /package/dist/web/assets/{prisma-BfaRPYzs.js → prisma-Z52HUJzQ.js} +0 -0
- /package/dist/web/assets/{prolog-Cz0Nue9e.js → prolog-DLqW-zR1.js} +0 -0
- /package/dist/web/assets/{proto-FVleUZJO.js → proto-BOIzxCCJ.js} +0 -0
- /package/dist/web/assets/{puppet-BEX5o7hE.js → puppet-De7TjZIf.js} +0 -0
- /package/dist/web/assets/{purescript-BZX6Kw4j.js → purescript-R76ou1WT.js} +0 -0
- /package/dist/web/assets/{python-CO89UIxE.js → python-Dprm0tNP.js} +0 -0
- /package/dist/web/assets/{qmldir-DH526DWB.js → qmldir-Clp_jpNw.js} +0 -0
- /package/dist/web/assets/{qss-wp8im4Iz.js → qss-eQPYYzSo.js} +0 -0
- /package/dist/web/assets/{r-F9n--bvq.js → r-CCcRHIf5.js} +0 -0
- /package/dist/web/assets/{racket-BQvbOE5D.js → racket-CzE472yp.js} +0 -0
- /package/dist/web/assets/{raku-B0iWSynj.js → raku-DQwXrTSi.js} +0 -0
- /package/dist/web/assets/{react-Bcm1Oab0.js → react-Bghu0NUO.js} +0 -0
- /package/dist/web/assets/{red-Cm00r9eI.js → red-KCS6wyop.js} +0 -0
- /package/dist/web/assets/{reg-CBuhna22.js → reg-CcrAddUh.js} +0 -0
- /package/dist/web/assets/{regexp-C9j1_6oU.js → regexp-DDbud-Ri.js} +0 -0
- /package/dist/web/assets/{rel-BYzlBhbq.js → rel-99GDgaHp.js} +0 -0
- /package/dist/web/assets/{resolve-theme-Dm8ehbOv.js → resolve-theme-CW2niGV2.js} +0 -0
- /package/dist/web/assets/{riscv-CQQP0Ro9.js → riscv-Dm2eNv0R.js} +0 -0
- /package/dist/web/assets/{ron-j1ON9YzM.js → ron-CzFt0ygH.js} +0 -0
- /package/dist/web/assets/{rose-pine-Cbri3jon.js → rose-pine-Ck6lCrCP.js} +0 -0
- /package/dist/web/assets/{rose-pine-dawn-BMuvKrGo.js → rose-pine-dawn-vtALRJNj.js} +0 -0
- /package/dist/web/assets/{rose-pine-moon-4biZzaYD.js → rose-pine-moon-DPto8qXw.js} +0 -0
- /package/dist/web/assets/{rosmsg-CXx22rtz.js → rosmsg-NtS6429H.js} +0 -0
- /package/dist/web/assets/{rust-D28cFIhL.js → rust-BjIXvF9h.js} +0 -0
- /package/dist/web/assets/{sass-DtNw4V28.js → sass-CQ23wf5E.js} +0 -0
- /package/dist/web/assets/{scala-hv69_YQC.js → scala-LfKLM143.js} +0 -0
- /package/dist/web/assets/{scheme-Dtp9B_ng.js → scheme-D3SLBXlF.js} +0 -0
- /package/dist/web/assets/{sdbl-DEwEngAE.js → sdbl-ODRd2rGN.js} +0 -0
- /package/dist/web/assets/{shellscript-CCOF9tox.js → shellscript-3KB1G_oA.js} +0 -0
- /package/dist/web/assets/{slack-dark-DT0E0ABt.js → slack-dark-DTtyWmIy.js} +0 -0
- /package/dist/web/assets/{slack-ochin-DHHiQnxo.js → slack-ochin-Bu0PApk3.js} +0 -0
- /package/dist/web/assets/{smalltalk-BF_I35xJ.js → smalltalk-haMT-Sbe.js} +0 -0
- /package/dist/web/assets/{snazzy-light-Cv7tIZo9.js → snazzy-light-DXJzefE9.js} +0 -0
- /package/dist/web/assets/{solarized-dark-wZ5YPCys.js → solarized-dark-B6LyYa18.js} +0 -0
- /package/dist/web/assets/{solarized-light-DGDOr1AS.js → solarized-light-QLADebkv.js} +0 -0
- /package/dist/web/assets/{solidity-BJknuPqJ.js → solidity-mzfq1aDc.js} +0 -0
- /package/dist/web/assets/{splunk-B1ClO_KU.js → splunk-CyH4RWBp.js} +0 -0
- /package/dist/web/assets/{sql-CXZ66NtF.js → sql-CWVlT5D3.js} +0 -0
- /package/dist/web/assets/{ssh-config-kgM67Sf6.js → ssh-config-DNvQJ1Qx.js} +0 -0
- /package/dist/web/assets/{stylus-RcVaInR-.js → stylus-ByQQdtmf.js} +0 -0
- /package/dist/web/assets/{swift-Cm0fh2lX.js → swift-D1cpY4ow.js} +0 -0
- /package/dist/web/assets/{synthwave-84-CwLiazxr.js → synthwave-84-BDF_-QiW.js} +0 -0
- /package/dist/web/assets/{system-verilog-CzYaDVLH.js → system-verilog-BYrkMydC.js} +0 -0
- /package/dist/web/assets/{systemd-DbSagfLw.js → systemd-CQm3zyK0.js} +0 -0
- /package/dist/web/assets/{talonscript-BCFnWejL.js → talonscript-DMW5CzE1.js} +0 -0
- /package/dist/web/assets/{tasl-BUdqtEe1.js → tasl-BhFzMCr2.js} +0 -0
- /package/dist/web/assets/{tcl-CR_lTV9N.js → tcl-D7VEAF-9.js} +0 -0
- /package/dist/web/assets/{terraform-Bqsha-xe.js → terraform-DdT5A0Vy.js} +0 -0
- /package/dist/web/assets/{tokyo-night-Cnuo6JB6.js → tokyo-night-WGLMM6Q9.js} +0 -0
- /package/dist/web/assets/{toml-CLFdhT22.js → toml-CZ7ipXHZ.js} +0 -0
- /package/dist/web/assets/{tsv-Dw3tLrZN.js → tsv-B1zVvoTr.js} +0 -0
- /package/dist/web/assets/{tsx-B8k1sFqw.js → tsx-D4HwRUBq.js} +0 -0
- /package/dist/web/assets/{turtle-BMKMfTrj.js → turtle-B4r8KEJH.js} +0 -0
- /package/dist/web/assets/{typescript-D38LfGSl.js → typescript-BnHhxMtp.js} +0 -0
- /package/dist/web/assets/{typespec-EbgGJHV_.js → typespec-DP2q46GT.js} +0 -0
- /package/dist/web/assets/{typst-CQXV2SzX.js → typst-DFsD_yaD.js} +0 -0
- /package/dist/web/assets/{use-is-mobile-Dypg-2ZO.js → use-is-mobile-BQ9Bv5Ga.js} +0 -0
- /package/dist/web/assets/{use-visual-viewport-Bj3QHRkF.js → use-visual-viewport-CbwnktSG.js} +0 -0
- /package/dist/web/assets/{utils-CwNUra6_.js → utils-Bmf_8h7Y.js} +0 -0
- /package/dist/web/assets/{v-Ci1jObJJ.js → v-Bji8hSVT.js} +0 -0
- /package/dist/web/assets/{vala-C_NdfqrY.js → vala-D3TIgGmU.js} +0 -0
- /package/dist/web/assets/{vb-K_r_h_s8.js → vb-DvcxFS2q.js} +0 -0
- /package/dist/web/assets/{vendor-xterm-BtjgHRUe.js → vendor-xterm-BqPDsE9b.js} +0 -0
- /package/dist/web/assets/{verilog-DQPYLsZI.js → verilog-Dy7cF35d.js} +0 -0
- /package/dist/web/assets/{vesper-BrmzEV8s.js → vesper-BzjwUv9J.js} +0 -0
- /package/dist/web/assets/{vhdl-CjxQGaH2.js → vhdl-DuFnFNmW.js} +0 -0
- /package/dist/web/assets/{viml-CTKJNQH1.js → viml-yAPgKlbz.js} +0 -0
- /package/dist/web/assets/{vitesse-black-i-H_3p1i.js → vitesse-black-oSSQdyIZ.js} +0 -0
- /package/dist/web/assets/{vitesse-dark-DZC_Yy3_.js → vitesse-dark-BZxwPihB.js} +0 -0
- /package/dist/web/assets/{vitesse-light-rf4kpmk8.js → vitesse-light-uIigycvt.js} +0 -0
- /package/dist/web/assets/{vyper-BLnOw4Nf.js → vyper-CX3NAxm5.js} +0 -0
- /package/dist/web/assets/{wasm-DbLMmiW0.js → wasm-6mEOOvVa.js} +0 -0
- /package/dist/web/assets/{wasm-CWeHvGNG.js → wasm-D9td37qO.js} +0 -0
- /package/dist/web/assets/{wenyan-CLwdRuzd.js → wenyan-lwNIHgk6.js} +0 -0
- /package/dist/web/assets/{wgsl-CBTDMVJR.js → wgsl-DQAzCfog.js} +0 -0
- /package/dist/web/assets/{wikitext-CQHrF84e.js → wikitext-DTXmt5NE.js} +0 -0
- /package/dist/web/assets/{wit-8xdbdipU.js → wit-Bdw_7WDH.js} +0 -0
- /package/dist/web/assets/{wolfram-tFwx32a_.js → wolfram-DqyHDZ07.js} +0 -0
- /package/dist/web/assets/{yaml-BP8N91fU.js → yaml-CPXhdByd.js} +0 -0
- /package/dist/web/assets/{zenscript-B10Pj7JT.js → zenscript-6s_i5zek.js} +0 -0
- /package/dist/web/assets/{zig-BZKcTtrK.js → zig-B2htezJ_.js} +0 -0
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED by `bun scripts/gen-file-icons.ts` — do not edit.
|
|
3
|
+
*
|
|
4
|
+
* Which glyph of the vscode-icons theme (MIT, vscode-icons-team) a name gets.
|
|
5
|
+
* The glyphs themselves are in `src/web/styles/file-icons.generated.css`, one
|
|
6
|
+
* class each: 500 KB of full-colour SVG has no business in a JS bundle, and as
|
|
7
|
+
* CSS the browser decodes each icon once however many rows use it — which is
|
|
8
|
+
* also how VS Code draws its own file icon themes.
|
|
9
|
+
*
|
|
10
|
+
* Every table has a null prototype. These are looked up by a *filename*, and an
|
|
11
|
+
* object literal answers for `constructor`, `toString`, `valueOf`,
|
|
12
|
+
* `hasOwnProperty` and `__proto__` with something inherited and truthy — so
|
|
13
|
+
* `fileIconName("constructor")` returned the `Object` function and
|
|
14
|
+
* `fileIconName("__proto__")` returned `Object.prototype`, each interpolated
|
|
15
|
+
* into a class as `vsi-function Object() { [native code] }`. A file really can
|
|
16
|
+
* be called `constructor`; a directory really can be called `toString`.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/** Lowercased extension → icon class suffix. */
|
|
20
|
+
export const EXTENSION_ICONS: Record<string, string> = {
|
|
21
|
+
"7z": "file-type-zip",
|
|
22
|
+
"apk": "file-type-binary",
|
|
23
|
+
"astro": "file-type-astro",
|
|
24
|
+
"avi": "file-type-video",
|
|
25
|
+
"avif": "file-type-avif",
|
|
26
|
+
"babelrc": "file-type-json",
|
|
27
|
+
"bash": "file-type-shell",
|
|
28
|
+
"bat": "file-type-bat",
|
|
29
|
+
"bin": "file-type-binary",
|
|
30
|
+
"bmp": "file-type-image",
|
|
31
|
+
"bz2": "file-type-zip",
|
|
32
|
+
"c": "file-type-c",
|
|
33
|
+
"cc": "file-type-cpp",
|
|
34
|
+
"cfg": "file-type-ini",
|
|
35
|
+
"cjs": "file-type-js",
|
|
36
|
+
"clj": "file-type-clojure",
|
|
37
|
+
"cmake": "file-type-cmake",
|
|
38
|
+
"cmd": "file-type-bat",
|
|
39
|
+
"conf": "file-type-ini",
|
|
40
|
+
"cpp": "file-type-cpp",
|
|
41
|
+
"cs": "file-type-csharp",
|
|
42
|
+
"csproj": "file-type-csproj",
|
|
43
|
+
"css": "file-type-css",
|
|
44
|
+
"css.map": "file-type-cssmap",
|
|
45
|
+
"csv": "file-type-text",
|
|
46
|
+
"cts": "file-type-typescript",
|
|
47
|
+
"d.ts": "file-type-typescriptdef",
|
|
48
|
+
"dart": "file-type-dartlang",
|
|
49
|
+
"db": "file-type-db",
|
|
50
|
+
"deb": "file-type-binary",
|
|
51
|
+
"diff": "file-type-diff",
|
|
52
|
+
"dll": "file-type-binary",
|
|
53
|
+
"doc": "file-type-word",
|
|
54
|
+
"dockerfile": "file-type-docker",
|
|
55
|
+
"docx": "file-type-word",
|
|
56
|
+
"drawio.png": "file-type-drawio",
|
|
57
|
+
"drawio.svg": "file-type-drawio",
|
|
58
|
+
"e2e-spec.ts": "file-type-testts",
|
|
59
|
+
"e2e-spec.tsx": "file-type-testts",
|
|
60
|
+
"e2e-test.ts": "file-type-testts",
|
|
61
|
+
"e2e-test.tsx": "file-type-testts",
|
|
62
|
+
"ejs": "file-type-ejs",
|
|
63
|
+
"ejs.t": "file-type-hygen",
|
|
64
|
+
"env": "file-type-config",
|
|
65
|
+
"eot": "file-type-font",
|
|
66
|
+
"ex": "file-type-elixir",
|
|
67
|
+
"exe": "file-type-binary",
|
|
68
|
+
"exs": "file-type-elixir",
|
|
69
|
+
"fish": "file-type-shell",
|
|
70
|
+
"flac": "file-type-audio",
|
|
71
|
+
"format.ps1xml": "file-type-powershell-format",
|
|
72
|
+
"gemspec": "file-type-ruby",
|
|
73
|
+
"gif": "file-type-image",
|
|
74
|
+
"go": "file-type-go",
|
|
75
|
+
"gql": "file-type-graphql",
|
|
76
|
+
"gradle": "file-type-gradle",
|
|
77
|
+
"graphql": "file-type-graphql",
|
|
78
|
+
"groovy": "file-type-groovy",
|
|
79
|
+
"gz": "file-type-zip",
|
|
80
|
+
"h": "file-type-cheader",
|
|
81
|
+
"handlebars": "file-type-handlebars",
|
|
82
|
+
"hbs": "file-type-handlebars",
|
|
83
|
+
"hpp": "file-type-cppheader",
|
|
84
|
+
"htm": "file-type-html",
|
|
85
|
+
"html": "file-type-html",
|
|
86
|
+
"http": "file-type-http",
|
|
87
|
+
"ico": "file-type-image",
|
|
88
|
+
"ini": "file-type-ini",
|
|
89
|
+
"ipynb": "file-type-jupyter",
|
|
90
|
+
"jar": "file-type-jar",
|
|
91
|
+
"java": "file-type-java",
|
|
92
|
+
"jpeg": "file-type-image",
|
|
93
|
+
"jpg": "file-type-image",
|
|
94
|
+
"js": "file-type-js",
|
|
95
|
+
"js.flow": "file-type-flow",
|
|
96
|
+
"js.map": "file-type-jsmap",
|
|
97
|
+
"js.snap": "file-type-jest-snapshot",
|
|
98
|
+
"json": "file-type-json",
|
|
99
|
+
"json5": "file-type-json5",
|
|
100
|
+
"jsonc": "file-type-json",
|
|
101
|
+
"jsonl": "file-type-json",
|
|
102
|
+
"jsx": "file-type-reactjs",
|
|
103
|
+
"jsx.snap": "file-type-jest-snapshot",
|
|
104
|
+
"kt": "file-type-kotlin",
|
|
105
|
+
"kts": "file-type-kotlin",
|
|
106
|
+
"layout.htm": "file-type-layout",
|
|
107
|
+
"layout.html": "file-type-layout",
|
|
108
|
+
"less": "file-type-less",
|
|
109
|
+
"log": "file-type-log",
|
|
110
|
+
"lua": "file-type-lua",
|
|
111
|
+
"m4a": "file-type-audio",
|
|
112
|
+
"map": "file-type-map",
|
|
113
|
+
"marko.js": "file-type-markojs",
|
|
114
|
+
"md": "file-type-markdown",
|
|
115
|
+
"mdx": "file-type-mdx",
|
|
116
|
+
"mjs": "file-type-js",
|
|
117
|
+
"mkv": "file-type-video",
|
|
118
|
+
"mov": "file-type-video",
|
|
119
|
+
"mp3": "file-type-audio",
|
|
120
|
+
"mp4": "file-type-video",
|
|
121
|
+
"mts": "file-type-typescript",
|
|
122
|
+
"nix": "file-type-nix",
|
|
123
|
+
"npmrc": "file-type-npm",
|
|
124
|
+
"nvmrc": "file-type-node",
|
|
125
|
+
"ogg": "file-type-audio",
|
|
126
|
+
"otf": "file-type-font",
|
|
127
|
+
"pdf": "file-type-pdf2",
|
|
128
|
+
"php": "file-type-php",
|
|
129
|
+
"pl": "file-type-perl",
|
|
130
|
+
"plist": "file-type-config",
|
|
131
|
+
"png": "file-type-image",
|
|
132
|
+
"prisma": "file-type-prisma",
|
|
133
|
+
"properties": "file-type-ini",
|
|
134
|
+
"proto": "file-type-protobuf",
|
|
135
|
+
"ps1": "file-type-powershell",
|
|
136
|
+
"py": "file-type-python",
|
|
137
|
+
"pyi": "file-type-python",
|
|
138
|
+
"r": "file-type-r",
|
|
139
|
+
"rake": "file-type-rake",
|
|
140
|
+
"rar": "file-type-zip",
|
|
141
|
+
"rb": "file-type-ruby",
|
|
142
|
+
"rest": "file-type-rest",
|
|
143
|
+
"rpm": "file-type-binary",
|
|
144
|
+
"rs": "file-type-rust",
|
|
145
|
+
"sass": "file-type-sass",
|
|
146
|
+
"scala": "file-type-scala",
|
|
147
|
+
"scss": "file-type-scss",
|
|
148
|
+
"sh": "file-type-shell",
|
|
149
|
+
"sln": "file-type-sln",
|
|
150
|
+
"so": "file-type-binary",
|
|
151
|
+
"spec.js": "file-type-testjs",
|
|
152
|
+
"spec.jsx": "file-type-testjs",
|
|
153
|
+
"spec.mjs": "file-type-testjs",
|
|
154
|
+
"spec.ts": "file-type-testts",
|
|
155
|
+
"spec.tsx": "file-type-testts",
|
|
156
|
+
"sql": "file-type-sql",
|
|
157
|
+
"sqlite": "file-type-sqlite",
|
|
158
|
+
"sqlite3": "file-type-sqlite",
|
|
159
|
+
"stories.js": "file-type-storybook",
|
|
160
|
+
"stories.jsx": "file-type-storybook",
|
|
161
|
+
"stories.mdx": "file-type-storybook",
|
|
162
|
+
"stories.ts": "file-type-storybook",
|
|
163
|
+
"stories.tsx": "file-type-storybook",
|
|
164
|
+
"story.js": "file-type-storybook",
|
|
165
|
+
"story.jsx": "file-type-storybook",
|
|
166
|
+
"story.mdx": "file-type-storybook",
|
|
167
|
+
"story.ts": "file-type-storybook",
|
|
168
|
+
"story.tsx": "file-type-storybook",
|
|
169
|
+
"styl": "file-type-stylus",
|
|
170
|
+
"svelte": "file-type-svelte",
|
|
171
|
+
"svg": "file-type-svg",
|
|
172
|
+
"swift": "file-type-swift",
|
|
173
|
+
"tar": "file-type-zip",
|
|
174
|
+
"test.js": "file-type-testjs",
|
|
175
|
+
"test.jsx": "file-type-testjs",
|
|
176
|
+
"test.mjs": "file-type-testjs",
|
|
177
|
+
"test.ts": "file-type-testts",
|
|
178
|
+
"test.tsx": "file-type-testts",
|
|
179
|
+
"tex": "file-type-tex",
|
|
180
|
+
"tf": "file-type-terraform",
|
|
181
|
+
"tfvars": "file-type-terraform",
|
|
182
|
+
"tgz": "file-type-zip",
|
|
183
|
+
"tif": "file-type-image",
|
|
184
|
+
"tiff": "file-type-image",
|
|
185
|
+
"toml": "file-type-toml",
|
|
186
|
+
"ts": "file-type-typescript",
|
|
187
|
+
"ts.snap": "file-type-jest-snapshot",
|
|
188
|
+
"tsv": "file-type-text",
|
|
189
|
+
"tsx": "file-type-reactts",
|
|
190
|
+
"tsx.snap": "file-type-jest-snapshot",
|
|
191
|
+
"ttf": "file-type-font",
|
|
192
|
+
"txt": "file-type-text",
|
|
193
|
+
"types.ps1xml": "file-type-powershell-types",
|
|
194
|
+
"vb": "file-type-vb",
|
|
195
|
+
"vbs": "file-type-vb",
|
|
196
|
+
"vue": "file-type-vue",
|
|
197
|
+
"wasm": "file-type-wasm",
|
|
198
|
+
"wav": "file-type-audio",
|
|
199
|
+
"webm": "file-type-video",
|
|
200
|
+
"webmanifest": "file-type-json",
|
|
201
|
+
"webp": "file-type-webp",
|
|
202
|
+
"woff": "file-type-font",
|
|
203
|
+
"woff2": "file-type-font",
|
|
204
|
+
"xls": "file-type-excel",
|
|
205
|
+
"xlsx": "file-type-excel",
|
|
206
|
+
"xml": "file-type-xml",
|
|
207
|
+
"xz": "file-type-zip",
|
|
208
|
+
"yaml": "file-type-yaml",
|
|
209
|
+
"yml": "file-type-yaml",
|
|
210
|
+
"zip": "file-type-zip",
|
|
211
|
+
"zsh": "file-type-shell",
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
/** Lowercased whole filename → icon; checked before the extension. */
|
|
215
|
+
export const FILENAME_ICONS: Record<string, string> = {
|
|
216
|
+
".browserslistrc": "file-type-browserslist",
|
|
217
|
+
".dockerignore": "file-type-docker",
|
|
218
|
+
".env.development": "file-type-dotenv",
|
|
219
|
+
".env.example": "file-type-dotenv",
|
|
220
|
+
".env.local": "file-type-dotenv",
|
|
221
|
+
".env.production": "file-type-dotenv",
|
|
222
|
+
".env.test": "file-type-dotenv",
|
|
223
|
+
".eslintrc": "file-type-eslint",
|
|
224
|
+
".eslintrc.js": "file-type-eslint",
|
|
225
|
+
".eslintrc.json": "file-type-eslint",
|
|
226
|
+
".gitattributes": "file-type-git",
|
|
227
|
+
".gitignore": "file-type-git",
|
|
228
|
+
".gitkeep": "file-type-git",
|
|
229
|
+
".gitlab-ci.yml": "file-type-gitlab",
|
|
230
|
+
".gitmodules": "file-type-git",
|
|
231
|
+
".mailmap": "file-type-git",
|
|
232
|
+
".npmignore": "file-type-npm",
|
|
233
|
+
".prettierignore": "file-type-prettier",
|
|
234
|
+
".prettierrc": "file-type-prettier",
|
|
235
|
+
".prettierrc.json": "file-type-prettier",
|
|
236
|
+
".yarnrc": "file-type-yarn",
|
|
237
|
+
"angular.json": "file-type-angular",
|
|
238
|
+
"app.json": "file-type-expo",
|
|
239
|
+
"appveyor.yml": "file-type-appveyor",
|
|
240
|
+
"astro.config.mjs": "file-type-astroconfig",
|
|
241
|
+
"azure-pipelines.yml": "file-type-azurepipelines",
|
|
242
|
+
"build": "file-type-bazel",
|
|
243
|
+
"build.gradle.kts": "file-type-gradle",
|
|
244
|
+
"bun.lock": "file-type-bun",
|
|
245
|
+
"bun.lockb": "file-type-bun",
|
|
246
|
+
"bunfig.toml": "file-type-bunfig",
|
|
247
|
+
"cargo.lock": "file-type-rust",
|
|
248
|
+
"compose.yaml": "file-type-docker",
|
|
249
|
+
"docker-compose.yaml": "file-type-docker",
|
|
250
|
+
"docker-compose.yml": "file-type-docker",
|
|
251
|
+
"dockerfile": "file-type-docker",
|
|
252
|
+
"favicon.ico": "file-type-favicon",
|
|
253
|
+
"firebase.json": "file-type-firebasehosting",
|
|
254
|
+
"gatsby-config.js": "file-type-gatsby",
|
|
255
|
+
"gemfile": "file-type-ruby",
|
|
256
|
+
"gemfile.lock": "file-type-ruby",
|
|
257
|
+
"go.mod": "file-type-go-package",
|
|
258
|
+
"go.sum": "file-type-go-package",
|
|
259
|
+
"go.work": "file-type-go-package",
|
|
260
|
+
"gradlew": "file-type-gradle",
|
|
261
|
+
"jenkinsfile": "file-type-groovy",
|
|
262
|
+
"jest.config.js": "file-type-jest",
|
|
263
|
+
"jest.config.ts": "file-type-jest",
|
|
264
|
+
"jsconfig.json": "file-type-jsconfig",
|
|
265
|
+
"justfile": "file-type-just",
|
|
266
|
+
"karma.conf.js": "file-type-karma",
|
|
267
|
+
"meson.build": "file-type-meson",
|
|
268
|
+
"netlify.toml": "file-type-netlify",
|
|
269
|
+
"next.config.js": "file-type-next",
|
|
270
|
+
"nodemon.json": "file-type-nodemon",
|
|
271
|
+
"now.json": "file-type-zeit",
|
|
272
|
+
"nuxt.config.ts": "file-type-nuxt",
|
|
273
|
+
"package-lock.json": "file-type-npm",
|
|
274
|
+
"package.json": "file-type-npm",
|
|
275
|
+
"pipfile": "file-type-python",
|
|
276
|
+
"pipfile.lock": "file-type-python",
|
|
277
|
+
"pnpm-lock.yaml": "file-type-pnpm",
|
|
278
|
+
"poetry.lock": "file-type-poetry",
|
|
279
|
+
"pom.xml": "file-type-maven",
|
|
280
|
+
"procfile": "file-type-procfile",
|
|
281
|
+
"pytest.ini": "file-type-pytest",
|
|
282
|
+
"rakefile": "file-type-rake",
|
|
283
|
+
"robots.txt": "file-type-robots",
|
|
284
|
+
"rollup.config.js": "file-type-rollup",
|
|
285
|
+
"serverless.yml": "file-type-serverless",
|
|
286
|
+
"tailwind.config.js": "file-type-tailwind",
|
|
287
|
+
"tailwind.config.ts": "file-type-tailwind",
|
|
288
|
+
"tox.ini": "file-type-tox",
|
|
289
|
+
"tsconfig.json": "file-type-tsconfig",
|
|
290
|
+
"vagrantfile": "file-type-vagrant",
|
|
291
|
+
"vercel.json": "file-type-zeit",
|
|
292
|
+
"vite.config.js": "file-type-vite",
|
|
293
|
+
"vite.config.ts": "file-type-vite",
|
|
294
|
+
"vue.config.js": "file-type-vueconfig",
|
|
295
|
+
"webpack.config.js": "file-type-webpack",
|
|
296
|
+
"workspace": "file-type-bazel",
|
|
297
|
+
"yarn.lock": "file-type-yarn",
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
/** Lowercased folder name → icon. */
|
|
301
|
+
export const FOLDER_ICONS: Record<string, string> = {
|
|
302
|
+
".git": "folder-type-git",
|
|
303
|
+
".github": "folder-type-github",
|
|
304
|
+
".husky": "folder-type-husky",
|
|
305
|
+
".vscode": "folder-type-vscode",
|
|
306
|
+
"__tests__": "folder-type-test",
|
|
307
|
+
"android": "folder-type-android",
|
|
308
|
+
"api": "folder-type-api",
|
|
309
|
+
"app": "folder-type-app",
|
|
310
|
+
"assets": "folder-type-asset",
|
|
311
|
+
"bin": "folder-type-binary",
|
|
312
|
+
"build": "folder-type-dist",
|
|
313
|
+
"client": "folder-type-client",
|
|
314
|
+
"components": "folder-type-component",
|
|
315
|
+
"config": "folder-type-config",
|
|
316
|
+
"controllers": "folder-type-controller",
|
|
317
|
+
"coverage": "folder-type-coverage",
|
|
318
|
+
"database": "folder-type-db",
|
|
319
|
+
"db": "folder-type-db",
|
|
320
|
+
"dist": "folder-type-dist",
|
|
321
|
+
"docs": "folder-type-docs",
|
|
322
|
+
"e2e": "folder-type-e2e",
|
|
323
|
+
"fonts": "folder-type-light-fonts",
|
|
324
|
+
"helpers": "folder-type-helper",
|
|
325
|
+
"hooks": "folder-type-hook",
|
|
326
|
+
"i18n": "folder-type-locale",
|
|
327
|
+
"images": "folder-type-images",
|
|
328
|
+
"ios": "folder-type-ios",
|
|
329
|
+
"lib": "folder-type-library",
|
|
330
|
+
"locales": "folder-type-locale",
|
|
331
|
+
"logs": "folder-type-log",
|
|
332
|
+
"middleware": "folder-type-middleware",
|
|
333
|
+
"node_modules": "folder-type-light-node",
|
|
334
|
+
"packages": "folder-type-package",
|
|
335
|
+
"public": "folder-type-public",
|
|
336
|
+
"routes": "folder-type-route",
|
|
337
|
+
"scripts": "folder-type-script",
|
|
338
|
+
"services": "folder-type-services",
|
|
339
|
+
"src": "folder-type-src",
|
|
340
|
+
"temp": "folder-type-temp",
|
|
341
|
+
"test": "folder-type-test",
|
|
342
|
+
"tests": "folder-type-test",
|
|
343
|
+
"tmp": "folder-type-temp",
|
|
344
|
+
"utils": "folder-type-tools",
|
|
345
|
+
"views": "folder-type-view",
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/** Lowercased folder name → icon, for an expanded folder. */
|
|
349
|
+
export const FOLDER_OPEN_ICONS: Record<string, string> = {
|
|
350
|
+
".git": "folder-type-git-opened",
|
|
351
|
+
".github": "folder-type-github-opened",
|
|
352
|
+
".husky": "folder-type-husky-opened",
|
|
353
|
+
".vscode": "folder-type-vscode-opened",
|
|
354
|
+
"__tests__": "folder-type-test-opened",
|
|
355
|
+
"android": "folder-type-android-opened",
|
|
356
|
+
"api": "folder-type-api-opened",
|
|
357
|
+
"app": "folder-type-app-opened",
|
|
358
|
+
"assets": "folder-type-asset-opened",
|
|
359
|
+
"bin": "folder-type-binary-opened",
|
|
360
|
+
"build": "folder-type-dist-opened",
|
|
361
|
+
"client": "folder-type-client-opened",
|
|
362
|
+
"components": "folder-type-component-opened",
|
|
363
|
+
"config": "folder-type-config-opened",
|
|
364
|
+
"controllers": "folder-type-controller-opened",
|
|
365
|
+
"coverage": "folder-type-coverage-opened",
|
|
366
|
+
"database": "folder-type-db-opened",
|
|
367
|
+
"db": "folder-type-db-opened",
|
|
368
|
+
"dist": "folder-type-dist-opened",
|
|
369
|
+
"docs": "folder-type-docs-opened",
|
|
370
|
+
"e2e": "folder-type-e2e-opened",
|
|
371
|
+
"fonts": "folder-type-light-fonts-opened",
|
|
372
|
+
"helpers": "folder-type-helper-opened",
|
|
373
|
+
"hooks": "folder-type-hook-opened",
|
|
374
|
+
"i18n": "folder-type-locale-opened",
|
|
375
|
+
"images": "folder-type-images-opened",
|
|
376
|
+
"ios": "folder-type-ios-opened",
|
|
377
|
+
"lib": "folder-type-library-opened",
|
|
378
|
+
"locales": "folder-type-locale-opened",
|
|
379
|
+
"logs": "folder-type-log-opened",
|
|
380
|
+
"middleware": "folder-type-middleware-opened",
|
|
381
|
+
"node_modules": "folder-type-light-node-opened",
|
|
382
|
+
"packages": "folder-type-package-opened",
|
|
383
|
+
"public": "folder-type-public-opened",
|
|
384
|
+
"routes": "folder-type-route-opened",
|
|
385
|
+
"scripts": "folder-type-script-opened",
|
|
386
|
+
"services": "folder-type-services-opened",
|
|
387
|
+
"src": "folder-type-src-opened",
|
|
388
|
+
"temp": "folder-type-temp-opened",
|
|
389
|
+
"test": "folder-type-test-opened",
|
|
390
|
+
"tests": "folder-type-test-opened",
|
|
391
|
+
"tmp": "folder-type-temp-opened",
|
|
392
|
+
"utils": "folder-type-tools-opened",
|
|
393
|
+
"views": "folder-type-view-opened",
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
export const DEFAULT_FILE_ICON = "default-file";
|
|
397
|
+
export const DEFAULT_FOLDER_ICON = "default-folder";
|
|
398
|
+
export const DEFAULT_FOLDER_OPEN_ICON = "default-folder-opened";
|
|
399
|
+
|
|
400
|
+
/** Every icon this module can name, for the test that pairs the two files. */
|
|
401
|
+
export const ICON_NAMES: readonly string[] = ["default-file","default-folder","default-folder-opened","file-type-angular","file-type-appveyor","file-type-astro","file-type-astroconfig","file-type-audio","file-type-avif","file-type-azurepipelines","file-type-bat","file-type-bazel","file-type-binary","file-type-browserslist","file-type-bun","file-type-bunfig","file-type-c","file-type-cheader","file-type-clojure","file-type-cmake","file-type-config","file-type-cpp","file-type-cppheader","file-type-csharp","file-type-csproj","file-type-css","file-type-cssmap","file-type-dartlang","file-type-db","file-type-diff","file-type-docker","file-type-dotenv","file-type-drawio","file-type-ejs","file-type-elixir","file-type-eslint","file-type-excel","file-type-expo","file-type-favicon","file-type-firebasehosting","file-type-flow","file-type-font","file-type-gatsby","file-type-git","file-type-gitlab","file-type-go","file-type-go-package","file-type-gradle","file-type-graphql","file-type-groovy","file-type-handlebars","file-type-html","file-type-http","file-type-hygen","file-type-image","file-type-ini","file-type-jar","file-type-java","file-type-jest","file-type-jest-snapshot","file-type-js","file-type-jsconfig","file-type-jsmap","file-type-json","file-type-json5","file-type-jupyter","file-type-just","file-type-karma","file-type-kotlin","file-type-layout","file-type-less","file-type-log","file-type-lua","file-type-map","file-type-markdown","file-type-markojs","file-type-maven","file-type-mdx","file-type-meson","file-type-netlify","file-type-next","file-type-nix","file-type-node","file-type-nodemon","file-type-npm","file-type-nuxt","file-type-pdf2","file-type-perl","file-type-php","file-type-pnpm","file-type-poetry","file-type-powershell","file-type-powershell-format","file-type-powershell-types","file-type-prettier","file-type-prisma","file-type-procfile","file-type-protobuf","file-type-pytest","file-type-python","file-type-r","file-type-rake","file-type-reactjs","file-type-reactts","file-type-rest","file-type-robots","file-type-rollup","file-type-ruby","file-type-rust","file-type-sass","file-type-scala","file-type-scss","file-type-serverless","file-type-shell","file-type-sln","file-type-sql","file-type-sqlite","file-type-storybook","file-type-stylus","file-type-svelte","file-type-svg","file-type-swift","file-type-tailwind","file-type-terraform","file-type-testjs","file-type-testts","file-type-tex","file-type-text","file-type-toml","file-type-tox","file-type-tsconfig","file-type-typescript","file-type-typescriptdef","file-type-vagrant","file-type-vb","file-type-video","file-type-vite","file-type-vue","file-type-vueconfig","file-type-wasm","file-type-webp","file-type-webpack","file-type-word","file-type-xml","file-type-yaml","file-type-yarn","file-type-zeit","file-type-zip","folder-type-android","folder-type-android-opened","folder-type-api","folder-type-api-opened","folder-type-app","folder-type-app-opened","folder-type-asset","folder-type-asset-opened","folder-type-binary","folder-type-binary-opened","folder-type-client","folder-type-client-opened","folder-type-component","folder-type-component-opened","folder-type-config","folder-type-config-opened","folder-type-controller","folder-type-controller-opened","folder-type-coverage","folder-type-coverage-opened","folder-type-db","folder-type-db-opened","folder-type-dist","folder-type-dist-opened","folder-type-docs","folder-type-docs-opened","folder-type-e2e","folder-type-e2e-opened","folder-type-git","folder-type-git-opened","folder-type-github","folder-type-github-opened","folder-type-helper","folder-type-helper-opened","folder-type-hook","folder-type-hook-opened","folder-type-husky","folder-type-husky-opened","folder-type-images","folder-type-images-opened","folder-type-ios","folder-type-ios-opened","folder-type-library","folder-type-library-opened","folder-type-light-fonts","folder-type-light-fonts-opened","folder-type-light-node","folder-type-light-node-opened","folder-type-locale","folder-type-locale-opened","folder-type-log","folder-type-log-opened","folder-type-middleware","folder-type-middleware-opened","folder-type-package","folder-type-package-opened","folder-type-public","folder-type-public-opened","folder-type-route","folder-type-route-opened","folder-type-script","folder-type-script-opened","folder-type-services","folder-type-services-opened","folder-type-src","folder-type-src-opened","folder-type-temp","folder-type-temp-opened","folder-type-test","folder-type-test-opened","folder-type-tools","folder-type-tools-opened","folder-type-view","folder-type-view-opened","folder-type-vscode","folder-type-vscode-opened"];
|
|
402
|
+
|
|
403
|
+
// After the literals rather than `Object.create(null)` around each, so the
|
|
404
|
+
// tables above stay readable as data and `Record<string, string>` still
|
|
405
|
+
// describes them.
|
|
406
|
+
for (const table of [EXTENSION_ICONS, FILENAME_ICONS, FOLDER_ICONS, FOLDER_OPEN_ICONS]) {
|
|
407
|
+
Object.setPrototypeOf(table, null);
|
|
408
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one file icon in the app: the vscode-icons theme, for every surface that
|
|
3
|
+
* lists a file.
|
|
4
|
+
*
|
|
5
|
+
* What it replaces is worth stating, because it looked deliberate: the tree used
|
|
6
|
+
* a single lucide `FileCode` glyph tinted a different colour per language, so
|
|
7
|
+
* twenty languages were the same shape in twenty shades and the eye had nothing
|
|
8
|
+
* to catch. A file icon's whole job is to be recognised before the name is read.
|
|
9
|
+
*
|
|
10
|
+
* Drawn as a `background-image` on a span rather than an inline `<svg>`, for
|
|
11
|
+
* three reasons. These glyphs are full-colour artwork, so there is no
|
|
12
|
+
* `currentColor` to inherit and nothing to gain from having the paths in the
|
|
13
|
+
* DOM. A tree of 500 rows would otherwise carry a few thousand extra path
|
|
14
|
+
* nodes for React to reconcile on every expand. And a row is draggable — an
|
|
15
|
+
* inner `<img>` supplies its own drag image and has to be talked out of it.
|
|
16
|
+
*
|
|
17
|
+
* Resolution order is the extension theme's own: whole filename, then double
|
|
18
|
+
* extension (`.spec.ts`), then extension. `fileIconElement` is for the slots
|
|
19
|
+
* that want a component rather than an element — the tab bar and the palette
|
|
20
|
+
* both take an `icon: ElementType`.
|
|
21
|
+
*/
|
|
22
|
+
import type { FC } from "react";
|
|
23
|
+
// `?url` gives the built stylesheet's address without putting it on the module
|
|
24
|
+
// graph: nothing is fetched until the `<link>` below is appended.
|
|
25
|
+
import ICON_CSS_URL from "@/styles/file-icons.generated.css?url";
|
|
26
|
+
import { basename, cn } from "@/lib/utils";
|
|
27
|
+
import {
|
|
28
|
+
DEFAULT_FILE_ICON,
|
|
29
|
+
DEFAULT_FOLDER_ICON,
|
|
30
|
+
DEFAULT_FOLDER_OPEN_ICON,
|
|
31
|
+
EXTENSION_ICONS,
|
|
32
|
+
FILENAME_ICONS,
|
|
33
|
+
FOLDER_ICONS,
|
|
34
|
+
FOLDER_OPEN_ICONS,
|
|
35
|
+
} from "./file-icons.generated";
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The artwork is fetched when something first asks for an icon, not before.
|
|
39
|
+
*
|
|
40
|
+
* Imported at module scope it was not lazy in any useful sense: this module is
|
|
41
|
+
* reached from `tab-type-icons.ts`, which the tab bar, the mobile nav and the
|
|
42
|
+
* dock header all import eagerly, so Vite hoisted the stylesheet into a
|
|
43
|
+
* `<link rel="stylesheet">` in `index.html` — render-blocking on every load,
|
|
44
|
+
* measured at 499,375 bytes raw / 127,333 gzip / 79,836 brotli. The app's
|
|
45
|
+
* entire other stylesheet is 25,956 gzip, so the icons were 4.9x everything
|
|
46
|
+
* else put together, in front of the first paint.
|
|
47
|
+
*
|
|
48
|
+
* So it is fetched at runtime by a `<link>` this function appends. The cost is
|
|
49
|
+
* honest and visible: an icon that renders before the stylesheet lands is a
|
|
50
|
+
* correctly-sized blank span for one round trip, so icons pop in a beat after
|
|
51
|
+
* the text. That is the trade — paint the app now and the artwork shortly,
|
|
52
|
+
* rather than neither until half a megabyte arrives — and a session that never
|
|
53
|
+
* lists a file never fetches it at all.
|
|
54
|
+
*
|
|
55
|
+
* A `<link>` rather than `import()`, which is what this used to be: a dynamic
|
|
56
|
+
* import that fails dispatches `vite:preloadError`, and `chunk-recovery.ts`
|
|
57
|
+
* answers that by purging the asset caches and reloading the page — a path that
|
|
58
|
+
* deliberately steps around the unsaved-work guard, because a missing *code*
|
|
59
|
+
* chunk means the app cannot run. A missing icon sheet means the icons are
|
|
60
|
+
* unstyled. A tunnel flap while someone scrolls a file tree must not reload the
|
|
61
|
+
* app out from under them, and `.catch()` would not have helped: the event is
|
|
62
|
+
* dispatched whether or not the promise is handled.
|
|
63
|
+
*
|
|
64
|
+
* Called from render rather than an effect because the point is to start the
|
|
65
|
+
* fetch at the earliest moment anything wants an icon; it is idempotent and
|
|
66
|
+
* touches no state, so a double invocation under StrictMode costs nothing.
|
|
67
|
+
*/
|
|
68
|
+
let cssPending = false;
|
|
69
|
+
let cssAttempts = 0;
|
|
70
|
+
function requestIconCss(): void {
|
|
71
|
+
// Two attempts, not one: a tab left open through a network blip would
|
|
72
|
+
// otherwise show unstyled icons for the rest of its life. Not unlimited,
|
|
73
|
+
// because every icon that mounts comes through here.
|
|
74
|
+
if (cssPending || cssAttempts >= 2 || typeof document === "undefined") return;
|
|
75
|
+
cssPending = true;
|
|
76
|
+
cssAttempts++;
|
|
77
|
+
const link = document.createElement("link");
|
|
78
|
+
link.rel = "stylesheet";
|
|
79
|
+
link.href = ICON_CSS_URL;
|
|
80
|
+
link.addEventListener("error", () => {
|
|
81
|
+
link.remove();
|
|
82
|
+
cssPending = false;
|
|
83
|
+
});
|
|
84
|
+
document.head.appendChild(link);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** The icon name for a file, by name alone. */
|
|
88
|
+
export function fileIconName(path: string): string {
|
|
89
|
+
const name = basename(path).toLowerCase();
|
|
90
|
+
const byName = FILENAME_ICONS[name];
|
|
91
|
+
if (byName) return byName;
|
|
92
|
+
|
|
93
|
+
const parts = name.split(".");
|
|
94
|
+
if (parts.length > 2) {
|
|
95
|
+
// `.spec.ts`, `.d.ts`, `.config.js` — the theme gives these their own
|
|
96
|
+
// glyphs, and matching only the last extension would lose them.
|
|
97
|
+
const double = `${parts[parts.length - 2]}.${parts[parts.length - 1]}`;
|
|
98
|
+
const byDouble = EXTENSION_ICONS[double];
|
|
99
|
+
if (byDouble) return byDouble;
|
|
100
|
+
}
|
|
101
|
+
if (parts.length > 1) {
|
|
102
|
+
const byExt = EXTENSION_ICONS[parts[parts.length - 1]!];
|
|
103
|
+
if (byExt) return byExt;
|
|
104
|
+
}
|
|
105
|
+
// A dotfile with no extension (`.gitignore` handled above, `.foorc` not) has
|
|
106
|
+
// its name as its only extension.
|
|
107
|
+
if (name.startsWith(".")) {
|
|
108
|
+
const byDot = EXTENSION_ICONS[name.slice(1)];
|
|
109
|
+
if (byDot) return byDot;
|
|
110
|
+
}
|
|
111
|
+
return DEFAULT_FILE_ICON;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** The icon name for a folder, open or closed. */
|
|
115
|
+
export function folderIconName(path: string, open = false): string {
|
|
116
|
+
const name = basename(path).toLowerCase();
|
|
117
|
+
const table = open ? FOLDER_OPEN_ICONS : FOLDER_ICONS;
|
|
118
|
+
return table[name] ?? (open ? DEFAULT_FOLDER_OPEN_ICON : DEFAULT_FOLDER_ICON);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type FileIconKind = "file" | "directory";
|
|
122
|
+
|
|
123
|
+
export interface FileIconProps {
|
|
124
|
+
/** File or folder name; a whole path is fine, only the last segment is read. */
|
|
125
|
+
name: string;
|
|
126
|
+
kind?: FileIconKind;
|
|
127
|
+
/** Directories only — the expanded glyph. */
|
|
128
|
+
open?: boolean;
|
|
129
|
+
className?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* `size-4` by default, which is the size the trees and tab strips use. Pass a
|
|
134
|
+
* `size-*` class to override — the span has no intrinsic size, so a caller that
|
|
135
|
+
* passes none gets nothing visible.
|
|
136
|
+
*
|
|
137
|
+
* `inline-block` is load-bearing: `width`/`height` do not apply to a
|
|
138
|
+
* non-replaced inline element, so a bare `<span class="size-4">` measures 0×0
|
|
139
|
+
* wherever its parent is not a flex container. The trees are flex rows and
|
|
140
|
+
* blockify it for free; the tab strip wraps its icon in a `<span class="relative">`
|
|
141
|
+
* for the notification dot, and there the icon simply did not render — the one
|
|
142
|
+
* place an inline `<svg>` would have worked without saying so.
|
|
143
|
+
*/
|
|
144
|
+
function iconClass(icon: string, className?: string): string {
|
|
145
|
+
return cn(
|
|
146
|
+
"inline-block shrink-0 size-4 bg-center bg-no-repeat bg-contain",
|
|
147
|
+
`vsi-${icon}`,
|
|
148
|
+
className,
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export function FileIcon({ name, kind = "file", open, className }: FileIconProps) {
|
|
153
|
+
requestIconCss();
|
|
154
|
+
const icon = kind === "directory" ? folderIconName(name, open) : fileIconName(name);
|
|
155
|
+
return <span aria-hidden="true" className={iconClass(icon, className)} />;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The same icon as a zero-prop component, for the `icon: ElementType` slots the
|
|
160
|
+
* tab bar and the command palette already have.
|
|
161
|
+
*
|
|
162
|
+
* Cached because React treats a *component type* as identity: a fresh arrow
|
|
163
|
+
* function per render would unmount and remount the node on every keystroke in
|
|
164
|
+
* the palette's filter.
|
|
165
|
+
*
|
|
166
|
+
* Keyed by the resolved glyph rather than by the path that resolved to it. A
|
|
167
|
+
* path key is wrong twice over: `src/a/index.ts` and `src/b/index.ts` are two
|
|
168
|
+
* entries rendering the same span, and a repository indexed by the palette has
|
|
169
|
+
* as many keys as it has files — which is why the old key needed an eviction
|
|
170
|
+
* rule, and why that rule was `clear()`, remounting every icon on screen at the
|
|
171
|
+
* 501st distinct path. There are 224 glyphs, so keying on those makes the cache
|
|
172
|
+
* bounded by construction and eviction unnecessary.
|
|
173
|
+
*/
|
|
174
|
+
const elementCache = new Map<string, FC<{ className?: string }>>();
|
|
175
|
+
|
|
176
|
+
export function fileIconElement(
|
|
177
|
+
name: string,
|
|
178
|
+
kind: FileIconKind = "file",
|
|
179
|
+
): FC<{ className?: string }> {
|
|
180
|
+
// The palette asks for hundreds of these before any of them renders, so the
|
|
181
|
+
// fetch starts here too rather than waiting for the first mount.
|
|
182
|
+
requestIconCss();
|
|
183
|
+
const icon = kind === "directory" ? folderIconName(name) : fileIconName(name);
|
|
184
|
+
const cached = elementCache.get(icon);
|
|
185
|
+
if (cached) return cached;
|
|
186
|
+
const Bound: FC<{ className?: string }> = ({ className }) => (
|
|
187
|
+
<span aria-hidden="true" className={iconClass(icon, className)} />
|
|
188
|
+
);
|
|
189
|
+
Bound.displayName = `FileIcon(${icon})`;
|
|
190
|
+
elementCache.set(icon, Bound);
|
|
191
|
+
return Bound;
|
|
192
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one component every Fluent-backed product icon is built from.
|
|
3
|
+
*
|
|
4
|
+
* It has to be prop-compatible with lucide, because the swap is meant to be an
|
|
5
|
+
* import-path change and nothing else: 233 files pass `className`, a handful
|
|
6
|
+
* pass `strokeWidth`, and several hand the component itself to a slot typed
|
|
7
|
+
* `ElementType`. So `size` is honoured, `strokeWidth` is accepted and dropped
|
|
8
|
+
* (these glyphs are filled outlines — there is no stroke to weight), and the
|
|
9
|
+
* ref goes through, since a few icons sit inside a Radix trigger.
|
|
10
|
+
*
|
|
11
|
+
* The glyphs are 20×20 where lucide's are 24×24. That is not a detail to
|
|
12
|
+
* normalise away: Fluent's outlines are drawn *for* a 20px box, and scaling one
|
|
13
|
+
* into a 24px viewBox is what makes an icon set look slightly soft next to its
|
|
14
|
+
* own labels. The viewBox stays 20 and the rendered size is whatever the caller
|
|
15
|
+
* asks for — which in this app is a Tailwind `size-*` class almost everywhere,
|
|
16
|
+
* and those win over the width/height attributes because they are CSS.
|
|
17
|
+
*/
|
|
18
|
+
import { forwardRef, type SVGProps } from "react";
|
|
19
|
+
import { ICON_VIEW_BOX } from "./icons.generated";
|
|
20
|
+
|
|
21
|
+
export interface ProductIconProps extends Omit<SVGProps<SVGSVGElement>, "ref"> {
|
|
22
|
+
/** Pixel size, for the few call sites that pass no `size-*` class. */
|
|
23
|
+
size?: number | string;
|
|
24
|
+
/** Accepted for lucide compatibility and ignored: these glyphs are filled. */
|
|
25
|
+
strokeWidth?: number | string;
|
|
26
|
+
absoluteStrokeWidth?: boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ProductIcon = ReturnType<typeof fluentIcon>;
|
|
30
|
+
|
|
31
|
+
export function fluentIcon(name: string, paths: readonly string[]) {
|
|
32
|
+
const Icon = forwardRef<SVGSVGElement, ProductIconProps>(function Icon(
|
|
33
|
+
{ size = 24, strokeWidth: _sw, absoluteStrokeWidth: _asw, ...rest },
|
|
34
|
+
ref,
|
|
35
|
+
) {
|
|
36
|
+
return (
|
|
37
|
+
<svg
|
|
38
|
+
ref={ref}
|
|
39
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
40
|
+
viewBox={ICON_VIEW_BOX}
|
|
41
|
+
width={size}
|
|
42
|
+
height={size}
|
|
43
|
+
fill="currentColor"
|
|
44
|
+
aria-hidden="true"
|
|
45
|
+
focusable="false"
|
|
46
|
+
// Which icon this is, readable from rendered markup and in devtools.
|
|
47
|
+
// lucide put the same thing in a *class* (`lucide lucide-circle-check`),
|
|
48
|
+
// which is why a test could assert a tool card was spinning by looking
|
|
49
|
+
// for `lucide-loader-circle`. An attribute keeps that possible without
|
|
50
|
+
// offering a class name for stylesheets to start depending on.
|
|
51
|
+
data-icon={name}
|
|
52
|
+
{...rest}
|
|
53
|
+
>
|
|
54
|
+
{paths.map((d) => (
|
|
55
|
+
<path key={d} d={d} />
|
|
56
|
+
))}
|
|
57
|
+
</svg>
|
|
58
|
+
);
|
|
59
|
+
});
|
|
60
|
+
Icon.displayName = name;
|
|
61
|
+
return Icon;
|
|
62
|
+
}
|