- Implemented structured markdown role headings and tool result merging to improve conversation readability. - Added explicit `<out>` tags for tool result wrapping and enhanced rendering for thinking blocks. - Refactored authentication snapshot validation to use manual structural checks instead of schema dependencies. - Fixed instability in settings overlay scrolling and addressed assistant message splitting issues.
630 B
630 B
User ¶
Fix the settings overlay crash. Wheeling past the last row throws.
Tool call ¶
//Reading the select-list hit test read(path="src/select-list.ts:140-180") 162: const index = Math.floor(line / rowHeight); index is never checked against bounds.
Assistant ¶
Found it. The hit test indexes past the filtered list; clamping to the last row fixes the crash.
User ¶
Does the fix survive filtering?
Assistant ¶
Yes. The clamp applies after the filter pass, so a narrowed list keeps the hit map in sync. Added a regression test that wheels past the last row with a filter active and asserts no throw.