🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { channelDocUrl } from '@lobechat/const';
import { PLATFORM_UNSUPPORTED_MESSAGE_APIS } from '../messageCapabilities';
import type { PlatformDefinition } from '../types';
import { WechatClientFactory } from './client';
import { schema } from './schema';
export const wechat: PlatformDefinition = {
id: 'wechat',
name: 'WeChat',
connectionMode: 'polling',
description: 'Connect a WeChat bot via iLink API',
documentation: {
setupGuideUrl: channelDocUrl('wechat'),
},
// The QR handshake writes botId / userId / botToken together, and with no
// credentials in `schema` there is no `type: 'password'` marking to separate
// them. Name the two identifiers so the connected-account panel keeps showing
// them; the token stays masked.
publicCredentialKeys: ['botId', 'userId'],
schema,
supportsMessageEdit: false,
unsupportedMessageApis: PLATFORM_UNSUPPORTED_MESSAGE_APIS.wechat,
clientFactory: new WechatClientFactory(),
};