MCP M7: the lean catalogue — nine tools, 3 440 model-visible bytes, no dry_run/paging, short answers
hierarchy (file:line per instance, peek), find (every declaration by name, refs + unresolved mentions), outline, read, check, rename, port, edit_item, format. Name lookup reaches every declaration the symbol tables hold (tools/declared.rs); rename of a generate-block label is refused (engine gap filed as topo §2.9 MCP-14). Text-only results, engine sentences made root-relative. Tests ported or deleted per the README; QA lane in tests/qa_m7.rs. Docs, smoke gate, release notes (0.58.0 unreleased) updated. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
edad66947f
commit
bfa8e98eb5
59 files changed
+4895
-7672
No files matched your search
+2
-2
@@ -126,8 +126,8 @@ tools/release.sh # or: tools/release.sh -o /some/other/dir
|
||||
It builds `--release`, copies the three binaries into `dist/` under
|
||||
version-and-host names, smoke-tests the server binary with
|
||||
`editors/vscode/smoke.js` and the MCP server with `editors/vscode/mcp_smoke.js`
|
||||
(initialize, `tools/list` with at least 26 tools, one `project_overview` over a
|
||||
tiny temporary project), packages the extension into `dist/lucisv-<version>.vsix`
|
||||
(initialize, `tools/list` with exactly the nine tools in order, one `hierarchy`
|
||||
over a tiny temporary project), packages the extension into `dist/lucisv-<version>.vsix`
|
||||
and into the host's platform package, runs both smoke tests again against the
|
||||
binaries *unzipped out of* that package (and, with `--cross`, out of the `all`
|
||||
package), and writes `dist/SHA256SUMS`. `dist/` is gitignored and is
|
||||
|
||||
+3
-2
@@ -131,7 +131,8 @@ fi
|
||||
# Prove the server binary still speaks LSP before it is handed to anyone.
|
||||
# `smoke.js` is plain node with no dependencies, so this runs before `npm ci`.
|
||||
# The MCP server gets the same treatment from `mcp_smoke.js`: initialize,
|
||||
# tools/list and one project_overview over stdio against a tiny temp project.
|
||||
# tools/list (the nine tools, in order) and one `hierarchy` over stdio against a
|
||||
# tiny temp project.
|
||||
if command -v node >/dev/null 2>&1; then
|
||||
echo "==> smoke-testing the server binary"
|
||||
node "$repo_root/editors/vscode/smoke.js" "$dist/lucisv-server-$version-$host"
|
||||
@@ -254,7 +255,7 @@ smoke_embedded_server() { # vsix file name, the bin/ path inside the package
|
||||
}
|
||||
|
||||
# The same for the MCP server the package carries: unzipped, then driven through
|
||||
# initialize, tools/list and one project_overview by `mcp_smoke.js`.
|
||||
# initialize, tools/list and one `hierarchy` by `mcp_smoke.js`.
|
||||
smoke_embedded_mcp() { # vsix file name, the bin/ path inside the package
|
||||
vsix=$1
|
||||
inner=$2
|
||||
|
||||
Reference in new issue
Block a user