agent-inspect 6.7.5 → 6.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/docs/CLI.md +10 -3
  4. package/package.json +1 -1
  5. package/packages/cli/dist/{chunk-TO4VENHV.mjs → chunk-WQ5XMFH2.mjs} +109 -17
  6. package/packages/cli/dist/chunk-WQ5XMFH2.mjs.map +1 -0
  7. package/packages/cli/dist/index.cjs +357 -66
  8. package/packages/cli/dist/index.cjs.map +1 -1
  9. package/packages/cli/dist/index.mjs +252 -53
  10. package/packages/cli/dist/index.mjs.map +1 -1
  11. package/packages/cli/dist/{src-Z5W27YCW.mjs → src-C4EUHTER.mjs} +3 -3
  12. package/packages/cli/dist/{src-Z5W27YCW.mjs.map → src-C4EUHTER.mjs.map} +1 -1
  13. package/packages/core/dist/advanced.cjs +15 -6
  14. package/packages/core/dist/advanced.cjs.map +1 -1
  15. package/packages/core/dist/advanced.d.cts +4 -1
  16. package/packages/core/dist/advanced.d.ts +4 -1
  17. package/packages/core/dist/advanced.mjs +3 -2
  18. package/packages/core/dist/advanced.mjs.map +1 -1
  19. package/packages/core/dist/checks.cjs +105 -14
  20. package/packages/core/dist/checks.cjs.map +1 -1
  21. package/packages/core/dist/checks.d.cts +2 -2
  22. package/packages/core/dist/checks.d.ts +2 -2
  23. package/packages/core/dist/checks.mjs +1 -1
  24. package/packages/core/dist/{chunk-EQVXDGGU.mjs → chunk-QT6CQ2XA.mjs} +107 -16
  25. package/packages/core/dist/chunk-QT6CQ2XA.mjs.map +1 -0
  26. package/packages/core/dist/{index-BblJEdYZ.d.ts → index-BO7l0iAe.d.ts} +44 -1
  27. package/packages/core/dist/{index-DyKk7iR9.d.cts → index-mdFcxSOR.d.cts} +44 -1
  28. package/packages/cli/dist/chunk-TO4VENHV.mjs.map +0 -1
  29. package/packages/core/dist/chunk-EQVXDGGU.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { T as TraceCheckInput, a as TraceCheckResult } from './index-DyKk7iR9.cjs';
