@cryptiklemur/lattice 1.46.7 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -36
- package/bin/lattice +5 -21
- package/dist/client/assets/abap-DOv5zRgd.js +1 -0
- package/dist/client/assets/actionscript-3-D_b0n2Ff.js +1 -0
- package/dist/client/assets/ada-C6m8O36S.js +1 -0
- package/dist/client/assets/andromeeda-LdzAHaKR.js +1 -0
- package/dist/client/assets/angular-html-BBi1Szz5.js +1 -0
- package/dist/client/assets/angular-ts-2PMpSPqc.js +1 -0
- package/dist/client/assets/apache-CE7PmWoU.js +1 -0
- package/dist/client/assets/apex-DOfNfL0V.js +1 -0
- package/dist/client/assets/apl-B-NEtBvQ.js +1 -0
- package/dist/client/assets/applescript-D4zGaScB.js +1 -0
- package/dist/client/assets/ara-DMoCP0pJ.js +1 -0
- package/dist/client/assets/asciidoc-BkmPq932.js +1 -0
- package/dist/client/assets/asm-ClIKbvsu.js +1 -0
- package/dist/client/assets/astro-mxH1DA5Z.js +1 -0
- package/dist/client/assets/aurora-x-DTcNXZIS.js +1 -0
- package/dist/client/assets/awk-D1ZOsISX.js +1 -0
- package/dist/client/assets/ayu-dark-DpNcORnA.js +1 -0
- package/dist/client/assets/ayu-light-lHqf0ddo.js +1 -0
- package/dist/client/assets/ayu-mirage-Dji5RWiH.js +1 -0
- package/dist/client/assets/ballerina-H14_EqPr.js +1 -0
- package/dist/client/assets/bat-cyb3gF8B.js +1 -0
- package/dist/client/assets/beancount-D84pBacF.js +1 -0
- package/dist/client/assets/berry-B29XeKK4.js +1 -0
- package/dist/client/assets/bibtex-Hs7VvQaV.js +1 -0
- package/dist/client/assets/bicep-CugTE5CQ.js +1 -0
- package/dist/client/assets/bird2-mieRHotO.js +1 -0
- package/dist/client/assets/blade-BUQ9XSm3.js +1 -0
- package/dist/client/assets/bsl-BRmzGEWg.js +1 -0
- package/dist/client/assets/c-DrQixLw7.js +1 -0
- package/dist/client/assets/c3-Dx2gByXW.js +1 -0
- package/dist/client/assets/cadence-CCTSwj3w.js +1 -0
- package/dist/client/assets/cairo-CaIu88t6.js +1 -0
- package/dist/client/assets/catppuccin-frappe-DQrU04q0.js +1 -0
- package/dist/client/assets/catppuccin-latte-B_oiWZka.js +1 -0
- package/dist/client/assets/catppuccin-macchiato-D8VB2qi4.js +1 -0
- package/dist/client/assets/catppuccin-mocha-5vkMJ1Mb.js +1 -0
- package/dist/client/assets/clarity-BbUNTPrg.js +1 -0
- package/dist/client/assets/clojure-Bcw7lCta.js +1 -0
- package/dist/client/assets/cmake-DM0FE-T9.js +1 -0
- package/dist/client/assets/cobol-42amjOMh.js +1 -0
- package/dist/client/assets/codeowners-CBvEPOlS.js +1 -0
- package/dist/client/assets/codeql-CjS8Tp16.js +1 -0
- package/dist/client/assets/coffee-CMSEUKyy.js +1 -0
- package/dist/client/assets/common-lisp-BCx4dVK8.js +1 -0
- package/dist/client/assets/coq-Ddo7YIsR.js +1 -0
- package/dist/client/assets/cpp-C4yJBzl2.js +1 -0
- package/dist/client/assets/crystal-DZ27EoiA.js +1 -0
- package/dist/client/assets/csharp-Kzd7Ey2d.js +1 -0
- package/dist/client/assets/css-CdQwkSNm.js +1 -0
- package/dist/client/assets/csv-DGwgERVJ.js +1 -0
- package/dist/client/assets/cue-CMabdDG0.js +1 -0
- package/dist/client/assets/cypher-CJUzJAhQ.js +1 -0
- package/dist/client/assets/d-BvLF4qGs.js +1 -0
- package/dist/client/assets/dark-plus-BMwvn5lx.js +1 -0
- package/dist/client/assets/dart-DxXbDeKR.js +1 -0
- package/dist/client/assets/dax-BvrCypuS.js +1 -0
- package/dist/client/assets/desktop-BEul_kAS.js +1 -0
- package/dist/client/assets/diff-B7rhrwA5.js +1 -0
- package/dist/client/assets/dist-CBRIe7YG.js +153 -0
- package/dist/client/assets/docker-9Zbx0dQX.js +1 -0
- package/dist/client/assets/dotenv-C0epktMv.js +1 -0
- package/dist/client/assets/dracula-CBD4ckb0.js +1 -0
- package/dist/client/assets/dracula-soft-CuGBZj_h.js +1 -0
- package/dist/client/assets/dream-maker-D6UB367x.js +1 -0
- package/dist/client/assets/edge-J8VemHZC.js +1 -0
- package/dist/client/assets/elixir-DU66qSn_.js +1 -0
- package/dist/client/assets/elm-8cz1JjRg.js +1 -0
- package/dist/client/assets/emacs-lisp-DFyMFAZA.js +1 -0
- package/dist/client/assets/erb-DMl63J6s.js +1 -0
- package/dist/client/assets/erlang-LvhGhZI3.js +1 -0
- package/dist/client/assets/everforest-dark-BhFNrp2k.js +1 -0
- package/dist/client/assets/everforest-light-CpIbZ9aT.js +1 -0
- package/dist/client/assets/fennel-CH1ohGYX.js +1 -0
- package/dist/client/assets/fish-D2X4h_sR.js +1 -0
- package/dist/client/assets/fluent-B_In4uB6.js +1 -0
- package/dist/client/assets/fortran-fixed-form-BXvkHMbK.js +1 -0
- package/dist/client/assets/fortran-free-form-Bw_JZ1tj.js +1 -0
- package/dist/client/assets/fsharp-uxIU8dwY.js +1 -0
- package/dist/client/assets/gdresource-DkI-mZL2.js +1 -0
- package/dist/client/assets/gdscript-DDro0rs8.js +1 -0
- package/dist/client/assets/gdshader-DkUeC1ld.js +1 -0
- package/dist/client/assets/genie-khT2hrp-.js +1 -0
- package/dist/client/assets/gherkin-CPELKal0.js +1 -0
- package/dist/client/assets/git-commit-a3TktZ3A.js +1 -0
- package/dist/client/assets/git-rebase-DjlZL8cj.js +1 -0
- package/dist/client/assets/github-dark-DQp1Qkx5.js +1 -0
- package/dist/client/assets/github-dark-default-BroO-mT3.js +1 -0
- package/dist/client/assets/github-dark-dimmed-D8UZ8uTL.js +1 -0
- package/dist/client/assets/github-dark-high-contrast-CM0RRMCj.js +1 -0
- package/dist/client/assets/github-light-BRTmX4Ht.js +1 -0
- package/dist/client/assets/github-light-default-dl7biQ4g.js +1 -0
- package/dist/client/assets/github-light-high-contrast-Cvzq8ZXJ.js +1 -0
- package/dist/client/assets/gleam-7UVjplRF.js +1 -0
- package/dist/client/assets/glimmer-js-Fu7vOQY-.js +1 -0
- package/dist/client/assets/glimmer-ts-AJljRs0A.js +1 -0
- package/dist/client/assets/glsl-CfodGzSv.js +1 -0
- package/dist/client/assets/gn-EcrZPIZo.js +1 -0
- package/dist/client/assets/gnuplot-CcsFlqcz.js +1 -0
- package/dist/client/assets/go-TqNfhUhh.js +1 -0
- package/dist/client/assets/graphql-C8GPKPx1.js +1 -0
- package/dist/client/assets/groovy-bfrzFpSZ.js +1 -0
- package/dist/client/assets/gruvbox-dark-hard-CBFL_VqK.js +1 -0
- package/dist/client/assets/gruvbox-dark-medium-Dn18r-Yz.js +1 -0
- package/dist/client/assets/gruvbox-dark-soft-DUyKWd02.js +1 -0
- package/dist/client/assets/gruvbox-light-hard-DV9RwKs4.js +1 -0
- package/dist/client/assets/gruvbox-light-medium-Ba-VIg48.js +1 -0
- package/dist/client/assets/gruvbox-light-soft-CVIZMKFx.js +1 -0
- package/dist/client/assets/hack-Gp6OuE21.js +1 -0
- package/dist/client/assets/haml-BOyG6GfM.js +1 -0
- package/dist/client/assets/handlebars-B9IoVRxd.js +1 -0
- package/dist/client/assets/haskell-DzEtL6Zk.js +1 -0
- package/dist/client/assets/haxe-wLDEcRoz.js +1 -0
- package/dist/client/assets/hcl-C1fs3gTM.js +1 -0
- package/dist/client/assets/hjson-B4b85MZo.js +1 -0
- package/dist/client/assets/hlsl-JhqkHhML.js +1 -0
- package/dist/client/assets/horizon-DMOEeSnA.js +1 -0
- package/dist/client/assets/horizon-bright-CPVackS9.js +1 -0
- package/dist/client/assets/houston-DSlR9wH9.js +1 -0
- package/dist/client/assets/html-CFrSukiU.js +1 -0
- package/dist/client/assets/html-derivative-D0_gRK_M.js +1 -0
- package/dist/client/assets/http-D4MmFixi.js +1 -0
- package/dist/client/assets/hurl-D1xbk-LS.js +1 -0
- package/dist/client/assets/hxml-Bdi_kWeE.js +1 -0
- package/dist/client/assets/hy-uAHU8420.js +1 -0
- package/dist/client/assets/imba-CPCwfD-G.js +1 -0
- package/dist/client/assets/index-DrTbNMzI.css +2 -0
- package/dist/client/assets/index-ZIuI5BCP.js +284 -0
- package/dist/client/assets/ini-2Ew1Qzj6.js +1 -0
- package/dist/client/assets/java-CfPMY1Dv.js +1 -0
- package/dist/client/assets/javascript-B8vNHeqm.js +1 -0
- package/dist/client/assets/jinja-CF0K8bFV.js +1 -0
- package/dist/client/assets/jison-BP7my5TL.js +1 -0
- package/dist/client/assets/json-TeXNjpMZ.js +1 -0
- package/dist/client/assets/json5-Dl8gAgq4.js +1 -0
- package/dist/client/assets/jsonc-C9b23pMf.js +1 -0
- package/dist/client/assets/jsonl-DkF3QjsY.js +1 -0
- package/dist/client/assets/jsonnet-DH4UkOBo.js +1 -0
- package/dist/client/assets/jssm-CBV9_O8o.js +1 -0
- package/dist/client/assets/jsx-C86NmHc2.js +1 -0
- package/dist/client/assets/julia-C58U_aQP.js +1 -0
- package/dist/client/assets/just-h6Vco8Qu.js +1 -0
- package/dist/client/assets/kanagawa-dragon-DLDXA4f2.js +1 -0
- package/dist/client/assets/kanagawa-lotus-qAvw6eOU.js +1 -0
- package/dist/client/assets/kanagawa-wave-DFO_g5Mb.js +1 -0
- package/dist/client/assets/kdl-BQl-X5Uf.js +1 -0
- package/dist/client/assets/kotlin-d6oenWPH.js +1 -0
- package/dist/client/assets/kusto-Cpu9Tdho.js +1 -0
- package/dist/client/assets/laserwave-Bbquw0Nf.js +1 -0
- package/dist/client/assets/latex-DRsNisjT.js +1 -0
- package/dist/client/assets/lean-CvyEisyW.js +1 -0
- package/dist/client/assets/less-B9RQiV1N.js +1 -0
- package/dist/client/assets/light-plus-Ch1Usv7R.js +1 -0
- package/dist/client/assets/liquid-C9jXC9M7.js +1 -0
- package/dist/client/assets/llvm-DtrwjsAs.js +1 -0
- package/dist/client/assets/log-JKbKuM4J.js +1 -0
- package/dist/client/assets/logo-BsxZM_eb.js +1 -0
- package/dist/client/assets/lua-BUYvdn-F.js +1 -0
- package/dist/client/assets/luau-D9oeBRnv.js +1 -0
- package/dist/client/assets/make-DLuqI3Sa.js +1 -0
- package/dist/client/assets/markdown-hfQzyr6v.js +1 -0
- package/dist/client/assets/marko-BqB4tqw-.js +1 -0
- package/dist/client/assets/material-theme-darker-yvetTWEr.js +1 -0
- package/dist/client/assets/material-theme-kX26WiJU.js +1 -0
- package/dist/client/assets/material-theme-lighter-L4j3qddN.js +1 -0
- package/dist/client/assets/material-theme-ocean-BnNk1wNQ.js +1 -0
- package/dist/client/assets/material-theme-palenight-W0qbGyud.js +1 -0
- package/dist/client/assets/matlab-Cz4xBfaA.js +1 -0
- package/dist/client/assets/mdc-C8Rs68Nw.js +1 -0
- package/dist/client/assets/mdx-Crds6sJw.js +1 -0
- package/dist/client/assets/mermaid-Bk1sayFm.js +1 -0
- package/dist/client/assets/min-dark-DK6uq44k.js +1 -0
- package/dist/client/assets/min-light-lr1QiEOE.js +1 -0
- package/dist/client/assets/mipsasm-D3Vr1VJI.js +1 -0
- package/dist/client/assets/mojo-D3ai4ATt.js +1 -0
- package/dist/client/assets/monokai-DZSWSdmN.js +1 -0
- package/dist/client/assets/moonbit-c7XV1V8w.js +1 -0
- package/dist/client/assets/move--lg8RSZu.js +1 -0
- package/dist/client/assets/narrat-Bn_PlXDl.js +1 -0
- package/dist/client/assets/nextflow-DXxhyYjQ.js +1 -0
- package/dist/client/assets/nextflow-groovy-CUrXbMOF.js +1 -0
- package/dist/client/assets/nginx-Dj6E3HRL.js +1 -0
- package/dist/client/assets/night-owl-DnKT96OJ.js +1 -0
- package/dist/client/assets/night-owl-light-gVSh6ltn.js +1 -0
- package/dist/client/assets/nim-BizJb4iF.js +1 -0
- package/dist/client/assets/nix-DE1Q2B1F.js +1 -0
- package/dist/client/assets/nord-CbYaE7ZY.js +1 -0
- package/dist/client/assets/nushell-BBFYNdNE.js +1 -0
- package/dist/client/assets/objective-c-mc6rHp-y.js +1 -0
- package/dist/client/assets/objective-cpp-D96wcRis.js +1 -0
- package/dist/client/assets/ocaml-Ddt3E4VO.js +1 -0
- package/dist/client/assets/odin-BUZTfc03.js +1 -0
- package/dist/client/assets/one-dark-pro-CLMO01es.js +1 -0
- package/dist/client/assets/one-light-27sfjFDM.js +1 -0
- package/dist/client/assets/openscad-C-XxCD_t.js +1 -0
- package/dist/client/assets/pascal-BvJwb9Ca.js +1 -0
- package/dist/client/assets/perl-DnJAtWNn.js +1 -0
- package/dist/client/assets/php-BeY_VEeb.js +1 -0
- package/dist/client/assets/pkl-DtSDxyR8.js +1 -0
- package/dist/client/assets/plastic-Dd1-4HJb.js +1 -0
- package/dist/client/assets/plsql-CgEVu7mV.js +1 -0
- package/dist/client/assets/po-BNFx8QMG.js +1 -0
- package/dist/client/assets/poimandres-DdZFFINT.js +1 -0
- package/dist/client/assets/polar-DcGwqI2v.js +1 -0
- package/dist/client/assets/postcss-BgFCg0uM.js +1 -0
- package/dist/client/assets/powerquery-BNMZnWRc.js +1 -0
- package/dist/client/assets/powershell-CeNh_gMu.js +1 -0
- package/dist/client/assets/prisma-C4wKi9Xs.js +1 -0
- package/dist/client/assets/prolog-DcNkIfZZ.js +1 -0
- package/dist/client/assets/proto-BqsNb_Ru.js +1 -0
- package/dist/client/assets/pug-DXhFbVDh.js +1 -0
- package/dist/client/assets/puppet-BLvi8DVC.js +1 -0
- package/dist/client/assets/purescript-B_tjgp5s.js +1 -0
- package/dist/client/assets/python-xLLWlBd0.js +1 -0
- package/dist/client/assets/qml-CngzXsz8.js +1 -0
- package/dist/client/assets/qmldir-CDe6ORFD.js +1 -0
- package/dist/client/assets/qss-CvW7b9vz.js +1 -0
- package/dist/client/assets/r-BMmy9apu.js +1 -0
- package/dist/client/assets/racket-CA2oKVL1.js +1 -0
- package/dist/client/assets/raku-D9dEetfn.js +1 -0
- package/dist/client/assets/razor-kIo5DNUk.js +1 -0
- package/dist/client/assets/red-Cj1vpJ_n.js +1 -0
- package/dist/client/assets/reg-CHsE82Pk.js +1 -0
- package/dist/client/assets/regexp-BIa5IayX.js +1 -0
- package/dist/client/assets/rel-SUS6CYTF.js +1 -0
- package/dist/client/assets/riscv-xyAKa3qa.js +1 -0
- package/dist/client/assets/ron-D5BrJbC5.js +1 -0
- package/dist/client/assets/rose-pine-Dd0RAvir.js +1 -0
- package/dist/client/assets/rose-pine-dawn-CeS_2jlO.js +1 -0
- package/dist/client/assets/rose-pine-moon-CQrvtQEF.js +1 -0
- package/dist/client/assets/rosmsg-Bie95NPX.js +1 -0
- package/dist/client/assets/rst-McWv3WP0.js +1 -0
- package/dist/client/assets/ruby-CkenUDKe.js +1 -0
- package/dist/client/assets/rust-CAON_J-7.js +1 -0
- package/dist/client/assets/sas-Dgn9Yrr5.js +1 -0
- package/dist/client/assets/sass-CKkv3rB4.js +1 -0
- package/dist/client/assets/scala-BADlfUbE.js +1 -0
- package/dist/client/assets/scheme-Bv8vdcS_.js +1 -0
- package/dist/client/assets/scss-Tfn9jzBB.js +1 -0
- package/dist/client/assets/sdbl-TUdAkzzL.js +1 -0
- package/dist/client/assets/shaderlab-C5utLNvK.js +1 -0
- package/dist/client/assets/shellscript-vGpgBWOS.js +1 -0
- package/dist/client/assets/shellsession-7CA0dOzR.js +1 -0
- package/dist/client/assets/slack-dark-BeQrlvP4.js +1 -0
- package/dist/client/assets/slack-ochin-DaA1aBiy.js +1 -0
- package/dist/client/assets/smalltalk-C1k1DVft.js +1 -0
- package/dist/client/assets/snazzy-light-C9Bzvwcg.js +1 -0
- package/dist/client/assets/solarized-dark--ZJpQY8O.js +1 -0
- package/dist/client/assets/solarized-light-wzNWfjF2.js +1 -0
- package/dist/client/assets/solidity-CaEDdWYR.js +1 -0
- package/dist/client/assets/soy-DbBURueN.js +1 -0
- package/dist/client/assets/sparql-nVt1Q8sD.js +1 -0
- package/dist/client/assets/splunk-mpBjmHRA.js +1 -0
- package/dist/client/assets/sql-BJGtbEM8.js +1 -0
- package/dist/client/assets/ssh-config-DqmSAS3N.js +1 -0
- package/dist/client/assets/stata-L0kV9FQT.js +1 -0
- package/dist/client/assets/stylus-mNYBrtqL.js +1 -0
- package/dist/client/assets/surrealql-C17jcHRl.js +1 -0
- package/dist/client/assets/svelte-B5_CmVcu.js +1 -0
- package/dist/client/assets/swift-BXoR6L-y.js +1 -0
- package/dist/client/assets/synthwave-84-ybvkLGau.js +1 -0
- package/dist/client/assets/system-verilog-BnyrpGlO.js +1 -0
- package/dist/client/assets/systemd-BBVr_qxh.js +1 -0
- package/dist/client/assets/talonscript-l0qUQn2r.js +1 -0
- package/dist/client/assets/tasl-BzcMwPTS.js +1 -0
- package/dist/client/assets/tcl-CQgtyMkG.js +1 -0
- package/dist/client/assets/templ-C5f2EORt.js +1 -0
- package/dist/client/assets/terraform-BgPqtSWN.js +1 -0
- package/dist/client/assets/tex-DvaBtCMN.js +1 -0
- package/dist/client/assets/tokyo-night-BZt2NwCl.js +1 -0
- package/dist/client/assets/toml-CpHBCfVl.js +1 -0
- package/dist/client/assets/ts-tags-DlZzQdBU.js +1 -0
- package/dist/client/assets/tsv-DYxH1-vL.js +1 -0
- package/dist/client/assets/tsx-DaLOIju9.js +1 -0
- package/dist/client/assets/turtle-DdFFvP5J.js +1 -0
- package/dist/client/assets/twig-BB7320dl.js +1 -0
- package/dist/client/assets/typescript-D8B-VgXj.js +1 -0
- package/dist/client/assets/typespec-CHOxKRtr.js +1 -0
- package/dist/client/assets/typst-C0VS9TQm.js +1 -0
- package/dist/client/assets/v-CfOPGXPl.js +1 -0
- package/dist/client/assets/vala-DYqHmNOK.js +1 -0
- package/dist/client/assets/vb-DUBgqZ02.js +1 -0
- package/dist/client/assets/verilog-BxybH_AY.js +1 -0
- package/dist/client/assets/vesper-BDlBlJR-.js +1 -0
- package/dist/client/assets/vhdl-DBoxxi7I.js +1 -0
- package/dist/client/assets/viml-C8vROCgw.js +1 -0
- package/dist/client/assets/vitesse-black-CUBzmgJa.js +1 -0
- package/dist/client/assets/vitesse-dark-COrLBgkv.js +1 -0
- package/dist/client/assets/vitesse-light-ThZGgLQK.js +1 -0
- package/dist/client/assets/vue-DylGFDrG.js +1 -0
- package/dist/client/assets/vue-html-Dt8r3B9y.js +1 -0
- package/dist/client/assets/vue-vine-DdN02uhY.js +1 -0
- package/dist/client/assets/vyper-D08CaD4o.js +1 -0
- package/dist/client/assets/wasm-CoVafRYN.js +1 -0
- package/dist/client/assets/wasm-DiIFv9DE.js +1 -0
- package/dist/client/assets/wenyan-GlRgAbTB.js +1 -0
- package/dist/client/assets/wgsl-BmWpQFqb.js +1 -0
- package/dist/client/assets/wikitext-Axug2vPC.js +1 -0
- package/dist/client/assets/wit-Dk1fPIaK.js +1 -0
- package/dist/client/assets/wolfram-DMhXlmnL.js +1 -0
- package/dist/client/assets/xml-CBEuB6I0.js +1 -0
- package/dist/client/assets/xsl-CuhlgDL5.js +1 -0
- package/dist/client/assets/yaml-Da6ymghi.js +1 -0
- package/dist/client/assets/zenscript-x7PXwj2_.js +1 -0
- package/dist/client/assets/zig-BlD2NI35.js +1 -0
- package/dist/client/index.html +21 -0
- package/dist/client/manifest.webmanifest +1 -0
- package/dist/client/registerSW.js +1 -0
- package/dist/client/sw-push.js +53 -0
- package/dist/client/sw.js +1 -0
- package/dist/client/workbox-b51dd497.js +1 -0
- package/{client/index.html → index.html} +1 -1
- package/package.json +62 -14
- package/public/icons/icon-192.svg +11 -0
- package/public/icons/icon-512.svg +11 -0
- package/public/sw-push.js +53 -0
- package/{client/src → src/client}/components/analytics/AnalyticsView.tsx +70 -78
- package/{client/src → src/client}/components/analytics/ChartCard.tsx +8 -2
- package/{client/src → src/client}/components/analytics/QuickStats.tsx +12 -10
- package/{client/src → src/client}/components/analytics/charts/ActivityCalendar.tsx +5 -3
- package/{client/src → src/client}/components/analytics/charts/CacheEfficiencyChart.tsx +1 -1
- package/{client/src → src/client}/components/analytics/charts/ContextUtilizationChart.tsx +33 -25
- package/{client/src → src/client}/components/analytics/charts/CostAreaChart.tsx +4 -4
- package/{client/src → src/client}/components/analytics/charts/CostDistributionChart.tsx +1 -0
- package/{client/src → src/client}/components/analytics/charts/CostDonutChart.tsx +1 -0
- package/{client/src → src/client}/components/analytics/charts/CumulativeCostChart.tsx +1 -0
- package/{client/src → src/client}/components/analytics/charts/HourlyHeatmap.tsx +5 -3
- package/{client/src → src/client}/components/analytics/charts/ProjectRadar.tsx +30 -26
- package/{client/src → src/client}/components/analytics/charts/ResponseTimeScatter.tsx +16 -10
- package/{client/src → src/client}/components/analytics/charts/SessionBubbleChart.tsx +23 -16
- package/{client/src → src/client}/components/analytics/charts/SessionTimeline.tsx +5 -3
- package/{client/src → src/client}/components/analytics/charts/TokenFlowChart.tsx +3 -3
- package/{client/src → src/client}/components/analytics/charts/ToolSunburst.tsx +26 -23
- package/{client/src → src/client}/components/chat/ChatView.tsx +65 -96
- package/src/client/components/chat/ElicitationCard.tsx +235 -0
- package/{client/src → src/client}/components/chat/Message.tsx +261 -8
- package/{client/src → src/client}/components/chat/ModelSelector.tsx +29 -8
- package/src/client/components/settings/Appearance.tsx +275 -0
- package/{client/src → src/client}/components/settings/BudgetSettings.tsx +6 -2
- package/{client/src → src/client}/components/settings/Notifications.tsx +35 -0
- package/src/client/components/settings/ThemePreview.tsx +140 -0
- package/src/client/components/settings/ThemeWizard.tsx +405 -0
- package/{client/src → src/client}/components/sidebar/ProjectRail.tsx +43 -169
- package/{client/src → src/client}/components/sidebar/SessionList.tsx +27 -49
- package/{client/src → src/client}/components/sidebar/Sidebar.tsx +2 -6
- package/src/client/components/sidebar/UserIsland.tsx +282 -0
- package/{client/src → src/client}/components/sidebar/UserMenu.tsx +4 -2
- package/src/client/components/ui/ContextMenu.tsx +153 -0
- package/{client/src → src/client}/components/ui/PopupMenu.tsx +4 -2
- package/src/client/components/ui/SaveFooter.tsx +63 -0
- package/{client/src → src/client}/components/workspace/TabBar.tsx +17 -64
- package/{client/src → src/client}/hooks/useAnalytics.ts +17 -8
- package/src/client/hooks/usePushNotifications.ts +92 -0
- package/{client/src → src/client}/hooks/useSession.ts +123 -49
- package/{client/src → src/client}/hooks/useWebSocket.ts +0 -3
- package/src/client/lib/theme-derive.ts +196 -0
- package/{client/src → src/client}/stores/analytics.ts +20 -6
- package/{client/src → src/client}/stores/session.ts +63 -15
- package/{client/src → src/client}/stores/sidebar.ts +3 -1
- package/{client/src → src/client}/themes/index.ts +26 -0
- package/{server/src → src/server}/analytics/engine.ts +87 -30
- package/src/server/assets.ts +45 -0
- package/src/server/daemon.ts +547 -0
- package/{server/src → src/server}/handlers/analytics.ts +13 -8
- package/{server/src → src/server}/handlers/chat.ts +83 -1
- package/{server/src → src/server}/handlers/mesh.ts +3 -2
- package/{server/src → src/server}/handlers/plugins.ts +10 -13
- package/{server/src → src/server}/handlers/session.ts +7 -16
- package/{server/src → src/server}/handlers/settings.ts +3 -0
- package/{server/src → src/server}/handlers/skills.ts +7 -9
- package/src/server/handlers/themes.ts +121 -0
- package/{server/src → src/server}/handlers/update.ts +5 -23
- package/{server/src → src/server}/index.ts +100 -134
- package/{server/src → src/server}/mesh/connector.ts +1 -1
- package/{server/src → src/server}/project/context-breakdown.ts +4 -5
- package/{server/src → src/server}/project/pty-worker.cjs +1 -1
- package/{server/src → src/server}/project/sdk-bridge.ts +526 -428
- package/{server/src → src/server}/project/session.ts +117 -42
- package/{server/src → src/server}/project/terminal.ts +7 -24
- package/src/server/project/warmup.ts +285 -0
- package/src/server/push.ts +121 -0
- package/src/server/runtime.ts +1 -0
- package/src/server/tui.ts +103 -0
- package/{server/src → src/server}/update-checker.ts +10 -10
- package/{server/src → src/server}/ws/broadcast.ts +8 -8
- package/{server/src → src/server}/ws/router.ts +21 -25
- package/{shared/src → src/shared}/analytics.ts +1 -0
- package/{shared/src → src/shared}/constants.ts +1 -0
- package/{shared/src → src/shared}/messages.ts +151 -15
- package/{shared/src → src/shared}/models.ts +7 -1
- package/tsconfig.json +7 -8
- package/{client/vite.config.ts → vite.config.ts} +14 -18
- package/.editorconfig +0 -12
- package/.github/workflows/ci.yml +0 -81
- package/.github/workflows/release.yml +0 -87
- package/.impeccable.md +0 -66
- package/.releaserc.json +0 -33
- package/.serena/memories/code_style_and_conventions.md +0 -35
- package/.serena/memories/project_overview.md +0 -51
- package/.serena/memories/suggested_commands.md +0 -32
- package/.serena/memories/task_completion_checklist.md +0 -15
- package/.serena/project.yml +0 -152
- package/CLAUDE.md +0 -71
- package/CONTRIBUTING.md +0 -93
- package/bun.lock +0 -2246
- package/bunfig.toml +0 -2
- package/client/package.json +0 -43
- package/client/src/components/settings/Appearance.tsx +0 -152
- package/client/src/components/sidebar/UserIsland.tsx +0 -136
- package/client/src/components/ui/SaveFooter.tsx +0 -38
- package/client/tsconfig.json +0 -18
- package/install.sh +0 -71
- package/playwright.config.ts +0 -19
- package/scripts/build-binary.ts +0 -157
- package/scripts/postinstall.js +0 -31
- package/server/package.json +0 -24
- package/server/src/_generated/embedded-assets.ts +0 -2
- package/server/src/assets.ts +0 -69
- package/server/src/daemon.ts +0 -442
- package/server/src/runtime.ts +0 -4
- package/server/tsconfig.json +0 -20
- package/shared/package.json +0 -11
- package/shared/tsconfig.json +0 -15
- package/tests/accessibility.spec.ts +0 -77
- package/tests/keyboard-shortcuts.spec.ts +0 -70
- package/tests/message-actions.spec.ts +0 -112
- package/tests/onboarding.spec.ts +0 -72
- package/tests/session-flow.spec.ts +0 -117
- package/tests/session-preview.spec.ts +0 -83
- package/themes/amoled.json +0 -20
- package/themes/ayu-light.json +0 -9
- package/themes/catppuccin-latte.json +0 -9
- package/themes/catppuccin-mocha.json +0 -9
- package/themes/clay-light.json +0 -10
- package/themes/clay.json +0 -10
- package/themes/dracula.json +0 -9
- package/themes/everforest-light.json +0 -9
- package/themes/everforest.json +0 -9
- package/themes/github-light.json +0 -9
- package/themes/gruvbox-dark.json +0 -9
- package/themes/gruvbox-light.json +0 -9
- package/themes/monokai.json +0 -9
- package/themes/nord-light.json +0 -9
- package/themes/nord.json +0 -9
- package/themes/one-dark.json +0 -9
- package/themes/one-light.json +0 -9
- package/themes/rose-pine-dawn.json +0 -9
- package/themes/rose-pine.json +0 -9
- package/themes/solarized-dark.json +0 -9
- package/themes/solarized-light.json +0 -9
- package/themes/tokyo-night-light.json +0 -9
- package/themes/tokyo-night.json +0 -9
- package/tp.js +0 -19
- /package/{client/public → dist/client}/icons/icon-192.svg +0 -0
- /package/{client/public → dist/client}/icons/icon-512.svg +0 -0
- /package/{client/src → src/client}/App.tsx +0 -0
- /package/{client/src → src/client}/commands.ts +0 -0
- /package/{client/src → src/client}/components/analytics/PeriodSelector.tsx +0 -0
- /package/{client/src → src/client}/components/analytics/chartTokens.ts +0 -0
- /package/{client/src → src/client}/components/analytics/charts/DailySummaryCards.tsx +0 -0
- /package/{client/src → src/client}/components/analytics/charts/NodeFleetOverview.tsx +0 -0
- /package/{client/src → src/client}/components/analytics/charts/PermissionBreakdown.tsx +0 -0
- /package/{client/src → src/client}/components/analytics/charts/SessionComplexityList.tsx +0 -0
- /package/{client/src → src/client}/components/analytics/charts/TokenSankeyChart.tsx +0 -0
- /package/{client/src → src/client}/components/analytics/charts/ToolTreemap.tsx +0 -0
- /package/{client/src → src/client}/components/auth/PassphrasePrompt.tsx +0 -0
- /package/{client/src → src/client}/components/chat/AttachmentChips.tsx +0 -0
- /package/{client/src → src/client}/components/chat/ChatInput.tsx +0 -0
- /package/{client/src → src/client}/components/chat/CommandPalette.tsx +0 -0
- /package/{client/src → src/client}/components/chat/PermissionModeSelector.tsx +0 -0
- /package/{client/src → src/client}/components/chat/PromptQuestion.tsx +0 -0
- /package/{client/src → src/client}/components/chat/StatusBar.tsx +0 -0
- /package/{client/src → src/client}/components/chat/TodoCard.tsx +0 -0
- /package/{client/src → src/client}/components/chat/ToolGroup.tsx +0 -0
- /package/{client/src → src/client}/components/chat/ToolResultRenderer.tsx +0 -0
- /package/{client/src → src/client}/components/chat/VoiceRecorder.tsx +0 -0
- /package/{client/src → src/client}/components/chat/toolSummary.ts +0 -0
- /package/{client/src → src/client}/components/dashboard/DashboardView.tsx +0 -0
- /package/{client/src → src/client}/components/dashboard/ProjectDashboardView.tsx +0 -0
- /package/{client/src → src/client}/components/mesh/NodeBadge.tsx +0 -0
- /package/{client/src → src/client}/components/mesh/PairingDialog.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectClaude.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectEnvironment.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectGeneral.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectMcp.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectMemory.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectNotifications.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectPermissions.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectPlugins.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectRules.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectSettingsView.tsx +0 -0
- /package/{client/src → src/client}/components/project-settings/ProjectSkills.tsx +0 -0
- /package/{client/src → src/client}/components/settings/ClaudeSettings.tsx +0 -0
- /package/{client/src → src/client}/components/settings/Editor.tsx +0 -0
- /package/{client/src → src/client}/components/settings/Environment.tsx +0 -0
- /package/{client/src → src/client}/components/settings/GlobalMcp.tsx +0 -0
- /package/{client/src → src/client}/components/settings/GlobalMemory.tsx +0 -0
- /package/{client/src → src/client}/components/settings/GlobalPlugins.tsx +0 -0
- /package/{client/src → src/client}/components/settings/GlobalRules.tsx +0 -0
- /package/{client/src → src/client}/components/settings/GlobalSkills.tsx +0 -0
- /package/{client/src → src/client}/components/settings/MeshStatus.tsx +0 -0
- /package/{client/src → src/client}/components/settings/SettingsView.tsx +0 -0
- /package/{client/src → src/client}/components/settings/SkillMarketplace.tsx +0 -0
- /package/{client/src → src/client}/components/settings/mcp-shared.tsx +0 -0
- /package/{client/src → src/client}/components/settings/skill-shared.tsx +0 -0
- /package/{client/src → src/client}/components/setup/SetupWizard.tsx +0 -0
- /package/{client/src → src/client}/components/sidebar/AddProjectModal.tsx +0 -0
- /package/{client/src → src/client}/components/sidebar/NodeSettingsModal.tsx +0 -0
- /package/{client/src → src/client}/components/sidebar/ProjectDropdown.tsx +0 -0
- /package/{client/src → src/client}/components/sidebar/SearchFilter.tsx +0 -0
- /package/{client/src → src/client}/components/sidebar/SettingsSidebar.tsx +0 -0
- /package/{client/src → src/client}/components/ui/CommandPalette.tsx +0 -0
- /package/{client/src → src/client}/components/ui/ErrorBoundary.tsx +0 -0
- /package/{client/src → src/client}/components/ui/IconPicker.tsx +0 -0
- /package/{client/src → src/client}/components/ui/KeyboardShortcuts.tsx +0 -0
- /package/{client/src → src/client}/components/ui/LatticeLogomark.tsx +0 -0
- /package/{client/src → src/client}/components/ui/NodeDisconnectedOverlay.tsx +0 -0
- /package/{client/src → src/client}/components/ui/Toast.tsx +0 -0
- /package/{client/src → src/client}/components/ui/UpdateBanner.tsx +0 -0
- /package/{client/src → src/client}/components/ui/UpdatePrompt.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/BookmarksView.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/FileBrowser.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/FileTree.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/FileViewer.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/NoteCard.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/NotesView.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/ScheduledTasksView.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/SplitPane.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/TaskCard.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/TaskEditModal.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/TerminalInstance.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/TerminalView.tsx +0 -0
- /package/{client/src → src/client}/components/workspace/WorkspaceView.tsx +0 -0
- /package/{client/src → src/client}/hooks/useAttachments.ts +0 -0
- /package/{client/src → src/client}/hooks/useBookmarks.ts +0 -0
- /package/{client/src → src/client}/hooks/useEditorConfig.ts +0 -0
- /package/{client/src → src/client}/hooks/useFocusTrap.ts +0 -0
- /package/{client/src → src/client}/hooks/useIdleDetection.ts +0 -0
- /package/{client/src → src/client}/hooks/useInstallPrompt.ts +0 -0
- /package/{client/src → src/client}/hooks/useMesh.ts +0 -0
- /package/{client/src → src/client}/hooks/useNotifications.ts +0 -0
- /package/{client/src → src/client}/hooks/useOnline.ts +0 -0
- /package/{client/src → src/client}/hooks/useProjectSettings.ts +0 -0
- /package/{client/src → src/client}/hooks/useProjects.ts +0 -0
- /package/{client/src → src/client}/hooks/useSaveState.ts +0 -0
- /package/{client/src → src/client}/hooks/useSidebar.ts +0 -0
- /package/{client/src → src/client}/hooks/useSkills.ts +0 -0
- /package/{client/src → src/client}/hooks/useSpinnerVerb.ts +0 -0
- /package/{client/src → src/client}/hooks/useSwipeDrawer.ts +0 -0
- /package/{client/src → src/client}/hooks/useTheme.ts +0 -0
- /package/{client/src → src/client}/hooks/useTimeTick.ts +0 -0
- /package/{client/src → src/client}/hooks/useVoiceRecorder.ts +0 -0
- /package/{client/src → src/client}/hooks/useWorkspace.ts +0 -0
- /package/{client/src → src/client}/lib/workspace-url.ts +0 -0
- /package/{client/src → src/client}/main.tsx +0 -0
- /package/{client/src → src/client}/providers/WebSocketProvider.tsx +0 -0
- /package/{client/src → src/client}/router.tsx +0 -0
- /package/{client/src → src/client}/stores/bookmarks.ts +0 -0
- /package/{client/src → src/client}/stores/mesh.ts +0 -0
- /package/{client/src → src/client}/stores/theme.ts +0 -0
- /package/{client/src → src/client}/stores/workspace.ts +0 -0
- /package/{client/src → src/client}/styles/global.css +0 -0
- /package/{client/src → src/client}/styles/theme-vars.css +0 -0
- /package/{client/src → src/client}/utils/editorUrl.ts +0 -0
- /package/{client/src → src/client}/utils/findDuplicateKeys.ts +0 -0
- /package/{client/src → src/client}/utils/formatSessionTitle.ts +0 -0
- /package/{client/src → src/client}/vite-env.d.ts +0 -0
- /package/{server/src → src/server}/auth/passphrase.ts +0 -0
- /package/{server/src → src/server}/config.ts +0 -0
- /package/{server/src → src/server}/features/ralph-loop.ts +0 -0
- /package/{server/src → src/server}/features/scheduler.ts +0 -0
- /package/{server/src → src/server}/features/sticky-notes.ts +0 -0
- /package/{server/src → src/server}/handlers/attachment.ts +0 -0
- /package/{server/src → src/server}/handlers/bookmarks.ts +0 -0
- /package/{server/src → src/server}/handlers/editor.ts +0 -0
- /package/{server/src → src/server}/handlers/fs.ts +0 -0
- /package/{server/src → src/server}/handlers/loop.ts +0 -0
- /package/{server/src → src/server}/handlers/memory.ts +0 -0
- /package/{server/src → src/server}/handlers/notes.ts +0 -0
- /package/{server/src → src/server}/handlers/project-settings.ts +0 -0
- /package/{server/src → src/server}/handlers/scheduler.ts +0 -0
- /package/{server/src → src/server}/handlers/terminal.ts +0 -0
- /package/{server/src → src/server}/identity.ts +0 -0
- /package/{server/src → src/server}/logger.ts +0 -0
- /package/{server/src → src/server}/mesh/crypto.ts +0 -0
- /package/{server/src → src/server}/mesh/discovery.ts +0 -0
- /package/{server/src → src/server}/mesh/pairing.ts +0 -0
- /package/{server/src → src/server}/mesh/peers.ts +0 -0
- /package/{server/src → src/server}/mesh/proxy.ts +0 -0
- /package/{server/src → src/server}/mesh/session-sync.ts +0 -0
- /package/{server/src → src/server}/project/bookmarks.ts +0 -0
- /package/{server/src → src/server}/project/file-browser.ts +0 -0
- /package/{server/src → src/server}/project/project-files.ts +0 -0
- /package/{server/src → src/server}/project/registry.ts +0 -0
- /package/{server/src → src/server}/tls.ts +0 -0
- /package/{server/src → src/server}/ws/server.ts +0 -0
- /package/{shared/src → src/shared}/index.ts +0 -0
- /package/{shared/src → src/shared}/project-settings.ts +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Lattice — Project Overview
|
|
2
|
-
|
|
3
|
-
**Purpose**: Multi-machine agentic dashboard for Claude Code. Web UI for monitoring sessions, managing projects, tracking costs, and orchestrating across mesh-networked nodes.
|
|
4
|
-
|
|
5
|
-
**Status**: Alpha (pre-1.0), work directly on main branch.
|
|
6
|
-
|
|
7
|
-
## Tech Stack
|
|
8
|
-
|
|
9
|
-
- **Runtime**: Bun (server), Node (CI), Vite (client bundler)
|
|
10
|
-
- **Server**: Bun WebSocket server with typed message protocol
|
|
11
|
-
- **Client**: React 19 + Vite 8 + Tailwind CSS + daisyUI
|
|
12
|
-
- **Shared**: TypeScript types and constants (no build step, imported directly)
|
|
13
|
-
- **State**: Tanstack Store (client), Tanstack Router (routing)
|
|
14
|
-
- **Sessions**: Claude Agent SDK (`@anthropic-ai/claude-agent-sdk`)
|
|
15
|
-
- **Charts**: Recharts
|
|
16
|
-
- **Testing**: Playwright (chromium only)
|
|
17
|
-
- **CI**: GitHub Actions (typecheck + build + Playwright)
|
|
18
|
-
- **Release**: semantic-release on push to main
|
|
19
|
-
|
|
20
|
-
## Monorepo Structure
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
lattice/
|
|
24
|
-
├── shared/ — TypeScript types, message definitions, constants
|
|
25
|
-
├── server/ — Bun WebSocket server, handlers, analytics, mesh networking
|
|
26
|
-
├── client/ — React + Vite dashboard, UI components, 23 themes
|
|
27
|
-
├── themes/ — Base16 theme JSON files (dark + light)
|
|
28
|
-
├── tests/ — Playwright test files
|
|
29
|
-
└── docs/ — Screenshots, audit docs
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Architecture
|
|
33
|
-
|
|
34
|
-
- Server communicates with clients via WebSocket using typed messages defined in `shared/`
|
|
35
|
-
- Sessions managed through Claude Agent SDK
|
|
36
|
-
- 23 base16 themes with OKLCH color space
|
|
37
|
-
- PWA with service worker caching (Workbox)
|
|
38
|
-
- Mesh networking for multi-machine orchestration
|
|
39
|
-
- Structured logging with `debug` package (lattice:* namespaces)
|
|
40
|
-
|
|
41
|
-
## Key Features
|
|
42
|
-
|
|
43
|
-
- Real-time chat with tool approval, context tracking, cost per message
|
|
44
|
-
- Session tabs with split-pane support
|
|
45
|
-
- Message bookmarks (per-session + global)
|
|
46
|
-
- Analytics dashboard (15+ chart types)
|
|
47
|
-
- Daily cost budget with configurable enforcement
|
|
48
|
-
- Keyboard shortcuts overlay (press ?)
|
|
49
|
-
- Session hover previews, auto-titling, date range search
|
|
50
|
-
- MCP server management, skill marketplace
|
|
51
|
-
- Memory management UI
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Suggested Commands
|
|
2
|
-
|
|
3
|
-
## Development
|
|
4
|
-
- `bun run dev` — Start server (--watch) + Vite dev server, hot reloads both
|
|
5
|
-
- `bun run build` — Build all workspaces (only client produces output)
|
|
6
|
-
- `bun run typecheck` — Run tsc across all workspaces
|
|
7
|
-
|
|
8
|
-
## Testing
|
|
9
|
-
- `bunx playwright test` — Run all Playwright tests (server must be running on :7654)
|
|
10
|
-
- `bunx playwright test tests/session-flow.spec.ts` — Run single test file
|
|
11
|
-
|
|
12
|
-
## Type Checking (per-workspace, as CI does it)
|
|
13
|
-
- `bunx tsc -p shared/tsconfig.json` — Build shared types (must run first)
|
|
14
|
-
- `bunx tsc --noEmit -p server/tsconfig.json` — Typecheck server
|
|
15
|
-
- `bunx tsc --noEmit -p client/tsconfig.json` — Typecheck client
|
|
16
|
-
|
|
17
|
-
## Client Build
|
|
18
|
-
- `cd client && npx vite build` — Build client for production
|
|
19
|
-
|
|
20
|
-
## Server
|
|
21
|
-
- `bun run server/src/index.ts daemon` — Run server daemon directly
|
|
22
|
-
- `bun run server/src/index.ts daemon --port 8080` — Custom port
|
|
23
|
-
- Default port: 7654, binds to 0.0.0.0
|
|
24
|
-
|
|
25
|
-
## Environment
|
|
26
|
-
- `ANTHROPIC_API_KEY` — Optional, uses `claude setup-token` if not set
|
|
27
|
-
- `DEBUG=lattice:*` — Enable structured debug logging
|
|
28
|
-
|
|
29
|
-
## Git
|
|
30
|
-
- Commit messages: Angular Commit Convention (feat/fix/refactor/etc)
|
|
31
|
-
- Releases: automated via semantic-release on push to main
|
|
32
|
-
- Never add AI attribution to commits
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Task Completion Checklist
|
|
2
|
-
|
|
3
|
-
When a coding task is completed, verify the following:
|
|
4
|
-
|
|
5
|
-
1. **Type check** — Run `bunx tsc --noEmit -p client/tsconfig.json` and `bunx tsc --noEmit -p server/tsconfig.json` (build shared first with `bunx tsc -p shared/tsconfig.json`)
|
|
6
|
-
2. **Build** — Run `cd client && npx vite build` to verify client builds
|
|
7
|
-
3. **Server build** — Run `bun build server/src/index.ts --target=bun --outdir=/tmp/check` to verify server bundles
|
|
8
|
-
4. **No pre-existing errors** — Fix any errors you encounter, don't leave them
|
|
9
|
-
5. **Code style** — const/let (not var), named functions (not arrows except callbacks), lucide-react icons only
|
|
10
|
-
6. **Git** — Only commit when explicitly asked. Angular Commit Convention. No AI attribution.
|
|
11
|
-
|
|
12
|
-
## Important Notes
|
|
13
|
-
- The PWA service worker caches old bundles. After rebuilding client, users need to clear SW cache in browser to see changes.
|
|
14
|
-
- Server serves from `client/dist/` (built output), NOT from Vite dev server. Client changes require `npx vite build` to appear on port 7654.
|
|
15
|
-
- Vite dev server runs on :5173 separately but can't connect WebSocket without the Bun server on :7654.
|
package/.serena/project.yml
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
# the name by which the project can be referenced within Serena
|
|
2
|
-
project_name: "lattice"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
# list of languages for which language servers are started; choose from:
|
|
6
|
-
# al bash clojure cpp csharp
|
|
7
|
-
# csharp_omnisharp dart elixir elm erlang
|
|
8
|
-
# fortran fsharp go groovy haskell
|
|
9
|
-
# java julia kotlin lua markdown
|
|
10
|
-
# matlab nix pascal perl php
|
|
11
|
-
# php_phpactor powershell python python_jedi r
|
|
12
|
-
# rego ruby ruby_solargraph rust scala
|
|
13
|
-
# swift terraform toml typescript typescript_vts
|
|
14
|
-
# vue yaml zig
|
|
15
|
-
# (This list may be outdated. For the current list, see values of Language enum here:
|
|
16
|
-
# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py
|
|
17
|
-
# For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.)
|
|
18
|
-
# Note:
|
|
19
|
-
# - For C, use cpp
|
|
20
|
-
# - For JavaScript, use typescript
|
|
21
|
-
# - For Free Pascal/Lazarus, use pascal
|
|
22
|
-
# Special requirements:
|
|
23
|
-
# Some languages require additional setup/installations.
|
|
24
|
-
# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers
|
|
25
|
-
# When using multiple languages, the first language server that supports a given file will be used for that file.
|
|
26
|
-
# The first language is the default language and the respective language server will be used as a fallback.
|
|
27
|
-
# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored.
|
|
28
|
-
languages:
|
|
29
|
-
- typescript
|
|
30
|
-
|
|
31
|
-
# the encoding used by text files in the project
|
|
32
|
-
# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings
|
|
33
|
-
encoding: "utf-8"
|
|
34
|
-
|
|
35
|
-
# line ending convention to use when writing source files.
|
|
36
|
-
# Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default)
|
|
37
|
-
# This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings.
|
|
38
|
-
line_ending:
|
|
39
|
-
|
|
40
|
-
# The language backend to use for this project.
|
|
41
|
-
# If not set, the global setting from serena_config.yml is used.
|
|
42
|
-
# Valid values: LSP, JetBrains
|
|
43
|
-
# Note: the backend is fixed at startup. If a project with a different backend
|
|
44
|
-
# is activated post-init, an error will be returned.
|
|
45
|
-
language_backend:
|
|
46
|
-
|
|
47
|
-
# whether to use project's .gitignore files to ignore files
|
|
48
|
-
ignore_all_files_in_gitignore: true
|
|
49
|
-
|
|
50
|
-
# list of additional paths to ignore in this project.
|
|
51
|
-
# Same syntax as gitignore, so you can use * and **.
|
|
52
|
-
# Note: global ignored_paths from serena_config.yml are also applied additively.
|
|
53
|
-
ignored_paths: []
|
|
54
|
-
|
|
55
|
-
# whether the project is in read-only mode
|
|
56
|
-
# If set to true, all editing tools will be disabled and attempts to use them will result in an error
|
|
57
|
-
# Added on 2025-04-18
|
|
58
|
-
read_only: false
|
|
59
|
-
|
|
60
|
-
# list of tool names to exclude.
|
|
61
|
-
# This extends the existing exclusions (e.g. from the global configuration)
|
|
62
|
-
#
|
|
63
|
-
# Below is the complete list of tools for convenience.
|
|
64
|
-
# To make sure you have the latest list of tools, and to view their descriptions,
|
|
65
|
-
# execute `uv run scripts/print_tool_overview.py`.
|
|
66
|
-
#
|
|
67
|
-
# * `activate_project`: Activates a project by name.
|
|
68
|
-
# * `check_onboarding_performed`: Checks whether project onboarding was already performed.
|
|
69
|
-
# * `create_text_file`: Creates/overwrites a file in the project directory.
|
|
70
|
-
# * `delete_lines`: Deletes a range of lines within a file.
|
|
71
|
-
# * `delete_memory`: Deletes a memory from Serena's project-specific memory store.
|
|
72
|
-
# * `execute_shell_command`: Executes a shell command.
|
|
73
|
-
# * `find_referencing_code_snippets`: Finds code snippets in which the symbol at the given location is referenced.
|
|
74
|
-
# * `find_referencing_symbols`: Finds symbols that reference the symbol at the given location (optionally filtered by type).
|
|
75
|
-
# * `find_symbol`: Performs a global (or local) search for symbols with/containing a given name/substring (optionally filtered by type).
|
|
76
|
-
# * `get_current_config`: Prints the current configuration of the agent, including the active and available projects, tools, contexts, and modes.
|
|
77
|
-
# * `get_symbols_overview`: Gets an overview of the top-level symbols defined in a given file.
|
|
78
|
-
# * `initial_instructions`: Gets the initial instructions for the current project.
|
|
79
|
-
# Should only be used in settings where the system prompt cannot be set,
|
|
80
|
-
# e.g. in clients you have no control over, like Claude Desktop.
|
|
81
|
-
# * `insert_after_symbol`: Inserts content after the end of the definition of a given symbol.
|
|
82
|
-
# * `insert_at_line`: Inserts content at a given line in a file.
|
|
83
|
-
# * `insert_before_symbol`: Inserts content before the beginning of the definition of a given symbol.
|
|
84
|
-
# * `list_dir`: Lists files and directories in the given directory (optionally with recursion).
|
|
85
|
-
# * `list_memories`: Lists memories in Serena's project-specific memory store.
|
|
86
|
-
# * `onboarding`: Performs onboarding (identifying the project structure and essential tasks, e.g. for testing or building).
|
|
87
|
-
# * `prepare_for_new_conversation`: Provides instructions for preparing for a new conversation (in order to continue with the necessary context).
|
|
88
|
-
# * `read_file`: Reads a file within the project directory.
|
|
89
|
-
# * `read_memory`: Reads the memory with the given name from Serena's project-specific memory store.
|
|
90
|
-
# * `remove_project`: Removes a project from the Serena configuration.
|
|
91
|
-
# * `replace_lines`: Replaces a range of lines within a file with new content.
|
|
92
|
-
# * `replace_symbol_body`: Replaces the full definition of a symbol.
|
|
93
|
-
# * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen.
|
|
94
|
-
# * `search_for_pattern`: Performs a search for a pattern in the project.
|
|
95
|
-
# * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase.
|
|
96
|
-
# * `switch_modes`: Activates modes by providing a list of their names
|
|
97
|
-
# * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information.
|
|
98
|
-
# * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task.
|
|
99
|
-
# * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed.
|
|
100
|
-
# * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store.
|
|
101
|
-
excluded_tools: []
|
|
102
|
-
|
|
103
|
-
# list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default).
|
|
104
|
-
# This extends the existing inclusions (e.g. from the global configuration).
|
|
105
|
-
included_optional_tools: []
|
|
106
|
-
|
|
107
|
-
# fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools.
|
|
108
|
-
# This cannot be combined with non-empty excluded_tools or included_optional_tools.
|
|
109
|
-
fixed_tools: []
|
|
110
|
-
|
|
111
|
-
# list of mode names to that are always to be included in the set of active modes
|
|
112
|
-
# The full set of modes to be activated is base_modes + default_modes.
|
|
113
|
-
# If the setting is undefined, the base_modes from the global configuration (serena_config.yml) apply.
|
|
114
|
-
# Otherwise, this setting overrides the global configuration.
|
|
115
|
-
# Set this to [] to disable base modes for this project.
|
|
116
|
-
# Set this to a list of mode names to always include the respective modes for this project.
|
|
117
|
-
base_modes:
|
|
118
|
-
|
|
119
|
-
# list of mode names that are to be activated by default.
|
|
120
|
-
# The full set of modes to be activated is base_modes + default_modes.
|
|
121
|
-
# If the setting is undefined, the default_modes from the global configuration (serena_config.yml) apply.
|
|
122
|
-
# Otherwise, this overrides the setting from the global configuration (serena_config.yml).
|
|
123
|
-
# This setting can, in turn, be overridden by CLI parameters (--mode).
|
|
124
|
-
default_modes:
|
|
125
|
-
|
|
126
|
-
# initial prompt for the project. It will always be given to the LLM upon activating the project
|
|
127
|
-
# (contrary to the memories, which are loaded on demand).
|
|
128
|
-
initial_prompt: ""
|
|
129
|
-
|
|
130
|
-
# time budget (seconds) per tool call for the retrieval of additional symbol information
|
|
131
|
-
# such as docstrings or parameter information.
|
|
132
|
-
# This overrides the corresponding setting in the global configuration; see the documentation there.
|
|
133
|
-
# If null or missing, use the setting from the global configuration.
|
|
134
|
-
symbol_info_budget:
|
|
135
|
-
|
|
136
|
-
# list of regex patterns which, when matched, mark a memory entry as read‑only.
|
|
137
|
-
# Extends the list from the global configuration, merging the two lists.
|
|
138
|
-
read_only_memory_patterns: []
|
|
139
|
-
|
|
140
|
-
# list of regex patterns for memories to completely ignore.
|
|
141
|
-
# Matching memories will not appear in list_memories or activate_project output
|
|
142
|
-
# and cannot be accessed via read_memory or write_memory.
|
|
143
|
-
# To access ignored memory files, use the read_file tool on the raw file path.
|
|
144
|
-
# Extends the list from the global configuration, merging the two lists.
|
|
145
|
-
# Example: ["_archive/.*", "_episodes/.*"]
|
|
146
|
-
ignored_memory_patterns: []
|
|
147
|
-
|
|
148
|
-
# advanced configuration option allowing to configure language server-specific options.
|
|
149
|
-
# Maps the language key to the options.
|
|
150
|
-
# Have a look at the docstring of the constructors of the LS implementations within solidlsp (e.g., for C# or PHP) to see which options are available.
|
|
151
|
-
# No documentation on options means no options are available.
|
|
152
|
-
ls_specific_settings: {}
|
package/CLAUDE.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# CLAUDE.md
|
|
2
|
-
|
|
3
|
-
This file provides guidance to Claude Code when working with code in this repository.
|
|
4
|
-
|
|
5
|
-
## Project Structure
|
|
6
|
-
Bun monorepo with three workspaces:
|
|
7
|
-
- `shared/` — TypeScript types and constants (no build, imported directly)
|
|
8
|
-
- `server/` — Bun daemon serving WebSocket API + static client assets on port 7654
|
|
9
|
-
- `client/` — React 19 + Vite + Tailwind + daisyUI web app
|
|
10
|
-
|
|
11
|
-
## Commands
|
|
12
|
-
- `bun run dev` — starts server (--watch) + Vite dev server, hot reloads both
|
|
13
|
-
- `bun run build` — builds all workspaces (only client produces output)
|
|
14
|
-
- `bun run typecheck` — runs tsc across all workspaces
|
|
15
|
-
- `bunx playwright test` — runs Playwright tests (server must be running on :7654)
|
|
16
|
-
- Single test: `bunx playwright test tests/session-flow.spec.ts`
|
|
17
|
-
|
|
18
|
-
## Coding Standards
|
|
19
|
-
- Use `const`/`let` (not `var`). Use named function declarations, not arrow functions — except for anonymous callbacks where arrows are fine.
|
|
20
|
-
- No emojis for icons or in UI. Use `lucide-react` for all icons.
|
|
21
|
-
- No section separator comments or organizational comments.
|
|
22
|
-
- Follow .editorconfig (2-space indent, LF, UTF-8).
|
|
23
|
-
- Server: ESM with Bun. Client: ESM with Vite + React.
|
|
24
|
-
|
|
25
|
-
## Git
|
|
26
|
-
- Never add "Co-Authored-By" lines mentioning Claude/AI.
|
|
27
|
-
- Commit messages follow Angular Commit Convention (feat/fix/refactor/etc).
|
|
28
|
-
- Only commit when explicitly asked.
|
|
29
|
-
- Releases are automated via semantic-release on push to main.
|
|
30
|
-
|
|
31
|
-
## Design
|
|
32
|
-
See `.impeccable.md` for comprehensive design guidelines. Key constraints:
|
|
33
|
-
- Dark-first with 23 base16 themes via OKLCH CSS variables
|
|
34
|
-
- Tailwind + daisyUI component framework
|
|
35
|
-
- Typography: JetBrains Mono (headings/code), IBM Plex Sans (body)
|
|
36
|
-
- Three surface tiers: Chrome (base-200), Stage (base-100 + dot-grid), Elevated (base-300 + shadow)
|
|
37
|
-
- Never hardcode colors — always use CSS variables/theme tokens
|
|
38
|
-
- WCAG AA contrast, prefers-reduced-motion, keyboard-first
|
|
39
|
-
|
|
40
|
-
## Pre-existing Errors
|
|
41
|
-
DO NOT EVER LEAVE PRE-EXISTING ERRORS. FIX THEM.
|
|
42
|
-
|
|
43
|
-
## Environment
|
|
44
|
-
- ANTHROPIC_API_KEY is optional — server uses the token from `claude setup-token` if not set.
|
|
45
|
-
- Server binds to 0.0.0.0:7654 in production, 0.0.0.0:17654 in dev (WSL2 compatible).
|
|
46
|
-
- Client dev server runs on :5173 and proxies to :17654. Production serves from server via client/dist/.
|
|
47
|
-
- `LATTICE_HOME` — override data directory (default: `~/.lattice`).
|
|
48
|
-
- `LATTICE_PORT` — override server port (default: 7654). Also: `--port=N`.
|
|
49
|
-
|
|
50
|
-
## Testing
|
|
51
|
-
- Playwright tests live in `tests/` at the project root.
|
|
52
|
-
- Tests require the server running on localhost:7654.
|
|
53
|
-
- Screenshots on failure go to `test-results/`.
|
|
54
|
-
- Use Playwright MCP for visual verification. Save screenshots to `.playwright-mcp/`.
|
|
55
|
-
|
|
56
|
-
### Testing Mesh/Node Functionality
|
|
57
|
-
Run a second Lattice instance with a separate data directory and port:
|
|
58
|
-
```bash
|
|
59
|
-
LATTICE_HOME=/tmp/lattice-test-node LATTICE_PORT=7655 bun server/src/index.ts daemon
|
|
60
|
-
```
|
|
61
|
-
Then pair the two instances via the UI or WebSocket:
|
|
62
|
-
```bash
|
|
63
|
-
# Generate invite on :7654, then pair from :7655:
|
|
64
|
-
bun -e "
|
|
65
|
-
var ws = new WebSocket('ws://localhost:7655/ws');
|
|
66
|
-
ws.onopen = function() { ws.send(JSON.stringify({ type: 'mesh:pair', code: 'LTCE-XXXX-...' })); };
|
|
67
|
-
ws.onmessage = function(e) { console.log(JSON.parse(e.data).type); };
|
|
68
|
-
"
|
|
69
|
-
```
|
|
70
|
-
The test instance serves from `client/dist/` (run `bun run build` first for UI access on :7655).
|
|
71
|
-
Clean up: `rm -rf /tmp/lattice-test-node`
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
# Contributing to Lattice
|
|
2
|
-
|
|
3
|
-
Thanks for your interest in contributing to Lattice! This document covers the basics you need to get started.
|
|
4
|
-
|
|
5
|
-
## Development Setup
|
|
6
|
-
|
|
7
|
-
### Prerequisites
|
|
8
|
-
|
|
9
|
-
- [Bun](https://bun.sh/) v1.1+
|
|
10
|
-
- Node.js 20+ (for some tooling)
|
|
11
|
-
- Git
|
|
12
|
-
|
|
13
|
-
### Getting Started
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
git clone https://github.com/cryptiklemur/lattice.git
|
|
17
|
-
cd lattice
|
|
18
|
-
bun install
|
|
19
|
-
bun run dev
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
The dev server starts on `http://localhost:7654` with hot reload for both server and client.
|
|
23
|
-
|
|
24
|
-
### Project Structure
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
lattice/
|
|
28
|
-
shared/ # Shared TypeScript types and message definitions
|
|
29
|
-
server/ # Bun server — WebSocket handlers, session management, mesh networking
|
|
30
|
-
client/ # React + Vite client — dashboard, settings, chat UI
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Development Workflow
|
|
34
|
-
|
|
35
|
-
### Coding Standards
|
|
36
|
-
|
|
37
|
-
- Use `var` instead of `const`/`let`
|
|
38
|
-
- No arrow functions — use `function` keyword
|
|
39
|
-
- Use `lucide-react` for all icons
|
|
40
|
-
- Follow `.editorconfig` (2-space indent, LF line endings, UTF-8)
|
|
41
|
-
- One class per file
|
|
42
|
-
|
|
43
|
-
### Commit Messages
|
|
44
|
-
|
|
45
|
-
We follow [Angular Commit Message Conventions](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#-commit-message-format):
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
<type>(<scope>): <short summary>
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
**Types:** `feat`, `fix`, `refactor`, `docs`, `style`, `test`, `chore`, `ci`
|
|
52
|
-
|
|
53
|
-
**Scopes:** `client`, `server`, `shared`, or omit for cross-cutting changes
|
|
54
|
-
|
|
55
|
-
**Examples:**
|
|
56
|
-
```
|
|
57
|
-
feat(client): add skill marketplace search
|
|
58
|
-
fix(server): use correct node identity for project list
|
|
59
|
-
refactor(shared): extract MCP form components
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Building
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
bun run build # Build all packages
|
|
66
|
-
bun run typecheck # Type-check without emitting
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Testing Changes
|
|
70
|
-
|
|
71
|
-
1. Run the dev server: `bun run dev`
|
|
72
|
-
2. Open `http://localhost:7654` in your browser
|
|
73
|
-
3. Verify your changes work visually
|
|
74
|
-
|
|
75
|
-
## Pull Requests
|
|
76
|
-
|
|
77
|
-
1. Fork the repo and create a branch from `main`
|
|
78
|
-
2. Make your changes following the coding standards above
|
|
79
|
-
3. Ensure the project builds without errors: `bun run build`
|
|
80
|
-
4. Write a clear PR description explaining what changed and why
|
|
81
|
-
5. Submit your PR
|
|
82
|
-
|
|
83
|
-
## Reporting Issues
|
|
84
|
-
|
|
85
|
-
Use [GitHub Issues](https://github.com/cryptiklemur/lattice/issues) to report bugs or suggest features. Include:
|
|
86
|
-
|
|
87
|
-
- Steps to reproduce (for bugs)
|
|
88
|
-
- Expected vs actual behavior
|
|
89
|
-
- Your environment (OS, Bun version, browser)
|
|
90
|
-
|
|
91
|
-
## License
|
|
92
|
-
|
|
93
|
-
By contributing, you agree that your contributions will be licensed under the [MIT License](LICENSE).
|