+| `GET /api/v1/code-intelligence/languages` | | `{"languages": [{"language": "python", "server": "basedpyright", "version": "1.40.2", "state": "installed", "detail": "basedpyright 1.40.2", "idle_s": 60}, …]}`, one entry per language in `cstudy list`'s order; `language_server_states`, the use case of the `code intelligence` rows of [`cstudy doctor`](cli.md#cstudy-doctor), whatever the preference says. `state` is `installed`, `not_installed` (`detail` `not installed: run cstudy doctor --fix`, or the version command's failure), `needs_jdk` (installed, but the selected JDK is not one the server runs on or imports with: Java's `detail` is `needs JDK 25 or 26`, Kotlin's `needs JDK 21 to 26`), `expired` (the pinned build's last day has passed, as the Kotlin LSP's early-access builds stop: `detail` `expired on 2026-11-13`, and the fix is `cstudy doctor --fix`, which fetches the newest build), `license_not_accepted` (the Kotlin LSP's license is not recorded as accepted: `detail` `license not accepted: run cstudy doctor --fix --accept-license kotlin-lsp`) or `not_available` (`detail` `not available yet`; `server` and `version` null). `version` is the pinned version; `idle_s` the catalog's idle time, null without a server |
0 commit comments