Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(paths []AnnotatedPath, graph *trace.TraceGraph) error
Run starts the TUI program.
Types ¶
type AnnotatedPath ¶
type AnnotatedPath struct {
Path trace.HotPath
Pattern *trace.Pattern // parameterized version (nil if not yet parameterized)
Labels []string // human-readable step labels
Confidence float64
Savings int // estimated tokens saved per invocation
}
AnnotatedPath is a HotPath enriched with display metadata.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the bubbletea model for the aj trace TUI.
func NewModel ¶
func NewModel(paths []AnnotatedPath, graph *trace.TraceGraph) Model
NewModel creates a new TUI model.
Click to show internal directories.
Click to hide internal directories.