anpord 0.1.12 → 0.1.13

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 (41) hide show
  1. package/dist/bin.cjs +208 -125
  2. package/dist/bin.mjs +208 -125
  3. package/dist/cli-runtime.cjs +2 -2
  4. package/dist/cli-runtime.d.cts +1 -1
  5. package/dist/cli-runtime.d.mts +1 -1
  6. package/dist/cli-runtime.mjs +2 -2
  7. package/dist/{client-D22IiHGL.mjs → client-BfdjFtlV.mjs} +7 -6
  8. package/dist/{client-Byoa41pX.d.mts → client-BgRs8JvW.d.mts} +1891 -227
  9. package/dist/{client-CFTj9ad0.d.cts → client-BirFO3jz.d.cts} +1891 -227
  10. package/dist/{client-BnimnYiJ.cjs → client-C-P2I00z.cjs} +7 -6
  11. package/dist/{compiler-CBMPXIzV.mjs → compiler-D96wI7UP.mjs} +87 -82
  12. package/dist/{compiler-BFxukiJy.cjs → compiler-uwb1pkdK.cjs} +85 -80
  13. package/dist/config.cjs +1 -1
  14. package/dist/config.d.cts +1 -1
  15. package/dist/config.d.mts +1 -1
  16. package/dist/config.mjs +1 -1
  17. package/dist/eval-validations-BRdoZrTQ.mjs +113 -0
  18. package/dist/eval-validations-_MlnQ_uv.cjs +148 -0
  19. package/dist/eval.cjs +1 -1
  20. package/dist/eval.d.cts +33 -13
  21. package/dist/eval.d.mts +33 -13
  22. package/dist/eval.mjs +1 -1
  23. package/dist/evals-B6aT3xgH.d.cts +1364 -0
  24. package/dist/evals-B6aT3xgH.d.mts +1364 -0
  25. package/dist/{evals-CvOTyvCX.mjs → evals-Dcc_x6jW.mjs} +54 -11
  26. package/dist/{evals-B04M0apj.cjs → evals-DouMsrsM.cjs} +71 -16
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.d.cts +128 -4
  29. package/dist/index.d.mts +128 -4
  30. package/dist/index.mjs +1 -1
  31. package/dist/source.d.cts +1 -1
  32. package/dist/source.d.mts +1 -1
  33. package/dist/{types-oXWOHA-X.d.mts → types-Codjaq-o.d.mts} +65 -19
  34. package/dist/{types-nr4-1c3W.d.cts → types-ISsteq95.d.cts} +65 -19
  35. package/dist/validator-runtime.cjs +238 -0
  36. package/dist/validator-runtime.d.cts +9 -0
  37. package/dist/validator-runtime.d.mts +9 -0
  38. package/dist/validator-runtime.mjs +237 -0
  39. package/package.json +1 -1
  40. package/dist/evals-BUBzpke_.d.cts +0 -647
  41. package/dist/evals-BUBzpke_.d.mts +0 -647
