Release date: 2026-03-19
Long-lived TCP graph worker (daemon), gateway routing for CLI and MCP, worker CLI commands, CI, README/docs refresh, and LSP update guidance in INSTALL.
- Worker:
sysmledgraph worker start [--detach] | stop | status; TCP NDJSON daemon (src/worker/daemon.ts) with serialized dispatch,worker.port+worker.lock, shutdown RPC and signals. - Gateway:
src/worker/gateway.ts— long-lived TCP → optional stdio worker → in-process; MCP and graph artifacts use it whenworker.portorSYSMLEGRAPH_WORKER_URLis set. - Socket client:
ensureLongLivedClient/requestLongLivedwith optional reconnect when notSYSMLEGRAPH_WORKER_STRICT=1.
graph export/graph map; npmexport-graph/generate-mapdelegate to CLI (gateway-aware).scripts/index-and-query.mjsuses gateway + mergedgraph.kuzuandSYSMEDGRAPH_STORAGE_ROOT.- Worker exit codes:
worker start2 if already running; staleworker.port+ live PID handling;worker statusreports stale port file.
npm run test:daemon— Vitest e2e (vitest.e2e.config.ts), worker + concurrent RPC smoke;fileParallelism: falsefor global storage root..github/workflows/ci.yml— Windows, Node 20:npm ci,build,test,test:daemon.
- README: Versioning, env vars, full command tables, MCP tools/resources, CI link.
- docs/INSTALL.md: Updating sysml-v2-lsp; editor highlighting vs language server.
- docs/MCP_INTERACTION_GUIDE.md, docs/PLAN.md, docs/DESIGN_LONG_LIVED_WORKER.md, PLAN_IMPLEMENT_LONG_LIVED_WORKER.md — worker alignment.
.npmrcremoved from version control (belongs in.gitignoreonly). If it was ever pushed with a token, rotate that npm token at npmjs.com.
npm install sysmledgraph@0.8.0
cd node_modules/sysmledgraph && npm run setup-lsp
npm run build # from source cloneOptional: sysmledgraph worker start --detach with shared SYSMEDGRAPH_STORAGE_ROOT for CLI + MCP without Kuzu lock conflicts.
Later releases: release-notes-v0.8.1.md, release-notes-v0.8.2.md.