Tanstack AI Persistence Stores

Implement the MessageStore, RunStore, InterruptStore, MetadataStore contracts for @tanstack/ai-persistence against any database. defineAIPersistence, composePersistence overrides, critical invariants (full-replace saveThread, insert-if-absent createOrResume and interrupt create), authorize thread access, runPersistenceConformance testkit. Use whenever you need server persistence — the package ships contracts, not a backend for your database.

lukasa1993 e3e8ba5 3 files · 23.5 KB Updated

File contents

lukasa1993/tanstack-skills-extracted/tree/main/skills/tanstack-ai-persistence-stores commit e3e8ba51b7

Frequently asked questions

npx skillmds@latest add lukasa1993/tanstack-ai-persistence-stores