opencode
opencode copied to clipboard
Agents misinterpret LSP diagnostics as failed edits
When an edit or write operation succeeds but triggers LSP diagnostics (errors/warnings), the tool output only shows the diagnostics. This can lead agents to believe the operation failed, causing them to retry unnecessarily or get stuck in a loop.
The output should clearly indicate that the edit/write was applied successfully, even if diagnostics are present.