agent-inspect 6.11.0 → 6.12.1

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/docs/USE-CASES.md CHANGED
@@ -17,7 +17,12 @@ npx agent-inspect report <run-id> --dir .agent-inspect
17
17
 
18
18
  **Output:** Step tree with tool metadata (not raw payloads by default).
19
19
 
20
- **Safety:** Metadata-only default. Redact before sharing: `npx agent-inspect redact --profile share`.
20
+ **Safety:** Metadata-only default. Redact before sharing:
21
+
22
+ ```bash
23
+ npx agent-inspect redact <run-id> --dir .agent-inspect --profile share -o safe.jsonl
24
+ npx agent-inspect verify-safe <run-id> --dir .agent-inspect
25
+ ```
21
26
 
22
27
  **Starter:** [broken-agent-debugging](../examples/starters/broken-agent-debugging/README.md) (intentional failure) or [custom-observe](../examples/starters/custom-observe/README.md)
23
28
 
@@ -32,7 +37,7 @@ npx agent-inspect report <run-id> --dir .agent-inspect
32
37
  **Use:** `@agent-inspect/vitest` or `npx agent-inspect check`.
33
38
 
34
39
  ```bash
35
- npx agent-inspect check .agent-inspect/*.jsonl --require-completed
40
+ npx agent-inspect check <run-id> --dir .agent-inspect
36
41
  ```
37
42
 
38
43
  **Starter:** [ci-eval-redact](../examples/starters/ci-eval-redact/README.md)
@@ -43,7 +48,7 @@ npx agent-inspect check .agent-inspect/*.jsonl --require-completed
43
48
 
44
49
  **Problem:** Reviewers need safe evidence without cloning your laptop.
45
50
 
46
- **Use:** CI upload + `redact --profile share` + `verify-safe`.
51
+ **Use:** CI upload + `redact <run-id> --dir … --profile share` + `verify-safe <run-id>` + optional `bundle` / `bundle verify`.
47
52
 
48
53
  **Doc:** [CI artifacts](./CI-ARTIFACTS.md)
49
54
 
@@ -63,7 +68,7 @@ npx agent-inspect check .agent-inspect/*.jsonl --require-completed
63
68
 
64
69
  **Problem:** You need to paste a trace into Slack or a GitHub issue.
65
70
 
66
- **Use:** `@agent-inspect/redact` or CLI `redact` / `scan`.
71
+ **Use:** `@agent-inspect/redact` or CLI `redact` / `scan` / `bundle` with a run id or path target.
67
72
 
68
73
  **Doc:** [Safe trace sharing](./SAFE-TRACE-SHARING.md)
69
74
 
@@ -77,23 +82,42 @@ npx agent-inspect check .agent-inspect/*.jsonl --require-completed
77
82
 
78
83
  ---
79
84
 
80
- ## 7. MCP tool tracing
85
+ ## 7. Ask a coding agent what failed first (MCP)
86
+
87
+ **Problem:** You want Cursor/Claude/Codex to inspect a local failing run without uploading traces.
88
+
89
+ **Use:** `@agent-inspect/mcp-server` + `agent-inspect mcp configure` (dry-run by default).
90
+
91
+ ```bash
92
+ npx agent-inspect mcp configure --client cursor
93
+ cd examples/starters/coding-agent-debug-loop && pnpm start && pnpm run inspect-mcp
94
+ ```
95
+
96
+ Ask the agent for `get_first_causal_failure` / `create_share_checked_evidence`.
97
+
98
+ **Docs:** [CODING-AGENT-LOOP.md](./CODING-AGENT-LOOP.md) · **Starter:** [coding-agent-debug-loop](../examples/starters/coding-agent-debug-loop/README.md)
99
+
100
+ **Not:** Remote MCP gateway or default network upload.
101
+
102
+ ---
103
+
104
+ ## 8. MCP client tool tracing
81
105
 
82
106
  **Problem:** Which MCP tools were listed, called, and where did they fail?
83
107
 
84
- **Use:** `@agent-inspect/mcp` (client tracing only).
108
+ **Use:** `@agent-inspect/mcp` (client tracing only — distinct from the coding-agent MCP **server** loop above).
85
109
 
86
110
  ---
87
111
 
88
- ## 8. Design partner adoption
112
+ ## 9. Design partner adoption
89
113
 
90
114
  **Problem:** Team wants one real agent instrumented in one sprint.
91
115
 
92
- **Doc:** [Design partner guide](./DESIGN-PARTNER-GUIDE.md)
116
+ **Doc:** [Design partner guide](./DESIGN-PARTNER-GUIDE.md) · [Pilot kit](./PRE-V7-PILOT-KIT.md)
93
117
 
94
118
  ---
95
119
 
96
- ## 9. VS Code trace review
120
+ ## 10. VS Code trace review
97
121
 
98
122
  **Problem:** Browse `.agent-inspect/` from the editor.
99
123
 
@@ -103,7 +127,7 @@ npx agent-inspect check .agent-inspect/*.jsonl --require-completed
103
127
 
104
128
  ---
105
129
 
106
- ## 10. Existing structured logs
130
+ ## 11. Existing structured logs
107
131
 
108
132
  **Problem:** You cannot change app code; logs already exist.
109
133
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-inspect",
3
- "version": "6.11.0",
3
+ "version": "6.12.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Debug, regression-test, and safely share TypeScript AI-agent behavior locally — no account, no default upload, metadata-only by default",
@@ -11889,7 +11889,7 @@ var init_src = __esm({
11889
11889
  });
11890
11890
 
11891
11891
  // package.json
11892
- var version = "6.11.0";
11892
+ var version = "6.12.1";
11893
11893
 
11894
11894
  // packages/cli/src/list.ts
11895
11895
  init_advanced();