@agent-inspect/viewer 6.19.1 → 6.21.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/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +14 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -744,6 +744,17 @@ async function readTraceEventsFromFile(filePath) {
|
|
|
744
744
|
new async_hooks.AsyncLocalStorage();
|
|
745
745
|
|
|
746
746
|
// packages/core/src/outcomes/types.ts
|
|
747
|
+
var OBSERVED_OUTCOME_METHODS = [
|
|
748
|
+
"dom",
|
|
749
|
+
"accessibility",
|
|
750
|
+
"snapshot",
|
|
751
|
+
"network",
|
|
752
|
+
"storage",
|
|
753
|
+
"filesystem",
|
|
754
|
+
"database",
|
|
755
|
+
"queue",
|
|
756
|
+
"custom"
|
|
757
|
+
];
|
|
747
758
|
var OUTCOME_ATTRIBUTE_STATUS_KEY = "outcomeStatus";
|
|
748
759
|
var OUTCOME_ATTRIBUTE_EXPECTATION_KEY = "expectation";
|
|
749
760
|
var OUTCOME_ATTRIBUTE_METHOD_KEY = "method";
|
|
@@ -2602,6 +2613,9 @@ formatProgrammaticDiagnostic(
|
|
|
2602
2613
|
"AI_TRACE_FACTS_INPUT_NOT_NORMALIZED"
|
|
2603
2614
|
);
|
|
2604
2615
|
|
|
2616
|
+
// packages/core/src/checks/contract.ts
|
|
2617
|
+
new Set(OBSERVED_OUTCOME_METHODS);
|
|
2618
|
+
|
|
2605
2619
|
// packages/core/src/checks/index.ts
|
|
2606
2620
|
var SEVERITY_RANK = {
|
|
2607
2621
|
error: 0,
|