This commit is contained in:
1 parent
69383eae7f
commit
6d1c68994c
38 files changed
+744
-443
No files matched your search
@@ -89,7 +89,7 @@ and on one core the corpus check goes from 396 ms to 51 ms (2.3× at the default
|
||||
thread count, where parallelism has already taken the easy win).
|
||||
|
||||
An entry is keyed on **(content hash, `line-length`, `indent`,
|
||||
`uvm-utils-indent`, lucisv version)** per file, and only ever records the *already formatted* verdict — a file that
|
||||
`uvm-utils-indent`, `style`, lucisv version)** per file, and only ever records the *already formatted* verdict — a file that
|
||||
would be reformatted, or that failed, is re-checked on every run. The store is one
|
||||
text file in `.lucisv_cache/` (self-ignoring, like cargo's `target/`); deleting
|
||||
it, or a corrupted one, costs one slow run and nothing else. `--no-cache`
|
||||
@@ -979,9 +979,8 @@ The editor now offers these refactorings alongside rename and port propagation:
|
||||
| Inline module | Copy a separate-file module body into its instance site with simple named-connection substitution and collision-aware internal renaming |
|
||||
|
||||
The [language-tools reference](docs/site/src/content/docs/reference/language-tools.md)
|
||||
records commands and refusal limits. Inline-module has a known transitive
|
||||
source-selection gap; review hierarchical uses through wrapper modules before
|
||||
applying it (topology handshake 33).
|
||||
records commands and refusal limits (the inline-module transitive source-selection gap,
|
||||
topology handshake 33, closed in v0.51.0).
|
||||
|
||||
In the VS Code hierarchy, **Star as DUT** groups a module’s children and
|
||||
parents into sections alongside Other Modules. Stars persist per workspace;
|
||||
@@ -998,7 +997,7 @@ code --install-extension lucisv-<version>-darwin-arm64.vsix
|
||||
```
|
||||
|
||||
— or take `lucisv-<version>-all.vsix`, which carries all five platforms' binaries
|
||||
in one file and picks the right pair at startup, when the machine is not known
|
||||
in one file and picks the right binaries at startup, when the machine is not known
|
||||
in advance (or is Alpine, which VS Code never offers a Linux package to).
|
||||
|
||||
Every other editor (and the universal `lucisv-<version>.vsix`, the fallback
|
||||
@@ -1006,7 +1005,7 @@ for platforms not listed) finds `lucisv-server` on `PATH`; the binary comes
|
||||
from the same build as the CLI:
|
||||
|
||||
```bash
|
||||
cargo build --release # target/release/lucisv-server (and target/release/lucisv)
|
||||
cargo build --release # target/release/{lucisv,lucisv-server,lucisv-mcp}
|
||||
cp target/release/lucisv-server ~/.local/bin/ # anywhere on PATH
|
||||
```
|
||||
|
||||
@@ -1044,13 +1043,14 @@ vim.lsp.enable('lucisv')
|
||||
`editors/nvim/README.md`.
|
||||
|
||||
**Agents (MCP).** `lucisv-mcp` is lucisv as a Model Context Protocol server
|
||||
for coding agents: project overview, unit interfaces, outlines, one item's
|
||||
source, definition/references/hierarchy, diagnostics, and verified edits
|
||||
(format, lint fixes, rename, the port refactorings, single-item
|
||||
replace/insert/delete), each with `dry_run`. The platform `.vsix` packages
|
||||
carry it as a third binary and, on VS Code 1.101+, register it with agent
|
||||
mode — one server per workspace folder, under **MCP: List Servers**
|
||||
(`lucisv.mcp.enabled`, `lucisv.mcp.path`). For Claude Code or Cursor, run
|
||||
for coding agents: nine lean tools in full mode (`hierarchy`, `find`, `outline`,
|
||||
`read`, `check`, `rename`, `port`, `edit_item`, `format`) and five in
|
||||
`--read-only` mode (`hierarchy`, `find`, `outline`, `read`, `check`), with no
|
||||
dry run — edits verify everything in memory before writing all-or-nothing.
|
||||
The platform `.vsix` packages carry it as a third binary and, on VS Code
|
||||
1.101+, register it with agent mode — one server per workspace folder, under
|
||||
**MCP: List Servers** (`lucisv.mcp.enabled`, `lucisv.mcp.path`,
|
||||
`lucisv.mcp.mode`). For Claude Code or Cursor, run
|
||||
**lucisv: Copy MCP server config** in VS Code, or by hand:
|
||||
`cargo build --release -p lucisv_mcp`, then
|
||||
`claude mcp add lucisv -- lucisv-mcp --root .`. The tool list, the config
|
||||
@@ -1094,7 +1094,7 @@ expected; no PRs or review required.
|
||||
## Building
|
||||
|
||||
```bash
|
||||
cargo build --release # binaries at target/release/{lucisv,lucisv-server}
|
||||
cargo build --release # binaries at target/release/{lucisv,lucisv-server,lucisv-mcp}
|
||||
tools/gates.sh # every gate: fmt, clippy, build, each crate's suites, doc tests, corpus, node
|
||||
tools/gates.sh --only suites # just the per-crate test suites
|
||||
```
|
||||
@@ -1118,8 +1118,8 @@ Prebuilt downloads live on the
|
||||
[releases page](https://git.luci.ooo/lucio/lucisv/releases): every tagged
|
||||
version carries **seven `.vsix` packages** — platform-specific ones for
|
||||
Apple Silicon and Intel macOS, x86-64 and ARM64 Linux (static musl) and
|
||||
Windows, each with `lucisv` and `lucisv-server` embedded, an
|
||||
all-platforms one carrying every pair at once for unknown or mixed
|
||||
Windows, each with `lucisv`, `lucisv-server`, and `lucisv-mcp` embedded, an
|
||||
all-platforms one carrying every platform's binaries at once for unknown or mixed
|
||||
machines, plus the universal no-binary fallback — and a `SHA256SUMS` to
|
||||
verify them with
|
||||
(`shasum -a 256 -c SHA256SUMS`). Sideload the one for your machine with
|
||||
|
||||
Reference in new issue
Block a user