Versions in this module Expand all Collapse all v0 v0.5.1 Nov 18, 2026 v0.5.0 Nov 18, 2026 v0.4.0 Nov 14, 2026 v0.3.0 Nov 14, 2026 v0.2.0 Nov 14, 2026 Changes in this version type AgentItem + Background bool + MergedAt *time.Time + SpawnedAt *time.Time + type ChatLine struct + AgentID string + Ts *time.Time + type ChatPage struct + Lines []ChatLine + Next *string + Prev *string type ProjectOption + LastActive time.Time + type TimelineEvent struct + At time.Time + DeviceID *string + Failures int64 + ID string + IsLive bool + Kind string + Model *string + Project string + ProjectName string + SessionID string + Title string + type TimelinePage struct + Events []TimelineEvent + Next *string v0.1.0 Nov 13, 2026 Changes in this version + func MergeSeconds(in []Interval) int64 + func Streak(days []time.Time, today time.Time) int + type ActivityDay struct + AgentMs int64 + Day string + type AgentItem struct + AgentID string + AgentType string + Description string + DurationEstimated bool + DurationMs int64 + EndedAt *time.Time + Finished *bool + ParentAgentID *string + SpawnDepth int + SpawnToolUseID *string + StartedAt *time.Time + ToolCalls map[string]int64 + ToolErrors int64 + Usage AgentUsage + type AgentUsage struct + CacheRead int64 + CacheWrite int64 + CostUSD float64 + Input int64 + Messages int64 + Output int64 + Tokens int64 + type CurrentTool struct + Name string + StartedAt time.Time + Summary string + type DayPoint struct + AgentMs int64 + CostUSD float64 + Day string + Sessions int64 + Tokens int64 + type FailureAgg struct + Count int64 + Key string + TimeLostS int64 + type FailureItem struct + AgentID string + Category string + Detail string + LimitType *string + LineID int64 + OccurredAt time.Time + ResetsAt *time.Time + SessionID string + TimeLostS *int64 + type FailurePage struct + ByCategory []FailureAgg + ByDay []FailureAgg + ByLimitType []FailureAgg + Items []FailureItem + Next *string + TimeLostS int64 + type Filter struct + Device string + From time.Time + Model string + Project string + Skill string + To time.Time + type FilterOptions struct + Models []string + Projects []ProjectOption + Skills []string + type Handler struct + func New(d *db.DB) *Handler + func (h *Handler) Register(mux *http.ServeMux, auth *webauth.Auth, devLim *httpx.Limiter) + type HeatCell struct + Count int64 + Hour int + Weekday int + type Interval struct + End time.Time + Start time.Time + type KPI struct + AgentMs int64 + AgentMsEstimated bool + CostUSD float64 + CostUnknownModels []string + Failures int64 + LongestAgentMs int64 + Sessions int64 + StreakDays int + TimeLostS int64 + Tokens int64 + TotalAgentMs int64 + type LineItem struct + ID int64 + Line json.RawMessage + Offset int64 + type LinePage struct + Lines []LineItem + Next *string + Prev *string + type LiveAgent struct + AgentID string + AgentType string + CurrentTool *CurrentTool + Description string + ParentAgentID *string + StartedAt *time.Time + type LivePage struct + Items []LiveSession + type LiveSession struct + Agents []LiveAgent + Session SessionItem + type ModelPoint struct + CostUSD float64 + Messages int64 + Model string + PriceUnknown bool + Tokens int64 + type Overview struct + Activity []ActivityDay + From time.Time + Heatmap []HeatCell + KPI KPI + PerDay []DayPoint + PerDayByProject ProjectSplit + PerModel []ModelPoint + PerProject []ProjectPoint + Previous Totals + Reindexing bool + TimeZone string + To time.Time + type PhaseItem struct + AgentID string + EndedAt *time.Time + Seq int + Skill string + StartedAt *time.Time + type ProjectDay struct + Day string + Values []ProjectValue + type ProjectKey struct + Key string + Name string + type ProjectOption struct + Name string + Path string + Sessions int64 + type ProjectPoint struct + AgentMs int64 + CostUSD float64 + Name string + Path string + Sessions int64 + Tokens int64 + type ProjectSplit struct + Days []ProjectDay + Projects []ProjectKey + type ProjectValue struct + AgentMs int64 + CostUSD float64 + Sessions int64 + Tokens int64 + type SearchHit struct + AgentID string + At *time.Time + LineID int64 + Rank float64 + Role string + SessionID string + Snippet string + Title string + type SearchResult struct + Hits []SearchHit + type Self struct + Limit *SelfLimit + Session *SelfSession + Today SelfToday + type SelfLimit struct + ResetsAt time.Time + Type string + type SelfSession struct + AgentMs int64 + CostUSD float64 + EndedAt *time.Time + Failures int64 + SessionID string + StartedAt *time.Time + Tokens int64 + TotalAgentMs int64 + type SelfToday struct + AgentMs int64 + CostUSD float64 + Failures int64 + From time.Time + Sessions int64 + TimeLostS int64 + TimeZone string + To time.Time + Tokens int64 + type SessionDetail struct + Agents []AgentItem + Failures []FailureItem + Session SessionItem + SkillPhases []PhaseItem + type SessionItem struct + AgentMs int64 + AgentMsEstimated bool + CostUSD float64 + DeviceID *string + DeviceIDs []string + EndedAt time.Time + Failures int64 + GitBranch string + IsLive bool + LineCount int64 + Models []string + Project string + ProjectName string + SessionID string + Skills []string + StartedAt time.Time + Title string + Tokens int64 + TotalAgentMs int64 + Turns int64 + type SessionPage struct + Items []SessionItem + Next *string + type Totals struct + AgentMs int64 + CostUSD float64 + Sessions int64 + Tokens int64