@kevinrabun/judges 3.124.3 → 3.124.5

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.
@@ -12,6 +12,7 @@
12
12
  import { existsSync, writeFileSync, statSync } from "fs";
13
13
  import { resolve, basename } from "path";
14
14
  import { generateRepoReportFromLocalPath } from "../reports/public-repo-report.js";
15
+ import { findingsToSarif } from "../formatters/sarif.js";
15
16
  function parseReportArgs(argv) {
16
17
  const args = {
17
18
  path: ".",
@@ -105,6 +106,13 @@ export function runReport(argv) {
105
106
  timestamp: new Date().toISOString(),
106
107
  }, null, 2);
107
108
  break;
109
+ case "sarif": {
110
+ console.error("⚠ 'judges report --format sarif' produces a summary SARIF with limited detail.");
111
+ console.error(" For full SARIF output with per-finding locations, use: judges eval <dir> --format sarif --output report.sarif");
112
+ const sarif = findingsToSarif([], projectName);
113
+ output = JSON.stringify(sarif, null, 2);
114
+ break;
115
+ }
108
116
  case "html": {
109
117
  // Wrap as a simple HTML page with the markdown
110
118
  const escapedMd = result.markdown.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevinrabun/judges",
3
- "version": "3.124.3",
3
+ "version": "3.124.5",
4
4
  "description": "45 specialized judges that evaluate AI-generated code for security, cost, and quality.",
5
5
  "mcpName": "io.github.KevinRabun/judges",
6
6
  "type": "module",
package/server.json CHANGED
@@ -16,12 +16,12 @@
16
16
  "mimeType": "image/png"
17
17
  }
18
18
  ],
19
- "version": "3.124.3",
19
+ "version": "3.124.5",
20
20
  "packages": [
21
21
  {
22
22
  "registryType": "npm",
23
23
  "identifier": "@kevinrabun/judges",
24
- "version": "3.124.3",
24
+ "version": "3.124.5",
25
25
  "transport": {
26
26
  "type": "stdio"
27
27
  }