Latest updateRead the latest release note →
Language server
The @optiprune/language-server package provides a lightweight Language Server Protocol integration over standard input and output. It detects the workspace from rootUri or workspace folders, runs Core, and publishes findings with rule code, severity, confidence, location, and message.
npm install @optiprune/language-servernpx optiprune-language-server --stdioThe server reacts to document open, change, and save events and reuses the normal .optiprune/cache.json cache. A client starts it as a stdio process with npx optiprune-language-server --stdio.