@neuralaxis/vibedoctor 0.2.0 → 0.2.2
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 +135 -23
- package/dist/adapters/biome.js +136 -21
- package/dist/adapters/flowDoctor.d.ts +7 -0
- package/dist/adapters/flowDoctor.js +195 -0
- package/dist/adapters/gitleaks.js +4 -2
- package/dist/adapters/index.d.ts +1 -0
- package/dist/adapters/index.js +3 -1
- package/dist/adapters/osvScanner.js +140 -19
- package/dist/adapters/presidio.js +3 -1
- package/dist/adapters/ruff.js +7 -3
- package/dist/adapters/shared.d.ts +4 -0
- package/dist/cli/commands/init.js +112 -50
- package/dist/cli/commands/privacyReview.js +3 -4
- package/dist/cli/commands/scan.d.ts +6 -0
- package/dist/cli/commands/scan.js +16 -2
- package/dist/cli/commands/setup.d.ts +13 -17
- package/dist/cli/commands/setup.js +138 -200
- package/dist/cli/index.js +4 -4
- package/dist/core/agentDiagnosis.d.ts +39 -0
- package/dist/core/agentDiagnosis.js +96 -0
- package/dist/core/capability.d.ts +92 -0
- package/dist/core/capability.js +122 -0
- package/dist/core/config.d.ts +47 -0
- package/dist/core/config.js +134 -3
- package/dist/core/credentialHeuristics.d.ts +28 -0
- package/dist/core/credentialHeuristics.js +179 -0
- package/dist/core/engine.d.ts +29 -1
- package/dist/core/engine.js +510 -126
- package/dist/core/executable.d.ts +18 -0
- package/dist/core/executable.js +137 -0
- package/dist/core/fileRole.d.ts +24 -0
- package/dist/core/fileRole.js +125 -0
- package/dist/core/finding.d.ts +125 -1
- package/dist/core/finding.js +70 -8
- package/dist/core/findingCorrelator.d.ts +19 -0
- package/dist/core/findingCorrelator.js +112 -0
- package/dist/core/findingNormalizer.d.ts +33 -0
- package/dist/core/findingNormalizer.js +172 -0
- package/dist/core/managedTools.d.ts +25 -0
- package/dist/core/managedTools.js +186 -0
- package/dist/core/projectDetector.d.ts +13 -0
- package/dist/core/projectDetector.js +100 -15
- package/dist/core/relevance.d.ts +87 -0
- package/dist/core/relevance.js +367 -0
- package/dist/core/repoGraph.d.ts +62 -0
- package/dist/core/repoGraph.js +408 -0
- package/dist/core/riskRanker.d.ts +6 -0
- package/dist/core/riskRanker.js +127 -0
- package/dist/core/scanContext.d.ts +26 -0
- package/dist/core/scanContext.js +44 -0
- package/dist/core/scanPlanner.d.ts +13 -0
- package/dist/core/scanPlanner.js +66 -38
- package/dist/core/semverLite.d.ts +27 -0
- package/dist/core/semverLite.js +163 -0
- package/dist/core/suppressions.d.ts +96 -0
- package/dist/core/suppressions.js +302 -0
- package/dist/core/toolRegistry.d.ts +58 -0
- package/dist/core/toolRegistry.js +254 -0
- package/dist/core/toolRunner.d.ts +27 -2
- package/dist/core/toolRunner.js +79 -93
- package/dist/core/toolRuntime.d.ts +40 -0
- package/dist/core/toolRuntime.js +417 -0
- package/dist/core/toolVerification.d.ts +89 -0
- package/dist/core/toolVerification.js +425 -0
- package/dist/dpdp/collectors/optionalScanners.js +120 -30
- package/dist/dpdp/findings.d.ts +33 -3
- package/dist/dpdp/findings.js +191 -4
- package/dist/dpdp/scan.js +2 -2
- package/dist/dpdp/scoring.d.ts +14 -4
- package/dist/dpdp/scoring.js +34 -8
- package/dist/dpdp/types.d.ts +19 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/reporters/agent.d.ts +1 -1
- package/dist/reporters/agent.js +7 -0
- package/dist/reporters/html.js +57 -13
- package/dist/reporters/json.js +7 -1
- package/dist/reporters/markdown.js +46 -4
- package/dist/reporters/sarif.js +54 -5
- package/package.json +80 -80
package/package.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@neuralaxis/vibedoctor",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Health diagnosis and fix planning for JS, TS, Python, and mixed repositories.",
|
|
5
|
-
"type": "commonjs",
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
8
|
-
},
|
|
9
|
-
"bin": {
|
|
10
|
-
"vibedoctor": "dist/cli/index.js"
|
|
11
|
-
},
|
|
12
|
-
"main": "dist/index.js",
|
|
13
|
-
"types": "dist/index.d.ts",
|
|
14
|
-
"exports": {
|
|
15
|
-
".": {
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"require": "./dist/index.js"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"dist",
|
|
22
|
-
"README.md",
|
|
23
|
-
"LICENSE",
|
|
24
|
-
"package.json"
|
|
25
|
-
],
|
|
26
|
-
"engines": {
|
|
27
|
-
"node": ">=18"
|
|
28
|
-
},
|
|
29
|
-
"packageManager": "npm@10.8.2",
|
|
30
|
-
"keywords": [
|
|
31
|
-
"code-health",
|
|
32
|
-
"cli",
|
|
33
|
-
"static-analysis",
|
|
34
|
-
"technical-debt",
|
|
35
|
-
"agent-tools"
|
|
36
|
-
],
|
|
37
|
-
"scripts": {
|
|
38
|
-
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
39
|
-
"build": "npm run clean && tsc -p tsconfig.build.json",
|
|
40
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
41
|
-
"check": "npm run typecheck && npm test && npm run build && (npm run health || echo 'Health scan completed (non-fatal in this gate)')",
|
|
42
|
-
"prepack": "npm run build",
|
|
43
|
-
"test": "vitest run",
|
|
44
|
-
"prepublishOnly": "npm run build && npm test",
|
|
45
|
-
"dev": "tsx src/cli/index.ts",
|
|
46
|
-
"health": "tsx src/cli/index.ts scan --quick --report terminal"
|
|
47
|
-
},
|
|
48
|
-
"license": "GPL-3.0-or-later",
|
|
49
|
-
"author": "neuralaxis",
|
|
50
|
-
"repository": {
|
|
51
|
-
"type": "git",
|
|
52
|
-
"url": "git+https://github.com/neural-axis/VibeDoctor.git"
|
|
53
|
-
},
|
|
54
|
-
"homepage": "https://github.com/neural-axis/VibeDoctor#readme",
|
|
55
|
-
"bugs": {
|
|
56
|
-
"url": "https://github.com/neural-axis/VibeDoctor/issues"
|
|
57
|
-
},
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"commander": "^14.0.0",
|
|
60
|
-
"minimatch": "^10.0.1",
|
|
61
|
-
"yaml": "^2.8.1"
|
|
62
|
-
},
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"@biomejs/biome": "^2.5.0",
|
|
65
|
-
"@types/node": "^24.0.1",
|
|
66
|
-
"@vitest/coverage-v8": "^3.2.6",
|
|
67
|
-
"jscpd": "^5.0.9",
|
|
68
|
-
"knip": "^6.16.1",
|
|
69
|
-
"tsx": "^4.20.3",
|
|
70
|
-
"typescript": "^5.8.3",
|
|
71
|
-
"vite": "^7.3.5",
|
|
72
|
-
"vitest": "^3.2.6"
|
|
73
|
-
},
|
|
74
|
-
"overrides": {
|
|
75
|
-
"esbuild": "0.28.1"
|
|
76
|
-
},
|
|
77
|
-
"allowScripts": {
|
|
78
|
-
"esbuild@0.28.1": true
|
|
79
|
-
}
|
|
80
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@neuralaxis/vibedoctor",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Health diagnosis and fix planning for JS, TS, Python, and mixed repositories.",
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"bin": {
|
|
10
|
+
"vibedoctor": "dist/cli/index.js"
|
|
11
|
+
},
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"require": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"package.json"
|
|
25
|
+
],
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=18"
|
|
28
|
+
},
|
|
29
|
+
"packageManager": "npm@10.8.2",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"code-health",
|
|
32
|
+
"cli",
|
|
33
|
+
"static-analysis",
|
|
34
|
+
"technical-debt",
|
|
35
|
+
"agent-tools"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
39
|
+
"build": "npm run clean && tsc -p tsconfig.build.json",
|
|
40
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
41
|
+
"check": "npm run typecheck && npm test && npm run build && (npm run health || echo 'Health scan completed (non-fatal in this gate)')",
|
|
42
|
+
"prepack": "npm run build",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"prepublishOnly": "npm run build && npm test",
|
|
45
|
+
"dev": "tsx src/cli/index.ts",
|
|
46
|
+
"health": "tsx src/cli/index.ts scan --quick --report terminal"
|
|
47
|
+
},
|
|
48
|
+
"license": "GPL-3.0-or-later",
|
|
49
|
+
"author": "neuralaxis",
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/neural-axis/VibeDoctor.git"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/neural-axis/VibeDoctor#readme",
|
|
55
|
+
"bugs": {
|
|
56
|
+
"url": "https://github.com/neural-axis/VibeDoctor/issues"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"commander": "^14.0.0",
|
|
60
|
+
"minimatch": "^10.0.1",
|
|
61
|
+
"yaml": "^2.8.1"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@biomejs/biome": "^2.5.0",
|
|
65
|
+
"@types/node": "^24.0.1",
|
|
66
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
67
|
+
"jscpd": "^5.0.9",
|
|
68
|
+
"knip": "^6.16.1",
|
|
69
|
+
"tsx": "^4.20.3",
|
|
70
|
+
"typescript": "^5.8.3",
|
|
71
|
+
"vite": "^7.3.5",
|
|
72
|
+
"vitest": "^3.2.6"
|
|
73
|
+
},
|
|
74
|
+
"overrides": {
|
|
75
|
+
"esbuild": "0.28.1"
|
|
76
|
+
},
|
|
77
|
+
"allowScripts": {
|
|
78
|
+
"esbuild@0.28.1": true
|
|
79
|
+
}
|
|
80
|
+
}
|