Dependency-light rendering and input primitives shared by applications, not their permission or runtime policy.
Rendering
Components return ANSI line arrays; changed lines repaint while scrollback is preserved.
Width-aware clipping, wrapping, CJK/emoji support and real-cursor placement.
Components
Reusable user/assistant/tool presentation and bounded transcript views.
Multiline editing, undo/kill ring, pickers and completion components.
Input
xterm/Kitty key parsing and scoped keybindings; host admission and approvals stay outside TUI.
Terminal-capability-aware image protocols and Linux attachment/clipboard helpers.