agent-inspect 6.26.0 → 6.28.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/docs/BUNDLES.md +4 -1
  4. package/docs/LIMITATIONS.md +1 -1
  5. package/docs/SAFE-TRACE-SHARING.md +2 -0
  6. package/docs/TRACE-CONTRACTS.md +21 -3
  7. package/package.json +1 -1
  8. package/packages/cli/dist/{chunk-HPR2OJPU.mjs → chunk-JVQ4LTHR.mjs} +4317 -3803
  9. package/packages/cli/dist/chunk-JVQ4LTHR.mjs.map +1 -0
  10. package/packages/cli/dist/index.cjs +4541 -4005
  11. package/packages/cli/dist/index.cjs.map +1 -1
  12. package/packages/cli/dist/index.mjs +4 -4
  13. package/packages/cli/dist/index.mjs.map +1 -1
  14. package/packages/cli/dist/{src-J43ECFHC.mjs → src-M5J5YC5E.mjs} +3 -3
  15. package/packages/cli/dist/{src-J43ECFHC.mjs.map → src-M5J5YC5E.mjs.map} +1 -1
  16. package/packages/core/dist/advanced.cjs +3026 -2501
  17. package/packages/core/dist/advanced.cjs.map +1 -1
  18. package/packages/core/dist/advanced.d.cts +172 -16
  19. package/packages/core/dist/advanced.d.ts +172 -16
  20. package/packages/core/dist/advanced.mjs +362 -32
  21. package/packages/core/dist/advanced.mjs.map +1 -1
  22. package/packages/core/dist/checks.cjs +537 -152
  23. package/packages/core/dist/checks.cjs.map +1 -1
  24. package/packages/core/dist/checks.d.cts +9 -414
  25. package/packages/core/dist/checks.d.ts +9 -414
  26. package/packages/core/dist/checks.mjs +1 -1
  27. package/packages/core/dist/{chunk-LHSXRIYU.mjs → chunk-ME4WXYY3.mjs} +3609 -3224
  28. package/packages/core/dist/chunk-ME4WXYY3.mjs.map +1 -0
  29. package/packages/core/dist/{context-DOOT9GZ-.d.cts → context-DGMqxFpz.d.cts} +4 -4
  30. package/packages/core/dist/{context-DOX2-RjH.d.ts → context-DgcvkJ9t.d.ts} +4 -4
  31. package/packages/core/dist/diff.d.cts +3 -3
  32. package/packages/core/dist/diff.d.ts +3 -3
  33. package/packages/core/dist/exporters.d.cts +3 -3
  34. package/packages/core/dist/exporters.d.ts +3 -3
  35. package/packages/core/dist/{index-CtK_p-ps.d.ts → index-BOA1AeEU.d.ts} +473 -6
  36. package/packages/core/dist/{index-D72DPqAF.d.ts → index-BzyNPfLm.d.ts} +2 -2
  37. package/packages/core/dist/{index-DLLz9sce.d.cts → index-C6bCIbFO.d.cts} +2 -2
  38. package/packages/core/dist/{index-CR4CCRqP.d.cts → index-DVetZwGG.d.cts} +473 -6
  39. package/packages/core/dist/index.d.cts +7 -7
  40. package/packages/core/dist/index.d.ts +7 -7
  41. package/packages/core/dist/{inspect-event-DRthdZlf.d.cts → inspect-event-CDqjcrG_.d.cts} +1 -1
  42. package/packages/core/dist/{inspect-event-DRthdZlf.d.ts → inspect-event-CDqjcrG_.d.ts} +1 -1
  43. package/packages/core/dist/{log-config-CFlIJHTf.d.cts → log-config-DcjV8ZjF.d.cts} +1 -1
  44. package/packages/core/dist/{log-config-OZRfpHED.d.ts → log-config-N_c5AE09.d.ts} +1 -1
  45. package/packages/core/dist/logs.d.cts +3 -3
  46. package/packages/core/dist/logs.d.ts +3 -3
  47. package/packages/core/dist/{persisted-inspect-event-BVucFVrP.d.ts → persisted-inspect-event-CbaRYpbw.d.ts} +1 -1
  48. package/packages/core/dist/{persisted-inspect-event-CVZWZldL.d.cts → persisted-inspect-event-DiJ0I_vi.d.cts} +1 -1
  49. package/packages/core/dist/persisted.d.cts +5 -5
  50. package/packages/core/dist/persisted.d.ts +5 -5
  51. package/packages/core/dist/readers.d.cts +3 -3
  52. package/packages/core/dist/readers.d.ts +3 -3
  53. package/packages/core/dist/{types-B562HgN_.d.cts → types-BA_IOdg4.d.cts} +1 -1
  54. package/packages/core/dist/{types-B562HgN_.d.ts → types-BA_IOdg4.d.ts} +1 -1
  55. package/packages/core/dist/{types-VzKihKQo.d.cts → types-wXuxMUop.d.cts} +2 -2
  56. package/packages/core/dist/{types-Bx3mEZ04.d.ts → types-xv9bSgOK.d.ts} +2 -2
  57. package/packages/core/dist/writers.d.cts +2 -2
  58. package/packages/core/dist/writers.d.ts +2 -2
  59. package/packages/cli/dist/chunk-HPR2OJPU.mjs.map +0 -1
  60. package/packages/core/dist/chunk-LHSXRIYU.mjs.map +0 -1
