tanstack/ai/ai-persistence
Durability and state persistence for TanStack AI chats with @tanstack/ai-persistence. Routes to server chat persistence (withPersistence), client persistence (localStorage/IndexedDB), the store contracts, and adapter recipes. Distinguishes delivery durability (resumable streams) from conversation state. Use when conversations must survive reloads, multi-device, approvals, or server restarts — NOT for stream reconnect alone.
Agent skill · version 0.0.0-main.1794413608.g975ec3e · from TanStack/ai
Install
npx yarkr-cli add skill:tanstack/ai/ai-persistenceWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:tanstack/ai/ai-persistence
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:tanstack/ai/ai-persistenceOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:tanstack/ai/ai-persistenceWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.