What's wrong with this entry?
A new diagnostics boolean option on each LSP server entry in lspServers that controls whether publishDiagnostics notifications are automatically injected into the agent context after file edits.
// In settings.json:
{
"lspServers": [
{
"name": "my-lsp",
"command": "...",
"diagnostics": false
}
]
}- Defaults to
true— current behavior is unchanged unless you explicitly setfalse - Setting to
falsekeeps LSP navigation features (go-to-definition, hover, completions) active while suppressing automatic error/warning injection after edits - Useful when diagnostics are noisy or slow down the agent loop on large projects
Settings schema addition (search for "Whether to push publishDiagnostics into the agent context after edits") — added to lspServers schema at line ~11733
Strings lifted out of the shipped bundle, so the claim above can be checked against them.