Documentation
¶
Overview ¶
ABOUTME: Read-only access to agentsview SQLite data for the sync pipeline. ABOUTME: Queries sessions, messages, and tool calls incrementally with explicit column lists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
SessionID string
Ordinal int
Role string
Content string
Timestamp string
HasThinking bool
HasToolUse bool
ContentLength int
}
Message represents an agentsview message record.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader provides read-only access to an agentsview SQLite database.
func (*Reader) ReadMessagesForSession ¶
ReadMessagesForSession returns messages for a session ordered by ordinal ASC.
func (*Reader) ReadSessionsSince ¶
ReadSessionsSince returns sessions with created_at > createdAfter, ordered by created_at ASC. If createdAfter is empty, all sessions are returned.
type Session ¶
type Session struct {
ID string
Project string
Machine string
Agent string
FirstMessage string
StartedAt string
EndedAt string
MessageCount int
UserMessageCount int
FileHash string
ParentSessionID string
RelationshipType string
CreatedAt string
}
Session represents an agentsview session record.
Click to show internal directories.
Click to hide internal directories.