Skip to content

docs(redis): TanStack AI session index, session log and stored credentials - #998

Merged
CahidArda merged 1 commit into
mainfrom
docs/agentkit-tanstack-ai-sessions-log-credentials
Nov 6, 2026
Merged

CahidArda merged 1 commit into
mainfrom
docs/agentkit-tanstack-ai-sessions-log-credentials

Conversation

@CahidArda

Copy link
Copy Markdown
Contributor

Updates redis/sdks/agentkit/tanstack-ai.mdx for @upstash/agentkit-tanstack-ai 0.3.0. It builds on #874, which documented the original package.

Merge after 0.3.0 is on npm. It is not published yet: the release PR is upstash/agentkit#99, and npm view @upstash/agentkit-tanstack-ai version still shows 0.2.0. These docs describe the new API, so merging earlier would show users an API they cannot install.

What changed

  • New sections: session index (stores.sessions, TanStack's SessionIndexStore), session log (stores.log, LogStore: atomic append, epoch-fenced ownership leases on the Redis clock, input lane, snapshots, subscriptions), and stored provider API keys and OAuth tokens (upstashCredentials(), CredentialStore, with compare-and-set and optional AES-256-GCM encryption).
  • A warning near the install command: 0.3.0 needs @tanstack/ai and @tanstack/ai-persistence >=1.0.0. TanStack AI 0.x users stay on 0.2.0.
  • The intro, the import table, the persistence section and its options now mention the new stores, the upstashCredentials row, and logPollIntervalMs.
  • The encryption accordion documents the caveats: changing prefix makes encrypted rows undecryptable, requireEncryption is needed to stop a plaintext swap, and the revision is not authenticated.
  • llms.txt and llms-full.txt regenerated with npm run build in llms/ (the same command llms-check runs). The diff is only this page.

Source of truth. The behavior comes from the merged agentkit PRs, upstash/agentkit#93 and upstash/agentkit#95, and from packages/tanstack-ai/README.md. The code samples use the exports from the 0.3.0 source. The docs page for TanStack's own side (TanStack/ai) is not part of this PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CMK4erZicjYwrwqbZoKBiH

…tials

Document the three TanStack AI 1.0 contracts that @upstash/agentkit-tanstack-ai
0.3.0 implements (stores.sessions, stores.log, upstashCredentials), the new
TanStack AI >=1.0.0 requirement, and the encryption caveats. llms.txt and
llms-full.txt regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CMK4erZicjYwrwqbZoKBiH
@mintlify

mintlify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
upstash 🟢 Ready View Preview Nov 6, 2026, 9:29 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@context7

context7 Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Docs7 for upstash.com

Result Status Action
Deployment ✅ Ready Open preview
Content review ✅ Passed. No problems found. —

Commit f0ced4a · Updated 2026-11-06 09:36 UTC · View build details

@context7
context7 Bot temporarily deployed to Docs7 Preview: docs/agentkit-tanstack-ai-sessions-log-credentials November 6, 2026 09:36 Destroyed
@CahidArda
CahidArda merged commit 4de9778 into main Nov 6, 2026
4 of 5 checks passed
@CahidArda
CahidArda deleted the docs/agentkit-tanstack-ai-sessions-log-credentials branch November 6, 2026 11:15

This branch was successfully deployed

1 active deployment
Docs7 Preview: docs/agentkit-tanstack-ai-sessions-log-credentials — f0ced4a0 Deployed Nov 6, 2026 by context7[bot]
staging — f0ced4a0 Deployed Nov 6, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant