TUI
tui is the terminal interface crate. It owns the interactive transcript,
composer, overlays, command palette, model/skill selectors, and streaming
render state.
Responsibilities
Section titled “Responsibilities”- Render session history and the active turn.
- Keep tool and sub-agent activity visible in the message panel.
- Route slash commands and composer input to the CLI/daemon client surface.
- Preserve UI state separately from persisted transcript state.
Boundaries
Section titled “Boundaries”runnerowns actual agent execution.daemonowns background hosting.typesowns transcript, run, model, and skill data shapes shared with other crates.