co-mono/packages/ai/src
Mario Zechner 356a482527 fix(tui): add vertical scrolling to Editor when content exceeds terminal height
The Editor component now accepts TUI as the first constructor parameter,
enabling it to query terminal dimensions. When content exceeds available
height, the editor scrolls vertically keeping the cursor visible.

Features:
- Max editor height is 30% of terminal rows (minimum 5 lines)
- Page Up/Down keys scroll by page size
- Scroll indicators show lines above/below: ─── ↑ 5 more ───

Breaking change: Editor constructor signature changed from
  new Editor(theme)
to
  new Editor(tui, theme)

fixes #732
2026-01-16 04:12:21 +01:00
..
providers Add retry logic to OpenAI Codex provider 2026-01-16 03:15:59 +01:00
utils Add MiniMax provider support (#656 by @dannote) 2026-01-13 02:27:09 +01:00
cli.ts Revert "Remove Anthropic OAuth support" 2026-01-09 06:00:20 +01:00
constants.ts Finalize OpenAI Codex compatibility (#737) 2026-01-16 00:58:36 +01:00
index.ts Finalize OpenAI Codex compatibility (#737) 2026-01-16 00:58:36 +01:00
models.generated.ts fix(tui): add vertical scrolling to Editor when content exceeds terminal height 2026-01-16 04:12:21 +01:00
models.ts Revert "feat(ai): add gpt-5.2-codex to OpenAI provider (#730)" 2026-01-14 22:22:55 +01:00
stream.ts feat(ai): add support for MiniMax China (minimax-cn) provider (#725) 2026-01-14 15:41:47 +01:00
types.ts feat(ai): add support for MiniMax China (minimax-cn) provider (#725) 2026-01-14 15:41:47 +01:00