@nikcli-ai/app 0.0.6
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/.turbo/turbo-build.log +661 -0
- package/.turbo/turbo-typecheck.log +1 -0
- package/AGENTS.md +30 -0
- package/README.md +51 -0
- package/dist/_headers +17 -0
- package/dist/apple-touch-icon-v3.png +0 -0
- package/dist/apple-touch-icon.png +0 -0
- package/dist/assets/BlexMonoNerdFontMono-Bold-B8jzonSj.woff2 +0 -0
- package/dist/assets/BlexMonoNerdFontMono-Medium-BvtJB5kd.woff2 +0 -0
- package/dist/assets/BlexMonoNerdFontMono-Regular-DSJ7IWr2.woff2 +0 -0
- package/dist/assets/CaskaydiaCoveNerdFontMono-Bold-CxABrWmj.woff2 +0 -0
- package/dist/assets/CaskaydiaCoveNerdFontMono-Regular-C_H0OSLN.woff2 +0 -0
- package/dist/assets/FiraCodeNerdFontMono-Bold-BjAeM3gJ.woff2 +0 -0
- package/dist/assets/FiraCodeNerdFontMono-Regular-io3c92n9.woff2 +0 -0
- package/dist/assets/HackNerdFontMono-Bold-BNG4kp7w.woff2 +0 -0
- package/dist/assets/HackNerdFontMono-Regular-IcpSchWC.woff2 +0 -0
- package/dist/assets/InconsolataNerdFontMono-Bold-oTRjQesI.woff2 +0 -0
- package/dist/assets/InconsolataNerdFontMono-Regular-CRHGEvh2.woff2 +0 -0
- package/dist/assets/IntoneMonoNerdFontMono-Bold-BL6LrHzx.woff2 +0 -0
- package/dist/assets/IntoneMonoNerdFontMono-Regular-BwjBdmsJ.woff2 +0 -0
- package/dist/assets/JetBrainsMonoNerdFontMono-Bold-CU80ifuM.woff2 +0 -0
- package/dist/assets/JetBrainsMonoNerdFontMono-Regular-QVq88ZfU.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/assets/MesloLGSNerdFontMono-Bold-CrpVO3ec.woff2 +0 -0
- package/dist/assets/MesloLGSNerdFontMono-Regular-j-nTZDWZ.woff2 +0 -0
- package/dist/assets/RobotoMonoNerdFontMono-Bold-DNxuDepp.woff2 +0 -0
- package/dist/assets/RobotoMonoNerdFontMono-Regular-DvxS3QZC.woff2 +0 -0
- package/dist/assets/SauceCodeProNerdFontMono-Bold-DloEeUVQ.woff2 +0 -0
- package/dist/assets/SauceCodeProNerdFontMono-Regular-Ba96Bdne.woff2 +0 -0
- package/dist/assets/UbuntuMonoNerdFontMono-Bold-wLXUURqB.woff2 +0 -0
- package/dist/assets/UbuntuMonoNerdFontMono-Regular-tdnXLyap.woff2 +0 -0
- package/dist/assets/abap-BXYWi5l2.js +1 -0
- package/dist/assets/abap-BdImnpbu.js +1 -0
- package/dist/assets/actionscript-3-CfeIJUat.js +1 -0
- package/dist/assets/actionscript-3-LjD3sNyx.js +1 -0
- package/dist/assets/ada-DeReRNhg.js +1 -0
- package/dist/assets/ada-bCR0ucgS.js +1 -0
- package/dist/assets/alert-01-BuOD_o_q.aac +0 -0
- package/dist/assets/alert-02-CS75AsoP.aac +0 -0
- package/dist/assets/alert-04-CaGsIGFP.aac +0 -0
- package/dist/assets/alert-05-D2gbGoRH.aac +0 -0
- package/dist/assets/alert-06-GK5Tqy6u.aac +0 -0
- package/dist/assets/alert-07-0r0kiLGz.aac +0 -0
- package/dist/assets/alert-08-CZowNquU.aac +0 -0
- package/dist/assets/alert-10-Ck5hR7zH.aac +0 -0
- package/dist/assets/android-studio-D0DqtVA4.svg +1 -0
- package/dist/assets/andromeeda-C-Jbm3Hp.js +1 -0
- package/dist/assets/angular-html-6NEUuZou.js +1 -0
- package/dist/assets/angular-html-CU67Zn6k.js +1 -0
- package/dist/assets/angular-ts-BfBSdvnY.js +1 -0
- package/dist/assets/angular-ts-BwZT4LLn.js +1 -0
- package/dist/assets/antigravity-XfClf80L.svg +1 -0
- package/dist/assets/apache-CCUDgqAf.js +1 -0
- package/dist/assets/apache-Pmp26Uib.js +1 -0
- package/dist/assets/apex-DDbsPZ6N.js +1 -0
- package/dist/assets/apex-ynV6aGfE.js +1 -0
- package/dist/assets/apl-C-KxP0FL.js +1 -0
- package/dist/assets/apl-dKokRX4l.js +1 -0
- package/dist/assets/applescript-Co6uUVPk.js +1 -0
- package/dist/assets/applescript-Dd26Nb5t.js +1 -0
- package/dist/assets/ara-BRHolxvo.js +1 -0
- package/dist/assets/ara-D6vCOKVX.js +1 -0
- package/dist/assets/asciidoc-DZ9uQOoP.js +1 -0
- package/dist/assets/asciidoc-Dv7Oe6Be.js +1 -0
- package/dist/assets/asm-CbVMAfFB.js +1 -0
- package/dist/assets/asm-D_Q5rh1f.js +1 -0
- package/dist/assets/astro-CbQHKStN.js +1 -0
- package/dist/assets/astro-OEl6i-aI.js +1 -0
- package/dist/assets/aurora-x-D-2ljcwZ.js +1 -0
- package/dist/assets/awk-DMzUqQB5.js +1 -0
- package/dist/assets/awk-UmR4Ublb.js +1 -0
- package/dist/assets/ayu-dark-Cv9koXgw.js +1 -0
- package/dist/assets/ballerina-BFfxhgS-.js +1 -0
- package/dist/assets/ballerina-BMbY-1wP.js +1 -0
- package/dist/assets/bat-BkioyH1T.js +1 -0
- package/dist/assets/bat-Dcnh2ot_.js +1 -0
- package/dist/assets/beancount-B92nBv9q.js +1 -0
- package/dist/assets/beancount-k_qm7-4y.js +1 -0
- package/dist/assets/berry-C9fz7p0n.js +1 -0
- package/dist/assets/berry-uYugtg8r.js +1 -0
- package/dist/assets/bibtex-CHM0blh-.js +1 -0
- package/dist/assets/bibtex-DELXwv0g.js +1 -0
- package/dist/assets/bicep-Bmn6On1c.js +1 -0
- package/dist/assets/bicep-D2njIRU5.js +1 -0
- package/dist/assets/bip-bop-03-DXp7Zb0f.aac +0 -0
- package/dist/assets/bip-bop-04-CfVtpI7z.aac +0 -0
- package/dist/assets/bip-bop-06-BuvNosjK.aac +0 -0
- package/dist/assets/bip-bop-08-DBf7Bwjz.aac +0 -0
- package/dist/assets/bip-bop-09-CxEgoAHQ.aac +0 -0
- package/dist/assets/blade-CwZbp2Ca.js +1 -0
- package/dist/assets/blade-DVc8C-J4.js +1 -0
- package/dist/assets/bsl-BO_Y6i37.js +1 -0
- package/dist/assets/bsl-C4qeDxuX.js +1 -0
- package/dist/assets/c-BIGW1oBm.js +1 -0
- package/dist/assets/c-CyUOlKFr.js +1 -0
- package/dist/assets/cadence-Bv_4Rxtq.js +1 -0
- package/dist/assets/cadence-bIHbUj02.js +1 -0
- package/dist/assets/cairo-C_mOTUpN.js +1 -0
- package/dist/assets/cairo-KRGpt6FW.js +1 -0
- package/dist/assets/catppuccin-frappe-DFWUc33u.js +1 -0
- package/dist/assets/catppuccin-latte-C9dUb6Cb.js +1 -0
- package/dist/assets/catppuccin-macchiato-DQyhUUbL.js +1 -0
- package/dist/assets/catppuccin-mocha-D87Tk5Gz.js +1 -0
- package/dist/assets/clarity-A4x-rz24.js +1 -0
- package/dist/assets/clarity-D53aC0YG.js +1 -0
- package/dist/assets/clojure-Bb2-3A0I.js +1 -0
- package/dist/assets/clojure-P80f7IUj.js +1 -0
- package/dist/assets/cmake-Cv5ljclQ.js +1 -0
- package/dist/assets/cmake-D1j8_8rp.js +1 -0
- package/dist/assets/cobol-Cg3yRVOY.js +1 -0
- package/dist/assets/cobol-nwyudZeR.js +1 -0
- package/dist/assets/codeowners-Bp6g37R7.js +1 -0
- package/dist/assets/codeowners-CKT8dJip.js +1 -0
- package/dist/assets/codeql-DXd8ggn3.js +1 -0
- package/dist/assets/codeql-DsOJ9woJ.js +1 -0
- package/dist/assets/coffee-CSg58a7P.js +1 -0
- package/dist/assets/coffee-Ch7k5sss.js +1 -0
- package/dist/assets/common-lisp-Cg-RD9OK.js +1 -0
- package/dist/assets/common-lisp-v102bg8X.js +1 -0
- package/dist/assets/coq-CxCehFeR.js +1 -0
- package/dist/assets/coq-DkFqJrB1.js +1 -0
- package/dist/assets/cpp-C28rag7_.js +1 -0
- package/dist/assets/cpp-CofmeUqb.js +1 -0
- package/dist/assets/crystal-kLfOnxTY.js +1 -0
- package/dist/assets/crystal-tKQVLTB8.js +1 -0
- package/dist/assets/csharp-DFQpaWb6.js +1 -0
- package/dist/assets/csharp-K5feNrxe.js +1 -0
- package/dist/assets/css-BSK200cd.js +1 -0
- package/dist/assets/css-DPfMkruS.js +1 -0
- package/dist/assets/csv-AZNL9t8Q.js +1 -0
- package/dist/assets/csv-fuZLfV_i.js +1 -0
- package/dist/assets/cue-D82EKSYY.js +1 -0
- package/dist/assets/cue-nzsbQn5T.js +1 -0
- package/dist/assets/cypher-BM7Pwunj.js +1 -0
- package/dist/assets/cypher-COkxafJQ.js +1 -0
- package/dist/assets/d-85-TOEBH.js +1 -0
- package/dist/assets/d-TG9YRPoI.js +1 -0
- package/dist/assets/dark-plus-C3mMm8J8.js +1 -0
- package/dist/assets/dart-CF10PKvl.js +1 -0
- package/dist/assets/dart-DArdxSyj.js +1 -0
- package/dist/assets/dax-B28Cho4e.js +1 -0
- package/dist/assets/dax-CEL-wOlO.js +1 -0
- package/dist/assets/desktop-BmXAJ9_W.js +1 -0
- package/dist/assets/desktop-Z9LhWKWr.js +1 -0
- package/dist/assets/diff-BlzBhZx2.js +1 -0
- package/dist/assets/diff-D97Zzqfu.js +1 -0
- package/dist/assets/docker-BcOcwvcX.js +1 -0
- package/dist/assets/docker-DIG_IqVK.js +1 -0
- package/dist/assets/dotenv-Bf0GLMGc.js +1 -0
- package/dist/assets/dotenv-Da5cRb03.js +1 -0
- package/dist/assets/dracula-BzJJZx-M.js +1 -0
- package/dist/assets/dracula-soft-BXkSAIEj.js +1 -0
- package/dist/assets/dream-maker-BtqSS_iP.js +1 -0
- package/dist/assets/dream-maker-DBhfoDN-.js +1 -0
- package/dist/assets/edge-BkV0erSs.js +1 -0
- package/dist/assets/edge-C9mkmEUa.js +1 -0
- package/dist/assets/elixir-B1OcFvXE.js +1 -0
- package/dist/assets/elixir-CDX3lj18.js +1 -0
- package/dist/assets/elm-BX_9EnK8.js +1 -0
- package/dist/assets/elm-DbKCFpqz.js +1 -0
- package/dist/assets/emacs-lisp-C9XAeP06.js +1 -0
- package/dist/assets/emacs-lisp-fXIB3QbG.js +1 -0
- package/dist/assets/erb-BOJIQeun.js +1 -0
- package/dist/assets/erb-CjsbKF3w.js +1 -0
- package/dist/assets/erlang-Dh270pQQ.js +1 -0
- package/dist/assets/erlang-DsQrWhSR.js +1 -0
- package/dist/assets/everforest-dark-BgDCqdQA.js +1 -0
- package/dist/assets/everforest-light-C8M2exoo.js +1 -0
- package/dist/assets/fennel-BYunw83y.js +1 -0
- package/dist/assets/fennel-CKW7gc4E.js +1 -0
- package/dist/assets/finder-CGxGn0h3.png +0 -0
- package/dist/assets/fish-BiaFC76h.js +1 -0
- package/dist/assets/fish-BvzEVeQv.js +1 -0
- package/dist/assets/fluent-C1VbA1FI.js +1 -0
- package/dist/assets/fluent-C4IJs8-o.js +1 -0
- package/dist/assets/fortran-fixed-form-BZjJHVRy.js +1 -0
- package/dist/assets/fortran-fixed-form-VBUom2Po.js +1 -0
- package/dist/assets/fortran-free-form-D22FLkUw.js +1 -0
- package/dist/assets/fortran-free-form-xZZnushS.js +1 -0
- package/dist/assets/fsharp-B6CigNpP.js +1 -0
- package/dist/assets/fsharp-CXgrBDvD.js +1 -0
- package/dist/assets/gdresource-B57lXvxj.js +1 -0
- package/dist/assets/gdresource-B7Tvp0Sc.js +1 -0
- package/dist/assets/gdscript-DTMYz4Jt.js +1 -0
- package/dist/assets/gdscript-etqGfJNh.js +1 -0
- package/dist/assets/gdshader-DkwncUOv.js +1 -0
- package/dist/assets/gdshader-MbeiIFWW.js +1 -0
- package/dist/assets/genie-CTXGoN_z.js +1 -0
- package/dist/assets/genie-D0YGMca9.js +1 -0
- package/dist/assets/gherkin-DQeIZrj7.js +1 -0
- package/dist/assets/gherkin-DyxjwDmM.js +1 -0
- package/dist/assets/ghostty-web-CsYhFgbJ.js +13 -0
- package/dist/assets/git-commit-BicZTByO.js +1 -0
- package/dist/assets/git-commit-F4YmCXRG.js +1 -0
- package/dist/assets/git-rebase-Bzlpfr7M.js +1 -0
- package/dist/assets/git-rebase-r7XF79zn.js +1 -0
- package/dist/assets/github-dark-DHJKELXO.js +1 -0
- package/dist/assets/github-dark-default-Cuk6v7N8.js +1 -0
- package/dist/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/dist/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/dist/assets/github-light-DAi9KRSo.js +1 -0
- package/dist/assets/github-light-default-D7oLnXFd.js +1 -0
- package/dist/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
- package/dist/assets/gleam-B-IqXlZK.js +1 -0
- package/dist/assets/gleam-BspZqrRM.js +1 -0
- package/dist/assets/glimmer-js-Rg0-pVw9.js +1 -0
- package/dist/assets/glimmer-js-cZi37nA1.js +1 -0
- package/dist/assets/glimmer-ts-BY3QTAW9.js +1 -0
- package/dist/assets/glimmer-ts-U6CK756n.js +1 -0
- package/dist/assets/glsl-Bk7TyU8J.js +1 -0
- package/dist/assets/glsl-DplSGwfg.js +1 -0
- package/dist/assets/gnuplot-BBjkHhdK.js +1 -0
- package/dist/assets/gnuplot-DdkO51Og.js +1 -0
- package/dist/assets/go-BYCC9JQ2.js +1 -0
- package/dist/assets/go-Dn2_MT6a.js +1 -0
- package/dist/assets/graphql-By4-2MiP.js +1 -0
- package/dist/assets/graphql-ChdNCCLP.js +1 -0
- package/dist/assets/groovy-DjMbfbx0.js +1 -0
- package/dist/assets/groovy-gcz8RCvz.js +1 -0
- package/dist/assets/gruvbox-dark-hard-CFHQjOhq.js +1 -0
- package/dist/assets/gruvbox-dark-medium-GsRaNv29.js +1 -0
- package/dist/assets/gruvbox-dark-soft-CVdnzihN.js +1 -0
- package/dist/assets/gruvbox-light-hard-CH1njM8p.js +1 -0
- package/dist/assets/gruvbox-light-medium-DRw_LuNl.js +1 -0
- package/dist/assets/gruvbox-light-soft-hJgmCMqR.js +1 -0
- package/dist/assets/hack-CaT9iCJl.js +1 -0
- package/dist/assets/hack-Ce3HFLQu.js +1 -0
- package/dist/assets/haml-B8DHNrY2.js +1 -0
- package/dist/assets/haml-C-C08OMF.js +1 -0
- package/dist/assets/handlebars-BFxKmXBZ.js +1 -0
- package/dist/assets/handlebars-BL8al0AC.js +1 -0
- package/dist/assets/haskell-Df6bDoY_.js +1 -0
- package/dist/assets/haskell-DtebQ3Kv.js +1 -0
- package/dist/assets/haxe-CzTSHFRz.js +1 -0
- package/dist/assets/haxe-n0Q_eay_.js +1 -0
- package/dist/assets/hcl-BWvSN4gD.js +1 -0
- package/dist/assets/hcl-shhv74hy.js +1 -0
- package/dist/assets/hjson-BEMFYqr7.js +1 -0
- package/dist/assets/hjson-D5-asLiD.js +1 -0
- package/dist/assets/hlsl-D3lLCCz7.js +1 -0
- package/dist/assets/hlsl-Pefxhtaj.js +1 -0
- package/dist/assets/home-DDFZTO3p.js +1 -0
- package/dist/assets/houston-DnULxvSX.js +1 -0
- package/dist/assets/html-DBrZJmtb.js +1 -0
- package/dist/assets/html-GMplVEZG.js +1 -0
- package/dist/assets/html-derivative-BFtXZ54Q.js +1 -0
- package/dist/assets/html-derivative-DgyNW28a.js +1 -0
- package/dist/assets/http-D0p2QOuJ.js +1 -0
- package/dist/assets/http-jrhK8wxY.js +1 -0
- package/dist/assets/hurl-CeF7EoTQ.js +1 -0
- package/dist/assets/hurl-irOxFIW8.js +1 -0
- package/dist/assets/hxml-B_SuSTPP.js +1 -0
- package/dist/assets/hxml-Bvhsp5Yf.js +1 -0
- package/dist/assets/hy-CTpXmg0M.js +1 -0
- package/dist/assets/hy-DFXneXwc.js +1 -0
- package/dist/assets/imba-DGztddWO.js +1 -0
- package/dist/assets/imba-z_cUhu9e.js +1 -0
- package/dist/assets/index-D0jX0BNw.js +1844 -0
- package/dist/assets/index-DDCRe3lm.css +1 -0
- package/dist/assets/ini-BEwlwnbL.js +1 -0
- package/dist/assets/ini-DOGW4-0C.js +1 -0
- package/dist/assets/inter-FIwubZjA.woff2 +0 -0
- package/dist/assets/iosevka-nerd-font-DKH7rjGs.woff2 +0 -0
- package/dist/assets/iosevka-nerd-font-bold-BObfzjZJ.woff2 +0 -0
- package/dist/assets/java-B2AjWfgk.js +1 -0
- package/dist/assets/java-CylS5w8V.js +1 -0
- package/dist/assets/javascript-XPxc2APE.js +1 -0
- package/dist/assets/javascript-wDzz0qaB.js +1 -0
- package/dist/assets/jinja-4LBKfQ-Z.js +1 -0
- package/dist/assets/jinja-DlBE7Xgz.js +1 -0
- package/dist/assets/jison-DRGa8fbr.js +1 -0
- package/dist/assets/jison-wvAkD_A8.js +1 -0
- package/dist/assets/json-CjLXzM_z.js +1 -0
- package/dist/assets/json-Cp-IABpG.js +1 -0
- package/dist/assets/json5-C9tS-k6U.js +1 -0
- package/dist/assets/json5-DE06a0U2.js +1 -0
- package/dist/assets/jsonc-BYi4HS05.js +1 -0
- package/dist/assets/jsonc-Des-eS-w.js +1 -0
- package/dist/assets/jsonl-CuhIcKDk.js +1 -0
- package/dist/assets/jsonl-DcaNXYhu.js +1 -0
- package/dist/assets/jsonnet-DFQXde-d.js +1 -0
- package/dist/assets/jsonnet-DtQdHwK-.js +1 -0
- package/dist/assets/jssm-BlhucWo7.js +1 -0
- package/dist/assets/jssm-C2t-YnRu.js +1 -0
- package/dist/assets/jsx-BGEKFWBk.js +1 -0
- package/dist/assets/jsx-g9-lgVsj.js +1 -0
- package/dist/assets/julia-Bh5qjrIj.js +1 -0
- package/dist/assets/julia-C8NyazO9.js +1 -0
- package/dist/assets/kanagawa-dragon-CkXjmgJE.js +1 -0
- package/dist/assets/kanagawa-lotus-CfQXZHmo.js +1 -0
- package/dist/assets/kanagawa-wave-DWedfzmr.js +1 -0
- package/dist/assets/kdl-DJsF4U57.js +1 -0
- package/dist/assets/kdl-DV7GczEv.js +1 -0
- package/dist/assets/kotlin-BdnUsdx6.js +1 -0
- package/dist/assets/kotlin-DwKqsDKK.js +1 -0
- package/dist/assets/kusto-BvAqAH-y.js +1 -0
- package/dist/assets/kusto-w7PrLrBe.js +1 -0
- package/dist/assets/laserwave-DUszq2jm.js +1 -0
- package/dist/assets/latex-BdAV_C_H.js +1 -0
- package/dist/assets/latex-BuzO6rjU.js +1 -0
- package/dist/assets/lean-Bc6EcWN3.js +1 -0
- package/dist/assets/lean-Dle5D8N4.js +1 -0
- package/dist/assets/less-B1dDrJ26.js +1 -0
- package/dist/assets/less-C76OjOdF.js +1 -0
- package/dist/assets/light-plus-B7mTdjB0.js +1 -0
- package/dist/assets/liquid-DYVedYrR.js +1 -0
- package/dist/assets/liquid-DdraCjph.js +1 -0
- package/dist/assets/llvm-BtvRca6l.js +1 -0
- package/dist/assets/llvm-s1WuUfOe.js +1 -0
- package/dist/assets/log-2UxHyX5q.js +1 -0
- package/dist/assets/log-CbW7hOWU.js +1 -0
- package/dist/assets/logo-BbooMuDm.js +1 -0
- package/dist/assets/logo-BtOb2qkB.js +1 -0
- package/dist/assets/lua-BbnMAYS6.js +1 -0
- package/dist/assets/lua-tkfysgZP.js +1 -0
- package/dist/assets/luau-CBwFb-vO.js +1 -0
- package/dist/assets/luau-CXu1NL6O.js +1 -0
- package/dist/assets/make-CHLpvVh8.js +1 -0
- package/dist/assets/make-s9FKP0VE.js +1 -0
- package/dist/assets/markdown-CKXSK5AY.js +1 -0
- package/dist/assets/markdown-Cvjx9yec.js +1 -0
- package/dist/assets/marko-BsqRlKIY.js +1 -0
- package/dist/assets/marko-CPi9NSCl.js +1 -0
- package/dist/assets/material-theme-D5KoaKCx.js +1 -0
- package/dist/assets/material-theme-darker-BfHTSMKl.js +1 -0
- package/dist/assets/material-theme-lighter-B0m2ddpp.js +1 -0
- package/dist/assets/material-theme-ocean-CyktbL80.js +1 -0
- package/dist/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/dist/assets/matlab-BQKM-LA_.js +1 -0
- package/dist/assets/matlab-D7o27uSR.js +1 -0
- package/dist/assets/mdc-BBM-UqJy.js +1 -0
- package/dist/assets/mdc-DUICxH0z.js +1 -0
- package/dist/assets/mdx-BWRhHdFl.js +1 -0
- package/dist/assets/mdx-Cmh6b_Ma.js +1 -0
- package/dist/assets/mermaid-DKYwYmdq.js +1 -0
- package/dist/assets/mermaid-DrapLM8U.js +1 -0
- package/dist/assets/min-dark-CafNBF8u.js +1 -0
- package/dist/assets/min-light-CTRr51gU.js +1 -0
- package/dist/assets/mipsasm-BElnB_7Q.js +1 -0
- package/dist/assets/mipsasm-CKIfxQSi.js +1 -0
- package/dist/assets/mojo-1DNp92w6.js +1 -0
- package/dist/assets/mojo-Dz6zCmiK.js +1 -0
- package/dist/assets/monokai-D4h5O-jR.js +1 -0
- package/dist/assets/move-Bu9oaDYs.js +1 -0
- package/dist/assets/move-Dvu4btzz.js +1 -0
- package/dist/assets/narrat-Cy2k80UN.js +1 -0
- package/dist/assets/narrat-DRg8JJMk.js +1 -0
- package/dist/assets/nextflow-BO4ujnzu.js +1 -0
- package/dist/assets/nextflow-BrzmwbiE.js +1 -0
- package/dist/assets/nginx-DknmC5AR.js +1 -0
- package/dist/assets/nginx-XmDIhN78.js +1 -0
- package/dist/assets/night-owl-C39BiMTA.js +1 -0
- package/dist/assets/nim-CVrawwO9.js +1 -0
- package/dist/assets/nim-Cm6-Nayq.js +1 -0
- package/dist/assets/nix-DcZRBjkC.js +1 -0
- package/dist/assets/nix-c8nO5XWb.js +1 -0
- package/dist/assets/nope-02-EygnDbCM.aac +0 -0
- package/dist/assets/nope-05-DZsXzrQW.aac +0 -0
- package/dist/assets/nope-08-COPo0uNf.aac +0 -0
- package/dist/assets/nope-11-CVdXg8G-.aac +0 -0
- package/dist/assets/nope-12-BJR1Ka3c.aac +0 -0
- package/dist/assets/nord-Ddv68eIx.js +1 -0
- package/dist/assets/nushell-C-sUppwS.js +1 -0
- package/dist/assets/nushell-Dqv-0Q5X.js +1 -0
- package/dist/assets/objective-c-DXmwc3jG.js +1 -0
- package/dist/assets/objective-c-sgtl-PdD.js +1 -0
- package/dist/assets/objective-cpp-BTQ37cYs.js +1 -0
- package/dist/assets/objective-cpp-CLxacb5B.js +1 -0
- package/dist/assets/ocaml-BvBP9Lm0.js +1 -0
- package/dist/assets/ocaml-C0hk2d4L.js +1 -0
- package/dist/assets/one-dark-pro-DVMEJ2y_.js +1 -0
- package/dist/assets/one-light-PoHY5YXO.js +1 -0
- package/dist/assets/openscad-C4EeE6gA.js +1 -0
- package/dist/assets/openscad-Dmi2c_42.js +1 -0
- package/dist/assets/pascal-D93ZcfNL.js +1 -0
- package/dist/assets/pascal-DYjw0AuS.js +1 -0
- package/dist/assets/perl-C0TMdlhV.js +1 -0
- package/dist/assets/perl-Djxv1YJ9.js +1 -0
- package/dist/assets/php-CDn_0X-4.js +1 -0
- package/dist/assets/php-DEfiO3Bd.js +1 -0
- package/dist/assets/pierre-dark-BXuwtOqb.js +1 -0
- package/dist/assets/pierre-light-dckrK0oj.js +1 -0
- package/dist/assets/pkl-Cij4Vm9z.js +1 -0
- package/dist/assets/pkl-u5AG7uiY.js +1 -0
- package/dist/assets/plastic-3e1v2bzS.js +1 -0
- package/dist/assets/plsql-Bd6NdBJI.js +1 -0
- package/dist/assets/plsql-ChMvpjG-.js +1 -0
- package/dist/assets/po-BTJTHyun.js +1 -0
- package/dist/assets/po-CUhVi7la.js +1 -0
- package/dist/assets/poimandres-CS3Unz2-.js +1 -0
- package/dist/assets/polar-B-qJ3AIy.js +1 -0
- package/dist/assets/polar-C0HS_06l.js +1 -0
- package/dist/assets/postcss-BSGhOJ4k.js +1 -0
- package/dist/assets/postcss-CXtECtnM.js +1 -0
- package/dist/assets/powerquery-CC1XieQO.js +1 -0
- package/dist/assets/powerquery-CEu0bR-o.js +1 -0
- package/dist/assets/powershell-DdRAnR4Z.js +1 -0
- package/dist/assets/powershell-Dpen1YoG.js +1 -0
- package/dist/assets/prisma-C0hJlfqX.js +1 -0
- package/dist/assets/prisma-Dd19v3D-.js +1 -0
- package/dist/assets/prolog-CbFg5uaA.js +1 -0
- package/dist/assets/prolog-bSi0SE3D.js +1 -0
- package/dist/assets/proto-DIGPV07t.js +1 -0
- package/dist/assets/proto-DyJlTyXw.js +1 -0
- package/dist/assets/pug-CGlum2m_.js +1 -0
- package/dist/assets/pug-ClQUpJlV.js +1 -0
- package/dist/assets/puppet-BMWR74SV.js +1 -0
- package/dist/assets/puppet-ja2MI9-b.js +1 -0
- package/dist/assets/purescript-CklMAg4u.js +1 -0
- package/dist/assets/purescript-CxgsQa43.js +1 -0
- package/dist/assets/python-B6aJPvgy.js +1 -0
- package/dist/assets/python-DgE28U1V.js +1 -0
- package/dist/assets/qml-3beO22l8.js +1 -0
- package/dist/assets/qml-BEkX6VoX.js +1 -0
- package/dist/assets/qmldir-C8lEn-DE.js +1 -0
- package/dist/assets/qmldir-DNYHzgow.js +1 -0
- package/dist/assets/qss-BZsEMKxJ.js +1 -0
- package/dist/assets/qss-IeuSbFQv.js +1 -0
- package/dist/assets/r-BfG_C0qz.js +1 -0
- package/dist/assets/r-DiinP2Uv.js +1 -0
- package/dist/assets/racket-BqYA7rlc.js +1 -0
- package/dist/assets/racket-CzHBKLyy.js +1 -0
- package/dist/assets/raku-CPccoUN1.js +1 -0
- package/dist/assets/raku-DXvB9xmW.js +1 -0
- package/dist/assets/razor-8rj0VRTp.js +1 -0
- package/dist/assets/razor-CE9lU5zL.js +1 -0
- package/dist/assets/red-bN70gL4F.js +1 -0
- package/dist/assets/reg-C-SQnVFl.js +1 -0
- package/dist/assets/reg-DkqHJyC0.js +1 -0
- package/dist/assets/regexp-BW_zLBm-.js +1 -0
- package/dist/assets/regexp-CDVJQ6XC.js +1 -0
- package/dist/assets/rel-BIqKdwke.js +1 -0
- package/dist/assets/rel-C3B-1QV4.js +1 -0
- package/dist/assets/riscv-BM1_JUlF.js +1 -0
- package/dist/assets/riscv-s6spwTFp.js +1 -0
- package/dist/assets/rose-pine-dawn-DHQR4-dF.js +1 -0
- package/dist/assets/rose-pine-moon-D4_iv3hh.js +1 -0
- package/dist/assets/rose-pine-qdsjHGoJ.js +1 -0
- package/dist/assets/rosmsg-BJDFO7_C.js +1 -0
- package/dist/assets/rosmsg-TcL_zzr8.js +1 -0
- package/dist/assets/rst-8IYWyo0X.js +1 -0
- package/dist/assets/rst-B0xPkSld.js +1 -0
- package/dist/assets/ruby-BvKwtOVI.js +1 -0
- package/dist/assets/ruby-CHyTNJrF.js +1 -0
- package/dist/assets/rust-B1yitclQ.js +1 -0
- package/dist/assets/rust-DJErdhjk.js +1 -0
- package/dist/assets/sas-BZeeyq_z.js +1 -0
- package/dist/assets/sas-cz2c8ADy.js +1 -0
- package/dist/assets/sass-CIfQ9yqV.js +1 -0
- package/dist/assets/sass-Cj5Yp3dK.js +1 -0
- package/dist/assets/scala-C151Ov-r.js +1 -0
- package/dist/assets/scala-CWwlNtab.js +1 -0
- package/dist/assets/scheme-ByM66cy_.js +1 -0
- package/dist/assets/scheme-C98Dy4si.js +1 -0
- package/dist/assets/scss-Dk05w39G.js +1 -0
- package/dist/assets/scss-OYdSNvt2.js +1 -0
- package/dist/assets/sdbl-C5Q1usnU.js +1 -0
- package/dist/assets/sdbl-DVxCFoDh.js +1 -0
- package/dist/assets/session-fRmszlju.js +41 -0
- package/dist/assets/shaderlab-DNkMdb2B.js +1 -0
- package/dist/assets/shaderlab-Dg9Lc6iA.js +1 -0
- package/dist/assets/shellscript-CE-5zpiL.js +1 -0
- package/dist/assets/shellscript-Yzrsuije.js +1 -0
- package/dist/assets/shellsession-BADoaaVG.js +1 -0
- package/dist/assets/shellsession-BhddCRKA.js +1 -0
- package/dist/assets/slack-dark-BthQWCQV.js +1 -0
- package/dist/assets/slack-ochin-DqwNpetd.js +1 -0
- package/dist/assets/smalltalk-BERRCDM3.js +1 -0
- package/dist/assets/smalltalk-GKfhTxrk.js +1 -0
- package/dist/assets/snazzy-light-Bw305WKR.js +1 -0
- package/dist/assets/solarized-dark-DXbdFlpD.js +1 -0
- package/dist/assets/solarized-light-L9t79GZl.js +1 -0
- package/dist/assets/solidity-DanOLEvk.js +1 -0
- package/dist/assets/solidity-rGO070M0.js +1 -0
- package/dist/assets/soy-Brmx7dQM.js +1 -0
- package/dist/assets/soy-C6ERzLIv.js +1 -0
- package/dist/assets/sparql-CHK3vDkL.js +1 -0
- package/dist/assets/sparql-rVzFXLq3.js +1 -0
- package/dist/assets/splunk-BtCnVYZw.js +1 -0
- package/dist/assets/splunk-YU1HCmJX.js +1 -0
- package/dist/assets/sprite-BxALe73Z.svg +882 -0
- package/dist/assets/sprite-Fb-TFjRY.svg +11707 -0
- package/dist/assets/sql-BLtJtn59.js +1 -0
- package/dist/assets/sql-CKXjX23X.js +1 -0
- package/dist/assets/ssh-config-Cpnw3KEt.js +1 -0
- package/dist/assets/ssh-config-_ykCGR6B.js +1 -0
- package/dist/assets/staplebops-03-Aug82oH0.aac +0 -0
- package/dist/assets/staplebops-04-olyHi8qQ.aac +0 -0
- package/dist/assets/staplebops-06-Cj_2vOI4.aac +0 -0
- package/dist/assets/staplebops-07-cqQEvbIf.aac +0 -0
- package/dist/assets/stata-BH5u7GGu.js +1 -0
- package/dist/assets/stata-BJqnY-gO.js +1 -0
- package/dist/assets/stylus-BEDo0Tqx.js +1 -0
- package/dist/assets/stylus-CHekGIgu.js +1 -0
- package/dist/assets/svelte-3Dk4HxPD.js +1 -0
- package/dist/assets/svelte-DmnhoTkn.js +1 -0
- package/dist/assets/swift-Deru3G9w.js +1 -0
- package/dist/assets/swift-Dg5xB15N.js +1 -0
- package/dist/assets/synthwave-84-CbfX1IO0.js +1 -0
- package/dist/assets/system-verilog-CnnmHF94.js +1 -0
- package/dist/assets/system-verilog-rKNYENrf.js +1 -0
- package/dist/assets/systemd-4A_iFExJ.js +1 -0
- package/dist/assets/systemd-C1FfcI00.js +1 -0
- package/dist/assets/talonscript-CkByrt1z.js +1 -0
- package/dist/assets/talonscript-bksoRmW6.js +1 -0
- package/dist/assets/tasl-Bl4tsGRM.js +1 -0
- package/dist/assets/tasl-QIJgUcNo.js +1 -0
- package/dist/assets/tcl-B2_VAYrd.js +1 -0
- package/dist/assets/tcl-dwOrl1Do.js +1 -0
- package/dist/assets/templ-CyHhV9jl.js +1 -0
- package/dist/assets/templ-W15q3VgB.js +1 -0
- package/dist/assets/terminal-Cpd_WDea.png +0 -0
- package/dist/assets/terraform-BETggiCN.js +1 -0
- package/dist/assets/terraform-Ba94thAr.js +1 -0
- package/dist/assets/tex-CxkMU7Pf.js +1 -0
- package/dist/assets/tex-DZ7Smwga.js +1 -0
- package/dist/assets/textmate-B-hymv65.png +0 -0
- package/dist/assets/tokyo-night-hegEt444.js +1 -0
- package/dist/assets/toml-Btlk-g9G.js +1 -0
- package/dist/assets/toml-vGWfd6FD.js +1 -0
- package/dist/assets/ts-tags-DMPjx__B.js +1 -0
- package/dist/assets/ts-tags-zn1MmPIZ.js +1 -0
- package/dist/assets/tsv-B_m7g4N7.js +1 -0
- package/dist/assets/tsv-DYfmKMIW.js +1 -0
- package/dist/assets/tsx-COt5Ahok.js +1 -0
- package/dist/assets/tsx-Dio8iE-N.js +1 -0
- package/dist/assets/turtle-BsS91CYL.js +1 -0
- package/dist/assets/turtle-whXsfw69.js +1 -0
- package/dist/assets/twig-CO9l9SDP.js +1 -0
- package/dist/assets/twig-vsFUeHgy.js +1 -0
- package/dist/assets/typescript-BPQ3VLAy.js +1 -0
- package/dist/assets/typescript-DttGkNCf.js +1 -0
- package/dist/assets/typespec-BGHnOYBU.js +1 -0
- package/dist/assets/typespec-C_z-8Pri.js +1 -0
- package/dist/assets/typst-D2RORpaG.js +1 -0
- package/dist/assets/typst-DHCkPAjA.js +1 -0
- package/dist/assets/v-BcVCzyr7.js +1 -0
- package/dist/assets/v-CvM42WIw.js +1 -0
- package/dist/assets/vala-B_5xOBNr.js +1 -0
- package/dist/assets/vala-CsfeWuGM.js +1 -0
- package/dist/assets/vb-BVDm3zBt.js +1 -0
- package/dist/assets/vb-D17OF-Vu.js +1 -0
- package/dist/assets/verilog-BQ8w6xss.js +1 -0
- package/dist/assets/verilog-D5iownw6.js +1 -0
- package/dist/assets/vesper-DU1UobuO.js +1 -0
- package/dist/assets/vhdl-Bmgbkl_-.js +1 -0
- package/dist/assets/vhdl-CeAyd5Ju.js +1 -0
- package/dist/assets/viml-3ZODU9FQ.js +1 -0
- package/dist/assets/viml-CJc9bBzg.js +1 -0
- package/dist/assets/vitesse-black-Bkuqu6BP.js +1 -0
- package/dist/assets/vitesse-dark-D0r3Knsf.js +1 -0
- package/dist/assets/vitesse-light-CVO1_9PV.js +1 -0
- package/dist/assets/vue-BJuclMoA.js +1 -0
- package/dist/assets/vue-DnHKYNfI.js +1 -0
- package/dist/assets/vue-html-CChd_i61.js +1 -0
- package/dist/assets/vue-html-CRAum25o.js +1 -0
- package/dist/assets/vue-vine-8moa0y9V.js +1 -0
- package/dist/assets/vue-vine-CDS6dxm6.js +1 -0
- package/dist/assets/vyper-B6NKdirK.js +1 -0
- package/dist/assets/vyper-CDx5xZoG.js +1 -0
- package/dist/assets/wasm-CG6Dc4jp.js +1 -0
- package/dist/assets/wasm-LUzQYg3H.js +1 -0
- package/dist/assets/wasm-MzD3tlZU.js +1 -0
- package/dist/assets/wenyan-8fXatRyt.js +1 -0
- package/dist/assets/wenyan-BV7otONQ.js +1 -0
- package/dist/assets/wgsl-CECC3vJ5.js +1 -0
- package/dist/assets/wgsl-Dx-B1_4e.js +1 -0
- package/dist/assets/wikitext-BaRWL9sq.js +1 -0
- package/dist/assets/wikitext-BhOHFoWU.js +1 -0
- package/dist/assets/wit-5i3qLPDT.js +1 -0
- package/dist/assets/wit-MEd50GYB.js +1 -0
- package/dist/assets/wolfram-CmMaIVaG.js +1 -0
- package/dist/assets/wolfram-lXgVvXCa.js +1 -0
- package/dist/assets/worker-CKpRWWws.js +153 -0
- package/dist/assets/xcode-4zqeTePl.png +0 -0
- package/dist/assets/xml-DtyAt_xK.js +1 -0
- package/dist/assets/xml-sdJ4AIDG.js +1 -0
- package/dist/assets/xsl-Btrj9DhN.js +1 -0
- package/dist/assets/xsl-CtQFsRM5.js +1 -0
- package/dist/assets/yaml-B92AUxDB.js +1 -0
- package/dist/assets/yaml-Buea-lGh.js +1 -0
- package/dist/assets/yup-01-BtRq6dLN.aac +0 -0
- package/dist/assets/yup-03-BHLEoqSS.aac +0 -0
- package/dist/assets/yup-04-C7yadpJT.aac +0 -0
- package/dist/assets/yup-05-CuuaeyjC.aac +0 -0
- package/dist/assets/zenscript-DVFEvuxE.js +1 -0
- package/dist/assets/zenscript-Dja4fBOE.js +1 -0
- package/dist/assets/zig-LhWa2ADv.js +1 -0
- package/dist/assets/zig-VOosw3JB.js +1 -0
- package/dist/favicon-96x96-v3.png +0 -0
- package/dist/favicon-96x96.png +0 -0
- package/dist/favicon-v3.ico +0 -0
- package/dist/favicon-v3.svg +7 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +7 -0
- package/dist/index.html +24 -0
- package/dist/oc-theme-preload.js +28 -0
- package/dist/site.webmanifest +21 -0
- package/dist/social-share-zen.png +0 -0
- package/dist/social-share.png +0 -0
- package/dist/web-app-manifest-192x192.png +0 -0
- package/dist/web-app-manifest-512x512.png +0 -0
- package/e2e/AGENTS.md +176 -0
- package/e2e/actions.ts +421 -0
- package/e2e/app/home.spec.ts +21 -0
- package/e2e/app/navigation.spec.ts +10 -0
- package/e2e/app/palette.spec.ts +11 -0
- package/e2e/app/server-default.spec.ts +55 -0
- package/e2e/app/session.spec.ts +16 -0
- package/e2e/app/titlebar-history.spec.ts +42 -0
- package/e2e/files/file-open.spec.ts +18 -0
- package/e2e/files/file-tree.spec.ts +37 -0
- package/e2e/files/file-viewer.spec.ts +26 -0
- package/e2e/fixtures.ts +87 -0
- package/e2e/models/model-picker.spec.ts +42 -0
- package/e2e/models/models-visibility.spec.ts +61 -0
- package/e2e/projects/project-edit.spec.ts +53 -0
- package/e2e/projects/projects-close.spec.ts +74 -0
- package/e2e/projects/projects-switch.spec.ts +35 -0
- package/e2e/projects/workspaces.spec.ts +333 -0
- package/e2e/prompt/context.spec.ts +40 -0
- package/e2e/prompt/prompt-mention.spec.ts +26 -0
- package/e2e/prompt/prompt-slash-open.spec.ts +22 -0
- package/e2e/prompt/prompt.spec.ts +58 -0
- package/e2e/selectors.ts +57 -0
- package/e2e/session/session.spec.ts +157 -0
- package/e2e/settings/settings-keybinds.spec.ts +320 -0
- package/e2e/settings/settings-models.spec.ts +122 -0
- package/e2e/settings/settings-providers.spec.ts +136 -0
- package/e2e/settings/settings.spec.ts +292 -0
- package/e2e/sidebar/sidebar-session-links.spec.ts +31 -0
- package/e2e/sidebar/sidebar.spec.ts +14 -0
- package/e2e/status/status-popover.spec.ts +94 -0
- package/e2e/terminal/terminal-init.spec.ts +26 -0
- package/e2e/terminal/terminal.spec.ts +17 -0
- package/e2e/thinking-level.spec.ts +25 -0
- package/e2e/tsconfig.json +8 -0
- package/e2e/utils.ts +35 -0
- package/happydom.ts +75 -0
- package/index.html +23 -0
- package/package.json +72 -0
- package/playwright.config.ts +43 -0
- package/public/_headers +17 -0
- package/public/oc-theme-preload.js +28 -0
- package/script/e2e-local.ts +140 -0
- package/src/addons/serialize.test.ts +319 -0
- package/src/addons/serialize.ts +634 -0
- package/src/app.tsx +170 -0
- package/src/components/dialog-connect-provider.tsx +456 -0
- package/src/components/dialog-custom-provider.tsx +424 -0
- package/src/components/dialog-edit-project.tsx +245 -0
- package/src/components/dialog-fork.tsx +100 -0
- package/src/components/dialog-manage-models.tsx +76 -0
- package/src/components/dialog-release-notes.tsx +158 -0
- package/src/components/dialog-select-directory.tsx +326 -0
- package/src/components/dialog-select-file.tsx +404 -0
- package/src/components/dialog-select-mcp.tsx +96 -0
- package/src/components/dialog-select-model-unpaid.tsx +132 -0
- package/src/components/dialog-select-model.tsx +271 -0
- package/src/components/dialog-select-provider.tsx +87 -0
- package/src/components/dialog-select-server.tsx +536 -0
- package/src/components/dialog-settings.tsx +82 -0
- package/src/components/file-tree.test.ts +77 -0
- package/src/components/file-tree.tsx +468 -0
- package/src/components/link.tsx +17 -0
- package/src/components/model-tooltip.tsx +91 -0
- package/src/components/prompt-input/attachments.ts +145 -0
- package/src/components/prompt-input/build-request-parts.test.ts +277 -0
- package/src/components/prompt-input/build-request-parts.ts +190 -0
- package/src/components/prompt-input/context-items.tsx +82 -0
- package/src/components/prompt-input/drag-overlay.tsx +20 -0
- package/src/components/prompt-input/editor-dom.test.ts +51 -0
- package/src/components/prompt-input/editor-dom.ts +135 -0
- package/src/components/prompt-input/history.test.ts +69 -0
- package/src/components/prompt-input/history.ts +160 -0
- package/src/components/prompt-input/image-attachments.tsx +51 -0
- package/src/components/prompt-input/placeholder.test.ts +35 -0
- package/src/components/prompt-input/placeholder.ts +13 -0
- package/src/components/prompt-input/slash-popover.tsx +144 -0
- package/src/components/prompt-input/submit.ts +411 -0
- package/src/components/prompt-input.tsx +1199 -0
- package/src/components/question-dock.tsx +295 -0
- package/src/components/server/server-row.tsx +77 -0
- package/src/components/session/index.ts +5 -0
- package/src/components/session/session-context-metrics.test.ts +93 -0
- package/src/components/session/session-context-metrics.ts +94 -0
- package/src/components/session/session-context-tab.tsx +400 -0
- package/src/components/session/session-header.tsx +571 -0
- package/src/components/session/session-new-view.tsx +78 -0
- package/src/components/session/session-sortable-tab.tsx +63 -0
- package/src/components/session/session-sortable-terminal-tab.tsx +190 -0
- package/src/components/session-context-usage.tsx +100 -0
- package/src/components/settings-agents.tsx +15 -0
- package/src/components/settings-commands.tsx +15 -0
- package/src/components/settings-general.tsx +434 -0
- package/src/components/settings-keybinds.tsx +435 -0
- package/src/components/settings-mcp.tsx +15 -0
- package/src/components/settings-models.tsx +130 -0
- package/src/components/settings-permissions.tsx +228 -0
- package/src/components/settings-providers.tsx +264 -0
- package/src/components/status-popover.tsx +371 -0
- package/src/components/terminal.tsx +464 -0
- package/src/components/titlebar-history.test.ts +63 -0
- package/src/components/titlebar-history.ts +57 -0
- package/src/components/titlebar.tsx +261 -0
- package/src/context/command-keybind.test.ts +43 -0
- package/src/context/command.test.ts +25 -0
- package/src/context/command.tsx +365 -0
- package/src/context/comments.test.ts +111 -0
- package/src/context/comments.tsx +185 -0
- package/src/context/file/content-cache.ts +88 -0
- package/src/context/file/path.test.ts +352 -0
- package/src/context/file/path.ts +143 -0
- package/src/context/file/tree-store.ts +170 -0
- package/src/context/file/types.ts +41 -0
- package/src/context/file/view-cache.ts +136 -0
- package/src/context/file/watcher.test.ts +118 -0
- package/src/context/file/watcher.ts +52 -0
- package/src/context/file-content-eviction-accounting.test.ts +65 -0
- package/src/context/file.tsx +263 -0
- package/src/context/global-sdk.tsx +108 -0
- package/src/context/global-sync/bootstrap.ts +195 -0
- package/src/context/global-sync/child-store.ts +263 -0
- package/src/context/global-sync/event-reducer.test.ts +201 -0
- package/src/context/global-sync/event-reducer.ts +319 -0
- package/src/context/global-sync/eviction.ts +28 -0
- package/src/context/global-sync/queue.ts +83 -0
- package/src/context/global-sync/session-load.ts +26 -0
- package/src/context/global-sync/session-trim.test.ts +59 -0
- package/src/context/global-sync/session-trim.ts +56 -0
- package/src/context/global-sync/types.ts +134 -0
- package/src/context/global-sync/utils.ts +25 -0
- package/src/context/global-sync.test.ts +136 -0
- package/src/context/global-sync.tsx +365 -0
- package/src/context/highlights.tsx +225 -0
- package/src/context/language.tsx +226 -0
- package/src/context/layout-scroll.test.ts +36 -0
- package/src/context/layout-scroll.ts +118 -0
- package/src/context/layout.test.ts +69 -0
- package/src/context/layout.tsx +844 -0
- package/src/context/local.tsx +229 -0
- package/src/context/models.tsx +140 -0
- package/src/context/notification-index.ts +66 -0
- package/src/context/notification.test.ts +73 -0
- package/src/context/notification.tsx +199 -0
- package/src/context/permission.tsx +186 -0
- package/src/context/platform.tsx +75 -0
- package/src/context/prompt.tsx +246 -0
- package/src/context/sdk.tsx +48 -0
- package/src/context/server.tsx +208 -0
- package/src/context/settings.tsx +177 -0
- package/src/context/sync-optimistic.test.ts +56 -0
- package/src/context/sync.tsx +358 -0
- package/src/context/terminal.test.ts +38 -0
- package/src/context/terminal.tsx +283 -0
- package/src/entry.tsx +104 -0
- package/src/env.d.ts +8 -0
- package/src/hooks/use-providers.ts +31 -0
- package/src/i18n/ar.ts +716 -0
- package/src/i18n/br.ts +722 -0
- package/src/i18n/bs.ts +749 -0
- package/src/i18n/da.ts +721 -0
- package/src/i18n/de.ts +766 -0
- package/src/i18n/en.ts +792 -0
- package/src/i18n/es.ts +727 -0
- package/src/i18n/fr.ts +733 -0
- package/src/i18n/ja.ts +715 -0
- package/src/i18n/ko.ts +720 -0
- package/src/i18n/no.ts +723 -0
- package/src/i18n/parity.test.ts +31 -0
- package/src/i18n/pl.ts +723 -0
- package/src/i18n/ru.ts +727 -0
- package/src/i18n/th.ts +714 -0
- package/src/i18n/zh.ts +754 -0
- package/src/i18n/zht.ts +752 -0
- package/src/index.css +1 -0
- package/src/index.ts +3 -0
- package/src/pages/directory-layout.tsx +71 -0
- package/src/pages/error.tsx +290 -0
- package/src/pages/home.tsx +126 -0
- package/src/pages/layout/deep-links.ts +26 -0
- package/src/pages/layout/helpers.test.ts +63 -0
- package/src/pages/layout/helpers.ts +65 -0
- package/src/pages/layout/inline-editor.tsx +113 -0
- package/src/pages/layout/sidebar-items.tsx +328 -0
- package/src/pages/layout/sidebar-project-helpers.test.ts +63 -0
- package/src/pages/layout/sidebar-project-helpers.ts +11 -0
- package/src/pages/layout/sidebar-project.tsx +283 -0
- package/src/pages/layout/sidebar-shell-helpers.ts +1 -0
- package/src/pages/layout/sidebar-shell.test.ts +13 -0
- package/src/pages/layout/sidebar-shell.tsx +109 -0
- package/src/pages/layout/sidebar-workspace-helpers.ts +2 -0
- package/src/pages/layout/sidebar-workspace.test.ts +13 -0
- package/src/pages/layout/sidebar-workspace.tsx +410 -0
- package/src/pages/layout.tsx +1996 -0
- package/src/pages/session/file-tab-scroll.test.ts +40 -0
- package/src/pages/session/file-tab-scroll.ts +67 -0
- package/src/pages/session/file-tabs.tsx +516 -0
- package/src/pages/session/helpers.test.ts +61 -0
- package/src/pages/session/helpers.ts +38 -0
- package/src/pages/session/message-gesture.test.ts +62 -0
- package/src/pages/session/message-gesture.ts +21 -0
- package/src/pages/session/message-timeline.tsx +348 -0
- package/src/pages/session/review-tab.tsx +158 -0
- package/src/pages/session/scroll-spy.test.ts +127 -0
- package/src/pages/session/scroll-spy.ts +274 -0
- package/src/pages/session/session-command-helpers.ts +10 -0
- package/src/pages/session/session-mobile-tabs.tsx +36 -0
- package/src/pages/session/session-prompt-dock.test.ts +22 -0
- package/src/pages/session/session-prompt-dock.tsx +137 -0
- package/src/pages/session/session-prompt-helpers.ts +4 -0
- package/src/pages/session/session-side-panel.tsx +319 -0
- package/src/pages/session/terminal-label.ts +16 -0
- package/src/pages/session/terminal-panel.test.ts +25 -0
- package/src/pages/session/terminal-panel.tsx +169 -0
- package/src/pages/session/use-session-commands.test.ts +44 -0
- package/src/pages/session/use-session-commands.tsx +455 -0
- package/src/pages/session/use-session-hash-scroll.test.ts +16 -0
- package/src/pages/session/use-session-hash-scroll.ts +174 -0
- package/src/pages/session.tsx +1755 -0
- package/src/sst-env.d.ts +12 -0
- package/src/utils/agent.ts +11 -0
- package/src/utils/aim.ts +138 -0
- package/src/utils/base64.ts +10 -0
- package/src/utils/dom.ts +51 -0
- package/src/utils/id.ts +99 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/perf.ts +135 -0
- package/src/utils/persist.ts +451 -0
- package/src/utils/prompt.ts +203 -0
- package/src/utils/runtime-adapters.test.ts +62 -0
- package/src/utils/runtime-adapters.ts +39 -0
- package/src/utils/same.ts +6 -0
- package/src/utils/scoped-cache.test.ts +69 -0
- package/src/utils/scoped-cache.ts +104 -0
- package/src/utils/server-health.test.ts +42 -0
- package/src/utils/server-health.ts +29 -0
- package/src/utils/solid-dnd.tsx +55 -0
- package/src/utils/sound.ts +117 -0
- package/src/utils/speech.ts +326 -0
- package/src/utils/time.ts +14 -0
- package/src/utils/worktree.test.ts +46 -0
- package/src/utils/worktree.ts +73 -0
- package/sst-env.d.ts +10 -0
- package/tsconfig.json +26 -0
- package/vite.config.ts +15 -0
- package/vite.js +26 -0
|
@@ -0,0 +1,634 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SerializeAddon - Serialize terminal buffer contents
|
|
3
|
+
*
|
|
4
|
+
* Port of xterm.js addon-serialize for ghostty-web.
|
|
5
|
+
* Enables serialization of terminal contents to a string that can
|
|
6
|
+
* be written back to restore terminal state.
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* ```typescript
|
|
10
|
+
* const serializeAddon = new SerializeAddon();
|
|
11
|
+
* term.loadAddon(serializeAddon);
|
|
12
|
+
* const content = serializeAddon.serialize();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import type { ITerminalAddon, ITerminalCore, IBufferRange } from "ghostty-web"
|
|
17
|
+
|
|
18
|
+
// ============================================================================
|
|
19
|
+
// Buffer Types (matching ghostty-web internal interfaces)
|
|
20
|
+
// ============================================================================
|
|
21
|
+
|
|
22
|
+
interface IBuffer {
|
|
23
|
+
readonly type: "normal" | "alternate"
|
|
24
|
+
readonly cursorX: number
|
|
25
|
+
readonly cursorY: number
|
|
26
|
+
readonly viewportY: number
|
|
27
|
+
readonly baseY: number
|
|
28
|
+
readonly length: number
|
|
29
|
+
getLine(y: number): IBufferLine | undefined
|
|
30
|
+
getNullCell(): IBufferCell
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface IBufferLine {
|
|
34
|
+
readonly length: number
|
|
35
|
+
readonly isWrapped: boolean
|
|
36
|
+
getCell(x: number): IBufferCell | undefined
|
|
37
|
+
translateToString(trimRight?: boolean, startColumn?: number, endColumn?: number): string
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
interface IBufferCell {
|
|
41
|
+
getChars(): string
|
|
42
|
+
getCode(): number
|
|
43
|
+
getWidth(): number
|
|
44
|
+
getFgColorMode(): number
|
|
45
|
+
getBgColorMode(): number
|
|
46
|
+
getFgColor(): number
|
|
47
|
+
getBgColor(): number
|
|
48
|
+
isBold(): number
|
|
49
|
+
isItalic(): number
|
|
50
|
+
isUnderline(): number
|
|
51
|
+
isStrikethrough(): number
|
|
52
|
+
isBlink(): number
|
|
53
|
+
isInverse(): number
|
|
54
|
+
isInvisible(): number
|
|
55
|
+
isFaint(): number
|
|
56
|
+
isDim(): boolean
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
type TerminalBuffers = {
|
|
60
|
+
active?: IBuffer
|
|
61
|
+
normal?: IBuffer
|
|
62
|
+
alternate?: IBuffer
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const isRecord = (value: unknown): value is Record<string, unknown> => {
|
|
66
|
+
return typeof value === "object" && value !== null
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const isBuffer = (value: unknown): value is IBuffer => {
|
|
70
|
+
if (!isRecord(value)) return false
|
|
71
|
+
if (typeof value.length !== "number") return false
|
|
72
|
+
if (typeof value.cursorX !== "number") return false
|
|
73
|
+
if (typeof value.cursorY !== "number") return false
|
|
74
|
+
if (typeof value.baseY !== "number") return false
|
|
75
|
+
if (typeof value.viewportY !== "number") return false
|
|
76
|
+
if (typeof value.getLine !== "function") return false
|
|
77
|
+
if (typeof value.getNullCell !== "function") return false
|
|
78
|
+
return true
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
const getTerminalBuffers = (value: ITerminalCore): TerminalBuffers | undefined => {
|
|
82
|
+
if (!isRecord(value)) return
|
|
83
|
+
const raw = value.buffer
|
|
84
|
+
if (!isRecord(raw)) return
|
|
85
|
+
const active = isBuffer(raw.active) ? raw.active : undefined
|
|
86
|
+
const normal = isBuffer(raw.normal) ? raw.normal : undefined
|
|
87
|
+
const alternate = isBuffer(raw.alternate) ? raw.alternate : undefined
|
|
88
|
+
if (!active && !normal) return
|
|
89
|
+
return { active, normal, alternate }
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// ============================================================================
|
|
93
|
+
// Types
|
|
94
|
+
// ============================================================================
|
|
95
|
+
|
|
96
|
+
export interface ISerializeOptions {
|
|
97
|
+
/**
|
|
98
|
+
* The row range to serialize. When an explicit range is specified, the cursor
|
|
99
|
+
* will get its final repositioning.
|
|
100
|
+
*/
|
|
101
|
+
range?: ISerializeRange
|
|
102
|
+
/**
|
|
103
|
+
* The number of rows in the scrollback buffer to serialize, starting from
|
|
104
|
+
* the bottom of the scrollback buffer. When not specified, all available
|
|
105
|
+
* rows in the scrollback buffer will be serialized.
|
|
106
|
+
*/
|
|
107
|
+
scrollback?: number
|
|
108
|
+
/**
|
|
109
|
+
* Whether to exclude the terminal modes from the serialization.
|
|
110
|
+
* Default: false
|
|
111
|
+
*/
|
|
112
|
+
excludeModes?: boolean
|
|
113
|
+
/**
|
|
114
|
+
* Whether to exclude the alt buffer from the serialization.
|
|
115
|
+
* Default: false
|
|
116
|
+
*/
|
|
117
|
+
excludeAltBuffer?: boolean
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface ISerializeRange {
|
|
121
|
+
/**
|
|
122
|
+
* The line to start serializing (inclusive).
|
|
123
|
+
*/
|
|
124
|
+
start: number
|
|
125
|
+
/**
|
|
126
|
+
* The line to end serializing (inclusive).
|
|
127
|
+
*/
|
|
128
|
+
end: number
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface IHTMLSerializeOptions {
|
|
132
|
+
/**
|
|
133
|
+
* The number of rows in the scrollback buffer to serialize, starting from
|
|
134
|
+
* the bottom of the scrollback buffer.
|
|
135
|
+
*/
|
|
136
|
+
scrollback?: number
|
|
137
|
+
/**
|
|
138
|
+
* Whether to only serialize the selection.
|
|
139
|
+
* Default: false
|
|
140
|
+
*/
|
|
141
|
+
onlySelection?: boolean
|
|
142
|
+
/**
|
|
143
|
+
* Whether to include the global background of the terminal.
|
|
144
|
+
* Default: false
|
|
145
|
+
*/
|
|
146
|
+
includeGlobalBackground?: boolean
|
|
147
|
+
/**
|
|
148
|
+
* The range to serialize. This is prioritized over onlySelection.
|
|
149
|
+
*/
|
|
150
|
+
range?: {
|
|
151
|
+
startLine: number
|
|
152
|
+
endLine: number
|
|
153
|
+
startCol: number
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// ============================================================================
|
|
158
|
+
// Helper Functions
|
|
159
|
+
// ============================================================================
|
|
160
|
+
|
|
161
|
+
function constrain(value: number, low: number, high: number): number {
|
|
162
|
+
return Math.max(low, Math.min(value, high))
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function equalFg(cell1: IBufferCell, cell2: IBufferCell): boolean {
|
|
166
|
+
return cell1.getFgColorMode() === cell2.getFgColorMode() && cell1.getFgColor() === cell2.getFgColor()
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function equalBg(cell1: IBufferCell, cell2: IBufferCell): boolean {
|
|
170
|
+
return cell1.getBgColorMode() === cell2.getBgColorMode() && cell1.getBgColor() === cell2.getBgColor()
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
function equalFlags(cell1: IBufferCell, cell2: IBufferCell): boolean {
|
|
174
|
+
return (
|
|
175
|
+
!!cell1.isInverse() === !!cell2.isInverse() &&
|
|
176
|
+
!!cell1.isBold() === !!cell2.isBold() &&
|
|
177
|
+
!!cell1.isUnderline() === !!cell2.isUnderline() &&
|
|
178
|
+
!!cell1.isBlink() === !!cell2.isBlink() &&
|
|
179
|
+
!!cell1.isInvisible() === !!cell2.isInvisible() &&
|
|
180
|
+
!!cell1.isItalic() === !!cell2.isItalic() &&
|
|
181
|
+
!!cell1.isDim() === !!cell2.isDim() &&
|
|
182
|
+
!!cell1.isStrikethrough() === !!cell2.isStrikethrough()
|
|
183
|
+
)
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// ============================================================================
|
|
187
|
+
// Base Serialize Handler
|
|
188
|
+
// ============================================================================
|
|
189
|
+
|
|
190
|
+
abstract class BaseSerializeHandler {
|
|
191
|
+
constructor(protected readonly _buffer: IBuffer) {}
|
|
192
|
+
|
|
193
|
+
public serialize(range: IBufferRange, excludeFinalCursorPosition?: boolean): string {
|
|
194
|
+
let oldCell = this._buffer.getNullCell()
|
|
195
|
+
|
|
196
|
+
const startRow = range.start.y
|
|
197
|
+
const endRow = range.end.y
|
|
198
|
+
const startColumn = range.start.x
|
|
199
|
+
const endColumn = range.end.x
|
|
200
|
+
|
|
201
|
+
this._beforeSerialize(endRow - startRow + 1, startRow, endRow)
|
|
202
|
+
|
|
203
|
+
for (let row = startRow; row <= endRow; row++) {
|
|
204
|
+
const line = this._buffer.getLine(row)
|
|
205
|
+
if (line) {
|
|
206
|
+
const startLineColumn = row === range.start.y ? startColumn : 0
|
|
207
|
+
const endLineColumn = Math.min(endColumn, line.length)
|
|
208
|
+
|
|
209
|
+
for (let col = startLineColumn; col < endLineColumn; col++) {
|
|
210
|
+
const c = line.getCell(col)
|
|
211
|
+
if (!c) {
|
|
212
|
+
continue
|
|
213
|
+
}
|
|
214
|
+
this._nextCell(c, oldCell, row, col)
|
|
215
|
+
oldCell = c
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
this._rowEnd(row, row === endRow)
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
this._afterSerialize()
|
|
222
|
+
|
|
223
|
+
return this._serializeString(excludeFinalCursorPosition)
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
protected _nextCell(_cell: IBufferCell, _oldCell: IBufferCell, _row: number, _col: number): void {}
|
|
227
|
+
protected _rowEnd(_row: number, _isLastRow: boolean): void {}
|
|
228
|
+
protected _beforeSerialize(_rows: number, _startRow: number, _endRow: number): void {}
|
|
229
|
+
protected _afterSerialize(): void {}
|
|
230
|
+
protected _serializeString(_excludeFinalCursorPosition?: boolean): string {
|
|
231
|
+
return ""
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// ============================================================================
|
|
236
|
+
// String Serialize Handler
|
|
237
|
+
// ============================================================================
|
|
238
|
+
|
|
239
|
+
class StringSerializeHandler extends BaseSerializeHandler {
|
|
240
|
+
private _rowIndex: number = 0
|
|
241
|
+
private _allRows: string[] = []
|
|
242
|
+
private _allRowSeparators: string[] = []
|
|
243
|
+
private _currentRow: string = ""
|
|
244
|
+
private _nullCellCount: number = 0
|
|
245
|
+
private _cursorStyle: IBufferCell
|
|
246
|
+
private _firstRow: number = 0
|
|
247
|
+
private _lastCursorRow: number = 0
|
|
248
|
+
private _lastCursorCol: number = 0
|
|
249
|
+
private _lastContentCursorRow: number = 0
|
|
250
|
+
private _lastContentCursorCol: number = 0
|
|
251
|
+
|
|
252
|
+
constructor(
|
|
253
|
+
buffer: IBuffer,
|
|
254
|
+
private readonly _terminal: ITerminalCore,
|
|
255
|
+
) {
|
|
256
|
+
super(buffer)
|
|
257
|
+
this._cursorStyle = this._buffer.getNullCell()
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
protected _beforeSerialize(rows: number, start: number, _end: number): void {
|
|
261
|
+
this._allRows = new Array<string>(rows)
|
|
262
|
+
this._allRowSeparators = new Array<string>(rows)
|
|
263
|
+
this._rowIndex = 0
|
|
264
|
+
|
|
265
|
+
this._currentRow = ""
|
|
266
|
+
this._nullCellCount = 0
|
|
267
|
+
this._cursorStyle = this._buffer.getNullCell()
|
|
268
|
+
|
|
269
|
+
this._lastContentCursorRow = start
|
|
270
|
+
this._lastCursorRow = start
|
|
271
|
+
this._firstRow = start
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
protected _rowEnd(row: number, isLastRow: boolean): void {
|
|
275
|
+
let rowSeparator = ""
|
|
276
|
+
|
|
277
|
+
const nextLine = isLastRow ? undefined : this._buffer.getLine(row + 1)
|
|
278
|
+
const wrapped = !!nextLine?.isWrapped
|
|
279
|
+
|
|
280
|
+
if (this._nullCellCount > 0 && wrapped) {
|
|
281
|
+
this._currentRow += " ".repeat(this._nullCellCount)
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
this._nullCellCount = 0
|
|
285
|
+
|
|
286
|
+
if (!isLastRow && !wrapped) {
|
|
287
|
+
rowSeparator = "\r\n"
|
|
288
|
+
this._lastCursorRow = row + 1
|
|
289
|
+
this._lastCursorCol = 0
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
this._allRows[this._rowIndex] = this._currentRow
|
|
293
|
+
this._allRowSeparators[this._rowIndex++] = rowSeparator
|
|
294
|
+
this._currentRow = ""
|
|
295
|
+
this._nullCellCount = 0
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
private _diffStyle(cell: IBufferCell, oldCell: IBufferCell): number[] {
|
|
299
|
+
const sgrSeq: number[] = []
|
|
300
|
+
const fgChanged = !equalFg(cell, oldCell)
|
|
301
|
+
const bgChanged = !equalBg(cell, oldCell)
|
|
302
|
+
const flagsChanged = !equalFlags(cell, oldCell)
|
|
303
|
+
|
|
304
|
+
if (fgChanged || bgChanged || flagsChanged) {
|
|
305
|
+
if (this._isAttributeDefault(cell)) {
|
|
306
|
+
if (!this._isAttributeDefault(oldCell)) {
|
|
307
|
+
sgrSeq.push(0)
|
|
308
|
+
}
|
|
309
|
+
} else {
|
|
310
|
+
if (flagsChanged) {
|
|
311
|
+
if (!!cell.isInverse() !== !!oldCell.isInverse()) {
|
|
312
|
+
sgrSeq.push(cell.isInverse() ? 7 : 27)
|
|
313
|
+
}
|
|
314
|
+
if (!!cell.isBold() !== !!oldCell.isBold()) {
|
|
315
|
+
sgrSeq.push(cell.isBold() ? 1 : 22)
|
|
316
|
+
}
|
|
317
|
+
if (!!cell.isUnderline() !== !!oldCell.isUnderline()) {
|
|
318
|
+
sgrSeq.push(cell.isUnderline() ? 4 : 24)
|
|
319
|
+
}
|
|
320
|
+
if (!!cell.isBlink() !== !!oldCell.isBlink()) {
|
|
321
|
+
sgrSeq.push(cell.isBlink() ? 5 : 25)
|
|
322
|
+
}
|
|
323
|
+
if (!!cell.isInvisible() !== !!oldCell.isInvisible()) {
|
|
324
|
+
sgrSeq.push(cell.isInvisible() ? 8 : 28)
|
|
325
|
+
}
|
|
326
|
+
if (!!cell.isItalic() !== !!oldCell.isItalic()) {
|
|
327
|
+
sgrSeq.push(cell.isItalic() ? 3 : 23)
|
|
328
|
+
}
|
|
329
|
+
if (!!cell.isDim() !== !!oldCell.isDim()) {
|
|
330
|
+
sgrSeq.push(cell.isDim() ? 2 : 22)
|
|
331
|
+
}
|
|
332
|
+
if (!!cell.isStrikethrough() !== !!oldCell.isStrikethrough()) {
|
|
333
|
+
sgrSeq.push(cell.isStrikethrough() ? 9 : 29)
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
if (fgChanged) {
|
|
337
|
+
const color = cell.getFgColor()
|
|
338
|
+
const mode = cell.getFgColorMode()
|
|
339
|
+
if (mode === 2 || mode === 3 || mode === -1) {
|
|
340
|
+
sgrSeq.push(38, 2, (color >>> 16) & 0xff, (color >>> 8) & 0xff, color & 0xff)
|
|
341
|
+
} else if (mode === 1) {
|
|
342
|
+
// Palette
|
|
343
|
+
if (color >= 16) {
|
|
344
|
+
sgrSeq.push(38, 5, color)
|
|
345
|
+
} else {
|
|
346
|
+
sgrSeq.push(color & 8 ? 90 + (color & 7) : 30 + (color & 7))
|
|
347
|
+
}
|
|
348
|
+
} else {
|
|
349
|
+
sgrSeq.push(39)
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
if (bgChanged) {
|
|
353
|
+
const color = cell.getBgColor()
|
|
354
|
+
const mode = cell.getBgColorMode()
|
|
355
|
+
if (mode === 2 || mode === 3 || mode === -1) {
|
|
356
|
+
sgrSeq.push(48, 2, (color >>> 16) & 0xff, (color >>> 8) & 0xff, color & 0xff)
|
|
357
|
+
} else if (mode === 1) {
|
|
358
|
+
// Palette
|
|
359
|
+
if (color >= 16) {
|
|
360
|
+
sgrSeq.push(48, 5, color)
|
|
361
|
+
} else {
|
|
362
|
+
sgrSeq.push(color & 8 ? 100 + (color & 7) : 40 + (color & 7))
|
|
363
|
+
}
|
|
364
|
+
} else {
|
|
365
|
+
sgrSeq.push(49)
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
return sgrSeq
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
private _isAttributeDefault(cell: IBufferCell): boolean {
|
|
375
|
+
const mode = cell.getFgColorMode()
|
|
376
|
+
const bgMode = cell.getBgColorMode()
|
|
377
|
+
|
|
378
|
+
if (mode === 0 && bgMode === 0) {
|
|
379
|
+
return (
|
|
380
|
+
!cell.isBold() &&
|
|
381
|
+
!cell.isItalic() &&
|
|
382
|
+
!cell.isUnderline() &&
|
|
383
|
+
!cell.isBlink() &&
|
|
384
|
+
!cell.isInverse() &&
|
|
385
|
+
!cell.isInvisible() &&
|
|
386
|
+
!cell.isDim() &&
|
|
387
|
+
!cell.isStrikethrough()
|
|
388
|
+
)
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
const fgColor = cell.getFgColor()
|
|
392
|
+
const bgColor = cell.getBgColor()
|
|
393
|
+
const nullCell = this._buffer.getNullCell()
|
|
394
|
+
const nullFg = nullCell.getFgColor()
|
|
395
|
+
const nullBg = nullCell.getBgColor()
|
|
396
|
+
|
|
397
|
+
return (
|
|
398
|
+
fgColor === nullFg &&
|
|
399
|
+
bgColor === nullBg &&
|
|
400
|
+
!cell.isBold() &&
|
|
401
|
+
!cell.isItalic() &&
|
|
402
|
+
!cell.isUnderline() &&
|
|
403
|
+
!cell.isBlink() &&
|
|
404
|
+
!cell.isInverse() &&
|
|
405
|
+
!cell.isInvisible() &&
|
|
406
|
+
!cell.isDim() &&
|
|
407
|
+
!cell.isStrikethrough()
|
|
408
|
+
)
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
protected _nextCell(cell: IBufferCell, _oldCell: IBufferCell, row: number, col: number): void {
|
|
412
|
+
const isPlaceHolderCell = cell.getWidth() === 0
|
|
413
|
+
|
|
414
|
+
if (isPlaceHolderCell) {
|
|
415
|
+
return
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
const codepoint = cell.getCode()
|
|
419
|
+
const isInvalidCodepoint = codepoint > 0x10ffff || (codepoint >= 0xd800 && codepoint <= 0xdfff)
|
|
420
|
+
const isGarbage = isInvalidCodepoint || (codepoint >= 0xf000 && cell.getWidth() === 1)
|
|
421
|
+
const isEmptyCell = codepoint === 0 || cell.getChars() === "" || isGarbage
|
|
422
|
+
|
|
423
|
+
const sgrSeq = this._diffStyle(cell, this._cursorStyle)
|
|
424
|
+
|
|
425
|
+
const styleChanged = sgrSeq.length > 0
|
|
426
|
+
|
|
427
|
+
if (styleChanged) {
|
|
428
|
+
if (this._nullCellCount > 0) {
|
|
429
|
+
this._currentRow += " ".repeat(this._nullCellCount)
|
|
430
|
+
this._nullCellCount = 0
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
this._lastContentCursorRow = this._lastCursorRow = row
|
|
434
|
+
this._lastContentCursorCol = this._lastCursorCol = col
|
|
435
|
+
|
|
436
|
+
this._currentRow += `\u001b[${sgrSeq.join(";")}m`
|
|
437
|
+
|
|
438
|
+
const line = this._buffer.getLine(row)
|
|
439
|
+
const cellFromLine = line?.getCell(col)
|
|
440
|
+
if (cellFromLine) {
|
|
441
|
+
this._cursorStyle = cellFromLine
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
if (isEmptyCell) {
|
|
446
|
+
this._nullCellCount += cell.getWidth()
|
|
447
|
+
} else {
|
|
448
|
+
if (this._nullCellCount > 0) {
|
|
449
|
+
this._currentRow += " ".repeat(this._nullCellCount)
|
|
450
|
+
this._nullCellCount = 0
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
this._currentRow += cell.getChars()
|
|
454
|
+
|
|
455
|
+
this._lastContentCursorRow = this._lastCursorRow = row
|
|
456
|
+
this._lastContentCursorCol = this._lastCursorCol = col + cell.getWidth()
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
protected _serializeString(excludeFinalCursorPosition?: boolean): string {
|
|
461
|
+
let rowEnd = this._allRows.length
|
|
462
|
+
|
|
463
|
+
if (this._buffer.length - this._firstRow <= this._terminal.rows) {
|
|
464
|
+
rowEnd = this._lastContentCursorRow + 1 - this._firstRow
|
|
465
|
+
this._lastCursorCol = this._lastContentCursorCol
|
|
466
|
+
this._lastCursorRow = this._lastContentCursorRow
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
let content = ""
|
|
470
|
+
|
|
471
|
+
for (let i = 0; i < rowEnd; i++) {
|
|
472
|
+
content += this._allRows[i]
|
|
473
|
+
if (i + 1 < rowEnd) {
|
|
474
|
+
content += this._allRowSeparators[i]
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
if (excludeFinalCursorPosition) return content
|
|
479
|
+
|
|
480
|
+
const absoluteCursorRow = (this._buffer.baseY ?? 0) + this._buffer.cursorY
|
|
481
|
+
const cursorRow = constrain(absoluteCursorRow - this._firstRow + 1, 1, Number.MAX_SAFE_INTEGER)
|
|
482
|
+
const cursorCol = this._buffer.cursorX + 1
|
|
483
|
+
content += `\u001b[${cursorRow};${cursorCol}H`
|
|
484
|
+
|
|
485
|
+
const line = this._buffer.getLine(absoluteCursorRow)
|
|
486
|
+
const cell = line?.getCell(this._buffer.cursorX)
|
|
487
|
+
const style = (() => {
|
|
488
|
+
if (!cell) return this._buffer.getNullCell()
|
|
489
|
+
if (cell.getWidth() !== 0) return cell
|
|
490
|
+
if (this._buffer.cursorX > 0) return line?.getCell(this._buffer.cursorX - 1) ?? cell
|
|
491
|
+
return cell
|
|
492
|
+
})()
|
|
493
|
+
|
|
494
|
+
const sgrSeq = this._diffStyle(style, this._cursorStyle)
|
|
495
|
+
if (sgrSeq.length) content += `\u001b[${sgrSeq.join(";")}m`
|
|
496
|
+
|
|
497
|
+
return content
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
// ============================================================================
|
|
502
|
+
// SerializeAddon Class
|
|
503
|
+
// ============================================================================
|
|
504
|
+
|
|
505
|
+
export class SerializeAddon implements ITerminalAddon {
|
|
506
|
+
private _terminal?: ITerminalCore
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Activate the addon (called by Terminal.loadAddon)
|
|
510
|
+
*/
|
|
511
|
+
public activate(terminal: ITerminalCore): void {
|
|
512
|
+
this._terminal = terminal
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* Dispose the addon and clean up resources
|
|
517
|
+
*/
|
|
518
|
+
public dispose(): void {
|
|
519
|
+
this._terminal = undefined
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Serializes terminal rows into a string that can be written back to the
|
|
524
|
+
* terminal to restore the state. The cursor will also be positioned to the
|
|
525
|
+
* correct cell.
|
|
526
|
+
*
|
|
527
|
+
* @param options Custom options to allow control over what gets serialized.
|
|
528
|
+
*/
|
|
529
|
+
public serialize(options?: ISerializeOptions): string {
|
|
530
|
+
if (!this._terminal) {
|
|
531
|
+
throw new Error("Cannot use addon until it has been loaded")
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
const buffer = getTerminalBuffers(this._terminal)
|
|
535
|
+
|
|
536
|
+
if (!buffer) {
|
|
537
|
+
return ""
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
const normalBuffer = buffer.normal ?? buffer.active
|
|
541
|
+
const altBuffer = buffer.alternate
|
|
542
|
+
|
|
543
|
+
if (!normalBuffer) {
|
|
544
|
+
return ""
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
let content = options?.range
|
|
548
|
+
? this._serializeBufferByRange(normalBuffer, options.range, true)
|
|
549
|
+
: this._serializeBufferByScrollback(normalBuffer, options?.scrollback)
|
|
550
|
+
|
|
551
|
+
if (!options?.excludeAltBuffer && buffer.active?.type === "alternate" && altBuffer) {
|
|
552
|
+
const alternateContent = this._serializeBufferByScrollback(altBuffer, undefined)
|
|
553
|
+
content += `\u001b[?1049h\u001b[H${alternateContent}`
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
return content
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Serializes terminal content as plain text (no escape sequences)
|
|
561
|
+
* @param options Custom options to allow control over what gets serialized.
|
|
562
|
+
*/
|
|
563
|
+
public serializeAsText(options?: { scrollback?: number; trimWhitespace?: boolean }): string {
|
|
564
|
+
if (!this._terminal) {
|
|
565
|
+
throw new Error("Cannot use addon until it has been loaded")
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
const buffer = getTerminalBuffers(this._terminal)
|
|
569
|
+
|
|
570
|
+
if (!buffer) {
|
|
571
|
+
return ""
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
const activeBuffer = buffer.active ?? buffer.normal
|
|
575
|
+
if (!activeBuffer) {
|
|
576
|
+
return ""
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
const maxRows = activeBuffer.length
|
|
580
|
+
const scrollback = options?.scrollback
|
|
581
|
+
const correctRows = scrollback === undefined ? maxRows : constrain(scrollback + this._terminal.rows, 0, maxRows)
|
|
582
|
+
|
|
583
|
+
const startRow = maxRows - correctRows
|
|
584
|
+
const endRow = maxRows - 1
|
|
585
|
+
const lines: string[] = []
|
|
586
|
+
|
|
587
|
+
for (let row = startRow; row <= endRow; row++) {
|
|
588
|
+
const line = activeBuffer.getLine(row)
|
|
589
|
+
if (line) {
|
|
590
|
+
const text = line.translateToString(options?.trimWhitespace ?? true)
|
|
591
|
+
lines.push(text)
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
// Trim trailing empty lines if requested
|
|
596
|
+
if (options?.trimWhitespace) {
|
|
597
|
+
while (lines.length > 0 && lines[lines.length - 1] === "") {
|
|
598
|
+
lines.pop()
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
return lines.join("\n")
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
private _serializeBufferByScrollback(buffer: IBuffer, scrollback?: number): string {
|
|
606
|
+
const maxRows = buffer.length
|
|
607
|
+
const rows = this._terminal?.rows ?? 24
|
|
608
|
+
const correctRows = scrollback === undefined ? maxRows : constrain(scrollback + rows, 0, maxRows)
|
|
609
|
+
return this._serializeBufferByRange(
|
|
610
|
+
buffer,
|
|
611
|
+
{
|
|
612
|
+
start: maxRows - correctRows,
|
|
613
|
+
end: maxRows - 1,
|
|
614
|
+
},
|
|
615
|
+
false,
|
|
616
|
+
)
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
private _serializeBufferByRange(
|
|
620
|
+
buffer: IBuffer,
|
|
621
|
+
range: ISerializeRange,
|
|
622
|
+
excludeFinalCursorPosition: boolean,
|
|
623
|
+
): string {
|
|
624
|
+
const handler = new StringSerializeHandler(buffer, this._terminal!)
|
|
625
|
+
const cols = this._terminal?.cols ?? 80
|
|
626
|
+
return handler.serialize(
|
|
627
|
+
{
|
|
628
|
+
start: { x: 0, y: range.start },
|
|
629
|
+
end: { x: cols, y: range.end },
|
|
630
|
+
},
|
|
631
|
+
excludeFinalCursorPosition,
|
|
632
|
+
)
|
|
633
|
+
}
|
|
634
|
+
}
|