@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
60 lines (52 loc) • 1.41 kB
text/typescript
import { PluginItem, PluginListResponse } from '@lobehub/market-sdk';
import { PluginItemDetail } from '@lobehub/market-types';
export enum McpCategory {
All = 'all',
Business = 'business',
Developer = 'developer',
GamingEntertainment = 'gaming-entertainment',
HealthWellness = 'health-wellness',
Lifestyle = 'lifestyle',
MediaGenerate = 'media-generate',
News = 'news',
Productivity = 'productivity',
ScienceEducation = 'science-education',
Social = 'social',
StocksFinance = 'stocks-finance',
Tools = 'tools',
TravelTransport = 'travel-transport',
Weather = 'weather',
WebSearch = 'web-search',
}
export enum McpSorts {
CreatedAt = 'createdAt',
InstallCount = 'installCount',
IsFeatured = 'isFeatured',
IsValidated = 'isValidated',
RatingCount = 'ratingCount',
UpdatedAt = 'updatedAt',
}
export enum McpNavKey {
Deployment = 'deployment',
Overview = 'overview',
Related = 'related',
Schema = 'schema',
Score = 'score',
Settings = 'settings',
Version = 'version',
}
export type DiscoverMcpItem = PluginItem;
export interface McpQueryParams {
category?: string;
locale?: string;
order?: 'asc' | 'desc';
page?: number;
pageSize?: number;
q?: string;
sort?: McpSorts;
}
export type McpListResponse = PluginListResponse;
export interface DiscoverMcpDetail extends PluginItemDetail {
isClaimed?: boolean;
related: DiscoverMcpItem[];
}