@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.
- package/build/index.js +1 -1
- package/build/services/advanced-features-old.d.ts +45 -0
- package/build/services/advanced-features-old.d.ts.map +1 -0
- package/build/services/advanced-features-old.js +792 -0
- package/build/services/advanced-features-old.js.map +1 -0
- package/build/services/advanced-features.d.ts +16 -14
- package/build/services/advanced-features.d.ts.map +1 -1
- package/build/services/advanced-features.js +316 -474
- package/build/services/advanced-features.js.map +1 -1
- package/build/services/springboot-docs-optimized-old.d.ts +55 -0
- package/build/services/springboot-docs-optimized-old.d.ts.map +1 -0
- package/build/services/springboot-docs-optimized-old.js +588 -0
- package/build/services/springboot-docs-optimized-old.js.map +1 -0
- package/build/services/springboot-docs-optimized.d.ts +24 -20
- package/build/services/springboot-docs-optimized.d.ts.map +1 -1
- package/build/services/springboot-docs-optimized.js +170 -366
- package/build/services/springboot-docs-optimized.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
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
|
|
20
|
+
* Get Spring project details - REAL API ONLY
|
|
20
21
|
*/
|
|
21
22
|
getSpringProject(projectName: string): Promise<string>;
|
|
22
23
|
/**
|
|
23
|
-
* Get all Spring guides
|
|
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
|
|
28
|
+
* Get specific guide content - REAL API ONLY
|
|
28
29
|
*/
|
|
29
30
|
getGuide(guideId: string): Promise<string>;
|
|
30
31
|
/**
|
|
31
|
-
* Get reference documentation
|
|
32
|
+
* Get Spring reference documentation - alias for backward compatibility
|
|
32
33
|
*/
|
|
33
34
|
getReference(section: string, subsection?: string): Promise<string>;
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* Get Spring reference documentation - REAL API ONLY
|
|
36
37
|
*/
|
|
37
|
-
|
|
38
|
+
getSpringReference(section: string, subsection?: string): Promise<string>;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
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
|
-
|
|
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
|
|
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
|
|
1
|
+
{"version":3,"file":"springboot-docs-optimized.d.ts","sourceRoot":"","sources":["../../src/services/springboot-docs-optimized.ts"],"names":[],"mappings":"AAKA;;;GAGG;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;IAkD5D;;OAEG;IACG,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAqC5D;;OAEG;IACG,kBAAkB,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAmD/E;;OAEG;IACG,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAoDhD;;OAEG;IACG,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM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