Skip to main content

Crate opensession_local_db

Crate opensession_local_db 

Source

Modules§

git

Structs§

LocalDb
Local SQLite index/cache shared by TUI and Daemon. This is not the source of truth for canonical session bodies. Thread-safe: wraps the connection in a Mutex so it can be shared via Arc<LocalDb>.
LocalSessionFilter
Filter for listing sessions from the local DB.
LocalSessionLink
A lightweight local link row for session-to-session relationships.
LocalSessionRow
A local session row stored in the local SQLite index/cache database.
LogFilter
Extended filter for the log command.
RemoteSessionSummary
Minimal remote session payload needed for local index/cache upsert.
SessionSemanticSummaryRow
Session-level semantic summary row persisted in local SQLite.
SessionSemanticSummaryUpsert
Upsert payload for session-level semantic summaries.
SummaryBatchJobRow
Summary batch generation progress/status snapshot.
VectorChunkCandidateRow
Candidate row used for local semantic vector ranking.
VectorChunkUpsert
Vector chunk payload persisted per session.
VectorIndexJobRow
Vector indexing progress/status snapshot.

Enums§

LocalSortOrder
Sort order for local session listing.
LocalTimeRange
Time range filter for local session listing.

Constants§

LOCAL_SESSION_COLUMNS
Column list for SELECT queries against sessions + session_sync + users.