@agent-inspect/vitest 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 +12 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Vitest reporter — failed tests emit local trace artifacts; passing tests stay quiet.
|
|
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
|
- Vitest suites that run instrumented agents
|
|
@@ -37,7 +40,7 @@ export default defineConfig({
|
|
|
37
40
|
## Privacy
|
|
38
41
|
|
|
39
42
|
- Writes traces locally on failure only (by default)
|
|
40
|
-
- No upload
|
|
43
|
+
- No default upload to AgentInspect
|
|
41
44
|
|
|
42
45
|
## API
|
|
43
46
|
|
|
@@ -47,18 +50,25 @@ Default export: Vitest reporter factory.
|
|
|
47
50
|
|
|
48
51
|
After failure: `npx agent-inspect report <run-id>`
|
|
49
52
|
|
|
53
|
+
## Limitations
|
|
54
|
+
|
|
55
|
+
- This package is a **reporter** (failure artifacts). It does **not** ship Vitest TraceContract matchers such as `expectTrace(...).toSatisfyTraceContract`.
|
|
56
|
+
- Use `agent-inspect check` / TraceContract APIs for trajectory assertions.
|
|
57
|
+
|
|
50
58
|
## Docs
|
|
51
59
|
|
|
52
60
|
- [CI artifacts](https://github.com/rajudandigam/agent-inspect/blob/main/docs/CI-ARTIFACTS.md)
|
|
61
|
+
- [TRACE-CONTRACTS.md](https://github.com/rajudandigam/agent-inspect/blob/main/docs/TRACE-CONTRACTS.md)
|
|
53
62
|
|
|
54
63
|
## Troubleshooting
|
|
55
64
|
|
|
56
65
|
- **No artifact:** Ensure trace was written during test and reporter `traceDir` matches
|
|
57
66
|
- **Original errors preserved:** Reporter does not swallow Vitest failures
|
|
58
67
|
|
|
68
|
+
|
|
59
69
|
## Version
|
|
60
70
|
|
|
61
|
-
|
|
71
|
+
Part of the fixed AgentInspect release line. See the npm badge / package manifest for the current version.
|
|
62
72
|
|
|
63
73
|
## License
|
|
64
74
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-inspect/vitest",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Optional Vitest reporter for AgentInspect local trace artifacts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"vitest": "^2.1.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"agent-inspect": "6.7.
|
|
40
|
+
"agent-inspect": "6.7.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"vitest": "^2.1.8"
|