@kevinrabun/judges 3.117.6 → 3.117.8
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 +20 -3
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/cli.js +2 -1
- package/package.json +1 -4
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ An MCP (Model Context Protocol) server that provides a panel of **45 specialized
|
|
|
15
15
|
[](https://www.npmjs.com/package/@kevinrabun/judges)
|
|
16
16
|
[](https://www.npmjs.com/package/@kevinrabun/judges)
|
|
17
17
|
[](https://opensource.org/licenses/MIT)
|
|
18
|
-
[](https://github.com/KevinRabun/judges/actions)
|
|
19
19
|
|
|
20
20
|
> 🔰 **Packages**
|
|
21
21
|
> - **CLI**: `@kevinrabun/judges-cli` → binary `judges` (use `npx @kevinrabun/judges-cli eval --file app.ts`).
|
|
@@ -73,9 +73,26 @@ console.log(verdict.overallVerdict, verdict.overallScore);
|
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
### MCP server
|
|
76
|
+
|
|
77
|
+
The MCP server runs on stdio and is started by your MCP client (VS Code, Claude Desktop, etc.).
|
|
78
|
+
Configure it in your MCP settings (e.g. `mcp.json`):
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"servers": {
|
|
83
|
+
"judges": {
|
|
84
|
+
"type": "stdio",
|
|
85
|
+
"command": "npx",
|
|
86
|
+
"args": ["-y", "@kevinrabun/judges"]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Or run the server directly:
|
|
76
93
|
```bash
|
|
77
|
-
npx @kevinrabun/judges
|
|
78
|
-
#
|
|
94
|
+
npx @kevinrabun/judges
|
|
95
|
+
# Starts the MCP server on stdio
|
|
79
96
|
```
|
|
80
97
|
|
|
81
98
|
> Config file: `.judgesrc.json` (supports `${ENV_VAR}` substitution via `expandEnvPlaceholders`). See [Configuration](#configuration).
|
package/dist/api.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Public entry-point for consuming judges as a library (not via MCP).
|
|
5
5
|
*
|
|
6
6
|
* ```ts
|
|
7
|
-
* import { evaluateCode, evaluateProject,
|
|
7
|
+
* import { evaluateCode, evaluateProject, JUDGES } from "@kevinrabun/judges/api";
|
|
8
8
|
* const result = evaluateCode("const x = eval(input);", "typescript");
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Public entry-point for consuming judges as a library (not via MCP).
|
|
5
5
|
*
|
|
6
6
|
* ```ts
|
|
7
|
-
* import { evaluateCode, evaluateProject,
|
|
7
|
+
* import { evaluateCode, evaluateProject, JUDGES } from "@kevinrabun/judges/api";
|
|
8
8
|
* const result = evaluateCode("const x = eval(input);", "typescript");
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
package/dist/cli.js
CHANGED
|
@@ -5376,7 +5376,8 @@ function loadEvalConfig(args) {
|
|
|
5376
5376
|
args.format = config.format;
|
|
5377
5377
|
}
|
|
5378
5378
|
if (config.failOnScoreBelow !== undefined && args.minScore === undefined) {
|
|
5379
|
-
|
|
5379
|
+
// Config uses 0-10 scale; CLI --min-score uses 0-100 (matches overallScore)
|
|
5380
|
+
args.minScore = config.failOnScoreBelow * 10;
|
|
5380
5381
|
}
|
|
5381
5382
|
}
|
|
5382
5383
|
return config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevinrabun/judges",
|
|
3
|
-
"version": "3.117.
|
|
3
|
+
"version": "3.117.8",
|
|
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",
|
|
@@ -157,8 +157,5 @@
|
|
|
157
157
|
"lint-staged": "^16.2.7",
|
|
158
158
|
"prettier": "^3.8.1",
|
|
159
159
|
"tsx": "^4.19.4"
|
|
160
|
-
},
|
|
161
|
-
"overrides": {
|
|
162
|
-
"hono": ">=4.12.7"
|
|
163
160
|
}
|
|
164
161
|
}
|
package/server.json
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"url": "https://github.com/kevinrabun/judges",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "3.117.
|
|
10
|
+
"version": "3.117.8",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@kevinrabun/judges",
|
|
15
|
-
"version": "3.117.
|
|
15
|
+
"version": "3.117.8",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
}
|