@wats/persistence
v0.3.30
Published
> Experimental. Breaking changes are expected within `0.x`, including renames, shape changes, and schema migrations. Pin the version. See [api-stability](https://wats.sh/docs/meta/api-stability).
Maintainers
Readme
@wats/persistence
Experimental. Breaking changes are expected within
0.x, including renames, shape changes, and schema migrations. Pin the version. See api-stability.
Experimental WATS persistence contracts and adapters.
Install:
bun add @wats/persistence
npm i @wats/persistenceCurrent scope:
- root persistence interfaces
- SQLite local-development adapter target
- optional Postgres adapter subpath (
@wats/persistence/postgres) - forward-only migration runner
- redacted health diagnostics
SQLite is intended for local and single-instance testing. Postgres is optional: install pg yourself and import createPostgresPersistence from @wats/persistence/postgres. Conversation APIs, CLI thread navigation, and status UI wiring are tracked as follow-up WATS issues.
Docs: https://wats.sh/docs/reference/persistence License: MIT
