Versions in this module Expand all Collapse all v0 v0.3.0 Jun 7, 2026 Changes in this version + const SessionGap + const WaitCap + const WorkCap + func Ago(ts, now int64) string + func Format(d time.Duration) string + type Event struct + Role string + Ts int64 + type Span struct + Active time.Duration + First int64 + Last int64 + Msgs int + Sessions int + Wall time.Duration + func Compute(evs []Event) Span + func SpanForChats(store db.Store, chatIDs []string) (Span, error) + func (s Span) Line(now int64) string + func (s Span) Merge(o Span) Span