promptfoo 0.91.3 → 0.92.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.
Files changed (181) hide show
  1. package/dist/drizzle/0006_harsh_caretaker.sql +42 -0
  2. package/dist/drizzle/0007_cloudy_wong.sql +1 -0
  3. package/dist/drizzle/meta/0006_snapshot.json +721 -0
  4. package/dist/drizzle/meta/0007_snapshot.json +723 -0
  5. package/dist/drizzle/meta/_journal.json +14 -0
  6. package/dist/package.json +10 -8
  7. package/dist/src/app/assets/{index-C6z1nbLN.js → index-BpjzEMiv.js} +243 -241
  8. package/dist/src/app/assets/{index.es-oqbvfIxR.js → index.es-ihzvEu35.js} +1 -1
  9. package/dist/src/app/assets/{sync-D2s75VlC.js → sync-BosjlpGJ.js} +1 -1
  10. package/dist/src/app/index.html +3 -3
  11. package/dist/src/assertions.js +2 -2
  12. package/dist/src/assertions.js.map +1 -1
  13. package/dist/src/commands/cache.d.ts.map +1 -1
  14. package/dist/src/commands/cache.js +0 -2
  15. package/dist/src/commands/cache.js.map +1 -1
  16. package/dist/src/commands/eval.d.ts.map +1 -1
  17. package/dist/src/commands/eval.js +19 -16
  18. package/dist/src/commands/eval.js.map +1 -1
  19. package/dist/src/commands/export.d.ts.map +1 -1
  20. package/dist/src/commands/export.js +8 -31
  21. package/dist/src/commands/export.js.map +1 -1
  22. package/dist/src/commands/import.d.ts.map +1 -1
  23. package/dist/src/commands/import.js +52 -13
  24. package/dist/src/commands/import.js.map +1 -1
  25. package/dist/src/commands/list.d.ts.map +1 -1
  26. package/dist/src/commands/list.js +35 -7
  27. package/dist/src/commands/list.js.map +1 -1
  28. package/dist/src/commands/share.d.ts +2 -2
  29. package/dist/src/commands/share.d.ts.map +1 -1
  30. package/dist/src/commands/share.js +12 -13
  31. package/dist/src/commands/share.js.map +1 -1
  32. package/dist/src/commands/show.d.ts.map +1 -1
  33. package/dist/src/commands/show.js +10 -6
  34. package/dist/src/commands/show.js.map +1 -1
  35. package/dist/src/constants.d.ts +1 -0
  36. package/dist/src/constants.d.ts.map +1 -1
  37. package/dist/src/constants.js +2 -1
  38. package/dist/src/constants.js.map +1 -1
  39. package/dist/src/database/index.js +1 -1
  40. package/dist/src/database/index.js.map +1 -1
  41. package/dist/src/database/tables.d.ts +609 -11
  42. package/dist/src/database/tables.d.ts.map +1 -1
  43. package/dist/src/database/tables.js +111 -52
  44. package/dist/src/database/tables.js.map +1 -1
  45. package/dist/src/database/types.d.ts +3 -3
  46. package/dist/src/database/types.d.ts.map +1 -1
  47. package/dist/src/evaluator.d.ts +3 -2
  48. package/dist/src/evaluator.d.ts.map +1 -1
  49. package/dist/src/evaluator.js +75 -104
  50. package/dist/src/evaluator.js.map +1 -1
  51. package/dist/src/evaluatorHelpers.d.ts.map +1 -1
  52. package/dist/src/evaluatorHelpers.js +2 -1
  53. package/dist/src/evaluatorHelpers.js.map +1 -1
  54. package/dist/src/index.d.ts +2 -1
  55. package/dist/src/index.d.ts.map +1 -1
  56. package/dist/src/index.js +18 -10
  57. package/dist/src/index.js.map +1 -1
  58. package/dist/src/models/eval.d.ts +95 -0
  59. package/dist/src/models/eval.d.ts.map +1 -0
  60. package/dist/src/models/eval.js +390 -0
  61. package/dist/src/models/eval.js.map +1 -0
  62. package/dist/src/models/evalResult.d.ts +50 -0
  63. package/dist/src/models/evalResult.d.ts.map +1 -0
  64. package/dist/src/models/evalResult.js +122 -0
  65. package/dist/src/models/evalResult.js.map +1 -0
  66. package/dist/src/models/provider.d.ts +9 -0
  67. package/dist/src/models/provider.d.ts.map +1 -0
  68. package/dist/src/models/provider.js +47 -0
  69. package/dist/src/models/provider.js.map +1 -0
  70. package/dist/src/prompts/index.d.ts.map +1 -1
  71. package/dist/src/prompts/index.js +2 -1
  72. package/dist/src/prompts/index.js.map +1 -1
  73. package/dist/src/prompts/utils.d.ts +1 -0
  74. package/dist/src/prompts/utils.d.ts.map +1 -1
  75. package/dist/src/prompts/utils.js +7 -0
  76. package/dist/src/prompts/utils.js.map +1 -1
  77. package/dist/src/providers/fal.d.ts +2 -2
  78. package/dist/src/providers/fal.d.ts.map +1 -1
  79. package/dist/src/providers/fal.js +2 -1
  80. package/dist/src/providers/fal.js.map +1 -1
  81. package/dist/src/providers/http.js +2 -2
  82. package/dist/src/providers/http.js.map +1 -1
  83. package/dist/src/providers/palm.d.ts +4 -3
  84. package/dist/src/providers/palm.d.ts.map +1 -1
  85. package/dist/src/providers/palm.js +13 -3
  86. package/dist/src/providers/palm.js.map +1 -1
  87. package/dist/src/providers.js +5 -5
  88. package/dist/src/providers.js.map +1 -1
  89. package/dist/src/redteam/eval/excessive-agency/llm_rubric-20240617.json +10 -0
  90. package/dist/src/redteam/eval/excessive-agency/llm_rubric-20240618.json +10 -0
  91. package/dist/src/redteam/eval/harmful/llm_rubric-20240723.json +10 -0
  92. package/dist/src/redteam/eval/harmful/llm_rubric-20240724.json +10 -0
  93. package/dist/src/server/server.d.ts +1 -0
  94. package/dist/src/server/server.d.ts.map +1 -1
  95. package/dist/src/server/server.js +70 -31
  96. package/dist/src/server/server.js.map +1 -1
  97. package/dist/src/share.d.ts +2 -2
  98. package/dist/src/share.d.ts.map +1 -1
  99. package/dist/src/share.js +93 -34
  100. package/dist/src/share.js.map +1 -1
  101. package/dist/src/table.d.ts +2 -2
  102. package/dist/src/table.d.ts.map +1 -1
  103. package/dist/src/table.js +3 -3
  104. package/dist/src/table.js.map +1 -1
  105. package/dist/src/types/index.d.ts +163 -11
  106. package/dist/src/types/index.d.ts.map +1 -1
  107. package/dist/src/types/index.js +21 -1
  108. package/dist/src/types/index.js.map +1 -1
  109. package/dist/src/util/config/load.d.ts.map +1 -1
  110. package/dist/src/util/config/load.js +2 -1
  111. package/dist/src/util/config/load.js.map +1 -1
  112. package/dist/src/util/config/manage.d.ts.map +1 -1
  113. package/dist/src/util/config/manage.js.map +1 -1
  114. package/dist/src/util/convertEvalResultsToTable.d.ts +16 -0
  115. package/dist/src/util/convertEvalResultsToTable.d.ts.map +1 -0
  116. package/dist/src/util/convertEvalResultsToTable.js +136 -0
  117. package/dist/src/util/convertEvalResultsToTable.js.map +1 -0
  118. package/dist/src/util/createHash.d.ts +1 -0
  119. package/dist/src/util/createHash.d.ts.map +1 -1
  120. package/dist/src/util/createHash.js +9 -0
  121. package/dist/src/util/createHash.js.map +1 -1
  122. package/dist/src/util/file.d.ts +8 -0
  123. package/dist/src/util/file.d.ts.map +1 -0
  124. package/dist/src/util/file.js +13 -0
  125. package/dist/src/util/file.js.map +1 -0
  126. package/dist/src/util/index.d.ts +9 -14
  127. package/dist/src/util/index.d.ts.map +1 -1
  128. package/dist/src/util/index.js +132 -268
  129. package/dist/src/util/index.js.map +1 -1
  130. package/dist/src/util/time.d.ts +2 -0
  131. package/dist/src/util/time.d.ts.map +1 -0
  132. package/dist/src/util/time.js +7 -0
  133. package/dist/src/util/time.js.map +1 -0
  134. package/dist/src/util/transform.js +2 -2
  135. package/dist/src/util/transform.js.map +1 -1
  136. package/dist/src/validators/providers.d.ts +6 -0
  137. package/dist/src/validators/providers.d.ts.map +1 -1
  138. package/dist/src/validators/providers.js +1 -0
  139. package/dist/src/validators/providers.js.map +1 -1
  140. package/dist/src/validators/redteam.d.ts +6 -0
  141. package/dist/src/validators/redteam.d.ts.map +1 -1
  142. package/dist/test/commands/eval/filterFailingTests.test.js +24 -2
  143. package/dist/test/commands/eval/filterFailingTests.test.js.map +1 -1
  144. package/dist/test/evaluator.test.js +152 -74
  145. package/dist/test/evaluator.test.js.map +1 -1
  146. package/dist/test/factories/data/eval/database_records.d.ts +142 -0
  147. package/dist/test/factories/data/eval/database_records.d.ts.map +1 -0
  148. package/dist/test/factories/data/eval/database_records.js +251 -0
  149. package/dist/test/factories/data/eval/database_records.js.map +1 -0
  150. package/dist/test/factories/evalFactory.d.ts +768 -0
  151. package/dist/test/factories/evalFactory.d.ts.map +1 -0
  152. package/dist/test/factories/evalFactory.js +121 -0
  153. package/dist/test/factories/evalFactory.js.map +1 -0
  154. package/dist/test/index.test.js +20 -35
  155. package/dist/test/index.test.js.map +1 -1
  156. package/dist/test/models/eval.test.d.ts +2 -0
  157. package/dist/test/models/eval.test.d.ts.map +1 -0
  158. package/dist/test/models/eval.test.js +34 -0
  159. package/dist/test/models/eval.test.js.map +1 -0
  160. package/dist/test/providers.test.js +3 -3
  161. package/dist/test/providers.test.js.map +1 -1
  162. package/dist/test/server/share.test.d.ts +2 -0
  163. package/dist/test/server/share.test.d.ts.map +1 -0
  164. package/dist/test/server/share.test.js +36 -0
  165. package/dist/test/server/share.test.js.map +1 -0
  166. package/dist/test/server/v3evalToShare.json +507 -0
  167. package/dist/test/server/v4evalToShare.json +421 -0
  168. package/dist/test/types.test.js +56 -3
  169. package/dist/test/types.test.js.map +1 -1
  170. package/dist/test/util.file.test.d.ts +2 -0
  171. package/dist/test/util.file.test.d.ts.map +1 -0
  172. package/dist/test/util.file.test.js +32 -0
  173. package/dist/test/util.file.test.js.map +1 -0
  174. package/dist/test/util.listPrevious.test.d.ts +2 -0
  175. package/dist/test/util.listPrevious.test.d.ts.map +1 -0
  176. package/dist/test/util.listPrevious.test.js +37 -0
  177. package/dist/test/util.listPrevious.test.js.map +1 -0
  178. package/dist/test/util.test.js +38 -311
  179. package/dist/test/util.test.js.map +1 -1
  180. package/dist/tsconfig.tsbuildinfo +1 -0
  181. package/package.json +10 -8
