Skip to content

🤯 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.

492 B
Raw Blame
import type { BuiltinIntervention } from '@lobechat/types';

import { McpEventsApiName } from '../../types';
import SubscribeEventIntervention from './SubscribeEvent';
import UnsubscribeEventIntervention from './UnsubscribeEvent';

export const McpEventsInterventions: Record<string, BuiltinIntervention> = {
  [McpEventsApiName.subscribeEvent]: SubscribeEventIntervention as BuiltinIntervention,
  [McpEventsApiName.unsubscribeEvent]: UnsubscribeEventIntervention as BuiltinIntervention,
};