The Open Framework for Building Agents
feat(docs): add Zernio integration (#1082)
Colton Padden2a63bd8ed906
diff --git a/apps/docs/lib/integrations/data.ts b/apps/docs/lib/integrations/data.tsindex bbfa35262..66624ccf3 100644--- a/apps/docs/lib/integrations/data.ts+++ b/apps/docs/lib/integrations/data.ts@@ -491,6 +491,60 @@ export default channel;Credentials come from the \`createMessengerAdapter\` config or the adapter's environment variables; see the [Messenger adapter docs](https://chat-sdk.dev/adapters/official/messenger).`,configure: `The adapter mounts its webhook at \`/eve/v1/messenger\`. Point your Messenger webhook at it. The adapter owns provider auth, verification, and delivery, while eve owns session dispatch, streaming, typing, and human-in-the-loop. See the [Chat SDK channel docs](/docs/channels/chat-sdk) for routes, streaming, and state options.`,},+ "chat-sdk-zernio": {+ logo: "zernio",+ docsHref: "/docs/channels/chat-sdk",+ badge: "Provider official",+ keywords: [+ "chat sdk",+ "zernio",+ "instagram",+ "facebook",+ "x",+ "twitter",+ "telegram",+ "whatsapp",+ "bluesky",+ "reddit",+ ],+ install: `Install eve, Chat SDK, the Zernio adapter, and a state adapter:++\`\`\`bash+npm install eve@latest chat @zernio/chat-sdk-adapter @chat-adapter/state-memory+\`\`\`++The in-memory state store is for local development. Use Redis or PostgreSQL in production. This adapter is built and maintained by Zernio.`,+ quickStart: `Create \`agent/channels/zernio.ts\`:++\`\`\`ts+// agent/channels/zernio.ts+import { createZernioAdapter } from "@zernio/chat-sdk-adapter";+import { createMemoryState } from "@chat-adapter/state-memory";+import { chatSdkChannel } from "eve/channels/chat-sdk";++export const { bot, channel, send } = chatSdkChannel({+ userName: "My Agent",+ adapters: {+ zernio: createZernioAdapter(),+ },+ 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 });+});++export default channel;+\`\`\`++See the [Zernio adapter documentation](https://chat-sdk.dev/adapters/vendor-official/zernio) for supported events, capabilities, and credentials.`,+ configure: `Set \`ZERNIO_API_KEY\` and \`ZERNIO_WEBHOOK_SECRET\`, then point Zernio webhooks at \`/eve/v1/zernio\`. Zernio provides one adapter for Instagram, Facebook, X, Telegram, WhatsApp, Bluesky, and Reddit. 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> = {diff --git a/apps/docs/lib/integrations/logos.tsx b/apps/docs/lib/integrations/logos.tsxindex fe9d171db..21e64b6c1 100644--- a/apps/docs/lib/integrations/logos.tsx+++ b/apps/docs/lib/integrations/logos.tsx@@ -316,6 +316,16 @@ export const ticketTailorLogo = (props: LogoProps) => (</svg>);+export const zernioLogo = (props: LogoProps) => (+ <svg fill="none" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg" {...props}>+ <rect width="1000" height="1000" fill="#eb3514" rx="161.29" />+ <path+ fill="#fff"+ d="M253.803 294.019V478.63l287.132-75.382c35.782-9.394 68.263 23.575 58.337 59.212l-80.068 287.458h183.083l37.941-186.23a47.92 47.92 0 0 0-12.635-43.011L483.105 269.754a47.92 47.92 0 0 0-43.893-13.514z"+ />+ </svg>+);+export const googlechatLogo = (props: LogoProps) => <SiGooglechat color="default" {...props} />;export const whatsappLogo = (props: LogoProps) => <SiWhatsapp color="default" {...props} />;@@ -452,6 +462,7 @@ export const logos = {zapier: zapierLogo,zomato: zomatoLogo,+ zernio: zernioLogo,googlechat: googlechatLogo,whatsapp: whatsappLogo,messenger: messengerLogo,diff --git a/packages/eve-catalog/src/index.ts b/packages/eve-catalog/src/index.tsindex aea8cb7fd..82ed8f7ad 100644--- a/packages/eve-catalog/src/index.ts+++ b/packages/eve-catalog/src/index.ts@@ -171,6 +171,13 @@ export const INTEGRATIONS: readonly IntegrationEntry[] = [tagline: "Facebook Messenger bots with templates, buttons, and reactions via the Chat SDK.",surfaces: { scaffoldable: false, gallery: true },},+ {+ slug: "chat-sdk-zernio",+ name: "Zernio",+ kind: "channel",+ tagline: "Reach seven social and messaging platforms through one Zernio integration.",+ surfaces: { scaffoldable: false, gallery: true },+ },{slug: "agent-browser",name: "agent-browser",