AI Persistence/server

Server chat state with withPersistence from @tanstack/ai-persistence. Authoritative transcript, run lifecycle, durable interrupts/approvals, chatParamsFromRequest, reconstructChat, snapshotStreaming. Use when the server owns history, multi-device, or durable tool approvals. NOT client localStorage (see ai-core/client-persistence in @tanstack/ai) and NOT stream reconnect alone.

TanStack 82cbcbd 9.1 KB Updated

File contents

tanstack/ai/tree/main/packages/ai-persistence/skills/ai-persistence/server commit 82cbcbda8e

Frequently asked questions

npx skillmds@latest add tanstack/ai-persistence-server