Describe the request
Problem:
When the agent’s internal reasoning/thinking content is in Hebrew (or other RTL languages), it still renders left-to-right in the collapsible reasoning UI. Chat replies can be RTL, but the reasoning block does not follow the same direction.
Expected behavior:
- Detect RTL scripts (Hebrew, Arabic, etc.) in reasoning/thinking text
- Apply dir=“rtl” and appropriate text-align automatically in the reasoning UI
- Keep code/SQL/identifiers LTR where appropriate (same as chat)
Why it matters:
Hebrew reasoning is hard to read when displayed LTR; inconsistent with RTL chat responses.
Environment:
- OS: Windows 10 (10.0.26200) x64
- Cursor: 3.8.11 (Stable, glass layout)