tui

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package tui renders the QUANTUM_LOG terminal dashboard from injected data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Integrity

type Integrity struct {
	SQLite string
	Ledger string
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New(data OverviewData, noColor bool) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(message tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type OverviewData

type OverviewData struct {
	TotalTokens            int64
	AllocatedCostUSDMicros int64
	Projects               []Project
	Tasks                  []Task
	Integrity              Integrity
}

type Project

type Project struct {
	Name          string
	Slug          string
	LocationCount int64
	TagCount      int64
}

type Task

type Task struct {
	ProjectSlug string
	Title       string
	Type        string
	Status      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL