Software Development

AI Persistence/Build Cloudflare Adapter

Use when a Cloudflare Worker needs TanStack AI chat persistence — writes a chat-persistence.ts into the app against its D1 binding (raw or via Drizzle), plus a Durable Object LockStore. Covers per-request bindings, wrangler config, D1 migrations, and lease-based locks.

Publisher / source
TanStack/ai (found on GitHub top repositories)
Upstream record
TanStack/ai
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
f073ed26fa2ed11878e817d52cc8cf21228475a7d711c670221d63516a4b7697