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
sessionstable: metadata about indexed sessionsmessages_ftsFTS5 virtual table: full-text searchable message content
Structs§
- Fork
Info - Metadata about a session fork relationship.
- Search
Result - A search result from the FTS5 index.
- Session
Index - SQLite-based full-text search index for session messages.
Enums§
- Index
Error - Errors that can occur during SQLite index operations.
- Index
Store Error - Errors originating from the SQLite index store.