Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONRenderer ¶
JSONRenderer renders a Report as JSON.
type TTYModel ¶
type TTYModel struct {
Sections []TTYSection
ClosingSeparator string // trailing separator after last section
}
TTYModel is the structured display model for terminal output. It is a pure data structure — no I/O — built by BuildTTYModel.
func BuildTTYModel ¶
BuildTTYModel converts a Report into a structured TTYModel ready for rendering. It is a pure function — no I/O. The returned model contains pre-styled strings. Sections are built first, then separators are sized to the widest rendered line.
type TTYRenderer ¶
TTYRenderer renders a Report as styled terminal output.
type TTYSection ¶
type TTYSection struct {
Separator string // thick separator line (em-dash)
Header string // " ✻ Claude max 20x · user@email.com"
WindowRows []TTYWindowRow // per-window rows
ThinSep string // thin separator before aggregate (empty if none)
AggHeader string // aggregate header (empty if none)
AggRows []TTYWindowRow // aggregate rows
}
TTYSection represents one provider block (header + window rows + optional aggregate).
Click to show internal directories.
Click to hide internal directories.