zero-doc 1.0.4 → 1.0.6
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/README.md +1 -1
- package/dist/ai-analyzer.d.ts +4 -8
- package/dist/ai-analyzer.js +274 -263
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +86 -151
- package/dist/config.json +1 -1
- package/package.json +4 -1
- package/scripts/inject-config.js +25 -19
- package/viewer/src/App.tsx +8 -45
- package/viewer/src/components/CodeSnippet.tsx +0 -1
- package/viewer/vite.config.ts +17 -1
package/README.md
CHANGED
package/dist/ai-analyzer.d.ts
CHANGED
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
import { APIInventory } from './types';
|
|
2
2
|
export interface AIAnalyzerOptions {
|
|
3
|
-
|
|
3
|
+
apiUrl: string;
|
|
4
4
|
projectRoot: string;
|
|
5
5
|
filePatterns: string[];
|
|
6
6
|
}
|
|
7
7
|
export declare class AIAnalyzer {
|
|
8
|
-
private
|
|
9
|
-
private model;
|
|
8
|
+
private apiUrl;
|
|
10
9
|
private projectRoot;
|
|
11
10
|
private filePatterns;
|
|
12
11
|
constructor(options: AIAnalyzerOptions);
|
|
13
12
|
analyzeProject(): Promise<APIInventory>;
|
|
14
13
|
private findProjectFiles;
|
|
15
14
|
private analyzeWithAI;
|
|
16
|
-
private
|
|
15
|
+
private mapEndpoints;
|
|
17
16
|
private filterAndCleanEndpoints;
|
|
18
17
|
private detectBaseUrl;
|
|
19
18
|
private detectLanguage;
|
|
20
19
|
private detectFramework;
|
|
21
|
-
private
|
|
22
|
-
private extractProjectName;
|
|
23
|
-
private extractProjectVersion;
|
|
24
|
-
private extractProjectDescription;
|
|
20
|
+
private buildAnalysisPrompt;
|
|
25
21
|
}
|