@@ -192,8 +192,8 @@ export interface RunEvalOptions {
192
192
  test: AtomicTestCase;
193
193
  nunjucksFilters?: NunjucksFilterMap;
194
194
  evaluateOptions: EvaluateOptions;
195
- rowIndex: number;
196
- colIndex: number;
195
+ testIdx: number;
196
+ promptIdx: number;
197
197
  repeatIndex: number;
198
198
  }
199
199
  declare const EvaluateOptionsSchema: z.ZodObject<{
@@ -421,20 +421,27 @@ export interface PromptWithMetadata {
421
421
  count: number;
422
422
  }
423
423
  export interface EvaluateResult {
424
+ id?: string;
425
+ description?: string;
426
+ promptIdx: number;
427
+ testIdx: number;
428
+ testCase: AtomicTestCase;
429
+ promptId: string;
424
430
  provider: Pick<ProviderOptions, 'id' | 'label'>;
425
431
  prompt: Prompt;
426
432
  vars: Record<string, string | object>;
427
433
  response?: ProviderResponse;
428
- error?: string;
434
+ error?: string | null;
429
435
  success: boolean;
430
436
  score: number;
431
437
  latencyMs: number;
432
- gradingResult?: GradingResult;
438
+ gradingResult?: GradingResult | null;
433
439
  namedScores: Record<string, number>;
434
440
  cost?: number;
435
441
  metadata?: Record<string, any>;
436
442
  }
437
443
  export interface EvaluateTableOutput {
444
+ id: string;
438
445
  pass: boolean;
439
446
  score: number;
440
447
  namedScores: Record<string, number>;
@@ -443,7 +450,7 @@ export interface EvaluateTableOutput {
443
450
  latencyMs: number;
444
451
  provider?: string;
445
452
  tokenUsage?: Partial<TokenUsage>;
446
- gradingResult?: GradingResult;
453
+ gradingResult?: GradingResult | null;
447
454
  cost: number;
448
455
  metadata?: Record<string, any>;
449
456
  }
@@ -465,7 +472,14 @@ export interface EvaluateStats {
465
472
  failures: number;
466
473
  tokenUsage: Required<TokenUsage>;
467
474
  }
468
- export interface EvaluateSummary {
475
+ export interface EvaluateSummaryV3 {
476
+ version: 3;
477
+ timestamp: string;
478
+ results: EvaluateResult[];
479
+ prompts: CompletedPrompt[];
480
+ stats: EvaluateStats;
481
+ }
482
+ export interface EvaluateSummaryV2 {
469
483
  version: number;
470
484
  timestamp: string;
471
485
  results: EvaluateResult[];
@@ -1105,9 +1119,11 @@ export declare const TestCaseSchema: z.ZodObject<{
1105
1119
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
1106
1120
  transform: z.ZodOptional<z.ZodString>;
1107
1121
  delay: z.ZodOptional<z.ZodNumber>;
1122
+ config: z.ZodOptional<z.ZodAny>;
1108
1123
  }, "strip", z.ZodTypeAny, {
1109
1124
  callApi: import("./providers").CallApiFunction;
1110
1125
  id: (...args: unknown[]) => string;
1126
+ config?: any;
1111
1127
  label?: string | undefined;
1112
1128
  transform?: string | undefined;
1113
1129
  delay?: number | undefined;
@@ -1116,6 +1132,7 @@ export declare const TestCaseSchema: z.ZodObject<{
1116
1132
  }, {
1117
1133
  callApi: import("./providers").CallApiFunction;
1118
1134
  id: (...args: unknown[]) => string;
1135
+ config?: any;
1119
1136
  label?: string | undefined;
1120
1137
  transform?: string | undefined;
1121
1138
  delay?: number | undefined;
@@ -1425,6 +1442,7 @@ export declare const TestCaseSchema: z.ZodObject<{
1425
1442
  } | {
1426
1443
  callApi: import("./providers").CallApiFunction;
1427
1444
  id: (...args: unknown[]) => string;
1445
+ config?: any;
1428
1446
  label?: string | undefined;
1429
1447
  transform?: string | undefined;
1430
1448
  delay?: number | undefined;
@@ -1542,6 +1560,7 @@ export declare const TestCaseSchema: z.ZodObject<{
1542
1560
  } | {
1543
1561
  callApi: import("./providers").CallApiFunction;
1544
1562
  id: (...args: unknown[]) => string;
1563
+ config?: any;
1545
1564
  label?: string | undefined;
1546
1565
  transform?: string | undefined;
1547
1566
  delay?: number | undefined;
@@ -1802,9 +1821,11 @@ export declare const TestCaseWithVarsFileSchema: z.ZodObject<z.objectUtil.extend
1802
1821
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
1803
1822
  transform: z.ZodOptional<z.ZodString>;
1804
1823
  delay: z.ZodOptional<z.ZodNumber>;
1824
+ config: z.ZodOptional<z.ZodAny>;
1805
1825
  }, "strip", z.ZodTypeAny, {
1806
1826
  callApi: import("./providers").CallApiFunction;
1807
1827
  id: (...args: unknown[]) => string;
1828
+ config?: any;
1808
1829
  label?: string | undefined;
1809
1830
  transform?: string | undefined;
1810
1831
  delay?: number | undefined;
@@ -1813,6 +1834,7 @@ export declare const TestCaseWithVarsFileSchema: z.ZodObject<z.objectUtil.extend
1813
1834
  }, {
1814
1835
  callApi: import("./providers").CallApiFunction;
1815
1836
  id: (...args: unknown[]) => string;
1837
+ config?: any;
1816
1838
  label?: string | undefined;
1817
1839
  transform?: string | undefined;
1818
1840
  delay?: number | undefined;
@@ -2124,6 +2146,7 @@ export declare const TestCaseWithVarsFileSchema: z.ZodObject<z.objectUtil.extend
2124
2146
  } | {
2125
2147
  callApi: import("./providers").CallApiFunction;
2126
2148
  id: (...args: unknown[]) => string;
2149
+ config?: any;
2127
2150
  label?: string | undefined;
2128
2151
  transform?: string | undefined;
2129
2152
  delay?: number | undefined;
@@ -2241,6 +2264,7 @@ export declare const TestCaseWithVarsFileSchema: z.ZodObject<z.objectUtil.extend
2241
2264
  } | {
2242
2265
  callApi: import("./providers").CallApiFunction;
2243
2266
  id: (...args: unknown[]) => string;
2267
+ config?: any;
2244
2268
  label?: string | undefined;
2245
2269
  transform?: string | undefined;
2246
2270
  delay?: number | undefined;
@@ -2498,9 +2522,11 @@ export declare const TestCasesWithMetadataSchema: z.ZodObject<{
2498
2522
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
2499
2523
  transform: z.ZodOptional<z.ZodString>;
2500
2524
  delay: z.ZodOptional<z.ZodNumber>;
2525
+ config: z.ZodOptional<z.ZodAny>;
2501
2526
  }, "strip", z.ZodTypeAny, {
2502
2527
  callApi: import("./providers").CallApiFunction;
2503
2528
  id: (...args: unknown[]) => string;
2529
+ config?: any;
2504
2530
  label?: string | undefined;
2505
2531
  transform?: string | undefined;
2506
2532
  delay?: number | undefined;
@@ -2509,6 +2535,7 @@ export declare const TestCasesWithMetadataSchema: z.ZodObject<{
2509
2535
  }, {
2510
2536
  callApi: import("./providers").CallApiFunction;
2511
2537
  id: (...args: unknown[]) => string;
2538
+ config?: any;
2512
2539
  label?: string | undefined;
2513
2540
  transform?: string | undefined;
2514
2541
  delay?: number | undefined;
@@ -2818,6 +2845,7 @@ export declare const TestCasesWithMetadataSchema: z.ZodObject<{
2818
2845
  } | {
2819
2846
  callApi: import("./providers").CallApiFunction;
2820
2847
  id: (...args: unknown[]) => string;
2848
+ config?: any;
2821
2849
  label?: string | undefined;
2822
2850
  transform?: string | undefined;
2823
2851
  delay?: number | undefined;
@@ -2935,6 +2963,7 @@ export declare const TestCasesWithMetadataSchema: z.ZodObject<{
2935
2963
  } | {
2936
2964
  callApi: import("./providers").CallApiFunction;
2937
2965
  id: (...args: unknown[]) => string;
2966
+ config?: any;
2938
2967
  label?: string | undefined;
2939
2968
  transform?: string | undefined;
2940
2969
  delay?: number | undefined;
@@ -3351,6 +3380,7 @@ export declare const TestCasesWithMetadataSchema: z.ZodObject<{
3351
3380
  } | {
3352
3381
  callApi: import("./providers").CallApiFunction;
3353
3382
  id: (...args: unknown[]) => string;
3383
+ config?: any;
3354
3384
  label?: string | undefined;
3355
3385
  transform?: string | undefined;
3356
3386
  delay?: number | undefined;
@@ -3513,6 +3543,7 @@ export declare const TestCasesWithMetadataSchema: z.ZodObject<{
3513
3543
  } | {
3514
3544
  callApi: import("./providers").CallApiFunction;
3515
3545
  id: (...args: unknown[]) => string;
3546
+ config?: any;
3516
3547
  label?: string | undefined;
3517
3548
  transform?: string | undefined;
3518
3549
  delay?: number | undefined;
@@ -3774,9 +3805,11 @@ export declare const ScenarioSchema: z.ZodObject<{
3774
3805
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
3775
3806
  transform: z.ZodOptional<z.ZodString>;
3776
3807
  delay: z.ZodOptional<z.ZodNumber>;
3808
+ config: z.ZodOptional<z.ZodAny>;
3777
3809
  }, "strip", z.ZodTypeAny, {
3778
3810
  callApi: import("./providers").CallApiFunction;
3779
3811
  id: (...args: unknown[]) => string;
3812
+ config?: any;
3780
3813
  label?: string | undefined;
3781
3814
  transform?: string | undefined;
3782
3815
  delay?: number | undefined;
@@ -3785,6 +3818,7 @@ export declare const ScenarioSchema: z.ZodObject<{
3785
3818
  }, {
3786
3819
  callApi: import("./providers").CallApiFunction;
3787
3820
  id: (...args: unknown[]) => string;
3821
+ config?: any;
3788
3822
  label?: string | undefined;
3789
3823
  transform?: string | undefined;
3790
3824
  delay?: number | undefined;
@@ -4094,6 +4128,7 @@ export declare const ScenarioSchema: z.ZodObject<{
4094
4128
  } | {
4095
4129
  callApi: import("./providers").CallApiFunction;
4096
4130
  id: (...args: unknown[]) => string;
4131
+ config?: any;
4097
4132
  label?: string | undefined;
4098
4133
  transform?: string | undefined;
4099
4134
  delay?: number | undefined;
@@ -4211,6 +4246,7 @@ export declare const ScenarioSchema: z.ZodObject<{
4211
4246
  } | {
4212
4247
  callApi: import("./providers").CallApiFunction;
4213
4248
  id: (...args: unknown[]) => string;
4249
+ config?: any;
4214
4250
  label?: string | undefined;
4215
4251
  transform?: string | undefined;
4216
4252
  delay?: number | undefined;
@@ -4465,9 +4501,11 @@ export declare const ScenarioSchema: z.ZodObject<{
4465
4501
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
4466
4502
  transform: z.ZodOptional<z.ZodString>;
4467
4503
  delay: z.ZodOptional<z.ZodNumber>;
4504
+ config: z.ZodOptional<z.ZodAny>;
4468
4505
  }, "strip", z.ZodTypeAny, {
4469
4506
  callApi: import("./providers").CallApiFunction;
4470
4507
  id: (...args: unknown[]) => string;
4508
+ config?: any;
4471
4509
  label?: string | undefined;
4472
4510
  transform?: string | undefined;
4473
4511
  delay?: number | undefined;
@@ -4476,6 +4514,7 @@ export declare const ScenarioSchema: z.ZodObject<{
4476
4514
  }, {
4477
4515
  callApi: import("./providers").CallApiFunction;
4478
4516
  id: (...args: unknown[]) => string;
4517
+ config?: any;
4479
4518
  label?: string | undefined;
4480
4519
  transform?: string | undefined;
4481
4520
  delay?: number | undefined;
@@ -4785,6 +4824,7 @@ export declare const ScenarioSchema: z.ZodObject<{
4785
4824
  } | {
4786
4825
  callApi: import("./providers").CallApiFunction;
4787
4826
  id: (...args: unknown[]) => string;
4827
+ config?: any;
4788
4828
  label?: string | undefined;
4789
4829
  transform?: string | undefined;
4790
4830
  delay?: number | undefined;
@@ -4902,6 +4942,7 @@ export declare const ScenarioSchema: z.ZodObject<{
4902
4942
  } | {
4903
4943
  callApi: import("./providers").CallApiFunction;
4904
4944
  id: (...args: unknown[]) => string;
4945
+ config?: any;
4905
4946
  label?: string | undefined;
4906
4947
  transform?: string | undefined;
4907
4948
  delay?: number | undefined;
@@ -5021,6 +5062,7 @@ export declare const ScenarioSchema: z.ZodObject<{
5021
5062
  } | {
5022
5063
  callApi: import("./providers").CallApiFunction;
5023
5064
  id: (...args: unknown[]) => string;
5065
+ config?: any;
5024
5066
  label?: string | undefined;
5025
5067
  transform?: string | undefined;
5026
5068
  delay?: number | undefined;
@@ -5139,6 +5181,7 @@ export declare const ScenarioSchema: z.ZodObject<{
5139
5181
  } | {
5140
5182
  callApi: import("./providers").CallApiFunction;
5141
5183
  id: (...args: unknown[]) => string;
5184
+ config?: any;
5142
5185
  label?: string | undefined;
5143
5186
  transform?: string | undefined;
5144
5187
  delay?: number | undefined;
@@ -5259,6 +5302,7 @@ export declare const ScenarioSchema: z.ZodObject<{
5259
5302
  } | {
5260
5303
  callApi: import("./providers").CallApiFunction;
5261
5304
  id: (...args: unknown[]) => string;
5305
+ config?: any;
5262
5306
  label?: string | undefined;
5263
5307
  transform?: string | undefined;
5264
5308
  delay?: number | undefined;
@@ -5377,6 +5421,7 @@ export declare const ScenarioSchema: z.ZodObject<{
5377
5421
  } | {
5378
5422
  callApi: import("./providers").CallApiFunction;
5379
5423
  id: (...args: unknown[]) => string;
5424
+ config?: any;
5380
5425
  label?: string | undefined;
5381
5426
  transform?: string | undefined;
5382
5427
  delay?: number | undefined;
@@ -5634,9 +5679,11 @@ export declare const AtomicTestCaseSchema: z.ZodObject<z.objectUtil.extendShape<
5634
5679
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
5635
5680
  transform: z.ZodOptional<z.ZodString>;
5636
5681
  delay: z.ZodOptional<z.ZodNumber>;
5682
+ config: z.ZodOptional<z.ZodAny>;
5637
5683
  }, "strip", z.ZodTypeAny, {
5638
5684
  callApi: import("./providers").CallApiFunction;
5639
5685
  id: (...args: unknown[]) => string;
5686
+ config?: any;
5640
5687
  label?: string | undefined;
5641
5688
  transform?: string | undefined;
5642
5689
  delay?: number | undefined;
@@ -5645,6 +5692,7 @@ export declare const AtomicTestCaseSchema: z.ZodObject<z.objectUtil.extendShape<
5645
5692
  }, {
5646
5693
  callApi: import("./providers").CallApiFunction;
5647
5694
  id: (...args: unknown[]) => string;
5695
+ config?: any;
5648
5696
  label?: string | undefined;
5649
5697
  transform?: string | undefined;
5650
5698
  delay?: number | undefined;
@@ -5956,6 +6004,7 @@ export declare const AtomicTestCaseSchema: z.ZodObject<z.objectUtil.extendShape<
5956
6004
  } | {
5957
6005
  callApi: import("./providers").CallApiFunction;
5958
6006
  id: (...args: unknown[]) => string;
6007
+ config?: any;
5959
6008
  label?: string | undefined;
5960
6009
  transform?: string | undefined;
5961
6010
  delay?: number | undefined;
@@ -6073,6 +6122,7 @@ export declare const AtomicTestCaseSchema: z.ZodObject<z.objectUtil.extendShape<
6073
6122
  } | {
6074
6123
  callApi: import("./providers").CallApiFunction;
6075
6124
  id: (...args: unknown[]) => string;
6125
+ config?: any;
6076
6126
  label?: string | undefined;
6077
6127
  transform?: string | undefined;
6078
6128
  delay?: number | undefined;
@@ -6140,9 +6190,11 @@ export declare const TestSuiteSchema: z.ZodObject<{
6140
6190
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
6141
6191
  transform: z.ZodOptional<z.ZodString>;
6142
6192
  delay: z.ZodOptional<z.ZodNumber>;
6193
+ config: z.ZodOptional<z.ZodAny>;
6143
6194
  }, "strip", z.ZodTypeAny, {
6144
6195
  callApi: import("./providers").CallApiFunction;
6145
6196
  id: (...args: unknown[]) => string;
6197
+ config?: any;
6146
6198
  label?: string | undefined;
6147
6199
  transform?: string | undefined;
6148
6200
  delay?: number | undefined;
@@ -6151,6 +6203,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
6151
6203
  }, {
6152
6204
  callApi: import("./providers").CallApiFunction;
6153
6205
  id: (...args: unknown[]) => string;
6206
+ config?: any;
6154
6207
  label?: string | undefined;
6155
6208
  transform?: string | undefined;
6156
6209
  delay?: number | undefined;
@@ -6405,9 +6458,11 @@ export declare const TestSuiteSchema: z.ZodObject<{
6405
6458
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
6406
6459
  transform: z.ZodOptional<z.ZodString>;
6407
6460
  delay: z.ZodOptional<z.ZodNumber>;
6461
+ config: z.ZodOptional<z.ZodAny>;
6408
6462
  }, "strip", z.ZodTypeAny, {
6409
6463
  callApi: import("./providers").CallApiFunction;
6410
6464
  id: (...args: unknown[]) => string;
6465
+ config?: any;
6411
6466
  label?: string | undefined;
6412
6467
  transform?: string | undefined;
6413
6468
  delay?: number | undefined;
@@ -6416,6 +6471,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
6416
6471
  }, {
6417
6472
  callApi: import("./providers").CallApiFunction;
6418
6473
  id: (...args: unknown[]) => string;
6474
+ config?: any;
6419
6475
  label?: string | undefined;
6420
6476
  transform?: string | undefined;
6421
6477
  delay?: number | undefined;
@@ -6725,6 +6781,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
6725
6781
  } | {
6726
6782
  callApi: import("./providers").CallApiFunction;
6727
6783
  id: (...args: unknown[]) => string;
6784
+ config?: any;
6728
6785
  label?: string | undefined;
6729
6786
  transform?: string | undefined;
6730
6787
  delay?: number | undefined;
@@ -6842,6 +6899,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
6842
6899
  } | {
6843
6900
  callApi: import("./providers").CallApiFunction;
6844
6901
  id: (...args: unknown[]) => string;
6902
+ config?: any;
6845
6903
  label?: string | undefined;
6846
6904
  transform?: string | undefined;
6847
6905
  delay?: number | undefined;
@@ -7098,9 +7156,11 @@ export declare const TestSuiteSchema: z.ZodObject<{
7098
7156
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
7099
7157
  transform: z.ZodOptional<z.ZodString>;
7100
7158
  delay: z.ZodOptional<z.ZodNumber>;
7159
+ config: z.ZodOptional<z.ZodAny>;
7101
7160
  }, "strip", z.ZodTypeAny, {
7102
7161
  callApi: import("./providers").CallApiFunction;
7103
7162
  id: (...args: unknown[]) => string;
7163
+ config?: any;
7104
7164
  label?: string | undefined;
7105
7165
  transform?: string | undefined;
7106
7166
  delay?: number | undefined;
@@ -7109,6 +7169,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
7109
7169
  }, {
7110
7170
  callApi: import("./providers").CallApiFunction;
7111
7171
  id: (...args: unknown[]) => string;
7172
+ config?: any;
7112
7173
  label?: string | undefined;
7113
7174
  transform?: string | undefined;
7114
7175
  delay?: number | undefined;
@@ -7418,6 +7479,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
7418
7479
  } | {
7419
7480
  callApi: import("./providers").CallApiFunction;
7420
7481
  id: (...args: unknown[]) => string;
7482
+ config?: any;
7421
7483
  label?: string | undefined;
7422
7484
  transform?: string | undefined;
7423
7485
  delay?: number | undefined;
@@ -7535,6 +7597,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
7535
7597
  } | {
7536
7598
  callApi: import("./providers").CallApiFunction;
7537
7599
  id: (...args: unknown[]) => string;
7600
+ config?: any;
7538
7601
  label?: string | undefined;
7539
7602
  transform?: string | undefined;
7540
7603
  delay?: number | undefined;
@@ -7789,9 +7852,11 @@ export declare const TestSuiteSchema: z.ZodObject<{
7789
7852
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
7790
7853
  transform: z.ZodOptional<z.ZodString>;
7791
7854
  delay: z.ZodOptional<z.ZodNumber>;
7855
+ config: z.ZodOptional<z.ZodAny>;
7792
7856
  }, "strip", z.ZodTypeAny, {
7793
7857
  callApi: import("./providers").CallApiFunction;
7794
7858
  id: (...args: unknown[]) => string;
7859
+ config?: any;
7795
7860
  label?: string | undefined;
7796
7861
  transform?: string | undefined;
7797
7862
  delay?: number | undefined;
@@ -7800,6 +7865,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
7800
7865
  }, {
7801
7866
  callApi: import("./providers").CallApiFunction;
7802
7867
  id: (...args: unknown[]) => string;
7868
+ config?: any;
7803
7869
  label?: string | undefined;
7804
7870
  transform?: string | undefined;
7805
7871
  delay?: number | undefined;
@@ -8109,6 +8175,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
8109
8175
  } | {
8110
8176
  callApi: import("./providers").CallApiFunction;
8111
8177
  id: (...args: unknown[]) => string;
8178
+ config?: any;
8112
8179
  label?: string | undefined;
8113
8180
  transform?: string | undefined;
8114
8181
  delay?: number | undefined;
@@ -8226,6 +8293,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
8226
8293
  } | {
8227
8294
  callApi: import("./providers").CallApiFunction;
8228
8295
  id: (...args: unknown[]) => string;
8296
+ config?: any;
8229
8297
  label?: string | undefined;
8230
8298
  transform?: string | undefined;
8231
8299
  delay?: number | undefined;
@@ -8345,6 +8413,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
8345
8413
  } | {
8346
8414
  callApi: import("./providers").CallApiFunction;
8347
8415
  id: (...args: unknown[]) => string;
8416
+ config?: any;
8348
8417
  label?: string | undefined;
8349
8418
  transform?: string | undefined;
8350
8419
  delay?: number | undefined;
@@ -8463,6 +8532,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
8463
8532
  } | {
8464
8533
  callApi: import("./providers").CallApiFunction;
8465
8534
  id: (...args: unknown[]) => string;
8535
+ config?: any;
8466
8536
  label?: string | undefined;
8467
8537
  transform?: string | undefined;
8468
8538
  delay?: number | undefined;
@@ -8583,6 +8653,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
8583
8653
  } | {
8584
8654
  callApi: import("./providers").CallApiFunction;
8585
8655
  id: (...args: unknown[]) => string;
8656
+ config?: any;
8586
8657
  label?: string | undefined;
8587
8658
  transform?: string | undefined;
8588
8659
  delay?: number | undefined;
@@ -8701,6 +8772,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
8701
8772
  } | {
8702
8773
  callApi: import("./providers").CallApiFunction;
8703
8774
  id: (...args: unknown[]) => string;
8775
+ config?: any;
8704
8776
  label?: string | undefined;
8705
8777
  transform?: string | undefined;
8706
8778
  delay?: number | undefined;
@@ -8957,9 +9029,11 @@ export declare const TestSuiteSchema: z.ZodObject<{
8957
9029
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
8958
9030
  transform: z.ZodOptional<z.ZodString>;
8959
9031
  delay: z.ZodOptional<z.ZodNumber>;
9032
+ config: z.ZodOptional<z.ZodAny>;
8960
9033
  }, "strip", z.ZodTypeAny, {
8961
9034
  callApi: import("./providers").CallApiFunction;
8962
9035
  id: (...args: unknown[]) => string;
9036
+ config?: any;
8963
9037
  label?: string | undefined;
8964
9038
  transform?: string | undefined;
8965
9039
  delay?: number | undefined;
@@ -8968,6 +9042,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
8968
9042
  }, {
8969
9043
  callApi: import("./providers").CallApiFunction;
8970
9044
  id: (...args: unknown[]) => string;
9045
+ config?: any;
8971
9046
  label?: string | undefined;
8972
9047
  transform?: string | undefined;
8973
9048
  delay?: number | undefined;
@@ -9277,6 +9352,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
9277
9352
  } | {
9278
9353
  callApi: import("./providers").CallApiFunction;
9279
9354
  id: (...args: unknown[]) => string;
9355
+ config?: any;
9280
9356
  label?: string | undefined;
9281
9357
  transform?: string | undefined;
9282
9358
  delay?: number | undefined;
@@ -9394,6 +9470,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
9394
9470
  } | {
9395
9471
  callApi: import("./providers").CallApiFunction;
9396
9472
  id: (...args: unknown[]) => string;
9473
+ config?: any;
9397
9474
  label?: string | undefined;
9398
9475
  transform?: string | undefined;
9399
9476
  delay?: number | undefined;
@@ -9555,7 +9632,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
9555
9632
  value: string | ((args_0: Record<string, number>, args_1: RunEvalOptions, ...args: unknown[]) => number);
9556
9633
  name: string;
9557
9634
  }>, "many">>;
9558
- extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9635
+ extensions: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, "many">>;
9559
9636
  redteam: z.ZodOptional<z.ZodType<RedteamFileConfig, z.ZodTypeDef, RedteamFileConfig>>;
9560
9637
  }, "strip", z.ZodTypeAny, {
9561
9638
  prompts: {
@@ -9572,6 +9649,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
9572
9649
  providers: {
9573
9650
  callApi: import("./providers").CallApiFunction;
9574
9651
  id: (...args: unknown[]) => string;
9652
+ config?: any;
9575
9653
  label?: string | undefined;
9576
9654
  transform?: string | undefined;
9577
9655
  delay?: number | undefined;
@@ -9689,6 +9767,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
9689
9767
  } | {
9690
9768
  callApi: import("./providers").CallApiFunction;
9691
9769
  id: (...args: unknown[]) => string;
9770
+ config?: any;
9692
9771
  label?: string | undefined;
9693
9772
  transform?: string | undefined;
9694
9773
  delay?: number | undefined;
@@ -9811,6 +9890,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
9811
9890
  } | {
9812
9891
  callApi: import("./providers").CallApiFunction;
9813
9892
  id: (...args: unknown[]) => string;
9893
+ config?: any;
9814
9894
  label?: string | undefined;
9815
9895
  transform?: string | undefined;
9816
9896
  delay?: number | undefined;
@@ -9929,6 +10009,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
9929
10009
  } | {
9930
10010
  callApi: import("./providers").CallApiFunction;
9931
10011
  id: (...args: unknown[]) => string;
10012
+ config?: any;
9932
10013
  label?: string | undefined;
9933
10014
  transform?: string | undefined;
9934
10015
  delay?: number | undefined;
@@ -10049,6 +10130,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
10049
10130
  } | {
10050
10131
  callApi: import("./providers").CallApiFunction;
10051
10132
  id: (...args: unknown[]) => string;
10133
+ config?: any;
10052
10134
  label?: string | undefined;
10053
10135
  transform?: string | undefined;
10054
10136
  delay?: number | undefined;
@@ -10114,6 +10196,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
10114
10196
  providers: {
10115
10197
  callApi: import("./providers").CallApiFunction;
10116
10198
  id: (...args: unknown[]) => string;
10199
+ config?: any;
10117
10200
  label?: string | undefined;
10118
10201
  transform?: string | undefined;
10119
10202
  delay?: number | undefined;
@@ -10231,6 +10314,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
10231
10314
  } | {
10232
10315
  callApi: import("./providers").CallApiFunction;
10233
10316
  id: (...args: unknown[]) => string;
10317
+ config?: any;
10234
10318
  label?: string | undefined;
10235
10319
  transform?: string | undefined;
10236
10320
  delay?: number | undefined;
@@ -10353,6 +10437,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
10353
10437
  } | {
10354
10438
  callApi: import("./providers").CallApiFunction;
10355
10439
  id: (...args: unknown[]) => string;
10440
+ config?: any;
10356
10441
  label?: string | undefined;
10357
10442
  transform?: string | undefined;
10358
10443
  delay?: number | undefined;
@@ -10471,6 +10556,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
10471
10556
  } | {
10472
10557
  callApi: import("./providers").CallApiFunction;
10473
10558
  id: (...args: unknown[]) => string;
10559
+ config?: any;
10474
10560
  label?: string | undefined;
10475
10561
  transform?: string | undefined;
10476
10562
  delay?: number | undefined;
@@ -10591,6 +10677,7 @@ export declare const TestSuiteSchema: z.ZodObject<{
10591
10677
  } | {
10592
10678
  callApi: import("./providers").CallApiFunction;
10593
10679
  id: (...args: unknown[]) => string;
10680
+ config?: any;
10594
10681
  label?: string | undefined;
10595
10682
  transform?: string | undefined;
10596
10683
  delay?: number | undefined;
@@ -11488,9 +11575,11 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
11488
11575
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
11489
11576
  transform: z.ZodOptional<z.ZodString>;
11490
11577
  delay: z.ZodOptional<z.ZodNumber>;
11578
+ config: z.ZodOptional<z.ZodAny>;
11491
11579
  }, "strip", z.ZodTypeAny, {
11492
11580
  callApi: import("./providers").CallApiFunction;
11493
11581
  id: (...args: unknown[]) => string;
11582
+ config?: any;
11494
11583
  label?: string | undefined;
11495
11584
  transform?: string | undefined;
11496
11585
  delay?: number | undefined;
@@ -11499,6 +11588,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
11499
11588
  }, {
11500
11589
  callApi: import("./providers").CallApiFunction;
11501
11590
  id: (...args: unknown[]) => string;
11591
+ config?: any;
11502
11592
  label?: string | undefined;
11503
11593
  transform?: string | undefined;
11504
11594
  delay?: number | undefined;
@@ -11808,6 +11898,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
11808
11898
  } | {
11809
11899
  callApi: import("./providers").CallApiFunction;
11810
11900
  id: (...args: unknown[]) => string;
11901
+ config?: any;
11811
11902
  label?: string | undefined;
11812
11903
  transform?: string | undefined;
11813
11904
  delay?: number | undefined;
@@ -11925,6 +12016,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
11925
12016
  } | {
11926
12017
  callApi: import("./providers").CallApiFunction;
11927
12018
  id: (...args: unknown[]) => string;
12019
+ config?: any;
11928
12020
  label?: string | undefined;
11929
12021
  transform?: string | undefined;
11930
12022
  delay?: number | undefined;
@@ -12181,9 +12273,11 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
12181
12273
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
12182
12274
  transform: z.ZodOptional<z.ZodString>;
12183
12275
  delay: z.ZodOptional<z.ZodNumber>;
12276
+ config: z.ZodOptional<z.ZodAny>;
12184
12277
  }, "strip", z.ZodTypeAny, {
12185
12278
  callApi: import("./providers").CallApiFunction;
12186
12279
  id: (...args: unknown[]) => string;
12280
+ config?: any;
12187
12281
  label?: string | undefined;
12188
12282
  transform?: string | undefined;
12189
12283
  delay?: number | undefined;
@@ -12192,6 +12286,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
12192
12286
  }, {
12193
12287
  callApi: import("./providers").CallApiFunction;
12194
12288
  id: (...args: unknown[]) => string;
12289
+ config?: any;
12195
12290
  label?: string | undefined;
12196
12291
  transform?: string | undefined;
12197
12292
  delay?: number | undefined;
@@ -12501,6 +12596,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
12501
12596
  } | {
12502
12597
  callApi: import("./providers").CallApiFunction;
12503
12598
  id: (...args: unknown[]) => string;
12599
+ config?: any;
12504
12600
  label?: string | undefined;
12505
12601
  transform?: string | undefined;
12506
12602
  delay?: number | undefined;
@@ -12618,6 +12714,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
12618
12714
  } | {
12619
12715
  callApi: import("./providers").CallApiFunction;
12620
12716
  id: (...args: unknown[]) => string;
12717
+ config?: any;
12621
12718
  label?: string | undefined;
12622
12719
  transform?: string | undefined;
12623
12720
  delay?: number | undefined;
@@ -12872,9 +12969,11 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
12872
12969
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
12873
12970
  transform: z.ZodOptional<z.ZodString>;
12874
12971
  delay: z.ZodOptional<z.ZodNumber>;
12972
+ config: z.ZodOptional<z.ZodAny>;
12875
12973
  }, "strip", z.ZodTypeAny, {
12876
12974
  callApi: import("./providers").CallApiFunction;
12877
12975
  id: (...args: unknown[]) => string;
12976
+ config?: any;
12878
12977
  label?: string | undefined;
12879
12978
  transform?: string | undefined;
12880
12979
  delay?: number | undefined;
@@ -12883,6 +12982,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
12883
12982
  }, {
12884
12983
  callApi: import("./providers").CallApiFunction;
12885
12984
  id: (...args: unknown[]) => string;
12985
+ config?: any;
12886
12986
  label?: string | undefined;
12887
12987
  transform?: string | undefined;
12888
12988
  delay?: number | undefined;
@@ -13192,6 +13292,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
13192
13292
  } | {
13193
13293
  callApi: import("./providers").CallApiFunction;
13194
13294
  id: (...args: unknown[]) => string;
13295
+ config?: any;
13195
13296
  label?: string | undefined;
13196
13297
  transform?: string | undefined;
13197
13298
  delay?: number | undefined;
@@ -13309,6 +13410,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
13309
13410
  } | {
13310
13411
  callApi: import("./providers").CallApiFunction;
13311
13412
  id: (...args: unknown[]) => string;
13413
+ config?: any;
13312
13414
  label?: string | undefined;
13313
13415
  transform?: string | undefined;
13314
13416
  delay?: number | undefined;
@@ -13428,6 +13530,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
13428
13530
  } | {
13429
13531
  callApi: import("./providers").CallApiFunction;
13430
13532
  id: (...args: unknown[]) => string;
13533
+ config?: any;
13431
13534
  label?: string | undefined;
13432
13535
  transform?: string | undefined;
13433
13536
  delay?: number | undefined;
@@ -13546,6 +13649,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
13546
13649
  } | {
13547
13650
  callApi: import("./providers").CallApiFunction;
13548
13651
  id: (...args: unknown[]) => string;
13652
+ config?: any;
13549
13653
  label?: string | undefined;
13550
13654
  transform?: string | undefined;
13551
13655
  delay?: number | undefined;
@@ -13666,6 +13770,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
13666
13770
  } | {
13667
13771
  callApi: import("./providers").CallApiFunction;
13668
13772
  id: (...args: unknown[]) => string;
13773
+ config?: any;
13669
13774
  label?: string | undefined;
13670
13775
  transform?: string | undefined;
13671
13776
  delay?: number | undefined;
@@ -13784,6 +13889,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
13784
13889
  } | {
13785
13890
  callApi: import("./providers").CallApiFunction;
13786
13891
  id: (...args: unknown[]) => string;
13892
+ config?: any;
13787
13893
  label?: string | undefined;
13788
13894
  transform?: string | undefined;
13789
13895
  delay?: number | undefined;
@@ -14040,9 +14146,11 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
14040
14146
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
14041
14147
  transform: z.ZodOptional<z.ZodString>;
14042
14148
  delay: z.ZodOptional<z.ZodNumber>;
14149
+ config: z.ZodOptional<z.ZodAny>;
14043
14150
  }, "strip", z.ZodTypeAny, {
14044
14151
  callApi: import("./providers").CallApiFunction;
14045
14152
  id: (...args: unknown[]) => string;
14153
+ config?: any;
14046
14154
  label?: string | undefined;
14047
14155
  transform?: string | undefined;
14048
14156
  delay?: number | undefined;
@@ -14051,6 +14159,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
14051
14159
  }, {
14052
14160
  callApi: import("./providers").CallApiFunction;
14053
14161
  id: (...args: unknown[]) => string;
14162
+ config?: any;
14054
14163
  label?: string | undefined;
14055
14164
  transform?: string | undefined;
14056
14165
  delay?: number | undefined;
@@ -14360,6 +14469,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
14360
14469
  } | {
14361
14470
  callApi: import("./providers").CallApiFunction;
14362
14471
  id: (...args: unknown[]) => string;
14472
+ config?: any;
14363
14473
  label?: string | undefined;
14364
14474
  transform?: string | undefined;
14365
14475
  delay?: number | undefined;
@@ -14476,6 +14586,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
14476
14586
  } | {
14477
14587
  callApi: import("./providers").CallApiFunction;
14478
14588
  id: (...args: unknown[]) => string;
14589
+ config?: any;
14479
14590
  label?: string | undefined;
14480
14591
  transform?: string | undefined;
14481
14592
  delay?: number | undefined;
@@ -14910,6 +15021,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
14910
15021
  } | {
14911
15022
  callApi: import("./providers").CallApiFunction;
14912
15023
  id: (...args: unknown[]) => string;
15024
+ config?: any;
14913
15025
  label?: string | undefined;
14914
15026
  transform?: string | undefined;
14915
15027
  delay?: number | undefined;
@@ -15031,6 +15143,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
15031
15143
  } | {
15032
15144
  callApi: import("./providers").CallApiFunction;
15033
15145
  id: (...args: unknown[]) => string;
15146
+ config?: any;
15034
15147
  label?: string | undefined;
15035
15148
  transform?: string | undefined;
15036
15149
  delay?: number | undefined;
@@ -15149,6 +15262,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
15149
15262
  } | {
15150
15263
  callApi: import("./providers").CallApiFunction;
15151
15264
  id: (...args: unknown[]) => string;
15265
+ config?: any;
15152
15266
  label?: string | undefined;
15153
15267
  transform?: string | undefined;
15154
15268
  delay?: number | undefined;
@@ -15269,6 +15383,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
15269
15383
  } | {
15270
15384
  callApi: import("./providers").CallApiFunction;
15271
15385
  id: (...args: unknown[]) => string;
15386
+ config?: any;
15272
15387
  label?: string | undefined;
15273
15388
  transform?: string | undefined;
15274
15389
  delay?: number | undefined;
@@ -15583,6 +15698,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
15583
15698
  } | {
15584
15699
  callApi: import("./providers").CallApiFunction;
15585
15700
  id: (...args: unknown[]) => string;
15701
+ config?: any;
15586
15702
  label?: string | undefined;
15587
15703
  transform?: string | undefined;
15588
15704
  delay?: number | undefined;
@@ -15704,6 +15820,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
15704
15820
  } | {
15705
15821
  callApi: import("./providers").CallApiFunction;
15706
15822
  id: (...args: unknown[]) => string;
15823
+ config?: any;
15707
15824
  label?: string | undefined;
15708
15825
  transform?: string | undefined;
15709
15826
  delay?: number | undefined;
@@ -15822,6 +15939,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
15822
15939
  } | {
15823
15940
  callApi: import("./providers").CallApiFunction;
15824
15941
  id: (...args: unknown[]) => string;
15942
+ config?: any;
15825
15943
  label?: string | undefined;
15826
15944
  transform?: string | undefined;
15827
15945
  delay?: number | undefined;
@@ -15942,6 +16060,7 @@ export declare const TestSuiteConfigSchema: z.ZodObject<{
15942
16060
  } | {
15943
16061
  callApi: import("./providers").CallApiFunction;
15944
16062
  id: (...args: unknown[]) => string;
16063
+ config?: any;
15945
16064
  label?: string | undefined;
15946
16065
  transform?: string | undefined;
15947
16066
  delay?: number | undefined;
@@ -16844,9 +16963,11 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
16844
16963
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
16845
16964
  transform: z.ZodOptional<z.ZodString>;
16846
16965
  delay: z.ZodOptional<z.ZodNumber>;
16966
+ config: z.ZodOptional<z.ZodAny>;
16847
16967
  }, "strip", z.ZodTypeAny, {
16848
16968
  callApi: import("./providers").CallApiFunction;
16849
16969
  id: (...args: unknown[]) => string;
16970
+ config?: any;
16850
16971
  label?: string | undefined;
16851
16972
  transform?: string | undefined;
16852
16973
  delay?: number | undefined;
@@ -16855,6 +16976,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
16855
16976
  }, {
16856
16977
  callApi: import("./providers").CallApiFunction;
16857
16978
  id: (...args: unknown[]) => string;
16979
+ config?: any;
16858
16980
  label?: string | undefined;
16859
16981
  transform?: string | undefined;
16860
16982
  delay?: number | undefined;
@@ -17164,6 +17286,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
17164
17286
  } | {
17165
17287
  callApi: import("./providers").CallApiFunction;
17166
17288
  id: (...args: unknown[]) => string;
17289
+ config?: any;
17167
17290
  label?: string | undefined;
17168
17291
  transform?: string | undefined;
17169
17292
  delay?: number | undefined;
@@ -17281,6 +17404,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
17281
17404
  } | {
17282
17405
  callApi: import("./providers").CallApiFunction;
17283
17406
  id: (...args: unknown[]) => string;
17407
+ config?: any;
17284
17408
  label?: string | undefined;
17285
17409
  transform?: string | undefined;
17286
17410
  delay?: number | undefined;
@@ -17537,9 +17661,11 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
17537
17661
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
17538
17662
  transform: z.ZodOptional<z.ZodString>;
17539
17663
  delay: z.ZodOptional<z.ZodNumber>;
17664
+ config: z.ZodOptional<z.ZodAny>;
17540
17665
  }, "strip", z.ZodTypeAny, {
17541
17666
  callApi: import("./providers").CallApiFunction;
17542
17667
  id: (...args: unknown[]) => string;
17668
+ config?: any;
17543
17669
  label?: string | undefined;
17544
17670
  transform?: string | undefined;
17545
17671
  delay?: number | undefined;
@@ -17548,6 +17674,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
17548
17674
  }, {
17549
17675
  callApi: import("./providers").CallApiFunction;
17550
17676
  id: (...args: unknown[]) => string;
17677
+ config?: any;
17551
17678
  label?: string | undefined;
17552
17679
  transform?: string | undefined;
17553
17680
  delay?: number | undefined;
@@ -17857,6 +17984,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
17857
17984
  } | {
17858
17985
  callApi: import("./providers").CallApiFunction;
17859
17986
  id: (...args: unknown[]) => string;
17987
+ config?: any;
17860
17988
  label?: string | undefined;
17861
17989
  transform?: string | undefined;
17862
17990
  delay?: number | undefined;
@@ -17974,6 +18102,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
17974
18102
  } | {
17975
18103
  callApi: import("./providers").CallApiFunction;
17976
18104
  id: (...args: unknown[]) => string;
18105
+ config?: any;
17977
18106
  label?: string | undefined;
17978
18107
  transform?: string | undefined;
17979
18108
  delay?: number | undefined;
@@ -18228,9 +18357,11 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
18228
18357
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
18229
18358
  transform: z.ZodOptional<z.ZodString>;
18230
18359
  delay: z.ZodOptional<z.ZodNumber>;
18360
+ config: z.ZodOptional<z.ZodAny>;
18231
18361
  }, "strip", z.ZodTypeAny, {
18232
18362
  callApi: import("./providers").CallApiFunction;
18233
18363
  id: (...args: unknown[]) => string;
18364
+ config?: any;
18234
18365
  label?: string | undefined;
18235
18366
  transform?: string | undefined;
18236
18367
  delay?: number | undefined;
@@ -18239,6 +18370,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
18239
18370
  }, {
18240
18371
  callApi: import("./providers").CallApiFunction;
18241
18372
  id: (...args: unknown[]) => string;
18373
+ config?: any;
18242
18374
  label?: string | undefined;
18243
18375
  transform?: string | undefined;
18244
18376
  delay?: number | undefined;
@@ -18548,6 +18680,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
18548
18680
  } | {
18549
18681
  callApi: import("./providers").CallApiFunction;
18550
18682
  id: (...args: unknown[]) => string;
18683
+ config?: any;
18551
18684
  label?: string | undefined;
18552
18685
  transform?: string | undefined;
18553
18686
  delay?: number | undefined;
@@ -18665,6 +18798,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
18665
18798
  } | {
18666
18799
  callApi: import("./providers").CallApiFunction;
18667
18800
  id: (...args: unknown[]) => string;
18801
+ config?: any;
18668
18802
  label?: string | undefined;
18669
18803
  transform?: string | undefined;
18670
18804
  delay?: number | undefined;
@@ -18784,6 +18918,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
18784
18918
  } | {
18785
18919
  callApi: import("./providers").CallApiFunction;
18786
18920
  id: (...args: unknown[]) => string;
18921
+ config?: any;
18787
18922
  label?: string | undefined;
18788
18923
  transform?: string | undefined;
18789
18924
  delay?: number | undefined;
@@ -18902,6 +19037,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
18902
19037
  } | {
18903
19038
  callApi: import("./providers").CallApiFunction;
18904
19039
  id: (...args: unknown[]) => string;
19040
+ config?: any;
18905
19041
  label?: string | undefined;
18906
19042
  transform?: string | undefined;
18907
19043
  delay?: number | undefined;
@@ -19022,6 +19158,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
19022
19158
  } | {
19023
19159
  callApi: import("./providers").CallApiFunction;
19024
19160
  id: (...args: unknown[]) => string;
19161
+ config?: any;
19025
19162
  label?: string | undefined;
19026
19163
  transform?: string | undefined;
19027
19164
  delay?: number | undefined;
@@ -19140,6 +19277,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
19140
19277
  } | {
19141
19278
  callApi: import("./providers").CallApiFunction;
19142
19279
  id: (...args: unknown[]) => string;
19280
+ config?: any;
19143
19281
  label?: string | undefined;
19144
19282
  transform?: string | undefined;
19145
19283
  delay?: number | undefined;
@@ -19396,9 +19534,11 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
19396
19534
  label: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
19397
19535
  transform: z.ZodOptional<z.ZodString>;
19398
19536
  delay: z.ZodOptional<z.ZodNumber>;
19537
+ config: z.ZodOptional<z.ZodAny>;
19399
19538
  }, "strip", z.ZodTypeAny, {
19400
19539
  callApi: import("./providers").CallApiFunction;
19401
19540
  id: (...args: unknown[]) => string;
19541
+ config?: any;
19402
19542
  label?: string | undefined;
19403
19543
  transform?: string | undefined;
19404
19544
  delay?: number | undefined;
@@ -19407,6 +19547,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
19407
19547
  }, {
19408
19548
  callApi: import("./providers").CallApiFunction;
19409
19549
  id: (...args: unknown[]) => string;
19550
+ config?: any;
19410
19551
  label?: string | undefined;
19411
19552
  transform?: string | undefined;
19412
19553
  delay?: number | undefined;
@@ -19716,6 +19857,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
19716
19857
  } | {
19717
19858
  callApi: import("./providers").CallApiFunction;
19718
19859
  id: (...args: unknown[]) => string;
19860
+ config?: any;
19719
19861
  label?: string | undefined;
19720
19862
  transform?: string | undefined;
19721
19863
  delay?: number | undefined;
@@ -19832,6 +19974,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
19832
19974
  } | {
19833
19975
  callApi: import("./providers").CallApiFunction;
19834
19976
  id: (...args: unknown[]) => string;
19977
+ config?: any;
19835
19978
  label?: string | undefined;
19836
19979
  transform?: string | undefined;
19837
19980
  delay?: number | undefined;
@@ -20397,6 +20540,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
20397
20540
  } | {
20398
20541
  callApi: import("./providers").CallApiFunction;
20399
20542
  id: (...args: unknown[]) => string;
20543
+ config?: any;
20400
20544
  label?: string | undefined;
20401
20545
  transform?: string | undefined;
20402
20546
  delay?: number | undefined;
@@ -20518,6 +20662,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
20518
20662
  } | {
20519
20663
  callApi: import("./providers").CallApiFunction;
20520
20664
  id: (...args: unknown[]) => string;
20665
+ config?: any;
20521
20666
  label?: string | undefined;
20522
20667
  transform?: string | undefined;
20523
20668
  delay?: number | undefined;
@@ -20636,6 +20781,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
20636
20781
  } | {
20637
20782
  callApi: import("./providers").CallApiFunction;
20638
20783
  id: (...args: unknown[]) => string;
20784
+ config?: any;
20639
20785
  label?: string | undefined;
20640
20786
  transform?: string | undefined;
20641
20787
  delay?: number | undefined;
@@ -20756,6 +20902,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
20756
20902
  } | {
20757
20903
  callApi: import("./providers").CallApiFunction;
20758
20904
  id: (...args: unknown[]) => string;
20905
+ config?: any;
20759
20906
  label?: string | undefined;
20760
20907
  transform?: string | undefined;
20761
20908
  delay?: number | undefined;
@@ -21113,6 +21260,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
21113
21260
  } | {
21114
21261
  callApi: import("./providers").CallApiFunction;
21115
21262
  id: (...args: unknown[]) => string;
21263
+ config?: any;
21116
21264
  label?: string | undefined;
21117
21265
  transform?: string | undefined;
21118
21266
  delay?: number | undefined;
@@ -21234,6 +21382,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
21234
21382
  } | {
21235
21383
  callApi: import("./providers").CallApiFunction;
21236
21384
  id: (...args: unknown[]) => string;
21385
+ config?: any;
21237
21386
  label?: string | undefined;
21238
21387
  transform?: string | undefined;
21239
21388
  delay?: number | undefined;
@@ -21352,6 +21501,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
21352
21501
  } | {
21353
21502
  callApi: import("./providers").CallApiFunction;
21354
21503
  id: (...args: unknown[]) => string;
21504
+ config?: any;
21355
21505
  label?: string | undefined;
21356
21506
  transform?: string | undefined;
21357
21507
  delay?: number | undefined;
@@ -21472,6 +21622,7 @@ export declare const UnifiedConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
21472
21622
  } | {
21473
21623
  callApi: import("./providers").CallApiFunction;
21474
21624
  id: (...args: unknown[]) => string;
21625
+ config?: any;
21475
21626
  label?: string | undefined;
21476
21627
  transform?: string | undefined;
21477
21628
  delay?: number | undefined;
@@ -21576,7 +21727,7 @@ export interface EvalWithMetadata {
21576
21727
  id: string;
21577
21728
  date: Date;
21578
21729
  config: Partial<UnifiedConfig>;
21579
- results: EvaluateSummary;
21730
+ results: EvaluateSummaryV3;
21580
21731
  description?: string;
21581
21732
  }
21582
21733
  export type EvaluateTestSuite = {
@@ -21592,9 +21743,10 @@ export interface SharedResults {
21592
21743
  export interface ResultsFile {
21593
21744
  version: number;
21594
21745
  createdAt: string;
21595
- results: EvaluateSummary;
21746
+ results: EvaluateSummaryV3 | EvaluateSummaryV2;
21596
21747
  config: Partial<UnifiedConfig>;
21597
21748
  author: string | null;
21749
+ prompts?: CompletedPrompt[];
21598
21750
  datasetId?: string | null;
21599
21751
  }
21600
21752
  export interface ResultLightweight {
@@ -21609,7 +21761,7 @@ export type ResultLightweightWithLabel = ResultLightweight & {
21609
21761
  };
21610
21762
  export interface OutputFile {
21611
21763
  evalId: string | null;
21612
- results: EvaluateSummary;
21764
+ results: EvaluateSummaryV3 | EvaluateSummaryV2;
21613
21765
  config: Partial<UnifiedConfig>;
21614
21766
  shareableUrl: string | null;
21615
21767
  }
@@ -21617,7 +21769,7 @@ export interface Job {
21617
21769
  status: 'in-progress' | 'complete';
21618
21770
  progress: number;
21619
21771
  total: number;
21620
- result: EvaluateSummary | null;
21772
+ result: EvaluateSummaryV3 | EvaluateSummaryV2 | null;
21621
21773
  }
21622
21774
  export declare const OutputFileExtension: z.ZodEnum<["csv", "html", "json", "txt", "yaml", "yml"]>;
21623
21775
  export type OutputFileExtension = z.infer<typeof OutputFileExtension>;