Expand description
Canonical list-row builders for TUI modals and command menus.
Call sites should not assemble InlineListItem { .. } literals directly.
These helpers encode the shared visual contract: group headers, title ·
value · description rows, toned actions, and current/choice rows.
Wire types stay in vtcode_commons::ui_protocol (protocol layer); this
module is the design-system factory that returns them.
Structs§
- Inline
List Item - A selectable item inside a list overlay.
- Inline
Status - A short-lived status message shown inside a list modal (footer strip).
Enums§
- Inline
Item Kind - Role of a list row, used by the renderer to pick emphasis and spacing.
- Inline
List Selection - Selection value returned from a list or wizard overlay.
- Inline
Tone - Semantic tone for list badges, values, and modal status strips.
Functions§
- action
- Imperative row (Back, Reset, Refresh, Pick model, …) with an explicit tone.
- choice
- Selectable choice in a list (reasoning level, service tier, list entry).
- current_
choice - Choice row that is live/current (kept setting, active model).
- group_
divider - Full-width rule between option groups.
- group_
header - Section header: bold title with blank spacing above and below.
- hint
- Non-selectable dimmed note (never a group header).
- setting
- Title + optional accent value + dimmed description.