@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.
Files changed (80) hide show
  1. package/README.md +135 -23
  2. package/dist/adapters/biome.js +136 -21
  3. package/dist/adapters/flowDoctor.d.ts +7 -0
  4. package/dist/adapters/flowDoctor.js +195 -0
  5. package/dist/adapters/gitleaks.js +4 -2
  6. package/dist/adapters/index.d.ts +1 -0
  7. package/dist/adapters/index.js +3 -1
  8. package/dist/adapters/osvScanner.js +140 -19
  9. package/dist/adapters/presidio.js +3 -1
  10. package/dist/adapters/ruff.js +7 -3
  11. package/dist/adapters/shared.d.ts +4 -0
  12. package/dist/cli/commands/init.js +112 -50
  13. package/dist/cli/commands/privacyReview.js +3 -4
  14. package/dist/cli/commands/scan.d.ts +6 -0
  15. package/dist/cli/commands/scan.js +16 -2
  16. package/dist/cli/commands/setup.d.ts +13 -17
  17. package/dist/cli/commands/setup.js +138 -200
  18. package/dist/cli/index.js +4 -4
  19. package/dist/core/agentDiagnosis.d.ts +39 -0
  20. package/dist/core/agentDiagnosis.js +96 -0
  21. package/dist/core/capability.d.ts +92 -0
  22. package/dist/core/capability.js +122 -0
  23. package/dist/core/config.d.ts +47 -0
  24. package/dist/core/config.js +134 -3
  25. package/dist/core/credentialHeuristics.d.ts +28 -0
  26. package/dist/core/credentialHeuristics.js +179 -0
  27. package/dist/core/engine.d.ts +29 -1
  28. package/dist/core/engine.js +510 -126
  29. package/dist/core/executable.d.ts +18 -0
  30. package/dist/core/executable.js +137 -0
  31. package/dist/core/fileRole.d.ts +24 -0
  32. package/dist/core/fileRole.js +125 -0
  33. package/dist/core/finding.d.ts +125 -1
  34. package/dist/core/finding.js +70 -8
  35. package/dist/core/findingCorrelator.d.ts +19 -0
  36. package/dist/core/findingCorrelator.js +112 -0
  37. package/dist/core/findingNormalizer.d.ts +33 -0
  38. package/dist/core/findingNormalizer.js +172 -0
  39. package/dist/core/managedTools.d.ts +25 -0
  40. package/dist/core/managedTools.js +186 -0
  41. package/dist/core/projectDetector.d.ts +13 -0
  42. package/dist/core/projectDetector.js +100 -15
  43. package/dist/core/relevance.d.ts +87 -0
  44. package/dist/core/relevance.js +367 -0
  45. package/dist/core/repoGraph.d.ts +62 -0
  46. package/dist/core/repoGraph.js +408 -0
  47. package/dist/core/riskRanker.d.ts +6 -0
  48. package/dist/core/riskRanker.js +127 -0
  49. package/dist/core/scanContext.d.ts +26 -0
  50. package/dist/core/scanContext.js +44 -0
  51. package/dist/core/scanPlanner.d.ts +13 -0
  52. package/dist/core/scanPlanner.js +66 -38
  53. package/dist/core/semverLite.d.ts +27 -0
  54. package/dist/core/semverLite.js +163 -0
  55. package/dist/core/suppressions.d.ts +96 -0
  56. package/dist/core/suppressions.js +302 -0
  57. package/dist/core/toolRegistry.d.ts +58 -0
  58. package/dist/core/toolRegistry.js +254 -0
  59. package/dist/core/toolRunner.d.ts +27 -2
  60. package/dist/core/toolRunner.js +79 -93
  61. package/dist/core/toolRuntime.d.ts +40 -0
  62. package/dist/core/toolRuntime.js +417 -0
  63. package/dist/core/toolVerification.d.ts +89 -0
  64. package/dist/core/toolVerification.js +425 -0
  65. package/dist/dpdp/collectors/optionalScanners.js +120 -30
  66. package/dist/dpdp/findings.d.ts +33 -3
  67. package/dist/dpdp/findings.js +191 -4
  68. package/dist/dpdp/scan.js +2 -2
  69. package/dist/dpdp/scoring.d.ts +14 -4
  70. package/dist/dpdp/scoring.js +34 -8
  71. package/dist/dpdp/types.d.ts +19 -1
  72. package/dist/index.d.ts +5 -0
  73. package/dist/index.js +5 -0
  74. package/dist/reporters/agent.d.ts +1 -1
  75. package/dist/reporters/agent.js +7 -0
  76. package/dist/reporters/html.js +57 -13
  77. package/dist/reporters/json.js +7 -1
  78. package/dist/reporters/markdown.js +46 -4
  79. package/dist/reporters/sarif.js +54 -5
  80. package/package.json +80 -80
package/package.json CHANGED
@@ -1,80 +1,80 @@
1
- {
2
- "name": "@neuralaxis/vibedoctor",
3
- "version": "0.2.0",
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
+ }