@agent-inspect/viewer 6.29.3 → 6.29.5

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/dist/index.cjs CHANGED
@@ -87,6 +87,17 @@ function isTraceEvent(value) {
87
87
  }
88
88
  }
89
89
 
90
+ // packages/core/src/types/inspect-event.ts
91
+ var ATTRIBUTION_CONFIDENCES = [
92
+ "unknown",
93
+ "heuristic",
94
+ "correlated",
95
+ "explicit"
96
+ ];
97
+ function isAttributionConfidence(value) {
98
+ return typeof value === "string" && ATTRIBUTION_CONFIDENCES.includes(value);
99
+ }
100
+
90
101
  // packages/core/src/types/persisted-inspect-event.ts
91
102
  var INSPECT_KINDS = [
92
103
  "RUN",
@@ -102,12 +113,6 @@ var INSPECT_KINDS = [
102
113
  "LOG",
103
114
  "OUTCOME"
104
115
  ];
105
- var ATTRIBUTION_CONFIDENCES = [
106
- "explicit",
107
- "correlated",
108
- "heuristic",
109
- "unknown"
110
- ];
111
116
  var PERSISTED_EVENT_SOURCE_TYPES = [
112
117
  "manual",
113
118
  "json-log",
@@ -143,9 +148,6 @@ function isOptionalNonNegativeNumber(value) {
143
148
  function isInspectKind(value) {
144
149
  return typeof value === "string" && INSPECT_KINDS.includes(value);
145
150
  }
146
- function isAttributionConfidence(value) {
147
- return typeof value === "string" && ATTRIBUTION_CONFIDENCES.includes(value);
148
- }
149
151
  function isPersistedEventSourceType(value) {
150
152
  return typeof value === "string" && PERSISTED_EVENT_SOURCE_TYPES.includes(value);
151
153
  }