2
- export { B as BaselineRegressionRuleOptions, D as DecisionRuleOptions, G as GuardrailRuleOptions, L as LlmUsageRuleOptions, M as MaxStepDurationRuleOptions, O as ObservedOutcomeRuleOptions, R as RetrievalRuleOptions, b as RunDepthRuleOptions, c as RunDurationRuleOptions, d as RunEventCountRuleOptions, e as RunStatusRuleOptions, f as RunTraceChecksOptions, S as SafetyOversizedAttributeRuleOptions, g as SafetyRawContentRuleOptions, h as SafetyRedactionRuleOptions, i as SafetySecretPattern, j as SafetySecretPatternRuleOptions, k as StallDetectionRuleOptions, l as StructureIncompleteRuleOptions, m as StructureOrphanRuleOptions, n as StructureParallelWidthRuleOptions, o as StructureRelationshipRuleOptions, p as ToolFailureRuleOptions, q as ToolOrderingRuleOptions, r as ToolUsageRuleOptions, s as TraceCheckContext, t as TraceCheckDiagnostic, u as TraceCheckDiagnosticCode, v as TraceCheckEvidence, w as TraceCheckFacts, x as TraceCheckFinding, y as TraceCheckFindingStatus, z as TraceCheckRule, A as TraceCheckRuleCategory, C as TraceCheckSeverity, E as TraceCheckStatus, F as TraceCheckSummary, H as TraceSignalRuleOptions, I as createBaselineRegressionRule, J as createDecisionRule, K as createGuardrailRule, N as createLlmUsageRule, P as createMaxStepDurationRule, Q as createObservedOutcomeRule, U as createRequireCompletedRule, V as createRetrievalRule, W as createRunDepthRule, X as createRunDurationRule, Y as createRunEventCountRule, Z as createRunStatusRule, _ as createSafetyOversizedAttributeRule, $ as createSafetyRawContentRule, a0 as createSafetyRedactionRule, a1 as createSafetySecretPatternRule, a2 as createStallDetectionRule, a3 as createStructureCycleRule, a4 as createStructureIncompleteRule, a5 as createStructureOrphanRule, a6 as createStructureParallelWidthRule, a7 as createStructureRelationshipRule, a8 as createToolFailureRule, a9 as createToolOrderingRule, aa as createToolUsageRule, ab as runTraceChecks } from './index-DyKk7iR9.cjs';
1
+ import { T as TraceCheckInput, a as TraceCheckResult } from './index-mdFcxSOR.cjs';
2
+ export { B as BaselineRegressionRuleOptions, D as DecisionRuleOptions, G as GuardrailRuleOptions, L as LlmUsageRuleOptions, M as MaxStepDurationRuleOptions, O as ObservedOutcomeRuleOptions, R as RetrievalRuleOptions, b as RunDepthRuleOptions, c as RunDurationRuleOptions, d as RunEventCountRuleOptions, e as RunStatusRuleOptions, f as RunTraceChecksOptions, S as SafetyFindingCategory, g as SafetyFindingConfidence, h as SafetyOversizedAttributeRuleOptions, i as SafetyRawContentRuleOptions, j as SafetyRedactionRuleOptions, k as SafetySecretPattern, l as SafetySecretPatternRuleOptions, m as StallDetectionRuleOptions, n as StructureIncompleteRuleOptions, o as StructureOrphanRuleOptions, p as StructureParallelWidthRuleOptions, q as StructureRelationshipRuleOptions, r as ToolFailureRuleOptions, s as ToolOrderingRuleOptions, t as ToolUsageRuleOptions, u as TraceCheckContext, v as TraceCheckDiagnostic, w as TraceCheckDiagnosticCode, x as TraceCheckEvidence, y as TraceCheckFacts, z as TraceCheckFinding, A as TraceCheckFindingStatus, C as TraceCheckRule, E as TraceCheckRuleCategory, F as TraceCheckSeverity, H as TraceCheckStatus, I as TraceCheckSummary, J as TraceSignalRuleOptions, K as createBaselineRegressionRule, N as createDecisionRule, P as createGuardrailRule, Q as createLlmUsageRule, U as createMaxStepDurationRule, V as createObservedOutcomeRule, W as createRequireCompletedRule, X as createRetrievalRule, Y as createRunDepthRule, Z as createRunDurationRule, _ as createRunEventCountRule, $ as createRunStatusRule, a0 as createSafetyOversizedAttributeRule, a1 as createSafetyRawContentRule, a2 as createSafetyRedactionRule, a3 as createSafetySecretPatternRule, a4 as createStallDetectionRule, a5 as createStructureCycleRule, a6 as createStructureIncompleteRule, a7 as createStructureOrphanRule, a8 as createStructureParallelWidthRule, a9 as createStructureRelationshipRule, aa as createToolFailureRule, ab as createToolOrderingRule, ac as createToolUsageRule, ad as runTraceChecks } from './index-mdFcxSOR.cjs';
3
3
  import './readers.cjs';
4
4
  import './inspect-event-DVg84S4v.cjs';
5
5
  import './persisted-inspect-event-d-mSP8kd.cjs';
