Files
Ricardo-M-L 95f60f3f8b fix: correct inverted scroll direction mapping in Anthropic agent loop (#1281)
In `_convert_responses_items_to_completion_messages`, the scroll direction
mapping was completely inverted for all 4 directions:
- scroll_x > 0 mapped to "left" instead of "right"
- scroll_x < 0 mapped to "right" instead of "left"
- scroll_y > 0 mapped to "up" instead of "down"
- scroll_y < 0 mapped to "down" instead of "up"

The reverse conversion in `_convert_completion_to_responses_items` was
correct, making the forward and reverse mappings inconsistent — a
round-trip would invert the scroll direction.
2026-04-10 11:37:40 -07:00
..