agentv 0.21.0 → 0.21.3
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/dist/{chunk-MA3MJNJH.js → chunk-A5T7W63L.js} +481 -420
- package/dist/chunk-A5T7W63L.js.map +1 -0
- package/dist/cli.js +5 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/templates/.claude/skills/agentv-eval-builder/SKILL.md +3 -3
- package/package.json +8 -5
- package/dist/chunk-MA3MJNJH.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A5T7W63L.js";
|
|
5
5
|
import "./chunk-UE4GLFVL.js";
|
|
6
6
|
|
|
7
7
|
// src/cli.ts
|
|
8
|
-
|
|
8
|
+
runCli().catch((error) => {
|
|
9
|
+
console.error(error);
|
|
10
|
+
process.exit(1);
|
|
11
|
+
});
|
|
9
12
|
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { runCli } from './index.js';\n\
|
|
1
|
+
{"version":3,"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\r\nimport { runCli } from './index.js';\r\n\r\nrunCli().catch((error) => {\r\n console.error(error);\r\n process.exit(1);\r\n});\r\n"],"mappings":";;;;;;;AAGA,OAAO,EAAE,MAAM,CAAC,UAAU;AACxB,UAAQ,MAAM,KAAK;AACnB,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ description: Create and maintain AgentV YAML evaluation files for testing AI age
|
|
|
12
12
|
|
|
13
13
|
## Structure Requirements
|
|
14
14
|
- Root level: `description` (optional), `execution` (optional), `evalcases` (required)
|
|
15
|
-
- Eval case fields: `id` (required), `
|
|
15
|
+
- Eval case fields: `id` (required), `expected_outcome` (required), `input_messages` (required), `expected_messages` (required)
|
|
16
16
|
- Optional fields: `conversation_id`, `note`, `execution`
|
|
17
17
|
- Message fields: `role` (required), `content` (required)
|
|
18
18
|
- Message roles: `system`, `user`, `assistant`, `tool`
|
|
@@ -37,7 +37,7 @@ execution:
|
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
**Contract:**
|
|
40
|
-
- Input (stdin): JSON with `task`, `
|
|
40
|
+
- Input (stdin): JSON with `task`, `expected_outcome`, `expected`, `output`, `system_message`, etc.
|
|
41
41
|
- Output (stdout): JSON with `score` (0.0-1.0), `hits`, `misses`, `reasoning`
|
|
42
42
|
|
|
43
43
|
**Template:** See `references/custom-evaluators.md` for Python code evaluator template
|
|
@@ -76,7 +76,7 @@ execution:
|
|
|
76
76
|
|
|
77
77
|
evalcases:
|
|
78
78
|
- id: code-review-basic
|
|
79
|
-
|
|
79
|
+
expected_outcome: Assistant provides helpful code analysis
|
|
80
80
|
|
|
81
81
|
input_messages:
|
|
82
82
|
- role: system
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentv",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.3",
|
|
4
4
|
"description": "CLI entry point for AgentV",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"bin": {
|
|
15
15
|
"agentv": "./dist/cli.js"
|
|
16
16
|
},
|
|
17
|
-
"files": [
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
18
21
|
"scripts": {
|
|
19
22
|
"dev": "bun --watch src/index.ts",
|
|
20
23
|
"build": "tsup && bun run copy-readme",
|
|
@@ -29,10 +32,10 @@
|
|
|
29
32
|
"test:coverage": "vitest run --coverage"
|
|
30
33
|
},
|
|
31
34
|
"dependencies": {
|
|
32
|
-
"@agentv/core": "0.
|
|
33
|
-
"
|
|
34
|
-
"fast-glob": "^3.3.3",
|
|
35
|
+
"@agentv/core": "0.22.0",
|
|
36
|
+
"cmd-ts": "^0.14.3",
|
|
35
37
|
"dotenv": "^16.4.5",
|
|
38
|
+
"fast-glob": "^3.3.3",
|
|
36
39
|
"micromatch": "^4.0.8",
|
|
37
40
|
"yaml": "^2.6.1"
|
|
38
41
|
},
|