Skip to main content

Module sqlite

Module sqlite 

Source
Expand description

SQLite-based full-text search index for session messages.

This module provides a SessionIndex that wraps a SQLite database with FTS5 support, enabling efficient full-text search across session messages. The index is supplementary to the primary JSONL storage — it is created lazily on first use and updated whenever sessions are saved.

§Schema

  • sessions table: metadata about indexed sessions
  • messages_fts FTS5 virtual table: full-text searchable message content

Structs§

ForkInfo
Metadata about a session fork relationship.
SearchResult
A search result from the FTS5 index.
SessionIndex
SQLite-based full-text search index for session messages.

Enums§

IndexError
Errors that can occur during SQLite index operations.
IndexStoreError
Errors originating from the SQLite index store.