Files
Kilo-Org_kilocode/packages/opencode/test/tool
Marius 8551d95447 perf: filter tool diagnostics to only edited files, reducing session payload 50-77% (#6241)
* perf: filter tool diagnostics to only edited files

Tools (edit, write, apply_patch) stored LSP diagnostics for ALL project
files in their metadata. In large projects this adds 100-500KB of
unrelated diagnostics per tool call, bloating session payloads by
50-77%.

The UI only renders diagnostics for the edited file(s), so the rest is
dead weight. Extract a filterDiagnostics utility that keeps only the
relevant files' diagnostics and use it in all three tools.

* add kilocode_change marker to diagnostics filter test
2026-02-25 14:32:42 +01:00
..
2026-01-31 01:58:20 -05:00
2026-02-03 08:04:27 +01:00
2026-02-23 20:12:28 +01:00
2026-02-03 08:04:27 +01:00
2026-02-03 08:04:27 +01:00
2026-02-02 12:47:09 +01:00
2026-02-23 20:12:28 +01:00