Files
lucisv/Cargo.toml
T
lucioandClaude Fable 5 aa303ce9ae
release / build-and-publish (push) Successful in 3m29s
LSP §9a: applyEdit compliance, pull diagnostics, expand selection; v0.8.0
The three top findings of the LSP 3.18 audit (TODO.md §9), one round of
dev (Opus) + QA (Sonnet) + lead review:

- executeCommand now pushes its WorkspaceEdit as workspace/applyEdit and
  reads the client's verdict; the old return-the-edit behavior stays as
  the documented fallback for clients without the capability. This fixes
  the three port commands doing nothing in stock clients — the returned
  edit was dropped by vscode-languageclient and Neovim alike.
  docs/features/apply-edit/README.md
- textDocument/diagnostic + workspace/diagnostic (LSP 3.17), served from
  the same parse+lint pass the push model publishes, with resultId /
  unchanged caching on one generation counter; a pulling client is pushed
  nothing, a pushing client is unchanged. QA's exhaustive input trace
  found no stale-unchanged path. docs/features/pull-diagnostics/README.md
- textDocument/selectionRange: chains from token spans, the tolerant
  parse's item/statement spans and the scope-pair matcher, filtered to
  strict nesting; the invariant swept over all 860 corpus files (6,880
  positions, held everywhere). docs/features/selection-range/README.md

43 tests added across unit/e2e (server 557 -> 594+ unit, 29 -> 32 e2e);
fmt/clippy/test/smoke all clean, re-verified independently by QA and by
the lead.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-26 11:06:51 -07:00

46 lines
1.6 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/vlog_parser",
"crates/vlog_semantic",
"crates/vlog_refactor",
"crates/vlog_formatter",
"crates/vlog_linter",
"crates/lucisv_core",
"crates/lucisv",
"crates/lucisv_server",
]
[workspace.package]
version = "0.8.0"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
# `rayon` is sanctioned by TODO.md §3 (parallel file processing) and used by
# `lucisv` only. Pinned exactly, because a work-stealing scheduler is exactly
# the kind of dependency whose minor releases can change thread behavior;
# justification in docs/features/parallel-files/README.md.
[workspace.dependencies]
rayon = "=1.12.0"
# The LSP stack, sanctioned by TODO.md §6 ("`tower-lsp` or `lsp-server`"), used
# by `lucisv_server` only. `lsp-server` is rust-analyzer's synchronous transport
# (no async runtime); `lsp-types` is the protocol's data model, which is not
# something to hand-roll. All pinned exactly for the same reason `rayon` is: a
# wire protocol's Rust bindings change shape between minor releases. Transitive
# count, build scripts and the versions considered are audited in
# docs/features/lucisv-server/README.md.
lsp-server = "=0.10.0"
# `proposed` is what carries LSP 3.18's `textDocument/inlineCompletion` — the
# params, the client/server capability. Nothing else in the feature is used,
# and the *response* types are hand-rolled in `inline.rs` because 0.97's are
# an older draft than the client implements
# (docs/features/inline-templates/README.md).
lsp-types = { version = "=0.97.0", features = ["proposed"] }
serde = "=1.0.229"
serde_json = "=1.0.140"
[profile.release]
lto = true