@asm-agent/postgres
v0.10.7
Published
PostgreSQL durable store for ASM Agent
Readme
@asm-agent/postgres
PostgreSQL is ASM Agent's only supported durable application database. Set
ASM_AGENT_DATABASE_URL, run the migration CLI, and use PostgresStore from
the trusted TypeScript runtime. There is intentionally no SQLite or file-store
fallback in this package.
The initial migration creates owner, project, session, message, goal, schedule,
lease, idempotency, and transactional outbox tables in the asm_agent schema.
See docs/postgresql.md for bootstrap, readiness, backup, restore, and test
isolation procedures.
Grounded-memory inspection and removal are available through the exported
GroundedMemoryStore API and the operator CLI:
asm-agent-db memory inspect <memory-id> <owner-id> <project-id> <reader-type> <reader-id>
asm-agent-db memory revoke <memory-id> <owner-id> <project-id>
asm-agent-db memory erase <memory-id> <owner-id> <project-id>