@aiready/visualizer 0.6.18 → 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 +3 -67
- 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-ZdEvYTav.js +0 -29289
- package/web/dist/assets/index-ZdEvYTav.js.map +0 -1
package/dist/graph/index.d.ts
CHANGED
|
@@ -1,33 +1,13 @@
|
|
|
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
|
|
5
5
|
*/
|
|
6
6
|
type IssueSeverity = Severity;
|
|
7
|
-
/**
|
|
8
|
-
* Base graph node (compatible with d3-force SimulationNodeDatum)
|
|
9
|
-
*/
|
|
10
|
-
interface BaseGraphNode {
|
|
11
|
-
id: string;
|
|
12
|
-
x?: number;
|
|
13
|
-
y?: number;
|
|
14
|
-
vx?: number;
|
|
15
|
-
vy?: number;
|
|
16
|
-
fx?: number | null;
|
|
17
|
-
fy?: number | null;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Base graph link (compatible with d3-force SimulationLinkDatum)
|
|
21
|
-
*/
|
|
22
|
-
interface BaseGraphLink {
|
|
23
|
-
source: string | BaseGraphNode;
|
|
24
|
-
target: string | BaseGraphNode;
|
|
25
|
-
index?: number;
|
|
26
|
-
}
|
|
27
7
|
/**
|
|
28
8
|
* File node in the dependency graph
|
|
29
9
|
*/
|
|
30
|
-
interface FileNode extends
|
|
10
|
+
interface FileNode extends GraphNode {
|
|
31
11
|
id: string;
|
|
32
12
|
path: string;
|
|
33
13
|
label: string;
|
|
@@ -64,18 +44,6 @@ interface Cluster {
|
|
|
64
44
|
color?: string;
|
|
65
45
|
description?: string;
|
|
66
46
|
}
|
|
67
|
-
/**
|
|
68
|
-
* Issue overlay on the graph
|
|
69
|
-
*/
|
|
70
|
-
interface IssueOverlay {
|
|
71
|
-
id: string;
|
|
72
|
-
type: string;
|
|
73
|
-
severity: Severity;
|
|
74
|
-
nodeIds: string[];
|
|
75
|
-
edgeIds?: string[];
|
|
76
|
-
message: string;
|
|
77
|
-
details?: string;
|
|
78
|
-
}
|
|
79
47
|
/**
|
|
80
48
|
* Complete graph data structure
|
|
81
49
|
*/
|
|
@@ -86,38 +54,6 @@ interface GraphData extends GraphData$1 {
|
|
|
86
54
|
issues: IssueOverlay[];
|
|
87
55
|
metadata: GraphMetadata;
|
|
88
56
|
}
|
|
89
|
-
/**
|
|
90
|
-
* Metadata about the graph
|
|
91
|
-
*/
|
|
92
|
-
interface GraphMetadata extends GraphMetadata$1 {
|
|
93
|
-
projectName?: string;
|
|
94
|
-
timestamp: string;
|
|
95
|
-
totalFiles: number;
|
|
96
|
-
totalDependencies: number;
|
|
97
|
-
analysisTypes: string[];
|
|
98
|
-
totalLinesOfCode?: number;
|
|
99
|
-
totalTokenCost?: number;
|
|
100
|
-
averageComplexity?: number;
|
|
101
|
-
criticalIssues: number;
|
|
102
|
-
majorIssues: number;
|
|
103
|
-
minorIssues: number;
|
|
104
|
-
infoIssues: number;
|
|
105
|
-
estimatedMonthlyCost?: number;
|
|
106
|
-
estimatedDeveloperHours?: number;
|
|
107
|
-
aiAcceptanceRate?: number;
|
|
108
|
-
aiReadinessScore?: number;
|
|
109
|
-
/** AI token budget unit economics (v0.13+) */
|
|
110
|
-
tokenBudget?: TokenBudget;
|
|
111
|
-
/** Truncation info (v0.12+) */
|
|
112
|
-
truncated?: {
|
|
113
|
-
nodes: boolean;
|
|
114
|
-
edges: boolean;
|
|
115
|
-
nodeCount?: number;
|
|
116
|
-
edgeCount?: number;
|
|
117
|
-
nodeLimit?: number;
|
|
118
|
-
edgeLimit?: number;
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
57
|
/**
|
|
122
58
|
* Filter options for the visualization
|
|
123
59
|
*/
|
|
@@ -207,4 +143,4 @@ declare class GraphBuilder {
|
|
|
207
143
|
*/
|
|
208
144
|
declare function createSampleGraph(): GraphData;
|
|
209
145
|
|
|
210
|
-
export { 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 {
|
|
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": {
|