### Description OpenCode appears to hang indefinitely when running `lsp_diagnostics` against `nixd`. OpenCode waits indefinitely / appears stale. This reproduces even with all OpenCode plugins disabled. What I verified by asking the agent to debug by talking to nixd directly: - `initialize` succeeds immediately - nixd does NOT advertise `diagnosticProvider` in server capabilities - nixd DOES publish diagnostics via `textDocument/publishDiagnostics` - If a client sends `textDocument/diagnostic`, nixd never returns a response because it does not support pull diagnostics My suspicion is that if the server does not advertise `diagnosticProvider`, OpenCode should not wait on `textDocument/diagnostic` ### Environment - nixd 2.9.0 - OpenCode generated config has no custom `lsp` section - Reproduced with plugins disabled ### Plugins _No response_ ### OpenCode version 1.3.2 ### Steps to reproduce Repro: 1. Use OpenCode with nixd in a Nix repo 2. Run `lsp_diagnostics` on a `.nix` file ### Screenshot and/or share link _No response_ ### Operating System NixOS ### Terminal Konsole (KDE), Console (GNOME)
Activity
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.