Skip to main content

Module models

Module models 

Source

Structsยง

BranchRow
A stored conversation branch: its optional name and every message (the stored message JSON) from the root to its leaf, in order.
CodeChunkRow
Indexed source chunk for lightweight code RAG.
MemoryRow
A row from the memories table (cross-session semantic / auto memory).
MessageRow
A row from the messages table.
SessionChunkRow
Embedded turn excerpt for session RAG.
SessionRow
A row from the sessions table.
SessionTextHit
A session whose messages contain every search term.
StateRow
A row from the state key-value table.
UsageTotals
Aggregated usage across all sessions (for whycodes stats).