domain/models/logs library

Classes

AgentColorMessage
Agent's color assignment.
AgentNameMessage
Agent's custom name.
AiTitleMessage
AI-generated session title.
AttributionEntry
ContextCollapseCommitEntry
Context collapse commit entry.
CustomTitleMessage
User-set custom session title.
FileAttributionState
Per-file Neomage contribution tracking.
LastPromptMessage
Persisted last prompt in session.
LogEntry
Discriminated union of all log entry types.
LogOption
Session log option with metadata.
MessageEntry
PersistedWorktreeSession
Worktree session state at session end.
PRLinkEntry
PRLinkMessage
GitHub PR link metadata.
SerializedMessage
Serialized message with session metadata.
SummaryEntry
SummaryMessage
AI-generated session summary.
TagEntry
TagMessage
Session tag for searching/filtering.
TaskSummaryMessage
Periodic fork-generated summary of agent activity.
TitleEntry

Enums

SessionMode
Session mode.

Functions

sortLogs(LogOption a, LogOption b) int
Sort logs by modified date (newest first), then created date.