@kortyx/agent 0.28.0 → 0.30.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,1028 @@
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
+ diagnostic: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ code: z.ZodEnum<{
28
+ environment_forbidden: "environment_forbidden";
29
+ environment_unavailable: "environment_unavailable";
30
+ endpoint_not_found: "endpoint_not_found";
31
+ endpoint_unauthorized: "endpoint_unauthorized";
32
+ endpoint_http_error: "endpoint_http_error";
33
+ endpoint_unreachable: "endpoint_unreachable";
34
+ manifest_invalid: "manifest_invalid";
35
+ }>;
36
+ httpStatus: z.ZodOptional<z.ZodNumber>;
37
+ }, z.core.$strip>>>;
38
+ manifest: z.ZodNullable<z.ZodObject<{
39
+ schemaVersion: z.ZodLiteral<1>;
40
+ studioJudging: z.ZodOptional<z.ZodLiteral<true>>;
41
+ suites: z.ZodArray<z.ZodObject<{
42
+ id: z.ZodString;
43
+ name: z.ZodOptional<z.ZodString>;
44
+ cases: z.ZodArray<z.ZodObject<{
45
+ id: z.ZodString;
46
+ name: z.ZodOptional<z.ZodString>;
47
+ params: z.ZodOptional<z.ZodJSONSchema>;
48
+ workflowId: z.ZodOptional<z.ZodString>;
49
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
50
+ message: z.ZodString;
51
+ expect: z.ZodObject<{
52
+ type: z.ZodEnum<{
53
+ interrupt: "interrupt";
54
+ answer: "answer";
55
+ }>;
56
+ schemaId: z.ZodOptional<z.ZodString>;
57
+ schemaVersion: z.ZodOptional<z.ZodString>;
58
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
59
+ schemaId: z.ZodString;
60
+ schemaVersion: z.ZodOptional<z.ZodString>;
61
+ }, z.core.$strict>>>;
62
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
63
+ id: z.ZodString;
64
+ text: z.ZodString;
65
+ }, z.core.$strict>]>>>;
66
+ reference: z.ZodOptional<z.ZodJSONSchema>;
67
+ }, z.core.$strict>;
68
+ }, z.core.$strict>, z.ZodObject<{
69
+ resume: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
70
+ type: z.ZodLiteral<"text">;
71
+ text: z.ZodString;
72
+ }, z.core.$strict>, z.ZodObject<{
73
+ type: z.ZodLiteral<"select">;
74
+ ids: z.ZodArray<z.ZodString>;
75
+ }, z.core.$strict>, z.ZodObject<{
76
+ type: z.ZodLiteral<"value">;
77
+ value: z.ZodJSONSchema;
78
+ }, z.core.$strict>, z.ZodObject<{
79
+ type: z.ZodLiteral<"cancel">;
80
+ }, z.core.$strict>], "type">, z.ZodObject<{
81
+ using: z.ZodString;
82
+ params: z.ZodOptional<z.ZodJSONSchema>;
83
+ }, z.core.$strict>]>;
84
+ expect: z.ZodObject<{
85
+ type: z.ZodEnum<{
86
+ interrupt: "interrupt";
87
+ answer: "answer";
88
+ }>;
89
+ schemaId: z.ZodOptional<z.ZodString>;
90
+ schemaVersion: z.ZodOptional<z.ZodString>;
91
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
92
+ schemaId: z.ZodString;
93
+ schemaVersion: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strict>>>;
95
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
96
+ id: z.ZodString;
97
+ text: z.ZodString;
98
+ }, z.core.$strict>]>>>;
99
+ reference: z.ZodOptional<z.ZodJSONSchema>;
100
+ }, z.core.$strict>;
101
+ }, z.core.$strict>]>>;
102
+ }, z.core.$strict>>;
103
+ }, z.core.$strict>>;
104
+ responders: z.ZodArray<z.ZodObject<{
105
+ name: z.ZodString;
106
+ schemaId: z.ZodOptional<z.ZodString>;
107
+ schemaVersion: z.ZodOptional<z.ZodString>;
108
+ }, z.core.$strict>>;
109
+ references: z.ZodArray<z.ZodString>;
110
+ paramsSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
111
+ judge: z.ZodOptional<z.ZodObject<{
112
+ id: z.ZodString;
113
+ version: z.ZodString;
114
+ location: z.ZodOptional<z.ZodEnum<{
115
+ app: "app";
116
+ studio: "studio";
117
+ }>>;
118
+ }, z.core.$strict>>;
119
+ }, z.core.$strict>>;
120
+ revisions: z.ZodRecord<z.ZodString, z.ZodString>;
121
+ }, z.core.$strip>>;
122
+ }, z.core.$strip>;
123
+ declare const EvalCostAmountSchema: z.ZodObject<{
124
+ amount: z.ZodNullable<z.ZodNumber>;
125
+ currency: z.ZodNullable<z.ZodString>;
126
+ status: z.ZodEnum<{
127
+ complete: "complete";
128
+ partial: "partial";
129
+ unavailable: "unavailable";
130
+ }>;
131
+ calls: z.ZodNumber;
132
+ unpricedCalls: z.ZodNumber;
133
+ estimated: z.ZodBoolean;
134
+ }, z.core.$strip>;
135
+ declare const EvalCostsSchema: z.ZodObject<{
136
+ workflow: 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
+ judge: 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
+ total: z.ZodObject<{
161
+ amount: z.ZodNullable<z.ZodNumber>;
162
+ currency: z.ZodNullable<z.ZodString>;
163
+ status: z.ZodEnum<{
164
+ complete: "complete";
165
+ partial: "partial";
166
+ unavailable: "unavailable";
167
+ }>;
168
+ calls: z.ZodNumber;
169
+ unpricedCalls: z.ZodNumber;
170
+ estimated: z.ZodBoolean;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>;
173
+ type EvalCosts = z.infer<typeof EvalCostsSchema>;
174
+ type EvalCostAmount = z.infer<typeof EvalCostAmountSchema>;
175
+ declare const StudioEvalRunSummarySchema: z.ZodObject<{
176
+ id: z.ZodUUID;
177
+ targetId: z.ZodString;
178
+ targetName: z.ZodString;
179
+ environment: z.ZodString;
180
+ suiteId: z.ZodString;
181
+ suiteRevision: z.ZodString;
182
+ status: z.ZodEnum<{
183
+ cancelled: "cancelled";
184
+ failed: "failed";
185
+ error: "error";
186
+ passed: "passed";
187
+ queued: "queued";
188
+ running: "running";
189
+ }>;
190
+ createdAt: z.ZodString;
191
+ startedAt: z.ZodNullable<z.ZodString>;
192
+ endedAt: z.ZodNullable<z.ZodString>;
193
+ error: z.ZodNullable<z.ZodString>;
194
+ cancelRequestedAt: z.ZodNullable<z.ZodString>;
195
+ costs: z.ZodOptional<z.ZodObject<{
196
+ workflow: 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
+ judge: 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
+ total: z.ZodObject<{
221
+ amount: z.ZodNullable<z.ZodNumber>;
222
+ currency: z.ZodNullable<z.ZodString>;
223
+ status: z.ZodEnum<{
224
+ complete: "complete";
225
+ partial: "partial";
226
+ unavailable: "unavailable";
227
+ }>;
228
+ calls: z.ZodNumber;
229
+ unpricedCalls: z.ZodNumber;
230
+ estimated: z.ZodBoolean;
231
+ }, z.core.$strip>;
232
+ }, z.core.$strip>>;
233
+ counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
234
+ passed: z.ZodNumber;
235
+ failed: z.ZodNumber;
236
+ error: z.ZodNumber;
237
+ cancelled: z.ZodNumber;
238
+ }, z.core.$strip>>>;
239
+ suiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ }, z.core.$strip>;
241
+ declare const StudioEvalHistorySchema: z.ZodObject<{
242
+ runs: z.ZodArray<z.ZodObject<{
243
+ id: z.ZodUUID;
244
+ targetId: z.ZodString;
245
+ targetName: z.ZodString;
246
+ environment: z.ZodString;
247
+ suiteId: z.ZodString;
248
+ suiteRevision: z.ZodString;
249
+ status: z.ZodEnum<{
250
+ cancelled: "cancelled";
251
+ failed: "failed";
252
+ error: "error";
253
+ passed: "passed";
254
+ queued: "queued";
255
+ running: "running";
256
+ }>;
257
+ createdAt: z.ZodString;
258
+ startedAt: z.ZodNullable<z.ZodString>;
259
+ endedAt: z.ZodNullable<z.ZodString>;
260
+ error: z.ZodNullable<z.ZodString>;
261
+ cancelRequestedAt: z.ZodNullable<z.ZodString>;
262
+ costs: z.ZodOptional<z.ZodObject<{
263
+ workflow: 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
+ judge: 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
+ total: z.ZodObject<{
288
+ amount: z.ZodNullable<z.ZodNumber>;
289
+ currency: z.ZodNullable<z.ZodString>;
290
+ status: z.ZodEnum<{
291
+ complete: "complete";
292
+ partial: "partial";
293
+ unavailable: "unavailable";
294
+ }>;
295
+ calls: z.ZodNumber;
296
+ unpricedCalls: z.ZodNumber;
297
+ estimated: z.ZodBoolean;
298
+ }, z.core.$strip>;
299
+ }, z.core.$strip>>;
300
+ counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
301
+ passed: z.ZodNumber;
302
+ failed: z.ZodNumber;
303
+ error: z.ZodNumber;
304
+ cancelled: z.ZodNumber;
305
+ }, z.core.$strip>>>;
306
+ suiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
+ }, z.core.$strip>>;
308
+ }, z.core.$strip>;
309
+ declare const StudioEvalDetailSchema: z.ZodObject<{
310
+ run: z.ZodObject<{
311
+ id: z.ZodUUID;
312
+ targetId: z.ZodString;
313
+ targetName: z.ZodString;
314
+ environment: z.ZodString;
315
+ suiteId: z.ZodString;
316
+ suiteRevision: z.ZodString;
317
+ status: z.ZodEnum<{
318
+ cancelled: "cancelled";
319
+ failed: "failed";
320
+ error: "error";
321
+ passed: "passed";
322
+ queued: "queued";
323
+ running: "running";
324
+ }>;
325
+ createdAt: z.ZodString;
326
+ startedAt: z.ZodNullable<z.ZodString>;
327
+ endedAt: z.ZodNullable<z.ZodString>;
328
+ error: z.ZodNullable<z.ZodString>;
329
+ cancelRequestedAt: z.ZodNullable<z.ZodString>;
330
+ costs: z.ZodOptional<z.ZodObject<{
331
+ workflow: 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
+ judge: 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
+ total: z.ZodObject<{
356
+ amount: z.ZodNullable<z.ZodNumber>;
357
+ currency: z.ZodNullable<z.ZodString>;
358
+ status: z.ZodEnum<{
359
+ complete: "complete";
360
+ partial: "partial";
361
+ unavailable: "unavailable";
362
+ }>;
363
+ calls: z.ZodNumber;
364
+ unpricedCalls: z.ZodNumber;
365
+ estimated: z.ZodBoolean;
366
+ }, z.core.$strip>;
367
+ }, z.core.$strip>>;
368
+ counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
369
+ passed: z.ZodNumber;
370
+ failed: z.ZodNumber;
371
+ error: z.ZodNumber;
372
+ cancelled: z.ZodNumber;
373
+ }, z.core.$strip>>>;
374
+ suiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
375
+ caseCosts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
376
+ workflow: 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
+ judge: 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
+ total: z.ZodObject<{
401
+ amount: z.ZodNullable<z.ZodNumber>;
402
+ currency: z.ZodNullable<z.ZodString>;
403
+ status: z.ZodEnum<{
404
+ complete: "complete";
405
+ partial: "partial";
406
+ unavailable: "unavailable";
407
+ }>;
408
+ calls: z.ZodNumber;
409
+ unpricedCalls: z.ZodNumber;
410
+ estimated: z.ZodBoolean;
411
+ }, z.core.$strip>;
412
+ }, z.core.$strip>>>;
413
+ request: z.ZodOptional<z.ZodObject<{
414
+ caseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
415
+ grading: z.ZodOptional<z.ZodEnum<{
416
+ app: "app";
417
+ studio: "studio";
418
+ }>>;
419
+ judge: z.ZodOptional<z.ZodObject<{
420
+ id: z.ZodString;
421
+ version: z.ZodString;
422
+ location: z.ZodOptional<z.ZodEnum<{
423
+ app: "app";
424
+ studio: "studio";
425
+ }>>;
426
+ }, z.core.$strict>>;
427
+ repetitions: z.ZodNumber;
428
+ concurrency: z.ZodOptional<z.ZodNumber>;
429
+ }, z.core.$strip>>;
430
+ suite: z.ZodObject<{
431
+ id: z.ZodString;
432
+ name: z.ZodOptional<z.ZodString>;
433
+ cases: z.ZodArray<z.ZodObject<{
434
+ id: z.ZodString;
435
+ name: z.ZodOptional<z.ZodString>;
436
+ params: z.ZodOptional<z.ZodJSONSchema>;
437
+ workflowId: z.ZodOptional<z.ZodString>;
438
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
439
+ message: z.ZodString;
440
+ expect: z.ZodObject<{
441
+ type: z.ZodEnum<{
442
+ interrupt: "interrupt";
443
+ answer: "answer";
444
+ }>;
445
+ schemaId: z.ZodOptional<z.ZodString>;
446
+ schemaVersion: z.ZodOptional<z.ZodString>;
447
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
448
+ schemaId: z.ZodString;
449
+ schemaVersion: z.ZodOptional<z.ZodString>;
450
+ }, z.core.$strict>>>;
451
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
452
+ id: z.ZodString;
453
+ text: z.ZodString;
454
+ }, z.core.$strict>]>>>;
455
+ reference: z.ZodOptional<z.ZodJSONSchema>;
456
+ }, z.core.$strict>;
457
+ }, z.core.$strict>, z.ZodObject<{
458
+ resume: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
459
+ type: z.ZodLiteral<"text">;
460
+ text: z.ZodString;
461
+ }, z.core.$strict>, z.ZodObject<{
462
+ type: z.ZodLiteral<"select">;
463
+ ids: z.ZodArray<z.ZodString>;
464
+ }, z.core.$strict>, z.ZodObject<{
465
+ type: z.ZodLiteral<"value">;
466
+ value: z.ZodJSONSchema;
467
+ }, z.core.$strict>, z.ZodObject<{
468
+ type: z.ZodLiteral<"cancel">;
469
+ }, z.core.$strict>], "type">, z.ZodObject<{
470
+ using: z.ZodString;
471
+ params: z.ZodOptional<z.ZodJSONSchema>;
472
+ }, z.core.$strict>]>;
473
+ expect: z.ZodObject<{
474
+ type: z.ZodEnum<{
475
+ interrupt: "interrupt";
476
+ answer: "answer";
477
+ }>;
478
+ schemaId: z.ZodOptional<z.ZodString>;
479
+ schemaVersion: z.ZodOptional<z.ZodString>;
480
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
481
+ schemaId: z.ZodString;
482
+ schemaVersion: z.ZodOptional<z.ZodString>;
483
+ }, z.core.$strict>>>;
484
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
485
+ id: z.ZodString;
486
+ text: z.ZodString;
487
+ }, z.core.$strict>]>>>;
488
+ reference: z.ZodOptional<z.ZodJSONSchema>;
489
+ }, z.core.$strict>;
490
+ }, z.core.$strict>]>>;
491
+ }, z.core.$strict>>;
492
+ }, z.core.$strict>;
493
+ result: z.ZodNullable<z.ZodObject<{
494
+ id: z.ZodUUID;
495
+ suiteId: z.ZodString;
496
+ suiteRevision: z.ZodString;
497
+ suite: z.ZodObject<{
498
+ id: z.ZodString;
499
+ name: z.ZodOptional<z.ZodString>;
500
+ cases: z.ZodArray<z.ZodObject<{
501
+ id: z.ZodString;
502
+ name: z.ZodOptional<z.ZodString>;
503
+ params: z.ZodOptional<z.ZodJSONSchema>;
504
+ workflowId: z.ZodOptional<z.ZodString>;
505
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
506
+ message: z.ZodString;
507
+ expect: z.ZodObject<{
508
+ type: z.ZodEnum<{
509
+ interrupt: "interrupt";
510
+ answer: "answer";
511
+ }>;
512
+ schemaId: z.ZodOptional<z.ZodString>;
513
+ schemaVersion: z.ZodOptional<z.ZodString>;
514
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
515
+ schemaId: z.ZodString;
516
+ schemaVersion: z.ZodOptional<z.ZodString>;
517
+ }, z.core.$strict>>>;
518
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
519
+ id: z.ZodString;
520
+ text: z.ZodString;
521
+ }, z.core.$strict>]>>>;
522
+ reference: z.ZodOptional<z.ZodJSONSchema>;
523
+ }, z.core.$strict>;
524
+ }, z.core.$strict>, z.ZodObject<{
525
+ resume: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
526
+ type: z.ZodLiteral<"text">;
527
+ text: z.ZodString;
528
+ }, z.core.$strict>, z.ZodObject<{
529
+ type: z.ZodLiteral<"select">;
530
+ ids: z.ZodArray<z.ZodString>;
531
+ }, z.core.$strict>, z.ZodObject<{
532
+ type: z.ZodLiteral<"value">;
533
+ value: z.ZodJSONSchema;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ type: z.ZodLiteral<"cancel">;
536
+ }, z.core.$strict>], "type">, z.ZodObject<{
537
+ using: z.ZodString;
538
+ params: z.ZodOptional<z.ZodJSONSchema>;
539
+ }, z.core.$strict>]>;
540
+ expect: z.ZodObject<{
541
+ type: z.ZodEnum<{
542
+ interrupt: "interrupt";
543
+ answer: "answer";
544
+ }>;
545
+ schemaId: z.ZodOptional<z.ZodString>;
546
+ schemaVersion: z.ZodOptional<z.ZodString>;
547
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
548
+ schemaId: z.ZodString;
549
+ schemaVersion: z.ZodOptional<z.ZodString>;
550
+ }, z.core.$strict>>>;
551
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
552
+ id: z.ZodString;
553
+ text: z.ZodString;
554
+ }, z.core.$strict>]>>>;
555
+ reference: z.ZodOptional<z.ZodJSONSchema>;
556
+ }, z.core.$strict>;
557
+ }, z.core.$strict>]>>;
558
+ }, z.core.$strict>>;
559
+ }, z.core.$strict>;
560
+ judge: z.ZodOptional<z.ZodObject<{
561
+ id: z.ZodString;
562
+ version: z.ZodString;
563
+ location: z.ZodOptional<z.ZodEnum<{
564
+ app: "app";
565
+ studio: "studio";
566
+ }>>;
567
+ }, z.core.$strict>>;
568
+ startedAt: z.ZodISODateTime;
569
+ durationMs: z.ZodNumber;
570
+ status: z.ZodEnum<{
571
+ cancelled: "cancelled";
572
+ failed: "failed";
573
+ error: "error";
574
+ passed: "passed";
575
+ ungraded: "ungraded";
576
+ }>;
577
+ counts: z.ZodObject<{
578
+ passed: z.ZodNumber;
579
+ failed: z.ZodNumber;
580
+ error: z.ZodNumber;
581
+ cancelled: z.ZodNumber;
582
+ ungraded: z.ZodOptional<z.ZodNumber>;
583
+ }, z.core.$strict>;
584
+ cases: z.ZodArray<z.ZodObject<{
585
+ caseId: z.ZodString;
586
+ repetition: z.ZodNumber;
587
+ sessionId: z.ZodString;
588
+ status: z.ZodEnum<{
589
+ cancelled: "cancelled";
590
+ failed: "failed";
591
+ error: "error";
592
+ passed: "passed";
593
+ ungraded: "ungraded";
594
+ }>;
595
+ durationMs: z.ZodNumber;
596
+ steps: z.ZodArray<z.ZodObject<{
597
+ index: z.ZodNumber;
598
+ input: z.ZodUnion<readonly [z.ZodObject<{
599
+ message: z.ZodString;
600
+ }, z.core.$strict>, z.ZodObject<{
601
+ resume: z.ZodDiscriminatedUnion<[z.ZodObject<{
602
+ type: z.ZodLiteral<"text">;
603
+ text: z.ZodString;
604
+ }, z.core.$strict>, z.ZodObject<{
605
+ type: z.ZodLiteral<"select">;
606
+ ids: z.ZodArray<z.ZodString>;
607
+ }, z.core.$strict>, z.ZodObject<{
608
+ type: z.ZodLiteral<"value">;
609
+ value: z.ZodJSONSchema;
610
+ }, z.core.$strict>, z.ZodObject<{
611
+ type: z.ZodLiteral<"cancel">;
612
+ }, z.core.$strict>], "type">;
613
+ }, z.core.$strict>]>;
614
+ expectation: z.ZodObject<{
615
+ type: z.ZodEnum<{
616
+ interrupt: "interrupt";
617
+ answer: "answer";
618
+ }>;
619
+ schemaId: z.ZodOptional<z.ZodString>;
620
+ schemaVersion: z.ZodOptional<z.ZodString>;
621
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
622
+ schemaId: z.ZodString;
623
+ schemaVersion: z.ZodOptional<z.ZodString>;
624
+ }, z.core.$strict>>>;
625
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
626
+ id: z.ZodString;
627
+ text: z.ZodString;
628
+ }, z.core.$strict>]>>>;
629
+ reference: z.ZodOptional<z.ZodJSONSchema>;
630
+ }, z.core.$strict>;
631
+ observation: z.ZodObject<{
632
+ type: z.ZodEnum<{
633
+ cancelled: "cancelled";
634
+ interrupt: "interrupt";
635
+ error: "error";
636
+ answer: "answer";
637
+ }>;
638
+ text: z.ZodString;
639
+ structured: z.ZodArray<z.ZodJSONSchema>;
640
+ events: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
641
+ runId: z.ZodOptional<z.ZodString>;
642
+ checkpointId: z.ZodOptional<z.ZodString>;
643
+ interrupt: z.ZodOptional<z.ZodObject<{
644
+ requestId: z.ZodString;
645
+ kind: z.ZodEnum<{
646
+ text: "text";
647
+ custom: "custom";
648
+ "multi-choice": "multi-choice";
649
+ choice: "choice";
650
+ }>;
651
+ question: z.ZodOptional<z.ZodString>;
652
+ schemaId: z.ZodOptional<z.ZodString>;
653
+ schemaVersion: z.ZodOptional<z.ZodString>;
654
+ options: z.ZodArray<z.ZodObject<{
655
+ id: z.ZodString;
656
+ label: z.ZodString;
657
+ description: z.ZodOptional<z.ZodString>;
658
+ }, z.core.$strict>>;
659
+ request: z.ZodOptional<z.ZodJSONSchema>;
660
+ }, z.core.$strict>>;
661
+ }, z.core.$strict>;
662
+ reference: z.ZodOptional<z.ZodJSONSchema>;
663
+ status: z.ZodEnum<{
664
+ cancelled: "cancelled";
665
+ failed: "failed";
666
+ error: "error";
667
+ passed: "passed";
668
+ ungraded: "ungraded";
669
+ }>;
670
+ reason: z.ZodOptional<z.ZodString>;
671
+ judgeCalls: z.ZodOptional<z.ZodNumber>;
672
+ judgeUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
673
+ provider: z.ZodString;
674
+ model: z.ZodString;
675
+ occurredAt: z.ZodISODateTime;
676
+ usage: z.ZodOptional<z.ZodObject<{
677
+ input: z.ZodOptional<z.ZodNumber>;
678
+ output: z.ZodOptional<z.ZodNumber>;
679
+ total: z.ZodOptional<z.ZodNumber>;
680
+ reasoning: z.ZodOptional<z.ZodNumber>;
681
+ cacheRead: z.ZodOptional<z.ZodNumber>;
682
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
683
+ cacheWrite1h: z.ZodOptional<z.ZodNumber>;
684
+ outputIncludesReasoning: z.ZodOptional<z.ZodBoolean>;
685
+ inputIncludesCacheRead: z.ZodOptional<z.ZodBoolean>;
686
+ inputIncludesCacheWrite: z.ZodOptional<z.ZodBoolean>;
687
+ }, z.core.$strict>>;
688
+ pricingContext: z.ZodOptional<z.ZodObject<{
689
+ serviceTier: z.ZodOptional<z.ZodString>;
690
+ inferenceGeo: z.ZodOptional<z.ZodString>;
691
+ speed: z.ZodOptional<z.ZodString>;
692
+ }, z.core.$strict>>;
693
+ pricing: z.ZodOptional<z.ZodObject<{
694
+ source: z.ZodLiteral<"provider">;
695
+ currency: z.ZodLiteral<"USD">;
696
+ actualCostMicros: z.ZodNumber;
697
+ }, z.core.$strict>>;
698
+ }, z.core.$strict>>>;
699
+ criteria: z.ZodArray<z.ZodObject<{
700
+ passed: z.ZodBoolean;
701
+ reason: z.ZodString;
702
+ evidence: z.ZodArray<z.ZodString>;
703
+ id: z.ZodString;
704
+ text: z.ZodString;
705
+ }, z.core.$strict>>;
706
+ }, z.core.$strict>>;
707
+ errors: z.ZodArray<z.ZodObject<{
708
+ phase: z.ZodEnum<{
709
+ params: "params";
710
+ execute: "execute";
711
+ setup: "setup";
712
+ responder: "responder";
713
+ reference: "reference";
714
+ grading: "grading";
715
+ cleanup: "cleanup";
716
+ reporting: "reporting";
717
+ }>;
718
+ code: z.ZodString;
719
+ message: z.ZodString;
720
+ }, z.core.$strict>>;
721
+ }, z.core.$strict>>;
722
+ errors: z.ZodArray<z.ZodObject<{
723
+ phase: z.ZodEnum<{
724
+ params: "params";
725
+ execute: "execute";
726
+ setup: "setup";
727
+ responder: "responder";
728
+ reference: "reference";
729
+ grading: "grading";
730
+ cleanup: "cleanup";
731
+ reporting: "reporting";
732
+ }>;
733
+ code: z.ZodString;
734
+ message: z.ZodString;
735
+ }, z.core.$strict>>;
736
+ }, z.core.$strict>>;
737
+ events: z.ZodArray<z.ZodObject<{
738
+ id: z.ZodNumber;
739
+ event: z.ZodDiscriminatedUnion<[z.ZodObject<{
740
+ type: z.ZodLiteral<"run-started">;
741
+ caseIds: z.ZodArray<z.ZodString>;
742
+ repetitions: z.ZodNumber;
743
+ concurrency: z.ZodNumber;
744
+ }, z.core.$strict>, z.ZodObject<{
745
+ type: z.ZodLiteral<"case-progress">;
746
+ caseId: z.ZodString;
747
+ repetition: z.ZodNumber;
748
+ phase: z.ZodEnum<{
749
+ params: "params";
750
+ execute: "execute";
751
+ setup: "setup";
752
+ responder: "responder";
753
+ reference: "reference";
754
+ grading: "grading";
755
+ cleanup: "cleanup";
756
+ reporting: "reporting";
757
+ }>;
758
+ stepIndex: z.ZodOptional<z.ZodNumber>;
759
+ }, z.core.$strict>, z.ZodObject<{
760
+ type: z.ZodLiteral<"case-started">;
761
+ caseId: z.ZodString;
762
+ repetition: z.ZodNumber;
763
+ sessionId: z.ZodString;
764
+ }, z.core.$strict>, z.ZodObject<{
765
+ type: z.ZodLiteral<"step-completed">;
766
+ caseId: z.ZodString;
767
+ repetition: z.ZodNumber;
768
+ step: z.ZodObject<{
769
+ index: z.ZodNumber;
770
+ input: z.ZodUnion<readonly [z.ZodObject<{
771
+ message: z.ZodString;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ resume: z.ZodDiscriminatedUnion<[z.ZodObject<{
774
+ type: z.ZodLiteral<"text">;
775
+ text: z.ZodString;
776
+ }, z.core.$strict>, z.ZodObject<{
777
+ type: z.ZodLiteral<"select">;
778
+ ids: z.ZodArray<z.ZodString>;
779
+ }, z.core.$strict>, z.ZodObject<{
780
+ type: z.ZodLiteral<"value">;
781
+ value: z.ZodJSONSchema;
782
+ }, z.core.$strict>, z.ZodObject<{
783
+ type: z.ZodLiteral<"cancel">;
784
+ }, z.core.$strict>], "type">;
785
+ }, z.core.$strict>]>;
786
+ expectation: z.ZodObject<{
787
+ type: z.ZodEnum<{
788
+ interrupt: "interrupt";
789
+ answer: "answer";
790
+ }>;
791
+ schemaId: z.ZodOptional<z.ZodString>;
792
+ schemaVersion: z.ZodOptional<z.ZodString>;
793
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
794
+ schemaId: z.ZodString;
795
+ schemaVersion: z.ZodOptional<z.ZodString>;
796
+ }, z.core.$strict>>>;
797
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
798
+ id: z.ZodString;
799
+ text: z.ZodString;
800
+ }, z.core.$strict>]>>>;
801
+ reference: z.ZodOptional<z.ZodJSONSchema>;
802
+ }, z.core.$strict>;
803
+ observation: z.ZodObject<{
804
+ type: z.ZodEnum<{
805
+ cancelled: "cancelled";
806
+ interrupt: "interrupt";
807
+ error: "error";
808
+ answer: "answer";
809
+ }>;
810
+ text: z.ZodString;
811
+ structured: z.ZodArray<z.ZodJSONSchema>;
812
+ events: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
813
+ runId: z.ZodOptional<z.ZodString>;
814
+ checkpointId: z.ZodOptional<z.ZodString>;
815
+ interrupt: z.ZodOptional<z.ZodObject<{
816
+ requestId: z.ZodString;
817
+ kind: z.ZodEnum<{
818
+ text: "text";
819
+ custom: "custom";
820
+ "multi-choice": "multi-choice";
821
+ choice: "choice";
822
+ }>;
823
+ question: z.ZodOptional<z.ZodString>;
824
+ schemaId: z.ZodOptional<z.ZodString>;
825
+ schemaVersion: z.ZodOptional<z.ZodString>;
826
+ options: z.ZodArray<z.ZodObject<{
827
+ id: z.ZodString;
828
+ label: z.ZodString;
829
+ description: z.ZodOptional<z.ZodString>;
830
+ }, z.core.$strict>>;
831
+ request: z.ZodOptional<z.ZodJSONSchema>;
832
+ }, z.core.$strict>>;
833
+ }, z.core.$strict>;
834
+ reference: z.ZodOptional<z.ZodJSONSchema>;
835
+ status: z.ZodEnum<{
836
+ cancelled: "cancelled";
837
+ failed: "failed";
838
+ error: "error";
839
+ passed: "passed";
840
+ ungraded: "ungraded";
841
+ }>;
842
+ reason: z.ZodOptional<z.ZodString>;
843
+ judgeCalls: z.ZodOptional<z.ZodNumber>;
844
+ judgeUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
845
+ provider: z.ZodString;
846
+ model: z.ZodString;
847
+ occurredAt: z.ZodISODateTime;
848
+ usage: z.ZodOptional<z.ZodObject<{
849
+ input: z.ZodOptional<z.ZodNumber>;
850
+ output: z.ZodOptional<z.ZodNumber>;
851
+ total: z.ZodOptional<z.ZodNumber>;
852
+ reasoning: z.ZodOptional<z.ZodNumber>;
853
+ cacheRead: z.ZodOptional<z.ZodNumber>;
854
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
855
+ cacheWrite1h: z.ZodOptional<z.ZodNumber>;
856
+ outputIncludesReasoning: z.ZodOptional<z.ZodBoolean>;
857
+ inputIncludesCacheRead: z.ZodOptional<z.ZodBoolean>;
858
+ inputIncludesCacheWrite: z.ZodOptional<z.ZodBoolean>;
859
+ }, z.core.$strict>>;
860
+ pricingContext: z.ZodOptional<z.ZodObject<{
861
+ serviceTier: z.ZodOptional<z.ZodString>;
862
+ inferenceGeo: z.ZodOptional<z.ZodString>;
863
+ speed: z.ZodOptional<z.ZodString>;
864
+ }, z.core.$strict>>;
865
+ pricing: z.ZodOptional<z.ZodObject<{
866
+ source: z.ZodLiteral<"provider">;
867
+ currency: z.ZodLiteral<"USD">;
868
+ actualCostMicros: z.ZodNumber;
869
+ }, z.core.$strict>>;
870
+ }, z.core.$strict>>>;
871
+ criteria: z.ZodArray<z.ZodObject<{
872
+ passed: z.ZodBoolean;
873
+ reason: z.ZodString;
874
+ evidence: z.ZodArray<z.ZodString>;
875
+ id: z.ZodString;
876
+ text: z.ZodString;
877
+ }, z.core.$strict>>;
878
+ }, z.core.$strict>;
879
+ }, z.core.$strict>, z.ZodObject<{
880
+ type: z.ZodLiteral<"case-completed">;
881
+ result: z.ZodObject<{
882
+ caseId: z.ZodString;
883
+ repetition: z.ZodNumber;
884
+ sessionId: z.ZodString;
885
+ status: z.ZodEnum<{
886
+ cancelled: "cancelled";
887
+ failed: "failed";
888
+ error: "error";
889
+ passed: "passed";
890
+ ungraded: "ungraded";
891
+ }>;
892
+ durationMs: z.ZodNumber;
893
+ steps: z.ZodArray<z.ZodObject<{
894
+ index: z.ZodNumber;
895
+ input: z.ZodUnion<readonly [z.ZodObject<{
896
+ message: z.ZodString;
897
+ }, z.core.$strict>, z.ZodObject<{
898
+ resume: z.ZodDiscriminatedUnion<[z.ZodObject<{
899
+ type: z.ZodLiteral<"text">;
900
+ text: z.ZodString;
901
+ }, z.core.$strict>, z.ZodObject<{
902
+ type: z.ZodLiteral<"select">;
903
+ ids: z.ZodArray<z.ZodString>;
904
+ }, z.core.$strict>, z.ZodObject<{
905
+ type: z.ZodLiteral<"value">;
906
+ value: z.ZodJSONSchema;
907
+ }, z.core.$strict>, z.ZodObject<{
908
+ type: z.ZodLiteral<"cancel">;
909
+ }, z.core.$strict>], "type">;
910
+ }, z.core.$strict>]>;
911
+ expectation: z.ZodObject<{
912
+ type: z.ZodEnum<{
913
+ interrupt: "interrupt";
914
+ answer: "answer";
915
+ }>;
916
+ schemaId: z.ZodOptional<z.ZodString>;
917
+ schemaVersion: z.ZodOptional<z.ZodString>;
918
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
919
+ schemaId: z.ZodString;
920
+ schemaVersion: z.ZodOptional<z.ZodString>;
921
+ }, z.core.$strict>>>;
922
+ criteria: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
923
+ id: z.ZodString;
924
+ text: z.ZodString;
925
+ }, z.core.$strict>]>>>;
926
+ reference: z.ZodOptional<z.ZodJSONSchema>;
927
+ }, z.core.$strict>;
928
+ observation: z.ZodObject<{
929
+ type: z.ZodEnum<{
930
+ cancelled: "cancelled";
931
+ interrupt: "interrupt";
932
+ error: "error";
933
+ answer: "answer";
934
+ }>;
935
+ text: z.ZodString;
936
+ structured: z.ZodArray<z.ZodJSONSchema>;
937
+ events: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
938
+ runId: z.ZodOptional<z.ZodString>;
939
+ checkpointId: z.ZodOptional<z.ZodString>;
940
+ interrupt: z.ZodOptional<z.ZodObject<{
941
+ requestId: z.ZodString;
942
+ kind: z.ZodEnum<{
943
+ text: "text";
944
+ custom: "custom";
945
+ "multi-choice": "multi-choice";
946
+ choice: "choice";
947
+ }>;
948
+ question: z.ZodOptional<z.ZodString>;
949
+ schemaId: z.ZodOptional<z.ZodString>;
950
+ schemaVersion: z.ZodOptional<z.ZodString>;
951
+ options: z.ZodArray<z.ZodObject<{
952
+ id: z.ZodString;
953
+ label: z.ZodString;
954
+ description: z.ZodOptional<z.ZodString>;
955
+ }, z.core.$strict>>;
956
+ request: z.ZodOptional<z.ZodJSONSchema>;
957
+ }, z.core.$strict>>;
958
+ }, z.core.$strict>;
959
+ reference: z.ZodOptional<z.ZodJSONSchema>;
960
+ status: z.ZodEnum<{
961
+ cancelled: "cancelled";
962
+ failed: "failed";
963
+ error: "error";
964
+ passed: "passed";
965
+ ungraded: "ungraded";
966
+ }>;
967
+ reason: z.ZodOptional<z.ZodString>;
968
+ judgeCalls: z.ZodOptional<z.ZodNumber>;
969
+ judgeUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
970
+ provider: z.ZodString;
971
+ model: z.ZodString;
972
+ occurredAt: z.ZodISODateTime;
973
+ usage: z.ZodOptional<z.ZodObject<{
974
+ input: z.ZodOptional<z.ZodNumber>;
975
+ output: z.ZodOptional<z.ZodNumber>;
976
+ total: z.ZodOptional<z.ZodNumber>;
977
+ reasoning: z.ZodOptional<z.ZodNumber>;
978
+ cacheRead: z.ZodOptional<z.ZodNumber>;
979
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
980
+ cacheWrite1h: z.ZodOptional<z.ZodNumber>;
981
+ outputIncludesReasoning: z.ZodOptional<z.ZodBoolean>;
982
+ inputIncludesCacheRead: z.ZodOptional<z.ZodBoolean>;
983
+ inputIncludesCacheWrite: z.ZodOptional<z.ZodBoolean>;
984
+ }, z.core.$strict>>;
985
+ pricingContext: z.ZodOptional<z.ZodObject<{
986
+ serviceTier: z.ZodOptional<z.ZodString>;
987
+ inferenceGeo: z.ZodOptional<z.ZodString>;
988
+ speed: z.ZodOptional<z.ZodString>;
989
+ }, z.core.$strict>>;
990
+ pricing: z.ZodOptional<z.ZodObject<{
991
+ source: z.ZodLiteral<"provider">;
992
+ currency: z.ZodLiteral<"USD">;
993
+ actualCostMicros: z.ZodNumber;
994
+ }, z.core.$strict>>;
995
+ }, z.core.$strict>>>;
996
+ criteria: z.ZodArray<z.ZodObject<{
997
+ passed: z.ZodBoolean;
998
+ reason: z.ZodString;
999
+ evidence: z.ZodArray<z.ZodString>;
1000
+ id: z.ZodString;
1001
+ text: z.ZodString;
1002
+ }, z.core.$strict>>;
1003
+ }, z.core.$strict>>;
1004
+ errors: z.ZodArray<z.ZodObject<{
1005
+ phase: z.ZodEnum<{
1006
+ params: "params";
1007
+ execute: "execute";
1008
+ setup: "setup";
1009
+ responder: "responder";
1010
+ reference: "reference";
1011
+ grading: "grading";
1012
+ cleanup: "cleanup";
1013
+ reporting: "reporting";
1014
+ }>;
1015
+ code: z.ZodString;
1016
+ message: z.ZodString;
1017
+ }, z.core.$strict>>;
1018
+ }, z.core.$strict>;
1019
+ }, z.core.$strict>], "type">;
1020
+ }, z.core.$strip>>;
1021
+ }, z.core.$strip>;
1022
+ }, z.core.$strip>;
1023
+ type StudioEvalTargets = z.infer<typeof StudioEvalTargetsResponseSchema>;
1024
+ type StudioEvalHistory = z.infer<typeof StudioEvalHistorySchema>;
1025
+ type StudioEvalDetail = z.infer<typeof StudioEvalDetailSchema>["run"];
1026
+ type StudioEvalRunSummary = z.infer<typeof StudioEvalRunSummarySchema>;
1027
+
1028
+ export { type EvalCostAmount, EvalCostAmountSchema, type EvalCosts, EvalCostsSchema, type StudioEvalDetail, StudioEvalDetailSchema, type StudioEvalHistory, StudioEvalHistorySchema, type StudioEvalRunSummary, StudioEvalRunSummarySchema, type StudioEvalTargets, StudioEvalTargetsResponseSchema };