pi-mono/packages/storage/sqlite-node
2026-08-01 02:11:22 +03:00
..
scripts feat: sqlite session storage (#6594) 2026-07-21 11:36:31 +02:00
src fix(agent): make SQLite session operations linear 2026-08-01 02:11:22 +03:00
CHANGELOG.md Add [Unreleased] section for next cycle 2026-07-30 00:24:23 +02:00
package.json Release v0.83.0 2026-07-30 00:24:19 +02:00
README.md fix(agent): make session search query-only 2026-07-31 18:31:04 +03:00
tsconfig.build.json feat: sqlite session storage (#6594) 2026-07-21 11:36:31 +02:00

@earendil-works/pi-storage-sqlite-node

Node sqlite storage backend for @earendil-works/pi-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 });