Optionaloptions: CreatePGlitePersistenceAdapterOptionsimport { PGlite } from "@electric-sql/pglite";
import { startLocalFirstGraph, createPGlitePersistenceAdapter } from "@prometheus-ags/prometheus-entity-management";
const pglite = await PGlite.create("idb://hotseaters");
const storage = await createPGlitePersistenceAdapter(pglite);
const runtime = startLocalFirstGraph({ storage, key: "hotseaters:graph" });
Returns a GraphPersistenceAdapter that reads/writes the graph snapshot through a PGlite-shaped client.