Skip to content

feat(create-chat-sdk): add Vercel Connect mode#655

Open
bensabic wants to merge 1 commit into
vercel-connect/basefrom
vercel-connect/cli
Open

feat(create-chat-sdk): add Vercel Connect mode#655
bensabic wants to merge 1 commit into
vercel-connect/basefrom
vercel-connect/cli

Conversation

@bensabic

Copy link
Copy Markdown
Contributor

Adds an opt-in Vercel Connect authentication mode to the scaffolder for the Slack, GitHub, and Linear adapters, via a --connect flag and a new interactive auth-mode prompt (shown only when a Connect-capable adapter is selected).

When enabled, the generated project:

  • spreads the matching helper from @vercel/connect/chat into the adapter factory in src/lib/bot.ts (non-Connect adapters keep their native factory calls)
  • adds @vercel/connect to dependencies
  • lists each connector UID (for example SLACK_CONNECTOR) plus the recommended GITHUB_BOT_USER_ID, in place of native provider secrets, in .env.example
  • documents vercel link / vercel env pull and the deployed-URL webhook caveat in the README and post-install next steps

Connect policy lives in the existing scaffold-spec.ts (per-adapter connect field), so chat/adapters stays the single source of adapter metadata.

Stacked on #647 (base vercel-connect/base).

Companion

@vercel/connect/chat subpath: vercel/vercel#16826.

Add an opt-in Vercel Connect auth mode for scaffolded Slack, GitHub, and
Linear adapters, via a `--connect` flag and a new interactive auth-mode
prompt. When enabled, the generated bot spreads the matching helper from
`@vercel/connect/chat` into the adapter factory, `@vercel/connect` is
added to dependencies, and `.env.example` lists each connector UID (plus
the recommended `GITHUB_BOT_USER_ID`) in place of native provider
secrets. README, packaged docs, and the public CLI docs are updated.

Signed-off-by: Ben Sabic <bensabic@users.noreply.github.com>
@bensabic bensabic requested a review from a team as a code owner June 30, 2026 14:42
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat Building Building Preview, Comment, Open in v0 Jun 30, 2026 2:43pm
chat-sdk-nextjs-chat Ready Ready Preview, Comment Jun 30, 2026 2:43pm
Comment thread packages/create-chat-sdk/src/catalog/scaffold-spec.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant