agent-inspect 6.31.1 → 6.31.2
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/CHANGELOG.md +6 -0
- package/README.md +4 -3
- package/docs/AI-SDK-ADOPTION.md +7 -2
- package/docs/CI-ARTIFACTS.md +2 -0
- package/package.json +1 -1
- package/packages/cli/dist/index.cjs +1 -1
- package/packages/cli/dist/index.cjs.map +1 -1
- package/packages/cli/dist/index.mjs +1 -1
- package/packages/cli/dist/index.mjs.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.31.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 520c7c3: Clarify README Prevent path (trajectory without leading observation flags), AI SDK inspect/bundle commands, and Jest/Vitest explicit trace association in CI docs.
|
|
8
|
+
|
|
3
9
|
## 6.31.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -74,10 +74,11 @@ Checks are deterministic and provider-free: the same trace and rules produce the
|
|
|
74
74
|
```bash
|
|
75
75
|
npx agent-inspect check <run-id> --dir .agent-inspect \
|
|
76
76
|
--preset trajectory \
|
|
77
|
-
--required-tool retrieve_policy
|
|
78
|
-
--fail-on-observation failed
|
|
77
|
+
--required-tool retrieve_policy
|
|
79
78
|
```
|
|
80
79
|
|
|
80
|
+
Use `--fail-on-observation failed` only when the run records explicit OUTCOME events (for example the [broken-agent-debugging starter](https://github.com/rajudandigam/agent-inspect/tree/main/examples/starters/broken-agent-debugging)). Trajectory checks do not invent outcomes from tool/LLM/run success.
|
|
81
|
+
|
|
81
82
|
A passing check exits `0`; a rule failure exits `1`. Invalid configuration and unreadable/unsupported inputs use separate documented exit codes. Use TraceContract, suites, cohorts, Vitest/Jest reporters, or `--evidence-on fail` when the workflow needs more than one CLI check.
|
|
82
83
|
|
|
83
84
|
### Share — create reviewable offline evidence
|
|
@@ -212,7 +213,7 @@ The root package is enough for custom capture, the CLI, checks, and Evidence wor
|
|
|
212
213
|
|
|
213
214
|
## Status and documentation
|
|
214
215
|
|
|
215
|
-
**Current published baseline:** **6.31.
|
|
216
|
+
**Current published baseline:** **6.31.2** · persisted schema `1.0` · Node.js `>=20` · MIT.
|
|
216
217
|
|
|
217
218
|
Legacy v0.1 and v0.2 traces remain readable. Check the npm badge and [changelog](CHANGELOG.md) for the current published version.
|
|
218
219
|
|
package/docs/AI-SDK-ADOPTION.md
CHANGED
|
@@ -97,10 +97,15 @@ sensitive free text; redact before sharing. Full contract:
|
|
|
97
97
|
|
|
98
98
|
```bash
|
|
99
99
|
npx agent-inspect list --dir .agent-inspect
|
|
100
|
-
npx agent-inspect
|
|
101
|
-
npx agent-inspect check .agent-inspect
|
|
100
|
+
npx agent-inspect view <run-id> --dir .agent-inspect --summary
|
|
101
|
+
npx agent-inspect check <run-id> --dir .agent-inspect --preset trajectory
|
|
102
|
+
npx agent-inspect verify-safe <run-id> --dir .agent-inspect
|
|
103
|
+
npx agent-inspect bundle <run-id> --dir .agent-inspect --profile share --out ./evidence
|
|
104
|
+
npx agent-inspect bundle verify ./evidence
|
|
102
105
|
```
|
|
103
106
|
|
|
107
|
+
Use `--fail-on-observation` only when the run records explicit OUTCOME events.
|
|
108
|
+
|
|
104
109
|
## Troubleshooting
|
|
105
110
|
|
|
106
111
|
| Symptom | Fix |
|
package/docs/CI-ARTIFACTS.md
CHANGED
|
@@ -56,6 +56,8 @@ npx agent-inspect ci-summary .agent-inspect/jest-artifacts/tests/**/report.json
|
|
|
56
56
|
|
|
57
57
|
`ci-summary` writes local files only. It validates reporter artifact paths as relative paths and includes bounded structural metadata: package/framework, test status counts, trace filenames, artifact paths, redaction profile, and diagnostic counts.
|
|
58
58
|
|
|
59
|
+
**Jest / Vitest association:** reporters do **not** invent run↔test links from timestamps. Wire an explicit association (`withAgentInspectJestTrace`, reporter `associations` / `resolveTrace`, or the Vitest equivalents) or expect a `no-trace-association` diagnostic. See [`@agent-inspect/jest`](https://github.com/rajudandigam/agent-inspect/blob/main/packages/jest/README.md#trace-association) and [`@agent-inspect/vitest`](https://github.com/rajudandigam/agent-inspect/blob/main/packages/vitest/README.md).
|
|
60
|
+
|
|
59
61
|
```bash
|
|
60
62
|
npx agent-inspect export <run-id> --dir ./.agent-inspect \
|
|
61
63
|
--format markdown --redaction-profile share -o ./artifacts/trace.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-inspect",
|
|
3
|
-
"version": "6.31.
|
|
3
|
+
"version": "6.31.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Local evidence debugger and trajectory-test toolkit for TypeScript AI agents — execution trees, TraceContract checks, Evidence v2, and read-only MCP",
|
|
@@ -16153,7 +16153,7 @@ var init_src = __esm({
|
|
|
16153
16153
|
});
|
|
16154
16154
|
|
|
16155
16155
|
// package.json
|
|
16156
|
-
var version = "6.31.
|
|
16156
|
+
var version = "6.31.2";
|
|
16157
16157
|
|
|
16158
16158
|
// packages/cli/src/list.ts
|
|
16159
16159
|
init_advanced();
|