Skip to content

Commit 680293d

Browse files
committed
docs: say doctor --fix renews an expired Kotlin LSP build in the web UI spec
1 parent b3ed614 commit 680293d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/specs/web-ui.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ A 409 `conflict` for a taken slot names what holds it inside the error document:
260260

261261
| Method and path | Request | Response and use case |
262262
|-----------------|---------|-----------------------|
263-
| `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: upgrade cstudy, whose next release pins a newer 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 |
263+
| `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 |
264264
| `GET /api/v1/code-intelligence?attempt_id=N` | A WebSocket upgrade | A [language-server session](#sessions) for the attempt's root |
265265

266266
## Runs

0 commit comments

Comments
 (0)