UNPKG

@downzoo/mcp-server

Version:

AI协作档案分析器 - MCP服务器,基于 Model Context Protocol 的 AI 协作档案分析服务器,专门用于分析 Bug 修复相关的聊天内容

129 lines 3.2 kB
export declare enum TechStack { FRONTEND = "frontend", BACKEND = "backend", MOBILE = "mobile", DEVOPS = "devops", DATABASE = "database", AI_ML = "ai_ml", BLOCKCHAIN = "blockchain", GAME_DEV = "game_dev", EMBEDDED = "embedded", TESTING = "testing", DESIGN = "design", OTHER = "other" } export declare enum ProblemCategory { BUG_FIX = "bug_fix", FEATURE_REQUEST = "feature_request", PERFORMANCE = "performance", SECURITY = "security", ARCHITECTURE = "architecture", CODE_REVIEW = "code_review", DEPLOYMENT = "deployment", LEARNING = "learning", TROUBLESHOOTING = "troubleshooting", OPTIMIZATION = "optimization", INTEGRATION = "integration", OTHER = "other" } export declare enum BusinessDomain { E_COMMERCE = "e_commerce", FINTECH = "fintech", HEALTHCARE = "healthcare", EDUCATION = "education", ENTERTAINMENT = "entertainment", SOCIAL_MEDIA = "social_media", PRODUCTIVITY = "productivity", GAMING = "gaming", IOT = "iot", ENTERPRISE = "enterprise", STARTUP = "startup", OPEN_SOURCE = "open_source", OTHER = "other" } export declare enum TagType { URGENT = "urgent", IMPORTANT = "important", LEARNING = "learning", RESEARCH = "research", PROTOTYPE = "prototype", PRODUCTION = "production", REFACTOR = "refactor", OPTIMIZATION = "optimization", SECURITY = "security", PERFORMANCE = "performance", BUG = "bug", FEATURE = "feature", DOCUMENTATION = "documentation", TESTING = "testing", DEPLOYMENT = "deployment" } export interface AIProviderConfig { provider: 'deepseek' | 'openai' | 'claude' | 'custom'; apiKey: string; baseUrl?: string; model?: string; temperature?: number; maxTokens?: number; } export interface TechStackAnalysis { primaryStack: TechStack; } export interface BusinessAnalysis { business: string; } export interface TagAnalysis { tags: string[]; } export interface AIThoughtAnalysis { keyQuestions: string[]; } export interface ProblemClassification { category: ProblemCategory; } export interface SummaryAnalysis { summary: string; } export interface Doc { id: string; title: string; content: string; createdAt: Date; updatedAt: Date; } export interface CreateDocRequest { title: string; content: string; } export interface ComprehensiveAnalysisResult { techStack?: TechStackAnalysis; business?: BusinessAnalysis; tags?: TagAnalysis; aiThoughts?: AIThoughtAnalysis; problems?: ProblemClassification[]; summary?: SummaryAnalysis; } export interface AIResponse { choices: { message: { content: string; }; }[]; } export interface AnalysisConfig { enableTechStack: boolean; enableBusiness: boolean; enableTags: boolean; enableAIThoughts: boolean; enableProblems: boolean; enableSummary: boolean; customPrompts?: { techStack?: string; business?: string; tags?: string; aiThoughts?: string; problems?: string; summary?: string; }; } //# sourceMappingURL=types.d.ts.map