agent-inspect 3.0.0 → 3.2.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 +22 -0
- package/README.md +11 -1
- package/docs/ADAPTER-CONFORMANCE.md +7 -0
- package/docs/ADAPTERS.md +4 -0
- 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,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 80f8f30: v3.2 framework adoption pack: AI SDK and OpenAI Agents local-only guides, NestJS harness path, Mastra RFC (deferred), adapter conformance evidence refresh.
|
|
8
|
+
|
|
9
|
+
## 3.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 70f3fb2: v3.1 adoption train: public `@agent-inspect/harness`, `agent-inspect init` and `doctor` commands, adoption starters, and onboarding docs.
|
|
14
|
+
|
|
15
|
+
## Unreleased
|
|
16
|
+
|
|
17
|
+
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).
|
|
18
|
+
|
|
19
|
+
### v3.1 (in progress)
|
|
20
|
+
|
|
21
|
+
- `agent-inspect init` and `agent-inspect doctor` CLI commands
|
|
22
|
+
- Public `@agent-inspect/harness` (first publish pending)
|
|
23
|
+
- Adoption starters under `examples/starters/`
|
|
24
|
+
|
|
3
25
|
## 3.0.0
|
|
4
26
|
|
|
5
27
|
### 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.1.0** for the linked public packages (`agent-inspect`, adapters, reporters, redact, eval, mcp, guardrails, circuit, viewer, mcp-server, adapter-sdk, harness). **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
|
|
@@ -57,3 +57,10 @@ This is an internal official-adapter gate, not a third-party certification progr
|
|
|
57
57
|
## Before claiming support
|
|
58
58
|
|
|
59
59
|
An adapter can be documented as supported only after no-network fixtures cover run, step, tool, LLM, error, streaming, and metadata-bound expectations for that framework path.
|
|
60
|
+
|
|
61
|
+
## v3.2 adoption evidence refresh
|
|
62
|
+
|
|
63
|
+
- [AI-SDK-ADOPTION.md](./AI-SDK-ADOPTION.md) — blessed AI SDK path (`generateText`, `streamText`, Next.js recipe, troubleshooting)
|
|
64
|
+
- [OPENAI-AGENTS-LOCAL.md](./OPENAI-AGENTS-LOCAL.md) — additional vs replacement processor modes
|
|
65
|
+
- [NESTJS.md](./NESTJS.md) — harness bootstrap path (no `@agent-inspect/nestjs` package in v3.2)
|
|
66
|
+
- [proposals/MASTRA-ADAPTER-RFC.md](./proposals/MASTRA-ADAPTER-RFC.md) — deferred pending demand gates
|
package/docs/ADAPTERS.md
CHANGED
|
@@ -18,6 +18,8 @@ Reporters (`@agent-inspect/vitest` and `@agent-inspect/jest`) are public package
|
|
|
18
18
|
|
|
19
19
|
## Vercel AI SDK (`@agent-inspect/ai-sdk`)
|
|
20
20
|
|
|
21
|
+
**Full guide:** [AI-SDK-ADOPTION.md](./AI-SDK-ADOPTION.md)
|
|
22
|
+
|
|
21
23
|
**Status:** experimental adapter — optional package published in the aligned v2.2.0 package set and hardened in the v2.3 adapter train.
|
|
22
24
|
|
|
23
25
|
The adapter has hardened lifecycle identity and parallel integration isolation. It remains metadata-only: `capture: "preview"` and preview-only redaction options emit diagnostics and fall back to metadata-only capture until bounded free-text previews are implemented.
|
|
@@ -344,6 +346,8 @@ Full API: [API.md](./API.md) §13.
|
|
|
344
346
|
|
|
345
347
|
## OpenAI Agents JS (`@agent-inspect/openai-agents`)
|
|
346
348
|
|
|
349
|
+
**Local-only guide:** [OPENAI-AGENTS-LOCAL.md](./OPENAI-AGENTS-LOCAL.md)
|
|
350
|
+
|
|
347
351
|
**Status:** experimental adapter — optional package published in the aligned v2.2.0 package set.
|
|
348
352
|
|
|
349
353
|
The safe integration boundary is documented in [OPENAI-AGENTS-JS-TRACING.md](./proposals/OPENAI-AGENTS-JS-TRACING.md). Install the AgentInspect processor by replacing processors:
|
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
|