@ls-stack/agent-eval 0.61.0 → 0.61.1

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
@@ -2061,9 +2061,9 @@ declare const traceAttributeDisplaySchema: z.ZodObject<{
2061
2061
  subtree: "subtree";
2062
2062
  }>>;
2063
2063
  mode: z.ZodOptional<z.ZodEnum<{
2064
+ sum: "sum";
2064
2065
  all: "all";
2065
2066
  last: "last";
2066
- sum: "sum";
2067
2067
  }>>;
2068
2068
  }, z.core.$strip>;
2069
2069
  /**
@@ -2097,9 +2097,9 @@ declare const traceDisplayConfigSchema: z.ZodObject<{
2097
2097
  subtree: "subtree";
2098
2098
  }>>;
2099
2099
  mode: z.ZodOptional<z.ZodEnum<{
2100
+ sum: "sum";
2100
2101
  all: "all";
2101
2102
  last: "last";
2102
- sum: "sum";
2103
2103
  }>>;
2104
2104
  }, z.core.$strip>>>;
2105
2105
  }, z.core.$strip>;
@@ -2137,9 +2137,9 @@ declare const traceAttributeDisplayInputSchema: z.ZodObject<{
2137
2137
  subtree: "subtree";
2138
2138
  }>>;
2139
2139
  mode: z.ZodOptional<z.ZodEnum<{
2140
+ sum: "sum";
2140
2141
  all: "all";
2141
2142
  last: "last";
2142
- sum: "sum";
2143
2143
  }>>;
2144
2144
  transform: z.ZodOptional<z.ZodCustom<TraceAttributeTransform, TraceAttributeTransform>>;
2145
2145
  }, z.core.$strip>;
@@ -2175,9 +2175,9 @@ declare const traceDisplayInputConfigSchema: z.ZodObject<{
2175
2175
  subtree: "subtree";
2176
2176
  }>>;
2177
2177
  mode: z.ZodOptional<z.ZodEnum<{
2178
+ sum: "sum";
2178
2179
  all: "all";
2179
2180
  last: "last";
2180
- sum: "sum";
2181
2181
  }>>;
2182
2182
  transform: z.ZodOptional<z.ZodCustom<TraceAttributeTransform, TraceAttributeTransform>>;
2183
2183
  }, z.core.$strip>>>;
@@ -2214,8 +2214,8 @@ declare const traceSpanSchema$1: z.ZodObject<{
2214
2214
  status: z.ZodEnum<{
2215
2215
  error: "error";
2216
2216
  running: "running";
2217
- ok: "ok";
2218
2217
  cancelled: "cancelled";
2218
+ ok: "ok";
2219
2219
  }>;
2220
2220
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2221
2221
  error: z.ZodOptional<z.ZodObject<{
@@ -2260,10 +2260,10 @@ type EvalFreshnessStatus = z.infer<typeof evalFreshnessStatusSchema>;
2260
2260
  * `best` selects the highest finite value and `worst` selects the lowest.
2261
2261
  */
2262
2262
  declare const evalStatAggregateSchema: z.ZodEnum<{
2263
- sum: "sum";
2264
2263
  avg: "avg";
2265
2264
  min: "min";
2266
2265
  max: "max";
2266
+ sum: "sum";
2267
2267
  best: "best";
2268
2268
  worst: "worst";
2269
2269
  }>;
@@ -2292,10 +2292,10 @@ declare const evalStatItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2292
2292
  hideIfNoValue: z.ZodOptional<z.ZodBoolean>;
2293
2293
  kind: z.ZodLiteral<"duration">;
2294
2294
  aggregate: z.ZodOptional<z.ZodEnum<{
2295
- sum: "sum";
2296
2295
  avg: "avg";
2297
2296
  min: "min";
2298
2297
  max: "max";
2298
+ sum: "sum";
2299
2299
  best: "best";
2300
2300
  worst: "worst";
2301
2301
  }>>;
@@ -2303,10 +2303,10 @@ declare const evalStatItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2303
2303
  hideIfNoValue: z.ZodOptional<z.ZodBoolean>;
2304
2304
  kind: z.ZodLiteral<"cacheHits">;
2305
2305
  aggregate: z.ZodOptional<z.ZodEnum<{
2306
- sum: "sum";
2307
2306
  avg: "avg";
2308
2307
  min: "min";
2309
2308
  max: "max";
2309
+ sum: "sum";
2310
2310
  best: "best";
2311
2311
  worst: "worst";
2312
2312
  }>>;
@@ -2316,10 +2316,10 @@ declare const evalStatItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2316
2316
  key: z.ZodString;
2317
2317
  label: z.ZodOptional<z.ZodString>;
2318
2318
  aggregate: z.ZodEnum<{
2319
- sum: "sum";
2320
2319
  avg: "avg";
2321
2320
  min: "min";
2322
2321
  max: "max";
2322
+ sum: "sum";
2323
2323
  best: "best";
2324
2324
  worst: "worst";
2325
2325
  }>;
