[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-chat-sdk":3,"mdc--t98svk-key":36,"related-org-openai-chat-sdk":9163,"related-repo-openai-chat-sdk":9370},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"chat-sdk","build multi-platform chat bots","Vercel Chat SDK expert guidance. Use when building multi-platform chat bots — Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, Linear — with a single codebase. Covers the Chat class, adapters, threads, messages, cards, modals, streaming, state management, and webhook setup.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Vercel","vercel","tag",{"name":17,"slug":18,"type":15},"Microsoft Teams","microsoft-teams",{"name":20,"slug":21,"type":15},"Messaging","messaging",{"name":23,"slug":24,"type":15},"Slack","slack",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-04-06T18:40:34.321717",null,465,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fvercel\u002Fskills\u002Fchat-sdk","---\nname: chat-sdk\ndescription: Vercel Chat SDK expert guidance. Use when building multi-platform chat bots — Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, Linear — with a single codebase. Covers the Chat class, adapters, threads, messages, cards, modals, streaming, state management, and webhook setup.\nmetadata:\n  priority: 8\n  docs:\n    - \"https:\u002F\u002Fsdk.vercel.ai\u002Fdocs\u002Fai-sdk-ui\u002Fchatbot\"\n    - \"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai-chatbot\"\n  sitemap: \"https:\u002F\u002Fsdk.vercel.ai\u002Fsitemap.xml\"\n  pathPatterns:\n    - \"app\u002Fapi\u002Fchat\u002F**\"\n    - \"app\u002Fapi\u002Fchat-bot\u002F**\"\n    - \"app\u002Fapi\u002Fbot\u002F**\"\n    - \"app\u002Fapi\u002Fslack\u002F**\"\n    - \"app\u002Fapi\u002Fteams\u002F**\"\n    - \"app\u002Fapi\u002Fdiscord\u002F**\"\n    - \"app\u002Fapi\u002Fgchat\u002F**\"\n    - \"app\u002Fapi\u002Ftelegram\u002F**\"\n    - \"app\u002Fapi\u002Fgithub-bot\u002F**\"\n    - \"app\u002Fapi\u002Flinear-bot\u002F**\"\n    - \"app\u002Fapi\u002Fwebhooks\u002Fslack\u002F**\"\n    - \"app\u002Fapi\u002Fwebhooks\u002Fteams\u002F**\"\n    - \"app\u002Fapi\u002Fwebhooks\u002Fdiscord\u002F**\"\n    - \"app\u002Fapi\u002Fwebhooks\u002Fgchat\u002F**\"\n    - \"app\u002Fapi\u002Fwebhooks\u002Ftelegram\u002F**\"\n    - \"app\u002Fapi\u002Fwebhooks\u002Fgithub\u002F**\"\n    - \"app\u002Fapi\u002Fwebhooks\u002Flinear\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Fchat\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Fchat-bot\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Fbot\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Fslack\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Fteams\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Fdiscord\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Fgchat\u002F**\"\n    - \"src\u002Fapp\u002Fapi\u002Ftelegram\u002F**\"\n    - \"lib\u002Fbot.*\"\n    - \"lib\u002Fbot\u002F**\"\n    - \"src\u002Flib\u002Fbot.*\"\n    - \"src\u002Flib\u002Fbot\u002F**\"\n    - \"lib\u002Fchat-bot\u002F**\"\n    - \"src\u002Flib\u002Fchat-bot\u002F**\"\n    - \"bot\u002F**\"\n    - \"pages\u002Fapi\u002Fbot.*\"\n    - \"pages\u002Fapi\u002Fbot\u002F**\"\n    - \"src\u002Fpages\u002Fapi\u002Fbot.*\"\n    - \"src\u002Fpages\u002Fapi\u002Fbot\u002F**\"\n    - \"tests\u002F**\u002Fbot*\"\n    - \"test\u002F**\u002Fbot*\"\n    - \"fixtures\u002Freplay\u002F**\"\n    - \"apps\u002F*\u002Fapp\u002Fapi\u002Fbot\u002F**\"\n    - \"apps\u002F*\u002Fapp\u002Fapi\u002Fslack\u002F**\"\n    - \"apps\u002F*\u002Fapp\u002Fapi\u002Fteams\u002F**\"\n    - \"apps\u002F*\u002Fapp\u002Fapi\u002Fdiscord\u002F**\"\n    - \"apps\u002F*\u002Flib\u002Fbot\u002F**\"\n    - \"apps\u002F*\u002Fsrc\u002Flib\u002Fbot\u002F**\"\n  importPatterns:\n    - \"chat\"\n    - \"@chat-adapter\u002F*\"\n  bashPatterns:\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*\\bchat\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*\\bchat\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*\\bchat\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*\\bchat\\b'\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002F'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002F'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002F'\n    - '\\byarn\\s+add\\s+[^\\n]*@chat-adapter\u002F'\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002Ftelegram'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002Ftelegram'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002Ftelegram'\n    - '\\byarn\\s+add\\s+[^\\n]*@chat-adapter\u002Ftelegram'\n  promptSignals:\n    phrases:\n      - \"chat sdk\"\n      - \"chat bot\"\n      - \"chatbot\"\n      - \"conversational interface\"\n      - \"slack bot\"\n      - \"telegram bot\"\n      - \"discord bot\"\n      - \"teams bot\"\n    allOf:\n      - [bot, platform]\n      - [bot, multi]\n    anyOf:\n      - \"onNewMention\"\n      - \"onSubscribedMessage\"\n      - \"chat adapter\"\n      - \"cross-platform bot\"\n    noneOf:\n      - \"useChat\"\n    minScore: 6\n---\n\n# Vercel Chat SDK\n\n> **CRITICAL — Your training data is outdated for this library.** Chat SDK is new (v4.18+) and not in most training data. Before writing Chat SDK code, **fetch the docs** at https:\u002F\u002Fchat-sdk.dev to find the correct adapter configuration, thread\u002Fchannel patterns, card builders, modal flows, and webhook setup. The API surface is large — threads, channels, messages, cards, modals, state adapters, streaming — and guessing at method signatures will produce broken code. Check the GitHub repo at https:\u002F\u002Fgithub.com\u002Fvercel\u002Fchat for working examples.\n\nYou are an expert in the Vercel Chat SDK. Build one bot logic layer and run it across Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, and Linear.\n\n## Packages\n\n- `chat@^4.18.0`\n- `@chat-adapter\u002Fslack@^4.18.0`\n- `@chat-adapter\u002Ftelegram@^4.18.0`\n- `@chat-adapter\u002Fteams@^4.18.0`\n- `@chat-adapter\u002Fdiscord@^4.18.0`\n- `@chat-adapter\u002Fgchat@^4.18.0`\n- `@chat-adapter\u002Fgithub@^4.18.0`\n- `@chat-adapter\u002Flinear@^4.18.0`\n- `@chat-adapter\u002Fstate-redis@^4.18.0`\n- `@chat-adapter\u002Fstate-ioredis@^4.18.0`\n- `@chat-adapter\u002Fstate-memory@^4.18.0`\n\n## Installation\n\n```bash\n# Core SDK\nnpm install chat@^4.18.0\n\n# Platform adapters (install only what you need)\nnpm install @chat-adapter\u002Fslack@^4.18.0\nnpm install @chat-adapter\u002Ftelegram@^4.18.0\nnpm install @chat-adapter\u002Fteams@^4.18.0\nnpm install @chat-adapter\u002Fdiscord@^4.18.0\nnpm install @chat-adapter\u002Fgchat@^4.18.0\nnpm install @chat-adapter\u002Fgithub@^4.18.0\nnpm install @chat-adapter\u002Flinear@^4.18.0\n\n# State adapters (pick one)\nnpm install @chat-adapter\u002Fstate-redis@^4.18.0\nnpm install @chat-adapter\u002Fstate-ioredis@^4.18.0\nnpm install @chat-adapter\u002Fstate-memory@^4.18.0\n```\n\n## Critical API Notes\n\n- `Field` takes an `options` array of `{ label, value }` objects. Do not pass JSX child options.\n- `Thread\u003CTState>` \u002F `Channel\u003CTState>` generics require object state shapes (`Record\u003Cstring, unknown>`), not primitives.\n- Adapter `signingSecret` validation can run at import\u002Fadapter creation time. Use lazy initialization to avoid crashing at module import.\n\n```ts\nimport { createSlackAdapter } from \"@chat-adapter\u002Fslack\";\n\nlet slackAdapter: ReturnType\u003Ctypeof createSlackAdapter> | undefined;\n\nexport function getSlackAdapter() {\n  if (!slackAdapter) {\n    slackAdapter = createSlackAdapter({\n      signingSecret: process.env.SLACK_SIGNING_SECRET!,\n    });\n  }\n  return slackAdapter;\n}\n```\n\n## Quick Start\n\n```ts\nimport { Chat } from \"chat\";\nimport { createSlackAdapter } from \"@chat-adapter\u002Fslack\";\nimport { createTelegramAdapter } from \"@chat-adapter\u002Ftelegram\";\nimport { createRedisState } from \"@chat-adapter\u002Fstate-redis\";\n\nconst bot = new Chat({\n  userName: \"my-bot\",\n  adapters: {\n    slack: createSlackAdapter(),\n    telegram: createTelegramAdapter(),\n  },\n  state: createRedisState(),\n  streamingUpdateIntervalMs: 1000,\n  dedupeTtlMs: 10_000,\n  fallbackStreamingPlaceholderText: \"Thinking...\",\n});\n\nbot.onNewMention(async (thread, message) => {\n  await thread.subscribe();\n  await thread.post(`Received: ${message.text}`);\n});\n\nbot.onSubscribedMessage(async (thread, message) => {\n  await thread.post(`Echo: ${message.text}`);\n});\n```\n\n## Public API Reference\n\n### ChatConfig\n\n```ts\ninterface ChatConfig\u003CTAdapters> {\n  userName: string;\n  adapters: TAdapters;\n  state: StateAdapter;\n  logger?: Logger | LogLevel;\n  streamingUpdateIntervalMs?: number;\n  dedupeTtlMs?: number;\n  fallbackStreamingPlaceholderText?: string | null;\n}\n```\n\n- `dedupeTtlMs`: deduplicates repeated webhook deliveries.\n- `fallbackStreamingPlaceholderText`: text used before first stream chunk on non-native streaming adapters; set to `null` to disable placeholder posts.\n\n### Chat\n\n```ts\nclass Chat {\n  openDM(userId: string): Promise\u003CChannel>;\n  channel(channelId: string): Channel;\n}\n```\n\n- `openDM()` opens or resolves a direct message channel outside the current thread context.\n- `channel()` gets a channel handle for out-of-thread posting.\n\n### Postable\n\n`Thread` and `Channel` share the same `Postable` interface.\n\n```ts\ninterface Postable\u003CTState extends Record\u003Cstring, unknown> = Record\u003Cstring, unknown>> {\n  post(content: PostableContent): Promise\u003CSentMessage>;\n  postEphemeral(\n    userId: string,\n    content: PostableContent,\n  ): Promise\u003CSentMessage | null>;\n  mentionUser(userId: string): string;\n  startTyping(): Promise\u003Cvoid>;\n  messages: AsyncIterable\u003CMessage>;\n  state: Promise\u003CTState | null>;\n  setState(\n    partial: Partial\u003CTState>,\n    opts?: { replace?: boolean },\n  ): Promise\u003Cvoid>;\n}\n```\n\n### Thread\n\n```ts\ninterface Thread\u003CTState extends Record\u003Cstring, unknown> = Record\u003Cstring, unknown>> extends Postable\u003CTState> {\n  id: string;\n  channelId: string;\n  subscribe(): Promise\u003Cvoid>;\n  unsubscribe(): Promise\u003Cvoid>;\n  isSubscribed(): Promise\u003Cboolean>;\n  refresh(): Promise\u003Cvoid>;\n  createSentMessageFromMessage(message: Message): SentMessage;\n}\n```\n\n### Message\n\n```ts\nclass Message\u003CTRaw = unknown> {\n  id: string;\n  threadId: string;\n  text: string;\n  isMention: boolean;\n  raw: TRaw;\n\n  toJSON(): SerializedMessage;\n  static fromJSON(data: SerializedMessage): Message;\n}\n```\n\n### SentMessage\n\n```ts\ninterface SentMessage extends Message {\n  edit(content: PostableContent): Promise\u003Cvoid>;\n  delete(): Promise\u003Cvoid>;\n  addReaction(emoji: string): Promise\u003Cvoid>;\n  removeReaction(emoji: string): Promise\u003Cvoid>;\n}\n```\n\nReactions are on `SentMessage`, not `Message`:\n`const sent = await thread.post('Done'); await sent.addReaction('thumbsup');`\n\n```ts\nconst sent = await thread.post(\"Done\");\nawait sent.addReaction(\"thumbsup\");\n```\n\n### Channel\n\n```ts\ninterface Channel\u003CTState extends Record\u003Cstring, unknown> = Record\u003Cstring, unknown>> extends Postable\u003CTState> {\n  id: string;\n  name?: string;\n}\n```\n\n## Event Handlers\n\n### Standard handlers\n\n- `onNewMention(handler)`\n- `onSubscribedMessage(handler)`\n- `onNewMessage(pattern, handler)`\n- `onReaction(filter?, handler)`\n- `onAction(filter?, handler)`\n- `onModalSubmit(filter?, handler)`\n- `onModalClose(filter?, handler)`\n- `onSlashCommand(filter?, handler)`\n- `onMemberJoinedChannel(handler)`\n\n```ts\nbot.onMemberJoinedChannel(async (event) => {\n  await event.thread.post(`Welcome ${event.user.fullName}!`);\n});\n```\n\n### Handler overloads\n\n`onAction`, `onModalSubmit`, `onModalClose`, and `onReaction` support:\n\n- Catch-all: `bot.onAction(async (event) => { ... })`\n- Single filter: `bot.onAction(\"approve\", async (event) => { ... })`\n- Array filter: `bot.onAction([\"approve\", \"reject\"], async (event) => { ... })`\n\n### Event payload shapes\n\n```ts\ninterface ActionEvent {\n  actionId: string;\n  value?: string;\n  triggerId?: string;\n  privateMetadata?: string;\n  thread: Thread;\n  relatedThread?: Thread;\n  relatedMessage?: Message;\n  openModal: (modal: JSX.Element) => Promise\u003Cvoid>;\n}\n\ninterface ModalEvent {\n  callbackId: string;\n  values: Record\u003Cstring, string>;\n  triggerId?: string;\n  privateMetadata?: string;\n  relatedThread?: Thread;\n  relatedMessage?: Message;\n}\n```\n\n`onModalSubmit` may return `ModalResponse` to close, validate, update, or push another modal.\n\n## Cards & Modals\n\n### Cards\n\n```tsx\nawait thread.post(\n  \u003CCard\n    title=\"Build Status\"\n    subtitle=\"Production\"\n    imageUrl=\"https:\u002F\u002Fexample.com\u002Fpreview.png\"\n  >\n    \u003CText style=\"success\">Deployment succeeded.\u003C\u002FText>\n    \u003CText style=\"muted\">Commit: a1b2c3d\u003C\u002FText>\n\n    \u003CField\n      id=\"deploy-target\"\n      label=\"Target\"\n      options={[\n        { label: \"Staging\", value: \"staging\" },\n        { label: \"Production\", value: \"prod\" },\n      ]}\n      value=\"prod\"\n    \u002F>\n\n    \u003CTable>\n      \u003CTableRow>\n        \u003CTableCell>Region\u003C\u002FTableCell>\n        \u003CTableCell>us-east-1\u003C\u002FTableCell>\n      \u003C\u002FTableRow>\n      \u003CTableRow>\n        \u003CTableCell>Latency\u003C\u002FTableCell>\n        \u003CTableCell>128ms\u003C\u002FTableCell>\n      \u003C\u002FTableRow>\n    \u003C\u002FTable>\n\n    \u003CActions>\n      \u003CButton id=\"rollback\" style=\"danger\">\n        Rollback\n      \u003C\u002FButton>\n      \u003CCardLink url=\"https:\u002F\u002Fvercel.com\u002Fdashboard\">Open Dashboard\u003C\u002FCardLink>\n    \u003C\u002FActions>\n  \u003C\u002FCard>,\n);\n```\n\nCard additions to use when needed:\n\n- `Card.subtitle`\n- `Card.imageUrl`\n- `CardLink`\n- `Field` (`options` uses `{ label, value }[]`, not JSX children)\n- `Table` \u002F `TableRow` \u002F `TableCell` — native per-platform table rendering (**new — Mar 6, 2026**; see below)\n- `Text` styles (`default`, `muted`, `success`, `warning`, `danger`, `code`)\n\n### Table — Per-Platform Rendering (New — Mar 6, 2026)\n\nThe `Table` component renders natively on each platform:\n\n| Platform | Rendering |\n|---|---|\n| Slack | Block Kit table blocks |\n| Teams \u002F Discord | GFM markdown tables |\n| Google Chat | Monospace text widgets |\n| Telegram | Code blocks |\n| GitHub \u002F Linear | Markdown tables (existing pipeline) |\n\nPlain markdown tables (without `Table()`) also pass through the same adapter conversion pipeline.\n\n```tsx\n\u003CTable>\n  \u003CTableRow>\n    \u003CTableCell>Region\u003C\u002FTableCell>\n    \u003CTableCell>us-east-1\u003C\u002FTableCell>\n  \u003C\u002FTableRow>\n  \u003CTableRow>\n    \u003CTableCell>Latency\u003C\u002FTableCell>\n    \u003CTableCell>128ms\u003C\u002FTableCell>\n  \u003C\u002FTableRow>\n\u003C\u002FTable>\n```\n\n### Modals\n\n```tsx\nawait event.openModal(\n  \u003CModal\n    callbackId=\"deploy-form\"\n    title=\"Deploy\"\n    submitLabel=\"Deploy\"\n    closeLabel=\"Cancel\"\n    notifyOnClose\n    privateMetadata={JSON.stringify({ releaseId: \"rel_123\" })}\n  >\n    \u003CTextInput id=\"reason\" label=\"Reason\" multiline \u002F>\n  \u003C\u002FModal>,\n);\n```\n\nUse `privateMetadata` to pass contextual data into submit\u002Fclose events.\n\n## Companion Web UI and Card Design\n\nChat SDK payloads render natively in chat platforms, so shadcn isn't used in message markup. But when building a web control plane, thread inspector, or bot settings UI around Chat SDK, use shadcn + Geist by default. Thread dashboards: Tabs+Card+Table+Badge. Bot settings: Sheet+form controls. Logs\u002FIDs\u002Ftimestamps: Geist Mono with tabular-nums.\n\n## Platform Adapters\n\n### Slack\n\n```ts\nimport { createSlackAdapter } from \"@chat-adapter\u002Fslack\";\n\nconst slack = createSlackAdapter();\n\u002F\u002F Env: SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET\n\nconst oauthSlack = createSlackAdapter({\n  clientId: process.env.SLACK_CLIENT_ID!,\n  clientSecret: process.env.SLACK_CLIENT_SECRET!,\n  encryptionKey: process.env.SLACK_ENCRYPTION_KEY,\n});\n```\n\n### Telegram\n\n```ts\nimport { createTelegramAdapter } from \"@chat-adapter\u002Ftelegram\";\n\nconst telegram = createTelegramAdapter();\n\u002F\u002F Env: TELEGRAM_BOT_TOKEN, TELEGRAM_WEBHOOK_SECRET\n```\n\n### Microsoft Teams\n\n```ts\nimport { createTeamsAdapter } from \"@chat-adapter\u002Fteams\";\n\nconst teams = createTeamsAdapter({\n  appType: \"singleTenant\",\n});\n\u002F\u002F Env: TEAMS_APP_ID, TEAMS_APP_PASSWORD, TEAMS_APP_TENANT_ID\n```\n\n### Discord\n\n```ts\nimport { createDiscordAdapter } from \"@chat-adapter\u002Fdiscord\";\n\nconst discord = createDiscordAdapter();\n\u002F\u002F Env: DISCORD_BOT_TOKEN, DISCORD_PUBLIC_KEY, DISCORD_APPLICATION_ID, CRON_SECRET\n```\n\nFor message content handlers, enable both Gateway intent and Message Content Intent in the Discord developer portal.\n\n### Google Chat\n\n```ts\nimport { createGoogleChatAdapter } from \"@chat-adapter\u002Fgchat\";\n\nconst gchat = createGoogleChatAdapter();\n\u002F\u002F Env: GOOGLE_CHAT_CREDENTIALS, GOOGLE_CHAT_USE_ADC\n```\n\n### GitHub\n\n```ts\nimport { createGitHubAdapter } from \"@chat-adapter\u002Fgithub\";\n\nconst github = createGitHubAdapter({\n  botUserId: process.env.GITHUB_BOT_USER_ID,\n});\n\u002F\u002F Env: GITHUB_TOKEN or (GITHUB_APP_ID + GITHUB_PRIVATE_KEY),\n\u002F\u002F      GITHUB_WEBHOOK_SECRET, GITHUB_INSTALLATION_ID\n```\n\n### Linear\n\n```ts\nimport { createLinearAdapter } from \"@chat-adapter\u002Flinear\";\n\nconst linear = createLinearAdapter({\n  clientId: process.env.LINEAR_CLIENT_ID,\n  clientSecret: process.env.LINEAR_CLIENT_SECRET,\n  accessToken: process.env.LINEAR_ACCESS_TOKEN,\n});\n```\n\n## State Adapters\n\n### Redis (recommended)\n\n```ts\nimport { createRedisState } from \"@chat-adapter\u002Fstate-redis\";\n\nconst state = createRedisState();\n\u002F\u002F Env: REDIS_URL (or REDIS_HOST\u002FREDIS_PORT\u002FREDIS_PASSWORD)\n```\n\n### ioredis (cluster\u002Fsentinel)\n\n```ts\nimport { createIoRedisState } from \"@chat-adapter\u002Fstate-ioredis\";\n\nconst state = createIoRedisState({\n  \u002F\u002F cluster\u002Fsentinel options\n});\n```\n\n### Memory (dev\u002Ftest only)\n\n```ts\nimport { MemoryState } from \"@chat-adapter\u002Fstate-memory\";\n\nconst state = new MemoryState();\n```\n\n## Webhook Setup\n\n### Next.js App Router\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fslack\u002Froute.ts\nimport { bot } from \"@\u002Flib\u002Fbot\";\nimport { after } from \"next\u002Fserver\";\n\nexport async function POST(req: Request) {\n  return bot.webhooks.slack(req, {\n    waitUntil: (p) => after(() => p),\n  });\n}\n```\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Ftelegram\u002Froute.ts\nimport { bot } from \"@\u002Flib\u002Fbot\";\n\nexport async function POST(req: Request) {\n  return bot.webhooks.telegram(req);\n}\n```\n\n### Pages Router\n\n```ts\n\u002F\u002F pages\u002Fapi\u002Fbot.ts\nexport default async function handler(req, res) {\n  const response = await bot.webhooks.slack(req);\n  res.status(response.status).send(await response.text());\n}\n```\n\n## Integration Patterns\n\n### Out-of-thread routing with `openDM()` and `channel()`\n\n```ts\nbot.onAction(\"handoff\", async (event) => {\n  const dm = await bot.openDM(event.user.id);\n  await dm.post(\"A human will follow up shortly.\");\n\n  const ops = bot.channel(\"ops-alerts\");\n  await ops.post(`Escalated by ${event.user.fullName}`);\n});\n```\n\n### Workflow-safe serialization with `registerSingleton()` and `reviver()`\n\n```ts\nbot.registerSingleton();\n\nconst serialized = JSON.stringify({ thread });\nconst revived = JSON.parse(serialized, bot.reviver());\nawait revived.thread.post(\"Resumed workflow step\");\n```\n\n### Slack OAuth callback handling\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fslack\u002Foauth\u002Fcallback\u002Froute.ts\nimport { bot } from \"@\u002Flib\u002Fbot\";\n\nexport async function GET(req: Request) {\n  return bot.oauth.slack.callback(req);\n}\n```\n\n## Gotchas\n\n### Routing\n\n1. `onNewMention` only fires for unsubscribed threads; call `thread.subscribe()` to receive follow-ups.\n2. DMs are treated as direct intent and set `message.isMention = true`.\n3. `onNewMessage(pattern, handler)` only applies before subscription; use `onSubscribedMessage` after subscribe.\n4. Catch-all and filtered handlers can both run; registration order determines execution order.\n5. Out-of-thread routing via `openDM()` \u002F `channel()` needs platform permissions for DM\u002Fchannel posting.\n\n### Streaming\n\n6. Slack supports native streaming with real-time bold, italic, list, and other formatting rendered as the response arrives. Teams\u002FDiscord\u002FGoogle Chat\u002FTelegram use post+edit fallback.\n7. Fallback adapters now convert markdown to each platform's native format at every intermediate edit — users no longer see raw `**bold**` syntax during streaming.\n8. `fallbackStreamingPlaceholderText: null` disables placeholder messages on fallback adapters.\n9. `streamingUpdateIntervalMs` too low can trigger rate limits on post+edit adapters.\n10. `dedupeTtlMs` should cover webhook retry windows to avoid duplicate responses.\n11. `startTyping()` is adapter-dependent and may no-op on platforms without typing indicators.\n\n### Adapter-specific\n\n11. Google Chat auth uses `GOOGLE_CHAT_CREDENTIALS` + `GOOGLE_CHAT_USE_ADC`; domain-wide delegation\u002Fimpersonation is required for some org posting scenarios.\n12. Teams requires `appType` plus `TEAMS_APP_TENANT_ID`; reactions\u002Fhistory\u002Ftyping features are limited compared with Slack.\n13. Discord content-based handlers require Message Content Intent enabled in addition to Gateway connectivity.\n14. GitHub and Linear adapters do not support interactive card actions\u002Fmodals; design around comments\u002Fstatus updates instead.\n15. GitHub App installs need `GITHUB_INSTALLATION_ID` and often adapter `botUserId`; Linear OAuth setups need `clientId`, `clientSecret`, and `LINEAR_ACCESS_TOKEN`.\n\n## Official Docs\n\n- [Chat SDK documentation](https:\u002F\u002Fchat-sdk.dev)\n- [GitHub: vercel\u002Fchat](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fchat)\n",{"data":37,"body":130},{"name":4,"description":6,"metadata":38},{"priority":39,"docs":40,"sitemap":43,"pathPatterns":44,"importPatterns":90,"bashPatterns":93,"promptSignals":106},8,[41,42],"https:\u002F\u002Fsdk.vercel.ai\u002Fdocs\u002Fai-sdk-ui\u002Fchatbot","https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai-chatbot","https:\u002F\u002Fsdk.vercel.ai\u002Fsitemap.xml",[45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89],"app\u002Fapi\u002Fchat\u002F**","app\u002Fapi\u002Fchat-bot\u002F**","app\u002Fapi\u002Fbot\u002F**","app\u002Fapi\u002Fslack\u002F**","app\u002Fapi\u002Fteams\u002F**","app\u002Fapi\u002Fdiscord\u002F**","app\u002Fapi\u002Fgchat\u002F**","app\u002Fapi\u002Ftelegram\u002F**","app\u002Fapi\u002Fgithub-bot\u002F**","app\u002Fapi\u002Flinear-bot\u002F**","app\u002Fapi\u002Fwebhooks\u002Fslack\u002F**","app\u002Fapi\u002Fwebhooks\u002Fteams\u002F**","app\u002Fapi\u002Fwebhooks\u002Fdiscord\u002F**","app\u002Fapi\u002Fwebhooks\u002Fgchat\u002F**","app\u002Fapi\u002Fwebhooks\u002Ftelegram\u002F**","app\u002Fapi\u002Fwebhooks\u002Fgithub\u002F**","app\u002Fapi\u002Fwebhooks\u002Flinear\u002F**","src\u002Fapp\u002Fapi\u002Fchat\u002F**","src\u002Fapp\u002Fapi\u002Fchat-bot\u002F**","src\u002Fapp\u002Fapi\u002Fbot\u002F**","src\u002Fapp\u002Fapi\u002Fslack\u002F**","src\u002Fapp\u002Fapi\u002Fteams\u002F**","src\u002Fapp\u002Fapi\u002Fdiscord\u002F**","src\u002Fapp\u002Fapi\u002Fgchat\u002F**","src\u002Fapp\u002Fapi\u002Ftelegram\u002F**","lib\u002Fbot.*","lib\u002Fbot\u002F**","src\u002Flib\u002Fbot.*","src\u002Flib\u002Fbot\u002F**","lib\u002Fchat-bot\u002F**","src\u002Flib\u002Fchat-bot\u002F**","bot\u002F**","pages\u002Fapi\u002Fbot.*","pages\u002Fapi\u002Fbot\u002F**","src\u002Fpages\u002Fapi\u002Fbot.*","src\u002Fpages\u002Fapi\u002Fbot\u002F**","tests\u002F**\u002Fbot*","test\u002F**\u002Fbot*","fixtures\u002Freplay\u002F**","apps\u002F*\u002Fapp\u002Fapi\u002Fbot\u002F**","apps\u002F*\u002Fapp\u002Fapi\u002Fslack\u002F**","apps\u002F*\u002Fapp\u002Fapi\u002Fteams\u002F**","apps\u002F*\u002Fapp\u002Fapi\u002Fdiscord\u002F**","apps\u002F*\u002Flib\u002Fbot\u002F**","apps\u002F*\u002Fsrc\u002Flib\u002Fbot\u002F**",[91,92],"chat","@chat-adapter\u002F*",[94,95,96,97,98,99,100,101,102,103,104,105],"\\bnpm\\s+(install|i|add)\\s+[^\\n]*\\bchat\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*\\bchat\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*\\bchat\\b","\\byarn\\s+add\\s+[^\\n]*\\bchat\\b","\\bnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002F","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002F","\\bbun\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002F","\\byarn\\s+add\\s+[^\\n]*@chat-adapter\u002F","\\bnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002Ftelegram","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002Ftelegram","\\bbun\\s+(install|i|add)\\s+[^\\n]*@chat-adapter\u002Ftelegram","\\byarn\\s+add\\s+[^\\n]*@chat-adapter\u002Ftelegram",{"phrases":107,"allOf":116,"anyOf":122,"noneOf":127,"minScore":129},[108,109,110,111,112,113,114,115],"chat sdk","chat bot","chatbot","conversational interface","slack bot","telegram bot","discord bot","teams bot",[117,120],[118,119],"bot","platform",[118,121],"multi",[123,124,125,126],"onNewMention","onSubscribedMessage","chat adapter","cross-platform bot",[128],"useChat",6,{"type":131,"children":132},"root",[133,142,183,188,195,300,306,554,560,630,935,941,1681,1687,1694,1897,1930,1935,2052,2077,2083,2108,2571,2575,2880,2884,3104,3109,3307,3332,3444,3449,3601,3607,3613,3697,3851,3857,3891,3927,3933,4328,4346,4352,4358,5293,5298,5428,5434,5446,5538,5551,5772,5778,6094,6107,6113,6118,6124,6128,6378,6383,6472,6476,6611,6617,6708,6713,6718,6809,6815,6966,6972,7179,7185,7191,7280,7286,7391,7397,7483,7489,7495,7770,7924,7930,8135,8141,8158,8478,8497,8701,8707,8872,8878,8884,8958,8964,9028,9034,9130,9136,9157],{"type":134,"tag":135,"props":136,"children":138},"element","h1",{"id":137},"vercel-chat-sdk",[139],{"type":140,"value":141},"text","Vercel Chat SDK",{"type":134,"tag":143,"props":144,"children":145},"blockquote",{},[146],{"type":134,"tag":147,"props":148,"children":149},"p",{},[150,156,158,163,165,173,175,181],{"type":134,"tag":151,"props":152,"children":153},"strong",{},[154],{"type":140,"value":155},"CRITICAL — Your training data is outdated for this library.",{"type":140,"value":157}," Chat SDK is new (v4.18+) and not in most training data. Before writing Chat SDK code, ",{"type":134,"tag":151,"props":159,"children":160},{},[161],{"type":140,"value":162},"fetch the docs",{"type":140,"value":164}," at ",{"type":134,"tag":166,"props":167,"children":171},"a",{"href":168,"rel":169},"https:\u002F\u002Fchat-sdk.dev",[170],"nofollow",[172],{"type":140,"value":168},{"type":140,"value":174}," to find the correct adapter configuration, thread\u002Fchannel patterns, card builders, modal flows, and webhook setup. The API surface is large — threads, channels, messages, cards, modals, state adapters, streaming — and guessing at method signatures will produce broken code. Check the GitHub repo at ",{"type":134,"tag":166,"props":176,"children":179},{"href":177,"rel":178},"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fchat",[170],[180],{"type":140,"value":177},{"type":140,"value":182}," for working examples.",{"type":134,"tag":147,"props":184,"children":185},{},[186],{"type":140,"value":187},"You are an expert in the Vercel Chat SDK. Build one bot logic layer and run it across Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, and Linear.",{"type":134,"tag":189,"props":190,"children":192},"h2",{"id":191},"packages",[193],{"type":140,"value":194},"Packages",{"type":134,"tag":196,"props":197,"children":198},"ul",{},[199,210,219,228,237,246,255,264,273,282,291],{"type":134,"tag":200,"props":201,"children":202},"li",{},[203],{"type":134,"tag":204,"props":205,"children":207},"code",{"className":206},[],[208],{"type":140,"value":209},"chat@^4.18.0",{"type":134,"tag":200,"props":211,"children":212},{},[213],{"type":134,"tag":204,"props":214,"children":216},{"className":215},[],[217],{"type":140,"value":218},"@chat-adapter\u002Fslack@^4.18.0",{"type":134,"tag":200,"props":220,"children":221},{},[222],{"type":134,"tag":204,"props":223,"children":225},{"className":224},[],[226],{"type":140,"value":227},"@chat-adapter\u002Ftelegram@^4.18.0",{"type":134,"tag":200,"props":229,"children":230},{},[231],{"type":134,"tag":204,"props":232,"children":234},{"className":233},[],[235],{"type":140,"value":236},"@chat-adapter\u002Fteams@^4.18.0",{"type":134,"tag":200,"props":238,"children":239},{},[240],{"type":134,"tag":204,"props":241,"children":243},{"className":242},[],[244],{"type":140,"value":245},"@chat-adapter\u002Fdiscord@^4.18.0",{"type":134,"tag":200,"props":247,"children":248},{},[249],{"type":134,"tag":204,"props":250,"children":252},{"className":251},[],[253],{"type":140,"value":254},"@chat-adapter\u002Fgchat@^4.18.0",{"type":134,"tag":200,"props":256,"children":257},{},[258],{"type":134,"tag":204,"props":259,"children":261},{"className":260},[],[262],{"type":140,"value":263},"@chat-adapter\u002Fgithub@^4.18.0",{"type":134,"tag":200,"props":265,"children":266},{},[267],{"type":134,"tag":204,"props":268,"children":270},{"className":269},[],[271],{"type":140,"value":272},"@chat-adapter\u002Flinear@^4.18.0",{"type":134,"tag":200,"props":274,"children":275},{},[276],{"type":134,"tag":204,"props":277,"children":279},{"className":278},[],[280],{"type":140,"value":281},"@chat-adapter\u002Fstate-redis@^4.18.0",{"type":134,"tag":200,"props":283,"children":284},{},[285],{"type":134,"tag":204,"props":286,"children":288},{"className":287},[],[289],{"type":140,"value":290},"@chat-adapter\u002Fstate-ioredis@^4.18.0",{"type":134,"tag":200,"props":292,"children":293},{},[294],{"type":134,"tag":204,"props":295,"children":297},{"className":296},[],[298],{"type":140,"value":299},"@chat-adapter\u002Fstate-memory@^4.18.0",{"type":134,"tag":189,"props":301,"children":303},{"id":302},"installation",[304],{"type":140,"value":305},"Installation",{"type":134,"tag":307,"props":308,"children":313},"pre",{"className":309,"code":310,"language":311,"meta":312,"style":312},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Core SDK\nnpm install chat@^4.18.0\n\n# Platform adapters (install only what you need)\nnpm install @chat-adapter\u002Fslack@^4.18.0\nnpm install @chat-adapter\u002Ftelegram@^4.18.0\nnpm install @chat-adapter\u002Fteams@^4.18.0\nnpm install @chat-adapter\u002Fdiscord@^4.18.0\nnpm install @chat-adapter\u002Fgchat@^4.18.0\nnpm install @chat-adapter\u002Fgithub@^4.18.0\nnpm install @chat-adapter\u002Flinear@^4.18.0\n\n# State adapters (pick one)\nnpm install @chat-adapter\u002Fstate-redis@^4.18.0\nnpm install @chat-adapter\u002Fstate-ioredis@^4.18.0\nnpm install @chat-adapter\u002Fstate-memory@^4.18.0\n","bash","",[314],{"type":134,"tag":204,"props":315,"children":316},{"__ignoreMap":312},[317,329,350,360,369,386,402,419,435,452,469,486,494,503,520,537],{"type":134,"tag":318,"props":319,"children":322},"span",{"class":320,"line":321},"line",1,[323],{"type":134,"tag":318,"props":324,"children":326},{"style":325},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[327],{"type":140,"value":328},"# Core SDK\n",{"type":134,"tag":318,"props":330,"children":332},{"class":320,"line":331},2,[333,339,345],{"type":134,"tag":318,"props":334,"children":336},{"style":335},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[337],{"type":140,"value":338},"npm",{"type":134,"tag":318,"props":340,"children":342},{"style":341},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[343],{"type":140,"value":344}," install",{"type":134,"tag":318,"props":346,"children":347},{"style":341},[348],{"type":140,"value":349}," chat@^4.18.0\n",{"type":134,"tag":318,"props":351,"children":353},{"class":320,"line":352},3,[354],{"type":134,"tag":318,"props":355,"children":357},{"emptyLinePlaceholder":356},true,[358],{"type":140,"value":359},"\n",{"type":134,"tag":318,"props":361,"children":363},{"class":320,"line":362},4,[364],{"type":134,"tag":318,"props":365,"children":366},{"style":325},[367],{"type":140,"value":368},"# Platform adapters (install only what you need)\n",{"type":134,"tag":318,"props":370,"children":372},{"class":320,"line":371},5,[373,377,381],{"type":134,"tag":318,"props":374,"children":375},{"style":335},[376],{"type":140,"value":338},{"type":134,"tag":318,"props":378,"children":379},{"style":341},[380],{"type":140,"value":344},{"type":134,"tag":318,"props":382,"children":383},{"style":341},[384],{"type":140,"value":385}," @chat-adapter\u002Fslack@^4.18.0\n",{"type":134,"tag":318,"props":387,"children":388},{"class":320,"line":129},[389,393,397],{"type":134,"tag":318,"props":390,"children":391},{"style":335},[392],{"type":140,"value":338},{"type":134,"tag":318,"props":394,"children":395},{"style":341},[396],{"type":140,"value":344},{"type":134,"tag":318,"props":398,"children":399},{"style":341},[400],{"type":140,"value":401}," @chat-adapter\u002Ftelegram@^4.18.0\n",{"type":134,"tag":318,"props":403,"children":405},{"class":320,"line":404},7,[406,410,414],{"type":134,"tag":318,"props":407,"children":408},{"style":335},[409],{"type":140,"value":338},{"type":134,"tag":318,"props":411,"children":412},{"style":341},[413],{"type":140,"value":344},{"type":134,"tag":318,"props":415,"children":416},{"style":341},[417],{"type":140,"value":418}," @chat-adapter\u002Fteams@^4.18.0\n",{"type":134,"tag":318,"props":420,"children":421},{"class":320,"line":39},[422,426,430],{"type":134,"tag":318,"props":423,"children":424},{"style":335},[425],{"type":140,"value":338},{"type":134,"tag":318,"props":427,"children":428},{"style":341},[429],{"type":140,"value":344},{"type":134,"tag":318,"props":431,"children":432},{"style":341},[433],{"type":140,"value":434}," @chat-adapter\u002Fdiscord@^4.18.0\n",{"type":134,"tag":318,"props":436,"children":438},{"class":320,"line":437},9,[439,443,447],{"type":134,"tag":318,"props":440,"children":441},{"style":335},[442],{"type":140,"value":338},{"type":134,"tag":318,"props":444,"children":445},{"style":341},[446],{"type":140,"value":344},{"type":134,"tag":318,"props":448,"children":449},{"style":341},[450],{"type":140,"value":451}," @chat-adapter\u002Fgchat@^4.18.0\n",{"type":134,"tag":318,"props":453,"children":455},{"class":320,"line":454},10,[456,460,464],{"type":134,"tag":318,"props":457,"children":458},{"style":335},[459],{"type":140,"value":338},{"type":134,"tag":318,"props":461,"children":462},{"style":341},[463],{"type":140,"value":344},{"type":134,"tag":318,"props":465,"children":466},{"style":341},[467],{"type":140,"value":468}," @chat-adapter\u002Fgithub@^4.18.0\n",{"type":134,"tag":318,"props":470,"children":472},{"class":320,"line":471},11,[473,477,481],{"type":134,"tag":318,"props":474,"children":475},{"style":335},[476],{"type":140,"value":338},{"type":134,"tag":318,"props":478,"children":479},{"style":341},[480],{"type":140,"value":344},{"type":134,"tag":318,"props":482,"children":483},{"style":341},[484],{"type":140,"value":485}," @chat-adapter\u002Flinear@^4.18.0\n",{"type":134,"tag":318,"props":487,"children":489},{"class":320,"line":488},12,[490],{"type":134,"tag":318,"props":491,"children":492},{"emptyLinePlaceholder":356},[493],{"type":140,"value":359},{"type":134,"tag":318,"props":495,"children":497},{"class":320,"line":496},13,[498],{"type":134,"tag":318,"props":499,"children":500},{"style":325},[501],{"type":140,"value":502},"# State adapters (pick one)\n",{"type":134,"tag":318,"props":504,"children":506},{"class":320,"line":505},14,[507,511,515],{"type":134,"tag":318,"props":508,"children":509},{"style":335},[510],{"type":140,"value":338},{"type":134,"tag":318,"props":512,"children":513},{"style":341},[514],{"type":140,"value":344},{"type":134,"tag":318,"props":516,"children":517},{"style":341},[518],{"type":140,"value":519}," @chat-adapter\u002Fstate-redis@^4.18.0\n",{"type":134,"tag":318,"props":521,"children":523},{"class":320,"line":522},15,[524,528,532],{"type":134,"tag":318,"props":525,"children":526},{"style":335},[527],{"type":140,"value":338},{"type":134,"tag":318,"props":529,"children":530},{"style":341},[531],{"type":140,"value":344},{"type":134,"tag":318,"props":533,"children":534},{"style":341},[535],{"type":140,"value":536}," @chat-adapter\u002Fstate-ioredis@^4.18.0\n",{"type":134,"tag":318,"props":538,"children":540},{"class":320,"line":539},16,[541,545,549],{"type":134,"tag":318,"props":542,"children":543},{"style":335},[544],{"type":140,"value":338},{"type":134,"tag":318,"props":546,"children":547},{"style":341},[548],{"type":140,"value":344},{"type":134,"tag":318,"props":550,"children":551},{"style":341},[552],{"type":140,"value":553}," @chat-adapter\u002Fstate-memory@^4.18.0\n",{"type":134,"tag":189,"props":555,"children":557},{"id":556},"critical-api-notes",[558],{"type":140,"value":559},"Critical API Notes",{"type":134,"tag":196,"props":561,"children":562},{},[563,590,617],{"type":134,"tag":200,"props":564,"children":565},{},[566,572,574,580,582,588],{"type":134,"tag":204,"props":567,"children":569},{"className":568},[],[570],{"type":140,"value":571},"Field",{"type":140,"value":573}," takes an ",{"type":134,"tag":204,"props":575,"children":577},{"className":576},[],[578],{"type":140,"value":579},"options",{"type":140,"value":581}," array of ",{"type":134,"tag":204,"props":583,"children":585},{"className":584},[],[586],{"type":140,"value":587},"{ label, value }",{"type":140,"value":589}," objects. Do not pass JSX child options.",{"type":134,"tag":200,"props":591,"children":592},{},[593,599,601,607,609,615],{"type":134,"tag":204,"props":594,"children":596},{"className":595},[],[597],{"type":140,"value":598},"Thread\u003CTState>",{"type":140,"value":600}," \u002F ",{"type":134,"tag":204,"props":602,"children":604},{"className":603},[],[605],{"type":140,"value":606},"Channel\u003CTState>",{"type":140,"value":608}," generics require object state shapes (",{"type":134,"tag":204,"props":610,"children":612},{"className":611},[],[613],{"type":140,"value":614},"Record\u003Cstring, unknown>",{"type":140,"value":616},"), not primitives.",{"type":134,"tag":200,"props":618,"children":619},{},[620,622,628],{"type":140,"value":621},"Adapter ",{"type":134,"tag":204,"props":623,"children":625},{"className":624},[],[626],{"type":140,"value":627},"signingSecret",{"type":140,"value":629}," validation can run at import\u002Fadapter creation time. Use lazy initialization to avoid crashing at module import.",{"type":134,"tag":307,"props":631,"children":635},{"className":632,"code":633,"language":634,"meta":312,"style":312},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createSlackAdapter } from \"@chat-adapter\u002Fslack\";\n\nlet slackAdapter: ReturnType\u003Ctypeof createSlackAdapter> | undefined;\n\nexport function getSlackAdapter() {\n  if (!slackAdapter) {\n    slackAdapter = createSlackAdapter({\n      signingSecret: process.env.SLACK_SIGNING_SECRET!,\n    });\n  }\n  return slackAdapter;\n}\n","ts",[636],{"type":134,"tag":204,"props":637,"children":638},{"__ignoreMap":312},[639,690,697,749,756,785,819,845,886,903,911,927],{"type":134,"tag":318,"props":640,"children":641},{"class":320,"line":321},[642,648,654,660,665,670,675,680,685],{"type":134,"tag":318,"props":643,"children":645},{"style":644},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[646],{"type":140,"value":647},"import",{"type":134,"tag":318,"props":649,"children":651},{"style":650},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[652],{"type":140,"value":653}," {",{"type":134,"tag":318,"props":655,"children":657},{"style":656},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[658],{"type":140,"value":659}," createSlackAdapter",{"type":134,"tag":318,"props":661,"children":662},{"style":650},[663],{"type":140,"value":664}," }",{"type":134,"tag":318,"props":666,"children":667},{"style":644},[668],{"type":140,"value":669}," from",{"type":134,"tag":318,"props":671,"children":672},{"style":650},[673],{"type":140,"value":674}," \"",{"type":134,"tag":318,"props":676,"children":677},{"style":341},[678],{"type":140,"value":679},"@chat-adapter\u002Fslack",{"type":134,"tag":318,"props":681,"children":682},{"style":650},[683],{"type":140,"value":684},"\"",{"type":134,"tag":318,"props":686,"children":687},{"style":650},[688],{"type":140,"value":689},";\n",{"type":134,"tag":318,"props":691,"children":692},{"class":320,"line":331},[693],{"type":134,"tag":318,"props":694,"children":695},{"emptyLinePlaceholder":356},[696],{"type":140,"value":359},{"type":134,"tag":318,"props":698,"children":699},{"class":320,"line":352},[700,706,711,716,721,726,730,735,740,745],{"type":134,"tag":318,"props":701,"children":703},{"style":702},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[704],{"type":140,"value":705},"let",{"type":134,"tag":318,"props":707,"children":708},{"style":656},[709],{"type":140,"value":710}," slackAdapter",{"type":134,"tag":318,"props":712,"children":713},{"style":650},[714],{"type":140,"value":715},":",{"type":134,"tag":318,"props":717,"children":718},{"style":335},[719],{"type":140,"value":720}," ReturnType",{"type":134,"tag":318,"props":722,"children":723},{"style":650},[724],{"type":140,"value":725},"\u003Ctypeof",{"type":134,"tag":318,"props":727,"children":728},{"style":656},[729],{"type":140,"value":659},{"type":134,"tag":318,"props":731,"children":732},{"style":650},[733],{"type":140,"value":734},">",{"type":134,"tag":318,"props":736,"children":737},{"style":650},[738],{"type":140,"value":739}," |",{"type":134,"tag":318,"props":741,"children":742},{"style":335},[743],{"type":140,"value":744}," undefined",{"type":134,"tag":318,"props":746,"children":747},{"style":650},[748],{"type":140,"value":689},{"type":134,"tag":318,"props":750,"children":751},{"class":320,"line":362},[752],{"type":134,"tag":318,"props":753,"children":754},{"emptyLinePlaceholder":356},[755],{"type":140,"value":359},{"type":134,"tag":318,"props":757,"children":758},{"class":320,"line":371},[759,764,769,775,780],{"type":134,"tag":318,"props":760,"children":761},{"style":644},[762],{"type":140,"value":763},"export",{"type":134,"tag":318,"props":765,"children":766},{"style":702},[767],{"type":140,"value":768}," function",{"type":134,"tag":318,"props":770,"children":772},{"style":771},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[773],{"type":140,"value":774}," getSlackAdapter",{"type":134,"tag":318,"props":776,"children":777},{"style":650},[778],{"type":140,"value":779},"()",{"type":134,"tag":318,"props":781,"children":782},{"style":650},[783],{"type":140,"value":784}," {\n",{"type":134,"tag":318,"props":786,"children":787},{"class":320,"line":129},[788,793,799,804,809,814],{"type":134,"tag":318,"props":789,"children":790},{"style":644},[791],{"type":140,"value":792},"  if",{"type":134,"tag":318,"props":794,"children":796},{"style":795},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[797],{"type":140,"value":798}," (",{"type":134,"tag":318,"props":800,"children":801},{"style":650},[802],{"type":140,"value":803},"!",{"type":134,"tag":318,"props":805,"children":806},{"style":656},[807],{"type":140,"value":808},"slackAdapter",{"type":134,"tag":318,"props":810,"children":811},{"style":795},[812],{"type":140,"value":813},") ",{"type":134,"tag":318,"props":815,"children":816},{"style":650},[817],{"type":140,"value":818},"{\n",{"type":134,"tag":318,"props":820,"children":821},{"class":320,"line":404},[822,827,832,836,841],{"type":134,"tag":318,"props":823,"children":824},{"style":656},[825],{"type":140,"value":826},"    slackAdapter",{"type":134,"tag":318,"props":828,"children":829},{"style":650},[830],{"type":140,"value":831}," =",{"type":134,"tag":318,"props":833,"children":834},{"style":771},[835],{"type":140,"value":659},{"type":134,"tag":318,"props":837,"children":838},{"style":795},[839],{"type":140,"value":840},"(",{"type":134,"tag":318,"props":842,"children":843},{"style":650},[844],{"type":140,"value":818},{"type":134,"tag":318,"props":846,"children":847},{"class":320,"line":39},[848,853,857,862,867,872,876,881],{"type":134,"tag":318,"props":849,"children":850},{"style":795},[851],{"type":140,"value":852},"      signingSecret",{"type":134,"tag":318,"props":854,"children":855},{"style":650},[856],{"type":140,"value":715},{"type":134,"tag":318,"props":858,"children":859},{"style":656},[860],{"type":140,"value":861}," process",{"type":134,"tag":318,"props":863,"children":864},{"style":650},[865],{"type":140,"value":866},".",{"type":134,"tag":318,"props":868,"children":869},{"style":656},[870],{"type":140,"value":871},"env",{"type":134,"tag":318,"props":873,"children":874},{"style":650},[875],{"type":140,"value":866},{"type":134,"tag":318,"props":877,"children":878},{"style":656},[879],{"type":140,"value":880},"SLACK_SIGNING_SECRET",{"type":134,"tag":318,"props":882,"children":883},{"style":650},[884],{"type":140,"value":885},"!,\n",{"type":134,"tag":318,"props":887,"children":888},{"class":320,"line":437},[889,894,899],{"type":134,"tag":318,"props":890,"children":891},{"style":650},[892],{"type":140,"value":893},"    }",{"type":134,"tag":318,"props":895,"children":896},{"style":795},[897],{"type":140,"value":898},")",{"type":134,"tag":318,"props":900,"children":901},{"style":650},[902],{"type":140,"value":689},{"type":134,"tag":318,"props":904,"children":905},{"class":320,"line":454},[906],{"type":134,"tag":318,"props":907,"children":908},{"style":650},[909],{"type":140,"value":910},"  }\n",{"type":134,"tag":318,"props":912,"children":913},{"class":320,"line":471},[914,919,923],{"type":134,"tag":318,"props":915,"children":916},{"style":644},[917],{"type":140,"value":918},"  return",{"type":134,"tag":318,"props":920,"children":921},{"style":656},[922],{"type":140,"value":710},{"type":134,"tag":318,"props":924,"children":925},{"style":650},[926],{"type":140,"value":689},{"type":134,"tag":318,"props":928,"children":929},{"class":320,"line":488},[930],{"type":134,"tag":318,"props":931,"children":932},{"style":650},[933],{"type":140,"value":934},"}\n",{"type":134,"tag":189,"props":936,"children":938},{"id":937},"quick-start",[939],{"type":140,"value":940},"Quick Start",{"type":134,"tag":307,"props":942,"children":944},{"className":632,"code":943,"language":634,"meta":312,"style":312},"import { Chat } from \"chat\";\nimport { createSlackAdapter } from \"@chat-adapter\u002Fslack\";\nimport { createTelegramAdapter } from \"@chat-adapter\u002Ftelegram\";\nimport { createRedisState } from \"@chat-adapter\u002Fstate-redis\";\n\nconst bot = new Chat({\n  userName: \"my-bot\",\n  adapters: {\n    slack: createSlackAdapter(),\n    telegram: createTelegramAdapter(),\n  },\n  state: createRedisState(),\n  streamingUpdateIntervalMs: 1000,\n  dedupeTtlMs: 10_000,\n  fallbackStreamingPlaceholderText: \"Thinking...\",\n});\n\nbot.onNewMention(async (thread, message) => {\n  await thread.subscribe();\n  await thread.post(`Received: ${message.text}`);\n});\n\nbot.onSubscribedMessage(async (thread, message) => {\n  await thread.post(`Echo: ${message.text}`);\n});\n",[945],{"type":134,"tag":204,"props":946,"children":947},{"__ignoreMap":312},[948,988,1027,1068,1109,1116,1151,1181,1197,1221,1245,1253,1277,1299,1320,1349,1365,1373,1431,1462,1528,1544,1552,1604,1665],{"type":134,"tag":318,"props":949,"children":950},{"class":320,"line":321},[951,955,959,964,968,972,976,980,984],{"type":134,"tag":318,"props":952,"children":953},{"style":644},[954],{"type":140,"value":647},{"type":134,"tag":318,"props":956,"children":957},{"style":650},[958],{"type":140,"value":653},{"type":134,"tag":318,"props":960,"children":961},{"style":656},[962],{"type":140,"value":963}," Chat",{"type":134,"tag":318,"props":965,"children":966},{"style":650},[967],{"type":140,"value":664},{"type":134,"tag":318,"props":969,"children":970},{"style":644},[971],{"type":140,"value":669},{"type":134,"tag":318,"props":973,"children":974},{"style":650},[975],{"type":140,"value":674},{"type":134,"tag":318,"props":977,"children":978},{"style":341},[979],{"type":140,"value":91},{"type":134,"tag":318,"props":981,"children":982},{"style":650},[983],{"type":140,"value":684},{"type":134,"tag":318,"props":985,"children":986},{"style":650},[987],{"type":140,"value":689},{"type":134,"tag":318,"props":989,"children":990},{"class":320,"line":331},[991,995,999,1003,1007,1011,1015,1019,1023],{"type":134,"tag":318,"props":992,"children":993},{"style":644},[994],{"type":140,"value":647},{"type":134,"tag":318,"props":996,"children":997},{"style":650},[998],{"type":140,"value":653},{"type":134,"tag":318,"props":1000,"children":1001},{"style":656},[1002],{"type":140,"value":659},{"type":134,"tag":318,"props":1004,"children":1005},{"style":650},[1006],{"type":140,"value":664},{"type":134,"tag":318,"props":1008,"children":1009},{"style":644},[1010],{"type":140,"value":669},{"type":134,"tag":318,"props":1012,"children":1013},{"style":650},[1014],{"type":140,"value":674},{"type":134,"tag":318,"props":1016,"children":1017},{"style":341},[1018],{"type":140,"value":679},{"type":134,"tag":318,"props":1020,"children":1021},{"style":650},[1022],{"type":140,"value":684},{"type":134,"tag":318,"props":1024,"children":1025},{"style":650},[1026],{"type":140,"value":689},{"type":134,"tag":318,"props":1028,"children":1029},{"class":320,"line":352},[1030,1034,1038,1043,1047,1051,1055,1060,1064],{"type":134,"tag":318,"props":1031,"children":1032},{"style":644},[1033],{"type":140,"value":647},{"type":134,"tag":318,"props":1035,"children":1036},{"style":650},[1037],{"type":140,"value":653},{"type":134,"tag":318,"props":1039,"children":1040},{"style":656},[1041],{"type":140,"value":1042}," createTelegramAdapter",{"type":134,"tag":318,"props":1044,"children":1045},{"style":650},[1046],{"type":140,"value":664},{"type":134,"tag":318,"props":1048,"children":1049},{"style":644},[1050],{"type":140,"value":669},{"type":134,"tag":318,"props":1052,"children":1053},{"style":650},[1054],{"type":140,"value":674},{"type":134,"tag":318,"props":1056,"children":1057},{"style":341},[1058],{"type":140,"value":1059},"@chat-adapter\u002Ftelegram",{"type":134,"tag":318,"props":1061,"children":1062},{"style":650},[1063],{"type":140,"value":684},{"type":134,"tag":318,"props":1065,"children":1066},{"style":650},[1067],{"type":140,"value":689},{"type":134,"tag":318,"props":1069,"children":1070},{"class":320,"line":362},[1071,1075,1079,1084,1088,1092,1096,1101,1105],{"type":134,"tag":318,"props":1072,"children":1073},{"style":644},[1074],{"type":140,"value":647},{"type":134,"tag":318,"props":1076,"children":1077},{"style":650},[1078],{"type":140,"value":653},{"type":134,"tag":318,"props":1080,"children":1081},{"style":656},[1082],{"type":140,"value":1083}," createRedisState",{"type":134,"tag":318,"props":1085,"children":1086},{"style":650},[1087],{"type":140,"value":664},{"type":134,"tag":318,"props":1089,"children":1090},{"style":644},[1091],{"type":140,"value":669},{"type":134,"tag":318,"props":1093,"children":1094},{"style":650},[1095],{"type":140,"value":674},{"type":134,"tag":318,"props":1097,"children":1098},{"style":341},[1099],{"type":140,"value":1100},"@chat-adapter\u002Fstate-redis",{"type":134,"tag":318,"props":1102,"children":1103},{"style":650},[1104],{"type":140,"value":684},{"type":134,"tag":318,"props":1106,"children":1107},{"style":650},[1108],{"type":140,"value":689},{"type":134,"tag":318,"props":1110,"children":1111},{"class":320,"line":371},[1112],{"type":134,"tag":318,"props":1113,"children":1114},{"emptyLinePlaceholder":356},[1115],{"type":140,"value":359},{"type":134,"tag":318,"props":1117,"children":1118},{"class":320,"line":129},[1119,1124,1129,1134,1139,1143,1147],{"type":134,"tag":318,"props":1120,"children":1121},{"style":702},[1122],{"type":140,"value":1123},"const",{"type":134,"tag":318,"props":1125,"children":1126},{"style":656},[1127],{"type":140,"value":1128}," bot ",{"type":134,"tag":318,"props":1130,"children":1131},{"style":650},[1132],{"type":140,"value":1133},"=",{"type":134,"tag":318,"props":1135,"children":1136},{"style":650},[1137],{"type":140,"value":1138}," new",{"type":134,"tag":318,"props":1140,"children":1141},{"style":771},[1142],{"type":140,"value":963},{"type":134,"tag":318,"props":1144,"children":1145},{"style":656},[1146],{"type":140,"value":840},{"type":134,"tag":318,"props":1148,"children":1149},{"style":650},[1150],{"type":140,"value":818},{"type":134,"tag":318,"props":1152,"children":1153},{"class":320,"line":404},[1154,1159,1163,1167,1172,1176],{"type":134,"tag":318,"props":1155,"children":1156},{"style":795},[1157],{"type":140,"value":1158},"  userName",{"type":134,"tag":318,"props":1160,"children":1161},{"style":650},[1162],{"type":140,"value":715},{"type":134,"tag":318,"props":1164,"children":1165},{"style":650},[1166],{"type":140,"value":674},{"type":134,"tag":318,"props":1168,"children":1169},{"style":341},[1170],{"type":140,"value":1171},"my-bot",{"type":134,"tag":318,"props":1173,"children":1174},{"style":650},[1175],{"type":140,"value":684},{"type":134,"tag":318,"props":1177,"children":1178},{"style":650},[1179],{"type":140,"value":1180},",\n",{"type":134,"tag":318,"props":1182,"children":1183},{"class":320,"line":39},[1184,1189,1193],{"type":134,"tag":318,"props":1185,"children":1186},{"style":795},[1187],{"type":140,"value":1188},"  adapters",{"type":134,"tag":318,"props":1190,"children":1191},{"style":650},[1192],{"type":140,"value":715},{"type":134,"tag":318,"props":1194,"children":1195},{"style":650},[1196],{"type":140,"value":784},{"type":134,"tag":318,"props":1198,"children":1199},{"class":320,"line":437},[1200,1205,1209,1213,1217],{"type":134,"tag":318,"props":1201,"children":1202},{"style":795},[1203],{"type":140,"value":1204},"    slack",{"type":134,"tag":318,"props":1206,"children":1207},{"style":650},[1208],{"type":140,"value":715},{"type":134,"tag":318,"props":1210,"children":1211},{"style":771},[1212],{"type":140,"value":659},{"type":134,"tag":318,"props":1214,"children":1215},{"style":656},[1216],{"type":140,"value":779},{"type":134,"tag":318,"props":1218,"children":1219},{"style":650},[1220],{"type":140,"value":1180},{"type":134,"tag":318,"props":1222,"children":1223},{"class":320,"line":454},[1224,1229,1233,1237,1241],{"type":134,"tag":318,"props":1225,"children":1226},{"style":795},[1227],{"type":140,"value":1228},"    telegram",{"type":134,"tag":318,"props":1230,"children":1231},{"style":650},[1232],{"type":140,"value":715},{"type":134,"tag":318,"props":1234,"children":1235},{"style":771},[1236],{"type":140,"value":1042},{"type":134,"tag":318,"props":1238,"children":1239},{"style":656},[1240],{"type":140,"value":779},{"type":134,"tag":318,"props":1242,"children":1243},{"style":650},[1244],{"type":140,"value":1180},{"type":134,"tag":318,"props":1246,"children":1247},{"class":320,"line":471},[1248],{"type":134,"tag":318,"props":1249,"children":1250},{"style":650},[1251],{"type":140,"value":1252},"  },\n",{"type":134,"tag":318,"props":1254,"children":1255},{"class":320,"line":488},[1256,1261,1265,1269,1273],{"type":134,"tag":318,"props":1257,"children":1258},{"style":795},[1259],{"type":140,"value":1260},"  state",{"type":134,"tag":318,"props":1262,"children":1263},{"style":650},[1264],{"type":140,"value":715},{"type":134,"tag":318,"props":1266,"children":1267},{"style":771},[1268],{"type":140,"value":1083},{"type":134,"tag":318,"props":1270,"children":1271},{"style":656},[1272],{"type":140,"value":779},{"type":134,"tag":318,"props":1274,"children":1275},{"style":650},[1276],{"type":140,"value":1180},{"type":134,"tag":318,"props":1278,"children":1279},{"class":320,"line":496},[1280,1285,1289,1295],{"type":134,"tag":318,"props":1281,"children":1282},{"style":795},[1283],{"type":140,"value":1284},"  streamingUpdateIntervalMs",{"type":134,"tag":318,"props":1286,"children":1287},{"style":650},[1288],{"type":140,"value":715},{"type":134,"tag":318,"props":1290,"children":1292},{"style":1291},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1293],{"type":140,"value":1294}," 1000",{"type":134,"tag":318,"props":1296,"children":1297},{"style":650},[1298],{"type":140,"value":1180},{"type":134,"tag":318,"props":1300,"children":1301},{"class":320,"line":505},[1302,1307,1311,1316],{"type":134,"tag":318,"props":1303,"children":1304},{"style":795},[1305],{"type":140,"value":1306},"  dedupeTtlMs",{"type":134,"tag":318,"props":1308,"children":1309},{"style":650},[1310],{"type":140,"value":715},{"type":134,"tag":318,"props":1312,"children":1313},{"style":1291},[1314],{"type":140,"value":1315}," 10_000",{"type":134,"tag":318,"props":1317,"children":1318},{"style":650},[1319],{"type":140,"value":1180},{"type":134,"tag":318,"props":1321,"children":1322},{"class":320,"line":522},[1323,1328,1332,1336,1341,1345],{"type":134,"tag":318,"props":1324,"children":1325},{"style":795},[1326],{"type":140,"value":1327},"  fallbackStreamingPlaceholderText",{"type":134,"tag":318,"props":1329,"children":1330},{"style":650},[1331],{"type":140,"value":715},{"type":134,"tag":318,"props":1333,"children":1334},{"style":650},[1335],{"type":140,"value":674},{"type":134,"tag":318,"props":1337,"children":1338},{"style":341},[1339],{"type":140,"value":1340},"Thinking...",{"type":134,"tag":318,"props":1342,"children":1343},{"style":650},[1344],{"type":140,"value":684},{"type":134,"tag":318,"props":1346,"children":1347},{"style":650},[1348],{"type":140,"value":1180},{"type":134,"tag":318,"props":1350,"children":1351},{"class":320,"line":539},[1352,1357,1361],{"type":134,"tag":318,"props":1353,"children":1354},{"style":650},[1355],{"type":140,"value":1356},"}",{"type":134,"tag":318,"props":1358,"children":1359},{"style":656},[1360],{"type":140,"value":898},{"type":134,"tag":318,"props":1362,"children":1363},{"style":650},[1364],{"type":140,"value":689},{"type":134,"tag":318,"props":1366,"children":1368},{"class":320,"line":1367},17,[1369],{"type":134,"tag":318,"props":1370,"children":1371},{"emptyLinePlaceholder":356},[1372],{"type":140,"value":359},{"type":134,"tag":318,"props":1374,"children":1376},{"class":320,"line":1375},18,[1377,1381,1385,1389,1393,1398,1402,1408,1413,1418,1422,1427],{"type":134,"tag":318,"props":1378,"children":1379},{"style":656},[1380],{"type":140,"value":118},{"type":134,"tag":318,"props":1382,"children":1383},{"style":650},[1384],{"type":140,"value":866},{"type":134,"tag":318,"props":1386,"children":1387},{"style":771},[1388],{"type":140,"value":123},{"type":134,"tag":318,"props":1390,"children":1391},{"style":656},[1392],{"type":140,"value":840},{"type":134,"tag":318,"props":1394,"children":1395},{"style":702},[1396],{"type":140,"value":1397},"async",{"type":134,"tag":318,"props":1399,"children":1400},{"style":650},[1401],{"type":140,"value":798},{"type":134,"tag":318,"props":1403,"children":1405},{"style":1404},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1406],{"type":140,"value":1407},"thread",{"type":134,"tag":318,"props":1409,"children":1410},{"style":650},[1411],{"type":140,"value":1412},",",{"type":134,"tag":318,"props":1414,"children":1415},{"style":1404},[1416],{"type":140,"value":1417}," message",{"type":134,"tag":318,"props":1419,"children":1420},{"style":650},[1421],{"type":140,"value":898},{"type":134,"tag":318,"props":1423,"children":1424},{"style":702},[1425],{"type":140,"value":1426}," =>",{"type":134,"tag":318,"props":1428,"children":1429},{"style":650},[1430],{"type":140,"value":784},{"type":134,"tag":318,"props":1432,"children":1434},{"class":320,"line":1433},19,[1435,1440,1445,1449,1454,1458],{"type":134,"tag":318,"props":1436,"children":1437},{"style":644},[1438],{"type":140,"value":1439},"  await",{"type":134,"tag":318,"props":1441,"children":1442},{"style":656},[1443],{"type":140,"value":1444}," thread",{"type":134,"tag":318,"props":1446,"children":1447},{"style":650},[1448],{"type":140,"value":866},{"type":134,"tag":318,"props":1450,"children":1451},{"style":771},[1452],{"type":140,"value":1453},"subscribe",{"type":134,"tag":318,"props":1455,"children":1456},{"style":795},[1457],{"type":140,"value":779},{"type":134,"tag":318,"props":1459,"children":1460},{"style":650},[1461],{"type":140,"value":689},{"type":134,"tag":318,"props":1463,"children":1465},{"class":320,"line":1464},20,[1466,1470,1474,1478,1483,1487,1492,1497,1502,1507,1511,1515,1520,1524],{"type":134,"tag":318,"props":1467,"children":1468},{"style":644},[1469],{"type":140,"value":1439},{"type":134,"tag":318,"props":1471,"children":1472},{"style":656},[1473],{"type":140,"value":1444},{"type":134,"tag":318,"props":1475,"children":1476},{"style":650},[1477],{"type":140,"value":866},{"type":134,"tag":318,"props":1479,"children":1480},{"style":771},[1481],{"type":140,"value":1482},"post",{"type":134,"tag":318,"props":1484,"children":1485},{"style":795},[1486],{"type":140,"value":840},{"type":134,"tag":318,"props":1488,"children":1489},{"style":650},[1490],{"type":140,"value":1491},"`",{"type":134,"tag":318,"props":1493,"children":1494},{"style":341},[1495],{"type":140,"value":1496},"Received: ",{"type":134,"tag":318,"props":1498,"children":1499},{"style":650},[1500],{"type":140,"value":1501},"${",{"type":134,"tag":318,"props":1503,"children":1504},{"style":656},[1505],{"type":140,"value":1506},"message",{"type":134,"tag":318,"props":1508,"children":1509},{"style":650},[1510],{"type":140,"value":866},{"type":134,"tag":318,"props":1512,"children":1513},{"style":656},[1514],{"type":140,"value":140},{"type":134,"tag":318,"props":1516,"children":1517},{"style":650},[1518],{"type":140,"value":1519},"}`",{"type":134,"tag":318,"props":1521,"children":1522},{"style":795},[1523],{"type":140,"value":898},{"type":134,"tag":318,"props":1525,"children":1526},{"style":650},[1527],{"type":140,"value":689},{"type":134,"tag":318,"props":1529,"children":1531},{"class":320,"line":1530},21,[1532,1536,1540],{"type":134,"tag":318,"props":1533,"children":1534},{"style":650},[1535],{"type":140,"value":1356},{"type":134,"tag":318,"props":1537,"children":1538},{"style":656},[1539],{"type":140,"value":898},{"type":134,"tag":318,"props":1541,"children":1542},{"style":650},[1543],{"type":140,"value":689},{"type":134,"tag":318,"props":1545,"children":1547},{"class":320,"line":1546},22,[1548],{"type":134,"tag":318,"props":1549,"children":1550},{"emptyLinePlaceholder":356},[1551],{"type":140,"value":359},{"type":134,"tag":318,"props":1553,"children":1555},{"class":320,"line":1554},23,[1556,1560,1564,1568,1572,1576,1580,1584,1588,1592,1596,1600],{"type":134,"tag":318,"props":1557,"children":1558},{"style":656},[1559],{"type":140,"value":118},{"type":134,"tag":318,"props":1561,"children":1562},{"style":650},[1563],{"type":140,"value":866},{"type":134,"tag":318,"props":1565,"children":1566},{"style":771},[1567],{"type":140,"value":124},{"type":134,"tag":318,"props":1569,"children":1570},{"style":656},[1571],{"type":140,"value":840},{"type":134,"tag":318,"props":1573,"children":1574},{"style":702},[1575],{"type":140,"value":1397},{"type":134,"tag":318,"props":1577,"children":1578},{"style":650},[1579],{"type":140,"value":798},{"type":134,"tag":318,"props":1581,"children":1582},{"style":1404},[1583],{"type":140,"value":1407},{"type":134,"tag":318,"props":1585,"children":1586},{"style":650},[1587],{"type":140,"value":1412},{"type":134,"tag":318,"props":1589,"children":1590},{"style":1404},[1591],{"type":140,"value":1417},{"type":134,"tag":318,"props":1593,"children":1594},{"style":650},[1595],{"type":140,"value":898},{"type":134,"tag":318,"props":1597,"children":1598},{"style":702},[1599],{"type":140,"value":1426},{"type":134,"tag":318,"props":1601,"children":1602},{"style":650},[1603],{"type":140,"value":784},{"type":134,"tag":318,"props":1605,"children":1607},{"class":320,"line":1606},24,[1608,1612,1616,1620,1624,1628,1632,1637,1641,1645,1649,1653,1657,1661],{"type":134,"tag":318,"props":1609,"children":1610},{"style":644},[1611],{"type":140,"value":1439},{"type":134,"tag":318,"props":1613,"children":1614},{"style":656},[1615],{"type":140,"value":1444},{"type":134,"tag":318,"props":1617,"children":1618},{"style":650},[1619],{"type":140,"value":866},{"type":134,"tag":318,"props":1621,"children":1622},{"style":771},[1623],{"type":140,"value":1482},{"type":134,"tag":318,"props":1625,"children":1626},{"style":795},[1627],{"type":140,"value":840},{"type":134,"tag":318,"props":1629,"children":1630},{"style":650},[1631],{"type":140,"value":1491},{"type":134,"tag":318,"props":1633,"children":1634},{"style":341},[1635],{"type":140,"value":1636},"Echo: ",{"type":134,"tag":318,"props":1638,"children":1639},{"style":650},[1640],{"type":140,"value":1501},{"type":134,"tag":318,"props":1642,"children":1643},{"style":656},[1644],{"type":140,"value":1506},{"type":134,"tag":318,"props":1646,"children":1647},{"style":650},[1648],{"type":140,"value":866},{"type":134,"tag":318,"props":1650,"children":1651},{"style":656},[1652],{"type":140,"value":140},{"type":134,"tag":318,"props":1654,"children":1655},{"style":650},[1656],{"type":140,"value":1519},{"type":134,"tag":318,"props":1658,"children":1659},{"style":795},[1660],{"type":140,"value":898},{"type":134,"tag":318,"props":1662,"children":1663},{"style":650},[1664],{"type":140,"value":689},{"type":134,"tag":318,"props":1666,"children":1668},{"class":320,"line":1667},25,[1669,1673,1677],{"type":134,"tag":318,"props":1670,"children":1671},{"style":650},[1672],{"type":140,"value":1356},{"type":134,"tag":318,"props":1674,"children":1675},{"style":656},[1676],{"type":140,"value":898},{"type":134,"tag":318,"props":1678,"children":1679},{"style":650},[1680],{"type":140,"value":689},{"type":134,"tag":189,"props":1682,"children":1684},{"id":1683},"public-api-reference",[1685],{"type":140,"value":1686},"Public API Reference",{"type":134,"tag":1688,"props":1689,"children":1691},"h3",{"id":1690},"chatconfig",[1692],{"type":140,"value":1693},"ChatConfig",{"type":134,"tag":307,"props":1695,"children":1697},{"className":632,"code":1696,"language":634,"meta":312,"style":312},"interface ChatConfig\u003CTAdapters> {\n  userName: string;\n  adapters: TAdapters;\n  state: StateAdapter;\n  logger?: Logger | LogLevel;\n  streamingUpdateIntervalMs?: number;\n  dedupeTtlMs?: number;\n  fallbackStreamingPlaceholderText?: string | null;\n}\n",[1698],{"type":134,"tag":204,"props":1699,"children":1700},{"__ignoreMap":312},[1701,1732,1752,1772,1792,1823,1843,1862,1890],{"type":134,"tag":318,"props":1702,"children":1703},{"class":320,"line":321},[1704,1709,1714,1719,1724,1728],{"type":134,"tag":318,"props":1705,"children":1706},{"style":702},[1707],{"type":140,"value":1708},"interface",{"type":134,"tag":318,"props":1710,"children":1711},{"style":335},[1712],{"type":140,"value":1713}," ChatConfig",{"type":134,"tag":318,"props":1715,"children":1716},{"style":650},[1717],{"type":140,"value":1718},"\u003C",{"type":134,"tag":318,"props":1720,"children":1721},{"style":335},[1722],{"type":140,"value":1723},"TAdapters",{"type":134,"tag":318,"props":1725,"children":1726},{"style":650},[1727],{"type":140,"value":734},{"type":134,"tag":318,"props":1729,"children":1730},{"style":650},[1731],{"type":140,"value":784},{"type":134,"tag":318,"props":1733,"children":1734},{"class":320,"line":331},[1735,1739,1743,1748],{"type":134,"tag":318,"props":1736,"children":1737},{"style":795},[1738],{"type":140,"value":1158},{"type":134,"tag":318,"props":1740,"children":1741},{"style":650},[1742],{"type":140,"value":715},{"type":134,"tag":318,"props":1744,"children":1745},{"style":335},[1746],{"type":140,"value":1747}," string",{"type":134,"tag":318,"props":1749,"children":1750},{"style":650},[1751],{"type":140,"value":689},{"type":134,"tag":318,"props":1753,"children":1754},{"class":320,"line":352},[1755,1759,1763,1768],{"type":134,"tag":318,"props":1756,"children":1757},{"style":795},[1758],{"type":140,"value":1188},{"type":134,"tag":318,"props":1760,"children":1761},{"style":650},[1762],{"type":140,"value":715},{"type":134,"tag":318,"props":1764,"children":1765},{"style":335},[1766],{"type":140,"value":1767}," TAdapters",{"type":134,"tag":318,"props":1769,"children":1770},{"style":650},[1771],{"type":140,"value":689},{"type":134,"tag":318,"props":1773,"children":1774},{"class":320,"line":362},[1775,1779,1783,1788],{"type":134,"tag":318,"props":1776,"children":1777},{"style":795},[1778],{"type":140,"value":1260},{"type":134,"tag":318,"props":1780,"children":1781},{"style":650},[1782],{"type":140,"value":715},{"type":134,"tag":318,"props":1784,"children":1785},{"style":335},[1786],{"type":140,"value":1787}," StateAdapter",{"type":134,"tag":318,"props":1789,"children":1790},{"style":650},[1791],{"type":140,"value":689},{"type":134,"tag":318,"props":1793,"children":1794},{"class":320,"line":371},[1795,1800,1805,1810,1814,1819],{"type":134,"tag":318,"props":1796,"children":1797},{"style":795},[1798],{"type":140,"value":1799},"  logger",{"type":134,"tag":318,"props":1801,"children":1802},{"style":650},[1803],{"type":140,"value":1804},"?:",{"type":134,"tag":318,"props":1806,"children":1807},{"style":335},[1808],{"type":140,"value":1809}," Logger",{"type":134,"tag":318,"props":1811,"children":1812},{"style":650},[1813],{"type":140,"value":739},{"type":134,"tag":318,"props":1815,"children":1816},{"style":335},[1817],{"type":140,"value":1818}," LogLevel",{"type":134,"tag":318,"props":1820,"children":1821},{"style":650},[1822],{"type":140,"value":689},{"type":134,"tag":318,"props":1824,"children":1825},{"class":320,"line":129},[1826,1830,1834,1839],{"type":134,"tag":318,"props":1827,"children":1828},{"style":795},[1829],{"type":140,"value":1284},{"type":134,"tag":318,"props":1831,"children":1832},{"style":650},[1833],{"type":140,"value":1804},{"type":134,"tag":318,"props":1835,"children":1836},{"style":335},[1837],{"type":140,"value":1838}," number",{"type":134,"tag":318,"props":1840,"children":1841},{"style":650},[1842],{"type":140,"value":689},{"type":134,"tag":318,"props":1844,"children":1845},{"class":320,"line":404},[1846,1850,1854,1858],{"type":134,"tag":318,"props":1847,"children":1848},{"style":795},[1849],{"type":140,"value":1306},{"type":134,"tag":318,"props":1851,"children":1852},{"style":650},[1853],{"type":140,"value":1804},{"type":134,"tag":318,"props":1855,"children":1856},{"style":335},[1857],{"type":140,"value":1838},{"type":134,"tag":318,"props":1859,"children":1860},{"style":650},[1861],{"type":140,"value":689},{"type":134,"tag":318,"props":1863,"children":1864},{"class":320,"line":39},[1865,1869,1873,1877,1881,1886],{"type":134,"tag":318,"props":1866,"children":1867},{"style":795},[1868],{"type":140,"value":1327},{"type":134,"tag":318,"props":1870,"children":1871},{"style":650},[1872],{"type":140,"value":1804},{"type":134,"tag":318,"props":1874,"children":1875},{"style":335},[1876],{"type":140,"value":1747},{"type":134,"tag":318,"props":1878,"children":1879},{"style":650},[1880],{"type":140,"value":739},{"type":134,"tag":318,"props":1882,"children":1883},{"style":335},[1884],{"type":140,"value":1885}," null",{"type":134,"tag":318,"props":1887,"children":1888},{"style":650},[1889],{"type":140,"value":689},{"type":134,"tag":318,"props":1891,"children":1892},{"class":320,"line":437},[1893],{"type":134,"tag":318,"props":1894,"children":1895},{"style":650},[1896],{"type":140,"value":934},{"type":134,"tag":196,"props":1898,"children":1899},{},[1900,1911],{"type":134,"tag":200,"props":1901,"children":1902},{},[1903,1909],{"type":134,"tag":204,"props":1904,"children":1906},{"className":1905},[],[1907],{"type":140,"value":1908},"dedupeTtlMs",{"type":140,"value":1910},": deduplicates repeated webhook deliveries.",{"type":134,"tag":200,"props":1912,"children":1913},{},[1914,1920,1922,1928],{"type":134,"tag":204,"props":1915,"children":1917},{"className":1916},[],[1918],{"type":140,"value":1919},"fallbackStreamingPlaceholderText",{"type":140,"value":1921},": text used before first stream chunk on non-native streaming adapters; set to ",{"type":134,"tag":204,"props":1923,"children":1925},{"className":1924},[],[1926],{"type":140,"value":1927},"null",{"type":140,"value":1929}," to disable placeholder posts.",{"type":134,"tag":1688,"props":1931,"children":1932},{"id":91},[1933],{"type":140,"value":1934},"Chat",{"type":134,"tag":307,"props":1936,"children":1938},{"className":632,"code":1937,"language":634,"meta":312,"style":312},"class Chat {\n  openDM(userId: string): Promise\u003CChannel>;\n  channel(channelId: string): Channel;\n}\n",[1939],{"type":134,"tag":204,"props":1940,"children":1941},{"__ignoreMap":312},[1942,1958,2007,2045],{"type":134,"tag":318,"props":1943,"children":1944},{"class":320,"line":321},[1945,1950,1954],{"type":134,"tag":318,"props":1946,"children":1947},{"style":702},[1948],{"type":140,"value":1949},"class",{"type":134,"tag":318,"props":1951,"children":1952},{"style":335},[1953],{"type":140,"value":963},{"type":134,"tag":318,"props":1955,"children":1956},{"style":650},[1957],{"type":140,"value":784},{"type":134,"tag":318,"props":1959,"children":1960},{"class":320,"line":331},[1961,1966,1970,1975,1979,1983,1988,1993,1997,2002],{"type":134,"tag":318,"props":1962,"children":1963},{"style":795},[1964],{"type":140,"value":1965},"  openDM",{"type":134,"tag":318,"props":1967,"children":1968},{"style":650},[1969],{"type":140,"value":840},{"type":134,"tag":318,"props":1971,"children":1972},{"style":1404},[1973],{"type":140,"value":1974},"userId",{"type":134,"tag":318,"props":1976,"children":1977},{"style":650},[1978],{"type":140,"value":715},{"type":134,"tag":318,"props":1980,"children":1981},{"style":335},[1982],{"type":140,"value":1747},{"type":134,"tag":318,"props":1984,"children":1985},{"style":650},[1986],{"type":140,"value":1987},"):",{"type":134,"tag":318,"props":1989,"children":1990},{"style":335},[1991],{"type":140,"value":1992}," Promise",{"type":134,"tag":318,"props":1994,"children":1995},{"style":650},[1996],{"type":140,"value":1718},{"type":134,"tag":318,"props":1998,"children":1999},{"style":335},[2000],{"type":140,"value":2001},"Channel",{"type":134,"tag":318,"props":2003,"children":2004},{"style":650},[2005],{"type":140,"value":2006},">;\n",{"type":134,"tag":318,"props":2008,"children":2009},{"class":320,"line":352},[2010,2015,2019,2024,2028,2032,2036,2041],{"type":134,"tag":318,"props":2011,"children":2012},{"style":795},[2013],{"type":140,"value":2014},"  channel",{"type":134,"tag":318,"props":2016,"children":2017},{"style":650},[2018],{"type":140,"value":840},{"type":134,"tag":318,"props":2020,"children":2021},{"style":1404},[2022],{"type":140,"value":2023},"channelId",{"type":134,"tag":318,"props":2025,"children":2026},{"style":650},[2027],{"type":140,"value":715},{"type":134,"tag":318,"props":2029,"children":2030},{"style":335},[2031],{"type":140,"value":1747},{"type":134,"tag":318,"props":2033,"children":2034},{"style":650},[2035],{"type":140,"value":1987},{"type":134,"tag":318,"props":2037,"children":2038},{"style":335},[2039],{"type":140,"value":2040}," Channel",{"type":134,"tag":318,"props":2042,"children":2043},{"style":650},[2044],{"type":140,"value":689},{"type":134,"tag":318,"props":2046,"children":2047},{"class":320,"line":362},[2048],{"type":134,"tag":318,"props":2049,"children":2050},{"style":650},[2051],{"type":140,"value":934},{"type":134,"tag":196,"props":2053,"children":2054},{},[2055,2066],{"type":134,"tag":200,"props":2056,"children":2057},{},[2058,2064],{"type":134,"tag":204,"props":2059,"children":2061},{"className":2060},[],[2062],{"type":140,"value":2063},"openDM()",{"type":140,"value":2065}," opens or resolves a direct message channel outside the current thread context.",{"type":134,"tag":200,"props":2067,"children":2068},{},[2069,2075],{"type":134,"tag":204,"props":2070,"children":2072},{"className":2071},[],[2073],{"type":140,"value":2074},"channel()",{"type":140,"value":2076}," gets a channel handle for out-of-thread posting.",{"type":134,"tag":1688,"props":2078,"children":2080},{"id":2079},"postable",[2081],{"type":140,"value":2082},"Postable",{"type":134,"tag":147,"props":2084,"children":2085},{},[2086,2092,2094,2099,2101,2106],{"type":134,"tag":204,"props":2087,"children":2089},{"className":2088},[],[2090],{"type":140,"value":2091},"Thread",{"type":140,"value":2093}," and ",{"type":134,"tag":204,"props":2095,"children":2097},{"className":2096},[],[2098],{"type":140,"value":2001},{"type":140,"value":2100}," share the same ",{"type":134,"tag":204,"props":2102,"children":2104},{"className":2103},[],[2105],{"type":140,"value":2082},{"type":140,"value":2107}," interface.",{"type":134,"tag":307,"props":2109,"children":2111},{"className":632,"code":2110,"language":634,"meta":312,"style":312},"interface Postable\u003CTState extends Record\u003Cstring, unknown> = Record\u003Cstring, unknown>> {\n  post(content: PostableContent): Promise\u003CSentMessage>;\n  postEphemeral(\n    userId: string,\n    content: PostableContent,\n  ): Promise\u003CSentMessage | null>;\n  mentionUser(userId: string): string;\n  startTyping(): Promise\u003Cvoid>;\n  messages: AsyncIterable\u003CMessage>;\n  state: Promise\u003CTState | null>;\n  setState(\n    partial: Partial\u003CTState>,\n    opts?: { replace?: boolean },\n  ): Promise\u003Cvoid>;\n}\n",[2112],{"type":134,"tag":204,"props":2113,"children":2114},{"__ignoreMap":312},[2115,2201,2248,2261,2281,2301,2333,2369,2399,2429,2464,2476,2506,2541,2564],{"type":134,"tag":318,"props":2116,"children":2117},{"class":320,"line":321},[2118,2122,2127,2131,2136,2141,2146,2150,2155,2159,2164,2168,2172,2176,2180,2184,2188,2192,2197],{"type":134,"tag":318,"props":2119,"children":2120},{"style":702},[2121],{"type":140,"value":1708},{"type":134,"tag":318,"props":2123,"children":2124},{"style":335},[2125],{"type":140,"value":2126}," Postable",{"type":134,"tag":318,"props":2128,"children":2129},{"style":650},[2130],{"type":140,"value":1718},{"type":134,"tag":318,"props":2132,"children":2133},{"style":335},[2134],{"type":140,"value":2135},"TState",{"type":134,"tag":318,"props":2137,"children":2138},{"style":702},[2139],{"type":140,"value":2140}," extends",{"type":134,"tag":318,"props":2142,"children":2143},{"style":335},[2144],{"type":140,"value":2145}," Record",{"type":134,"tag":318,"props":2147,"children":2148},{"style":650},[2149],{"type":140,"value":1718},{"type":134,"tag":318,"props":2151,"children":2152},{"style":335},[2153],{"type":140,"value":2154},"string",{"type":134,"tag":318,"props":2156,"children":2157},{"style":650},[2158],{"type":140,"value":1412},{"type":134,"tag":318,"props":2160,"children":2161},{"style":335},[2162],{"type":140,"value":2163}," unknown",{"type":134,"tag":318,"props":2165,"children":2166},{"style":650},[2167],{"type":140,"value":734},{"type":134,"tag":318,"props":2169,"children":2170},{"style":650},[2171],{"type":140,"value":831},{"type":134,"tag":318,"props":2173,"children":2174},{"style":335},[2175],{"type":140,"value":2145},{"type":134,"tag":318,"props":2177,"children":2178},{"style":650},[2179],{"type":140,"value":1718},{"type":134,"tag":318,"props":2181,"children":2182},{"style":335},[2183],{"type":140,"value":2154},{"type":134,"tag":318,"props":2185,"children":2186},{"style":650},[2187],{"type":140,"value":1412},{"type":134,"tag":318,"props":2189,"children":2190},{"style":335},[2191],{"type":140,"value":2163},{"type":134,"tag":318,"props":2193,"children":2194},{"style":650},[2195],{"type":140,"value":2196},">>",{"type":134,"tag":318,"props":2198,"children":2199},{"style":650},[2200],{"type":140,"value":784},{"type":134,"tag":318,"props":2202,"children":2203},{"class":320,"line":331},[2204,2209,2213,2218,2222,2227,2231,2235,2239,2244],{"type":134,"tag":318,"props":2205,"children":2206},{"style":795},[2207],{"type":140,"value":2208},"  post",{"type":134,"tag":318,"props":2210,"children":2211},{"style":650},[2212],{"type":140,"value":840},{"type":134,"tag":318,"props":2214,"children":2215},{"style":1404},[2216],{"type":140,"value":2217},"content",{"type":134,"tag":318,"props":2219,"children":2220},{"style":650},[2221],{"type":140,"value":715},{"type":134,"tag":318,"props":2223,"children":2224},{"style":335},[2225],{"type":140,"value":2226}," PostableContent",{"type":134,"tag":318,"props":2228,"children":2229},{"style":650},[2230],{"type":140,"value":1987},{"type":134,"tag":318,"props":2232,"children":2233},{"style":335},[2234],{"type":140,"value":1992},{"type":134,"tag":318,"props":2236,"children":2237},{"style":650},[2238],{"type":140,"value":1718},{"type":134,"tag":318,"props":2240,"children":2241},{"style":335},[2242],{"type":140,"value":2243},"SentMessage",{"type":134,"tag":318,"props":2245,"children":2246},{"style":650},[2247],{"type":140,"value":2006},{"type":134,"tag":318,"props":2249,"children":2250},{"class":320,"line":352},[2251,2256],{"type":134,"tag":318,"props":2252,"children":2253},{"style":795},[2254],{"type":140,"value":2255},"  postEphemeral",{"type":134,"tag":318,"props":2257,"children":2258},{"style":650},[2259],{"type":140,"value":2260},"(\n",{"type":134,"tag":318,"props":2262,"children":2263},{"class":320,"line":362},[2264,2269,2273,2277],{"type":134,"tag":318,"props":2265,"children":2266},{"style":1404},[2267],{"type":140,"value":2268},"    userId",{"type":134,"tag":318,"props":2270,"children":2271},{"style":650},[2272],{"type":140,"value":715},{"type":134,"tag":318,"props":2274,"children":2275},{"style":335},[2276],{"type":140,"value":1747},{"type":134,"tag":318,"props":2278,"children":2279},{"style":650},[2280],{"type":140,"value":1180},{"type":134,"tag":318,"props":2282,"children":2283},{"class":320,"line":371},[2284,2289,2293,2297],{"type":134,"tag":318,"props":2285,"children":2286},{"style":1404},[2287],{"type":140,"value":2288},"    content",{"type":134,"tag":318,"props":2290,"children":2291},{"style":650},[2292],{"type":140,"value":715},{"type":134,"tag":318,"props":2294,"children":2295},{"style":335},[2296],{"type":140,"value":2226},{"type":134,"tag":318,"props":2298,"children":2299},{"style":650},[2300],{"type":140,"value":1180},{"type":134,"tag":318,"props":2302,"children":2303},{"class":320,"line":129},[2304,2309,2313,2317,2321,2325,2329],{"type":134,"tag":318,"props":2305,"children":2306},{"style":650},[2307],{"type":140,"value":2308},"  ):",{"type":134,"tag":318,"props":2310,"children":2311},{"style":335},[2312],{"type":140,"value":1992},{"type":134,"tag":318,"props":2314,"children":2315},{"style":650},[2316],{"type":140,"value":1718},{"type":134,"tag":318,"props":2318,"children":2319},{"style":335},[2320],{"type":140,"value":2243},{"type":134,"tag":318,"props":2322,"children":2323},{"style":650},[2324],{"type":140,"value":739},{"type":134,"tag":318,"props":2326,"children":2327},{"style":335},[2328],{"type":140,"value":1885},{"type":134,"tag":318,"props":2330,"children":2331},{"style":650},[2332],{"type":140,"value":2006},{"type":134,"tag":318,"props":2334,"children":2335},{"class":320,"line":404},[2336,2341,2345,2349,2353,2357,2361,2365],{"type":134,"tag":318,"props":2337,"children":2338},{"style":795},[2339],{"type":140,"value":2340},"  mentionUser",{"type":134,"tag":318,"props":2342,"children":2343},{"style":650},[2344],{"type":140,"value":840},{"type":134,"tag":318,"props":2346,"children":2347},{"style":1404},[2348],{"type":140,"value":1974},{"type":134,"tag":318,"props":2350,"children":2351},{"style":650},[2352],{"type":140,"value":715},{"type":134,"tag":318,"props":2354,"children":2355},{"style":335},[2356],{"type":140,"value":1747},{"type":134,"tag":318,"props":2358,"children":2359},{"style":650},[2360],{"type":140,"value":1987},{"type":134,"tag":318,"props":2362,"children":2363},{"style":335},[2364],{"type":140,"value":1747},{"type":134,"tag":318,"props":2366,"children":2367},{"style":650},[2368],{"type":140,"value":689},{"type":134,"tag":318,"props":2370,"children":2371},{"class":320,"line":39},[2372,2377,2382,2386,2390,2395],{"type":134,"tag":318,"props":2373,"children":2374},{"style":795},[2375],{"type":140,"value":2376},"  startTyping",{"type":134,"tag":318,"props":2378,"children":2379},{"style":650},[2380],{"type":140,"value":2381},"():",{"type":134,"tag":318,"props":2383,"children":2384},{"style":335},[2385],{"type":140,"value":1992},{"type":134,"tag":318,"props":2387,"children":2388},{"style":650},[2389],{"type":140,"value":1718},{"type":134,"tag":318,"props":2391,"children":2392},{"style":335},[2393],{"type":140,"value":2394},"void",{"type":134,"tag":318,"props":2396,"children":2397},{"style":650},[2398],{"type":140,"value":2006},{"type":134,"tag":318,"props":2400,"children":2401},{"class":320,"line":437},[2402,2407,2411,2416,2420,2425],{"type":134,"tag":318,"props":2403,"children":2404},{"style":795},[2405],{"type":140,"value":2406},"  messages",{"type":134,"tag":318,"props":2408,"children":2409},{"style":650},[2410],{"type":140,"value":715},{"type":134,"tag":318,"props":2412,"children":2413},{"style":335},[2414],{"type":140,"value":2415}," AsyncIterable",{"type":134,"tag":318,"props":2417,"children":2418},{"style":650},[2419],{"type":140,"value":1718},{"type":134,"tag":318,"props":2421,"children":2422},{"style":335},[2423],{"type":140,"value":2424},"Message",{"type":134,"tag":318,"props":2426,"children":2427},{"style":650},[2428],{"type":140,"value":2006},{"type":134,"tag":318,"props":2430,"children":2431},{"class":320,"line":454},[2432,2436,2440,2444,2448,2452,2456,2460],{"type":134,"tag":318,"props":2433,"children":2434},{"style":795},[2435],{"type":140,"value":1260},{"type":134,"tag":318,"props":2437,"children":2438},{"style":650},[2439],{"type":140,"value":715},{"type":134,"tag":318,"props":2441,"children":2442},{"style":335},[2443],{"type":140,"value":1992},{"type":134,"tag":318,"props":2445,"children":2446},{"style":650},[2447],{"type":140,"value":1718},{"type":134,"tag":318,"props":2449,"children":2450},{"style":335},[2451],{"type":140,"value":2135},{"type":134,"tag":318,"props":2453,"children":2454},{"style":650},[2455],{"type":140,"value":739},{"type":134,"tag":318,"props":2457,"children":2458},{"style":335},[2459],{"type":140,"value":1885},{"type":134,"tag":318,"props":2461,"children":2462},{"style":650},[2463],{"type":140,"value":2006},{"type":134,"tag":318,"props":2465,"children":2466},{"class":320,"line":471},[2467,2472],{"type":134,"tag":318,"props":2468,"children":2469},{"style":795},[2470],{"type":140,"value":2471},"  setState",{"type":134,"tag":318,"props":2473,"children":2474},{"style":650},[2475],{"type":140,"value":2260},{"type":134,"tag":318,"props":2477,"children":2478},{"class":320,"line":488},[2479,2484,2488,2493,2497,2501],{"type":134,"tag":318,"props":2480,"children":2481},{"style":1404},[2482],{"type":140,"value":2483},"    partial",{"type":134,"tag":318,"props":2485,"children":2486},{"style":650},[2487],{"type":140,"value":715},{"type":134,"tag":318,"props":2489,"children":2490},{"style":335},[2491],{"type":140,"value":2492}," Partial",{"type":134,"tag":318,"props":2494,"children":2495},{"style":650},[2496],{"type":140,"value":1718},{"type":134,"tag":318,"props":2498,"children":2499},{"style":335},[2500],{"type":140,"value":2135},{"type":134,"tag":318,"props":2502,"children":2503},{"style":650},[2504],{"type":140,"value":2505},">,\n",{"type":134,"tag":318,"props":2507,"children":2508},{"class":320,"line":496},[2509,2514,2518,2522,2527,2531,2536],{"type":134,"tag":318,"props":2510,"children":2511},{"style":1404},[2512],{"type":140,"value":2513},"    opts",{"type":134,"tag":318,"props":2515,"children":2516},{"style":650},[2517],{"type":140,"value":1804},{"type":134,"tag":318,"props":2519,"children":2520},{"style":650},[2521],{"type":140,"value":653},{"type":134,"tag":318,"props":2523,"children":2524},{"style":795},[2525],{"type":140,"value":2526}," replace",{"type":134,"tag":318,"props":2528,"children":2529},{"style":650},[2530],{"type":140,"value":1804},{"type":134,"tag":318,"props":2532,"children":2533},{"style":335},[2534],{"type":140,"value":2535}," boolean",{"type":134,"tag":318,"props":2537,"children":2538},{"style":650},[2539],{"type":140,"value":2540}," },\n",{"type":134,"tag":318,"props":2542,"children":2543},{"class":320,"line":505},[2544,2548,2552,2556,2560],{"type":134,"tag":318,"props":2545,"children":2546},{"style":650},[2547],{"type":140,"value":2308},{"type":134,"tag":318,"props":2549,"children":2550},{"style":335},[2551],{"type":140,"value":1992},{"type":134,"tag":318,"props":2553,"children":2554},{"style":650},[2555],{"type":140,"value":1718},{"type":134,"tag":318,"props":2557,"children":2558},{"style":335},[2559],{"type":140,"value":2394},{"type":134,"tag":318,"props":2561,"children":2562},{"style":650},[2563],{"type":140,"value":2006},{"type":134,"tag":318,"props":2565,"children":2566},{"class":320,"line":522},[2567],{"type":134,"tag":318,"props":2568,"children":2569},{"style":650},[2570],{"type":140,"value":934},{"type":134,"tag":1688,"props":2572,"children":2573},{"id":1407},[2574],{"type":140,"value":2091},{"type":134,"tag":307,"props":2576,"children":2578},{"className":632,"code":2577,"language":634,"meta":312,"style":312},"interface Thread\u003CTState extends Record\u003Cstring, unknown> = Record\u003Cstring, unknown>> extends Postable\u003CTState> {\n  id: string;\n  channelId: string;\n  subscribe(): Promise\u003Cvoid>;\n  unsubscribe(): Promise\u003Cvoid>;\n  isSubscribed(): Promise\u003Cboolean>;\n  refresh(): Promise\u003Cvoid>;\n  createSentMessageFromMessage(message: Message): SentMessage;\n}\n",[2579],{"type":134,"tag":204,"props":2580,"children":2581},{"__ignoreMap":312},[2582,2682,2702,2722,2750,2778,2807,2835,2873],{"type":134,"tag":318,"props":2583,"children":2584},{"class":320,"line":321},[2585,2589,2594,2598,2602,2606,2610,2614,2618,2622,2626,2630,2634,2638,2642,2646,2650,2654,2658,2662,2666,2670,2674,2678],{"type":134,"tag":318,"props":2586,"children":2587},{"style":702},[2588],{"type":140,"value":1708},{"type":134,"tag":318,"props":2590,"children":2591},{"style":335},[2592],{"type":140,"value":2593}," Thread",{"type":134,"tag":318,"props":2595,"children":2596},{"style":650},[2597],{"type":140,"value":1718},{"type":134,"tag":318,"props":2599,"children":2600},{"style":335},[2601],{"type":140,"value":2135},{"type":134,"tag":318,"props":2603,"children":2604},{"style":702},[2605],{"type":140,"value":2140},{"type":134,"tag":318,"props":2607,"children":2608},{"style":335},[2609],{"type":140,"value":2145},{"type":134,"tag":318,"props":2611,"children":2612},{"style":650},[2613],{"type":140,"value":1718},{"type":134,"tag":318,"props":2615,"children":2616},{"style":335},[2617],{"type":140,"value":2154},{"type":134,"tag":318,"props":2619,"children":2620},{"style":650},[2621],{"type":140,"value":1412},{"type":134,"tag":318,"props":2623,"children":2624},{"style":335},[2625],{"type":140,"value":2163},{"type":134,"tag":318,"props":2627,"children":2628},{"style":650},[2629],{"type":140,"value":734},{"type":134,"tag":318,"props":2631,"children":2632},{"style":650},[2633],{"type":140,"value":831},{"type":134,"tag":318,"props":2635,"children":2636},{"style":335},[2637],{"type":140,"value":2145},{"type":134,"tag":318,"props":2639,"children":2640},{"style":650},[2641],{"type":140,"value":1718},{"type":134,"tag":318,"props":2643,"children":2644},{"style":335},[2645],{"type":140,"value":2154},{"type":134,"tag":318,"props":2647,"children":2648},{"style":650},[2649],{"type":140,"value":1412},{"type":134,"tag":318,"props":2651,"children":2652},{"style":335},[2653],{"type":140,"value":2163},{"type":134,"tag":318,"props":2655,"children":2656},{"style":650},[2657],{"type":140,"value":2196},{"type":134,"tag":318,"props":2659,"children":2660},{"style":702},[2661],{"type":140,"value":2140},{"type":134,"tag":318,"props":2663,"children":2664},{"style":335},[2665],{"type":140,"value":2126},{"type":134,"tag":318,"props":2667,"children":2668},{"style":650},[2669],{"type":140,"value":1718},{"type":134,"tag":318,"props":2671,"children":2672},{"style":335},[2673],{"type":140,"value":2135},{"type":134,"tag":318,"props":2675,"children":2676},{"style":650},[2677],{"type":140,"value":734},{"type":134,"tag":318,"props":2679,"children":2680},{"style":650},[2681],{"type":140,"value":784},{"type":134,"tag":318,"props":2683,"children":2684},{"class":320,"line":331},[2685,2690,2694,2698],{"type":134,"tag":318,"props":2686,"children":2687},{"style":795},[2688],{"type":140,"value":2689},"  id",{"type":134,"tag":318,"props":2691,"children":2692},{"style":650},[2693],{"type":140,"value":715},{"type":134,"tag":318,"props":2695,"children":2696},{"style":335},[2697],{"type":140,"value":1747},{"type":134,"tag":318,"props":2699,"children":2700},{"style":650},[2701],{"type":140,"value":689},{"type":134,"tag":318,"props":2703,"children":2704},{"class":320,"line":352},[2705,2710,2714,2718],{"type":134,"tag":318,"props":2706,"children":2707},{"style":795},[2708],{"type":140,"value":2709},"  channelId",{"type":134,"tag":318,"props":2711,"children":2712},{"style":650},[2713],{"type":140,"value":715},{"type":134,"tag":318,"props":2715,"children":2716},{"style":335},[2717],{"type":140,"value":1747},{"type":134,"tag":318,"props":2719,"children":2720},{"style":650},[2721],{"type":140,"value":689},{"type":134,"tag":318,"props":2723,"children":2724},{"class":320,"line":362},[2725,2730,2734,2738,2742,2746],{"type":134,"tag":318,"props":2726,"children":2727},{"style":795},[2728],{"type":140,"value":2729},"  subscribe",{"type":134,"tag":318,"props":2731,"children":2732},{"style":650},[2733],{"type":140,"value":2381},{"type":134,"tag":318,"props":2735,"children":2736},{"style":335},[2737],{"type":140,"value":1992},{"type":134,"tag":318,"props":2739,"children":2740},{"style":650},[2741],{"type":140,"value":1718},{"type":134,"tag":318,"props":2743,"children":2744},{"style":335},[2745],{"type":140,"value":2394},{"type":134,"tag":318,"props":2747,"children":2748},{"style":650},[2749],{"type":140,"value":2006},{"type":134,"tag":318,"props":2751,"children":2752},{"class":320,"line":371},[2753,2758,2762,2766,2770,2774],{"type":134,"tag":318,"props":2754,"children":2755},{"style":795},[2756],{"type":140,"value":2757},"  unsubscribe",{"type":134,"tag":318,"props":2759,"children":2760},{"style":650},[2761],{"type":140,"value":2381},{"type":134,"tag":318,"props":2763,"children":2764},{"style":335},[2765],{"type":140,"value":1992},{"type":134,"tag":318,"props":2767,"children":2768},{"style":650},[2769],{"type":140,"value":1718},{"type":134,"tag":318,"props":2771,"children":2772},{"style":335},[2773],{"type":140,"value":2394},{"type":134,"tag":318,"props":2775,"children":2776},{"style":650},[2777],{"type":140,"value":2006},{"type":134,"tag":318,"props":2779,"children":2780},{"class":320,"line":129},[2781,2786,2790,2794,2798,2803],{"type":134,"tag":318,"props":2782,"children":2783},{"style":795},[2784],{"type":140,"value":2785},"  isSubscribed",{"type":134,"tag":318,"props":2787,"children":2788},{"style":650},[2789],{"type":140,"value":2381},{"type":134,"tag":318,"props":2791,"children":2792},{"style":335},[2793],{"type":140,"value":1992},{"type":134,"tag":318,"props":2795,"children":2796},{"style":650},[2797],{"type":140,"value":1718},{"type":134,"tag":318,"props":2799,"children":2800},{"style":335},[2801],{"type":140,"value":2802},"boolean",{"type":134,"tag":318,"props":2804,"children":2805},{"style":650},[2806],{"type":140,"value":2006},{"type":134,"tag":318,"props":2808,"children":2809},{"class":320,"line":404},[2810,2815,2819,2823,2827,2831],{"type":134,"tag":318,"props":2811,"children":2812},{"style":795},[2813],{"type":140,"value":2814},"  refresh",{"type":134,"tag":318,"props":2816,"children":2817},{"style":650},[2818],{"type":140,"value":2381},{"type":134,"tag":318,"props":2820,"children":2821},{"style":335},[2822],{"type":140,"value":1992},{"type":134,"tag":318,"props":2824,"children":2825},{"style":650},[2826],{"type":140,"value":1718},{"type":134,"tag":318,"props":2828,"children":2829},{"style":335},[2830],{"type":140,"value":2394},{"type":134,"tag":318,"props":2832,"children":2833},{"style":650},[2834],{"type":140,"value":2006},{"type":134,"tag":318,"props":2836,"children":2837},{"class":320,"line":39},[2838,2843,2847,2851,2855,2860,2864,2869],{"type":134,"tag":318,"props":2839,"children":2840},{"style":795},[2841],{"type":140,"value":2842},"  createSentMessageFromMessage",{"type":134,"tag":318,"props":2844,"children":2845},{"style":650},[2846],{"type":140,"value":840},{"type":134,"tag":318,"props":2848,"children":2849},{"style":1404},[2850],{"type":140,"value":1506},{"type":134,"tag":318,"props":2852,"children":2853},{"style":650},[2854],{"type":140,"value":715},{"type":134,"tag":318,"props":2856,"children":2857},{"style":335},[2858],{"type":140,"value":2859}," Message",{"type":134,"tag":318,"props":2861,"children":2862},{"style":650},[2863],{"type":140,"value":1987},{"type":134,"tag":318,"props":2865,"children":2866},{"style":335},[2867],{"type":140,"value":2868}," SentMessage",{"type":134,"tag":318,"props":2870,"children":2871},{"style":650},[2872],{"type":140,"value":689},{"type":134,"tag":318,"props":2874,"children":2875},{"class":320,"line":437},[2876],{"type":134,"tag":318,"props":2877,"children":2878},{"style":650},[2879],{"type":140,"value":934},{"type":134,"tag":1688,"props":2881,"children":2882},{"id":1506},[2883],{"type":140,"value":2424},{"type":134,"tag":307,"props":2885,"children":2887},{"className":632,"code":2886,"language":634,"meta":312,"style":312},"class Message\u003CTRaw = unknown> {\n  id: string;\n  threadId: string;\n  text: string;\n  isMention: boolean;\n  raw: TRaw;\n\n  toJSON(): SerializedMessage;\n  static fromJSON(data: SerializedMessage): Message;\n}\n",[2888],{"type":134,"tag":204,"props":2889,"children":2890},{"__ignoreMap":312},[2891,2927,2946,2966,2986,3006,3027,3034,3055,3097],{"type":134,"tag":318,"props":2892,"children":2893},{"class":320,"line":321},[2894,2898,2902,2906,2911,2915,2919,2923],{"type":134,"tag":318,"props":2895,"children":2896},{"style":702},[2897],{"type":140,"value":1949},{"type":134,"tag":318,"props":2899,"children":2900},{"style":335},[2901],{"type":140,"value":2859},{"type":134,"tag":318,"props":2903,"children":2904},{"style":650},[2905],{"type":140,"value":1718},{"type":134,"tag":318,"props":2907,"children":2908},{"style":335},[2909],{"type":140,"value":2910},"TRaw",{"type":134,"tag":318,"props":2912,"children":2913},{"style":650},[2914],{"type":140,"value":831},{"type":134,"tag":318,"props":2916,"children":2917},{"style":335},[2918],{"type":140,"value":2163},{"type":134,"tag":318,"props":2920,"children":2921},{"style":650},[2922],{"type":140,"value":734},{"type":134,"tag":318,"props":2924,"children":2925},{"style":650},[2926],{"type":140,"value":784},{"type":134,"tag":318,"props":2928,"children":2929},{"class":320,"line":331},[2930,2934,2938,2942],{"type":134,"tag":318,"props":2931,"children":2932},{"style":795},[2933],{"type":140,"value":2689},{"type":134,"tag":318,"props":2935,"children":2936},{"style":650},[2937],{"type":140,"value":715},{"type":134,"tag":318,"props":2939,"children":2940},{"style":335},[2941],{"type":140,"value":1747},{"type":134,"tag":318,"props":2943,"children":2944},{"style":650},[2945],{"type":140,"value":689},{"type":134,"tag":318,"props":2947,"children":2948},{"class":320,"line":352},[2949,2954,2958,2962],{"type":134,"tag":318,"props":2950,"children":2951},{"style":795},[2952],{"type":140,"value":2953},"  threadId",{"type":134,"tag":318,"props":2955,"children":2956},{"style":650},[2957],{"type":140,"value":715},{"type":134,"tag":318,"props":2959,"children":2960},{"style":335},[2961],{"type":140,"value":1747},{"type":134,"tag":318,"props":2963,"children":2964},{"style":650},[2965],{"type":140,"value":689},{"type":134,"tag":318,"props":2967,"children":2968},{"class":320,"line":362},[2969,2974,2978,2982],{"type":134,"tag":318,"props":2970,"children":2971},{"style":795},[2972],{"type":140,"value":2973},"  text",{"type":134,"tag":318,"props":2975,"children":2976},{"style":650},[2977],{"type":140,"value":715},{"type":134,"tag":318,"props":2979,"children":2980},{"style":335},[2981],{"type":140,"value":1747},{"type":134,"tag":318,"props":2983,"children":2984},{"style":650},[2985],{"type":140,"value":689},{"type":134,"tag":318,"props":2987,"children":2988},{"class":320,"line":371},[2989,2994,2998,3002],{"type":134,"tag":318,"props":2990,"children":2991},{"style":795},[2992],{"type":140,"value":2993},"  isMention",{"type":134,"tag":318,"props":2995,"children":2996},{"style":650},[2997],{"type":140,"value":715},{"type":134,"tag":318,"props":2999,"children":3000},{"style":335},[3001],{"type":140,"value":2535},{"type":134,"tag":318,"props":3003,"children":3004},{"style":650},[3005],{"type":140,"value":689},{"type":134,"tag":318,"props":3007,"children":3008},{"class":320,"line":129},[3009,3014,3018,3023],{"type":134,"tag":318,"props":3010,"children":3011},{"style":795},[3012],{"type":140,"value":3013},"  raw",{"type":134,"tag":318,"props":3015,"children":3016},{"style":650},[3017],{"type":140,"value":715},{"type":134,"tag":318,"props":3019,"children":3020},{"style":335},[3021],{"type":140,"value":3022}," TRaw",{"type":134,"tag":318,"props":3024,"children":3025},{"style":650},[3026],{"type":140,"value":689},{"type":134,"tag":318,"props":3028,"children":3029},{"class":320,"line":404},[3030],{"type":134,"tag":318,"props":3031,"children":3032},{"emptyLinePlaceholder":356},[3033],{"type":140,"value":359},{"type":134,"tag":318,"props":3035,"children":3036},{"class":320,"line":39},[3037,3042,3046,3051],{"type":134,"tag":318,"props":3038,"children":3039},{"style":795},[3040],{"type":140,"value":3041},"  toJSON",{"type":134,"tag":318,"props":3043,"children":3044},{"style":650},[3045],{"type":140,"value":2381},{"type":134,"tag":318,"props":3047,"children":3048},{"style":335},[3049],{"type":140,"value":3050}," SerializedMessage",{"type":134,"tag":318,"props":3052,"children":3053},{"style":650},[3054],{"type":140,"value":689},{"type":134,"tag":318,"props":3056,"children":3057},{"class":320,"line":437},[3058,3063,3068,3072,3077,3081,3085,3089,3093],{"type":134,"tag":318,"props":3059,"children":3060},{"style":702},[3061],{"type":140,"value":3062},"  static",{"type":134,"tag":318,"props":3064,"children":3065},{"style":795},[3066],{"type":140,"value":3067}," fromJSON",{"type":134,"tag":318,"props":3069,"children":3070},{"style":650},[3071],{"type":140,"value":840},{"type":134,"tag":318,"props":3073,"children":3074},{"style":1404},[3075],{"type":140,"value":3076},"data",{"type":134,"tag":318,"props":3078,"children":3079},{"style":650},[3080],{"type":140,"value":715},{"type":134,"tag":318,"props":3082,"children":3083},{"style":335},[3084],{"type":140,"value":3050},{"type":134,"tag":318,"props":3086,"children":3087},{"style":650},[3088],{"type":140,"value":1987},{"type":134,"tag":318,"props":3090,"children":3091},{"style":335},[3092],{"type":140,"value":2859},{"type":134,"tag":318,"props":3094,"children":3095},{"style":650},[3096],{"type":140,"value":689},{"type":134,"tag":318,"props":3098,"children":3099},{"class":320,"line":454},[3100],{"type":134,"tag":318,"props":3101,"children":3102},{"style":650},[3103],{"type":140,"value":934},{"type":134,"tag":1688,"props":3105,"children":3107},{"id":3106},"sentmessage",[3108],{"type":140,"value":2243},{"type":134,"tag":307,"props":3110,"children":3112},{"className":632,"code":3111,"language":634,"meta":312,"style":312},"interface SentMessage extends Message {\n  edit(content: PostableContent): Promise\u003Cvoid>;\n  delete(): Promise\u003Cvoid>;\n  addReaction(emoji: string): Promise\u003Cvoid>;\n  removeReaction(emoji: string): Promise\u003Cvoid>;\n}\n",[3113],{"type":134,"tag":204,"props":3114,"children":3115},{"__ignoreMap":312},[3116,3139,3183,3211,3256,3300],{"type":134,"tag":318,"props":3117,"children":3118},{"class":320,"line":321},[3119,3123,3127,3131,3135],{"type":134,"tag":318,"props":3120,"children":3121},{"style":702},[3122],{"type":140,"value":1708},{"type":134,"tag":318,"props":3124,"children":3125},{"style":335},[3126],{"type":140,"value":2868},{"type":134,"tag":318,"props":3128,"children":3129},{"style":702},[3130],{"type":140,"value":2140},{"type":134,"tag":318,"props":3132,"children":3133},{"style":335},[3134],{"type":140,"value":2859},{"type":134,"tag":318,"props":3136,"children":3137},{"style":650},[3138],{"type":140,"value":784},{"type":134,"tag":318,"props":3140,"children":3141},{"class":320,"line":331},[3142,3147,3151,3155,3159,3163,3167,3171,3175,3179],{"type":134,"tag":318,"props":3143,"children":3144},{"style":795},[3145],{"type":140,"value":3146},"  edit",{"type":134,"tag":318,"props":3148,"children":3149},{"style":650},[3150],{"type":140,"value":840},{"type":134,"tag":318,"props":3152,"children":3153},{"style":1404},[3154],{"type":140,"value":2217},{"type":134,"tag":318,"props":3156,"children":3157},{"style":650},[3158],{"type":140,"value":715},{"type":134,"tag":318,"props":3160,"children":3161},{"style":335},[3162],{"type":140,"value":2226},{"type":134,"tag":318,"props":3164,"children":3165},{"style":650},[3166],{"type":140,"value":1987},{"type":134,"tag":318,"props":3168,"children":3169},{"style":335},[3170],{"type":140,"value":1992},{"type":134,"tag":318,"props":3172,"children":3173},{"style":650},[3174],{"type":140,"value":1718},{"type":134,"tag":318,"props":3176,"children":3177},{"style":335},[3178],{"type":140,"value":2394},{"type":134,"tag":318,"props":3180,"children":3181},{"style":650},[3182],{"type":140,"value":2006},{"type":134,"tag":318,"props":3184,"children":3185},{"class":320,"line":352},[3186,3191,3195,3199,3203,3207],{"type":134,"tag":318,"props":3187,"children":3188},{"style":795},[3189],{"type":140,"value":3190},"  delete",{"type":134,"tag":318,"props":3192,"children":3193},{"style":650},[3194],{"type":140,"value":2381},{"type":134,"tag":318,"props":3196,"children":3197},{"style":335},[3198],{"type":140,"value":1992},{"type":134,"tag":318,"props":3200,"children":3201},{"style":650},[3202],{"type":140,"value":1718},{"type":134,"tag":318,"props":3204,"children":3205},{"style":335},[3206],{"type":140,"value":2394},{"type":134,"tag":318,"props":3208,"children":3209},{"style":650},[3210],{"type":140,"value":2006},{"type":134,"tag":318,"props":3212,"children":3213},{"class":320,"line":362},[3214,3219,3223,3228,3232,3236,3240,3244,3248,3252],{"type":134,"tag":318,"props":3215,"children":3216},{"style":795},[3217],{"type":140,"value":3218},"  addReaction",{"type":134,"tag":318,"props":3220,"children":3221},{"style":650},[3222],{"type":140,"value":840},{"type":134,"tag":318,"props":3224,"children":3225},{"style":1404},[3226],{"type":140,"value":3227},"emoji",{"type":134,"tag":318,"props":3229,"children":3230},{"style":650},[3231],{"type":140,"value":715},{"type":134,"tag":318,"props":3233,"children":3234},{"style":335},[3235],{"type":140,"value":1747},{"type":134,"tag":318,"props":3237,"children":3238},{"style":650},[3239],{"type":140,"value":1987},{"type":134,"tag":318,"props":3241,"children":3242},{"style":335},[3243],{"type":140,"value":1992},{"type":134,"tag":318,"props":3245,"children":3246},{"style":650},[3247],{"type":140,"value":1718},{"type":134,"tag":318,"props":3249,"children":3250},{"style":335},[3251],{"type":140,"value":2394},{"type":134,"tag":318,"props":3253,"children":3254},{"style":650},[3255],{"type":140,"value":2006},{"type":134,"tag":318,"props":3257,"children":3258},{"class":320,"line":371},[3259,3264,3268,3272,3276,3280,3284,3288,3292,3296],{"type":134,"tag":318,"props":3260,"children":3261},{"style":795},[3262],{"type":140,"value":3263},"  removeReaction",{"type":134,"tag":318,"props":3265,"children":3266},{"style":650},[3267],{"type":140,"value":840},{"type":134,"tag":318,"props":3269,"children":3270},{"style":1404},[3271],{"type":140,"value":3227},{"type":134,"tag":318,"props":3273,"children":3274},{"style":650},[3275],{"type":140,"value":715},{"type":134,"tag":318,"props":3277,"children":3278},{"style":335},[3279],{"type":140,"value":1747},{"type":134,"tag":318,"props":3281,"children":3282},{"style":650},[3283],{"type":140,"value":1987},{"type":134,"tag":318,"props":3285,"children":3286},{"style":335},[3287],{"type":140,"value":1992},{"type":134,"tag":318,"props":3289,"children":3290},{"style":650},[3291],{"type":140,"value":1718},{"type":134,"tag":318,"props":3293,"children":3294},{"style":335},[3295],{"type":140,"value":2394},{"type":134,"tag":318,"props":3297,"children":3298},{"style":650},[3299],{"type":140,"value":2006},{"type":134,"tag":318,"props":3301,"children":3302},{"class":320,"line":129},[3303],{"type":134,"tag":318,"props":3304,"children":3305},{"style":650},[3306],{"type":140,"value":934},{"type":134,"tag":147,"props":3308,"children":3309},{},[3310,3312,3317,3319,3324,3326],{"type":140,"value":3311},"Reactions are on ",{"type":134,"tag":204,"props":3313,"children":3315},{"className":3314},[],[3316],{"type":140,"value":2243},{"type":140,"value":3318},", not ",{"type":134,"tag":204,"props":3320,"children":3322},{"className":3321},[],[3323],{"type":140,"value":2424},{"type":140,"value":3325},":\n",{"type":134,"tag":204,"props":3327,"children":3329},{"className":3328},[],[3330],{"type":140,"value":3331},"const sent = await thread.post('Done'); await sent.addReaction('thumbsup');",{"type":134,"tag":307,"props":3333,"children":3335},{"className":632,"code":3334,"language":634,"meta":312,"style":312},"const sent = await thread.post(\"Done\");\nawait sent.addReaction(\"thumbsup\");\n",[3336],{"type":134,"tag":204,"props":3337,"children":3338},{"__ignoreMap":312},[3339,3397],{"type":134,"tag":318,"props":3340,"children":3341},{"class":320,"line":321},[3342,3346,3351,3355,3360,3364,3368,3372,3376,3380,3385,3389,3393],{"type":134,"tag":318,"props":3343,"children":3344},{"style":702},[3345],{"type":140,"value":1123},{"type":134,"tag":318,"props":3347,"children":3348},{"style":656},[3349],{"type":140,"value":3350}," sent ",{"type":134,"tag":318,"props":3352,"children":3353},{"style":650},[3354],{"type":140,"value":1133},{"type":134,"tag":318,"props":3356,"children":3357},{"style":644},[3358],{"type":140,"value":3359}," await",{"type":134,"tag":318,"props":3361,"children":3362},{"style":656},[3363],{"type":140,"value":1444},{"type":134,"tag":318,"props":3365,"children":3366},{"style":650},[3367],{"type":140,"value":866},{"type":134,"tag":318,"props":3369,"children":3370},{"style":771},[3371],{"type":140,"value":1482},{"type":134,"tag":318,"props":3373,"children":3374},{"style":656},[3375],{"type":140,"value":840},{"type":134,"tag":318,"props":3377,"children":3378},{"style":650},[3379],{"type":140,"value":684},{"type":134,"tag":318,"props":3381,"children":3382},{"style":341},[3383],{"type":140,"value":3384},"Done",{"type":134,"tag":318,"props":3386,"children":3387},{"style":650},[3388],{"type":140,"value":684},{"type":134,"tag":318,"props":3390,"children":3391},{"style":656},[3392],{"type":140,"value":898},{"type":134,"tag":318,"props":3394,"children":3395},{"style":650},[3396],{"type":140,"value":689},{"type":134,"tag":318,"props":3398,"children":3399},{"class":320,"line":331},[3400,3405,3410,3414,3419,3423,3427,3432,3436,3440],{"type":134,"tag":318,"props":3401,"children":3402},{"style":644},[3403],{"type":140,"value":3404},"await",{"type":134,"tag":318,"props":3406,"children":3407},{"style":656},[3408],{"type":140,"value":3409}," sent",{"type":134,"tag":318,"props":3411,"children":3412},{"style":650},[3413],{"type":140,"value":866},{"type":134,"tag":318,"props":3415,"children":3416},{"style":771},[3417],{"type":140,"value":3418},"addReaction",{"type":134,"tag":318,"props":3420,"children":3421},{"style":656},[3422],{"type":140,"value":840},{"type":134,"tag":318,"props":3424,"children":3425},{"style":650},[3426],{"type":140,"value":684},{"type":134,"tag":318,"props":3428,"children":3429},{"style":341},[3430],{"type":140,"value":3431},"thumbsup",{"type":134,"tag":318,"props":3433,"children":3434},{"style":650},[3435],{"type":140,"value":684},{"type":134,"tag":318,"props":3437,"children":3438},{"style":656},[3439],{"type":140,"value":898},{"type":134,"tag":318,"props":3441,"children":3442},{"style":650},[3443],{"type":140,"value":689},{"type":134,"tag":1688,"props":3445,"children":3447},{"id":3446},"channel",[3448],{"type":140,"value":2001},{"type":134,"tag":307,"props":3450,"children":3452},{"className":632,"code":3451,"language":634,"meta":312,"style":312},"interface Channel\u003CTState extends Record\u003Cstring, unknown> = Record\u003Cstring, unknown>> extends Postable\u003CTState> {\n  id: string;\n  name?: string;\n}\n",[3453],{"type":134,"tag":204,"props":3454,"children":3455},{"__ignoreMap":312},[3456,3555,3574,3594],{"type":134,"tag":318,"props":3457,"children":3458},{"class":320,"line":321},[3459,3463,3467,3471,3475,3479,3483,3487,3491,3495,3499,3503,3507,3511,3515,3519,3523,3527,3531,3535,3539,3543,3547,3551],{"type":134,"tag":318,"props":3460,"children":3461},{"style":702},[3462],{"type":140,"value":1708},{"type":134,"tag":318,"props":3464,"children":3465},{"style":335},[3466],{"type":140,"value":2040},{"type":134,"tag":318,"props":3468,"children":3469},{"style":650},[3470],{"type":140,"value":1718},{"type":134,"tag":318,"props":3472,"children":3473},{"style":335},[3474],{"type":140,"value":2135},{"type":134,"tag":318,"props":3476,"children":3477},{"style":702},[3478],{"type":140,"value":2140},{"type":134,"tag":318,"props":3480,"children":3481},{"style":335},[3482],{"type":140,"value":2145},{"type":134,"tag":318,"props":3484,"children":3485},{"style":650},[3486],{"type":140,"value":1718},{"type":134,"tag":318,"props":3488,"children":3489},{"style":335},[3490],{"type":140,"value":2154},{"type":134,"tag":318,"props":3492,"children":3493},{"style":650},[3494],{"type":140,"value":1412},{"type":134,"tag":318,"props":3496,"children":3497},{"style":335},[3498],{"type":140,"value":2163},{"type":134,"tag":318,"props":3500,"children":3501},{"style":650},[3502],{"type":140,"value":734},{"type":134,"tag":318,"props":3504,"children":3505},{"style":650},[3506],{"type":140,"value":831},{"type":134,"tag":318,"props":3508,"children":3509},{"style":335},[3510],{"type":140,"value":2145},{"type":134,"tag":318,"props":3512,"children":3513},{"style":650},[3514],{"type":140,"value":1718},{"type":134,"tag":318,"props":3516,"children":3517},{"style":335},[3518],{"type":140,"value":2154},{"type":134,"tag":318,"props":3520,"children":3521},{"style":650},[3522],{"type":140,"value":1412},{"type":134,"tag":318,"props":3524,"children":3525},{"style":335},[3526],{"type":140,"value":2163},{"type":134,"tag":318,"props":3528,"children":3529},{"style":650},[3530],{"type":140,"value":2196},{"type":134,"tag":318,"props":3532,"children":3533},{"style":702},[3534],{"type":140,"value":2140},{"type":134,"tag":318,"props":3536,"children":3537},{"style":335},[3538],{"type":140,"value":2126},{"type":134,"tag":318,"props":3540,"children":3541},{"style":650},[3542],{"type":140,"value":1718},{"type":134,"tag":318,"props":3544,"children":3545},{"style":335},[3546],{"type":140,"value":2135},{"type":134,"tag":318,"props":3548,"children":3549},{"style":650},[3550],{"type":140,"value":734},{"type":134,"tag":318,"props":3552,"children":3553},{"style":650},[3554],{"type":140,"value":784},{"type":134,"tag":318,"props":3556,"children":3557},{"class":320,"line":331},[3558,3562,3566,3570],{"type":134,"tag":318,"props":3559,"children":3560},{"style":795},[3561],{"type":140,"value":2689},{"type":134,"tag":318,"props":3563,"children":3564},{"style":650},[3565],{"type":140,"value":715},{"type":134,"tag":318,"props":3567,"children":3568},{"style":335},[3569],{"type":140,"value":1747},{"type":134,"tag":318,"props":3571,"children":3572},{"style":650},[3573],{"type":140,"value":689},{"type":134,"tag":318,"props":3575,"children":3576},{"class":320,"line":352},[3577,3582,3586,3590],{"type":134,"tag":318,"props":3578,"children":3579},{"style":795},[3580],{"type":140,"value":3581},"  name",{"type":134,"tag":318,"props":3583,"children":3584},{"style":650},[3585],{"type":140,"value":1804},{"type":134,"tag":318,"props":3587,"children":3588},{"style":335},[3589],{"type":140,"value":1747},{"type":134,"tag":318,"props":3591,"children":3592},{"style":650},[3593],{"type":140,"value":689},{"type":134,"tag":318,"props":3595,"children":3596},{"class":320,"line":362},[3597],{"type":134,"tag":318,"props":3598,"children":3599},{"style":650},[3600],{"type":140,"value":934},{"type":134,"tag":189,"props":3602,"children":3604},{"id":3603},"event-handlers",[3605],{"type":140,"value":3606},"Event Handlers",{"type":134,"tag":1688,"props":3608,"children":3610},{"id":3609},"standard-handlers",[3611],{"type":140,"value":3612},"Standard handlers",{"type":134,"tag":196,"props":3614,"children":3615},{},[3616,3625,3634,3643,3652,3661,3670,3679,3688],{"type":134,"tag":200,"props":3617,"children":3618},{},[3619],{"type":134,"tag":204,"props":3620,"children":3622},{"className":3621},[],[3623],{"type":140,"value":3624},"onNewMention(handler)",{"type":134,"tag":200,"props":3626,"children":3627},{},[3628],{"type":134,"tag":204,"props":3629,"children":3631},{"className":3630},[],[3632],{"type":140,"value":3633},"onSubscribedMessage(handler)",{"type":134,"tag":200,"props":3635,"children":3636},{},[3637],{"type":134,"tag":204,"props":3638,"children":3640},{"className":3639},[],[3641],{"type":140,"value":3642},"onNewMessage(pattern, handler)",{"type":134,"tag":200,"props":3644,"children":3645},{},[3646],{"type":134,"tag":204,"props":3647,"children":3649},{"className":3648},[],[3650],{"type":140,"value":3651},"onReaction(filter?, handler)",{"type":134,"tag":200,"props":3653,"children":3654},{},[3655],{"type":134,"tag":204,"props":3656,"children":3658},{"className":3657},[],[3659],{"type":140,"value":3660},"onAction(filter?, handler)",{"type":134,"tag":200,"props":3662,"children":3663},{},[3664],{"type":134,"tag":204,"props":3665,"children":3667},{"className":3666},[],[3668],{"type":140,"value":3669},"onModalSubmit(filter?, handler)",{"type":134,"tag":200,"props":3671,"children":3672},{},[3673],{"type":134,"tag":204,"props":3674,"children":3676},{"className":3675},[],[3677],{"type":140,"value":3678},"onModalClose(filter?, handler)",{"type":134,"tag":200,"props":3680,"children":3681},{},[3682],{"type":134,"tag":204,"props":3683,"children":3685},{"className":3684},[],[3686],{"type":140,"value":3687},"onSlashCommand(filter?, handler)",{"type":134,"tag":200,"props":3689,"children":3690},{},[3691],{"type":134,"tag":204,"props":3692,"children":3694},{"className":3693},[],[3695],{"type":140,"value":3696},"onMemberJoinedChannel(handler)",{"type":134,"tag":307,"props":3698,"children":3700},{"className":632,"code":3699,"language":634,"meta":312,"style":312},"bot.onMemberJoinedChannel(async (event) => {\n  await event.thread.post(`Welcome ${event.user.fullName}!`);\n});\n",[3701],{"type":134,"tag":204,"props":3702,"children":3703},{"__ignoreMap":312},[3704,3749,3836],{"type":134,"tag":318,"props":3705,"children":3706},{"class":320,"line":321},[3707,3711,3715,3720,3724,3728,3732,3737,3741,3745],{"type":134,"tag":318,"props":3708,"children":3709},{"style":656},[3710],{"type":140,"value":118},{"type":134,"tag":318,"props":3712,"children":3713},{"style":650},[3714],{"type":140,"value":866},{"type":134,"tag":318,"props":3716,"children":3717},{"style":771},[3718],{"type":140,"value":3719},"onMemberJoinedChannel",{"type":134,"tag":318,"props":3721,"children":3722},{"style":656},[3723],{"type":140,"value":840},{"type":134,"tag":318,"props":3725,"children":3726},{"style":702},[3727],{"type":140,"value":1397},{"type":134,"tag":318,"props":3729,"children":3730},{"style":650},[3731],{"type":140,"value":798},{"type":134,"tag":318,"props":3733,"children":3734},{"style":1404},[3735],{"type":140,"value":3736},"event",{"type":134,"tag":318,"props":3738,"children":3739},{"style":650},[3740],{"type":140,"value":898},{"type":134,"tag":318,"props":3742,"children":3743},{"style":702},[3744],{"type":140,"value":1426},{"type":134,"tag":318,"props":3746,"children":3747},{"style":650},[3748],{"type":140,"value":784},{"type":134,"tag":318,"props":3750,"children":3751},{"class":320,"line":331},[3752,3756,3761,3765,3769,3773,3777,3781,3785,3790,3794,3798,3802,3807,3811,3816,3820,3824,3828,3832],{"type":134,"tag":318,"props":3753,"children":3754},{"style":644},[3755],{"type":140,"value":1439},{"type":134,"tag":318,"props":3757,"children":3758},{"style":656},[3759],{"type":140,"value":3760}," event",{"type":134,"tag":318,"props":3762,"children":3763},{"style":650},[3764],{"type":140,"value":866},{"type":134,"tag":318,"props":3766,"children":3767},{"style":656},[3768],{"type":140,"value":1407},{"type":134,"tag":318,"props":3770,"children":3771},{"style":650},[3772],{"type":140,"value":866},{"type":134,"tag":318,"props":3774,"children":3775},{"style":771},[3776],{"type":140,"value":1482},{"type":134,"tag":318,"props":3778,"children":3779},{"style":795},[3780],{"type":140,"value":840},{"type":134,"tag":318,"props":3782,"children":3783},{"style":650},[3784],{"type":140,"value":1491},{"type":134,"tag":318,"props":3786,"children":3787},{"style":341},[3788],{"type":140,"value":3789},"Welcome ",{"type":134,"tag":318,"props":3791,"children":3792},{"style":650},[3793],{"type":140,"value":1501},{"type":134,"tag":318,"props":3795,"children":3796},{"style":656},[3797],{"type":140,"value":3736},{"type":134,"tag":318,"props":3799,"children":3800},{"style":650},[3801],{"type":140,"value":866},{"type":134,"tag":318,"props":3803,"children":3804},{"style":656},[3805],{"type":140,"value":3806},"user",{"type":134,"tag":318,"props":3808,"children":3809},{"style":650},[3810],{"type":140,"value":866},{"type":134,"tag":318,"props":3812,"children":3813},{"style":656},[3814],{"type":140,"value":3815},"fullName",{"type":134,"tag":318,"props":3817,"children":3818},{"style":650},[3819],{"type":140,"value":1356},{"type":134,"tag":318,"props":3821,"children":3822},{"style":341},[3823],{"type":140,"value":803},{"type":134,"tag":318,"props":3825,"children":3826},{"style":650},[3827],{"type":140,"value":1491},{"type":134,"tag":318,"props":3829,"children":3830},{"style":795},[3831],{"type":140,"value":898},{"type":134,"tag":318,"props":3833,"children":3834},{"style":650},[3835],{"type":140,"value":689},{"type":134,"tag":318,"props":3837,"children":3838},{"class":320,"line":352},[3839,3843,3847],{"type":134,"tag":318,"props":3840,"children":3841},{"style":650},[3842],{"type":140,"value":1356},{"type":134,"tag":318,"props":3844,"children":3845},{"style":656},[3846],{"type":140,"value":898},{"type":134,"tag":318,"props":3848,"children":3849},{"style":650},[3850],{"type":140,"value":689},{"type":134,"tag":1688,"props":3852,"children":3854},{"id":3853},"handler-overloads",[3855],{"type":140,"value":3856},"Handler overloads",{"type":134,"tag":147,"props":3858,"children":3859},{},[3860,3866,3868,3874,3875,3881,3883,3889],{"type":134,"tag":204,"props":3861,"children":3863},{"className":3862},[],[3864],{"type":140,"value":3865},"onAction",{"type":140,"value":3867},", ",{"type":134,"tag":204,"props":3869,"children":3871},{"className":3870},[],[3872],{"type":140,"value":3873},"onModalSubmit",{"type":140,"value":3867},{"type":134,"tag":204,"props":3876,"children":3878},{"className":3877},[],[3879],{"type":140,"value":3880},"onModalClose",{"type":140,"value":3882},", and ",{"type":134,"tag":204,"props":3884,"children":3886},{"className":3885},[],[3887],{"type":140,"value":3888},"onReaction",{"type":140,"value":3890}," support:",{"type":134,"tag":196,"props":3892,"children":3893},{},[3894,3905,3916],{"type":134,"tag":200,"props":3895,"children":3896},{},[3897,3899],{"type":140,"value":3898},"Catch-all: ",{"type":134,"tag":204,"props":3900,"children":3902},{"className":3901},[],[3903],{"type":140,"value":3904},"bot.onAction(async (event) => { ... })",{"type":134,"tag":200,"props":3906,"children":3907},{},[3908,3910],{"type":140,"value":3909},"Single filter: ",{"type":134,"tag":204,"props":3911,"children":3913},{"className":3912},[],[3914],{"type":140,"value":3915},"bot.onAction(\"approve\", async (event) => { ... })",{"type":134,"tag":200,"props":3917,"children":3918},{},[3919,3921],{"type":140,"value":3920},"Array filter: ",{"type":134,"tag":204,"props":3922,"children":3924},{"className":3923},[],[3925],{"type":140,"value":3926},"bot.onAction([\"approve\", \"reject\"], async (event) => { ... })",{"type":134,"tag":1688,"props":3928,"children":3930},{"id":3929},"event-payload-shapes",[3931],{"type":140,"value":3932},"Event payload shapes",{"type":134,"tag":307,"props":3934,"children":3936},{"className":632,"code":3935,"language":634,"meta":312,"style":312},"interface ActionEvent {\n  actionId: string;\n  value?: string;\n  triggerId?: string;\n  privateMetadata?: string;\n  thread: Thread;\n  relatedThread?: Thread;\n  relatedMessage?: Message;\n  openModal: (modal: JSX.Element) => Promise\u003Cvoid>;\n}\n\ninterface ModalEvent {\n  callbackId: string;\n  values: Record\u003Cstring, string>;\n  triggerId?: string;\n  privateMetadata?: string;\n  relatedThread?: Thread;\n  relatedMessage?: Message;\n}\n",[3937],{"type":134,"tag":204,"props":3938,"children":3939},{"__ignoreMap":312},[3940,3956,3976,3996,4016,4036,4056,4076,4096,4159,4166,4173,4189,4209,4245,4264,4283,4302,4321],{"type":134,"tag":318,"props":3941,"children":3942},{"class":320,"line":321},[3943,3947,3952],{"type":134,"tag":318,"props":3944,"children":3945},{"style":702},[3946],{"type":140,"value":1708},{"type":134,"tag":318,"props":3948,"children":3949},{"style":335},[3950],{"type":140,"value":3951}," ActionEvent",{"type":134,"tag":318,"props":3953,"children":3954},{"style":650},[3955],{"type":140,"value":784},{"type":134,"tag":318,"props":3957,"children":3958},{"class":320,"line":331},[3959,3964,3968,3972],{"type":134,"tag":318,"props":3960,"children":3961},{"style":795},[3962],{"type":140,"value":3963},"  actionId",{"type":134,"tag":318,"props":3965,"children":3966},{"style":650},[3967],{"type":140,"value":715},{"type":134,"tag":318,"props":3969,"children":3970},{"style":335},[3971],{"type":140,"value":1747},{"type":134,"tag":318,"props":3973,"children":3974},{"style":650},[3975],{"type":140,"value":689},{"type":134,"tag":318,"props":3977,"children":3978},{"class":320,"line":352},[3979,3984,3988,3992],{"type":134,"tag":318,"props":3980,"children":3981},{"style":795},[3982],{"type":140,"value":3983},"  value",{"type":134,"tag":318,"props":3985,"children":3986},{"style":650},[3987],{"type":140,"value":1804},{"type":134,"tag":318,"props":3989,"children":3990},{"style":335},[3991],{"type":140,"value":1747},{"type":134,"tag":318,"props":3993,"children":3994},{"style":650},[3995],{"type":140,"value":689},{"type":134,"tag":318,"props":3997,"children":3998},{"class":320,"line":362},[3999,4004,4008,4012],{"type":134,"tag":318,"props":4000,"children":4001},{"style":795},[4002],{"type":140,"value":4003},"  triggerId",{"type":134,"tag":318,"props":4005,"children":4006},{"style":650},[4007],{"type":140,"value":1804},{"type":134,"tag":318,"props":4009,"children":4010},{"style":335},[4011],{"type":140,"value":1747},{"type":134,"tag":318,"props":4013,"children":4014},{"style":650},[4015],{"type":140,"value":689},{"type":134,"tag":318,"props":4017,"children":4018},{"class":320,"line":371},[4019,4024,4028,4032],{"type":134,"tag":318,"props":4020,"children":4021},{"style":795},[4022],{"type":140,"value":4023},"  privateMetadata",{"type":134,"tag":318,"props":4025,"children":4026},{"style":650},[4027],{"type":140,"value":1804},{"type":134,"tag":318,"props":4029,"children":4030},{"style":335},[4031],{"type":140,"value":1747},{"type":134,"tag":318,"props":4033,"children":4034},{"style":650},[4035],{"type":140,"value":689},{"type":134,"tag":318,"props":4037,"children":4038},{"class":320,"line":129},[4039,4044,4048,4052],{"type":134,"tag":318,"props":4040,"children":4041},{"style":795},[4042],{"type":140,"value":4043},"  thread",{"type":134,"tag":318,"props":4045,"children":4046},{"style":650},[4047],{"type":140,"value":715},{"type":134,"tag":318,"props":4049,"children":4050},{"style":335},[4051],{"type":140,"value":2593},{"type":134,"tag":318,"props":4053,"children":4054},{"style":650},[4055],{"type":140,"value":689},{"type":134,"tag":318,"props":4057,"children":4058},{"class":320,"line":404},[4059,4064,4068,4072],{"type":134,"tag":318,"props":4060,"children":4061},{"style":795},[4062],{"type":140,"value":4063},"  relatedThread",{"type":134,"tag":318,"props":4065,"children":4066},{"style":650},[4067],{"type":140,"value":1804},{"type":134,"tag":318,"props":4069,"children":4070},{"style":335},[4071],{"type":140,"value":2593},{"type":134,"tag":318,"props":4073,"children":4074},{"style":650},[4075],{"type":140,"value":689},{"type":134,"tag":318,"props":4077,"children":4078},{"class":320,"line":39},[4079,4084,4088,4092],{"type":134,"tag":318,"props":4080,"children":4081},{"style":795},[4082],{"type":140,"value":4083},"  relatedMessage",{"type":134,"tag":318,"props":4085,"children":4086},{"style":650},[4087],{"type":140,"value":1804},{"type":134,"tag":318,"props":4089,"children":4090},{"style":335},[4091],{"type":140,"value":2859},{"type":134,"tag":318,"props":4093,"children":4094},{"style":650},[4095],{"type":140,"value":689},{"type":134,"tag":318,"props":4097,"children":4098},{"class":320,"line":437},[4099,4104,4108,4112,4117,4121,4126,4130,4135,4139,4143,4147,4151,4155],{"type":134,"tag":318,"props":4100,"children":4101},{"style":795},[4102],{"type":140,"value":4103},"  openModal",{"type":134,"tag":318,"props":4105,"children":4106},{"style":650},[4107],{"type":140,"value":715},{"type":134,"tag":318,"props":4109,"children":4110},{"style":650},[4111],{"type":140,"value":798},{"type":134,"tag":318,"props":4113,"children":4114},{"style":1404},[4115],{"type":140,"value":4116},"modal",{"type":134,"tag":318,"props":4118,"children":4119},{"style":650},[4120],{"type":140,"value":715},{"type":134,"tag":318,"props":4122,"children":4123},{"style":335},[4124],{"type":140,"value":4125}," JSX",{"type":134,"tag":318,"props":4127,"children":4128},{"style":650},[4129],{"type":140,"value":866},{"type":134,"tag":318,"props":4131,"children":4132},{"style":335},[4133],{"type":140,"value":4134},"Element",{"type":134,"tag":318,"props":4136,"children":4137},{"style":650},[4138],{"type":140,"value":898},{"type":134,"tag":318,"props":4140,"children":4141},{"style":702},[4142],{"type":140,"value":1426},{"type":134,"tag":318,"props":4144,"children":4145},{"style":335},[4146],{"type":140,"value":1992},{"type":134,"tag":318,"props":4148,"children":4149},{"style":650},[4150],{"type":140,"value":1718},{"type":134,"tag":318,"props":4152,"children":4153},{"style":335},[4154],{"type":140,"value":2394},{"type":134,"tag":318,"props":4156,"children":4157},{"style":650},[4158],{"type":140,"value":2006},{"type":134,"tag":318,"props":4160,"children":4161},{"class":320,"line":454},[4162],{"type":134,"tag":318,"props":4163,"children":4164},{"style":650},[4165],{"type":140,"value":934},{"type":134,"tag":318,"props":4167,"children":4168},{"class":320,"line":471},[4169],{"type":134,"tag":318,"props":4170,"children":4171},{"emptyLinePlaceholder":356},[4172],{"type":140,"value":359},{"type":134,"tag":318,"props":4174,"children":4175},{"class":320,"line":488},[4176,4180,4185],{"type":134,"tag":318,"props":4177,"children":4178},{"style":702},[4179],{"type":140,"value":1708},{"type":134,"tag":318,"props":4181,"children":4182},{"style":335},[4183],{"type":140,"value":4184}," ModalEvent",{"type":134,"tag":318,"props":4186,"children":4187},{"style":650},[4188],{"type":140,"value":784},{"type":134,"tag":318,"props":4190,"children":4191},{"class":320,"line":496},[4192,4197,4201,4205],{"type":134,"tag":318,"props":4193,"children":4194},{"style":795},[4195],{"type":140,"value":4196},"  callbackId",{"type":134,"tag":318,"props":4198,"children":4199},{"style":650},[4200],{"type":140,"value":715},{"type":134,"tag":318,"props":4202,"children":4203},{"style":335},[4204],{"type":140,"value":1747},{"type":134,"tag":318,"props":4206,"children":4207},{"style":650},[4208],{"type":140,"value":689},{"type":134,"tag":318,"props":4210,"children":4211},{"class":320,"line":505},[4212,4217,4221,4225,4229,4233,4237,4241],{"type":134,"tag":318,"props":4213,"children":4214},{"style":795},[4215],{"type":140,"value":4216},"  values",{"type":134,"tag":318,"props":4218,"children":4219},{"style":650},[4220],{"type":140,"value":715},{"type":134,"tag":318,"props":4222,"children":4223},{"style":335},[4224],{"type":140,"value":2145},{"type":134,"tag":318,"props":4226,"children":4227},{"style":650},[4228],{"type":140,"value":1718},{"type":134,"tag":318,"props":4230,"children":4231},{"style":335},[4232],{"type":140,"value":2154},{"type":134,"tag":318,"props":4234,"children":4235},{"style":650},[4236],{"type":140,"value":1412},{"type":134,"tag":318,"props":4238,"children":4239},{"style":335},[4240],{"type":140,"value":1747},{"type":134,"tag":318,"props":4242,"children":4243},{"style":650},[4244],{"type":140,"value":2006},{"type":134,"tag":318,"props":4246,"children":4247},{"class":320,"line":522},[4248,4252,4256,4260],{"type":134,"tag":318,"props":4249,"children":4250},{"style":795},[4251],{"type":140,"value":4003},{"type":134,"tag":318,"props":4253,"children":4254},{"style":650},[4255],{"type":140,"value":1804},{"type":134,"tag":318,"props":4257,"children":4258},{"style":335},[4259],{"type":140,"value":1747},{"type":134,"tag":318,"props":4261,"children":4262},{"style":650},[4263],{"type":140,"value":689},{"type":134,"tag":318,"props":4265,"children":4266},{"class":320,"line":539},[4267,4271,4275,4279],{"type":134,"tag":318,"props":4268,"children":4269},{"style":795},[4270],{"type":140,"value":4023},{"type":134,"tag":318,"props":4272,"children":4273},{"style":650},[4274],{"type":140,"value":1804},{"type":134,"tag":318,"props":4276,"children":4277},{"style":335},[4278],{"type":140,"value":1747},{"type":134,"tag":318,"props":4280,"children":4281},{"style":650},[4282],{"type":140,"value":689},{"type":134,"tag":318,"props":4284,"children":4285},{"class":320,"line":1367},[4286,4290,4294,4298],{"type":134,"tag":318,"props":4287,"children":4288},{"style":795},[4289],{"type":140,"value":4063},{"type":134,"tag":318,"props":4291,"children":4292},{"style":650},[4293],{"type":140,"value":1804},{"type":134,"tag":318,"props":4295,"children":4296},{"style":335},[4297],{"type":140,"value":2593},{"type":134,"tag":318,"props":4299,"children":4300},{"style":650},[4301],{"type":140,"value":689},{"type":134,"tag":318,"props":4303,"children":4304},{"class":320,"line":1375},[4305,4309,4313,4317],{"type":134,"tag":318,"props":4306,"children":4307},{"style":795},[4308],{"type":140,"value":4083},{"type":134,"tag":318,"props":4310,"children":4311},{"style":650},[4312],{"type":140,"value":1804},{"type":134,"tag":318,"props":4314,"children":4315},{"style":335},[4316],{"type":140,"value":2859},{"type":134,"tag":318,"props":4318,"children":4319},{"style":650},[4320],{"type":140,"value":689},{"type":134,"tag":318,"props":4322,"children":4323},{"class":320,"line":1433},[4324],{"type":134,"tag":318,"props":4325,"children":4326},{"style":650},[4327],{"type":140,"value":934},{"type":134,"tag":147,"props":4329,"children":4330},{},[4331,4336,4338,4344],{"type":134,"tag":204,"props":4332,"children":4334},{"className":4333},[],[4335],{"type":140,"value":3873},{"type":140,"value":4337}," may return ",{"type":134,"tag":204,"props":4339,"children":4341},{"className":4340},[],[4342],{"type":140,"value":4343},"ModalResponse",{"type":140,"value":4345}," to close, validate, update, or push another modal.",{"type":134,"tag":189,"props":4347,"children":4349},{"id":4348},"cards-modals",[4350],{"type":140,"value":4351},"Cards & Modals",{"type":134,"tag":1688,"props":4353,"children":4355},{"id":4354},"cards",[4356],{"type":140,"value":4357},"Cards",{"type":134,"tag":307,"props":4359,"children":4363},{"className":4360,"code":4361,"language":4362,"meta":312,"style":312},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","await thread.post(\n  \u003CCard\n    title=\"Build Status\"\n    subtitle=\"Production\"\n    imageUrl=\"https:\u002F\u002Fexample.com\u002Fpreview.png\"\n  >\n    \u003CText style=\"success\">Deployment succeeded.\u003C\u002FText>\n    \u003CText style=\"muted\">Commit: a1b2c3d\u003C\u002FText>\n\n    \u003CField\n      id=\"deploy-target\"\n      label=\"Target\"\n      options={[\n        { label: \"Staging\", value: \"staging\" },\n        { label: \"Production\", value: \"prod\" },\n      ]}\n      value=\"prod\"\n    \u002F>\n\n    \u003CTable>\n      \u003CTableRow>\n        \u003CTableCell>Region\u003C\u002FTableCell>\n        \u003CTableCell>us-east-1\u003C\u002FTableCell>\n      \u003C\u002FTableRow>\n      \u003CTableRow>\n        \u003CTableCell>Latency\u003C\u002FTableCell>\n        \u003CTableCell>128ms\u003C\u002FTableCell>\n      \u003C\u002FTableRow>\n    \u003C\u002FTable>\n\n    \u003CActions>\n      \u003CButton id=\"rollback\" style=\"danger\">\n        Rollback\n      \u003C\u002FButton>\n      \u003CCardLink url=\"https:\u002F\u002Fvercel.com\u002Fdashboard\">Open Dashboard\u003C\u002FCardLink>\n    \u003C\u002FActions>\n  \u003C\u002FCard>,\n);\n","tsx",[4364],{"type":134,"tag":204,"props":4365,"children":4366},{"__ignoreMap":312},[4367,4390,4403,4429,4454,4479,4487,4545,4598,4605,4617,4642,4667,4685,4745,4801,4813,4837,4845,4852,4868,4885,4919,4951,4967,4982,5015,5048,5064,5081,5089,5106,5166,5175,5191,5247,5263,5281],{"type":134,"tag":318,"props":4368,"children":4369},{"class":320,"line":321},[4370,4374,4378,4382,4386],{"type":134,"tag":318,"props":4371,"children":4372},{"style":644},[4373],{"type":140,"value":3404},{"type":134,"tag":318,"props":4375,"children":4376},{"style":656},[4377],{"type":140,"value":1444},{"type":134,"tag":318,"props":4379,"children":4380},{"style":650},[4381],{"type":140,"value":866},{"type":134,"tag":318,"props":4383,"children":4384},{"style":771},[4385],{"type":140,"value":1482},{"type":134,"tag":318,"props":4387,"children":4388},{"style":656},[4389],{"type":140,"value":2260},{"type":134,"tag":318,"props":4391,"children":4392},{"class":320,"line":331},[4393,4398],{"type":134,"tag":318,"props":4394,"children":4395},{"style":650},[4396],{"type":140,"value":4397},"  \u003C",{"type":134,"tag":318,"props":4399,"children":4400},{"style":335},[4401],{"type":140,"value":4402},"Card\n",{"type":134,"tag":318,"props":4404,"children":4405},{"class":320,"line":352},[4406,4411,4415,4419,4424],{"type":134,"tag":318,"props":4407,"children":4408},{"style":702},[4409],{"type":140,"value":4410},"    title",{"type":134,"tag":318,"props":4412,"children":4413},{"style":650},[4414],{"type":140,"value":1133},{"type":134,"tag":318,"props":4416,"children":4417},{"style":650},[4418],{"type":140,"value":684},{"type":134,"tag":318,"props":4420,"children":4421},{"style":341},[4422],{"type":140,"value":4423},"Build Status",{"type":134,"tag":318,"props":4425,"children":4426},{"style":650},[4427],{"type":140,"value":4428},"\"\n",{"type":134,"tag":318,"props":4430,"children":4431},{"class":320,"line":362},[4432,4437,4441,4445,4450],{"type":134,"tag":318,"props":4433,"children":4434},{"style":702},[4435],{"type":140,"value":4436},"    subtitle",{"type":134,"tag":318,"props":4438,"children":4439},{"style":650},[4440],{"type":140,"value":1133},{"type":134,"tag":318,"props":4442,"children":4443},{"style":650},[4444],{"type":140,"value":684},{"type":134,"tag":318,"props":4446,"children":4447},{"style":341},[4448],{"type":140,"value":4449},"Production",{"type":134,"tag":318,"props":4451,"children":4452},{"style":650},[4453],{"type":140,"value":4428},{"type":134,"tag":318,"props":4455,"children":4456},{"class":320,"line":371},[4457,4462,4466,4470,4475],{"type":134,"tag":318,"props":4458,"children":4459},{"style":702},[4460],{"type":140,"value":4461},"    imageUrl",{"type":134,"tag":318,"props":4463,"children":4464},{"style":650},[4465],{"type":140,"value":1133},{"type":134,"tag":318,"props":4467,"children":4468},{"style":650},[4469],{"type":140,"value":684},{"type":134,"tag":318,"props":4471,"children":4472},{"style":341},[4473],{"type":140,"value":4474},"https:\u002F\u002Fexample.com\u002Fpreview.png",{"type":134,"tag":318,"props":4476,"children":4477},{"style":650},[4478],{"type":140,"value":4428},{"type":134,"tag":318,"props":4480,"children":4481},{"class":320,"line":129},[4482],{"type":134,"tag":318,"props":4483,"children":4484},{"style":650},[4485],{"type":140,"value":4486},"  >\n",{"type":134,"tag":318,"props":4488,"children":4489},{"class":320,"line":404},[4490,4495,4500,4505,4509,4513,4518,4522,4526,4531,4536,4540],{"type":134,"tag":318,"props":4491,"children":4492},{"style":650},[4493],{"type":140,"value":4494},"    \u003C",{"type":134,"tag":318,"props":4496,"children":4497},{"style":335},[4498],{"type":140,"value":4499},"Text",{"type":134,"tag":318,"props":4501,"children":4502},{"style":702},[4503],{"type":140,"value":4504}," style",{"type":134,"tag":318,"props":4506,"children":4507},{"style":650},[4508],{"type":140,"value":1133},{"type":134,"tag":318,"props":4510,"children":4511},{"style":650},[4512],{"type":140,"value":684},{"type":134,"tag":318,"props":4514,"children":4515},{"style":341},[4516],{"type":140,"value":4517},"success",{"type":134,"tag":318,"props":4519,"children":4520},{"style":650},[4521],{"type":140,"value":684},{"type":134,"tag":318,"props":4523,"children":4524},{"style":650},[4525],{"type":140,"value":734},{"type":134,"tag":318,"props":4527,"children":4528},{"style":656},[4529],{"type":140,"value":4530},"Deployment succeeded.",{"type":134,"tag":318,"props":4532,"children":4533},{"style":650},[4534],{"type":140,"value":4535},"\u003C\u002F",{"type":134,"tag":318,"props":4537,"children":4538},{"style":335},[4539],{"type":140,"value":4499},{"type":134,"tag":318,"props":4541,"children":4542},{"style":650},[4543],{"type":140,"value":4544},">\n",{"type":134,"tag":318,"props":4546,"children":4547},{"class":320,"line":39},[4548,4552,4556,4560,4564,4568,4573,4577,4581,4586,4590,4594],{"type":134,"tag":318,"props":4549,"children":4550},{"style":650},[4551],{"type":140,"value":4494},{"type":134,"tag":318,"props":4553,"children":4554},{"style":335},[4555],{"type":140,"value":4499},{"type":134,"tag":318,"props":4557,"children":4558},{"style":702},[4559],{"type":140,"value":4504},{"type":134,"tag":318,"props":4561,"children":4562},{"style":650},[4563],{"type":140,"value":1133},{"type":134,"tag":318,"props":4565,"children":4566},{"style":650},[4567],{"type":140,"value":684},{"type":134,"tag":318,"props":4569,"children":4570},{"style":341},[4571],{"type":140,"value":4572},"muted",{"type":134,"tag":318,"props":4574,"children":4575},{"style":650},[4576],{"type":140,"value":684},{"type":134,"tag":318,"props":4578,"children":4579},{"style":650},[4580],{"type":140,"value":734},{"type":134,"tag":318,"props":4582,"children":4583},{"style":656},[4584],{"type":140,"value":4585},"Commit: a1b2c3d",{"type":134,"tag":318,"props":4587,"children":4588},{"style":650},[4589],{"type":140,"value":4535},{"type":134,"tag":318,"props":4591,"children":4592},{"style":335},[4593],{"type":140,"value":4499},{"type":134,"tag":318,"props":4595,"children":4596},{"style":650},[4597],{"type":140,"value":4544},{"type":134,"tag":318,"props":4599,"children":4600},{"class":320,"line":437},[4601],{"type":134,"tag":318,"props":4602,"children":4603},{"emptyLinePlaceholder":356},[4604],{"type":140,"value":359},{"type":134,"tag":318,"props":4606,"children":4607},{"class":320,"line":454},[4608,4612],{"type":134,"tag":318,"props":4609,"children":4610},{"style":650},[4611],{"type":140,"value":4494},{"type":134,"tag":318,"props":4613,"children":4614},{"style":335},[4615],{"type":140,"value":4616},"Field\n",{"type":134,"tag":318,"props":4618,"children":4619},{"class":320,"line":471},[4620,4625,4629,4633,4638],{"type":134,"tag":318,"props":4621,"children":4622},{"style":702},[4623],{"type":140,"value":4624},"      id",{"type":134,"tag":318,"props":4626,"children":4627},{"style":650},[4628],{"type":140,"value":1133},{"type":134,"tag":318,"props":4630,"children":4631},{"style":650},[4632],{"type":140,"value":684},{"type":134,"tag":318,"props":4634,"children":4635},{"style":341},[4636],{"type":140,"value":4637},"deploy-target",{"type":134,"tag":318,"props":4639,"children":4640},{"style":650},[4641],{"type":140,"value":4428},{"type":134,"tag":318,"props":4643,"children":4644},{"class":320,"line":488},[4645,4650,4654,4658,4663],{"type":134,"tag":318,"props":4646,"children":4647},{"style":702},[4648],{"type":140,"value":4649},"      label",{"type":134,"tag":318,"props":4651,"children":4652},{"style":650},[4653],{"type":140,"value":1133},{"type":134,"tag":318,"props":4655,"children":4656},{"style":650},[4657],{"type":140,"value":684},{"type":134,"tag":318,"props":4659,"children":4660},{"style":341},[4661],{"type":140,"value":4662},"Target",{"type":134,"tag":318,"props":4664,"children":4665},{"style":650},[4666],{"type":140,"value":4428},{"type":134,"tag":318,"props":4668,"children":4669},{"class":320,"line":496},[4670,4675,4680],{"type":134,"tag":318,"props":4671,"children":4672},{"style":702},[4673],{"type":140,"value":4674},"      options",{"type":134,"tag":318,"props":4676,"children":4677},{"style":650},[4678],{"type":140,"value":4679},"={",{"type":134,"tag":318,"props":4681,"children":4682},{"style":656},[4683],{"type":140,"value":4684},"[\n",{"type":134,"tag":318,"props":4686,"children":4687},{"class":320,"line":505},[4688,4693,4698,4702,4706,4711,4715,4719,4724,4728,4732,4737,4741],{"type":134,"tag":318,"props":4689,"children":4690},{"style":650},[4691],{"type":140,"value":4692},"        {",{"type":134,"tag":318,"props":4694,"children":4695},{"style":795},[4696],{"type":140,"value":4697}," label",{"type":134,"tag":318,"props":4699,"children":4700},{"style":650},[4701],{"type":140,"value":715},{"type":134,"tag":318,"props":4703,"children":4704},{"style":650},[4705],{"type":140,"value":674},{"type":134,"tag":318,"props":4707,"children":4708},{"style":341},[4709],{"type":140,"value":4710},"Staging",{"type":134,"tag":318,"props":4712,"children":4713},{"style":650},[4714],{"type":140,"value":684},{"type":134,"tag":318,"props":4716,"children":4717},{"style":650},[4718],{"type":140,"value":1412},{"type":134,"tag":318,"props":4720,"children":4721},{"style":795},[4722],{"type":140,"value":4723}," value",{"type":134,"tag":318,"props":4725,"children":4726},{"style":650},[4727],{"type":140,"value":715},{"type":134,"tag":318,"props":4729,"children":4730},{"style":650},[4731],{"type":140,"value":674},{"type":134,"tag":318,"props":4733,"children":4734},{"style":341},[4735],{"type":140,"value":4736},"staging",{"type":134,"tag":318,"props":4738,"children":4739},{"style":650},[4740],{"type":140,"value":684},{"type":134,"tag":318,"props":4742,"children":4743},{"style":650},[4744],{"type":140,"value":2540},{"type":134,"tag":318,"props":4746,"children":4747},{"class":320,"line":522},[4748,4752,4756,4760,4764,4768,4772,4776,4780,4784,4788,4793,4797],{"type":134,"tag":318,"props":4749,"children":4750},{"style":650},[4751],{"type":140,"value":4692},{"type":134,"tag":318,"props":4753,"children":4754},{"style":795},[4755],{"type":140,"value":4697},{"type":134,"tag":318,"props":4757,"children":4758},{"style":650},[4759],{"type":140,"value":715},{"type":134,"tag":318,"props":4761,"children":4762},{"style":650},[4763],{"type":140,"value":674},{"type":134,"tag":318,"props":4765,"children":4766},{"style":341},[4767],{"type":140,"value":4449},{"type":134,"tag":318,"props":4769,"children":4770},{"style":650},[4771],{"type":140,"value":684},{"type":134,"tag":318,"props":4773,"children":4774},{"style":650},[4775],{"type":140,"value":1412},{"type":134,"tag":318,"props":4777,"children":4778},{"style":795},[4779],{"type":140,"value":4723},{"type":134,"tag":318,"props":4781,"children":4782},{"style":650},[4783],{"type":140,"value":715},{"type":134,"tag":318,"props":4785,"children":4786},{"style":650},[4787],{"type":140,"value":674},{"type":134,"tag":318,"props":4789,"children":4790},{"style":341},[4791],{"type":140,"value":4792},"prod",{"type":134,"tag":318,"props":4794,"children":4795},{"style":650},[4796],{"type":140,"value":684},{"type":134,"tag":318,"props":4798,"children":4799},{"style":650},[4800],{"type":140,"value":2540},{"type":134,"tag":318,"props":4802,"children":4803},{"class":320,"line":539},[4804,4809],{"type":134,"tag":318,"props":4805,"children":4806},{"style":656},[4807],{"type":140,"value":4808},"      ]",{"type":134,"tag":318,"props":4810,"children":4811},{"style":650},[4812],{"type":140,"value":934},{"type":134,"tag":318,"props":4814,"children":4815},{"class":320,"line":1367},[4816,4821,4825,4829,4833],{"type":134,"tag":318,"props":4817,"children":4818},{"style":702},[4819],{"type":140,"value":4820},"      value",{"type":134,"tag":318,"props":4822,"children":4823},{"style":650},[4824],{"type":140,"value":1133},{"type":134,"tag":318,"props":4826,"children":4827},{"style":650},[4828],{"type":140,"value":684},{"type":134,"tag":318,"props":4830,"children":4831},{"style":341},[4832],{"type":140,"value":4792},{"type":134,"tag":318,"props":4834,"children":4835},{"style":650},[4836],{"type":140,"value":4428},{"type":134,"tag":318,"props":4838,"children":4839},{"class":320,"line":1375},[4840],{"type":134,"tag":318,"props":4841,"children":4842},{"style":650},[4843],{"type":140,"value":4844},"    \u002F>\n",{"type":134,"tag":318,"props":4846,"children":4847},{"class":320,"line":1433},[4848],{"type":134,"tag":318,"props":4849,"children":4850},{"emptyLinePlaceholder":356},[4851],{"type":140,"value":359},{"type":134,"tag":318,"props":4853,"children":4854},{"class":320,"line":1464},[4855,4859,4864],{"type":134,"tag":318,"props":4856,"children":4857},{"style":650},[4858],{"type":140,"value":4494},{"type":134,"tag":318,"props":4860,"children":4861},{"style":335},[4862],{"type":140,"value":4863},"Table",{"type":134,"tag":318,"props":4865,"children":4866},{"style":650},[4867],{"type":140,"value":4544},{"type":134,"tag":318,"props":4869,"children":4870},{"class":320,"line":1530},[4871,4876,4881],{"type":134,"tag":318,"props":4872,"children":4873},{"style":650},[4874],{"type":140,"value":4875},"      \u003C",{"type":134,"tag":318,"props":4877,"children":4878},{"style":335},[4879],{"type":140,"value":4880},"TableRow",{"type":134,"tag":318,"props":4882,"children":4883},{"style":650},[4884],{"type":140,"value":4544},{"type":134,"tag":318,"props":4886,"children":4887},{"class":320,"line":1546},[4888,4893,4898,4902,4907,4911,4915],{"type":134,"tag":318,"props":4889,"children":4890},{"style":650},[4891],{"type":140,"value":4892},"        \u003C",{"type":134,"tag":318,"props":4894,"children":4895},{"style":335},[4896],{"type":140,"value":4897},"TableCell",{"type":134,"tag":318,"props":4899,"children":4900},{"style":650},[4901],{"type":140,"value":734},{"type":134,"tag":318,"props":4903,"children":4904},{"style":656},[4905],{"type":140,"value":4906},"Region",{"type":134,"tag":318,"props":4908,"children":4909},{"style":650},[4910],{"type":140,"value":4535},{"type":134,"tag":318,"props":4912,"children":4913},{"style":335},[4914],{"type":140,"value":4897},{"type":134,"tag":318,"props":4916,"children":4917},{"style":650},[4918],{"type":140,"value":4544},{"type":134,"tag":318,"props":4920,"children":4921},{"class":320,"line":1554},[4922,4926,4930,4934,4939,4943,4947],{"type":134,"tag":318,"props":4923,"children":4924},{"style":650},[4925],{"type":140,"value":4892},{"type":134,"tag":318,"props":4927,"children":4928},{"style":335},[4929],{"type":140,"value":4897},{"type":134,"tag":318,"props":4931,"children":4932},{"style":650},[4933],{"type":140,"value":734},{"type":134,"tag":318,"props":4935,"children":4936},{"style":656},[4937],{"type":140,"value":4938},"us-east-1",{"type":134,"tag":318,"props":4940,"children":4941},{"style":650},[4942],{"type":140,"value":4535},{"type":134,"tag":318,"props":4944,"children":4945},{"style":335},[4946],{"type":140,"value":4897},{"type":134,"tag":318,"props":4948,"children":4949},{"style":650},[4950],{"type":140,"value":4544},{"type":134,"tag":318,"props":4952,"children":4953},{"class":320,"line":1606},[4954,4959,4963],{"type":134,"tag":318,"props":4955,"children":4956},{"style":650},[4957],{"type":140,"value":4958},"      \u003C\u002F",{"type":134,"tag":318,"props":4960,"children":4961},{"style":335},[4962],{"type":140,"value":4880},{"type":134,"tag":318,"props":4964,"children":4965},{"style":650},[4966],{"type":140,"value":4544},{"type":134,"tag":318,"props":4968,"children":4969},{"class":320,"line":1667},[4970,4974,4978],{"type":134,"tag":318,"props":4971,"children":4972},{"style":650},[4973],{"type":140,"value":4875},{"type":134,"tag":318,"props":4975,"children":4976},{"style":335},[4977],{"type":140,"value":4880},{"type":134,"tag":318,"props":4979,"children":4980},{"style":650},[4981],{"type":140,"value":4544},{"type":134,"tag":318,"props":4983,"children":4985},{"class":320,"line":4984},26,[4986,4990,4994,4998,5003,5007,5011],{"type":134,"tag":318,"props":4987,"children":4988},{"style":650},[4989],{"type":140,"value":4892},{"type":134,"tag":318,"props":4991,"children":4992},{"style":335},[4993],{"type":140,"value":4897},{"type":134,"tag":318,"props":4995,"children":4996},{"style":650},[4997],{"type":140,"value":734},{"type":134,"tag":318,"props":4999,"children":5000},{"style":656},[5001],{"type":140,"value":5002},"Latency",{"type":134,"tag":318,"props":5004,"children":5005},{"style":650},[5006],{"type":140,"value":4535},{"type":134,"tag":318,"props":5008,"children":5009},{"style":335},[5010],{"type":140,"value":4897},{"type":134,"tag":318,"props":5012,"children":5013},{"style":650},[5014],{"type":140,"value":4544},{"type":134,"tag":318,"props":5016,"children":5018},{"class":320,"line":5017},27,[5019,5023,5027,5031,5036,5040,5044],{"type":134,"tag":318,"props":5020,"children":5021},{"style":650},[5022],{"type":140,"value":4892},{"type":134,"tag":318,"props":5024,"children":5025},{"style":335},[5026],{"type":140,"value":4897},{"type":134,"tag":318,"props":5028,"children":5029},{"style":650},[5030],{"type":140,"value":734},{"type":134,"tag":318,"props":5032,"children":5033},{"style":656},[5034],{"type":140,"value":5035},"128ms",{"type":134,"tag":318,"props":5037,"children":5038},{"style":650},[5039],{"type":140,"value":4535},{"type":134,"tag":318,"props":5041,"children":5042},{"style":335},[5043],{"type":140,"value":4897},{"type":134,"tag":318,"props":5045,"children":5046},{"style":650},[5047],{"type":140,"value":4544},{"type":134,"tag":318,"props":5049,"children":5051},{"class":320,"line":5050},28,[5052,5056,5060],{"type":134,"tag":318,"props":5053,"children":5054},{"style":650},[5055],{"type":140,"value":4958},{"type":134,"tag":318,"props":5057,"children":5058},{"style":335},[5059],{"type":140,"value":4880},{"type":134,"tag":318,"props":5061,"children":5062},{"style":650},[5063],{"type":140,"value":4544},{"type":134,"tag":318,"props":5065,"children":5067},{"class":320,"line":5066},29,[5068,5073,5077],{"type":134,"tag":318,"props":5069,"children":5070},{"style":650},[5071],{"type":140,"value":5072},"    \u003C\u002F",{"type":134,"tag":318,"props":5074,"children":5075},{"style":335},[5076],{"type":140,"value":4863},{"type":134,"tag":318,"props":5078,"children":5079},{"style":650},[5080],{"type":140,"value":4544},{"type":134,"tag":318,"props":5082,"children":5084},{"class":320,"line":5083},30,[5085],{"type":134,"tag":318,"props":5086,"children":5087},{"emptyLinePlaceholder":356},[5088],{"type":140,"value":359},{"type":134,"tag":318,"props":5090,"children":5092},{"class":320,"line":5091},31,[5093,5097,5102],{"type":134,"tag":318,"props":5094,"children":5095},{"style":650},[5096],{"type":140,"value":4494},{"type":134,"tag":318,"props":5098,"children":5099},{"style":335},[5100],{"type":140,"value":5101},"Actions",{"type":134,"tag":318,"props":5103,"children":5104},{"style":650},[5105],{"type":140,"value":4544},{"type":134,"tag":318,"props":5107,"children":5109},{"class":320,"line":5108},32,[5110,5114,5119,5124,5128,5132,5137,5141,5145,5149,5153,5158,5162],{"type":134,"tag":318,"props":5111,"children":5112},{"style":650},[5113],{"type":140,"value":4875},{"type":134,"tag":318,"props":5115,"children":5116},{"style":335},[5117],{"type":140,"value":5118},"Button",{"type":134,"tag":318,"props":5120,"children":5121},{"style":702},[5122],{"type":140,"value":5123}," id",{"type":134,"tag":318,"props":5125,"children":5126},{"style":650},[5127],{"type":140,"value":1133},{"type":134,"tag":318,"props":5129,"children":5130},{"style":650},[5131],{"type":140,"value":684},{"type":134,"tag":318,"props":5133,"children":5134},{"style":341},[5135],{"type":140,"value":5136},"rollback",{"type":134,"tag":318,"props":5138,"children":5139},{"style":650},[5140],{"type":140,"value":684},{"type":134,"tag":318,"props":5142,"children":5143},{"style":702},[5144],{"type":140,"value":4504},{"type":134,"tag":318,"props":5146,"children":5147},{"style":650},[5148],{"type":140,"value":1133},{"type":134,"tag":318,"props":5150,"children":5151},{"style":650},[5152],{"type":140,"value":684},{"type":134,"tag":318,"props":5154,"children":5155},{"style":341},[5156],{"type":140,"value":5157},"danger",{"type":134,"tag":318,"props":5159,"children":5160},{"style":650},[5161],{"type":140,"value":684},{"type":134,"tag":318,"props":5163,"children":5164},{"style":650},[5165],{"type":140,"value":4544},{"type":134,"tag":318,"props":5167,"children":5169},{"class":320,"line":5168},33,[5170],{"type":134,"tag":318,"props":5171,"children":5172},{"style":656},[5173],{"type":140,"value":5174},"        Rollback\n",{"type":134,"tag":318,"props":5176,"children":5178},{"class":320,"line":5177},34,[5179,5183,5187],{"type":134,"tag":318,"props":5180,"children":5181},{"style":650},[5182],{"type":140,"value":4958},{"type":134,"tag":318,"props":5184,"children":5185},{"style":335},[5186],{"type":140,"value":5118},{"type":134,"tag":318,"props":5188,"children":5189},{"style":650},[5190],{"type":140,"value":4544},{"type":134,"tag":318,"props":5192,"children":5194},{"class":320,"line":5193},35,[5195,5199,5204,5209,5213,5217,5222,5226,5230,5235,5239,5243],{"type":134,"tag":318,"props":5196,"children":5197},{"style":650},[5198],{"type":140,"value":4875},{"type":134,"tag":318,"props":5200,"children":5201},{"style":335},[5202],{"type":140,"value":5203},"CardLink",{"type":134,"tag":318,"props":5205,"children":5206},{"style":702},[5207],{"type":140,"value":5208}," url",{"type":134,"tag":318,"props":5210,"children":5211},{"style":650},[5212],{"type":140,"value":1133},{"type":134,"tag":318,"props":5214,"children":5215},{"style":650},[5216],{"type":140,"value":684},{"type":134,"tag":318,"props":5218,"children":5219},{"style":341},[5220],{"type":140,"value":5221},"https:\u002F\u002Fvercel.com\u002Fdashboard",{"type":134,"tag":318,"props":5223,"children":5224},{"style":650},[5225],{"type":140,"value":684},{"type":134,"tag":318,"props":5227,"children":5228},{"style":650},[5229],{"type":140,"value":734},{"type":134,"tag":318,"props":5231,"children":5232},{"style":656},[5233],{"type":140,"value":5234},"Open Dashboard",{"type":134,"tag":318,"props":5236,"children":5237},{"style":650},[5238],{"type":140,"value":4535},{"type":134,"tag":318,"props":5240,"children":5241},{"style":335},[5242],{"type":140,"value":5203},{"type":134,"tag":318,"props":5244,"children":5245},{"style":650},[5246],{"type":140,"value":4544},{"type":134,"tag":318,"props":5248,"children":5250},{"class":320,"line":5249},36,[5251,5255,5259],{"type":134,"tag":318,"props":5252,"children":5253},{"style":650},[5254],{"type":140,"value":5072},{"type":134,"tag":318,"props":5256,"children":5257},{"style":335},[5258],{"type":140,"value":5101},{"type":134,"tag":318,"props":5260,"children":5261},{"style":650},[5262],{"type":140,"value":4544},{"type":134,"tag":318,"props":5264,"children":5266},{"class":320,"line":5265},37,[5267,5272,5277],{"type":134,"tag":318,"props":5268,"children":5269},{"style":650},[5270],{"type":140,"value":5271},"  \u003C\u002F",{"type":134,"tag":318,"props":5273,"children":5274},{"style":335},[5275],{"type":140,"value":5276},"Card",{"type":134,"tag":318,"props":5278,"children":5279},{"style":650},[5280],{"type":140,"value":2505},{"type":134,"tag":318,"props":5282,"children":5284},{"class":320,"line":5283},38,[5285,5289],{"type":134,"tag":318,"props":5286,"children":5287},{"style":656},[5288],{"type":140,"value":898},{"type":134,"tag":318,"props":5290,"children":5291},{"style":650},[5292],{"type":140,"value":689},{"type":134,"tag":147,"props":5294,"children":5295},{},[5296],{"type":140,"value":5297},"Card additions to use when needed:",{"type":134,"tag":196,"props":5299,"children":5300},{},[5301,5310,5319,5327,5351,5380],{"type":134,"tag":200,"props":5302,"children":5303},{},[5304],{"type":134,"tag":204,"props":5305,"children":5307},{"className":5306},[],[5308],{"type":140,"value":5309},"Card.subtitle",{"type":134,"tag":200,"props":5311,"children":5312},{},[5313],{"type":134,"tag":204,"props":5314,"children":5316},{"className":5315},[],[5317],{"type":140,"value":5318},"Card.imageUrl",{"type":134,"tag":200,"props":5320,"children":5321},{},[5322],{"type":134,"tag":204,"props":5323,"children":5325},{"className":5324},[],[5326],{"type":140,"value":5203},{"type":134,"tag":200,"props":5328,"children":5329},{},[5330,5335,5336,5341,5343,5349],{"type":134,"tag":204,"props":5331,"children":5333},{"className":5332},[],[5334],{"type":140,"value":571},{"type":140,"value":798},{"type":134,"tag":204,"props":5337,"children":5339},{"className":5338},[],[5340],{"type":140,"value":579},{"type":140,"value":5342}," uses ",{"type":134,"tag":204,"props":5344,"children":5346},{"className":5345},[],[5347],{"type":140,"value":5348},"{ label, value }[]",{"type":140,"value":5350},", not JSX children)",{"type":134,"tag":200,"props":5352,"children":5353},{},[5354,5359,5360,5365,5366,5371,5373,5378],{"type":134,"tag":204,"props":5355,"children":5357},{"className":5356},[],[5358],{"type":140,"value":4863},{"type":140,"value":600},{"type":134,"tag":204,"props":5361,"children":5363},{"className":5362},[],[5364],{"type":140,"value":4880},{"type":140,"value":600},{"type":134,"tag":204,"props":5367,"children":5369},{"className":5368},[],[5370],{"type":140,"value":4897},{"type":140,"value":5372}," — native per-platform table rendering (",{"type":134,"tag":151,"props":5374,"children":5375},{},[5376],{"type":140,"value":5377},"new — Mar 6, 2026",{"type":140,"value":5379},"; see below)",{"type":134,"tag":200,"props":5381,"children":5382},{},[5383,5388,5390,5396,5397,5402,5403,5408,5409,5415,5416,5421,5422,5427],{"type":134,"tag":204,"props":5384,"children":5386},{"className":5385},[],[5387],{"type":140,"value":4499},{"type":140,"value":5389}," styles (",{"type":134,"tag":204,"props":5391,"children":5393},{"className":5392},[],[5394],{"type":140,"value":5395},"default",{"type":140,"value":3867},{"type":134,"tag":204,"props":5398,"children":5400},{"className":5399},[],[5401],{"type":140,"value":4572},{"type":140,"value":3867},{"type":134,"tag":204,"props":5404,"children":5406},{"className":5405},[],[5407],{"type":140,"value":4517},{"type":140,"value":3867},{"type":134,"tag":204,"props":5410,"children":5412},{"className":5411},[],[5413],{"type":140,"value":5414},"warning",{"type":140,"value":3867},{"type":134,"tag":204,"props":5417,"children":5419},{"className":5418},[],[5420],{"type":140,"value":5157},{"type":140,"value":3867},{"type":134,"tag":204,"props":5423,"children":5425},{"className":5424},[],[5426],{"type":140,"value":204},{"type":140,"value":898},{"type":134,"tag":1688,"props":5429,"children":5431},{"id":5430},"table-per-platform-rendering-new-mar-6-2026",[5432],{"type":140,"value":5433},"Table — Per-Platform Rendering (New — Mar 6, 2026)",{"type":134,"tag":147,"props":5435,"children":5436},{},[5437,5439,5444],{"type":140,"value":5438},"The ",{"type":134,"tag":204,"props":5440,"children":5442},{"className":5441},[],[5443],{"type":140,"value":4863},{"type":140,"value":5445}," component renders natively on each platform:",{"type":134,"tag":5447,"props":5448,"children":5449},"table",{},[5450,5469],{"type":134,"tag":5451,"props":5452,"children":5453},"thead",{},[5454],{"type":134,"tag":5455,"props":5456,"children":5457},"tr",{},[5458,5464],{"type":134,"tag":5459,"props":5460,"children":5461},"th",{},[5462],{"type":140,"value":5463},"Platform",{"type":134,"tag":5459,"props":5465,"children":5466},{},[5467],{"type":140,"value":5468},"Rendering",{"type":134,"tag":5470,"props":5471,"children":5472},"tbody",{},[5473,5486,5499,5512,5525],{"type":134,"tag":5455,"props":5474,"children":5475},{},[5476,5481],{"type":134,"tag":5477,"props":5478,"children":5479},"td",{},[5480],{"type":140,"value":23},{"type":134,"tag":5477,"props":5482,"children":5483},{},[5484],{"type":140,"value":5485},"Block Kit table blocks",{"type":134,"tag":5455,"props":5487,"children":5488},{},[5489,5494],{"type":134,"tag":5477,"props":5490,"children":5491},{},[5492],{"type":140,"value":5493},"Teams \u002F Discord",{"type":134,"tag":5477,"props":5495,"children":5496},{},[5497],{"type":140,"value":5498},"GFM markdown tables",{"type":134,"tag":5455,"props":5500,"children":5501},{},[5502,5507],{"type":134,"tag":5477,"props":5503,"children":5504},{},[5505],{"type":140,"value":5506},"Google Chat",{"type":134,"tag":5477,"props":5508,"children":5509},{},[5510],{"type":140,"value":5511},"Monospace text widgets",{"type":134,"tag":5455,"props":5513,"children":5514},{},[5515,5520],{"type":134,"tag":5477,"props":5516,"children":5517},{},[5518],{"type":140,"value":5519},"Telegram",{"type":134,"tag":5477,"props":5521,"children":5522},{},[5523],{"type":140,"value":5524},"Code blocks",{"type":134,"tag":5455,"props":5526,"children":5527},{},[5528,5533],{"type":134,"tag":5477,"props":5529,"children":5530},{},[5531],{"type":140,"value":5532},"GitHub \u002F Linear",{"type":134,"tag":5477,"props":5534,"children":5535},{},[5536],{"type":140,"value":5537},"Markdown tables (existing pipeline)",{"type":134,"tag":147,"props":5539,"children":5540},{},[5541,5543,5549],{"type":140,"value":5542},"Plain markdown tables (without ",{"type":134,"tag":204,"props":5544,"children":5546},{"className":5545},[],[5547],{"type":140,"value":5548},"Table()",{"type":140,"value":5550},") also pass through the same adapter conversion pipeline.",{"type":134,"tag":307,"props":5552,"children":5554},{"className":4360,"code":5553,"language":4362,"meta":312,"style":312},"\u003CTable>\n  \u003CTableRow>\n    \u003CTableCell>Region\u003C\u002FTableCell>\n    \u003CTableCell>us-east-1\u003C\u002FTableCell>\n  \u003C\u002FTableRow>\n  \u003CTableRow>\n    \u003CTableCell>Latency\u003C\u002FTableCell>\n    \u003CTableCell>128ms\u003C\u002FTableCell>\n  \u003C\u002FTableRow>\n\u003C\u002FTable>\n",[5555],{"type":134,"tag":204,"props":5556,"children":5557},{"__ignoreMap":312},[5558,5573,5588,5619,5650,5665,5680,5711,5742,5757],{"type":134,"tag":318,"props":5559,"children":5560},{"class":320,"line":321},[5561,5565,5569],{"type":134,"tag":318,"props":5562,"children":5563},{"style":650},[5564],{"type":140,"value":1718},{"type":134,"tag":318,"props":5566,"children":5567},{"style":335},[5568],{"type":140,"value":4863},{"type":134,"tag":318,"props":5570,"children":5571},{"style":650},[5572],{"type":140,"value":4544},{"type":134,"tag":318,"props":5574,"children":5575},{"class":320,"line":331},[5576,5580,5584],{"type":134,"tag":318,"props":5577,"children":5578},{"style":650},[5579],{"type":140,"value":4397},{"type":134,"tag":318,"props":5581,"children":5582},{"style":335},[5583],{"type":140,"value":4880},{"type":134,"tag":318,"props":5585,"children":5586},{"style":650},[5587],{"type":140,"value":4544},{"type":134,"tag":318,"props":5589,"children":5590},{"class":320,"line":352},[5591,5595,5599,5603,5607,5611,5615],{"type":134,"tag":318,"props":5592,"children":5593},{"style":650},[5594],{"type":140,"value":4494},{"type":134,"tag":318,"props":5596,"children":5597},{"style":335},[5598],{"type":140,"value":4897},{"type":134,"tag":318,"props":5600,"children":5601},{"style":650},[5602],{"type":140,"value":734},{"type":134,"tag":318,"props":5604,"children":5605},{"style":656},[5606],{"type":140,"value":4906},{"type":134,"tag":318,"props":5608,"children":5609},{"style":650},[5610],{"type":140,"value":4535},{"type":134,"tag":318,"props":5612,"children":5613},{"style":335},[5614],{"type":140,"value":4897},{"type":134,"tag":318,"props":5616,"children":5617},{"style":650},[5618],{"type":140,"value":4544},{"type":134,"tag":318,"props":5620,"children":5621},{"class":320,"line":362},[5622,5626,5630,5634,5638,5642,5646],{"type":134,"tag":318,"props":5623,"children":5624},{"style":650},[5625],{"type":140,"value":4494},{"type":134,"tag":318,"props":5627,"children":5628},{"style":335},[5629],{"type":140,"value":4897},{"type":134,"tag":318,"props":5631,"children":5632},{"style":650},[5633],{"type":140,"value":734},{"type":134,"tag":318,"props":5635,"children":5636},{"style":656},[5637],{"type":140,"value":4938},{"type":134,"tag":318,"props":5639,"children":5640},{"style":650},[5641],{"type":140,"value":4535},{"type":134,"tag":318,"props":5643,"children":5644},{"style":335},[5645],{"type":140,"value":4897},{"type":134,"tag":318,"props":5647,"children":5648},{"style":650},[5649],{"type":140,"value":4544},{"type":134,"tag":318,"props":5651,"children":5652},{"class":320,"line":371},[5653,5657,5661],{"type":134,"tag":318,"props":5654,"children":5655},{"style":650},[5656],{"type":140,"value":5271},{"type":134,"tag":318,"props":5658,"children":5659},{"style":335},[5660],{"type":140,"value":4880},{"type":134,"tag":318,"props":5662,"children":5663},{"style":650},[5664],{"type":140,"value":4544},{"type":134,"tag":318,"props":5666,"children":5667},{"class":320,"line":129},[5668,5672,5676],{"type":134,"tag":318,"props":5669,"children":5670},{"style":650},[5671],{"type":140,"value":4397},{"type":134,"tag":318,"props":5673,"children":5674},{"style":335},[5675],{"type":140,"value":4880},{"type":134,"tag":318,"props":5677,"children":5678},{"style":650},[5679],{"type":140,"value":4544},{"type":134,"tag":318,"props":5681,"children":5682},{"class":320,"line":404},[5683,5687,5691,5695,5699,5703,5707],{"type":134,"tag":318,"props":5684,"children":5685},{"style":650},[5686],{"type":140,"value":4494},{"type":134,"tag":318,"props":5688,"children":5689},{"style":335},[5690],{"type":140,"value":4897},{"type":134,"tag":318,"props":5692,"children":5693},{"style":650},[5694],{"type":140,"value":734},{"type":134,"tag":318,"props":5696,"children":5697},{"style":656},[5698],{"type":140,"value":5002},{"type":134,"tag":318,"props":5700,"children":5701},{"style":650},[5702],{"type":140,"value":4535},{"type":134,"tag":318,"props":5704,"children":5705},{"style":335},[5706],{"type":140,"value":4897},{"type":134,"tag":318,"props":5708,"children":5709},{"style":650},[5710],{"type":140,"value":4544},{"type":134,"tag":318,"props":5712,"children":5713},{"class":320,"line":39},[5714,5718,5722,5726,5730,5734,5738],{"type":134,"tag":318,"props":5715,"children":5716},{"style":650},[5717],{"type":140,"value":4494},{"type":134,"tag":318,"props":5719,"children":5720},{"style":335},[5721],{"type":140,"value":4897},{"type":134,"tag":318,"props":5723,"children":5724},{"style":650},[5725],{"type":140,"value":734},{"type":134,"tag":318,"props":5727,"children":5728},{"style":656},[5729],{"type":140,"value":5035},{"type":134,"tag":318,"props":5731,"children":5732},{"style":650},[5733],{"type":140,"value":4535},{"type":134,"tag":318,"props":5735,"children":5736},{"style":335},[5737],{"type":140,"value":4897},{"type":134,"tag":318,"props":5739,"children":5740},{"style":650},[5741],{"type":140,"value":4544},{"type":134,"tag":318,"props":5743,"children":5744},{"class":320,"line":437},[5745,5749,5753],{"type":134,"tag":318,"props":5746,"children":5747},{"style":650},[5748],{"type":140,"value":5271},{"type":134,"tag":318,"props":5750,"children":5751},{"style":335},[5752],{"type":140,"value":4880},{"type":134,"tag":318,"props":5754,"children":5755},{"style":650},[5756],{"type":140,"value":4544},{"type":134,"tag":318,"props":5758,"children":5759},{"class":320,"line":454},[5760,5764,5768],{"type":134,"tag":318,"props":5761,"children":5762},{"style":650},[5763],{"type":140,"value":4535},{"type":134,"tag":318,"props":5765,"children":5766},{"style":335},[5767],{"type":140,"value":4863},{"type":134,"tag":318,"props":5769,"children":5770},{"style":650},[5771],{"type":140,"value":4544},{"type":134,"tag":1688,"props":5773,"children":5775},{"id":5774},"modals",[5776],{"type":140,"value":5777},"Modals",{"type":134,"tag":307,"props":5779,"children":5781},{"className":4360,"code":5780,"language":4362,"meta":312,"style":312},"await event.openModal(\n  \u003CModal\n    callbackId=\"deploy-form\"\n    title=\"Deploy\"\n    submitLabel=\"Deploy\"\n    closeLabel=\"Cancel\"\n    notifyOnClose\n    privateMetadata={JSON.stringify({ releaseId: \"rel_123\" })}\n  >\n    \u003CTextInput id=\"reason\" label=\"Reason\" multiline \u002F>\n  \u003C\u002FModal>,\n);\n",[5782],{"type":134,"tag":204,"props":5783,"children":5784},{"__ignoreMap":312},[5785,5809,5821,5846,5870,5894,5919,5927,5996,6003,6067,6083],{"type":134,"tag":318,"props":5786,"children":5787},{"class":320,"line":321},[5788,5792,5796,5800,5805],{"type":134,"tag":318,"props":5789,"children":5790},{"style":644},[5791],{"type":140,"value":3404},{"type":134,"tag":318,"props":5793,"children":5794},{"style":656},[5795],{"type":140,"value":3760},{"type":134,"tag":318,"props":5797,"children":5798},{"style":650},[5799],{"type":140,"value":866},{"type":134,"tag":318,"props":5801,"children":5802},{"style":771},[5803],{"type":140,"value":5804},"openModal",{"type":134,"tag":318,"props":5806,"children":5807},{"style":656},[5808],{"type":140,"value":2260},{"type":134,"tag":318,"props":5810,"children":5811},{"class":320,"line":331},[5812,5816],{"type":134,"tag":318,"props":5813,"children":5814},{"style":650},[5815],{"type":140,"value":4397},{"type":134,"tag":318,"props":5817,"children":5818},{"style":335},[5819],{"type":140,"value":5820},"Modal\n",{"type":134,"tag":318,"props":5822,"children":5823},{"class":320,"line":352},[5824,5829,5833,5837,5842],{"type":134,"tag":318,"props":5825,"children":5826},{"style":702},[5827],{"type":140,"value":5828},"    callbackId",{"type":134,"tag":318,"props":5830,"children":5831},{"style":650},[5832],{"type":140,"value":1133},{"type":134,"tag":318,"props":5834,"children":5835},{"style":650},[5836],{"type":140,"value":684},{"type":134,"tag":318,"props":5838,"children":5839},{"style":341},[5840],{"type":140,"value":5841},"deploy-form",{"type":134,"tag":318,"props":5843,"children":5844},{"style":650},[5845],{"type":140,"value":4428},{"type":134,"tag":318,"props":5847,"children":5848},{"class":320,"line":362},[5849,5853,5857,5861,5866],{"type":134,"tag":318,"props":5850,"children":5851},{"style":702},[5852],{"type":140,"value":4410},{"type":134,"tag":318,"props":5854,"children":5855},{"style":650},[5856],{"type":140,"value":1133},{"type":134,"tag":318,"props":5858,"children":5859},{"style":650},[5860],{"type":140,"value":684},{"type":134,"tag":318,"props":5862,"children":5863},{"style":341},[5864],{"type":140,"value":5865},"Deploy",{"type":134,"tag":318,"props":5867,"children":5868},{"style":650},[5869],{"type":140,"value":4428},{"type":134,"tag":318,"props":5871,"children":5872},{"class":320,"line":371},[5873,5878,5882,5886,5890],{"type":134,"tag":318,"props":5874,"children":5875},{"style":702},[5876],{"type":140,"value":5877},"    submitLabel",{"type":134,"tag":318,"props":5879,"children":5880},{"style":650},[5881],{"type":140,"value":1133},{"type":134,"tag":318,"props":5883,"children":5884},{"style":650},[5885],{"type":140,"value":684},{"type":134,"tag":318,"props":5887,"children":5888},{"style":341},[5889],{"type":140,"value":5865},{"type":134,"tag":318,"props":5891,"children":5892},{"style":650},[5893],{"type":140,"value":4428},{"type":134,"tag":318,"props":5895,"children":5896},{"class":320,"line":129},[5897,5902,5906,5910,5915],{"type":134,"tag":318,"props":5898,"children":5899},{"style":702},[5900],{"type":140,"value":5901},"    closeLabel",{"type":134,"tag":318,"props":5903,"children":5904},{"style":650},[5905],{"type":140,"value":1133},{"type":134,"tag":318,"props":5907,"children":5908},{"style":650},[5909],{"type":140,"value":684},{"type":134,"tag":318,"props":5911,"children":5912},{"style":341},[5913],{"type":140,"value":5914},"Cancel",{"type":134,"tag":318,"props":5916,"children":5917},{"style":650},[5918],{"type":140,"value":4428},{"type":134,"tag":318,"props":5920,"children":5921},{"class":320,"line":404},[5922],{"type":134,"tag":318,"props":5923,"children":5924},{"style":702},[5925],{"type":140,"value":5926},"    notifyOnClose\n",{"type":134,"tag":318,"props":5928,"children":5929},{"class":320,"line":39},[5930,5935,5939,5944,5948,5953,5957,5962,5967,5971,5975,5980,5984,5988,5992],{"type":134,"tag":318,"props":5931,"children":5932},{"style":702},[5933],{"type":140,"value":5934},"    privateMetadata",{"type":134,"tag":318,"props":5936,"children":5937},{"style":650},[5938],{"type":140,"value":4679},{"type":134,"tag":318,"props":5940,"children":5941},{"style":656},[5942],{"type":140,"value":5943},"JSON",{"type":134,"tag":318,"props":5945,"children":5946},{"style":650},[5947],{"type":140,"value":866},{"type":134,"tag":318,"props":5949,"children":5950},{"style":771},[5951],{"type":140,"value":5952},"stringify",{"type":134,"tag":318,"props":5954,"children":5955},{"style":656},[5956],{"type":140,"value":840},{"type":134,"tag":318,"props":5958,"children":5959},{"style":650},[5960],{"type":140,"value":5961},"{",{"type":134,"tag":318,"props":5963,"children":5964},{"style":795},[5965],{"type":140,"value":5966}," releaseId",{"type":134,"tag":318,"props":5968,"children":5969},{"style":650},[5970],{"type":140,"value":715},{"type":134,"tag":318,"props":5972,"children":5973},{"style":650},[5974],{"type":140,"value":674},{"type":134,"tag":318,"props":5976,"children":5977},{"style":341},[5978],{"type":140,"value":5979},"rel_123",{"type":134,"tag":318,"props":5981,"children":5982},{"style":650},[5983],{"type":140,"value":684},{"type":134,"tag":318,"props":5985,"children":5986},{"style":650},[5987],{"type":140,"value":664},{"type":134,"tag":318,"props":5989,"children":5990},{"style":656},[5991],{"type":140,"value":898},{"type":134,"tag":318,"props":5993,"children":5994},{"style":650},[5995],{"type":140,"value":934},{"type":134,"tag":318,"props":5997,"children":5998},{"class":320,"line":437},[5999],{"type":134,"tag":318,"props":6000,"children":6001},{"style":650},[6002],{"type":140,"value":4486},{"type":134,"tag":318,"props":6004,"children":6005},{"class":320,"line":454},[6006,6010,6015,6019,6023,6027,6032,6036,6040,6044,6048,6053,6057,6062],{"type":134,"tag":318,"props":6007,"children":6008},{"style":650},[6009],{"type":140,"value":4494},{"type":134,"tag":318,"props":6011,"children":6012},{"style":335},[6013],{"type":140,"value":6014},"TextInput",{"type":134,"tag":318,"props":6016,"children":6017},{"style":702},[6018],{"type":140,"value":5123},{"type":134,"tag":318,"props":6020,"children":6021},{"style":650},[6022],{"type":140,"value":1133},{"type":134,"tag":318,"props":6024,"children":6025},{"style":650},[6026],{"type":140,"value":684},{"type":134,"tag":318,"props":6028,"children":6029},{"style":341},[6030],{"type":140,"value":6031},"reason",{"type":134,"tag":318,"props":6033,"children":6034},{"style":650},[6035],{"type":140,"value":684},{"type":134,"tag":318,"props":6037,"children":6038},{"style":702},[6039],{"type":140,"value":4697},{"type":134,"tag":318,"props":6041,"children":6042},{"style":650},[6043],{"type":140,"value":1133},{"type":134,"tag":318,"props":6045,"children":6046},{"style":650},[6047],{"type":140,"value":684},{"type":134,"tag":318,"props":6049,"children":6050},{"style":341},[6051],{"type":140,"value":6052},"Reason",{"type":134,"tag":318,"props":6054,"children":6055},{"style":650},[6056],{"type":140,"value":684},{"type":134,"tag":318,"props":6058,"children":6059},{"style":702},[6060],{"type":140,"value":6061}," multiline",{"type":134,"tag":318,"props":6063,"children":6064},{"style":650},[6065],{"type":140,"value":6066}," \u002F>\n",{"type":134,"tag":318,"props":6068,"children":6069},{"class":320,"line":471},[6070,6074,6079],{"type":134,"tag":318,"props":6071,"children":6072},{"style":650},[6073],{"type":140,"value":5271},{"type":134,"tag":318,"props":6075,"children":6076},{"style":335},[6077],{"type":140,"value":6078},"Modal",{"type":134,"tag":318,"props":6080,"children":6081},{"style":650},[6082],{"type":140,"value":2505},{"type":134,"tag":318,"props":6084,"children":6085},{"class":320,"line":488},[6086,6090],{"type":134,"tag":318,"props":6087,"children":6088},{"style":656},[6089],{"type":140,"value":898},{"type":134,"tag":318,"props":6091,"children":6092},{"style":650},[6093],{"type":140,"value":689},{"type":134,"tag":147,"props":6095,"children":6096},{},[6097,6099,6105],{"type":140,"value":6098},"Use ",{"type":134,"tag":204,"props":6100,"children":6102},{"className":6101},[],[6103],{"type":140,"value":6104},"privateMetadata",{"type":140,"value":6106}," to pass contextual data into submit\u002Fclose events.",{"type":134,"tag":189,"props":6108,"children":6110},{"id":6109},"companion-web-ui-and-card-design",[6111],{"type":140,"value":6112},"Companion Web UI and Card Design",{"type":134,"tag":147,"props":6114,"children":6115},{},[6116],{"type":140,"value":6117},"Chat SDK payloads render natively in chat platforms, so shadcn isn't used in message markup. But when building a web control plane, thread inspector, or bot settings UI around Chat SDK, use shadcn + Geist by default. Thread dashboards: Tabs+Card+Table+Badge. Bot settings: Sheet+form controls. Logs\u002FIDs\u002Ftimestamps: Geist Mono with tabular-nums.",{"type":134,"tag":189,"props":6119,"children":6121},{"id":6120},"platform-adapters",[6122],{"type":140,"value":6123},"Platform Adapters",{"type":134,"tag":1688,"props":6125,"children":6126},{"id":24},[6127],{"type":140,"value":23},{"type":134,"tag":307,"props":6129,"children":6131},{"className":632,"code":6130,"language":634,"meta":312,"style":312},"import { createSlackAdapter } from \"@chat-adapter\u002Fslack\";\n\nconst slack = createSlackAdapter();\n\u002F\u002F Env: SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET\n\nconst oauthSlack = createSlackAdapter({\n  clientId: process.env.SLACK_CLIENT_ID!,\n  clientSecret: process.env.SLACK_CLIENT_SECRET!,\n  encryptionKey: process.env.SLACK_ENCRYPTION_KEY,\n});\n",[6132],{"type":134,"tag":204,"props":6133,"children":6134},{"__ignoreMap":312},[6135,6174,6181,6209,6217,6224,6252,6289,6326,6363],{"type":134,"tag":318,"props":6136,"children":6137},{"class":320,"line":321},[6138,6142,6146,6150,6154,6158,6162,6166,6170],{"type":134,"tag":318,"props":6139,"children":6140},{"style":644},[6141],{"type":140,"value":647},{"type":134,"tag":318,"props":6143,"children":6144},{"style":650},[6145],{"type":140,"value":653},{"type":134,"tag":318,"props":6147,"children":6148},{"style":656},[6149],{"type":140,"value":659},{"type":134,"tag":318,"props":6151,"children":6152},{"style":650},[6153],{"type":140,"value":664},{"type":134,"tag":318,"props":6155,"children":6156},{"style":644},[6157],{"type":140,"value":669},{"type":134,"tag":318,"props":6159,"children":6160},{"style":650},[6161],{"type":140,"value":674},{"type":134,"tag":318,"props":6163,"children":6164},{"style":341},[6165],{"type":140,"value":679},{"type":134,"tag":318,"props":6167,"children":6168},{"style":650},[6169],{"type":140,"value":684},{"type":134,"tag":318,"props":6171,"children":6172},{"style":650},[6173],{"type":140,"value":689},{"type":134,"tag":318,"props":6175,"children":6176},{"class":320,"line":331},[6177],{"type":134,"tag":318,"props":6178,"children":6179},{"emptyLinePlaceholder":356},[6180],{"type":140,"value":359},{"type":134,"tag":318,"props":6182,"children":6183},{"class":320,"line":352},[6184,6188,6193,6197,6201,6205],{"type":134,"tag":318,"props":6185,"children":6186},{"style":702},[6187],{"type":140,"value":1123},{"type":134,"tag":318,"props":6189,"children":6190},{"style":656},[6191],{"type":140,"value":6192}," slack ",{"type":134,"tag":318,"props":6194,"children":6195},{"style":650},[6196],{"type":140,"value":1133},{"type":134,"tag":318,"props":6198,"children":6199},{"style":771},[6200],{"type":140,"value":659},{"type":134,"tag":318,"props":6202,"children":6203},{"style":656},[6204],{"type":140,"value":779},{"type":134,"tag":318,"props":6206,"children":6207},{"style":650},[6208],{"type":140,"value":689},{"type":134,"tag":318,"props":6210,"children":6211},{"class":320,"line":362},[6212],{"type":134,"tag":318,"props":6213,"children":6214},{"style":325},[6215],{"type":140,"value":6216},"\u002F\u002F Env: SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET\n",{"type":134,"tag":318,"props":6218,"children":6219},{"class":320,"line":371},[6220],{"type":134,"tag":318,"props":6221,"children":6222},{"emptyLinePlaceholder":356},[6223],{"type":140,"value":359},{"type":134,"tag":318,"props":6225,"children":6226},{"class":320,"line":129},[6227,6231,6236,6240,6244,6248],{"type":134,"tag":318,"props":6228,"children":6229},{"style":702},[6230],{"type":140,"value":1123},{"type":134,"tag":318,"props":6232,"children":6233},{"style":656},[6234],{"type":140,"value":6235}," oauthSlack ",{"type":134,"tag":318,"props":6237,"children":6238},{"style":650},[6239],{"type":140,"value":1133},{"type":134,"tag":318,"props":6241,"children":6242},{"style":771},[6243],{"type":140,"value":659},{"type":134,"tag":318,"props":6245,"children":6246},{"style":656},[6247],{"type":140,"value":840},{"type":134,"tag":318,"props":6249,"children":6250},{"style":650},[6251],{"type":140,"value":818},{"type":134,"tag":318,"props":6253,"children":6254},{"class":320,"line":404},[6255,6260,6264,6268,6272,6276,6280,6285],{"type":134,"tag":318,"props":6256,"children":6257},{"style":795},[6258],{"type":140,"value":6259},"  clientId",{"type":134,"tag":318,"props":6261,"children":6262},{"style":650},[6263],{"type":140,"value":715},{"type":134,"tag":318,"props":6265,"children":6266},{"style":656},[6267],{"type":140,"value":861},{"type":134,"tag":318,"props":6269,"children":6270},{"style":650},[6271],{"type":140,"value":866},{"type":134,"tag":318,"props":6273,"children":6274},{"style":656},[6275],{"type":140,"value":871},{"type":134,"tag":318,"props":6277,"children":6278},{"style":650},[6279],{"type":140,"value":866},{"type":134,"tag":318,"props":6281,"children":6282},{"style":656},[6283],{"type":140,"value":6284},"SLACK_CLIENT_ID",{"type":134,"tag":318,"props":6286,"children":6287},{"style":650},[6288],{"type":140,"value":885},{"type":134,"tag":318,"props":6290,"children":6291},{"class":320,"line":39},[6292,6297,6301,6305,6309,6313,6317,6322],{"type":134,"tag":318,"props":6293,"children":6294},{"style":795},[6295],{"type":140,"value":6296},"  clientSecret",{"type":134,"tag":318,"props":6298,"children":6299},{"style":650},[6300],{"type":140,"value":715},{"type":134,"tag":318,"props":6302,"children":6303},{"style":656},[6304],{"type":140,"value":861},{"type":134,"tag":318,"props":6306,"children":6307},{"style":650},[6308],{"type":140,"value":866},{"type":134,"tag":318,"props":6310,"children":6311},{"style":656},[6312],{"type":140,"value":871},{"type":134,"tag":318,"props":6314,"children":6315},{"style":650},[6316],{"type":140,"value":866},{"type":134,"tag":318,"props":6318,"children":6319},{"style":656},[6320],{"type":140,"value":6321},"SLACK_CLIENT_SECRET",{"type":134,"tag":318,"props":6323,"children":6324},{"style":650},[6325],{"type":140,"value":885},{"type":134,"tag":318,"props":6327,"children":6328},{"class":320,"line":437},[6329,6334,6338,6342,6346,6350,6354,6359],{"type":134,"tag":318,"props":6330,"children":6331},{"style":795},[6332],{"type":140,"value":6333},"  encryptionKey",{"type":134,"tag":318,"props":6335,"children":6336},{"style":650},[6337],{"type":140,"value":715},{"type":134,"tag":318,"props":6339,"children":6340},{"style":656},[6341],{"type":140,"value":861},{"type":134,"tag":318,"props":6343,"children":6344},{"style":650},[6345],{"type":140,"value":866},{"type":134,"tag":318,"props":6347,"children":6348},{"style":656},[6349],{"type":140,"value":871},{"type":134,"tag":318,"props":6351,"children":6352},{"style":650},[6353],{"type":140,"value":866},{"type":134,"tag":318,"props":6355,"children":6356},{"style":656},[6357],{"type":140,"value":6358},"SLACK_ENCRYPTION_KEY",{"type":134,"tag":318,"props":6360,"children":6361},{"style":650},[6362],{"type":140,"value":1180},{"type":134,"tag":318,"props":6364,"children":6365},{"class":320,"line":454},[6366,6370,6374],{"type":134,"tag":318,"props":6367,"children":6368},{"style":650},[6369],{"type":140,"value":1356},{"type":134,"tag":318,"props":6371,"children":6372},{"style":656},[6373],{"type":140,"value":898},{"type":134,"tag":318,"props":6375,"children":6376},{"style":650},[6377],{"type":140,"value":689},{"type":134,"tag":1688,"props":6379,"children":6381},{"id":6380},"telegram",[6382],{"type":140,"value":5519},{"type":134,"tag":307,"props":6384,"children":6386},{"className":632,"code":6385,"language":634,"meta":312,"style":312},"import { createTelegramAdapter } from \"@chat-adapter\u002Ftelegram\";\n\nconst telegram = createTelegramAdapter();\n\u002F\u002F Env: TELEGRAM_BOT_TOKEN, TELEGRAM_WEBHOOK_SECRET\n",[6387],{"type":134,"tag":204,"props":6388,"children":6389},{"__ignoreMap":312},[6390,6429,6436,6464],{"type":134,"tag":318,"props":6391,"children":6392},{"class":320,"line":321},[6393,6397,6401,6405,6409,6413,6417,6421,6425],{"type":134,"tag":318,"props":6394,"children":6395},{"style":644},[6396],{"type":140,"value":647},{"type":134,"tag":318,"props":6398,"children":6399},{"style":650},[6400],{"type":140,"value":653},{"type":134,"tag":318,"props":6402,"children":6403},{"style":656},[6404],{"type":140,"value":1042},{"type":134,"tag":318,"props":6406,"children":6407},{"style":650},[6408],{"type":140,"value":664},{"type":134,"tag":318,"props":6410,"children":6411},{"style":644},[6412],{"type":140,"value":669},{"type":134,"tag":318,"props":6414,"children":6415},{"style":650},[6416],{"type":140,"value":674},{"type":134,"tag":318,"props":6418,"children":6419},{"style":341},[6420],{"type":140,"value":1059},{"type":134,"tag":318,"props":6422,"children":6423},{"style":650},[6424],{"type":140,"value":684},{"type":134,"tag":318,"props":6426,"children":6427},{"style":650},[6428],{"type":140,"value":689},{"type":134,"tag":318,"props":6430,"children":6431},{"class":320,"line":331},[6432],{"type":134,"tag":318,"props":6433,"children":6434},{"emptyLinePlaceholder":356},[6435],{"type":140,"value":359},{"type":134,"tag":318,"props":6437,"children":6438},{"class":320,"line":352},[6439,6443,6448,6452,6456,6460],{"type":134,"tag":318,"props":6440,"children":6441},{"style":702},[6442],{"type":140,"value":1123},{"type":134,"tag":318,"props":6444,"children":6445},{"style":656},[6446],{"type":140,"value":6447}," telegram ",{"type":134,"tag":318,"props":6449,"children":6450},{"style":650},[6451],{"type":140,"value":1133},{"type":134,"tag":318,"props":6453,"children":6454},{"style":771},[6455],{"type":140,"value":1042},{"type":134,"tag":318,"props":6457,"children":6458},{"style":656},[6459],{"type":140,"value":779},{"type":134,"tag":318,"props":6461,"children":6462},{"style":650},[6463],{"type":140,"value":689},{"type":134,"tag":318,"props":6465,"children":6466},{"class":320,"line":362},[6467],{"type":134,"tag":318,"props":6468,"children":6469},{"style":325},[6470],{"type":140,"value":6471},"\u002F\u002F Env: TELEGRAM_BOT_TOKEN, TELEGRAM_WEBHOOK_SECRET\n",{"type":134,"tag":1688,"props":6473,"children":6474},{"id":18},[6475],{"type":140,"value":17},{"type":134,"tag":307,"props":6477,"children":6479},{"className":632,"code":6478,"language":634,"meta":312,"style":312},"import { createTeamsAdapter } from \"@chat-adapter\u002Fteams\";\n\nconst teams = createTeamsAdapter({\n  appType: \"singleTenant\",\n});\n\u002F\u002F Env: TEAMS_APP_ID, TEAMS_APP_PASSWORD, TEAMS_APP_TENANT_ID\n",[6480],{"type":134,"tag":204,"props":6481,"children":6482},{"__ignoreMap":312},[6483,6524,6531,6559,6588,6603],{"type":134,"tag":318,"props":6484,"children":6485},{"class":320,"line":321},[6486,6490,6494,6499,6503,6507,6511,6516,6520],{"type":134,"tag":318,"props":6487,"children":6488},{"style":644},[6489],{"type":140,"value":647},{"type":134,"tag":318,"props":6491,"children":6492},{"style":650},[6493],{"type":140,"value":653},{"type":134,"tag":318,"props":6495,"children":6496},{"style":656},[6497],{"type":140,"value":6498}," createTeamsAdapter",{"type":134,"tag":318,"props":6500,"children":6501},{"style":650},[6502],{"type":140,"value":664},{"type":134,"tag":318,"props":6504,"children":6505},{"style":644},[6506],{"type":140,"value":669},{"type":134,"tag":318,"props":6508,"children":6509},{"style":650},[6510],{"type":140,"value":674},{"type":134,"tag":318,"props":6512,"children":6513},{"style":341},[6514],{"type":140,"value":6515},"@chat-adapter\u002Fteams",{"type":134,"tag":318,"props":6517,"children":6518},{"style":650},[6519],{"type":140,"value":684},{"type":134,"tag":318,"props":6521,"children":6522},{"style":650},[6523],{"type":140,"value":689},{"type":134,"tag":318,"props":6525,"children":6526},{"class":320,"line":331},[6527],{"type":134,"tag":318,"props":6528,"children":6529},{"emptyLinePlaceholder":356},[6530],{"type":140,"value":359},{"type":134,"tag":318,"props":6532,"children":6533},{"class":320,"line":352},[6534,6538,6543,6547,6551,6555],{"type":134,"tag":318,"props":6535,"children":6536},{"style":702},[6537],{"type":140,"value":1123},{"type":134,"tag":318,"props":6539,"children":6540},{"style":656},[6541],{"type":140,"value":6542}," teams ",{"type":134,"tag":318,"props":6544,"children":6545},{"style":650},[6546],{"type":140,"value":1133},{"type":134,"tag":318,"props":6548,"children":6549},{"style":771},[6550],{"type":140,"value":6498},{"type":134,"tag":318,"props":6552,"children":6553},{"style":656},[6554],{"type":140,"value":840},{"type":134,"tag":318,"props":6556,"children":6557},{"style":650},[6558],{"type":140,"value":818},{"type":134,"tag":318,"props":6560,"children":6561},{"class":320,"line":362},[6562,6567,6571,6575,6580,6584],{"type":134,"tag":318,"props":6563,"children":6564},{"style":795},[6565],{"type":140,"value":6566},"  appType",{"type":134,"tag":318,"props":6568,"children":6569},{"style":650},[6570],{"type":140,"value":715},{"type":134,"tag":318,"props":6572,"children":6573},{"style":650},[6574],{"type":140,"value":674},{"type":134,"tag":318,"props":6576,"children":6577},{"style":341},[6578],{"type":140,"value":6579},"singleTenant",{"type":134,"tag":318,"props":6581,"children":6582},{"style":650},[6583],{"type":140,"value":684},{"type":134,"tag":318,"props":6585,"children":6586},{"style":650},[6587],{"type":140,"value":1180},{"type":134,"tag":318,"props":6589,"children":6590},{"class":320,"line":371},[6591,6595,6599],{"type":134,"tag":318,"props":6592,"children":6593},{"style":650},[6594],{"type":140,"value":1356},{"type":134,"tag":318,"props":6596,"children":6597},{"style":656},[6598],{"type":140,"value":898},{"type":134,"tag":318,"props":6600,"children":6601},{"style":650},[6602],{"type":140,"value":689},{"type":134,"tag":318,"props":6604,"children":6605},{"class":320,"line":129},[6606],{"type":134,"tag":318,"props":6607,"children":6608},{"style":325},[6609],{"type":140,"value":6610},"\u002F\u002F Env: TEAMS_APP_ID, TEAMS_APP_PASSWORD, TEAMS_APP_TENANT_ID\n",{"type":134,"tag":1688,"props":6612,"children":6614},{"id":6613},"discord",[6615],{"type":140,"value":6616},"Discord",{"type":134,"tag":307,"props":6618,"children":6620},{"className":632,"code":6619,"language":634,"meta":312,"style":312},"import { createDiscordAdapter } from \"@chat-adapter\u002Fdiscord\";\n\nconst discord = createDiscordAdapter();\n\u002F\u002F Env: DISCORD_BOT_TOKEN, DISCORD_PUBLIC_KEY, DISCORD_APPLICATION_ID, CRON_SECRET\n",[6621],{"type":134,"tag":204,"props":6622,"children":6623},{"__ignoreMap":312},[6624,6665,6672,6700],{"type":134,"tag":318,"props":6625,"children":6626},{"class":320,"line":321},[6627,6631,6635,6640,6644,6648,6652,6657,6661],{"type":134,"tag":318,"props":6628,"children":6629},{"style":644},[6630],{"type":140,"value":647},{"type":134,"tag":318,"props":6632,"children":6633},{"style":650},[6634],{"type":140,"value":653},{"type":134,"tag":318,"props":6636,"children":6637},{"style":656},[6638],{"type":140,"value":6639}," createDiscordAdapter",{"type":134,"tag":318,"props":6641,"children":6642},{"style":650},[6643],{"type":140,"value":664},{"type":134,"tag":318,"props":6645,"children":6646},{"style":644},[6647],{"type":140,"value":669},{"type":134,"tag":318,"props":6649,"children":6650},{"style":650},[6651],{"type":140,"value":674},{"type":134,"tag":318,"props":6653,"children":6654},{"style":341},[6655],{"type":140,"value":6656},"@chat-adapter\u002Fdiscord",{"type":134,"tag":318,"props":6658,"children":6659},{"style":650},[6660],{"type":140,"value":684},{"type":134,"tag":318,"props":6662,"children":6663},{"style":650},[6664],{"type":140,"value":689},{"type":134,"tag":318,"props":6666,"children":6667},{"class":320,"line":331},[6668],{"type":134,"tag":318,"props":6669,"children":6670},{"emptyLinePlaceholder":356},[6671],{"type":140,"value":359},{"type":134,"tag":318,"props":6673,"children":6674},{"class":320,"line":352},[6675,6679,6684,6688,6692,6696],{"type":134,"tag":318,"props":6676,"children":6677},{"style":702},[6678],{"type":140,"value":1123},{"type":134,"tag":318,"props":6680,"children":6681},{"style":656},[6682],{"type":140,"value":6683}," discord ",{"type":134,"tag":318,"props":6685,"children":6686},{"style":650},[6687],{"type":140,"value":1133},{"type":134,"tag":318,"props":6689,"children":6690},{"style":771},[6691],{"type":140,"value":6639},{"type":134,"tag":318,"props":6693,"children":6694},{"style":656},[6695],{"type":140,"value":779},{"type":134,"tag":318,"props":6697,"children":6698},{"style":650},[6699],{"type":140,"value":689},{"type":134,"tag":318,"props":6701,"children":6702},{"class":320,"line":362},[6703],{"type":134,"tag":318,"props":6704,"children":6705},{"style":325},[6706],{"type":140,"value":6707},"\u002F\u002F Env: DISCORD_BOT_TOKEN, DISCORD_PUBLIC_KEY, DISCORD_APPLICATION_ID, CRON_SECRET\n",{"type":134,"tag":147,"props":6709,"children":6710},{},[6711],{"type":140,"value":6712},"For message content handlers, enable both Gateway intent and Message Content Intent in the Discord developer portal.",{"type":134,"tag":1688,"props":6714,"children":6716},{"id":6715},"google-chat",[6717],{"type":140,"value":5506},{"type":134,"tag":307,"props":6719,"children":6721},{"className":632,"code":6720,"language":634,"meta":312,"style":312},"import { createGoogleChatAdapter } from \"@chat-adapter\u002Fgchat\";\n\nconst gchat = createGoogleChatAdapter();\n\u002F\u002F Env: GOOGLE_CHAT_CREDENTIALS, GOOGLE_CHAT_USE_ADC\n",[6722],{"type":134,"tag":204,"props":6723,"children":6724},{"__ignoreMap":312},[6725,6766,6773,6801],{"type":134,"tag":318,"props":6726,"children":6727},{"class":320,"line":321},[6728,6732,6736,6741,6745,6749,6753,6758,6762],{"type":134,"tag":318,"props":6729,"children":6730},{"style":644},[6731],{"type":140,"value":647},{"type":134,"tag":318,"props":6733,"children":6734},{"style":650},[6735],{"type":140,"value":653},{"type":134,"tag":318,"props":6737,"children":6738},{"style":656},[6739],{"type":140,"value":6740}," createGoogleChatAdapter",{"type":134,"tag":318,"props":6742,"children":6743},{"style":650},[6744],{"type":140,"value":664},{"type":134,"tag":318,"props":6746,"children":6747},{"style":644},[6748],{"type":140,"value":669},{"type":134,"tag":318,"props":6750,"children":6751},{"style":650},[6752],{"type":140,"value":674},{"type":134,"tag":318,"props":6754,"children":6755},{"style":341},[6756],{"type":140,"value":6757},"@chat-adapter\u002Fgchat",{"type":134,"tag":318,"props":6759,"children":6760},{"style":650},[6761],{"type":140,"value":684},{"type":134,"tag":318,"props":6763,"children":6764},{"style":650},[6765],{"type":140,"value":689},{"type":134,"tag":318,"props":6767,"children":6768},{"class":320,"line":331},[6769],{"type":134,"tag":318,"props":6770,"children":6771},{"emptyLinePlaceholder":356},[6772],{"type":140,"value":359},{"type":134,"tag":318,"props":6774,"children":6775},{"class":320,"line":352},[6776,6780,6785,6789,6793,6797],{"type":134,"tag":318,"props":6777,"children":6778},{"style":702},[6779],{"type":140,"value":1123},{"type":134,"tag":318,"props":6781,"children":6782},{"style":656},[6783],{"type":140,"value":6784}," gchat ",{"type":134,"tag":318,"props":6786,"children":6787},{"style":650},[6788],{"type":140,"value":1133},{"type":134,"tag":318,"props":6790,"children":6791},{"style":771},[6792],{"type":140,"value":6740},{"type":134,"tag":318,"props":6794,"children":6795},{"style":656},[6796],{"type":140,"value":779},{"type":134,"tag":318,"props":6798,"children":6799},{"style":650},[6800],{"type":140,"value":689},{"type":134,"tag":318,"props":6802,"children":6803},{"class":320,"line":362},[6804],{"type":134,"tag":318,"props":6805,"children":6806},{"style":325},[6807],{"type":140,"value":6808},"\u002F\u002F Env: GOOGLE_CHAT_CREDENTIALS, GOOGLE_CHAT_USE_ADC\n",{"type":134,"tag":1688,"props":6810,"children":6812},{"id":6811},"github",[6813],{"type":140,"value":6814},"GitHub",{"type":134,"tag":307,"props":6816,"children":6818},{"className":632,"code":6817,"language":634,"meta":312,"style":312},"import { createGitHubAdapter } from \"@chat-adapter\u002Fgithub\";\n\nconst github = createGitHubAdapter({\n  botUserId: process.env.GITHUB_BOT_USER_ID,\n});\n\u002F\u002F Env: GITHUB_TOKEN or (GITHUB_APP_ID + GITHUB_PRIVATE_KEY),\n\u002F\u002F      GITHUB_WEBHOOK_SECRET, GITHUB_INSTALLATION_ID\n",[6819],{"type":134,"tag":204,"props":6820,"children":6821},{"__ignoreMap":312},[6822,6863,6870,6898,6935,6950,6958],{"type":134,"tag":318,"props":6823,"children":6824},{"class":320,"line":321},[6825,6829,6833,6838,6842,6846,6850,6855,6859],{"type":134,"tag":318,"props":6826,"children":6827},{"style":644},[6828],{"type":140,"value":647},{"type":134,"tag":318,"props":6830,"children":6831},{"style":650},[6832],{"type":140,"value":653},{"type":134,"tag":318,"props":6834,"children":6835},{"style":656},[6836],{"type":140,"value":6837}," createGitHubAdapter",{"type":134,"tag":318,"props":6839,"children":6840},{"style":650},[6841],{"type":140,"value":664},{"type":134,"tag":318,"props":6843,"children":6844},{"style":644},[6845],{"type":140,"value":669},{"type":134,"tag":318,"props":6847,"children":6848},{"style":650},[6849],{"type":140,"value":674},{"type":134,"tag":318,"props":6851,"children":6852},{"style":341},[6853],{"type":140,"value":6854},"@chat-adapter\u002Fgithub",{"type":134,"tag":318,"props":6856,"children":6857},{"style":650},[6858],{"type":140,"value":684},{"type":134,"tag":318,"props":6860,"children":6861},{"style":650},[6862],{"type":140,"value":689},{"type":134,"tag":318,"props":6864,"children":6865},{"class":320,"line":331},[6866],{"type":134,"tag":318,"props":6867,"children":6868},{"emptyLinePlaceholder":356},[6869],{"type":140,"value":359},{"type":134,"tag":318,"props":6871,"children":6872},{"class":320,"line":352},[6873,6877,6882,6886,6890,6894],{"type":134,"tag":318,"props":6874,"children":6875},{"style":702},[6876],{"type":140,"value":1123},{"type":134,"tag":318,"props":6878,"children":6879},{"style":656},[6880],{"type":140,"value":6881}," github ",{"type":134,"tag":318,"props":6883,"children":6884},{"style":650},[6885],{"type":140,"value":1133},{"type":134,"tag":318,"props":6887,"children":6888},{"style":771},[6889],{"type":140,"value":6837},{"type":134,"tag":318,"props":6891,"children":6892},{"style":656},[6893],{"type":140,"value":840},{"type":134,"tag":318,"props":6895,"children":6896},{"style":650},[6897],{"type":140,"value":818},{"type":134,"tag":318,"props":6899,"children":6900},{"class":320,"line":362},[6901,6906,6910,6914,6918,6922,6926,6931],{"type":134,"tag":318,"props":6902,"children":6903},{"style":795},[6904],{"type":140,"value":6905},"  botUserId",{"type":134,"tag":318,"props":6907,"children":6908},{"style":650},[6909],{"type":140,"value":715},{"type":134,"tag":318,"props":6911,"children":6912},{"style":656},[6913],{"type":140,"value":861},{"type":134,"tag":318,"props":6915,"children":6916},{"style":650},[6917],{"type":140,"value":866},{"type":134,"tag":318,"props":6919,"children":6920},{"style":656},[6921],{"type":140,"value":871},{"type":134,"tag":318,"props":6923,"children":6924},{"style":650},[6925],{"type":140,"value":866},{"type":134,"tag":318,"props":6927,"children":6928},{"style":656},[6929],{"type":140,"value":6930},"GITHUB_BOT_USER_ID",{"type":134,"tag":318,"props":6932,"children":6933},{"style":650},[6934],{"type":140,"value":1180},{"type":134,"tag":318,"props":6936,"children":6937},{"class":320,"line":371},[6938,6942,6946],{"type":134,"tag":318,"props":6939,"children":6940},{"style":650},[6941],{"type":140,"value":1356},{"type":134,"tag":318,"props":6943,"children":6944},{"style":656},[6945],{"type":140,"value":898},{"type":134,"tag":318,"props":6947,"children":6948},{"style":650},[6949],{"type":140,"value":689},{"type":134,"tag":318,"props":6951,"children":6952},{"class":320,"line":129},[6953],{"type":134,"tag":318,"props":6954,"children":6955},{"style":325},[6956],{"type":140,"value":6957},"\u002F\u002F Env: GITHUB_TOKEN or (GITHUB_APP_ID + GITHUB_PRIVATE_KEY),\n",{"type":134,"tag":318,"props":6959,"children":6960},{"class":320,"line":404},[6961],{"type":134,"tag":318,"props":6962,"children":6963},{"style":325},[6964],{"type":140,"value":6965},"\u002F\u002F      GITHUB_WEBHOOK_SECRET, GITHUB_INSTALLATION_ID\n",{"type":134,"tag":1688,"props":6967,"children":6969},{"id":6968},"linear",[6970],{"type":140,"value":6971},"Linear",{"type":134,"tag":307,"props":6973,"children":6975},{"className":632,"code":6974,"language":634,"meta":312,"style":312},"import { createLinearAdapter } from \"@chat-adapter\u002Flinear\";\n\nconst linear = createLinearAdapter({\n  clientId: process.env.LINEAR_CLIENT_ID,\n  clientSecret: process.env.LINEAR_CLIENT_SECRET,\n  accessToken: process.env.LINEAR_ACCESS_TOKEN,\n});\n",[6976],{"type":134,"tag":204,"props":6977,"children":6978},{"__ignoreMap":312},[6979,7020,7027,7055,7091,7127,7164],{"type":134,"tag":318,"props":6980,"children":6981},{"class":320,"line":321},[6982,6986,6990,6995,6999,7003,7007,7012,7016],{"type":134,"tag":318,"props":6983,"children":6984},{"style":644},[6985],{"type":140,"value":647},{"type":134,"tag":318,"props":6987,"children":6988},{"style":650},[6989],{"type":140,"value":653},{"type":134,"tag":318,"props":6991,"children":6992},{"style":656},[6993],{"type":140,"value":6994}," createLinearAdapter",{"type":134,"tag":318,"props":6996,"children":6997},{"style":650},[6998],{"type":140,"value":664},{"type":134,"tag":318,"props":7000,"children":7001},{"style":644},[7002],{"type":140,"value":669},{"type":134,"tag":318,"props":7004,"children":7005},{"style":650},[7006],{"type":140,"value":674},{"type":134,"tag":318,"props":7008,"children":7009},{"style":341},[7010],{"type":140,"value":7011},"@chat-adapter\u002Flinear",{"type":134,"tag":318,"props":7013,"children":7014},{"style":650},[7015],{"type":140,"value":684},{"type":134,"tag":318,"props":7017,"children":7018},{"style":650},[7019],{"type":140,"value":689},{"type":134,"tag":318,"props":7021,"children":7022},{"class":320,"line":331},[7023],{"type":134,"tag":318,"props":7024,"children":7025},{"emptyLinePlaceholder":356},[7026],{"type":140,"value":359},{"type":134,"tag":318,"props":7028,"children":7029},{"class":320,"line":352},[7030,7034,7039,7043,7047,7051],{"type":134,"tag":318,"props":7031,"children":7032},{"style":702},[7033],{"type":140,"value":1123},{"type":134,"tag":318,"props":7035,"children":7036},{"style":656},[7037],{"type":140,"value":7038}," linear ",{"type":134,"tag":318,"props":7040,"children":7041},{"style":650},[7042],{"type":140,"value":1133},{"type":134,"tag":318,"props":7044,"children":7045},{"style":771},[7046],{"type":140,"value":6994},{"type":134,"tag":318,"props":7048,"children":7049},{"style":656},[7050],{"type":140,"value":840},{"type":134,"tag":318,"props":7052,"children":7053},{"style":650},[7054],{"type":140,"value":818},{"type":134,"tag":318,"props":7056,"children":7057},{"class":320,"line":362},[7058,7062,7066,7070,7074,7078,7082,7087],{"type":134,"tag":318,"props":7059,"children":7060},{"style":795},[7061],{"type":140,"value":6259},{"type":134,"tag":318,"props":7063,"children":7064},{"style":650},[7065],{"type":140,"value":715},{"type":134,"tag":318,"props":7067,"children":7068},{"style":656},[7069],{"type":140,"value":861},{"type":134,"tag":318,"props":7071,"children":7072},{"style":650},[7073],{"type":140,"value":866},{"type":134,"tag":318,"props":7075,"children":7076},{"style":656},[7077],{"type":140,"value":871},{"type":134,"tag":318,"props":7079,"children":7080},{"style":650},[7081],{"type":140,"value":866},{"type":134,"tag":318,"props":7083,"children":7084},{"style":656},[7085],{"type":140,"value":7086},"LINEAR_CLIENT_ID",{"type":134,"tag":318,"props":7088,"children":7089},{"style":650},[7090],{"type":140,"value":1180},{"type":134,"tag":318,"props":7092,"children":7093},{"class":320,"line":371},[7094,7098,7102,7106,7110,7114,7118,7123],{"type":134,"tag":318,"props":7095,"children":7096},{"style":795},[7097],{"type":140,"value":6296},{"type":134,"tag":318,"props":7099,"children":7100},{"style":650},[7101],{"type":140,"value":715},{"type":134,"tag":318,"props":7103,"children":7104},{"style":656},[7105],{"type":140,"value":861},{"type":134,"tag":318,"props":7107,"children":7108},{"style":650},[7109],{"type":140,"value":866},{"type":134,"tag":318,"props":7111,"children":7112},{"style":656},[7113],{"type":140,"value":871},{"type":134,"tag":318,"props":7115,"children":7116},{"style":650},[7117],{"type":140,"value":866},{"type":134,"tag":318,"props":7119,"children":7120},{"style":656},[7121],{"type":140,"value":7122},"LINEAR_CLIENT_SECRET",{"type":134,"tag":318,"props":7124,"children":7125},{"style":650},[7126],{"type":140,"value":1180},{"type":134,"tag":318,"props":7128,"children":7129},{"class":320,"line":129},[7130,7135,7139,7143,7147,7151,7155,7160],{"type":134,"tag":318,"props":7131,"children":7132},{"style":795},[7133],{"type":140,"value":7134},"  accessToken",{"type":134,"tag":318,"props":7136,"children":7137},{"style":650},[7138],{"type":140,"value":715},{"type":134,"tag":318,"props":7140,"children":7141},{"style":656},[7142],{"type":140,"value":861},{"type":134,"tag":318,"props":7144,"children":7145},{"style":650},[7146],{"type":140,"value":866},{"type":134,"tag":318,"props":7148,"children":7149},{"style":656},[7150],{"type":140,"value":871},{"type":134,"tag":318,"props":7152,"children":7153},{"style":650},[7154],{"type":140,"value":866},{"type":134,"tag":318,"props":7156,"children":7157},{"style":656},[7158],{"type":140,"value":7159},"LINEAR_ACCESS_TOKEN",{"type":134,"tag":318,"props":7161,"children":7162},{"style":650},[7163],{"type":140,"value":1180},{"type":134,"tag":318,"props":7165,"children":7166},{"class":320,"line":404},[7167,7171,7175],{"type":134,"tag":318,"props":7168,"children":7169},{"style":650},[7170],{"type":140,"value":1356},{"type":134,"tag":318,"props":7172,"children":7173},{"style":656},[7174],{"type":140,"value":898},{"type":134,"tag":318,"props":7176,"children":7177},{"style":650},[7178],{"type":140,"value":689},{"type":134,"tag":189,"props":7180,"children":7182},{"id":7181},"state-adapters",[7183],{"type":140,"value":7184},"State Adapters",{"type":134,"tag":1688,"props":7186,"children":7188},{"id":7187},"redis-recommended",[7189],{"type":140,"value":7190},"Redis (recommended)",{"type":134,"tag":307,"props":7192,"children":7194},{"className":632,"code":7193,"language":634,"meta":312,"style":312},"import { createRedisState } from \"@chat-adapter\u002Fstate-redis\";\n\nconst state = createRedisState();\n\u002F\u002F Env: REDIS_URL (or REDIS_HOST\u002FREDIS_PORT\u002FREDIS_PASSWORD)\n",[7195],{"type":134,"tag":204,"props":7196,"children":7197},{"__ignoreMap":312},[7198,7237,7244,7272],{"type":134,"tag":318,"props":7199,"children":7200},{"class":320,"line":321},[7201,7205,7209,7213,7217,7221,7225,7229,7233],{"type":134,"tag":318,"props":7202,"children":7203},{"style":644},[7204],{"type":140,"value":647},{"type":134,"tag":318,"props":7206,"children":7207},{"style":650},[7208],{"type":140,"value":653},{"type":134,"tag":318,"props":7210,"children":7211},{"style":656},[7212],{"type":140,"value":1083},{"type":134,"tag":318,"props":7214,"children":7215},{"style":650},[7216],{"type":140,"value":664},{"type":134,"tag":318,"props":7218,"children":7219},{"style":644},[7220],{"type":140,"value":669},{"type":134,"tag":318,"props":7222,"children":7223},{"style":650},[7224],{"type":140,"value":674},{"type":134,"tag":318,"props":7226,"children":7227},{"style":341},[7228],{"type":140,"value":1100},{"type":134,"tag":318,"props":7230,"children":7231},{"style":650},[7232],{"type":140,"value":684},{"type":134,"tag":318,"props":7234,"children":7235},{"style":650},[7236],{"type":140,"value":689},{"type":134,"tag":318,"props":7238,"children":7239},{"class":320,"line":331},[7240],{"type":134,"tag":318,"props":7241,"children":7242},{"emptyLinePlaceholder":356},[7243],{"type":140,"value":359},{"type":134,"tag":318,"props":7245,"children":7246},{"class":320,"line":352},[7247,7251,7256,7260,7264,7268],{"type":134,"tag":318,"props":7248,"children":7249},{"style":702},[7250],{"type":140,"value":1123},{"type":134,"tag":318,"props":7252,"children":7253},{"style":656},[7254],{"type":140,"value":7255}," state ",{"type":134,"tag":318,"props":7257,"children":7258},{"style":650},[7259],{"type":140,"value":1133},{"type":134,"tag":318,"props":7261,"children":7262},{"style":771},[7263],{"type":140,"value":1083},{"type":134,"tag":318,"props":7265,"children":7266},{"style":656},[7267],{"type":140,"value":779},{"type":134,"tag":318,"props":7269,"children":7270},{"style":650},[7271],{"type":140,"value":689},{"type":134,"tag":318,"props":7273,"children":7274},{"class":320,"line":362},[7275],{"type":134,"tag":318,"props":7276,"children":7277},{"style":325},[7278],{"type":140,"value":7279},"\u002F\u002F Env: REDIS_URL (or REDIS_HOST\u002FREDIS_PORT\u002FREDIS_PASSWORD)\n",{"type":134,"tag":1688,"props":7281,"children":7283},{"id":7282},"ioredis-clustersentinel",[7284],{"type":140,"value":7285},"ioredis (cluster\u002Fsentinel)",{"type":134,"tag":307,"props":7287,"children":7289},{"className":632,"code":7288,"language":634,"meta":312,"style":312},"import { createIoRedisState } from \"@chat-adapter\u002Fstate-ioredis\";\n\nconst state = createIoRedisState({\n  \u002F\u002F cluster\u002Fsentinel options\n});\n",[7290],{"type":134,"tag":204,"props":7291,"children":7292},{"__ignoreMap":312},[7293,7334,7341,7368,7376],{"type":134,"tag":318,"props":7294,"children":7295},{"class":320,"line":321},[7296,7300,7304,7309,7313,7317,7321,7326,7330],{"type":134,"tag":318,"props":7297,"children":7298},{"style":644},[7299],{"type":140,"value":647},{"type":134,"tag":318,"props":7301,"children":7302},{"style":650},[7303],{"type":140,"value":653},{"type":134,"tag":318,"props":7305,"children":7306},{"style":656},[7307],{"type":140,"value":7308}," createIoRedisState",{"type":134,"tag":318,"props":7310,"children":7311},{"style":650},[7312],{"type":140,"value":664},{"type":134,"tag":318,"props":7314,"children":7315},{"style":644},[7316],{"type":140,"value":669},{"type":134,"tag":318,"props":7318,"children":7319},{"style":650},[7320],{"type":140,"value":674},{"type":134,"tag":318,"props":7322,"children":7323},{"style":341},[7324],{"type":140,"value":7325},"@chat-adapter\u002Fstate-ioredis",{"type":134,"tag":318,"props":7327,"children":7328},{"style":650},[7329],{"type":140,"value":684},{"type":134,"tag":318,"props":7331,"children":7332},{"style":650},[7333],{"type":140,"value":689},{"type":134,"tag":318,"props":7335,"children":7336},{"class":320,"line":331},[7337],{"type":134,"tag":318,"props":7338,"children":7339},{"emptyLinePlaceholder":356},[7340],{"type":140,"value":359},{"type":134,"tag":318,"props":7342,"children":7343},{"class":320,"line":352},[7344,7348,7352,7356,7360,7364],{"type":134,"tag":318,"props":7345,"children":7346},{"style":702},[7347],{"type":140,"value":1123},{"type":134,"tag":318,"props":7349,"children":7350},{"style":656},[7351],{"type":140,"value":7255},{"type":134,"tag":318,"props":7353,"children":7354},{"style":650},[7355],{"type":140,"value":1133},{"type":134,"tag":318,"props":7357,"children":7358},{"style":771},[7359],{"type":140,"value":7308},{"type":134,"tag":318,"props":7361,"children":7362},{"style":656},[7363],{"type":140,"value":840},{"type":134,"tag":318,"props":7365,"children":7366},{"style":650},[7367],{"type":140,"value":818},{"type":134,"tag":318,"props":7369,"children":7370},{"class":320,"line":362},[7371],{"type":134,"tag":318,"props":7372,"children":7373},{"style":325},[7374],{"type":140,"value":7375},"  \u002F\u002F cluster\u002Fsentinel options\n",{"type":134,"tag":318,"props":7377,"children":7378},{"class":320,"line":371},[7379,7383,7387],{"type":134,"tag":318,"props":7380,"children":7381},{"style":650},[7382],{"type":140,"value":1356},{"type":134,"tag":318,"props":7384,"children":7385},{"style":656},[7386],{"type":140,"value":898},{"type":134,"tag":318,"props":7388,"children":7389},{"style":650},[7390],{"type":140,"value":689},{"type":134,"tag":1688,"props":7392,"children":7394},{"id":7393},"memory-devtest-only",[7395],{"type":140,"value":7396},"Memory (dev\u002Ftest only)",{"type":134,"tag":307,"props":7398,"children":7400},{"className":632,"code":7399,"language":634,"meta":312,"style":312},"import { MemoryState } from \"@chat-adapter\u002Fstate-memory\";\n\nconst state = new MemoryState();\n",[7401],{"type":134,"tag":204,"props":7402,"children":7403},{"__ignoreMap":312},[7404,7445,7452],{"type":134,"tag":318,"props":7405,"children":7406},{"class":320,"line":321},[7407,7411,7415,7420,7424,7428,7432,7437,7441],{"type":134,"tag":318,"props":7408,"children":7409},{"style":644},[7410],{"type":140,"value":647},{"type":134,"tag":318,"props":7412,"children":7413},{"style":650},[7414],{"type":140,"value":653},{"type":134,"tag":318,"props":7416,"children":7417},{"style":656},[7418],{"type":140,"value":7419}," MemoryState",{"type":134,"tag":318,"props":7421,"children":7422},{"style":650},[7423],{"type":140,"value":664},{"type":134,"tag":318,"props":7425,"children":7426},{"style":644},[7427],{"type":140,"value":669},{"type":134,"tag":318,"props":7429,"children":7430},{"style":650},[7431],{"type":140,"value":674},{"type":134,"tag":318,"props":7433,"children":7434},{"style":341},[7435],{"type":140,"value":7436},"@chat-adapter\u002Fstate-memory",{"type":134,"tag":318,"props":7438,"children":7439},{"style":650},[7440],{"type":140,"value":684},{"type":134,"tag":318,"props":7442,"children":7443},{"style":650},[7444],{"type":140,"value":689},{"type":134,"tag":318,"props":7446,"children":7447},{"class":320,"line":331},[7448],{"type":134,"tag":318,"props":7449,"children":7450},{"emptyLinePlaceholder":356},[7451],{"type":140,"value":359},{"type":134,"tag":318,"props":7453,"children":7454},{"class":320,"line":352},[7455,7459,7463,7467,7471,7475,7479],{"type":134,"tag":318,"props":7456,"children":7457},{"style":702},[7458],{"type":140,"value":1123},{"type":134,"tag":318,"props":7460,"children":7461},{"style":656},[7462],{"type":140,"value":7255},{"type":134,"tag":318,"props":7464,"children":7465},{"style":650},[7466],{"type":140,"value":1133},{"type":134,"tag":318,"props":7468,"children":7469},{"style":650},[7470],{"type":140,"value":1138},{"type":134,"tag":318,"props":7472,"children":7473},{"style":771},[7474],{"type":140,"value":7419},{"type":134,"tag":318,"props":7476,"children":7477},{"style":656},[7478],{"type":140,"value":779},{"type":134,"tag":318,"props":7480,"children":7481},{"style":650},[7482],{"type":140,"value":689},{"type":134,"tag":189,"props":7484,"children":7486},{"id":7485},"webhook-setup",[7487],{"type":140,"value":7488},"Webhook Setup",{"type":134,"tag":1688,"props":7490,"children":7492},{"id":7491},"nextjs-app-router",[7493],{"type":140,"value":7494},"Next.js App Router",{"type":134,"tag":307,"props":7496,"children":7498},{"className":632,"code":7497,"language":634,"meta":312,"style":312},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fslack\u002Froute.ts\nimport { bot } from \"@\u002Flib\u002Fbot\";\nimport { after } from \"next\u002Fserver\";\n\nexport async function POST(req: Request) {\n  return bot.webhooks.slack(req, {\n    waitUntil: (p) => after(() => p),\n  });\n}\n",[7499],{"type":134,"tag":204,"props":7500,"children":7501},{"__ignoreMap":312},[7502,7510,7551,7592,7599,7646,7690,7747,7763],{"type":134,"tag":318,"props":7503,"children":7504},{"class":320,"line":321},[7505],{"type":134,"tag":318,"props":7506,"children":7507},{"style":325},[7508],{"type":140,"value":7509},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fslack\u002Froute.ts\n",{"type":134,"tag":318,"props":7511,"children":7512},{"class":320,"line":331},[7513,7517,7521,7526,7530,7534,7538,7543,7547],{"type":134,"tag":318,"props":7514,"children":7515},{"style":644},[7516],{"type":140,"value":647},{"type":134,"tag":318,"props":7518,"children":7519},{"style":650},[7520],{"type":140,"value":653},{"type":134,"tag":318,"props":7522,"children":7523},{"style":656},[7524],{"type":140,"value":7525}," bot",{"type":134,"tag":318,"props":7527,"children":7528},{"style":650},[7529],{"type":140,"value":664},{"type":134,"tag":318,"props":7531,"children":7532},{"style":644},[7533],{"type":140,"value":669},{"type":134,"tag":318,"props":7535,"children":7536},{"style":650},[7537],{"type":140,"value":674},{"type":134,"tag":318,"props":7539,"children":7540},{"style":341},[7541],{"type":140,"value":7542},"@\u002Flib\u002Fbot",{"type":134,"tag":318,"props":7544,"children":7545},{"style":650},[7546],{"type":140,"value":684},{"type":134,"tag":318,"props":7548,"children":7549},{"style":650},[7550],{"type":140,"value":689},{"type":134,"tag":318,"props":7552,"children":7553},{"class":320,"line":352},[7554,7558,7562,7567,7571,7575,7579,7584,7588],{"type":134,"tag":318,"props":7555,"children":7556},{"style":644},[7557],{"type":140,"value":647},{"type":134,"tag":318,"props":7559,"children":7560},{"style":650},[7561],{"type":140,"value":653},{"type":134,"tag":318,"props":7563,"children":7564},{"style":656},[7565],{"type":140,"value":7566}," after",{"type":134,"tag":318,"props":7568,"children":7569},{"style":650},[7570],{"type":140,"value":664},{"type":134,"tag":318,"props":7572,"children":7573},{"style":644},[7574],{"type":140,"value":669},{"type":134,"tag":318,"props":7576,"children":7577},{"style":650},[7578],{"type":140,"value":674},{"type":134,"tag":318,"props":7580,"children":7581},{"style":341},[7582],{"type":140,"value":7583},"next\u002Fserver",{"type":134,"tag":318,"props":7585,"children":7586},{"style":650},[7587],{"type":140,"value":684},{"type":134,"tag":318,"props":7589,"children":7590},{"style":650},[7591],{"type":140,"value":689},{"type":134,"tag":318,"props":7593,"children":7594},{"class":320,"line":362},[7595],{"type":134,"tag":318,"props":7596,"children":7597},{"emptyLinePlaceholder":356},[7598],{"type":140,"value":359},{"type":134,"tag":318,"props":7600,"children":7601},{"class":320,"line":371},[7602,7606,7611,7615,7620,7624,7629,7633,7638,7642],{"type":134,"tag":318,"props":7603,"children":7604},{"style":644},[7605],{"type":140,"value":763},{"type":134,"tag":318,"props":7607,"children":7608},{"style":702},[7609],{"type":140,"value":7610}," async",{"type":134,"tag":318,"props":7612,"children":7613},{"style":702},[7614],{"type":140,"value":768},{"type":134,"tag":318,"props":7616,"children":7617},{"style":771},[7618],{"type":140,"value":7619}," POST",{"type":134,"tag":318,"props":7621,"children":7622},{"style":650},[7623],{"type":140,"value":840},{"type":134,"tag":318,"props":7625,"children":7626},{"style":1404},[7627],{"type":140,"value":7628},"req",{"type":134,"tag":318,"props":7630,"children":7631},{"style":650},[7632],{"type":140,"value":715},{"type":134,"tag":318,"props":7634,"children":7635},{"style":335},[7636],{"type":140,"value":7637}," Request",{"type":134,"tag":318,"props":7639,"children":7640},{"style":650},[7641],{"type":140,"value":898},{"type":134,"tag":318,"props":7643,"children":7644},{"style":650},[7645],{"type":140,"value":784},{"type":134,"tag":318,"props":7647,"children":7648},{"class":320,"line":129},[7649,7653,7657,7661,7666,7670,7674,7678,7682,7686],{"type":134,"tag":318,"props":7650,"children":7651},{"style":644},[7652],{"type":140,"value":918},{"type":134,"tag":318,"props":7654,"children":7655},{"style":656},[7656],{"type":140,"value":7525},{"type":134,"tag":318,"props":7658,"children":7659},{"style":650},[7660],{"type":140,"value":866},{"type":134,"tag":318,"props":7662,"children":7663},{"style":656},[7664],{"type":140,"value":7665},"webhooks",{"type":134,"tag":318,"props":7667,"children":7668},{"style":650},[7669],{"type":140,"value":866},{"type":134,"tag":318,"props":7671,"children":7672},{"style":771},[7673],{"type":140,"value":24},{"type":134,"tag":318,"props":7675,"children":7676},{"style":795},[7677],{"type":140,"value":840},{"type":134,"tag":318,"props":7679,"children":7680},{"style":656},[7681],{"type":140,"value":7628},{"type":134,"tag":318,"props":7683,"children":7684},{"style":650},[7685],{"type":140,"value":1412},{"type":134,"tag":318,"props":7687,"children":7688},{"style":650},[7689],{"type":140,"value":784},{"type":134,"tag":318,"props":7691,"children":7692},{"class":320,"line":404},[7693,7698,7702,7706,7710,7714,7718,7722,7726,7730,7734,7739,7743],{"type":134,"tag":318,"props":7694,"children":7695},{"style":771},[7696],{"type":140,"value":7697},"    waitUntil",{"type":134,"tag":318,"props":7699,"children":7700},{"style":650},[7701],{"type":140,"value":715},{"type":134,"tag":318,"props":7703,"children":7704},{"style":650},[7705],{"type":140,"value":798},{"type":134,"tag":318,"props":7707,"children":7708},{"style":1404},[7709],{"type":140,"value":147},{"type":134,"tag":318,"props":7711,"children":7712},{"style":650},[7713],{"type":140,"value":898},{"type":134,"tag":318,"props":7715,"children":7716},{"style":702},[7717],{"type":140,"value":1426},{"type":134,"tag":318,"props":7719,"children":7720},{"style":771},[7721],{"type":140,"value":7566},{"type":134,"tag":318,"props":7723,"children":7724},{"style":795},[7725],{"type":140,"value":840},{"type":134,"tag":318,"props":7727,"children":7728},{"style":650},[7729],{"type":140,"value":779},{"type":134,"tag":318,"props":7731,"children":7732},{"style":702},[7733],{"type":140,"value":1426},{"type":134,"tag":318,"props":7735,"children":7736},{"style":656},[7737],{"type":140,"value":7738}," p",{"type":134,"tag":318,"props":7740,"children":7741},{"style":795},[7742],{"type":140,"value":898},{"type":134,"tag":318,"props":7744,"children":7745},{"style":650},[7746],{"type":140,"value":1180},{"type":134,"tag":318,"props":7748,"children":7749},{"class":320,"line":39},[7750,7755,7759],{"type":134,"tag":318,"props":7751,"children":7752},{"style":650},[7753],{"type":140,"value":7754},"  }",{"type":134,"tag":318,"props":7756,"children":7757},{"style":795},[7758],{"type":140,"value":898},{"type":134,"tag":318,"props":7760,"children":7761},{"style":650},[7762],{"type":140,"value":689},{"type":134,"tag":318,"props":7764,"children":7765},{"class":320,"line":437},[7766],{"type":134,"tag":318,"props":7767,"children":7768},{"style":650},[7769],{"type":140,"value":934},{"type":134,"tag":307,"props":7771,"children":7773},{"className":632,"code":7772,"language":634,"meta":312,"style":312},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Ftelegram\u002Froute.ts\nimport { bot } from \"@\u002Flib\u002Fbot\";\n\nexport async function POST(req: Request) {\n  return bot.webhooks.telegram(req);\n}\n",[7774],{"type":134,"tag":204,"props":7775,"children":7776},{"__ignoreMap":312},[7777,7785,7824,7831,7874,7917],{"type":134,"tag":318,"props":7778,"children":7779},{"class":320,"line":321},[7780],{"type":134,"tag":318,"props":7781,"children":7782},{"style":325},[7783],{"type":140,"value":7784},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Ftelegram\u002Froute.ts\n",{"type":134,"tag":318,"props":7786,"children":7787},{"class":320,"line":331},[7788,7792,7796,7800,7804,7808,7812,7816,7820],{"type":134,"tag":318,"props":7789,"children":7790},{"style":644},[7791],{"type":140,"value":647},{"type":134,"tag":318,"props":7793,"children":7794},{"style":650},[7795],{"type":140,"value":653},{"type":134,"tag":318,"props":7797,"children":7798},{"style":656},[7799],{"type":140,"value":7525},{"type":134,"tag":318,"props":7801,"children":7802},{"style":650},[7803],{"type":140,"value":664},{"type":134,"tag":318,"props":7805,"children":7806},{"style":644},[7807],{"type":140,"value":669},{"type":134,"tag":318,"props":7809,"children":7810},{"style":650},[7811],{"type":140,"value":674},{"type":134,"tag":318,"props":7813,"children":7814},{"style":341},[7815],{"type":140,"value":7542},{"type":134,"tag":318,"props":7817,"children":7818},{"style":650},[7819],{"type":140,"value":684},{"type":134,"tag":318,"props":7821,"children":7822},{"style":650},[7823],{"type":140,"value":689},{"type":134,"tag":318,"props":7825,"children":7826},{"class":320,"line":352},[7827],{"type":134,"tag":318,"props":7828,"children":7829},{"emptyLinePlaceholder":356},[7830],{"type":140,"value":359},{"type":134,"tag":318,"props":7832,"children":7833},{"class":320,"line":362},[7834,7838,7842,7846,7850,7854,7858,7862,7866,7870],{"type":134,"tag":318,"props":7835,"children":7836},{"style":644},[7837],{"type":140,"value":763},{"type":134,"tag":318,"props":7839,"children":7840},{"style":702},[7841],{"type":140,"value":7610},{"type":134,"tag":318,"props":7843,"children":7844},{"style":702},[7845],{"type":140,"value":768},{"type":134,"tag":318,"props":7847,"children":7848},{"style":771},[7849],{"type":140,"value":7619},{"type":134,"tag":318,"props":7851,"children":7852},{"style":650},[7853],{"type":140,"value":840},{"type":134,"tag":318,"props":7855,"children":7856},{"style":1404},[7857],{"type":140,"value":7628},{"type":134,"tag":318,"props":7859,"children":7860},{"style":650},[7861],{"type":140,"value":715},{"type":134,"tag":318,"props":7863,"children":7864},{"style":335},[7865],{"type":140,"value":7637},{"type":134,"tag":318,"props":7867,"children":7868},{"style":650},[7869],{"type":140,"value":898},{"type":134,"tag":318,"props":7871,"children":7872},{"style":650},[7873],{"type":140,"value":784},{"type":134,"tag":318,"props":7875,"children":7876},{"class":320,"line":371},[7877,7881,7885,7889,7893,7897,7901,7905,7909,7913],{"type":134,"tag":318,"props":7878,"children":7879},{"style":644},[7880],{"type":140,"value":918},{"type":134,"tag":318,"props":7882,"children":7883},{"style":656},[7884],{"type":140,"value":7525},{"type":134,"tag":318,"props":7886,"children":7887},{"style":650},[7888],{"type":140,"value":866},{"type":134,"tag":318,"props":7890,"children":7891},{"style":656},[7892],{"type":140,"value":7665},{"type":134,"tag":318,"props":7894,"children":7895},{"style":650},[7896],{"type":140,"value":866},{"type":134,"tag":318,"props":7898,"children":7899},{"style":771},[7900],{"type":140,"value":6380},{"type":134,"tag":318,"props":7902,"children":7903},{"style":795},[7904],{"type":140,"value":840},{"type":134,"tag":318,"props":7906,"children":7907},{"style":656},[7908],{"type":140,"value":7628},{"type":134,"tag":318,"props":7910,"children":7911},{"style":795},[7912],{"type":140,"value":898},{"type":134,"tag":318,"props":7914,"children":7915},{"style":650},[7916],{"type":140,"value":689},{"type":134,"tag":318,"props":7918,"children":7919},{"class":320,"line":129},[7920],{"type":134,"tag":318,"props":7921,"children":7922},{"style":650},[7923],{"type":140,"value":934},{"type":134,"tag":1688,"props":7925,"children":7927},{"id":7926},"pages-router",[7928],{"type":140,"value":7929},"Pages Router",{"type":134,"tag":307,"props":7931,"children":7933},{"className":632,"code":7932,"language":634,"meta":312,"style":312},"\u002F\u002F pages\u002Fapi\u002Fbot.ts\nexport default async function handler(req, res) {\n  const response = await bot.webhooks.slack(req);\n  res.status(response.status).send(await response.text());\n}\n",[7934],{"type":134,"tag":204,"props":7935,"children":7936},{"__ignoreMap":312},[7937,7945,7995,8052,8128],{"type":134,"tag":318,"props":7938,"children":7939},{"class":320,"line":321},[7940],{"type":134,"tag":318,"props":7941,"children":7942},{"style":325},[7943],{"type":140,"value":7944},"\u002F\u002F pages\u002Fapi\u002Fbot.ts\n",{"type":134,"tag":318,"props":7946,"children":7947},{"class":320,"line":331},[7948,7952,7957,7961,7965,7970,7974,7978,7982,7987,7991],{"type":134,"tag":318,"props":7949,"children":7950},{"style":644},[7951],{"type":140,"value":763},{"type":134,"tag":318,"props":7953,"children":7954},{"style":644},[7955],{"type":140,"value":7956}," default",{"type":134,"tag":318,"props":7958,"children":7959},{"style":702},[7960],{"type":140,"value":7610},{"type":134,"tag":318,"props":7962,"children":7963},{"style":702},[7964],{"type":140,"value":768},{"type":134,"tag":318,"props":7966,"children":7967},{"style":771},[7968],{"type":140,"value":7969}," handler",{"type":134,"tag":318,"props":7971,"children":7972},{"style":650},[7973],{"type":140,"value":840},{"type":134,"tag":318,"props":7975,"children":7976},{"style":1404},[7977],{"type":140,"value":7628},{"type":134,"tag":318,"props":7979,"children":7980},{"style":650},[7981],{"type":140,"value":1412},{"type":134,"tag":318,"props":7983,"children":7984},{"style":1404},[7985],{"type":140,"value":7986}," res",{"type":134,"tag":318,"props":7988,"children":7989},{"style":650},[7990],{"type":140,"value":898},{"type":134,"tag":318,"props":7992,"children":7993},{"style":650},[7994],{"type":140,"value":784},{"type":134,"tag":318,"props":7996,"children":7997},{"class":320,"line":352},[7998,8003,8008,8012,8016,8020,8024,8028,8032,8036,8040,8044,8048],{"type":134,"tag":318,"props":7999,"children":8000},{"style":702},[8001],{"type":140,"value":8002},"  const",{"type":134,"tag":318,"props":8004,"children":8005},{"style":656},[8006],{"type":140,"value":8007}," response",{"type":134,"tag":318,"props":8009,"children":8010},{"style":650},[8011],{"type":140,"value":831},{"type":134,"tag":318,"props":8013,"children":8014},{"style":644},[8015],{"type":140,"value":3359},{"type":134,"tag":318,"props":8017,"children":8018},{"style":656},[8019],{"type":140,"value":7525},{"type":134,"tag":318,"props":8021,"children":8022},{"style":650},[8023],{"type":140,"value":866},{"type":134,"tag":318,"props":8025,"children":8026},{"style":656},[8027],{"type":140,"value":7665},{"type":134,"tag":318,"props":8029,"children":8030},{"style":650},[8031],{"type":140,"value":866},{"type":134,"tag":318,"props":8033,"children":8034},{"style":771},[8035],{"type":140,"value":24},{"type":134,"tag":318,"props":8037,"children":8038},{"style":795},[8039],{"type":140,"value":840},{"type":134,"tag":318,"props":8041,"children":8042},{"style":656},[8043],{"type":140,"value":7628},{"type":134,"tag":318,"props":8045,"children":8046},{"style":795},[8047],{"type":140,"value":898},{"type":134,"tag":318,"props":8049,"children":8050},{"style":650},[8051],{"type":140,"value":689},{"type":134,"tag":318,"props":8053,"children":8054},{"class":320,"line":362},[8055,8060,8064,8069,8073,8078,8082,8086,8090,8094,8099,8103,8107,8111,8115,8119,8124],{"type":134,"tag":318,"props":8056,"children":8057},{"style":656},[8058],{"type":140,"value":8059},"  res",{"type":134,"tag":318,"props":8061,"children":8062},{"style":650},[8063],{"type":140,"value":866},{"type":134,"tag":318,"props":8065,"children":8066},{"style":771},[8067],{"type":140,"value":8068},"status",{"type":134,"tag":318,"props":8070,"children":8071},{"style":795},[8072],{"type":140,"value":840},{"type":134,"tag":318,"props":8074,"children":8075},{"style":656},[8076],{"type":140,"value":8077},"response",{"type":134,"tag":318,"props":8079,"children":8080},{"style":650},[8081],{"type":140,"value":866},{"type":134,"tag":318,"props":8083,"children":8084},{"style":656},[8085],{"type":140,"value":8068},{"type":134,"tag":318,"props":8087,"children":8088},{"style":795},[8089],{"type":140,"value":898},{"type":134,"tag":318,"props":8091,"children":8092},{"style":650},[8093],{"type":140,"value":866},{"type":134,"tag":318,"props":8095,"children":8096},{"style":771},[8097],{"type":140,"value":8098},"send",{"type":134,"tag":318,"props":8100,"children":8101},{"style":795},[8102],{"type":140,"value":840},{"type":134,"tag":318,"props":8104,"children":8105},{"style":644},[8106],{"type":140,"value":3404},{"type":134,"tag":318,"props":8108,"children":8109},{"style":656},[8110],{"type":140,"value":8007},{"type":134,"tag":318,"props":8112,"children":8113},{"style":650},[8114],{"type":140,"value":866},{"type":134,"tag":318,"props":8116,"children":8117},{"style":771},[8118],{"type":140,"value":140},{"type":134,"tag":318,"props":8120,"children":8121},{"style":795},[8122],{"type":140,"value":8123},"())",{"type":134,"tag":318,"props":8125,"children":8126},{"style":650},[8127],{"type":140,"value":689},{"type":134,"tag":318,"props":8129,"children":8130},{"class":320,"line":371},[8131],{"type":134,"tag":318,"props":8132,"children":8133},{"style":650},[8134],{"type":140,"value":934},{"type":134,"tag":189,"props":8136,"children":8138},{"id":8137},"integration-patterns",[8139],{"type":140,"value":8140},"Integration Patterns",{"type":134,"tag":1688,"props":8142,"children":8144},{"id":8143},"out-of-thread-routing-with-opendm-and-channel",[8145,8147,8152,8153],{"type":140,"value":8146},"Out-of-thread routing with ",{"type":134,"tag":204,"props":8148,"children":8150},{"className":8149},[],[8151],{"type":140,"value":2063},{"type":140,"value":2093},{"type":134,"tag":204,"props":8154,"children":8156},{"className":8155},[],[8157],{"type":140,"value":2074},{"type":134,"tag":307,"props":8159,"children":8161},{"className":632,"code":8160,"language":634,"meta":312,"style":312},"bot.onAction(\"handoff\", async (event) => {\n  const dm = await bot.openDM(event.user.id);\n  await dm.post(\"A human will follow up shortly.\");\n\n  const ops = bot.channel(\"ops-alerts\");\n  await ops.post(`Escalated by ${event.user.fullName}`);\n});\n",[8162],{"type":134,"tag":204,"props":8163,"children":8164},{"__ignoreMap":312},[8165,8225,8291,8335,8342,8395,8463],{"type":134,"tag":318,"props":8166,"children":8167},{"class":320,"line":321},[8168,8172,8176,8180,8184,8188,8193,8197,8201,8205,8209,8213,8217,8221],{"type":134,"tag":318,"props":8169,"children":8170},{"style":656},[8171],{"type":140,"value":118},{"type":134,"tag":318,"props":8173,"children":8174},{"style":650},[8175],{"type":140,"value":866},{"type":134,"tag":318,"props":8177,"children":8178},{"style":771},[8179],{"type":140,"value":3865},{"type":134,"tag":318,"props":8181,"children":8182},{"style":656},[8183],{"type":140,"value":840},{"type":134,"tag":318,"props":8185,"children":8186},{"style":650},[8187],{"type":140,"value":684},{"type":134,"tag":318,"props":8189,"children":8190},{"style":341},[8191],{"type":140,"value":8192},"handoff",{"type":134,"tag":318,"props":8194,"children":8195},{"style":650},[8196],{"type":140,"value":684},{"type":134,"tag":318,"props":8198,"children":8199},{"style":650},[8200],{"type":140,"value":1412},{"type":134,"tag":318,"props":8202,"children":8203},{"style":702},[8204],{"type":140,"value":7610},{"type":134,"tag":318,"props":8206,"children":8207},{"style":650},[8208],{"type":140,"value":798},{"type":134,"tag":318,"props":8210,"children":8211},{"style":1404},[8212],{"type":140,"value":3736},{"type":134,"tag":318,"props":8214,"children":8215},{"style":650},[8216],{"type":140,"value":898},{"type":134,"tag":318,"props":8218,"children":8219},{"style":702},[8220],{"type":140,"value":1426},{"type":134,"tag":318,"props":8222,"children":8223},{"style":650},[8224],{"type":140,"value":784},{"type":134,"tag":318,"props":8226,"children":8227},{"class":320,"line":331},[8228,8232,8237,8241,8245,8249,8253,8258,8262,8266,8270,8274,8278,8283,8287],{"type":134,"tag":318,"props":8229,"children":8230},{"style":702},[8231],{"type":140,"value":8002},{"type":134,"tag":318,"props":8233,"children":8234},{"style":656},[8235],{"type":140,"value":8236}," dm",{"type":134,"tag":318,"props":8238,"children":8239},{"style":650},[8240],{"type":140,"value":831},{"type":134,"tag":318,"props":8242,"children":8243},{"style":644},[8244],{"type":140,"value":3359},{"type":134,"tag":318,"props":8246,"children":8247},{"style":656},[8248],{"type":140,"value":7525},{"type":134,"tag":318,"props":8250,"children":8251},{"style":650},[8252],{"type":140,"value":866},{"type":134,"tag":318,"props":8254,"children":8255},{"style":771},[8256],{"type":140,"value":8257},"openDM",{"type":134,"tag":318,"props":8259,"children":8260},{"style":795},[8261],{"type":140,"value":840},{"type":134,"tag":318,"props":8263,"children":8264},{"style":656},[8265],{"type":140,"value":3736},{"type":134,"tag":318,"props":8267,"children":8268},{"style":650},[8269],{"type":140,"value":866},{"type":134,"tag":318,"props":8271,"children":8272},{"style":656},[8273],{"type":140,"value":3806},{"type":134,"tag":318,"props":8275,"children":8276},{"style":650},[8277],{"type":140,"value":866},{"type":134,"tag":318,"props":8279,"children":8280},{"style":656},[8281],{"type":140,"value":8282},"id",{"type":134,"tag":318,"props":8284,"children":8285},{"style":795},[8286],{"type":140,"value":898},{"type":134,"tag":318,"props":8288,"children":8289},{"style":650},[8290],{"type":140,"value":689},{"type":134,"tag":318,"props":8292,"children":8293},{"class":320,"line":352},[8294,8298,8302,8306,8310,8314,8318,8323,8327,8331],{"type":134,"tag":318,"props":8295,"children":8296},{"style":644},[8297],{"type":140,"value":1439},{"type":134,"tag":318,"props":8299,"children":8300},{"style":656},[8301],{"type":140,"value":8236},{"type":134,"tag":318,"props":8303,"children":8304},{"style":650},[8305],{"type":140,"value":866},{"type":134,"tag":318,"props":8307,"children":8308},{"style":771},[8309],{"type":140,"value":1482},{"type":134,"tag":318,"props":8311,"children":8312},{"style":795},[8313],{"type":140,"value":840},{"type":134,"tag":318,"props":8315,"children":8316},{"style":650},[8317],{"type":140,"value":684},{"type":134,"tag":318,"props":8319,"children":8320},{"style":341},[8321],{"type":140,"value":8322},"A human will follow up shortly.",{"type":134,"tag":318,"props":8324,"children":8325},{"style":650},[8326],{"type":140,"value":684},{"type":134,"tag":318,"props":8328,"children":8329},{"style":795},[8330],{"type":140,"value":898},{"type":134,"tag":318,"props":8332,"children":8333},{"style":650},[8334],{"type":140,"value":689},{"type":134,"tag":318,"props":8336,"children":8337},{"class":320,"line":362},[8338],{"type":134,"tag":318,"props":8339,"children":8340},{"emptyLinePlaceholder":356},[8341],{"type":140,"value":359},{"type":134,"tag":318,"props":8343,"children":8344},{"class":320,"line":371},[8345,8349,8354,8358,8362,8366,8370,8374,8378,8383,8387,8391],{"type":134,"tag":318,"props":8346,"children":8347},{"style":702},[8348],{"type":140,"value":8002},{"type":134,"tag":318,"props":8350,"children":8351},{"style":656},[8352],{"type":140,"value":8353}," ops",{"type":134,"tag":318,"props":8355,"children":8356},{"style":650},[8357],{"type":140,"value":831},{"type":134,"tag":318,"props":8359,"children":8360},{"style":656},[8361],{"type":140,"value":7525},{"type":134,"tag":318,"props":8363,"children":8364},{"style":650},[8365],{"type":140,"value":866},{"type":134,"tag":318,"props":8367,"children":8368},{"style":771},[8369],{"type":140,"value":3446},{"type":134,"tag":318,"props":8371,"children":8372},{"style":795},[8373],{"type":140,"value":840},{"type":134,"tag":318,"props":8375,"children":8376},{"style":650},[8377],{"type":140,"value":684},{"type":134,"tag":318,"props":8379,"children":8380},{"style":341},[8381],{"type":140,"value":8382},"ops-alerts",{"type":134,"tag":318,"props":8384,"children":8385},{"style":650},[8386],{"type":140,"value":684},{"type":134,"tag":318,"props":8388,"children":8389},{"style":795},[8390],{"type":140,"value":898},{"type":134,"tag":318,"props":8392,"children":8393},{"style":650},[8394],{"type":140,"value":689},{"type":134,"tag":318,"props":8396,"children":8397},{"class":320,"line":129},[8398,8402,8406,8410,8414,8418,8422,8427,8431,8435,8439,8443,8447,8451,8455,8459],{"type":134,"tag":318,"props":8399,"children":8400},{"style":644},[8401],{"type":140,"value":1439},{"type":134,"tag":318,"props":8403,"children":8404},{"style":656},[8405],{"type":140,"value":8353},{"type":134,"tag":318,"props":8407,"children":8408},{"style":650},[8409],{"type":140,"value":866},{"type":134,"tag":318,"props":8411,"children":8412},{"style":771},[8413],{"type":140,"value":1482},{"type":134,"tag":318,"props":8415,"children":8416},{"style":795},[8417],{"type":140,"value":840},{"type":134,"tag":318,"props":8419,"children":8420},{"style":650},[8421],{"type":140,"value":1491},{"type":134,"tag":318,"props":8423,"children":8424},{"style":341},[8425],{"type":140,"value":8426},"Escalated by ",{"type":134,"tag":318,"props":8428,"children":8429},{"style":650},[8430],{"type":140,"value":1501},{"type":134,"tag":318,"props":8432,"children":8433},{"style":656},[8434],{"type":140,"value":3736},{"type":134,"tag":318,"props":8436,"children":8437},{"style":650},[8438],{"type":140,"value":866},{"type":134,"tag":318,"props":8440,"children":8441},{"style":656},[8442],{"type":140,"value":3806},{"type":134,"tag":318,"props":8444,"children":8445},{"style":650},[8446],{"type":140,"value":866},{"type":134,"tag":318,"props":8448,"children":8449},{"style":656},[8450],{"type":140,"value":3815},{"type":134,"tag":318,"props":8452,"children":8453},{"style":650},[8454],{"type":140,"value":1519},{"type":134,"tag":318,"props":8456,"children":8457},{"style":795},[8458],{"type":140,"value":898},{"type":134,"tag":318,"props":8460,"children":8461},{"style":650},[8462],{"type":140,"value":689},{"type":134,"tag":318,"props":8464,"children":8465},{"class":320,"line":404},[8466,8470,8474],{"type":134,"tag":318,"props":8467,"children":8468},{"style":650},[8469],{"type":140,"value":1356},{"type":134,"tag":318,"props":8471,"children":8472},{"style":656},[8473],{"type":140,"value":898},{"type":134,"tag":318,"props":8475,"children":8476},{"style":650},[8477],{"type":140,"value":689},{"type":134,"tag":1688,"props":8479,"children":8481},{"id":8480},"workflow-safe-serialization-with-registersingleton-and-reviver",[8482,8484,8490,8491],{"type":140,"value":8483},"Workflow-safe serialization with ",{"type":134,"tag":204,"props":8485,"children":8487},{"className":8486},[],[8488],{"type":140,"value":8489},"registerSingleton()",{"type":140,"value":2093},{"type":134,"tag":204,"props":8492,"children":8494},{"className":8493},[],[8495],{"type":140,"value":8496},"reviver()",{"type":134,"tag":307,"props":8498,"children":8500},{"className":632,"code":8499,"language":634,"meta":312,"style":312},"bot.registerSingleton();\n\nconst serialized = JSON.stringify({ thread });\nconst revived = JSON.parse(serialized, bot.reviver());\nawait revived.thread.post(\"Resumed workflow step\");\n",[8501],{"type":134,"tag":204,"props":8502,"children":8503},{"__ignoreMap":312},[8504,8528,8535,8589,8648],{"type":134,"tag":318,"props":8505,"children":8506},{"class":320,"line":321},[8507,8511,8515,8520,8524],{"type":134,"tag":318,"props":8508,"children":8509},{"style":656},[8510],{"type":140,"value":118},{"type":134,"tag":318,"props":8512,"children":8513},{"style":650},[8514],{"type":140,"value":866},{"type":134,"tag":318,"props":8516,"children":8517},{"style":771},[8518],{"type":140,"value":8519},"registerSingleton",{"type":134,"tag":318,"props":8521,"children":8522},{"style":656},[8523],{"type":140,"value":779},{"type":134,"tag":318,"props":8525,"children":8526},{"style":650},[8527],{"type":140,"value":689},{"type":134,"tag":318,"props":8529,"children":8530},{"class":320,"line":331},[8531],{"type":134,"tag":318,"props":8532,"children":8533},{"emptyLinePlaceholder":356},[8534],{"type":140,"value":359},{"type":134,"tag":318,"props":8536,"children":8537},{"class":320,"line":352},[8538,8542,8547,8551,8556,8560,8564,8568,8572,8577,8581,8585],{"type":134,"tag":318,"props":8539,"children":8540},{"style":702},[8541],{"type":140,"value":1123},{"type":134,"tag":318,"props":8543,"children":8544},{"style":656},[8545],{"type":140,"value":8546}," serialized ",{"type":134,"tag":318,"props":8548,"children":8549},{"style":650},[8550],{"type":140,"value":1133},{"type":134,"tag":318,"props":8552,"children":8553},{"style":656},[8554],{"type":140,"value":8555}," JSON",{"type":134,"tag":318,"props":8557,"children":8558},{"style":650},[8559],{"type":140,"value":866},{"type":134,"tag":318,"props":8561,"children":8562},{"style":771},[8563],{"type":140,"value":5952},{"type":134,"tag":318,"props":8565,"children":8566},{"style":656},[8567],{"type":140,"value":840},{"type":134,"tag":318,"props":8569,"children":8570},{"style":650},[8571],{"type":140,"value":5961},{"type":134,"tag":318,"props":8573,"children":8574},{"style":656},[8575],{"type":140,"value":8576}," thread ",{"type":134,"tag":318,"props":8578,"children":8579},{"style":650},[8580],{"type":140,"value":1356},{"type":134,"tag":318,"props":8582,"children":8583},{"style":656},[8584],{"type":140,"value":898},{"type":134,"tag":318,"props":8586,"children":8587},{"style":650},[8588],{"type":140,"value":689},{"type":134,"tag":318,"props":8590,"children":8591},{"class":320,"line":362},[8592,8596,8601,8605,8609,8613,8618,8623,8627,8631,8635,8640,8644],{"type":134,"tag":318,"props":8593,"children":8594},{"style":702},[8595],{"type":140,"value":1123},{"type":134,"tag":318,"props":8597,"children":8598},{"style":656},[8599],{"type":140,"value":8600}," revived ",{"type":134,"tag":318,"props":8602,"children":8603},{"style":650},[8604],{"type":140,"value":1133},{"type":134,"tag":318,"props":8606,"children":8607},{"style":656},[8608],{"type":140,"value":8555},{"type":134,"tag":318,"props":8610,"children":8611},{"style":650},[8612],{"type":140,"value":866},{"type":134,"tag":318,"props":8614,"children":8615},{"style":771},[8616],{"type":140,"value":8617},"parse",{"type":134,"tag":318,"props":8619,"children":8620},{"style":656},[8621],{"type":140,"value":8622},"(serialized",{"type":134,"tag":318,"props":8624,"children":8625},{"style":650},[8626],{"type":140,"value":1412},{"type":134,"tag":318,"props":8628,"children":8629},{"style":656},[8630],{"type":140,"value":7525},{"type":134,"tag":318,"props":8632,"children":8633},{"style":650},[8634],{"type":140,"value":866},{"type":134,"tag":318,"props":8636,"children":8637},{"style":771},[8638],{"type":140,"value":8639},"reviver",{"type":134,"tag":318,"props":8641,"children":8642},{"style":656},[8643],{"type":140,"value":8123},{"type":134,"tag":318,"props":8645,"children":8646},{"style":650},[8647],{"type":140,"value":689},{"type":134,"tag":318,"props":8649,"children":8650},{"class":320,"line":371},[8651,8655,8660,8664,8668,8672,8676,8680,8684,8689,8693,8697],{"type":134,"tag":318,"props":8652,"children":8653},{"style":644},[8654],{"type":140,"value":3404},{"type":134,"tag":318,"props":8656,"children":8657},{"style":656},[8658],{"type":140,"value":8659}," revived",{"type":134,"tag":318,"props":8661,"children":8662},{"style":650},[8663],{"type":140,"value":866},{"type":134,"tag":318,"props":8665,"children":8666},{"style":656},[8667],{"type":140,"value":1407},{"type":134,"tag":318,"props":8669,"children":8670},{"style":650},[8671],{"type":140,"value":866},{"type":134,"tag":318,"props":8673,"children":8674},{"style":771},[8675],{"type":140,"value":1482},{"type":134,"tag":318,"props":8677,"children":8678},{"style":656},[8679],{"type":140,"value":840},{"type":134,"tag":318,"props":8681,"children":8682},{"style":650},[8683],{"type":140,"value":684},{"type":134,"tag":318,"props":8685,"children":8686},{"style":341},[8687],{"type":140,"value":8688},"Resumed workflow step",{"type":134,"tag":318,"props":8690,"children":8691},{"style":650},[8692],{"type":140,"value":684},{"type":134,"tag":318,"props":8694,"children":8695},{"style":656},[8696],{"type":140,"value":898},{"type":134,"tag":318,"props":8698,"children":8699},{"style":650},[8700],{"type":140,"value":689},{"type":134,"tag":1688,"props":8702,"children":8704},{"id":8703},"slack-oauth-callback-handling",[8705],{"type":140,"value":8706},"Slack OAuth callback handling",{"type":134,"tag":307,"props":8708,"children":8710},{"className":632,"code":8709,"language":634,"meta":312,"style":312},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fslack\u002Foauth\u002Fcallback\u002Froute.ts\nimport { bot } from \"@\u002Flib\u002Fbot\";\n\nexport async function GET(req: Request) {\n  return bot.oauth.slack.callback(req);\n}\n",[8711],{"type":134,"tag":204,"props":8712,"children":8713},{"__ignoreMap":312},[8714,8722,8761,8768,8812,8865],{"type":134,"tag":318,"props":8715,"children":8716},{"class":320,"line":321},[8717],{"type":134,"tag":318,"props":8718,"children":8719},{"style":325},[8720],{"type":140,"value":8721},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fslack\u002Foauth\u002Fcallback\u002Froute.ts\n",{"type":134,"tag":318,"props":8723,"children":8724},{"class":320,"line":331},[8725,8729,8733,8737,8741,8745,8749,8753,8757],{"type":134,"tag":318,"props":8726,"children":8727},{"style":644},[8728],{"type":140,"value":647},{"type":134,"tag":318,"props":8730,"children":8731},{"style":650},[8732],{"type":140,"value":653},{"type":134,"tag":318,"props":8734,"children":8735},{"style":656},[8736],{"type":140,"value":7525},{"type":134,"tag":318,"props":8738,"children":8739},{"style":650},[8740],{"type":140,"value":664},{"type":134,"tag":318,"props":8742,"children":8743},{"style":644},[8744],{"type":140,"value":669},{"type":134,"tag":318,"props":8746,"children":8747},{"style":650},[8748],{"type":140,"value":674},{"type":134,"tag":318,"props":8750,"children":8751},{"style":341},[8752],{"type":140,"value":7542},{"type":134,"tag":318,"props":8754,"children":8755},{"style":650},[8756],{"type":140,"value":684},{"type":134,"tag":318,"props":8758,"children":8759},{"style":650},[8760],{"type":140,"value":689},{"type":134,"tag":318,"props":8762,"children":8763},{"class":320,"line":352},[8764],{"type":134,"tag":318,"props":8765,"children":8766},{"emptyLinePlaceholder":356},[8767],{"type":140,"value":359},{"type":134,"tag":318,"props":8769,"children":8770},{"class":320,"line":362},[8771,8775,8779,8783,8788,8792,8796,8800,8804,8808],{"type":134,"tag":318,"props":8772,"children":8773},{"style":644},[8774],{"type":140,"value":763},{"type":134,"tag":318,"props":8776,"children":8777},{"style":702},[8778],{"type":140,"value":7610},{"type":134,"tag":318,"props":8780,"children":8781},{"style":702},[8782],{"type":140,"value":768},{"type":134,"tag":318,"props":8784,"children":8785},{"style":771},[8786],{"type":140,"value":8787}," GET",{"type":134,"tag":318,"props":8789,"children":8790},{"style":650},[8791],{"type":140,"value":840},{"type":134,"tag":318,"props":8793,"children":8794},{"style":1404},[8795],{"type":140,"value":7628},{"type":134,"tag":318,"props":8797,"children":8798},{"style":650},[8799],{"type":140,"value":715},{"type":134,"tag":318,"props":8801,"children":8802},{"style":335},[8803],{"type":140,"value":7637},{"type":134,"tag":318,"props":8805,"children":8806},{"style":650},[8807],{"type":140,"value":898},{"type":134,"tag":318,"props":8809,"children":8810},{"style":650},[8811],{"type":140,"value":784},{"type":134,"tag":318,"props":8813,"children":8814},{"class":320,"line":371},[8815,8819,8823,8827,8832,8836,8840,8844,8849,8853,8857,8861],{"type":134,"tag":318,"props":8816,"children":8817},{"style":644},[8818],{"type":140,"value":918},{"type":134,"tag":318,"props":8820,"children":8821},{"style":656},[8822],{"type":140,"value":7525},{"type":134,"tag":318,"props":8824,"children":8825},{"style":650},[8826],{"type":140,"value":866},{"type":134,"tag":318,"props":8828,"children":8829},{"style":656},[8830],{"type":140,"value":8831},"oauth",{"type":134,"tag":318,"props":8833,"children":8834},{"style":650},[8835],{"type":140,"value":866},{"type":134,"tag":318,"props":8837,"children":8838},{"style":656},[8839],{"type":140,"value":24},{"type":134,"tag":318,"props":8841,"children":8842},{"style":650},[8843],{"type":140,"value":866},{"type":134,"tag":318,"props":8845,"children":8846},{"style":771},[8847],{"type":140,"value":8848},"callback",{"type":134,"tag":318,"props":8850,"children":8851},{"style":795},[8852],{"type":140,"value":840},{"type":134,"tag":318,"props":8854,"children":8855},{"style":656},[8856],{"type":140,"value":7628},{"type":134,"tag":318,"props":8858,"children":8859},{"style":795},[8860],{"type":140,"value":898},{"type":134,"tag":318,"props":8862,"children":8863},{"style":650},[8864],{"type":140,"value":689},{"type":134,"tag":318,"props":8866,"children":8867},{"class":320,"line":129},[8868],{"type":134,"tag":318,"props":8869,"children":8870},{"style":650},[8871],{"type":140,"value":934},{"type":134,"tag":189,"props":8873,"children":8875},{"id":8874},"gotchas",[8876],{"type":140,"value":8877},"Gotchas",{"type":134,"tag":1688,"props":8879,"children":8881},{"id":8880},"routing",[8882],{"type":140,"value":8883},"Routing",{"type":134,"tag":8885,"props":8886,"children":8887},"ol",{},[8888,8906,8918,8935,8940],{"type":134,"tag":200,"props":8889,"children":8890},{},[8891,8896,8898,8904],{"type":134,"tag":204,"props":8892,"children":8894},{"className":8893},[],[8895],{"type":140,"value":123},{"type":140,"value":8897}," only fires for unsubscribed threads; call ",{"type":134,"tag":204,"props":8899,"children":8901},{"className":8900},[],[8902],{"type":140,"value":8903},"thread.subscribe()",{"type":140,"value":8905}," to receive follow-ups.",{"type":134,"tag":200,"props":8907,"children":8908},{},[8909,8911,8917],{"type":140,"value":8910},"DMs are treated as direct intent and set ",{"type":134,"tag":204,"props":8912,"children":8914},{"className":8913},[],[8915],{"type":140,"value":8916},"message.isMention = true",{"type":140,"value":866},{"type":134,"tag":200,"props":8919,"children":8920},{},[8921,8926,8928,8933],{"type":134,"tag":204,"props":8922,"children":8924},{"className":8923},[],[8925],{"type":140,"value":3642},{"type":140,"value":8927}," only applies before subscription; use ",{"type":134,"tag":204,"props":8929,"children":8931},{"className":8930},[],[8932],{"type":140,"value":124},{"type":140,"value":8934}," after subscribe.",{"type":134,"tag":200,"props":8936,"children":8937},{},[8938],{"type":140,"value":8939},"Catch-all and filtered handlers can both run; registration order determines execution order.",{"type":134,"tag":200,"props":8941,"children":8942},{},[8943,8945,8950,8951,8956],{"type":140,"value":8944},"Out-of-thread routing via ",{"type":134,"tag":204,"props":8946,"children":8948},{"className":8947},[],[8949],{"type":140,"value":2063},{"type":140,"value":600},{"type":134,"tag":204,"props":8952,"children":8954},{"className":8953},[],[8955],{"type":140,"value":2074},{"type":140,"value":8957}," needs platform permissions for DM\u002Fchannel posting.",{"type":134,"tag":1688,"props":8959,"children":8961},{"id":8960},"streaming",[8962],{"type":140,"value":8963},"Streaming",{"type":134,"tag":8885,"props":8965,"children":8966},{"start":129},[8967,8972,8985,8996,9007,9017],{"type":134,"tag":200,"props":8968,"children":8969},{},[8970],{"type":140,"value":8971},"Slack supports native streaming with real-time bold, italic, list, and other formatting rendered as the response arrives. Teams\u002FDiscord\u002FGoogle Chat\u002FTelegram use post+edit fallback.",{"type":134,"tag":200,"props":8973,"children":8974},{},[8975,8977,8983],{"type":140,"value":8976},"Fallback adapters now convert markdown to each platform's native format at every intermediate edit — users no longer see raw ",{"type":134,"tag":204,"props":8978,"children":8980},{"className":8979},[],[8981],{"type":140,"value":8982},"**bold**",{"type":140,"value":8984}," syntax during streaming.",{"type":134,"tag":200,"props":8986,"children":8987},{},[8988,8994],{"type":134,"tag":204,"props":8989,"children":8991},{"className":8990},[],[8992],{"type":140,"value":8993},"fallbackStreamingPlaceholderText: null",{"type":140,"value":8995}," disables placeholder messages on fallback adapters.",{"type":134,"tag":200,"props":8997,"children":8998},{},[8999,9005],{"type":134,"tag":204,"props":9000,"children":9002},{"className":9001},[],[9003],{"type":140,"value":9004},"streamingUpdateIntervalMs",{"type":140,"value":9006}," too low can trigger rate limits on post+edit adapters.",{"type":134,"tag":200,"props":9008,"children":9009},{},[9010,9015],{"type":134,"tag":204,"props":9011,"children":9013},{"className":9012},[],[9014],{"type":140,"value":1908},{"type":140,"value":9016}," should cover webhook retry windows to avoid duplicate responses.",{"type":134,"tag":200,"props":9018,"children":9019},{},[9020,9026],{"type":134,"tag":204,"props":9021,"children":9023},{"className":9022},[],[9024],{"type":140,"value":9025},"startTyping()",{"type":140,"value":9027}," is adapter-dependent and may no-op on platforms without typing indicators.",{"type":134,"tag":1688,"props":9029,"children":9031},{"id":9030},"adapter-specific",[9032],{"type":140,"value":9033},"Adapter-specific",{"type":134,"tag":8885,"props":9035,"children":9036},{"start":471},[9037,9058,9079,9084,9089],{"type":134,"tag":200,"props":9038,"children":9039},{},[9040,9042,9048,9050,9056],{"type":140,"value":9041},"Google Chat auth uses ",{"type":134,"tag":204,"props":9043,"children":9045},{"className":9044},[],[9046],{"type":140,"value":9047},"GOOGLE_CHAT_CREDENTIALS",{"type":140,"value":9049}," + ",{"type":134,"tag":204,"props":9051,"children":9053},{"className":9052},[],[9054],{"type":140,"value":9055},"GOOGLE_CHAT_USE_ADC",{"type":140,"value":9057},"; domain-wide delegation\u002Fimpersonation is required for some org posting scenarios.",{"type":134,"tag":200,"props":9059,"children":9060},{},[9061,9063,9069,9071,9077],{"type":140,"value":9062},"Teams requires ",{"type":134,"tag":204,"props":9064,"children":9066},{"className":9065},[],[9067],{"type":140,"value":9068},"appType",{"type":140,"value":9070}," plus ",{"type":134,"tag":204,"props":9072,"children":9074},{"className":9073},[],[9075],{"type":140,"value":9076},"TEAMS_APP_TENANT_ID",{"type":140,"value":9078},"; reactions\u002Fhistory\u002Ftyping features are limited compared with Slack.",{"type":134,"tag":200,"props":9080,"children":9081},{},[9082],{"type":140,"value":9083},"Discord content-based handlers require Message Content Intent enabled in addition to Gateway connectivity.",{"type":134,"tag":200,"props":9085,"children":9086},{},[9087],{"type":140,"value":9088},"GitHub and Linear adapters do not support interactive card actions\u002Fmodals; design around comments\u002Fstatus updates instead.",{"type":134,"tag":200,"props":9090,"children":9091},{},[9092,9094,9100,9102,9108,9110,9116,9117,9123,9124,9129],{"type":140,"value":9093},"GitHub App installs need ",{"type":134,"tag":204,"props":9095,"children":9097},{"className":9096},[],[9098],{"type":140,"value":9099},"GITHUB_INSTALLATION_ID",{"type":140,"value":9101}," and often adapter ",{"type":134,"tag":204,"props":9103,"children":9105},{"className":9104},[],[9106],{"type":140,"value":9107},"botUserId",{"type":140,"value":9109},"; Linear OAuth setups need ",{"type":134,"tag":204,"props":9111,"children":9113},{"className":9112},[],[9114],{"type":140,"value":9115},"clientId",{"type":140,"value":3867},{"type":134,"tag":204,"props":9118,"children":9120},{"className":9119},[],[9121],{"type":140,"value":9122},"clientSecret",{"type":140,"value":3882},{"type":134,"tag":204,"props":9125,"children":9127},{"className":9126},[],[9128],{"type":140,"value":7159},{"type":140,"value":866},{"type":134,"tag":189,"props":9131,"children":9133},{"id":9132},"official-docs",[9134],{"type":140,"value":9135},"Official Docs",{"type":134,"tag":196,"props":9137,"children":9138},{},[9139,9148],{"type":134,"tag":200,"props":9140,"children":9141},{},[9142],{"type":134,"tag":166,"props":9143,"children":9145},{"href":168,"rel":9144},[170],[9146],{"type":140,"value":9147},"Chat SDK documentation",{"type":134,"tag":200,"props":9149,"children":9150},{},[9151],{"type":134,"tag":166,"props":9152,"children":9154},{"href":177,"rel":9153},[170],[9155],{"type":140,"value":9156},"GitHub: vercel\u002Fchat",{"type":134,"tag":9158,"props":9159,"children":9160},"style",{},[9161],{"type":140,"value":9162},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":9164,"total":9369},[9165,9186,9209,9226,9242,9261,9280,9296,9312,9326,9338,9353],{"slug":9166,"name":9166,"fn":9167,"description":9168,"org":9169,"tags":9170,"stars":9183,"repoUrl":9184,"updatedAt":9185},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9171,9174,9177,9180],{"name":9172,"slug":9173,"type":15},"Documents","documents",{"name":9175,"slug":9176,"type":15},"Healthcare","healthcare",{"name":9178,"slug":9179,"type":15},"Insurance","insurance",{"name":9181,"slug":9182,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":9187,"name":9187,"fn":9188,"description":9189,"org":9190,"tags":9191,"stars":9206,"repoUrl":9207,"updatedAt":9208},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9192,9195,9197,9200,9203],{"name":9193,"slug":9194,"type":15},".NET","dotnet",{"name":9196,"slug":9187,"type":15},"ASP.NET Core",{"name":9198,"slug":9199,"type":15},"Blazor","blazor",{"name":9201,"slug":9202,"type":15},"C#","csharp",{"name":9204,"slug":9205,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":9210,"name":9210,"fn":9211,"description":9212,"org":9213,"tags":9214,"stars":9206,"repoUrl":9207,"updatedAt":9225},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9215,9218,9221,9224],{"name":9216,"slug":9217,"type":15},"Apps SDK","apps-sdk",{"name":9219,"slug":9220,"type":15},"ChatGPT","chatgpt",{"name":9222,"slug":9223,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":9227,"name":9227,"fn":9228,"description":9229,"org":9230,"tags":9231,"stars":9206,"repoUrl":9207,"updatedAt":9241},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9232,9235,9238],{"name":9233,"slug":9234,"type":15},"API Development","api-development",{"name":9236,"slug":9237,"type":15},"CLI","cli",{"name":9239,"slug":9240,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":9243,"name":9243,"fn":9244,"description":9245,"org":9246,"tags":9247,"stars":9206,"repoUrl":9207,"updatedAt":9260},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9248,9251,9254,9257],{"name":9249,"slug":9250,"type":15},"Cloudflare","cloudflare",{"name":9252,"slug":9253,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":9255,"slug":9256,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":9258,"slug":9259,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":9262,"name":9262,"fn":9263,"description":9264,"org":9265,"tags":9266,"stars":9206,"repoUrl":9207,"updatedAt":9279},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9267,9270,9273,9276],{"name":9268,"slug":9269,"type":15},"Productivity","productivity",{"name":9271,"slug":9272,"type":15},"Project Management","project-management",{"name":9274,"slug":9275,"type":15},"Strategy","strategy",{"name":9277,"slug":9278,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":9281,"name":9281,"fn":9282,"description":9283,"org":9284,"tags":9285,"stars":9206,"repoUrl":9207,"updatedAt":9295},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9286,9289,9291,9294],{"name":9287,"slug":9288,"type":15},"Design","design",{"name":9290,"slug":9281,"type":15},"Figma",{"name":9292,"slug":9293,"type":15},"Frontend","frontend",{"name":9222,"slug":9223,"type":15},"2026-04-12T05:06:47.939943",{"slug":9297,"name":9297,"fn":9298,"description":9299,"org":9300,"tags":9301,"stars":9206,"repoUrl":9207,"updatedAt":9311},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9302,9303,9306,9307,9308],{"name":9287,"slug":9288,"type":15},{"name":9304,"slug":9305,"type":15},"Design System","design-system",{"name":9290,"slug":9281,"type":15},{"name":9292,"slug":9293,"type":15},{"name":9309,"slug":9310,"type":15},"UI Components","ui-components","2026-05-10T05:59:52.971881",{"slug":9313,"name":9313,"fn":9314,"description":9315,"org":9316,"tags":9317,"stars":9206,"repoUrl":9207,"updatedAt":9325},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9318,9319,9320,9323,9324],{"name":9287,"slug":9288,"type":15},{"name":9304,"slug":9305,"type":15},{"name":9321,"slug":9322,"type":15},"Documentation","documentation",{"name":9290,"slug":9281,"type":15},{"name":9292,"slug":9293,"type":15},"2026-05-16T06:07:47.821474",{"slug":9327,"name":9327,"fn":9328,"description":9329,"org":9330,"tags":9331,"stars":9206,"repoUrl":9207,"updatedAt":9337},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9332,9333,9334,9335,9336],{"name":9287,"slug":9288,"type":15},{"name":9290,"slug":9281,"type":15},{"name":9292,"slug":9293,"type":15},{"name":9309,"slug":9310,"type":15},{"name":9204,"slug":9205,"type":15},"2026-05-16T06:07:40.583615",{"slug":9339,"name":9339,"fn":9340,"description":9341,"org":9342,"tags":9343,"stars":9206,"repoUrl":9207,"updatedAt":9352},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9344,9347,9348,9351],{"name":9345,"slug":9346,"type":15},"Animation","animation",{"name":9239,"slug":9240,"type":15},{"name":9349,"slug":9350,"type":15},"Creative","creative",{"name":9287,"slug":9288,"type":15},"2026-05-02T05:31:48.48485",{"slug":9354,"name":9354,"fn":9355,"description":9356,"org":9357,"tags":9358,"stars":9206,"repoUrl":9207,"updatedAt":9368},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9359,9360,9361,9364,9367],{"name":9349,"slug":9350,"type":15},{"name":9287,"slug":9288,"type":15},{"name":9362,"slug":9363,"type":15},"Image Generation","image-generation",{"name":9365,"slug":9366,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675,{"items":9371,"total":9483},[9372,9389,9405,9417,9435,9451,9471],{"slug":9373,"name":9373,"fn":9374,"description":9375,"org":9376,"tags":9377,"stars":25,"repoUrl":26,"updatedAt":9388},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9378,9381,9384,9387],{"name":9379,"slug":9380,"type":15},"Accessibility","accessibility",{"name":9382,"slug":9383,"type":15},"Charts","charts",{"name":9385,"slug":9386,"type":15},"Data Visualization","data-visualization",{"name":9287,"slug":9288,"type":15},"2026-06-30T19:00:57.102",{"slug":9390,"name":9390,"fn":9391,"description":9392,"org":9393,"tags":9394,"stars":25,"repoUrl":26,"updatedAt":9404},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9395,9398,9401],{"name":9396,"slug":9397,"type":15},"Agents","agents",{"name":9399,"slug":9400,"type":15},"Browser Automation","browser-automation",{"name":9402,"slug":9403,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":9406,"name":9406,"fn":9407,"description":9408,"org":9409,"tags":9410,"stars":25,"repoUrl":26,"updatedAt":9416},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9411,9412,9415],{"name":9399,"slug":9400,"type":15},{"name":9413,"slug":9414,"type":15},"Local Development","local-development",{"name":9402,"slug":9403,"type":15},"2026-04-06T18:41:17.526867",{"slug":9418,"name":9418,"fn":9419,"description":9420,"org":9421,"tags":9422,"stars":25,"repoUrl":26,"updatedAt":9434},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9423,9424,9425,9428,9431],{"name":9396,"slug":9397,"type":15},{"name":9255,"slug":9256,"type":15},{"name":9426,"slug":9427,"type":15},"SDK","sdk",{"name":9429,"slug":9430,"type":15},"Serverless","serverless",{"name":9432,"slug":9433,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":9436,"name":9436,"fn":9437,"description":9438,"org":9439,"tags":9440,"stars":25,"repoUrl":26,"updatedAt":9450},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9441,9442,9445,9448,9449],{"name":9292,"slug":9293,"type":15},{"name":9443,"slug":9444,"type":15},"React","react",{"name":9446,"slug":9447,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":9309,"slug":9310,"type":15},{"name":13,"slug":14,"type":15},"2026-04-06T18:40:59.619419",{"slug":9452,"name":9452,"fn":9453,"description":9454,"org":9455,"tags":9456,"stars":25,"repoUrl":26,"updatedAt":9470},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9457,9460,9463,9466,9469],{"name":9458,"slug":9459,"type":15},"AI Infrastructure","ai-infrastructure",{"name":9461,"slug":9462,"type":15},"Cost Optimization","cost-optimization",{"name":9464,"slug":9465,"type":15},"LLM","llm",{"name":9467,"slug":9468,"type":15},"Performance","performance",{"name":13,"slug":14,"type":15},"2026-04-06T18:40:44.377464",{"slug":9472,"name":9472,"fn":9473,"description":9474,"org":9475,"tags":9476,"stars":25,"repoUrl":26,"updatedAt":9482},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[9477,9478,9481],{"name":9461,"slug":9462,"type":15},{"name":9479,"slug":9480,"type":15},"Database","database",{"name":9464,"slug":9465,"type":15},"2026-04-06T18:41:08.513425",600]