agent-inspect 3.0.0 → 3.1.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 +16 -0
- package/README.md +11 -1
- package/docs/CLI.md +2 -0
- package/docs/GETTING-STARTED.md +19 -0
- package/package.json +1 -1
- package/packages/cli/dist/index.cjs +537 -75
- package/packages/cli/dist/index.cjs.map +1 -1
- package/packages/cli/dist/index.mjs +534 -72
- package/packages/cli/dist/index.mjs.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 70f3fb2: v3.1 adoption train: public `@agent-inspect/harness`, `agent-inspect init` and `doctor` commands, adoption starters, and onboarding docs.
|
|
8
|
+
|
|
9
|
+
## Unreleased
|
|
10
|
+
|
|
11
|
+
Post-v3 adoption train (v3.1 → v3.5) in progress. See [docs/implementation/ROADMAP-V3.0-TO-V3.5.md](docs/implementation/ROADMAP-V3.0-TO-V3.5.md).
|
|
12
|
+
|
|
13
|
+
### v3.1 (in progress)
|
|
14
|
+
|
|
15
|
+
- `agent-inspect init` and `agent-inspect doctor` CLI commands
|
|
16
|
+
- Public `@agent-inspect/harness` (first publish pending)
|
|
17
|
+
- Adoption starters under `examples/starters/`
|
|
18
|
+
|
|
3
19
|
## 3.0.0
|
|
4
20
|
|
|
5
21
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -22,7 +22,17 @@ agent-inspect gives those runs **structure**: an **execution tree** you can read
|
|
|
22
22
|
|
|
23
23
|
## Install
|
|
24
24
|
|
|
25
|
-
Current npm release line: **
|
|
25
|
+
Current npm release line: **3.0.0** for the linked public packages (`agent-inspect`, adapters, reporters, redact, eval, mcp, guardrails, circuit, viewer, mcp-server, adapter-sdk). **v3.0.0** adds extension contracts and **`@agent-inspect/adapter-sdk`** for third-party adapter authoring; persisted trace schema remains **1.0**.
|
|
26
|
+
|
|
27
|
+
**v3.1 adoption path (in progress):**
|
|
28
|
+
|
|
29
|
+
1. `npx agent-inspect init` — local config + demo (no auto-install)
|
|
30
|
+
2. `observe()` or a framework adapter
|
|
31
|
+
3. `@agent-inspect/harness` for real project runners
|
|
32
|
+
4. `npx agent-inspect doctor` when setup fails
|
|
33
|
+
5. `check` / `eval` / `redact` / `report` for CI and safe sharing
|
|
34
|
+
|
|
35
|
+
See [examples/starters/](examples/starters/README.md) and [docs/GETTING-STARTED.md](docs/GETTING-STARTED.md).
|
|
26
36
|
|
|
27
37
|
```bash
|
|
28
38
|
npm install agent-inspect
|
package/docs/CLI.md
CHANGED
|
@@ -27,6 +27,8 @@ Core commands:
|
|
|
27
27
|
- `export` — export manual traces to Markdown/HTML/OpenInference/OTLP JSON (local only)
|
|
28
28
|
- `open` — read supported local trace files, directories, or stdin through the canonical reader pipeline
|
|
29
29
|
- `migrate` — convert one local AgentInspect JSONL file to schema 1.0 with dry-run or explicit output
|
|
30
|
+
- `init` — scaffold local AgentInspect config and demo files (v3.1+)
|
|
31
|
+
- `doctor` — diagnose local setup without network or installs (v3.1+)
|
|
30
32
|
- `check` — run deterministic local trace checks with stable JSON and exit codes
|
|
31
33
|
- `eval` — run deterministic local evals over existing traces
|
|
32
34
|
- `redact` — redact a local JSON/JSONL file or trace copy
|
package/docs/GETTING-STARTED.md
CHANGED
|
@@ -10,6 +10,25 @@ AgentInspect is a **local-first execution-tree debugger** for TypeScript AI agen
|
|
|
10
10
|
pnpm add agent-inspect
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
### Quick bootstrap (v3.1+)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx agent-inspect init
|
|
17
|
+
npx agent-inspect doctor
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`init` writes `agent-inspect.config.ts`, `.agent-inspect/`, and a deterministic demo — **without installing dependencies**. `doctor` checks Node, trace directory permissions, and optional adapter packages (no network).
|
|
21
|
+
|
|
22
|
+
Framework-specific init:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx agent-inspect init --framework ai-sdk
|
|
26
|
+
npx agent-inspect init --framework openai-agents
|
|
27
|
+
npx agent-inspect init --framework langchain
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Blessed starters: [examples/starters/](../examples/starters/README.md)
|
|
31
|
+
|
|
13
32
|
The `agent-inspect` package includes the CLI binary via its `bin` field:
|
|
14
33
|
|
|
15
34
|
```bash
|