feat: add Slack bot integration

This commit is contained in:
xmanrui 2026-08-17 14:52:30 +08:00
parent bee4c2927f
commit 7d44861a07
28 changed files with 3021 additions and 661 deletions

View file

@ -0,0 +1,11 @@
import { TOKEN_BOT_ENDPOINTS, createTokenChannelApi } from '../shared/token-api.js';
export const SLACK_RPC_CHANNEL = '/slack';
export const SLACK_ENDPOINTS = TOKEN_BOT_ENDPOINTS;
const api = createTokenChannelApi('Slack', ' Socket Mode 长连接');
export const unwrapRpcResult = api.unwrapRpcResult;
export const normalizeSnapshot = api.normalizeSnapshot;
export const presentError = api.presentError;
export { api as slackClientApi };