arcvision 0.1.18 → 0.1.22
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 +3 -3
- package/dist/index.js +1541 -12
- package/docs/blast-radius.md +4 -4
- package/package.json +5 -3
- package/schema/arcvision_context_schema_v1.json +84 -0
- package/src/core/scanner.js +33 -4
- package/src/engine/context_builder.js +74 -0
- package/src/engine/context_sorter.js +41 -0
- package/src/engine/context_validator.js +39 -0
- package/src/engine/id-generator.js +16 -0
- package/src/index.js +26 -8
- package/test/determinism-test.js +65 -0
- package/arcvision-0.1.0.tgz +0 -0
package/README.md
CHANGED
|
@@ -35,13 +35,13 @@ Scan the current directory and generate architecture map.
|
|
|
35
35
|
Options:
|
|
36
36
|
- `-u, --upload`: Upload to database
|
|
37
37
|
|
|
38
|
-
The scan command will also output a blast radius analysis showing the file with the highest blast radius and its potential
|
|
38
|
+
The scan command will also output a blast radius analysis showing the file with the highest blast radius and its potential role on your codebase.
|
|
39
39
|
|
|
40
40
|
**Blast Radius Analysis**: After scanning, the CLI will display a warning identifying the most critical file in your codebase:
|
|
41
41
|
```
|
|
42
42
|
⚠️ [filename] at the center of the system (blast radius: X out of Y). This file represents a single point of systemic failure. Changes here may affect many parts of the system.
|
|
43
43
|
```
|
|
44
|
-
This feature helps identify high-
|
|
44
|
+
This feature helps identify high-structure files that are imported by many other files, allowing you to be more cautious when modifying them.
|
|
45
45
|
|
|
46
46
|
## Features
|
|
47
47
|
|
|
@@ -49,7 +49,7 @@ This feature helps identify high-risk files that are imported by many other file
|
|
|
49
49
|
- **AST-based Parsing**: Uses Babel parser for accurate import detection
|
|
50
50
|
- **Multi-framework Support**: Works with React, Next.js, and other modern JavaScript frameworks
|
|
51
51
|
- **Dependency Graph Generation**: Creates comprehensive node-edge relationships
|
|
52
|
-
- **Blast Radius Analysis**: Identifies high-
|
|
52
|
+
- **Blast Radius Analysis**: Identifies high-structure files that are imported by many other files
|
|
53
53
|
- **Cloud Integration**: Uploads results to ArcVision dashboard for visualization
|
|
54
54
|
|
|
55
55
|
## Supported Import Patterns
|