XDOG

Tools for building AI agents and managing LLM deployments.

GitHub →

xdog / Packages / tui / Features

Dependency-light rendering and input primitives shared by applications, not their permission or runtime policy.

Rendering

Differential main-buffer rendering
Components return ANSI line arrays; changed lines repaint while scrollback is preserved.
Unicode and cursor handling
Width-aware clipping, wrapping, CJK/emoji support and real-cursor placement.

Components

Messages and transcripts
Reusable user/assistant/tool presentation and bounded transcript views.
Editors and navigation
Multiline editing, undo/kill ring, pickers and completion components.

Input

Terminal input
xterm/Kitty key parsing and scoped keybindings; host admission and approvals stay outside TUI.
Images and attachments
Terminal-capability-aware image protocols and Linux attachment/clipboard helpers.