@@ -1,5 +1,5 @@
1
- import { T as TraceCheckInput, a as TraceCheckResult } from './index-BblJEdYZ.js';
2
- export { B as BaselineRegressionRuleOptions, D as DecisionRuleOptions, G as GuardrailRuleOptions, L as LlmUsageRuleOptions, M as MaxStepDurationRuleOptions, O as ObservedOutcomeRuleOptions, R as RetrievalRuleOptions, b as RunDepthRuleOptions, c as RunDurationRuleOptions, d as RunEventCountRuleOptions, e as RunStatusRuleOptions, f as RunTraceChecksOptions, S as SafetyOversizedAttributeRuleOptions, g as SafetyRawContentRuleOptions, h as SafetyRedactionRuleOptions, i as SafetySecretPattern, j as SafetySecretPatternRuleOptions, k as StallDetectionRuleOptions, l as StructureIncompleteRuleOptions, m as StructureOrphanRuleOptions, n as StructureParallelWidthRuleOptions, o as StructureRelationshipRuleOptions, p as ToolFailureRuleOptions, q as ToolOrderingRuleOptions, r as ToolUsageRuleOptions, s as TraceCheckContext, t as TraceCheckDiagnostic, u as TraceCheckDiagnosticCode, v as TraceCheckEvidence, w as TraceCheckFacts, x as TraceCheckFinding, y as TraceCheckFindingStatus, z as TraceCheckRule, A as TraceCheckRuleCategory, C as TraceCheckSeverity, E as TraceCheckStatus, F as TraceCheckSummary, H as TraceSignalRuleOptions, I as createBaselineRegressionRule, J as createDecisionRule, K as createGuardrailRule, N as createLlmUsageRule, P as createMaxStepDurationRule, Q as createObservedOutcomeRule, U as createRequireCompletedRule, V as createRetrievalRule, W as createRunDepthRule, X as createRunDurationRule, Y as createRunEventCountRule, Z as createRunStatusRule, _ as createSafetyOversizedAttributeRule, $ as createSafetyRawContentRule, a0 as createSafetyRedactionRule, a1 as createSafetySecretPatternRule, a2 as createStallDetectionRule, a3 as createStructureCycleRule, a4 as createStructureIncompleteRule, a5 as createStructureOrphanRule, a6 as createStructureParallelWidthRule, a7 as createStructureRelationshipRule, a8 as createToolFailureRule, a9 as createToolOrderingRule, aa as createToolUsageRule, ab as runTraceChecks } from './index-BblJEdYZ.js';
1
+ import { T as TraceCheckInput, a as TraceCheckResult } from './index-BO7l0iAe.js';
2
+ export { B as BaselineRegressionRuleOptions, D as DecisionRuleOptions, G as GuardrailRuleOptions, L as LlmUsageRuleOptions, M as MaxStepDurationRuleOptions, O as ObservedOutcomeRuleOptions, R as RetrievalRuleOptions, b as RunDepthRuleOptions, c as RunDurationRuleOptions, d as RunEventCountRuleOptions, e as RunStatusRuleOptions, f as RunTraceChecksOptions, S as SafetyFindingCategory, g as SafetyFindingConfidence, h as SafetyOversizedAttributeRuleOptions, i as SafetyRawContentRuleOptions, j as SafetyRedactionRuleOptions, k as SafetySecretPattern, l as SafetySecretPatternRuleOptions, m as StallDetectionRuleOptions, n as StructureIncompleteRuleOptions, o as StructureOrphanRuleOptions, p as StructureParallelWidthRuleOptions, q as StructureRelationshipRuleOptions, r as ToolFailureRuleOptions, s as ToolOrderingRuleOptions, t as ToolUsageRuleOptions, u as TraceCheckContext, v as TraceCheckDiagnostic, w as TraceCheckDiagnosticCode, x as TraceCheckEvidence, y as TraceCheckFacts, z as TraceCheckFinding, A as TraceCheckFindingStatus, C as TraceCheckRule, E as TraceCheckRuleCategory, F as TraceCheckSeverity, H as TraceCheckStatus, I as TraceCheckSummary, J as TraceSignalRuleOptions, K as createBaselineRegressionRule, N as createDecisionRule, P as createGuardrailRule, Q as createLlmUsageRule, U as createMaxStepDurationRule, V as createObservedOutcomeRule, W as createRequireCompletedRule, X as createRetrievalRule, Y as createRunDepthRule, Z as createRunDurationRule, _ as createRunEventCountRule, $ as createRunStatusRule, a0 as createSafetyOversizedAttributeRule, a1 as createSafetyRawContentRule, a2 as createSafetyRedactionRule, a3 as createSafetySecretPatternRule, a4 as createStallDetectionRule, a5 as createStructureCycleRule, a6 as createStructureIncompleteRule, a7 as createStructureOrphanRule, a8 as createStructureParallelWidthRule, a9 as createStructureRelationshipRule, aa as createToolFailureRule, ab as createToolOrderingRule, ac as createToolUsageRule, ad as runTraceChecks } from './index-BO7l0iAe.js';
3
3
  import './readers.js';
4
4
  import './inspect-event-DVg84S4v.js';
5
5
  import './persisted-inspect-event-ChE7pGb7.js';
