@agent-inspect/eval 6.7.1 → 6.7.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/README.md +5 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Deterministic local eval rules over AgentInspect traces (no LLM judge by default).
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
**Support level:** Supported — see [SUPPORT-LEVELS.md](https://github.com/rajudandigam/agent-inspect/blob/main/docs/SUPPORT-LEVELS.md).
|
|
7
|
+
|
|
5
8
|
## When to use
|
|
6
9
|
|
|
7
10
|
- CI checks on trace shape, tool usage, completion status
|
|
@@ -54,9 +57,10 @@ console.log(result.summary);
|
|
|
54
57
|
- **AI_EVAL_TRACE_UNREADABLE:** Path or format wrong — use `.jsonl` persisted traces
|
|
55
58
|
- **Rule failures:** See `result.findings` for evidence paths
|
|
56
59
|
|
|
60
|
+
|
|
57
61
|
## Version
|
|
58
62
|
|
|
59
|
-
|
|
63
|
+
Part of the fixed AgentInspect release line. See the npm badge / package manifest for the current version.
|
|
60
64
|
|
|
61
65
|
## License
|
|
62
66
|
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var url = require('url');
|
|
3
4
|
var readers = require('agent-inspect/readers');
|
|
4
5
|
var crypto = require('crypto');
|
|
5
6
|
|
|
@@ -921,7 +922,7 @@ function isTraceReadResult(value) {
|
|
|
921
922
|
return value !== null && typeof value === "object" && "runs" in value && "events" in value && "format" in value;
|
|
922
923
|
}
|
|
923
924
|
function traceInputFrom(value) {
|
|
924
|
-
return { type: "file", path: value instanceof URL ? value
|
|
925
|
+
return { type: "file", path: value instanceof URL ? url.fileURLToPath(value) : value };
|
|
925
926
|
}
|
|
926
927
|
async function resolveRead(input, options) {
|
|
927
928
|
try {
|