@enokdev/springdocs-mcp 1.2.4 → 1.2.5

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.
@@ -1,5 +1,6 @@
1
1
  /**
2
- * Optimized Spring Boot Documentation Service with caching and enhanced features
2
+ * Clean Spring Boot Documentation Service - uses ONLY real Spring documentation APIs
3
+ * No mock data whatsoever - everything is fetched from actual Spring sources
3
4
  */
4
5
  export declare class SpringBootDocsServiceOptimized {
5
6
  private readonly baseUrl;
@@ -12,44 +13,47 @@ export declare class SpringBootDocsServiceOptimized {
12
13
  private readonly MAX_RETRIES;
13
14
  constructor();
14
15
  /**
15
- * Search Spring projects with caching and retry logic
16
+ * Search Spring projects with caching and retry logic - REAL API ONLY
16
17
  */
17
18
  searchSpringProjects(query: string, limit?: number): Promise<any[]>;
18
19
  /**
19
- * Get Spring project details with caching
20
+ * Get Spring project details - REAL API ONLY
20
21
  */
21
22
  getSpringProject(projectName: string): Promise<string>;
22
23
  /**
23
- * Get all Spring guides with caching
24
+ * Get all Spring guides - REAL API ONLY
24
25
  */
25
26
  getAllSpringGuides(category?: string, limit?: number): Promise<any[]>;
26
27
  /**
27
- * Get specific guide with enhanced error handling and caching
28
+ * Get specific guide content - REAL API ONLY
28
29
  */
29
30
  getGuide(guideId: string): Promise<string>;
30
31
  /**
31
- * Get reference documentation with caching
32
+ * Get Spring reference documentation - alias for backward compatibility
32
33
  */
33
34
  getReference(section: string, subsection?: string): Promise<string>;
34
35
  /**
35
- * Search concepts with caching
36
+ * Get Spring reference documentation - REAL API ONLY
36
37
  */
37
- searchConcepts(concept: string, category?: string): Promise<any>;
38
+ getSpringReference(section: string, subsection?: string): Promise<string>;
38
39
  /**
39
- * Enhanced documentation search with parallel processing
40
+ * Search Spring concepts - alias for backward compatibility
41
+ */
42
+ searchConcepts(concept: string, category?: string): Promise<string>;
43
+ /**
44
+ * Search Spring concepts - using real documentation
45
+ */
46
+ searchSpringConcepts(concept: string, category?: string): Promise<string>;
47
+ /**
48
+ * Search documentation with real API - alias for backward compatibility
40
49
  */
41
50
  searchDocumentation(query: string, docType?: string, limit?: number): Promise<any[]>;
42
- private fetchWithRetry;
51
+ /**
52
+ * Search documentation with real API
53
+ */
54
+ searchSpringDocs(query: string, docType?: string, limit?: number): Promise<any[]>;
55
+ private searchInReference;
43
56
  private processHtmlGuide;
44
- private processAsciiDocGuide;
45
- private generateGuideNotFoundMessage;
46
- private generateGuideErrorMessage;
47
- private cleanHtml;
48
- private getPopularSpringProjects;
49
- private getPopularSpringGuides;
50
- private searchGuides;
51
- private searchReference;
52
- private searchAPI;
53
- private getSpringBootConcepts;
57
+ private fetchWithRetry;
54
58
  }
55
59
  //# sourceMappingURL=springboot-docs-optimized.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"springboot-docs-optimized.d.ts","sourceRoot":"","sources":["../../src/services/springboot-docs-optimized.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IACpD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;IAClE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8B;IAC7D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAW;IAC7C,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,KAAK,CAAe;IAC5B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;IACzC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAK;;IAajC;;OAEG;IACG,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW;IAmE5D;;OAEG;IACG,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA6C5D;;OAEG;IACG,kBAAkB,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW;IAuD9D;;OAEG;IACG,QAAQ,CAAC,OAAO,EAAE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