@@ -1,4 +1,4 @@
1
- export { createBaselineRegressionRule, createDecisionRule, createGuardrailRule, createLlmUsageRule, createMaxStepDurationRule, createObservedOutcomeRule, createRequireCompletedRule, createRetrievalRule, createRunDepthRule, createRunDurationRule, createRunEventCountRule, createRunStatusRule, createSafetyOversizedAttributeRule, createSafetyRawContentRule, createSafetyRedactionRule, createSafetySecretPatternRule, createStallDetectionRule, createStructureCycleRule, createStructureIncompleteRule, createStructureOrphanRule, createStructureParallelWidthRule, createStructureRelationshipRule, createToolFailureRule, createToolOrderingRule, createToolUsageRule, defineTraceContract, evaluateTraceContract, runTraceChecks } from './chunk-EQVXDGGU.mjs';
1
+ export { createBaselineRegressionRule, createDecisionRule, createGuardrailRule, createLlmUsageRule, createMaxStepDurationRule, createObservedOutcomeRule, createRequireCompletedRule, createRetrievalRule, createRunDepthRule, createRunDurationRule, createRunEventCountRule, createRunStatusRule, createSafetyOversizedAttributeRule, createSafetyRawContentRule, createSafetyRedactionRule, createSafetySecretPatternRule, createStallDetectionRule, createStructureCycleRule, createStructureIncompleteRule, createStructureOrphanRule, createStructureParallelWidthRule, createStructureRelationshipRule, createToolFailureRule, createToolOrderingRule, createToolUsageRule, defineTraceContract, evaluateTraceContract, runTraceChecks } from './chunk-QT6CQ2XA.mjs';
2
2
  import './chunk-VFO76UH3.mjs';
3
3
  import './chunk-ULCGIRTC.mjs';
4
4
  import './chunk-VU6O5QAH.mjs';
@@ -46,8 +46,35 @@ var DEFAULT_RAW_CONTENT_KEYS = [
46
46
  "toolinput",
47
47
  "tool_input",
48
48
  "tooloutput",
49
- "tool_output"
49
+ "tool_output",
50
+ // Framework / agent metadata that carries user or task text
51
+ "currenttask",
52
+ "current_task",
53
+ "task",
54
+ "userinput",
55
+ "user_input",
56
+ "requesttext",
57
+ "request_text",
58
+ "conversationtext",
59
+ "conversation_text"
50
60
  ];
61
+ var DEFAULT_SAFE_RAW_CONTENT_PATH_PREFIXES = ["tokenUsage", "usage"];
62
+ var SAFE_USAGE_LEAF_KEYS = /* @__PURE__ */ new Set([
63
+ "input",
64
+ "output",
65
+ "total",
66
+ "cached",
67
+ "input_tokens",
68
+ "inputtokens",
69
+ "output_tokens",
70
+ "outputtokens",
71
+ "total_tokens",
72
+ "totaltokens",
73
+ "prompt_tokens",
74
+ "prompttokens",
75
+ "completion_tokens",
76
+ "completiontokens"
77
+ ]);
51
78
  var DEFAULT_SECRET_PATTERNS = [
52
79
  { id: "bearer-token", pattern: /Bearer\s+[A-Za-z0-9._~+/-]{12,}=*/ },
53
80
  { id: "openai-key", pattern: /sk-[A-Za-z0-9_-]{16,}/ },
@@ -225,7 +252,11 @@ function normalizeFinding(rule, finding) {
225
252
  message: finding.message,
226
253
  ...finding.expected !== void 0 ? { expected: finding.expected } : {},
227
254
  ...finding.actual !== void 0 ? { actual: finding.actual } : {},
228
- evidence: [...finding.evidence ?? []]
255
+ evidence: [...finding.evidence ?? []],
256
+ ...finding.category !== void 0 ? { category: finding.category } : {},
257
+ ...finding.confidence !== void 0 ? { confidence: finding.confidence } : {},
258
+ ...finding.detector !== void 0 ? { detector: finding.detector } : {},
259
+ ...finding.action !== void 0 ? { action: finding.action } : {}
229
260
  };
230
261
  }
