agent-inspect 6.21.0 → 6.22.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/package.json +1 -1
- package/packages/cli/dist/{chunk-CRUHIL5J.mjs → chunk-CHBYF4LE.mjs} +11 -2
- package/packages/cli/dist/chunk-CHBYF4LE.mjs.map +1 -0
- package/packages/cli/dist/index.cjs +29 -1
- 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-MNJFYW3W.mjs → src-MY5WIBPF.mjs} +3 -3
- package/packages/cli/dist/{src-MNJFYW3W.mjs.map → src-MY5WIBPF.mjs.map} +1 -1
- package/packages/core/dist/advanced.cjs +38 -0
- package/packages/core/dist/advanced.cjs.map +1 -1
- package/packages/core/dist/advanced.d.cts +36 -4
- package/packages/core/dist/advanced.d.ts +36 -4
- package/packages/core/dist/advanced.mjs +32 -4
- package/packages/core/dist/advanced.mjs.map +1 -1
- package/packages/core/dist/checks.cjs +230 -72
- package/packages/core/dist/checks.cjs.map +1 -1
- package/packages/core/dist/checks.d.cts +54 -5
- package/packages/core/dist/checks.d.ts +54 -5
- package/packages/core/dist/checks.mjs +1 -1
- package/packages/core/dist/{chunk-HT54OLPE.mjs → chunk-NDRMIL7Z.mjs} +103 -3
- package/packages/core/dist/chunk-NDRMIL7Z.mjs.map +1 -0
- package/packages/core/dist/{chunk-43SHIPZM.mjs → chunk-OG3GAWCX.mjs} +178 -21
- package/packages/core/dist/chunk-OG3GAWCX.mjs.map +1 -0
- package/packages/core/dist/{index-BG-ZBESI.d.cts → index-CR4CCRqP.d.cts} +7 -2
- package/packages/core/dist/{index-xevIlqdd.d.ts → index-CtK_p-ps.d.ts} +7 -2
- package/packages/core/dist/{index-AMAGuO_i.d.ts → index-D72DPqAF.d.ts} +2 -1
- package/packages/core/dist/{index-vqr-g6ev.d.cts → index-DLLz9sce.d.cts} +2 -1
- package/packages/core/dist/programmatic-gZTWLObB.d.cts +25 -0
- package/packages/core/dist/programmatic-gZTWLObB.d.ts +25 -0
- package/packages/core/dist/readers.cjs +105 -0
- package/packages/core/dist/readers.cjs.map +1 -1
- package/packages/core/dist/readers.d.cts +43 -18
- package/packages/core/dist/readers.d.ts +43 -18
- package/packages/core/dist/readers.mjs +1 -1
- package/packages/cli/dist/chunk-CRUHIL5J.mjs.map +0 -1
- package/packages/core/dist/chunk-43SHIPZM.mjs.map +0 -1
- package/packages/core/dist/chunk-HT54OLPE.mjs.map +0 -1
|
@@ -1,29 +1,54 @@
|
|
|
1
|
-
export { D as DEFAULT_TRACE_READERS,
|
|
1
|
+
export { D as DEFAULT_TRACE_READERS, T as TraceFormatCandidate, a as TraceFormatDetectionResult, b as TraceFormatDetectionStatus, c as TraceInput, d as TraceReadError, e as TraceReadErrorCode, f as TraceReadOptions, g as TraceReadResult, h as TraceReadWarning, i as TraceReadWarningSeverity, j as TraceReader, k as TraceReaderDetectOptions, l as TraceReaderReadOptions, m as agentInspectJsonlReader, n as assertTraceInput, o as detectTraceFormat, p as openInferenceJsonReader, q as openTrace, r as openTraceDirectory, s as openTraceFile, t as openTraceText, u as otlpJsonReader, v as readTrace } from './index-DLLz9sce.cjs';
|
|
2
|
+
export { P as PROGRAMMATIC_DIAGNOSTIC_SPECS, a as ProgrammaticDiagnosticCode, b as ProgrammaticDiagnosticSpec, f as formatProgrammaticDiagnostic } from './programmatic-gZTWLObB.cjs';
|
|
2
3
|
import './inspect-event-DRthdZlf.cjs';
|
|
3
4
|
import './persisted-inspect-event-CVZWZldL.cjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
+
* Version-pinned reader/exporter mapping ledger (6.22).
|
|
7
8
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
9
|
+
* Records which external convention version was used and what was lost.
|
|
10
|
+
* Does not bind persisted schema 1.0 to an unstable external convention.
|
|
10
11
|
*
|
|
11
|
-
* @experimental
|
|
12
|
+
* @experimental Available through `agent-inspect/readers`.
|
|
12
13
|
*/
|
|
13
|
-
type
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
type MappingConfidence = "explicit" | "correlated" | "heuristic" | "unknown";
|
|
15
|
+
type MappingLossKind = "none" | "dropped" | "bounded" | "privacy-redacted" | "kind-degraded" | "unsupported";
|
|
16
|
+
/**
|
|
17
|
+
* One source→target mapping row.
|
|
18
|
+
*
|
|
19
|
+
* @experimental
|
|
20
|
+
*/
|
|
21
|
+
interface MappingLedgerEntry {
|
|
22
|
+
source: string;
|
|
23
|
+
target: string;
|
|
24
|
+
transformation: string;
|
|
25
|
+
confidence: MappingConfidence;
|
|
26
|
+
loss: MappingLossKind;
|
|
27
|
+
privacyDecision?: string;
|
|
22
28
|
}
|
|
23
|
-
declare const PROGRAMMATIC_DIAGNOSTIC_SPECS: Readonly<Record<ProgrammaticDiagnosticCode, ProgrammaticDiagnosticSpec>>;
|
|
24
29
|
/**
|
|
25
|
-
*
|
|
30
|
+
* Ledger published by a reader or exporter mapping.
|
|
31
|
+
*
|
|
32
|
+
* @experimental
|
|
26
33
|
*/
|
|
27
|
-
|
|
34
|
+
interface MappingLedger {
|
|
35
|
+
id: string;
|
|
36
|
+
sourceFormat: string;
|
|
37
|
+
targetFormat: string;
|
|
38
|
+
/** External convention pin (e.g. OTel GenAI / OpenInference version). */
|
|
39
|
+
convention?: {
|
|
40
|
+
name: string;
|
|
41
|
+
version: string;
|
|
42
|
+
specUrl?: string;
|
|
43
|
+
};
|
|
44
|
+
entries: readonly MappingLedgerEntry[];
|
|
45
|
+
knownLosses: readonly string[];
|
|
46
|
+
}
|
|
47
|
+
/** OpenInference → AgentInspect mapping ledger pin. */
|
|
48
|
+
declare const OPENINFERENCE_MAPPING_LEDGER: MappingLedger;
|
|
49
|
+
/** OTLP JSON → AgentInspect mapping ledger pin. */
|
|
50
|
+
declare const OTLP_JSON_MAPPING_LEDGER: MappingLedger;
|
|
51
|
+
declare const BUILTIN_MAPPING_LEDGERS: readonly MappingLedger[];
|
|
52
|
+
declare function getMappingLedger(id: string): MappingLedger | undefined;
|
|
28
53
|
|
|
29
|
-
export {
|
|
54
|
+
export { BUILTIN_MAPPING_LEDGERS, type MappingConfidence, type MappingLedger, type MappingLedgerEntry, type MappingLossKind, OPENINFERENCE_MAPPING_LEDGER, OTLP_JSON_MAPPING_LEDGER, getMappingLedger };
|
|
@@ -1,29 +1,54 @@
|
|
|
1
|
-
export { D as DEFAULT_TRACE_READERS,
|
|
1
|
+
export { D as DEFAULT_TRACE_READERS, T as TraceFormatCandidate, a as TraceFormatDetectionResult, b as TraceFormatDetectionStatus, c as TraceInput, d as TraceReadError, e as TraceReadErrorCode, f as TraceReadOptions, g as TraceReadResult, h as TraceReadWarning, i as TraceReadWarningSeverity, j as TraceReader, k as TraceReaderDetectOptions, l as TraceReaderReadOptions, m as agentInspectJsonlReader, n as assertTraceInput, o as detectTraceFormat, p as openInferenceJsonReader, q as openTrace, r as openTraceDirectory, s as openTraceFile, t as openTraceText, u as otlpJsonReader, v as readTrace } from './index-D72DPqAF.js';
|
|
2
|
+
export { P as PROGRAMMATIC_DIAGNOSTIC_SPECS, a as ProgrammaticDiagnosticCode, b as ProgrammaticDiagnosticSpec, f as formatProgrammaticDiagnostic } from './programmatic-gZTWLObB.js';
|
|
2
3
|
import './inspect-event-DRthdZlf.js';
|
|
3
4
|
import './persisted-inspect-event-BVucFVrP.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
+
* Version-pinned reader/exporter mapping ledger (6.22).
|
|
7
8
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
9
|
+
* Records which external convention version was used and what was lost.
|
|
10
|
+
* Does not bind persisted schema 1.0 to an unstable external convention.
|
|
10
11
|
*
|
|
11
|
-
* @experimental
|
|
12
|
+
* @experimental Available through `agent-inspect/readers`.
|
|
12
13
|
*/
|
|
13
|
-
type
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
type MappingConfidence = "explicit" | "correlated" | "heuristic" | "unknown";
|
|
15
|
+
type MappingLossKind = "none" | "dropped" | "bounded" | "privacy-redacted" | "kind-degraded" | "unsupported";
|
|
16
|
+
/**
|
|
17
|
+
* One source→target mapping row.
|
|
18
|
+
*
|
|
19
|
+
* @experimental
|
|
20
|
+
*/
|
|
21
|
+
interface MappingLedgerEntry {
|
|
22
|
+
source: string;
|
|
23
|
+
target: string;
|
|
24
|
+
transformation: string;
|
|
25
|
+
confidence: MappingConfidence;
|
|
26
|
+
loss: MappingLossKind;
|
|
27
|
+
privacyDecision?: string;
|
|
22
28
|
}
|
|
23
|
-
declare const PROGRAMMATIC_DIAGNOSTIC_SPECS: Readonly<Record<ProgrammaticDiagnosticCode, ProgrammaticDiagnosticSpec>>;
|
|
24
29
|
/**
|
|
25
|
-
*
|
|
30
|
+
* Ledger published by a reader or exporter mapping.
|
|
31
|
+
*
|
|
32
|
+
* @experimental
|
|
26
33
|
*/
|
|
27
|
-
|
|
34
|
+
interface MappingLedger {
|
|
35
|
+
id: string;
|
|
36
|
+
sourceFormat: string;
|
|
37
|
+
targetFormat: string;
|
|
38
|
+
/** External convention pin (e.g. OTel GenAI / OpenInference version). */
|
|
39
|
+
convention?: {
|
|
40
|
+
name: string;
|
|
41
|
+
version: string;
|
|
42
|
+
specUrl?: string;
|
|
43
|
+
};
|
|
44
|
+
entries: readonly MappingLedgerEntry[];
|
|
45
|
+
knownLosses: readonly string[];
|
|
46
|
+
}
|
|
47
|
+
/** OpenInference → AgentInspect mapping ledger pin. */
|
|
48
|
+
declare const OPENINFERENCE_MAPPING_LEDGER: MappingLedger;
|
|
49
|
+
/** OTLP JSON → AgentInspect mapping ledger pin. */
|
|
50
|
+
declare const OTLP_JSON_MAPPING_LEDGER: MappingLedger;
|
|
51
|
+
declare const BUILTIN_MAPPING_LEDGERS: readonly MappingLedger[];
|
|
52
|
+
declare function getMappingLedger(id: string): MappingLedger | undefined;
|
|
28
53
|
|
|
29
|
-
export {
|
|
54
|
+
export { BUILTIN_MAPPING_LEDGERS, type MappingConfidence, type MappingLedger, type MappingLedgerEntry, type MappingLossKind, OPENINFERENCE_MAPPING_LEDGER, OTLP_JSON_MAPPING_LEDGER, getMappingLedger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_TRACE_READERS, TraceReadError, agentInspectJsonlReader, assertTraceInput, detectTraceFormat, openInferenceJsonReader, openTrace, openTraceDirectory, openTraceFile, openTraceText, otlpJsonReader, readTrace } from './chunk-
|
|
1
|
+
export { BUILTIN_MAPPING_LEDGERS, DEFAULT_TRACE_READERS, OPENINFERENCE_MAPPING_LEDGER, OTLP_JSON_MAPPING_LEDGER, TraceReadError, agentInspectJsonlReader, assertTraceInput, detectTraceFormat, getMappingLedger, openInferenceJsonReader, openTrace, openTraceDirectory, openTraceFile, openTraceText, otlpJsonReader, readTrace } from './chunk-NDRMIL7Z.mjs';
|
|
2
2
|
export { PROGRAMMATIC_DIAGNOSTIC_SPECS, formatProgrammaticDiagnostic } from './chunk-FWK3Q3OJ.mjs';
|
|
3
3
|
import './chunk-NXQF73EC.mjs';
|
|
4
4
|
import './chunk-S4YWKV4G.mjs';
|