Files
oh-my-pi/packages/coding-agent/src/modes/components/snapcompact-shape-preview-doc.md
T
can1357 711fa43123 feat(snapcompact): switched to compact scope markers for archived transcripts
- Replaced markdown-style headings with concise `¶user:`, `¶think:`, `¶ai:`, and `¶call:` scope markers.
- Updated the serializer to merge consecutive messages or blocks of the same type under a shared prefix.
- Updated the documentation prompt to reflect the new compact formatting and scope rules.
- Added regression tests verifying scope merging and correct formatting of tool calls and intents.
2026-07-13 01:35:40 +02:00

660 B

¶user:Fix the settings overlay crash. Wheeling past the last row throws.

¶call:read(path="src/select-list.ts:140-180")//Reading the select-list hit test 162: const index = Math.floor(line / rowHeight); index is never checked against bounds.

¶ai:Found it. The hit test indexes past the filtered list; clamping to the last row fixes the crash.

¶user:Does the fix survive filtering?

¶think:Check whether the clamp runs before or after filtering.

¶ai: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.