agent-inspect 1.7.0 → 1.9.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 +21 -1
- package/README.md +145 -21
- package/docs/ADAPTER-CONFORMANCE.md +7 -3
- package/docs/ADAPTERS.md +155 -5
- package/docs/API.md +214 -26
- package/docs/CLI.md +189 -7
- package/docs/GETTING-STARTED.md +71 -16
- package/docs/KNOWN-ISSUES.md +7 -1
- package/docs/LIMITATIONS.md +7 -1
- package/docs/LOG-TO-TREE-QUICKSTART.md +1 -2
- package/docs/MIGRATION.md +67 -0
- package/docs/SCHEMA.md +1 -0
- package/package.json +12 -2
- package/packages/cli/dist/index.cjs +2454 -140
- package/packages/cli/dist/index.cjs.map +1 -1
- package/packages/cli/dist/index.mjs +2454 -140
- package/packages/cli/dist/index.mjs.map +1 -1
- package/packages/core/dist/advanced.d.cts +4 -4
- package/packages/core/dist/advanced.d.ts +4 -4
- package/packages/core/dist/checks.cjs +1535 -0
- package/packages/core/dist/checks.cjs.map +1 -0
- package/packages/core/dist/checks.d.cts +585 -0
- package/packages/core/dist/checks.d.ts +585 -0
- package/packages/core/dist/checks.mjs +1512 -0
- package/packages/core/dist/checks.mjs.map +1 -0
- package/packages/core/dist/diff.d.cts +3 -3
- package/packages/core/dist/diff.d.ts +3 -3
- package/packages/core/dist/exporters.d.cts +3 -3
- package/packages/core/dist/exporters.d.ts +3 -3
- package/packages/core/dist/index.cjs +146 -0
- package/packages/core/dist/index.cjs.map +1 -1
- package/packages/core/dist/index.d.cts +44 -7
- package/packages/core/dist/index.d.ts +44 -7
- package/packages/core/dist/index.mjs +148 -1
- package/packages/core/dist/index.mjs.map +1 -1
- package/packages/core/dist/{inspect-event-Des4JDHo.d.cts → inspect-event-CevRYp58.d.cts} +1 -1
- package/packages/core/dist/{inspect-event-Des4JDHo.d.ts → inspect-event-CevRYp58.d.ts} +1 -1
- package/packages/core/dist/{log-config-C1GcJPIM.d.ts → log-config-BPHS4Sds.d.ts} +1 -1
- package/packages/core/dist/{log-config-BnH8Ykcb.d.cts → log-config-DanPV3P9.d.cts} +1 -1
- package/packages/core/dist/logs.d.cts +3 -3
- package/packages/core/dist/logs.d.ts +3 -3
- package/packages/core/dist/{persisted-inspect-event-DiFto0K2.d.ts → persisted-inspect-event-Cw7TeYGr.d.ts} +1 -1
- package/packages/core/dist/{persisted-inspect-event-0kaRADsp.d.cts → persisted-inspect-event-DHPfzUd8.d.cts} +1 -1
- package/packages/core/dist/persisted.d.cts +5 -5
- package/packages/core/dist/persisted.d.ts +5 -5
- package/packages/core/dist/readers.d.cts +2 -2
- package/packages/core/dist/readers.d.ts +2 -2
- package/packages/core/dist/{types-tSix7tfv.d.ts → types-Ap9uMdx_.d.ts} +1 -1
- package/packages/core/dist/{types-DB8jB6Jg.d.cts → types-B2-BU5CS.d.cts} +1 -1
- package/packages/core/dist/writers.d.cts +2 -2
- package/packages/core/dist/writers.d.ts +2 -2
|
@@ -38,4 +38,4 @@ interface InspectRunTree {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export type { AttributionConfidence as A, EventSource as E, InspectKind as I,
|
|
41
|
+
export type { AttributionConfidence as A, EventSource as E, InspectKind as I, InspectRunTree as a, InspectNode as b, InspectEvent as c };
|
|
@@ -38,4 +38,4 @@ interface InspectRunTree {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export type { AttributionConfidence as A, EventSource as E, InspectKind as I,
|
|
41
|
+
export type { AttributionConfidence as A, EventSource as E, InspectKind as I, InspectRunTree as a, InspectNode as b, InspectEvent as c };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as LogIngestConfig, L as LogEventMapping, R as RedactionRule } from './log-config-
|
|
2
|
-
export { b as RedactionStrategy } from './log-config-
|
|
3
|
-
import {
|
|
1
|
+
import { a as LogIngestConfig, L as LogEventMapping, R as RedactionRule } from './log-config-DanPV3P9.cjs';
|
|
2
|
+
export { b as RedactionStrategy } from './log-config-DanPV3P9.cjs';
|
|
3
|
+
import { c as InspectEvent, a as InspectRunTree } from './inspect-event-CevRYp58.cjs';
|
|
4
4
|
|
|
5
5
|
type ParserWarningCode = "MALFORMED_JSON" | "MISSING_RUN_ID" | "MISSING_EVENT" | "MISSING_TIMESTAMP" | "UNSUPPORTED_LOG4JS_PAYLOAD" | "CONFIG_ERROR" | "UNKNOWN";
|
|
6
6
|
interface ParserWarning {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as LogIngestConfig, L as LogEventMapping, R as RedactionRule } from './log-config-
|
|
2
|
-
export { b as RedactionStrategy } from './log-config-
|
|
3
|
-
import {
|
|
1
|
+
import { a as LogIngestConfig, L as LogEventMapping, R as RedactionRule } from './log-config-BPHS4Sds.js';
|
|
2
|
+
export { b as RedactionStrategy } from './log-config-BPHS4Sds.js';
|
|
3
|
+
import { c as InspectEvent, a as InspectRunTree } from './inspect-event-CevRYp58.js';
|
|
4
4
|
|
|
5
5
|
type ParserWarningCode = "MALFORMED_JSON" | "MISSING_RUN_ID" | "MISSING_EVENT" | "MISSING_TIMESTAMP" | "UNSUPPORTED_LOG4JS_PAYLOAD" | "CONFIG_ERROR" | "UNKNOWN";
|
|
6
6
|
interface ParserWarning {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as InspectKind, A as AttributionConfidence } from './inspect-event-
|
|
1
|
+
import { I as InspectKind, A as AttributionConfidence } from './inspect-event-CevRYp58.js';
|
|
2
2
|
|
|
3
3
|
type PersistedSchemaVersion = "0.2";
|
|
4
4
|
type PersistedEventSourceType = "manual" | "json-log" | "log4js" | "adapter" | "ai-sdk" | "otel";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as InspectKind, A as AttributionConfidence } from './inspect-event-
|
|
1
|
+
import { I as InspectKind, A as AttributionConfidence } from './inspect-event-CevRYp58.cjs';
|
|
2
2
|
|
|
3
3
|
type PersistedSchemaVersion = "0.2";
|
|
4
4
|
type PersistedEventSourceType = "manual" | "json-log" | "log4js" | "adapter" | "ai-sdk" | "otel";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as PersistedInspectEvent } from './persisted-inspect-event-
|
|
2
|
-
export { a as PersistedEventSource, b as PersistedEventSourceType, c as PersistedEventStatus, d as PersistedInspectError, e as PersistedSchemaVersion, f as PersistedTokenUsage, g as PersistedTraceContext, i as isPersistedInspectEvent } from './persisted-inspect-event-
|
|
3
|
-
import { T as TraceEvent } from './types-
|
|
4
|
-
import {
|
|
5
|
-
import './log-config-
|
|
1
|
+
import { P as PersistedInspectEvent } from './persisted-inspect-event-DHPfzUd8.cjs';
|
|
2
|
+
export { a as PersistedEventSource, b as PersistedEventSourceType, c as PersistedEventStatus, d as PersistedInspectError, e as PersistedSchemaVersion, f as PersistedTokenUsage, g as PersistedTraceContext, i as isPersistedInspectEvent } from './persisted-inspect-event-DHPfzUd8.cjs';
|
|
3
|
+
import { T as TraceEvent } from './types-B2-BU5CS.cjs';
|
|
4
|
+
import { c as InspectEvent, a as InspectRunTree } from './inspect-event-CevRYp58.cjs';
|
|
5
|
+
import './log-config-DanPV3P9.cjs';
|
|
6
6
|
|
|
7
7
|
interface TraceEventToPersistedOptions {
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as PersistedInspectEvent } from './persisted-inspect-event-
|
|
2
|
-
export { a as PersistedEventSource, b as PersistedEventSourceType, c as PersistedEventStatus, d as PersistedInspectError, e as PersistedSchemaVersion, f as PersistedTokenUsage, g as PersistedTraceContext, i as isPersistedInspectEvent } from './persisted-inspect-event-
|
|
3
|
-
import { T as TraceEvent } from './types-
|
|
4
|
-
import {
|
|
5
|
-
import './log-config-
|
|
1
|
+
import { P as PersistedInspectEvent } from './persisted-inspect-event-Cw7TeYGr.js';
|
|
2
|
+
export { a as PersistedEventSource, b as PersistedEventSourceType, c as PersistedEventStatus, d as PersistedInspectError, e as PersistedSchemaVersion, f as PersistedTokenUsage, g as PersistedTraceContext, i as isPersistedInspectEvent } from './persisted-inspect-event-Cw7TeYGr.js';
|
|
3
|
+
import { T as TraceEvent } from './types-Ap9uMdx_.js';
|
|
4
|
+
import { c as InspectEvent, a as InspectRunTree } from './inspect-event-CevRYp58.js';
|
|
5
|
+
import './log-config-BPHS4Sds.js';
|
|
6
6
|
|
|
7
7
|
interface TraceEventToPersistedOptions {
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as PersistedInspectEvent } from './persisted-inspect-event-
|
|
1
|
+
import { a as InspectRunTree } from './inspect-event-CevRYp58.cjs';
|
|
2
|
+
import { P as PersistedInspectEvent } from './persisted-inspect-event-DHPfzUd8.cjs';
|
|
3
3
|
|
|
4
4
|
type TraceInput = {
|
|
5
5
|
type: "file";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as PersistedInspectEvent } from './persisted-inspect-event-
|
|
1
|
+
import { a as InspectRunTree } from './inspect-event-CevRYp58.js';
|
|
2
|
+
import { P as PersistedInspectEvent } from './persisted-inspect-event-Cw7TeYGr.js';
|
|
3
3
|
|
|
4
4
|
type TraceInput = {
|
|
5
5
|
type: "file";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PersistedInspectEvent } from './persisted-inspect-event-
|
|
2
|
-
import './inspect-event-
|
|
1
|
+
import { P as PersistedInspectEvent } from './persisted-inspect-event-DHPfzUd8.cjs';
|
|
2
|
+
import './inspect-event-CevRYp58.cjs';
|
|
3
3
|
|
|
4
4
|
interface TraceWriterStats {
|
|
5
5
|
writtenEvents: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PersistedInspectEvent } from './persisted-inspect-event-
|
|
2
|
-
import './inspect-event-
|
|
1
|
+
import { P as PersistedInspectEvent } from './persisted-inspect-event-Cw7TeYGr.js';
|
|
2
|
+
import './inspect-event-CevRYp58.js';
|
|
3
3
|
|
|
4
4
|
interface TraceWriterStats {
|
|
5
5
|
writtenEvents: number;
|