Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonState ¶
DaemonState holds the daemon liveness info.
type InstanceView ¶
type InstanceView struct {
Usage claude.InstanceUsage
Session *logparser.SessionState // nil if no session matched
}
InstanceView pairs a discovered instance with its matched session (if any).
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor owns the data-fetching and state-reconciliation cycle for the TUI.
func New ¶
func New(finder claude.InstanceFinder, dc claude.DockerClient) *Monitor
New creates a Monitor. dockerClient may be nil when Docker is unavailable.
type Snapshot ¶
type Snapshot struct {
FetchedAt time.Time
Err error
Daemon DaemonState
Telegram string
Slack string
Instances []InstanceView
Panes []claude.TmuxPane
TotalUsage *claude.UsageSummary
// contains filtered or unexported fields
}
Snapshot holds the complete TUI display state at a point in time.
Click to show internal directories.
Click to hide internal directories.