@aiready/visualizer 0.6.19 → 0.6.20
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/graph/index.d.ts +2 -46
- package/dist/index.d.ts +1 -1
- package/package.json +4 -4
- package/web/dist/assets/index-B-9ltNIg.js +32200 -0
- package/web/dist/assets/index-B-9ltNIg.js.map +1 -0
- package/web/dist/index.html +1 -1
- package/web/package.json +2 -2
- package/web/dist/assets/index-CkabxYJ5.js +0 -29350
- package/web/dist/assets/index-CkabxYJ5.js.map +0 -1
package/dist/graph/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GraphEdge, GraphNode, Severity, GraphData as GraphData$1,
|
|
1
|
+
import { GraphEdge, GraphNode, Severity, GraphData as GraphData$1, IssueOverlay, GraphMetadata } from '@aiready/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Severity levels for issues
|
|
@@ -44,18 +44,6 @@ interface Cluster {
|
|
|
44
44
|
color?: string;
|
|
45
45
|
description?: string;
|
|
46
46
|
}
|
|
47
|
-
/**
|
|
48
|
-
* Issue overlay on the graph
|
|
49
|
-
*/
|
|
50
|
-
interface IssueOverlay {
|
|
51
|
-
id: string;
|
|
52
|
-
type: string;
|
|
53
|
-
severity: Severity;
|
|
54
|
-
nodeIds: string[];
|
|
55
|
-
edgeIds?: string[];
|
|
56
|
-
message: string;
|
|
57
|
-
details?: string;
|
|
58
|
-
}
|
|
59
47
|
/**
|
|
60
48
|
* Complete graph data structure
|
|
61
49
|
*/
|
|
@@ -66,38 +54,6 @@ interface GraphData extends GraphData$1 {
|
|
|
66
54
|
issues: IssueOverlay[];
|
|
67
55
|
metadata: GraphMetadata;
|
|
68
56
|
}
|
|
69
|
-
/**
|
|
70
|
-
* Metadata about the graph
|
|
71
|
-
*/
|
|
72
|
-
interface GraphMetadata extends GraphMetadata$1 {
|
|
73
|
-
projectName?: string;
|
|
74
|
-
timestamp: string;
|
|
75
|
-
totalFiles: number;
|
|
76
|
-
totalDependencies: number;
|
|
77
|
-
analysisTypes: string[];
|
|
78
|
-
totalLinesOfCode?: number;
|
|
79
|
-
totalTokenCost?: number;
|
|
80
|
-
averageComplexity?: number;
|
|
81
|
-
criticalIssues: number;
|
|
82
|
-
majorIssues: number;
|
|
83
|
-
minorIssues: number;
|
|
84
|
-
infoIssues: number;
|
|
85
|
-
estimatedMonthlyCost?: number;
|
|
86
|
-
estimatedDeveloperHours?: number;
|
|
87
|
-
aiAcceptanceRate?: number;
|
|
88
|
-
aiReadinessScore?: number;
|
|
89
|
-
/** AI token budget unit economics (v0.13+) */
|
|
90
|
-
tokenBudget?: TokenBudget;
|
|
91
|
-
/** Truncation info (v0.12+) */
|
|
92
|
-
truncated?: {
|
|
93
|
-
nodes: boolean;
|
|
94
|
-
edges: boolean;
|
|
95
|
-
nodeCount?: number;
|
|
96
|
-
edgeCount?: number;
|
|
97
|
-
nodeLimit?: number;
|
|
98
|
-
edgeLimit?: number;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
57
|
/**
|
|
102
58
|
* Filter options for the visualization
|
|
103
59
|
*/
|
|
@@ -187,4 +143,4 @@ declare class GraphBuilder {
|
|
|
187
143
|
*/
|
|
188
144
|
declare function createSampleGraph(): GraphData;
|
|
189
145
|
|
|
190
|
-
export { type Cluster, type DependencyEdge, type FileNode, type FilterOptions, GraphBuilder, type GraphData, type
|
|
146
|
+
export { type Cluster, type DependencyEdge, type FileNode, type FilterOptions, GraphBuilder, type GraphData, type IssueSeverity, type LayoutConfig, type VisualizationConfig, createSampleGraph };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Cluster, DependencyEdge, FileNode, FilterOptions, GraphBuilder, GraphData,
|
|
1
|
+
export { Cluster, DependencyEdge, FileNode, FilterOptions, GraphBuilder, GraphData, IssueSeverity, LayoutConfig, VisualizationConfig, createSampleGraph } from './graph/index.js';
|
|
2
2
|
import '@aiready/core';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/visualizer",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.20",
|
|
4
4
|
"description": "Interactive graph visualization for AIReady analysis results",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": "19.2.4",
|
|
50
50
|
"react-dom": "19.2.4",
|
|
51
51
|
"regenerator-runtime": "^0.14.1",
|
|
52
|
-
"@aiready/core": "0.23.
|
|
52
|
+
"@aiready/core": "0.23.21"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@tailwindcss/vite": "^4.1.18",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"@types/node": "^24.0.0",
|
|
58
58
|
"@types/react": "^19.2.14",
|
|
59
59
|
"@types/react-dom": "^19.2.3",
|
|
60
|
-
"@vitejs/plugin-react": "^
|
|
60
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
61
61
|
"tailwindcss": "^4.1.18",
|
|
62
62
|
"tsup": "^8.3.5",
|
|
63
63
|
"typescript": "^5.7.2",
|
|
64
|
-
"vite": "^
|
|
64
|
+
"vite": "^5.4.11",
|
|
65
65
|
"vitest": "^4.0.0"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|