Files
oh-my-pi/packages/coding-agent/src/modes/components/snapcompact-shape-preview-doc.md
T
can1357 2a7cb56abd feat(agent): rendered conversation logs with preferred tool syntax
- Updated compaction, branch summarization, and session dump formatting to pass preferred model tool syntax into conversation serialization.
- Enhanced shared serializers to render assistant tool calls and tool results through grammar envelopes when syntax is available, with the prior compact format as fallback.
- Aligned prompt, preview, and test fixtures to the new transcript tags: `[Think]`, `[Tool Call]`, and `[Tool Result]`.
2026-06-15 12:32:47 +02:00

588 B

[User]: Fix the settings overlay crash. Wheeling past the last row throws.

[Tool Result]: 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.