@maz-ui/mcp 4.1.7-beta.2 → 4.1.7-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mcp.d.mts CHANGED
@@ -68,13 +68,45 @@ declare class DocumentationService {
68
68
  }
69
69
 
70
70
  /**
71
- * MCP server using official SDK
71
+ * MCP server for Maz-UI documentation
72
+ * Provides robust access to Vue.js components, guides, composables, directives, plugins, and helper utilities
73
+ * with fuzzy search, comprehensive indexing, and intelligent fallbacks
72
74
  */
73
75
  declare class MazUiMcpServer {
74
76
  private server;
75
77
  private documentationService;
78
+ private documentationIndex;
76
79
  constructor();
77
80
  getDocumentationService(): DocumentationService;
81
+ /**
82
+ * Build a comprehensive index of all available documentation
83
+ * This helps the AI understand what's available and how to access it
84
+ */
85
+ private buildDocumentationIndex;
86
+ /**
87
+ * Generate additional search tags based on common patterns
88
+ */
89
+ private generateSearchTags;
90
+ /**
91
+ * Determine component type for better categorization
92
+ */
93
+ private getComponentType;
94
+ /**
95
+ * Determine helper type for better categorization
96
+ */
97
+ private getHelperType;
98
+ /**
99
+ * Fuzzy search implementation
100
+ */
101
+ private fuzzySearch;
102
+ /**
103
+ * Calculate fuzzy match score
104
+ */
105
+ private calculateFuzzyScore;
106
+ /**
107
+ * Search in documentation index with fuzzy matching
108
+ */
109
+ private searchInIndex;
78
110
  private setupHandlers;
79
111
  run(): Promise<void>;
80
112
  }
package/dist/mcp.d.ts CHANGED
@@ -68,13 +68,45 @@ declare class DocumentationService {
68
68
  }
69
69
 
70
70
  /**
71
- * MCP server using official SDK
71
+ * MCP server for Maz-UI documentation
72
+ * Provides robust access to Vue.js components, guides, composables, directives, plugins, and helper utilities
73
+ * with fuzzy search, comprehensive indexing, and intelligent fallbacks
72
74
  */
73
75
  declare class MazUiMcpServer {
74
76
  private server;
75
77
  private documentationService;
78
+ private documentationIndex;
76
79
  constructor();
77
80
  getDocumentationService(): DocumentationService;
81
+ /**
82
+ * Build a comprehensive index of all available documentation
83
+ * This helps the AI understand what's available and how to access it
84
+ */
85
+ private buildDocumentationIndex;
86
+ /**
87
+ * Generate additional search tags based on common patterns
88
+ */
89
+ private generateSearchTags;
90
+ /**
91
+ * Determine component type for better categorization
92
+ */
93
+ private getComponentType;
94
+ /**
95
+ * Determine helper type for better categorization
96
+ */
97
+ private getHelperType;
98
+ /**
99
+ * Fuzzy search implementation
100
+ */
101
+ private fuzzySearch;
102
+ /**
103
+ * Calculate fuzzy match score
104
+ */
105
+ private calculateFuzzyScore;
106
+ /**
107
+ * Search in documentation index with fuzzy matching
108
+ */
109
+ private searchInIndex;
78
110
  private setupHandlers;
79
111
  run(): Promise<void>;
80
112
  }