@ls-stack/agent-eval 0.59.1 → 0.59.2

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.d.mts CHANGED
@@ -1941,15 +1941,15 @@ type ColumnKind = z$1.infer<typeof columnKindSchema>;
1941
1941
  declare const columnFormatSchema: z$1.ZodEnum<{
1942
1942
  number: "number";
1943
1943
  boolean: "boolean";
1944
- duration: "duration";
1945
- json: "json";
1946
1944
  file: "file";
1947
1945
  markdown: "markdown";
1946
+ json: "json";
1948
1947
  image: "image";
1949
1948
  html: "html";
1950
1949
  pdf: "pdf";
1951
1950
  audio: "audio";
1952
1951
  video: "video";
1952
+ duration: "duration";
1953
1953
  percent: "percent";
1954
1954
  passFail: "passFail";
1955
1955
  stars: "stars";
@@ -1968,15 +1968,15 @@ declare const columnDefSchema: z$1.ZodObject<{
1968
1968
  format: z$1.ZodOptional<z$1.ZodEnum<{
1969
1969
  number: "number";
1970
1970
  boolean: "boolean";
1971
- duration: "duration";
1972
- json: "json";
1973
1971
  file: "file";
1974
1972
  markdown: "markdown";
1973
+ json: "json";
1975
1974
  image: "image";
1976
1975
  html: "html";
1977
1976
  pdf: "pdf";
1978
1977
  audio: "audio";
1979
1978
  video: "video";
1979
+ duration: "duration";
1980
1980
  percent: "percent";
1981
1981
  passFail: "passFail";
1982
1982
  stars: "stars";
@@ -2022,8 +2022,8 @@ type CellValue = z$1.infer<typeof cellValueSchema>; //#endregion
2022
2022
  declare const traceAttributeDisplayFormatSchema: z$1.ZodEnum<{
2023
2023
  string: "string";
2024
2024
  number: "number";
2025
- duration: "duration";
2026
2025
  json: "json";
2026
+ duration: "duration";
2027
2027
  }>;
2028
2028
  /**
2029
2029
  * Formatting hint for trace attribute values rendered by the UI.
@@ -2047,8 +2047,8 @@ declare const traceAttributeDisplaySchema: z$1.ZodObject<{
2047
2047
  format: z$1.ZodOptional<z$1.ZodEnum<{
2048
2048
  string: "string";
2049
2049
  number: "number";
2050
- duration: "duration";
2051
2050
  json: "json";
2051
+ duration: "duration";
2052
2052
  }>>;
2053
2053
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
2054
2054
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -2083,8 +2083,8 @@ declare const traceDisplayConfigSchema: z$1.ZodObject<{
2083
2083
  format: z$1.ZodOptional<z$1.ZodEnum<{
2084
2084
  string: "string";
2085
2085
  number: "number";
2086
- duration: "duration";
2087
2086
  json: "json";
2087
+ duration: "duration";
2088
2088
  }>>;
2089
2089
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
2090
2090
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -2123,8 +2123,8 @@ declare const traceAttributeDisplayInputSchema: z$1.ZodObject<{
2123
2123
  format: z$1.ZodOptional<z$1.ZodEnum<{
2124
2124
  string: "string";
2125
2125
  number: "number";
2126
- duration: "duration";
2127
2126
  json: "json";
2127
+ duration: "duration";
2128
2128
  }>>;
2129
2129
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
2130
2130
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -2161,8 +2161,8 @@ declare const traceDisplayInputConfigSchema: z$1.ZodObject<{
2161
2161
  format: z$1.ZodOptional<z$1.ZodEnum<{
2162
2162
  string: "string";
2163
2163
  number: "number";
2164
- duration: "duration";
2165
2164
  json: "json";
2165
+ duration: "duration";
2166
2166
  }>>;
2167
2167
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
2168
2168
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -2261,9 +2261,9 @@ type EvalFreshnessStatus = z$1.infer<typeof evalFreshnessStatusSchema>;
2261
2261
  */
2262
2262
  declare const evalStatAggregateSchema: z$1.ZodEnum<{
2263
2263
  sum: "sum";
2264
- avg: "avg";
2265
2264
  min: "min";
2266
2265
  max: "max";
2266
+ avg: "avg";
2267
2267
  best: "best";
2268
2268
  worst: "worst";
2269
2269
  }>;
@@ -2293,9 +2293,9 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2293
2293
  kind: z$1.ZodLiteral<"duration">;
2294
2294
  aggregate: z$1.ZodOptional<z$1.ZodEnum<{
2295
2295
  sum: "sum";
2296
- avg: "avg";
2297
2296
  min: "min";
2298
2297
  max: "max";
2298
+ avg: "avg";
2299
2299
  best: "best";
2300
2300
  worst: "worst";
2301
2301
  }>>;
@@ -2304,9 +2304,9 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2304
2304
  kind: z$1.ZodLiteral<"cacheHits">;
2305
2305
  aggregate: z$1.ZodOptional<z$1.ZodEnum<{
2306
2306
  sum: "sum";
2307
- avg: "avg";
2308
2307
  min: "min";
2309
2308
  max: "max";
2309
+ avg: "avg";
2310
2310
  best: "best";
2311
2311
  worst: "worst";
2312
2312
  }>>;
@@ -2317,24 +2317,24 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2317
2317
  label: z$1.ZodOptional<z$1.ZodString>;
2318
2318
  aggregate: z$1.ZodEnum<{
2319
2319
  sum: "sum";
2320
- avg: "avg";
2321
2320
  min: "min";
2322
2321
  max: "max";
2322
+ avg: "avg";
2323
2323
  best: "best";
2324
2324
  worst: "worst";
2325
2325
  }>;
2326
2326
  format: z$1.ZodOptional<z$1.ZodEnum<{
2327
2327
  number: "number";
2328
2328
  boolean: "boolean";
2329
- duration: "duration";
2330
- json: "json";
2331
2329
  file: "file";
2332
2330
  markdown: "markdown";
2331
+ json: "json";
2333
2332
  image: "image";
2334
2333
  html: "html";
2335
2334
  pdf: "pdf";
2336
2335
  audio: "audio";
2337
2336
  video: "video";
2337
+ duration: "duration";
2338
2338
  percent: "percent";
2339
2339
  passFail: "passFail";
2340
2340
  stars: "stars";
@@ -2357,9 +2357,9 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
2357
2357
  kind: z$1.ZodLiteral<"duration">;
2358
2358
  aggregate: z$1.ZodOptional<z$1.ZodEnum<{
2359
2359
  sum: "sum";
2360
- avg: "avg";
2361
2360
  min: "min";
2362
2361
  max: "max";
2362
+ avg: "avg";
2363
2363
  best: "best";
2364
2364
  worst: "worst";
2365
2365
  }>>;
@@ -2368,9 +2368,9 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
2368
2368
  kind: z$1.ZodLiteral<"cacheHits">;
2369
2369
  aggregate: z$1.ZodOptional<z$1.ZodEnum<{
2370
2370
  sum: "sum";
2371
- avg: "avg";
2372
2371
  min: "min";
2373
2372
  max: "max";
2373
+ avg: "avg";
2374
2374
  best: "best";
2375
2375
  worst: "worst";
2376
2376
  }>>;
@@ -2381,24 +2381,24 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
2381
2381
  label: z$1.ZodOptional<z$1.ZodString>;
2382
2382
  aggregate: z$1.ZodEnum<{
2383
2383
  sum: "sum";
2384
- avg: "avg";
2385
2384
  min: "min";
2386
2385
  max: "max";
2386
+ avg: "avg";
2387
2387
  best: "best";
2388
2388
  worst: "worst";
2389
2389
  }>;
2390
2390
  format: z$1.ZodOptional<z$1.ZodEnum<{
2391
2391
  number: "number";
2392
2392
  boolean: "boolean";
2393
- duration: "duration";
2394
- json: "json";
2395
2393
  file: "file";
2396
2394
  markdown: "markdown";
2395
+ json: "json";
2397
2396
  image: "image";
2398
2397
  html: "html";
2399
2398
  pdf: "pdf";
2400
2399
  audio: "audio";
2401
2400
  video: "video";
2401
+ duration: "duration";
2402
2402
  percent: "percent";
2403
2403
  passFail: "passFail";
2404
2404
  stars: "stars";
@@ -2436,15 +2436,15 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
2436
2436
  format: z$1.ZodOptional<z$1.ZodEnum<{
2437
2437
  number: "number";
2438
2438
  boolean: "boolean";
2439
- duration: "duration";
2440
- json: "json";
2441
2439
  file: "file";
2442
2440
  markdown: "markdown";
2441
+ json: "json";
2443
2442
  image: "image";
2444
2443
  html: "html";
2445
2444
  pdf: "pdf";
2446
2445
  audio: "audio";
2447
2446
  video: "video";
2447
+ duration: "duration";
2448
2448
  percent: "percent";
2449
2449
  passFail: "passFail";
2450
2450
  stars: "stars";
@@ -2484,9 +2484,9 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
2484
2484
  kind: z$1.ZodLiteral<"duration">;
2485
2485
  aggregate: z$1.ZodOptional<z$1.ZodEnum<{
2486
2486
  sum: "sum";
2487
- avg: "avg";
2488
2487
  min: "min";
2489
2488
  max: "max";
2489
+ avg: "avg";
2490
2490
  best: "best";
2491
2491
  worst: "worst";
2492
2492
  }>>;
@@ -2495,9 +2495,9 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
2495
2495
  kind: z$1.ZodLiteral<"cacheHits">;
2496
2496
  aggregate: z$1.ZodOptional<z$1.ZodEnum<{
2497
2497
  sum: "sum";
2498
- avg: "avg";
2499
2498
  min: "min";
2500
2499
  max: "max";
2500
+ avg: "avg";
2501
2501
  best: "best";
2502
2502
  worst: "worst";
2503
2503
  }>>;
@@ -2508,24 +2508,24 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
2508
2508
  label: z$1.ZodOptional<z$1.ZodString>;
2509
2509
  aggregate: z$1.ZodEnum<{
2510
2510
  sum: "sum";
2511
- avg: "avg";
2512
2511
  min: "min";
2513
2512
  max: "max";
2513
+ avg: "avg";
2514
2514
  best: "best";
2515
2515
  worst: "worst";
2516
2516
  }>;
2517
2517
  format: z$1.ZodOptional<z$1.ZodEnum<{
2518
2518
  number: "number";
2519
2519
  boolean: "boolean";
2520
- duration: "duration";
2521
- json: "json";
2522
2520
  file: "file";
2523
2521
  markdown: "markdown";
2522
+ json: "json";
2524
2523
  image: "image";
2525
2524
  html: "html";
2526
2525
  pdf: "pdf";
2527
2526
  audio: "audio";
2528
2527
  video: "video";
2528
+ duration: "duration";
2529
2529
  percent: "percent";
2530
2530
  passFail: "passFail";
2531
2531
  stars: "stars";
@@ -2535,9 +2535,9 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
2535
2535
  }, z$1.core.$strip>], "kind">>>;
2536
2536
  defaultStatAggregate: z$1.ZodOptional<z$1.ZodEnum<{
2537
2537
  sum: "sum";
2538
- avg: "avg";
2539
2538
  min: "min";
2540
2539
  max: "max";
2540
+ avg: "avg";
2541
2541
  best: "best";
2542
2542
  worst: "worst";
2543
2543
  }>>;
@@ -2574,9 +2574,9 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
2574
2574
  key: z$1.ZodString;
2575
2575
  aggregate: z$1.ZodEnum<{
2576
2576
  sum: "sum";
2577
- avg: "avg";
2578
2577
  min: "min";
2579
2578
  max: "max";
2579
+ avg: "avg";
2580
2580
  latest: "latest";
2581
2581
  passThresholdRate: "passThresholdRate";
2582
2582
  }>;
@@ -2616,9 +2616,9 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
2616
2616
  key: z$1.ZodString;
2617
2617
  aggregate: z$1.ZodEnum<{
2618
2618
  sum: "sum";
2619
- avg: "avg";
2620
2619
  min: "min";
2621
2620
  max: "max";
2621
+ avg: "avg";
2622
2622
  latest: "latest";
2623
2623
  passThresholdRate: "passThresholdRate";
2624
2624
  }>;
@@ -2717,9 +2717,9 @@ declare const caseRowSchema$1: z$1.ZodObject<{
2717
2717
  error: "error";
2718
2718
  running: "running";
2719
2719
  cancelled: "cancelled";
2720
+ pending: "pending";
2720
2721
  pass: "pass";
2721
2722
  fail: "fail";
2722
- pending: "pending";
2723
2723
  }>;
2724
2724
  durationMs: z$1.ZodNullable<z$1.ZodNumber>;
2725
2725
  cacheHits: z$1.ZodOptional<z$1.ZodNumber>;
@@ -2748,15 +2748,15 @@ declare const caseRowSchema$1: z$1.ZodObject<{
2748
2748
  format: z$1.ZodOptional<z$1.ZodEnum<{
2749
2749
  number: "number";
2750
2750
  boolean: "boolean";
2751
- duration: "duration";
2752
- json: "json";
2753
2751
  file: "file";
2754
2752
  markdown: "markdown";
2753
+ json: "json";
2755
2754
  image: "image";
2756
2755
  html: "html";
2757
2756
  pdf: "pdf";
2758
2757
  audio: "audio";
2759
2758
  video: "video";
2759
+ duration: "duration";
2760
2760
  percent: "percent";
2761
2761
  passFail: "passFail";
2762
2762
  stars: "stars";
@@ -2894,8 +2894,8 @@ declare const scoreTraceSchema: z$1.ZodObject<{
2894
2894
  format: z$1.ZodOptional<z$1.ZodEnum<{
2895
2895
  string: "string";
2896
2896
  number: "number";
2897
- duration: "duration";
2898
2897
  json: "json";
2898
+ duration: "duration";
2899
2899
  }>>;
2900
2900
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
2901
2901
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -2920,10 +2920,10 @@ declare const scoreTraceSchema: z$1.ZodObject<{
2920
2920
  namespace: z$1.ZodString;
2921
2921
  key: z$1.ZodString;
2922
2922
  status: z$1.ZodEnum<{
2923
+ bypass: "bypass";
2924
+ refresh: "refresh";
2923
2925
  hit: "hit";
2924
2926
  miss: "miss";
2925
- refresh: "refresh";
2926
- bypass: "bypass";
2927
2927
  }>;
2928
2928
  read: z$1.ZodOptional<z$1.ZodBoolean>;
2929
2929
  stored: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -2944,9 +2944,9 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
2944
2944
  error: "error";
2945
2945
  running: "running";
2946
2946
  cancelled: "cancelled";
2947
+ pending: "pending";
2947
2948
  pass: "pass";
2948
2949
  fail: "fail";
2949
- pending: "pending";
2950
2950
  }>;
2951
2951
  input: z$1.ZodUnknown;
2952
2952
  trace: z$1.ZodArray<z$1.ZodObject<{
@@ -2997,8 +2997,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
2997
2997
  format: z$1.ZodOptional<z$1.ZodEnum<{
2998
2998
  string: "string";
2999
2999
  number: "number";
3000
- duration: "duration";
3001
3000
  json: "json";
3001
+ duration: "duration";
3002
3002
  }>>;
3003
3003
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3004
3004
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3066,8 +3066,8 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
3066
3066
  format: z$1.ZodOptional<z$1.ZodEnum<{
3067
3067
  string: "string";
3068
3068
  number: "number";
3069
- duration: "duration";
3070
3069
  json: "json";
3070
+ duration: "duration";
3071
3071
  }>>;
3072
3072
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3073
3073
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3092,10 +3092,10 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
3092
3092
  namespace: z$1.ZodString;
3093
3093
  key: z$1.ZodString;
3094
3094
  status: z$1.ZodEnum<{
3095
+ bypass: "bypass";
3096
+ refresh: "refresh";
3095
3097
  hit: "hit";
3096
3098
  miss: "miss";
3097
- refresh: "refresh";
3098
- bypass: "bypass";
3099
3099
  }>;
3100
3100
  read: z$1.ZodOptional<z$1.ZodBoolean>;
3101
3101
  stored: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -3126,15 +3126,15 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
3126
3126
  format: z$1.ZodOptional<z$1.ZodEnum<{
3127
3127
  number: "number";
3128
3128
  boolean: "boolean";
3129
- duration: "duration";
3130
- json: "json";
3131
3129
  file: "file";
3132
3130
  markdown: "markdown";
3131
+ json: "json";
3133
3132
  image: "image";
3134
3133
  html: "html";
3135
3134
  pdf: "pdf";
3136
3135
  audio: "audio";
3137
3136
  video: "video";
3137
+ duration: "duration";
3138
3138
  percent: "percent";
3139
3139
  passFail: "passFail";
3140
3140
  stars: "stars";
@@ -3213,10 +3213,10 @@ declare const caseDetailSchema$1: z$1.ZodObject<{
3213
3213
  namespace: z$1.ZodString;
3214
3214
  key: z$1.ZodString;
3215
3215
  status: z$1.ZodEnum<{
3216
+ bypass: "bypass";
3217
+ refresh: "refresh";
3216
3218
  hit: "hit";
3217
3219
  miss: "miss";
3218
- refresh: "refresh";
3219
- bypass: "bypass";
3220
3220
  }>;
3221
3221
  read: z$1.ZodOptional<z$1.ZodBoolean>;
3222
3222
  stored: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -3270,9 +3270,9 @@ type EvalChartBuiltinMetric = z$1.infer<typeof evalChartBuiltinMetricSchema>;
3270
3270
  /** Reducer applied to a numeric column across all cases of a single run. */
3271
3271
  declare const evalChartAggregateSchema: z$1.ZodEnum<{
3272
3272
  sum: "sum";
3273
- avg: "avg";
3274
3273
  min: "min";
3275
3274
  max: "max";
3275
+ avg: "avg";
3276
3276
  latest: "latest";
3277
3277
  passThresholdRate: "passThresholdRate";
3278
3278
  }>;
@@ -3328,9 +3328,9 @@ declare const evalChartMetricSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3328
3328
  key: z$1.ZodString;
3329
3329
  aggregate: z$1.ZodEnum<{
3330
3330
  sum: "sum";
3331
- avg: "avg";
3332
3331
  min: "min";
3333
3332
  max: "max";
3333
+ avg: "avg";
3334
3334
  latest: "latest";
3335
3335
  passThresholdRate: "passThresholdRate";
3336
3336
  }>;
@@ -3363,9 +3363,9 @@ declare const evalChartTooltipExtraSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
3363
3363
  key: z$1.ZodString;
3364
3364
  aggregate: z$1.ZodEnum<{
3365
3365
  sum: "sum";
3366
- avg: "avg";
3367
3366
  min: "min";
3368
3367
  max: "max";
3368
+ avg: "avg";
3369
3369
  latest: "latest";
3370
3370
  passThresholdRate: "passThresholdRate";
3371
3371
  }>;
@@ -3411,9 +3411,9 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
3411
3411
  key: z$1.ZodString;
3412
3412
  aggregate: z$1.ZodEnum<{
3413
3413
  sum: "sum";
3414
- avg: "avg";
3415
3414
  min: "min";
3416
3415
  max: "max";
3416
+ avg: "avg";
3417
3417
  latest: "latest";
3418
3418
  passThresholdRate: "passThresholdRate";
3419
3419
  }>;
@@ -3453,9 +3453,9 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
3453
3453
  key: z$1.ZodString;
3454
3454
  aggregate: z$1.ZodEnum<{
3455
3455
  sum: "sum";
3456
- avg: "avg";
3457
3456
  min: "min";
3458
3457
  max: "max";
3458
+ avg: "avg";
3459
3459
  latest: "latest";
3460
3460
  passThresholdRate: "passThresholdRate";
3461
3461
  }>;
@@ -3501,9 +3501,9 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
3501
3501
  key: z$1.ZodString;
3502
3502
  aggregate: z$1.ZodEnum<{
3503
3503
  sum: "sum";
3504
- avg: "avg";
3505
3504
  min: "min";
3506
3505
  max: "max";
3506
+ avg: "avg";
3507
3507
  latest: "latest";
3508
3508
  passThresholdRate: "passThresholdRate";
3509
3509
  }>;
@@ -3543,9 +3543,9 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
3543
3543
  key: z$1.ZodString;
3544
3544
  aggregate: z$1.ZodEnum<{
3545
3545
  sum: "sum";
3546
- avg: "avg";
3547
3546
  min: "min";
3548
3547
  max: "max";
3548
+ avg: "avg";
3549
3549
  latest: "latest";
3550
3550
  passThresholdRate: "passThresholdRate";
3551
3551
  }>;
@@ -3574,8 +3574,8 @@ declare const runManifestSchema$1: z$1.ZodObject<{
3574
3574
  target: z$1.ZodObject<{
3575
3575
  mode: z$1.ZodEnum<{
3576
3576
  all: "all";
3577
- caseIds: "caseIds";
3578
3577
  evalIds: "evalIds";
3578
+ caseIds: "caseIds";
3579
3579
  }>;
3580
3580
  evalKeys: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3581
3581
  files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
@@ -3589,9 +3589,9 @@ declare const runManifestSchema$1: z$1.ZodObject<{
3589
3589
  median: "median";
3590
3590
  }>>>;
3591
3591
  cacheMode: z$1.ZodOptional<z$1.ZodEnum<{
3592
- refresh: "refresh";
3593
- bypass: "bypass";
3594
3592
  use: "use";
3593
+ bypass: "bypass";
3594
+ refresh: "refresh";
3595
3595
  }>>;
3596
3596
  }, z$1.core.$strip>;
3597
3597
  /** Persisted lifecycle metadata for a single eval run. */
@@ -3808,8 +3808,8 @@ declare const llmCallMetricFormatSchema$1: z$1.ZodEnum<{
3808
3808
  string: "string";
3809
3809
  number: "number";
3810
3810
  boolean: "boolean";
3811
- duration: "duration";
3812
3811
  json: "json";
3812
+ duration: "duration";
3813
3813
  }>;
3814
3814
  /** Render format applied to an LLM-call metric value. */
3815
3815
  type LlmCallMetricFormat = z$1.infer<typeof llmCallMetricFormatSchema$1>;
@@ -3818,8 +3818,8 @@ declare const apiCallMetricFormatSchema$1: z$1.ZodEnum<{
3818
3818
  string: "string";
3819
3819
  number: "number";
3820
3820
  boolean: "boolean";
3821
- duration: "duration";
3822
3821
  json: "json";
3822
+ duration: "duration";
3823
3823
  }>;
3824
3824
  /** Render format applied to an API-call metric value. */
3825
3825
  type ApiCallMetricFormat = z$1.infer<typeof apiCallMetricFormatSchema$1>;
@@ -3888,8 +3888,8 @@ declare const llmCallMetricSchema: z$1.ZodObject<{
3888
3888
  string: "string";
3889
3889
  number: "number";
3890
3890
  boolean: "boolean";
3891
- duration: "duration";
3892
3891
  json: "json";
3892
+ duration: "duration";
3893
3893
  }>>;
3894
3894
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3895
3895
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3917,8 +3917,8 @@ declare const apiCallMetricSchema: z$1.ZodObject<{
3917
3917
  string: "string";
3918
3918
  number: "number";
3919
3919
  boolean: "boolean";
3920
- duration: "duration";
3921
3920
  json: "json";
3921
+ duration: "duration";
3922
3922
  }>>;
3923
3923
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3924
3924
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -4031,8 +4031,8 @@ declare const llmCallsConfigSchema: z$1.ZodObject<{
4031
4031
  string: "string";
4032
4032
  number: "number";
4033
4033
  boolean: "boolean";
4034
- duration: "duration";
4035
4034
  json: "json";
4035
+ duration: "duration";
4036
4036
  }>>;
4037
4037
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
4038
4038
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -4067,8 +4067,8 @@ declare const apiCallsConfigSchema: z$1.ZodObject<{
4067
4067
  string: "string";
4068
4068
  number: "number";
4069
4069
  boolean: "boolean";
4070
- duration: "duration";
4071
4070
  json: "json";
4071
+ duration: "duration";
4072
4072
  }>>;
4073
4073
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
4074
4074
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -4567,9 +4567,9 @@ declare function extractApiCalls(spans: EvalTraceSpan$1[], config: ResolvedApiCa
4567
4567
  * - `refresh`: never read, always write (forces re-execution and overwrites).
4568
4568
  */
4569
4569
  declare const cacheModeSchema: z$1.ZodEnum<{
4570
- refresh: "refresh";
4571
- bypass: "bypass";
4572
4570
  use: "use";
4571
+ bypass: "bypass";
4572
+ refresh: "refresh";
4573
4573
  }>;
4574
4574
  /** Mode controlling how cached spans behave during a run. */
4575
4575
  type CacheMode = z$1.infer<typeof cacheModeSchema>;
@@ -4583,17 +4583,17 @@ declare const spanCacheOptionsSchema: z$1.ZodObject<{
4583
4583
  type SpanCacheOptions = z$1.infer<typeof spanCacheOptionsSchema>;
4584
4584
  /** Category of operation stored in the eval cache. */
4585
4585
  declare const cacheOperationTypeSchema: z$1.ZodEnum<{
4586
- value: "value";
4587
4586
  span: "span";
4587
+ value: "value";
4588
4588
  }>;
4589
4589
  /** Category of operation stored in the eval cache. */
4590
4590
  type CacheOperationType = z$1.infer<typeof cacheOperationTypeSchema>;
4591
4591
  /** Status of a cache lookup recorded on a span or case scope. */
4592
4592
  declare const cacheStatusSchema: z$1.ZodEnum<{
4593
+ bypass: "bypass";
4594
+ refresh: "refresh";
4593
4595
  hit: "hit";
4594
4596
  miss: "miss";
4595
- refresh: "refresh";
4596
- bypass: "bypass";
4597
4597
  }>;
4598
4598
  /** Status of a cache lookup recorded on a span or case scope. */
4599
4599
  type CacheStatus = z$1.infer<typeof cacheStatusSchema>;
@@ -4610,10 +4610,10 @@ declare const traceCacheRefSchema: z$1.ZodObject<{
4610
4610
  namespace: z$1.ZodString;
4611
4611
  key: z$1.ZodString;
4612
4612
  status: z$1.ZodEnum<{
4613
+ bypass: "bypass";
4614
+ refresh: "refresh";
4613
4615
  hit: "hit";
4614
4616
  miss: "miss";
4615
- refresh: "refresh";
4616
- bypass: "bypass";
4617
4617
  }>;
4618
4618
  read: z$1.ZodOptional<z$1.ZodBoolean>;
4619
4619
  stored: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -4669,15 +4669,15 @@ declare const cacheRecordingOpSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4669
4669
  format: z$1.ZodOptional<z$1.ZodEnum<{
4670
4670
  number: "number";
4671
4671
  boolean: "boolean";
4672
- duration: "duration";
4673
- json: "json";
4674
4672
  file: "file";
4675
4673
  markdown: "markdown";
4674
+ json: "json";
4676
4675
  image: "image";
4677
4676
  html: "html";
4678
4677
  pdf: "pdf";
4679
4678
  audio: "audio";
4680
4679
  video: "video";
4680
+ duration: "duration";
4681
4681
  percent: "percent";
4682
4682
  passFail: "passFail";
4683
4683
  stars: "stars";
@@ -4757,15 +4757,15 @@ declare const cacheRecordingSchema: z$1.ZodObject<{
4757
4757
  format: z$1.ZodOptional<z$1.ZodEnum<{
4758
4758
  number: "number";
4759
4759
  boolean: "boolean";
4760
- duration: "duration";
4761
- json: "json";
4762
4760
  file: "file";
4763
4761
  markdown: "markdown";
4762
+ json: "json";
4764
4763
  image: "image";
4765
4764
  html: "html";
4766
4765
  pdf: "pdf";
4767
4766
  audio: "audio";
4768
4767
  video: "video";
4768
+ duration: "duration";
4769
4769
  percent: "percent";
4770
4770
  passFail: "passFail";
4771
4771
  stars: "stars";
@@ -4809,8 +4809,8 @@ declare const cacheEntrySchema: z$1.ZodObject<{
4809
4809
  key: z$1.ZodString;
4810
4810
  namespace: z$1.ZodString;
4811
4811
  operationType: z$1.ZodOptional<z$1.ZodEnum<{
4812
- value: "value";
4813
4812
  span: "span";
4813
+ value: "value";
4814
4814
  }>>;
4815
4815
  operationName: z$1.ZodOptional<z$1.ZodString>;
4816
4816
  spanName: z$1.ZodOptional<z$1.ZodString>;
@@ -4858,15 +4858,15 @@ declare const cacheEntrySchema: z$1.ZodObject<{
4858
4858
  format: z$1.ZodOptional<z$1.ZodEnum<{
4859
4859
  number: "number";
4860
4860
  boolean: "boolean";
4861
- duration: "duration";
4862
- json: "json";
4863
4861
  file: "file";
4864
4862
  markdown: "markdown";
4863
+ json: "json";
4865
4864
  image: "image";
4866
4865
  html: "html";
4867
4866
  pdf: "pdf";
4868
4867
  audio: "audio";
4869
4868
  video: "video";
4869
+ duration: "duration";
4870
4870
  percent: "percent";
4871
4871
  passFail: "passFail";
4872
4872
  stars: "stars";
@@ -4916,8 +4916,8 @@ declare const cacheDebugKeyEntrySchema: z$1.ZodObject<{
4916
4916
  key: z$1.ZodString;
4917
4917
  namespace: z$1.ZodString;
4918
4918
  operationType: z$1.ZodEnum<{
4919
- value: "value";
4920
4919
  span: "span";
4920
+ value: "value";
4921
4921
  }>;
4922
4922
  operationName: z$1.ZodString;
4923
4923
  storedAt: z$1.ZodString;
@@ -4927,8 +4927,8 @@ declare const cacheDebugKeyEntrySchema: z$1.ZodObject<{
4927
4927
  key: z$1.ZodString;
4928
4928
  namespace: z$1.ZodString;
4929
4929
  operationType: z$1.ZodOptional<z$1.ZodEnum<{
4930
- value: "value";
4931
4930
  span: "span";
4931
+ value: "value";
4932
4932
  }>>;
4933
4933
  operationName: z$1.ZodOptional<z$1.ZodString>;
4934
4934
  spanName: z$1.ZodOptional<z$1.ZodString>;
@@ -4976,15 +4976,15 @@ declare const cacheDebugKeyEntrySchema: z$1.ZodObject<{
4976
4976
  format: z$1.ZodOptional<z$1.ZodEnum<{
4977
4977
  number: "number";
4978
4978
  boolean: "boolean";
4979
- duration: "duration";
4980
- json: "json";
4981
4979
  file: "file";
4982
4980
  markdown: "markdown";
4981
+ json: "json";
4983
4982
  image: "image";
4984
4983
  html: "html";
4985
4984
  pdf: "pdf";
4986
4985
  audio: "audio";
4987
4986
  video: "video";
4987
+ duration: "duration";
4988
4988
  percent: "percent";
4989
4989
  passFail: "passFail";
4990
4990
  stars: "stars";
@@ -5034,8 +5034,8 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
5034
5034
  key: z$1.ZodString;
5035
5035
  namespace: z$1.ZodString;
5036
5036
  operationType: z$1.ZodOptional<z$1.ZodEnum<{
5037
- value: "value";
5038
5037
  span: "span";
5038
+ value: "value";
5039
5039
  }>>;
5040
5040
  operationName: z$1.ZodOptional<z$1.ZodString>;
5041
5041
  spanName: z$1.ZodOptional<z$1.ZodString>;
@@ -5083,15 +5083,15 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
5083
5083
  format: z$1.ZodOptional<z$1.ZodEnum<{
5084
5084
  number: "number";
5085
5085
  boolean: "boolean";
5086
- duration: "duration";
5087
- json: "json";
5088
5086
  file: "file";
5089
5087
  markdown: "markdown";
5088
+ json: "json";
5090
5089
  image: "image";
5091
5090
  html: "html";
5092
5091
  pdf: "pdf";
5093
5092
  audio: "audio";
5094
5093
  video: "video";
5094
+ duration: "duration";
5095
5095
  percent: "percent";
5096
5096
  passFail: "passFail";
5097
5097
  stars: "stars";
@@ -5132,8 +5132,8 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
5132
5132
  key: z$1.ZodString;
5133
5133
  namespace: z$1.ZodString;
5134
5134
  operationType: z$1.ZodEnum<{
5135
- value: "value";
5136
5135
  span: "span";
5136
+ value: "value";
5137
5137
  }>;
5138
5138
  operationName: z$1.ZodString;
5139
5139
  storedAt: z$1.ZodString;
@@ -5143,8 +5143,8 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
5143
5143
  key: z$1.ZodString;
5144
5144
  namespace: z$1.ZodString;
5145
5145
  operationType: z$1.ZodOptional<z$1.ZodEnum<{
5146
- value: "value";
5147
5146
  span: "span";
5147
+ value: "value";
5148
5148
  }>>;
5149
5149
  operationName: z$1.ZodOptional<z$1.ZodString>;
5150
5150
  spanName: z$1.ZodOptional<z$1.ZodString>;
@@ -5192,15 +5192,15 @@ declare const cacheEntryWithDebugKeySchema$1: z$1.ZodObject<{
5192
5192
  format: z$1.ZodOptional<z$1.ZodEnum<{
5193
5193
  number: "number";
5194
5194
  boolean: "boolean";
5195
- duration: "duration";
5196
- json: "json";
5197
5195
  file: "file";
5198
5196
  markdown: "markdown";
5197
+ json: "json";
5199
5198
  image: "image";
5200
5199
  html: "html";
5201
5200
  pdf: "pdf";
5202
5201
  audio: "audio";
5203
5202
  video: "video";
5203
+ duration: "duration";
5204
5204
  percent: "percent";
5205
5205
  passFail: "passFail";
5206
5206
  stars: "stars";
@@ -5250,8 +5250,8 @@ declare const cacheFileSchema: z$1.ZodObject<{
5250
5250
  key: z$1.ZodString;
5251
5251
  namespace: z$1.ZodString;
5252
5252
  operationType: z$1.ZodOptional<z$1.ZodEnum<{
5253
- value: "value";
5254
5253
  span: "span";
5254
+ value: "value";
5255
5255
  }>>;
5256
5256
  operationName: z$1.ZodOptional<z$1.ZodString>;
5257
5257
  spanName: z$1.ZodOptional<z$1.ZodString>;
@@ -5299,15 +5299,15 @@ declare const cacheFileSchema: z$1.ZodObject<{
5299
5299
  format: z$1.ZodOptional<z$1.ZodEnum<{
5300
5300
  number: "number";
5301
5301
  boolean: "boolean";
5302
- duration: "duration";
5303
- json: "json";
5304
5302
  file: "file";
5305
5303
  markdown: "markdown";
5304
+ json: "json";
5306
5305
  image: "image";
5307
5306
  html: "html";
5308
5307
  pdf: "pdf";
5309
5308
  audio: "audio";
5310
5309
  video: "video";
5310
+ duration: "duration";
5311
5311
  percent: "percent";
5312
5312
  passFail: "passFail";
5313
5313
  stars: "stars";
@@ -5356,8 +5356,8 @@ declare const cacheDebugKeyFileSchema: z$1.ZodObject<{
5356
5356
  key: z$1.ZodString;
5357
5357
  namespace: z$1.ZodString;
5358
5358
  operationType: z$1.ZodEnum<{
5359
- value: "value";
5360
5359
  span: "span";
5360
+ value: "value";
5361
5361
  }>;
5362
5362
  operationName: z$1.ZodString;
5363
5363
  storedAt: z$1.ZodString;
@@ -5367,8 +5367,8 @@ declare const cacheDebugKeyFileSchema: z$1.ZodObject<{
5367
5367
  key: z$1.ZodString;
5368
5368
  namespace: z$1.ZodString;
5369
5369
  operationType: z$1.ZodOptional<z$1.ZodEnum<{
5370
- value: "value";
5371
5370
  span: "span";
5371
+ value: "value";
5372
5372
  }>>;
5373
5373
  operationName: z$1.ZodOptional<z$1.ZodString>;
5374
5374
  spanName: z$1.ZodOptional<z$1.ZodString>;
@@ -5416,15 +5416,15 @@ declare const cacheDebugKeyFileSchema: z$1.ZodObject<{
5416
5416
  format: z$1.ZodOptional<z$1.ZodEnum<{
5417
5417
  number: "number";
5418
5418
  boolean: "boolean";
5419
- duration: "duration";
5420
- json: "json";
5421
5419
  file: "file";
5422
5420
  markdown: "markdown";
5421
+ json: "json";
5423
5422
  image: "image";
5424
5423
  html: "html";
5425
5424
  pdf: "pdf";
5426
5425
  audio: "audio";
5427
5426
  video: "video";
5427
+ duration: "duration";
5428
5428
  percent: "percent";
5429
5429
  passFail: "passFail";
5430
5430
  stars: "stars";
@@ -5542,8 +5542,8 @@ type SseEnvelope = z$1.infer<typeof sseEnvelopeSchema$1>; //#endregion
5542
5542
  //#region src/schemas/api.d.ts
5543
5543
  /** Lifecycle state for an app config reload triggered by `agent-evals.config.ts`. */
5544
5544
  declare const configReloadStatusSchema: z$1.ZodEnum<{
5545
- pending: "pending";
5546
5545
  idle: "idle";
5546
+ pending: "pending";
5547
5547
  reloading: "reloading";
5548
5548
  }>;
5549
5549
  /** Status for config reloads in the long-running app server. */
@@ -5551,8 +5551,8 @@ type ConfigReloadStatus = z$1.infer<typeof configReloadStatusSchema>;
5551
5551
  /** UI/API-visible state for config reloads in `agent-evals app`. */
5552
5552
  declare const configReloadStateSchema$1: z$1.ZodObject<{
5553
5553
  status: z$1.ZodEnum<{
5554
- pending: "pending";
5555
5554
  idle: "idle";
5555
+ pending: "pending";
5556
5556
  reloading: "reloading";
5557
5557
  }>;
5558
5558
  activeRunCount: z$1.ZodNumber;
@@ -5566,8 +5566,8 @@ declare const createRunRequestSchema$1: z$1.ZodObject<{
5566
5566
  target: z$1.ZodObject<{
5567
5567
  mode: z$1.ZodEnum<{
5568
5568
  all: "all";
5569
- caseIds: "caseIds";
5570
5569
  evalIds: "evalIds";
5570
+ caseIds: "caseIds";
5571
5571
  }>;
5572
5572
  evalKeys: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5573
5573
  files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
@@ -5579,9 +5579,9 @@ declare const createRunRequestSchema$1: z$1.ZodObject<{
5579
5579
  temporary: z$1.ZodOptional<z$1.ZodBoolean>;
5580
5580
  cache: z$1.ZodOptional<z$1.ZodObject<{
5581
5581
  mode: z$1.ZodDefault<z$1.ZodEnum<{
5582
- refresh: "refresh";
5583
- bypass: "bypass";
5584
5582
  use: "use";
5583
+ bypass: "bypass";
5584
+ refresh: "refresh";
5585
5585
  }>>;
5586
5586
  }, z$1.core.$strip>>;
5587
5587
  manualInputs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;