Skip to content

StorageBackend

StorageBackend = "opfs" | "idbfs"

Defined in: packages/contracts/src/config.ts:112

The registry-declared BROWSER storage backend (ADR-0049 decision 1). opfs (default) is the store’s normal boot on every platform — the capability machinery selects the opfs-repacked VFS where a home can hold sync-access handles, and falls back to in-SharedWorker idbfs when no home can. idbfs is the one way to opt out of that machinery entirely: no probe, no election, the engine boots on idb.

Scopes the BROWSER store only. Environment resolution is orthogonal and unchanged (ADR-0049 decision 14): a Node mint stays file:// and the export clone stays memory regardless of this declaration.