@kortyx/agent 0.27.0 → 0.29.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.
@@ -0,0 +1,1016 @@
1
+ export { C as CreateEvalsOptions, E as EvalCase, a as EvalCaseResult, b as EvalCaseResultSchema, c as EvalCommand, d as EvalConfigurationError, e as EvalContext, f as EvalCriterion, g as EvalCriterionResult, h as EvalDefaults, i as EvalExecution, j as EvalExecutionStatus, k as EvalExpectation, l as EvalGradeInput, m as EvalHandlerRef, n as EvalInterrupt, o as EvalIssue, p as EvalJson, q as EvalJudge, r as EvalJudgeIdentity, s as EvalJudgeIdentitySchema, t as EvalJudgeOptions, u as EvalJudgeUsage, v as EvalJudgeUsageSchema, w as EvalManifest, x as EvalManifestSchema, y as EvalObservation, z as EvalObservationSchema, A as EvalOutputExpectation, B as EvalPhase, D as EvalProgress, F as EvalProgressSchema, G as EvalRemoteRunRequest, H as EvalRemoteRunRequestSchema, I as EvalResponder, J as EvalResumeResponseSchema, K as EvalRunOptions, L as EvalRunResult, M as EvalRunResultSchema, N as EvalSetupContext, O as EvalStatus, P as EvalStep, Q as EvalStepResult, R as EvalStepResultSchema, S as EvalSuite, T as EvalSuiteSchema, U as EvalVerdict, V as EvalVerdictSchema, W as EvalWireEvent, X as EvalWireEventSchema, Y as StudioEvalJudgeOptions, Z as StudioEvalJudgeRequestSchema, _ as StudioEvalJudgeResponseSchema, $ as StudioEvalStartRequestSchema, a0 as createStudioEvalJudge, a1 as defineSuite, a2 as parseEvalSuite } from './studio-judge-BFF0TsT2.js';
2
+ import { z } from 'zod';
3
+ import '@kortyx/providers';
4
+ import '@kortyx/core/errors';
5
+ import '@kortyx/stream';
6
+ import '@kortyx/core';
7
+ import '@kortyx/runtime';
8
+ import '@kortyx/hooks';
9
+ import './chat-message-D4EsFcr1.js';
10
+
11
+ declare const StudioEvalTargetsResponseSchema: z.ZodObject<{
12
+ canRun: z.ZodBoolean;
13
+ studioJudge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodString;
15
+ version: z.ZodString;
16
+ location: z.ZodOptional<z.ZodEnum<{
17
+ app: "app";
18
+ studio: "studio";
19
+ }>>;
20
+ }, z.core.$strict>>>;
21
+ targets: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodString;
23
+ name: z.ZodString;
24
+ environment: z.ZodString;
25
+ error: z.ZodNullable<z.ZodString>;
26
+ manifest: z.ZodNullable<z.ZodObject<{
27
+ schemaVersion: z.ZodLiteral<1>;
28
+ studioJudging: z.ZodOptional<z.ZodLiteral<true>>;
29
+ suites: z.ZodArray<z.ZodObject<{
30
+ id: z.ZodString;
31
+ name: z.ZodOptional<z.ZodString>;
32
+ cases: z.ZodArray<z.ZodObject<{
33
+ id: z.ZodString;
34
+ name: z.ZodOptional<z.ZodString>;
35
+ params: z.ZodOptional<z.ZodJSONSchema>;
36
+ workflowId: z.ZodOptional<z.ZodString>;
37
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
38
+ message: z.ZodString;
39
+ expect: z.ZodObject<{
40
+ type: z.ZodEnum<{
41
+ interrupt: "interrupt";
42
+ answer: "answer";
43
+ }>;
44
+ schemaId: z.ZodOptional<z.ZodString>;
45
+ schemaVersion: z.ZodOptional<z.ZodString>;
46
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
47
+ schemaId: z.ZodString;
48
+ schemaVersion: z.ZodOptional<z.ZodString>;
49
+ }, z.core.$strict>>>;
50
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
51
+ id: z.ZodString;
52
+ text: z.ZodString;
53
+ }, z.core.$strict>]>>>;
54
+ reference: z.ZodOptional<z.ZodJSONSchema>;
55
+ }, z.core.$strict>;
56
+ }, z.core.$strict>, z.ZodObject<{
57
+ resume: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
58
+ type: z.ZodLiteral<"text">;
59
+ text: z.ZodString;
60
+ }, z.core.$strict>, z.ZodObject<{
61
+ type: z.ZodLiteral<"select">;
62
+ ids: z.ZodArray<z.ZodString>;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ type: z.ZodLiteral<"value">;
65
+ value: z.ZodJSONSchema;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ type: z.ZodLiteral<"cancel">;
68
+ }, z.core.$strict>], "type">, z.ZodObject<{
69
+ using: z.ZodString;
70
+ params: z.ZodOptional<z.ZodJSONSchema>;
71
+ }, z.core.$strict>]>;
72
+ expect: z.ZodObject<{
73
+ type: z.ZodEnum<{
74
+ interrupt: "interrupt";
75
+ answer: "answer";
76
+ }>;
77
+ schemaId: z.ZodOptional<z.ZodString>;
78
+ schemaVersion: z.ZodOptional<z.ZodString>;
79
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
80
+ schemaId: z.ZodString;
81
+ schemaVersion: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$strict>>>;
83
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
84
+ id: z.ZodString;
85
+ text: z.ZodString;
86
+ }, z.core.$strict>]>>>;
87
+ reference: z.ZodOptional<z.ZodJSONSchema>;
88
+ }, z.core.$strict>;
89
+ }, z.core.$strict>]>>;
90
+ }, z.core.$strict>>;
91
+ }, z.core.$strict>>;
92
+ responders: z.ZodArray<z.ZodObject<{
93
+ name: z.ZodString;
94
+ schemaId: z.ZodOptional<z.ZodString>;
95
+ schemaVersion: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strict>>;
97
+ references: z.ZodArray<z.ZodString>;
98
+ paramsSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
99
+ judge: z.ZodOptional<z.ZodObject<{
100
+ id: z.ZodString;
101
+ version: z.ZodString;
102
+ location: z.ZodOptional<z.ZodEnum<{
103
+ app: "app";
104
+ studio: "studio";
105
+ }>>;
106
+ }, z.core.$strict>>;
107
+ }, z.core.$strict>>;
108
+ revisions: z.ZodRecord<z.ZodString, z.ZodString>;
109
+ }, z.core.$strip>>;
110
+ }, z.core.$strip>;
111
+ declare const EvalCostAmountSchema: z.ZodObject<{
112
+ amount: z.ZodNullable<z.ZodNumber>;
113
+ currency: z.ZodNullable<z.ZodString>;
114
+ status: z.ZodEnum<{
115
+ complete: "complete";
116
+ partial: "partial";
117
+ unavailable: "unavailable";
118
+ }>;
119
+ calls: z.ZodNumber;
120
+ unpricedCalls: z.ZodNumber;
121
+ estimated: z.ZodBoolean;
122
+ }, z.core.$strip>;
123
+ declare const EvalCostsSchema: z.ZodObject<{
124
+ workflow: z.ZodObject<{
125
+ amount: z.ZodNullable<z.ZodNumber>;
126
+ currency: z.ZodNullable<z.ZodString>;
127
+ status: z.ZodEnum<{
128
+ complete: "complete";
129
+ partial: "partial";
130
+ unavailable: "unavailable";
131
+ }>;
132
+ calls: z.ZodNumber;
133
+ unpricedCalls: z.ZodNumber;
134
+ estimated: z.ZodBoolean;
135
+ }, z.core.$strip>;
136
+ judge: z.ZodObject<{
137
+ amount: z.ZodNullable<z.ZodNumber>;
138
+ currency: z.ZodNullable<z.ZodString>;
139
+ status: z.ZodEnum<{
140
+ complete: "complete";
141
+ partial: "partial";
142
+ unavailable: "unavailable";
143
+ }>;
144
+ calls: z.ZodNumber;
145
+ unpricedCalls: z.ZodNumber;
146
+ estimated: z.ZodBoolean;
147
+ }, z.core.$strip>;
148
+ total: z.ZodObject<{
149
+ amount: z.ZodNullable<z.ZodNumber>;
150
+ currency: z.ZodNullable<z.ZodString>;
151
+ status: z.ZodEnum<{
152
+ complete: "complete";
153
+ partial: "partial";
154
+ unavailable: "unavailable";
155
+ }>;
156
+ calls: z.ZodNumber;
157
+ unpricedCalls: z.ZodNumber;
158
+ estimated: z.ZodBoolean;
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>;
161
+ type EvalCosts = z.infer<typeof EvalCostsSchema>;
162
+ type EvalCostAmount = z.infer<typeof EvalCostAmountSchema>;
163
+ declare const StudioEvalRunSummarySchema: z.ZodObject<{
164
+ id: z.ZodUUID;
165
+ targetId: z.ZodString;
166
+ targetName: z.ZodString;
167
+ environment: z.ZodString;
168
+ suiteId: z.ZodString;
169
+ suiteRevision: z.ZodString;
170
+ status: z.ZodEnum<{
171
+ cancelled: "cancelled";
172
+ failed: "failed";
173
+ error: "error";
174
+ passed: "passed";
175
+ queued: "queued";
176
+ running: "running";
177
+ }>;
178
+ createdAt: z.ZodString;
179
+ startedAt: z.ZodNullable<z.ZodString>;
180
+ endedAt: z.ZodNullable<z.ZodString>;
181
+ error: z.ZodNullable<z.ZodString>;
182
+ cancelRequestedAt: z.ZodNullable<z.ZodString>;
183
+ costs: z.ZodOptional<z.ZodObject<{
184
+ workflow: z.ZodObject<{
185
+ amount: z.ZodNullable<z.ZodNumber>;
186
+ currency: z.ZodNullable<z.ZodString>;
187
+ status: z.ZodEnum<{
188
+ complete: "complete";
189
+ partial: "partial";
190
+ unavailable: "unavailable";
191
+ }>;
192
+ calls: z.ZodNumber;
193
+ unpricedCalls: z.ZodNumber;
194
+ estimated: z.ZodBoolean;
195
+ }, z.core.$strip>;
196
+ judge: z.ZodObject<{
197
+ amount: z.ZodNullable<z.ZodNumber>;
198
+ currency: z.ZodNullable<z.ZodString>;
199
+ status: z.ZodEnum<{
200
+ complete: "complete";
201
+ partial: "partial";
202
+ unavailable: "unavailable";
203
+ }>;
204
+ calls: z.ZodNumber;
205
+ unpricedCalls: z.ZodNumber;
206
+ estimated: z.ZodBoolean;
207
+ }, z.core.$strip>;
208
+ total: z.ZodObject<{
209
+ amount: z.ZodNullable<z.ZodNumber>;
210
+ currency: z.ZodNullable<z.ZodString>;
211
+ status: z.ZodEnum<{
212
+ complete: "complete";
213
+ partial: "partial";
214
+ unavailable: "unavailable";
215
+ }>;
216
+ calls: z.ZodNumber;
217
+ unpricedCalls: z.ZodNumber;
218
+ estimated: z.ZodBoolean;
219
+ }, z.core.$strip>;
220
+ }, z.core.$strip>>;
221
+ counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
222
+ passed: z.ZodNumber;
223
+ failed: z.ZodNumber;
224
+ error: z.ZodNumber;
225
+ cancelled: z.ZodNumber;
226
+ }, z.core.$strip>>>;
227
+ suiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
+ }, z.core.$strip>;
229
+ declare const StudioEvalHistorySchema: z.ZodObject<{
230
+ runs: z.ZodArray<z.ZodObject<{
231
+ id: z.ZodUUID;
232
+ targetId: z.ZodString;
233
+ targetName: z.ZodString;
234
+ environment: z.ZodString;
235
+ suiteId: z.ZodString;
236
+ suiteRevision: z.ZodString;
237
+ status: z.ZodEnum<{
238
+ cancelled: "cancelled";
239
+ failed: "failed";
240
+ error: "error";
241
+ passed: "passed";
242
+ queued: "queued";
243
+ running: "running";
244
+ }>;
245
+ createdAt: z.ZodString;
246
+ startedAt: z.ZodNullable<z.ZodString>;
247
+ endedAt: z.ZodNullable<z.ZodString>;
248
+ error: z.ZodNullable<z.ZodString>;
249
+ cancelRequestedAt: z.ZodNullable<z.ZodString>;
250
+ costs: z.ZodOptional<z.ZodObject<{
251
+ workflow: z.ZodObject<{
252
+ amount: z.ZodNullable<z.ZodNumber>;
253
+ currency: z.ZodNullable<z.ZodString>;
254
+ status: z.ZodEnum<{
255
+ complete: "complete";
256
+ partial: "partial";
257
+ unavailable: "unavailable";
258
+ }>;
259
+ calls: z.ZodNumber;
260
+ unpricedCalls: z.ZodNumber;
261
+ estimated: z.ZodBoolean;
262
+ }, z.core.$strip>;
263
+ judge: z.ZodObject<{
264
+ amount: z.ZodNullable<z.ZodNumber>;
265
+ currency: z.ZodNullable<z.ZodString>;
266
+ status: z.ZodEnum<{
267
+ complete: "complete";
268
+ partial: "partial";
269
+ unavailable: "unavailable";
270
+ }>;
271
+ calls: z.ZodNumber;
272
+ unpricedCalls: z.ZodNumber;
273
+ estimated: z.ZodBoolean;
274
+ }, z.core.$strip>;
275
+ total: z.ZodObject<{
276
+ amount: z.ZodNullable<z.ZodNumber>;
277
+ currency: z.ZodNullable<z.ZodString>;
278
+ status: z.ZodEnum<{
279
+ complete: "complete";
280
+ partial: "partial";
281
+ unavailable: "unavailable";
282
+ }>;
283
+ calls: z.ZodNumber;
284
+ unpricedCalls: z.ZodNumber;
285
+ estimated: z.ZodBoolean;
286
+ }, z.core.$strip>;
287
+ }, z.core.$strip>>;
288
+ counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
289
+ passed: z.ZodNumber;
290
+ failed: z.ZodNumber;
291
+ error: z.ZodNumber;
292
+ cancelled: z.ZodNumber;
293
+ }, z.core.$strip>>>;
294
+ suiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ }, z.core.$strip>>;
296
+ }, z.core.$strip>;
297
+ declare const StudioEvalDetailSchema: z.ZodObject<{
298
+ run: z.ZodObject<{
299
+ id: z.ZodUUID;
300
+ targetId: z.ZodString;
301
+ targetName: z.ZodString;
302
+ environment: z.ZodString;
303
+ suiteId: z.ZodString;
304
+ suiteRevision: z.ZodString;
305
+ status: z.ZodEnum<{
306
+ cancelled: "cancelled";
307
+ failed: "failed";
308
+ error: "error";
309
+ passed: "passed";
310
+ queued: "queued";
311
+ running: "running";
312
+ }>;
313
+ createdAt: z.ZodString;
314
+ startedAt: z.ZodNullable<z.ZodString>;
315
+ endedAt: z.ZodNullable<z.ZodString>;
316
+ error: z.ZodNullable<z.ZodString>;
317
+ cancelRequestedAt: z.ZodNullable<z.ZodString>;
318
+ costs: z.ZodOptional<z.ZodObject<{
319
+ workflow: z.ZodObject<{
320
+ amount: z.ZodNullable<z.ZodNumber>;
321
+ currency: z.ZodNullable<z.ZodString>;
322
+ status: z.ZodEnum<{
323
+ complete: "complete";
324
+ partial: "partial";
325
+ unavailable: "unavailable";
326
+ }>;
327
+ calls: z.ZodNumber;
328
+ unpricedCalls: z.ZodNumber;
329
+ estimated: z.ZodBoolean;
330
+ }, z.core.$strip>;
331
+ judge: z.ZodObject<{
332
+ amount: z.ZodNullable<z.ZodNumber>;
333
+ currency: z.ZodNullable<z.ZodString>;
334
+ status: z.ZodEnum<{
335
+ complete: "complete";
336
+ partial: "partial";
337
+ unavailable: "unavailable";
338
+ }>;
339
+ calls: z.ZodNumber;
340
+ unpricedCalls: z.ZodNumber;
341
+ estimated: z.ZodBoolean;
342
+ }, z.core.$strip>;
343
+ total: z.ZodObject<{
344
+ amount: z.ZodNullable<z.ZodNumber>;
345
+ currency: z.ZodNullable<z.ZodString>;
346
+ status: z.ZodEnum<{
347
+ complete: "complete";
348
+ partial: "partial";
349
+ unavailable: "unavailable";
350
+ }>;
351
+ calls: z.ZodNumber;
352
+ unpricedCalls: z.ZodNumber;
353
+ estimated: z.ZodBoolean;
354
+ }, z.core.$strip>;
355
+ }, z.core.$strip>>;
356
+ counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
357
+ passed: z.ZodNumber;
358
+ failed: z.ZodNumber;
359
+ error: z.ZodNumber;
360
+ cancelled: z.ZodNumber;
361
+ }, z.core.$strip>>>;
362
+ suiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
+ caseCosts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
364
+ workflow: z.ZodObject<{
365
+ amount: z.ZodNullable<z.ZodNumber>;
366
+ currency: z.ZodNullable<z.ZodString>;
367
+ status: z.ZodEnum<{
368
+ complete: "complete";
369
+ partial: "partial";
370
+ unavailable: "unavailable";
371
+ }>;
372
+ calls: z.ZodNumber;
373
+ unpricedCalls: z.ZodNumber;
374
+ estimated: z.ZodBoolean;
375
+ }, z.core.$strip>;
376
+ judge: z.ZodObject<{
377
+ amount: z.ZodNullable<z.ZodNumber>;
378
+ currency: z.ZodNullable<z.ZodString>;
379
+ status: z.ZodEnum<{
380
+ complete: "complete";
381
+ partial: "partial";
382
+ unavailable: "unavailable";
383
+ }>;
384
+ calls: z.ZodNumber;
385
+ unpricedCalls: z.ZodNumber;
386
+ estimated: z.ZodBoolean;
387
+ }, z.core.$strip>;
388
+ total: z.ZodObject<{
389
+ amount: z.ZodNullable<z.ZodNumber>;
390
+ currency: z.ZodNullable<z.ZodString>;
391
+ status: z.ZodEnum<{
392
+ complete: "complete";
393
+ partial: "partial";
394
+ unavailable: "unavailable";
395
+ }>;
396
+ calls: z.ZodNumber;
397
+ unpricedCalls: z.ZodNumber;
398
+ estimated: z.ZodBoolean;
399
+ }, z.core.$strip>;
400
+ }, z.core.$strip>>>;
401
+ request: z.ZodOptional<z.ZodObject<{
402
+ caseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
403
+ grading: z.ZodOptional<z.ZodEnum<{
404
+ app: "app";
405
+ studio: "studio";
406
+ }>>;
407
+ judge: z.ZodOptional<z.ZodObject<{
408
+ id: z.ZodString;
409
+ version: z.ZodString;
410
+ location: z.ZodOptional<z.ZodEnum<{
411
+ app: "app";
412
+ studio: "studio";
413
+ }>>;
414
+ }, z.core.$strict>>;
415
+ repetitions: z.ZodNumber;
416
+ concurrency: z.ZodOptional<z.ZodNumber>;
417
+ }, z.core.$strip>>;
418
+ suite: z.ZodObject<{
419
+ id: z.ZodString;
420
+ name: z.ZodOptional<z.ZodString>;
421
+ cases: z.ZodArray<z.ZodObject<{
422
+ id: z.ZodString;
423
+ name: z.ZodOptional<z.ZodString>;
424
+ params: z.ZodOptional<z.ZodJSONSchema>;
425
+ workflowId: z.ZodOptional<z.ZodString>;
426
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
427
+ message: z.ZodString;
428
+ expect: z.ZodObject<{
429
+ type: z.ZodEnum<{
430
+ interrupt: "interrupt";
431
+ answer: "answer";
432
+ }>;
433
+ schemaId: z.ZodOptional<z.ZodString>;
434
+ schemaVersion: z.ZodOptional<z.ZodString>;
435
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
+ schemaId: z.ZodString;
437
+ schemaVersion: z.ZodOptional<z.ZodString>;
438
+ }, z.core.$strict>>>;
439
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
440
+ id: z.ZodString;
441
+ text: z.ZodString;
442
+ }, z.core.$strict>]>>>;
443
+ reference: z.ZodOptional<z.ZodJSONSchema>;
444
+ }, z.core.$strict>;
445
+ }, z.core.$strict>, z.ZodObject<{
446
+ resume: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
447
+ type: z.ZodLiteral<"text">;
448
+ text: z.ZodString;
449
+ }, z.core.$strict>, z.ZodObject<{
450
+ type: z.ZodLiteral<"select">;
451
+ ids: z.ZodArray<z.ZodString>;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ type: z.ZodLiteral<"value">;
454
+ value: z.ZodJSONSchema;
455
+ }, z.core.$strict>, z.ZodObject<{
456
+ type: z.ZodLiteral<"cancel">;
457
+ }, z.core.$strict>], "type">, z.ZodObject<{
458
+ using: z.ZodString;
459
+ params: z.ZodOptional<z.ZodJSONSchema>;
460
+ }, z.core.$strict>]>;
461
+ expect: z.ZodObject<{
462
+ type: z.ZodEnum<{
463
+ interrupt: "interrupt";
464
+ answer: "answer";
465
+ }>;
466
+ schemaId: z.ZodOptional<z.ZodString>;
467
+ schemaVersion: z.ZodOptional<z.ZodString>;
468
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
469
+ schemaId: z.ZodString;
470
+ schemaVersion: z.ZodOptional<z.ZodString>;
471
+ }, z.core.$strict>>>;
472
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
473
+ id: z.ZodString;
474
+ text: z.ZodString;
475
+ }, z.core.$strict>]>>>;
476
+ reference: z.ZodOptional<z.ZodJSONSchema>;
477
+ }, z.core.$strict>;
478
+ }, z.core.$strict>]>>;
479
+ }, z.core.$strict>>;
480
+ }, z.core.$strict>;
481
+ result: z.ZodNullable<z.ZodObject<{
482
+ id: z.ZodUUID;
483
+ suiteId: z.ZodString;
484
+ suiteRevision: z.ZodString;
485
+ suite: z.ZodObject<{
486
+ id: z.ZodString;
487
+ name: z.ZodOptional<z.ZodString>;
488
+ cases: z.ZodArray<z.ZodObject<{
489
+ id: z.ZodString;
490
+ name: z.ZodOptional<z.ZodString>;
491
+ params: z.ZodOptional<z.ZodJSONSchema>;
492
+ workflowId: z.ZodOptional<z.ZodString>;
493
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
494
+ message: z.ZodString;
495
+ expect: z.ZodObject<{
496
+ type: z.ZodEnum<{
497
+ interrupt: "interrupt";
498
+ answer: "answer";
499
+ }>;
500
+ schemaId: z.ZodOptional<z.ZodString>;
501
+ schemaVersion: z.ZodOptional<z.ZodString>;
502
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
503
+ schemaId: z.ZodString;
504
+ schemaVersion: z.ZodOptional<z.ZodString>;
505
+ }, z.core.$strict>>>;
506
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
507
+ id: z.ZodString;
508
+ text: z.ZodString;
509
+ }, z.core.$strict>]>>>;
510
+ reference: z.ZodOptional<z.ZodJSONSchema>;
511
+ }, z.core.$strict>;
512
+ }, z.core.$strict>, z.ZodObject<{
513
+ resume: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
514
+ type: z.ZodLiteral<"text">;
515
+ text: z.ZodString;
516
+ }, z.core.$strict>, z.ZodObject<{
517
+ type: z.ZodLiteral<"select">;
518
+ ids: z.ZodArray<z.ZodString>;
519
+ }, z.core.$strict>, z.ZodObject<{
520
+ type: z.ZodLiteral<"value">;
521
+ value: z.ZodJSONSchema;
522
+ }, z.core.$strict>, z.ZodObject<{
523
+ type: z.ZodLiteral<"cancel">;
524
+ }, z.core.$strict>], "type">, z.ZodObject<{
525
+ using: z.ZodString;
526
+ params: z.ZodOptional<z.ZodJSONSchema>;
527
+ }, z.core.$strict>]>;
528
+ expect: z.ZodObject<{
529
+ type: z.ZodEnum<{
530
+ interrupt: "interrupt";
531
+ answer: "answer";
532
+ }>;
533
+ schemaId: z.ZodOptional<z.ZodString>;
534
+ schemaVersion: z.ZodOptional<z.ZodString>;
535
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
536
+ schemaId: z.ZodString;
537
+ schemaVersion: z.ZodOptional<z.ZodString>;
538
+ }, z.core.$strict>>>;
539
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
540
+ id: z.ZodString;
541
+ text: z.ZodString;
542
+ }, z.core.$strict>]>>>;
543
+ reference: z.ZodOptional<z.ZodJSONSchema>;
544
+ }, z.core.$strict>;
545
+ }, z.core.$strict>]>>;
546
+ }, z.core.$strict>>;
547
+ }, z.core.$strict>;
548
+ judge: z.ZodOptional<z.ZodObject<{
549
+ id: z.ZodString;
550
+ version: z.ZodString;
551
+ location: z.ZodOptional<z.ZodEnum<{
552
+ app: "app";
553
+ studio: "studio";
554
+ }>>;
555
+ }, z.core.$strict>>;
556
+ startedAt: z.ZodISODateTime;
557
+ durationMs: z.ZodNumber;
558
+ status: z.ZodEnum<{
559
+ cancelled: "cancelled";
560
+ failed: "failed";
561
+ error: "error";
562
+ passed: "passed";
563
+ ungraded: "ungraded";
564
+ }>;
565
+ counts: z.ZodObject<{
566
+ passed: z.ZodNumber;
567
+ failed: z.ZodNumber;
568
+ error: z.ZodNumber;
569
+ cancelled: z.ZodNumber;
570
+ ungraded: z.ZodOptional<z.ZodNumber>;
571
+ }, z.core.$strict>;
572
+ cases: z.ZodArray<z.ZodObject<{
573
+ caseId: z.ZodString;
574
+ repetition: z.ZodNumber;
575
+ sessionId: z.ZodString;
576
+ status: z.ZodEnum<{
577
+ cancelled: "cancelled";
578
+ failed: "failed";
579
+ error: "error";
580
+ passed: "passed";
581
+ ungraded: "ungraded";
582
+ }>;
583
+ durationMs: z.ZodNumber;
584
+ steps: z.ZodArray<z.ZodObject<{
585
+ index: z.ZodNumber;
586
+ input: z.ZodUnion<readonly [z.ZodObject<{
587
+ message: z.ZodString;
588
+ }, z.core.$strict>, z.ZodObject<{
589
+ resume: z.ZodDiscriminatedUnion<[z.ZodObject<{
590
+ type: z.ZodLiteral<"text">;
591
+ text: z.ZodString;
592
+ }, z.core.$strict>, z.ZodObject<{
593
+ type: z.ZodLiteral<"select">;
594
+ ids: z.ZodArray<z.ZodString>;
595
+ }, z.core.$strict>, z.ZodObject<{
596
+ type: z.ZodLiteral<"value">;
597
+ value: z.ZodJSONSchema;
598
+ }, z.core.$strict>, z.ZodObject<{
599
+ type: z.ZodLiteral<"cancel">;
600
+ }, z.core.$strict>], "type">;
601
+ }, z.core.$strict>]>;
602
+ expectation: z.ZodObject<{
603
+ type: z.ZodEnum<{
604
+ interrupt: "interrupt";
605
+ answer: "answer";
606
+ }>;
607
+ schemaId: z.ZodOptional<z.ZodString>;
608
+ schemaVersion: z.ZodOptional<z.ZodString>;
609
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
610
+ schemaId: z.ZodString;
611
+ schemaVersion: z.ZodOptional<z.ZodString>;
612
+ }, z.core.$strict>>>;
613
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
614
+ id: z.ZodString;
615
+ text: z.ZodString;
616
+ }, z.core.$strict>]>>>;
617
+ reference: z.ZodOptional<z.ZodJSONSchema>;
618
+ }, z.core.$strict>;
619
+ observation: z.ZodObject<{
620
+ type: z.ZodEnum<{
621
+ cancelled: "cancelled";
622
+ interrupt: "interrupt";
623
+ error: "error";
624
+ answer: "answer";
625
+ }>;
626
+ text: z.ZodString;
627
+ structured: z.ZodArray<z.ZodJSONSchema>;
628
+ events: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
629
+ runId: z.ZodOptional<z.ZodString>;
630
+ checkpointId: z.ZodOptional<z.ZodString>;
631
+ interrupt: z.ZodOptional<z.ZodObject<{
632
+ requestId: z.ZodString;
633
+ kind: z.ZodEnum<{
634
+ text: "text";
635
+ custom: "custom";
636
+ "multi-choice": "multi-choice";
637
+ choice: "choice";
638
+ }>;
639
+ question: z.ZodOptional<z.ZodString>;
640
+ schemaId: z.ZodOptional<z.ZodString>;
641
+ schemaVersion: z.ZodOptional<z.ZodString>;
642
+ options: z.ZodArray<z.ZodObject<{
643
+ id: z.ZodString;
644
+ label: z.ZodString;
645
+ description: z.ZodOptional<z.ZodString>;
646
+ }, z.core.$strict>>;
647
+ request: z.ZodOptional<z.ZodJSONSchema>;
648
+ }, z.core.$strict>>;
649
+ }, z.core.$strict>;
650
+ reference: z.ZodOptional<z.ZodJSONSchema>;
651
+ status: z.ZodEnum<{
652
+ cancelled: "cancelled";
653
+ failed: "failed";
654
+ error: "error";
655
+ passed: "passed";
656
+ ungraded: "ungraded";
657
+ }>;
658
+ reason: z.ZodOptional<z.ZodString>;
659
+ judgeCalls: z.ZodOptional<z.ZodNumber>;
660
+ judgeUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
661
+ provider: z.ZodString;
662
+ model: z.ZodString;
663
+ occurredAt: z.ZodISODateTime;
664
+ usage: z.ZodOptional<z.ZodObject<{
665
+ input: z.ZodOptional<z.ZodNumber>;
666
+ output: z.ZodOptional<z.ZodNumber>;
667
+ total: z.ZodOptional<z.ZodNumber>;
668
+ reasoning: z.ZodOptional<z.ZodNumber>;
669
+ cacheRead: z.ZodOptional<z.ZodNumber>;
670
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
671
+ cacheWrite1h: z.ZodOptional<z.ZodNumber>;
672
+ outputIncludesReasoning: z.ZodOptional<z.ZodBoolean>;
673
+ inputIncludesCacheRead: z.ZodOptional<z.ZodBoolean>;
674
+ inputIncludesCacheWrite: z.ZodOptional<z.ZodBoolean>;
675
+ }, z.core.$strict>>;
676
+ pricingContext: z.ZodOptional<z.ZodObject<{
677
+ serviceTier: z.ZodOptional<z.ZodString>;
678
+ inferenceGeo: z.ZodOptional<z.ZodString>;
679
+ speed: z.ZodOptional<z.ZodString>;
680
+ }, z.core.$strict>>;
681
+ pricing: z.ZodOptional<z.ZodObject<{
682
+ source: z.ZodLiteral<"provider">;
683
+ currency: z.ZodLiteral<"USD">;
684
+ actualCostMicros: z.ZodNumber;
685
+ }, z.core.$strict>>;
686
+ }, z.core.$strict>>>;
687
+ criteria: z.ZodArray<z.ZodObject<{
688
+ passed: z.ZodBoolean;
689
+ reason: z.ZodString;
690
+ evidence: z.ZodArray<z.ZodString>;
691
+ id: z.ZodString;
692
+ text: z.ZodString;
693
+ }, z.core.$strict>>;
694
+ }, z.core.$strict>>;
695
+ errors: z.ZodArray<z.ZodObject<{
696
+ phase: z.ZodEnum<{
697
+ params: "params";
698
+ execute: "execute";
699
+ setup: "setup";
700
+ responder: "responder";
701
+ reference: "reference";
702
+ grading: "grading";
703
+ cleanup: "cleanup";
704
+ reporting: "reporting";
705
+ }>;
706
+ code: z.ZodString;
707
+ message: z.ZodString;
708
+ }, z.core.$strict>>;
709
+ }, z.core.$strict>>;
710
+ errors: z.ZodArray<z.ZodObject<{
711
+ phase: z.ZodEnum<{
712
+ params: "params";
713
+ execute: "execute";
714
+ setup: "setup";
715
+ responder: "responder";
716
+ reference: "reference";
717
+ grading: "grading";
718
+ cleanup: "cleanup";
719
+ reporting: "reporting";
720
+ }>;
721
+ code: z.ZodString;
722
+ message: z.ZodString;
723
+ }, z.core.$strict>>;
724
+ }, z.core.$strict>>;
725
+ events: z.ZodArray<z.ZodObject<{
726
+ id: z.ZodNumber;
727
+ event: z.ZodDiscriminatedUnion<[z.ZodObject<{
728
+ type: z.ZodLiteral<"run-started">;
729
+ caseIds: z.ZodArray<z.ZodString>;
730
+ repetitions: z.ZodNumber;
731
+ concurrency: z.ZodNumber;
732
+ }, z.core.$strict>, z.ZodObject<{
733
+ type: z.ZodLiteral<"case-progress">;
734
+ caseId: z.ZodString;
735
+ repetition: z.ZodNumber;
736
+ phase: z.ZodEnum<{
737
+ params: "params";
738
+ execute: "execute";
739
+ setup: "setup";
740
+ responder: "responder";
741
+ reference: "reference";
742
+ grading: "grading";
743
+ cleanup: "cleanup";
744
+ reporting: "reporting";
745
+ }>;
746
+ stepIndex: z.ZodOptional<z.ZodNumber>;
747
+ }, z.core.$strict>, z.ZodObject<{
748
+ type: z.ZodLiteral<"case-started">;
749
+ caseId: z.ZodString;
750
+ repetition: z.ZodNumber;
751
+ sessionId: z.ZodString;
752
+ }, z.core.$strict>, z.ZodObject<{
753
+ type: z.ZodLiteral<"step-completed">;
754
+ caseId: z.ZodString;
755
+ repetition: z.ZodNumber;
756
+ step: z.ZodObject<{
757
+ index: z.ZodNumber;
758
+ input: z.ZodUnion<readonly [z.ZodObject<{
759
+ message: z.ZodString;
760
+ }, z.core.$strict>, z.ZodObject<{
761
+ resume: z.ZodDiscriminatedUnion<[z.ZodObject<{
762
+ type: z.ZodLiteral<"text">;
763
+ text: z.ZodString;
764
+ }, z.core.$strict>, z.ZodObject<{
765
+ type: z.ZodLiteral<"select">;
766
+ ids: z.ZodArray<z.ZodString>;
767
+ }, z.core.$strict>, z.ZodObject<{
768
+ type: z.ZodLiteral<"value">;
769
+ value: z.ZodJSONSchema;
770
+ }, z.core.$strict>, z.ZodObject<{
771
+ type: z.ZodLiteral<"cancel">;
772
+ }, z.core.$strict>], "type">;
773
+ }, z.core.$strict>]>;
774
+ expectation: z.ZodObject<{
775
+ type: z.ZodEnum<{
776
+ interrupt: "interrupt";
777
+ answer: "answer";
778
+ }>;
779
+ schemaId: z.ZodOptional<z.ZodString>;
780
+ schemaVersion: z.ZodOptional<z.ZodString>;
781
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
782
+ schemaId: z.ZodString;
783
+ schemaVersion: z.ZodOptional<z.ZodString>;
784
+ }, z.core.$strict>>>;
785
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
786
+ id: z.ZodString;
787
+ text: z.ZodString;
788
+ }, z.core.$strict>]>>>;
789
+ reference: z.ZodOptional<z.ZodJSONSchema>;
790
+ }, z.core.$strict>;
791
+ observation: z.ZodObject<{
792
+ type: z.ZodEnum<{
793
+ cancelled: "cancelled";
794
+ interrupt: "interrupt";
795
+ error: "error";
796
+ answer: "answer";
797
+ }>;
798
+ text: z.ZodString;
799
+ structured: z.ZodArray<z.ZodJSONSchema>;
800
+ events: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
801
+ runId: z.ZodOptional<z.ZodString>;
802
+ checkpointId: z.ZodOptional<z.ZodString>;
803
+ interrupt: z.ZodOptional<z.ZodObject<{
804
+ requestId: z.ZodString;
805
+ kind: z.ZodEnum<{
806
+ text: "text";
807
+ custom: "custom";
808
+ "multi-choice": "multi-choice";
809
+ choice: "choice";
810
+ }>;
811
+ question: z.ZodOptional<z.ZodString>;
812
+ schemaId: z.ZodOptional<z.ZodString>;
813
+ schemaVersion: z.ZodOptional<z.ZodString>;
814
+ options: z.ZodArray<z.ZodObject<{
815
+ id: z.ZodString;
816
+ label: z.ZodString;
817
+ description: z.ZodOptional<z.ZodString>;
818
+ }, z.core.$strict>>;
819
+ request: z.ZodOptional<z.ZodJSONSchema>;
820
+ }, z.core.$strict>>;
821
+ }, z.core.$strict>;
822
+ reference: z.ZodOptional<z.ZodJSONSchema>;
823
+ status: z.ZodEnum<{
824
+ cancelled: "cancelled";
825
+ failed: "failed";
826
+ error: "error";
827
+ passed: "passed";
828
+ ungraded: "ungraded";
829
+ }>;
830
+ reason: z.ZodOptional<z.ZodString>;
831
+ judgeCalls: z.ZodOptional<z.ZodNumber>;
832
+ judgeUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
833
+ provider: z.ZodString;
834
+ model: z.ZodString;
835
+ occurredAt: z.ZodISODateTime;
836
+ usage: z.ZodOptional<z.ZodObject<{
837
+ input: z.ZodOptional<z.ZodNumber>;
838
+ output: z.ZodOptional<z.ZodNumber>;
839
+ total: z.ZodOptional<z.ZodNumber>;
840
+ reasoning: z.ZodOptional<z.ZodNumber>;
841
+ cacheRead: z.ZodOptional<z.ZodNumber>;
842
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
843
+ cacheWrite1h: z.ZodOptional<z.ZodNumber>;
844
+ outputIncludesReasoning: z.ZodOptional<z.ZodBoolean>;
845
+ inputIncludesCacheRead: z.ZodOptional<z.ZodBoolean>;
846
+ inputIncludesCacheWrite: z.ZodOptional<z.ZodBoolean>;
847
+ }, z.core.$strict>>;
848
+ pricingContext: z.ZodOptional<z.ZodObject<{
849
+ serviceTier: z.ZodOptional<z.ZodString>;
850
+ inferenceGeo: z.ZodOptional<z.ZodString>;
851
+ speed: z.ZodOptional<z.ZodString>;
852
+ }, z.core.$strict>>;
853
+ pricing: z.ZodOptional<z.ZodObject<{
854
+ source: z.ZodLiteral<"provider">;
855
+ currency: z.ZodLiteral<"USD">;
856
+ actualCostMicros: z.ZodNumber;
857
+ }, z.core.$strict>>;
858
+ }, z.core.$strict>>>;
859
+ criteria: z.ZodArray<z.ZodObject<{
860
+ passed: z.ZodBoolean;
861
+ reason: z.ZodString;
862
+ evidence: z.ZodArray<z.ZodString>;
863
+ id: z.ZodString;
864
+ text: z.ZodString;
865
+ }, z.core.$strict>>;
866
+ }, z.core.$strict>;
867
+ }, z.core.$strict>, z.ZodObject<{
868
+ type: z.ZodLiteral<"case-completed">;
869
+ result: z.ZodObject<{
870
+ caseId: z.ZodString;
871
+ repetition: z.ZodNumber;
872
+ sessionId: z.ZodString;
873
+ status: z.ZodEnum<{
874
+ cancelled: "cancelled";
875
+ failed: "failed";
876
+ error: "error";
877
+ passed: "passed";
878
+ ungraded: "ungraded";
879
+ }>;
880
+ durationMs: z.ZodNumber;
881
+ steps: z.ZodArray<z.ZodObject<{
882
+ index: z.ZodNumber;
883
+ input: z.ZodUnion<readonly [z.ZodObject<{
884
+ message: z.ZodString;
885
+ }, z.core.$strict>, z.ZodObject<{
886
+ resume: z.ZodDiscriminatedUnion<[z.ZodObject<{
887
+ type: z.ZodLiteral<"text">;
888
+ text: z.ZodString;
889
+ }, z.core.$strict>, z.ZodObject<{
890
+ type: z.ZodLiteral<"select">;
891
+ ids: z.ZodArray<z.ZodString>;
892
+ }, z.core.$strict>, z.ZodObject<{
893
+ type: z.ZodLiteral<"value">;
894
+ value: z.ZodJSONSchema;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ type: z.ZodLiteral<"cancel">;
897
+ }, z.core.$strict>], "type">;
898
+ }, z.core.$strict>]>;
899
+ expectation: z.ZodObject<{
900
+ type: z.ZodEnum<{
901
+ interrupt: "interrupt";
902
+ answer: "answer";
903
+ }>;
904
+ schemaId: z.ZodOptional<z.ZodString>;
905
+ schemaVersion: z.ZodOptional<z.ZodString>;
906
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
907
+ schemaId: z.ZodString;
908
+ schemaVersion: z.ZodOptional<z.ZodString>;
909
+ }, z.core.$strict>>>;
910
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
911
+ id: z.ZodString;
912
+ text: z.ZodString;
913
+ }, z.core.$strict>]>>>;
914
+ reference: z.ZodOptional<z.ZodJSONSchema>;
915
+ }, z.core.$strict>;
916
+ observation: z.ZodObject<{
917
+ type: z.ZodEnum<{
918
+ cancelled: "cancelled";
919
+ interrupt: "interrupt";
920
+ error: "error";
921
+ answer: "answer";
922
+ }>;
923
+ text: z.ZodString;
924
+ structured: z.ZodArray<z.ZodJSONSchema>;
925
+ events: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
926
+ runId: z.ZodOptional<z.ZodString>;
927
+ checkpointId: z.ZodOptional<z.ZodString>;
928
+ interrupt: z.ZodOptional<z.ZodObject<{
929
+ requestId: z.ZodString;
930
+ kind: z.ZodEnum<{
931
+ text: "text";
932
+ custom: "custom";
933
+ "multi-choice": "multi-choice";
934
+ choice: "choice";
935
+ }>;
936
+ question: z.ZodOptional<z.ZodString>;
937
+ schemaId: z.ZodOptional<z.ZodString>;
938
+ schemaVersion: z.ZodOptional<z.ZodString>;
939
+ options: z.ZodArray<z.ZodObject<{
940
+ id: z.ZodString;
941
+ label: z.ZodString;
942
+ description: z.ZodOptional<z.ZodString>;
943
+ }, z.core.$strict>>;
944
+ request: z.ZodOptional<z.ZodJSONSchema>;
945
+ }, z.core.$strict>>;
946
+ }, z.core.$strict>;
947
+ reference: z.ZodOptional<z.ZodJSONSchema>;
948
+ status: z.ZodEnum<{
949
+ cancelled: "cancelled";
950
+ failed: "failed";
951
+ error: "error";
952
+ passed: "passed";
953
+ ungraded: "ungraded";
954
+ }>;
955
+ reason: z.ZodOptional<z.ZodString>;
956
+ judgeCalls: z.ZodOptional<z.ZodNumber>;
957
+ judgeUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
958
+ provider: z.ZodString;
959
+ model: z.ZodString;
960
+ occurredAt: z.ZodISODateTime;
961
+ usage: z.ZodOptional<z.ZodObject<{
962
+ input: z.ZodOptional<z.ZodNumber>;
963
+ output: z.ZodOptional<z.ZodNumber>;
964
+ total: z.ZodOptional<z.ZodNumber>;
965
+ reasoning: z.ZodOptional<z.ZodNumber>;
966
+ cacheRead: z.ZodOptional<z.ZodNumber>;
967
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
968
+ cacheWrite1h: z.ZodOptional<z.ZodNumber>;
969
+ outputIncludesReasoning: z.ZodOptional<z.ZodBoolean>;
970
+ inputIncludesCacheRead: z.ZodOptional<z.ZodBoolean>;
971
+ inputIncludesCacheWrite: z.ZodOptional<z.ZodBoolean>;
972
+ }, z.core.$strict>>;
973
+ pricingContext: z.ZodOptional<z.ZodObject<{
974
+ serviceTier: z.ZodOptional<z.ZodString>;
975
+ inferenceGeo: z.ZodOptional<z.ZodString>;
976
+ speed: z.ZodOptional<z.ZodString>;
977
+ }, z.core.$strict>>;
978
+ pricing: z.ZodOptional<z.ZodObject<{
979
+ source: z.ZodLiteral<"provider">;
980
+ currency: z.ZodLiteral<"USD">;
981
+ actualCostMicros: z.ZodNumber;
982
+ }, z.core.$strict>>;
983
+ }, z.core.$strict>>>;
984
+ criteria: z.ZodArray<z.ZodObject<{
985
+ passed: z.ZodBoolean;
986
+ reason: z.ZodString;
987
+ evidence: z.ZodArray<z.ZodString>;
988
+ id: z.ZodString;
989
+ text: z.ZodString;
990
+ }, z.core.$strict>>;
991
+ }, z.core.$strict>>;
992
+ errors: z.ZodArray<z.ZodObject<{
993
+ phase: z.ZodEnum<{
994
+ params: "params";
995
+ execute: "execute";
996
+ setup: "setup";
997
+ responder: "responder";
998
+ reference: "reference";
999
+ grading: "grading";
1000
+ cleanup: "cleanup";
1001
+ reporting: "reporting";
1002
+ }>;
1003
+ code: z.ZodString;
1004
+ message: z.ZodString;
1005
+ }, z.core.$strict>>;
1006
+ }, z.core.$strict>;
1007
+ }, z.core.$strict>], "type">;
1008
+ }, z.core.$strip>>;
1009
+ }, z.core.$strip>;
1010
+ }, z.core.$strip>;
1011
+ type StudioEvalTargets = z.infer<typeof StudioEvalTargetsResponseSchema>;
1012
+ type StudioEvalHistory = z.infer<typeof StudioEvalHistorySchema>;
1013
+ type StudioEvalDetail = z.infer<typeof StudioEvalDetailSchema>["run"];
1014
+ type StudioEvalRunSummary = z.infer<typeof StudioEvalRunSummarySchema>;
1015
+
1016
+ export { type EvalCostAmount, EvalCostAmountSchema, type EvalCosts, EvalCostsSchema, type StudioEvalDetail, StudioEvalDetailSchema, type StudioEvalHistory, StudioEvalHistorySchema, type StudioEvalRunSummary, StudioEvalRunSummarySchema, type StudioEvalTargets, StudioEvalTargetsResponseSchema };