Skip to content

0.7.1 - Optional peer deps & webhook docs

Choose a tag to compare

@aamdmn aamdmn released this 06 Jun 18:38
· 12 commits to main since this release
567f78e

Changed

  • Declared the AI provider (@tanstack/ai-anthropic, @tanstack/ai-openai) and chat adapter (@chat-adapter/telegram) packages as optional peer dependencies, so install tooling surfaces version-compatibility guidance for the packages you pass into the plugin. The README quick-start now installs the provider and adapter alongside payload-agent.

Docs

  • New "Webhooks (serverless)" README section: polling vs webhook transport, the setWebhook step and /api/agent/webhooks/<platform> endpoint for serverless hosts (Vercel/Lambda/Netlify/Cloud Run), and the TELEGRAM_WEBHOOK_SECRET_TOKEN verification requirement. The quick start now names the required env vars (ANTHROPIC_API_KEY / OPENAI_API_KEY, TELEGRAM_BOT_TOKEN).