Adding optional Postgres-backed memory to a TypeScript agent runtime without making boot depend on the database