Skip to content

feat(linear): add Vercel Connect support#649

Open
bensabic wants to merge 3 commits into
vercel-connect/basefrom
vercel-connect/linear
Open

feat(linear): add Vercel Connect support#649
bensabic wants to merge 3 commits into
vercel-connect/basefrom
vercel-connect/linear

Conversation

@bensabic

@bensabic bensabic commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Adds Vercel Connect support to the Linear adapter:

  • accessToken now accepts a () => string | Promise<string> resolver in addition to a string, so tokens can be sourced from Vercel Connect at runtime.
  • A new optional webhookVerifier verifies inbound webhooks (Connect trigger-forwarded requests via a Vercel OIDC token) in place of the Linear webhook secret.
  • Connect-mode outbound calls outside webhook handling are supported via withInstallation(organizationId, fn).

Pair with connectLinearAdapter() from @vercel/connect/chat. Includes a changeset (@chat-adapter/linear minor).

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

Companion

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

CleanShot 2026-06-30 at 12 35 30
@bensabic bensabic requested a review from a team as a code owner June 27, 2026 08:58
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
chat Ready Ready Preview, Comment, Open in v0 Jun 30, 2026 2:56am
chat-sdk-nextjs-chat Ready Ready Preview, Comment, Open in v0 Jun 30, 2026 2:56am
bensabic added 2 commits June 30, 2026 12:51
accessToken now accepts a () => string | Promise<string> resolver in
addition to a string, so tokens can be sourced from Vercel Connect at
runtime, and a new optional webhookVerifier verifies inbound webhooks
(e.g. Connect trigger-forwarded requests via a Vercel OIDC token) in
place of the Linear webhook secret. Connect-mode outbound calls outside
webhook handling are supported via withInstallation(). Pair with
connectLinearAdapter() from @vercel/connect/chat.

Signed-off-by: Ben Sabic <bensabic@users.noreply.github.com>
Wire the Linear adapter via connectLinearAdapter() from @vercel/connect/chat
(gated on LINEAR_CONNECTOR), replacing the API-key / OAuth / webhook-secret
auth and the now-obsolete Linear OAuth install routes, and update the env
docs. The adapter resolves its bot identity from the Connect access token
(viewer query), so no bot-user-id env var is needed.

Signed-off-by: Ben Sabic <bensabic@users.noreply.github.com>
@bensabic bensabic force-pushed the vercel-connect/linear branch from 577abf7 to e3a7726 Compare June 30, 2026 02:51
@socket-security

socket-security Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​vercel/​connect@​0.3.07710010098100

View full report

Excluding .git from the deployment broke the fumadocs lastModified()
plugin, which shells out to `git log` and failed the docs build with
exit status 128. .git isn't the upload-size problem (node_modules is),
so keep it.

Signed-off-by: Ben Sabic <bensabic@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant