Files
vercel__chat/apps/docs/resources-edge-config.json
Ben Sabic 9b8d8c4518 Discoverability lift: link KB guides, broaden npm keywords, mirror to AGENTS.md (#560)
Broad SEO/AEO pass across the docs site, adapter READMEs and AGENTS.md
files, and npm package metadata so Chat SDK content shows up better in
search engines, in LLM-driven package recommendations, and in
IDE/coding-agent context.

**Docs site**

- Adds a `## Resources` section to the Getting Started and AI overview
pages and to the Slack, Discord, GitHub, Liveblocks, and Sendblue
adapter pages, each linking to applicable guides/templates with
descriptions sourced from `resources-edge-config.json` and a cross-link
back to the central `/resources` hub.

**Adapter packages**

- Mirrors the same Resources sections into the Slack, Discord, and
GitHub READMEs (so they surface on npm) and into their AGENTS.md files
(so coding agents see them alongside the API notes).
- Expands `keywords` on every published adapter and state package — adds
`chat-sdk`, `chatbot`, `ai-agent`, `ai-sdk`, `vercel`, plus
platform-specific terms like `slack-bot`, `block-kit`, `slash-commands`,
`github-app`, `whatsapp-business`, `state-adapter`.

**Resources registry**

- Registers four new entries in `resources-edge-config.json`
(Human-in-the-Loop guide, Liveblocks AI agent guide, Slack + Vercel Blob
guide, Durable iMessage Agent template) and runs `pnpm sync-resources`
so the bundled `chat` package guides, `templates.json`, and
`skills/chat/SKILL.md` all pick them up.
- Fixes the synced Slack AI agent guide to import `toAiMessages` from
`chat/ai` instead of the deprecated `chat` re-export path (the upstream
KB source has also been updated, so future syncs will preserve this).

**Drive-by fixes**

- Resend adapter doc quick start: corrects `MemoryStateAdapter` class
import to the `createMemoryState()` factory (matching every other
adapter doc).
- Zalo adapter doc: drops the "community adapter" callout that
duplicated frontmatter.

**Tooling / CI**

- Adds `tsx` as a root devDependency so `pnpm sync-resources` works out
of the box (it previously relied on `npx tsx`, which hung when not
pre-cached).
- Loosens the CI changeset gate to also skip `packages/chat/resources/`
(generated data), matching the existing `*.md` carve-out.

---------

Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com>
2026-05-29 11:41:23 +10:00

83 lines
4.8 KiB
JSON

{
"resources": [
{
"title": "How to build an AI agent for Slack with Chat SDK and AI SDK",
"description": "Build a Slack AI agent using Chat SDK, AI SDK's ToolLoopAgent, and Vercel AI Gateway. Covers project setup, tool definitions, streaming responses, deployment to Vercel, and scaling tool selection with toolpick.",
"href": "https://vercel.com/kb/guide/how-to-build-an-ai-agent-for-slack-with-chat-sdk-and-ai-sdk",
"type": "guide"
},
{
"title": "Human-in-the-Loop with Chat SDK and Workflow SDK",
"description": "Pause durable workflows on Slack approval cards using Chat SDK and Workflow SDK. Uses createWebhook to suspend workflows until a button click, with patterns for multi-stage approvals, timeouts via durable sleep, and approver validation.",
"href": "https://vercel.com/kb/guide/human-in-the-loop-with-chat-sdk-and-workflow-sdk",
"type": "guide"
},
{
"title": "How to build an agent for Liveblocks",
"description": "Build an AI agent that replies to @-mentions in Liveblocks comment threads with streamed responses and tool calling. Uses Chat SDK, the Liveblocks adapter, AI SDK's ToolLoopAgent, and Redis for thread subscriptions and distributed locking.",
"href": "https://vercel.com/kb/guide/liveblocks-chat-sdk-ai-sdk",
"type": "guide"
},
{
"title": "How to build a Slack bot that manages files in Vercel Blob",
"description": "Build a Slack bot that lists, reads, uploads, and deletes files in Vercel Blob through tool calls. Uses Chat SDK, AI SDK's ToolLoopAgent, and Files SDK's createFileTools factory with approval-gated write tools and a read-only mode.",
"href": "https://vercel.com/kb/guide/slack-bot-vercel-blob",
"type": "guide"
},
{
"title": "Run and track deploys from Slack",
"description": "Build a Slack deploy bot with Chat SDK and Vercel Workflow. Dispatch GitHub Actions from a slash command, gate production behind approval, poll for completion, and notify Linear and GitHub when the run finishes.",
"href": "https://vercel.com/kb/guide/run-and-track-deploys-from-slack",
"type": "guide"
},
{
"title": "Triage form submissions with Chat SDK",
"description": "Build a Slack bot that triages form submissions with interactive cards. Forward, edit, or mark as spam without leaving Slack. Built with Chat SDK, Hono, and Resend.",
"href": "https://vercel.com/kb/guide/triage-form-submissions-with-chat-sdk",
"type": "guide"
},
{
"title": "How to build a Slack bot with Next.js and Redis",
"description": "This guide walks through building a Slack bot with Next.js, covering project setup, Slack app configuration, event handling, interactive features, and deployment.",
"href": "https://vercel.com/kb/guide/how-to-build-a-slack-bot-with-next-js-and-redis",
"type": "guide"
},
{
"title": "Create a Discord support bot with Nuxt and Redis",
"description": "This guide walks through building a Discord support bot with Nuxt, covering project setup, Discord app configuration, Gateway forwarding, AI-powered responses, and deployment.",
"href": "https://vercel.com/kb/guide/create-a-discord-support-bot-with-nuxt-and-redis",
"type": "guide"
},
{
"title": "Ship a GitHub code review bot with Hono and Redis",
"description": "This guide walks through building a GitHub bot that reviews pull requests on demand. When a user @mentions the bot on a PR, Chat SDK picks up the mention, spins up a Vercel Sandbox with the repo cloned, and uses AI SDK to analyze the diff.",
"href": "https://vercel.com/kb/guide/ship-a-github-code-review-bot-with-hono-and-redis",
"type": "guide"
},
{
"title": "Chat SDK Liveblocks Bot",
"description": "Build a bot that you can engage with inside Liveblocks.",
"href": "https://vercel.com/templates/next.js/chat-sdk-liveblocks-bot",
"type": "template"
},
{
"title": "Durable iMessage Agent",
"description": "Durable iMessage agent powered by the Sendblue adapter.",
"href": "https://vercel.com/templates/nitro/durable-imessage-ai-agent",
"type": "template"
},
{
"title": "Knowledge Agent",
"description": "Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base.",
"href": "https://vercel.com/templates/nuxt/chat-sdk-knowledge-agent",
"type": "template"
},
{
"title": "Community Agent",
"description": "Open source AI-powered Slack community management bot with a built-in Next.js admin panel. Uses Chat SDK, AI SDK, and Vercel Workflow.",
"href": "https://vercel.com/templates/next.js/chat-sdk-community-agent",
"type": "template"
}
]
}