TODO §71.3. On OpenTitan the first colours of a newly opened file waited 600-700 ms for the index (building them takes 0.3-6.5 ms), a rescan held them for most of a second, and the first answer, built from a half-finished index, was never corrected. - server/viewport.rs: semanticTokens range, full and full/delta for a buffer whose text is current are answered from that buffer alone before the request would be held — when no change for it is queued anywhere (held, 71.7's behind count, set aside ahead of it in its burst) and it is not dirty. The handler reads only that document and the remembered token answer. Built on 0.65.8's must_hold; the lane's own queue tracking is gone. - server/index.rs: open_then_widen applies the didOpen, answers the burst's colour requests, then widens; reindex_widened answers colour requests between its files. - One workspace/semanticTokens/refresh once the index settles, when an early answer differed or was a guess; only for clients with refreshSupport, which are also the only ones given early full answers. - tokens.rs: range classifies only the window's tokens (+1 each side) and skips AST items outside it; large.rs's line window is shared. First colour 2-39 ms (was 600-700); folder-scope late open 611-641 -> 2-32 ms; rescan hold 325-791 -> 70-159 ms. 96.8 % of early tokens already match the settled answer; the rest resolve through the index. Dev (two rounds), QA (two rounds: ~10 000 token answers against an exact oracle, 978 non-colour answers identical to base) and lead review: docs/features/viewport-highlight/README.md. Not seen in a running editor. Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both package-lock.json spots); notes in CHANGELOG.md (## 0.65.10) and editors/vscode/CHANGELOG.md. Gates: tools/gates.sh PASS on this tree including cross; lucisv_server 2052/0. Co-Authored-By: Claude Mythos 5.2 <[email protected]>
299 lines
6.6 KiB
TOML
299 lines
6.6 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 4
|
|
|
|
[[package]]
|
|
name = "bitflags"
|
|
version = "1.3.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
[[package]]
|
|
name = "crossbeam-channel"
|
|
version = "0.5.16"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e"
|
|
dependencies = [
|
|
"crossbeam-utils",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crossbeam-deque"
|
|
version = "0.8.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
|
|
dependencies = [
|
|
"crossbeam-epoch",
|
|
"crossbeam-utils",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crossbeam-epoch"
|
|
version = "0.9.20"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
|
|
dependencies = [
|
|
"crossbeam-utils",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crossbeam-utils"
|
|
version = "0.8.22"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
|
|
|
|
[[package]]
|
|
name = "either"
|
|
version = "1.17.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9e5e8f6c15a24b9a3ee5efec809ccd006d3b30e8b3bb63c39af737c7f87daa1d"
|
|
|
|
[[package]]
|
|
name = "fluent-uri"
|
|
version = "0.1.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d"
|
|
dependencies = [
|
|
"bitflags",
|
|
]
|
|
|
|
[[package]]
|
|
name = "itoa"
|
|
version = "1.0.18"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
|
|
[[package]]
|
|
name = "log"
|
|
version = "0.4.33"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
|
|
|
|
[[package]]
|
|
name = "lsp-server"
|
|
version = "0.10.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3ee25a31f2e571e426eef2896179450cafc7e2f5be00d8a93b1c2d21c0ff7656"
|
|
dependencies = [
|
|
"crossbeam-channel",
|
|
"log",
|
|
"serde",
|
|
"serde_derive",
|
|
"serde_json",
|
|
]
|
|
|
|
[[package]]
|
|
name = "lsp-types"
|
|
version = "0.97.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "53353550a17c04ac46c585feb189c2db82154fc84b79c7a66c96c2c644f66071"
|
|
dependencies = [
|
|
"bitflags",
|
|
"fluent-uri",
|
|
"serde",
|
|
"serde_json",
|
|
"serde_repr",
|
|
]
|
|
|
|
[[package]]
|
|
name = "lucisv"
|
|
version = "0.65.10"
|
|
dependencies = [
|
|
"lucisv_core",
|
|
"rayon",
|
|
"vlog_formatter",
|
|
"vlog_linter",
|
|
"vlog_parser",
|
|
]
|
|
|
|
[[package]]
|
|
name = "lucisv_core"
|
|
version = "0.65.10"
|
|
|
|
[[package]]
|
|
name = "lucisv_mcp"
|
|
version = "0.65.10"
|
|
dependencies = [
|
|
"lucisv_core",
|
|
"serde",
|
|
"serde_json",
|
|
"vlog_formatter",
|
|
"vlog_linter",
|
|
"vlog_parser",
|
|
"vlog_refactor",
|
|
"vlog_semantic",
|
|
]
|
|
|
|
[[package]]
|
|
name = "lucisv_server"
|
|
version = "0.65.10"
|
|
dependencies = [
|
|
"lsp-server",
|
|
"lsp-types",
|
|
"lucisv_core",
|
|
"serde",
|
|
"serde_json",
|
|
"vlog_formatter",
|
|
"vlog_linter",
|
|
"vlog_parser",
|
|
"vlog_refactor",
|
|
"vlog_semantic",
|
|
]
|
|
|
|
[[package]]
|
|
name = "memchr"
|
|
version = "2.8.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "1.0.107"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
dependencies = [
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "quote"
|
|
version = "1.0.47"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rayon"
|
|
version = "1.12.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
dependencies = [
|
|
"either",
|
|
"rayon-core",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rayon-core"
|
|
version = "1.13.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
dependencies = [
|
|
"crossbeam-deque",
|
|
"crossbeam-utils",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ryu"
|
|
version = "1.0.23"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
|
|
[[package]]
|
|
name = "serde"
|
|
version = "1.0.229"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
dependencies = [
|
|
"serde_core",
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_core"
|
|
version = "1.0.229"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
dependencies = [
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_derive"
|
|
version = "1.0.229"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_json"
|
|
version = "1.0.140"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
|
|
dependencies = [
|
|
"itoa",
|
|
"memchr",
|
|
"ryu",
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_repr"
|
|
version = "0.1.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "syn"
|
|
version = "3.0.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "unicode-ident"
|
|
version = "1.0.24"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
|
|
[[package]]
|
|
name = "vlog_formatter"
|
|
version = "0.65.10"
|
|
dependencies = [
|
|
"vlog_parser",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vlog_linter"
|
|
version = "0.65.10"
|
|
dependencies = [
|
|
"lucisv_core",
|
|
"vlog_formatter",
|
|
"vlog_parser",
|
|
"vlog_semantic",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vlog_parser"
|
|
version = "0.65.10"
|
|
|
|
[[package]]
|
|
name = "vlog_refactor"
|
|
version = "0.65.10"
|
|
dependencies = [
|
|
"vlog_formatter",
|
|
"vlog_parser",
|
|
"vlog_semantic",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vlog_semantic"
|
|
version = "0.65.10"
|
|
dependencies = [
|
|
"vlog_parser",
|
|
]
|