@@ -0,0 +1,1364 @@
1
+ import { Schema } from "effect";
2
+ //#region ../schema/src/domain/evals.d.ts
3
+ declare const EvalHarness: Schema.Literal<["codex", "opencode", "pi", "fx", "claude", "gemini", "qwen", "cursor", "command"]>;
4
+ type EvalHarness = typeof EvalHarness.Type;
5
+ declare const EvalSandbox: Schema.Literal<["daytona", "e2b", "upstash", "modal", "cloudflare", "vercel"]>;
6
+ type EvalSandbox = typeof EvalSandbox.Type;
7
+ declare const EvalTrialStatus: Schema.Literal<["queued", "running", "passed", "failed", "void"]>;
8
+ type EvalTrialStatus = typeof EvalTrialStatus.Type;
9
+ declare const EvalRunStatus: Schema.Literal<["running", "finished", "failed"]>;
10
+ type EvalRunStatus = typeof EvalRunStatus.Type;
11
+ declare const EvalSource: Schema.Union<[Schema.Struct<{
12
+ kind: Schema.Literal<["empty"]>;
13
+ }>, Schema.Struct<{
14
+ kind: Schema.Literal<["repo"]>;
15
+ ref: Schema.NullOr<typeof Schema.String>;
16
+ url: Schema.refine<string, typeof Schema.String>;
17
+ }>, Schema.Struct<{
18
+ files: Schema.Record$<typeof Schema.String, typeof Schema.String>;
19
+ kind: Schema.Literal<["files"]>;
20
+ }>]>;
21
+ type EvalSource = typeof EvalSource.Type;
22
+ declare const EvalTask: Schema.Struct<{
23
+ harness: Schema.Literal<["codex", "opencode", "pi", "fx", "claude", "gemini", "qwen", "cursor", "command"]>;
24
+ harnessVersion: typeof Schema.String;
25
+ model: typeof Schema.String;
26
+ profile: Schema.optional<Schema.NullOr<Schema.Struct<{
27
+ name: typeof Schema.String;
28
+ version: typeof Schema.String;
29
+ }>>>;
30
+ sandbox: Schema.Literal<["daytona", "e2b", "upstash", "modal", "cloudflare", "vercel"]>;
31
+ }>;
32
+ type EvalTask = typeof EvalTask.Type;
33
+ declare const EvalUsage: Schema.Struct<{
34
+ cacheReadTokens: typeof Schema.Int;
35
+ cacheWriteTokens: typeof Schema.Int;
36
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
37
+ inputTokens: typeof Schema.Int;
38
+ outputTokens: typeof Schema.Int;
39
+ totalTokens: typeof Schema.Int;
40
+ }>;
41
+ type EvalUsage = typeof EvalUsage.Type;
42
+ declare const EvalJournalEntry: Schema.Union<[Schema.Struct<{
43
+ _tag: Schema.Literal<["command"]>;
44
+ command: typeof Schema.String;
45
+ exitCode: Schema.NullOr<typeof Schema.Int>;
46
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
47
+ output: typeof Schema.String;
48
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
49
+ startedAtMillis: Schema.NullOr<typeof Schema.Number>;
50
+ }>, Schema.Struct<{
51
+ _tag: Schema.Literal<["message"]>;
52
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
53
+ text: typeof Schema.String;
54
+ usage: Schema.optional<Schema.NullOr<Schema.Struct<{
55
+ cacheReadTokens: typeof Schema.Int;
56
+ cacheWriteTokens: typeof Schema.Int;
57
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
58
+ inputTokens: typeof Schema.Int;
59
+ outputTokens: typeof Schema.Int;
60
+ totalTokens: typeof Schema.Int;
61
+ }>>>;
62
+ }>, Schema.Struct<{
63
+ _tag: Schema.Literal<["toolCall"]>;
64
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
65
+ input: Schema.optional<typeof Schema.String>;
66
+ name: typeof Schema.String;
67
+ output: Schema.optional<typeof Schema.String>;
68
+ error: Schema.optional<typeof Schema.String>;
69
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
70
+ inputTruncated: Schema.optional<typeof Schema.Boolean>;
71
+ errorTruncated: Schema.optional<typeof Schema.Boolean>;
72
+ startedAtMillis: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
73
+ status: Schema.NullOr<typeof Schema.String>;
74
+ }>, Schema.Struct<{
75
+ _tag: Schema.Literal<["fileChange"]>;
76
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
77
+ paths: Schema.Array$<typeof Schema.String>;
78
+ }>]>;
79
+ type EvalJournalEntry = typeof EvalJournalEntry.Type;
80
+ declare const EvalTrial: Schema.Struct<{
81
+ validations: Schema.optional<Schema.refine<readonly {
82
+ readonly kind: "command" | "judge" | "code";
83
+ readonly message: string;
84
+ readonly index: number;
85
+ readonly name: string;
86
+ readonly exitCode: number | null;
87
+ readonly output: {
88
+ readonly text: string;
89
+ readonly truncated: boolean;
90
+ readonly format: "text" | "json";
91
+ readonly state: "captured" | "disabled" | "unavailable";
92
+ };
93
+ readonly input: {
94
+ readonly text: string;
95
+ readonly truncated: boolean;
96
+ readonly format: "text" | "json";
97
+ readonly state: "captured" | "disabled" | "unavailable";
98
+ };
99
+ readonly error: {
100
+ readonly text: string;
101
+ readonly truncated: boolean;
102
+ readonly format: "text" | "json";
103
+ readonly state: "captured" | "disabled" | "unavailable";
104
+ } | null;
105
+ readonly status: "queued" | "running" | "passed" | "failed" | "error" | "skipped";
106
+ readonly id: string;
107
+ readonly startedAt: number | null;
108
+ readonly durationMs: number | null;
109
+ readonly truncated: boolean;
110
+ readonly judgment?: {
111
+ readonly name: string;
112
+ readonly model: string;
113
+ readonly threshold: number;
114
+ readonly error: string | null;
115
+ readonly durationMs: number;
116
+ readonly evaluator: string;
117
+ readonly score: number | null;
118
+ readonly choice: string | null;
119
+ readonly reason: string;
120
+ } | undefined;
121
+ readonly metadata?: {
122
+ readonly text: string;
123
+ readonly truncated: boolean;
124
+ readonly format: "text" | "json";
125
+ readonly state: "captured" | "disabled" | "unavailable";
126
+ } | undefined;
127
+ readonly calls: readonly {
128
+ readonly index: number;
129
+ readonly output: {
130
+ readonly text: string;
131
+ readonly truncated: boolean;
132
+ readonly format: "text" | "json";
133
+ readonly state: "captured" | "disabled" | "unavailable";
134
+ };
135
+ readonly input: {
136
+ readonly text: string;
137
+ readonly truncated: boolean;
138
+ readonly format: "text" | "json";
139
+ readonly state: "captured" | "disabled" | "unavailable";
140
+ };
141
+ readonly error: {
142
+ readonly text: string;
143
+ readonly truncated: boolean;
144
+ readonly format: "text" | "json";
145
+ readonly state: "captured" | "disabled" | "unavailable";
146
+ } | null;
147
+ readonly startedAt: number;
148
+ readonly durationMs: number | null;
149
+ readonly method: "answer" | "transcript" | "readText" | "exists" | "exec" | "cli.calls" | "mcp.calls";
150
+ }[];
151
+ readonly logs: readonly {
152
+ readonly at: number;
153
+ readonly value: {
154
+ readonly text: string;
155
+ readonly truncated: boolean;
156
+ readonly format: "text" | "json";
157
+ readonly state: "captured" | "disabled" | "unavailable";
158
+ };
159
+ readonly index: number;
160
+ readonly level: "stdout" | "stderr";
161
+ }[];
162
+ }[], Schema.Array$<Schema.Struct<{
163
+ id: Schema.filter<Schema.filter<typeof Schema.String>>;
164
+ index: Schema.refine<number, typeof Schema.NonNegative>;
165
+ name: Schema.filter<typeof Schema.String>;
166
+ kind: Schema.Literal<["code", "judge", "command"]>;
167
+ status: Schema.Literal<["queued", "running", "passed", "failed", "error", "skipped"]>;
168
+ startedAt: Schema.NullOr<typeof Schema.Number>;
169
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
170
+ message: Schema.filter<typeof Schema.String>;
171
+ exitCode: Schema.NullOr<typeof Schema.Int>;
172
+ truncated: typeof Schema.Boolean;
173
+ judgment: Schema.optional<Schema.Struct<{
174
+ name: typeof Schema.String;
175
+ model: typeof Schema.String;
176
+ evaluator: typeof Schema.String;
177
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
178
+ choice: Schema.NullOr<typeof Schema.String>;
179
+ reason: typeof Schema.String;
180
+ threshold: Schema.filter<typeof Schema.Number>;
181
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
182
+ error: Schema.NullOr<typeof Schema.String>;
183
+ }>>;
184
+ input: Schema.Struct<{
185
+ text: Schema.filter<typeof Schema.String>;
186
+ format: Schema.Literal<["text", "json"]>;
187
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
188
+ truncated: typeof Schema.Boolean;
189
+ }>;
190
+ output: Schema.Struct<{
191
+ text: Schema.filter<typeof Schema.String>;
192
+ format: Schema.Literal<["text", "json"]>;
193
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
194
+ truncated: typeof Schema.Boolean;
195
+ }>;
196
+ error: Schema.NullOr<Schema.Struct<{
197
+ text: Schema.filter<typeof Schema.String>;
198
+ format: Schema.Literal<["text", "json"]>;
199
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
200
+ truncated: typeof Schema.Boolean;
201
+ }>>;
202
+ metadata: Schema.optional<Schema.Struct<{
203
+ text: Schema.filter<typeof Schema.String>;
204
+ format: Schema.Literal<["text", "json"]>;
205
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
206
+ truncated: typeof Schema.Boolean;
207
+ }>>;
208
+ calls: Schema.filter<Schema.Array$<Schema.Struct<{
209
+ index: Schema.refine<number, typeof Schema.NonNegative>;
210
+ method: Schema.Literal<["answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"]>;
211
+ startedAt: typeof Schema.Number;
212
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
213
+ input: Schema.Struct<{
214
+ text: Schema.filter<typeof Schema.String>;
215
+ format: Schema.Literal<["text", "json"]>;
216
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
217
+ truncated: typeof Schema.Boolean;
218
+ }>;
219
+ output: Schema.Struct<{
220
+ text: Schema.filter<typeof Schema.String>;
221
+ format: Schema.Literal<["text", "json"]>;
222
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
223
+ truncated: typeof Schema.Boolean;
224
+ }>;
225
+ error: Schema.NullOr<Schema.Struct<{
226
+ text: Schema.filter<typeof Schema.String>;
227
+ format: Schema.Literal<["text", "json"]>;
228
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
229
+ truncated: typeof Schema.Boolean;
230
+ }>>;
231
+ }>>>;
232
+ logs: Schema.filter<Schema.Array$<Schema.Struct<{
233
+ index: Schema.refine<number, typeof Schema.NonNegative>;
234
+ at: typeof Schema.Number;
235
+ level: Schema.Literal<["stdout", "stderr"]>;
236
+ value: Schema.Struct<{
237
+ text: Schema.filter<typeof Schema.String>;
238
+ format: Schema.Literal<["text", "json"]>;
239
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
240
+ truncated: typeof Schema.Boolean;
241
+ }>;
242
+ }>>>;
243
+ }>>>>;
244
+ judgments: Schema.optional<Schema.Array$<Schema.Struct<{
245
+ name: typeof Schema.String;
246
+ model: typeof Schema.String;
247
+ evaluator: typeof Schema.String;
248
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
249
+ choice: Schema.NullOr<typeof Schema.String>;
250
+ reason: typeof Schema.String;
251
+ threshold: Schema.filter<typeof Schema.Number>;
252
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
253
+ error: Schema.NullOr<typeof Schema.String>;
254
+ }>>>;
255
+ commands: typeof Schema.Int;
256
+ costs: Schema.NullOr<Schema.Struct<{
257
+ allocatedUsd: typeof Schema.Number;
258
+ components: Schema.Array$<Schema.Struct<{
259
+ classification: Schema.Literal<["actual", "allocated", "estimate", "included", "managed", "unknown"]>;
260
+ component: Schema.Literal<["judge", "harness", "model", "platform", "sandbox"]>;
261
+ detail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
262
+ explanation: typeof Schema.String;
263
+ source: typeof Schema.String;
264
+ usd: Schema.NullOr<typeof Schema.Number>;
265
+ }>>;
266
+ estimatedEquivalentUsd: typeof Schema.Number;
267
+ incomplete: typeof Schema.Boolean;
268
+ knownActualUsd: typeof Schema.Number;
269
+ }>>;
270
+ prepared: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
271
+ exitCode: typeof Schema.Int;
272
+ failedCommands: typeof Schema.Int;
273
+ filesChanged: Schema.Array$<typeof Schema.String>;
274
+ modelMs: typeof Schema.Int;
275
+ ordinal: typeof Schema.Int;
276
+ passed: typeof Schema.Boolean;
277
+ sandboxId: Schema.NullOr<typeof Schema.String>;
278
+ sandboxMs: typeof Schema.Int;
279
+ status: Schema.Literal<["queued", "running", "passed", "failed", "void"]>;
280
+ timed: typeof Schema.Boolean;
281
+ trajectory: Schema.Array$<Schema.Union<[Schema.Struct<{
282
+ _tag: Schema.Literal<["command"]>;
283
+ command: typeof Schema.String;
284
+ exitCode: Schema.NullOr<typeof Schema.Int>;
285
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
286
+ output: typeof Schema.String;
287
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
288
+ startedAtMillis: Schema.NullOr<typeof Schema.Number>;
289
+ }>, Schema.Struct<{
290
+ _tag: Schema.Literal<["message"]>;
291
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
292
+ text: typeof Schema.String;
293
+ usage: Schema.optional<Schema.NullOr<Schema.Struct<{
294
+ cacheReadTokens: typeof Schema.Int;
295
+ cacheWriteTokens: typeof Schema.Int;
296
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
297
+ inputTokens: typeof Schema.Int;
298
+ outputTokens: typeof Schema.Int;
299
+ totalTokens: typeof Schema.Int;
300
+ }>>>;
301
+ }>, Schema.Struct<{
302
+ _tag: Schema.Literal<["toolCall"]>;
303
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
304
+ input: Schema.optional<typeof Schema.String>;
305
+ name: typeof Schema.String;
306
+ output: Schema.optional<typeof Schema.String>;
307
+ error: Schema.optional<typeof Schema.String>;
308
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
309
+ inputTruncated: Schema.optional<typeof Schema.Boolean>;
310
+ errorTruncated: Schema.optional<typeof Schema.Boolean>;
311
+ startedAtMillis: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
312
+ status: Schema.NullOr<typeof Schema.String>;
313
+ }>, Schema.Struct<{
314
+ _tag: Schema.Literal<["fileChange"]>;
315
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
316
+ paths: Schema.Array$<typeof Schema.String>;
317
+ }>]>>;
318
+ usage: Schema.NullOr<Schema.Struct<{
319
+ cacheReadTokens: typeof Schema.Int;
320
+ cacheWriteTokens: typeof Schema.Int;
321
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
322
+ inputTokens: typeof Schema.Int;
323
+ outputTokens: typeof Schema.Int;
324
+ totalTokens: typeof Schema.Int;
325
+ }>>;
326
+ verifySteps: Schema.Array$<Schema.Struct<{
327
+ command: typeof Schema.String;
328
+ exitCode: typeof Schema.Int;
329
+ }>>;
330
+ voidFields: Schema.Array$<typeof Schema.String>;
331
+ }>;
332
+ type EvalTrial = typeof EvalTrial.Type;
333
+ declare const EvalDistribution: Schema.Struct<{
334
+ commandMax: typeof Schema.Int;
335
+ commandMedian: typeof Schema.Number;
336
+ commandMin: typeof Schema.Int;
337
+ deterministic: typeof Schema.Boolean;
338
+ failed: typeof Schema.Int;
339
+ passRate: typeof Schema.Number;
340
+ passed: typeof Schema.Int;
341
+ scored: typeof Schema.Int;
342
+ trials: typeof Schema.Int;
343
+ voided: typeof Schema.Int;
344
+ }>;
345
+ type EvalDistribution = typeof EvalDistribution.Type;
346
+ declare const EvalVerdict: Schema.Literal<["improved", "incomparable", "regressed", "unchanged"]>;
347
+ type EvalVerdict = typeof EvalVerdict.Type;
348
+ declare const EvalComparison: Schema.Struct<{
349
+ baselineHarnessVersion: typeof Schema.String;
350
+ baselinePassRate: typeof Schema.Number;
351
+ baselineProfileVersion: Schema.NullOr<typeof Schema.String>;
352
+ candidateHarnessVersion: typeof Schema.String;
353
+ candidatePassRate: typeof Schema.Number;
354
+ candidateProfileVersion: Schema.NullOr<typeof Schema.String>;
355
+ delta: typeof Schema.Number;
356
+ determinismLost: typeof Schema.Boolean;
357
+ reason: Schema.NullOr<typeof Schema.String>;
358
+ verdict: Schema.Literal<["improved", "incomparable", "regressed", "unchanged"]>;
359
+ }>;
360
+ type EvalComparison = typeof EvalComparison.Type;
361
+ declare const EvalCell: Schema.Struct<{
362
+ caseName: typeof Schema.String;
363
+ cellKey: Schema.NullOr<typeof Schema.String>;
364
+ costs: Schema.NullOr<Schema.Struct<{
365
+ allocatedUsd: typeof Schema.Number;
366
+ components: Schema.Array$<Schema.Struct<{
367
+ classification: Schema.Literal<["actual", "allocated", "estimate", "included", "managed", "unknown"]>;
368
+ component: Schema.Literal<["judge", "harness", "model", "platform", "sandbox"]>;
369
+ detail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
370
+ explanation: typeof Schema.String;
371
+ source: typeof Schema.String;
372
+ usd: Schema.NullOr<typeof Schema.Number>;
373
+ }>>;
374
+ estimatedEquivalentUsd: typeof Schema.Number;
375
+ incomplete: typeof Schema.Boolean;
376
+ knownActualUsd: typeof Schema.Number;
377
+ }>>;
378
+ comparison: Schema.NullOr<Schema.Struct<{
379
+ baselineHarnessVersion: typeof Schema.String;
380
+ baselinePassRate: typeof Schema.Number;
381
+ baselineProfileVersion: Schema.NullOr<typeof Schema.String>;
382
+ candidateHarnessVersion: typeof Schema.String;
383
+ candidatePassRate: typeof Schema.Number;
384
+ candidateProfileVersion: Schema.NullOr<typeof Schema.String>;
385
+ delta: typeof Schema.Number;
386
+ determinismLost: typeof Schema.Boolean;
387
+ reason: Schema.NullOr<typeof Schema.String>;
388
+ verdict: Schema.Literal<["improved", "incomparable", "regressed", "unchanged"]>;
389
+ }>>;
390
+ distribution: Schema.NullOr<Schema.Struct<{
391
+ commandMax: typeof Schema.Int;
392
+ commandMedian: typeof Schema.Number;
393
+ commandMin: typeof Schema.Int;
394
+ deterministic: typeof Schema.Boolean;
395
+ failed: typeof Schema.Int;
396
+ passRate: typeof Schema.Number;
397
+ passed: typeof Schema.Int;
398
+ scored: typeof Schema.Int;
399
+ trials: typeof Schema.Int;
400
+ voided: typeof Schema.Int;
401
+ }>>;
402
+ internalId: Schema.NullOr<typeof Schema.String>;
403
+ setup: Schema.NullOr<Schema.Struct<{
404
+ prompt: typeof Schema.String;
405
+ repoRef: Schema.NullOr<typeof Schema.String>;
406
+ repoUrl: Schema.NullOr<typeof Schema.String>;
407
+ prepareName: Schema.NullOr<typeof Schema.String>;
408
+ validatorName: Schema.NullOr<typeof Schema.String>;
409
+ validatorFiles: Schema.optional<Schema.filter<Schema.filter<Schema.filter<Schema.Array$<Schema.Struct<{
410
+ path: Schema.filter<Schema.filter<typeof Schema.String>>;
411
+ content: Schema.filter<typeof Schema.String>;
412
+ }>>>>>>;
413
+ verifyCommand: Schema.NullOr<typeof Schema.String>;
414
+ workspace: typeof Schema.String;
415
+ }>>;
416
+ status: Schema.Literal<["running", "finished", "failed"]>;
417
+ taskIndex: typeof Schema.Int;
418
+ trials: Schema.Array$<Schema.Struct<{
419
+ validations: Schema.optional<Schema.refine<readonly {
420
+ readonly kind: "command" | "judge" | "code";
421
+ readonly message: string;
422
+ readonly index: number;
423
+ readonly name: string;
424
+ readonly exitCode: number | null;
425
+ readonly output: {
426
+ readonly text: string;
427
+ readonly truncated: boolean;
428
+ readonly format: "text" | "json";
429
+ readonly state: "captured" | "disabled" | "unavailable";
430
+ };
431
+ readonly input: {
432
+ readonly text: string;
433
+ readonly truncated: boolean;
434
+ readonly format: "text" | "json";
435
+ readonly state: "captured" | "disabled" | "unavailable";
436
+ };
437
+ readonly error: {
438
+ readonly text: string;
439
+ readonly truncated: boolean;
440
+ readonly format: "text" | "json";
441
+ readonly state: "captured" | "disabled" | "unavailable";
442
+ } | null;
443
+ readonly status: "queued" | "running" | "passed" | "failed" | "error" | "skipped";
444
+ readonly id: string;
445
+ readonly startedAt: number | null;
446
+ readonly durationMs: number | null;
447
+ readonly truncated: boolean;
448
+ readonly judgment?: {
449
+ readonly name: string;
450
+ readonly model: string;
451
+ readonly threshold: number;
452
+ readonly error: string | null;
453
+ readonly durationMs: number;
454
+ readonly evaluator: string;
455
+ readonly score: number | null;
456
+ readonly choice: string | null;
457
+ readonly reason: string;
458
+ } | undefined;
459
+ readonly metadata?: {
460
+ readonly text: string;
461
+ readonly truncated: boolean;
462
+ readonly format: "text" | "json";
463
+ readonly state: "captured" | "disabled" | "unavailable";
464
+ } | undefined;
465
+ readonly calls: readonly {
466
+ readonly index: number;
467
+ readonly output: {
468
+ readonly text: string;
469
+ readonly truncated: boolean;
470
+ readonly format: "text" | "json";
471
+ readonly state: "captured" | "disabled" | "unavailable";
472
+ };
473
+ readonly input: {
474
+ readonly text: string;
475
+ readonly truncated: boolean;
476
+ readonly format: "text" | "json";
477
+ readonly state: "captured" | "disabled" | "unavailable";
478
+ };
479
+ readonly error: {
480
+ readonly text: string;
481
+ readonly truncated: boolean;
482
+ readonly format: "text" | "json";
483
+ readonly state: "captured" | "disabled" | "unavailable";
484
+ } | null;
485
+ readonly startedAt: number;
486
+ readonly durationMs: number | null;
487
+ readonly method: "answer" | "transcript" | "readText" | "exists" | "exec" | "cli.calls" | "mcp.calls";
488
+ }[];
489
+ readonly logs: readonly {
490
+ readonly at: number;
491
+ readonly value: {
492
+ readonly text: string;
493
+ readonly truncated: boolean;
494
+ readonly format: "text" | "json";
495
+ readonly state: "captured" | "disabled" | "unavailable";
496
+ };
497
+ readonly index: number;
498
+ readonly level: "stdout" | "stderr";
499
+ }[];
500
+ }[], Schema.Array$<Schema.Struct<{
501
+ id: Schema.filter<Schema.filter<typeof Schema.String>>;
502
+ index: Schema.refine<number, typeof Schema.NonNegative>;
503
+ name: Schema.filter<typeof Schema.String>;
504
+ kind: Schema.Literal<["code", "judge", "command"]>;
505
+ status: Schema.Literal<["queued", "running", "passed", "failed", "error", "skipped"]>;
506
+ startedAt: Schema.NullOr<typeof Schema.Number>;
507
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
508
+ message: Schema.filter<typeof Schema.String>;
509
+ exitCode: Schema.NullOr<typeof Schema.Int>;
510
+ truncated: typeof Schema.Boolean;
511
+ judgment: Schema.optional<Schema.Struct<{
512
+ name: typeof Schema.String;
513
+ model: typeof Schema.String;
514
+ evaluator: typeof Schema.String;
515
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
516
+ choice: Schema.NullOr<typeof Schema.String>;
517
+ reason: typeof Schema.String;
518
+ threshold: Schema.filter<typeof Schema.Number>;
519
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
520
+ error: Schema.NullOr<typeof Schema.String>;
521
+ }>>;
522
+ input: Schema.Struct<{
523
+ text: Schema.filter<typeof Schema.String>;
524
+ format: Schema.Literal<["text", "json"]>;
525
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
526
+ truncated: typeof Schema.Boolean;
527
+ }>;
528
+ output: Schema.Struct<{
529
+ text: Schema.filter<typeof Schema.String>;
530
+ format: Schema.Literal<["text", "json"]>;
531
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
532
+ truncated: typeof Schema.Boolean;
533
+ }>;
534
+ error: Schema.NullOr<Schema.Struct<{
535
+ text: Schema.filter<typeof Schema.String>;
536
+ format: Schema.Literal<["text", "json"]>;
537
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
538
+ truncated: typeof Schema.Boolean;
539
+ }>>;
540
+ metadata: Schema.optional<Schema.Struct<{
541
+ text: Schema.filter<typeof Schema.String>;
542
+ format: Schema.Literal<["text", "json"]>;
543
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
544
+ truncated: typeof Schema.Boolean;
545
+ }>>;
546
+ calls: Schema.filter<Schema.Array$<Schema.Struct<{
547
+ index: Schema.refine<number, typeof Schema.NonNegative>;
548
+ method: Schema.Literal<["answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"]>;
549
+ startedAt: typeof Schema.Number;
550
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
551
+ input: Schema.Struct<{
552
+ text: Schema.filter<typeof Schema.String>;
553
+ format: Schema.Literal<["text", "json"]>;
554
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
555
+ truncated: typeof Schema.Boolean;
556
+ }>;
557
+ output: Schema.Struct<{
558
+ text: Schema.filter<typeof Schema.String>;
559
+ format: Schema.Literal<["text", "json"]>;
560
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
561
+ truncated: typeof Schema.Boolean;
562
+ }>;
563
+ error: Schema.NullOr<Schema.Struct<{
564
+ text: Schema.filter<typeof Schema.String>;
565
+ format: Schema.Literal<["text", "json"]>;
566
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
567
+ truncated: typeof Schema.Boolean;
568
+ }>>;
569
+ }>>>;
570
+ logs: Schema.filter<Schema.Array$<Schema.Struct<{
571
+ index: Schema.refine<number, typeof Schema.NonNegative>;
572
+ at: typeof Schema.Number;
573
+ level: Schema.Literal<["stdout", "stderr"]>;
574
+ value: Schema.Struct<{
575
+ text: Schema.filter<typeof Schema.String>;
576
+ format: Schema.Literal<["text", "json"]>;
577
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
578
+ truncated: typeof Schema.Boolean;
579
+ }>;
580
+ }>>>;
581
+ }>>>>;
582
+ judgments: Schema.optional<Schema.Array$<Schema.Struct<{
583
+ name: typeof Schema.String;
584
+ model: typeof Schema.String;
585
+ evaluator: typeof Schema.String;
586
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
587
+ choice: Schema.NullOr<typeof Schema.String>;
588
+ reason: typeof Schema.String;
589
+ threshold: Schema.filter<typeof Schema.Number>;
590
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
591
+ error: Schema.NullOr<typeof Schema.String>;
592
+ }>>>;
593
+ commands: typeof Schema.Int;
594
+ costs: Schema.NullOr<Schema.Struct<{
595
+ allocatedUsd: typeof Schema.Number;
596
+ components: Schema.Array$<Schema.Struct<{
597
+ classification: Schema.Literal<["actual", "allocated", "estimate", "included", "managed", "unknown"]>;
598
+ component: Schema.Literal<["judge", "harness", "model", "platform", "sandbox"]>;
599
+ detail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
600
+ explanation: typeof Schema.String;
601
+ source: typeof Schema.String;
602
+ usd: Schema.NullOr<typeof Schema.Number>;
603
+ }>>;
604
+ estimatedEquivalentUsd: typeof Schema.Number;
605
+ incomplete: typeof Schema.Boolean;
606
+ knownActualUsd: typeof Schema.Number;
607
+ }>>;
608
+ prepared: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
609
+ exitCode: typeof Schema.Int;
610
+ failedCommands: typeof Schema.Int;
611
+ filesChanged: Schema.Array$<typeof Schema.String>;
612
+ modelMs: typeof Schema.Int;
613
+ ordinal: typeof Schema.Int;
614
+ passed: typeof Schema.Boolean;
615
+ sandboxId: Schema.NullOr<typeof Schema.String>;
616
+ sandboxMs: typeof Schema.Int;
617
+ status: Schema.Literal<["queued", "running", "passed", "failed", "void"]>;
618
+ timed: typeof Schema.Boolean;
619
+ trajectory: Schema.Array$<Schema.Union<[Schema.Struct<{
620
+ _tag: Schema.Literal<["command"]>;
621
+ command: typeof Schema.String;
622
+ exitCode: Schema.NullOr<typeof Schema.Int>;
623
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
624
+ output: typeof Schema.String;
625
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
626
+ startedAtMillis: Schema.NullOr<typeof Schema.Number>;
627
+ }>, Schema.Struct<{
628
+ _tag: Schema.Literal<["message"]>;
629
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
630
+ text: typeof Schema.String;
631
+ usage: Schema.optional<Schema.NullOr<Schema.Struct<{
632
+ cacheReadTokens: typeof Schema.Int;
633
+ cacheWriteTokens: typeof Schema.Int;
634
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
635
+ inputTokens: typeof Schema.Int;
636
+ outputTokens: typeof Schema.Int;
637
+ totalTokens: typeof Schema.Int;
638
+ }>>>;
639
+ }>, Schema.Struct<{
640
+ _tag: Schema.Literal<["toolCall"]>;
641
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
642
+ input: Schema.optional<typeof Schema.String>;
643
+ name: typeof Schema.String;
644
+ output: Schema.optional<typeof Schema.String>;
645
+ error: Schema.optional<typeof Schema.String>;
646
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
647
+ inputTruncated: Schema.optional<typeof Schema.Boolean>;
648
+ errorTruncated: Schema.optional<typeof Schema.Boolean>;
649
+ startedAtMillis: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
650
+ status: Schema.NullOr<typeof Schema.String>;
651
+ }>, Schema.Struct<{
652
+ _tag: Schema.Literal<["fileChange"]>;
653
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
654
+ paths: Schema.Array$<typeof Schema.String>;
655
+ }>]>>;
656
+ usage: Schema.NullOr<Schema.Struct<{
657
+ cacheReadTokens: typeof Schema.Int;
658
+ cacheWriteTokens: typeof Schema.Int;
659
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
660
+ inputTokens: typeof Schema.Int;
661
+ outputTokens: typeof Schema.Int;
662
+ totalTokens: typeof Schema.Int;
663
+ }>>;
664
+ verifySteps: Schema.Array$<Schema.Struct<{
665
+ command: typeof Schema.String;
666
+ exitCode: typeof Schema.Int;
667
+ }>>;
668
+ voidFields: Schema.Array$<typeof Schema.String>;
669
+ }>>;
670
+ }>;
671
+ type EvalCell = typeof EvalCell.Type;
672
+ declare const EvalRun: Schema.Struct<{
673
+ trigger: Schema.optionalWith<Schema.NullOr<Schema.Struct<{
674
+ source: Schema.Literal<["dashboard", "api", "cli", "ci", "mcp"]>;
675
+ url: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
676
+ }>>, {
677
+ default: () => null;
678
+ }>;
679
+ cases: Schema.Array$<typeof Schema.String>;
680
+ cells: Schema.Array$<Schema.Struct<{
681
+ caseName: typeof Schema.String;
682
+ cellKey: Schema.NullOr<typeof Schema.String>;
683
+ costs: Schema.NullOr<Schema.Struct<{
684
+ allocatedUsd: typeof Schema.Number;
685
+ components: Schema.Array$<Schema.Struct<{
686
+ classification: Schema.Literal<["actual", "allocated", "estimate", "included", "managed", "unknown"]>;
687
+ component: Schema.Literal<["judge", "harness", "model", "platform", "sandbox"]>;
688
+ detail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
689
+ explanation: typeof Schema.String;
690
+ source: typeof Schema.String;
691
+ usd: Schema.NullOr<typeof Schema.Number>;
692
+ }>>;
693
+ estimatedEquivalentUsd: typeof Schema.Number;
694
+ incomplete: typeof Schema.Boolean;
695
+ knownActualUsd: typeof Schema.Number;
696
+ }>>;
697
+ comparison: Schema.NullOr<Schema.Struct<{
698
+ baselineHarnessVersion: typeof Schema.String;
699
+ baselinePassRate: typeof Schema.Number;
700
+ baselineProfileVersion: Schema.NullOr<typeof Schema.String>;
701
+ candidateHarnessVersion: typeof Schema.String;
702
+ candidatePassRate: typeof Schema.Number;
703
+ candidateProfileVersion: Schema.NullOr<typeof Schema.String>;
704
+ delta: typeof Schema.Number;
705
+ determinismLost: typeof Schema.Boolean;
706
+ reason: Schema.NullOr<typeof Schema.String>;
707
+ verdict: Schema.Literal<["improved", "incomparable", "regressed", "unchanged"]>;
708
+ }>>;
709
+ distribution: Schema.NullOr<Schema.Struct<{
710
+ commandMax: typeof Schema.Int;
711
+ commandMedian: typeof Schema.Number;
712
+ commandMin: typeof Schema.Int;
713
+ deterministic: typeof Schema.Boolean;
714
+ failed: typeof Schema.Int;
715
+ passRate: typeof Schema.Number;
716
+ passed: typeof Schema.Int;
717
+ scored: typeof Schema.Int;
718
+ trials: typeof Schema.Int;
719
+ voided: typeof Schema.Int;
720
+ }>>;
721
+ internalId: Schema.NullOr<typeof Schema.String>;
722
+ setup: Schema.NullOr<Schema.Struct<{
723
+ prompt: typeof Schema.String;
724
+ repoRef: Schema.NullOr<typeof Schema.String>;
725
+ repoUrl: Schema.NullOr<typeof Schema.String>;
726
+ prepareName: Schema.NullOr<typeof Schema.String>;
727
+ validatorName: Schema.NullOr<typeof Schema.String>;
728
+ validatorFiles: Schema.optional<Schema.filter<Schema.filter<Schema.filter<Schema.Array$<Schema.Struct<{
729
+ path: Schema.filter<Schema.filter<typeof Schema.String>>;
730
+ content: Schema.filter<typeof Schema.String>;
731
+ }>>>>>>;
732
+ verifyCommand: Schema.NullOr<typeof Schema.String>;
733
+ workspace: typeof Schema.String;
734
+ }>>;
735
+ status: Schema.Literal<["running", "finished", "failed"]>;
736
+ taskIndex: typeof Schema.Int;
737
+ trials: Schema.Array$<Schema.Struct<{
738
+ validations: Schema.optional<Schema.refine<readonly {
739
+ readonly kind: "command" | "judge" | "code";
740
+ readonly message: string;
741
+ readonly index: number;
742
+ readonly name: string;
743
+ readonly exitCode: number | null;
744
+ readonly output: {
745
+ readonly text: string;
746
+ readonly truncated: boolean;
747
+ readonly format: "text" | "json";
748
+ readonly state: "captured" | "disabled" | "unavailable";
749
+ };
750
+ readonly input: {
751
+ readonly text: string;
752
+ readonly truncated: boolean;
753
+ readonly format: "text" | "json";
754
+ readonly state: "captured" | "disabled" | "unavailable";
755
+ };
756
+ readonly error: {
757
+ readonly text: string;
758
+ readonly truncated: boolean;
759
+ readonly format: "text" | "json";
760
+ readonly state: "captured" | "disabled" | "unavailable";
761
+ } | null;
762
+ readonly status: "queued" | "running" | "passed" | "failed" | "error" | "skipped";
763
+ readonly id: string;
764
+ readonly startedAt: number | null;
765
+ readonly durationMs: number | null;
766
+ readonly truncated: boolean;
767
+ readonly judgment?: {
768
+ readonly name: string;
769
+ readonly model: string;
770
+ readonly threshold: number;
771
+ readonly error: string | null;
772
+ readonly durationMs: number;
773
+ readonly evaluator: string;
774
+ readonly score: number | null;
775
+ readonly choice: string | null;
776
+ readonly reason: string;
777
+ } | undefined;
778
+ readonly metadata?: {
779
+ readonly text: string;
780
+ readonly truncated: boolean;
781
+ readonly format: "text" | "json";
782
+ readonly state: "captured" | "disabled" | "unavailable";
783
+ } | undefined;
784
+ readonly calls: readonly {
785
+ readonly index: number;
786
+ readonly output: {
787
+ readonly text: string;
788
+ readonly truncated: boolean;
789
+ readonly format: "text" | "json";
790
+ readonly state: "captured" | "disabled" | "unavailable";
791
+ };
792
+ readonly input: {
793
+ readonly text: string;
794
+ readonly truncated: boolean;
795
+ readonly format: "text" | "json";
796
+ readonly state: "captured" | "disabled" | "unavailable";
797
+ };
798
+ readonly error: {
799
+ readonly text: string;
800
+ readonly truncated: boolean;
801
+ readonly format: "text" | "json";
802
+ readonly state: "captured" | "disabled" | "unavailable";
803
+ } | null;
804
+ readonly startedAt: number;
805
+ readonly durationMs: number | null;
806
+ readonly method: "answer" | "transcript" | "readText" | "exists" | "exec" | "cli.calls" | "mcp.calls";
807
+ }[];
808
+ readonly logs: readonly {
809
+ readonly at: number;
810
+ readonly value: {
811
+ readonly text: string;
812
+ readonly truncated: boolean;
813
+ readonly format: "text" | "json";
814
+ readonly state: "captured" | "disabled" | "unavailable";
815
+ };
816
+ readonly index: number;
817
+ readonly level: "stdout" | "stderr";
818
+ }[];
819
+ }[], Schema.Array$<Schema.Struct<{
820
+ id: Schema.filter<Schema.filter<typeof Schema.String>>;
821
+ index: Schema.refine<number, typeof Schema.NonNegative>;
822
+ name: Schema.filter<typeof Schema.String>;
823
+ kind: Schema.Literal<["code", "judge", "command"]>;
824
+ status: Schema.Literal<["queued", "running", "passed", "failed", "error", "skipped"]>;
825
+ startedAt: Schema.NullOr<typeof Schema.Number>;
826
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
827
+ message: Schema.filter<typeof Schema.String>;
828
+ exitCode: Schema.NullOr<typeof Schema.Int>;
829
+ truncated: typeof Schema.Boolean;
830
+ judgment: Schema.optional<Schema.Struct<{
831
+ name: typeof Schema.String;
832
+ model: typeof Schema.String;
833
+ evaluator: typeof Schema.String;
834
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
835
+ choice: Schema.NullOr<typeof Schema.String>;
836
+ reason: typeof Schema.String;
837
+ threshold: Schema.filter<typeof Schema.Number>;
838
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
839
+ error: Schema.NullOr<typeof Schema.String>;
840
+ }>>;
841
+ input: Schema.Struct<{
842
+ text: Schema.filter<typeof Schema.String>;
843
+ format: Schema.Literal<["text", "json"]>;
844
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
845
+ truncated: typeof Schema.Boolean;
846
+ }>;
847
+ output: Schema.Struct<{
848
+ text: Schema.filter<typeof Schema.String>;
849
+ format: Schema.Literal<["text", "json"]>;
850
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
851
+ truncated: typeof Schema.Boolean;
852
+ }>;
853
+ error: Schema.NullOr<Schema.Struct<{
854
+ text: Schema.filter<typeof Schema.String>;
855
+ format: Schema.Literal<["text", "json"]>;
856
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
857
+ truncated: typeof Schema.Boolean;
858
+ }>>;
859
+ metadata: Schema.optional<Schema.Struct<{
860
+ text: Schema.filter<typeof Schema.String>;
861
+ format: Schema.Literal<["text", "json"]>;
862
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
863
+ truncated: typeof Schema.Boolean;
864
+ }>>;
865
+ calls: Schema.filter<Schema.Array$<Schema.Struct<{
866
+ index: Schema.refine<number, typeof Schema.NonNegative>;
867
+ method: Schema.Literal<["answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"]>;
868
+ startedAt: typeof Schema.Number;
869
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
870
+ input: Schema.Struct<{
871
+ text: Schema.filter<typeof Schema.String>;
872
+ format: Schema.Literal<["text", "json"]>;
873
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
874
+ truncated: typeof Schema.Boolean;
875
+ }>;
876
+ output: Schema.Struct<{
877
+ text: Schema.filter<typeof Schema.String>;
878
+ format: Schema.Literal<["text", "json"]>;
879
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
880
+ truncated: typeof Schema.Boolean;
881
+ }>;
882
+ error: Schema.NullOr<Schema.Struct<{
883
+ text: Schema.filter<typeof Schema.String>;
884
+ format: Schema.Literal<["text", "json"]>;
885
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
886
+ truncated: typeof Schema.Boolean;
887
+ }>>;
888
+ }>>>;
889
+ logs: Schema.filter<Schema.Array$<Schema.Struct<{
890
+ index: Schema.refine<number, typeof Schema.NonNegative>;
891
+ at: typeof Schema.Number;
892
+ level: Schema.Literal<["stdout", "stderr"]>;
893
+ value: Schema.Struct<{
894
+ text: Schema.filter<typeof Schema.String>;
895
+ format: Schema.Literal<["text", "json"]>;
896
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
897
+ truncated: typeof Schema.Boolean;
898
+ }>;
899
+ }>>>;
900
+ }>>>>;
901
+ judgments: Schema.optional<Schema.Array$<Schema.Struct<{
902
+ name: typeof Schema.String;
903
+ model: typeof Schema.String;
904
+ evaluator: typeof Schema.String;
905
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
906
+ choice: Schema.NullOr<typeof Schema.String>;
907
+ reason: typeof Schema.String;
908
+ threshold: Schema.filter<typeof Schema.Number>;
909
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
910
+ error: Schema.NullOr<typeof Schema.String>;
911
+ }>>>;
912
+ commands: typeof Schema.Int;
913
+ costs: Schema.NullOr<Schema.Struct<{
914
+ allocatedUsd: typeof Schema.Number;
915
+ components: Schema.Array$<Schema.Struct<{
916
+ classification: Schema.Literal<["actual", "allocated", "estimate", "included", "managed", "unknown"]>;
917
+ component: Schema.Literal<["judge", "harness", "model", "platform", "sandbox"]>;
918
+ detail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
919
+ explanation: typeof Schema.String;
920
+ source: typeof Schema.String;
921
+ usd: Schema.NullOr<typeof Schema.Number>;
922
+ }>>;
923
+ estimatedEquivalentUsd: typeof Schema.Number;
924
+ incomplete: typeof Schema.Boolean;
925
+ knownActualUsd: typeof Schema.Number;
926
+ }>>;
927
+ prepared: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
928
+ exitCode: typeof Schema.Int;
929
+ failedCommands: typeof Schema.Int;
930
+ filesChanged: Schema.Array$<typeof Schema.String>;
931
+ modelMs: typeof Schema.Int;
932
+ ordinal: typeof Schema.Int;
933
+ passed: typeof Schema.Boolean;
934
+ sandboxId: Schema.NullOr<typeof Schema.String>;
935
+ sandboxMs: typeof Schema.Int;
936
+ status: Schema.Literal<["queued", "running", "passed", "failed", "void"]>;
937
+ timed: typeof Schema.Boolean;
938
+ trajectory: Schema.Array$<Schema.Union<[Schema.Struct<{
939
+ _tag: Schema.Literal<["command"]>;
940
+ command: typeof Schema.String;
941
+ exitCode: Schema.NullOr<typeof Schema.Int>;
942
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
943
+ output: typeof Schema.String;
944
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
945
+ startedAtMillis: Schema.NullOr<typeof Schema.Number>;
946
+ }>, Schema.Struct<{
947
+ _tag: Schema.Literal<["message"]>;
948
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
949
+ text: typeof Schema.String;
950
+ usage: Schema.optional<Schema.NullOr<Schema.Struct<{
951
+ cacheReadTokens: typeof Schema.Int;
952
+ cacheWriteTokens: typeof Schema.Int;
953
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
954
+ inputTokens: typeof Schema.Int;
955
+ outputTokens: typeof Schema.Int;
956
+ totalTokens: typeof Schema.Int;
957
+ }>>>;
958
+ }>, Schema.Struct<{
959
+ _tag: Schema.Literal<["toolCall"]>;
960
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
961
+ input: Schema.optional<typeof Schema.String>;
962
+ name: typeof Schema.String;
963
+ output: Schema.optional<typeof Schema.String>;
964
+ error: Schema.optional<typeof Schema.String>;
965
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
966
+ inputTruncated: Schema.optional<typeof Schema.Boolean>;
967
+ errorTruncated: Schema.optional<typeof Schema.Boolean>;
968
+ startedAtMillis: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
969
+ status: Schema.NullOr<typeof Schema.String>;
970
+ }>, Schema.Struct<{
971
+ _tag: Schema.Literal<["fileChange"]>;
972
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
973
+ paths: Schema.Array$<typeof Schema.String>;
974
+ }>]>>;
975
+ usage: Schema.NullOr<Schema.Struct<{
976
+ cacheReadTokens: typeof Schema.Int;
977
+ cacheWriteTokens: typeof Schema.Int;
978
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
979
+ inputTokens: typeof Schema.Int;
980
+ outputTokens: typeof Schema.Int;
981
+ totalTokens: typeof Schema.Int;
982
+ }>>;
983
+ verifySteps: Schema.Array$<Schema.Struct<{
984
+ command: typeof Schema.String;
985
+ exitCode: typeof Schema.Int;
986
+ }>>;
987
+ voidFields: Schema.Array$<typeof Schema.String>;
988
+ }>>;
989
+ }>>;
990
+ costs: Schema.NullOr<Schema.Struct<{
991
+ allocatedUsd: typeof Schema.Number;
992
+ components: Schema.Array$<Schema.Struct<{
993
+ classification: Schema.Literal<["actual", "allocated", "estimate", "included", "managed", "unknown"]>;
994
+ component: Schema.Literal<["judge", "harness", "model", "platform", "sandbox"]>;
995
+ detail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
996
+ explanation: typeof Schema.String;
997
+ source: typeof Schema.String;
998
+ usd: Schema.NullOr<typeof Schema.Number>;
999
+ }>>;
1000
+ estimatedEquivalentUsd: typeof Schema.Number;
1001
+ incomplete: typeof Schema.Boolean;
1002
+ knownActualUsd: typeof Schema.Number;
1003
+ }>>;
1004
+ failure: Schema.NullOr<typeof Schema.String>;
1005
+ finishedAt: Schema.NullOr<Schema.transformOrFail<Schema.SchemaClass<string, string, never>, typeof Schema.DateTimeUtcFromSelf, never>>;
1006
+ id: typeof Schema.String;
1007
+ name: Schema.NullOr<Schema.filter<Schema.filter<typeof Schema.String>>>;
1008
+ startedAt: Schema.transformOrFail<Schema.SchemaClass<string, string, never>, typeof Schema.DateTimeUtcFromSelf, never>;
1009
+ status: Schema.Literal<["running", "finished", "failed"]>;
1010
+ tasks: Schema.Array$<Schema.Struct<{
1011
+ harness: Schema.Literal<["codex", "opencode", "pi", "fx", "claude", "gemini", "qwen", "cursor", "command"]>;
1012
+ harnessVersion: typeof Schema.String;
1013
+ model: typeof Schema.String;
1014
+ profile: Schema.optional<Schema.NullOr<Schema.Struct<{
1015
+ name: typeof Schema.String;
1016
+ version: typeof Schema.String;
1017
+ }>>>;
1018
+ sandbox: Schema.Literal<["daytona", "e2b", "upstash", "modal", "cloudflare", "vercel"]>;
1019
+ }>>;
1020
+ }>;
1021
+ type EvalRun = typeof EvalRun.Type;
1022
+ declare const EvalRunSummary: Schema.Struct<{
1023
+ trigger: Schema.optionalWith<Schema.NullOr<Schema.Struct<{
1024
+ source: Schema.Literal<["dashboard", "api", "cli", "ci", "mcp"]>;
1025
+ url: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
1026
+ }>>, {
1027
+ default: () => null;
1028
+ }>;
1029
+ caseCount: typeof Schema.Int;
1030
+ columns: Schema.Array$<Schema.Struct<{
1031
+ harness: Schema.Literal<["codex", "opencode", "pi", "fx", "claude", "gemini", "qwen", "cursor", "command"]>;
1032
+ harnessVersion: typeof Schema.String;
1033
+ model: typeof Schema.String;
1034
+ profile: Schema.optional<Schema.NullOr<Schema.Struct<{
1035
+ name: typeof Schema.String;
1036
+ version: typeof Schema.String;
1037
+ }>>>;
1038
+ sandbox: Schema.Literal<["daytona", "e2b", "upstash", "modal", "cloudflare", "vercel"]>;
1039
+ }>>;
1040
+ commandMax: Schema.NullOr<typeof Schema.Int>;
1041
+ commandMin: Schema.NullOr<typeof Schema.Int>;
1042
+ failure: Schema.NullOr<typeof Schema.String>;
1043
+ finishedAt: Schema.NullOr<Schema.transformOrFail<Schema.SchemaClass<string, string, never>, typeof Schema.DateTimeUtcFromSelf, never>>;
1044
+ firstCaseName: Schema.NullOr<typeof Schema.String>;
1045
+ id: typeof Schema.String;
1046
+ name: Schema.NullOr<typeof Schema.String>;
1047
+ passed: typeof Schema.Int;
1048
+ scored: typeof Schema.Int;
1049
+ startedAt: Schema.transformOrFail<Schema.SchemaClass<string, string, never>, typeof Schema.DateTimeUtcFromSelf, never>;
1050
+ status: Schema.Literal<["running", "finished", "failed"]>;
1051
+ taskCount: typeof Schema.Int;
1052
+ voided: typeof Schema.Int;
1053
+ }>;
1054
+ type EvalRunSummary = typeof EvalRunSummary.Type;
1055
+ declare const EvalCellHistoryEntry: Schema.Struct<{
1056
+ trigger: Schema.optionalWith<Schema.NullOr<Schema.Struct<{
1057
+ source: Schema.Literal<["dashboard", "api", "cli", "ci", "mcp"]>;
1058
+ url: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
1059
+ }>>, {
1060
+ default: () => null;
1061
+ }>;
1062
+ distribution: Schema.Struct<{
1063
+ commandMax: typeof Schema.Int;
1064
+ commandMedian: typeof Schema.Number;
1065
+ commandMin: typeof Schema.Int;
1066
+ deterministic: typeof Schema.Boolean;
1067
+ failed: typeof Schema.Int;
1068
+ passRate: typeof Schema.Number;
1069
+ passed: typeof Schema.Int;
1070
+ scored: typeof Schema.Int;
1071
+ trials: typeof Schema.Int;
1072
+ voided: typeof Schema.Int;
1073
+ }>;
1074
+ finishedAt: Schema.NullOr<Schema.transformOrFail<Schema.SchemaClass<string, string, never>, typeof Schema.DateTimeUtcFromSelf, never>>;
1075
+ harnessVersion: typeof Schema.String;
1076
+ internalId: typeof Schema.String;
1077
+ profileVersion: Schema.NullOr<typeof Schema.String>;
1078
+ runId: typeof Schema.String;
1079
+ trials: Schema.Array$<Schema.Struct<{
1080
+ validations: Schema.optional<Schema.refine<readonly {
1081
+ readonly kind: "command" | "judge" | "code";
1082
+ readonly message: string;
1083
+ readonly index: number;
1084
+ readonly name: string;
1085
+ readonly exitCode: number | null;
1086
+ readonly output: {
1087
+ readonly text: string;
1088
+ readonly truncated: boolean;
1089
+ readonly format: "text" | "json";
1090
+ readonly state: "captured" | "disabled" | "unavailable";
1091
+ };
1092
+ readonly input: {
1093
+ readonly text: string;
1094
+ readonly truncated: boolean;
1095
+ readonly format: "text" | "json";
1096
+ readonly state: "captured" | "disabled" | "unavailable";
1097
+ };
1098
+ readonly error: {
1099
+ readonly text: string;
1100
+ readonly truncated: boolean;
1101
+ readonly format: "text" | "json";
1102
+ readonly state: "captured" | "disabled" | "unavailable";
1103
+ } | null;
1104
+ readonly status: "queued" | "running" | "passed" | "failed" | "error" | "skipped";
1105
+ readonly id: string;
1106
+ readonly startedAt: number | null;
1107
+ readonly durationMs: number | null;
1108
+ readonly truncated: boolean;
1109
+ readonly judgment?: {
1110
+ readonly name: string;
1111
+ readonly model: string;
1112
+ readonly threshold: number;
1113
+ readonly error: string | null;
1114
+ readonly durationMs: number;
1115
+ readonly evaluator: string;
1116
+ readonly score: number | null;
1117
+ readonly choice: string | null;
1118
+ readonly reason: string;
1119
+ } | undefined;
1120
+ readonly metadata?: {
1121
+ readonly text: string;
1122
+ readonly truncated: boolean;
1123
+ readonly format: "text" | "json";
1124
+ readonly state: "captured" | "disabled" | "unavailable";
1125
+ } | undefined;
1126
+ readonly calls: readonly {
1127
+ readonly index: number;
1128
+ readonly output: {
1129
+ readonly text: string;
1130
+ readonly truncated: boolean;
1131
+ readonly format: "text" | "json";
1132
+ readonly state: "captured" | "disabled" | "unavailable";
1133
+ };
1134
+ readonly input: {
1135
+ readonly text: string;
1136
+ readonly truncated: boolean;
1137
+ readonly format: "text" | "json";
1138
+ readonly state: "captured" | "disabled" | "unavailable";
1139
+ };
1140
+ readonly error: {
1141
+ readonly text: string;
1142
+ readonly truncated: boolean;
1143
+ readonly format: "text" | "json";
1144
+ readonly state: "captured" | "disabled" | "unavailable";
1145
+ } | null;
1146
+ readonly startedAt: number;
1147
+ readonly durationMs: number | null;
1148
+ readonly method: "answer" | "transcript" | "readText" | "exists" | "exec" | "cli.calls" | "mcp.calls";
1149
+ }[];
1150
+ readonly logs: readonly {
1151
+ readonly at: number;
1152
+ readonly value: {
1153
+ readonly text: string;
1154
+ readonly truncated: boolean;
1155
+ readonly format: "text" | "json";
1156
+ readonly state: "captured" | "disabled" | "unavailable";
1157
+ };
1158
+ readonly index: number;
1159
+ readonly level: "stdout" | "stderr";
1160
+ }[];
1161
+ }[], Schema.Array$<Schema.Struct<{
1162
+ id: Schema.filter<Schema.filter<typeof Schema.String>>;
1163
+ index: Schema.refine<number, typeof Schema.NonNegative>;
1164
+ name: Schema.filter<typeof Schema.String>;
1165
+ kind: Schema.Literal<["code", "judge", "command"]>;
1166
+ status: Schema.Literal<["queued", "running", "passed", "failed", "error", "skipped"]>;
1167
+ startedAt: Schema.NullOr<typeof Schema.Number>;
1168
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
1169
+ message: Schema.filter<typeof Schema.String>;
1170
+ exitCode: Schema.NullOr<typeof Schema.Int>;
1171
+ truncated: typeof Schema.Boolean;
1172
+ judgment: Schema.optional<Schema.Struct<{
1173
+ name: typeof Schema.String;
1174
+ model: typeof Schema.String;
1175
+ evaluator: typeof Schema.String;
1176
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
1177
+ choice: Schema.NullOr<typeof Schema.String>;
1178
+ reason: typeof Schema.String;
1179
+ threshold: Schema.filter<typeof Schema.Number>;
1180
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
1181
+ error: Schema.NullOr<typeof Schema.String>;
1182
+ }>>;
1183
+ input: Schema.Struct<{
1184
+ text: Schema.filter<typeof Schema.String>;
1185
+ format: Schema.Literal<["text", "json"]>;
1186
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1187
+ truncated: typeof Schema.Boolean;
1188
+ }>;
1189
+ output: Schema.Struct<{
1190
+ text: Schema.filter<typeof Schema.String>;
1191
+ format: Schema.Literal<["text", "json"]>;
1192
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1193
+ truncated: typeof Schema.Boolean;
1194
+ }>;
1195
+ error: Schema.NullOr<Schema.Struct<{
1196
+ text: Schema.filter<typeof Schema.String>;
1197
+ format: Schema.Literal<["text", "json"]>;
1198
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1199
+ truncated: typeof Schema.Boolean;
1200
+ }>>;
1201
+ metadata: Schema.optional<Schema.Struct<{
1202
+ text: Schema.filter<typeof Schema.String>;
1203
+ format: Schema.Literal<["text", "json"]>;
1204
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1205
+ truncated: typeof Schema.Boolean;
1206
+ }>>;
1207
+ calls: Schema.filter<Schema.Array$<Schema.Struct<{
1208
+ index: Schema.refine<number, typeof Schema.NonNegative>;
1209
+ method: Schema.Literal<["answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"]>;
1210
+ startedAt: typeof Schema.Number;
1211
+ durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
1212
+ input: Schema.Struct<{
1213
+ text: Schema.filter<typeof Schema.String>;
1214
+ format: Schema.Literal<["text", "json"]>;
1215
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1216
+ truncated: typeof Schema.Boolean;
1217
+ }>;
1218
+ output: Schema.Struct<{
1219
+ text: Schema.filter<typeof Schema.String>;
1220
+ format: Schema.Literal<["text", "json"]>;
1221
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1222
+ truncated: typeof Schema.Boolean;
1223
+ }>;
1224
+ error: Schema.NullOr<Schema.Struct<{
1225
+ text: Schema.filter<typeof Schema.String>;
1226
+ format: Schema.Literal<["text", "json"]>;
1227
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1228
+ truncated: typeof Schema.Boolean;
1229
+ }>>;
1230
+ }>>>;
1231
+ logs: Schema.filter<Schema.Array$<Schema.Struct<{
1232
+ index: Schema.refine<number, typeof Schema.NonNegative>;
1233
+ at: typeof Schema.Number;
1234
+ level: Schema.Literal<["stdout", "stderr"]>;
1235
+ value: Schema.Struct<{
1236
+ text: Schema.filter<typeof Schema.String>;
1237
+ format: Schema.Literal<["text", "json"]>;
1238
+ state: Schema.Literal<["captured", "disabled", "unavailable"]>;
1239
+ truncated: typeof Schema.Boolean;
1240
+ }>;
1241
+ }>>>;
1242
+ }>>>>;
1243
+ judgments: Schema.optional<Schema.Array$<Schema.Struct<{
1244
+ name: typeof Schema.String;
1245
+ model: typeof Schema.String;
1246
+ evaluator: typeof Schema.String;
1247
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
1248
+ choice: Schema.NullOr<typeof Schema.String>;
1249
+ reason: typeof Schema.String;
1250
+ threshold: Schema.filter<typeof Schema.Number>;
1251
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
1252
+ error: Schema.NullOr<typeof Schema.String>;
1253
+ }>>>;
1254
+ commands: typeof Schema.Int;
1255
+ costs: Schema.NullOr<Schema.Struct<{
1256
+ allocatedUsd: typeof Schema.Number;
1257
+ components: Schema.Array$<Schema.Struct<{
1258
+ classification: Schema.Literal<["actual", "allocated", "estimate", "included", "managed", "unknown"]>;
1259
+ component: Schema.Literal<["judge", "harness", "model", "platform", "sandbox"]>;
1260
+ detail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
1261
+ explanation: typeof Schema.String;
1262
+ source: typeof Schema.String;
1263
+ usd: Schema.NullOr<typeof Schema.Number>;
1264
+ }>>;
1265
+ estimatedEquivalentUsd: typeof Schema.Number;
1266
+ incomplete: typeof Schema.Boolean;
1267
+ knownActualUsd: typeof Schema.Number;
1268
+ }>>;
1269
+ prepared: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
1270
+ exitCode: typeof Schema.Int;
1271
+ failedCommands: typeof Schema.Int;
1272
+ filesChanged: Schema.Array$<typeof Schema.String>;
1273
+ modelMs: typeof Schema.Int;
1274
+ ordinal: typeof Schema.Int;
1275
+ passed: typeof Schema.Boolean;
1276
+ sandboxId: Schema.NullOr<typeof Schema.String>;
1277
+ sandboxMs: typeof Schema.Int;
1278
+ status: Schema.Literal<["queued", "running", "passed", "failed", "void"]>;
1279
+ timed: typeof Schema.Boolean;
1280
+ trajectory: Schema.Array$<Schema.Union<[Schema.Struct<{
1281
+ _tag: Schema.Literal<["command"]>;
1282
+ command: typeof Schema.String;
1283
+ exitCode: Schema.NullOr<typeof Schema.Int>;
1284
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
1285
+ output: typeof Schema.String;
1286
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
1287
+ startedAtMillis: Schema.NullOr<typeof Schema.Number>;
1288
+ }>, Schema.Struct<{
1289
+ _tag: Schema.Literal<["message"]>;
1290
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
1291
+ text: typeof Schema.String;
1292
+ usage: Schema.optional<Schema.NullOr<Schema.Struct<{
1293
+ cacheReadTokens: typeof Schema.Int;
1294
+ cacheWriteTokens: typeof Schema.Int;
1295
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
1296
+ inputTokens: typeof Schema.Int;
1297
+ outputTokens: typeof Schema.Int;
1298
+ totalTokens: typeof Schema.Int;
1299
+ }>>>;
1300
+ }>, Schema.Struct<{
1301
+ _tag: Schema.Literal<["toolCall"]>;
1302
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
1303
+ input: Schema.optional<typeof Schema.String>;
1304
+ name: typeof Schema.String;
1305
+ output: Schema.optional<typeof Schema.String>;
1306
+ error: Schema.optional<typeof Schema.String>;
1307
+ outputTruncated: Schema.optional<typeof Schema.Boolean>;
1308
+ inputTruncated: Schema.optional<typeof Schema.Boolean>;
1309
+ errorTruncated: Schema.optional<typeof Schema.Boolean>;
1310
+ startedAtMillis: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
1311
+ status: Schema.NullOr<typeof Schema.String>;
1312
+ }>, Schema.Struct<{
1313
+ _tag: Schema.Literal<["fileChange"]>;
1314
+ finishedAtMillis: Schema.NullOr<typeof Schema.Number>;
1315
+ paths: Schema.Array$<typeof Schema.String>;
1316
+ }>]>>;
1317
+ usage: Schema.NullOr<Schema.Struct<{
1318
+ cacheReadTokens: typeof Schema.Int;
1319
+ cacheWriteTokens: typeof Schema.Int;
1320
+ costUsd: Schema.optional<Schema.NullOr<typeof Schema.Number>>;
1321
+ inputTokens: typeof Schema.Int;
1322
+ outputTokens: typeof Schema.Int;
1323
+ totalTokens: typeof Schema.Int;
1324
+ }>>;
1325
+ verifySteps: Schema.Array$<Schema.Struct<{
1326
+ command: typeof Schema.String;
1327
+ exitCode: typeof Schema.Int;
1328
+ }>>;
1329
+ voidFields: Schema.Array$<typeof Schema.String>;
1330
+ }>>;
1331
+ }>;
1332
+ type EvalCellHistoryEntry = typeof EvalCellHistoryEntry.Type;
1333
+ declare const StartedEval: Schema.Struct<{
1334
+ id: typeof Schema.String;
1335
+ }>;
1336
+ declare const RerunCellRequest: Schema.Struct<{
1337
+ trigger: Schema.optional<Schema.Struct<{
1338
+ source: Schema.Literal<["dashboard", "api", "cli", "ci", "mcp"]>;
1339
+ url: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
1340
+ }>>;
1341
+ trials: Schema.filter<typeof Schema.Int>;
1342
+ }>;
1343
+ type RerunCellRequest = typeof RerunCellRequest.Type;
1344
+ type StartedEval = typeof StartedEval.Type;
1345
+ declare const CatalogueModel: Schema.Struct<{
1346
+ displayName: typeof Schema.String;
1347
+ id: typeof Schema.String;
1348
+ summary: Schema.NullOr<typeof Schema.String>;
1349
+ vendor: Schema.NullOr<typeof Schema.String>;
1350
+ }>;
1351
+ type CatalogueModel = typeof CatalogueModel.Type;
1352
+ declare const ModelCatalogue: Schema.Struct<{
1353
+ harness: Schema.Literal<["codex", "opencode", "pi", "fx", "claude", "gemini", "qwen", "cursor", "command"]>;
1354
+ models: Schema.Array$<Schema.Struct<{
1355
+ displayName: typeof Schema.String;
1356
+ id: typeof Schema.String;
1357
+ summary: Schema.NullOr<typeof Schema.String>;
1358
+ vendor: Schema.NullOr<typeof Schema.String>;
1359
+ }>>;
1360
+ total: typeof Schema.Int;
1361
+ }>;
1362
+ type ModelCatalogue = typeof ModelCatalogue.Type;
1363
+ //#endregion
1364
+ export { EvalVerdict as _, EvalDistribution as a, StartedEval as b, EvalRun as c, EvalSandbox as d, EvalSource as f, EvalUsage as g, EvalTrialStatus as h, EvalComparison as i, EvalRunStatus as l, EvalTrial as m, EvalCell as n, EvalHarness as o, EvalTask as p, EvalCellHistoryEntry as r, EvalJournalEntry as s, CatalogueModel as t, EvalRunSummary as u, ModelCatalogue as v, RerunCellRequest as y };