pi-mono/packages/storage/sqlite-node
2026-08-02 12:35:02 +03:00
..
scripts feat: sqlite session storage (#6594) 2026-07-21 11:36:31 +02:00
src feat(agent): prepare session storage foundation for harness v2 2026-08-02 12:35:02 +03:00
CHANGELOG.md feat(agent): add bounded branch queries 2026-08-01 21:26:55 +03:00
package.json Release v0.83.0 2026-07-30 00:24:19 +02:00
README.md feat(agent): prepare session storage foundation for harness v2 2026-08-02 12:35:02 +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 session collection (createSqliteSessionCollection, migrations, materialized views). The collection lazily owns one shared database connection and implements AsyncDisposable.

await using collection = createSqliteSessionCollection(options);
const search = createSqliteSessionSearch(options);
const repository = createSessionRepository({ collection, search });