The Open Framework for Building Agents
feat(docs): add Beeper integration (#1060)
Colton Paddenbadbcf830be9
diff --git a/apps/docs/lib/integrations/data.ts b/apps/docs/lib/integrations/data.tsindex 11192130f..52f5c01e6 100644--- a/apps/docs/lib/integrations/data.ts+++ b/apps/docs/lib/integrations/data.ts@@ -1043,7 +1043,53 @@ export default channel;See the [Lark / Feishu adapter documentation](https://chat-sdk.dev/adapters/vendor-official/lark) for all supported events and credentials.`,configure: `Create a Lark or Feishu app and set \`LARK_APP_ID\` and \`LARK_APP_SECRET\`. The adapter uses Lark’s WebSocket long connection rather than an HTTP webhook, so call \`bot.initialize()\` and run eve in a long-lived Node.js process. This is a vendor-official Chat SDK adapter built on the official Lark Node SDK. See the [Chat SDK channel docs](/docs/channels/chat-sdk) for eve session dispatch, state, streaming, and human-in-the-loop behavior.`,- },};+ },+ "chat-sdk-beeper": {+ logo: "beeper",+ docsHref: "/docs/channels/chat-sdk",+ badge: "Provider official",+ keywords: ["chat sdk", "matrix", "beeper", "encrypted chat", "e2ee", "signal", "instagram"],+ install: `Install eve, Chat SDK, the Beeper Matrix adapter, and a state adapter:++\`\`\`bash+npm install eve@latest chat @beeper/chat-adapter-matrix @chat-adapter/state-memory+\`\`\`++The in-memory state store is for local development. Use Redis or PostgreSQL in production. The adapter is vendor-official.`,+ quickStart: `Create \`agent/channels/matrix.ts\`:++\`\`\`ts+// agent/channels/matrix.ts+import { createMatrixAdapter } from "@beeper/chat-adapter-matrix";+import { createMemoryState } from "@chat-adapter/state-memory";+import { chatSdkChannel } from "eve/channels/chat-sdk";++export const { bot, channel, send } = chatSdkChannel({+ userName: "My Agent",+ adapters: {+ matrix: createMatrixAdapter(),+ },+ state: createMemoryState(),+});++bot.onNewMention(async (thread, message) => {+ await thread.subscribe();+ await send(message.text, { thread });+});++bot.onSubscribedMessage(async (thread, message) => {+ await send(message.text, { thread });+});++await bot.initialize();++export default channel;+\`\`\`++See the [Beeper Matrix adapter documentation](https://chat-sdk.dev/adapters/vendor-official/matrix) for all supported events and credentials.`,+ configure: `Set the Matrix homeserver, access token, and bot identity environment variables documented by Beeper. This adapter consumes Matrix sync rather than webhooks, so call \`bot.initialize()\` and run eve in a long-lived Node.js process. It requires Node.js 22 or newer and a durable state adapter in production. See the [Chat SDK channel docs](/docs/channels/chat-sdk) for eve session dispatch, state, streaming, and human-in-the-loop behavior.`,+ },+};const extensionPresentations: Record<string, ExtensionPresentation> = {browserbase: {diff --git a/apps/docs/lib/integrations/logos.tsx b/apps/docs/lib/integrations/logos.tsxindex 059e65a37..489111e22 100644--- a/apps/docs/lib/integrations/logos.tsx+++ b/apps/docs/lib/integrations/logos.tsx@@ -447,6 +447,16 @@ export const larkLogo = (props: LogoProps) => (</svg>);+export const beeperLogo = (props: LogoProps) => (+ <svg fill="none" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" {...props}>+ <path+ d="M52 144C52 65 115.7 0 196.3 0h119.4C395.4 0 460 64.3 460 144c-.1 42.9-18.8 79.9-44.9 104.5l-27.3 27.3c39.8 23.2 72 59.7 72 109.1 0 74-60 127.1-134 127.1H124V268.8C81.4 243.9 52 197.4 52 144Zm144.3-104C138 40 92 86.9 92 144s46 104 104.3 104H246l-27.6 139.8L387 220c19.3-18 33-45.2 33-76 0-58-47.5-104.6-104.3-104H196.3Z"+ fill="#5F52F2"+ fillRule="evenodd"+ />+ </svg>+);+export const googlechatLogo = (props: LogoProps) => <SiGooglechat color="default" {...props} />;export const whatsappLogo = (props: LogoProps) => <SiWhatsapp color="default" {...props} />;@@ -594,6 +604,7 @@ export const logos = {dial: dialLogo,agentphone: agentphoneLogo,lark: larkLogo,+ beeper: beeperLogo,googlechat: googlechatLogo,whatsapp: whatsappLogo,messenger: messengerLogo,diff --git a/packages/eve-catalog/src/index.ts b/packages/eve-catalog/src/index.tsindex 67ed298b1..94de76a9b 100644--- a/packages/eve-catalog/src/index.ts+++ b/packages/eve-catalog/src/index.ts@@ -248,6 +248,13 @@ export const INTEGRATIONS: readonly IntegrationEntry[] = [tagline: "Lark and Feishu chats with native card streaming via the Chat SDK.",surfaces: { scaffoldable: false, gallery: true },},+ {+ slug: "chat-sdk-beeper",+ name: "Beeper",+ kind: "channel",+ tagline: "Matrix rooms and bridged messaging networks through Beeper.",+ surfaces: { scaffoldable: false, gallery: true },+ },{slug: "agent-browser",name: "agent-browser",