@datamesh/factcode-storage-sqlite-node
v0.80.1
Published
Node sqlite storage backend for @datamesh/factcode-agent-core sessions
Readme
@datamesh/factcode-storage-sqlite-node
Node sqlite storage backend for @datamesh/factcode-agent-core sessions. Provides the
node:sqlite adapter (SqliteDatabase implementation) and the SQLite session
store implementation (createSqliteSessionStore, migrations, materialized views). The store
lazily owns one shared database connection and implements AsyncDisposable.
await using store = createSqliteSessionStore(options);
const search = createSqliteSessionSearch(options);
const repository = createSessionRepository({ store, search });