npm package

@chat-adapter/web

View source ↗

Downloads / week

Trend accrues daily — one point so far.

About

Web adapter for Chat SDK. Lets a chat-sdk bot serve a browser chat UI alongside Slack, Teams, Discord, etc. — the same bot.onDirectMessage(...) handler fires for every platform.

The adapter speaks the AI SDK UI message stream protocol, so React, Vue, and Svelte AI SDK clients work against the same server endpoint.

Documentation: chat-sdk.dev/adapters/official/web · Guides: vercel.com/kb/chat-sdk

Then install the framework package that matches your UI:

To scaffold a new browser chat bot with the Web adapter preselected:

Visit the adapters directory to see other available official and vendor-official adapters.

getUser is the security boundary for the Web adapter. Unlike Slack/Teams…

Excerpted from www.npmjs.com/package/@chat-adapter/web