@kubed.io/cdn 0.0.4 → 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/README.md +11 -0
- package/dist/chunks/1c-Cg7z75RR.js +94 -0
- package/dist/chunks/1c-Cg7z75RR.js.map +1 -0
- package/dist/chunks/abnf-DjOFdYyB.js +59 -0
- package/dist/chunks/abnf-DjOFdYyB.js.map +1 -0
- package/dist/chunks/accesslog-CT59MCIO.js +72 -0
- package/dist/chunks/accesslog-CT59MCIO.js.map +1 -0
- package/dist/chunks/actionscript-BF7IWfId.js +85 -0
- package/dist/chunks/actionscript-BF7IWfId.js.map +1 -0
- package/dist/chunks/ada-BW8u8CRX.js +107 -0
- package/dist/chunks/ada-BW8u8CRX.js.map +1 -0
- package/dist/chunks/angelscript-2l-XM2Vw.js +91 -0
- package/dist/chunks/angelscript-2l-XM2Vw.js.map +1 -0
- package/dist/chunks/apache-ClDRwhlj.js +87 -0
- package/dist/chunks/apache-ClDRwhlj.js.map +1 -0
- package/dist/chunks/applescript-BnCdU8ml.js +57 -0
- package/dist/chunks/applescript-BnCdU8ml.js.map +1 -0
- package/dist/chunks/arcade-BtIJZuSq.js +157 -0
- package/dist/chunks/arcade-BtIJZuSq.js.map +1 -0
- package/dist/chunks/arduino-xB3NbW4M.js +272 -0
- package/dist/chunks/arduino-xB3NbW4M.js.map +1 -0
- package/dist/chunks/armasm-Dg5wPE4N.js +66 -0
- package/dist/chunks/armasm-Dg5wPE4N.js.map +1 -0
- package/dist/chunks/asciidoc-ZAddoC6x.js +178 -0
- package/dist/chunks/asciidoc-ZAddoC6x.js.map +1 -0
- package/dist/chunks/aspectj-Dfd0IA-3.js +126 -0
- package/dist/chunks/aspectj-Dfd0IA-3.js.map +1 -0
- package/dist/chunks/autohotkey-tKEhIrY9.js +55 -0
- package/dist/chunks/autohotkey-tKEhIrY9.js.map +1 -0
- package/dist/chunks/autoit-BPoYFiDT.js +123 -0
- package/dist/chunks/autoit-BPoYFiDT.js.map +1 -0
- package/dist/chunks/avrasm-DcwC__J5.js +47 -0
- package/dist/chunks/avrasm-DcwC__J5.js.map +1 -0
- package/dist/chunks/awk-B0eiS31p.js +56 -0
- package/dist/chunks/awk-B0eiS31p.js.map +1 -0
- package/dist/chunks/axapta-BZnaEvVa.js +65 -0
- package/dist/chunks/axapta-BZnaEvVa.js.map +1 -0
- package/dist/chunks/bash-SfqkqXwO.js +171 -0
- package/dist/chunks/bash-SfqkqXwO.js.map +1 -0
- package/dist/chunks/basic-hK9i76TR.js +44 -0
- package/dist/chunks/basic-hK9i76TR.js.map +1 -0
- package/dist/chunks/bnf-CT5PE87o.js +28 -0
- package/dist/chunks/bnf-CT5PE87o.js.map +1 -0
- package/dist/chunks/brainfuck-Cix81oQc.js +41 -0
- package/dist/chunks/brainfuck-Cix81oQc.js.map +1 -0
- package/dist/chunks/c-DqpMY-rp.js +189 -0
- package/dist/chunks/c-DqpMY-rp.js.map +1 -0
- package/dist/chunks/cal-C-xic9Tn.js +91 -0
- package/dist/chunks/cal-C-xic9Tn.js.map +1 -0
- package/dist/chunks/capnproto-Bte6wB8g.js +84 -0
- package/dist/chunks/capnproto-Bte6wB8g.js.map +1 -0
- package/dist/chunks/ceylon-B5xM3rkd.js +77 -0
- package/dist/chunks/ceylon-B5xM3rkd.js.map +1 -0
- package/dist/chunks/clean-58wPfVlT.js +24 -0
- package/dist/chunks/clean-58wPfVlT.js.map +1 -0
- package/dist/chunks/clojure-DnooNAlk.js +114 -0
- package/dist/chunks/clojure-DnooNAlk.js.map +1 -0
- package/dist/chunks/clojure-repl-BOwc5f8V.js +18 -0
- package/dist/chunks/clojure-repl-BOwc5f8V.js.map +1 -0
- package/dist/chunks/cmake-CmXecy9B.js +28 -0
- package/dist/chunks/cmake-CmXecy9B.js.map +1 -0
- package/dist/chunks/coffeescript-BxFWPVxK.js +199 -0
- package/dist/chunks/coffeescript-BxFWPVxK.js.map +1 -0
- package/dist/chunks/coq-q80xvjL8.js +26 -0
- package/dist/chunks/coq-q80xvjL8.js.map +1 -0
- package/dist/chunks/core-BSQzrNYA.js +853 -0
- package/dist/chunks/core-BSQzrNYA.js.map +1 -0
- package/dist/chunks/cos-DiRYB57M.js +78 -0
- package/dist/chunks/cos-DiRYB57M.js.map +1 -0
- package/dist/chunks/cpp-BvOt3G_R.js +238 -0
- package/dist/chunks/cpp-BvOt3G_R.js.map +1 -0
- package/dist/chunks/crmsh-h8TY8H79.js +80 -0
- package/dist/chunks/crmsh-h8TY8H79.js.map +1 -0
- package/dist/chunks/crystal-Cn8iNhTZ.js +247 -0
- package/dist/chunks/crystal-Cn8iNhTZ.js.map +1 -0
- package/dist/chunks/csharp-BUAiXZio.js +262 -0
- package/dist/chunks/csharp-BUAiXZio.js.map +1 -0
- package/dist/chunks/csp-BP06y0Ba.js +25 -0
- package/dist/chunks/csp-BP06y0Ba.js.map +1 -0
- package/dist/chunks/css-CuP2L3Vg.js +147 -0
- package/dist/chunks/css-CuP2L3Vg.js.map +1 -0
- package/dist/chunks/d-C0cOEHlZ.js +87 -0
- package/dist/chunks/d-C0cOEHlZ.js.map +1 -0
- package/dist/chunks/dart-DOyn4FWh.js +136 -0
- package/dist/chunks/dart-DOyn4FWh.js.map +1 -0
- package/dist/chunks/{define-XzEniRJH.js → define-DqUpowD9.js} +3 -3
- package/dist/chunks/{define-XzEniRJH.js.map → define-DqUpowD9.js.map} +1 -1
- package/dist/chunks/delphi-BL8QbVUL.js +95 -0
- package/dist/chunks/delphi-BL8QbVUL.js.map +1 -0
- package/dist/chunks/diff-DMbO7OaS.js +41 -0
- package/dist/chunks/diff-DMbO7OaS.js.map +1 -0
- package/dist/chunks/django-CnvXUSpm.js +44 -0
- package/dist/chunks/django-CnvXUSpm.js.map +1 -0
- package/dist/chunks/dns-DpaEqlb1.js +73 -0
- package/dist/chunks/dns-DpaEqlb1.js.map +1 -0
- package/dist/chunks/dockerfile-D9WngOli.js +36 -0
- package/dist/chunks/dockerfile-D9WngOli.js.map +1 -0
- package/dist/chunks/dos-w6Vxr4_L.js +59 -0
- package/dist/chunks/dos-w6Vxr4_L.js.map +1 -0
- package/dist/chunks/dsconfig-Dq_NzMQE.js +56 -0
- package/dist/chunks/dsconfig-Dq_NzMQE.js.map +1 -0
- package/dist/chunks/dts-CpWaLhGr.js +117 -0
- package/dist/chunks/dts-CpWaLhGr.js.map +1 -0
- package/dist/chunks/dust-C4uDg2L0.js +34 -0
- package/dist/chunks/dust-C4uDg2L0.js.map +1 -0
- package/dist/chunks/ebnf-ByjV7C32.js +41 -0
- package/dist/chunks/ebnf-ByjV7C32.js.map +1 -0
- package/dist/chunks/{element-ChNBLJ5X.js → element-CaN9ZVoe.js} +60 -60
- package/dist/chunks/element-CaN9ZVoe.js.map +1 -0
- package/dist/chunks/elixir-DkdYO0Vr.js +191 -0
- package/dist/chunks/elixir-DkdYO0Vr.js.map +1 -0
- package/dist/chunks/elm-Clms-iZw.js +101 -0
- package/dist/chunks/elm-Clms-iZw.js.map +1 -0
- package/dist/chunks/erb-BC3HNNgp.js +18 -0
- package/dist/chunks/erb-BC3HNNgp.js.map +1 -0
- package/dist/chunks/erlang-Cu0IlQov.js +220 -0
- package/dist/chunks/erlang-Cu0IlQov.js.map +1 -0
- package/dist/chunks/erlang-repl-5hCt0uhz.js +42 -0
- package/dist/chunks/erlang-repl-5hCt0uhz.js.map +1 -0
- package/dist/chunks/excel-BIDJpxSu.js +49 -0
- package/dist/chunks/excel-BIDJpxSu.js.map +1 -0
- package/dist/chunks/fix-C0h50qaq.js +31 -0
- package/dist/chunks/fix-C0h50qaq.js.map +1 -0
- package/dist/chunks/flix-BCyKzKuw.js +61 -0
- package/dist/chunks/flix-BCyKzKuw.js.map +1 -0
- package/dist/chunks/fortran-DJ9If3VL.js +55 -0
- package/dist/chunks/fortran-DJ9If3VL.js.map +1 -0
- package/dist/chunks/freedesktop-DY5X71dr.js +88 -0
- package/dist/chunks/freedesktop-DY5X71dr.js.map +1 -0
- package/dist/chunks/fsharp-B-zxwYyG.js +243 -0
- package/dist/chunks/fsharp-B-zxwYyG.js.map +1 -0
- package/dist/chunks/gams-Bk-CWpk3.js +128 -0
- package/dist/chunks/gams-Bk-CWpk3.js.map +1 -0
- package/dist/chunks/gauss-DoDOans8.js +154 -0
- package/dist/chunks/gauss-DoDOans8.js.map +1 -0
- package/dist/chunks/gcode-BUHWwtTe.js +123 -0
- package/dist/chunks/gcode-BUHWwtTe.js.map +1 -0
- package/dist/chunks/gherkin-Wzf9M781.js +70 -0
- package/dist/chunks/gherkin-Wzf9M781.js.map +1 -0
- package/dist/chunks/glsl-CUb3B_sB.js +27 -0
- package/dist/chunks/glsl-CUb3B_sB.js.map +1 -0
- package/dist/chunks/gml-BS5lKjIV.js +24 -0
- package/dist/chunks/gml-BS5lKjIV.js.map +1 -0
- package/dist/chunks/go-BUD6D8kx.js +146 -0
- package/dist/chunks/go-BUD6D8kx.js.map +1 -0
- package/dist/chunks/golo-CeWwUkIr.js +27 -0
- package/dist/chunks/golo-CeWwUkIr.js.map +1 -0
- package/dist/chunks/gradle-BoqM74sD.js +20 -0
- package/dist/chunks/gradle-BoqM74sD.js.map +1 -0
- package/dist/chunks/graphql-j3kf95P9.js +69 -0
- package/dist/chunks/graphql-j3kf95P9.js.map +1 -0
- package/dist/chunks/groovy-B3DHxrmD.js +129 -0
- package/dist/chunks/groovy-B3DHxrmD.js.map +1 -0
- package/dist/chunks/haml-CgF67t0s.js +98 -0
- package/dist/chunks/haml-CgF67t0s.js.map +1 -0
- package/dist/chunks/handlebars-Bp8_IuhA.js +146 -0
- package/dist/chunks/handlebars-Bp8_IuhA.js.map +1 -0
- package/dist/chunks/haskell-2oFXwht3.js +140 -0
- package/dist/chunks/haskell-2oFXwht3.js.map +1 -0
- package/dist/chunks/haxe-BWUFK1R1.js +144 -0
- package/dist/chunks/haxe-BWUFK1R1.js.map +1 -0
- package/dist/chunks/highlight-D54M45bZ.js +328 -0
- package/dist/chunks/highlight-D54M45bZ.js.map +1 -0
- package/dist/chunks/hsp-YaLnMBmw.js +47 -0
- package/dist/chunks/hsp-YaLnMBmw.js.map +1 -0
- package/dist/chunks/http-D1Jx4NCy.js +76 -0
- package/dist/chunks/http-D1Jx4NCy.js.map +1 -0
- package/dist/chunks/hy-W6RLRSst.js +75 -0
- package/dist/chunks/hy-W6RLRSst.js.map +1 -0
- package/dist/chunks/inform7-Cqmf6Xxi.js +45 -0
- package/dist/chunks/inform7-Cqmf6Xxi.js.map +1 -0
- package/dist/chunks/ini-C_A9yUHA.js +90 -0
- package/dist/chunks/ini-C_A9yUHA.js.map +1 -0
- package/dist/chunks/irpf90-CFKe0d2G.js +49 -0
- package/dist/chunks/irpf90-CFKe0d2G.js.map +1 -0
- package/dist/chunks/isbl-DRZZfDZN.js +98 -0
- package/dist/chunks/isbl-DRZZfDZN.js.map +1 -0
- package/dist/chunks/java-DH7DXQTB.js +176 -0
- package/dist/chunks/java-DH7DXQTB.js.map +1 -0
- package/dist/chunks/javascript-D-ispHLP.js +433 -0
- package/dist/chunks/javascript-D-ispHLP.js.map +1 -0
- package/dist/chunks/jboss-cli-DwoEMfEn.js +48 -0
- package/dist/chunks/jboss-cli-DwoEMfEn.js.map +1 -0
- package/dist/chunks/json-BrJhaXJI.js +44 -0
- package/dist/chunks/json-BrJhaXJI.js.map +1 -0
- package/dist/chunks/julia-DUM4uO0n.js +82 -0
- package/dist/chunks/julia-DUM4uO0n.js.map +1 -0
- package/dist/chunks/julia-repl-DkEOqH-L.js +20 -0
- package/dist/chunks/julia-repl-DkEOqH-L.js.map +1 -0
- package/dist/chunks/kd-B0BcpOG_.js +2662 -0
- package/dist/chunks/kd-B0BcpOG_.js.map +1 -0
- package/dist/chunks/kotlin-BvSvL3hH.js +208 -0
- package/dist/chunks/kotlin-BvSvL3hH.js.map +1 -0
- package/dist/chunks/lasso-BixBtX3R.js +122 -0
- package/dist/chunks/lasso-BixBtX3R.js.map +1 -0
- package/dist/chunks/latex-BNm-5qSt.js +188 -0
- package/dist/chunks/latex-BNm-5qSt.js.map +1 -0
- package/dist/chunks/ldif-D2VChYy1.js +26 -0
- package/dist/chunks/ldif-D2VChYy1.js.map +1 -0
- package/dist/chunks/leaf-DZ17MVc2.js +67 -0
- package/dist/chunks/leaf-DZ17MVc2.js.map +1 -0
- package/dist/chunks/less-Cj7NvTiz.js +198 -0
- package/dist/chunks/less-Cj7NvTiz.js.map +1 -0
- package/dist/chunks/lisp-0CHBhNkP.js +105 -0
- package/dist/chunks/lisp-0CHBhNkP.js.map +1 -0
- package/dist/chunks/livecodeserver-f04_o5o0.js +85 -0
- package/dist/chunks/livecodeserver-f04_o5o0.js.map +1 -0
- package/dist/chunks/livescript-DnaWcjJC.js +192 -0
- package/dist/chunks/livescript-DnaWcjJC.js.map +1 -0
- package/dist/chunks/llvm-CD_EQmwW.js +71 -0
- package/dist/chunks/llvm-CD_EQmwW.js.map +1 -0
- package/dist/chunks/lsl-BjbA45DV.js +56 -0
- package/dist/chunks/lsl-BjbA45DV.js.map +1 -0
- package/dist/chunks/lua-C8cmPpDf.js +48 -0
- package/dist/chunks/lua-C8cmPpDf.js.map +1 -0
- package/dist/chunks/makefile-vKf6Crs_.js +59 -0
- package/dist/chunks/makefile-vKf6Crs_.js.map +1 -0
- package/dist/chunks/markdown-D1MbcAo6.js +180 -0
- package/dist/chunks/markdown-D1MbcAo6.js.map +1 -0
- package/dist/chunks/marked.esm-BrPimSW6.js +1494 -0
- package/dist/chunks/marked.esm-BrPimSW6.js.map +1 -0
- package/dist/chunks/mathematica-BAI0dr8P.js +71 -0
- package/dist/chunks/mathematica-BAI0dr8P.js.map +1 -0
- package/dist/chunks/matlab-tHkexNRr.js +72 -0
- package/dist/chunks/matlab-tHkexNRr.js.map +1 -0
- package/dist/chunks/maxima-DBb1On73.js +40 -0
- package/dist/chunks/maxima-DBb1On73.js.map +1 -0
- package/dist/chunks/mel-DQ2XEeJZ.js +26 -0
- package/dist/chunks/mel-DQ2XEeJZ.js.map +1 -0
- package/dist/chunks/mercury-DB7FwEBk.js +57 -0
- package/dist/chunks/mercury-DB7FwEBk.js.map +1 -0
- package/dist/chunks/mipsasm-Bnw9lQ6-.js +55 -0
- package/dist/chunks/mipsasm-Bnw9lQ6-.js.map +1 -0
- package/dist/chunks/mizar-CKEtvqV9.js +12 -0
- package/dist/chunks/mizar-CKEtvqV9.js.map +1 -0
- package/dist/chunks/mojolicious-FvfVuUnD.js +29 -0
- package/dist/chunks/mojolicious-FvfVuUnD.js.map +1 -0
- package/dist/chunks/monkey-DaGzblyK.js +73 -0
- package/dist/chunks/monkey-DaGzblyK.js.map +1 -0
- package/dist/chunks/moonscript-B9xmaKDF.js +99 -0
- package/dist/chunks/moonscript-B9xmaKDF.js.map +1 -0
- package/dist/chunks/n1ql-h7HuiOG_.js +47 -0
- package/dist/chunks/n1ql-h7HuiOG_.js.map +1 -0
- package/dist/chunks/nestedtext-z3hOUdBb.js +67 -0
- package/dist/chunks/nestedtext-z3hOUdBb.js.map +1 -0
- package/dist/chunks/nginx-Cscn9g8k.js +126 -0
- package/dist/chunks/nginx-Cscn9g8k.js.map +1 -0
- package/dist/chunks/nim-DuEHXsfI.js +57 -0
- package/dist/chunks/nim-DuEHXsfI.js.map +1 -0
- package/dist/chunks/nix-CK-JoV_w.js +176 -0
- package/dist/chunks/nix-CK-JoV_w.js.map +1 -0
- package/dist/chunks/node-repl-YPgIlFR4.js +21 -0
- package/dist/chunks/node-repl-YPgIlFR4.js.map +1 -0
- package/dist/chunks/nsis-C2knGE1f.js +103 -0
- package/dist/chunks/nsis-C2knGE1f.js.map +1 -0
- package/dist/chunks/objectivec-CUvPbZB7.js +119 -0
- package/dist/chunks/objectivec-CUvPbZB7.js.map +1 -0
- package/dist/chunks/ocaml-CJnlG7MK.js +54 -0
- package/dist/chunks/ocaml-CJnlG7MK.js.map +1 -0
- package/dist/chunks/openscad-B7xqzB_t.js +61 -0
- package/dist/chunks/openscad-B7xqzB_t.js.map +1 -0
- package/dist/chunks/oxygene-y7G7cOvu.js +55 -0
- package/dist/chunks/oxygene-y7G7cOvu.js.map +1 -0
- package/dist/chunks/parser3-BO1P2QTe.js +42 -0
- package/dist/chunks/parser3-BO1P2QTe.js.map +1 -0
- package/dist/chunks/perl-CIZiAqA2.js +194 -0
- package/dist/chunks/perl-CIZiAqA2.js.map +1 -0
- package/dist/chunks/pf-DtIBAeXH.js +32 -0
- package/dist/chunks/pf-DtIBAeXH.js.map +1 -0
- package/dist/chunks/pgsql-DhvwSgY7.js +193 -0
- package/dist/chunks/pgsql-DhvwSgY7.js.map +1 -0
- package/dist/chunks/php-Df419x2P.js +302 -0
- package/dist/chunks/php-Df419x2P.js.map +1 -0
- package/dist/chunks/php-template-NGWDJ4ZL.js +45 -0
- package/dist/chunks/php-template-NGWDJ4ZL.js.map +1 -0
- package/dist/chunks/plaintext-DI9-6uUK.js +12 -0
- package/dist/chunks/plaintext-DI9-6uUK.js.map +1 -0
- package/dist/chunks/pony-DWRlzIm6.js +52 -0
- package/dist/chunks/pony-DWRlzIm6.js.map +1 -0
- package/dist/chunks/powershell-Bi81KJvX.js +190 -0
- package/dist/chunks/powershell-Bi81KJvX.js.map +1 -0
- package/dist/chunks/processing-NRILzl6W.js +100 -0
- package/dist/chunks/processing-NRILzl6W.js.map +1 -0
- package/dist/chunks/profile-C5HdUz2O.js +40 -0
- package/dist/chunks/profile-C5HdUz2O.js.map +1 -0
- package/dist/chunks/prolog-CSxvOOUl.js +56 -0
- package/dist/chunks/prolog-CSxvOOUl.js.map +1 -0
- package/dist/chunks/properties-DVff9GiD.js +40 -0
- package/dist/chunks/properties-DVff9GiD.js.map +1 -0
- package/dist/chunks/protobuf-CwPeazJT.js +63 -0
- package/dist/chunks/protobuf-CwPeazJT.js.map +1 -0
- package/dist/chunks/puppet-wWT6-WaD.js +84 -0
- package/dist/chunks/puppet-wWT6-WaD.js.map +1 -0
- package/dist/chunks/purebasic-HWZkxa8e.js +44 -0
- package/dist/chunks/purebasic-HWZkxa8e.js.map +1 -0
- package/dist/chunks/purify.es-C_X9UTsz.js +846 -0
- package/dist/chunks/purify.es-C_X9UTsz.js.map +1 -0
- package/dist/chunks/python-B3xOtrtl.js +240 -0
- package/dist/chunks/python-B3xOtrtl.js.map +1 -0
- package/dist/chunks/python-repl-DFMVj5e5.js +21 -0
- package/dist/chunks/python-repl-DFMVj5e5.js.map +1 -0
- package/dist/chunks/q-DOHmm85f.js +23 -0
- package/dist/chunks/q-DOHmm85f.js.map +1 -0
- package/dist/chunks/qml-LsukXoE-.js +129 -0
- package/dist/chunks/qml-LsukXoE-.js.map +1 -0
- package/dist/chunks/r-qBqOPbmv.js +142 -0
- package/dist/chunks/r-qBqOPbmv.js.map +1 -0
- package/dist/chunks/reasonml-D25FoGuQ.js +80 -0
- package/dist/chunks/reasonml-D25FoGuQ.js.map +1 -0
- package/dist/chunks/rib-C3T5JisO.js +18 -0
- package/dist/chunks/rib-C3T5JisO.js.map +1 -0
- package/dist/chunks/roboconf-Ckycnnun.js +55 -0
- package/dist/chunks/roboconf-Ckycnnun.js.map +1 -0
- package/dist/chunks/routeros-DIBiqeDi.js +104 -0
- package/dist/chunks/routeros-DIBiqeDi.js.map +1 -0
- package/dist/chunks/rsl-C2V3vKIN.js +61 -0
- package/dist/chunks/rsl-C2V3vKIN.js.map +1 -0
- package/dist/chunks/ruby-C7c-uCk8.js +264 -0
- package/dist/chunks/ruby-C7c-uCk8.js.map +1 -0
- package/dist/chunks/ruleslanguage-IlptjHhp.js +28 -0
- package/dist/chunks/ruleslanguage-IlptjHhp.js.map +1 -0
- package/dist/chunks/rust-D-q21Dm6.js +184 -0
- package/dist/chunks/rust-D-q21Dm6.js.map +1 -0
- package/dist/chunks/sas-ObguUuPf.js +80 -0
- package/dist/chunks/sas-ObguUuPf.js.map +1 -0
- package/dist/chunks/scala-DVAYHay6.js +164 -0
- package/dist/chunks/scala-DVAYHay6.js.map +1 -0
- package/dist/chunks/scheme-DIcGbflN.js +106 -0
- package/dist/chunks/scheme-DIcGbflN.js.map +1 -0
- package/dist/chunks/scilab-ilneDJJS.js +47 -0
- package/dist/chunks/scilab-ilneDJJS.js.map +1 -0
- package/dist/chunks/scss-BP8UD0nN.js +157 -0
- package/dist/chunks/scss-BP8UD0nN.js.map +1 -0
- package/dist/chunks/shell-DBkgOY0Y.js +19 -0
- package/dist/chunks/shell-DBkgOY0Y.js.map +1 -0
- package/dist/chunks/smali-De20QX07.js +85 -0
- package/dist/chunks/smali-De20QX07.js.map +1 -0
- package/dist/chunks/smalltalk-DWMPo-qT.js +59 -0
- package/dist/chunks/smalltalk-DWMPo-qT.js.map +1 -0
- package/dist/chunks/sml-yOrArwoc.js +51 -0
- package/dist/chunks/sml-yOrArwoc.js.map +1 -0
- package/dist/chunks/sqf-BCN5uwk_.js +78 -0
- package/dist/chunks/sqf-BCN5uwk_.js.map +1 -0
- package/dist/chunks/sql-CmVzGP4w.js +120 -0
- package/dist/chunks/sql-CmVzGP4w.js.map +1 -0
- package/dist/chunks/stan-BSt7sG8M.js +142 -0
- package/dist/chunks/stan-BSt7sG8M.js.map +1 -0
- package/dist/chunks/stata-sbG438-7.js +35 -0
- package/dist/chunks/stata-sbG438-7.js.map +1 -0
- package/dist/chunks/step21-Cfi2MQDZ.js +55 -0
- package/dist/chunks/step21-Cfi2MQDZ.js.map +1 -0
- package/dist/chunks/stylus-CiBDFhBN.js +185 -0
- package/dist/chunks/stylus-CiBDFhBN.js.map +1 -0
- package/dist/chunks/subunit-DWjzVCiA.js +36 -0
- package/dist/chunks/subunit-DWjzVCiA.js.map +1 -0
- package/dist/chunks/swift-Qo_eIir5.js +577 -0
- package/dist/chunks/swift-Qo_eIir5.js.map +1 -0
- package/dist/chunks/taggerscript-BvuLYKHz.js +39 -0
- package/dist/chunks/taggerscript-BvuLYKHz.js.map +1 -0
- package/dist/chunks/tap-uMi8uF_X.js +32 -0
- package/dist/chunks/tap-uMi8uF_X.js.map +1 -0
- package/dist/chunks/tcl-DMPG3T59.js +46 -0
- package/dist/chunks/tcl-DMPG3T59.js.map +1 -0
- package/dist/chunks/thrift-DAA8HOe8.js +67 -0
- package/dist/chunks/thrift-DAA8HOe8.js.map +1 -0
- package/dist/chunks/tp-46SXlDZT.js +87 -0
- package/dist/chunks/tp-46SXlDZT.js.map +1 -0
- package/dist/chunks/twig-Cf_tZ_wH.js +84 -0
- package/dist/chunks/twig-Cf_tZ_wH.js.map +1 -0
- package/dist/chunks/typescript-Dc6pBLOZ.js +518 -0
- package/dist/chunks/typescript-Dc6pBLOZ.js.map +1 -0
- package/dist/chunks/vala-C2GHqzgV.js +41 -0
- package/dist/chunks/vala-C2GHqzgV.js.map +1 -0
- package/dist/chunks/vbnet-DgQ7B7yi.js +71 -0
- package/dist/chunks/vbnet-DgQ7B7yi.js.map +1 -0
- package/dist/chunks/vbscript-Bid2w6kd.js +43 -0
- package/dist/chunks/vbscript-Bid2w6kd.js.map +1 -0
- package/dist/chunks/vbscript-html-DznzJpE3.js +16 -0
- package/dist/chunks/vbscript-html-DznzJpE3.js.map +1 -0
- package/dist/chunks/verilog-Cfn8vMNy.js +58 -0
- package/dist/chunks/verilog-Cfn8vMNy.js.map +1 -0
- package/dist/chunks/vhdl-DjBWCsn1.js +48 -0
- package/dist/chunks/vhdl-DjBWCsn1.js.map +1 -0
- package/dist/chunks/vim-DtRU07HQ.js +56 -0
- package/dist/chunks/vim-DtRU07HQ.js.map +1 -0
- package/dist/chunks/wasm-CavVFuAK.js +65 -0
- package/dist/chunks/wasm-CavVFuAK.js.map +1 -0
- package/dist/chunks/wren-BKTRrWxW.js +210 -0
- package/dist/chunks/wren-BKTRrWxW.js.map +1 -0
- package/dist/chunks/x86asm-D3FT8ZrX.js +66 -0
- package/dist/chunks/x86asm-D3FT8ZrX.js.map +1 -0
- package/dist/chunks/xl-O8DviBwg.js +85 -0
- package/dist/chunks/xl-O8DviBwg.js.map +1 -0
- package/dist/chunks/xml-UTtAqziF.js +164 -0
- package/dist/chunks/xml-UTtAqziF.js.map +1 -0
- package/dist/chunks/xquery-Ybt8-gzE.js +149 -0
- package/dist/chunks/xquery-Ybt8-gzE.js.map +1 -0
- package/dist/chunks/yaml-DT7UV549.js +146 -0
- package/dist/chunks/yaml-DT7UV549.js.map +1 -0
- package/dist/chunks/zephir-Dsfqs5td.js +72 -0
- package/dist/chunks/zephir-Dsfqs5td.js.map +1 -0
- package/dist/github/activity.d.ts +49 -0
- package/dist/github/hash.d.ts +8 -0
- package/dist/github/index.d.ts +10 -0
- package/dist/github/tree.d.ts +26 -0
- package/dist/github/urls.d.ts +34 -0
- package/dist/github.js +253 -0
- package/dist/github.js.map +1 -0
- package/dist/k8s.js +6 -6
- package/dist/k8s.js.map +1 -1
- package/dist/kd/elements/code.d.ts +53 -0
- package/dist/kd/elements/markdown.d.ts +55 -0
- package/dist/kd/feed.d.ts +31 -0
- package/dist/kd/files/explorer.d.ts +88 -0
- package/dist/kd/files/file.d.ts +84 -0
- package/dist/kd/files/index.d.ts +6 -0
- package/dist/kd/files/static.d.ts +12 -0
- package/dist/kd/files/types.d.ts +51 -0
- package/dist/kd/highlight.d.ts +26 -0
- package/dist/kd/index.d.ts +8 -0
- package/dist/kd.js +5 -5
- package/dist/n8n/config.d.ts +3 -2
- package/dist/n8n.js +4 -4
- package/dist/n8n.js.map +1 -1
- package/dist/openapi.js +4 -4
- package/dist/openapi.js.map +1 -1
- package/package.json +18 -3
- package/dist/chunks/element-ChNBLJ5X.js.map +0 -1
- package/dist/chunks/kd-Bbw0GeQ5.js +0 -1149
- package/dist/chunks/kd-Bbw0GeQ5.js.map +0 -1
package/dist/github.js
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { d as e } from "./chunks/element-CaN9ZVoe.js";
|
|
2
|
+
import { t } from "./chunks/define-DqUpowD9.js";
|
|
3
|
+
import { m as n, p as r, r as i } from "./chunks/kd-B0BcpOG_.js";
|
|
4
|
+
//#region src/github/hash.ts
|
|
5
|
+
function a(e) {
|
|
6
|
+
let t = 149417;
|
|
7
|
+
for (let n = 0; n < e.length; n += 1) t = (t << 5) - t + e.charCodeAt(n) | 0;
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/github/urls.ts
|
|
12
|
+
var o = (e) => e.split("/").filter(Boolean).map(encodeURIComponent).join("/"), s = (e) => {
|
|
13
|
+
let t = o(e);
|
|
14
|
+
return t ? `/${t}` : "";
|
|
15
|
+
};
|
|
16
|
+
function c(e, t, n) {
|
|
17
|
+
return `https://github.com/${e}/blob/${o(t)}${s(n)}`;
|
|
18
|
+
}
|
|
19
|
+
function l(e, t, n = "") {
|
|
20
|
+
return `https://github.com/${e}/tree/${o(t)}${s(n)}`;
|
|
21
|
+
}
|
|
22
|
+
function u(e, t, n) {
|
|
23
|
+
return `https://raw.githubusercontent.com/${e}/${o(t)}${s(n)}`;
|
|
24
|
+
}
|
|
25
|
+
function d(e, t, n = "") {
|
|
26
|
+
let r = o(n), i = r ? `${r}/` : "";
|
|
27
|
+
return {
|
|
28
|
+
links: `https://github.com/${e}/blob/${o(t)}/${i}`,
|
|
29
|
+
images: `https://raw.githubusercontent.com/${e}/${o(t)}/${i}`
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function f(e, t = "both") {
|
|
33
|
+
let n = 0, r = e.length;
|
|
34
|
+
if (t === "both") for (; n < r && e[n] === "/";) n++;
|
|
35
|
+
for (; r > n && e[r - 1] === "/";) r--;
|
|
36
|
+
return e.slice(n, r);
|
|
37
|
+
}
|
|
38
|
+
function p(e, t, n = "", r = {}) {
|
|
39
|
+
let i = /^https?:\/\//i.test(e) ? f(e, "end") : `https://${f(e, "end")}`, a = new URL(i).host, o = `${`/${f(String(r.root ?? "/projects"))}`}/${t}`, s = n.split("/").filter(Boolean).join("/"), c = s ? `${o}/${s}` : o;
|
|
40
|
+
if (r.folder || !s) return `${i}/?folder=${encodeURIComponent(c)}`;
|
|
41
|
+
let l = JSON.stringify([["openFile", `vscode-remote://${a}${c}`]]);
|
|
42
|
+
return `${i}/?folder=${encodeURIComponent(o)}&payload=${encodeURIComponent(l)}`;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/github/tree.ts
|
|
46
|
+
function m(e) {
|
|
47
|
+
return (Array.isArray(e) ? e.flatMap((e) => Array.isArray(e) ? e : [e]) : []).filter((e) => !!e && typeof e == "object" && typeof e.path == "string" && typeof e.type == "string");
|
|
48
|
+
}
|
|
49
|
+
function h(e) {
|
|
50
|
+
return m(e).find((e) => e.oid)?.oid ?? "";
|
|
51
|
+
}
|
|
52
|
+
function g(e, t = {}) {
|
|
53
|
+
let n = m(e), r = h(n), i = /* @__PURE__ */ new Set();
|
|
54
|
+
for (let e of n) {
|
|
55
|
+
let t = e.path.lastIndexOf("/");
|
|
56
|
+
t > 0 && i.add(e.path.slice(0, t));
|
|
57
|
+
}
|
|
58
|
+
let a = /* @__PURE__ */ new Set(), o = [];
|
|
59
|
+
for (let e of n) {
|
|
60
|
+
if (!e.path || a.has(e.path)) continue;
|
|
61
|
+
a.add(e.path);
|
|
62
|
+
let n = e.type === "tree", s = {
|
|
63
|
+
path: e.path,
|
|
64
|
+
type: n ? "dir" : "file"
|
|
65
|
+
};
|
|
66
|
+
n || (s.size = Number(e.size) || 0), n && !i.has(e.path) && (s.partial = !0), t.repo && r && (s.href = n ? l(t.repo, r, e.path) : c(t.repo, r, e.path)), t.repo && t.codeServer && (s.cells = { open: {
|
|
67
|
+
href: p(t.codeServer, t.repo, e.path, {
|
|
68
|
+
folder: n,
|
|
69
|
+
root: t.root
|
|
70
|
+
}),
|
|
71
|
+
text: "",
|
|
72
|
+
icon: "⌨",
|
|
73
|
+
title: "Open in code-server"
|
|
74
|
+
} }), o.push(s);
|
|
75
|
+
}
|
|
76
|
+
return o;
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/github/activity.ts
|
|
80
|
+
var _ = {
|
|
81
|
+
fileGet: "opened",
|
|
82
|
+
editorOpened: "viewed",
|
|
83
|
+
filePUT: "saved"
|
|
84
|
+
}, v = [
|
|
85
|
+
{
|
|
86
|
+
key: "opened",
|
|
87
|
+
label: "Opened",
|
|
88
|
+
icon: "📂 ",
|
|
89
|
+
tone: "info",
|
|
90
|
+
title: "Opened in an editor tab (code-server)"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "viewed",
|
|
94
|
+
label: "Viewed",
|
|
95
|
+
icon: "👁 ",
|
|
96
|
+
tone: "primary",
|
|
97
|
+
title: "Shown in an editor (code-server)"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
key: "saved",
|
|
101
|
+
label: "Saved",
|
|
102
|
+
icon: "💾 ",
|
|
103
|
+
tone: "success",
|
|
104
|
+
title: "Saved (code-server)"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
key: "added",
|
|
108
|
+
label: "Added",
|
|
109
|
+
icon: "+",
|
|
110
|
+
tone: "success",
|
|
111
|
+
title: "Lines Claude Code added"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
key: "removed",
|
|
115
|
+
label: "Removed",
|
|
116
|
+
icon: "−",
|
|
117
|
+
tone: "error",
|
|
118
|
+
title: "Lines Claude Code removed"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
key: "size",
|
|
122
|
+
label: "Size",
|
|
123
|
+
kind: "size"
|
|
124
|
+
}
|
|
125
|
+
], y = (e) => Array.isArray(e) ? e.flatMap((e) => Array.isArray(e) ? e : [e]).filter((e) => !!e && typeof e == "object") : [];
|
|
126
|
+
function b(e, t = "/projects") {
|
|
127
|
+
let n = `/${f(t)}`, r = e.split("/").pop() ?? e;
|
|
128
|
+
return [.../* @__PURE__ */ new Set([`${n}/${e}/`, `${n}/${r}/`])];
|
|
129
|
+
}
|
|
130
|
+
function x(e) {
|
|
131
|
+
let t = Object.keys(e).find((e) => /^Value/.test(e));
|
|
132
|
+
return Number(t ? e[t] : e.value) || 0;
|
|
133
|
+
}
|
|
134
|
+
function S(e) {
|
|
135
|
+
let t = /* @__PURE__ */ new Map();
|
|
136
|
+
for (let n of y(e)) {
|
|
137
|
+
let e = _[String(n.event)];
|
|
138
|
+
if (n.fhash === void 0 || n.fhash === null || n.fhash === "" || !e) continue;
|
|
139
|
+
let r = Number(n.fhash), i = t.get(r) ?? {
|
|
140
|
+
opened: 0,
|
|
141
|
+
viewed: 0,
|
|
142
|
+
saved: 0
|
|
143
|
+
};
|
|
144
|
+
i[e] += x(n), t.set(r, i);
|
|
145
|
+
}
|
|
146
|
+
return t;
|
|
147
|
+
}
|
|
148
|
+
function C(e, t, n) {
|
|
149
|
+
let r = S(e), i = {};
|
|
150
|
+
if (!r.size) return i;
|
|
151
|
+
for (let e of t) {
|
|
152
|
+
let t = {
|
|
153
|
+
opened: 0,
|
|
154
|
+
viewed: 0,
|
|
155
|
+
saved: 0
|
|
156
|
+
};
|
|
157
|
+
for (let i of n) {
|
|
158
|
+
let n = r.get(a(i + e));
|
|
159
|
+
n && (t.opened += n.opened, t.viewed += n.viewed, t.saved += n.saved);
|
|
160
|
+
}
|
|
161
|
+
(t.opened || t.viewed || t.saved) && (i[e] = t);
|
|
162
|
+
}
|
|
163
|
+
return i;
|
|
164
|
+
}
|
|
165
|
+
function w(e) {
|
|
166
|
+
return e ? e.replace(/\n$/, "").split("\n").length : 0;
|
|
167
|
+
}
|
|
168
|
+
function T(e, t) {
|
|
169
|
+
let n = e ? e.split("\n") : [], r = t ? t.split("\n") : [];
|
|
170
|
+
if (n.length * r.length > 25e4) return [r.length, n.length];
|
|
171
|
+
let i = new Int32Array(r.length + 1);
|
|
172
|
+
for (let e = n.length - 1; e >= 0; --e) {
|
|
173
|
+
let t = new Int32Array(r.length + 1);
|
|
174
|
+
for (let a = r.length - 1; a >= 0; --a) t[a] = n[e] === r[a] ? i[a + 1] + 1 : Math.max(i[a], t[a + 1]);
|
|
175
|
+
i = t;
|
|
176
|
+
}
|
|
177
|
+
let a = i[0];
|
|
178
|
+
return [r.length - a, n.length - a];
|
|
179
|
+
}
|
|
180
|
+
var E = /* @__PURE__ */ new Set([
|
|
181
|
+
"Edit",
|
|
182
|
+
"Write",
|
|
183
|
+
"MultiEdit"
|
|
184
|
+
]);
|
|
185
|
+
function D(e, t) {
|
|
186
|
+
let n = (e) => {
|
|
187
|
+
for (let n of t) if (e.startsWith(n)) return e.slice(n.length);
|
|
188
|
+
return null;
|
|
189
|
+
}, r = {};
|
|
190
|
+
for (let t of y(e)) {
|
|
191
|
+
if (t.Line === void 0) continue;
|
|
192
|
+
let e = {};
|
|
193
|
+
try {
|
|
194
|
+
e = (typeof t.labels == "string" ? JSON.parse(t.labels) : t.labels) ?? {};
|
|
195
|
+
} catch {
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
let i = String(e.tool_name ?? "");
|
|
199
|
+
if (!E.has(i) || !e.tool_input) continue;
|
|
200
|
+
let a = String(e.tool_input), o = null;
|
|
201
|
+
try {
|
|
202
|
+
o = JSON.parse(a);
|
|
203
|
+
} catch {}
|
|
204
|
+
let s, c = 0, l = 0, u = 0;
|
|
205
|
+
if (o && typeof o == "object") {
|
|
206
|
+
s = o.file_path;
|
|
207
|
+
for (let e of o.edits ?? [o]) if (i === "Write") c += w(e.content);
|
|
208
|
+
else {
|
|
209
|
+
let [t, n] = T(e.old_string, e.new_string);
|
|
210
|
+
c += t, l += n;
|
|
211
|
+
}
|
|
212
|
+
} else {
|
|
213
|
+
s = /"file_path":"([^"]*)"/.exec(a)?.[1];
|
|
214
|
+
let e = Number(/…\[(\d+) chars\]/.exec(a)?.[1]) || 0, t = (e) => (e.match(/\\n/g) ?? []).length + 1, [n, r] = a.split("\"new_string\":\"");
|
|
215
|
+
u = 1, i === "Write" ? c = t(a.split("\"content\":\"")[1] ?? "") + Math.round(e / 70) : (l = r === void 0 ? 0 : t(n.split("\"old_string\":\"")[1] ?? ""), c = t(r ?? "") + Math.round(e / 70));
|
|
216
|
+
}
|
|
217
|
+
let d = s ? n(s) : null;
|
|
218
|
+
if (!d) continue;
|
|
219
|
+
let f = r[d] ??= {
|
|
220
|
+
added: 0,
|
|
221
|
+
removed: 0,
|
|
222
|
+
edits: 0,
|
|
223
|
+
estimated: 0
|
|
224
|
+
};
|
|
225
|
+
f.added += c, f.removed += l, f.edits += 1, f.estimated = f.estimated || u;
|
|
226
|
+
}
|
|
227
|
+
return r;
|
|
228
|
+
}
|
|
229
|
+
function O(e, ...t) {
|
|
230
|
+
return e.map((e) => {
|
|
231
|
+
if (e.type !== "file") return e;
|
|
232
|
+
let n;
|
|
233
|
+
for (let r of t) {
|
|
234
|
+
let t = r[e.path];
|
|
235
|
+
if (t) {
|
|
236
|
+
n ??= { ...e.stats };
|
|
237
|
+
for (let [e, r] of Object.entries(t)) typeof r == "number" && (n[e] = (n[e] ?? 0) + r);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
return n ? {
|
|
241
|
+
...e,
|
|
242
|
+
stats: n
|
|
243
|
+
} : e;
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
function k(e, t, n, r) {
|
|
247
|
+
let i = b(n, r);
|
|
248
|
+
return O(e, C(t, e.filter((e) => e.type === "file").map((e) => e.path), i), D(t, i));
|
|
249
|
+
}
|
|
250
|
+
//#endregion
|
|
251
|
+
export { v as ACTIVITY_COLUMNS, _ as ACTIVITY_EVENTS, t as VERSION, S as activityByHash, C as activityStats, e as applyTheme, c as blobUrl, D as claudeEdits, p as codeServerUrl, r as feed, i as fileKind, w as lineCount, T as lineDiff, a as pathHash, b as projectPrefixes, u as rawUrl, d as readmeBase, g as treeEntries, h as treeOid, m as treeRows, l as treeUrl, n as variable, k as withActivity, O as withStats };
|
|
252
|
+
|
|
253
|
+
//# sourceMappingURL=github.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github.js","names":["applyTheme","variable","feed","fileKind","pathHash","h","i","path","encodePath","at","p","blobUrl","repo","ref","treeUrl","rawUrl","readmeBase","sub","dir","tail","trimSlashes","start","end","s","ends","codeServerUrl","origin","host","authority","checkout","options","rel","local","payload","treeRows","data","x","r","treeOid","treeEntries","rows","oid","parents","cut","seen","out","entry","ACTIVITY_EVENTS","ACTIVITY_COLUMNS","rowsOf","projectPrefixes","base","root","name","rowValue","key","k","activityByHash","stat","hash","a","activityStats","paths","prefixes","lineCount","text","lineDiff","y","b","next","row","j","common","TOOLS","claudeEdits","relative","abs","labels","tool","raw","input","added","removed","estimated","d","more","lines","t","oldPart","newPart","c","withStats","maps","entries","stats","map","add","v","withActivity","VERSION"],"sources":["../src/github/hash.ts","../src/github/urls.ts","../src/github/tree.ts","../src/github/activity.ts"],"sourcesContent":["/**\n * code-server reports a file only as a hash of its absolute path: VS Code's\n * string hash, seeded with 149417, then `h = h * 31 + c` over the UTF-16 code\n * units, kept to a signed 32-bit integer. The Repo dashboard's jq computes the\n * same for the hashes it asks Loki about; if the two ever differ, the activity\n * counts silently read zero.\n */\nexport function pathHash(path: string): number {\n let h = 149417;\n for (let i = 0; i < path.length; i += 1) h = ((h << 5) - h + path.charCodeAt(i)) | 0;\n return h;\n}\n","// URLs into GitHub and into a code-server checkout. Every host but GitHub's is\n// a parameter: none is written into the package.\n\nconst encodePath = (path: string): string =>\n path\n .split('/')\n .filter(Boolean)\n .map(encodeURIComponent)\n .join('/');\n\nconst at = (path: string) => {\n const p = encodePath(path);\n return p ? `/${p}` : '';\n};\n\n/** A file on GitHub at a commit, branch or tag. */\nexport function blobUrl(repo: string, ref: string, path: string): string {\n return `https://github.com/${repo}/blob/${encodePath(ref)}${at(path)}`;\n}\n\n/** A folder on GitHub at a ref; the repository's root for an empty path. */\nexport function treeUrl(repo: string, ref: string, path = ''): string {\n return `https://github.com/${repo}/tree/${encodePath(ref)}${at(path)}`;\n}\n\n/** A file's raw bytes at a ref. */\nexport function rawUrl(repo: string, ref: string, path: string): string {\n return `https://raw.githubusercontent.com/${repo}/${encodePath(ref)}${at(path)}`;\n}\n\n/**\n * Bases for a markdown file's relative links (GitHub pages) and images (raw\n * bytes), at the ref the file was read at, in the folder it sits in: give the\n * commit a README came from, so a pull request's README links into the pull\n * request rather than into the default branch.\n */\nexport function readmeBase(repo: string, ref: string, dir = ''): { links: string; images: string } {\n const sub = encodePath(dir);\n const tail = sub ? `${sub}/` : '';\n return {\n links: `https://github.com/${repo}/blob/${encodePath(ref)}/${tail}`,\n images: `https://raw.githubusercontent.com/${repo}/${encodePath(ref)}/${tail}`,\n };\n}\n\nexport interface CodeServerOptions {\n /** Where checkouts live on the code-server host; default `/projects`, so a repo is at `/projects/<owner>/<name>`. */\n root?: string;\n /** Open the path as the workspace folder rather than as a file in the repository's workspace. */\n folder?: boolean;\n}\n\n/**\n * `s` without leading and/or trailing slashes. A loop, not `/\\/+$/`: that regex backtracks\n * quadratically on a long run of slashes that does not end the string.\n */\nexport function trimSlashes(s: string, ends: 'both' | 'end' = 'both'): string {\n let start = 0;\n let end = s.length;\n if (ends === 'both') while (start < end && s[start] === '/') start++;\n while (end > start && s[end - 1] === '/') end--;\n return s.slice(start, end);\n}\n\n/**\n * A path of a repository's checkout in code-server: a folder opens as the\n * workspace, a file opens in the repository's workspace. `host` is the\n * code-server host (`code.example.com`, or a full origin); its payload names\n * the same host, which is what VS Code's remote needs.\n */\nexport function codeServerUrl(host: string, repo: string, path = '', options: CodeServerOptions = {}): string {\n const origin = /^https?:\\/\\//i.test(host) ? trimSlashes(host, 'end') : `https://${trimSlashes(host, 'end')}`;\n const authority = new URL(origin).host;\n const root = `/${trimSlashes(String(options.root ?? '/projects'))}`;\n const checkout = `${root}/${repo}`;\n const rel = path.split('/').filter(Boolean).join('/');\n const local = rel ? `${checkout}/${rel}` : checkout;\n if (options.folder || !rel) return `${origin}/?folder=${encodeURIComponent(local)}`;\n const payload = JSON.stringify([['openFile', `vscode-remote://${authority}${local}`]]);\n return `${origin}/?folder=${encodeURIComponent(checkout)}&payload=${encodeURIComponent(payload)}`;\n}\n","// The Repo dashboard's git tree (file-tree.A.jq: {oid, path, type, size} per\n// object, nested to a fixed depth) as kd-files entries.\nimport type { Cell } from '../kd/cell';\nimport type { Entry } from '../kd/files/types';\nimport { blobUrl, codeServerUrl, treeUrl } from './urls';\n\n/** One row of the tree query. `type` is git's: `blob`, `tree`, or `commit` for a submodule. */\nexport interface TreeRow {\n oid?: string;\n path: string;\n type: string;\n size?: number | string | null;\n}\n\nexport interface TreeOptions {\n /** `owner/name`: each entry links to itself on GitHub at the tree's commit. */\n repo?: string;\n /** A code-server host: each entry gets an `open` cell linking to it in the checkout there (needs `repo`). */\n codeServer?: string;\n /** Where checkouts live on the code-server host (default `/projects`). */\n root?: string;\n}\n\n/** Rows from a panel's data: a list of rows, or Business Text's list of frames (each a list of rows). */\nexport function treeRows(data: unknown): TreeRow[] {\n const all = Array.isArray(data) ? data.flatMap((x) => (Array.isArray(x) ? x : [x])) : [];\n return all.filter(\n (r): r is TreeRow => !!r && typeof r === 'object' && typeof (r as TreeRow).path === 'string' && typeof (r as TreeRow).type === 'string',\n );\n}\n\n/** The commit the tree was read at: the first row's `oid`, or ''. */\nexport function treeOid(data: unknown): string {\n return treeRows(data).find((r) => r.oid)?.oid ?? '';\n}\n\n/**\n * kd-files entries for the tree: a `tree` is a folder, anything else a file. A\n * git tree is never empty, so a folder with nothing below it in the rows is one\n * the query's depth did not reach, and is marked `partial`.\n */\nexport function treeEntries(data: unknown, options: TreeOptions = {}): Entry[] {\n const rows = treeRows(data);\n const oid = treeOid(rows);\n const parents = new Set<string>();\n for (const r of rows) {\n const cut = r.path.lastIndexOf('/');\n if (cut > 0) parents.add(r.path.slice(0, cut));\n }\n const seen = new Set<string>();\n const out: Entry[] = [];\n for (const r of rows) {\n if (!r.path || seen.has(r.path)) continue;\n seen.add(r.path);\n const dir = r.type === 'tree';\n const entry: Entry = { path: r.path, type: dir ? 'dir' : 'file' };\n if (!dir) entry.size = Number(r.size) || 0;\n if (dir && !parents.has(r.path)) entry.partial = true;\n if (options.repo && oid) entry.href = dir ? treeUrl(options.repo, oid, r.path) : blobUrl(options.repo, oid, r.path);\n if (options.repo && options.codeServer) {\n const open: Cell = {\n href: codeServerUrl(options.codeServer, options.repo, r.path, { folder: dir, root: options.root }),\n text: '',\n icon: '⌨',\n title: 'Open in code-server',\n };\n entry.cells = { open };\n }\n out.push(entry);\n }\n return out;\n}\n","// The Repo dashboard's activity joins, as pure functions: code-server events\n// counted per path hash (Loki), and Claude Code's Edit/Write tool calls turned\n// into lines added and removed. Each ends as numeric stats on kd-files entries,\n// which the explorer rolls up per folder.\nimport { trimSlashes } from './urls';\nimport type { Entry } from '../kd/files/types';\nimport type { FileColumn } from '../kd/files/explorer';\nimport { pathHash } from './hash';\n\n/** code-server's event names, and the stat each one counts. */\nexport const ACTIVITY_EVENTS: Readonly<Record<string, 'opened' | 'viewed' | 'saved'>> = {\n fileGet: 'opened',\n editorOpened: 'viewed',\n filePUT: 'saved',\n};\n\nexport interface Activity {\n opened: number;\n viewed: number;\n saved: number;\n}\n\nexport interface ClaudeEdit {\n added: number;\n removed: number;\n /** Tool calls. */\n edits: number;\n /** 1 when some counts were estimated from a cut-off event. */\n estimated: number;\n}\n\n/** The columns for activity stats and size, in the Files tab's order. */\nexport const ACTIVITY_COLUMNS: FileColumn[] = [\n { key: 'opened', label: 'Opened', icon: '📂 ', tone: 'info', title: 'Opened in an editor tab (code-server)' },\n { key: 'viewed', label: 'Viewed', icon: '👁 ', tone: 'primary', title: 'Shown in an editor (code-server)' },\n { key: 'saved', label: 'Saved', icon: '💾 ', tone: 'success', title: 'Saved (code-server)' },\n { key: 'added', label: 'Added', icon: '+', tone: 'success', title: 'Lines Claude Code added' },\n { key: 'removed', label: 'Removed', icon: '−', tone: 'error', title: 'Lines Claude Code removed' },\n { key: 'size', label: 'Size', kind: 'size' },\n];\n\ntype Row = Record<string, unknown>;\n\nconst rowsOf = (data: unknown): Row[] =>\n Array.isArray(data)\n ? (data.flatMap((x) => (Array.isArray(x) ? x : [x])).filter((r) => !!r && typeof r === 'object') as Row[])\n : [];\n\n/**\n * Where code-server sees a repository's files: `/projects/<owner>/<name>/`\n * and `/projects/<name>/`, both checkouts counted.\n */\nexport function projectPrefixes(repo: string, root = '/projects'): string[] {\n const base = `/${trimSlashes(root)}`;\n const name = repo.split('/').pop() ?? repo;\n return [...new Set([`${base}/${repo}/`, `${base}/${name}/`])];\n}\n\n// A Loki metric row keeps its number under `Value…` (or `value`).\nfunction rowValue(r: Row): number {\n const key = Object.keys(r).find((k) => /^Value/.test(k));\n return Number(key ? r[key] : r.value) || 0;\n}\n\n/** Event counts by path hash, from rows `{fhash, event, Value}`. */\nexport function activityByHash(data: unknown): Map<number, Activity> {\n const out = new Map<number, Activity>();\n for (const r of rowsOf(data)) {\n const stat = ACTIVITY_EVENTS[String(r.event)];\n if (r.fhash === undefined || r.fhash === null || r.fhash === '' || !stat) continue;\n const hash = Number(r.fhash);\n const a = out.get(hash) ?? { opened: 0, viewed: 0, saved: 0 };\n a[stat] += rowValue(r);\n out.set(hash, a);\n }\n return out;\n}\n\n/** Activity per repository path, summed over every prefix a checkout may sit at; paths with none are left out. */\nexport function activityStats(data: unknown, paths: Iterable<string>, prefixes: string[]): Record<string, Activity> {\n const seen = activityByHash(data);\n const out: Record<string, Activity> = {};\n if (!seen.size) return out;\n for (const path of paths) {\n const t = { opened: 0, viewed: 0, saved: 0 };\n for (const p of prefixes) {\n const a = seen.get(pathHash(p + path));\n if (!a) continue;\n t.opened += a.opened;\n t.viewed += a.viewed;\n t.saved += a.saved;\n }\n if (t.opened || t.viewed || t.saved) out[path] = t;\n }\n return out;\n}\n\n/** Lines in a text, a final newline not counting as one more. */\nexport function lineCount(text: string | null | undefined): number {\n return text ? text.replace(/\\n$/, '').split('\\n').length : 0;\n}\n\n/**\n * Lines added and removed going from `a` to `b`, by longest common\n * subsequence; past 250 000 line pairs, everything is counted as replaced.\n */\nexport function lineDiff(a: string | null | undefined, b: string | null | undefined): [added: number, removed: number] {\n const x = a ? a.split('\\n') : [];\n const y = b ? b.split('\\n') : [];\n if (x.length * y.length > 250000) return [y.length, x.length];\n let next = new Int32Array(y.length + 1);\n for (let i = x.length - 1; i >= 0; i -= 1) {\n const row = new Int32Array(y.length + 1);\n for (let j = y.length - 1; j >= 0; j -= 1) row[j] = x[i] === y[j] ? next[j + 1] + 1 : Math.max(next[j], row[j + 1]);\n next = row;\n }\n const common = next[0];\n return [y.length - common, x.length - common];\n}\n\nconst TOOLS = new Set(['Edit', 'Write', 'MultiEdit']);\n\ninterface ToolInput {\n file_path?: string;\n content?: string;\n old_string?: string;\n new_string?: string;\n edits?: { old_string?: string; new_string?: string; content?: string }[];\n}\n\n/**\n * Claude Code's edits per repository path, from its Loki log rows (`Line`,\n * with the event's attributes in `labels`). An Edit or MultiEdit counts its\n * line diff, a Write its content as added. Inputs over about 1000 bytes arrive\n * cut off with a \"…[N chars]\" marker; theirs are estimated and flagged.\n */\nexport function claudeEdits(data: unknown, prefixes: string[]): Record<string, ClaudeEdit> {\n const relative = (abs: string): string | null => {\n for (const p of prefixes) if (abs.startsWith(p)) return abs.slice(p.length);\n return null;\n };\n const out: Record<string, ClaudeEdit> = {};\n for (const row of rowsOf(data)) {\n if (row.Line === undefined) continue;\n let labels: Row = {};\n try {\n labels = (typeof row.labels === 'string' ? JSON.parse(row.labels) : row.labels) ?? {};\n } catch {\n continue;\n }\n const tool = String(labels.tool_name ?? '');\n if (!TOOLS.has(tool) || !labels.tool_input) continue;\n const raw = String(labels.tool_input);\n let input: ToolInput | null = null;\n try {\n input = JSON.parse(raw) as ToolInput;\n } catch {\n // cut off\n }\n let path: string | undefined;\n let added = 0;\n let removed = 0;\n let estimated = 0;\n if (input && typeof input === 'object') {\n path = input.file_path;\n for (const e of input.edits ?? [input]) {\n if (tool === 'Write') added += lineCount(e.content);\n else {\n const [a, d] = lineDiff(e.old_string, e.new_string);\n added += a;\n removed += d;\n }\n }\n } else {\n path = /\"file_path\":\"([^\"]*)\"/.exec(raw)?.[1];\n const more = Number(/…\\[(\\d+) chars\\]/.exec(raw)?.[1]) || 0;\n const lines = (t: string) => (t.match(/\\\\n/g) ?? []).length + 1;\n const [oldPart, newPart] = raw.split('\"new_string\":\"');\n estimated = 1;\n if (tool === 'Write') added = lines(raw.split('\"content\":\"')[1] ?? '') + Math.round(more / 70);\n else {\n removed = newPart === undefined ? 0 : lines(oldPart.split('\"old_string\":\"')[1] ?? '');\n added = lines(newPart ?? '') + Math.round(more / 70);\n }\n }\n const rel = path ? relative(path) : null;\n if (!rel) continue;\n const c = (out[rel] ??= { added: 0, removed: 0, edits: 0, estimated: 0 });\n c.added += added;\n c.removed += removed;\n c.edits += 1;\n c.estimated = c.estimated || estimated;\n }\n return out;\n}\n\n/** Entries with each map's numbers for their path merged into their stats (files only; folders roll up). */\nexport function withStats(entries: readonly Entry[], ...maps: Record<string, object>[]): Entry[] {\n return entries.map((entry) => {\n if (entry.type !== 'file') return entry;\n let stats: Record<string, number> | undefined;\n for (const map of maps) {\n const add = map[entry.path] as Record<string, unknown> | undefined;\n if (!add) continue;\n stats ??= { ...entry.stats };\n for (const [k, v] of Object.entries(add)) if (typeof v === 'number') stats[k] = (stats[k] ?? 0) + v;\n }\n return stats ? { ...entry, stats } : entry;\n });\n}\n\n/**\n * The Files tab's join in one call: code-server activity and Claude Code's\n * edits from the panel's frames, as stats on the tree's entries.\n */\nexport function withActivity(entries: readonly Entry[], data: unknown, repo: string, root?: string): Entry[] {\n const prefixes = projectPrefixes(repo, root);\n const files = entries.filter((e) => e.type === 'file').map((e) => e.path);\n return withStats(entries, activityStats(data, files, prefixes), claudeEdits(data, prefixes));\n}\n"],"mappings":";;;;AAOA,SAAgBI,EAAS,GAAsB;CAC7C,IAAIC,IAAI;CACR,KAAK,IAAIC,IAAI,GAAGA,IAAIC,EAAK,QAAQ,KAAK,GAAG,KAAMF,KAAK,KAAKA,IAAIE,EAAK,WAAWD,CAAC,IAAK;CACnF,OAAOD;AACT;;;ACRA,IAAMG,KAAc,MAClBD,EACG,MAAM,GAAG,CAAC,CACV,OAAO,OAAO,CAAC,CACf,IAAI,kBAA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AM,CAAC,CAAC,KAAK,MAAM,EAAE,IACtB,GAAO9B,CAAQ,GAAGW,EAAYvC,GAAM4B,CAAQ,CAAC;AAC7F"}
|
package/dist/k8s.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as e,
|
|
2
|
-
import { n as s, t as c } from "./chunks/define-
|
|
3
|
-
import "./chunks/kd-
|
|
1
|
+
import { c as e, d as t, n, o as r, r as i, t as a, u as o } from "./chunks/element-CaN9ZVoe.js";
|
|
2
|
+
import { n as s, t as c } from "./chunks/define-DqUpowD9.js";
|
|
3
|
+
import "./chunks/kd-B0BcpOG_.js";
|
|
4
4
|
import { h as l } from "./chunks/scene-CUr0fSXC.js";
|
|
5
5
|
//#region src/k8s/icons.ts
|
|
6
6
|
var u = "https://cdn.jsdelivr.net/gh/kubernetes/community@149066325ed521eab576a262ddff8f4da074d5de/icons/svg/", d = "https://cdn.jsdelivr.net/gh/cncf/artwork@002662490acb2303c7301acc0256c00790e03e9f/projects/", ee = "https://cdn.jsdelivr.net/gh/external-secrets/external-secrets@088f9e5ff057d35bd9f68779893b691abb948b33/assets/", f = "https://cdn.jsdelivr.net/gh/devicons/devicon@7330accdbc47e2dc0c19789a48533c4a3c50fe58/icons/", p = (e) => `${u}resources/unlabeled/${e}.svg`, m = `${d}kubernetes/icon/color/kubernetes-icon-color.svg`, te = p("crd"), h = {
|
|
@@ -840,7 +840,7 @@ var je = class extends a {
|
|
|
840
840
|
key: {},
|
|
841
841
|
now: { type: Number }
|
|
842
842
|
};
|
|
843
|
-
static styles = [n,
|
|
843
|
+
static styles = [n, o`
|
|
844
844
|
.page {
|
|
845
845
|
display: flex;
|
|
846
846
|
flex-direction: column;
|
|
@@ -882,7 +882,7 @@ var $ = class extends a {
|
|
|
882
882
|
apiVersion: { attribute: "api-version" },
|
|
883
883
|
plural: {}
|
|
884
884
|
};
|
|
885
|
-
static styles = [n,
|
|
885
|
+
static styles = [n, o`
|
|
886
886
|
:host {
|
|
887
887
|
display: inline;
|
|
888
888
|
}
|
|
@@ -904,6 +904,6 @@ var $ = class extends a {
|
|
|
904
904
|
};
|
|
905
905
|
s("kd-k8s-ref", $);
|
|
906
906
|
//#endregion
|
|
907
|
-
export { te as CRD_ICON, x as DASHBOARDS, m as DEFAULT_ICON, g as GROUP_ICONS, V as HIDDEN_ANNOTATIONS, h as KIND_ICONS, Ae as KdK8sEvents, je as KdK8sObject, $ as KdK8sRef, F as NEGATIVE_CONDITIONS, c as VERSION, Q as WARNING_REASONS, b as WORKLOAD_KINDS, N as age, H as annotations, _ as apiGroup, C as apiPath,
|
|
907
|
+
export { te as CRD_ICON, x as DASHBOARDS, m as DEFAULT_ICON, g as GROUP_ICONS, V as HIDDEN_ANNOTATIONS, h as KIND_ICONS, Ae as KdK8sEvents, je as KdK8sObject, $ as KdK8sRef, F as NEGATIVE_CONDITIONS, c as VERSION, Q as WARNING_REASONS, b as WORKLOAD_KINDS, N as age, H as annotations, _ as apiGroup, C as apiPath, t as applyTheme, Z as bar, X as chips, I as conditionOk, R as conditions, E as definitionRoute, j as duration, Te as eventRows, ke as eventsTable, Oe as foldEvents, v as isBuiltInGroup, Se as isWarning, y as kindIcon, ie as kindLink, B as labels, k as namespaceLink, w as namespaceRoute, z as owners, S as plural, A as quantity, O as refLink, le as resources, T as route, K as summary, xe as trimmed };
|
|
908
908
|
|
|
909
909
|
//# sourceMappingURL=k8s.js.map
|