UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 670 B
import{n as listBundledChannelCatalogEntries}from"../bundled-channel-catalog-read-CX1nvZIw.mjs"; //!src/plugin-sdk/chat-channel-ids.ts const BUNDLED_CHAT_CHANNEL_ENTRIES=listBundledChannelCatalogEntries();const BUNDLED_CHAT_CHANNEL_IDS=Object.freeze(BUNDLED_CHAT_CHANNEL_ENTRIES.map(e=>e.id));const BUNDLED_CHAT_CHANNEL_ENVELOPE_PREFIXES=Object.freeze((()=>{const e=/* @__PURE__ */ new Map;for(const t of BUNDLED_CHAT_CHANNEL_ENTRIES)for(const n of[t.id,t.channel.label,...t.aliases]){const t=n?.trim();const r=t?.toLocaleLowerCase(`en-US`);if(t&&r&&!e.has(r))e.set(r,t)}return[...e.values()]})());export{BUNDLED_CHAT_CHANNEL_ENVELOPE_PREFIXES,BUNDLED_CHAT_CHANNEL_IDS};