Skip to content
PluginStats

@chat-adapter/linear weekly downloads statistics

By chat-adapter (14 listings) · npm · AI SDKs

Linear adapter for Chat SDK — @mentions in issue comments and Linear agent sessions

View on npm Fresh · Dec 6, 2026

@chat-adapter/linear has 302,354 recorded weekly downloads on npm, an increase of 105% over the past 30 days, ranking #466 of 3,247 tracked listings.

Weekly downloads
302,354
Official API · Dec 5, 2026
7-day growth
+17.1%
+44.1K weekly downloads
30-day growth
+105%
+154.9K weekly downloads
90-day growth
+117%
+163K weekly downloads
Rank
#466
▲ 10 in 7 days

About @chat-adapter/linear

Linear adapter for Chat SDK

@chat-adapter/linear

npm package: @chat-adapter/linear

Agent Stack MIT License

Linear adapter for Chat SDK. Respond to @mentions in issue comment threads and Linear app-actor agent sessions.

The Linear adapter treats issue comments as messages and issues as threads.

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

Installation

pnpm add @chat-adapter/linear

Scaffold with the CLI

To scaffold a new Linear bot with this adapter preselected:

npx create-chat-sdk@latest my-bot --adapter linear memory

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

Quick start

For managed credentials and webhook verification, see Vercel Connect.

The adapter auto-detects credentials from LINEAR_API_KEY, LINEAR_ACCESS_TOKEN, LINEAR_CLIENT_CREDENTIALS_CLIENT_ID/LINEAR_CLIENT_CREDENTIALS_CLIENT_SECRET, or LINEAR_CLIENT_ID/LINEAR_CLIENT_SECRET, plus LINEAR_WEBHOOK_SECRET and LINEAR_BOT_USERNAME:

import { Chat } from "chat";
import { createLinearAdapter } from "@chat-adapter/linear";

const bot = new Chat({
  userName: "my-bot",
  adapters: {
    linear: createLinearAdapter(),
  },
});

bot.onNewMention(async (thread, message) => {
  await thread.post("Hello from Linear!");
});

The adapter defaults to mode: "comments" and handles Comment webhooks. For Vercel Connect and Linear app-actor installations, we recommend explicitly setting mode: "agent-sessions" to handle AgentSessionEvent webhooks, including mentions and replies within a session.

Configuration

All options are auto-detected from environment variables when not provided.

OptionRequiredDescription
apiKeyNo*Personal API key. Auto-detected from LINEAR_API_KEY
accessTokenNo*OAuth access token. Accepts a string, or (Vercel Connect) a () => string | Promise<string> resolver invoked per API call. Auto-detected from LINEAR_ACCESS_TOKEN
clientIdNo*Multi-tenant OAuth app client ID. Auto-detected from LINEAR_CLIENT_ID
clientSecretNo*Multi-tenant OAuth app client secret. Auto-detected from LINEAR_CLIENT_SECRET
encryptionKeyNoAES-256-GCM key for encrypting stored OAuth tokens. Auto-detected from LINEAR_ENCRYPTION_KEY
clientCredentialsNo*Single-tenant client credentials config
clientCredentials.scopesNoScopes for client credentials auth. Defaults to ["read", "write", "comments:create", "issues:create"]
modeNoInbound webhook handling mode. Defaults to "comments". Set "agent-sessions" for the recommended Connect setup
webhookSecretNo**Webhook signing secret. Auto-detected from LINEAR_WEBHOOK_SECRET
webhookVerifierNo**Custom verifier (request, body) => unknown | Promise<unknown> used in place of webhookSecret. Takes precedence over webhookSecret/LINEAR_WEBHOOK_SECRET. Required in Connect mode
userNameNoBot display name. Auto-detected from LINEAR_BOT_USERNAME (default: "linear-bot")
apiUrlNoOverride the Linear GraphQL API base URL. Auto-detected from LINEAR_API_URL
loggerNoLogger instance (defaults to ConsoleLogger("info"))

*One of apiKey, accessToken (string or Vercel Connect resolver), top-level clientId/clientSecret, or clientCredentials is required (via config or env vars).

**Either webhookSecret (via config or LINEAR_WEBHOOK_SECRET) or a webhookVerifier is required. When webhookVerifier is set it takes precedence and the secret is ignored.

Authentication

Option A — Vercel Connect

Use Vercel Connect to source the Linear access token at runtime instead of storing a long-lived token or OAuth secret. Pass accessToken as a resolver and verify inbound webhooks with webhookVerifier (a Vercel OIDC token from Connect trigger forwarding) instead of a webhook secret.

The simplest path is the connectLinearAdapter() helper from @vercel/connect/chat:

import { createLinearAdapter } from "@chat-adapter/linear";
import { connectLinearAdapter } from "@vercel/connect/chat";

createLinearAdapter({
  ...connectLinearAdapter("linear/acme-linear"),
  mode: "agent-sessions",
});

Or wire the fields yourself:

import { getToken } from "@vercel/connect";

createLinearAdapter({
  accessToken: () =>
    getToken("linear/acme-linear", { subject: { type: "app" } }),
  webhookVerifier: myConnectWebhookVerifier,
  mode: "agent-sessions",
});

We recommend agent sessions for Vercel Connect bots. Enable Agent session events on the Linear app and use an app-actor installation. Omitting mode keeps the "comments" default; existing bots do not need to change their configuration. Changing the adapter mode does not change the app's webhook subscriptions or permissions.

accessToken accepts a string or () => string | Promise<string> resolver invoked per API call, so it composes with Connect's short-lived tokens. When webhookVerifier is set it takes precedence over webhookSecret and LINEAR_WEBHOOK_SECRET.…

Description from the npm listing.

  • chat
  • chat-sdk
  • chatbot
  • linear
  • linear-bot
  • bot
  • adapter
  • issues
  • project-management
  • ai-agent
  • ai-sdk
  • vercel

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@chat-adapter/linear weekly downloads on npm, last 90 days: 302,354 weekly downloads as of Dec 5, 2026, +117% over 90 days.@chat-adapter/linearWeekly downloads on npm · Last 90 days302,354downloads / week+117% over 90 days050K100K150K200K250K300K350KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@chat-adapter/linear weekly downloads on npm, last 90 days: 302,354 weekly downloads as of Dec 5, 2026, +117% over 90 days.

7/30/90-day growth

@chat-adapter/linear weekly downloads growth on npm: +17.1% over 7 days, +105% over 30 days, +117% over 90 days.@chat-adapter/linearWeekly downloads growth on npm302,354downloads / week now7-day growth+44,133 weekly downloads+17.1%30-day growth+154,928 weekly downloads+105%90-day growth+163,015 weekly downloads+117%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@chat-adapter/linear weekly downloads growth on npm: +17.1% over 7 days, +105% over 30 days, +117% over 90 days.

Ranking history

@chat-adapter/linear npm ranking history: currently #466 (by weekly downloads).@chat-adapter/linearnpm ranking · by weekly downloads · Last 90 days#466current rank#100#200#300#400#500#600#700Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@chat-adapter/linear npm ranking history: currently #466 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 24, #6 (overall #466)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 2, #5 (overall #25)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for @chat-adapter/linear
Date (UTC)Weekly downloadsChange vs. previous
302,354+9.6K
292,760+29.5K
263,260+23.1K
240,139-6.7K
246,822+1.1K
245,765-9.9K
255,655-2.6K
258,221-5.7K
263,946-22.2K
286,134-4.7K
290,792+22.7K
268,103+18.5K
249,615+13.6K
236,028—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@chat-adapter/linear. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.