231
262
  function summarize(findings, diagnostics) {
@@ -283,15 +314,19 @@ function eventEvidence(event, path) {
283
314
  function runEvidence(run) {
284
315
  return run ? [{ runId: run.runId, name: run.name, status: run.status }] : [];
285
316
  }
286
- function failFinding(ruleId, message, evidence, expected, actual) {
317
+ function failFinding(ruleId, message, evidence, expected, actual, meta) {
287
318
  return {
288
319
  ruleId,
289
- severity: "error",
290
- status: "fail",
320
+ severity: meta?.severity ?? "error",
321
+ status: meta?.status ?? "fail",
291
322
  message,
292
323
  ...expected !== void 0 ? { expected } : {},
293
324
  ...actual !== void 0 ? { actual } : {},
294
- evidence: [...evidence]
325
+ evidence: [...evidence],
326
+ ...meta?.category !== void 0 ? { category: meta.category } : {},
327
+ ...meta?.confidence !== void 0 ? { confidence: meta.confidence } : {},
328
+ ...meta?.detector !== void 0 ? { detector: meta.detector } : {},
329
+ ...meta?.action !== void 0 ? { action: meta.action } : {}
295
330
  };
296
331
  }
297
332
  function toolName(event) {
@@ -423,6 +458,19 @@ function isRawContentKey(key, forbiddenKeys) {
423
458
  const normalized = normalizedKey(key);
424
459
  return forbiddenKeys.some((forbidden) => normalized === normalizedKey(forbidden));
425
460
  }
461
+ function isSafeRawContentMetricPath(path, key, safePathPrefixes) {
462
+ const leaf = normalizedKey(key ?? lastPathSegment(path));
463
+ if (!SAFE_USAGE_LEAF_KEYS.has(leaf)) return false;
464
+ const parts = path.split(".").filter(Boolean);
465
+ if (parts.length < 2) return false;
466
+ const parent = parts[parts.length - 2] ?? "";
467
+ const parentNorm = normalizedKey(parent);
468
+ return safePathPrefixes.some((prefix) => parentNorm === normalizedKey(prefix));
469
+ }
470
+ function isRawContentPath(path, key, forbiddenKeys, safePathPrefixes) {
471
+ if (isSafeRawContentMetricPath(path, key, safePathPrefixes)) return false;
472
+ return isRawContentKey(key ?? lastPathSegment(path), forbiddenKeys);
473
+ }
426
474
  function parentMarkedUnresolved(event) {
427
475
  if (booleanAttr(event, [
428
476
  "parentUnresolved",
@@ -1306,7 +1354,13 @@ function createSafetyRedactionRule(options = {}) {
1306
1354
  `Sensitive-looking field at ${entry.path} is not redacted.`,
1307
1355
  [eventEvidence(event, entry.path)],
1308
1356
  "redaction marker",
1309
- { path: entry.path, valueType: valueType(entry.value) }
1357
+ { path: entry.path, valueType: valueType(entry.value) },
1358
+ {
1359
+ category: "credential",
1360
+ confidence: "high",
1361
+ detector: "safety.redaction",
1362
+ action: "redact"
1363
+ }
1310
1364
  )
1311
1365
  );
1312
1366
  }
@@ -1317,6 +1371,7 @@ function createSafetyRedactionRule(options = {}) {
1317
1371
  }
1318
1372
  function createSafetyRawContentRule(options = {}) {
1319
1373
  const forbiddenKeys = options.forbiddenKeys ?? DEFAULT_RAW_CONTENT_KEYS;
1374
+ const safePathPrefixes = options.safePathPrefixes ?? DEFAULT_SAFE_RAW_CONTENT_PATH_PREFIXES;
1320
1375
  return {
1321
1376
  id: "safety.rawPrompt",
1322
1377
  category: "safety",
@@ -1326,14 +1381,20 @@ function createSafetyRawContentRule(options = {}) {
1326
1381
  for (const event of context.events) {
1327
1382
  for (const entry of eventValueEntries(event, { includeSummaries: options.includeSummaries })) {
1328
1383
  const key = entry.key ?? lastPathSegment(entry.path);
1329
- if (!isRawContentKey(key, forbiddenKeys)) continue;
1384
+ if (!isRawContentPath(entry.path, key, forbiddenKeys, safePathPrefixes)) continue;
1330
1385
  findings.push(
1331
1386
  failFinding(
1332
1387
  "safety.rawPrompt",
1333
1388
  `Raw content-like field ${entry.path} is present.`,
1334
1389
  [eventEvidence(event, entry.path)],
1335
1390
  "metadata-only trace fields",
1336
- { path: entry.path, valueType: valueType(entry.value) }
1391
+ { path: entry.path, valueType: valueType(entry.value) },
1392
+ {
1393
+ category: "raw-content",
1394
+ confidence: "high",
1395
+ detector: "safety.rawPrompt",
1396
+ action: "redact-or-omit"
1397
+ }
1337
1398
  )
1338
1399
  );
1339
1400
  }
@@ -1365,7 +1426,13 @@ function createSafetySecretPatternRule(options = {}) {
1365
1426
  `Secret-like pattern ${pattern.id} matched at ${entry.path}.`,
1366
1427
  [eventEvidence(event, entry.path)],
1367
1428
  "no secret-like strings",
1368
- { pattern: pattern.id, path: entry.path }
1429
+ { pattern: pattern.id, path: entry.path },
1430
+ {
1431
+ category: "credential",
1432
+ confidence: "high",
1433
+ detector: pattern.id,
1434
+ action: "redact"
1435
+ }
1369
1436
  )
1370
1437
  );
1371
1438
  break;
@@ -1392,7 +1459,13 @@ function createSafetyOversizedAttributeRule(options) {
1392
1459
  `String at ${entry.path} exceeds ${options.maxStringLength} characters.`,
1393
1460
  [eventEvidence(event, entry.path)],
1394
1461
  { maxStringLength: options.maxStringLength },
1395
- { path: entry.path, length: entry.value.length }
1462
+ { path: entry.path, length: entry.value.length },
1463
+ {
1464
+ category: "size",
1465
+ confidence: "high",
1466
+ detector: "safety.oversizedAttribute",
1467
+ action: "truncate-or-omit"
1468
+ }
1396
1469
  )
1397
1470
  );
1398
1471
  }
@@ -1403,7 +1476,13 @@ function createSafetyOversizedAttributeRule(options) {
1403
1476
  `Array at ${entry.path} exceeds ${options.maxArrayLength} items.`,
1404
1477
  [eventEvidence(event, entry.path)],
1405
1478
  { maxArrayLength: options.maxArrayLength },
1406
- { path: entry.path, length: entry.value.length }
1479
+ { path: entry.path, length: entry.value.length },
1480
+ {
1481
+ category: "size",
1482
+ confidence: "high",
1483
+ detector: "safety.oversizedAttribute",
1484
+ action: "truncate-or-omit"
1485
+ }
1407
1486
  )
1408
1487
  );
1409
1488
  }
@@ -1414,7 +1493,13 @@ function createSafetyOversizedAttributeRule(options) {
1414
1493
  `Object at ${entry.path} exceeds ${options.maxObjectKeys} keys.`,
1415
1494
  [eventEvidence(event, entry.path)],
1416
1495
  { maxObjectKeys: options.maxObjectKeys },
1417
- { path: entry.path, keys: Object.keys(entry.value).length }
1496
+ { path: entry.path, keys: Object.keys(entry.value).length },
1497
+ {
1498
+ category: "size",
1499
+ confidence: "high",
1500
+ detector: "safety.oversizedAttribute",
1501
+ action: "truncate-or-omit"
1502
+ }
1418
1503
  )
1419
1504
  );
1420
1505
  }
@@ -1427,7 +1512,13 @@ function createSafetyOversizedAttributeRule(options) {
1427
1512
  `Value at ${entry.path} exceeds ${options.maxSerializedBytes} serialized bytes.`,
1428
1513
  [eventEvidence(event, entry.path)],
1429
1514
  { maxSerializedBytes: options.maxSerializedBytes },
1430
- { path: entry.path, bytes }
1515
+ { path: entry.path, bytes },
1516
+ {
1517
+ category: "size",
1518
+ confidence: "high",
1519
+ detector: "safety.oversizedAttribute",
1520
+ action: "truncate-or-omit"
1521
+ }
1431
1522
  )
1432
1523
  );
1433
1524
  }
@@ -1809,5 +1900,5 @@ function evaluateTraceContract(input, contract, options = {}) {
1809
1900
  }
1810
1901
 
1811
1902
  export { createBaselineRegressionRule, createDecisionRule, createGuardrailRule, createLlmUsageRule, createMaxStepDurationRule, createObservedOutcomeRule, createRequireCompletedRule, createRetrievalRule, createRunDepthRule, createRunDurationRule, createRunEventCountRule, createRunStatusRule, createSafetyOversizedAttributeRule, createSafetyRawContentRule, createSafetyRedactionRule, createSafetySecretPatternRule, createStallDetectionRule, createStructureCycleRule, createStructureIncompleteRule, createStructureOrphanRule, createStructureParallelWidthRule, createStructureRelationshipRule, createToolFailureRule, createToolOrderingRule, createToolUsageRule, defineTraceContract, evaluateTraceContract, runTraceChecks };
1812
- //# sourceMappingURL=chunk-EQVXDGGU.mjs.map
1813
- //# sourceMappingURL=chunk-EQVXDGGU.mjs.map
1903
+ //# sourceMappingURL=chunk-QT6CQ2XA.mjs.map
1904
+ //# sourceMappingURL=chunk-QT6CQ2XA.mjs.map