@@ -1,7 +1,7 @@
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';
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-BzyNPfLm.js';
2
2
  export { P as PROGRAMMATIC_DIAGNOSTIC_SPECS, a as ProgrammaticDiagnosticCode, b as ProgrammaticDiagnosticSpec, f as formatProgrammaticDiagnostic } from './programmatic-gZTWLObB.js';
3
- import './inspect-event-DRthdZlf.js';
4
- import './persisted-inspect-event-BVucFVrP.js';
3
+ import './inspect-event-CDqjcrG_.js';
4
+ import './persisted-inspect-event-CbaRYpbw.js';
5
5
 
6
6
  /**
7
7
  * Version-pinned reader/exporter mapping ledger (6.22).
@@ -21,4 +21,4 @@ interface ObserveOutcomeOptions {
21
21
  observedAt?: number | string;
22
22
  }
23
23
 
24
- export type { ObservedOutcomeStatus as O, ObserveOutcomeOptions as a, ObservedOutcome as b };
24
+ export type { ObserveOutcomeOptions as O, ObservedOutcomeStatus as a, ObservedOutcome as b };
@@ -21,4 +21,4 @@ interface ObserveOutcomeOptions {
21
21
  observedAt?: number | string;
22
22
  }
23
23
 
24
- export type { ObservedOutcomeStatus as O, ObserveOutcomeOptions as a, ObservedOutcome as b };
24
+ export type { ObserveOutcomeOptions as O, ObservedOutcomeStatus as a, ObservedOutcome as b };
@@ -1,4 +1,4 @@
1
- import { R as RedactionRule } from './log-config-CFlIJHTf.cjs';
1
+ import { R as RedactionRule } from './log-config-DcjV8ZjF.cjs';
2
2
 
3
3
  /**
4
4
  * Discriminator for what kind of work a {@link Step} represents.
@@ -243,4 +243,4 @@ declare function isStepStatus(value: unknown): value is StepStatus;
243
243
  */
244
244
  declare function isTraceEvent(value: unknown): value is TraceEvent;
245
245
 
