Skip to content

Commit 59f2671

Browse files
committed
README: Kuzu lock note and LSP resolution wording
- Add note: close Cursor / disable MCP before full CLI reindex to avoid lock - Clarify LSP order: workspace/repo first, then package node_modules - chore: release v0.4.1 Made-with: Cursor
1 parent de522c1 commit 59f2671

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ npx sysmledgraph clean
6969
**Options and environment:**
7070

7171
- **`--storage <path>`** — Override the storage root (default: `~/.sysmledgraph`). Same as env **`SYSMEDGRAPH_STORAGE_ROOT`**.
72-
- **`SYSMLLSP_SERVER_PATH`** — Optional. Path to the sysml-v2-lsp server JS (e.g. `dist/server/server.js`). If unset, the CLI looks in local `node_modules` and then walks up from the current working directory (e.g. repo root when run from a subfolder like `tools/sysmledgraph`).
72+
- **`SYSMLLSP_SERVER_PATH`** — Optional. Path to the sysml-v2-lsp server JS (e.g. `dist/server/server.js`). If unset, the CLI looks in the current workspace/repo first (walk up from cwd), then in sysmledgraph’s `node_modules`.
7373

7474
**Storage layout:** Under the storage root: `registry.json` (list of indexed paths), and `db/<sanitized-path>.kuzu` (one Kuzu database per indexed path). On failure, the CLI writes errors to stderr and exits non-zero.
7575

76+
**Kuzu lock:** Only one process should open the same DB at a time. For a full CLI reindex, close Cursor (or disable the sysmledgraph MCP) first to avoid “Could not set lock on file”. See [docs/MCP-AND-KUZU.md](docs/MCP-AND-KUZU.md).
77+
7678
---
7779

7880
### MCP

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sysmledgraph",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Path-only SysML indexer: knowledge graph (Kuzu), MCP server (query, context, impact, rename, cypher), CLI (analyze, list, clean)",
55
"type": "module",
66
"main": "dist/src/index.js",

release-notes-v0.4.1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Changes
2+
3+
- **README: Kuzu lock note** — Added a short note in the CLI section: for a full CLI reindex, close Cursor (or disable the sysmledgraph MCP) first to avoid "Could not set lock on file"; link to docs/MCP-AND-KUZU.md.
4+
- **README: LSP resolution** — Clarified that the CLI looks in the current workspace/repo first (walk up from cwd), then sysmledgraph's `node_modules`.

0 commit comments

Comments
 (0)