agent-inspect 4.4.0 → 5.0.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c5e3b16: Add trace suite config (`agent-inspect.suite.json`) with `suite init`, `validate`, `list`, `run`, and `report` commands for local CI trajectory checks.
8
+
3
9
  ## 4.4.0
4
10
 
5
11
  ### Minor Changes
package/docs/CLI.md CHANGED
@@ -896,6 +896,40 @@ npx agent-inspect bundle --since 24h --dir ./.agent-inspect --json
896
896
 
897
897
  Recipe: [shareable-bundle-basic](../examples/recipes/shareable-bundle-basic/README.md).
898
898
 
899
+ ### 6.25 `suite`
900
+
901
+ Define and run **local trace suites** for CI trajectory checks (v5.0+). Suites read existing traces only — no agent replay, no model calls, no upload.
902
+
903
+ ```bash
904
+ agent-inspect suite init
905
+ agent-inspect suite validate [--config path]
906
+ agent-inspect suite list [--config path]
907
+ agent-inspect suite run [--config path] [--json] [--markdown] [-o dir]
908
+ agent-inspect suite report --input <suite-run.json> [--format markdown|json]
909
+ ```
910
+
911
+ Default config file: `agent-inspect.suite.json` in the current directory.
912
+
913
+ Options (shared):
914
+
915
+ - `--config <path>` — suite config (`.json`, `.js`, `.mjs`, `.cjs`)
916
+
917
+ `run` also supports:
918
+
919
+ - `-o, --output <dir>` — write JSON run artifact (default: `.agent-inspect/suite-runs`)
920
+ - `--json` / `--markdown` — structured or readable output
921
+
922
+ Case fields include `requireTools`, `forbidTools`, `maxDurationMs`, and `expectedObservations` (outcome names that must be `passed`).
923
+
924
+ Example:
925
+
926
+ ```bash
927
+ npx agent-inspect suite init
928
+ npx agent-inspect suite run --config fixtures/configs/outcome-suite.suite.json --json
929
+ ```
930
+
931
+ Recipe: [trace-suite-basic](../examples/recipes/trace-suite-basic/README.md).
932
+
899
933
  ## 7. Optional TUI behavior
900
934
 
901
935
  `view --tui` delegates to `@agent-inspect/tui` and requires an interactive terminal. If the package is not installed, the CLI prints a short install hint.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-inspect",
3
- "version": "4.4.0",
3
+ "version": "5.0.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Trace, check, and safely share TypeScript AI-agent runs locally — no account, no upload, metadata-only by default",