@ls-stack/agent-eval 0.56.1 → 0.58.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/{app-Db_x-Rit.mjs → app-L9GdY28I.mjs} +4 -4
- package/dist/apps/web/dist/assets/index-Cz9p4l-t.js +377 -0
- package/dist/apps/web/dist/assets/index-DtARRwsS.css +1 -0
- package/dist/apps/web/dist/index.html +2 -2
- package/dist/bin.mjs +1 -1
- package/dist/caseChild.mjs +3 -2
- package/dist/{cli-Ck0mqxd-.mjs → cli-Cf37PZKi.mjs} +7 -6
- package/dist/index.d.mts +159 -112
- package/dist/index.mjs +3 -3
- package/dist/runChild.mjs +4 -3
- package/dist/{runExecution-BH7DlMXl.mjs → runExecution-C4kAOhC1.mjs} +115 -30
- package/dist/{runOrchestration-C1Ex9QI-.mjs → runOrchestration-5xEiQxiS.mjs} +1 -1
- package/dist/{runner-DbVYcapC.mjs → runner-JIykMlve.mjs} +1 -1
- package/dist/{runner-B3hEOT_I.mjs → runner-bjd_UB9i.mjs} +2 -2
- package/dist/{src-B3iq-tuv.mjs → src-303BocMW.mjs} +2 -2
- package/package.json +3 -3
- package/skills/agent-eval/SKILL.md +7 -3
- package/dist/apps/web/dist/assets/index-Xa_7PteQ.css +0 -1
- package/dist/apps/web/dist/assets/index-bB8IBDp1.js +0 -377
package/dist/index.d.mts
CHANGED
|
@@ -235,6 +235,18 @@ declare const assertionFailureSchema$1: z$1.ZodObject<{
|
|
|
235
235
|
}, z$1.core.$strip>;
|
|
236
236
|
/** Assertion failure metadata captured for one case run. */
|
|
237
237
|
type AssertionFailure$1 = z$1.infer<typeof assertionFailureSchema$1>;
|
|
238
|
+
/** Structured assertion result metadata captured for one case run. */
|
|
239
|
+
declare const assertionResultSchema: z$1.ZodObject<{
|
|
240
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
241
|
+
message: z$1.ZodString;
|
|
242
|
+
stack: z$1.ZodOptional<z$1.ZodString>;
|
|
243
|
+
status: z$1.ZodEnum<{
|
|
244
|
+
pass: "pass";
|
|
245
|
+
fail: "fail";
|
|
246
|
+
}>;
|
|
247
|
+
}, z$1.core.$strip>;
|
|
248
|
+
/** Assertion result metadata captured for one case run. */
|
|
249
|
+
type AssertionResult = z$1.infer<typeof assertionResultSchema>;
|
|
238
250
|
/** Severity level for one log captured during a case run. */
|
|
239
251
|
declare const runLogLevelSchema$1: z$1.ZodEnum<{
|
|
240
252
|
error: "error";
|
|
@@ -1462,7 +1474,8 @@ type EvalCaseScope = {
|
|
|
1462
1474
|
input?: unknown; /** Effective tags for the current case. */
|
|
1463
1475
|
tags: string[];
|
|
1464
1476
|
outputs: Record<string, unknown>; /** Runtime display overrides recorded by output helpers for this case. */
|
|
1465
|
-
outputColumnOverrides: Record<string, EvalColumnOverride>; /** Structured assertion
|
|
1477
|
+
outputColumnOverrides: Record<string, EvalColumnOverride>; /** Structured assertion results recorded for the current case. */
|
|
1478
|
+
assertions: AssertionResult[]; /** Structured assertion failures recorded for the current case. */
|
|
1466
1479
|
assertionFailures: AssertionFailure$1[]; /** Logs captured from manual `evalLog(...)` calls and enabled console calls. */
|
|
1467
1480
|
logs: RunLogEntry$1[];
|
|
1468
1481
|
spans: EvalTraceSpan$2[];
|
|
@@ -1884,15 +1897,15 @@ type ColumnKind = z$1.infer<typeof columnKindSchema>;
|
|
|
1884
1897
|
declare const columnFormatSchema: z$1.ZodEnum<{
|
|
1885
1898
|
number: "number";
|
|
1886
1899
|
boolean: "boolean";
|
|
1887
|
-
duration: "duration";
|
|
1888
|
-
json: "json";
|
|
1889
1900
|
file: "file";
|
|
1890
1901
|
markdown: "markdown";
|
|
1902
|
+
json: "json";
|
|
1891
1903
|
image: "image";
|
|
1892
1904
|
html: "html";
|
|
1893
1905
|
pdf: "pdf";
|
|
1894
1906
|
audio: "audio";
|
|
1895
1907
|
video: "video";
|
|
1908
|
+
duration: "duration";
|
|
1896
1909
|
percent: "percent";
|
|
1897
1910
|
passFail: "passFail";
|
|
1898
1911
|
stars: "stars";
|
|
@@ -1911,15 +1924,15 @@ declare const columnDefSchema: z$1.ZodObject<{
|
|
|
1911
1924
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1912
1925
|
number: "number";
|
|
1913
1926
|
boolean: "boolean";
|
|
1914
|
-
duration: "duration";
|
|
1915
|
-
json: "json";
|
|
1916
1927
|
file: "file";
|
|
1917
1928
|
markdown: "markdown";
|
|
1929
|
+
json: "json";
|
|
1918
1930
|
image: "image";
|
|
1919
1931
|
html: "html";
|
|
1920
1932
|
pdf: "pdf";
|
|
1921
1933
|
audio: "audio";
|
|
1922
1934
|
video: "video";
|
|
1935
|
+
duration: "duration";
|
|
1923
1936
|
percent: "percent";
|
|
1924
1937
|
passFail: "passFail";
|
|
1925
1938
|
stars: "stars";
|
|
@@ -1965,8 +1978,8 @@ type CellValue = z$1.infer<typeof cellValueSchema>; //#endregion
|
|
|
1965
1978
|
declare const traceAttributeDisplayFormatSchema: z$1.ZodEnum<{
|
|
1966
1979
|
string: "string";
|
|
1967
1980
|
number: "number";
|
|
1968
|
-
duration: "duration";
|
|
1969
1981
|
json: "json";
|
|
1982
|
+
duration: "duration";
|
|
1970
1983
|
}>;
|
|
1971
1984
|
/**
|
|
1972
1985
|
* Formatting hint for trace attribute values rendered by the UI.
|
|
@@ -1990,8 +2003,8 @@ declare const traceAttributeDisplaySchema: z$1.ZodObject<{
|
|
|
1990
2003
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1991
2004
|
string: "string";
|
|
1992
2005
|
number: "number";
|
|
1993
|
-
duration: "duration";
|
|
1994
2006
|
json: "json";
|
|
2007
|
+
duration: "duration";
|
|
1995
2008
|
}>>;
|
|
1996
2009
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
1997
2010
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -2005,8 +2018,8 @@ declare const traceAttributeDisplaySchema: z$1.ZodObject<{
|
|
|
2005
2018
|
}>>;
|
|
2006
2019
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2007
2020
|
all: "all";
|
|
2008
|
-
last: "last";
|
|
2009
2021
|
sum: "sum";
|
|
2022
|
+
last: "last";
|
|
2010
2023
|
}>>;
|
|
2011
2024
|
}, z$1.core.$strip>;
|
|
2012
2025
|
/**
|
|
@@ -2026,8 +2039,8 @@ declare const traceDisplayConfigSchema: z$1.ZodObject<{
|
|
|
2026
2039
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2027
2040
|
string: "string";
|
|
2028
2041
|
number: "number";
|
|
2029
|
-
duration: "duration";
|
|
2030
2042
|
json: "json";
|
|
2043
|
+
duration: "duration";
|
|
2031
2044
|
}>>;
|
|
2032
2045
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
2033
2046
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -2041,8 +2054,8 @@ declare const traceDisplayConfigSchema: z$1.ZodObject<{
|
|
|
2041
2054
|
}>>;
|
|
2042
2055
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2043
2056
|
all: "all";
|
|
2044
|
-
last: "last";
|
|
2045
2057
|
sum: "sum";
|
|
2058
|
+
last: "last";
|
|
2046
2059
|
}>>;
|
|
2047
2060
|
}, z$1.core.$strip>>>;
|
|
2048
2061
|
}, z$1.core.$strip>;
|
|
@@ -2066,8 +2079,8 @@ declare const traceAttributeDisplayInputSchema: z$1.ZodObject<{
|
|
|
2066
2079
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2067
2080
|
string: "string";
|
|
2068
2081
|
number: "number";
|
|
2069
|
-
duration: "duration";
|
|
2070
2082
|
json: "json";
|
|
2083
|
+
duration: "duration";
|
|
2071
2084
|
}>>;
|
|
2072
2085
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
2073
2086
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -2081,8 +2094,8 @@ declare const traceAttributeDisplayInputSchema: z$1.ZodObject<{
|
|
|
2081
2094
|
}>>;
|
|
2082
2095
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2083
2096
|
all: "all";
|
|
2084
|
-
last: "last";
|
|
2085
2097
|
sum: "sum";
|
|
2098
|
+
last: "last";
|
|
2086
2099
|
}>>;
|
|
2087
2100
|
transform: z$1.ZodOptional<z$1.ZodCustom<TraceAttributeTransform, TraceAttributeTransform>>;
|
|
2088
2101
|
}, z$1.core.$strip>;
|
|
@@ -2104,8 +2117,8 @@ declare const traceDisplayInputConfigSchema: z$1.ZodObject<{
|
|
|
2104
2117
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2105
2118
|
string: "string";
|
|
2106
2119
|
number: "number";
|
|
2107
|
-
duration: "duration";
|
|
2108
2120
|
json: "json";
|
|
2121
|
+
duration: "duration";
|
|
2109
2122
|
}>>;
|
|
2110
2123
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
2111
2124
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -2119,8 +2132,8 @@ declare const traceDisplayInputConfigSchema: z$1.ZodObject<{
|
|
|
2119
2132
|
}>>;
|
|
2120
2133
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2121
2134
|
all: "all";
|
|
2122
|
-
last: "last";
|
|
2123
2135
|
sum: "sum";
|
|
2136
|
+
last: "last";
|
|
2124
2137
|
}>>;
|
|
2125
2138
|
transform: z$1.ZodOptional<z$1.ZodCustom<TraceAttributeTransform, TraceAttributeTransform>>;
|
|
2126
2139
|
}, z$1.core.$strip>>>;
|
|
@@ -2157,8 +2170,8 @@ declare const traceSpanSchema$1: z$1.ZodObject<{
|
|
|
2157
2170
|
status: z$1.ZodEnum<{
|
|
2158
2171
|
error: "error";
|
|
2159
2172
|
running: "running";
|
|
2160
|
-
ok: "ok";
|
|
2161
2173
|
cancelled: "cancelled";
|
|
2174
|
+
ok: "ok";
|
|
2162
2175
|
}>;
|
|
2163
2176
|
attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
2164
2177
|
error: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -2203,8 +2216,8 @@ type EvalFreshnessStatus = z$1.infer<typeof evalFreshnessStatusSchema>;
|
|
|
2203
2216
|
* `best` selects the highest finite value and `worst` selects the lowest.
|
|
2204
2217
|
*/
|
|
2205
2218
|
declare const evalStatAggregateSchema: z$1.ZodEnum<{
|
|
2206
|
-
sum: "sum";
|
|
2207
2219
|
avg: "avg";
|
|
2220
|
+
sum: "sum";
|
|
2208
2221
|
min: "min";
|
|
2209
2222
|
max: "max";
|
|
2210
2223
|
best: "best";
|
|
@@ -2235,8 +2248,8 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
2235
2248
|
hideIfNoValue: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2236
2249
|
kind: z$1.ZodLiteral<"duration">;
|
|
2237
2250
|
aggregate: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2238
|
-
sum: "sum";
|
|
2239
2251
|
avg: "avg";
|
|
2252
|
+
sum: "sum";
|
|
2240
2253
|
min: "min";
|
|
2241
2254
|
max: "max";
|
|
2242
2255
|
best: "best";
|
|
@@ -2246,8 +2259,8 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
2246
2259
|
hideIfNoValue: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2247
2260
|
kind: z$1.ZodLiteral<"cacheHits">;
|
|
2248
2261
|
aggregate: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2249
|
-
sum: "sum";
|
|
2250
2262
|
avg: "avg";
|
|
2263
|
+
sum: "sum";
|
|
2251
2264
|
min: "min";
|
|
2252
2265
|
max: "max";
|
|
2253
2266
|
best: "best";
|
|
@@ -2259,8 +2272,8 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
2259
2272
|
key: z$1.ZodString;
|
|
2260
2273
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
2261
2274
|
aggregate: z$1.ZodEnum<{
|
|
2262
|
-
sum: "sum";
|
|
2263
2275
|
avg: "avg";
|
|
2276
|
+
sum: "sum";
|
|
2264
2277
|
min: "min";
|
|
2265
2278
|
max: "max";
|
|
2266
2279
|
best: "best";
|
|
@@ -2269,15 +2282,15 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
2269
2282
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2270
2283
|
number: "number";
|
|
2271
2284
|
boolean: "boolean";
|
|
2272
|
-
duration: "duration";
|
|
2273
|
-
json: "json";
|
|
2274
2285
|
file: "file";
|
|
2275
2286
|
markdown: "markdown";
|
|
2287
|
+
json: "json";
|
|
2276
2288
|
image: "image";
|
|
2277
2289
|
html: "html";
|
|
2278
2290
|
pdf: "pdf";
|
|
2279
2291
|
audio: "audio";
|
|
2280
2292
|
video: "video";
|
|
2293
|
+
duration: "duration";
|
|
2281
2294
|
percent: "percent";
|
|
2282
2295
|
passFail: "passFail";
|
|
2283
2296
|
stars: "stars";
|
|
@@ -2299,8 +2312,8 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
|
|
|
2299
2312
|
hideIfNoValue: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2300
2313
|
kind: z$1.ZodLiteral<"duration">;
|
|
2301
2314
|
aggregate: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2302
|
-
sum: "sum";
|
|
2303
2315
|
avg: "avg";
|
|
2316
|
+
sum: "sum";
|
|
2304
2317
|
min: "min";
|
|
2305
2318
|
max: "max";
|
|
2306
2319
|
best: "best";
|
|
@@ -2310,8 +2323,8 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
|
|
|
2310
2323
|
hideIfNoValue: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2311
2324
|
kind: z$1.ZodLiteral<"cacheHits">;
|
|
2312
2325
|
aggregate: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2313
|
-
sum: "sum";
|
|
2314
2326
|
avg: "avg";
|
|
2327
|
+
sum: "sum";
|
|
2315
2328
|
min: "min";
|
|
2316
2329
|
max: "max";
|
|
2317
2330
|
best: "best";
|
|
@@ -2323,8 +2336,8 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
|
|
|
2323
2336
|
key: z$1.ZodString;
|
|
2324
2337
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
2325
2338
|
aggregate: z$1.ZodEnum<{
|
|
2326
|
-
sum: "sum";
|
|
2327
2339
|
avg: "avg";
|
|
2340
|
+
sum: "sum";
|
|
2328
2341
|
min: "min";
|
|
2329
2342
|
max: "max";
|
|
2330
2343
|
best: "best";
|
|
@@ -2333,15 +2346,15 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
|
|
|
2333
2346
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2334
2347
|
number: "number";
|
|
2335
2348
|
boolean: "boolean";
|
|
2336
|
-
duration: "duration";
|
|
2337
|
-
json: "json";
|
|
2338
2349
|
file: "file";
|
|
2339
2350
|
markdown: "markdown";
|
|
2351
|
+
json: "json";
|
|
2340
2352
|
image: "image";
|
|
2341
2353
|
html: "html";
|
|
2342
2354
|
pdf: "pdf";
|
|
2343
2355
|
audio: "audio";
|
|
2344
2356
|
video: "video";
|
|
2357
|
+
duration: "duration";
|
|
2345
2358
|
percent: "percent";
|
|
2346
2359
|
passFail: "passFail";
|
|
2347
2360
|
stars: "stars";
|
|
@@ -2379,15 +2392,15 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2379
2392
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2380
2393
|
number: "number";
|
|
2381
2394
|
boolean: "boolean";
|
|
2382
|
-
duration: "duration";
|
|
2383
|
-
json: "json";
|
|
2384
2395
|
file: "file";
|
|
2385
2396
|
markdown: "markdown";
|
|
2397
|
+
json: "json";
|
|
2386
2398
|
image: "image";
|
|
2387
2399
|
html: "html";
|
|
2388
2400
|
pdf: "pdf";
|
|
2389
2401
|
audio: "audio";
|
|
2390
2402
|
video: "video";
|
|
2403
|
+
duration: "duration";
|
|
2391
2404
|
percent: "percent";
|
|
2392
2405
|
passFail: "passFail";
|
|
2393
2406
|
stars: "stars";
|
|
@@ -2426,8 +2439,8 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2426
2439
|
hideIfNoValue: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2427
2440
|
kind: z$1.ZodLiteral<"duration">;
|
|
2428
2441
|
aggregate: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2429
|
-
sum: "sum";
|
|
2430
2442
|
avg: "avg";
|
|
2443
|
+
sum: "sum";
|
|
2431
2444
|
min: "min";
|
|
2432
2445
|
max: "max";
|
|
2433
2446
|
best: "best";
|
|
@@ -2437,8 +2450,8 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2437
2450
|
hideIfNoValue: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2438
2451
|
kind: z$1.ZodLiteral<"cacheHits">;
|
|
2439
2452
|
aggregate: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2440
|
-
sum: "sum";
|
|
2441
2453
|
avg: "avg";
|
|
2454
|
+
sum: "sum";
|
|
2442
2455
|
min: "min";
|
|
2443
2456
|
max: "max";
|
|
2444
2457
|
best: "best";
|
|
@@ -2450,8 +2463,8 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2450
2463
|
key: z$1.ZodString;
|
|
2451
2464
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
2452
2465
|
aggregate: z$1.ZodEnum<{
|
|
2453
|
-
sum: "sum";
|
|
2454
2466
|
avg: "avg";
|
|
2467
|
+
sum: "sum";
|
|
2455
2468
|
min: "min";
|
|
2456
2469
|
max: "max";
|
|
2457
2470
|
best: "best";
|
|
@@ -2460,15 +2473,15 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2460
2473
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2461
2474
|
number: "number";
|
|
2462
2475
|
boolean: "boolean";
|
|
2463
|
-
duration: "duration";
|
|
2464
|
-
json: "json";
|
|
2465
2476
|
file: "file";
|
|
2466
2477
|
markdown: "markdown";
|
|
2478
|
+
json: "json";
|
|
2467
2479
|
image: "image";
|
|
2468
2480
|
html: "html";
|
|
2469
2481
|
pdf: "pdf";
|
|
2470
2482
|
audio: "audio";
|
|
2471
2483
|
video: "video";
|
|
2484
|
+
duration: "duration";
|
|
2472
2485
|
percent: "percent";
|
|
2473
2486
|
passFail: "passFail";
|
|
2474
2487
|
stars: "stars";
|
|
@@ -2477,8 +2490,8 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2477
2490
|
accent: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2478
2491
|
}, z$1.core.$strip>], "kind">>>;
|
|
2479
2492
|
defaultStatAggregate: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2480
|
-
sum: "sum";
|
|
2481
2493
|
avg: "avg";
|
|
2494
|
+
sum: "sum";
|
|
2482
2495
|
min: "min";
|
|
2483
2496
|
max: "max";
|
|
2484
2497
|
best: "best";
|
|
@@ -2501,11 +2514,11 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2501
2514
|
}>;
|
|
2502
2515
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
2503
2516
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2504
|
-
error: "error";
|
|
2505
2517
|
success: "success";
|
|
2506
|
-
|
|
2518
|
+
error: "error";
|
|
2507
2519
|
accent: "accent";
|
|
2508
2520
|
accentDim: "accentDim";
|
|
2521
|
+
warning: "warning";
|
|
2509
2522
|
textMuted: "textMuted";
|
|
2510
2523
|
}>>;
|
|
2511
2524
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -2516,8 +2529,8 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2516
2529
|
source: z$1.ZodLiteral<"column">;
|
|
2517
2530
|
key: z$1.ZodString;
|
|
2518
2531
|
aggregate: z$1.ZodEnum<{
|
|
2519
|
-
sum: "sum";
|
|
2520
2532
|
avg: "avg";
|
|
2533
|
+
sum: "sum";
|
|
2521
2534
|
min: "min";
|
|
2522
2535
|
max: "max";
|
|
2523
2536
|
latest: "latest";
|
|
@@ -2525,11 +2538,11 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2525
2538
|
}>;
|
|
2526
2539
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
2527
2540
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2528
|
-
error: "error";
|
|
2529
2541
|
success: "success";
|
|
2530
|
-
|
|
2542
|
+
error: "error";
|
|
2531
2543
|
accent: "accent";
|
|
2532
2544
|
accentDim: "accentDim";
|
|
2545
|
+
warning: "warning";
|
|
2533
2546
|
textMuted: "textMuted";
|
|
2534
2547
|
}>>;
|
|
2535
2548
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -2558,8 +2571,8 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
|
|
|
2558
2571
|
source: z$1.ZodLiteral<"column">;
|
|
2559
2572
|
key: z$1.ZodString;
|
|
2560
2573
|
aggregate: z$1.ZodEnum<{
|
|
2561
|
-
sum: "sum";
|
|
2562
2574
|
avg: "avg";
|
|
2575
|
+
sum: "sum";
|
|
2563
2576
|
min: "min";
|
|
2564
2577
|
max: "max";
|
|
2565
2578
|
latest: "latest";
|
|
@@ -2658,9 +2671,9 @@ declare const caseRowSchema$1: z$1.ZodObject<{
|
|
|
2658
2671
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
2659
2672
|
status: z$1.ZodEnum<{
|
|
2660
2673
|
error: "error";
|
|
2674
|
+
pending: "pending";
|
|
2661
2675
|
running: "running";
|
|
2662
2676
|
cancelled: "cancelled";
|
|
2663
|
-
pending: "pending";
|
|
2664
2677
|
pass: "pass";
|
|
2665
2678
|
fail: "fail";
|
|
2666
2679
|
}>;
|
|
@@ -2691,15 +2704,15 @@ declare const caseRowSchema$1: z$1.ZodObject<{
|
|
|
2691
2704
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2692
2705
|
number: "number";
|
|
2693
2706
|
boolean: "boolean";
|
|
2694
|
-
duration: "duration";
|
|
2695
|
-
json: "json";
|
|
2696
2707
|
file: "file";
|
|
2697
2708
|
markdown: "markdown";
|
|
2709
|
+
json: "json";
|
|
2698
2710
|
image: "image";
|
|
2699
2711
|
html: "html";
|
|
2700
2712
|
pdf: "pdf";
|
|
2701
2713
|
audio: "audio";
|
|
2702
2714
|
video: "video";
|
|
2715
|
+
duration: "duration";
|
|
2703
2716
|
percent: "percent";
|
|
2704
2717
|
passFail: "passFail";
|
|
2705
2718
|
stars: "stars";
|
|
@@ -2729,6 +2742,7 @@ declare const assertionFailureSchema: z$1.ZodObject<{
|
|
|
2729
2742
|
}, z$1.core.$strip>;
|
|
2730
2743
|
/** Assertion failure metadata captured for one case run. */
|
|
2731
2744
|
type AssertionFailure = z$1.infer<typeof assertionFailureSchema>;
|
|
2745
|
+
/** Pass/fail outcome for one recorded eval assertion. */
|
|
2732
2746
|
/** Severity level for one log captured during a case run. */
|
|
2733
2747
|
declare const runLogLevelSchema: z$1.ZodEnum<{
|
|
2734
2748
|
error: "error";
|
|
@@ -2797,8 +2811,8 @@ declare const scoreTraceSchema: z$1.ZodObject<{
|
|
|
2797
2811
|
status: z$1.ZodEnum<{
|
|
2798
2812
|
error: "error";
|
|
2799
2813
|
running: "running";
|
|
2800
|
-
ok: "ok";
|
|
2801
2814
|
cancelled: "cancelled";
|
|
2815
|
+
ok: "ok";
|
|
2802
2816
|
}>;
|
|
2803
2817
|
attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
2804
2818
|
error: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -2834,8 +2848,8 @@ declare const scoreTraceSchema: z$1.ZodObject<{
|
|
|
2834
2848
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2835
2849
|
string: "string";
|
|
2836
2850
|
number: "number";
|
|
2837
|
-
duration: "duration";
|
|
2838
2851
|
json: "json";
|
|
2852
|
+
duration: "duration";
|
|
2839
2853
|
}>>;
|
|
2840
2854
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
2841
2855
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -2849,8 +2863,8 @@ declare const scoreTraceSchema: z$1.ZodObject<{
|
|
|
2849
2863
|
}>>;
|
|
2850
2864
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2851
2865
|
all: "all";
|
|
2852
|
-
last: "last";
|
|
2853
2866
|
sum: "sum";
|
|
2867
|
+
last: "last";
|
|
2854
2868
|
}>>;
|
|
2855
2869
|
}, z$1.core.$strip>>>;
|
|
2856
2870
|
}, z$1.core.$strip>;
|
|
@@ -2882,9 +2896,9 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
2882
2896
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
2883
2897
|
status: z$1.ZodEnum<{
|
|
2884
2898
|
error: "error";
|
|
2899
|
+
pending: "pending";
|
|
2885
2900
|
running: "running";
|
|
2886
2901
|
cancelled: "cancelled";
|
|
2887
|
-
pending: "pending";
|
|
2888
2902
|
pass: "pass";
|
|
2889
2903
|
fail: "fail";
|
|
2890
2904
|
}>;
|
|
@@ -2900,8 +2914,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
2900
2914
|
status: z$1.ZodEnum<{
|
|
2901
2915
|
error: "error";
|
|
2902
2916
|
running: "running";
|
|
2903
|
-
ok: "ok";
|
|
2904
2917
|
cancelled: "cancelled";
|
|
2918
|
+
ok: "ok";
|
|
2905
2919
|
}>;
|
|
2906
2920
|
attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
2907
2921
|
error: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -2937,8 +2951,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
2937
2951
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2938
2952
|
string: "string";
|
|
2939
2953
|
number: "number";
|
|
2940
|
-
duration: "duration";
|
|
2941
2954
|
json: "json";
|
|
2955
|
+
duration: "duration";
|
|
2942
2956
|
}>>;
|
|
2943
2957
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
2944
2958
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -2952,8 +2966,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
2952
2966
|
}>>;
|
|
2953
2967
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2954
2968
|
all: "all";
|
|
2955
|
-
last: "last";
|
|
2956
2969
|
sum: "sum";
|
|
2970
|
+
last: "last";
|
|
2957
2971
|
}>>;
|
|
2958
2972
|
}, z$1.core.$strip>>>;
|
|
2959
2973
|
}, z$1.core.$strip>;
|
|
@@ -2969,8 +2983,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
2969
2983
|
status: z$1.ZodEnum<{
|
|
2970
2984
|
error: "error";
|
|
2971
2985
|
running: "running";
|
|
2972
|
-
ok: "ok";
|
|
2973
2986
|
cancelled: "cancelled";
|
|
2987
|
+
ok: "ok";
|
|
2974
2988
|
}>;
|
|
2975
2989
|
attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
2976
2990
|
error: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3006,8 +3020,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
3006
3020
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3007
3021
|
string: "string";
|
|
3008
3022
|
number: "number";
|
|
3009
|
-
duration: "duration";
|
|
3010
3023
|
json: "json";
|
|
3024
|
+
duration: "duration";
|
|
3011
3025
|
}>>;
|
|
3012
3026
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
3013
3027
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -3021,8 +3035,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
3021
3035
|
}>>;
|
|
3022
3036
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3023
3037
|
all: "all";
|
|
3024
|
-
last: "last";
|
|
3025
3038
|
sum: "sum";
|
|
3039
|
+
last: "last";
|
|
3026
3040
|
}>>;
|
|
3027
3041
|
}, z$1.core.$strip>>>;
|
|
3028
3042
|
}, z$1.core.$strip>;
|
|
@@ -3066,15 +3080,15 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
3066
3080
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3067
3081
|
number: "number";
|
|
3068
3082
|
boolean: "boolean";
|
|
3069
|
-
duration: "duration";
|
|
3070
|
-
json: "json";
|
|
3071
3083
|
file: "file";
|
|
3072
3084
|
markdown: "markdown";
|
|
3085
|
+
json: "json";
|
|
3073
3086
|
image: "image";
|
|
3074
3087
|
html: "html";
|
|
3075
3088
|
pdf: "pdf";
|
|
3076
3089
|
audio: "audio";
|
|
3077
3090
|
video: "video";
|
|
3091
|
+
duration: "duration";
|
|
3078
3092
|
percent: "percent";
|
|
3079
3093
|
passFail: "passFail";
|
|
3080
3094
|
stars: "stars";
|
|
@@ -3092,6 +3106,20 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
|
|
|
3092
3106
|
right: "right";
|
|
3093
3107
|
}>>;
|
|
3094
3108
|
}, z$1.core.$strip>>>;
|
|
3109
|
+
assertions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
3110
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3111
|
+
message: z$1.ZodString;
|
|
3112
|
+
stack: z$1.ZodOptional<z$1.ZodString>;
|
|
3113
|
+
status: z$1.ZodEnum<{
|
|
3114
|
+
pass: "pass";
|
|
3115
|
+
fail: "fail";
|
|
3116
|
+
}>;
|
|
3117
|
+
}, z$1.core.$strip>, z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<{
|
|
3118
|
+
message: string;
|
|
3119
|
+
status: "pass" | "fail";
|
|
3120
|
+
name?: string | undefined;
|
|
3121
|
+
stack?: string | undefined;
|
|
3122
|
+
}, string>>]>>>;
|
|
3095
3123
|
assertionFailures: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
3096
3124
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3097
3125
|
message: z$1.ZodString;
|
|
@@ -3194,8 +3222,8 @@ declare const evalChartBuiltinMetricSchema: z$1.ZodEnum<{
|
|
|
3194
3222
|
type EvalChartBuiltinMetric = z$1.infer<typeof evalChartBuiltinMetricSchema>;
|
|
3195
3223
|
/** Reducer applied to a numeric column across all cases of a single run. */
|
|
3196
3224
|
declare const evalChartAggregateSchema: z$1.ZodEnum<{
|
|
3197
|
-
sum: "sum";
|
|
3198
3225
|
avg: "avg";
|
|
3226
|
+
sum: "sum";
|
|
3199
3227
|
min: "min";
|
|
3200
3228
|
max: "max";
|
|
3201
3229
|
latest: "latest";
|
|
@@ -3208,11 +3236,11 @@ type EvalChartAggregate = z$1.infer<typeof evalChartAggregateSchema>;
|
|
|
3208
3236
|
* not emit raw hex so authored evals stay decoupled from the web theme.
|
|
3209
3237
|
*/
|
|
3210
3238
|
declare const evalChartColorSchema: z$1.ZodEnum<{
|
|
3211
|
-
error: "error";
|
|
3212
3239
|
success: "success";
|
|
3213
|
-
|
|
3240
|
+
error: "error";
|
|
3214
3241
|
accent: "accent";
|
|
3215
3242
|
accentDim: "accentDim";
|
|
3243
|
+
warning: "warning";
|
|
3216
3244
|
textMuted: "textMuted";
|
|
3217
3245
|
}>;
|
|
3218
3246
|
/** Semantic color token resolved to a theme color by the web UI. */
|
|
@@ -3237,11 +3265,11 @@ declare const evalChartMetricSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3237
3265
|
}>;
|
|
3238
3266
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
3239
3267
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3240
|
-
error: "error";
|
|
3241
3268
|
success: "success";
|
|
3242
|
-
|
|
3269
|
+
error: "error";
|
|
3243
3270
|
accent: "accent";
|
|
3244
3271
|
accentDim: "accentDim";
|
|
3272
|
+
warning: "warning";
|
|
3245
3273
|
textMuted: "textMuted";
|
|
3246
3274
|
}>>;
|
|
3247
3275
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -3252,8 +3280,8 @@ declare const evalChartMetricSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3252
3280
|
source: z$1.ZodLiteral<"column">;
|
|
3253
3281
|
key: z$1.ZodString;
|
|
3254
3282
|
aggregate: z$1.ZodEnum<{
|
|
3255
|
-
sum: "sum";
|
|
3256
3283
|
avg: "avg";
|
|
3284
|
+
sum: "sum";
|
|
3257
3285
|
min: "min";
|
|
3258
3286
|
max: "max";
|
|
3259
3287
|
latest: "latest";
|
|
@@ -3261,11 +3289,11 @@ declare const evalChartMetricSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3261
3289
|
}>;
|
|
3262
3290
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
3263
3291
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3264
|
-
error: "error";
|
|
3265
3292
|
success: "success";
|
|
3266
|
-
|
|
3293
|
+
error: "error";
|
|
3267
3294
|
accent: "accent";
|
|
3268
3295
|
accentDim: "accentDim";
|
|
3296
|
+
warning: "warning";
|
|
3269
3297
|
textMuted: "textMuted";
|
|
3270
3298
|
}>>;
|
|
3271
3299
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -3287,8 +3315,8 @@ declare const evalChartTooltipExtraSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
|
|
|
3287
3315
|
source: z$1.ZodLiteral<"column">;
|
|
3288
3316
|
key: z$1.ZodString;
|
|
3289
3317
|
aggregate: z$1.ZodEnum<{
|
|
3290
|
-
sum: "sum";
|
|
3291
3318
|
avg: "avg";
|
|
3319
|
+
sum: "sum";
|
|
3292
3320
|
min: "min";
|
|
3293
3321
|
max: "max";
|
|
3294
3322
|
latest: "latest";
|
|
@@ -3320,11 +3348,11 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
|
|
|
3320
3348
|
}>;
|
|
3321
3349
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
3322
3350
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3323
|
-
error: "error";
|
|
3324
3351
|
success: "success";
|
|
3325
|
-
|
|
3352
|
+
error: "error";
|
|
3326
3353
|
accent: "accent";
|
|
3327
3354
|
accentDim: "accentDim";
|
|
3355
|
+
warning: "warning";
|
|
3328
3356
|
textMuted: "textMuted";
|
|
3329
3357
|
}>>;
|
|
3330
3358
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -3335,8 +3363,8 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
|
|
|
3335
3363
|
source: z$1.ZodLiteral<"column">;
|
|
3336
3364
|
key: z$1.ZodString;
|
|
3337
3365
|
aggregate: z$1.ZodEnum<{
|
|
3338
|
-
sum: "sum";
|
|
3339
3366
|
avg: "avg";
|
|
3367
|
+
sum: "sum";
|
|
3340
3368
|
min: "min";
|
|
3341
3369
|
max: "max";
|
|
3342
3370
|
latest: "latest";
|
|
@@ -3344,11 +3372,11 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
|
|
|
3344
3372
|
}>;
|
|
3345
3373
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
3346
3374
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3347
|
-
error: "error";
|
|
3348
3375
|
success: "success";
|
|
3349
|
-
|
|
3376
|
+
error: "error";
|
|
3350
3377
|
accent: "accent";
|
|
3351
3378
|
accentDim: "accentDim";
|
|
3379
|
+
warning: "warning";
|
|
3352
3380
|
textMuted: "textMuted";
|
|
3353
3381
|
}>>;
|
|
3354
3382
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -3377,8 +3405,8 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
|
|
|
3377
3405
|
source: z$1.ZodLiteral<"column">;
|
|
3378
3406
|
key: z$1.ZodString;
|
|
3379
3407
|
aggregate: z$1.ZodEnum<{
|
|
3380
|
-
sum: "sum";
|
|
3381
3408
|
avg: "avg";
|
|
3409
|
+
sum: "sum";
|
|
3382
3410
|
min: "min";
|
|
3383
3411
|
max: "max";
|
|
3384
3412
|
latest: "latest";
|
|
@@ -3410,11 +3438,11 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
3410
3438
|
}>;
|
|
3411
3439
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
3412
3440
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3413
|
-
error: "error";
|
|
3414
3441
|
success: "success";
|
|
3415
|
-
|
|
3442
|
+
error: "error";
|
|
3416
3443
|
accent: "accent";
|
|
3417
3444
|
accentDim: "accentDim";
|
|
3445
|
+
warning: "warning";
|
|
3418
3446
|
textMuted: "textMuted";
|
|
3419
3447
|
}>>;
|
|
3420
3448
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -3425,8 +3453,8 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
3425
3453
|
source: z$1.ZodLiteral<"column">;
|
|
3426
3454
|
key: z$1.ZodString;
|
|
3427
3455
|
aggregate: z$1.ZodEnum<{
|
|
3428
|
-
sum: "sum";
|
|
3429
3456
|
avg: "avg";
|
|
3457
|
+
sum: "sum";
|
|
3430
3458
|
min: "min";
|
|
3431
3459
|
max: "max";
|
|
3432
3460
|
latest: "latest";
|
|
@@ -3434,11 +3462,11 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
3434
3462
|
}>;
|
|
3435
3463
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
3436
3464
|
color: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3437
|
-
error: "error";
|
|
3438
3465
|
success: "success";
|
|
3439
|
-
|
|
3466
|
+
error: "error";
|
|
3440
3467
|
accent: "accent";
|
|
3441
3468
|
accentDim: "accentDim";
|
|
3469
|
+
warning: "warning";
|
|
3442
3470
|
textMuted: "textMuted";
|
|
3443
3471
|
}>>;
|
|
3444
3472
|
axis: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -3467,8 +3495,8 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
3467
3495
|
source: z$1.ZodLiteral<"column">;
|
|
3468
3496
|
key: z$1.ZodString;
|
|
3469
3497
|
aggregate: z$1.ZodEnum<{
|
|
3470
|
-
sum: "sum";
|
|
3471
3498
|
avg: "avg";
|
|
3499
|
+
sum: "sum";
|
|
3472
3500
|
min: "min";
|
|
3473
3501
|
max: "max";
|
|
3474
3502
|
latest: "latest";
|
|
@@ -3486,10 +3514,10 @@ declare const runManifestSchema$1: z$1.ZodObject<{
|
|
|
3486
3514
|
shortId: z$1.ZodString;
|
|
3487
3515
|
status: z$1.ZodEnum<{
|
|
3488
3516
|
error: "error";
|
|
3489
|
-
running: "running";
|
|
3490
|
-
cancelled: "cancelled";
|
|
3491
3517
|
pending: "pending";
|
|
3518
|
+
running: "running";
|
|
3492
3519
|
completed: "completed";
|
|
3520
|
+
cancelled: "cancelled";
|
|
3493
3521
|
}>;
|
|
3494
3522
|
temporary: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
3495
3523
|
startedAt: z$1.ZodString;
|
|
@@ -3526,10 +3554,10 @@ declare const runSummarySchema$1: z$1.ZodObject<{
|
|
|
3526
3554
|
runId: z$1.ZodString;
|
|
3527
3555
|
status: z$1.ZodEnum<{
|
|
3528
3556
|
error: "error";
|
|
3529
|
-
running: "running";
|
|
3530
|
-
cancelled: "cancelled";
|
|
3531
3557
|
pending: "pending";
|
|
3558
|
+
running: "running";
|
|
3532
3559
|
completed: "completed";
|
|
3560
|
+
cancelled: "cancelled";
|
|
3533
3561
|
}>;
|
|
3534
3562
|
totalCases: z$1.ZodNumber;
|
|
3535
3563
|
passedCases: z$1.ZodNumber;
|
|
@@ -3702,8 +3730,8 @@ declare const llmCallMetricFormatSchema$1: z$1.ZodEnum<{
|
|
|
3702
3730
|
string: "string";
|
|
3703
3731
|
number: "number";
|
|
3704
3732
|
boolean: "boolean";
|
|
3705
|
-
duration: "duration";
|
|
3706
3733
|
json: "json";
|
|
3734
|
+
duration: "duration";
|
|
3707
3735
|
}>;
|
|
3708
3736
|
/** Render format applied to an LLM-call metric value. */
|
|
3709
3737
|
type LlmCallMetricFormat = z$1.infer<typeof llmCallMetricFormatSchema$1>;
|
|
@@ -3712,8 +3740,8 @@ declare const apiCallMetricFormatSchema$1: z$1.ZodEnum<{
|
|
|
3712
3740
|
string: "string";
|
|
3713
3741
|
number: "number";
|
|
3714
3742
|
boolean: "boolean";
|
|
3715
|
-
duration: "duration";
|
|
3716
3743
|
json: "json";
|
|
3744
|
+
duration: "duration";
|
|
3717
3745
|
}>;
|
|
3718
3746
|
/** Render format applied to an API-call metric value. */
|
|
3719
3747
|
type ApiCallMetricFormat = z$1.infer<typeof apiCallMetricFormatSchema$1>;
|
|
@@ -3782,8 +3810,8 @@ declare const llmCallMetricSchema: z$1.ZodObject<{
|
|
|
3782
3810
|
string: "string";
|
|
3783
3811
|
number: "number";
|
|
3784
3812
|
boolean: "boolean";
|
|
3785
|
-
duration: "duration";
|
|
3786
3813
|
json: "json";
|
|
3814
|
+
duration: "duration";
|
|
3787
3815
|
}>>;
|
|
3788
3816
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
3789
3817
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -3811,8 +3839,8 @@ declare const apiCallMetricSchema: z$1.ZodObject<{
|
|
|
3811
3839
|
string: "string";
|
|
3812
3840
|
number: "number";
|
|
3813
3841
|
boolean: "boolean";
|
|
3814
|
-
duration: "duration";
|
|
3815
3842
|
json: "json";
|
|
3843
|
+
duration: "duration";
|
|
3816
3844
|
}>>;
|
|
3817
3845
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
3818
3846
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -3925,8 +3953,8 @@ declare const llmCallsConfigSchema: z$1.ZodObject<{
|
|
|
3925
3953
|
string: "string";
|
|
3926
3954
|
number: "number";
|
|
3927
3955
|
boolean: "boolean";
|
|
3928
|
-
duration: "duration";
|
|
3929
3956
|
json: "json";
|
|
3957
|
+
duration: "duration";
|
|
3930
3958
|
}>>;
|
|
3931
3959
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
3932
3960
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -3961,8 +3989,8 @@ declare const apiCallsConfigSchema: z$1.ZodObject<{
|
|
|
3961
3989
|
string: "string";
|
|
3962
3990
|
number: "number";
|
|
3963
3991
|
boolean: "boolean";
|
|
3964
|
-
duration: "duration";
|
|
3965
3992
|
json: "json";
|
|
3993
|
+
duration: "duration";
|
|
3966
3994
|
}>>;
|
|
3967
3995
|
numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
|
|
3968
3996
|
placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -4226,7 +4254,12 @@ type AgentEvalsConfig$1 = {
|
|
|
4226
4254
|
* cache entries. Defaults to `5000`; non-positive or non-finite values use
|
|
4227
4255
|
* the default.
|
|
4228
4256
|
*/
|
|
4229
|
-
pruneIdleDelayMs?: number;
|
|
4257
|
+
pruneIdleDelayMs?: number;
|
|
4258
|
+
/**
|
|
4259
|
+
* Minimum milliseconds between `lastAccessedAt` index rewrites for repeated
|
|
4260
|
+
* cache hits. Defaults to four hours. Set to `0` to record every hit.
|
|
4261
|
+
*/
|
|
4262
|
+
lastAccessedAtUpdateIntervalMs?: number; /** Legacy alias for `maxEntriesPerNamespace`, retained so older config files keep working. */
|
|
4230
4263
|
maxEntriesPerEval?: number;
|
|
4231
4264
|
};
|
|
4232
4265
|
};
|
|
@@ -4496,7 +4529,7 @@ declare const cacheListItemSchema$1: z$1.ZodObject<{
|
|
|
4496
4529
|
key: z$1.ZodString;
|
|
4497
4530
|
namespace: z$1.ZodString;
|
|
4498
4531
|
storedAt: z$1.ZodString;
|
|
4499
|
-
lastAccessedAt: z$1.ZodString
|
|
4532
|
+
lastAccessedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
4500
4533
|
}, z$1.core.$strip>;
|
|
4501
4534
|
/** Minimal summary row for a single cache entry. */
|
|
4502
4535
|
type CacheListItem = z$1.infer<typeof cacheListItemSchema$1>;
|
|
@@ -4538,15 +4571,15 @@ declare const cacheRecordingOpSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
4538
4571
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4539
4572
|
number: "number";
|
|
4540
4573
|
boolean: "boolean";
|
|
4541
|
-
duration: "duration";
|
|
4542
|
-
json: "json";
|
|
4543
4574
|
file: "file";
|
|
4544
4575
|
markdown: "markdown";
|
|
4576
|
+
json: "json";
|
|
4545
4577
|
image: "image";
|
|
4546
4578
|
html: "html";
|
|
4547
4579
|
pdf: "pdf";
|
|
4548
4580
|
audio: "audio";
|
|
4549
4581
|
video: "video";
|
|
4582
|
+
duration: "duration";
|
|
4550
4583
|
percent: "percent";
|
|
4551
4584
|
passFail: "passFail";
|
|
4552
4585
|
stars: "stars";
|
|
@@ -4590,8 +4623,8 @@ declare const cacheRecordingSchema: z$1.ZodObject<{
|
|
|
4590
4623
|
finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4591
4624
|
error: "error";
|
|
4592
4625
|
running: "running";
|
|
4593
|
-
ok: "ok";
|
|
4594
4626
|
cancelled: "cancelled";
|
|
4627
|
+
ok: "ok";
|
|
4595
4628
|
}>>;
|
|
4596
4629
|
finalError: z$1.ZodOptional<z$1.ZodObject<{
|
|
4597
4630
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4626,15 +4659,15 @@ declare const cacheRecordingSchema: z$1.ZodObject<{
|
|
|
4626
4659
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4627
4660
|
number: "number";
|
|
4628
4661
|
boolean: "boolean";
|
|
4629
|
-
duration: "duration";
|
|
4630
|
-
json: "json";
|
|
4631
4662
|
file: "file";
|
|
4632
4663
|
markdown: "markdown";
|
|
4664
|
+
json: "json";
|
|
4633
4665
|
image: "image";
|
|
4634
4666
|
html: "html";
|
|
4635
4667
|
pdf: "pdf";
|
|
4636
4668
|
audio: "audio";
|
|
4637
4669
|
video: "video";
|
|
4670
|
+
duration: "duration";
|
|
4638
4671
|
percent: "percent";
|
|
4639
4672
|
passFail: "passFail";
|
|
4640
4673
|
stars: "stars";
|
|
@@ -4691,8 +4724,8 @@ declare const cacheEntrySchema: z$1.ZodObject<{
|
|
|
4691
4724
|
finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4692
4725
|
error: "error";
|
|
4693
4726
|
running: "running";
|
|
4694
|
-
ok: "ok";
|
|
4695
4727
|
cancelled: "cancelled";
|
|
4728
|
+
ok: "ok";
|
|
4696
4729
|
}>>;
|
|
4697
4730
|
finalError: z$1.ZodOptional<z$1.ZodObject<{
|
|
4698
4731
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4727,15 +4760,15 @@ declare const cacheEntrySchema: z$1.ZodObject<{
|
|
|
4727
4760
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4728
4761
|
number: "number";
|
|
4729
4762
|
boolean: "boolean";
|
|
4730
|
-
duration: "duration";
|
|
4731
|
-
json: "json";
|
|
4732
4763
|
file: "file";
|
|
4733
4764
|
markdown: "markdown";
|
|
4765
|
+
json: "json";
|
|
4734
4766
|
image: "image";
|
|
4735
4767
|
html: "html";
|
|
4736
4768
|
pdf: "pdf";
|
|
4737
4769
|
audio: "audio";
|
|
4738
4770
|
video: "video";
|
|
4771
|
+
duration: "duration";
|
|
4739
4772
|
percent: "percent";
|
|
4740
4773
|
passFail: "passFail";
|
|
4741
4774
|
stars: "stars";
|
|
@@ -4809,8 +4842,8 @@ declare const cacheDebugKeyEntrySchema: z$1.ZodObject<{
|
|
|
4809
4842
|
finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4810
4843
|
error: "error";
|
|
4811
4844
|
running: "running";
|
|
4812
|
-
ok: "ok";
|
|
4813
4845
|
cancelled: "cancelled";
|
|
4846
|
+
ok: "ok";
|
|
4814
4847
|
}>>;
|
|
4815
4848
|
finalError: z$1.ZodOptional<z$1.ZodObject<{
|
|
4816
4849
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4845,15 +4878,15 @@ declare const cacheDebugKeyEntrySchema: z$1.ZodObject<{
|
|
|
4845
4878
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4846
4879
|
number: "number";
|
|
4847
4880
|
boolean: "boolean";
|
|
4848
|
-
duration: "duration";
|
|
4849
|
-
json: "json";
|
|
4850
4881
|
file: "file";
|
|
4851
4882
|
markdown: "markdown";
|
|
4883
|
+
json: "json";
|
|
4852
4884
|
image: "image";
|
|
4853
4885
|
html: "html";
|
|
4854
4886
|
pdf: "pdf";
|
|
4855
4887
|
audio: "audio";
|
|
4856
4888
|
video: "video";
|
|
4889
|
+
duration: "duration";
|
|
4857
4890
|
percent: "percent";
|
|
4858
4891
|
passFail: "passFail";
|
|
4859
4892
|
stars: "stars";
|
|
@@ -4916,8 +4949,8 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
|
|
|
4916
4949
|
finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4917
4950
|
error: "error";
|
|
4918
4951
|
running: "running";
|
|
4919
|
-
ok: "ok";
|
|
4920
4952
|
cancelled: "cancelled";
|
|
4953
|
+
ok: "ok";
|
|
4921
4954
|
}>>;
|
|
4922
4955
|
finalError: z$1.ZodOptional<z$1.ZodObject<{
|
|
4923
4956
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4952,15 +4985,15 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
|
|
|
4952
4985
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4953
4986
|
number: "number";
|
|
4954
4987
|
boolean: "boolean";
|
|
4955
|
-
duration: "duration";
|
|
4956
|
-
json: "json";
|
|
4957
4988
|
file: "file";
|
|
4958
4989
|
markdown: "markdown";
|
|
4990
|
+
json: "json";
|
|
4959
4991
|
image: "image";
|
|
4960
4992
|
html: "html";
|
|
4961
4993
|
pdf: "pdf";
|
|
4962
4994
|
audio: "audio";
|
|
4963
4995
|
video: "video";
|
|
4996
|
+
duration: "duration";
|
|
4964
4997
|
percent: "percent";
|
|
4965
4998
|
passFail: "passFail";
|
|
4966
4999
|
stars: "stars";
|
|
@@ -5025,8 +5058,8 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
|
|
|
5025
5058
|
finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5026
5059
|
error: "error";
|
|
5027
5060
|
running: "running";
|
|
5028
|
-
ok: "ok";
|
|
5029
5061
|
cancelled: "cancelled";
|
|
5062
|
+
ok: "ok";
|
|
5030
5063
|
}>>;
|
|
5031
5064
|
finalError: z$1.ZodOptional<z$1.ZodObject<{
|
|
5032
5065
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5061,15 +5094,15 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
|
|
|
5061
5094
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5062
5095
|
number: "number";
|
|
5063
5096
|
boolean: "boolean";
|
|
5064
|
-
duration: "duration";
|
|
5065
|
-
json: "json";
|
|
5066
5097
|
file: "file";
|
|
5067
5098
|
markdown: "markdown";
|
|
5099
|
+
json: "json";
|
|
5068
5100
|
image: "image";
|
|
5069
5101
|
html: "html";
|
|
5070
5102
|
pdf: "pdf";
|
|
5071
5103
|
audio: "audio";
|
|
5072
5104
|
video: "video";
|
|
5105
|
+
duration: "duration";
|
|
5073
5106
|
percent: "percent";
|
|
5074
5107
|
passFail: "passFail";
|
|
5075
5108
|
stars: "stars";
|
|
@@ -5132,8 +5165,8 @@ declare const cacheFileSchema: z$1.ZodObject<{
|
|
|
5132
5165
|
finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5133
5166
|
error: "error";
|
|
5134
5167
|
running: "running";
|
|
5135
|
-
ok: "ok";
|
|
5136
5168
|
cancelled: "cancelled";
|
|
5169
|
+
ok: "ok";
|
|
5137
5170
|
}>>;
|
|
5138
5171
|
finalError: z$1.ZodOptional<z$1.ZodObject<{
|
|
5139
5172
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5168,15 +5201,15 @@ declare const cacheFileSchema: z$1.ZodObject<{
|
|
|
5168
5201
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5169
5202
|
number: "number";
|
|
5170
5203
|
boolean: "boolean";
|
|
5171
|
-
duration: "duration";
|
|
5172
|
-
json: "json";
|
|
5173
5204
|
file: "file";
|
|
5174
5205
|
markdown: "markdown";
|
|
5206
|
+
json: "json";
|
|
5175
5207
|
image: "image";
|
|
5176
5208
|
html: "html";
|
|
5177
5209
|
pdf: "pdf";
|
|
5178
5210
|
audio: "audio";
|
|
5179
5211
|
video: "video";
|
|
5212
|
+
duration: "duration";
|
|
5180
5213
|
percent: "percent";
|
|
5181
5214
|
passFail: "passFail";
|
|
5182
5215
|
stars: "stars";
|
|
@@ -5249,8 +5282,8 @@ declare const cacheDebugKeyFileSchema: z$1.ZodObject<{
|
|
|
5249
5282
|
finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5250
5283
|
error: "error";
|
|
5251
5284
|
running: "running";
|
|
5252
|
-
ok: "ok";
|
|
5253
5285
|
cancelled: "cancelled";
|
|
5286
|
+
ok: "ok";
|
|
5254
5287
|
}>>;
|
|
5255
5288
|
finalError: z$1.ZodOptional<z$1.ZodObject<{
|
|
5256
5289
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5285,15 +5318,15 @@ declare const cacheDebugKeyFileSchema: z$1.ZodObject<{
|
|
|
5285
5318
|
format: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5286
5319
|
number: "number";
|
|
5287
5320
|
boolean: "boolean";
|
|
5288
|
-
duration: "duration";
|
|
5289
|
-
json: "json";
|
|
5290
5321
|
file: "file";
|
|
5291
5322
|
markdown: "markdown";
|
|
5323
|
+
json: "json";
|
|
5292
5324
|
image: "image";
|
|
5293
5325
|
html: "html";
|
|
5294
5326
|
pdf: "pdf";
|
|
5295
5327
|
audio: "audio";
|
|
5296
5328
|
video: "video";
|
|
5329
|
+
duration: "duration";
|
|
5297
5330
|
percent: "percent";
|
|
5298
5331
|
passFail: "passFail";
|
|
5299
5332
|
stars: "stars";
|
|
@@ -6302,6 +6335,20 @@ declare const caseDetailSchema: z$1.ZodObject<{
|
|
|
6302
6335
|
right: "right";
|
|
6303
6336
|
}>>;
|
|
6304
6337
|
}, z$1.core.$strip>>>;
|
|
6338
|
+
assertions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
6339
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6340
|
+
message: z$1.ZodString;
|
|
6341
|
+
stack: z$1.ZodOptional<z$1.ZodString>;
|
|
6342
|
+
status: z$1.ZodEnum<{
|
|
6343
|
+
pass: "pass";
|
|
6344
|
+
fail: "fail";
|
|
6345
|
+
}>;
|
|
6346
|
+
}, z$1.core.$strip>, z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<{
|
|
6347
|
+
message: string;
|
|
6348
|
+
status: "pass" | "fail";
|
|
6349
|
+
name?: string | undefined;
|
|
6350
|
+
stack?: string | undefined;
|
|
6351
|
+
}, string>>]>>>;
|
|
6305
6352
|
assertionFailures: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
6306
6353
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6307
6354
|
message: z$1.ZodString;
|
|
@@ -6590,7 +6637,7 @@ declare const cacheListItemSchema: z$1.ZodObject<{
|
|
|
6590
6637
|
key: z$1.ZodString;
|
|
6591
6638
|
namespace: z$1.ZodString;
|
|
6592
6639
|
storedAt: z$1.ZodString;
|
|
6593
|
-
lastAccessedAt: z$1.ZodString
|
|
6640
|
+
lastAccessedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
6594
6641
|
}, z$1.core.$strip>;
|
|
6595
6642
|
/** Minimal summary row for a single cache entry. */
|
|
6596
6643
|
type CacheListItem$1 = z$1.infer<typeof cacheListItemSchema>;
|