Language server
The Core package includes a lightweight Language Server Protocol implementation over standard input and output. It detects the workspace from rootUri or workspace folders, runs the analyzer, and publishes findings with rule code, severity, confidence, location, and message.
npm install @optiprune/corenpm run buildnpx optiprune-language-serverThe 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.