Expand description
§agnix-lsp
Language Server Protocol implementation for agnix.
Provides real-time validation of agent configuration files in editors that support LSP (VS Code, Neovim, Helix, etc.).
§Features
- Real-time diagnostics on file open, change, and save
- Quick-fix code actions for automatic repairs
- Hover documentation for configuration fields
- Supports all agnix validation rules
- Maps agnix diagnostics to LSP diagnostics
§Usage
Run the LSP server:
agnix-lspThe server communicates over stdin/stdout using the LSP protocol.
Structs§
- Backend
- LSP backend that handles validation requests.
- VsCode
Config - VS Code configuration received from workspace/didChangeConfiguration.
- VsCode
Rules - Rule category toggles from VS Code settings.
- VsCode
Specs - Spec revision pins from VS Code settings.
- VsCode
Versions - Tool version pins from VS Code settings.
Functions§
- start_
server - Start the LSP server.