UNPKG

mushcode-mcp-server

Version:

A specialized Model Context Protocol server for MUSHCODE development assistance. Provides AI-powered code generation, validation, optimization, and examples for MUD development.

76 lines 1.89 kB
/** * Help file processor for local MUSHCODE help files * Processes help files from the helps/ directory and adds them to the knowledge base */ import { MushcodeKnowledgeBase } from './base.js'; export interface HelpEntry { topic: string; content: string; aliases: string[]; } export declare class HelpFileProcessor { private knowledgeBase; private helpsDirectory; constructor(knowledgeBase: MushcodeKnowledgeBase, helpsDirectory?: string); /** * Process all help files in the helps directory */ processHelpFiles(): Promise<void>; /** * Process a single help file */ private processHelpFile; /** * Parse help file content into individual help entries */ private parseHelpFile; /** * Add a help entry to the knowledge base */ private addHelpEntryToKnowledgeBase; /** * Infer server type from filename */ private inferServerType; /** * Extract code examples from help content */ private extractCodeFromHelp; /** * Create a pattern from help entry if it contains command syntax */ private createPatternFromHelp; /** * Infer difficulty from help content */ private inferDifficulty; /** * Infer category from topic and content */ private inferCategory; /** * Infer pattern category */ private inferPatternCategory; /** * Extract tags from topic, content, and aliases */ private extractTags; /** * Extract related concepts */ private extractConcepts; /** * Extract template from help content */ private extractTemplate; /** * Extract parameters from help content */ private extractParameters; /** * Infer security level */ private inferSecurityLevel; } //# sourceMappingURL=help-processor.d.ts.map