ela
Contents

ManualAgents

A language server

In the terminalela --spec a-language-server

ela --lsp gives --lint's findings as diagnostics and --explain's entries on hover, while the agent edits .ela files. When the agent's harness or editor runs language servers, point it at ela --lsp.

Claude Code runs a language server from a plugin's .lsp.json. It maps each server's name to its command and the file extensions it serves:

{  "ela": {    "command": "ela",    "args": ["--lsp"],    "extensionToLanguage": {".ela": "ela"}  }}
  • claude --plugin-dir <folder> loads the plugin for a session.
  • The server gives the same answers as --lint and --explain, and never others.
  • Without a language server, run ela --lint --json - before each run.

(ela --spec lsp)