@alivault/pico 0.14.0 → 0.16.1
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/.output/public/_shell.html +19 -0
- package/.output/public/assets/PatchDiff-SN-mXa3p.js +343 -0
- package/.output/public/assets/{angular-html-BZNntD0J.js → angular-html-B9LEBPKs.js} +1 -1
- package/.output/public/assets/{angular-ts-SQQMYL2C.js → angular-ts-CD6u-Ij9.js} +1 -1
- package/.output/public/assets/{apl-D5V6uPDr.js → apl-VeDHIFIx.js} +1 -1
- package/.output/public/assets/app-shell-common-0xa28gDm.js +1 -0
- package/.output/public/assets/{astro-DeXKSaFP.js → astro-Dd8L1z6M.js} +1 -1
- package/.output/public/assets/{blade-Bu5re0Vg.js → blade-BNxrbiva.js} +1 -1
- package/.output/public/assets/{bsl-B1qbqNES.js → bsl-B0twaj2j.js} +1 -1
- package/.output/public/assets/{cairo-BDj8wWhy.js → cairo-DASKFAWI.js} +1 -1
- package/.output/public/assets/{cobol-nvZDS9LT.js → cobol-D_qN8j4K.js} +1 -1
- package/.output/public/assets/{coffee-BKLOTq4e.js → coffee-60nIQewd.js} +1 -1
- package/.output/public/assets/{cpp-D6g1DVNt.js → cpp-e1j1tDCV.js} +1 -1
- package/.output/public/assets/{crystal-DfoZI57w.js → crystal-brDfRjQ_.js} +1 -1
- package/.output/public/assets/{edge-DwocGnOF.js → edge-DadfRK3Q.js} +1 -1
- package/.output/public/assets/{elixir-Dtbfds1r.js → elixir-CsoHPmz3.js} +1 -1
- package/.output/public/assets/{elm-CpPtm471.js → elm-BLTa0sZG.js} +1 -1
- package/.output/public/assets/{erb--z3IM9Cb.js → erb-DIR2QRkp.js} +1 -1
- package/.output/public/assets/{erlang-Bc4hQuqa.js → erlang-DnbJbitJ.js} +1 -1
- package/.output/public/assets/{fortran-fixed-form-B02FOYI-.js → fortran-fixed-form-Bse4XUyD.js} +1 -1
- package/.output/public/assets/{fsharp-DhdR18vN.js → fsharp-Dy8OnZ0O.js} +1 -1
- package/.output/public/assets/{gdresource-DgnrMPIx.js → gdresource-BD_7yRHA.js} +1 -1
- package/.output/public/assets/{git-commit-DGJi7qBD.js → git-commit-CIMjlyHf.js} +1 -1
- package/.output/public/assets/{git-rebase-Ce47xoa6.js → git-rebase-DV2DyQK7.js} +1 -1
- package/.output/public/assets/{glimmer-js-C0BuzxQC.js → glimmer-js-DVG5pFvd.js} +1 -1
- package/.output/public/assets/{glimmer-ts-irOZ-cAQ.js → glimmer-ts-BeWaLARz.js} +1 -1
- package/.output/public/assets/{glsl-JAhLUe0P.js → glsl-BrOWUUEh.js} +1 -1
- package/.output/public/assets/{graphql-D2ba3BkR.js → graphql-B_3o81z5.js} +1 -1
- package/.output/public/assets/{hack-CgzUpY8l.js → hack-BW-0PxQy.js} +1 -1
- package/.output/public/assets/{haml-C-oIZcDo.js → haml-DnNXiHAO.js} +1 -1
- package/.output/public/assets/{handlebars-CbP-Mhzf.js → handlebars-CftcPtku.js} +1 -1
- package/.output/public/assets/{html-ddqpqPg0.js → html-D5IqfVuz.js} +1 -1
- package/.output/public/assets/{html-derivative-DWGxf_At.js → html-derivative-QNqmMkaY.js} +1 -1
- package/.output/public/assets/{http-Bg1nG1nG.js → http-Dd7eRKUa.js} +1 -1
- package/.output/public/assets/{hurl-zm47Pi1n.js → hurl-kBs5Ibg1.js} +1 -1
- package/.output/public/assets/{hxml-adC65L_J.js → hxml-CGx66ebi.js} +1 -1
- package/.output/public/assets/index-C-mxWGZ5.css +2 -0
- package/.output/public/assets/index-FOqZaR4L.js +48 -0
- package/.output/public/assets/{jinja-Bnj4awH5.js → jinja-BPoCSjyd.js} +1 -1
- package/.output/public/assets/{jison-CuCNs9Q3.js → jison-WHPVy3Jl.js} +1 -1
- package/.output/public/assets/{julia-DNYHzXlE.js → julia-BaKiQMPf.js} +1 -1
- package/.output/public/assets/{just-BlWkkmf2.js → just-BKMc7tVT.js} +1 -1
- package/.output/public/assets/{latex-DqPzjMIt.js → latex-Cczzu1HI.js} +1 -1
- package/.output/public/assets/{liquid-BURJK16h.js → liquid-DrJZrMEf.js} +1 -1
- package/.output/public/assets/{lua-31hdJClp.js → lua-CFIwCMnP.js} +1 -1
- package/.output/public/assets/{marko-C2ZcdSLh.js → marko-BreagErn.js} +1 -1
- package/.output/public/assets/{mdc-N1ii9pk5.js → mdc-CBcMHZUq.js} +1 -1
- package/.output/public/assets/{nextflow-JEyYUlIq.js → nextflow-CZbrTmS2.js} +1 -1
- package/.output/public/assets/{nginx-BuomO0W8.js → nginx-CMOi8dTH.js} +1 -1
- package/.output/public/assets/{nim-hKoEPsYL.js → nim-DbDZ9Wa-.js} +1 -1
- package/.output/public/assets/{perl-CAGVW6Ra.js → perl-DyRCGnKu.js} +1 -1
- package/.output/public/assets/{php-BycclmzS.js → php-Ciarv7b4.js} +1 -1
- package/.output/public/assets/plus-B1rJPgNv.js +1 -0
- package/.output/public/assets/preload-helper-Csz9R64u.js +5 -0
- package/.output/public/assets/{pug-4maJHz9G.js → pug-CVCqbfEm.js} +1 -1
- package/.output/public/assets/{qml-JLIQfzyb.js → qml-DechmdFA.js} +1 -1
- package/.output/public/assets/query-keys-C9jMaRnO.js +1 -0
- package/.output/public/assets/{razor-P8rbooCh.js → razor-bgzHke67.js} +1 -1
- package/.output/public/assets/right-sidebar-CWvXcZzC.js +1831 -0
- package/.output/public/assets/routes-CXlaorp4.js +23 -0
- package/.output/public/assets/{rst-C6GHyL-N.js → rst-Ce6_XwFd.js} +1 -1
- package/.output/public/assets/{ruby-Cl8PVkbY.js → ruby-BtLKlt8E.js} +1 -1
- package/.output/public/assets/{sas-CXoVwlZN.js → sas-Bco5tnse.js} +1 -1
- package/.output/public/assets/{scss-DNczJ95n.js → scss-KPCA05M8.js} +1 -1
- package/.output/public/assets/{shaderlab-DZ3Lsiak.js → shaderlab-uUHiM5Mm.js} +1 -1
- package/.output/public/assets/{shellsession-COm1V40U.js → shellsession-BnUZVYXU.js} +1 -1
- package/.output/public/assets/{soy-DwewhJ_3.js → soy-Dsrg4bVI.js} +1 -1
- package/.output/public/assets/{sparql-B9c85a_o.js → sparql-D5zsvcbT.js} +1 -1
- package/.output/public/assets/{stata-Bl--TAbZ.js → stata-BdK5CFUf.js} +1 -1
- package/.output/public/assets/{surrealql-BW79EE-U.js → surrealql-Blm5wp47.js} +1 -1
- package/.output/public/assets/{svelte-ziMErdPi.js → svelte-DZrj_gMz.js} +1 -1
- package/.output/public/assets/{templ-C_9I6ncv.js → templ-CJ7sDrtu.js} +1 -1
- package/.output/public/assets/terminal-panel-YGR6v-ZH.js +1 -0
- package/.output/public/assets/{tex-D8LVuLf5.js → tex-CvSRdXZA.js} +1 -1
- package/.output/public/assets/{ts-tags-DKuFCGsc.js → ts-tags-DgGFCSef.js} +1 -1
- package/.output/public/assets/{twig-Bs1kcsO6.js → twig-D8_PS89g.js} +1 -1
- package/.output/public/assets/{vue-Dnf0y5RU.js → vue-KvGEuYod.js} +1 -1
- package/.output/public/assets/{vue-html-CRtKS76J.js → vue-html-qAt9D-IF.js} +1 -1
- package/.output/public/assets/{vue-vine-BxjPqU7T.js → vue-vine-j1nOqxMu.js} +1 -1
- package/.output/public/assets/{xml-eU7M3iZJ.js → xml-BrFkMwfd.js} +1 -1
- package/.output/public/assets/{xsl-DSqe4nTO.js → xsl-OmCo2PyZ.js} +1 -1
- package/.output/public/index.html +19 -0
- package/README.md +171 -46
- package/bin/native-runtime.mjs +265 -0
- package/bin/pico.mjs +289 -222
- package/package.json +34 -31
- package/.output/nitro.json +0 -17
- package/.output/public/assets/index-DBVxXDtw.js +0 -54
- package/.output/public/assets/routes-yUxD2q-l.js +0 -2194
- package/.output/public/assets/styles-CUVz7jV9.css +0 -2
- package/.output/server/__23tanstack-start-plugin-adapters-y_fshQDY.mjs +0 -5
- package/.output/server/_chunks/ssr-renderer.mjs +0 -15
- package/.output/server/_libs/@base-ui/react+[...].mjs +0 -14512
- package/.output/server/_libs/@dnd-kit/core+[...].mjs +0 -2748
- package/.output/server/_libs/@pierre/diffs+[...].mjs +0 -19314
- package/.output/server/_libs/@pierre/trees+[...].mjs +0 -9236
- package/.output/server/_libs/@radix-ui/react-dialog+[...].mjs +0 -1789
- package/.output/server/_libs/@radix-ui/react-primitive+[...].mjs +0 -136
- package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +0 -196
- package/.output/server/_libs/@tanstack/hotkeys+[...].mjs +0 -1607
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +0 -13950
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +0 -90
- package/.output/server/_libs/bail.mjs +0 -13
- package/.output/server/_libs/character-entities.mjs +0 -2135
- package/.output/server/_libs/class-variance-authority+clsx.mjs +0 -69
- package/.output/server/_libs/cmdk.mjs +0 -473
- package/.output/server/_libs/crossws.mjs +0 -2929
- package/.output/server/_libs/decode-named-character-reference+[...].mjs +0 -19
- package/.output/server/_libs/devlop.mjs +0 -5
- package/.output/server/_libs/diff.mjs +0 -732
- package/.output/server/_libs/dnd-kit__accessibility.mjs +0 -46
- package/.output/server/_libs/dnd-kit__sortable.mjs +0 -400
- package/.output/server/_libs/entities.mjs +0 -372
- package/.output/server/_libs/escape-string-regexp.mjs +0 -7
- package/.output/server/_libs/estree-util-is-identifier-name.mjs +0 -20
- package/.output/server/_libs/extend.mjs +0 -75
- package/.output/server/_libs/h3+rou3+srvx.mjs +0 -1216
- package/.output/server/_libs/hast-util-from-parse5+[...].mjs +0 -741
- package/.output/server/_libs/hast-util-raw+[...].mjs +0 -7897
- package/.output/server/_libs/hast-util-sanitize.mjs +0 -780
- package/.output/server/_libs/hast-util-to-jsx-runtime+[...].mjs +0 -1165
- package/.output/server/_libs/hookable.mjs +0 -41
- package/.output/server/_libs/html-url-attributes.mjs +0 -44
- package/.output/server/_libs/is-plain-obj.mjs +0 -8
- package/.output/server/_libs/longest-streak.mjs +0 -29
- package/.output/server/_libs/lucide-react.mjs +0 -788
- package/.output/server/_libs/markdown-table.mjs +0 -289
- package/.output/server/_libs/mdast-util-find-and-replace.mjs +0 -198
- package/.output/server/_libs/mdast-util-from-markdown+[...].mjs +0 -8409
- package/.output/server/_libs/mdast-util-gfm+[...].mjs +0 -2062
- package/.output/server/_libs/mdast-util-to-hast+[...].mjs +0 -1771
- package/.output/server/_libs/micromark-extension-gfm+[...].mjs +0 -2234
- package/.output/server/_libs/next-themes.mjs +0 -124
- package/.output/server/_libs/pierre__theme.mjs +0 -10
- package/.output/server/_libs/radix-ui__primitive.mjs +0 -9
- package/.output/server/_libs/radix-ui__react-compose-refs.mjs +0 -30
- package/.output/server/_libs/radix-ui__react-context.mjs +0 -88
- package/.output/server/_libs/react-markdown+[...].mjs +0 -2316
- package/.output/server/_libs/rehype-raw.mjs +0 -37
- package/.output/server/_libs/rehype-sanitize.mjs +0 -27
- package/.output/server/_libs/remark-gfm.mjs +0 -34
- package/.output/server/_libs/shiki.mjs +0 -16
- package/.output/server/_libs/shikijs__langs.mjs +0 -1355
- package/.output/server/_libs/shikijs__themes.mjs +0 -262
- package/.output/server/_libs/sonner.mjs +0 -908
- package/.output/server/_libs/tailwind-merge.mjs +0 -1962
- package/.output/server/_libs/tanstack__history.mjs +0 -342
- package/.output/server/_libs/tanstack__pacer.mjs +0 -1111
- package/.output/server/_libs/tanstack__query-core.mjs +0 -2202
- package/.output/server/_libs/tanstack__react-hotkeys.mjs +0 -152
- package/.output/server/_libs/tanstack__react-query.mjs +0 -180
- package/.output/server/_libs/tanstack__react-store.mjs +0 -39
- package/.output/server/_libs/tanstack__router-core.mjs +0 -6
- package/.output/server/_libs/tanstack__store.mjs +0 -28
- package/.output/server/_libs/ufo.mjs +0 -64
- package/.output/server/_libs/unctx.mjs +0 -82
- package/.output/server/_libs/ungap__structured-clone.mjs +0 -197
- package/.output/server/_libs/vaul.mjs +0 -1250
- package/.output/server/_libs/xterm__addon-fit.mjs +0 -44
- package/.output/server/_libs/xterm__xterm.mjs +0 -10234
- package/.output/server/_libs/zod.mjs +0 -3341
- package/.output/server/_routes/api/terminal/[id]/ws.mjs +0 -8874
- package/.output/server/_runtime.mjs +0 -35
- package/.output/server/_ssr/router-CN4JMm2A.mjs +0 -9733
- package/.output/server/_ssr/routes-BsQ26pbY.mjs +0 -29306
- package/.output/server/_ssr/routes-DbjuMLFI.mjs +0 -3400
- package/.output/server/_ssr/ssr.mjs +0 -5176
- package/.output/server/_ssr/start-jIczsXlR.mjs +0 -4
- package/.output/server/_tanstack-start-manifest_v-Bs4g_j1_.mjs +0 -77
- package/.output/server/index.mjs +0 -2670
- package/.output/server/node_modules/node-pty/LICENSE +0 -69
- package/.output/server/node_modules/node-pty/README.md +0 -165
- package/.output/server/node_modules/node-pty/binding.gyp +0 -111
- package/.output/server/node_modules/node-pty/build/Makefile +0 -369
- package/.output/server/node_modules/node-pty/build/Release/pty.node +0 -0
- package/.output/server/node_modules/node-pty/build/binding.Makefile +0 -6
- package/.output/server/node_modules/node-pty/build/pty.target.mk +0 -168
- package/.output/server/node_modules/node-pty/deps/.editorconfig +0 -2
- package/.output/server/node_modules/node-pty/deps/winpty/.drone.yml +0 -17
- package/.output/server/node_modules/node-pty/deps/winpty/.gitattributes +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/LICENSE +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/Makefile +0 -166
- package/.output/server/node_modules/node-pty/deps/winpty/README.md +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
- package/.output/server/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
- package/.output/server/node_modules/node-pty/deps/winpty/configure +0 -167
- package/.output/server/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
- package/.output/server/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
- package/.output/server/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
- package/.output/server/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
- package/.output/server/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
- package/.output/server/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
- package/.output/server/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
- package/.output/server/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js +0 -16
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js +0 -47
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/index.js +0 -52
- package/.output/server/node_modules/node-pty/lib/index.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/interfaces.js +0 -7
- package/.output/server/node_modules/node-pty/lib/interfaces.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/shared/conout.js +0 -11
- package/.output/server/node_modules/node-pty/lib/shared/conout.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.js +0 -190
- package/.output/server/node_modules/node-pty/lib/terminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.test.js +0 -139
- package/.output/server/node_modules/node-pty/lib/terminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js +0 -28
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/types.js +0 -7
- package/.output/server/node_modules/node-pty/lib/types.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js +0 -346
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/utils.js +0 -39
- package/.output/server/node_modules/node-pty/lib/utils.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js +0 -125
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js +0 -320
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js +0 -199
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js +0 -22
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
- package/.output/server/node_modules/node-pty/package.json +0 -64
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
- package/.output/server/node_modules/node-pty/scripts/increment-version.js +0 -54
- package/.output/server/node_modules/node-pty/scripts/post-install.js +0 -80
- package/.output/server/node_modules/node-pty/scripts/prebuild.js +0 -34
- package/.output/server/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
- package/.output/server/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
- package/.output/server/node_modules/node-pty/src/eventEmitter2.ts +0 -48
- package/.output/server/node_modules/node-pty/src/index.ts +0 -52
- package/.output/server/node_modules/node-pty/src/interfaces.ts +0 -130
- package/.output/server/node_modules/node-pty/src/native.d.ts +0 -54
- package/.output/server/node_modules/node-pty/src/shared/conout.ts +0 -15
- package/.output/server/node_modules/node-pty/src/terminal.test.ts +0 -119
- package/.output/server/node_modules/node-pty/src/terminal.ts +0 -211
- package/.output/server/node_modules/node-pty/src/testUtils.test.ts +0 -23
- package/.output/server/node_modules/node-pty/src/tsconfig.json +0 -22
- package/.output/server/node_modules/node-pty/src/types.ts +0 -15
- package/.output/server/node_modules/node-pty/src/unix/pty.cc +0 -799
- package/.output/server/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
- package/.output/server/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
- package/.output/server/node_modules/node-pty/src/unixTerminal.ts +0 -388
- package/.output/server/node_modules/node-pty/src/utils.ts +0 -29
- package/.output/server/node_modules/node-pty/src/win/conpty.cc +0 -583
- package/.output/server/node_modules/node-pty/src/win/conpty.h +0 -41
- package/.output/server/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
- package/.output/server/node_modules/node-pty/src/win/path_util.cc +0 -95
- package/.output/server/node_modules/node-pty/src/win/path_util.h +0 -26
- package/.output/server/node_modules/node-pty/src/win/winpty.cc +0 -333
- package/.output/server/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
- package/.output/server/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
- package/.output/server/node_modules/node-pty/src/windowsTerminal.ts +0 -203
- package/.output/server/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/typings/node-pty.d.ts +0 -211
- package/.output/server/node_modules/tslib/modules/index.js +0 -70
- package/.output/server/node_modules/tslib/modules/package.json +0 -3
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/package.json +0 -10
- package/scripts/release.mjs +0 -173
- package/vendor/node-domexception/index.js +0 -3
- package/vendor/node-domexception/package.json +0 -10
- /package/.output/public/assets/{abap-smLpETzL.js → abap-CglpPUUh.js} +0 -0
- /package/.output/public/assets/{actionscript-3-o-aRvjY5.js → actionscript-3-CGv72Q9E.js} +0 -0
- /package/.output/public/assets/{ada-D5RRX1i4.js → ada-CfxXaXwr.js} +0 -0
- /package/.output/public/assets/{addon-fit-CMMXLNsg.js → addon-fit-C9RD8ot3.js} +0 -0
- /package/.output/public/assets/{andromeeda-N4z3YzmR.js → andromeeda-DXsn6mTE.js} +0 -0
- /package/.output/public/assets/{apache-DttKlSqg.js → apache-D5xAQKSB.js} +0 -0
- /package/.output/public/assets/{apex-DL7j-a2n.js → apex-qgfedJV2.js} +0 -0
- /package/.output/public/assets/{applescript-DCbL_2FX.js → applescript-DqumQxTt.js} +0 -0
- /package/.output/public/assets/{ara-DqheWJCe.js → ara-Ditv3ow6.js} +0 -0
- /package/.output/public/assets/{asciidoc-BH2sf2K4.js → asciidoc-DL8QwiT7.js} +0 -0
- /package/.output/public/assets/{asm-rfjOMz3U.js → asm-K6TMxl3o.js} +0 -0
- /package/.output/public/assets/{aurora-x-CND-FqEb.js → aurora-x-DGv-xZaa.js} +0 -0
- /package/.output/public/assets/{awk-CMV5n9Z7.js → awk-CYSfQSDT.js} +0 -0
- /package/.output/public/assets/{ayu-dark-on7xzq_B.js → ayu-dark-DGBaJbpH.js} +0 -0
- /package/.output/public/assets/{ayu-light-DnGeGGc2.js → ayu-light-BQrGPVs2.js} +0 -0
- /package/.output/public/assets/{ayu-mirage-DG3LlYC_.js → ayu-mirage-Do-5o2VL.js} +0 -0
- /package/.output/public/assets/{ballerina-BjMqJjlr.js → ballerina-BE-8n54s.js} +0 -0
- /package/.output/public/assets/{bat-BaVbo_qw.js → bat-B1zTc1QZ.js} +0 -0
- /package/.output/public/assets/{beancount-DBt5Mbc_.js → beancount-DhObrvif.js} +0 -0
- /package/.output/public/assets/{berry-Cyjuxiss.js → berry-Cnbvthv1.js} +0 -0
- /package/.output/public/assets/{bibtex-BV_0nsPq.js → bibtex-pp5SrwZy.js} +0 -0
- /package/.output/public/assets/{bicep-C2gEwu4J.js → bicep-BL6eYxbs.js} +0 -0
- /package/.output/public/assets/{bird2-BRyaEJd0.js → bird2-BQaXYY9n.js} +0 -0
- /package/.output/public/assets/{c-Nc9zJT78.js → c-BHFJ4Jk3.js} +0 -0
- /package/.output/public/assets/{c3-DTTbp5N2.js → c3-BHTco5Hb.js} +0 -0
- /package/.output/public/assets/{cadence-CPz83cmI.js → cadence-CoPxW0qb.js} +0 -0
- /package/.output/public/assets/{catppuccin-frappe-Dr22sraq.js → catppuccin-frappe-9fYwMJCf.js} +0 -0
- /package/.output/public/assets/{catppuccin-latte-C57EeX8c.js → catppuccin-latte-BUiKH1yZ.js} +0 -0
- /package/.output/public/assets/{catppuccin-macchiato-CpheI4uD.js → catppuccin-macchiato-ZmO2e0M_.js} +0 -0
- /package/.output/public/assets/{catppuccin-mocha-D8Lmdks_.js → catppuccin-mocha-CFwbXQfO.js} +0 -0
- /package/.output/public/assets/{clarity-CFJ2Yc3q.js → clarity-DVUGm1xP.js} +0 -0
- /package/.output/public/assets/{clojure-6R01QgJC.js → clojure-BgXJG6FG.js} +0 -0
- /package/.output/public/assets/{cmake-D5rSbMir.js → cmake-CZndsvm6.js} +0 -0
- /package/.output/public/assets/{codeowners-_3A-ClkN.js → codeowners-Dd7a447M.js} +0 -0
- /package/.output/public/assets/{codeql-DlIhJTR7.js → codeql-XJR6llG-.js} +0 -0
- /package/.output/public/assets/{common-lisp-BvQzz173.js → common-lisp-BOMbLvgT.js} +0 -0
- /package/.output/public/assets/{coq-DTNXReIC.js → coq-DnhmQYDa.js} +0 -0
- /package/.output/public/assets/{csharp-BDKQY1K9.js → csharp-BdEyRqBm.js} +0 -0
- /package/.output/public/assets/{css-DRmnABqB.js → css-CsTDDTLq.js} +0 -0
- /package/.output/public/assets/{csv-DNUpVBxl.js → csv-CXchYFbz.js} +0 -0
- /package/.output/public/assets/{cue-DDdBc2s3.js → cue-D7YpBZvd.js} +0 -0
- /package/.output/public/assets/{cypher-CguaznO2.js → cypher-XIm1N8YJ.js} +0 -0
- /package/.output/public/assets/{d-CHcoyjv3.js → d-DvB0pbZH.js} +0 -0
- /package/.output/public/assets/{dark-plus-CqeW_0kH.js → dark-plus-BUdpMFIA.js} +0 -0
- /package/.output/public/assets/{dart-RM3aRphk.js → dart-CwpSKTMB.js} +0 -0
- /package/.output/public/assets/{dax-nbnY1d79.js → dax-CEynWJsU.js} +0 -0
- /package/.output/public/assets/{desktop-BD76cvxT.js → desktop-Dk-YiYS_.js} +0 -0
- /package/.output/public/assets/{diff-CdkWtnkL.js → diff-abLZ-xM1.js} +0 -0
- /package/.output/public/assets/{docker-ZyPHc6zB.js → docker-BT48KsRJ.js} +0 -0
- /package/.output/public/assets/{dotenv-BdJZEwA6.js → dotenv-NOMQQbM0.js} +0 -0
- /package/.output/public/assets/{dracula-CtqCPLGa.js → dracula-BUW0ZyNO.js} +0 -0
- /package/.output/public/assets/{dracula-soft-DmBpwRAy.js → dracula-soft-BMjAt1_u.js} +0 -0
- /package/.output/public/assets/{dream-maker-BJL4qlg3.js → dream-maker-D26TP1Q3.js} +0 -0
- /package/.output/public/assets/{emacs-lisp-_LyYa2Ky.js → emacs-lisp-C2EvfotR.js} +0 -0
- /package/.output/public/assets/{everforest-dark-CrbyKk4n.js → everforest-dark-hC6a272f.js} +0 -0
- /package/.output/public/assets/{everforest-light-DRbSh8Tm.js → everforest-light-BTpbYY5G.js} +0 -0
- /package/.output/public/assets/{fennel-CC2BkRsS.js → fennel-DWOL-Ewx.js} +0 -0
- /package/.output/public/assets/{fish-D2ZCzqcE.js → fish-CQPQq0pQ.js} +0 -0
- /package/.output/public/assets/{fluent-DKAm3m7q.js → fluent-BYdsr2M8.js} +0 -0
- /package/.output/public/assets/{fortran-free-form-BPTf0lbT.js → fortran-free-form-C_EtY4F9.js} +0 -0
- /package/.output/public/assets/{gdscript-CsadCSaZ.js → gdscript-CH_tD-VB.js} +0 -0
- /package/.output/public/assets/{gdshader-PfnN_8tR.js → gdshader-BemFblFP.js} +0 -0
- /package/.output/public/assets/{genie-Bj-orPAV.js → genie-hCPg_eq7.js} +0 -0
- /package/.output/public/assets/{gherkin-COVWpJ-Q.js → gherkin-CO0ypD1P.js} +0 -0
- /package/.output/public/assets/{github-dark-ipGuFGYC.js → github-dark-cA72fqmI.js} +0 -0
- /package/.output/public/assets/{github-dark-default-DX3IG_X0.js → github-dark-default-DiYTFvY5.js} +0 -0
- /package/.output/public/assets/{github-dark-dimmed-CH6p_7ez.js → github-dark-dimmed-D-uBHzyG.js} +0 -0
- /package/.output/public/assets/{github-dark-high-contrast-Bg2sSao5.js → github-dark-high-contrast-BrUSkckI.js} +0 -0
- /package/.output/public/assets/{github-light-default-DwpDd1IQ.js → github-light-default-BT-6Vf7C.js} +0 -0
- /package/.output/public/assets/{github-light-high-contrast-C0QeixPf.js → github-light-high-contrast-DqmEyTTc.js} +0 -0
- /package/.output/public/assets/{github-light-BxjqOQl0.js → github-light-piFPqU8R.js} +0 -0
- /package/.output/public/assets/{gleam-BF2NigGj.js → gleam-CWJA_H5i.js} +0 -0
- /package/.output/public/assets/{gn-CMIt9roj.js → gn-nlTwLSjP.js} +0 -0
- /package/.output/public/assets/{gnuplot-DgWlRTEj.js → gnuplot-wYV0MbPl.js} +0 -0
- /package/.output/public/assets/{go-DLnOLj8q.js → go-BUPBDRDo.js} +0 -0
- /package/.output/public/assets/{groovy-B9qLWIkE.js → groovy-BusafOA8.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-hard-BIMX9ePb.js → gruvbox-dark-hard-BrrZYoPF.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-medium-DxuwyVzM.js → gruvbox-dark-medium-DsxcLuUs.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-soft-ba2fjht0.js → gruvbox-dark-soft-DQXOs_GH.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-hard-DAJK2PqC.js → gruvbox-light-hard-CtHwj_cB.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-medium-WRifDAJD.js → gruvbox-light-medium-CPJMdgXQ.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-soft-B0dBOoVB.js → gruvbox-light-soft-C4Xh9Hc-.js} +0 -0
- /package/.output/public/assets/{haskell-BaGpmm_c.js → haskell-CaDqJkn4.js} +0 -0
- /package/.output/public/assets/{haxe-DfXTCEOz.js → haxe-Dxg-8_J7.js} +0 -0
- /package/.output/public/assets/{hcl-CbCtpSbi.js → hcl-Bjg-rMJ0.js} +0 -0
- /package/.output/public/assets/{hjson-_4-w-pHU.js → hjson-BMbeOOMg.js} +0 -0
- /package/.output/public/assets/{hlsl-DpuYn7pp.js → hlsl-D-cuwCFV.js} +0 -0
- /package/.output/public/assets/{horizon-C5RtD1fY.js → horizon-BofYY9of.js} +0 -0
- /package/.output/public/assets/{horizon-bright-pEOice34.js → horizon-bright-CFOVQsf2.js} +0 -0
- /package/.output/public/assets/{houston-A0zg9vNP.js → houston-BIBYxFpQ.js} +0 -0
- /package/.output/public/assets/{hy-t9zDXBje.js → hy-Cye3Jt7O.js} +0 -0
- /package/.output/public/assets/{imba-Bxu-TDfw.js → imba-CjkQtgD2.js} +0 -0
- /package/.output/public/assets/{ini-D-v34c8N.js → ini-BvMtfDNl.js} +0 -0
- /package/.output/public/assets/{java-DVLnIrqC.js → java-BYO3uQJZ.js} +0 -0
- /package/.output/public/assets/{javascript-Cop1kpy_.js → javascript-BsdGTPv_.js} +0 -0
- /package/.output/public/assets/{json-CTw4n7kn.js → json-Kp2u6f_f.js} +0 -0
- /package/.output/public/assets/{json5-D0XL1D5m.js → json5-BCxDPjxU.js} +0 -0
- /package/.output/public/assets/{jsonc-BBgf3TX3.js → jsonc-BV8VFjqO.js} +0 -0
- /package/.output/public/assets/{jsonl-KrKLbtB7.js → jsonl-DHrr7c-M.js} +0 -0
- /package/.output/public/assets/{jsonnet-B2ZwWMOt.js → jsonnet-xURar8mu.js} +0 -0
- /package/.output/public/assets/{jssm-ByRpI9-B.js → jssm-DtoLUQAt.js} +0 -0
- /package/.output/public/assets/{jsx-0oMUGqZj.js → jsx-CyrO086S.js} +0 -0
- /package/.output/public/assets/{kanagawa-dragon-CtPmcCMp.js → kanagawa-dragon-COwlYgQB.js} +0 -0
- /package/.output/public/assets/{kanagawa-lotus-DpOXEGCa.js → kanagawa-lotus-GZWqyq_E.js} +0 -0
- /package/.output/public/assets/{kanagawa-wave-CLVCyc-n.js → kanagawa-wave-CP4uw3DX.js} +0 -0
- /package/.output/public/assets/{kdl-6FPPEH4H.js → kdl-DGo2N7N5.js} +0 -0
- /package/.output/public/assets/{kotlin-D4L3Nd2D.js → kotlin-Cm4W8Bbs.js} +0 -0
- /package/.output/public/assets/{kusto-D-mmc07O.js → kusto-DQ22_tcT.js} +0 -0
- /package/.output/public/assets/{laserwave-7fEj4XGb.js → laserwave-DfABGYsD.js} +0 -0
- /package/.output/public/assets/{lean-BMVMuP2E.js → lean-D-8a6Wwv.js} +0 -0
- /package/.output/public/assets/{less-C95PyOu0.js → less-B-qZzFKw.js} +0 -0
- /package/.output/public/assets/{light-plus-DHI2dh3p.js → light-plus-DS_rmE1N.js} +0 -0
- /package/.output/public/assets/{llvm-Dy3qORTl.js → llvm-Ch-k6TUk.js} +0 -0
- /package/.output/public/assets/{log-BQop7fzg.js → log-BGwbCG2S.js} +0 -0
- /package/.output/public/assets/{logo-DKtnYmrp.js → logo-DHGHbFWy.js} +0 -0
- /package/.output/public/assets/{luau-Dha4KG0q.js → luau-qsvm_nYh.js} +0 -0
- /package/.output/public/assets/{make-DfmS6buu.js → make-Dlfjp_Q8.js} +0 -0
- /package/.output/public/assets/{markdown-BaI9LyM4.js → markdown-COh4ruD_.js} +0 -0
- /package/.output/public/assets/{material-theme-Dm6ETY8i.js → material-theme-Ccrl1jie.js} +0 -0
- /package/.output/public/assets/{material-theme-darker-BeyjmM5Z.js → material-theme-darker-CcOH0iHe.js} +0 -0
- /package/.output/public/assets/{material-theme-lighter-CCOYYzKL.js → material-theme-lighter-DoKpC7NM.js} +0 -0
- /package/.output/public/assets/{material-theme-ocean-CUtPiiX3.js → material-theme-ocean-BcvBZHgH.js} +0 -0
- /package/.output/public/assets/{material-theme-palenight-2L4zMwIM.js → material-theme-palenight-DIL4EAzl.js} +0 -0
- /package/.output/public/assets/{matlab-BT79Cq_j.js → matlab-CBqMuw7w.js} +0 -0
- /package/.output/public/assets/{mdx-CxGBwLNt.js → mdx-BjoJxHxW.js} +0 -0
- /package/.output/public/assets/{mermaid-DLf3axBN.js → mermaid-DjAh2yR5.js} +0 -0
- /package/.output/public/assets/{min-dark-B8TUPGHg.js → min-dark-CbwghdE5.js} +0 -0
- /package/.output/public/assets/{min-light-BDOoBxcA.js → min-light-_F39d_94.js} +0 -0
- /package/.output/public/assets/{mipsasm-DXuU_0cI.js → mipsasm-DA1H0O78.js} +0 -0
- /package/.output/public/assets/{mojo-1Omp2pIo.js → mojo-BVgjRjTn.js} +0 -0
- /package/.output/public/assets/{monokai-E_VBmXGZ.js → monokai-CxgvaWkX.js} +0 -0
- /package/.output/public/assets/{moonbit-DZzq699o.js → moonbit-tKY94ZOM.js} +0 -0
- /package/.output/public/assets/{move-DxDAOJVd.js → move-B5WspEjG.js} +0 -0
- /package/.output/public/assets/{narrat-CxDcPPb9.js → narrat-CDPRStf_.js} +0 -0
- /package/.output/public/assets/{nextflow-groovy-wvmJO4hi.js → nextflow-groovy-1GYTZoD5.js} +0 -0
- /package/.output/public/assets/{night-owl-DefhalNX.js → night-owl-CCydx7ZR.js} +0 -0
- /package/.output/public/assets/{night-owl-light-byb3AbEn.js → night-owl-light-CLM7UUPY.js} +0 -0
- /package/.output/public/assets/{nix-DsFTDHWT.js → nix-DXFN4IwW.js} +0 -0
- /package/.output/public/assets/{nord-D5rQzHT-.js → nord-CiCWZ1de.js} +0 -0
- /package/.output/public/assets/{nushell-BQ_rO0AM.js → nushell-Ck9o2qOx.js} +0 -0
- /package/.output/public/assets/{objective-c-BMq6JT_m.js → objective-c-4koxci9E.js} +0 -0
- /package/.output/public/assets/{objective-cpp-DRwojuGv.js → objective-cpp-BPFAgSN9.js} +0 -0
- /package/.output/public/assets/{ocaml-e4_gKO6E.js → ocaml-BdlBLhZV.js} +0 -0
- /package/.output/public/assets/{odin-mdTPwYOg.js → odin-BcGOLCqZ.js} +0 -0
- /package/.output/public/assets/{one-dark-pro-DxXww9jg.js → one-dark-pro-DEMdTgiO.js} +0 -0
- /package/.output/public/assets/{one-light-D9c03w7t.js → one-light-Cmpe9X1u.js} +0 -0
- /package/.output/public/assets/{openscad-D2aTdNfr.js → openscad-DBveSHYE.js} +0 -0
- /package/.output/public/assets/{pascal-D4n_G8vj.js → pascal-DxOVE99u.js} +0 -0
- /package/.output/public/assets/{pierre-dark-CizZ1Z5z.js → pierre-dark-DIUCKU6U.js} +0 -0
- /package/.output/public/assets/{pierre-light-CHMWfAMe.js → pierre-light-DVO2KPlh.js} +0 -0
- /package/.output/public/assets/{pkl-DcjhAp0L.js → pkl-pIvtf7Vu.js} +0 -0
- /package/.output/public/assets/{plastic-uOsw7z1x.js → plastic-Dvdf8qVN.js} +0 -0
- /package/.output/public/assets/{plsql-BSy3Ag0J.js → plsql-d50MFTFK.js} +0 -0
- /package/.output/public/assets/{po-Be96RYkA.js → po-CboxWwYg.js} +0 -0
- /package/.output/public/assets/{poimandres-CyO4HORD.js → poimandres-DHgQGH4M.js} +0 -0
- /package/.output/public/assets/{polar-BmhMKWum.js → polar-DNp7Oek8.js} +0 -0
- /package/.output/public/assets/{postcss-BTQso3H9.js → postcss-LpmI6XQv.js} +0 -0
- /package/.output/public/assets/{powerquery-DVyQv3M2.js → powerquery-BNCl8Uwz.js} +0 -0
- /package/.output/public/assets/{powershell-BmtCGJVD.js → powershell-CZ9J0XuS.js} +0 -0
- /package/.output/public/assets/{prisma-CCFA9rEj.js → prisma-AELUiJCl.js} +0 -0
- /package/.output/public/assets/{prolog-DWGEEo78.js → prolog-BlqwejRD.js} +0 -0
- /package/.output/public/assets/{proto-C3eop1kM.js → proto-DRQC3swD.js} +0 -0
- /package/.output/public/assets/{puppet-C0_7Nv5A.js → puppet-DBKR8MlH.js} +0 -0
- /package/.output/public/assets/{purescript-Bv-B8yRw.js → purescript-DItLzxZS.js} +0 -0
- /package/.output/public/assets/{python-CKg5r0C3.js → python-D9t_ETu8.js} +0 -0
- /package/.output/public/assets/{qmldir-Cqfb4Lox.js → qmldir-DP_KD1nk.js} +0 -0
- /package/.output/public/assets/{qss-Csho9BH8.js → qss-CL02opOd.js} +0 -0
- /package/.output/public/assets/{r-UcxRcvcA.js → r-DmmrCFmB.js} +0 -0
- /package/.output/public/assets/{racket-D8-uWeQH.js → racket-K0frLTWj.js} +0 -0
- /package/.output/public/assets/{raku-Cj4JSa8p.js → raku-DwgLlPg9.js} +0 -0
- /package/.output/public/assets/{red-z4H4llUY.js → red-DzDu-aXc.js} +0 -0
- /package/.output/public/assets/{reg-DXGFiJSl.js → reg-B_y3c7di.js} +0 -0
- /package/.output/public/assets/{regexp-3-A0406L.js → regexp--eMB47Xx.js} +0 -0
- /package/.output/public/assets/{rel-CunnVTBK.js → rel-CT65ywJp.js} +0 -0
- /package/.output/public/assets/{riscv-C8BcOCkS.js → riscv-Qv5W2vIg.js} +0 -0
- /package/.output/public/assets/{ron-DiDyR9oa.js → ron-cRHu9zPp.js} +0 -0
- /package/.output/public/assets/{rose-pine-BADquuIH.js → rose-pine-DFmTJHIJ.js} +0 -0
- /package/.output/public/assets/{rose-pine-dawn-BLcEeBoh.js → rose-pine-dawn-YIuK9wUm.js} +0 -0
- /package/.output/public/assets/{rose-pine-moon-BK_tLY1Y.js → rose-pine-moon-BYEHfkUB.js} +0 -0
- /package/.output/public/assets/{rosmsg-CHmL1Uyj.js → rosmsg-_L1z4wrx.js} +0 -0
- /package/.output/public/assets/{rust-DjJFInu3.js → rust-BA5wQ_EY.js} +0 -0
- /package/.output/public/assets/{sass-D3xZ5o-v.js → sass-sd__ov8V.js} +0 -0
- /package/.output/public/assets/{scala-B0IRml5w.js → scala--cVG4U7H.js} +0 -0
- /package/.output/public/assets/{scheme-BhwcV3Av.js → scheme-D6Q1O-kY.js} +0 -0
- /package/.output/public/assets/{sdbl-BmWYR-pI.js → sdbl-jB0DUrL_.js} +0 -0
- /package/.output/public/assets/{shellscript-DaVPunOM.js → shellscript-DyWRuzkj.js} +0 -0
- /package/.output/public/assets/{slack-dark-DOnVms5P.js → slack-dark-DHhAlQBa.js} +0 -0
- /package/.output/public/assets/{slack-ochin-DcRTft4q.js → slack-ochin-PZXbcZaN.js} +0 -0
- /package/.output/public/assets/{smalltalk-DVQuUMII.js → smalltalk-C7VkdTlv.js} +0 -0
- /package/.output/public/assets/{snazzy-light-x9CLJ1W9.js → snazzy-light-CPc_Qts9.js} +0 -0
- /package/.output/public/assets/{solarized-dark-BB1sh-pe.js → solarized-dark-DCCfKtTh.js} +0 -0
- /package/.output/public/assets/{solarized-light-9-RPS998.js → solarized-light-B84T-R9X.js} +0 -0
- /package/.output/public/assets/{solidity-gQ4WXILB.js → solidity-DVsDPpDS.js} +0 -0
- /package/.output/public/assets/{splunk-OB48_RcD.js → splunk-A-BwP6Va.js} +0 -0
- /package/.output/public/assets/{sql-CrTmZCMa.js → sql-CRzu7iKx.js} +0 -0
- /package/.output/public/assets/{ssh-config-DA9YMRGV.js → ssh-config-CFPv6mTy.js} +0 -0
- /package/.output/public/assets/{stylus-sKwvsUaC.js → stylus-CUf3IESt.js} +0 -0
- /package/.output/public/assets/{swift-C72NbAtg.js → swift-CSiiYB_Q.js} +0 -0
- /package/.output/public/assets/{synthwave-84-eJ9uRN_S.js → synthwave-84-uJp1j2Jd.js} +0 -0
- /package/.output/public/assets/{system-verilog-CnWMF7Nq.js → system-verilog-rMjKy-O9.js} +0 -0
- /package/.output/public/assets/{systemd-DMzItW5N.js → systemd-R-KDM4-t.js} +0 -0
- /package/.output/public/assets/{talonscript-DopQCWDL.js → talonscript-D666vCtm.js} +0 -0
- /package/.output/public/assets/{tasl-C28SYKbq.js → tasl-68cbBocU.js} +0 -0
- /package/.output/public/assets/{tcl-DHq7zmoF.js → tcl-Y39dJ_pX.js} +0 -0
- /package/.output/public/assets/{terraform-CogS1YKX.js → terraform-BF7wAo-b.js} +0 -0
- /package/.output/public/assets/{tokyo-night-B9N7LyrF.js → tokyo-night-EeABtN82.js} +0 -0
- /package/.output/public/assets/{toml-BH_iPsgK.js → toml-BrMFN1JF.js} +0 -0
- /package/.output/public/assets/{tsv-BIkdBZX1.js → tsv-Dp2l5v7f.js} +0 -0
- /package/.output/public/assets/{tsx-BjkCKOtw.js → tsx-CQqypS0k.js} +0 -0
- /package/.output/public/assets/{turtle-CqNXyJWZ.js → turtle-_N1aDtpV.js} +0 -0
- /package/.output/public/assets/{typescript-BoHeP9q1.js → typescript-CPmDkqmE.js} +0 -0
- /package/.output/public/assets/{typespec-CQ9LYD_e.js → typespec-ghgF2GAI.js} +0 -0
- /package/.output/public/assets/{typst-T-Fsk-Sv.js → typst-DP_izaNK.js} +0 -0
- /package/.output/public/assets/{v-BhMEOw9x.js → v-CdNC_Wok.js} +0 -0
- /package/.output/public/assets/{vala-DzajMnwt.js → vala-Bu4pYkLC.js} +0 -0
- /package/.output/public/assets/{vb-7Xr8dEYW.js → vb-u84IyWSS.js} +0 -0
- /package/.output/public/assets/{verilog-AvXtwZir.js → verilog-BC33pi7Z.js} +0 -0
- /package/.output/public/assets/{vesper-CtgQQ2sf.js → vesper-7-XtS0Kg.js} +0 -0
- /package/.output/public/assets/{vhdl-BHu0zg1P.js → vhdl-BBxTOQe0.js} +0 -0
- /package/.output/public/assets/{viml-Di0QpLfC.js → viml-X_r-ivXA.js} +0 -0
- /package/.output/public/assets/{vitesse-black-jXdfyqgD.js → vitesse-black-DRdlY-cW.js} +0 -0
- /package/.output/public/assets/{vitesse-dark-B88PxG1r.js → vitesse-dark-Bz0hOFHJ.js} +0 -0
- /package/.output/public/assets/{vitesse-light-BXxZh2iV.js → vitesse-light-7kCLd0yn.js} +0 -0
- /package/.output/public/assets/{vyper-C3R5yXgx.js → vyper-E7qIwMXy.js} +0 -0
- /package/.output/public/assets/{wasm-D_MQmneJ.js → wasm-BqG9CUph.js} +0 -0
- /package/.output/public/assets/{wasm-Chsuwt1A.js → wasm-C18OEcCL.js} +0 -0
- /package/.output/public/assets/{wenyan-BonVcr2i.js → wenyan-siXAC4el.js} +0 -0
- /package/.output/public/assets/{wgsl-D59WYmNq.js → wgsl-BJQt8Uld.js} +0 -0
- /package/.output/public/assets/{wikitext-ariTI2Wk.js → wikitext-Ci0ePJmf.js} +0 -0
- /package/.output/public/assets/{wit-EA4fa3Dt.js → wit-BdDJ7geN.js} +0 -0
- /package/.output/public/assets/{wolfram-DDp7LhyU.js → wolfram-Bi-O1IUM.js} +0 -0
- /package/.output/public/assets/{xterm-CCMwI7sy.js → xterm-TTe2Bv9Z.js} +0 -0
- /package/.output/public/assets/{yaml-BTD1XHJG.js → yaml-DgkO7CC2.js} +0 -0
- /package/.output/public/assets/{zenscript-4WaROUyc.js → zenscript-CnkrxCBw.js} +0 -0
- /package/.output/public/assets/{zig-CJoLJGwV.js → zig-CgMsxF9-.js} +0 -0
|
@@ -1,3400 +0,0 @@
|
|
|
1
|
-
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import { $ as require_react, G as TooltipPositioner, J as TooltipRoot, K as TooltipPortal, Q as require_jsx_runtime, U as TooltipProvider$1, W as TooltipPopup, q as TooltipTrigger$1 } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { o as lazyRouteComponent, s as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
|
-
import { n as clsx } from "../_libs/class-variance-authority+clsx.mjs";
|
|
5
|
-
import { t as twMerge } from "../_libs/tailwind-merge.mjs";
|
|
6
|
-
import { H as ChevronUp, K as ArrowUp, Q as ArrowBigUp, R as Command, X as ArrowLeft, Y as ArrowRight, Z as ArrowDown, v as Option } from "../_libs/lucide-react.mjs";
|
|
7
|
-
import { n as string, t as object } from "../_libs/zod.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-DbjuMLFI.js
|
|
9
|
-
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
10
|
-
var import_jsx_runtime = require_jsx_runtime();
|
|
11
|
-
function cn(...inputs) {
|
|
12
|
-
return twMerge(clsx(inputs));
|
|
13
|
-
}
|
|
14
|
-
var modifierTokenPattern = /(Shift|Control|Ctrl|Command|Cmd|Meta|Alt|Option|⇧|⌃|⌘|⌥|↑|↓|←|→|\s+|\/|\+)/gi;
|
|
15
|
-
var modifierLabels = {
|
|
16
|
-
command: "Command",
|
|
17
|
-
control: "Control",
|
|
18
|
-
option: "Option",
|
|
19
|
-
shift: "Shift"
|
|
20
|
-
};
|
|
21
|
-
var arrowLabels = {
|
|
22
|
-
down: "Arrow down",
|
|
23
|
-
left: "Arrow left",
|
|
24
|
-
right: "Arrow right",
|
|
25
|
-
up: "Arrow up"
|
|
26
|
-
};
|
|
27
|
-
function getShortcutModifier(value) {
|
|
28
|
-
const normalized = value.toLowerCase();
|
|
29
|
-
if (value === "⌘" || normalized === "command") return "command";
|
|
30
|
-
if (normalized === "cmd" || normalized === "meta") return "command";
|
|
31
|
-
if (value === "⌃" || normalized === "control") return "control";
|
|
32
|
-
if (normalized === "ctrl") return "control";
|
|
33
|
-
if (value === "⌥" || normalized === "option") return "option";
|
|
34
|
-
if (normalized === "alt") return "option";
|
|
35
|
-
if (value === "⇧" || normalized === "shift") return "shift";
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
function getShortcutArrow(value) {
|
|
39
|
-
if (value === "↑") return "up";
|
|
40
|
-
if (value === "↓") return "down";
|
|
41
|
-
if (value === "←") return "left";
|
|
42
|
-
if (value === "→") return "right";
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
function tokenizeShortcut(value) {
|
|
46
|
-
const rawTokens = value.split(modifierTokenPattern).filter((token) => token.length > 0);
|
|
47
|
-
const shortcutTokens = [];
|
|
48
|
-
for (let index = 0; index < rawTokens.length; index += 1) {
|
|
49
|
-
const token = rawTokens[index];
|
|
50
|
-
const modifier = getShortcutModifier(token);
|
|
51
|
-
const arrow = getShortcutArrow(token);
|
|
52
|
-
if (modifier) {
|
|
53
|
-
shortcutTokens.push({
|
|
54
|
-
type: "modifier",
|
|
55
|
-
modifier,
|
|
56
|
-
label: modifierLabels[modifier]
|
|
57
|
-
});
|
|
58
|
-
continue;
|
|
59
|
-
}
|
|
60
|
-
if (arrow) {
|
|
61
|
-
shortcutTokens.push({
|
|
62
|
-
type: "arrow",
|
|
63
|
-
arrow,
|
|
64
|
-
label: arrowLabels[arrow]
|
|
65
|
-
});
|
|
66
|
-
continue;
|
|
67
|
-
}
|
|
68
|
-
if (token === "/") {
|
|
69
|
-
shortcutTokens.push({
|
|
70
|
-
type: "separator",
|
|
71
|
-
value: token
|
|
72
|
-
});
|
|
73
|
-
continue;
|
|
74
|
-
}
|
|
75
|
-
if (token === "+") {
|
|
76
|
-
const previousModifier = getShortcutModifier(rawTokens[index - 1] ?? "");
|
|
77
|
-
const nextModifier = getShortcutModifier(rawTokens[index + 1] ?? "");
|
|
78
|
-
if (previousModifier || nextModifier) continue;
|
|
79
|
-
}
|
|
80
|
-
if (token.trim().length === 0) continue;
|
|
81
|
-
shortcutTokens.push({
|
|
82
|
-
type: "text",
|
|
83
|
-
value: token
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
return shortcutTokens;
|
|
87
|
-
}
|
|
88
|
-
function ShortcutModifierIcon({ modifier }) {
|
|
89
|
-
const className = "size-[10px] shrink-0 stroke-[2.4]";
|
|
90
|
-
if (modifier === "shift") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ArrowBigUp, {
|
|
91
|
-
"aria-hidden": "true",
|
|
92
|
-
className
|
|
93
|
-
});
|
|
94
|
-
if (modifier === "control") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronUp, {
|
|
95
|
-
"aria-hidden": "true",
|
|
96
|
-
className
|
|
97
|
-
});
|
|
98
|
-
if (modifier === "command") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Command, {
|
|
99
|
-
"aria-hidden": "true",
|
|
100
|
-
className
|
|
101
|
-
});
|
|
102
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, {
|
|
103
|
-
"aria-hidden": "true",
|
|
104
|
-
className
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
function ShortcutArrowIcon({ arrow }) {
|
|
108
|
-
const className = "size-[10px] shrink-0 stroke-[2.4]";
|
|
109
|
-
if (arrow === "up") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ArrowUp, {
|
|
110
|
-
"aria-hidden": "true",
|
|
111
|
-
className
|
|
112
|
-
});
|
|
113
|
-
if (arrow === "down") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ArrowDown, {
|
|
114
|
-
"aria-hidden": "true",
|
|
115
|
-
className
|
|
116
|
-
});
|
|
117
|
-
if (arrow === "left") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ArrowLeft, {
|
|
118
|
-
"aria-hidden": "true",
|
|
119
|
-
className
|
|
120
|
-
});
|
|
121
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ArrowRight, {
|
|
122
|
-
"aria-hidden": "true",
|
|
123
|
-
className
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
function ShortcutText({ value }) {
|
|
127
|
-
const tokens = tokenizeShortcut(value);
|
|
128
|
-
if (tokens.length === 0) return null;
|
|
129
|
-
return tokens.map((token) => {
|
|
130
|
-
if (token.type === "modifier") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShortcutModifierIcon, { modifier: token.modifier }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
131
|
-
className: "sr-only",
|
|
132
|
-
children: token.label
|
|
133
|
-
})] }, `modifier-${token.modifier}`);
|
|
134
|
-
if (token.type === "arrow") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShortcutArrowIcon, { arrow: token.arrow }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
135
|
-
className: "sr-only",
|
|
136
|
-
children: token.label
|
|
137
|
-
})] }, `arrow-${token.arrow}`);
|
|
138
|
-
if (token.type === "separator") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
139
|
-
"aria-hidden": "true",
|
|
140
|
-
className: "mx-0.5",
|
|
141
|
-
children: token.value
|
|
142
|
-
}, `separator-${token.value}`);
|
|
143
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: token.value }, `text-${token.value}`);
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
function KeyboardShortcutContent({ children, className }) {
|
|
147
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
148
|
-
className: cn("inline-flex items-center gap-1 align-middle leading-none", className),
|
|
149
|
-
children: import_react.Children.map(children, (child) => {
|
|
150
|
-
if (typeof child === "string" || typeof child === "number") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShortcutText, { value: String(child) });
|
|
151
|
-
return child;
|
|
152
|
-
})
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
function Kbd({ className, children, ...props }) {
|
|
156
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("kbd", {
|
|
157
|
-
className: cn("inline-flex items-center rounded border border-border/70 bg-muted/40 px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground data-[active=true]:border-primary/40 data-[active=true]:bg-primary data-[active=true]:text-primary-foreground", className),
|
|
158
|
-
...props,
|
|
159
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(KeyboardShortcutContent, { children })
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
function TooltipProvider({ delay = 0, ...props }) {
|
|
163
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipProvider$1, {
|
|
164
|
-
"data-slot": "tooltip-provider",
|
|
165
|
-
delay,
|
|
166
|
-
...props
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
function Tooltip$1({ ...props }) {
|
|
170
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipRoot, {
|
|
171
|
-
"data-slot": "tooltip",
|
|
172
|
-
...props
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
function TooltipTrigger({ ...props }) {
|
|
176
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipTrigger$1, {
|
|
177
|
-
"data-slot": "tooltip-trigger",
|
|
178
|
-
...props
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
function TooltipContent({ className, positionerClassName, side = "top", sideOffset = 4, align = "center", alignOffset = 0, children, ...props }) {
|
|
182
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipPositioner, {
|
|
183
|
-
align,
|
|
184
|
-
alignOffset,
|
|
185
|
-
side,
|
|
186
|
-
sideOffset,
|
|
187
|
-
className: cn("isolate z-50", positionerClassName),
|
|
188
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipPopup, {
|
|
189
|
-
"data-slot": "tooltip-content",
|
|
190
|
-
className: cn("z-50 flex max-h-[min(24rem,calc(100vh-2rem))] max-w-[min(42rem,calc(100vw-2rem))] min-w-0 origin-(--transform-origin) items-center gap-1.5 overflow-x-hidden overflow-y-auto rounded-md bg-secondary px-3 py-1.5 text-xs [overflow-wrap:anywhere] whitespace-pre-wrap text-secondary-foreground has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
|
|
191
|
-
...props,
|
|
192
|
-
children
|
|
193
|
-
})
|
|
194
|
-
}) });
|
|
195
|
-
}
|
|
196
|
-
function TitleTooltip({ title, children, kbd, rows, side, align, sideOffset, className, positionerClassName }) {
|
|
197
|
-
if (!title) return children;
|
|
198
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Tooltip$1, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipTrigger, { render: children }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
199
|
-
side,
|
|
200
|
-
align,
|
|
201
|
-
sideOffset,
|
|
202
|
-
className,
|
|
203
|
-
positionerClassName,
|
|
204
|
-
children: rows ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
205
|
-
className: "flex flex-col gap-1",
|
|
206
|
-
children: rows.map((row, rowOffset) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
207
|
-
className: "flex items-center justify-between gap-3",
|
|
208
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
209
|
-
className: "min-w-0",
|
|
210
|
-
children: row.title
|
|
211
|
-
}), row.kbd ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Kbd, {
|
|
212
|
-
"data-slot": "kbd",
|
|
213
|
-
children: row.kbd
|
|
214
|
-
}) : null]
|
|
215
|
-
}, `tooltip-row-${rowOffset}`))
|
|
216
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
217
|
-
className: "min-w-0",
|
|
218
|
-
children: title
|
|
219
|
-
}), kbd ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Kbd, {
|
|
220
|
-
"data-slot": "kbd",
|
|
221
|
-
children: kbd
|
|
222
|
-
}) : null] })
|
|
223
|
-
})] });
|
|
224
|
-
}
|
|
225
|
-
var SPINNER_CELLS = [
|
|
226
|
-
{
|
|
227
|
-
id: "top-left",
|
|
228
|
-
className: "pico-spinner-pixel-0"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
id: "top",
|
|
232
|
-
className: "pico-spinner-pixel-1"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
id: "top-right",
|
|
236
|
-
className: "pico-spinner-pixel-2"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
id: "right",
|
|
240
|
-
className: "pico-spinner-pixel-5"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
id: "bottom-right",
|
|
244
|
-
className: "pico-spinner-pixel-8"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
id: "bottom",
|
|
248
|
-
className: "pico-spinner-pixel-7"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
id: "bottom-left",
|
|
252
|
-
className: "pico-spinner-pixel-6"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
id: "left",
|
|
256
|
-
className: "pico-spinner-pixel-3"
|
|
257
|
-
}
|
|
258
|
-
];
|
|
259
|
-
var SPINNER_SIZE_CLASS_NAMES = {
|
|
260
|
-
xs: "size-3",
|
|
261
|
-
sm: "size-3.5",
|
|
262
|
-
md: "size-4"
|
|
263
|
-
};
|
|
264
|
-
function Spinner({ className, size = "sm", "aria-label": ariaLabel = "Loading", ...props }) {
|
|
265
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
266
|
-
role: "status",
|
|
267
|
-
"aria-label": ariaLabel,
|
|
268
|
-
"data-pico-spinner-size": size,
|
|
269
|
-
className: cn("pico-spinner pointer-events-none inline-flex shrink-0 items-center justify-center font-mono leading-none text-primary select-none", SPINNER_SIZE_CLASS_NAMES[size], className),
|
|
270
|
-
...props,
|
|
271
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
272
|
-
"aria-hidden": "true",
|
|
273
|
-
className: "pico-spinner-pixels",
|
|
274
|
-
children: SPINNER_CELLS.map((cell) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: cn("pico-spinner-pixel", cell.className) }, cell.id))
|
|
275
|
-
})
|
|
276
|
-
});
|
|
277
|
-
}
|
|
278
|
-
var SHIKI_BUNDLED_THEME_PAIR_DEFINITIONS = [
|
|
279
|
-
{
|
|
280
|
-
id: "shiki-pair-ayu",
|
|
281
|
-
label: "Ayu",
|
|
282
|
-
description: "Use Ayu Light in light mode and Ayu Dark in dark mode.",
|
|
283
|
-
keywords: [
|
|
284
|
-
"shiki",
|
|
285
|
-
"auto",
|
|
286
|
-
"system",
|
|
287
|
-
"light",
|
|
288
|
-
"dark",
|
|
289
|
-
"ayu-light",
|
|
290
|
-
"ayu-dark",
|
|
291
|
-
"Ayu",
|
|
292
|
-
"Ayu Light",
|
|
293
|
-
"Ayu Dark",
|
|
294
|
-
"ayu"
|
|
295
|
-
],
|
|
296
|
-
classes: {
|
|
297
|
-
light: "shiki-theme-ayu-light",
|
|
298
|
-
dark: "shiki-theme-ayu-dark"
|
|
299
|
-
},
|
|
300
|
-
selectorModes: ["auto"]
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
id: "shiki-pair-ayu-mirage",
|
|
304
|
-
label: "Ayu Mirage",
|
|
305
|
-
description: "Use Ayu Light in light mode and Ayu Mirage in dark mode.",
|
|
306
|
-
keywords: [
|
|
307
|
-
"shiki",
|
|
308
|
-
"auto",
|
|
309
|
-
"system",
|
|
310
|
-
"light",
|
|
311
|
-
"dark",
|
|
312
|
-
"ayu-light",
|
|
313
|
-
"ayu-mirage",
|
|
314
|
-
"Ayu Mirage",
|
|
315
|
-
"Ayu Light",
|
|
316
|
-
"ayu",
|
|
317
|
-
"mirage"
|
|
318
|
-
],
|
|
319
|
-
classes: {
|
|
320
|
-
light: "shiki-theme-ayu-light",
|
|
321
|
-
dark: "shiki-theme-ayu-mirage"
|
|
322
|
-
},
|
|
323
|
-
selectorModes: ["auto"]
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
id: "shiki-pair-catppuccin-frappe",
|
|
327
|
-
label: "Catppuccin Frappé",
|
|
328
|
-
description: "Use Catppuccin Latte in light mode and Catppuccin Frappé in dark mode.",
|
|
329
|
-
keywords: [
|
|
330
|
-
"shiki",
|
|
331
|
-
"auto",
|
|
332
|
-
"system",
|
|
333
|
-
"light",
|
|
334
|
-
"dark",
|
|
335
|
-
"catppuccin-latte",
|
|
336
|
-
"catppuccin-frappe",
|
|
337
|
-
"Catppuccin Frappé",
|
|
338
|
-
"Catppuccin Latte",
|
|
339
|
-
"catppuccin",
|
|
340
|
-
"frappe",
|
|
341
|
-
"frappé",
|
|
342
|
-
"latte"
|
|
343
|
-
],
|
|
344
|
-
classes: {
|
|
345
|
-
light: "shiki-theme-catppuccin-latte",
|
|
346
|
-
dark: "shiki-theme-catppuccin-frappe"
|
|
347
|
-
},
|
|
348
|
-
selectorModes: ["auto"]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
id: "shiki-pair-catppuccin-macchiato",
|
|
352
|
-
label: "Catppuccin Macchiato",
|
|
353
|
-
description: "Use Catppuccin Latte in light mode and Catppuccin Macchiato in dark mode.",
|
|
354
|
-
keywords: [
|
|
355
|
-
"shiki",
|
|
356
|
-
"auto",
|
|
357
|
-
"system",
|
|
358
|
-
"light",
|
|
359
|
-
"dark",
|
|
360
|
-
"catppuccin-latte",
|
|
361
|
-
"catppuccin-macchiato",
|
|
362
|
-
"Catppuccin Macchiato",
|
|
363
|
-
"Catppuccin Latte",
|
|
364
|
-
"catppuccin",
|
|
365
|
-
"macchiato",
|
|
366
|
-
"latte"
|
|
367
|
-
],
|
|
368
|
-
classes: {
|
|
369
|
-
light: "shiki-theme-catppuccin-latte",
|
|
370
|
-
dark: "shiki-theme-catppuccin-macchiato"
|
|
371
|
-
},
|
|
372
|
-
selectorModes: ["auto"]
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
id: "shiki-pair-catppuccin-mocha",
|
|
376
|
-
label: "Catppuccin Mocha",
|
|
377
|
-
description: "Use Catppuccin Latte in light mode and Catppuccin Mocha in dark mode.",
|
|
378
|
-
keywords: [
|
|
379
|
-
"shiki",
|
|
380
|
-
"auto",
|
|
381
|
-
"system",
|
|
382
|
-
"light",
|
|
383
|
-
"dark",
|
|
384
|
-
"catppuccin-latte",
|
|
385
|
-
"catppuccin-mocha",
|
|
386
|
-
"Catppuccin Mocha",
|
|
387
|
-
"Catppuccin Latte",
|
|
388
|
-
"catppuccin",
|
|
389
|
-
"mocha",
|
|
390
|
-
"latte"
|
|
391
|
-
],
|
|
392
|
-
classes: {
|
|
393
|
-
light: "shiki-theme-catppuccin-latte",
|
|
394
|
-
dark: "shiki-theme-catppuccin-mocha"
|
|
395
|
-
},
|
|
396
|
-
selectorModes: ["auto"]
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
id: "shiki-pair-everforest",
|
|
400
|
-
label: "Everforest",
|
|
401
|
-
description: "Use Everforest Light in light mode and Everforest Dark in dark mode.",
|
|
402
|
-
keywords: [
|
|
403
|
-
"shiki",
|
|
404
|
-
"auto",
|
|
405
|
-
"system",
|
|
406
|
-
"light",
|
|
407
|
-
"dark",
|
|
408
|
-
"everforest-light",
|
|
409
|
-
"everforest-dark",
|
|
410
|
-
"Everforest",
|
|
411
|
-
"Everforest Light",
|
|
412
|
-
"Everforest Dark",
|
|
413
|
-
"everforest"
|
|
414
|
-
],
|
|
415
|
-
classes: {
|
|
416
|
-
light: "shiki-theme-everforest-light",
|
|
417
|
-
dark: "shiki-theme-everforest-dark"
|
|
418
|
-
},
|
|
419
|
-
selectorModes: ["auto"]
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
id: "shiki-pair-github",
|
|
423
|
-
label: "GitHub",
|
|
424
|
-
description: "Use GitHub Light in light mode and GitHub Dark in dark mode.",
|
|
425
|
-
keywords: [
|
|
426
|
-
"shiki",
|
|
427
|
-
"auto",
|
|
428
|
-
"system",
|
|
429
|
-
"light",
|
|
430
|
-
"dark",
|
|
431
|
-
"github-light",
|
|
432
|
-
"github-dark",
|
|
433
|
-
"GitHub",
|
|
434
|
-
"GitHub Light",
|
|
435
|
-
"GitHub Dark",
|
|
436
|
-
"github"
|
|
437
|
-
],
|
|
438
|
-
classes: {
|
|
439
|
-
light: "shiki-theme-github-light",
|
|
440
|
-
dark: "shiki-theme-github-dark"
|
|
441
|
-
},
|
|
442
|
-
selectorModes: ["auto"]
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
id: "shiki-pair-github-default",
|
|
446
|
-
label: "GitHub Default",
|
|
447
|
-
description: "Use GitHub Light Default in light mode and GitHub Dark Default in dark mode.",
|
|
448
|
-
keywords: [
|
|
449
|
-
"shiki",
|
|
450
|
-
"auto",
|
|
451
|
-
"system",
|
|
452
|
-
"light",
|
|
453
|
-
"dark",
|
|
454
|
-
"github-light-default",
|
|
455
|
-
"github-dark-default",
|
|
456
|
-
"GitHub Default",
|
|
457
|
-
"GitHub Light Default",
|
|
458
|
-
"GitHub Dark Default",
|
|
459
|
-
"github",
|
|
460
|
-
"default"
|
|
461
|
-
],
|
|
462
|
-
classes: {
|
|
463
|
-
light: "shiki-theme-github-light-default",
|
|
464
|
-
dark: "shiki-theme-github-dark-default"
|
|
465
|
-
},
|
|
466
|
-
selectorModes: ["auto"]
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
id: "shiki-pair-github-high-contrast",
|
|
470
|
-
label: "GitHub High Contrast",
|
|
471
|
-
description: "Use GitHub Light High Contrast in light mode and GitHub Dark High Contrast in dark mode.",
|
|
472
|
-
keywords: [
|
|
473
|
-
"shiki",
|
|
474
|
-
"auto",
|
|
475
|
-
"system",
|
|
476
|
-
"light",
|
|
477
|
-
"dark",
|
|
478
|
-
"github-light-high-contrast",
|
|
479
|
-
"github-dark-high-contrast",
|
|
480
|
-
"GitHub High Contrast",
|
|
481
|
-
"GitHub Light High Contrast",
|
|
482
|
-
"GitHub Dark High Contrast",
|
|
483
|
-
"github",
|
|
484
|
-
"high contrast",
|
|
485
|
-
"contrast"
|
|
486
|
-
],
|
|
487
|
-
classes: {
|
|
488
|
-
light: "shiki-theme-github-light-high-contrast",
|
|
489
|
-
dark: "shiki-theme-github-dark-high-contrast"
|
|
490
|
-
},
|
|
491
|
-
selectorModes: ["auto"]
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
id: "shiki-pair-gruvbox-hard",
|
|
495
|
-
label: "Gruvbox Hard",
|
|
496
|
-
description: "Use Gruvbox Light Hard in light mode and Gruvbox Dark Hard in dark mode.",
|
|
497
|
-
keywords: [
|
|
498
|
-
"shiki",
|
|
499
|
-
"auto",
|
|
500
|
-
"system",
|
|
501
|
-
"light",
|
|
502
|
-
"dark",
|
|
503
|
-
"gruvbox-light-hard",
|
|
504
|
-
"gruvbox-dark-hard",
|
|
505
|
-
"Gruvbox Hard",
|
|
506
|
-
"Gruvbox Light Hard",
|
|
507
|
-
"Gruvbox Dark Hard",
|
|
508
|
-
"gruvbox",
|
|
509
|
-
"hard"
|
|
510
|
-
],
|
|
511
|
-
classes: {
|
|
512
|
-
light: "shiki-theme-gruvbox-light-hard",
|
|
513
|
-
dark: "shiki-theme-gruvbox-dark-hard"
|
|
514
|
-
},
|
|
515
|
-
selectorModes: ["auto"]
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
id: "shiki-pair-gruvbox-medium",
|
|
519
|
-
label: "Gruvbox Medium",
|
|
520
|
-
description: "Use Gruvbox Light Medium in light mode and Gruvbox Dark Medium in dark mode.",
|
|
521
|
-
keywords: [
|
|
522
|
-
"shiki",
|
|
523
|
-
"auto",
|
|
524
|
-
"system",
|
|
525
|
-
"light",
|
|
526
|
-
"dark",
|
|
527
|
-
"gruvbox-light-medium",
|
|
528
|
-
"gruvbox-dark-medium",
|
|
529
|
-
"Gruvbox Medium",
|
|
530
|
-
"Gruvbox Light Medium",
|
|
531
|
-
"Gruvbox Dark Medium",
|
|
532
|
-
"gruvbox",
|
|
533
|
-
"medium"
|
|
534
|
-
],
|
|
535
|
-
classes: {
|
|
536
|
-
light: "shiki-theme-gruvbox-light-medium",
|
|
537
|
-
dark: "shiki-theme-gruvbox-dark-medium"
|
|
538
|
-
},
|
|
539
|
-
selectorModes: ["auto"]
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
id: "shiki-pair-gruvbox-soft",
|
|
543
|
-
label: "Gruvbox Soft",
|
|
544
|
-
description: "Use Gruvbox Light Soft in light mode and Gruvbox Dark Soft in dark mode.",
|
|
545
|
-
keywords: [
|
|
546
|
-
"shiki",
|
|
547
|
-
"auto",
|
|
548
|
-
"system",
|
|
549
|
-
"light",
|
|
550
|
-
"dark",
|
|
551
|
-
"gruvbox-light-soft",
|
|
552
|
-
"gruvbox-dark-soft",
|
|
553
|
-
"Gruvbox Soft",
|
|
554
|
-
"Gruvbox Light Soft",
|
|
555
|
-
"Gruvbox Dark Soft",
|
|
556
|
-
"gruvbox",
|
|
557
|
-
"soft"
|
|
558
|
-
],
|
|
559
|
-
classes: {
|
|
560
|
-
light: "shiki-theme-gruvbox-light-soft",
|
|
561
|
-
dark: "shiki-theme-gruvbox-dark-soft"
|
|
562
|
-
},
|
|
563
|
-
selectorModes: ["auto"]
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
id: "shiki-pair-kanagawa-dragon",
|
|
567
|
-
label: "Kanagawa Dragon",
|
|
568
|
-
description: "Use Kanagawa Lotus in light mode and Kanagawa Dragon in dark mode.",
|
|
569
|
-
keywords: [
|
|
570
|
-
"shiki",
|
|
571
|
-
"auto",
|
|
572
|
-
"system",
|
|
573
|
-
"light",
|
|
574
|
-
"dark",
|
|
575
|
-
"kanagawa-lotus",
|
|
576
|
-
"kanagawa-dragon",
|
|
577
|
-
"Kanagawa Dragon",
|
|
578
|
-
"Kanagawa Lotus",
|
|
579
|
-
"kanagawa",
|
|
580
|
-
"lotus",
|
|
581
|
-
"dragon"
|
|
582
|
-
],
|
|
583
|
-
classes: {
|
|
584
|
-
light: "shiki-theme-kanagawa-lotus",
|
|
585
|
-
dark: "shiki-theme-kanagawa-dragon"
|
|
586
|
-
},
|
|
587
|
-
selectorModes: ["auto"]
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
id: "shiki-pair-kanagawa-wave",
|
|
591
|
-
label: "Kanagawa Wave",
|
|
592
|
-
description: "Use Kanagawa Lotus in light mode and Kanagawa Wave in dark mode.",
|
|
593
|
-
keywords: [
|
|
594
|
-
"shiki",
|
|
595
|
-
"auto",
|
|
596
|
-
"system",
|
|
597
|
-
"light",
|
|
598
|
-
"dark",
|
|
599
|
-
"kanagawa-lotus",
|
|
600
|
-
"kanagawa-wave",
|
|
601
|
-
"Kanagawa Wave",
|
|
602
|
-
"Kanagawa Lotus",
|
|
603
|
-
"kanagawa",
|
|
604
|
-
"lotus",
|
|
605
|
-
"wave"
|
|
606
|
-
],
|
|
607
|
-
classes: {
|
|
608
|
-
light: "shiki-theme-kanagawa-lotus",
|
|
609
|
-
dark: "shiki-theme-kanagawa-wave"
|
|
610
|
-
},
|
|
611
|
-
selectorModes: ["auto"]
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
id: "shiki-pair-material-theme",
|
|
615
|
-
label: "Material Theme",
|
|
616
|
-
description: "Use Material Theme Lighter in light mode and Material Theme in dark mode.",
|
|
617
|
-
keywords: [
|
|
618
|
-
"shiki",
|
|
619
|
-
"auto",
|
|
620
|
-
"system",
|
|
621
|
-
"light",
|
|
622
|
-
"dark",
|
|
623
|
-
"material-theme-lighter",
|
|
624
|
-
"material-theme",
|
|
625
|
-
"Material Theme",
|
|
626
|
-
"Material Theme Lighter",
|
|
627
|
-
"material",
|
|
628
|
-
"lighter"
|
|
629
|
-
],
|
|
630
|
-
classes: {
|
|
631
|
-
light: "shiki-theme-material-theme-lighter",
|
|
632
|
-
dark: "shiki-theme-material-theme"
|
|
633
|
-
},
|
|
634
|
-
selectorModes: ["auto"]
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
id: "shiki-pair-material-theme-darker",
|
|
638
|
-
label: "Material Theme Darker",
|
|
639
|
-
description: "Use Material Theme Lighter in light mode and Material Theme Darker in dark mode.",
|
|
640
|
-
keywords: [
|
|
641
|
-
"shiki",
|
|
642
|
-
"auto",
|
|
643
|
-
"system",
|
|
644
|
-
"light",
|
|
645
|
-
"dark",
|
|
646
|
-
"material-theme-lighter",
|
|
647
|
-
"material-theme-darker",
|
|
648
|
-
"Material Theme Darker",
|
|
649
|
-
"Material Theme Lighter",
|
|
650
|
-
"material",
|
|
651
|
-
"darker",
|
|
652
|
-
"lighter"
|
|
653
|
-
],
|
|
654
|
-
classes: {
|
|
655
|
-
light: "shiki-theme-material-theme-lighter",
|
|
656
|
-
dark: "shiki-theme-material-theme-darker"
|
|
657
|
-
},
|
|
658
|
-
selectorModes: ["auto"]
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
id: "shiki-pair-material-theme-ocean",
|
|
662
|
-
label: "Material Theme Ocean",
|
|
663
|
-
description: "Use Material Theme Lighter in light mode and Material Theme Ocean in dark mode.",
|
|
664
|
-
keywords: [
|
|
665
|
-
"shiki",
|
|
666
|
-
"auto",
|
|
667
|
-
"system",
|
|
668
|
-
"light",
|
|
669
|
-
"dark",
|
|
670
|
-
"material-theme-lighter",
|
|
671
|
-
"material-theme-ocean",
|
|
672
|
-
"Material Theme Ocean",
|
|
673
|
-
"Material Theme Lighter",
|
|
674
|
-
"material",
|
|
675
|
-
"ocean",
|
|
676
|
-
"lighter"
|
|
677
|
-
],
|
|
678
|
-
classes: {
|
|
679
|
-
light: "shiki-theme-material-theme-lighter",
|
|
680
|
-
dark: "shiki-theme-material-theme-ocean"
|
|
681
|
-
},
|
|
682
|
-
selectorModes: ["auto"]
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
id: "shiki-pair-material-theme-palenight",
|
|
686
|
-
label: "Material Theme Palenight",
|
|
687
|
-
description: "Use Material Theme Lighter in light mode and Material Theme Palenight in dark mode.",
|
|
688
|
-
keywords: [
|
|
689
|
-
"shiki",
|
|
690
|
-
"auto",
|
|
691
|
-
"system",
|
|
692
|
-
"light",
|
|
693
|
-
"dark",
|
|
694
|
-
"material-theme-lighter",
|
|
695
|
-
"material-theme-palenight",
|
|
696
|
-
"Material Theme Palenight",
|
|
697
|
-
"Material Theme Lighter",
|
|
698
|
-
"material",
|
|
699
|
-
"palenight",
|
|
700
|
-
"lighter"
|
|
701
|
-
],
|
|
702
|
-
classes: {
|
|
703
|
-
light: "shiki-theme-material-theme-lighter",
|
|
704
|
-
dark: "shiki-theme-material-theme-palenight"
|
|
705
|
-
},
|
|
706
|
-
selectorModes: ["auto"]
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
id: "shiki-pair-min",
|
|
710
|
-
label: "Min",
|
|
711
|
-
description: "Use Min Light in light mode and Min Dark in dark mode.",
|
|
712
|
-
keywords: [
|
|
713
|
-
"shiki",
|
|
714
|
-
"auto",
|
|
715
|
-
"system",
|
|
716
|
-
"light",
|
|
717
|
-
"dark",
|
|
718
|
-
"min-light",
|
|
719
|
-
"min-dark",
|
|
720
|
-
"Min",
|
|
721
|
-
"Min Light",
|
|
722
|
-
"Min Dark",
|
|
723
|
-
"min",
|
|
724
|
-
"minimal"
|
|
725
|
-
],
|
|
726
|
-
classes: {
|
|
727
|
-
light: "shiki-theme-min-light",
|
|
728
|
-
dark: "shiki-theme-min-dark"
|
|
729
|
-
},
|
|
730
|
-
selectorModes: ["auto"]
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
id: "shiki-pair-night-owl",
|
|
734
|
-
label: "Night Owl",
|
|
735
|
-
description: "Use Night Owl Light in light mode and Night Owl in dark mode.",
|
|
736
|
-
keywords: [
|
|
737
|
-
"shiki",
|
|
738
|
-
"auto",
|
|
739
|
-
"system",
|
|
740
|
-
"light",
|
|
741
|
-
"dark",
|
|
742
|
-
"night-owl-light",
|
|
743
|
-
"night-owl",
|
|
744
|
-
"Night Owl",
|
|
745
|
-
"Night Owl Light",
|
|
746
|
-
"night owl"
|
|
747
|
-
],
|
|
748
|
-
classes: {
|
|
749
|
-
light: "shiki-theme-night-owl-light",
|
|
750
|
-
dark: "shiki-theme-night-owl"
|
|
751
|
-
},
|
|
752
|
-
selectorModes: ["auto"]
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
id: "shiki-pair-one",
|
|
756
|
-
label: "One",
|
|
757
|
-
description: "Use One Light in light mode and One Dark Pro in dark mode.",
|
|
758
|
-
keywords: [
|
|
759
|
-
"shiki",
|
|
760
|
-
"auto",
|
|
761
|
-
"system",
|
|
762
|
-
"light",
|
|
763
|
-
"dark",
|
|
764
|
-
"one-light",
|
|
765
|
-
"one-dark-pro",
|
|
766
|
-
"One",
|
|
767
|
-
"One Light",
|
|
768
|
-
"One Dark Pro",
|
|
769
|
-
"one",
|
|
770
|
-
"atom"
|
|
771
|
-
],
|
|
772
|
-
classes: {
|
|
773
|
-
light: "shiki-theme-one-light",
|
|
774
|
-
dark: "shiki-theme-one-dark-pro"
|
|
775
|
-
},
|
|
776
|
-
selectorModes: ["auto"]
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
id: "shiki-pair-plus",
|
|
780
|
-
label: "Plus",
|
|
781
|
-
description: "Use Light Plus in light mode and Dark Plus in dark mode.",
|
|
782
|
-
keywords: [
|
|
783
|
-
"shiki",
|
|
784
|
-
"auto",
|
|
785
|
-
"system",
|
|
786
|
-
"light",
|
|
787
|
-
"dark",
|
|
788
|
-
"light-plus",
|
|
789
|
-
"dark-plus",
|
|
790
|
-
"Plus",
|
|
791
|
-
"Light Plus",
|
|
792
|
-
"Dark Plus",
|
|
793
|
-
"plus",
|
|
794
|
-
"vscode",
|
|
795
|
-
"visual studio code"
|
|
796
|
-
],
|
|
797
|
-
classes: {
|
|
798
|
-
light: "shiki-theme-light-plus",
|
|
799
|
-
dark: "shiki-theme-dark-plus"
|
|
800
|
-
},
|
|
801
|
-
selectorModes: ["auto"]
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
id: "shiki-pair-rose-pine",
|
|
805
|
-
label: "Rosé Pine",
|
|
806
|
-
description: "Use Rosé Pine Dawn in light mode and Rosé Pine in dark mode.",
|
|
807
|
-
keywords: [
|
|
808
|
-
"shiki",
|
|
809
|
-
"auto",
|
|
810
|
-
"system",
|
|
811
|
-
"light",
|
|
812
|
-
"dark",
|
|
813
|
-
"rose-pine-dawn",
|
|
814
|
-
"rose-pine",
|
|
815
|
-
"Rosé Pine",
|
|
816
|
-
"Rosé Pine Dawn",
|
|
817
|
-
"rose pine",
|
|
818
|
-
"rosé pine",
|
|
819
|
-
"dawn"
|
|
820
|
-
],
|
|
821
|
-
classes: {
|
|
822
|
-
light: "shiki-theme-rose-pine-dawn",
|
|
823
|
-
dark: "shiki-theme-rose-pine"
|
|
824
|
-
},
|
|
825
|
-
selectorModes: ["auto"]
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
id: "shiki-pair-rose-pine-moon",
|
|
829
|
-
label: "Rosé Pine Moon",
|
|
830
|
-
description: "Use Rosé Pine Dawn in light mode and Rosé Pine Moon in dark mode.",
|
|
831
|
-
keywords: [
|
|
832
|
-
"shiki",
|
|
833
|
-
"auto",
|
|
834
|
-
"system",
|
|
835
|
-
"light",
|
|
836
|
-
"dark",
|
|
837
|
-
"rose-pine-dawn",
|
|
838
|
-
"rose-pine-moon",
|
|
839
|
-
"Rosé Pine Moon",
|
|
840
|
-
"Rosé Pine Dawn",
|
|
841
|
-
"rose pine",
|
|
842
|
-
"rosé pine",
|
|
843
|
-
"moon",
|
|
844
|
-
"dawn"
|
|
845
|
-
],
|
|
846
|
-
classes: {
|
|
847
|
-
light: "shiki-theme-rose-pine-dawn",
|
|
848
|
-
dark: "shiki-theme-rose-pine-moon"
|
|
849
|
-
},
|
|
850
|
-
selectorModes: ["auto"]
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
id: "shiki-pair-slack",
|
|
854
|
-
label: "Slack",
|
|
855
|
-
description: "Use Slack Ochin in light mode and Slack Dark in dark mode.",
|
|
856
|
-
keywords: [
|
|
857
|
-
"shiki",
|
|
858
|
-
"auto",
|
|
859
|
-
"system",
|
|
860
|
-
"light",
|
|
861
|
-
"dark",
|
|
862
|
-
"slack-ochin",
|
|
863
|
-
"slack-dark",
|
|
864
|
-
"Slack",
|
|
865
|
-
"Slack Ochin",
|
|
866
|
-
"Slack Dark",
|
|
867
|
-
"slack",
|
|
868
|
-
"ochin"
|
|
869
|
-
],
|
|
870
|
-
classes: {
|
|
871
|
-
light: "shiki-theme-slack-ochin",
|
|
872
|
-
dark: "shiki-theme-slack-dark"
|
|
873
|
-
},
|
|
874
|
-
selectorModes: ["auto"]
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
id: "shiki-pair-solarized",
|
|
878
|
-
label: "Solarized",
|
|
879
|
-
description: "Use Solarized Light in light mode and Solarized Dark in dark mode.",
|
|
880
|
-
keywords: [
|
|
881
|
-
"shiki",
|
|
882
|
-
"auto",
|
|
883
|
-
"system",
|
|
884
|
-
"light",
|
|
885
|
-
"dark",
|
|
886
|
-
"solarized-light",
|
|
887
|
-
"solarized-dark",
|
|
888
|
-
"Solarized",
|
|
889
|
-
"Solarized Light",
|
|
890
|
-
"Solarized Dark",
|
|
891
|
-
"solarized"
|
|
892
|
-
],
|
|
893
|
-
classes: {
|
|
894
|
-
light: "shiki-theme-solarized-light",
|
|
895
|
-
dark: "shiki-theme-solarized-dark"
|
|
896
|
-
},
|
|
897
|
-
selectorModes: ["auto"]
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
id: "shiki-pair-vitesse",
|
|
901
|
-
label: "Vitesse",
|
|
902
|
-
description: "Use Vitesse Light in light mode and Vitesse Dark in dark mode.",
|
|
903
|
-
keywords: [
|
|
904
|
-
"shiki",
|
|
905
|
-
"auto",
|
|
906
|
-
"system",
|
|
907
|
-
"light",
|
|
908
|
-
"dark",
|
|
909
|
-
"vitesse-light",
|
|
910
|
-
"vitesse-dark",
|
|
911
|
-
"Vitesse",
|
|
912
|
-
"Vitesse Light",
|
|
913
|
-
"Vitesse Dark",
|
|
914
|
-
"vitesse"
|
|
915
|
-
],
|
|
916
|
-
classes: {
|
|
917
|
-
light: "shiki-theme-vitesse-light",
|
|
918
|
-
dark: "shiki-theme-vitesse-dark"
|
|
919
|
-
},
|
|
920
|
-
selectorModes: ["auto"]
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
id: "shiki-pair-vitesse-black",
|
|
924
|
-
label: "Vitesse Black",
|
|
925
|
-
description: "Use Vitesse Light in light mode and Vitesse Black in dark mode.",
|
|
926
|
-
keywords: [
|
|
927
|
-
"shiki",
|
|
928
|
-
"auto",
|
|
929
|
-
"system",
|
|
930
|
-
"light",
|
|
931
|
-
"dark",
|
|
932
|
-
"vitesse-light",
|
|
933
|
-
"vitesse-black",
|
|
934
|
-
"Vitesse Black",
|
|
935
|
-
"Vitesse Light",
|
|
936
|
-
"vitesse",
|
|
937
|
-
"black"
|
|
938
|
-
],
|
|
939
|
-
classes: {
|
|
940
|
-
light: "shiki-theme-vitesse-light",
|
|
941
|
-
dark: "shiki-theme-vitesse-black"
|
|
942
|
-
},
|
|
943
|
-
selectorModes: ["auto"]
|
|
944
|
-
}
|
|
945
|
-
];
|
|
946
|
-
var SHIKI_BUNDLED_THEME_DEFINITIONS = [
|
|
947
|
-
{
|
|
948
|
-
id: "shiki-andromeeda",
|
|
949
|
-
label: "Andromeeda",
|
|
950
|
-
description: "Use Andromeeda theme (dark).",
|
|
951
|
-
keywords: [
|
|
952
|
-
"shiki",
|
|
953
|
-
"andromeeda",
|
|
954
|
-
"Andromeeda",
|
|
955
|
-
"andromeeda",
|
|
956
|
-
"dark"
|
|
957
|
-
],
|
|
958
|
-
classes: {
|
|
959
|
-
light: "shiki-theme-andromeeda",
|
|
960
|
-
dark: "shiki-theme-andromeeda"
|
|
961
|
-
},
|
|
962
|
-
mode: "dark"
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
id: "shiki-aurora-x",
|
|
966
|
-
label: "Aurora X",
|
|
967
|
-
description: "Use Aurora X theme (dark).",
|
|
968
|
-
keywords: [
|
|
969
|
-
"shiki",
|
|
970
|
-
"aurora-x",
|
|
971
|
-
"Aurora X",
|
|
972
|
-
"aurora-x",
|
|
973
|
-
"dark"
|
|
974
|
-
],
|
|
975
|
-
classes: {
|
|
976
|
-
light: "shiki-theme-aurora-x",
|
|
977
|
-
dark: "shiki-theme-aurora-x"
|
|
978
|
-
},
|
|
979
|
-
mode: "dark"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
id: "shiki-ayu-dark",
|
|
983
|
-
label: "Ayu Dark",
|
|
984
|
-
description: "Use Ayu Dark theme (dark).",
|
|
985
|
-
keywords: [
|
|
986
|
-
"shiki",
|
|
987
|
-
"ayu-dark",
|
|
988
|
-
"Ayu Dark",
|
|
989
|
-
"ayu-dark",
|
|
990
|
-
"dark"
|
|
991
|
-
],
|
|
992
|
-
classes: {
|
|
993
|
-
light: "shiki-theme-ayu-dark",
|
|
994
|
-
dark: "shiki-theme-ayu-dark"
|
|
995
|
-
},
|
|
996
|
-
mode: "dark"
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
id: "shiki-ayu-light",
|
|
1000
|
-
label: "Ayu Light",
|
|
1001
|
-
description: "Use Ayu Light theme (light).",
|
|
1002
|
-
keywords: [
|
|
1003
|
-
"shiki",
|
|
1004
|
-
"ayu-light",
|
|
1005
|
-
"Ayu Light",
|
|
1006
|
-
"ayu-light",
|
|
1007
|
-
"light"
|
|
1008
|
-
],
|
|
1009
|
-
classes: {
|
|
1010
|
-
light: "shiki-theme-ayu-light",
|
|
1011
|
-
dark: "shiki-theme-ayu-light"
|
|
1012
|
-
},
|
|
1013
|
-
mode: "light"
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
id: "shiki-ayu-mirage",
|
|
1017
|
-
label: "Ayu Mirage",
|
|
1018
|
-
description: "Use Ayu Mirage theme (dark).",
|
|
1019
|
-
keywords: [
|
|
1020
|
-
"shiki",
|
|
1021
|
-
"ayu-mirage",
|
|
1022
|
-
"Ayu Mirage",
|
|
1023
|
-
"ayu-mirage",
|
|
1024
|
-
"dark"
|
|
1025
|
-
],
|
|
1026
|
-
classes: {
|
|
1027
|
-
light: "shiki-theme-ayu-mirage",
|
|
1028
|
-
dark: "shiki-theme-ayu-mirage"
|
|
1029
|
-
},
|
|
1030
|
-
mode: "dark"
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
id: "shiki-catppuccin-frappe",
|
|
1034
|
-
label: "Catppuccin Frappé",
|
|
1035
|
-
description: "Use Catppuccin Frappé theme (dark).",
|
|
1036
|
-
keywords: [
|
|
1037
|
-
"shiki",
|
|
1038
|
-
"catppuccin-frappe",
|
|
1039
|
-
"Catppuccin Frappé",
|
|
1040
|
-
"catppuccin-frappe",
|
|
1041
|
-
"dark"
|
|
1042
|
-
],
|
|
1043
|
-
classes: {
|
|
1044
|
-
light: "shiki-theme-catppuccin-frappe",
|
|
1045
|
-
dark: "shiki-theme-catppuccin-frappe"
|
|
1046
|
-
},
|
|
1047
|
-
mode: "dark"
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
id: "shiki-catppuccin-latte",
|
|
1051
|
-
label: "Catppuccin Latte",
|
|
1052
|
-
description: "Use Catppuccin Latte theme (light).",
|
|
1053
|
-
keywords: [
|
|
1054
|
-
"shiki",
|
|
1055
|
-
"catppuccin-latte",
|
|
1056
|
-
"Catppuccin Latte",
|
|
1057
|
-
"catppuccin-latte",
|
|
1058
|
-
"light"
|
|
1059
|
-
],
|
|
1060
|
-
classes: {
|
|
1061
|
-
light: "shiki-theme-catppuccin-latte",
|
|
1062
|
-
dark: "shiki-theme-catppuccin-latte"
|
|
1063
|
-
},
|
|
1064
|
-
mode: "light"
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
id: "shiki-catppuccin-macchiato",
|
|
1068
|
-
label: "Catppuccin Macchiato",
|
|
1069
|
-
description: "Use Catppuccin Macchiato theme (dark).",
|
|
1070
|
-
keywords: [
|
|
1071
|
-
"shiki",
|
|
1072
|
-
"catppuccin-macchiato",
|
|
1073
|
-
"Catppuccin Macchiato",
|
|
1074
|
-
"catppuccin-macchiato",
|
|
1075
|
-
"dark"
|
|
1076
|
-
],
|
|
1077
|
-
classes: {
|
|
1078
|
-
light: "shiki-theme-catppuccin-macchiato",
|
|
1079
|
-
dark: "shiki-theme-catppuccin-macchiato"
|
|
1080
|
-
},
|
|
1081
|
-
mode: "dark"
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
id: "shiki-catppuccin-mocha",
|
|
1085
|
-
label: "Catppuccin Mocha",
|
|
1086
|
-
description: "Use Catppuccin Mocha theme (dark).",
|
|
1087
|
-
keywords: [
|
|
1088
|
-
"shiki",
|
|
1089
|
-
"catppuccin-mocha",
|
|
1090
|
-
"Catppuccin Mocha",
|
|
1091
|
-
"catppuccin-mocha",
|
|
1092
|
-
"dark"
|
|
1093
|
-
],
|
|
1094
|
-
classes: {
|
|
1095
|
-
light: "shiki-theme-catppuccin-mocha",
|
|
1096
|
-
dark: "shiki-theme-catppuccin-mocha"
|
|
1097
|
-
},
|
|
1098
|
-
mode: "dark"
|
|
1099
|
-
},
|
|
1100
|
-
{
|
|
1101
|
-
id: "shiki-dark-plus",
|
|
1102
|
-
label: "Dark Plus",
|
|
1103
|
-
description: "Use Dark Plus theme (dark).",
|
|
1104
|
-
keywords: [
|
|
1105
|
-
"shiki",
|
|
1106
|
-
"dark-plus",
|
|
1107
|
-
"Dark Plus",
|
|
1108
|
-
"dark-plus",
|
|
1109
|
-
"dark"
|
|
1110
|
-
],
|
|
1111
|
-
classes: {
|
|
1112
|
-
light: "shiki-theme-dark-plus",
|
|
1113
|
-
dark: "shiki-theme-dark-plus"
|
|
1114
|
-
},
|
|
1115
|
-
mode: "dark"
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
id: "shiki-dracula",
|
|
1119
|
-
label: "Dracula Theme",
|
|
1120
|
-
description: "Use Dracula Theme theme (dark).",
|
|
1121
|
-
keywords: [
|
|
1122
|
-
"shiki",
|
|
1123
|
-
"dracula",
|
|
1124
|
-
"Dracula Theme",
|
|
1125
|
-
"dracula",
|
|
1126
|
-
"dark"
|
|
1127
|
-
],
|
|
1128
|
-
classes: {
|
|
1129
|
-
light: "shiki-theme-dracula",
|
|
1130
|
-
dark: "shiki-theme-dracula"
|
|
1131
|
-
},
|
|
1132
|
-
mode: "dark"
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
id: "shiki-dracula-soft",
|
|
1136
|
-
label: "Dracula Theme Soft",
|
|
1137
|
-
description: "Use Dracula Theme Soft theme (dark).",
|
|
1138
|
-
keywords: [
|
|
1139
|
-
"shiki",
|
|
1140
|
-
"dracula-soft",
|
|
1141
|
-
"Dracula Theme Soft",
|
|
1142
|
-
"dracula-soft",
|
|
1143
|
-
"dark"
|
|
1144
|
-
],
|
|
1145
|
-
classes: {
|
|
1146
|
-
light: "shiki-theme-dracula-soft",
|
|
1147
|
-
dark: "shiki-theme-dracula-soft"
|
|
1148
|
-
},
|
|
1149
|
-
mode: "dark"
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
id: "shiki-everforest-dark",
|
|
1153
|
-
label: "Everforest Dark",
|
|
1154
|
-
description: "Use Everforest Dark theme (dark).",
|
|
1155
|
-
keywords: [
|
|
1156
|
-
"shiki",
|
|
1157
|
-
"everforest-dark",
|
|
1158
|
-
"Everforest Dark",
|
|
1159
|
-
"everforest-dark",
|
|
1160
|
-
"dark"
|
|
1161
|
-
],
|
|
1162
|
-
classes: {
|
|
1163
|
-
light: "shiki-theme-everforest-dark",
|
|
1164
|
-
dark: "shiki-theme-everforest-dark"
|
|
1165
|
-
},
|
|
1166
|
-
mode: "dark"
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
id: "shiki-everforest-light",
|
|
1170
|
-
label: "Everforest Light",
|
|
1171
|
-
description: "Use Everforest Light theme (light).",
|
|
1172
|
-
keywords: [
|
|
1173
|
-
"shiki",
|
|
1174
|
-
"everforest-light",
|
|
1175
|
-
"Everforest Light",
|
|
1176
|
-
"everforest-light",
|
|
1177
|
-
"light"
|
|
1178
|
-
],
|
|
1179
|
-
classes: {
|
|
1180
|
-
light: "shiki-theme-everforest-light",
|
|
1181
|
-
dark: "shiki-theme-everforest-light"
|
|
1182
|
-
},
|
|
1183
|
-
mode: "light"
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
id: "shiki-github-dark",
|
|
1187
|
-
label: "GitHub Dark",
|
|
1188
|
-
description: "Use GitHub Dark theme (dark).",
|
|
1189
|
-
keywords: [
|
|
1190
|
-
"shiki",
|
|
1191
|
-
"github-dark",
|
|
1192
|
-
"GitHub Dark",
|
|
1193
|
-
"github-dark",
|
|
1194
|
-
"dark"
|
|
1195
|
-
],
|
|
1196
|
-
classes: {
|
|
1197
|
-
light: "shiki-theme-github-dark",
|
|
1198
|
-
dark: "shiki-theme-github-dark"
|
|
1199
|
-
},
|
|
1200
|
-
mode: "dark"
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
id: "shiki-github-dark-default",
|
|
1204
|
-
label: "GitHub Dark Default",
|
|
1205
|
-
description: "Use GitHub Dark Default theme (dark).",
|
|
1206
|
-
keywords: [
|
|
1207
|
-
"shiki",
|
|
1208
|
-
"github-dark-default",
|
|
1209
|
-
"GitHub Dark Default",
|
|
1210
|
-
"github-dark-default",
|
|
1211
|
-
"dark"
|
|
1212
|
-
],
|
|
1213
|
-
classes: {
|
|
1214
|
-
light: "shiki-theme-github-dark-default",
|
|
1215
|
-
dark: "shiki-theme-github-dark-default"
|
|
1216
|
-
},
|
|
1217
|
-
mode: "dark"
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
id: "shiki-github-dark-dimmed",
|
|
1221
|
-
label: "GitHub Dark Dimmed",
|
|
1222
|
-
description: "Use GitHub Dark Dimmed theme (dark).",
|
|
1223
|
-
keywords: [
|
|
1224
|
-
"shiki",
|
|
1225
|
-
"github-dark-dimmed",
|
|
1226
|
-
"GitHub Dark Dimmed",
|
|
1227
|
-
"github-dark-dimmed",
|
|
1228
|
-
"dark"
|
|
1229
|
-
],
|
|
1230
|
-
classes: {
|
|
1231
|
-
light: "shiki-theme-github-dark-dimmed",
|
|
1232
|
-
dark: "shiki-theme-github-dark-dimmed"
|
|
1233
|
-
},
|
|
1234
|
-
mode: "dark"
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
id: "shiki-github-dark-high-contrast",
|
|
1238
|
-
label: "GitHub Dark High Contrast",
|
|
1239
|
-
description: "Use GitHub Dark High Contrast theme (dark).",
|
|
1240
|
-
keywords: [
|
|
1241
|
-
"shiki",
|
|
1242
|
-
"github-dark-high-contrast",
|
|
1243
|
-
"GitHub Dark High Contrast",
|
|
1244
|
-
"github-dark-high-contrast",
|
|
1245
|
-
"dark"
|
|
1246
|
-
],
|
|
1247
|
-
classes: {
|
|
1248
|
-
light: "shiki-theme-github-dark-high-contrast",
|
|
1249
|
-
dark: "shiki-theme-github-dark-high-contrast"
|
|
1250
|
-
},
|
|
1251
|
-
mode: "dark"
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
id: "shiki-github-light",
|
|
1255
|
-
label: "GitHub Light",
|
|
1256
|
-
description: "Use GitHub Light theme (light).",
|
|
1257
|
-
keywords: [
|
|
1258
|
-
"shiki",
|
|
1259
|
-
"github-light",
|
|
1260
|
-
"GitHub Light",
|
|
1261
|
-
"github-light",
|
|
1262
|
-
"light"
|
|
1263
|
-
],
|
|
1264
|
-
classes: {
|
|
1265
|
-
light: "shiki-theme-github-light",
|
|
1266
|
-
dark: "shiki-theme-github-light"
|
|
1267
|
-
},
|
|
1268
|
-
mode: "light"
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
id: "shiki-github-light-default",
|
|
1272
|
-
label: "GitHub Light Default",
|
|
1273
|
-
description: "Use GitHub Light Default theme (light).",
|
|
1274
|
-
keywords: [
|
|
1275
|
-
"shiki",
|
|
1276
|
-
"github-light-default",
|
|
1277
|
-
"GitHub Light Default",
|
|
1278
|
-
"github-light-default",
|
|
1279
|
-
"light"
|
|
1280
|
-
],
|
|
1281
|
-
classes: {
|
|
1282
|
-
light: "shiki-theme-github-light-default",
|
|
1283
|
-
dark: "shiki-theme-github-light-default"
|
|
1284
|
-
},
|
|
1285
|
-
mode: "light"
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
id: "shiki-github-light-high-contrast",
|
|
1289
|
-
label: "GitHub Light High Contrast",
|
|
1290
|
-
description: "Use GitHub Light High Contrast theme (light).",
|
|
1291
|
-
keywords: [
|
|
1292
|
-
"shiki",
|
|
1293
|
-
"github-light-high-contrast",
|
|
1294
|
-
"GitHub Light High Contrast",
|
|
1295
|
-
"github-light-high-contrast",
|
|
1296
|
-
"light"
|
|
1297
|
-
],
|
|
1298
|
-
classes: {
|
|
1299
|
-
light: "shiki-theme-github-light-high-contrast",
|
|
1300
|
-
dark: "shiki-theme-github-light-high-contrast"
|
|
1301
|
-
},
|
|
1302
|
-
mode: "light"
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
id: "shiki-gruvbox-dark-hard",
|
|
1306
|
-
label: "Gruvbox Dark Hard",
|
|
1307
|
-
description: "Use Gruvbox Dark Hard theme (dark).",
|
|
1308
|
-
keywords: [
|
|
1309
|
-
"shiki",
|
|
1310
|
-
"gruvbox-dark-hard",
|
|
1311
|
-
"Gruvbox Dark Hard",
|
|
1312
|
-
"gruvbox-dark-hard",
|
|
1313
|
-
"dark"
|
|
1314
|
-
],
|
|
1315
|
-
classes: {
|
|
1316
|
-
light: "shiki-theme-gruvbox-dark-hard",
|
|
1317
|
-
dark: "shiki-theme-gruvbox-dark-hard"
|
|
1318
|
-
},
|
|
1319
|
-
mode: "dark"
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
id: "shiki-gruvbox-dark-medium",
|
|
1323
|
-
label: "Gruvbox Dark Medium",
|
|
1324
|
-
description: "Use Gruvbox Dark Medium theme (dark).",
|
|
1325
|
-
keywords: [
|
|
1326
|
-
"shiki",
|
|
1327
|
-
"gruvbox-dark-medium",
|
|
1328
|
-
"Gruvbox Dark Medium",
|
|
1329
|
-
"gruvbox-dark-medium",
|
|
1330
|
-
"dark"
|
|
1331
|
-
],
|
|
1332
|
-
classes: {
|
|
1333
|
-
light: "shiki-theme-gruvbox-dark-medium",
|
|
1334
|
-
dark: "shiki-theme-gruvbox-dark-medium"
|
|
1335
|
-
},
|
|
1336
|
-
mode: "dark"
|
|
1337
|
-
},
|
|
1338
|
-
{
|
|
1339
|
-
id: "shiki-gruvbox-dark-soft",
|
|
1340
|
-
label: "Gruvbox Dark Soft",
|
|
1341
|
-
description: "Use Gruvbox Dark Soft theme (dark).",
|
|
1342
|
-
keywords: [
|
|
1343
|
-
"shiki",
|
|
1344
|
-
"gruvbox-dark-soft",
|
|
1345
|
-
"Gruvbox Dark Soft",
|
|
1346
|
-
"gruvbox-dark-soft",
|
|
1347
|
-
"dark"
|
|
1348
|
-
],
|
|
1349
|
-
classes: {
|
|
1350
|
-
light: "shiki-theme-gruvbox-dark-soft",
|
|
1351
|
-
dark: "shiki-theme-gruvbox-dark-soft"
|
|
1352
|
-
},
|
|
1353
|
-
mode: "dark"
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
id: "shiki-gruvbox-light-hard",
|
|
1357
|
-
label: "Gruvbox Light Hard",
|
|
1358
|
-
description: "Use Gruvbox Light Hard theme (light).",
|
|
1359
|
-
keywords: [
|
|
1360
|
-
"shiki",
|
|
1361
|
-
"gruvbox-light-hard",
|
|
1362
|
-
"Gruvbox Light Hard",
|
|
1363
|
-
"gruvbox-light-hard",
|
|
1364
|
-
"light"
|
|
1365
|
-
],
|
|
1366
|
-
classes: {
|
|
1367
|
-
light: "shiki-theme-gruvbox-light-hard",
|
|
1368
|
-
dark: "shiki-theme-gruvbox-light-hard"
|
|
1369
|
-
},
|
|
1370
|
-
mode: "light"
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
id: "shiki-gruvbox-light-medium",
|
|
1374
|
-
label: "Gruvbox Light Medium",
|
|
1375
|
-
description: "Use Gruvbox Light Medium theme (light).",
|
|
1376
|
-
keywords: [
|
|
1377
|
-
"shiki",
|
|
1378
|
-
"gruvbox-light-medium",
|
|
1379
|
-
"Gruvbox Light Medium",
|
|
1380
|
-
"gruvbox-light-medium",
|
|
1381
|
-
"light"
|
|
1382
|
-
],
|
|
1383
|
-
classes: {
|
|
1384
|
-
light: "shiki-theme-gruvbox-light-medium",
|
|
1385
|
-
dark: "shiki-theme-gruvbox-light-medium"
|
|
1386
|
-
},
|
|
1387
|
-
mode: "light"
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
id: "shiki-gruvbox-light-soft",
|
|
1391
|
-
label: "Gruvbox Light Soft",
|
|
1392
|
-
description: "Use Gruvbox Light Soft theme (light).",
|
|
1393
|
-
keywords: [
|
|
1394
|
-
"shiki",
|
|
1395
|
-
"gruvbox-light-soft",
|
|
1396
|
-
"Gruvbox Light Soft",
|
|
1397
|
-
"gruvbox-light-soft",
|
|
1398
|
-
"light"
|
|
1399
|
-
],
|
|
1400
|
-
classes: {
|
|
1401
|
-
light: "shiki-theme-gruvbox-light-soft",
|
|
1402
|
-
dark: "shiki-theme-gruvbox-light-soft"
|
|
1403
|
-
},
|
|
1404
|
-
mode: "light"
|
|
1405
|
-
},
|
|
1406
|
-
{
|
|
1407
|
-
id: "shiki-horizon",
|
|
1408
|
-
label: "Horizon",
|
|
1409
|
-
description: "Use Horizon theme (dark).",
|
|
1410
|
-
keywords: [
|
|
1411
|
-
"shiki",
|
|
1412
|
-
"horizon",
|
|
1413
|
-
"Horizon",
|
|
1414
|
-
"horizon",
|
|
1415
|
-
"dark"
|
|
1416
|
-
],
|
|
1417
|
-
classes: {
|
|
1418
|
-
light: "shiki-theme-horizon",
|
|
1419
|
-
dark: "shiki-theme-horizon"
|
|
1420
|
-
},
|
|
1421
|
-
mode: "dark"
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
id: "shiki-horizon-bright",
|
|
1425
|
-
label: "Horizon Bright",
|
|
1426
|
-
description: "Use Horizon Bright theme (dark).",
|
|
1427
|
-
keywords: [
|
|
1428
|
-
"shiki",
|
|
1429
|
-
"horizon-bright",
|
|
1430
|
-
"Horizon Bright",
|
|
1431
|
-
"horizon-bright",
|
|
1432
|
-
"dark"
|
|
1433
|
-
],
|
|
1434
|
-
classes: {
|
|
1435
|
-
light: "shiki-theme-horizon-bright",
|
|
1436
|
-
dark: "shiki-theme-horizon-bright"
|
|
1437
|
-
},
|
|
1438
|
-
mode: "dark"
|
|
1439
|
-
},
|
|
1440
|
-
{
|
|
1441
|
-
id: "shiki-houston",
|
|
1442
|
-
label: "Houston",
|
|
1443
|
-
description: "Use Houston theme (dark).",
|
|
1444
|
-
keywords: [
|
|
1445
|
-
"shiki",
|
|
1446
|
-
"houston",
|
|
1447
|
-
"Houston",
|
|
1448
|
-
"houston",
|
|
1449
|
-
"dark"
|
|
1450
|
-
],
|
|
1451
|
-
classes: {
|
|
1452
|
-
light: "shiki-theme-houston",
|
|
1453
|
-
dark: "shiki-theme-houston"
|
|
1454
|
-
},
|
|
1455
|
-
mode: "dark"
|
|
1456
|
-
},
|
|
1457
|
-
{
|
|
1458
|
-
id: "shiki-kanagawa-dragon",
|
|
1459
|
-
label: "Kanagawa Dragon",
|
|
1460
|
-
description: "Use Kanagawa Dragon theme (dark).",
|
|
1461
|
-
keywords: [
|
|
1462
|
-
"shiki",
|
|
1463
|
-
"kanagawa-dragon",
|
|
1464
|
-
"Kanagawa Dragon",
|
|
1465
|
-
"kanagawa-dragon",
|
|
1466
|
-
"dark"
|
|
1467
|
-
],
|
|
1468
|
-
classes: {
|
|
1469
|
-
light: "shiki-theme-kanagawa-dragon",
|
|
1470
|
-
dark: "shiki-theme-kanagawa-dragon"
|
|
1471
|
-
},
|
|
1472
|
-
mode: "dark"
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
id: "shiki-kanagawa-lotus",
|
|
1476
|
-
label: "Kanagawa Lotus",
|
|
1477
|
-
description: "Use Kanagawa Lotus theme (light).",
|
|
1478
|
-
keywords: [
|
|
1479
|
-
"shiki",
|
|
1480
|
-
"kanagawa-lotus",
|
|
1481
|
-
"Kanagawa Lotus",
|
|
1482
|
-
"kanagawa-lotus",
|
|
1483
|
-
"light"
|
|
1484
|
-
],
|
|
1485
|
-
classes: {
|
|
1486
|
-
light: "shiki-theme-kanagawa-lotus",
|
|
1487
|
-
dark: "shiki-theme-kanagawa-lotus"
|
|
1488
|
-
},
|
|
1489
|
-
mode: "light"
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
id: "shiki-kanagawa-wave",
|
|
1493
|
-
label: "Kanagawa Wave",
|
|
1494
|
-
description: "Use Kanagawa Wave theme (dark).",
|
|
1495
|
-
keywords: [
|
|
1496
|
-
"shiki",
|
|
1497
|
-
"kanagawa-wave",
|
|
1498
|
-
"Kanagawa Wave",
|
|
1499
|
-
"kanagawa-wave",
|
|
1500
|
-
"dark"
|
|
1501
|
-
],
|
|
1502
|
-
classes: {
|
|
1503
|
-
light: "shiki-theme-kanagawa-wave",
|
|
1504
|
-
dark: "shiki-theme-kanagawa-wave"
|
|
1505
|
-
},
|
|
1506
|
-
mode: "dark"
|
|
1507
|
-
},
|
|
1508
|
-
{
|
|
1509
|
-
id: "shiki-laserwave",
|
|
1510
|
-
label: "LaserWave",
|
|
1511
|
-
description: "Use LaserWave theme (dark).",
|
|
1512
|
-
keywords: [
|
|
1513
|
-
"shiki",
|
|
1514
|
-
"laserwave",
|
|
1515
|
-
"LaserWave",
|
|
1516
|
-
"laserwave",
|
|
1517
|
-
"dark"
|
|
1518
|
-
],
|
|
1519
|
-
classes: {
|
|
1520
|
-
light: "shiki-theme-laserwave",
|
|
1521
|
-
dark: "shiki-theme-laserwave"
|
|
1522
|
-
},
|
|
1523
|
-
mode: "dark"
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
id: "shiki-light-plus",
|
|
1527
|
-
label: "Light Plus",
|
|
1528
|
-
description: "Use Light Plus theme (light).",
|
|
1529
|
-
keywords: [
|
|
1530
|
-
"shiki",
|
|
1531
|
-
"light-plus",
|
|
1532
|
-
"Light Plus",
|
|
1533
|
-
"light-plus",
|
|
1534
|
-
"light"
|
|
1535
|
-
],
|
|
1536
|
-
classes: {
|
|
1537
|
-
light: "shiki-theme-light-plus",
|
|
1538
|
-
dark: "shiki-theme-light-plus"
|
|
1539
|
-
},
|
|
1540
|
-
mode: "light"
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
id: "shiki-material-theme",
|
|
1544
|
-
label: "Material Theme",
|
|
1545
|
-
description: "Use Material Theme theme (dark).",
|
|
1546
|
-
keywords: [
|
|
1547
|
-
"shiki",
|
|
1548
|
-
"material-theme",
|
|
1549
|
-
"Material Theme",
|
|
1550
|
-
"material-theme",
|
|
1551
|
-
"dark"
|
|
1552
|
-
],
|
|
1553
|
-
classes: {
|
|
1554
|
-
light: "shiki-theme-material-theme",
|
|
1555
|
-
dark: "shiki-theme-material-theme"
|
|
1556
|
-
},
|
|
1557
|
-
mode: "dark"
|
|
1558
|
-
},
|
|
1559
|
-
{
|
|
1560
|
-
id: "shiki-material-theme-darker",
|
|
1561
|
-
label: "Material Theme Darker",
|
|
1562
|
-
description: "Use Material Theme Darker theme (dark).",
|
|
1563
|
-
keywords: [
|
|
1564
|
-
"shiki",
|
|
1565
|
-
"material-theme-darker",
|
|
1566
|
-
"Material Theme Darker",
|
|
1567
|
-
"material-theme-darker",
|
|
1568
|
-
"dark"
|
|
1569
|
-
],
|
|
1570
|
-
classes: {
|
|
1571
|
-
light: "shiki-theme-material-theme-darker",
|
|
1572
|
-
dark: "shiki-theme-material-theme-darker"
|
|
1573
|
-
},
|
|
1574
|
-
mode: "dark"
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
id: "shiki-material-theme-lighter",
|
|
1578
|
-
label: "Material Theme Lighter",
|
|
1579
|
-
description: "Use Material Theme Lighter theme (light).",
|
|
1580
|
-
keywords: [
|
|
1581
|
-
"shiki",
|
|
1582
|
-
"material-theme-lighter",
|
|
1583
|
-
"Material Theme Lighter",
|
|
1584
|
-
"material-theme-lighter",
|
|
1585
|
-
"light"
|
|
1586
|
-
],
|
|
1587
|
-
classes: {
|
|
1588
|
-
light: "shiki-theme-material-theme-lighter",
|
|
1589
|
-
dark: "shiki-theme-material-theme-lighter"
|
|
1590
|
-
},
|
|
1591
|
-
mode: "light"
|
|
1592
|
-
},
|
|
1593
|
-
{
|
|
1594
|
-
id: "shiki-material-theme-ocean",
|
|
1595
|
-
label: "Material Theme Ocean",
|
|
1596
|
-
description: "Use Material Theme Ocean theme (dark).",
|
|
1597
|
-
keywords: [
|
|
1598
|
-
"shiki",
|
|
1599
|
-
"material-theme-ocean",
|
|
1600
|
-
"Material Theme Ocean",
|
|
1601
|
-
"material-theme-ocean",
|
|
1602
|
-
"dark"
|
|
1603
|
-
],
|
|
1604
|
-
classes: {
|
|
1605
|
-
light: "shiki-theme-material-theme-ocean",
|
|
1606
|
-
dark: "shiki-theme-material-theme-ocean"
|
|
1607
|
-
},
|
|
1608
|
-
mode: "dark"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
id: "shiki-material-theme-palenight",
|
|
1612
|
-
label: "Material Theme Palenight",
|
|
1613
|
-
description: "Use Material Theme Palenight theme (dark).",
|
|
1614
|
-
keywords: [
|
|
1615
|
-
"shiki",
|
|
1616
|
-
"material-theme-palenight",
|
|
1617
|
-
"Material Theme Palenight",
|
|
1618
|
-
"material-theme-palenight",
|
|
1619
|
-
"dark"
|
|
1620
|
-
],
|
|
1621
|
-
classes: {
|
|
1622
|
-
light: "shiki-theme-material-theme-palenight",
|
|
1623
|
-
dark: "shiki-theme-material-theme-palenight"
|
|
1624
|
-
},
|
|
1625
|
-
mode: "dark"
|
|
1626
|
-
},
|
|
1627
|
-
{
|
|
1628
|
-
id: "shiki-min-dark",
|
|
1629
|
-
label: "Min Dark",
|
|
1630
|
-
description: "Use Min Dark theme (dark).",
|
|
1631
|
-
keywords: [
|
|
1632
|
-
"shiki",
|
|
1633
|
-
"min-dark",
|
|
1634
|
-
"Min Dark",
|
|
1635
|
-
"min-dark",
|
|
1636
|
-
"dark"
|
|
1637
|
-
],
|
|
1638
|
-
classes: {
|
|
1639
|
-
light: "shiki-theme-min-dark",
|
|
1640
|
-
dark: "shiki-theme-min-dark"
|
|
1641
|
-
},
|
|
1642
|
-
mode: "dark"
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
id: "shiki-min-light",
|
|
1646
|
-
label: "Min Light",
|
|
1647
|
-
description: "Use Min Light theme (light).",
|
|
1648
|
-
keywords: [
|
|
1649
|
-
"shiki",
|
|
1650
|
-
"min-light",
|
|
1651
|
-
"Min Light",
|
|
1652
|
-
"min-light",
|
|
1653
|
-
"light"
|
|
1654
|
-
],
|
|
1655
|
-
classes: {
|
|
1656
|
-
light: "shiki-theme-min-light",
|
|
1657
|
-
dark: "shiki-theme-min-light"
|
|
1658
|
-
},
|
|
1659
|
-
mode: "light"
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
id: "shiki-monokai",
|
|
1663
|
-
label: "Monokai",
|
|
1664
|
-
description: "Use Monokai theme (dark).",
|
|
1665
|
-
keywords: [
|
|
1666
|
-
"shiki",
|
|
1667
|
-
"monokai",
|
|
1668
|
-
"Monokai",
|
|
1669
|
-
"monokai",
|
|
1670
|
-
"dark"
|
|
1671
|
-
],
|
|
1672
|
-
classes: {
|
|
1673
|
-
light: "shiki-theme-monokai",
|
|
1674
|
-
dark: "shiki-theme-monokai"
|
|
1675
|
-
},
|
|
1676
|
-
mode: "dark"
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
id: "shiki-night-owl",
|
|
1680
|
-
label: "Night Owl",
|
|
1681
|
-
description: "Use Night Owl theme (dark).",
|
|
1682
|
-
keywords: [
|
|
1683
|
-
"shiki",
|
|
1684
|
-
"night-owl",
|
|
1685
|
-
"Night Owl",
|
|
1686
|
-
"night-owl",
|
|
1687
|
-
"dark"
|
|
1688
|
-
],
|
|
1689
|
-
classes: {
|
|
1690
|
-
light: "shiki-theme-night-owl",
|
|
1691
|
-
dark: "shiki-theme-night-owl"
|
|
1692
|
-
},
|
|
1693
|
-
mode: "dark"
|
|
1694
|
-
},
|
|
1695
|
-
{
|
|
1696
|
-
id: "shiki-night-owl-light",
|
|
1697
|
-
label: "Night Owl Light",
|
|
1698
|
-
description: "Use Night Owl Light theme (light).",
|
|
1699
|
-
keywords: [
|
|
1700
|
-
"shiki",
|
|
1701
|
-
"night-owl-light",
|
|
1702
|
-
"Night Owl Light",
|
|
1703
|
-
"night-owl-light",
|
|
1704
|
-
"light"
|
|
1705
|
-
],
|
|
1706
|
-
classes: {
|
|
1707
|
-
light: "shiki-theme-night-owl-light",
|
|
1708
|
-
dark: "shiki-theme-night-owl-light"
|
|
1709
|
-
},
|
|
1710
|
-
mode: "light"
|
|
1711
|
-
},
|
|
1712
|
-
{
|
|
1713
|
-
id: "shiki-nord",
|
|
1714
|
-
label: "Nord",
|
|
1715
|
-
description: "Use Nord theme (dark).",
|
|
1716
|
-
keywords: [
|
|
1717
|
-
"shiki",
|
|
1718
|
-
"nord",
|
|
1719
|
-
"Nord",
|
|
1720
|
-
"nord",
|
|
1721
|
-
"dark"
|
|
1722
|
-
],
|
|
1723
|
-
classes: {
|
|
1724
|
-
light: "shiki-theme-nord",
|
|
1725
|
-
dark: "shiki-theme-nord"
|
|
1726
|
-
},
|
|
1727
|
-
mode: "dark"
|
|
1728
|
-
},
|
|
1729
|
-
{
|
|
1730
|
-
id: "shiki-one-dark-pro",
|
|
1731
|
-
label: "One Dark Pro",
|
|
1732
|
-
description: "Use One Dark Pro theme (dark).",
|
|
1733
|
-
keywords: [
|
|
1734
|
-
"shiki",
|
|
1735
|
-
"one-dark-pro",
|
|
1736
|
-
"One Dark Pro",
|
|
1737
|
-
"one-dark-pro",
|
|
1738
|
-
"dark"
|
|
1739
|
-
],
|
|
1740
|
-
classes: {
|
|
1741
|
-
light: "shiki-theme-one-dark-pro",
|
|
1742
|
-
dark: "shiki-theme-one-dark-pro"
|
|
1743
|
-
},
|
|
1744
|
-
mode: "dark"
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
id: "shiki-one-light",
|
|
1748
|
-
label: "One Light",
|
|
1749
|
-
description: "Use One Light theme (light).",
|
|
1750
|
-
keywords: [
|
|
1751
|
-
"shiki",
|
|
1752
|
-
"one-light",
|
|
1753
|
-
"One Light",
|
|
1754
|
-
"one-light",
|
|
1755
|
-
"light"
|
|
1756
|
-
],
|
|
1757
|
-
classes: {
|
|
1758
|
-
light: "shiki-theme-one-light",
|
|
1759
|
-
dark: "shiki-theme-one-light"
|
|
1760
|
-
},
|
|
1761
|
-
mode: "light"
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
id: "shiki-plastic",
|
|
1765
|
-
label: "Plastic",
|
|
1766
|
-
description: "Use Plastic theme (dark).",
|
|
1767
|
-
keywords: [
|
|
1768
|
-
"shiki",
|
|
1769
|
-
"plastic",
|
|
1770
|
-
"Plastic",
|
|
1771
|
-
"plastic",
|
|
1772
|
-
"dark"
|
|
1773
|
-
],
|
|
1774
|
-
classes: {
|
|
1775
|
-
light: "shiki-theme-plastic",
|
|
1776
|
-
dark: "shiki-theme-plastic"
|
|
1777
|
-
},
|
|
1778
|
-
mode: "dark"
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
id: "shiki-poimandres",
|
|
1782
|
-
label: "Poimandres",
|
|
1783
|
-
description: "Use Poimandres theme (dark).",
|
|
1784
|
-
keywords: [
|
|
1785
|
-
"shiki",
|
|
1786
|
-
"poimandres",
|
|
1787
|
-
"Poimandres",
|
|
1788
|
-
"poimandres",
|
|
1789
|
-
"dark"
|
|
1790
|
-
],
|
|
1791
|
-
classes: {
|
|
1792
|
-
light: "shiki-theme-poimandres",
|
|
1793
|
-
dark: "shiki-theme-poimandres"
|
|
1794
|
-
},
|
|
1795
|
-
mode: "dark"
|
|
1796
|
-
},
|
|
1797
|
-
{
|
|
1798
|
-
id: "shiki-red",
|
|
1799
|
-
label: "Red",
|
|
1800
|
-
description: "Use Red theme (dark).",
|
|
1801
|
-
keywords: [
|
|
1802
|
-
"shiki",
|
|
1803
|
-
"red",
|
|
1804
|
-
"Red",
|
|
1805
|
-
"red",
|
|
1806
|
-
"dark"
|
|
1807
|
-
],
|
|
1808
|
-
classes: {
|
|
1809
|
-
light: "shiki-theme-red",
|
|
1810
|
-
dark: "shiki-theme-red"
|
|
1811
|
-
},
|
|
1812
|
-
mode: "dark"
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
id: "shiki-rose-pine",
|
|
1816
|
-
label: "Rosé Pine",
|
|
1817
|
-
description: "Use Rosé Pine theme (dark).",
|
|
1818
|
-
keywords: [
|
|
1819
|
-
"shiki",
|
|
1820
|
-
"rose-pine",
|
|
1821
|
-
"Rosé Pine",
|
|
1822
|
-
"rose-pine",
|
|
1823
|
-
"dark"
|
|
1824
|
-
],
|
|
1825
|
-
classes: {
|
|
1826
|
-
light: "shiki-theme-rose-pine",
|
|
1827
|
-
dark: "shiki-theme-rose-pine"
|
|
1828
|
-
},
|
|
1829
|
-
mode: "dark"
|
|
1830
|
-
},
|
|
1831
|
-
{
|
|
1832
|
-
id: "shiki-rose-pine-dawn",
|
|
1833
|
-
label: "Rosé Pine Dawn",
|
|
1834
|
-
description: "Use Rosé Pine Dawn theme (light).",
|
|
1835
|
-
keywords: [
|
|
1836
|
-
"shiki",
|
|
1837
|
-
"rose-pine-dawn",
|
|
1838
|
-
"Rosé Pine Dawn",
|
|
1839
|
-
"rose-pine-dawn",
|
|
1840
|
-
"light"
|
|
1841
|
-
],
|
|
1842
|
-
classes: {
|
|
1843
|
-
light: "shiki-theme-rose-pine-dawn",
|
|
1844
|
-
dark: "shiki-theme-rose-pine-dawn"
|
|
1845
|
-
},
|
|
1846
|
-
mode: "light"
|
|
1847
|
-
},
|
|
1848
|
-
{
|
|
1849
|
-
id: "shiki-rose-pine-moon",
|
|
1850
|
-
label: "Rosé Pine Moon",
|
|
1851
|
-
description: "Use Rosé Pine Moon theme (dark).",
|
|
1852
|
-
keywords: [
|
|
1853
|
-
"shiki",
|
|
1854
|
-
"rose-pine-moon",
|
|
1855
|
-
"Rosé Pine Moon",
|
|
1856
|
-
"rose-pine-moon",
|
|
1857
|
-
"dark"
|
|
1858
|
-
],
|
|
1859
|
-
classes: {
|
|
1860
|
-
light: "shiki-theme-rose-pine-moon",
|
|
1861
|
-
dark: "shiki-theme-rose-pine-moon"
|
|
1862
|
-
},
|
|
1863
|
-
mode: "dark"
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
id: "shiki-slack-dark",
|
|
1867
|
-
label: "Slack Dark",
|
|
1868
|
-
description: "Use Slack Dark theme (dark).",
|
|
1869
|
-
keywords: [
|
|
1870
|
-
"shiki",
|
|
1871
|
-
"slack-dark",
|
|
1872
|
-
"Slack Dark",
|
|
1873
|
-
"slack-dark",
|
|
1874
|
-
"dark"
|
|
1875
|
-
],
|
|
1876
|
-
classes: {
|
|
1877
|
-
light: "shiki-theme-slack-dark",
|
|
1878
|
-
dark: "shiki-theme-slack-dark"
|
|
1879
|
-
},
|
|
1880
|
-
mode: "dark"
|
|
1881
|
-
},
|
|
1882
|
-
{
|
|
1883
|
-
id: "shiki-slack-ochin",
|
|
1884
|
-
label: "Slack Ochin",
|
|
1885
|
-
description: "Use Slack Ochin theme (light).",
|
|
1886
|
-
keywords: [
|
|
1887
|
-
"shiki",
|
|
1888
|
-
"slack-ochin",
|
|
1889
|
-
"Slack Ochin",
|
|
1890
|
-
"slack-ochin",
|
|
1891
|
-
"light"
|
|
1892
|
-
],
|
|
1893
|
-
classes: {
|
|
1894
|
-
light: "shiki-theme-slack-ochin",
|
|
1895
|
-
dark: "shiki-theme-slack-ochin"
|
|
1896
|
-
},
|
|
1897
|
-
mode: "light"
|
|
1898
|
-
},
|
|
1899
|
-
{
|
|
1900
|
-
id: "shiki-snazzy-light",
|
|
1901
|
-
label: "Snazzy Light",
|
|
1902
|
-
description: "Use Snazzy Light theme (light).",
|
|
1903
|
-
keywords: [
|
|
1904
|
-
"shiki",
|
|
1905
|
-
"snazzy-light",
|
|
1906
|
-
"Snazzy Light",
|
|
1907
|
-
"snazzy-light",
|
|
1908
|
-
"light"
|
|
1909
|
-
],
|
|
1910
|
-
classes: {
|
|
1911
|
-
light: "shiki-theme-snazzy-light",
|
|
1912
|
-
dark: "shiki-theme-snazzy-light"
|
|
1913
|
-
},
|
|
1914
|
-
mode: "light"
|
|
1915
|
-
},
|
|
1916
|
-
{
|
|
1917
|
-
id: "shiki-solarized-dark",
|
|
1918
|
-
label: "Solarized Dark",
|
|
1919
|
-
description: "Use Solarized Dark theme (dark).",
|
|
1920
|
-
keywords: [
|
|
1921
|
-
"shiki",
|
|
1922
|
-
"solarized-dark",
|
|
1923
|
-
"Solarized Dark",
|
|
1924
|
-
"solarized-dark",
|
|
1925
|
-
"dark"
|
|
1926
|
-
],
|
|
1927
|
-
classes: {
|
|
1928
|
-
light: "shiki-theme-solarized-dark",
|
|
1929
|
-
dark: "shiki-theme-solarized-dark"
|
|
1930
|
-
},
|
|
1931
|
-
mode: "dark"
|
|
1932
|
-
},
|
|
1933
|
-
{
|
|
1934
|
-
id: "shiki-solarized-light",
|
|
1935
|
-
label: "Solarized Light",
|
|
1936
|
-
description: "Use Solarized Light theme (light).",
|
|
1937
|
-
keywords: [
|
|
1938
|
-
"shiki",
|
|
1939
|
-
"solarized-light",
|
|
1940
|
-
"Solarized Light",
|
|
1941
|
-
"solarized-light",
|
|
1942
|
-
"light"
|
|
1943
|
-
],
|
|
1944
|
-
classes: {
|
|
1945
|
-
light: "shiki-theme-solarized-light",
|
|
1946
|
-
dark: "shiki-theme-solarized-light"
|
|
1947
|
-
},
|
|
1948
|
-
mode: "light"
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
id: "shiki-synthwave-84",
|
|
1952
|
-
label: "Synthwave '84",
|
|
1953
|
-
description: "Use Synthwave '84 theme (dark).",
|
|
1954
|
-
keywords: [
|
|
1955
|
-
"shiki",
|
|
1956
|
-
"synthwave-84",
|
|
1957
|
-
"Synthwave '84",
|
|
1958
|
-
"synthwave-84",
|
|
1959
|
-
"dark"
|
|
1960
|
-
],
|
|
1961
|
-
classes: {
|
|
1962
|
-
light: "shiki-theme-synthwave-84",
|
|
1963
|
-
dark: "shiki-theme-synthwave-84"
|
|
1964
|
-
},
|
|
1965
|
-
mode: "dark"
|
|
1966
|
-
},
|
|
1967
|
-
{
|
|
1968
|
-
id: "shiki-tokyo-night",
|
|
1969
|
-
label: "Tokyo Night",
|
|
1970
|
-
description: "Use Tokyo Night theme (dark).",
|
|
1971
|
-
keywords: [
|
|
1972
|
-
"shiki",
|
|
1973
|
-
"tokyo-night",
|
|
1974
|
-
"Tokyo Night",
|
|
1975
|
-
"tokyo-night",
|
|
1976
|
-
"dark"
|
|
1977
|
-
],
|
|
1978
|
-
classes: {
|
|
1979
|
-
light: "shiki-theme-tokyo-night",
|
|
1980
|
-
dark: "shiki-theme-tokyo-night"
|
|
1981
|
-
},
|
|
1982
|
-
mode: "dark"
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
id: "shiki-vesper",
|
|
1986
|
-
label: "Vesper",
|
|
1987
|
-
description: "Use Vesper theme (dark).",
|
|
1988
|
-
keywords: [
|
|
1989
|
-
"shiki",
|
|
1990
|
-
"vesper",
|
|
1991
|
-
"Vesper",
|
|
1992
|
-
"vesper",
|
|
1993
|
-
"dark"
|
|
1994
|
-
],
|
|
1995
|
-
classes: {
|
|
1996
|
-
light: "shiki-theme-vesper",
|
|
1997
|
-
dark: "shiki-theme-vesper"
|
|
1998
|
-
},
|
|
1999
|
-
mode: "dark"
|
|
2000
|
-
},
|
|
2001
|
-
{
|
|
2002
|
-
id: "shiki-vitesse-black",
|
|
2003
|
-
label: "Vitesse Black",
|
|
2004
|
-
description: "Use Vitesse Black theme (dark).",
|
|
2005
|
-
keywords: [
|
|
2006
|
-
"shiki",
|
|
2007
|
-
"vitesse-black",
|
|
2008
|
-
"Vitesse Black",
|
|
2009
|
-
"vitesse-black",
|
|
2010
|
-
"dark"
|
|
2011
|
-
],
|
|
2012
|
-
classes: {
|
|
2013
|
-
light: "shiki-theme-vitesse-black",
|
|
2014
|
-
dark: "shiki-theme-vitesse-black"
|
|
2015
|
-
},
|
|
2016
|
-
mode: "dark"
|
|
2017
|
-
},
|
|
2018
|
-
{
|
|
2019
|
-
id: "shiki-vitesse-dark",
|
|
2020
|
-
label: "Vitesse Dark",
|
|
2021
|
-
description: "Use Vitesse Dark theme (dark).",
|
|
2022
|
-
keywords: [
|
|
2023
|
-
"shiki",
|
|
2024
|
-
"vitesse-dark",
|
|
2025
|
-
"Vitesse Dark",
|
|
2026
|
-
"vitesse-dark",
|
|
2027
|
-
"dark"
|
|
2028
|
-
],
|
|
2029
|
-
classes: {
|
|
2030
|
-
light: "shiki-theme-vitesse-dark",
|
|
2031
|
-
dark: "shiki-theme-vitesse-dark"
|
|
2032
|
-
},
|
|
2033
|
-
mode: "dark"
|
|
2034
|
-
},
|
|
2035
|
-
{
|
|
2036
|
-
id: "shiki-vitesse-light",
|
|
2037
|
-
label: "Vitesse Light",
|
|
2038
|
-
description: "Use Vitesse Light theme (light).",
|
|
2039
|
-
keywords: [
|
|
2040
|
-
"shiki",
|
|
2041
|
-
"vitesse-light",
|
|
2042
|
-
"Vitesse Light",
|
|
2043
|
-
"vitesse-light",
|
|
2044
|
-
"light"
|
|
2045
|
-
],
|
|
2046
|
-
classes: {
|
|
2047
|
-
light: "shiki-theme-vitesse-light",
|
|
2048
|
-
dark: "shiki-theme-vitesse-light"
|
|
2049
|
-
},
|
|
2050
|
-
mode: "light"
|
|
2051
|
-
}
|
|
2052
|
-
];
|
|
2053
|
-
var THEME_COLOR_MODES = [
|
|
2054
|
-
"auto",
|
|
2055
|
-
"light",
|
|
2056
|
-
"dark"
|
|
2057
|
-
];
|
|
2058
|
-
var PICO_CODE_SHIKI_THEME = "pico-code";
|
|
2059
|
-
var PICO_DIFF_SHIKI_THEMES = {
|
|
2060
|
-
light: "pico-diff-light",
|
|
2061
|
-
dark: "pico-diff-dark"
|
|
2062
|
-
};
|
|
2063
|
-
var PICO_SHIKI_VARIABLE_DEFAULTS = {
|
|
2064
|
-
foreground: "var(--code-fg)",
|
|
2065
|
-
background: "var(--background)",
|
|
2066
|
-
"token-comment": "var(--code-comment)",
|
|
2067
|
-
"token-constant": "var(--code-number)",
|
|
2068
|
-
"token-keyword": "var(--code-keyword)",
|
|
2069
|
-
"token-parameter": "var(--code-variable)",
|
|
2070
|
-
"token-function": "var(--code-title)",
|
|
2071
|
-
"token-string": "var(--code-string)",
|
|
2072
|
-
"token-string-expression": "var(--code-string)",
|
|
2073
|
-
"token-punctuation": "var(--code-meta)",
|
|
2074
|
-
"token-link": "var(--code-title)",
|
|
2075
|
-
"token-inserted": "var(--success)",
|
|
2076
|
-
"token-deleted": "var(--danger)",
|
|
2077
|
-
"token-changed": "var(--warning)",
|
|
2078
|
-
"ansi-black": "var(--background)",
|
|
2079
|
-
"ansi-red": "var(--danger)",
|
|
2080
|
-
"ansi-green": "var(--success)",
|
|
2081
|
-
"ansi-yellow": "var(--warning)",
|
|
2082
|
-
"ansi-blue": "var(--primary)",
|
|
2083
|
-
"ansi-magenta": "var(--code-keyword)",
|
|
2084
|
-
"ansi-cyan": "var(--code-meta)",
|
|
2085
|
-
"ansi-white": "var(--foreground)",
|
|
2086
|
-
"ansi-bright-black": "var(--muted-foreground)",
|
|
2087
|
-
"ansi-bright-red": "var(--danger)",
|
|
2088
|
-
"ansi-bright-green": "var(--success)",
|
|
2089
|
-
"ansi-bright-yellow": "var(--warning)",
|
|
2090
|
-
"ansi-bright-blue": "var(--primary)",
|
|
2091
|
-
"ansi-bright-magenta": "var(--code-keyword)",
|
|
2092
|
-
"ansi-bright-cyan": "var(--code-meta)",
|
|
2093
|
-
"ansi-bright-white": "var(--foreground)"
|
|
2094
|
-
};
|
|
2095
|
-
var THEME_DEFINITIONS = [
|
|
2096
|
-
{
|
|
2097
|
-
id: "default",
|
|
2098
|
-
label: "Default",
|
|
2099
|
-
description: "Use Pico's default palette.",
|
|
2100
|
-
keywords: ["pico", "default"],
|
|
2101
|
-
classes: {
|
|
2102
|
-
light: "light",
|
|
2103
|
-
dark: "dark"
|
|
2104
|
-
}
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
id: "flexoki",
|
|
2108
|
-
label: "Flexoki",
|
|
2109
|
-
description: "Use Flexoki's warm paper and inky dark palettes.",
|
|
2110
|
-
keywords: [
|
|
2111
|
-
"flexoki",
|
|
2112
|
-
"warm",
|
|
2113
|
-
"paper",
|
|
2114
|
-
"inky"
|
|
2115
|
-
],
|
|
2116
|
-
classes: {
|
|
2117
|
-
light: "flexoki-light",
|
|
2118
|
-
dark: "flexoki-dark"
|
|
2119
|
-
}
|
|
2120
|
-
},
|
|
2121
|
-
...SHIKI_BUNDLED_THEME_DEFINITIONS,
|
|
2122
|
-
...SHIKI_BUNDLED_THEME_PAIR_DEFINITIONS
|
|
2123
|
-
];
|
|
2124
|
-
var THEME_FAMILIES = THEME_DEFINITIONS.map((theme) => theme.id);
|
|
2125
|
-
var APPLIED_THEME_CLASSES = Array.from(new Set(THEME_DEFINITIONS.flatMap((theme) => [theme.classes.light, theme.classes.dark])));
|
|
2126
|
-
function isThemeFamily(value) {
|
|
2127
|
-
return THEME_FAMILIES.includes(value);
|
|
2128
|
-
}
|
|
2129
|
-
function getThemeDefinition(theme) {
|
|
2130
|
-
return THEME_DEFINITIONS.find((definition) => definition.id === theme) ?? THEME_DEFINITIONS[0];
|
|
2131
|
-
}
|
|
2132
|
-
function themeDefinitionMode(definition) {
|
|
2133
|
-
return "mode" in definition ? definition.mode : void 0;
|
|
2134
|
-
}
|
|
2135
|
-
function themeFamilyFixedMode(theme) {
|
|
2136
|
-
return themeDefinitionMode(getThemeDefinition(normalizeThemeFamily(theme)));
|
|
2137
|
-
}
|
|
2138
|
-
function themeDefinitionSelectorModes(definition) {
|
|
2139
|
-
if ("selectorModes" in definition && definition.selectorModes) return definition.selectorModes;
|
|
2140
|
-
const fixedMode = themeDefinitionMode(definition);
|
|
2141
|
-
return fixedMode ? [fixedMode] : THEME_COLOR_MODES;
|
|
2142
|
-
}
|
|
2143
|
-
function themeFamilySupportsColorMode(theme, mode) {
|
|
2144
|
-
return themeDefinitionSelectorModes(getThemeDefinition(normalizeThemeFamily(theme))).includes(mode);
|
|
2145
|
-
}
|
|
2146
|
-
function appliedThemeClassColorMode(themeClass) {
|
|
2147
|
-
const normalized = typeof themeClass === "string" ? themeClass.trim() : "";
|
|
2148
|
-
if (!normalized) return void 0;
|
|
2149
|
-
for (const definition of THEME_DEFINITIONS) {
|
|
2150
|
-
if (definition.classes.dark === normalized) return themeDefinitionMode(definition) ?? "dark";
|
|
2151
|
-
if (definition.classes.light === normalized) return themeDefinitionMode(definition) ?? "light";
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
function normalizeThemeFamily(value) {
|
|
2155
|
-
const normalized = typeof value === "string" ? value.trim() : "";
|
|
2156
|
-
if (isThemeFamily(normalized)) return normalized;
|
|
2157
|
-
for (const definition of THEME_DEFINITIONS) if (definition.classes.light === normalized || definition.classes.dark === normalized) return definition.id;
|
|
2158
|
-
return "default";
|
|
2159
|
-
}
|
|
2160
|
-
function normalizeThemeColorMode(value) {
|
|
2161
|
-
if (value === "auto" || value === "system") return "auto";
|
|
2162
|
-
if (value === "light" || value === "dark") return value;
|
|
2163
|
-
return appliedThemeClassColorMode(value) ?? "auto";
|
|
2164
|
-
}
|
|
2165
|
-
function resolvedThemeMode(mode, systemTheme) {
|
|
2166
|
-
if (mode === "auto") return systemTheme === "dark" ? "dark" : "light";
|
|
2167
|
-
return mode;
|
|
2168
|
-
}
|
|
2169
|
-
function appliedThemeClass(family, mode, systemTheme) {
|
|
2170
|
-
const definition = getThemeDefinition(normalizeThemeFamily(family));
|
|
2171
|
-
const resolvedMode = themeDefinitionMode(definition) ?? resolvedThemeMode(mode, systemTheme);
|
|
2172
|
-
return definition.classes[resolvedMode];
|
|
2173
|
-
}
|
|
2174
|
-
function themeFamilyLabel(theme) {
|
|
2175
|
-
return getThemeDefinition(normalizeThemeFamily(theme)).label;
|
|
2176
|
-
}
|
|
2177
|
-
function themeFamilyDescription(theme) {
|
|
2178
|
-
return getThemeDefinition(normalizeThemeFamily(theme)).description;
|
|
2179
|
-
}
|
|
2180
|
-
function themeFamilyKeywords(theme) {
|
|
2181
|
-
const definition = getThemeDefinition(normalizeThemeFamily(theme));
|
|
2182
|
-
return [
|
|
2183
|
-
definition.id,
|
|
2184
|
-
definition.label,
|
|
2185
|
-
definition.description,
|
|
2186
|
-
...definition.keywords
|
|
2187
|
-
];
|
|
2188
|
-
}
|
|
2189
|
-
function themeColorModeLabel(mode, systemTheme) {
|
|
2190
|
-
if (mode === "auto") {
|
|
2191
|
-
if (!systemTheme) return "Auto";
|
|
2192
|
-
return `Auto (${resolvedThemeMode(mode, systemTheme) === "light" ? "Light" : "Dark"})`;
|
|
2193
|
-
}
|
|
2194
|
-
return mode === "light" ? "Light" : "Dark";
|
|
2195
|
-
}
|
|
2196
|
-
var THEME_STORAGE_KEY = "pico-theme";
|
|
2197
|
-
var THEME_COLOR_MODE_STORAGE_KEY = "pico-theme-color-mode";
|
|
2198
|
-
var APPLIED_THEME_STORAGE_KEY = "pico-applied-theme";
|
|
2199
|
-
var DRAFT_DIRECTORY_STORAGE_KEY = "pico-draft-directory";
|
|
2200
|
-
var SIDEBAR_DIRECTORIES_STORAGE_KEY = "pico-sidebar-directories";
|
|
2201
|
-
var COLLAPSED_DIRECTORIES_STORAGE_KEY = "pico-collapsed-directories";
|
|
2202
|
-
var PINNED_SESSIONS_STORAGE_KEY = "pico-pinned-sessions";
|
|
2203
|
-
var RECENT_DIRECTORIES_STORAGE_KEY = "pico-recent-directories";
|
|
2204
|
-
var SESSION_DONE_SOUND_ENABLED_STORAGE_KEY = "pico-session-done-sound";
|
|
2205
|
-
var SESSION_DONE_DESKTOP_NOTIFICATIONS_ENABLED_STORAGE_KEY = "pico-session-done-desktop-notifications";
|
|
2206
|
-
var HIDE_TOOL_BLOCKS_STORAGE_KEY = "pico-hide-tools";
|
|
2207
|
-
var CENTER_MESSAGES_STORAGE_KEY = "pico-center-messages";
|
|
2208
|
-
var AUTO_SCROLL_ENABLED_STORAGE_KEY = "pico-auto-scroll";
|
|
2209
|
-
var RIGHT_SIDEBAR_OPEN_STORAGE_KEY = "pico-right-sidebar-open";
|
|
2210
|
-
var RIGHT_SIDEBAR_ACTIVE_TAB_STORAGE_KEY = "pico-right-sidebar-active-tab";
|
|
2211
|
-
var RIGHT_SIDEBAR_WIDTHS_STORAGE_KEY = "pico-right-sidebar-widths";
|
|
2212
|
-
var RIGHT_SIDEBAR_FILE_TREE_WIDTH_STORAGE_KEY = "pico-right-sidebar-file-tree-width";
|
|
2213
|
-
var RIGHT_SIDEBAR_HISTORY_HEIGHT_STORAGE_KEY = "pico-right-sidebar-history-height";
|
|
2214
|
-
var RIGHT_SIDEBAR_HISTORY_TAB_STORAGE_KEY = "pico-right-sidebar-history-tab";
|
|
2215
|
-
var TERMINAL_PANEL_OPEN_STORAGE_KEY = "pico-terminal-panel-open";
|
|
2216
|
-
var TERMINAL_PANEL_HEIGHT_STORAGE_KEY = "pico-terminal-panel-height";
|
|
2217
|
-
var TERMINAL_TABS_STORAGE_KEY = "pico-terminal-tabs";
|
|
2218
|
-
var PROMPT_DRAFTS_STORAGE_KEY = "pico-prompt-drafts";
|
|
2219
|
-
var VIEWER_CONTEXT_STORAGE_KEY = "pico-context-id";
|
|
2220
|
-
function createContextId() {
|
|
2221
|
-
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") return `ctx-${crypto.randomUUID()}`;
|
|
2222
|
-
return `ctx-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 10)}`;
|
|
2223
|
-
}
|
|
2224
|
-
function safeLocalStorageGetItem(key) {
|
|
2225
|
-
try {
|
|
2226
|
-
return window.localStorage.getItem(key);
|
|
2227
|
-
} catch {
|
|
2228
|
-
return null;
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2231
|
-
function safeLocalStorageSetItem(key, value) {
|
|
2232
|
-
try {
|
|
2233
|
-
window.localStorage.setItem(key, value);
|
|
2234
|
-
return true;
|
|
2235
|
-
} catch {
|
|
2236
|
-
return false;
|
|
2237
|
-
}
|
|
2238
|
-
}
|
|
2239
|
-
function safeSessionStorageGetItem(key) {
|
|
2240
|
-
try {
|
|
2241
|
-
return window.sessionStorage.getItem(key);
|
|
2242
|
-
} catch {
|
|
2243
|
-
return null;
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
function safeSessionStorageSetItem(key, value) {
|
|
2247
|
-
try {
|
|
2248
|
-
window.sessionStorage.setItem(key, value);
|
|
2249
|
-
return true;
|
|
2250
|
-
} catch {
|
|
2251
|
-
return false;
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
function normalizeStoredDirectoryList(value) {
|
|
2255
|
-
if (!Array.isArray(value)) return [];
|
|
2256
|
-
const nextDirectories = [];
|
|
2257
|
-
const seen = /* @__PURE__ */ new Set();
|
|
2258
|
-
for (const entry of value) {
|
|
2259
|
-
const normalized = typeof entry === "string" ? entry.trim() : "";
|
|
2260
|
-
if (!normalized || seen.has(normalized)) continue;
|
|
2261
|
-
seen.add(normalized);
|
|
2262
|
-
nextDirectories.push(normalized);
|
|
2263
|
-
}
|
|
2264
|
-
return nextDirectories;
|
|
2265
|
-
}
|
|
2266
|
-
function sessionListEntryKey(sessionLike = {}) {
|
|
2267
|
-
if (sessionLike.path) return `path:${sessionLike.path}`;
|
|
2268
|
-
if (sessionLike.id) return `id:${sessionLike.id}`;
|
|
2269
|
-
return "";
|
|
2270
|
-
}
|
|
2271
|
-
function normalizeSessionSelectionKeys(value) {
|
|
2272
|
-
if (!Array.isArray(value)) return [];
|
|
2273
|
-
const keys = [];
|
|
2274
|
-
const seen = /* @__PURE__ */ new Set();
|
|
2275
|
-
for (const entry of value) {
|
|
2276
|
-
const key = typeof entry === "string" ? entry.trim() : "";
|
|
2277
|
-
if (!key || seen.has(key)) continue;
|
|
2278
|
-
seen.add(key);
|
|
2279
|
-
keys.push(key);
|
|
2280
|
-
}
|
|
2281
|
-
return keys;
|
|
2282
|
-
}
|
|
2283
|
-
function normalizeStoredTerminalTabId(value) {
|
|
2284
|
-
return typeof value === "string" ? value.trim().slice(0, 256) : "";
|
|
2285
|
-
}
|
|
2286
|
-
function normalizeStoredTerminalTabs(value) {
|
|
2287
|
-
if (!value || typeof value !== "object") return {
|
|
2288
|
-
activeTabId: null,
|
|
2289
|
-
tabs: []
|
|
2290
|
-
};
|
|
2291
|
-
const rawState = value;
|
|
2292
|
-
const tabs = [];
|
|
2293
|
-
const seen = /* @__PURE__ */ new Set();
|
|
2294
|
-
if (Array.isArray(rawState.tabs)) for (const entry of rawState.tabs) {
|
|
2295
|
-
const id = normalizeStoredTerminalTabId(entry);
|
|
2296
|
-
if (!id || seen.has(id)) continue;
|
|
2297
|
-
seen.add(id);
|
|
2298
|
-
tabs.push(id);
|
|
2299
|
-
}
|
|
2300
|
-
const activeTabId = normalizeStoredTerminalTabId(rawState.activeTabId);
|
|
2301
|
-
return {
|
|
2302
|
-
activeTabId: activeTabId && seen.has(activeTabId) ? activeTabId : null,
|
|
2303
|
-
tabs
|
|
2304
|
-
};
|
|
2305
|
-
}
|
|
2306
|
-
function loadStoredTerminalTabs() {
|
|
2307
|
-
try {
|
|
2308
|
-
const raw = safeLocalStorageGetItem(TERMINAL_TABS_STORAGE_KEY);
|
|
2309
|
-
if (!raw) return {};
|
|
2310
|
-
const parsed = JSON.parse(raw);
|
|
2311
|
-
return parsed && typeof parsed === "object" ? parsed : {};
|
|
2312
|
-
} catch {
|
|
2313
|
-
return {};
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
function readStoredTerminalTabs(scopeKey) {
|
|
2317
|
-
const key = scopeKey.trim();
|
|
2318
|
-
if (!key) return {
|
|
2319
|
-
activeTabId: null,
|
|
2320
|
-
tabs: []
|
|
2321
|
-
};
|
|
2322
|
-
return normalizeStoredTerminalTabs(loadStoredTerminalTabs()[key]);
|
|
2323
|
-
}
|
|
2324
|
-
function rememberStoredTerminalTabs(scopeKey, state) {
|
|
2325
|
-
const key = scopeKey.trim();
|
|
2326
|
-
if (!key) return false;
|
|
2327
|
-
const storedTabs = loadStoredTerminalTabs();
|
|
2328
|
-
const normalizedState = normalizeStoredTerminalTabs(state);
|
|
2329
|
-
if (normalizedState.tabs.length > 0) storedTabs[key] = normalizedState;
|
|
2330
|
-
else delete storedTabs[key];
|
|
2331
|
-
return safeLocalStorageSetItem(TERMINAL_TABS_STORAGE_KEY, JSON.stringify(storedTabs));
|
|
2332
|
-
}
|
|
2333
|
-
function promptDraftKey(target = {}) {
|
|
2334
|
-
if (target.sessionId) return `session:${target.sessionId}`;
|
|
2335
|
-
if (target.sessionFile) return `file:${target.sessionFile}`;
|
|
2336
|
-
return `draft:${target.cwd?.trim() || "default"}`;
|
|
2337
|
-
}
|
|
2338
|
-
function promptDraftKeyMatchesOwner(draftKey, ownerKey) {
|
|
2339
|
-
if (!ownerKey) return false;
|
|
2340
|
-
if (draftKey === ownerKey) return true;
|
|
2341
|
-
return ownerKey === promptDraftKey() && draftKey.startsWith("draft:");
|
|
2342
|
-
}
|
|
2343
|
-
function loadStoredPromptDrafts() {
|
|
2344
|
-
try {
|
|
2345
|
-
const raw = safeSessionStorageGetItem(PROMPT_DRAFTS_STORAGE_KEY);
|
|
2346
|
-
if (!raw) return {};
|
|
2347
|
-
const parsed = JSON.parse(raw);
|
|
2348
|
-
return parsed && typeof parsed === "object" ? parsed : {};
|
|
2349
|
-
} catch {
|
|
2350
|
-
return {};
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
function readStoredPromptDraft(target = {}) {
|
|
2354
|
-
const value = loadStoredPromptDrafts()[promptDraftKey(target)];
|
|
2355
|
-
return typeof value === "string" ? value : void 0;
|
|
2356
|
-
}
|
|
2357
|
-
function rememberStoredPromptDraft(target = {}, text = "") {
|
|
2358
|
-
const key = promptDraftKey(target);
|
|
2359
|
-
const drafts = loadStoredPromptDrafts();
|
|
2360
|
-
const nextValue = typeof text === "string" ? text : "";
|
|
2361
|
-
if (nextValue) drafts[key] = nextValue;
|
|
2362
|
-
else delete drafts[key];
|
|
2363
|
-
return safeSessionStorageSetItem(PROMPT_DRAFTS_STORAGE_KEY, JSON.stringify(drafts));
|
|
2364
|
-
}
|
|
2365
|
-
function readStoredSidebarDirectories() {
|
|
2366
|
-
try {
|
|
2367
|
-
const raw = safeLocalStorageGetItem(SIDEBAR_DIRECTORIES_STORAGE_KEY);
|
|
2368
|
-
if (raw == null) return {
|
|
2369
|
-
directories: [],
|
|
2370
|
-
hasStoredValue: false
|
|
2371
|
-
};
|
|
2372
|
-
return {
|
|
2373
|
-
directories: normalizeStoredDirectoryList(JSON.parse(raw)),
|
|
2374
|
-
hasStoredValue: true
|
|
2375
|
-
};
|
|
2376
|
-
} catch {
|
|
2377
|
-
return {
|
|
2378
|
-
directories: [],
|
|
2379
|
-
hasStoredValue: false
|
|
2380
|
-
};
|
|
2381
|
-
}
|
|
2382
|
-
}
|
|
2383
|
-
function readStoredPinnedSessionKeys() {
|
|
2384
|
-
try {
|
|
2385
|
-
const raw = safeLocalStorageGetItem(PINNED_SESSIONS_STORAGE_KEY);
|
|
2386
|
-
if (!raw) return [];
|
|
2387
|
-
return normalizeSessionSelectionKeys(JSON.parse(raw));
|
|
2388
|
-
} catch {
|
|
2389
|
-
return [];
|
|
2390
|
-
}
|
|
2391
|
-
}
|
|
2392
|
-
function readStoredCollapsedDirectories() {
|
|
2393
|
-
try {
|
|
2394
|
-
const raw = safeLocalStorageGetItem(COLLAPSED_DIRECTORIES_STORAGE_KEY);
|
|
2395
|
-
if (!raw) return {};
|
|
2396
|
-
const parsed = JSON.parse(raw);
|
|
2397
|
-
if (!parsed || typeof parsed !== "object") return {};
|
|
2398
|
-
return Object.fromEntries(Object.entries(parsed).flatMap(([key, value]) => {
|
|
2399
|
-
const normalizedKey = key.trim();
|
|
2400
|
-
return normalizedKey ? [[normalizedKey, Boolean(value)]] : [];
|
|
2401
|
-
}));
|
|
2402
|
-
} catch {
|
|
2403
|
-
return {};
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
function readStoredDraftDirectory() {
|
|
2407
|
-
return (safeLocalStorageGetItem("pico-draft-directory") ?? "").trim();
|
|
2408
|
-
}
|
|
2409
|
-
function readStoredRecentDirectories() {
|
|
2410
|
-
try {
|
|
2411
|
-
const raw = safeLocalStorageGetItem(RECENT_DIRECTORIES_STORAGE_KEY);
|
|
2412
|
-
if (!raw) return [];
|
|
2413
|
-
return normalizeStoredDirectoryList(JSON.parse(raw));
|
|
2414
|
-
} catch {
|
|
2415
|
-
return [];
|
|
2416
|
-
}
|
|
2417
|
-
}
|
|
2418
|
-
function readStoredTheme() {
|
|
2419
|
-
return normalizeThemeFamily((safeLocalStorageGetItem("pico-theme") ?? "default").trim());
|
|
2420
|
-
}
|
|
2421
|
-
function readStoredThemeColorMode() {
|
|
2422
|
-
return normalizeThemeColorMode((safeLocalStorageGetItem("pico-theme-color-mode") ?? safeLocalStorageGetItem("pico-theme") ?? "auto").trim());
|
|
2423
|
-
}
|
|
2424
|
-
function readStoredHideToolBlocks() {
|
|
2425
|
-
return safeLocalStorageGetItem(HIDE_TOOL_BLOCKS_STORAGE_KEY) === "1";
|
|
2426
|
-
}
|
|
2427
|
-
function readStoredCenterMessages() {
|
|
2428
|
-
return safeLocalStorageGetItem(CENTER_MESSAGES_STORAGE_KEY) === "1";
|
|
2429
|
-
}
|
|
2430
|
-
function readStoredAutoScrollEnabled() {
|
|
2431
|
-
const value = safeLocalStorageGetItem(AUTO_SCROLL_ENABLED_STORAGE_KEY);
|
|
2432
|
-
return value == null ? true : value !== "0";
|
|
2433
|
-
}
|
|
2434
|
-
function readStoredRightSidebarOpen() {
|
|
2435
|
-
return safeLocalStorageGetItem(RIGHT_SIDEBAR_OPEN_STORAGE_KEY) === "1";
|
|
2436
|
-
}
|
|
2437
|
-
function readStoredTerminalPanelOpen() {
|
|
2438
|
-
return safeLocalStorageGetItem(TERMINAL_PANEL_OPEN_STORAGE_KEY) === "1";
|
|
2439
|
-
}
|
|
2440
|
-
function readStoredSessionDoneSoundEnabled() {
|
|
2441
|
-
const value = safeLocalStorageGetItem(SESSION_DONE_SOUND_ENABLED_STORAGE_KEY);
|
|
2442
|
-
return value == null ? true : value !== "0";
|
|
2443
|
-
}
|
|
2444
|
-
function readStoredSessionDoneDesktopNotificationsEnabled() {
|
|
2445
|
-
const value = safeLocalStorageGetItem(SESSION_DONE_DESKTOP_NOTIFICATIONS_ENABLED_STORAGE_KEY);
|
|
2446
|
-
return value == null ? true : value !== "0";
|
|
2447
|
-
}
|
|
2448
|
-
var EXPLORE_TOOL_NAMES = new Set([
|
|
2449
|
-
"read",
|
|
2450
|
-
"grep",
|
|
2451
|
-
"glob",
|
|
2452
|
-
"find",
|
|
2453
|
-
"ls",
|
|
2454
|
-
"list",
|
|
2455
|
-
"rg"
|
|
2456
|
-
]);
|
|
2457
|
-
var EXPLORE_SHELL_COMMAND_NAMES = [
|
|
2458
|
-
"find",
|
|
2459
|
-
"grep",
|
|
2460
|
-
"ls",
|
|
2461
|
-
"rg"
|
|
2462
|
-
];
|
|
2463
|
-
var EXPLORE_SHELL_COMMAND_NAME_SET = new Set(EXPLORE_SHELL_COMMAND_NAMES);
|
|
2464
|
-
var SKIPPABLE_SHELL_COMMAND_NAMES = new Set([
|
|
2465
|
-
"cd",
|
|
2466
|
-
"export",
|
|
2467
|
-
"pwd",
|
|
2468
|
-
"set"
|
|
2469
|
-
]);
|
|
2470
|
-
var SHELL_COMMAND_WRAPPER_NAMES = [
|
|
2471
|
-
"command",
|
|
2472
|
-
"env",
|
|
2473
|
-
"noglob",
|
|
2474
|
-
"sudo",
|
|
2475
|
-
"time"
|
|
2476
|
-
];
|
|
2477
|
-
var SHELL_COMMAND_WRAPPER_NAME_SET = new Set(SHELL_COMMAND_WRAPPER_NAMES);
|
|
2478
|
-
var PENDING_EXPLORE_SHELL_COMMAND_PREFIXES = [...EXPLORE_SHELL_COMMAND_NAMES, ...SHELL_COMMAND_WRAPPER_NAMES];
|
|
2479
|
-
function normalizeToolArgs(args) {
|
|
2480
|
-
if (!args) return void 0;
|
|
2481
|
-
if (typeof args === "object") return args;
|
|
2482
|
-
if (typeof args !== "string") return void 0;
|
|
2483
|
-
try {
|
|
2484
|
-
const parsed = JSON.parse(args);
|
|
2485
|
-
return parsed && typeof parsed === "object" ? parsed : void 0;
|
|
2486
|
-
} catch {
|
|
2487
|
-
return;
|
|
2488
|
-
}
|
|
2489
|
-
}
|
|
2490
|
-
function getToolArgText(args, key) {
|
|
2491
|
-
const value = args?.[key];
|
|
2492
|
-
return typeof value === "string" && value.trim() ? value.trim() : "";
|
|
2493
|
-
}
|
|
2494
|
-
function looksLikeJsonObjectPrefix(text) {
|
|
2495
|
-
return text === "{" || /^\{\s*(?:"|$)/.test(text);
|
|
2496
|
-
}
|
|
2497
|
-
function toolArgsAreIncompleteJsonObject(args) {
|
|
2498
|
-
if (typeof args !== "string") return false;
|
|
2499
|
-
const trimmed = args.trim();
|
|
2500
|
-
if (!looksLikeJsonObjectPrefix(trimmed)) return false;
|
|
2501
|
-
try {
|
|
2502
|
-
JSON.parse(trimmed);
|
|
2503
|
-
return false;
|
|
2504
|
-
} catch {
|
|
2505
|
-
return true;
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
function readPartialJsonStringValue(text, start) {
|
|
2509
|
-
let value = "";
|
|
2510
|
-
let escaped = false;
|
|
2511
|
-
for (let index = start; index < text.length; index += 1) {
|
|
2512
|
-
const char = text[index];
|
|
2513
|
-
if (escaped) {
|
|
2514
|
-
switch (char) {
|
|
2515
|
-
case "\"":
|
|
2516
|
-
case "\\":
|
|
2517
|
-
case "/":
|
|
2518
|
-
value += char;
|
|
2519
|
-
break;
|
|
2520
|
-
case "b":
|
|
2521
|
-
value += "\b";
|
|
2522
|
-
break;
|
|
2523
|
-
case "f":
|
|
2524
|
-
value += "\f";
|
|
2525
|
-
break;
|
|
2526
|
-
case "n":
|
|
2527
|
-
value += "\n";
|
|
2528
|
-
break;
|
|
2529
|
-
case "r":
|
|
2530
|
-
value += "\r";
|
|
2531
|
-
break;
|
|
2532
|
-
case "t":
|
|
2533
|
-
value += " ";
|
|
2534
|
-
break;
|
|
2535
|
-
case "u": {
|
|
2536
|
-
const hex = text.slice(index + 1, index + 5);
|
|
2537
|
-
if (/^[0-9a-fA-F]{4}$/.test(hex)) {
|
|
2538
|
-
value += String.fromCharCode(Number.parseInt(hex, 16));
|
|
2539
|
-
index += 4;
|
|
2540
|
-
} else value += char;
|
|
2541
|
-
break;
|
|
2542
|
-
}
|
|
2543
|
-
default:
|
|
2544
|
-
value += char || "";
|
|
2545
|
-
break;
|
|
2546
|
-
}
|
|
2547
|
-
escaped = false;
|
|
2548
|
-
continue;
|
|
2549
|
-
}
|
|
2550
|
-
if (char === "\\") {
|
|
2551
|
-
escaped = true;
|
|
2552
|
-
continue;
|
|
2553
|
-
}
|
|
2554
|
-
if (char === "\"") break;
|
|
2555
|
-
value += char || "";
|
|
2556
|
-
}
|
|
2557
|
-
return value.trim();
|
|
2558
|
-
}
|
|
2559
|
-
function partialJsonStringProperty(text, property) {
|
|
2560
|
-
const match = new RegExp(`"${property.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}"\\s*:\\s*"`, "g").exec(text);
|
|
2561
|
-
if (!match) return "";
|
|
2562
|
-
return readPartialJsonStringValue(text, match.index + match[0].length);
|
|
2563
|
-
}
|
|
2564
|
-
function rawShellCommandTextFromTool(name, args) {
|
|
2565
|
-
if (name !== "bash") return "";
|
|
2566
|
-
if (typeof args === "string") {
|
|
2567
|
-
const trimmed = args.trim();
|
|
2568
|
-
if (!trimmed) return "";
|
|
2569
|
-
try {
|
|
2570
|
-
const parsed = JSON.parse(trimmed);
|
|
2571
|
-
if (parsed && typeof parsed === "object" && "command" in parsed) {
|
|
2572
|
-
const command = parsed.command;
|
|
2573
|
-
return typeof command === "string" ? command.trim() : "";
|
|
2574
|
-
}
|
|
2575
|
-
} catch {
|
|
2576
|
-
if (toolArgsAreIncompleteJsonObject(trimmed)) return partialJsonStringProperty(trimmed, "command");
|
|
2577
|
-
return trimmed;
|
|
2578
|
-
}
|
|
2579
|
-
return trimmed;
|
|
2580
|
-
}
|
|
2581
|
-
return getToolArgText(normalizeToolArgs(args), "command");
|
|
2582
|
-
}
|
|
2583
|
-
function pathBaseName(path) {
|
|
2584
|
-
const normalized = path.replace(/\\/g, "/").trim();
|
|
2585
|
-
if (!normalized) return "";
|
|
2586
|
-
const parts = normalized.split("/");
|
|
2587
|
-
return parts[parts.length - 1] || normalized;
|
|
2588
|
-
}
|
|
2589
|
-
function shellCommandNameFromSegment(segment) {
|
|
2590
|
-
let text = segment.trim();
|
|
2591
|
-
while (text) {
|
|
2592
|
-
const assignmentMatch = text.match(/^(?:env\s+)?[A-Za-z_][A-Za-z0-9_]*=(?:"[^"]*"|'[^']*'|\S*)\s*/);
|
|
2593
|
-
if (assignmentMatch) {
|
|
2594
|
-
text = text.slice(assignmentMatch[0].length).trimStart();
|
|
2595
|
-
continue;
|
|
2596
|
-
}
|
|
2597
|
-
const commandMatch = text.match(/^([./A-Za-z0-9_-]+)\b/);
|
|
2598
|
-
if (!commandMatch) return "";
|
|
2599
|
-
const commandPath = commandMatch[1] || "";
|
|
2600
|
-
const commandName = pathBaseName(commandPath);
|
|
2601
|
-
if (!SHELL_COMMAND_WRAPPER_NAME_SET.has(commandName)) return commandName;
|
|
2602
|
-
const remainingText = text.slice(commandPath.length).trimStart();
|
|
2603
|
-
if (!remainingText) return commandName;
|
|
2604
|
-
text = remainingText;
|
|
2605
|
-
}
|
|
2606
|
-
return "";
|
|
2607
|
-
}
|
|
2608
|
-
function shellCommandNameCouldBecomeExplore(commandName) {
|
|
2609
|
-
return PENDING_EXPLORE_SHELL_COMMAND_PREFIXES.some((prefix) => prefix.startsWith(commandName));
|
|
2610
|
-
}
|
|
2611
|
-
function toolCouldBecomeExploreFromTool(name, args) {
|
|
2612
|
-
if (EXPLORE_TOOL_NAMES.has(name || "")) return true;
|
|
2613
|
-
if (name !== "bash") return false;
|
|
2614
|
-
const segments = rawShellCommandTextFromTool(name, args).split(/(?:&&|\|\||;)/);
|
|
2615
|
-
for (const segment of segments) {
|
|
2616
|
-
const commandName = shellCommandNameFromSegment(segment);
|
|
2617
|
-
if (!commandName || SKIPPABLE_SHELL_COMMAND_NAMES.has(commandName)) continue;
|
|
2618
|
-
return shellCommandNameCouldBecomeExplore(commandName);
|
|
2619
|
-
}
|
|
2620
|
-
return false;
|
|
2621
|
-
}
|
|
2622
|
-
function exploreShellCommandNameFromTool(name, args) {
|
|
2623
|
-
if (name !== "bash") return "";
|
|
2624
|
-
const segments = rawShellCommandTextFromTool(name, args).split(/(?:&&|\|\||;)/);
|
|
2625
|
-
for (const segment of segments) {
|
|
2626
|
-
const commandName = shellCommandNameFromSegment(segment);
|
|
2627
|
-
if (!commandName || SKIPPABLE_SHELL_COMMAND_NAMES.has(commandName) || SHELL_COMMAND_WRAPPER_NAME_SET.has(commandName)) continue;
|
|
2628
|
-
return EXPLORE_SHELL_COMMAND_NAME_SET.has(commandName) ? commandName : "";
|
|
2629
|
-
}
|
|
2630
|
-
return "";
|
|
2631
|
-
}
|
|
2632
|
-
function toolCategoryFromTool(name, args) {
|
|
2633
|
-
return EXPLORE_TOOL_NAMES.has(name || "") || Boolean(exploreShellCommandNameFromTool(name, args)) ? "explore" : void 0;
|
|
2634
|
-
}
|
|
2635
|
-
function previewUrlForImage(image) {
|
|
2636
|
-
return `data:${image.mimeType};base64,${image.data}`;
|
|
2637
|
-
}
|
|
2638
|
-
function normalizePromptImage(image) {
|
|
2639
|
-
if (!image || typeof image !== "object") return null;
|
|
2640
|
-
let mimeType = typeof image.mimeType === "string" ? image.mimeType.trim() : "";
|
|
2641
|
-
let data = typeof image.data === "string" ? image.data.trim() : "";
|
|
2642
|
-
if (!data) return null;
|
|
2643
|
-
const dataUrlMatch = data.match(/^data:([^;,]+);base64,(.+)$/i);
|
|
2644
|
-
if (dataUrlMatch) {
|
|
2645
|
-
if (!mimeType) mimeType = dataUrlMatch[1] ?? mimeType;
|
|
2646
|
-
data = dataUrlMatch[2] ?? "";
|
|
2647
|
-
}
|
|
2648
|
-
if (!mimeType || !/^image\//i.test(mimeType) || !data) return null;
|
|
2649
|
-
return {
|
|
2650
|
-
type: "image",
|
|
2651
|
-
mimeType,
|
|
2652
|
-
data,
|
|
2653
|
-
previewUrl: previewUrlForImage({
|
|
2654
|
-
mimeType,
|
|
2655
|
-
data
|
|
2656
|
-
})
|
|
2657
|
-
};
|
|
2658
|
-
}
|
|
2659
|
-
function extractMessageText(message) {
|
|
2660
|
-
if (typeof message?.content === "string") return message.content;
|
|
2661
|
-
if (!Array.isArray(message?.content)) return "";
|
|
2662
|
-
return message.content.flatMap((part) => part?.type === "text" ? [part.text || ""] : []).join("\n");
|
|
2663
|
-
}
|
|
2664
|
-
function extractToolText(result) {
|
|
2665
|
-
if (!result || !Array.isArray(result.content)) return "";
|
|
2666
|
-
return result.content.flatMap((part) => part?.type === "text" && typeof part.text === "string" ? [part.text] : []).join("\n");
|
|
2667
|
-
}
|
|
2668
|
-
function extractMessageImages(message) {
|
|
2669
|
-
if (!Array.isArray(message?.content)) return [];
|
|
2670
|
-
return message.content.flatMap((part) => {
|
|
2671
|
-
if (part?.type !== "image") return [];
|
|
2672
|
-
const image = normalizePromptImage(part);
|
|
2673
|
-
return image ? [image] : [];
|
|
2674
|
-
});
|
|
2675
|
-
}
|
|
2676
|
-
function normalizeStreamingBehavior(value) {
|
|
2677
|
-
return value === "steer" || value === "followUp" ? value : void 0;
|
|
2678
|
-
}
|
|
2679
|
-
function stableJsonValue(value) {
|
|
2680
|
-
if (value == null) return "";
|
|
2681
|
-
if (typeof value !== "object") return JSON.stringify(value);
|
|
2682
|
-
if (Array.isArray(value)) return `[${value.map((entry) => stableJsonValue(entry)).join(",")}]`;
|
|
2683
|
-
return `{${Object.keys(value).sort().map((key) => `${JSON.stringify(key)}:${stableJsonValue(value[key])}`).join(",")}}`;
|
|
2684
|
-
}
|
|
2685
|
-
function sameContextUsage(left, right) {
|
|
2686
|
-
return stableJsonValue(left) === stableJsonValue(right);
|
|
2687
|
-
}
|
|
2688
|
-
function samePromptImages(leftImages = [], rightImages = []) {
|
|
2689
|
-
if (leftImages.length !== rightImages.length) return false;
|
|
2690
|
-
for (let index = 0; index < leftImages.length; index += 1) {
|
|
2691
|
-
const left = leftImages[index];
|
|
2692
|
-
const right = rightImages[index];
|
|
2693
|
-
if (!left || !right) return false;
|
|
2694
|
-
if (left.mimeType !== right.mimeType) return false;
|
|
2695
|
-
if (left.data !== right.data) return false;
|
|
2696
|
-
if (left.previewUrl !== right.previewUrl) return false;
|
|
2697
|
-
}
|
|
2698
|
-
return true;
|
|
2699
|
-
}
|
|
2700
|
-
function sameUserMessageBody(left, right) {
|
|
2701
|
-
return left.text === right.text && samePromptImages(left.images, right.images) && Boolean(left.queued) === Boolean(right.queued) && left.streamingBehavior === right.streamingBehavior && (left.forkEntryId || "") === (right.forkEntryId || "");
|
|
2702
|
-
}
|
|
2703
|
-
function sameUserMessageContent(left, right) {
|
|
2704
|
-
return (left.itemKey || "") === (right.itemKey || "") && sameUserMessageBody(left, right);
|
|
2705
|
-
}
|
|
2706
|
-
function sameAssistantBlockPayload(left, right) {
|
|
2707
|
-
if (!left || !right || left.type !== right.type) return false;
|
|
2708
|
-
switch (left.type) {
|
|
2709
|
-
case "text": return right.type === "text" && left.text === right.text && Boolean(left.isError) === Boolean(right.isError);
|
|
2710
|
-
case "thinking": return right.type === "thinking" && left.text === right.text && (left.summaryLabel || "") === (right.summaryLabel || "");
|
|
2711
|
-
case "tool": return right.type === "tool" && (left.callId || "") === (right.callId || "") && (left.name || "") === (right.name || "") && stableJsonValue(left.args) === stableJsonValue(right.args) && left.output === right.output && stableJsonValue(left.details) === stableJsonValue(right.details) && Boolean(left.isError) === Boolean(right.isError) && Boolean(left.running) === Boolean(right.running);
|
|
2712
|
-
case "compaction": return right.type === "compaction" && left.summary === right.summary && left.tokensBefore === right.tokensBefore && left.estimatedTokensAfter === right.estimatedTokensAfter;
|
|
2713
|
-
default: return false;
|
|
2714
|
-
}
|
|
2715
|
-
}
|
|
2716
|
-
function sameAssistantBlock(left, right) {
|
|
2717
|
-
return (left.blockKey || "") === (right.blockKey || "") && sameAssistantBlockPayload(left, right);
|
|
2718
|
-
}
|
|
2719
|
-
function sameAssistantModel(left, right) {
|
|
2720
|
-
if (left === right) return true;
|
|
2721
|
-
if (!left || !right) return false;
|
|
2722
|
-
return left.id === right.id && (left.provider || "") === (right.provider || "") && (left.name || "") === (right.name || "") && Boolean(left.reasoning) === Boolean(right.reasoning);
|
|
2723
|
-
}
|
|
2724
|
-
function sameAssistantMessageMeta(left, right) {
|
|
2725
|
-
return sameAssistantModel(left.model, right.model) && left.done === false === (right.done === false) && (left.branchEntryId || "") === (right.branchEntryId || "");
|
|
2726
|
-
}
|
|
2727
|
-
function sameStateItem(left, right) {
|
|
2728
|
-
if (!left || !right || left.kind !== right.kind) return false;
|
|
2729
|
-
if ((left.itemKey || "") !== (right.itemKey || "")) return false;
|
|
2730
|
-
if (left.kind === "user" && right.kind === "user") return (left.pendingId || "") === (right.pendingId || "") && sameUserMessageContent(left, right);
|
|
2731
|
-
if (left.kind !== "assistant" || right.kind !== "assistant") return false;
|
|
2732
|
-
if (Boolean(left.streaming) !== Boolean(right.streaming)) return false;
|
|
2733
|
-
if (!sameAssistantMessageMeta(left, right)) return false;
|
|
2734
|
-
if (left.blocks.length !== right.blocks.length) return false;
|
|
2735
|
-
for (let index = 0; index < left.blocks.length; index += 1) if (!sameAssistantBlock(left.blocks[index], right.blocks[index])) return false;
|
|
2736
|
-
return true;
|
|
2737
|
-
}
|
|
2738
|
-
function previousAssistantBlockByKey(blocks, blockKey) {
|
|
2739
|
-
if (!blockKey) return void 0;
|
|
2740
|
-
return blocks.find((block) => block.blockKey === blockKey);
|
|
2741
|
-
}
|
|
2742
|
-
function assistantBlockRenderKey(block) {
|
|
2743
|
-
return block?.renderKey || block?.blockKey || "";
|
|
2744
|
-
}
|
|
2745
|
-
function withAssistantBlockRenderKey(block, previousBlock) {
|
|
2746
|
-
const renderKey = assistantBlockRenderKey(previousBlock);
|
|
2747
|
-
if (!renderKey || block.renderKey === renderKey) return block;
|
|
2748
|
-
return {
|
|
2749
|
-
...block,
|
|
2750
|
-
renderKey
|
|
2751
|
-
};
|
|
2752
|
-
}
|
|
2753
|
-
function sameAssistantBlockListPayload(leftBlocks, rightBlocks) {
|
|
2754
|
-
if (leftBlocks.length !== rightBlocks.length) return false;
|
|
2755
|
-
for (let index = 0; index < leftBlocks.length; index += 1) if (!sameAssistantBlockPayload(leftBlocks[index], rightBlocks[index])) return false;
|
|
2756
|
-
return true;
|
|
2757
|
-
}
|
|
2758
|
-
function reconcileAssistantBlocks(previousBlocks, nextBlocks) {
|
|
2759
|
-
let changed = previousBlocks.length !== nextBlocks.length;
|
|
2760
|
-
const reconciled = [];
|
|
2761
|
-
for (let index = 0; index < nextBlocks.length; index += 1) {
|
|
2762
|
-
const nextBlock = nextBlocks[index];
|
|
2763
|
-
const previousBlock = previousAssistantBlockByKey(previousBlocks, nextBlock.blockKey) || previousBlocks[index];
|
|
2764
|
-
if (previousBlock && sameAssistantBlock(previousBlock, nextBlock)) {
|
|
2765
|
-
reconciled.push(previousBlock);
|
|
2766
|
-
continue;
|
|
2767
|
-
}
|
|
2768
|
-
changed = true;
|
|
2769
|
-
if (previousBlock?.type === nextBlock.type && ((previousBlock.blockKey || "") === (nextBlock.blockKey || "") || sameAssistantBlockPayload(previousBlock, nextBlock))) {
|
|
2770
|
-
reconciled.push(withAssistantBlockRenderKey(nextBlock, previousBlock));
|
|
2771
|
-
continue;
|
|
2772
|
-
}
|
|
2773
|
-
reconciled.push(nextBlock);
|
|
2774
|
-
}
|
|
2775
|
-
return changed ? reconciled : previousBlocks;
|
|
2776
|
-
}
|
|
2777
|
-
function conversationItemRenderKey(item) {
|
|
2778
|
-
return item?.renderKey || item?.itemKey || "";
|
|
2779
|
-
}
|
|
2780
|
-
function withConversationItemRenderKey(item, previousItem) {
|
|
2781
|
-
const renderKey = conversationItemRenderKey(previousItem);
|
|
2782
|
-
if (!renderKey || item.renderKey === renderKey) return item;
|
|
2783
|
-
return {
|
|
2784
|
-
...item,
|
|
2785
|
-
renderKey
|
|
2786
|
-
};
|
|
2787
|
-
}
|
|
2788
|
-
function reconcileConversationItems(previousItems, nextItems) {
|
|
2789
|
-
if (previousItems.length === 0) return nextItems;
|
|
2790
|
-
const previousItemsByKey = /* @__PURE__ */ new Map();
|
|
2791
|
-
const previousItemsByRenderKey = /* @__PURE__ */ new Map();
|
|
2792
|
-
for (const item of previousItems) {
|
|
2793
|
-
if (item.itemKey && !previousItemsByKey.has(item.itemKey)) previousItemsByKey.set(item.itemKey, item);
|
|
2794
|
-
const renderKey = conversationItemRenderKey(item);
|
|
2795
|
-
if (renderKey && !previousItemsByRenderKey.has(renderKey)) previousItemsByRenderKey.set(renderKey, item);
|
|
2796
|
-
}
|
|
2797
|
-
let changed = previousItems.length !== nextItems.length;
|
|
2798
|
-
const reconciled = [];
|
|
2799
|
-
for (let index = 0; index < nextItems.length; index += 1) {
|
|
2800
|
-
const nextItem = nextItems[index];
|
|
2801
|
-
const nextRenderKey = conversationItemRenderKey(nextItem);
|
|
2802
|
-
const previousItem = (nextItem.itemKey ? previousItemsByKey.get(nextItem.itemKey) : void 0) || (nextRenderKey ? previousItemsByRenderKey.get(nextRenderKey) : void 0) || previousItems[index];
|
|
2803
|
-
if (!previousItem || previousItem.kind !== nextItem.kind) {
|
|
2804
|
-
changed = true;
|
|
2805
|
-
reconciled.push(nextItem);
|
|
2806
|
-
continue;
|
|
2807
|
-
}
|
|
2808
|
-
if (sameStateItem(previousItem, nextItem)) {
|
|
2809
|
-
reconciled.push(previousItem);
|
|
2810
|
-
continue;
|
|
2811
|
-
}
|
|
2812
|
-
if (previousItem.kind === "user" && nextItem.kind === "user") {
|
|
2813
|
-
if (sameUserMessageBody(previousItem, nextItem)) {
|
|
2814
|
-
changed = true;
|
|
2815
|
-
reconciled.push(withConversationItemRenderKey(nextItem, previousItem));
|
|
2816
|
-
continue;
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
if (previousItem.kind === "assistant" && nextItem.kind === "assistant") {
|
|
2820
|
-
const blocks = reconcileAssistantBlocks(previousItem.blocks, nextItem.blocks);
|
|
2821
|
-
const sameLogicalItem = (previousItem.itemKey || "") === (nextItem.itemKey || "");
|
|
2822
|
-
const sameRenderItem = conversationItemRenderKey(previousItem) === conversationItemRenderKey(nextItem);
|
|
2823
|
-
const finalizingStreamingItem = Boolean(previousItem.streaming) && !nextItem.streaming && sameAssistantBlockListPayload(previousItem.blocks, nextItem.blocks);
|
|
2824
|
-
const itemWithStableRenderKey = sameLogicalItem || sameRenderItem || finalizingStreamingItem ? withConversationItemRenderKey(nextItem, previousItem) : nextItem;
|
|
2825
|
-
if (sameLogicalItem && blocks === previousItem.blocks && Boolean(previousItem.streaming) === Boolean(nextItem.streaming) && sameAssistantMessageMeta(previousItem, nextItem)) {
|
|
2826
|
-
reconciled.push(previousItem);
|
|
2827
|
-
continue;
|
|
2828
|
-
}
|
|
2829
|
-
changed = true;
|
|
2830
|
-
reconciled.push(blocks === itemWithStableRenderKey.blocks ? itemWithStableRenderKey : {
|
|
2831
|
-
...itemWithStableRenderKey,
|
|
2832
|
-
blocks
|
|
2833
|
-
});
|
|
2834
|
-
continue;
|
|
2835
|
-
}
|
|
2836
|
-
changed = true;
|
|
2837
|
-
reconciled.push(nextItem);
|
|
2838
|
-
}
|
|
2839
|
-
return changed ? reconciled : previousItems;
|
|
2840
|
-
}
|
|
2841
|
-
function assistantStopMessage(message) {
|
|
2842
|
-
const stopReason = typeof message?.stopReason === "string" ? message.stopReason : "";
|
|
2843
|
-
const errorMessage = typeof message?.errorMessage === "string" ? message.errorMessage.trim() : "";
|
|
2844
|
-
if (stopReason === "aborted") return errorMessage && errorMessage !== "Request was aborted" ? errorMessage : "Operation aborted";
|
|
2845
|
-
if (stopReason === "error") return `Error: ${errorMessage || "Unknown error"}`;
|
|
2846
|
-
return "";
|
|
2847
|
-
}
|
|
2848
|
-
function assistantStopIsError(message) {
|
|
2849
|
-
const stopReason = typeof message?.stopReason === "string" ? message.stopReason : "";
|
|
2850
|
-
return stopReason === "aborted" || stopReason === "error";
|
|
2851
|
-
}
|
|
2852
|
-
function assistantModelFromMessage(message) {
|
|
2853
|
-
const id = typeof message?.model === "string" ? message.model.trim() : "";
|
|
2854
|
-
if (!id) return void 0;
|
|
2855
|
-
const provider = typeof message?.provider === "string" ? message.provider.trim() : "";
|
|
2856
|
-
return {
|
|
2857
|
-
id,
|
|
2858
|
-
...provider ? { provider } : {}
|
|
2859
|
-
};
|
|
2860
|
-
}
|
|
2861
|
-
function assistantItemMetadataFromMessage(message) {
|
|
2862
|
-
const model = assistantModelFromMessage(message);
|
|
2863
|
-
return model ? { model } : {};
|
|
2864
|
-
}
|
|
2865
|
-
function applyAssistantStopToToolBlocks(blocks, stopMessage) {
|
|
2866
|
-
let changed = false;
|
|
2867
|
-
const nextBlocks = blocks.map((block) => {
|
|
2868
|
-
if (block.type !== "tool" || block.output.trim()) return block;
|
|
2869
|
-
changed = true;
|
|
2870
|
-
return {
|
|
2871
|
-
...block,
|
|
2872
|
-
output: stopMessage,
|
|
2873
|
-
isError: true,
|
|
2874
|
-
running: false
|
|
2875
|
-
};
|
|
2876
|
-
});
|
|
2877
|
-
return changed ? nextBlocks : blocks;
|
|
2878
|
-
}
|
|
2879
|
-
function assistantBlocksFromMessage(message, keyPrefix = "assistant") {
|
|
2880
|
-
let blocks = [];
|
|
2881
|
-
const toolBlockIndexByCallId = /* @__PURE__ */ new Map();
|
|
2882
|
-
const content = Array.isArray(message?.content) ? message.content : [];
|
|
2883
|
-
const stopMessage = assistantStopMessage(message);
|
|
2884
|
-
const stopIsError = assistantStopIsError(message);
|
|
2885
|
-
for (let index = 0; index < content.length; index += 1) {
|
|
2886
|
-
const part = content[index];
|
|
2887
|
-
const partKey = `${keyPrefix}:part:${index}`;
|
|
2888
|
-
if (part?.type === "text") blocks.push({
|
|
2889
|
-
type: "text",
|
|
2890
|
-
blockKey: `${partKey}:text`,
|
|
2891
|
-
text: part.text || ""
|
|
2892
|
-
});
|
|
2893
|
-
if (part?.type === "thinking") {
|
|
2894
|
-
const thinkingText = part.thinking || "";
|
|
2895
|
-
if (thinkingText.trim()) blocks.push({
|
|
2896
|
-
type: "thinking",
|
|
2897
|
-
blockKey: `${partKey}:thinking`,
|
|
2898
|
-
text: thinkingText,
|
|
2899
|
-
...typeof part.summaryLabel === "string" ? { summaryLabel: part.summaryLabel } : {}
|
|
2900
|
-
});
|
|
2901
|
-
}
|
|
2902
|
-
if (part?.type === "toolCall") {
|
|
2903
|
-
const callId = typeof part.id === "string" ? part.id.trim() : "";
|
|
2904
|
-
const toolName = typeof part.name === "string" ? part.name : void 0;
|
|
2905
|
-
const category = toolCategoryFromTool(toolName, part.arguments);
|
|
2906
|
-
const toolBlock = {
|
|
2907
|
-
type: "tool",
|
|
2908
|
-
blockKey: callId ? `${keyPrefix}:tool:${callId}` : `${partKey}:tool`,
|
|
2909
|
-
...callId ? { callId } : {},
|
|
2910
|
-
...toolName ? { name: toolName } : {},
|
|
2911
|
-
...category ? { category } : {},
|
|
2912
|
-
args: part.arguments,
|
|
2913
|
-
output: "",
|
|
2914
|
-
details: void 0,
|
|
2915
|
-
isError: false,
|
|
2916
|
-
running: true
|
|
2917
|
-
};
|
|
2918
|
-
const existingIndex = callId ? toolBlockIndexByCallId.get(callId) : void 0;
|
|
2919
|
-
const existingBlock = existingIndex !== void 0 ? blocks[existingIndex] : void 0;
|
|
2920
|
-
if (existingIndex !== void 0 && existingBlock?.type === "tool") {
|
|
2921
|
-
blocks[existingIndex] = {
|
|
2922
|
-
...existingBlock,
|
|
2923
|
-
...toolBlock.name ? { name: toolBlock.name } : {},
|
|
2924
|
-
...toolBlock.category || existingBlock.category ? { category: toolBlock.category || existingBlock.category } : {},
|
|
2925
|
-
args: toolBlock.args,
|
|
2926
|
-
running: true
|
|
2927
|
-
};
|
|
2928
|
-
continue;
|
|
2929
|
-
}
|
|
2930
|
-
if (callId) toolBlockIndexByCallId.set(callId, blocks.length);
|
|
2931
|
-
blocks.push(toolBlock);
|
|
2932
|
-
}
|
|
2933
|
-
}
|
|
2934
|
-
if (stopMessage) if (blocks.some((block) => block.type === "tool")) blocks = applyAssistantStopToToolBlocks(blocks, stopMessage);
|
|
2935
|
-
else blocks.push({
|
|
2936
|
-
type: "text",
|
|
2937
|
-
blockKey: `${keyPrefix}:stop`,
|
|
2938
|
-
text: stopMessage,
|
|
2939
|
-
...stopIsError ? { isError: true } : {}
|
|
2940
|
-
});
|
|
2941
|
-
return blocks;
|
|
2942
|
-
}
|
|
2943
|
-
function createCompactionSummaryItem(summary, tokensBefore, itemKey = "compaction", estimatedTokensAfter) {
|
|
2944
|
-
const normalizedEstimatedTokensAfter = estimatedTokensAfter == null ? NaN : Number(estimatedTokensAfter);
|
|
2945
|
-
return {
|
|
2946
|
-
kind: "assistant",
|
|
2947
|
-
itemKey,
|
|
2948
|
-
blocks: [{
|
|
2949
|
-
type: "compaction",
|
|
2950
|
-
blockKey: `${itemKey}:compaction`,
|
|
2951
|
-
summary: typeof summary === "string" ? summary : "",
|
|
2952
|
-
tokensBefore: Number.isFinite(Number(tokensBefore)) ? Number(tokensBefore) : 0,
|
|
2953
|
-
...Number.isFinite(normalizedEstimatedTokensAfter) ? { estimatedTokensAfter: normalizedEstimatedTokensAfter } : {}
|
|
2954
|
-
}],
|
|
2955
|
-
streaming: false
|
|
2956
|
-
};
|
|
2957
|
-
}
|
|
2958
|
-
function mutateToolBlockInItems(items, callId, mutate) {
|
|
2959
|
-
if (!callId) return;
|
|
2960
|
-
for (let index = items.length - 1; index >= 0; index -= 1) {
|
|
2961
|
-
const item = items[index];
|
|
2962
|
-
if (item?.kind !== "assistant") continue;
|
|
2963
|
-
for (const block of item.blocks) {
|
|
2964
|
-
if (block.type !== "tool" || block.callId !== callId) continue;
|
|
2965
|
-
mutate(block);
|
|
2966
|
-
return;
|
|
2967
|
-
}
|
|
2968
|
-
}
|
|
2969
|
-
}
|
|
2970
|
-
function applyToolResultToBlock(block, update) {
|
|
2971
|
-
if (!update) return block;
|
|
2972
|
-
if (block.output === update.output && block.details === update.details && block.isError === update.isError && !block.running) return block;
|
|
2973
|
-
return {
|
|
2974
|
-
...block,
|
|
2975
|
-
output: update.output,
|
|
2976
|
-
details: update.details,
|
|
2977
|
-
isError: update.isError,
|
|
2978
|
-
running: false
|
|
2979
|
-
};
|
|
2980
|
-
}
|
|
2981
|
-
function applyToolResultsToBlocks(blocks, toolResultsByCallId) {
|
|
2982
|
-
if (toolResultsByCallId.size === 0) return blocks;
|
|
2983
|
-
let changed = false;
|
|
2984
|
-
const nextBlocks = blocks.map((block) => {
|
|
2985
|
-
if (block.type !== "tool" || !block.callId) return block;
|
|
2986
|
-
const nextBlock = applyToolResultToBlock(block, toolResultsByCallId.get(block.callId));
|
|
2987
|
-
if (nextBlock !== block) changed = true;
|
|
2988
|
-
return nextBlock;
|
|
2989
|
-
});
|
|
2990
|
-
return changed ? nextBlocks : blocks;
|
|
2991
|
-
}
|
|
2992
|
-
function mergeAssistantBlocksForStreaming(options) {
|
|
2993
|
-
const previousBlocks = options.previousBlocks ?? [];
|
|
2994
|
-
const withToolResults = (blocks) => options.toolResultsByCallId ? applyToolResultsToBlocks(blocks, options.toolResultsByCallId) : blocks;
|
|
2995
|
-
if (previousBlocks.length === 0) return withToolResults(options.nextBlocks);
|
|
2996
|
-
const previousToolByCallId = /* @__PURE__ */ new Map();
|
|
2997
|
-
previousBlocks.forEach((block) => {
|
|
2998
|
-
if (block.type === "tool" && block.callId) previousToolByCallId.set(block.callId, block);
|
|
2999
|
-
});
|
|
3000
|
-
const nextToolCallIds = /* @__PURE__ */ new Set();
|
|
3001
|
-
const mergedNextBlocks = options.nextBlocks.map((block, index) => {
|
|
3002
|
-
if (block.type === "tool" && block.callId) {
|
|
3003
|
-
nextToolCallIds.add(block.callId);
|
|
3004
|
-
const previousTool = previousToolByCallId.get(block.callId);
|
|
3005
|
-
if (previousTool) return {
|
|
3006
|
-
...block,
|
|
3007
|
-
renderKey: assistantBlockRenderKey(previousTool),
|
|
3008
|
-
category: block.category || previousTool.category,
|
|
3009
|
-
output: previousTool.output || block.output,
|
|
3010
|
-
details: previousTool.details ?? block.details,
|
|
3011
|
-
isError: previousTool.isError || block.isError,
|
|
3012
|
-
running: previousTool.running === false ? false : block.running
|
|
3013
|
-
};
|
|
3014
|
-
}
|
|
3015
|
-
const previousBlock = options.preserveBlockRenderKeysByIndex ? previousBlocks[index] : void 0;
|
|
3016
|
-
if (previousBlock?.type === block.type) return withAssistantBlockRenderKey(block, previousBlock);
|
|
3017
|
-
return block;
|
|
3018
|
-
});
|
|
3019
|
-
if (!options.preserveMissingTools) return withToolResults(mergedNextBlocks);
|
|
3020
|
-
const missingPreviousTools = previousBlocks.flatMap((block, index) => block.type === "tool" && Boolean(block.callId) && !nextToolCallIds.has(block.callId || "") ? [{
|
|
3021
|
-
block,
|
|
3022
|
-
index
|
|
3023
|
-
}] : []);
|
|
3024
|
-
if (missingPreviousTools.length === 0) return withToolResults(mergedNextBlocks);
|
|
3025
|
-
const blocks = [];
|
|
3026
|
-
let missingIndex = 0;
|
|
3027
|
-
for (let index = 0; index < mergedNextBlocks.length; index += 1) {
|
|
3028
|
-
while (missingIndex < missingPreviousTools.length && missingPreviousTools[missingIndex].index <= index) {
|
|
3029
|
-
blocks.push(missingPreviousTools[missingIndex].block);
|
|
3030
|
-
missingIndex += 1;
|
|
3031
|
-
}
|
|
3032
|
-
blocks.push(mergedNextBlocks[index]);
|
|
3033
|
-
}
|
|
3034
|
-
while (missingIndex < missingPreviousTools.length) {
|
|
3035
|
-
blocks.push(missingPreviousTools[missingIndex].block);
|
|
3036
|
-
missingIndex += 1;
|
|
3037
|
-
}
|
|
3038
|
-
return withToolResults(blocks);
|
|
3039
|
-
}
|
|
3040
|
-
function mergeStreamingAssistantBlocks(options) {
|
|
3041
|
-
return mergeAssistantBlocksForStreaming({
|
|
3042
|
-
previousBlocks: options.previousStreamingItem?.blocks,
|
|
3043
|
-
nextBlocks: options.nextBlocks,
|
|
3044
|
-
toolResultsByCallId: options.toolResultsByCallId,
|
|
3045
|
-
preserveMissingTools: true
|
|
3046
|
-
});
|
|
3047
|
-
}
|
|
3048
|
-
function appendAssistantItem(items, item) {
|
|
3049
|
-
items.push(item);
|
|
3050
|
-
return item;
|
|
3051
|
-
}
|
|
3052
|
-
function findStreamingAssistantItem(items) {
|
|
3053
|
-
for (let index = items.length - 1; index >= 0; index -= 1) {
|
|
3054
|
-
const item = items[index];
|
|
3055
|
-
if (item?.kind === "assistant" && item.streaming) return item;
|
|
3056
|
-
}
|
|
3057
|
-
return null;
|
|
3058
|
-
}
|
|
3059
|
-
function isPendingConversationItem(item) {
|
|
3060
|
-
return item.kind === "user" && (Boolean(item.pendingId) || item.itemKey?.startsWith("pending:"));
|
|
3061
|
-
}
|
|
3062
|
-
function isOptimisticPendingConversationItem(item) {
|
|
3063
|
-
return item.kind === "user" && Boolean(item.pendingId?.startsWith("optimistic:"));
|
|
3064
|
-
}
|
|
3065
|
-
function sameUserPromptBody(left, right) {
|
|
3066
|
-
return left.text === right.text && samePromptImages(left.images, right.images);
|
|
3067
|
-
}
|
|
3068
|
-
function hasMatchingCommittedUserItem(candidate, committedItems, previousIndex) {
|
|
3069
|
-
const startIndex = Math.max(0, previousIndex);
|
|
3070
|
-
for (let index = startIndex; index < committedItems.length; index += 1) {
|
|
3071
|
-
const item = committedItems[index];
|
|
3072
|
-
if (item?.kind !== "user") continue;
|
|
3073
|
-
if (sameUserPromptBody(candidate, item)) return true;
|
|
3074
|
-
}
|
|
3075
|
-
return false;
|
|
3076
|
-
}
|
|
3077
|
-
function mergePendingItemsForSync(options) {
|
|
3078
|
-
if (!options.preserveOptimisticItems) return [];
|
|
3079
|
-
const mergedPendingItems = [];
|
|
3080
|
-
for (let previousIndex = 0; previousIndex < options.previousItems.length; previousIndex += 1) {
|
|
3081
|
-
const previousItem = options.previousItems[previousIndex];
|
|
3082
|
-
if (previousItem?.kind !== "user" || !isOptimisticPendingConversationItem(previousItem) || previousItem.queued) continue;
|
|
3083
|
-
if (hasMatchingCommittedUserItem(previousItem, options.committedItems, previousIndex)) continue;
|
|
3084
|
-
mergedPendingItems.push(previousItem);
|
|
3085
|
-
}
|
|
3086
|
-
return mergedPendingItems;
|
|
3087
|
-
}
|
|
3088
|
-
function committedItemsFromPrevious(previousItems) {
|
|
3089
|
-
return previousItems.filter((item) => {
|
|
3090
|
-
if (isPendingConversationItem(item) || isQueuedConversationItem(item)) return false;
|
|
3091
|
-
return !(item.kind === "assistant" && item.streaming);
|
|
3092
|
-
});
|
|
3093
|
-
}
|
|
3094
|
-
function isQueuedConversationItem(item) {
|
|
3095
|
-
return item.kind === "user" && Boolean(item.queued);
|
|
3096
|
-
}
|
|
3097
|
-
function messageItemIndex(item) {
|
|
3098
|
-
const match = item.itemKey?.match(/^message:(\d+)$/);
|
|
3099
|
-
if (!match) return -1;
|
|
3100
|
-
return Number(match[1]);
|
|
3101
|
-
}
|
|
3102
|
-
function nextMessageItemIndex(items) {
|
|
3103
|
-
let maxIndex = -1;
|
|
3104
|
-
for (const item of items) maxIndex = Math.max(maxIndex, messageItemIndex(item));
|
|
3105
|
-
return maxIndex + 1;
|
|
3106
|
-
}
|
|
3107
|
-
function uniqueRenderKey(preferredKey, items) {
|
|
3108
|
-
const existingRenderKeys = new Set(items.flatMap((item) => {
|
|
3109
|
-
const key = conversationItemRenderKey(item);
|
|
3110
|
-
return key ? [key] : [];
|
|
3111
|
-
}));
|
|
3112
|
-
if (!existingRenderKeys.has(preferredKey)) return preferredKey;
|
|
3113
|
-
let suffix = 1;
|
|
3114
|
-
while (existingRenderKeys.has(`${preferredKey}:streaming:${suffix}`)) suffix += 1;
|
|
3115
|
-
return `${preferredKey}:streaming:${suffix}`;
|
|
3116
|
-
}
|
|
3117
|
-
function streamingAssistantRenderKey(options) {
|
|
3118
|
-
const previousRenderKey = conversationItemRenderKey(options.previousStreamingItem || void 0);
|
|
3119
|
-
if (previousRenderKey && !options.items.some((item) => conversationItemRenderKey(item) === previousRenderKey)) return previousRenderKey;
|
|
3120
|
-
const optimisticUserCount = options.items.filter((item) => item.kind === "user" && isOptimisticPendingConversationItem(item)).length;
|
|
3121
|
-
const predictedAssistantIndex = (options.hasMessages ? options.messages.length : nextMessageItemIndex(options.items)) + optimisticUserCount;
|
|
3122
|
-
return uniqueRenderKey(`message:${Math.max(0, predictedAssistantIndex)}`, options.items);
|
|
3123
|
-
}
|
|
3124
|
-
function messageIsQueued(message) {
|
|
3125
|
-
const metadata = message?.metadata && typeof message.metadata === "object" ? message.metadata : void 0;
|
|
3126
|
-
return Boolean(message.queued || metadata?.queued);
|
|
3127
|
-
}
|
|
3128
|
-
function authoritativeItemsFromSync(sync) {
|
|
3129
|
-
if (!Array.isArray(sync.items)) return null;
|
|
3130
|
-
return sync.items.filter((item) => !isPendingConversationItem(item) && !isQueuedConversationItem(item));
|
|
3131
|
-
}
|
|
3132
|
-
function buildItemsFromSync(sync, previousItems = []) {
|
|
3133
|
-
const authoritativeItems = authoritativeItemsFromSync(sync);
|
|
3134
|
-
const hasAuthoritativeItems = Array.isArray(authoritativeItems);
|
|
3135
|
-
const hasMessages = Array.isArray(sync.messages);
|
|
3136
|
-
const hasPendingUserMessages = Array.isArray(sync.pendingUserMessages);
|
|
3137
|
-
const hasStreamingMessageUpdate = Object.prototype.hasOwnProperty.call(sync, "streamingMessage");
|
|
3138
|
-
const hasStreamingUpdate = typeof sync.streaming === "boolean" || hasStreamingMessageUpdate;
|
|
3139
|
-
if (!hasAuthoritativeItems && !hasMessages && !hasPendingUserMessages && !hasStreamingUpdate) return {
|
|
3140
|
-
items: previousItems,
|
|
3141
|
-
currentAssistantItem: findStreamingAssistantItem(previousItems)
|
|
3142
|
-
};
|
|
3143
|
-
if (authoritativeItems) {
|
|
3144
|
-
const streamingItems = authoritativeItems.filter((item) => item.kind === "assistant" && item.streaming);
|
|
3145
|
-
const items = authoritativeItems.filter((item) => !(item.kind === "assistant" && item.streaming));
|
|
3146
|
-
const preserveOptimisticItems = Boolean(sync.draft) || streamingItems.length > 0 || Boolean(sync.streaming);
|
|
3147
|
-
items.push(...mergePendingItemsForSync({
|
|
3148
|
-
previousItems,
|
|
3149
|
-
committedItems: items,
|
|
3150
|
-
preserveOptimisticItems
|
|
3151
|
-
}));
|
|
3152
|
-
items.push(...streamingItems);
|
|
3153
|
-
const reconciledItems = reconcileConversationItems(previousItems, items);
|
|
3154
|
-
return {
|
|
3155
|
-
items: reconciledItems,
|
|
3156
|
-
currentAssistantItem: findStreamingAssistantItem(reconciledItems)
|
|
3157
|
-
};
|
|
3158
|
-
}
|
|
3159
|
-
const items = hasMessages ? [] : committedItemsFromPrevious(previousItems);
|
|
3160
|
-
const toolResultsByCallId = /* @__PURE__ */ new Map();
|
|
3161
|
-
const messages = Array.isArray(sync.messages) ? sync.messages : [];
|
|
3162
|
-
for (let index = 0; index < messages.length; index += 1) {
|
|
3163
|
-
const message = messages[index];
|
|
3164
|
-
const itemKey = `message:${index}`;
|
|
3165
|
-
if (message.role === "user") {
|
|
3166
|
-
if (messageIsQueued(message)) continue;
|
|
3167
|
-
items.push({
|
|
3168
|
-
kind: "user",
|
|
3169
|
-
itemKey,
|
|
3170
|
-
text: extractMessageText(message),
|
|
3171
|
-
images: extractMessageImages(message),
|
|
3172
|
-
streamingBehavior: normalizeStreamingBehavior(message.streamingBehavior ?? message.deliverAs ?? message?.metadata?.streamingBehavior ?? message?.metadata?.deliverAs)
|
|
3173
|
-
});
|
|
3174
|
-
continue;
|
|
3175
|
-
}
|
|
3176
|
-
if (message.role === "assistant") {
|
|
3177
|
-
appendAssistantItem(items, {
|
|
3178
|
-
kind: "assistant",
|
|
3179
|
-
itemKey,
|
|
3180
|
-
blocks: assistantBlocksFromMessage(message, itemKey),
|
|
3181
|
-
streaming: false,
|
|
3182
|
-
...assistantItemMetadataFromMessage(message)
|
|
3183
|
-
});
|
|
3184
|
-
continue;
|
|
3185
|
-
}
|
|
3186
|
-
if (message.role === "compactionSummary") {
|
|
3187
|
-
items.push(createCompactionSummaryItem(message.summary, message.tokensBefore, itemKey, message.estimatedTokensAfter));
|
|
3188
|
-
continue;
|
|
3189
|
-
}
|
|
3190
|
-
if (message.role === "toolResult") {
|
|
3191
|
-
const callId = typeof message.toolCallId === "string" ? message.toolCallId.trim() : "";
|
|
3192
|
-
const update = {
|
|
3193
|
-
output: extractMessageText(message),
|
|
3194
|
-
details: message.details,
|
|
3195
|
-
isError: Boolean(message.isError)
|
|
3196
|
-
};
|
|
3197
|
-
if (callId) toolResultsByCallId.set(callId, update);
|
|
3198
|
-
mutateToolBlockInItems(items, callId, (block) => {
|
|
3199
|
-
block.output = update.output;
|
|
3200
|
-
block.details = update.details;
|
|
3201
|
-
block.isError = update.isError;
|
|
3202
|
-
block.running = false;
|
|
3203
|
-
});
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
const previousStreamingItem = findStreamingAssistantItem(previousItems);
|
|
3207
|
-
const shouldRenderStreaming = typeof sync.streaming === "boolean" ? sync.streaming : sync.streamingMessage != null ? true : Boolean(previousStreamingItem);
|
|
3208
|
-
const pendingItems = mergePendingItemsForSync({
|
|
3209
|
-
previousItems,
|
|
3210
|
-
committedItems: items,
|
|
3211
|
-
preserveOptimisticItems: Boolean(sync.draft) || shouldRenderStreaming
|
|
3212
|
-
});
|
|
3213
|
-
if (shouldRenderStreaming && pendingItems.length === 0) {
|
|
3214
|
-
const lastItemIndex = items.length - 1;
|
|
3215
|
-
const lastItem = items[lastItemIndex];
|
|
3216
|
-
if (lastItem?.kind === "assistant") items[lastItemIndex] = {
|
|
3217
|
-
...lastItem,
|
|
3218
|
-
done: false
|
|
3219
|
-
};
|
|
3220
|
-
}
|
|
3221
|
-
items.push(...pendingItems);
|
|
3222
|
-
if (shouldRenderStreaming) if (sync.streamingMessage?.role === "assistant") {
|
|
3223
|
-
const renderKey = streamingAssistantRenderKey({
|
|
3224
|
-
hasMessages,
|
|
3225
|
-
messages,
|
|
3226
|
-
items,
|
|
3227
|
-
previousStreamingItem
|
|
3228
|
-
});
|
|
3229
|
-
items.push({
|
|
3230
|
-
kind: "assistant",
|
|
3231
|
-
itemKey: "streaming",
|
|
3232
|
-
renderKey,
|
|
3233
|
-
blocks: mergeStreamingAssistantBlocks({
|
|
3234
|
-
previousStreamingItem,
|
|
3235
|
-
nextBlocks: assistantBlocksFromMessage(sync.streamingMessage, renderKey),
|
|
3236
|
-
toolResultsByCallId
|
|
3237
|
-
}),
|
|
3238
|
-
streaming: true,
|
|
3239
|
-
done: false,
|
|
3240
|
-
...assistantItemMetadataFromMessage(sync.streamingMessage)
|
|
3241
|
-
});
|
|
3242
|
-
} else if (previousStreamingItem && !hasStreamingMessageUpdate) {
|
|
3243
|
-
const blocks = applyToolResultsToBlocks(previousStreamingItem.blocks, toolResultsByCallId);
|
|
3244
|
-
items.push(blocks === previousStreamingItem.blocks ? previousStreamingItem : {
|
|
3245
|
-
...previousStreamingItem,
|
|
3246
|
-
blocks
|
|
3247
|
-
});
|
|
3248
|
-
} else {
|
|
3249
|
-
const renderKey = streamingAssistantRenderKey({
|
|
3250
|
-
hasMessages,
|
|
3251
|
-
messages,
|
|
3252
|
-
items,
|
|
3253
|
-
previousStreamingItem
|
|
3254
|
-
});
|
|
3255
|
-
items.push({
|
|
3256
|
-
kind: "assistant",
|
|
3257
|
-
itemKey: "streaming",
|
|
3258
|
-
renderKey,
|
|
3259
|
-
blocks: mergeStreamingAssistantBlocks({
|
|
3260
|
-
previousStreamingItem,
|
|
3261
|
-
nextBlocks: [],
|
|
3262
|
-
toolResultsByCallId
|
|
3263
|
-
}),
|
|
3264
|
-
streaming: true,
|
|
3265
|
-
done: false
|
|
3266
|
-
});
|
|
3267
|
-
}
|
|
3268
|
-
const reconciledItems = reconcileConversationItems(previousItems, items);
|
|
3269
|
-
return {
|
|
3270
|
-
items: reconciledItems,
|
|
3271
|
-
currentAssistantItem: findStreamingAssistantItem(reconciledItems)
|
|
3272
|
-
};
|
|
3273
|
-
}
|
|
3274
|
-
function sanitizeThinkingSummaryText(value) {
|
|
3275
|
-
if (typeof value !== "string") return "";
|
|
3276
|
-
let text = value.replace(/\r\n?/g, "\n");
|
|
3277
|
-
text = text.replace(/!\[([^\]]*)\]\(([^)\s]+)(?:\s+"[^"]*")?\)/g, (_match, altText) => altText || "image");
|
|
3278
|
-
text = text.replace(/\[([^\]]+)\]\(([^)\s]+)(?:\s+"[^"]*")?\)/g, "$1");
|
|
3279
|
-
text = text.replace(/```([\s\S]*?)```/g, "$1");
|
|
3280
|
-
text = text.replace(/`([^`]+)`/g, "$1");
|
|
3281
|
-
text = text.replace(/\*\*([^*]+)\*\*/g, "$1");
|
|
3282
|
-
text = text.replace(/__([^_]+)__/g, "$1");
|
|
3283
|
-
text = text.replace(/\*([^*\n]+)\*/g, "$1");
|
|
3284
|
-
text = text.replace(/_([^_\n]+)_/g, "$1");
|
|
3285
|
-
text = text.replace(/^\s{0,3}#{1,6}\s+/gm, "");
|
|
3286
|
-
text = text.replace(/^\s*>\s?/gm, "");
|
|
3287
|
-
text = text.replace(/^\s*[-*+]\s+/gm, "");
|
|
3288
|
-
text = text.replace(/^\s*\d+\.\s+/gm, "");
|
|
3289
|
-
text = text.replace(/\/var\/folders\/[^\s)]*\/pi-clipboard-[A-Za-z0-9-]+\.(?:png|jpe?g|gif|webp)\b/gi, "pasted image");
|
|
3290
|
-
text = text.replace(/\s+/g, " ").trim();
|
|
3291
|
-
return text;
|
|
3292
|
-
}
|
|
3293
|
-
function primaryThinkingSummaryText(value) {
|
|
3294
|
-
if (typeof value !== "string") return "";
|
|
3295
|
-
const normalized = value.replace(/\r\n?/g, "\n");
|
|
3296
|
-
const paragraphs = normalized.split(/\n\s*\n+/).flatMap((part) => {
|
|
3297
|
-
const summary = sanitizeThinkingSummaryText(part);
|
|
3298
|
-
return summary ? [summary] : [];
|
|
3299
|
-
});
|
|
3300
|
-
if (paragraphs.length) return paragraphs[0] || "";
|
|
3301
|
-
return sanitizeThinkingSummaryText(normalized);
|
|
3302
|
-
}
|
|
3303
|
-
function meaningfulHiddenThinkingLabel(value) {
|
|
3304
|
-
const label = sanitizeThinkingSummaryText(value);
|
|
3305
|
-
return label && label !== "Thinking..." && label !== "Thinking" ? label : void 0;
|
|
3306
|
-
}
|
|
3307
|
-
function truncateThinkingSummary(text, maxLength = 140) {
|
|
3308
|
-
const normalized = text.replace(/\s+/g, " ").trim();
|
|
3309
|
-
if (!normalized) return "";
|
|
3310
|
-
if (normalized.length <= maxLength) return normalized;
|
|
3311
|
-
return `${normalized.slice(0, Math.max(0, maxLength - 1)).trimEnd()}…`;
|
|
3312
|
-
}
|
|
3313
|
-
function thinkingSummaryText(block, options = {}) {
|
|
3314
|
-
const blockLabel = meaningfulHiddenThinkingLabel(block?.summaryLabel);
|
|
3315
|
-
if (blockLabel) return truncateThinkingSummary(blockLabel);
|
|
3316
|
-
const text = primaryThinkingSummaryText(block?.text);
|
|
3317
|
-
if (!text) return options.allowPlaceholder ? "Thinking…" : "";
|
|
3318
|
-
return truncateThinkingSummary(text);
|
|
3319
|
-
}
|
|
3320
|
-
function createInitialSessionState() {
|
|
3321
|
-
return {
|
|
3322
|
-
connected: false,
|
|
3323
|
-
replaying: false,
|
|
3324
|
-
streaming: false,
|
|
3325
|
-
compacting: false,
|
|
3326
|
-
draft: true,
|
|
3327
|
-
messages: [],
|
|
3328
|
-
items: [],
|
|
3329
|
-
historyOffset: 0,
|
|
3330
|
-
historyTotalCount: 0,
|
|
3331
|
-
firstMessage: "",
|
|
3332
|
-
thinkingLevel: "xhigh",
|
|
3333
|
-
availableThinkingLevels: [
|
|
3334
|
-
"off",
|
|
3335
|
-
"minimal",
|
|
3336
|
-
"low",
|
|
3337
|
-
"medium",
|
|
3338
|
-
"high",
|
|
3339
|
-
"xhigh"
|
|
3340
|
-
],
|
|
3341
|
-
availableModels: [],
|
|
3342
|
-
availableSkills: [],
|
|
3343
|
-
hideThinkingBlock: false,
|
|
3344
|
-
contextUsage: void 0,
|
|
3345
|
-
uiState: {
|
|
3346
|
-
statuses: {},
|
|
3347
|
-
editorText: ""
|
|
3348
|
-
}
|
|
3349
|
-
};
|
|
3350
|
-
}
|
|
3351
|
-
function flattenTree(tree) {
|
|
3352
|
-
const flatNodes = [];
|
|
3353
|
-
function visit(node, depth) {
|
|
3354
|
-
const entry = node.entry;
|
|
3355
|
-
const role = entry.message?.role;
|
|
3356
|
-
const label = node.label;
|
|
3357
|
-
const contentParts = [
|
|
3358
|
-
label,
|
|
3359
|
-
role ? `${role}:` : "",
|
|
3360
|
-
entry.message?.text,
|
|
3361
|
-
entry.summary,
|
|
3362
|
-
entry.text,
|
|
3363
|
-
entry.message?.command,
|
|
3364
|
-
entry.modelId,
|
|
3365
|
-
entry.thinkingLevel,
|
|
3366
|
-
entry.name,
|
|
3367
|
-
entry.label,
|
|
3368
|
-
...entry.message?.toolCalls?.map((toolCall) => toolCall.preview || toolCall.name || "") ?? []
|
|
3369
|
-
];
|
|
3370
|
-
flatNodes.push({
|
|
3371
|
-
id: entry.id,
|
|
3372
|
-
parentId: entry.parentId,
|
|
3373
|
-
depth,
|
|
3374
|
-
label,
|
|
3375
|
-
labelTimestamp: node.labelTimestamp,
|
|
3376
|
-
streaming: Boolean(node.streaming),
|
|
3377
|
-
timestamp: entry.timestamp,
|
|
3378
|
-
type: entry.type,
|
|
3379
|
-
role,
|
|
3380
|
-
text: contentParts.filter(Boolean).join(" ").trim(),
|
|
3381
|
-
node
|
|
3382
|
-
});
|
|
3383
|
-
for (const child of node.children || []) visit(child, depth + 1);
|
|
3384
|
-
}
|
|
3385
|
-
for (const node of tree) visit(node, 0);
|
|
3386
|
-
return flatNodes;
|
|
3387
|
-
}
|
|
3388
|
-
function getSessionTitle(summary) {
|
|
3389
|
-
if (summary?.title?.trim()) return summary.title.trim();
|
|
3390
|
-
if (summary?.name?.trim()) return summary.name.trim();
|
|
3391
|
-
return "New session";
|
|
3392
|
-
}
|
|
3393
|
-
var $$splitComponentImporter = () => import("./routes-BsQ26pbY.mjs");
|
|
3394
|
-
var indexSearchSchema = object({ session: string().optional() });
|
|
3395
|
-
var Route = createFileRoute("/")({
|
|
3396
|
-
validateSearch: indexSearchSchema,
|
|
3397
|
-
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
3398
|
-
});
|
|
3399
|
-
//#endregion
|
|
3400
|
-
export { normalizeSessionSelectionKeys as $, THEME_STORAGE_KEY as A, themeFamilyDescription as At, buildItemsFromSync as B, SESSION_DONE_SOUND_ENABLED_STORAGE_KEY as C, rememberStoredPromptDraft as Ct, TERMINAL_PANEL_OPEN_STORAGE_KEY as D, sameContextUsage as Dt, TERMINAL_PANEL_HEIGHT_STORAGE_KEY as E, safeLocalStorageSetItem as Et, TooltipTrigger as F, thinkingSummaryText as Ft, exploreShellCommandNameFromTool as G, createCompactionSummaryItem as H, VIEWER_CONTEXT_STORAGE_KEY as I, toolArgsAreIncompleteJsonObject as It, extractToolText as J, extractMessageImages as K, appliedThemeClass as L, toolCategoryFromTool as Lt, Tooltip$1 as M, themeFamilyKeywords as Mt, TooltipContent as N, themeFamilyLabel as Nt, THEME_COLOR_MODE_STORAGE_KEY as O, sessionListEntryKey as Ot, TooltipProvider as P, themeFamilySupportsColorMode as Pt, normalizePromptImage as Q, appliedThemeClassColorMode as R, toolCouldBecomeExploreFromTool as Rt, SESSION_DONE_DESKTOP_NOTIFICATIONS_ENABLED_STORAGE_KEY as S, readStoredThemeColorMode as St, Spinner as T, safeLocalStorageGetItem as Tt, createContextId as U, cn as V, createInitialSessionState as W, getSessionTitle as X, flattenTree as Y, mergeAssistantBlocksForStreaming as Z, RIGHT_SIDEBAR_HISTORY_HEIGHT_STORAGE_KEY as _, readStoredSessionDoneSoundEnabled as _t, COLLAPSED_DIRECTORIES_STORAGE_KEY as a, promptDraftKeyMatchesOwner as at, RIGHT_SIDEBAR_WIDTHS_STORAGE_KEY as b, readStoredTerminalTabs as bt, Kbd as c, readStoredCenterMessages as ct, PICO_DIFF_SHIKI_THEMES as d, readStoredHideToolBlocks as dt, normalizeStoredDirectoryList as et, PICO_SHIKI_VARIABLE_DEFAULTS as f, readStoredPinnedSessionKeys as ft, RIGHT_SIDEBAR_FILE_TREE_WIDTH_STORAGE_KEY as g, readStoredSessionDoneDesktopNotificationsEnabled as gt, RIGHT_SIDEBAR_ACTIVE_TAB_STORAGE_KEY as h, readStoredRightSidebarOpen as ht, CENTER_MESSAGES_STORAGE_KEY as i, promptDraftKey as it, TitleTooltip as j, themeFamilyFixedMode as jt, THEME_FAMILIES as k, themeColorModeLabel as kt, KeyboardShortcutContent as l, readStoredCollapsedDirectories as lt, RECENT_DIRECTORIES_STORAGE_KEY as m, readStoredRecentDirectories as mt, APPLIED_THEME_STORAGE_KEY as n, normalizeThemeFamily as nt, DRAFT_DIRECTORY_STORAGE_KEY as o, rawShellCommandTextFromTool as ot, PINNED_SESSIONS_STORAGE_KEY as p, readStoredPromptDraft as pt, extractMessageText as q, AUTO_SCROLL_ENABLED_STORAGE_KEY as r, previewUrlForImage as rt, HIDE_TOOL_BLOCKS_STORAGE_KEY as s, readStoredAutoScrollEnabled as st, APPLIED_THEME_CLASSES as t, normalizeThemeColorMode as tt, PICO_CODE_SHIKI_THEME as u, readStoredDraftDirectory as ut, RIGHT_SIDEBAR_HISTORY_TAB_STORAGE_KEY as v, readStoredSidebarDirectories as vt, SIDEBAR_DIRECTORIES_STORAGE_KEY as w, rememberStoredTerminalTabs as wt, Route as x, readStoredTheme as xt, RIGHT_SIDEBAR_OPEN_STORAGE_KEY as y, readStoredTerminalPanelOpen as yt, assistantBlocksFromMessage as z };
|