vtcode-ui
June 10, 2026 · View on GitHub
Root AGENTS.md | Unified UI: design system, theme registry, TUI framework. Consolidated from vtcode-design and vtcode-theme.
Modules
| Area | Path |
|---|---|
| Design system | design/ — color conversion, style bridging, layout, diff, panel primitives |
| Theme registry | theme/ — ThemeStyles, runtime state, syntax theme resolution |
| TUI framework | tui/ — session, widgets, runner, markdown rendering, config |
Rules
designandthemeare re-exported at crate root (pub use design::*; pub use theme::*) for backward compatibility with the old standalone crates.publish = false— internal crate, not published to crates.io.tui/core_tui/owns the full terminal session lifecycle;tui/ui/has reusable widgets (markdown, interactive list).tui/config/constants/holds TUI-specific defaults — keep them here, not invtcode-config.- Snapshot tests live in
tui/core_tui/widgets/snapshots/.
Gotchas
vtcode-commonsprovidesanstyle_utilsgated behind atuifeature — the style bridging indesign/depends on it.- The
crosstermdependency enablesevent-streamandosc52features; do not duplicate these in downstream crates.