arcvision 0.1.26 → 0.2.0
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/arcvision.context.json +121 -0
- package/dist/index.js +6777 -1307
- package/package.json +3 -2
- package/src/core/blastRadius.js +144 -23
- package/src/core/parser.js +230 -23
- package/src/core/path-resolver.js +90 -34
- package/src/core/scanner.js +65 -15
- package/src/engine/context_builder.js +33 -3
- package/src/engine/context_validator.js +22 -9
- package/src/index.js +22 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"generated_at": "2026-01-06T04:33:19.544Z",
|
|
4
|
+
"system": {
|
|
5
|
+
"name": "engine",
|
|
6
|
+
"root_path": "C:\\Users\\AHMAD RAZA\\Downloads\\ArcVision\\cli\\src\\engine",
|
|
7
|
+
"language": "javascript"
|
|
8
|
+
},
|
|
9
|
+
"nodes": [
|
|
10
|
+
{
|
|
11
|
+
"id": "18f3b408c9f517b4",
|
|
12
|
+
"type": "file",
|
|
13
|
+
"path": "id-generator.js",
|
|
14
|
+
"role": "Implementation",
|
|
15
|
+
"dependencies": [
|
|
16
|
+
"crypto"
|
|
17
|
+
],
|
|
18
|
+
"blast_radius": 1
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "906fe6a206ee8ed6",
|
|
22
|
+
"type": "file",
|
|
23
|
+
"path": "context_sorter.js",
|
|
24
|
+
"role": "Implementation",
|
|
25
|
+
"dependencies": [],
|
|
26
|
+
"blast_radius": 0
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "a90facc61fceac47",
|
|
30
|
+
"type": "file",
|
|
31
|
+
"path": "context_builder.js",
|
|
32
|
+
"role": "Implementation",
|
|
33
|
+
"dependencies": [
|
|
34
|
+
"path",
|
|
35
|
+
"./id-generator"
|
|
36
|
+
],
|
|
37
|
+
"blast_radius": 0
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "e23459b69864dc40",
|
|
41
|
+
"type": "file",
|
|
42
|
+
"path": "context_validator.js",
|
|
43
|
+
"role": "Implementation",
|
|
44
|
+
"dependencies": [
|
|
45
|
+
"fs",
|
|
46
|
+
"path",
|
|
47
|
+
"ajv"
|
|
48
|
+
],
|
|
49
|
+
"blast_radius": 0
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"edges": [
|
|
53
|
+
{
|
|
54
|
+
"from": "a90facc61fceac47",
|
|
55
|
+
"to": "18f3b408c9f517b4",
|
|
56
|
+
"relation": "imports"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"metrics": {
|
|
60
|
+
"files_with_functions": 4,
|
|
61
|
+
"files_with_high_blast_radius": 0,
|
|
62
|
+
"total_dependencies": 1,
|
|
63
|
+
"total_edges": 1,
|
|
64
|
+
"total_files": 4,
|
|
65
|
+
"total_imports": 1,
|
|
66
|
+
"total_nodes": 4
|
|
67
|
+
},
|
|
68
|
+
"contextSurface": {
|
|
69
|
+
"topBlastRadiusFiles": [
|
|
70
|
+
{
|
|
71
|
+
"file": "id-generator.js",
|
|
72
|
+
"blastRadius": 1,
|
|
73
|
+
"percentOfGraph": 25
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"file": "context_builder.js",
|
|
77
|
+
"blastRadius": 0,
|
|
78
|
+
"percentOfGraph": 0
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"file": "context_sorter.js",
|
|
82
|
+
"blastRadius": 0,
|
|
83
|
+
"percentOfGraph": 0
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"criticalityAnalysis": [
|
|
87
|
+
{
|
|
88
|
+
"file": "id-generator.js",
|
|
89
|
+
"blastRadius": 1,
|
|
90
|
+
"dependencies": 1,
|
|
91
|
+
"dependencyStrength": 0,
|
|
92
|
+
"criticalityScore": 2,
|
|
93
|
+
"isHub": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"file": "context_validator.js",
|
|
97
|
+
"blastRadius": 0,
|
|
98
|
+
"dependencies": 0,
|
|
99
|
+
"dependencyStrength": 0,
|
|
100
|
+
"criticalityScore": 1,
|
|
101
|
+
"isHub": false
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"file": "context_sorter.js",
|
|
105
|
+
"blastRadius": 0,
|
|
106
|
+
"dependencies": 0,
|
|
107
|
+
"dependencyStrength": 0,
|
|
108
|
+
"criticalityScore": 1,
|
|
109
|
+
"isHub": false
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"file": "context_builder.js",
|
|
113
|
+
"blastRadius": 0,
|
|
114
|
+
"dependencies": 0,
|
|
115
|
+
"dependencyStrength": 0,
|
|
116
|
+
"criticalityScore": 1,
|
|
117
|
+
"isHub": false
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
}
|