Versions in this module Expand all Collapse all v0 v0.1.5 Mar 23, 2026 Changes in this version + func Wrap(adapter models.ModelAdapter, sessionID string, l *Logger) models.ModelAdapter + func WrapAll(adapters []models.ModelAdapter, sessionID string, l *Logger) []models.ModelAdapter + type Entry struct + Events []EventRecord + ModelID string + Prompt string + Response ResponseRecord + RunID string + SessionID string + TS time.Time + type EventRecord struct + Data string + Type models.EventType + type Logger struct + func NewLogger(path string) (*Logger, error) + func (l *Logger) Close() error + func (l *Logger) Write(e Entry) + type ResponseRecord struct + CostUSD float64 + Error string + InputTokens int64 + LatencyMS int64 + OutputTokens int64 + ProposedFiles []string + ReasoningTokens int64 + Text string + ToolCalls map[string]int + Writes []WriteRecord + type WriteRecord struct + Content string + Path string v0.1.0 Mar 14, 2026