Files
vercel__chat/packages/adapter-linear
github-actions[bot] 28cbcb2994 Version Packages (#192)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-07 12:39:16 -08:00
..
2026-03-06 17:15:03 -08:00
2026-03-07 12:39:16 -08:00
2026-03-07 12:39:16 -08:00
2026-02-20 13:25:09 -08:00
2026-02-27 09:58:28 -08:00

@chat-adapter/linear

npm version npm downloads

Linear adapter for Chat SDK. Enables bots to respond to @mentions in Linear issue comment threads.

Installation

npm install chat @chat-adapter/linear

Usage

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

const bot = new Chat({
  userName: "my-bot",
  adapters: {
    linear: createLinearAdapter({
      apiKey: process.env.LINEAR_API_KEY!,
      webhookSecret: process.env.LINEAR_WEBHOOK_SECRET!,
      userName: "my-bot",
    }),
  },
});

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

Documentation

Full setup instructions, configuration reference, and features at chat-sdk.dev/docs/adapters/linear.

License

MIT