@ls-stack/agent-eval 0.35.1 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -127,6 +127,7 @@ declare const evalSummarySchema$1: z$1.ZodObject<{
127
127
  }>>;
128
128
  }, z$1.core.$strip>>;
129
129
  caseCount: z$1.ZodNullable<z$1.ZodNumber>;
130
+ caseIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
130
131
  lastRunStatus: z$1.ZodNullable<z$1.ZodEnum<{
131
132
  error: "error";
132
133
  pass: "pass";
@@ -617,6 +618,7 @@ declare const runManifestSchema$1: z$1.ZodObject<{
617
618
  cancelled: "cancelled";
618
619
  error: "error";
619
620
  }>;
621
+ temporary: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
620
622
  startedAt: z$1.ZodString;
621
623
  endedAt: z$1.ZodNullable<z$1.ZodString>;
622
624
  commitSha: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
@@ -963,6 +965,7 @@ declare const createRunRequestSchema$1: z$1.ZodObject<{
963
965
  caseIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
964
966
  }, z$1.core.$strip>;
965
967
  trials: z$1.ZodNumber;
968
+ temporary: z$1.ZodOptional<z$1.ZodBoolean>;
966
969
  cache: z$1.ZodOptional<z$1.ZodObject<{
967
970
  mode: z$1.ZodDefault<z$1.ZodEnum<{
968
971
  use: "use";
@@ -2915,13 +2918,13 @@ type ColumnKind = z$1.infer<typeof columnKindSchema>;
2915
2918
  declare const columnFormatSchema: z$1.ZodEnum<{
2916
2919
  number: "number";
2917
2920
  boolean: "boolean";
2918
- duration: "duration";
2919
- json: "json";
2920
2921
  file: "file";
2921
2922
  markdown: "markdown";
2923
+ json: "json";
2922
2924
  image: "image";
2923
2925
  audio: "audio";
2924
2926
  video: "video";
2927
+ duration: "duration";
2925
2928
  percent: "percent";
2926
2929
  passFail: "passFail";
2927
2930
  stars: "stars";
@@ -2940,13 +2943,13 @@ declare const columnDefSchema: z$1.ZodObject<{
2940
2943
  format: z$1.ZodOptional<z$1.ZodEnum<{
2941
2944
  number: "number";
2942
2945
  boolean: "boolean";
2943
- duration: "duration";
2944
- json: "json";
2945
2946
  file: "file";
2946
2947
  markdown: "markdown";
2948
+ json: "json";
2947
2949
  image: "image";
2948
2950
  audio: "audio";
2949
2951
  video: "video";
2952
+ duration: "duration";
2950
2953
  percent: "percent";
2951
2954
  passFail: "passFail";
2952
2955
  stars: "stars";
@@ -2991,8 +2994,8 @@ declare const traceSpanKindSchema: z$1.ZodString;
2991
2994
  declare const traceAttributeDisplayFormatSchema: z$1.ZodEnum<{
2992
2995
  string: "string";
2993
2996
  number: "number";
2994
- duration: "duration";
2995
2997
  json: "json";
2998
+ duration: "duration";
2996
2999
  }>;
2997
3000
  /**
2998
3001
  * Formatting hint for trace attribute values rendered by the UI.
@@ -3016,8 +3019,8 @@ declare const traceAttributeDisplaySchema: z$1.ZodObject<{
3016
3019
  format: z$1.ZodOptional<z$1.ZodEnum<{
3017
3020
  string: "string";
3018
3021
  number: "number";
3019
- duration: "duration";
3020
3022
  json: "json";
3023
+ duration: "duration";
3021
3024
  }>>;
3022
3025
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3023
3026
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3030,9 +3033,9 @@ declare const traceAttributeDisplaySchema: z$1.ZodObject<{
3030
3033
  subtree: "subtree";
3031
3034
  }>>;
3032
3035
  mode: z$1.ZodOptional<z$1.ZodEnum<{
3033
- all: "all";
3034
- last: "last";
3035
3036
  sum: "sum";
3037
+ last: "last";
3038
+ all: "all";
3036
3039
  }>>;
3037
3040
  }, z$1.core.$strip>;
3038
3041
  /**
@@ -3052,8 +3055,8 @@ declare const traceDisplayConfigSchema: z$1.ZodObject<{
3052
3055
  format: z$1.ZodOptional<z$1.ZodEnum<{
3053
3056
  string: "string";
3054
3057
  number: "number";
3055
- duration: "duration";
3056
3058
  json: "json";
3059
+ duration: "duration";
3057
3060
  }>>;
3058
3061
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3059
3062
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3066,9 +3069,9 @@ declare const traceDisplayConfigSchema: z$1.ZodObject<{
3066
3069
  subtree: "subtree";
3067
3070
  }>>;
3068
3071
  mode: z$1.ZodOptional<z$1.ZodEnum<{
3069
- all: "all";
3070
- last: "last";
3071
3072
  sum: "sum";
3073
+ last: "last";
3074
+ all: "all";
3072
3075
  }>>;
3073
3076
  }, z$1.core.$strip>>>;
3074
3077
  }, z$1.core.$strip>;
@@ -3092,8 +3095,8 @@ declare const traceAttributeDisplayInputSchema: z$1.ZodObject<{
3092
3095
  format: z$1.ZodOptional<z$1.ZodEnum<{
3093
3096
  string: "string";
3094
3097
  number: "number";
3095
- duration: "duration";
3096
3098
  json: "json";
3099
+ duration: "duration";
3097
3100
  }>>;
3098
3101
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3099
3102
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3106,9 +3109,9 @@ declare const traceAttributeDisplayInputSchema: z$1.ZodObject<{
3106
3109
  subtree: "subtree";
3107
3110
  }>>;
3108
3111
  mode: z$1.ZodOptional<z$1.ZodEnum<{
3109
- all: "all";
3110
- last: "last";
3111
3112
  sum: "sum";
3113
+ last: "last";
3114
+ all: "all";
3112
3115
  }>>;
3113
3116
  transform: z$1.ZodOptional<z$1.ZodCustom<TraceAttributeTransform, TraceAttributeTransform>>;
3114
3117
  }, z$1.core.$strip>;
@@ -3130,8 +3133,8 @@ declare const traceDisplayInputConfigSchema: z$1.ZodObject<{
3130
3133
  format: z$1.ZodOptional<z$1.ZodEnum<{
3131
3134
  string: "string";
3132
3135
  number: "number";
3133
- duration: "duration";
3134
3136
  json: "json";
3137
+ duration: "duration";
3135
3138
  }>>;
3136
3139
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3137
3140
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3144,9 +3147,9 @@ declare const traceDisplayInputConfigSchema: z$1.ZodObject<{
3144
3147
  subtree: "subtree";
3145
3148
  }>>;
3146
3149
  mode: z$1.ZodOptional<z$1.ZodEnum<{
3147
- all: "all";
3148
- last: "last";
3149
3150
  sum: "sum";
3151
+ last: "last";
3152
+ all: "all";
3150
3153
  }>>;
3151
3154
  transform: z$1.ZodOptional<z$1.ZodCustom<TraceAttributeTransform, TraceAttributeTransform>>;
3152
3155
  }, z$1.core.$strip>>>;
@@ -3183,8 +3186,8 @@ declare const traceSpanSchema: z$1.ZodObject<{
3183
3186
  status: z$1.ZodEnum<{
3184
3187
  error: "error";
3185
3188
  running: "running";
3186
- ok: "ok";
3187
3189
  cancelled: "cancelled";
3190
+ ok: "ok";
3188
3191
  }>;
3189
3192
  attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3190
3193
  error: z$1.ZodOptional<z$1.ZodObject<{
@@ -3225,11 +3228,11 @@ declare const evalFreshnessStatusSchema: z$1.ZodEnum<{
3225
3228
  type EvalFreshnessStatus = z$1.infer<typeof evalFreshnessStatusSchema>;
3226
3229
  /** Reducer used to collapse a column's per-case values into a single stat. */
3227
3230
  declare const evalStatAggregateSchema: z$1.ZodEnum<{
3228
- last: "last";
3229
- sum: "sum";
3230
3231
  avg: "avg";
3231
3232
  min: "min";
3232
3233
  max: "max";
3234
+ sum: "sum";
3235
+ last: "last";
3233
3236
  }>;
3234
3237
  /** Reducer used to collapse a column's per-case values into a single stat. */
3235
3238
  type EvalStatAggregate = z$1.infer<typeof evalStatAggregateSchema>;
@@ -3253,22 +3256,22 @@ declare const evalStatItemSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3253
3256
  key: z$1.ZodString;
3254
3257
  label: z$1.ZodOptional<z$1.ZodString>;
3255
3258
  aggregate: z$1.ZodEnum<{
3256
- last: "last";
3257
- sum: "sum";
3258
3259
  avg: "avg";
3259
3260
  min: "min";
3260
3261
  max: "max";
3262
+ sum: "sum";
3263
+ last: "last";
3261
3264
  }>;
3262
3265
  format: z$1.ZodOptional<z$1.ZodEnum<{
3263
3266
  number: "number";
3264
3267
  boolean: "boolean";
3265
- duration: "duration";
3266
- json: "json";
3267
3268
  file: "file";
3268
3269
  markdown: "markdown";
3270
+ json: "json";
3269
3271
  image: "image";
3270
3272
  audio: "audio";
3271
3273
  video: "video";
3274
+ duration: "duration";
3272
3275
  percent: "percent";
3273
3276
  passFail: "passFail";
3274
3277
  stars: "stars";
@@ -3295,22 +3298,22 @@ declare const evalStatsConfigSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1
3295
3298
  key: z$1.ZodString;
3296
3299
  label: z$1.ZodOptional<z$1.ZodString>;
3297
3300
  aggregate: z$1.ZodEnum<{
3298
- last: "last";
3299
- sum: "sum";
3300
3301
  avg: "avg";
3301
3302
  min: "min";
3302
3303
  max: "max";
3304
+ sum: "sum";
3305
+ last: "last";
3303
3306
  }>;
3304
3307
  format: z$1.ZodOptional<z$1.ZodEnum<{
3305
3308
  number: "number";
3306
3309
  boolean: "boolean";
3307
- duration: "duration";
3308
- json: "json";
3309
3310
  file: "file";
3310
3311
  markdown: "markdown";
3312
+ json: "json";
3311
3313
  image: "image";
3312
3314
  audio: "audio";
3313
3315
  video: "video";
3316
+ duration: "duration";
3314
3317
  percent: "percent";
3315
3318
  passFail: "passFail";
3316
3319
  stars: "stars";
@@ -3347,13 +3350,13 @@ declare const evalSummarySchema: z$1.ZodObject<{
3347
3350
  format: z$1.ZodOptional<z$1.ZodEnum<{
3348
3351
  number: "number";
3349
3352
  boolean: "boolean";
3350
- duration: "duration";
3351
- json: "json";
3352
3353
  file: "file";
3353
3354
  markdown: "markdown";
3355
+ json: "json";
3354
3356
  image: "image";
3355
3357
  audio: "audio";
3356
3358
  video: "video";
3359
+ duration: "duration";
3357
3360
  percent: "percent";
3358
3361
  passFail: "passFail";
3359
3362
  stars: "stars";
@@ -3372,12 +3375,13 @@ declare const evalSummarySchema: z$1.ZodObject<{
3372
3375
  }>>;
3373
3376
  }, z$1.core.$strip>>;
3374
3377
  caseCount: z$1.ZodNullable<z$1.ZodNumber>;
3378
+ caseIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3375
3379
  lastRunStatus: z$1.ZodNullable<z$1.ZodEnum<{
3376
3380
  error: "error";
3377
- running: "running";
3378
- cancelled: "cancelled";
3379
3381
  pass: "pass";
3380
3382
  fail: "fail";
3383
+ running: "running";
3384
+ cancelled: "cancelled";
3381
3385
  unscored: "unscored";
3382
3386
  }>>;
3383
3387
  stats: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -3396,22 +3400,22 @@ declare const evalSummarySchema: z$1.ZodObject<{
3396
3400
  key: z$1.ZodString;
3397
3401
  label: z$1.ZodOptional<z$1.ZodString>;
3398
3402
  aggregate: z$1.ZodEnum<{
3399
- last: "last";
3400
- sum: "sum";
3401
3403
  avg: "avg";
3402
3404
  min: "min";
3403
3405
  max: "max";
3406
+ sum: "sum";
3407
+ last: "last";
3404
3408
  }>;
3405
3409
  format: z$1.ZodOptional<z$1.ZodEnum<{
3406
3410
  number: "number";
3407
3411
  boolean: "boolean";
3408
- duration: "duration";
3409
- json: "json";
3410
3412
  file: "file";
3411
3413
  markdown: "markdown";
3414
+ json: "json";
3412
3415
  image: "image";
3413
3416
  audio: "audio";
3414
3417
  video: "video";
3418
+ duration: "duration";
3415
3419
  percent: "percent";
3416
3420
  passFail: "passFail";
3417
3421
  stars: "stars";
@@ -3436,11 +3440,11 @@ declare const evalSummarySchema: z$1.ZodObject<{
3436
3440
  }>;
3437
3441
  label: z$1.ZodOptional<z$1.ZodString>;
3438
3442
  color: z$1.ZodOptional<z$1.ZodEnum<{
3439
- error: "error";
3440
3443
  success: "success";
3441
- warning: "warning";
3444
+ error: "error";
3442
3445
  accent: "accent";
3443
3446
  accentDim: "accentDim";
3447
+ warning: "warning";
3444
3448
  textMuted: "textMuted";
3445
3449
  }>>;
3446
3450
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -3451,20 +3455,20 @@ declare const evalSummarySchema: z$1.ZodObject<{
3451
3455
  source: z$1.ZodLiteral<"column">;
3452
3456
  key: z$1.ZodString;
3453
3457
  aggregate: z$1.ZodEnum<{
3454
- sum: "sum";
3455
3458
  avg: "avg";
3456
3459
  min: "min";
3457
3460
  max: "max";
3461
+ sum: "sum";
3458
3462
  latest: "latest";
3459
3463
  passThresholdRate: "passThresholdRate";
3460
3464
  }>;
3461
3465
  label: z$1.ZodOptional<z$1.ZodString>;
3462
3466
  color: z$1.ZodOptional<z$1.ZodEnum<{
3463
- error: "error";
3464
3467
  success: "success";
3465
- warning: "warning";
3468
+ error: "error";
3466
3469
  accent: "accent";
3467
3470
  accentDim: "accentDim";
3471
+ warning: "warning";
3468
3472
  textMuted: "textMuted";
3469
3473
  }>>;
3470
3474
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -3493,10 +3497,10 @@ declare const evalSummarySchema: z$1.ZodObject<{
3493
3497
  source: z$1.ZodLiteral<"column">;
3494
3498
  key: z$1.ZodString;
3495
3499
  aggregate: z$1.ZodEnum<{
3496
- sum: "sum";
3497
3500
  avg: "avg";
3498
3501
  min: "min";
3499
3502
  max: "max";
3503
+ sum: "sum";
3500
3504
  latest: "latest";
3501
3505
  passThresholdRate: "passThresholdRate";
3502
3506
  }>;
@@ -3592,11 +3596,11 @@ declare const caseRowSchema: z$1.ZodObject<{
3592
3596
  evalId: z$1.ZodString;
3593
3597
  status: z$1.ZodEnum<{
3594
3598
  error: "error";
3599
+ pass: "pass";
3600
+ fail: "fail";
3595
3601
  running: "running";
3596
3602
  cancelled: "cancelled";
3597
3603
  pending: "pending";
3598
- pass: "pass";
3599
- fail: "fail";
3600
3604
  }>;
3601
3605
  durationMs: z$1.ZodNullable<z$1.ZodNumber>;
3602
3606
  costUsd: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
@@ -3688,8 +3692,8 @@ declare const scoreTraceSchema: z$1.ZodObject<{
3688
3692
  status: z$1.ZodEnum<{
3689
3693
  error: "error";
3690
3694
  running: "running";
3691
- ok: "ok";
3692
3695
  cancelled: "cancelled";
3696
+ ok: "ok";
3693
3697
  }>;
3694
3698
  attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3695
3699
  error: z$1.ZodOptional<z$1.ZodObject<{
@@ -3725,8 +3729,8 @@ declare const scoreTraceSchema: z$1.ZodObject<{
3725
3729
  format: z$1.ZodOptional<z$1.ZodEnum<{
3726
3730
  string: "string";
3727
3731
  number: "number";
3728
- duration: "duration";
3729
3732
  json: "json";
3733
+ duration: "duration";
3730
3734
  }>>;
3731
3735
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3732
3736
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3739,9 +3743,9 @@ declare const scoreTraceSchema: z$1.ZodObject<{
3739
3743
  subtree: "subtree";
3740
3744
  }>>;
3741
3745
  mode: z$1.ZodOptional<z$1.ZodEnum<{
3742
- all: "all";
3743
- last: "last";
3744
3746
  sum: "sum";
3747
+ last: "last";
3748
+ all: "all";
3745
3749
  }>>;
3746
3750
  }, z$1.core.$strip>>>;
3747
3751
  }, z$1.core.$strip>;
@@ -3756,11 +3760,11 @@ declare const caseDetailSchema: z$1.ZodObject<{
3756
3760
  evalId: z$1.ZodString;
3757
3761
  status: z$1.ZodEnum<{
3758
3762
  error: "error";
3763
+ pass: "pass";
3764
+ fail: "fail";
3759
3765
  running: "running";
3760
3766
  cancelled: "cancelled";
3761
3767
  pending: "pending";
3762
- pass: "pass";
3763
- fail: "fail";
3764
3768
  }>;
3765
3769
  input: z$1.ZodUnknown;
3766
3770
  trace: z$1.ZodArray<z$1.ZodObject<{
@@ -3774,8 +3778,8 @@ declare const caseDetailSchema: z$1.ZodObject<{
3774
3778
  status: z$1.ZodEnum<{
3775
3779
  error: "error";
3776
3780
  running: "running";
3777
- ok: "ok";
3778
3781
  cancelled: "cancelled";
3782
+ ok: "ok";
3779
3783
  }>;
3780
3784
  attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3781
3785
  error: z$1.ZodOptional<z$1.ZodObject<{
@@ -3811,8 +3815,8 @@ declare const caseDetailSchema: z$1.ZodObject<{
3811
3815
  format: z$1.ZodOptional<z$1.ZodEnum<{
3812
3816
  string: "string";
3813
3817
  number: "number";
3814
- duration: "duration";
3815
3818
  json: "json";
3819
+ duration: "duration";
3816
3820
  }>>;
3817
3821
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3818
3822
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3825,9 +3829,9 @@ declare const caseDetailSchema: z$1.ZodObject<{
3825
3829
  subtree: "subtree";
3826
3830
  }>>;
3827
3831
  mode: z$1.ZodOptional<z$1.ZodEnum<{
3828
- all: "all";
3829
- last: "last";
3830
3832
  sum: "sum";
3833
+ last: "last";
3834
+ all: "all";
3831
3835
  }>>;
3832
3836
  }, z$1.core.$strip>>>;
3833
3837
  }, z$1.core.$strip>;
@@ -3843,8 +3847,8 @@ declare const caseDetailSchema: z$1.ZodObject<{
3843
3847
  status: z$1.ZodEnum<{
3844
3848
  error: "error";
3845
3849
  running: "running";
3846
- ok: "ok";
3847
3850
  cancelled: "cancelled";
3851
+ ok: "ok";
3848
3852
  }>;
3849
3853
  attributes: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3850
3854
  error: z$1.ZodOptional<z$1.ZodObject<{
@@ -3880,8 +3884,8 @@ declare const caseDetailSchema: z$1.ZodObject<{
3880
3884
  format: z$1.ZodOptional<z$1.ZodEnum<{
3881
3885
  string: "string";
3882
3886
  number: "number";
3883
- duration: "duration";
3884
3887
  json: "json";
3888
+ duration: "duration";
3885
3889
  }>>;
3886
3890
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
3887
3891
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -3894,9 +3898,9 @@ declare const caseDetailSchema: z$1.ZodObject<{
3894
3898
  subtree: "subtree";
3895
3899
  }>>;
3896
3900
  mode: z$1.ZodOptional<z$1.ZodEnum<{
3897
- all: "all";
3898
- last: "last";
3899
3901
  sum: "sum";
3902
+ last: "last";
3903
+ all: "all";
3900
3904
  }>>;
3901
3905
  }, z$1.core.$strip>>>;
3902
3906
  }, z$1.core.$strip>;
@@ -3956,10 +3960,10 @@ declare const caseDetailSchema: z$1.ZodObject<{
3956
3960
  namespace: z$1.ZodString;
3957
3961
  key: z$1.ZodString;
3958
3962
  status: z$1.ZodEnum<{
3959
- bypass: "bypass";
3960
- refresh: "refresh";
3961
3963
  hit: "hit";
3962
3964
  miss: "miss";
3965
+ refresh: "refresh";
3966
+ bypass: "bypass";
3963
3967
  }>;
3964
3968
  read: z$1.ZodOptional<z$1.ZodBoolean>;
3965
3969
  stored: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -4030,10 +4034,10 @@ declare const evalChartBuiltinMetricSchema: z$1.ZodEnum<{
4030
4034
  type EvalChartBuiltinMetric = z$1.infer<typeof evalChartBuiltinMetricSchema>;
4031
4035
  /** Reducer applied to a numeric column across all cases of a single run. */
4032
4036
  declare const evalChartAggregateSchema: z$1.ZodEnum<{
4033
- sum: "sum";
4034
4037
  avg: "avg";
4035
4038
  min: "min";
4036
4039
  max: "max";
4040
+ sum: "sum";
4037
4041
  latest: "latest";
4038
4042
  passThresholdRate: "passThresholdRate";
4039
4043
  }>;
@@ -4044,11 +4048,11 @@ type EvalChartAggregate = z$1.infer<typeof evalChartAggregateSchema>;
4044
4048
  * not emit raw hex so authored evals stay decoupled from the web theme.
4045
4049
  */
4046
4050
  declare const evalChartColorSchema: z$1.ZodEnum<{
4047
- error: "error";
4048
4051
  success: "success";
4049
- warning: "warning";
4052
+ error: "error";
4050
4053
  accent: "accent";
4051
4054
  accentDim: "accentDim";
4055
+ warning: "warning";
4052
4056
  textMuted: "textMuted";
4053
4057
  }>;
4054
4058
  /** Semantic color token resolved to a theme color by the web UI. */
@@ -4073,11 +4077,11 @@ declare const evalChartMetricSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4073
4077
  }>;
4074
4078
  label: z$1.ZodOptional<z$1.ZodString>;
4075
4079
  color: z$1.ZodOptional<z$1.ZodEnum<{
4076
- error: "error";
4077
4080
  success: "success";
4078
- warning: "warning";
4081
+ error: "error";
4079
4082
  accent: "accent";
4080
4083
  accentDim: "accentDim";
4084
+ warning: "warning";
4081
4085
  textMuted: "textMuted";
4082
4086
  }>>;
4083
4087
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -4088,20 +4092,20 @@ declare const evalChartMetricSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4088
4092
  source: z$1.ZodLiteral<"column">;
4089
4093
  key: z$1.ZodString;
4090
4094
  aggregate: z$1.ZodEnum<{
4091
- sum: "sum";
4092
4095
  avg: "avg";
4093
4096
  min: "min";
4094
4097
  max: "max";
4098
+ sum: "sum";
4095
4099
  latest: "latest";
4096
4100
  passThresholdRate: "passThresholdRate";
4097
4101
  }>;
4098
4102
  label: z$1.ZodOptional<z$1.ZodString>;
4099
4103
  color: z$1.ZodOptional<z$1.ZodEnum<{
4100
- error: "error";
4101
4104
  success: "success";
4102
- warning: "warning";
4105
+ error: "error";
4103
4106
  accent: "accent";
4104
4107
  accentDim: "accentDim";
4108
+ warning: "warning";
4105
4109
  textMuted: "textMuted";
4106
4110
  }>>;
4107
4111
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -4123,10 +4127,10 @@ declare const evalChartTooltipExtraSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
4123
4127
  source: z$1.ZodLiteral<"column">;
4124
4128
  key: z$1.ZodString;
4125
4129
  aggregate: z$1.ZodEnum<{
4126
- sum: "sum";
4127
4130
  avg: "avg";
4128
4131
  min: "min";
4129
4132
  max: "max";
4133
+ sum: "sum";
4130
4134
  latest: "latest";
4131
4135
  passThresholdRate: "passThresholdRate";
4132
4136
  }>;
@@ -4156,11 +4160,11 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
4156
4160
  }>;
4157
4161
  label: z$1.ZodOptional<z$1.ZodString>;
4158
4162
  color: z$1.ZodOptional<z$1.ZodEnum<{
4159
- error: "error";
4160
4163
  success: "success";
4161
- warning: "warning";
4164
+ error: "error";
4162
4165
  accent: "accent";
4163
4166
  accentDim: "accentDim";
4167
+ warning: "warning";
4164
4168
  textMuted: "textMuted";
4165
4169
  }>>;
4166
4170
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -4171,20 +4175,20 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
4171
4175
  source: z$1.ZodLiteral<"column">;
4172
4176
  key: z$1.ZodString;
4173
4177
  aggregate: z$1.ZodEnum<{
4174
- sum: "sum";
4175
4178
  avg: "avg";
4176
4179
  min: "min";
4177
4180
  max: "max";
4181
+ sum: "sum";
4178
4182
  latest: "latest";
4179
4183
  passThresholdRate: "passThresholdRate";
4180
4184
  }>;
4181
4185
  label: z$1.ZodOptional<z$1.ZodString>;
4182
4186
  color: z$1.ZodOptional<z$1.ZodEnum<{
4183
- error: "error";
4184
4187
  success: "success";
4185
- warning: "warning";
4188
+ error: "error";
4186
4189
  accent: "accent";
4187
4190
  accentDim: "accentDim";
4191
+ warning: "warning";
4188
4192
  textMuted: "textMuted";
4189
4193
  }>>;
4190
4194
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -4213,10 +4217,10 @@ declare const evalChartConfigSchema: z$1.ZodObject<{
4213
4217
  source: z$1.ZodLiteral<"column">;
4214
4218
  key: z$1.ZodString;
4215
4219
  aggregate: z$1.ZodEnum<{
4216
- sum: "sum";
4217
4220
  avg: "avg";
4218
4221
  min: "min";
4219
4222
  max: "max";
4223
+ sum: "sum";
4220
4224
  latest: "latest";
4221
4225
  passThresholdRate: "passThresholdRate";
4222
4226
  }>;
@@ -4246,11 +4250,11 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
4246
4250
  }>;
4247
4251
  label: z$1.ZodOptional<z$1.ZodString>;
4248
4252
  color: z$1.ZodOptional<z$1.ZodEnum<{
4249
- error: "error";
4250
4253
  success: "success";
4251
- warning: "warning";
4254
+ error: "error";
4252
4255
  accent: "accent";
4253
4256
  accentDim: "accentDim";
4257
+ warning: "warning";
4254
4258
  textMuted: "textMuted";
4255
4259
  }>>;
4256
4260
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -4261,20 +4265,20 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
4261
4265
  source: z$1.ZodLiteral<"column">;
4262
4266
  key: z$1.ZodString;
4263
4267
  aggregate: z$1.ZodEnum<{
4264
- sum: "sum";
4265
4268
  avg: "avg";
4266
4269
  min: "min";
4267
4270
  max: "max";
4271
+ sum: "sum";
4268
4272
  latest: "latest";
4269
4273
  passThresholdRate: "passThresholdRate";
4270
4274
  }>;
4271
4275
  label: z$1.ZodOptional<z$1.ZodString>;
4272
4276
  color: z$1.ZodOptional<z$1.ZodEnum<{
4273
- error: "error";
4274
4277
  success: "success";
4275
- warning: "warning";
4278
+ error: "error";
4276
4279
  accent: "accent";
4277
4280
  accentDim: "accentDim";
4281
+ warning: "warning";
4278
4282
  textMuted: "textMuted";
4279
4283
  }>>;
4280
4284
  axis: z$1.ZodOptional<z$1.ZodEnum<{
@@ -4303,10 +4307,10 @@ declare const evalChartsConfigSchema: z$1.ZodArray<z$1.ZodObject<{
4303
4307
  source: z$1.ZodLiteral<"column">;
4304
4308
  key: z$1.ZodString;
4305
4309
  aggregate: z$1.ZodEnum<{
4306
- sum: "sum";
4307
4310
  avg: "avg";
4308
4311
  min: "min";
4309
4312
  max: "max";
4313
+ sum: "sum";
4310
4314
  latest: "latest";
4311
4315
  passThresholdRate: "passThresholdRate";
4312
4316
  }>;
@@ -4327,15 +4331,16 @@ declare const runManifestSchema: z$1.ZodObject<{
4327
4331
  pending: "pending";
4328
4332
  completed: "completed";
4329
4333
  }>;
4334
+ temporary: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
4330
4335
  startedAt: z$1.ZodString;
4331
4336
  endedAt: z$1.ZodNullable<z$1.ZodString>;
4332
4337
  commitSha: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
4333
4338
  evalSourceFingerprints: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
4334
4339
  target: z$1.ZodObject<{
4335
4340
  mode: z$1.ZodEnum<{
4341
+ caseIds: "caseIds";
4336
4342
  all: "all";
4337
4343
  evalIds: "evalIds";
4338
- caseIds: "caseIds";
4339
4344
  }>;
4340
4345
  evalKeys: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4341
4346
  files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
@@ -4348,9 +4353,9 @@ declare const runManifestSchema: z$1.ZodObject<{
4348
4353
  median: "median";
4349
4354
  }>>>;
4350
4355
  cacheMode: z$1.ZodOptional<z$1.ZodEnum<{
4351
- use: "use";
4352
- bypass: "bypass";
4353
4356
  refresh: "refresh";
4357
+ bypass: "bypass";
4358
+ use: "use";
4354
4359
  }>>;
4355
4360
  }, z$1.core.$strip>;
4356
4361
  /** Persisted lifecycle metadata for a single eval run. */
@@ -4581,8 +4586,8 @@ declare const llmCallMetricFormatSchema: z$1.ZodEnum<{
4581
4586
  string: "string";
4582
4587
  number: "number";
4583
4588
  boolean: "boolean";
4584
- duration: "duration";
4585
4589
  json: "json";
4590
+ duration: "duration";
4586
4591
  }>;
4587
4592
  /** Render format applied to an LLM-call metric value. */
4588
4593
  type LlmCallMetricFormat = z$1.infer<typeof llmCallMetricFormatSchema>;
@@ -4591,8 +4596,8 @@ declare const apiCallMetricFormatSchema: z$1.ZodEnum<{
4591
4596
  string: "string";
4592
4597
  number: "number";
4593
4598
  boolean: "boolean";
4594
- duration: "duration";
4595
4599
  json: "json";
4600
+ duration: "duration";
4596
4601
  }>;
4597
4602
  /** Render format applied to an API-call metric value. */
4598
4603
  type ApiCallMetricFormat = z$1.infer<typeof apiCallMetricFormatSchema>;
@@ -4661,8 +4666,8 @@ declare const llmCallMetricSchema: z$1.ZodObject<{
4661
4666
  string: "string";
4662
4667
  number: "number";
4663
4668
  boolean: "boolean";
4664
- duration: "duration";
4665
4669
  json: "json";
4670
+ duration: "duration";
4666
4671
  }>>;
4667
4672
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
4668
4673
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -4690,8 +4695,8 @@ declare const apiCallMetricSchema: z$1.ZodObject<{
4690
4695
  string: "string";
4691
4696
  number: "number";
4692
4697
  boolean: "boolean";
4693
- duration: "duration";
4694
4698
  json: "json";
4699
+ duration: "duration";
4695
4700
  }>>;
4696
4701
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
4697
4702
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -4804,8 +4809,8 @@ declare const llmCallsConfigSchema: z$1.ZodObject<{
4804
4809
  string: "string";
4805
4810
  number: "number";
4806
4811
  boolean: "boolean";
4807
- duration: "duration";
4808
4812
  json: "json";
4813
+ duration: "duration";
4809
4814
  }>>;
4810
4815
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
4811
4816
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -4840,8 +4845,8 @@ declare const apiCallsConfigSchema: z$1.ZodObject<{
4840
4845
  string: "string";
4841
4846
  number: "number";
4842
4847
  boolean: "boolean";
4843
- duration: "duration";
4844
4848
  json: "json";
4849
+ duration: "duration";
4845
4850
  }>>;
4846
4851
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
4847
4852
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -5142,8 +5147,8 @@ declare const agentEvalsConfigSchema: z$1.ZodObject<{
5142
5147
  format: z$1.ZodOptional<z$1.ZodEnum<{
5143
5148
  string: "string";
5144
5149
  number: "number";
5145
- duration: "duration";
5146
5150
  json: "json";
5151
+ duration: "duration";
5147
5152
  }>>;
5148
5153
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
5149
5154
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -5156,9 +5161,9 @@ declare const agentEvalsConfigSchema: z$1.ZodObject<{
5156
5161
  subtree: "subtree";
5157
5162
  }>>;
5158
5163
  mode: z$1.ZodOptional<z$1.ZodEnum<{
5159
- all: "all";
5160
- last: "last";
5161
5164
  sum: "sum";
5165
+ last: "last";
5166
+ all: "all";
5162
5167
  }>>;
5163
5168
  transform: z$1.ZodOptional<z$1.ZodCustom<TraceAttributeTransform, TraceAttributeTransform>>;
5164
5169
  }, z$1.core.$strip>>>;
@@ -5181,22 +5186,22 @@ declare const agentEvalsConfigSchema: z$1.ZodObject<{
5181
5186
  key: z$1.ZodString;
5182
5187
  label: z$1.ZodOptional<z$1.ZodString>;
5183
5188
  aggregate: z$1.ZodEnum<{
5184
- last: "last";
5185
- sum: "sum";
5186
5189
  avg: "avg";
5187
5190
  min: "min";
5188
5191
  max: "max";
5192
+ sum: "sum";
5193
+ last: "last";
5189
5194
  }>;
5190
5195
  format: z$1.ZodOptional<z$1.ZodEnum<{
5191
5196
  number: "number";
5192
5197
  boolean: "boolean";
5193
- duration: "duration";
5194
- json: "json";
5195
5198
  file: "file";
5196
5199
  markdown: "markdown";
5200
+ json: "json";
5197
5201
  image: "image";
5198
5202
  audio: "audio";
5199
5203
  video: "video";
5204
+ duration: "duration";
5200
5205
  percent: "percent";
5201
5206
  passFail: "passFail";
5202
5207
  stars: "stars";
@@ -5255,8 +5260,8 @@ declare const agentEvalsConfigSchema: z$1.ZodObject<{
5255
5260
  string: "string";
5256
5261
  number: "number";
5257
5262
  boolean: "boolean";
5258
- duration: "duration";
5259
5263
  json: "json";
5264
+ duration: "duration";
5260
5265
  }>>;
5261
5266
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
5262
5267
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -5300,8 +5305,8 @@ declare const agentEvalsConfigSchema: z$1.ZodObject<{
5300
5305
  string: "string";
5301
5306
  number: "number";
5302
5307
  boolean: "boolean";
5303
- duration: "duration";
5304
5308
  json: "json";
5309
+ duration: "duration";
5305
5310
  }>>;
5306
5311
  numberFormat: z$1.ZodOptional<z$1.ZodType<NumberDisplayOptions, unknown, z$1.core.$ZodTypeInternals<NumberDisplayOptions, unknown>>>;
5307
5312
  placements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
@@ -5534,9 +5539,9 @@ declare function extractApiCalls(spans: EvalTraceSpan[], config: ResolvedApiCall
5534
5539
  * - `refresh`: never read, always write (forces re-execution and overwrites).
5535
5540
  */
5536
5541
  declare const cacheModeSchema: z$1.ZodEnum<{
5537
- use: "use";
5538
- bypass: "bypass";
5539
5542
  refresh: "refresh";
5543
+ bypass: "bypass";
5544
+ use: "use";
5540
5545
  }>;
5541
5546
  /** Mode controlling how cached spans behave during a run. */
5542
5547
  type CacheMode = z$1.infer<typeof cacheModeSchema>;
@@ -5557,10 +5562,10 @@ declare const cacheOperationTypeSchema: z$1.ZodEnum<{
5557
5562
  type CacheOperationType = z$1.infer<typeof cacheOperationTypeSchema>;
5558
5563
  /** Status of a cache lookup recorded on a span or case scope. */
5559
5564
  declare const cacheStatusSchema: z$1.ZodEnum<{
5560
- bypass: "bypass";
5561
- refresh: "refresh";
5562
5565
  hit: "hit";
5563
5566
  miss: "miss";
5567
+ refresh: "refresh";
5568
+ bypass: "bypass";
5564
5569
  }>;
5565
5570
  /** Status of a cache lookup recorded on a span or case scope. */
5566
5571
  type CacheStatus = z$1.infer<typeof cacheStatusSchema>;
@@ -5577,10 +5582,10 @@ declare const traceCacheRefSchema: z$1.ZodObject<{
5577
5582
  namespace: z$1.ZodString;
5578
5583
  key: z$1.ZodString;
5579
5584
  status: z$1.ZodEnum<{
5580
- bypass: "bypass";
5581
- refresh: "refresh";
5582
5585
  hit: "hit";
5583
5586
  miss: "miss";
5587
+ refresh: "refresh";
5588
+ bypass: "bypass";
5584
5589
  }>;
5585
5590
  read: z$1.ZodOptional<z$1.ZodBoolean>;
5586
5591
  stored: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -5658,8 +5663,8 @@ declare const cacheRecordingSchema: z$1.ZodObject<{
5658
5663
  finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
5659
5664
  error: "error";
5660
5665
  running: "running";
5661
- ok: "ok";
5662
5666
  cancelled: "cancelled";
5667
+ ok: "ok";
5663
5668
  }>>;
5664
5669
  finalError: z$1.ZodOptional<z$1.ZodObject<{
5665
5670
  name: z$1.ZodOptional<z$1.ZodString>;
@@ -5731,8 +5736,8 @@ declare const cacheEntrySchema: z$1.ZodObject<{
5731
5736
  finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
5732
5737
  error: "error";
5733
5738
  running: "running";
5734
- ok: "ok";
5735
5739
  cancelled: "cancelled";
5740
+ ok: "ok";
5736
5741
  }>>;
5737
5742
  finalError: z$1.ZodOptional<z$1.ZodObject<{
5738
5743
  name: z$1.ZodOptional<z$1.ZodString>;
@@ -5820,8 +5825,8 @@ declare const cacheEntryWithDebugKeySchema: z$1.ZodObject<{
5820
5825
  finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
5821
5826
  error: "error";
5822
5827
  running: "running";
5823
- ok: "ok";
5824
5828
  cancelled: "cancelled";
5829
+ ok: "ok";
5825
5830
  }>>;
5826
5831
  finalError: z$1.ZodOptional<z$1.ZodObject<{
5827
5832
  name: z$1.ZodOptional<z$1.ZodString>;
@@ -5909,8 +5914,8 @@ declare const cacheFileSchema: z$1.ZodObject<{
5909
5914
  finalStatus: z$1.ZodOptional<z$1.ZodEnum<{
5910
5915
  error: "error";
5911
5916
  running: "running";
5912
- ok: "ok";
5913
5917
  cancelled: "cancelled";
5918
+ ok: "ok";
5914
5919
  }>>;
5915
5920
  finalError: z$1.ZodOptional<z$1.ZodObject<{
5916
5921
  name: z$1.ZodOptional<z$1.ZodString>;
@@ -6084,9 +6089,9 @@ type ConfigReloadState = z$1.infer<typeof configReloadStateSchema>;
6084
6089
  declare const createRunRequestSchema: z$1.ZodObject<{
6085
6090
  target: z$1.ZodObject<{
6086
6091
  mode: z$1.ZodEnum<{
6092
+ caseIds: "caseIds";
6087
6093
  all: "all";
6088
6094
  evalIds: "evalIds";
6089
- caseIds: "caseIds";
6090
6095
  }>;
6091
6096
  evalKeys: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6092
6097
  files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
@@ -6094,11 +6099,12 @@ declare const createRunRequestSchema: z$1.ZodObject<{
6094
6099
  caseIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6095
6100
  }, z$1.core.$strip>;
6096
6101
  trials: z$1.ZodNumber;
6102
+ temporary: z$1.ZodOptional<z$1.ZodBoolean>;
6097
6103
  cache: z$1.ZodOptional<z$1.ZodObject<{
6098
6104
  mode: z$1.ZodDefault<z$1.ZodEnum<{
6099
- use: "use";
6100
- bypass: "bypass";
6101
6105
  refresh: "refresh";
6106
+ bypass: "bypass";
6107
+ use: "use";
6102
6108
  }>>;
6103
6109
  }, z$1.core.$strip>>;
6104
6110
  manualInputs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;