storage/
August 9, 2026 · View on GitHub
English | 中文
This family persists application data other than session event logs through named backends and typed data forms.
| Package | Role | ctx key |
|---|---|---|
storage/ | Connects registered backends with typed data forms | ctx.storage |
storage-json/ | Stores data in JSON files | registers backend json |
storage-sqlite/ | Stores data in SQLite | registers backend sqlite |
storage-domain/ | Provides validated domain-record storage | ctx.storageDomain |
Consumers use a data form rather than accessing a backend directly. The domain storage decision records the family design.
The subsystem reference — the backend contract, StorageForms, DomainSpec/Domain, domain/changed — is docs/subsystems/storage.md.