246
- export { type ActiveStepContext as A, type ErrorInfo as E, type InspectRunOptions as I, type ObserveOptions as O, type RedactionProfile as R, type StepOptions as S, type TraceMetadataStatus as T, type Run as a, type RunStatus as b, type Step as c, type StepMetadata as d, type StepStatus as e, type StepType as f, type TokenMetadata as g, type TraceCorrelationMetadata as h, type TraceEvent as i, type ExecutionContext as j, type RunSummary as k, type TraceMetadata as l, type RunCompletedEvent as m, type RunStartedEvent as n, type StepCompletedEvent as o, type StepStartedEvent as p, type TraceEventBase as q, type TraceSchemaVersion as r, isStepStatus as s, isStepType as t, isTraceEvent as u };
246
+ export { type ActiveStepContext as A, type ErrorInfo as E, type InspectRunOptions as I, type ObserveOptions as O, type RedactionProfile as R, type StepOptions as S, type TokenMetadata as T, type Run as a, type RunStatus as b, type Step as c, type StepMetadata as d, type StepStatus as e, type StepType as f, type TraceCorrelationMetadata as g, type TraceEvent as h, type ExecutionContext as i, type TraceMetadataStatus as j, type RunSummary as k, type TraceMetadata as l, type RunCompletedEvent as m, type RunStartedEvent as n, type StepCompletedEvent as o, type StepStartedEvent as p, type TraceEventBase as q, type TraceSchemaVersion as r, isStepStatus as s, isStepType as t, isTraceEvent as u };
@@ -1,4 +1,4 @@
1
- import { R as RedactionRule } from './log-config-OZRfpHED.js';
1
+ import { R as RedactionRule } from './log-config-N_c5AE09.js';
2
2
 
3
3
  /**
4
4
  * Discriminator for what kind of work a {@link Step} represents.
@@ -243,4 +243,4 @@ declare function isStepStatus(value: unknown): value is StepStatus;
243
243
  */
244
244
  declare function isTraceEvent(value: unknown): value is TraceEvent;
245
245
 
246
- export { type ActiveStepContext as A, type ErrorInfo as E, type InspectRunOptions as I, type ObserveOptions as O, type RedactionProfile as R, type StepOptions as S, type TraceMetadataStatus as T, type Run as a, type RunStatus as b, type Step as c, type StepMetadata as d, type StepStatus as e, type StepType as f, type TokenMetadata as g, type TraceCorrelationMetadata as h, type TraceEvent as i, type ExecutionContext as j, type RunSummary as k, type TraceMetadata as l, type RunCompletedEvent as m, type RunStartedEvent as n, type StepCompletedEvent as o, type StepStartedEvent as p, type TraceEventBase as q, type TraceSchemaVersion as r, isStepStatus as s, isStepType as t, isTraceEvent as u };
246
+ export { type ActiveStepContext as A, type ErrorInfo as E, type InspectRunOptions as I, type ObserveOptions as O, type RedactionProfile as R, type StepOptions as S, type TokenMetadata as T, type Run as a, type RunStatus as b, type Step as c, type StepMetadata as d, type StepStatus as e, type StepType as f, type TraceCorrelationMetadata as g, type TraceEvent as h, type ExecutionContext as i, type TraceMetadataStatus as j, type RunSummary as k, type TraceMetadata as l, type RunCompletedEvent as m, type RunStartedEvent as n, type StepCompletedEvent as o, type StepStartedEvent as p, type TraceEventBase as q, type TraceSchemaVersion as r, isStepStatus as s, isStepType as t, isTraceEvent as u };
@@ -1,5 +1,5 @@
1
- import { P as PersistedInspectEvent } from './persisted-inspect-event-CVZWZldL.cjs';
2
- import './inspect-event-DRthdZlf.cjs';
1
+ import { P as PersistedInspectEvent } from './persisted-inspect-event-DiJ0I_vi.cjs';
2
+ import './inspect-event-CDqjcrG_.cjs';
3
3
 
4
4
  interface TraceWriterStats {
5
5
  writtenEvents: number;
@@ -1,5 +1,5 @@
1
- import { P as PersistedInspectEvent } from './persisted-inspect-event-BVucFVrP.js';
2
- import './inspect-event-DRthdZlf.js';
1
+ import { P as PersistedInspectEvent } from './persisted-inspect-event-CbaRYpbw.js';
2
+ import './inspect-event-CDqjcrG_.js';
3
3
 
4
4
  interface TraceWriterStats {
5
5
  writtenEvents: number;