@@ -2356,10 +2356,10 @@ declare const evalStatsConfigSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodOb
2356
2356
  hideIfNoValue: z.ZodOptional<z.ZodBoolean>;
2357
2357
  kind: z.ZodLiteral<"duration">;
2358
2358
  aggregate: z.ZodOptional<z.ZodEnum<{
2359
- sum: "sum";
2360
2359
  avg: "avg";
2361
2360
  min: "min";
2362
2361
  max: "max";
2362
+ sum: "sum";
2363
2363
  best: "best";
2364
2364
  worst: "worst";
2365
2365
  }>>;
@@ -2367,10 +2367,10 @@ declare const evalStatsConfigSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodOb
2367
2367
  hideIfNoValue: z.ZodOptional<z.ZodBoolean>;
2368
2368
  kind: z.ZodLiteral<"cacheHits">;
2369
2369
  aggregate: z.ZodOptional<z.ZodEnum<{
2370
- sum: "sum";
2371
2370
  avg: "avg";
2372
2371
  min: "min";
2373
2372
  max: "max";
2373
+ sum: "sum";
2374
2374
  best: "best";
2375
2375
  worst: "worst";
2376
2376
  }>>;
@@ -2380,10 +2380,10 @@ declare const evalStatsConfigSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodOb
2380
2380
  key: z.ZodString;
2381
2381
  label: z.ZodOptional<z.ZodString>;
2382
2382
  aggregate: z.ZodEnum<{
2383
- sum: "sum";
2384
2383
  avg: "avg";
2385
2384
  min: "min";
2386
2385
  max: "max";
2386
+ sum: "sum";
2387
2387
  best: "best";
2388
2388
  worst: "worst";
2389
2389
  }>;
@@ -2466,10 +2466,10 @@ declare const evalSummarySchema$1: z.ZodObject<{
2466
2466
  caseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2467
2467
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
2468
2468
  error: "error";
2469
- running: "running";
2470
- cancelled: "cancelled";
2471
2469
  pass: "pass";
2472
2470
  fail: "fail";
2471
+ running: "running";
2472
+ cancelled: "cancelled";
2473
2473
  unscored: "unscored";
2474
2474
  }>>;
