agent-inspect 6.18.0 → 6.19.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/CHANGELOG.md +12 -0
- package/README.md +3 -1
- package/SECURITY.md +2 -0
- package/docs/API.md +2 -1
- package/docs/ARCHITECTURE.md +28 -16
- package/docs/KNOWN-ISSUES.md +3 -3
- package/docs/LIMITATIONS.md +5 -4
- package/docs/PERFORMANCE.md +1 -1
- package/docs/SUPPORT-LEVELS.md +2 -1
- package/package.json +3 -2
- package/packages/cli/dist/{chunk-S4TLTLXN.mjs → chunk-QDYVK4MF.mjs} +403 -42
- package/packages/cli/dist/chunk-QDYVK4MF.mjs.map +1 -0
- package/packages/cli/dist/index.cjs +443 -63
- package/packages/cli/dist/index.cjs.map +1 -1
- package/packages/cli/dist/index.mjs +11 -7
- package/packages/cli/dist/index.mjs.map +1 -1
- package/packages/cli/dist/{src-R6V5EZZH.mjs → src-CIC27TS2.mjs} +3 -3
- package/packages/cli/dist/{src-R6V5EZZH.mjs.map → src-CIC27TS2.mjs.map} +1 -1
- package/packages/core/dist/advanced.cjs +118 -18
- package/packages/core/dist/advanced.cjs.map +1 -1
- package/packages/core/dist/advanced.d.cts +14 -3
- package/packages/core/dist/advanced.d.ts +14 -3
- package/packages/core/dist/advanced.mjs +8 -8
- package/packages/core/dist/advanced.mjs.map +1 -1
- package/packages/core/dist/checks.cjs +334 -5
- package/packages/core/dist/checks.cjs.map +1 -1
- package/packages/core/dist/checks.d.cts +81 -4
- package/packages/core/dist/checks.d.ts +81 -4
- package/packages/core/dist/checks.mjs +3 -3
- package/packages/core/dist/{chunk-VFO76UH3.mjs → chunk-3XS5O4JI.mjs} +3 -3
- package/packages/core/dist/{chunk-VFO76UH3.mjs.map → chunk-3XS5O4JI.mjs.map} +1 -1
- package/packages/core/dist/{chunk-ZWA5RWMV.mjs → chunk-5YFJJFXU.mjs} +4 -4
- package/packages/core/dist/{chunk-ZWA5RWMV.mjs.map → chunk-5YFJJFXU.mjs.map} +1 -1
- package/packages/core/dist/{chunk-LQC7IED3.mjs → chunk-6LP2J5CA.mjs} +337 -9
- package/packages/core/dist/chunk-6LP2J5CA.mjs.map +1 -0
- package/packages/core/dist/{chunk-SGL4JGCD.mjs → chunk-JBNRJLIV.mjs} +58 -18
- package/packages/core/dist/chunk-JBNRJLIV.mjs.map +1 -0
- package/packages/core/dist/{chunk-ULCGIRTC.mjs → chunk-U25RHRSU.mjs} +65 -5
- package/packages/core/dist/chunk-U25RHRSU.mjs.map +1 -0
- package/packages/core/dist/{context-Ca5yK8Cs.d.cts → context-C5ye_xcS.d.cts} +0 -4
- package/packages/core/dist/{context-D6cS4XIL.d.ts → context-CNsNSgE2.d.ts} +0 -4
- package/packages/core/dist/exporters.cjs +55 -15
- package/packages/core/dist/exporters.cjs.map +1 -1
- package/packages/core/dist/exporters.mjs +3 -3
- package/packages/core/dist/{index-B9ZGvUVL.d.ts → index-AMAGuO_i.d.ts} +1 -1
- package/packages/core/dist/{index-DWu54Y28.d.cts → index-DCR816Yt.d.cts} +2 -2
- package/packages/core/dist/{index-DlwbVqEs.d.ts → index-DKwuGSe-.d.ts} +2 -2
- package/packages/core/dist/{index-B259NKkH.d.cts → index-vqr-g6ev.d.cts} +1 -1
- package/packages/core/dist/index.cjs +63 -3
- package/packages/core/dist/index.cjs.map +1 -1
- package/packages/core/dist/index.d.cts +1 -1
- package/packages/core/dist/index.d.ts +1 -1
- package/packages/core/dist/index.mjs +4 -4
- package/packages/core/dist/readers.d.cts +1 -1
- package/packages/core/dist/readers.d.ts +1 -1
- package/packages/core/dist/writers.cjs +33 -2
- package/packages/core/dist/writers.cjs.map +1 -1
- package/packages/core/dist/writers.mjs +1 -1
- package/packages/cli/dist/chunk-S4TLTLXN.mjs.map +0 -1
- package/packages/core/dist/chunk-LQC7IED3.mjs.map +0 -1
- package/packages/core/dist/chunk-SGL4JGCD.mjs.map +0 -1
- package/packages/core/dist/chunk-ULCGIRTC.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.19.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e23b94b: 6.19.1 trust restoration: redact free-text credentials in persisted error messages before disk, refresh shipped docs to match 6.19.0 reality, and enforce all 18 fixed-group package READMEs (including root `agent-inspect`) via `package-readmes:check`.
|
|
8
|
+
|
|
9
|
+
## 6.19.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 07358f2: Add custom TraceReader authoring guidance with a synthetic foreign-session recipe, additive derived failure roles on TraceFacts (MCP/Evidence counts), architectural-intent interop docs/recipe, and bounded priorContextReferences convention.
|
|
14
|
+
|
|
3
15
|
## 6.18.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
<a href="package.json"><img src="https://img.shields.io/badge/node-%3E%3D20-brightgreen" alt="Node.js 20 or newer"></a>
|
|
34
34
|
</p>
|
|
35
35
|
|
|
36
|
+
**Support level:** Stable — see [SUPPORT-LEVELS.md](docs/SUPPORT-LEVELS.md). Network behavior: [NETWORK-BEHAVIOR.md](docs/NETWORK-BEHAVIOR.md).
|
|
37
|
+
|
|
36
38
|
```bash
|
|
37
39
|
npm install agent-inspect
|
|
38
40
|
```
|
|
@@ -210,7 +212,7 @@ The root package is enough for custom capture, the CLI, checks, and Evidence wor
|
|
|
210
212
|
|
|
211
213
|
## Status and documentation
|
|
212
214
|
|
|
213
|
-
**Current published baseline:** **6.
|
|
215
|
+
**Current published baseline:** **6.19.1** · persisted schema `1.0` · Node.js `>=20` · MIT.
|
|
214
216
|
|
|
215
217
|
Legacy v0.1 and v0.2 traces remain readable. Check the npm badge and [changelog](CHANGELOG.md) for the current published version.
|
|
216
218
|
|
package/SECURITY.md
CHANGED
|
@@ -82,6 +82,8 @@ For a practical pre-share workflow, see `docs/SAFE-TRACE-SHARING.md`. For schema
|
|
|
82
82
|
|
|
83
83
|
Pull requests run GitHub **Dependency review** (`.github/workflows/dependency-review.yml`) and fail on newly introduced **high** or **critical** advisory severity. Routine unit/typecheck/size CI also exercises redaction, path containment, and Evidence safety tests. These scanners do **not** replace manual review of share profiles or Evidence packages before you disclose traces.
|
|
84
84
|
|
|
85
|
+
For synthetic fixtures, dynamic-import boundaries, and an explicit “what scanners verify vs not” table, see [docs/SECURITY-SCANNERS.md](docs/SECURITY-SCANNERS.md).
|
|
86
|
+
|
|
85
87
|
## Optional surfaces (v2.6)
|
|
86
88
|
|
|
87
89
|
### Local viewer (`agent-inspect serve`)
|
package/docs/API.md
CHANGED
|
@@ -514,6 +514,7 @@ import type { TraceReader } from "agent-inspect/readers";
|
|
|
514
514
|
- **`openInferenceJsonReader`**: local OpenInference JSON compatibility reader. Prompt/output-like attributes are summarized and bounded rather than stored as raw content.
|
|
515
515
|
- **`otlpJsonReader`**: local OTLP/HTTP JSON trace payload reader. Resource, scope, span, status, event, and parent metadata are preserved where possible with warnings for unsupported fields.
|
|
516
516
|
- **`DEFAULT_TRACE_READERS`**: ordered built-in reader registry used when no custom `readers` array is supplied.
|
|
517
|
+
- **Custom readers**: implement `TraceReader` and pass `{ readers: [myReader, ...DEFAULT_TRACE_READERS] }` — see [CUSTOM-TRACE-READER.md](./CUSTOM-TRACE-READER.md).
|
|
517
518
|
|
|
518
519
|
The reader contract does not silently accept arbitrary JSON and does not add OTel SDK, database, hosted ingestion, or network upload dependencies. See also [PROGRAMMATIC-TRACE-ANALYSIS.md](./PROGRAMMATIC-TRACE-ANALYSIS.md).
|
|
519
520
|
|
|
@@ -536,7 +537,7 @@ import type { TraceCheckRule, TraceCheckResult, TraceFacts } from "agent-inspect
|
|
|
536
537
|
```
|
|
537
538
|
|
|
538
539
|
- **`runTraceChecks({ read }, { rules?, select?, runId? })`**: executes provided rules against a `TraceReadResult` from `agent-inspect/readers`.
|
|
539
|
-
- **`buildTraceFacts(read | events)`**: experimental TraceFacts over logical projection; accepts `TraceReadResult` or normalized `PersistedInspectEvent[]`.
|
|
540
|
+
- **`buildTraceFacts(read | events)`**: experimental TraceFacts over logical projection; accepts `TraceReadResult` or normalized `PersistedInspectEvent[]`. Additive 6.19 fields: `failureFacts`, `failuresByRole`, `summary.failureRoleCounts`.
|
|
540
541
|
- **`defineTraceContract` / `evaluateTraceContract` / `evaluateTraceContractRead`**: experimental contract helpers; `evaluateTraceContractRead(read, contract)` wraps `{ read }`.
|
|
541
542
|
- **`formatProgrammaticDiagnostic` / `PROGRAMMATIC_DIAGNOSTIC_SPECS`**: stable `AI_*` codes with remediation hints.
|
|
542
543
|
- **Built-in rule factories**: run, tool, LLM, structure, retrieval, guardrail, decision, safety, and baseline helpers including `createRunStatusRule`, `createToolUsageRule`, `createLlmUsageRule`, `createStructureOrphanRule`, `createStructureCycleRule`, `createStructureRelationshipRule`, `createRetrievalRule`, `createGuardrailRule`, `createDecisionRule`, `createSafetyRawContentRule`, `createSafetySecretPatternRule`, and `createBaselineRegressionRule`.
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -1,27 +1,41 @@
|
|
|
1
1
|
## Architecture
|
|
2
2
|
|
|
3
|
-
> **Adoption-focused overview:** see [TECHNICAL-GUIDE.md](./TECHNICAL-GUIDE.md) for a comprehensive technical guide
|
|
3
|
+
> **Adoption-focused overview:** see [TECHNICAL-GUIDE.md](./TECHNICAL-GUIDE.md) for a comprehensive technical guide suitable for blogs and outreach.
|
|
4
4
|
|
|
5
|
-
AgentInspect is a **local-first execution-tree debugger
|
|
5
|
+
AgentInspect is a **local-first execution-tree debugger and trajectory-test toolkit** for TypeScript AI agents: framework-native capture and manual traces produce inspectable step trees as local JSONL (default `.agent-inspect`), with CLI, TraceContract / TraceFacts checks, Evidence v2 packaging, and optional read-only MCP.
|
|
6
6
|
|
|
7
7
|
### Package layout
|
|
8
8
|
|
|
9
9
|
| Package | Published? | Role |
|
|
10
10
|
| -------- | ---------- | ---- |
|
|
11
11
|
| `agent-inspect` | Yes | Public tarball: core tracing APIs + CLI (`agent-inspect` binary) |
|
|
12
|
-
| `@agent-inspect/core` | No (private) | Tracing, storage,
|
|
12
|
+
| `@agent-inspect/core` | No (private) | Tracing, storage, readers/writers, checks, export, diff |
|
|
13
13
|
| `@agent-inspect/cli` | No (private) | Commander CLI implementation |
|
|
14
|
-
| `@agent-inspect/
|
|
15
|
-
| `@agent-inspect/
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
| `@agent-inspect/redact` | Yes | Standalone redaction engine (also used by CLI `redact`) |
|
|
15
|
+
| `@agent-inspect/ai-sdk` | Yes (optional) | Vercel AI SDK telemetry integration |
|
|
16
|
+
| `@agent-inspect/openai-agents` | Yes (optional) | OpenAI Agents JS `setTraceProcessors()` adapter |
|
|
17
|
+
| `@agent-inspect/langchain` | Yes (optional) | LangChain.js / LangGraph callback adapter |
|
|
18
|
+
| `@agent-inspect/mcp` | Yes (optional) | MCP client `tools/list` / `tools/call` tracing |
|
|
19
|
+
| `@agent-inspect/adapter-sdk` | Yes (optional) | Shared adapter helpers / plugin surface |
|
|
20
|
+
| `@agent-inspect/vitest` / `@agent-inspect/jest` | Yes (optional) | Test reporters and TraceContract matchers |
|
|
21
|
+
| `@agent-inspect/eval` | Yes (optional) | Deterministic local eval heuristics |
|
|
22
|
+
| `@agent-inspect/guardrails` / `@agent-inspect/circuit` | Yes (optional) | Local guardrail and circuit utilities |
|
|
23
|
+
| `@agent-inspect/harness` | Yes (optional) | Lightweight local harness helpers |
|
|
24
|
+
| `@agent-inspect/viewer` | Yes (optional) | Local HTML/viewer surface |
|
|
25
|
+
| `@agent-inspect/tui` | Yes (optional) | Ink/React terminal viewer |
|
|
26
|
+
| `@agent-inspect/mcp-server` | Yes (optional) | Read-only local MCP server over traces |
|
|
27
|
+
| `@agent-inspect/index-sqlite` | Yes (optional) | Optional local SQLite metadata index |
|
|
28
|
+
| `@agent-inspect/studio` | Yes (optional) | Local studio CLI / ingest surfaces |
|
|
29
|
+
|
|
30
|
+
Root `agent-inspect` uses **conditional exports** for ESM/CJS TypeScript consumers (`import.types` / `require.types`). Heavy framework dependencies stay in optional packages.
|
|
18
31
|
|
|
19
32
|
### Event model and schema
|
|
20
33
|
|
|
21
|
-
- Manual
|
|
22
|
-
- Failures use `step_completed` with `status: "error"` — there is no `step_failed` event.
|
|
34
|
+
- Manual global helpers (`inspectRun()` / `step()`) still write **`schemaVersion: "0.1"`** JSONL for compatibility (`run_started`, `step_started`, `step_completed`, `run_completed`).
|
|
35
|
+
- Failures use `step_completed` / `run_completed` with `status: "error"` — there is no `step_failed` event.
|
|
36
|
+
- **Persisted writer/runtime output targets schema 1.0.** `createInspector()` with built-in writers emits schema **1.0** persisted rows; v0.1 and v0.2 remain readable.
|
|
23
37
|
- Log-derived runs use confidence labels (`explicit`, `correlated`, `heuristic`, `unknown`) and conservative tree-building rules.
|
|
24
|
-
-
|
|
38
|
+
- Migration is explicit (`agent-inspect migrate …`); AgentInspect does not rewrite old traces in place.
|
|
25
39
|
|
|
26
40
|
See [SCHEMA.md](./SCHEMA.md) for field reference and [API.md](./API.md) for public surfaces (stable vs experimental).
|
|
27
41
|
|
|
@@ -29,21 +43,19 @@ See [SCHEMA.md](./SCHEMA.md) for field reference and [API.md](./API.md) for publ
|
|
|
29
43
|
|
|
30
44
|
- Instrumentation must **not throw into user code**; trace safety failures degrade gracefully.
|
|
31
45
|
- **Manual metadata** is redacted before disk by default; `redact: false` opts out.
|
|
46
|
+
- **Error messages** also run high-confidence free-text credential detectors before disk (provider keys, bearer tokens, JWTs, and related patterns), unless `redact: false`.
|
|
32
47
|
- **Size bounds** cap persisted event and metadata size.
|
|
33
48
|
- Log ingest: JSON first-class; log4js best-effort; no `eval` or JS object-literal parsing.
|
|
34
49
|
|
|
35
50
|
See [SECURITY.md](../SECURITY.md) and [LIMITATIONS.md](./LIMITATIONS.md).
|
|
36
51
|
|
|
37
|
-
### Optional adapters
|
|
38
|
-
|
|
39
|
-
- **`@agent-inspect/langchain`**: in-memory by default; `persist: true` writes local JSONL. Experimental.
|
|
40
|
-
- **`@agent-inspect/tui`**: interactive viewer; isolated from root deps. Experimental.
|
|
52
|
+
### Optional adapters and surfaces
|
|
41
53
|
|
|
42
|
-
|
|
54
|
+
Official adapters (`@agent-inspect/ai-sdk`, `@agent-inspect/openai-agents`, `@agent-inspect/langchain`) share a bounded preview-capture contract. MCP client tracing, reporters, eval, redact, viewer/TUI, studio, and read-only MCP are separate optional packages — see [ADAPTERS.md](./ADAPTERS.md) and [SUPPORT-LEVELS.md](./SUPPORT-LEVELS.md).
|
|
43
55
|
|
|
44
56
|
### Architecture proposals
|
|
45
57
|
|
|
46
|
-
Maintainer-owned RFCs and planning proposals are indexed in [proposals/README.md](./proposals/README.md). The active
|
|
58
|
+
Maintainer-owned RFCs and planning proposals are indexed in [proposals/README.md](./proposals/README.md). The active roadmap is [implementation/ROADMAP.md](./implementation/ROADMAP.md).
|
|
47
59
|
|
|
48
60
|
### Where to read next
|
|
49
61
|
|
package/docs/KNOWN-ISSUES.md
CHANGED
|
@@ -28,10 +28,10 @@ AgentInspect is **local-first** and **CLI-first**. These behaviors are intention
|
|
|
28
28
|
## Integrations
|
|
29
29
|
|
|
30
30
|
- **Vendor sinks** (hosted dashboards, Langfuse/Braintrust/New Relic/Datadog native uploads, OTLP gRPC streaming, etc.) are **not implemented** in the core packages described here.
|
|
31
|
-
- **AI SDK adapter** (`@agent-inspect/ai-sdk`) is
|
|
32
|
-
- **OpenAI Agents JS adapter** (`@agent-inspect/openai-agents`) is
|
|
31
|
+
- **AI SDK adapter** (`@agent-inspect/ai-sdk`) is Supported and metadata-first by default. It depends on explicit AI SDK telemetry configuration and requires `recordInputs: false` / `recordOutputs: false` for the documented safe path. Opt-in `capture: "preview"` uses the shared bounded preview helper.
|
|
32
|
+
- **OpenAI Agents JS adapter** (`@agent-inspect/openai-agents`) is Supported and metadata-first. Runtime metadata mapping is local-only; the safe install path is `setTraceProcessors()` rather than `addTraceProcessor()`. Bounded `capture: "preview"` parity ships with the other official adapters.
|
|
33
33
|
- **LangGraph support** is currently a documented boundary through `@agent-inspect/langchain`, not a dedicated package.
|
|
34
|
-
- **LangChain adapter** captures **metadata-oriented** signals by default
|
|
34
|
+
- **LangChain adapter** (`@agent-inspect/langchain`) is Supported; it captures **metadata-oriented** signals by default and shares the same preview contract when `capture: "preview"` is set.
|
|
35
35
|
- **LangChain `stream: true`** records chunk counts and timing only — not a full token replay. Per-token JSONL events are not emitted.
|
|
36
36
|
- **Deep swarm / nested RunnableSequence (6.14.2+):** capture resolves parents before registering child indexes and rejects `parentId === stepId`. Legacy traces that still contain self-parent edges are normalized in logical projection (`AI_LOGICAL_SELF_PARENT_REMOVED`) and rendered with visibility-first, cycle-safe trees so nested LLM/tool steps remain visible.
|
|
37
37
|
- **Correlation metadata** (`correlationId`, `requestId`, `decisionId`, `groupId`) is written on `run_started` but **CLI list/view does not filter by correlation fields** yet.
|
package/docs/LIMITATIONS.md
CHANGED
|
@@ -13,10 +13,10 @@ This document states what AgentInspect **does not** provide today. It complement
|
|
|
13
13
|
|
|
14
14
|
- **`list` / `view` / `export`** do not filter by correlation fields yet — `stats --correlation-id` / `--group-id` and `search` provide targeted read paths; full CLI filtering remains incremental.
|
|
15
15
|
|
|
16
|
-
## Persisted event model
|
|
16
|
+
## Persisted event model
|
|
17
17
|
|
|
18
18
|
- **Manual global tracing remains v0.1.** `inspectRun()` / `step()` still write `schemaVersion: "0.1"` JSONL for compatibility.
|
|
19
|
-
- **Persisted writer/runtime output targets schema 1.0.** `createInspector()` with built-in writers emits schema 1.0 persisted rows; v0.2
|
|
19
|
+
- **Persisted writer/runtime output targets schema 1.0.** `createInspector()` with built-in writers emits schema 1.0 persisted rows; v0.1 and v0.2 remain readable.
|
|
20
20
|
- **Migration is explicit, not automatic.** `agent-inspect migrate <input> --to 1.0 --dry-run` reports what would change, and `--output <file>` writes a separate file. AgentInspect does not rewrite old traces in place.
|
|
21
21
|
|
|
22
22
|
## Runtime writers and universal readers (v1.6)
|
|
@@ -32,7 +32,7 @@ This document states what AgentInspect **does not** provide today. It complement
|
|
|
32
32
|
|
|
33
33
|
- **AI SDK integration is explicit telemetry wiring.** Use `@agent-inspect/ai-sdk` through AI SDK `experimental_telemetry.integrations`; AgentInspect does not wrap providers, patch fetch, or enable telemetry globally.
|
|
34
34
|
- **AI SDK privacy settings are caller-owned.** Examples set `recordInputs: false` and `recordOutputs: false`; leaving those enabled in user code can cause the AI SDK telemetry layer to include richer data before AgentInspect receives events.
|
|
35
|
-
- **OpenAI Agents JS support is
|
|
35
|
+
- **OpenAI Agents JS support is Supported (metadata-first).** `@agent-inspect/openai-agents` maps runtime spans through the safe `setTraceProcessors()` boundary and does not capture raw payloads by default. Bounded `capture: "preview"` is available through the shared adapter capture contract.
|
|
36
36
|
- **LangGraph support is a boundary decision, not a separate package.** Initial support is expected through `@agent-inspect/langchain` callbacks unless no-network fixtures prove a separate package is needed.
|
|
37
37
|
- **No root/core adapter dependencies.** AI SDK, OpenAI Agents, LangGraph, OpenTelemetry, and LangChain remain outside the root/core runtime dependency graph.
|
|
38
38
|
- **Preview capture is bounded, not sanitized.** `capture: "preview"` persists truncated, key-redacted previews of framework-provided input/output fields. Key-based redaction cannot detect a secret embedded in free text, and there is no full-content capture mode. Fields the framework never exposes are reported as `AI_CAPTURE_FIELD_UNAVAILABLE` rather than reconstructed.
|
|
@@ -53,7 +53,8 @@ This document states what AgentInspect **does not** provide today. It complement
|
|
|
53
53
|
|
|
54
54
|
- **Redaction profiles** (`local`, `share`, `strict`) are key-based presets — not compliance-grade PII detection. Review exports before sharing even with `--redaction-profile strict`.
|
|
55
55
|
- **`@agent-inspect/redact` and `agent-inspect redact` create redacted copies.** They do not encrypt source traces, mutate originals, certify compliance, or guarantee every sensitive value is detected.
|
|
56
|
-
- **Default metadata redaction** covers common sensitive keys
|
|
56
|
+
- **Default metadata redaction** covers common sensitive keys (exact key match, case-insensitive). Custom secret field names are not redacted unless you add rules via `redact: { rules: [...] }`.
|
|
57
|
+
- **Error-message free text** also runs high-confidence credential detectors before disk (provider API keys, bearer tokens, JWTs, GitHub tokens, PEM private keys, and high-confidence `key=value` secrets). This is still not compliance-grade detection; `redact: false` opts out.
|
|
57
58
|
- **Metadata truncation** applies to string values and nested structures; very large metadata may be replaced with a truncation marker when `maxEventBytes` is exceeded (default 64 KiB per JSONL line).
|
|
58
59
|
- **Redaction is not encryption.** Local trace files remain readable on disk; treat `.agent-inspect-runs/` like any developer artifact that may contain operational data.
|
|
59
60
|
|
package/docs/PERFORMANCE.md
CHANGED
|
@@ -30,7 +30,7 @@ npx agent-inspect stats --dir fixtures/performance
|
|
|
30
30
|
|
|
31
31
|
All three are validated by `pnpm fixtures:check` and small enough for git (the largest is well under 1 MB).
|
|
32
32
|
|
|
33
|
-
## Comfortable ranges
|
|
33
|
+
## Comfortable ranges
|
|
34
34
|
|
|
35
35
|
| Workload | Comfortable | Warning | Not designed for |
|
|
36
36
|
| -------- | ----------- | ------- | ---------------- |
|
package/docs/SUPPORT-LEVELS.md
CHANGED
|
@@ -49,7 +49,8 @@ shows). `pnpm package-readmes:check` enforces the agreement and runs as part of
|
|
|
49
49
|
To promote or demote a surface:
|
|
50
50
|
|
|
51
51
|
1. Edit the row in the matrix above.
|
|
52
|
-
2. Edit the `**Support level:**` line in
|
|
52
|
+
2. Edit the `**Support level:**` line in the affected public README: `README.md`
|
|
53
|
+
for the root `agent-inspect` package, or `packages/*/README.md` for scoped packages.
|
|
53
54
|
3. Run `pnpm package-readmes:check`.
|
|
54
55
|
|
|
55
56
|
The check also reports packages whose level is **unenforced** — those the matrix
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-inspect",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.19.1",
|
|
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",
|
|
@@ -243,7 +243,8 @@
|
|
|
243
243
|
"public-truth:check": "node scripts/validate-public-truth.mjs",
|
|
244
244
|
"ai-assets:check": "node scripts/validate-ai-assets.mjs",
|
|
245
245
|
"package-readmes:check": "node scripts/validate-package-readmes.mjs",
|
|
246
|
-
"
|
|
246
|
+
"actions:check": "node scripts/check-github-actions-pins.mjs",
|
|
247
|
+
"docs:check": "pnpm run docs:commands && pnpm run docs:links && pnpm run public-truth:check && pnpm run ai-assets:check && pnpm run package-readmes:check && pnpm run repo:health && pnpm run actions:check && pnpm run build:cli && pnpm run demo:verify",
|
|
247
248
|
"build:cli": "pnpm exec tsup --config tsup.cli.config.ts",
|
|
248
249
|
"repo:health": "node scripts/validate-repo-health.mjs",
|
|
249
250
|
"demo:generate": "node scripts/demo-generate.mjs",
|