co-mono/packages/coding-agent
Mario Zechner 02a21dd936 Fix viewport width issues in thinking selector and text rendering
Thinking selector fix:
- Replace hardcoded 50-character borders with DynamicBorder component
  that adjusts to viewport width
- Prevents crash when terminal is resized narrow

Text/Markdown rendering fixes:
- Fix Markdown wrapSingleLine to check if adding next character would
  exceed width BEFORE adding it (was checking AFTER, causing lines to
  be 1 character too long)
- Add word truncation in Text component for words longer than
  contentWidth (prevents long unbreakable words from exceeding width)

These fixes prevent "Rendered line exceeds terminal width" errors.
2025-11-11 23:52:18 +01:00
..
src Fix viewport width issues in thinking selector and text rendering 2025-11-11 23:52:18 +01:00
test Agent package + coding agent WIP, refactored web-ui prompts 2025-10-17 11:47:01 +02:00
example.json Add abort signal handling to read, write, and edit tools 2025-11-11 23:28:39 +01:00
example.txt Improve tool execution rendering and error handling 2025-11-11 23:05:58 +01:00
long-data.json Fix SelectList crash on narrow terminal and thinking level restoration 2025-11-11 23:47:59 +01:00
package.json Clean up TUI package and refactor component structure 2025-11-11 10:32:18 +01:00
test.json Fix tab rendering in TUI components 2025-11-11 23:24:48 +01:00
tsconfig.build.json Agent package + coding agent WIP, refactored web-ui prompts 2025-10-17 11:47:01 +02:00
vitest.config.ts Agent package + coding agent WIP, refactored web-ui prompts 2025-10-17 11:47:01 +02:00