2475
2475
  stats: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2483,10 +2483,10 @@ declare const evalSummarySchema$1: z.ZodObject<{
2483
2483
  hideIfNoValue: z.ZodOptional<z.ZodBoolean>;
2484
2484
  kind: z.ZodLiteral<"duration">;
2485
2485
  aggregate: z.ZodOptional<z.ZodEnum<{
2486
- sum: "sum";
2487
2486
  avg: "avg";
2488
2487
  min: "min";
2489
2488
  max: "max";
2489
+ sum: "sum";
2490
2490
  best: "best";
2491
2491
  worst: "worst";
2492
2492
  }>>;
@@ -2494,10 +2494,10 @@ declare const evalSummarySchema$1: z.ZodObject<{
2494
2494
  hideIfNoValue: z.ZodOptional<z.ZodBoolean>;
2495
2495
  kind: z.ZodLiteral<"cacheHits">;
2496
2496
  aggregate: z.ZodOptional<z.ZodEnum<{
2497
- sum: "sum";
2498
2497
  avg: "avg";
2499
2498
  min: "min";
2500
2499
  max: "max";
2500
+ sum: "sum";
2501
2501
  best: "best";
2502
2502
  worst: "worst";
2503
2503
  }>>;
@@ -2507,10 +2507,10 @@ declare const evalSummarySchema$1: z.ZodObject<{
2507
2507
  key: z.ZodString;
2508
2508
  label: z.ZodOptional<z.ZodString>;
2509
2509
  aggregate: z.ZodEnum<{
2510
- sum: "sum";
2511
2510
  avg: "avg";
2512
2511
  min: "min";
2513
2512
  max: "max";
2513
+ sum: "sum";
2514
2514
  best: "best";
2515
2515
  worst: "worst";
2516
2516
  }>;
@@ -2534,10 +2534,10 @@ declare const evalSummarySchema$1: z.ZodObject<{
2534
2534
  accent: z.ZodOptional<z.ZodBoolean>;
2535
2535
  }, z.core.$strip>], "kind">>>;
2536
2536
  defaultStatAggregate: z.ZodOptional<z.ZodEnum<{
2537
- sum: "sum";
2538
2537
  avg: "avg";
2539
2538
  min: "min";
2540
2539
  max: "max";
2540
+ sum: "sum";
2541
2541
  best: "best";
2542
2542
  worst: "worst";
2543
2543
  }>>;
@@ -2558,11 +2558,11 @@ declare const evalSummarySchema$1: z.ZodObject<{
2558
2558
  }>;
2559
2559
  label: z.ZodOptional<z.ZodString>;
2560
2560
  color: z.ZodOptional<z.ZodEnum<{
2561
- error: "error";
2562
2561
  success: "success";
2563
- warning: "warning";
2562
+ error: "error";
2564
2563
  accent: "accent";
2565
2564
  accentDim: "accentDim";
2565
+ warning: "warning";
2566
2566
  textMuted: "textMuted";
2567
2567
  }>>;
2568
2568
  axis: z.ZodOptional<z.ZodEnum<{
@@ -2573,20 +2573,20 @@ declare const evalSummarySchema$1: z.ZodObject<{
2573
2573
  source: z.ZodLiteral<"column">;
2574
2574
  key: z.ZodString;
2575
2575
  aggregate: z.ZodEnum<{
2576
- sum: "sum";
2577
2576
  avg: "avg";
2578
2577
  min: "min";
2579
2578
  max: "max";
2579
+ sum: "sum";
2580
2580
  latest: "latest";
2581
2581
  passThresholdRate: "passThresholdRate";
2582
2582
  }>;
2583
2583
  label: z.ZodOptional<z.ZodString>;
2584
2584
  color: z.ZodOptional<z.ZodEnum<{
2585
- error: "error";
2586
2585
  success: "success";
2587
- warning: "warning";
2586
+ error: "error";
2588
2587
  accent: "accent";
2589
2588
  accentDim: "accentDim";
2589
+ warning: "warning";
2590
2590
  textMuted: "textMuted";
2591
2591
  }>>;
2592
2592
  axis: z.ZodOptional<z.ZodEnum<{
@@ -2615,10 +2615,10 @@ declare const evalSummarySchema$1: z.ZodObject<{
2615
2615
  source: z.ZodLiteral<"column">;
2616
2616
  key: z.ZodString;
2617
2617
  aggregate: z.ZodEnum<{
2618
- sum: "sum";
2619
2618
  avg: "avg";
2620
2619
  min: "min";
2621
2620
  max: "max";
2621
+ sum: "sum";
2622
2622
  latest: "latest";
2623
2623
  passThresholdRate: "passThresholdRate";
2624
2624
  }>;
@@ -2715,10 +2715,10 @@ declare const caseRowSchema$1: z.ZodObject<{
2715
2715
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2716
2716
  status: z.ZodEnum<{
2717
2717
  error: "error";
2718
- running: "running";
2719
- cancelled: "cancelled";
2720
2718
  pass: "pass";
2721
2719
  fail: "fail";
2720
+ running: "running";
2721
+ cancelled: "cancelled";
2722
2722
  pending: "pending";
2723
2723
  }>;
2724
2724
  durationMs: z.ZodNullable<z.ZodNumber>;
@@ -2857,8 +2857,8 @@ declare const scoreTraceSchema: z.ZodObject<{
2857
2857
  status: z.ZodEnum<{
2858
2858
  error: "error";
2859
2859
  running: "running";
2860
- ok: "ok";
2861
2860
  cancelled: "cancelled";
2861
+ ok: "ok";
2862
2862
  }>;
2863
2863
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2864
2864
  error: z.ZodOptional<z.ZodObject<{
@@ -2908,9 +2908,9 @@ declare const scoreTraceSchema: z.ZodObject<{
2908
2908
  subtree: "subtree";
2909
2909
  }>>;
2910
2910
  mode: z.ZodOptional<z.ZodEnum<{
2911
+ sum: "sum";
2911
2912
  all: "all";
2912
2913
  last: "last";
2913
- sum: "sum";
2914
2914
  }>>;
2915
2915
  }, z.core.$strip>>>;
2916
2916
  }, z.core.$strip>;
@@ -2920,10 +2920,10 @@ declare const scoreTraceSchema: z.ZodObject<{
2920
2920
  namespace: z.ZodString;
2921
2921
  key: z.ZodString;
2922
2922
  status: z.ZodEnum<{
2923
- bypass: "bypass";
2924
- refresh: "refresh";
2925
2923
  hit: "hit";
2926
2924
  miss: "miss";
2925
+ refresh: "refresh";
2926
+ bypass: "bypass";
2927
2927
  }>;
2928
2928
  read: z.ZodOptional<z.ZodBoolean>;
2929
2929
  stored: z.ZodOptional<z.ZodBoolean>;
@@ -2942,10 +2942,10 @@ declare const caseDetailSchema$1: z.ZodObject<{
2942
2942
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2943
2943
  status: z.ZodEnum<{
2944
2944
  error: "error";
2945
- running: "running";
2946
- cancelled: "cancelled";
2947
2945
  pass: "pass";
2948
2946
  fail: "fail";
2947
+ running: "running";
2948
+ cancelled: "cancelled";
2949
2949
  pending: "pending";
2950
2950
  }>;
2951
2951
  input: z.ZodUnknown;
@@ -2960,8 +2960,8 @@ declare const caseDetailSchema$1: z.ZodObject<{
2960
2960
  status: z.ZodEnum<{
2961
2961
  error: "error";
2962
2962
  running: "running";
2963
- ok: "ok";
2964
2963
  cancelled: "cancelled";
2964
+ ok: "ok";
2965
2965
  }>;
2966
2966
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2967
2967
  error: z.ZodOptional<z.ZodObject<{
@@ -3011,9 +3011,9 @@ declare const caseDetailSchema$1: z.ZodObject<{
3011
3011
  subtree: "subtree";
3012
3012
  }>>;
3013
3013
  mode: z.ZodOptional<z.ZodEnum<{
3014
+ sum: "sum";
3014
3015
  all: "all";
3015
3016
  last: "last";
3016
- sum: "sum";
3017
3017
  }>>;
3018
3018
  }, z.core.$strip>>>;
3019
3019
  }, z.core.$strip>;
@@ -3029,8 +3029,8 @@ declare const caseDetailSchema$1: z.ZodObject<{
3029
3029
  status: z.ZodEnum<{
3030
3030
  error: "error";
3031
3031
  running: "running";
3032
- ok: "ok";
3033
3032
  cancelled: "cancelled";
3033
+ ok: "ok";
3034
3034
  }>;
3035
3035
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3036
3036
  error: z.ZodOptional<z.ZodObject<{
@@ -3080,9 +3080,9 @@ declare const caseDetailSchema$1: z.ZodObject<{
3080
3080
  subtree: "subtree";
3081
3081
  }>>;
3082
3082
  mode: z.ZodOptional<z.ZodEnum<{
3083
+ sum: "sum";
3083
3084
  all: "all";
3084
3085
  last: "last";
3085
- sum: "sum";
3086
3086
  }>>;
3087
3087
  }, z.core.$strip>>>;
3088
3088
  }, z.core.$strip>;
@@ -3092,10 +3092,10 @@ declare const caseDetailSchema$1: z.ZodObject<{
3092
3092
  namespace: z.ZodString;
3093
3093
  key: z.ZodString;
3094
3094
  status: z.ZodEnum<{
3095
- bypass: "bypass";
3096
- refresh: "refresh";
3097
3095
  hit: "hit";
3098
3096
  miss: "miss";
3097
+ refresh: "refresh";
3098
+ bypass: "bypass";
3099
3099
  }>;
3100
3100
  read: z.ZodOptional<z.ZodBoolean>;
3101
3101
  stored: z.ZodOptional<z.ZodBoolean>;
@@ -3213,10 +3213,10 @@ declare const caseDetailSchema$1: z.ZodObject<{
3213
3213
  namespace: z.ZodString;
3214
3214
  key: z.ZodString;
3215
3215
  status: z.ZodEnum<{
3216
- bypass: "bypass";
3217
- refresh: "refresh";
3218
3216
  hit: "hit";
3219
3217
  miss: "miss";
3218
+ refresh: "refresh";
3219
+ bypass: "bypass";
3220
3220
  }>;
3221
3221
  read: z.ZodOptional<z.ZodBoolean>;
3222
3222
  stored: z.ZodOptional<z.ZodBoolean>;
@@ -3269,10 +3269,10 @@ declare const evalChartBuiltinMetricSchema: z.ZodEnum<{
3269
3269
  type EvalChartBuiltinMetric = z.infer<typeof evalChartBuiltinMetricSchema>;
3270
3270
  /** Reducer applied to a numeric column across all cases of a single run. */
3271
3271
  declare const evalChartAggregateSchema: z.ZodEnum<{
3272
- sum: "sum";
3273
3272
  avg: "avg";
3274
3273
  min: "min";
3275
3274
  max: "max";
3275
+ sum: "sum";
3276
3276
  latest: "latest";
3277
3277
  passThresholdRate: "passThresholdRate";
3278
3278
  }>;
@@ -3283,11 +3283,11 @@ type EvalChartAggregate = z.infer<typeof evalChartAggregateSchema>;
3283
3283
  * not emit raw hex so authored evals stay decoupled from the web theme.
3284
3284
  */
3285
3285
  declare const evalChartColorSchema: z.ZodEnum<{
3286
- error: "error";
3287
3286
  success: "success";
3288
- warning: "warning";
3287
+ error: "error";
3289
3288
  accent: "accent";
3290
3289
  accentDim: "accentDim";
3290
+ warning: "warning";
3291
3291
  textMuted: "textMuted";
3292
3292
  }>;
3293
3293
  /** Semantic color token resolved to a theme color by the web UI. */
@@ -3312,11 +3312,11 @@ declare const evalChartMetricSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3312
3312
  }>;
3313
3313
  label: z.ZodOptional<z.ZodString>;
3314
3314
  color: z.ZodOptional<z.ZodEnum<{
3315
- error: "error";
3316
3315
  success: "success";
3317
- warning: "warning";
3316
+ error: "error";
3318
3317
  accent: "accent";
3319
3318
  accentDim: "accentDim";
3319
+ warning: "warning";
3320
3320
  textMuted: "textMuted";
3321
3321
  }>>;
3322
3322
  axis: z.ZodOptional<z.ZodEnum<{
@@ -3327,20 +3327,20 @@ declare const evalChartMetricSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3327
3327
  source: z.ZodLiteral<"column">;
3328
3328
  key: z.ZodString;
3329
3329
  aggregate: z.ZodEnum<{
3330
- sum: "sum";
3331
3330
  avg: "avg";
3332
3331
  min: "min";
3333
3332
  max: "max";
3333
+ sum: "sum";
3334
3334
  latest: "latest";
3335
3335
  passThresholdRate: "passThresholdRate";
3336
3336
  }>;
3337
3337
  label: z.ZodOptional<z.ZodString>;
3338
3338
  color: z.ZodOptional<z.ZodEnum<{
3339
- error: "error";
3340
3339
  success: "success";
3341
- warning: "warning";
3340
+ error: "error";
3342
3341
  accent: "accent";
3343
3342
  accentDim: "accentDim";
3343
+ warning: "warning";
3344
3344
  textMuted: "textMuted";
3345
3345
  }>>;
3346
3346
  axis: z.ZodOptional<z.ZodEnum<{
@@ -3362,10 +3362,10 @@ declare const evalChartTooltipExtraSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
3362
3362
  source: z.ZodLiteral<"column">;
3363
3363
  key: z.ZodString;
3364
3364
  aggregate: z.ZodEnum<{
3365
- sum: "sum";
3366
3365
  avg: "avg";
3367
3366
  min: "min";
3368
3367
  max: "max";
3368
+ sum: "sum";
3369
3369
  latest: "latest";
3370
3370
  passThresholdRate: "passThresholdRate";
3371
3371
  }>;
@@ -3395,11 +3395,11 @@ declare const evalChartConfigSchema: z.ZodObject<{
3395
3395
  }>;
3396
3396
  label: z.ZodOptional<z.ZodString>;
3397
3397
  color: z.ZodOptional<z.ZodEnum<{
3398
- error: "error";
3399
3398
  success: "success";
3400
- warning: "warning";
3399
+ error: "error";
3401
3400
  accent: "accent";
3402
3401
  accentDim: "accentDim";
3402
+ warning: "warning";
3403
3403
  textMuted: "textMuted";
3404
3404
  }>>;
3405
3405
  axis: z.ZodOptional<z.ZodEnum<{
@@ -3410,20 +3410,20 @@ declare const evalChartConfigSchema: z.ZodObject<{
3410
3410
  source: z.ZodLiteral<"column">;
3411
3411
  key: z.ZodString;
3412
3412
  aggregate: z.ZodEnum<{
3413
- sum: "sum";
3414
3413
  avg: "avg";
3415
3414
  min: "min";
3416
3415
  max: "max";
3416
+ sum: "sum";
3417
3417
  latest: "latest";
3418
3418
  passThresholdRate: "passThresholdRate";
3419
3419
  }>;
3420
3420
  label: z.ZodOptional<z.ZodString>;
3421
3421
  color: z.ZodOptional<z.ZodEnum<{
3422
- error: "error";
3423
3422
  success: "success";
3424
- warning: "warning";
3423
+ error: "error";
3425
3424
  accent: "accent";
3426
3425
  accentDim: "accentDim";
3426
+ warning: "warning";
3427
3427
  textMuted: "textMuted";
3428
3428
  }>>;
3429
3429
  axis: z.ZodOptional<z.ZodEnum<{
@@ -3452,10 +3452,10 @@ declare const evalChartConfigSchema: z.ZodObject<{
3452
3452
  source: z.ZodLiteral<"column">;
3453
3453
  key: z.ZodString;
3454
3454
  aggregate: z.ZodEnum<{
3455
- sum: "sum";
3456
3455
  avg: "avg";
3457
3456
  min: "min";
3458
3457
  max: "max";
3458
+ sum: "sum";
3459
3459
  latest: "latest";
3460
3460
  passThresholdRate: "passThresholdRate";
3461
3461
  }>;
@@ -3485,11 +3485,11 @@ declare const evalChartsConfigSchema: z.ZodArray<z.ZodObject<{
3485
3485
  }>;
3486
3486
  label: z.ZodOptional<z.ZodString>;
3487
3487
  color: z.ZodOptional<z.ZodEnum<{
3488
- error: "error";
3489
3488
  success: "success";
3490
- warning: "warning";
3489
+ error: "error";
3491
3490
  accent: "accent";
3492
3491
  accentDim: "accentDim";
3492
+ warning: "warning";
3493
3493
  textMuted: "textMuted";
3494
3494
  }>>;
3495
3495
  axis: z.ZodOptional<z.ZodEnum<{
@@ -3500,20 +3500,20 @@ declare const evalChartsConfigSchema: z.ZodArray<z.ZodObject<{
3500
3500
  source: z.ZodLiteral<"column">;
3501
3501
  key: z.ZodString;
3502
3502
  aggregate: z.ZodEnum<{
3503
- sum: "sum";
3504
3503
  avg: "avg";
3505
3504
  min: "min";
3506
3505
  max: "max";
3506
+ sum: "sum";
3507
3507
  latest: "latest";
3508
3508
  passThresholdRate: "passThresholdRate";
3509
3509
  }>;
3510
3510
  label: z.ZodOptional<z.ZodString>;
3511
3511
  color: z.ZodOptional<z.ZodEnum<{
3512
- error: "error";
3513
3512
  success: "success";
3514
- warning: "warning";
3513
+ error: "error";
3515
3514
  accent: "accent";
3516
3515
  accentDim: "accentDim";
3516
+ warning: "warning";
3517
3517
  textMuted: "textMuted";
3518
3518
  }>>;
3519
3519
  axis: z.ZodOptional<z.ZodEnum<{
@@ -3542,10 +3542,10 @@ declare const evalChartsConfigSchema: z.ZodArray<z.ZodObject<{
3542
3542
  source: z.ZodLiteral<"column">;
3543
3543
  key: z.ZodString;
3544
3544
  aggregate: z.ZodEnum<{
3545
- sum: "sum";
3546
3545
  avg: "avg";
3547
3546
  min: "min";
3548
3547
  max: "max";
3548
+ sum: "sum";
3549
3549
  latest: "latest";
3550
3550
  passThresholdRate: "passThresholdRate";
3551
3551
  }>;
@@ -3573,8 +3573,8 @@ declare const runManifestSchema$1: z.ZodObject<{
3573
3573
  evalSourceFingerprints: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3574
3574
  target: z.ZodObject<{
3575
3575
  mode: z.ZodEnum<{
3576
- all: "all";
3577
3576
  caseIds: "caseIds";
3577
+ all: "all";
3578
3578
  evalIds: "evalIds";
3579
3579
  }>;
3580
3580
  evalKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3589,9 +3589,9 @@ declare const runManifestSchema$1: z.ZodObject<{
3589
3589
  median: "median";
3590
3590
  }>>>;
3591
3591
  cacheMode: z.ZodOptional<z.ZodEnum<{
3592
- use: "use";
3593
- bypass: "bypass";
3594
3592
  refresh: "refresh";
3593
+ bypass: "bypass";
3594
+ use: "use";
3595
3595
  }>>;
3596
3596
  }, z.core.$strip>;
3597
3597
  /** Persisted lifecycle metadata for a single eval run. */
@@ -4575,9 +4575,9 @@ declare function extractApiCalls(spans: EvalTraceSpan$1[], config: ResolvedApiCa
4575
4575
  * - `refresh`: never read, always write (forces re-execution and overwrites).
4576
4576
  */
4577
4577
  declare const cacheModeSchema: z.ZodEnum<{
4578
- use: "use";
4579
- bypass: "bypass";
4580
4578
  refresh: "refresh";
4579
+ bypass: "bypass";
4580
+ use: "use";
4581
4581
  }>;
4582
4582
  /** Mode controlling how cached spans behave during a run. */
4583
4583
  type CacheMode = z.infer<typeof cacheModeSchema>;
@@ -4591,17 +4591,17 @@ declare const spanCacheOptionsSchema: z.ZodObject<{
4591
4591
  type SpanCacheOptions = z.infer<typeof spanCacheOptionsSchema>;
4592
4592
  /** Category of operation stored in the eval cache. */
4593
4593
  declare const cacheOperationTypeSchema: z.ZodEnum<{
4594
- span: "span";
4595
4594
  value: "value";
4595
+ span: "span";
4596
4596
  }>;
4597
4597
  /** Category of operation stored in the eval cache. */
4598
4598
  type CacheOperationType = z.infer<typeof cacheOperationTypeSchema>;
4599
4599
  /** Status of a cache lookup recorded on a span or case scope. */
4600
4600
  declare const cacheStatusSchema: z.ZodEnum<{
4601
- bypass: "bypass";
4602
- refresh: "refresh";
4603
4601
  hit: "hit";
4604
4602
  miss: "miss";
4603
+ refresh: "refresh";
4604
+ bypass: "bypass";
4605
4605
  }>;
4606
4606
  /** Status of a cache lookup recorded on a span or case scope. */
4607
4607
  type CacheStatus = z.infer<typeof cacheStatusSchema>;
@@ -4618,10 +4618,10 @@ declare const traceCacheRefSchema: z.ZodObject<{
4618
4618
  namespace: z.ZodString;
4619
4619
  key: z.ZodString;
4620
4620
  status: z.ZodEnum<{
4621
- bypass: "bypass";
4622
- refresh: "refresh";
4623
4621
  hit: "hit";
4624
4622
  miss: "miss";
4623
+ refresh: "refresh";
4624
+ bypass: "bypass";
4625
4625
  }>;
4626
4626
  read: z.ZodOptional<z.ZodBoolean>;
4627
4627
  stored: z.ZodOptional<z.ZodBoolean>;
@@ -4729,8 +4729,8 @@ declare const cacheRecordingSchema: z.ZodObject<{
4729
4729
  finalStatus: z.ZodOptional<z.ZodEnum<{
4730
4730
  error: "error";
4731
4731
  running: "running";
4732
- ok: "ok";
4733
4732
  cancelled: "cancelled";
4733
+ ok: "ok";
4734
4734
  }>>;
4735
4735
  finalError: z.ZodOptional<z.ZodObject<{
4736
4736
  name: z.ZodOptional<z.ZodString>;
@@ -4817,8 +4817,8 @@ declare const cacheEntrySchema: z.ZodObject<{
4817
4817
  key: z.ZodString;
4818
4818
  namespace: z.ZodString;
4819
4819
  operationType: z.ZodOptional<z.ZodEnum<{
4820
- span: "span";
4821
4820
  value: "value";
4821
+ span: "span";
4822
4822
  }>>;
4823
4823
  operationName: z.ZodOptional<z.ZodString>;
4824
4824
  spanName: z.ZodOptional<z.ZodString>;
@@ -4830,8 +4830,8 @@ declare const cacheEntrySchema: z.ZodObject<{
4830
4830
  finalStatus: z.ZodOptional<z.ZodEnum<{
4831
4831
  error: "error";
4832
4832
  running: "running";
4833
- ok: "ok";
4834
4833
  cancelled: "cancelled";
4834
+ ok: "ok";
4835
4835
  }>>;
4836
4836
  finalError: z.ZodOptional<z.ZodObject<{
4837
4837
  name: z.ZodOptional<z.ZodString>;
@@ -4924,8 +4924,8 @@ declare const cacheDebugKeyEntrySchema: z.ZodObject<{
4924
4924
  key: z.ZodString;
4925
4925
  namespace: z.ZodString;
4926
4926
  operationType: z.ZodEnum<{
4927
- span: "span";
4928
4927
  value: "value";
4928
+ span: "span";
4929
4929
  }>;
4930
4930
  operationName: z.ZodString;
4931
4931
  storedAt: z.ZodString;
@@ -4935,8 +4935,8 @@ declare const cacheDebugKeyEntrySchema: z.ZodObject<{
4935
4935
  key: z.ZodString;
4936
4936
  namespace: z.ZodString;
4937
4937
  operationType: z.ZodOptional<z.ZodEnum<{
4938
- span: "span";
4939
4938
  value: "value";
4939
+ span: "span";
4940
4940
  }>>;
4941
4941
  operationName: z.ZodOptional<z.ZodString>;
4942
4942
  spanName: z.ZodOptional<z.ZodString>;
@@ -4948,8 +4948,8 @@ declare const cacheDebugKeyEntrySchema: z.ZodObject<{
4948
4948
  finalStatus: z.ZodOptional<z.ZodEnum<{
4949
4949
  error: "error";
4950
4950
  running: "running";
4951
- ok: "ok";
4952
4951
  cancelled: "cancelled";
4952
+ ok: "ok";
4953
4953
  }>>;
4954
4954
  finalError: z.ZodOptional<z.ZodObject<{
4955
4955
  name: z.ZodOptional<z.ZodString>;
@@ -5042,8 +5042,8 @@ declare const cacheEntryWithDebugKeySchema$1: z.ZodObject<{
5042
5042
  key: z.ZodString;
5043
5043
  namespace: z.ZodString;
5044
5044
  operationType: z.ZodOptional<z.ZodEnum<{
5045
- span: "span";
5046
5045
  value: "value";
5046
+ span: "span";
5047
5047
  }>>;
5048
5048
  operationName: z.ZodOptional<z.ZodString>;
5049
5049
  spanName: z.ZodOptional<z.ZodString>;
@@ -5055,8 +5055,8 @@ declare const cacheEntryWithDebugKeySchema$1: z.ZodObject<{
5055
5055
  finalStatus: z.ZodOptional<z.ZodEnum<{
5056
5056
  error: "error";
5057
5057
  running: "running";
5058
- ok: "ok";
5059
5058
  cancelled: "cancelled";
5059
+ ok: "ok";
5060
5060
  }>>;
5061
5061
  finalError: z.ZodOptional<z.ZodObject<{
5062
5062
  name: z.ZodOptional<z.ZodString>;
@@ -5140,8 +5140,8 @@ declare const cacheEntryWithDebugKeySchema$1: z.ZodObject<{
5140
5140
  key: z.ZodString;
5141
5141
  namespace: z.ZodString;
5142
5142
  operationType: z.ZodEnum<{
5143
- span: "span";
5144
5143
  value: "value";
5144
+ span: "span";
5145
5145
  }>;
5146
5146
  operationName: z.ZodString;
5147
5147
  storedAt: z.ZodString;
@@ -5151,8 +5151,8 @@ declare const cacheEntryWithDebugKeySchema$1: z.ZodObject<{
5151
5151
  key: z.ZodString;
5152
5152
  namespace: z.ZodString;
5153
5153
  operationType: z.ZodOptional<z.ZodEnum<{
5154
- span: "span";
5155
5154
  value: "value";
5155
+ span: "span";
5156
5156
  }>>;
5157
5157
  operationName: z.ZodOptional<z.ZodString>;
5158
5158
  spanName: z.ZodOptional<z.ZodString>;
@@ -5164,8 +5164,8 @@ declare const cacheEntryWithDebugKeySchema$1: z.ZodObject<{
5164
5164
  finalStatus: z.ZodOptional<z.ZodEnum<{
5165
5165
  error: "error";
5166
5166
  running: "running";
5167
- ok: "ok";
5168
5167
  cancelled: "cancelled";
5168
+ ok: "ok";
5169
5169
  }>>;
5170
5170
  finalError: z.ZodOptional<z.ZodObject<{
5171
5171
  name: z.ZodOptional<z.ZodString>;
@@ -5258,8 +5258,8 @@ declare const cacheFileSchema: z.ZodObject<{
5258
5258
  key: z.ZodString;
5259
5259
  namespace: z.ZodString;
5260
5260
  operationType: z.ZodOptional<z.ZodEnum<{
5261
- span: "span";
5262
5261
  value: "value";
5262
+ span: "span";
5263
5263
  }>>;
5264
5264
  operationName: z.ZodOptional<z.ZodString>;
5265
5265
  spanName: z.ZodOptional<z.ZodString>;
@@ -5271,8 +5271,8 @@ declare const cacheFileSchema: z.ZodObject<{
5271
5271
  finalStatus: z.ZodOptional<z.ZodEnum<{
5272
5272
  error: "error";
5273
5273
  running: "running";
5274
- ok: "ok";
5275
5274
  cancelled: "cancelled";
5275
+ ok: "ok";
5276
5276
  }>>;
5277
5277
  finalError: z.ZodOptional<z.ZodObject<{
5278
5278
  name: z.ZodOptional<z.ZodString>;
@@ -5364,8 +5364,8 @@ declare const cacheDebugKeyFileSchema: z.ZodObject<{
5364
5364
  key: z.ZodString;
5365
5365
  namespace: z.ZodString;
5366
5366
  operationType: z.ZodEnum<{
5367
- span: "span";
5368
5367
  value: "value";
5368
+ span: "span";
5369
5369
  }>;
5370
5370
  operationName: z.ZodString;
5371
5371
  storedAt: z.ZodString;
@@ -5375,8 +5375,8 @@ declare const cacheDebugKeyFileSchema: z.ZodObject<{
5375
5375
  key: z.ZodString;
5376
5376
  namespace: z.ZodString;
5377
5377
  operationType: z.ZodOptional<z.ZodEnum<{
5378
- span: "span";
5379
5378
  value: "value";
5379
+ span: "span";
5380
5380
  }>>;
5381
5381
  operationName: z.ZodOptional<z.ZodString>;
5382
5382
  spanName: z.ZodOptional<z.ZodString>;
@@ -5388,8 +5388,8 @@ declare const cacheDebugKeyFileSchema: z.ZodObject<{
5388
5388
  finalStatus: z.ZodOptional<z.ZodEnum<{
5389
5389
  error: "error";
5390
5390
  running: "running";
5391
- ok: "ok";
5392
5391
  cancelled: "cancelled";
5392
+ ok: "ok";
5393
5393
  }>>;
5394
5394
  finalError: z.ZodOptional<z.ZodObject<{
5395
5395
  name: z.ZodOptional<z.ZodString>;
@@ -5573,8 +5573,8 @@ type ConfigReloadState = z.infer<typeof configReloadStateSchema$1>;
5573
5573
  declare const createRunRequestSchema$1: z.ZodObject<{
5574
5574
  target: z.ZodObject<{
5575
5575
  mode: z.ZodEnum<{
5576
- all: "all";
5577
5576
  caseIds: "caseIds";
5577
+ all: "all";
5578
5578
  evalIds: "evalIds";
5579
5579
  }>;
5580
5580
  evalKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -5587,9 +5587,9 @@ declare const createRunRequestSchema$1: z.ZodObject<{
5587
5587
  temporary: z.ZodOptional<z.ZodBoolean>;
5588
5588
  cache: z.ZodOptional<z.ZodObject<{
5589
5589
  mode: z.ZodDefault<z.ZodEnum<{
5590
- use: "use";
5591
- bypass: "bypass";
5592
5590
  refresh: "refresh";
5591
+ bypass: "bypass";
5592
+ use: "use";
5593
5593
  }>>;
5594
5594
  }, z.core.$strip>>;
5595
5595
  manualInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;