-
released this
2026-08-26 14:11:59 -07:00 | 330 commits to master since this releaseThe performance-model release: TODO.md §9b, the high-value half of the
LSP 3.18 audit, shipped one feature per dev/QA/review round.Incremental text sync
A keystroke now costs one range on the wire, not the whole file. Edits
are applied by one pure function with clamping rules inherited from the
existing position converter — a backwards range becomes a pure
insertion, the only reading that cannot lose text — cross-checked
against an independent reference model over 400 randomized edit
sequences. One notification is still one reparse, one diagnostics
generation, one publish.Format on save (willSaveWaitUntil)
The protocol's native format-on-save hook, for editors without one of
their own. Off by default (lucisv.formatOnSave) so it never fights an
editor that already formats on save; when on, it is the formatting
request with a different trigger — same engine, same verified-output,
all-or-nothing contract. The one protocol gap (no editor tab size on
this path) is documented rather than papered over.Semantic tokens: range and delta
semanticTokens/rangeanswers just the lines the editor is showing;
full/deltaanswers edits against the previous result instead of the
whole token set. One tokenizer and one pure encoder serve full, range
and delta, proven byte-identical to the old encoder over a 41k-token
corpus file; the delta's single-edit diff carries the classic
prefix/suffix overlap trap, deliberately broken twice (dev and QA,
independently) to prove the suite catches it.A progress bar on indexing
Every workspace rescan — the startup build included — now shows a real
progress bar in clients that support one: what is being indexed, no
invented percentages, and an honest file count when it comes down.$/cancelRequest
The server reads its backlog in bursts and answers a request whose
cancel arrived alongside it with RequestCancelled instead of computing
it — completion requests a fast typist already outran no longer cost a
parse each. Cancellation is stateless by construction: a cancel matters
only next to its own request, everything else is dropped on sight, and
no cancel can talk the server out of a shutdown. Enabled by the
server's first thread — a 12-line forwarder that makes the client's
backlog observable at all through lsp-server's rendezvous channels.Downloads