You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adjust indexing used when anchoring actions and task ranges so actions
and extmarks align with their rendered lines:
- formatter.add_action: use (line or output:get_line_count()) - 1
- formatter/tools/task: set display_line = start_line and range = { from = start_line + 1, to = end_line + 1 }
- renderer/buffer: pass line_start to add_actions instead of line_start + 1
- renderer: avoid inserting synthetic revert message into state.messages; notify via events only
Add tests:
- unit tests for formatter anchoring and assistant-mode fallback
- replay test asserting a single synthetic revert message is produced
Fixes off-by-one rendering/anchor issues and adds tests to prevent regressions.
0 commit comments