agent-inspect 6.28.0 → 6.29.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 +6 -0
- package/README.md +1 -1
- package/docs/LIMITATIONS.md +1 -1
- package/docs/SCHEMA.md +1 -1
- package/package.json +2 -1
- package/packages/cli/dist/{chunk-JVQ4LTHR.mjs → chunk-D7PT6TXM.mjs} +57 -8
- package/packages/cli/dist/chunk-D7PT6TXM.mjs.map +1 -0
- package/packages/cli/dist/index.cjs +56 -7
- package/packages/cli/dist/index.cjs.map +1 -1
- package/packages/cli/dist/index.mjs +4 -4
- package/packages/cli/dist/index.mjs.map +1 -1
- package/packages/cli/dist/{src-M5J5YC5E.mjs → src-QONEBW2F.mjs} +3 -3
- package/packages/cli/dist/{src-M5J5YC5E.mjs.map → src-QONEBW2F.mjs.map} +1 -1
- package/packages/core/dist/advanced.cjs +53 -6
- package/packages/core/dist/advanced.cjs.map +1 -1
- package/packages/core/dist/advanced.d.cts +9 -7
- package/packages/core/dist/advanced.d.ts +9 -7
- package/packages/core/dist/advanced.mjs +14 -14
- package/packages/core/dist/checks.cjs +10 -1
- package/packages/core/dist/checks.cjs.map +1 -1
- package/packages/core/dist/checks.d.cts +5 -5
- package/packages/core/dist/checks.d.ts +5 -5
- package/packages/core/dist/checks.mjs +5 -5
- package/packages/core/dist/{chunk-U25RHRSU.mjs → chunk-3B24355S.mjs} +12 -5
- package/packages/core/dist/chunk-3B24355S.mjs.map +1 -0
- package/packages/core/dist/{chunk-NXQF73EC.mjs → chunk-5B4DNGFB.mjs} +9 -5
- package/packages/core/dist/chunk-5B4DNGFB.mjs.map +1 -0
- package/packages/core/dist/{chunk-NDRMIL7Z.mjs → chunk-FKUTGUFG.mjs} +12 -4
- package/packages/core/dist/chunk-FKUTGUFG.mjs.map +1 -0
- package/packages/core/dist/{chunk-ME4WXYY3.mjs → chunk-LGTPSHH2.mjs} +13 -4
- package/packages/core/dist/chunk-LGTPSHH2.mjs.map +1 -0
- package/packages/core/dist/{chunk-R4SSYU6D.mjs → chunk-MVRZ7JBH.mjs} +3 -3
- package/packages/core/dist/{chunk-R4SSYU6D.mjs.map → chunk-MVRZ7JBH.mjs.map} +1 -1
- package/packages/core/dist/{chunk-P366CCL2.mjs → chunk-QJI52TH3.mjs} +4 -2
- package/packages/core/dist/chunk-QJI52TH3.mjs.map +1 -0
- package/packages/core/dist/{chunk-WRE4CNPF.mjs → chunk-SJ3C5RIS.mjs} +3 -3
- package/packages/core/dist/chunk-SJ3C5RIS.mjs.map +1 -0
- package/packages/core/dist/{chunk-WGDSM37E.mjs → chunk-TIGBAVED.mjs} +5 -5
- package/packages/core/dist/{chunk-WGDSM37E.mjs.map → chunk-TIGBAVED.mjs.map} +1 -1
- package/packages/core/dist/{chunk-JBNRJLIV.mjs → chunk-TNOPL75V.mjs} +33 -7
- package/packages/core/dist/chunk-TNOPL75V.mjs.map +1 -0
- package/packages/core/dist/{context-DgcvkJ9t.d.ts → context-B8zzsmjX.d.ts} +2 -2
- package/packages/core/dist/{context-DGMqxFpz.d.cts → context-BhaVHtOT.d.cts} +2 -2
- package/packages/core/dist/diff.d.cts +1 -1
- package/packages/core/dist/diff.d.ts +1 -1
- package/packages/core/dist/exporters.cjs +29 -3
- package/packages/core/dist/exporters.cjs.map +1 -1
- package/packages/core/dist/exporters.d.cts +1 -1
- package/packages/core/dist/exporters.d.ts +1 -1
- package/packages/core/dist/exporters.mjs +5 -5
- package/packages/core/dist/{index-C6bCIbFO.d.cts → index-BT3KcO6-.d.cts} +1 -1
- package/packages/core/dist/{index-DVetZwGG.d.cts → index-C61p7wBR.d.cts} +3 -3
- package/packages/core/dist/{index-BOA1AeEU.d.ts → index-DTO2iGeq.d.ts} +3 -3
- package/packages/core/dist/{index-BzyNPfLm.d.ts → index-reskZCVW.d.ts} +1 -1
- package/packages/core/dist/index.cjs +10 -1
- package/packages/core/dist/index.cjs.map +1 -1
- package/packages/core/dist/index.d.cts +4 -4
- package/packages/core/dist/index.d.ts +4 -4
- package/packages/core/dist/index.mjs +6 -6
- package/packages/core/dist/{persisted-inspect-event-CbaRYpbw.d.ts → persisted-inspect-event-BMwvGIB8.d.ts} +5 -0
- package/packages/core/dist/{persisted-inspect-event-DiJ0I_vi.d.cts → persisted-inspect-event-DPaCiars.d.cts} +5 -0
- package/packages/core/dist/persisted.cjs +8 -2
- package/packages/core/dist/persisted.cjs.map +1 -1
- package/packages/core/dist/persisted.d.cts +3 -3
- package/packages/core/dist/persisted.d.ts +3 -3
- package/packages/core/dist/persisted.mjs +3 -3
- package/packages/core/dist/readers.cjs +16 -2
- package/packages/core/dist/readers.cjs.map +1 -1
- package/packages/core/dist/readers.d.cts +2 -2
- package/packages/core/dist/readers.d.ts +2 -2
- package/packages/core/dist/readers.mjs +4 -4
- package/packages/core/dist/{types-wXuxMUop.d.cts → types-BSzhK7Z1.d.cts} +9 -0
- package/packages/core/dist/{types-xv9bSgOK.d.ts → types-C5Y8Idle.d.ts} +9 -0
- package/packages/core/dist/writers.cjs +10 -1
- package/packages/core/dist/writers.cjs.map +1 -1
- package/packages/core/dist/writers.d.cts +1 -1
- package/packages/core/dist/writers.d.ts +1 -1
- package/packages/core/dist/writers.mjs +3 -3
- package/packages/cli/dist/chunk-JVQ4LTHR.mjs.map +0 -1
- package/packages/core/dist/chunk-JBNRJLIV.mjs.map +0 -1
- package/packages/core/dist/chunk-ME4WXYY3.mjs.map +0 -1
- package/packages/core/dist/chunk-NDRMIL7Z.mjs.map +0 -1
- package/packages/core/dist/chunk-NXQF73EC.mjs.map +0 -1
- package/packages/core/dist/chunk-P366CCL2.mjs.map +0 -1
- package/packages/core/dist/chunk-U25RHRSU.mjs.map +0 -1
- package/packages/core/dist/chunk-WRE4CNPF.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.29.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0e5732e: Provider usage fidelity: preserve cache-read (`cached`), cache-write (`cacheWrite`), and reasoning token fields across core normalization and adapters. Add isolated AI SDK peer matrix (`ai@^6` required; AI SDK 7 soft-blocked pending telemetry API migration). No pricing engine; root Node remains `>=20`.
|
|
8
|
+
|
|
3
9
|
## 6.28.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -212,7 +212,7 @@ The root package is enough for custom capture, the CLI, checks, and Evidence wor
|
|
|
212
212
|
|
|
213
213
|
## Status and documentation
|
|
214
214
|
|
|
215
|
-
**Current published baseline:** **6.
|
|
215
|
+
**Current published baseline:** **6.29.0** · persisted schema `1.0` · Node.js `>=20` · MIT.
|
|
216
216
|
|
|
217
217
|
Legacy v0.1 and v0.2 traces remain readable. Check the npm badge and [changelog](CHANGELOG.md) for the current published version.
|
|
218
218
|
|
package/docs/LIMITATIONS.md
CHANGED
|
@@ -81,7 +81,7 @@ This document states what AgentInspect **does not** provide today. It complement
|
|
|
81
81
|
|
|
82
82
|
## Economics
|
|
83
83
|
|
|
84
|
-
- **No cost engine**: no pricing tables, invoice-grade usage, or provider billing reconciliation.
|
|
84
|
+
- **No cost engine**: no pricing tables, invoice-grade usage, or provider billing reconciliation. Usage fidelity may preserve cache-read (`cached`), cache-write (`cacheWrite`), and reasoning token counts when providers report them; those fields are observational only.
|
|
85
85
|
- **Token usage is supplied metadata only**: AgentInspect may display `input`, `output`, `total`, and `cached` counts when callers/adapters provide them; core does not count tokens or infer provider billing.
|
|
86
86
|
|
|
87
87
|
## Local observability commands (v1.4.0)
|
package/docs/SCHEMA.md
CHANGED
|
@@ -264,7 +264,7 @@ Canonical samples: `fixtures/traces-v0.2/*.jsonl` (validated by `pnpm fixtures:c
|
|
|
264
264
|
| `attributes` | no | Shallow metadata bag (redaction-ready) |
|
|
265
265
|
| `inputSummary` / `outputSummary` | no | Truncated previews when explicitly captured |
|
|
266
266
|
| `error` | no | `{ name?, message, code? }` when `status: "error"` |
|
|
267
|
-
| `tokenUsage` | no | `{ input?, output?, total?, cached? }` when supplied/known |
|
|
267
|
+
| `tokenUsage` | no | `{ input?, output?, total?, cached?, cacheWrite?, reasoning? }` when supplied/known. `cached` is cache-read; `cacheWrite` / `reasoning` are informational and are never added to `total`. No pricing fields. |
|
|
268
268
|
| `trace` | no | Optional `{ traceId?, spanId?, parentSpanId? }` for future OTel alignment |
|
|
269
269
|
|
|
270
270
|
Programmatic helpers: see [API.md](./API.md) §13 (experimental persisted-event foundation).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-inspect",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.29.0",
|
|
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",
|
|
@@ -250,6 +250,7 @@
|
|
|
250
250
|
"demo:generate": "node scripts/demo-generate.mjs",
|
|
251
251
|
"demo:verify": "node scripts/demo-verify.mjs",
|
|
252
252
|
"compat:smoke": "node scripts/compat-smoke.mjs",
|
|
253
|
+
"compat:ai-sdk-matrix": "node scripts/ai-sdk-peer-matrix.mjs",
|
|
253
254
|
"fixtures:check": "node scripts/validate-fixtures.mjs",
|
|
254
255
|
"recipes:check": "node scripts/validate-recipes.mjs",
|
|
255
256
|
"perf:baseline": "node scripts/performance-baseline.mjs",
|
|
@@ -94,6 +94,8 @@ function isPersistedTokenUsage(value) {
|
|
|
94
94
|
if (!isOptionalNonNegativeNumber(value.output)) return false;
|
|
95
95
|
if (!isOptionalNonNegativeNumber(value.total)) return false;
|
|
96
96
|
if (!isOptionalNonNegativeNumber(value.cached)) return false;
|
|
97
|
+
if (!isOptionalNonNegativeNumber(value.cacheWrite)) return false;
|
|
98
|
+
if (!isOptionalNonNegativeNumber(value.reasoning)) return false;
|
|
97
99
|
return true;
|
|
98
100
|
}
|
|
99
101
|
function isPersistedTraceContext(value) {
|
|
@@ -1796,7 +1798,13 @@ function buildRunSummary(events) {
|
|
|
1796
1798
|
tokensInput: isNonNegativeFiniteNumber(s.metadata?.tokens?.input) ? s.metadata.tokens.input : void 0,
|
|
1797
1799
|
tokensOutput: isNonNegativeFiniteNumber(s.metadata?.tokens?.output) ? s.metadata.tokens.output : void 0,
|
|
1798
1800
|
tokensTotal: isNonNegativeFiniteNumber(s.metadata?.tokens?.total) ? s.metadata.tokens.total : void 0,
|
|
1799
|
-
tokensCached: isNonNegativeFiniteNumber(s.metadata?.tokens?.cached) ? s.metadata.tokens.cached : void 0
|
|
1801
|
+
tokensCached: isNonNegativeFiniteNumber(s.metadata?.tokens?.cached) ? s.metadata.tokens.cached : void 0,
|
|
1802
|
+
tokensCacheWrite: isNonNegativeFiniteNumber(
|
|
1803
|
+
s.metadata?.tokens?.cacheWrite
|
|
1804
|
+
) ? s.metadata.tokens.cacheWrite : void 0,
|
|
1805
|
+
tokensReasoning: isNonNegativeFiniteNumber(
|
|
1806
|
+
s.metadata?.tokens?.reasoning
|
|
1807
|
+
) ? s.metadata.tokens.reasoning : void 0
|
|
1800
1808
|
});
|
|
1801
1809
|
}
|
|
1802
1810
|
}
|
|
@@ -1820,9 +1828,13 @@ function buildRunSummary(events) {
|
|
|
1820
1828
|
let totalTokensOutput = 0;
|
|
1821
1829
|
let totalTokensTotal = 0;
|
|
1822
1830
|
let totalTokensCached = 0;
|
|
1831
|
+
let totalTokensCacheWrite = 0;
|
|
1832
|
+
let totalTokensReasoning = 0;
|
|
1823
1833
|
let tokenBearingSteps = 0;
|
|
1824
1834
|
let stepsWithKnownTotal = 0;
|
|
1825
1835
|
let hasCachedTokens = false;
|
|
1836
|
+
let hasCacheWriteTokens = false;
|
|
1837
|
+
let hasReasoningTokens = false;
|
|
1826
1838
|
const depthCache = /* @__PURE__ */ new Map();
|
|
1827
1839
|
for (const [id, s] of steps.entries()) {
|
|
1828
1840
|
totalSteps += 1;
|
|
@@ -1837,7 +1849,7 @@ function buildRunSummary(events) {
|
|
|
1837
1849
|
longestStep = { name: s.name, durationMs: s.durationMs, type: s.type };
|
|
1838
1850
|
}
|
|
1839
1851
|
}
|
|
1840
|
-
if (s.tokensInput !== void 0 || s.tokensOutput !== void 0 || s.tokensTotal !== void 0 || s.tokensCached !== void 0) {
|
|
1852
|
+
if (s.tokensInput !== void 0 || s.tokensOutput !== void 0 || s.tokensTotal !== void 0 || s.tokensCached !== void 0 || s.tokensCacheWrite !== void 0 || s.tokensReasoning !== void 0) {
|
|
1841
1853
|
tokenBearingSteps += 1;
|
|
1842
1854
|
if (s.tokensInput !== void 0) totalTokensInput += s.tokensInput;
|
|
1843
1855
|
if (s.tokensOutput !== void 0) totalTokensOutput += s.tokensOutput;
|
|
@@ -1852,6 +1864,14 @@ function buildRunSummary(events) {
|
|
|
1852
1864
|
totalTokensCached += s.tokensCached;
|
|
1853
1865
|
hasCachedTokens = true;
|
|
1854
1866
|
}
|
|
1867
|
+
if (s.tokensCacheWrite !== void 0) {
|
|
1868
|
+
totalTokensCacheWrite += s.tokensCacheWrite;
|
|
1869
|
+
hasCacheWriteTokens = true;
|
|
1870
|
+
}
|
|
1871
|
+
if (s.tokensReasoning !== void 0) {
|
|
1872
|
+
totalTokensReasoning += s.tokensReasoning;
|
|
1873
|
+
hasReasoningTokens = true;
|
|
1874
|
+
}
|
|
1855
1875
|
}
|
|
1856
1876
|
}
|
|
1857
1877
|
const summary = {
|
|
@@ -1871,7 +1891,9 @@ function buildRunSummary(events) {
|
|
|
1871
1891
|
input: totalTokensInput,
|
|
1872
1892
|
output: totalTokensOutput,
|
|
1873
1893
|
...stepsWithKnownTotal === tokenBearingSteps ? { total: totalTokensTotal } : {},
|
|
1874
|
-
...hasCachedTokens ? { cached: totalTokensCached } : {}
|
|
1894
|
+
...hasCachedTokens ? { cached: totalTokensCached } : {},
|
|
1895
|
+
...hasCacheWriteTokens ? { cacheWrite: totalTokensCacheWrite } : {},
|
|
1896
|
+
...hasReasoningTokens ? { reasoning: totalTokensReasoning } : {}
|
|
1875
1897
|
}
|
|
1876
1898
|
} : {}
|
|
1877
1899
|
};
|
|
@@ -2384,6 +2406,12 @@ function renderRunWhat(summary, options = {}) {
|
|
|
2384
2406
|
if (summary.totalTokens.cached !== void 0) {
|
|
2385
2407
|
tokenParts.push(`${summary.totalTokens.cached} cached`);
|
|
2386
2408
|
}
|
|
2409
|
+
if (summary.totalTokens.cacheWrite !== void 0) {
|
|
2410
|
+
tokenParts.push(`${summary.totalTokens.cacheWrite} cache-write`);
|
|
2411
|
+
}
|
|
2412
|
+
if (summary.totalTokens.reasoning !== void 0) {
|
|
2413
|
+
tokenParts.push(`${summary.totalTokens.reasoning} reasoning`);
|
|
2414
|
+
}
|
|
2387
2415
|
lines.push(`Tokens: ${tokenParts.join(" / ")}`);
|
|
2388
2416
|
}
|
|
2389
2417
|
if (showCorrelation && summary.correlation) {
|
|
@@ -5186,6 +5214,9 @@ var SAFE_USAGE_LEAF_KEYS = /* @__PURE__ */ new Set([
|
|
|
5186
5214
|
"output",
|
|
5187
5215
|
"total",
|
|
5188
5216
|
"cached",
|
|
5217
|
+
"cachewrite",
|
|
5218
|
+
"cache_write",
|
|
5219
|
+
"reasoning",
|
|
5189
5220
|
"input_tokens",
|
|
5190
5221
|
"inputtokens",
|
|
5191
5222
|
"output_tokens",
|
|
@@ -5195,7 +5226,13 @@ var SAFE_USAGE_LEAF_KEYS = /* @__PURE__ */ new Set([
|
|
|
5195
5226
|
"prompt_tokens",
|
|
5196
5227
|
"prompttokens",
|
|
5197
5228
|
"completion_tokens",
|
|
5198
|
-
"completiontokens"
|
|
5229
|
+
"completiontokens",
|
|
5230
|
+
"cache_read",
|
|
5231
|
+
"cacheread",
|
|
5232
|
+
"cache_creation",
|
|
5233
|
+
"cachecreation",
|
|
5234
|
+
"reasoning_tokens",
|
|
5235
|
+
"reasoningtokens"
|
|
5199
5236
|
]);
|
|
5200
5237
|
var DEFAULT_SECRET_PATTERNS = [
|
|
5201
5238
|
{ id: "bearer-token", pattern: /Bearer\s+[A-Za-z0-9._~+/-]{12,}=*/ },
|
|
@@ -8792,16 +8829,20 @@ function normalizeTokenUsage(value) {
|
|
|
8792
8829
|
const output = nonNegativeFinite(value.output);
|
|
8793
8830
|
const suppliedTotal = nonNegativeFinite(value.total);
|
|
8794
8831
|
const cached = nonNegativeFinite(value.cached);
|
|
8832
|
+
const cacheWrite = nonNegativeFinite(value.cacheWrite);
|
|
8833
|
+
const reasoning = nonNegativeFinite(value.reasoning);
|
|
8795
8834
|
const derivedTotal = input !== void 0 && output !== void 0 && Number.isFinite(input + output) ? input + output : void 0;
|
|
8796
8835
|
const total = suppliedTotal ?? derivedTotal;
|
|
8797
|
-
if (input === void 0 && output === void 0 && total === void 0 && cached === void 0) {
|
|
8836
|
+
if (input === void 0 && output === void 0 && total === void 0 && cached === void 0 && cacheWrite === void 0 && reasoning === void 0) {
|
|
8798
8837
|
return void 0;
|
|
8799
8838
|
}
|
|
8800
8839
|
return {
|
|
8801
8840
|
...input !== void 0 ? { input } : {},
|
|
8802
8841
|
...output !== void 0 ? { output } : {},
|
|
8803
8842
|
...total !== void 0 ? { total } : {},
|
|
8804
|
-
...cached !== void 0 ? { cached } : {}
|
|
8843
|
+
...cached !== void 0 ? { cached } : {},
|
|
8844
|
+
...cacheWrite !== void 0 ? { cacheWrite } : {},
|
|
8845
|
+
...reasoning !== void 0 ? { reasoning } : {}
|
|
8805
8846
|
};
|
|
8806
8847
|
}
|
|
8807
8848
|
|
|
@@ -9960,6 +10001,8 @@ function readOpenInferenceTokenUsage(attributes) {
|
|
|
9960
10001
|
const completion = attributes["llm.token_count.completion"];
|
|
9961
10002
|
const total = attributes["llm.token_count.total"];
|
|
9962
10003
|
const cached = attributes["llm.token_count.prompt_details.cache_read"];
|
|
10004
|
+
const cacheWrite = attributes["llm.token_count.prompt_details.cache_write"] ?? attributes["llm.token_count.prompt_details.cache_creation"];
|
|
10005
|
+
const reasoning = attributes["llm.token_count.completion_details.reasoning"] ?? attributes["llm.token_count.completion_details.reasoning_tokens"];
|
|
9963
10006
|
const usage = {};
|
|
9964
10007
|
if (typeof prompt === "number" && Number.isFinite(prompt) && prompt >= 0) {
|
|
9965
10008
|
usage.input = prompt;
|
|
@@ -9973,6 +10016,12 @@ function readOpenInferenceTokenUsage(attributes) {
|
|
|
9973
10016
|
if (typeof cached === "number" && Number.isFinite(cached) && cached >= 0) {
|
|
9974
10017
|
usage.cached = cached;
|
|
9975
10018
|
}
|
|
10019
|
+
if (typeof cacheWrite === "number" && Number.isFinite(cacheWrite) && cacheWrite >= 0) {
|
|
10020
|
+
usage.cacheWrite = cacheWrite;
|
|
10021
|
+
}
|
|
10022
|
+
if (typeof reasoning === "number" && Number.isFinite(reasoning) && reasoning >= 0) {
|
|
10023
|
+
usage.reasoning = reasoning;
|
|
10024
|
+
}
|
|
9976
10025
|
if (usage.total === void 0 && usage.input !== void 0 && usage.output !== void 0) {
|
|
9977
10026
|
usage.total = usage.input + usage.output;
|
|
9978
10027
|
}
|
|
@@ -12337,5 +12386,5 @@ function renderGateReport(result, options = {}) {
|
|
|
12337
12386
|
}
|
|
12338
12387
|
|
|
12339
12388
|
export { COHORT_METRIC_IDS, DEFAULT_SUITE_ARTIFACTS_DIR, EVIDENCE_FORMAT_VERSION, EVIDENCE_HTML_FILENAME, EVIDENCE_MANIFEST_FILENAME, Redactor, TraceDirectory, TraceReadError, TreeBuilder, aggregateBundleSafeStatus, aggregateSessionCheckResults, analyzeCohort, applyProfileMetadataCaps, assertBundlePathContained, assertEvidenceRelativePath, buildActivitySummary, buildBundleMetadata, buildBundleSummaryMarkdown, buildEvidenceCausalFailureViewHtml, buildEvidenceCiPackage, buildEvidenceCircuitViewHtml, buildEvidenceContractsViewHtml, buildEvidenceDiffViewHtml, buildEvidenceHtmlShell, buildEvidenceManifest, buildEvidenceOutcomesViewHtml, buildEvidenceProvenanceViewHtml, buildEvidenceSafetyViewHtml, buildEvidenceTimelineViewHtml, buildEvidenceToolsLlmViewHtml, buildEvidenceTreeViewHtml, buildLocalExplanation, buildPlaceholderArtifact, buildRunSummary, buildRunTimeline, buildRunWhatSummary, buildSessionIndex, buildTraceStats, buildZipArchive, bundleFailsOnSafety, bundleRunAssetRelativePath, collectTraceSchemaVersions, compactAttributes, createBaselineRegressionRule, createLlmUsageRule, createMaxStepDurationRule, createObservedOutcomeRule, createRequireCompletedRule, createRunDepthRule, createRunDurationRule, createRunStatusRule, createSafetyOversizedAttributeRule, createSafetyRawContentRule, createSafetyRedactionRule, createSafetySecretPatternRule, createStallDetectionRule, createStructureCycleRule, createStructureOrphanRule, createStructureParallelWidthRule, createStructureRelationshipRule, createToolUsageRule, defaultBundleOutputPath, defaultSuiteConfigTemplate, diffRuns, diffTraceEvents, enrichSessionRunRecord, escapeHtml, escapeMarkdown, extractMetadata, extractOutcomesFromTraceEvents, filterMetasBySessionScope, filterTraces, flattenTree, formatDuration2 as formatDuration, formatStepLabel, formatTimestamp, gateHasThresholds, getIndent, getTraceFilePath, inferEvidenceFileRole, isAgentInspectTrace, isPersistedInspectEvent, loadSessionRunRecords, loadSuiteConfig, loadTraceMetadataList, manualTraceEventsToComparableRun, nanoid, normalizeBundleOutputPath, openTrace, parseCohortMetricList, parseDuration, parseDurationFilter, parseGateList, parseTraceJsonl, persistedInspectEventsToTraceEvents, renderActivitySummaryHuman, renderCohortReport, renderErrorLine, renderGateReport, renderObservedOutcomesHtml, renderObservedOutcomesMarkdown, renderRunDiff, renderRunWhat, renderStepLine, renderSuiteReport, renderTimeline, renderTraceStats, resolveBundleRunIds, resolveRedactionProfile, resolveSuiteTemplate, resolveTraceDir, runGate, runSuite, runTraceChecks, safeString, sanitizeBundleRunId, searchTraces, serializeEvidenceManifest, sha256Hex, stableJson, summarizeObservedOutcomes, summarizeSemanticParity, traceEventToPersistedInspectEvent, truncateName, truncateStringForProfile, validateEvent, validateSuiteConfig, verifyEvidenceDirectory, zeroKinds };
|
|
12340
|
-
//# sourceMappingURL=chunk-
|
|
12341
|
-
//# sourceMappingURL=chunk-
|
|
12389
|
+
//# sourceMappingURL=chunk-D7PT6TXM.mjs.map
|
|
12390
|
+
//# sourceMappingURL=chunk-D7PT6TXM.mjs.map
|