openpond-sdk 0.2.1 → 0.2.2

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,1954 @@
1
+ import { z } from "zod";
2
+ /** The limit covers the entire decoded JSON envelope, including base64. */
3
+ export declare const MAX_TASKSET_PACKAGE_BYTES: number;
4
+ export declare const TasksetPackageFileSchema: z.ZodObject<{
5
+ asset: z.ZodObject<{
6
+ id: z.ZodString;
7
+ path: z.ZodString;
8
+ contentHash: z.ZodString;
9
+ sizeBytes: z.ZodNumber;
10
+ mediaType: z.ZodString;
11
+ visibility: z.ZodEnum<{
12
+ policy: "policy";
13
+ verifier: "verifier";
14
+ host_private: "host_private";
15
+ }>;
16
+ }, z.core.$strict>;
17
+ base64: z.ZodString;
18
+ }, z.core.$strict>;
19
+ export declare const TasksetPackageContentSchema: z.ZodObject<{
20
+ schemaVersion: z.ZodLiteral<"openpond.tasksetPackage.v1">;
21
+ taskset: z.ZodObject<{
22
+ schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">;
23
+ id: z.ZodString;
24
+ revision: z.ZodNumber;
25
+ policy: z.ZodObject<{
26
+ policyVisibleFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
27
+ privilegedFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
28
+ hiddenGraderRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
29
+ connectedAppScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
30
+ }, z.core.$strict>;
31
+ environment: z.ZodObject<{
32
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
33
+ kind: z.ZodEnum<{
34
+ text: "text";
35
+ agent: "agent";
36
+ work: "work";
37
+ custom_program: "custom_program";
38
+ }>;
39
+ entrypoint: z.ZodString;
40
+ stateful: z.ZodBoolean;
41
+ deterministicSeeds: z.ZodBoolean;
42
+ lifecycle: z.ZodArray<z.ZodEnum<{
43
+ create: "create";
44
+ reset: "reset";
45
+ step: "step";
46
+ collect: "collect";
47
+ destroy: "destroy";
48
+ }>>;
49
+ networkPolicy: z.ZodEnum<{
50
+ none: "none";
51
+ declared_read_only: "declared_read_only";
52
+ declared_scoped: "declared_scoped";
53
+ }>;
54
+ defaultTimeoutMs: z.ZodNumber;
55
+ }, z.core.$strict>;
56
+ environmentRelease: z.ZodOptional<z.ZodObject<{
57
+ id: z.ZodString;
58
+ contentHash: z.ZodString;
59
+ }, z.core.$strict>>;
60
+ tools: z.ZodArray<z.ZodObject<{
61
+ name: z.ZodString;
62
+ description: z.ZodString;
63
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
64
+ inputSchemaHash: z.ZodString;
65
+ sideEffect: z.ZodEnum<{
66
+ read: "read";
67
+ write: "write";
68
+ }>;
69
+ timeoutMs: z.ZodNumber;
70
+ }, z.core.$strict>>;
71
+ capabilities: z.ZodArray<z.ZodObject<{
72
+ id: z.ZodString;
73
+ required: z.ZodBoolean;
74
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
75
+ portability: z.ZodEnum<{
76
+ portable: "portable";
77
+ host_adapter: "host_adapter";
78
+ local_only: "local_only";
79
+ hosted_only: "hosted_only";
80
+ }>;
81
+ }, z.core.$strict>>;
82
+ tasks: z.ZodArray<z.ZodObject<{
83
+ id: z.ZodString;
84
+ clusterKey: z.ZodString;
85
+ split: z.ZodEnum<{
86
+ train: "train";
87
+ validation: "validation";
88
+ test: "test";
89
+ frozen_eval: "frozen_eval";
90
+ }>;
91
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
92
+ expectedOutput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
93
+ policyVisibleContext: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
94
+ privilegedContextRef: z.ZodNullable<z.ZodString>;
95
+ artifactRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
96
+ id: z.ZodString;
97
+ path: z.ZodString;
98
+ contentHash: z.ZodString;
99
+ sizeBytes: z.ZodNumber;
100
+ mediaType: z.ZodString;
101
+ visibility: z.ZodEnum<{
102
+ policy: "policy";
103
+ verifier: "verifier";
104
+ host_private: "host_private";
105
+ }>;
106
+ }, z.core.$strict>>>;
107
+ requiredOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
108
+ path: z.ZodString;
109
+ mediaType: z.ZodString;
110
+ schemaRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
111
+ id: z.ZodString;
112
+ path: z.ZodString;
113
+ contentHash: z.ZodString;
114
+ sizeBytes: z.ZodNumber;
115
+ mediaType: z.ZodString;
116
+ visibility: z.ZodEnum<{
117
+ policy: "policy";
118
+ verifier: "verifier";
119
+ host_private: "host_private";
120
+ }>;
121
+ }, z.core.$strict>>>;
122
+ maxBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
123
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
124
+ }, z.core.$strict>>>;
125
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
126
+ }, z.core.$strict>>;
127
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
128
+ id: z.ZodString;
129
+ version: z.ZodString;
130
+ weight: z.ZodDefault<z.ZodNumber>;
131
+ hardGate: z.ZodDefault<z.ZodBoolean>;
132
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
133
+ privileged: z.ZodDefault<z.ZodBoolean>;
134
+ kind: z.ZodEnum<{
135
+ content: "content";
136
+ schema: "schema";
137
+ artifact: "artifact";
138
+ runtime_event: "runtime_event";
139
+ state: "state";
140
+ }>;
141
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ id: z.ZodString;
144
+ version: z.ZodString;
145
+ weight: z.ZodDefault<z.ZodNumber>;
146
+ hardGate: z.ZodDefault<z.ZodBoolean>;
147
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
148
+ privileged: z.ZodDefault<z.ZodBoolean>;
149
+ kind: z.ZodLiteral<"model_judge">;
150
+ rubricRef: z.ZodObject<{
151
+ id: z.ZodString;
152
+ path: z.ZodString;
153
+ contentHash: z.ZodString;
154
+ sizeBytes: z.ZodNumber;
155
+ mediaType: z.ZodString;
156
+ visibility: z.ZodEnum<{
157
+ policy: "policy";
158
+ verifier: "verifier";
159
+ host_private: "host_private";
160
+ }>;
161
+ }, z.core.$strict>;
162
+ calibrationStatus: z.ZodEnum<{
163
+ pending: "pending";
164
+ passed: "passed";
165
+ failed: "failed";
166
+ }>;
167
+ model: z.ZodOptional<z.ZodObject<{
168
+ providerId: z.ZodString;
169
+ modelId: z.ZodString;
170
+ revision: z.ZodNullable<z.ZodString>;
171
+ }, z.core.$strict>>;
172
+ temperature: z.ZodOptional<z.ZodNumber>;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ id: z.ZodString;
175
+ version: z.ZodString;
176
+ weight: z.ZodDefault<z.ZodNumber>;
177
+ hardGate: z.ZodDefault<z.ZodBoolean>;
178
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
179
+ privileged: z.ZodDefault<z.ZodBoolean>;
180
+ kind: z.ZodLiteral<"custom_verifier">;
181
+ verifierRef: z.ZodObject<{
182
+ id: z.ZodString;
183
+ path: z.ZodString;
184
+ contentHash: z.ZodString;
185
+ sizeBytes: z.ZodNumber;
186
+ mediaType: z.ZodString;
187
+ visibility: z.ZodEnum<{
188
+ policy: "policy";
189
+ verifier: "verifier";
190
+ host_private: "host_private";
191
+ }>;
192
+ }, z.core.$strict>;
193
+ exportName: z.ZodOptional<z.ZodString>;
194
+ timeoutMs: z.ZodNumber;
195
+ networkPolicy: z.ZodLiteral<"none">;
196
+ }, z.core.$strict>, z.ZodObject<{
197
+ id: z.ZodString;
198
+ version: z.ZodString;
199
+ weight: z.ZodDefault<z.ZodNumber>;
200
+ hardGate: z.ZodDefault<z.ZodBoolean>;
201
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
202
+ privileged: z.ZodDefault<z.ZodBoolean>;
203
+ kind: z.ZodLiteral<"human">;
204
+ rubricRef: z.ZodObject<{
205
+ id: z.ZodString;
206
+ path: z.ZodString;
207
+ contentHash: z.ZodString;
208
+ sizeBytes: z.ZodNumber;
209
+ mediaType: z.ZodString;
210
+ visibility: z.ZodEnum<{
211
+ policy: "policy";
212
+ verifier: "verifier";
213
+ host_private: "host_private";
214
+ }>;
215
+ }, z.core.$strict>;
216
+ reviewerRole: z.ZodString;
217
+ }, z.core.$strict>]>>;
218
+ verifierSetRelease: z.ZodOptional<z.ZodObject<{
219
+ id: z.ZodString;
220
+ contentHash: z.ZodString;
221
+ }, z.core.$strict>>;
222
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
223
+ contentHash: z.ZodString;
224
+ }, z.core.$strict>;
225
+ environment: z.ZodObject<{
226
+ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">;
227
+ id: z.ZodString;
228
+ revision: z.ZodNumber;
229
+ contract: z.ZodObject<{
230
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
231
+ kind: z.ZodEnum<{
232
+ text: "text";
233
+ agent: "agent";
234
+ work: "work";
235
+ custom_program: "custom_program";
236
+ }>;
237
+ entrypoint: z.ZodString;
238
+ stateful: z.ZodBoolean;
239
+ deterministicSeeds: z.ZodBoolean;
240
+ lifecycle: z.ZodArray<z.ZodEnum<{
241
+ create: "create";
242
+ reset: "reset";
243
+ step: "step";
244
+ collect: "collect";
245
+ destroy: "destroy";
246
+ }>>;
247
+ networkPolicy: z.ZodEnum<{
248
+ none: "none";
249
+ declared_read_only: "declared_read_only";
250
+ declared_scoped: "declared_scoped";
251
+ }>;
252
+ defaultTimeoutMs: z.ZodNumber;
253
+ }, z.core.$strict>;
254
+ actionSchemaRef: z.ZodNullable<z.ZodObject<{
255
+ id: z.ZodString;
256
+ path: z.ZodString;
257
+ contentHash: z.ZodString;
258
+ sizeBytes: z.ZodNumber;
259
+ mediaType: z.ZodString;
260
+ visibility: z.ZodEnum<{
261
+ policy: "policy";
262
+ verifier: "verifier";
263
+ host_private: "host_private";
264
+ }>;
265
+ }, z.core.$strict>>;
266
+ observationSchemaRef: z.ZodNullable<z.ZodObject<{
267
+ id: z.ZodString;
268
+ path: z.ZodString;
269
+ contentHash: z.ZodString;
270
+ sizeBytes: z.ZodNumber;
271
+ mediaType: z.ZodString;
272
+ visibility: z.ZodEnum<{
273
+ policy: "policy";
274
+ verifier: "verifier";
275
+ host_private: "host_private";
276
+ }>;
277
+ }, z.core.$strict>>;
278
+ stateSchemaRef: z.ZodNullable<z.ZodObject<{
279
+ id: z.ZodString;
280
+ path: z.ZodString;
281
+ contentHash: z.ZodString;
282
+ sizeBytes: z.ZodNumber;
283
+ mediaType: z.ZodString;
284
+ visibility: z.ZodEnum<{
285
+ policy: "policy";
286
+ verifier: "verifier";
287
+ host_private: "host_private";
288
+ }>;
289
+ }, z.core.$strict>>;
290
+ artifactCollection: z.ZodObject<{
291
+ maxArtifacts: z.ZodNumber;
292
+ maxTotalBytes: z.ZodNumber;
293
+ }, z.core.$strict>;
294
+ adapterConformanceHashes: z.ZodRecord<z.ZodString, z.ZodString>;
295
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
296
+ contentHash: z.ZodString;
297
+ }, z.core.$strict>;
298
+ verifierSet: z.ZodObject<{
299
+ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">;
300
+ id: z.ZodString;
301
+ revision: z.ZodNumber;
302
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
303
+ id: z.ZodString;
304
+ version: z.ZodString;
305
+ weight: z.ZodDefault<z.ZodNumber>;
306
+ hardGate: z.ZodDefault<z.ZodBoolean>;
307
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
308
+ privileged: z.ZodDefault<z.ZodBoolean>;
309
+ kind: z.ZodEnum<{
310
+ content: "content";
311
+ schema: "schema";
312
+ artifact: "artifact";
313
+ runtime_event: "runtime_event";
314
+ state: "state";
315
+ }>;
316
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
317
+ }, z.core.$strict>, z.ZodObject<{
318
+ id: z.ZodString;
319
+ version: z.ZodString;
320
+ weight: z.ZodDefault<z.ZodNumber>;
321
+ hardGate: z.ZodDefault<z.ZodBoolean>;
322
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
323
+ privileged: z.ZodDefault<z.ZodBoolean>;
324
+ kind: z.ZodLiteral<"model_judge">;
325
+ rubricRef: z.ZodObject<{
326
+ id: z.ZodString;
327
+ path: z.ZodString;
328
+ contentHash: z.ZodString;
329
+ sizeBytes: z.ZodNumber;
330
+ mediaType: z.ZodString;
331
+ visibility: z.ZodEnum<{
332
+ policy: "policy";
333
+ verifier: "verifier";
334
+ host_private: "host_private";
335
+ }>;
336
+ }, z.core.$strict>;
337
+ calibrationStatus: z.ZodEnum<{
338
+ pending: "pending";
339
+ passed: "passed";
340
+ failed: "failed";
341
+ }>;
342
+ model: z.ZodOptional<z.ZodObject<{
343
+ providerId: z.ZodString;
344
+ modelId: z.ZodString;
345
+ revision: z.ZodNullable<z.ZodString>;
346
+ }, z.core.$strict>>;
347
+ temperature: z.ZodOptional<z.ZodNumber>;
348
+ }, z.core.$strict>, z.ZodObject<{
349
+ id: z.ZodString;
350
+ version: z.ZodString;
351
+ weight: z.ZodDefault<z.ZodNumber>;
352
+ hardGate: z.ZodDefault<z.ZodBoolean>;
353
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
354
+ privileged: z.ZodDefault<z.ZodBoolean>;
355
+ kind: z.ZodLiteral<"custom_verifier">;
356
+ verifierRef: z.ZodObject<{
357
+ id: z.ZodString;
358
+ path: z.ZodString;
359
+ contentHash: z.ZodString;
360
+ sizeBytes: z.ZodNumber;
361
+ mediaType: z.ZodString;
362
+ visibility: z.ZodEnum<{
363
+ policy: "policy";
364
+ verifier: "verifier";
365
+ host_private: "host_private";
366
+ }>;
367
+ }, z.core.$strict>;
368
+ exportName: z.ZodOptional<z.ZodString>;
369
+ timeoutMs: z.ZodNumber;
370
+ networkPolicy: z.ZodLiteral<"none">;
371
+ }, z.core.$strict>, z.ZodObject<{
372
+ id: z.ZodString;
373
+ version: z.ZodString;
374
+ weight: z.ZodDefault<z.ZodNumber>;
375
+ hardGate: z.ZodDefault<z.ZodBoolean>;
376
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
377
+ privileged: z.ZodDefault<z.ZodBoolean>;
378
+ kind: z.ZodLiteral<"human">;
379
+ rubricRef: z.ZodObject<{
380
+ id: z.ZodString;
381
+ path: z.ZodString;
382
+ contentHash: z.ZodString;
383
+ sizeBytes: z.ZodNumber;
384
+ mediaType: z.ZodString;
385
+ visibility: z.ZodEnum<{
386
+ policy: "policy";
387
+ verifier: "verifier";
388
+ host_private: "host_private";
389
+ }>;
390
+ }, z.core.$strict>;
391
+ reviewerRole: z.ZodString;
392
+ }, z.core.$strict>]>>;
393
+ isolation: z.ZodObject<{
394
+ processBoundary: z.ZodEnum<{
395
+ same_process: "same_process";
396
+ isolated_process: "isolated_process";
397
+ container: "container";
398
+ }>;
399
+ networkPolicy: z.ZodLiteral<"none">;
400
+ defaultTimeoutMs: z.ZodNumber;
401
+ }, z.core.$strict>;
402
+ calibrationReceiptRefs: z.ZodArray<z.ZodObject<{
403
+ id: z.ZodString;
404
+ contentHash: z.ZodString;
405
+ }, z.core.$strict>>;
406
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
407
+ contentHash: z.ZodString;
408
+ }, z.core.$strict>;
409
+ files: z.ZodArray<z.ZodObject<{
410
+ asset: z.ZodObject<{
411
+ id: z.ZodString;
412
+ path: z.ZodString;
413
+ contentHash: z.ZodString;
414
+ sizeBytes: z.ZodNumber;
415
+ mediaType: z.ZodString;
416
+ visibility: z.ZodEnum<{
417
+ policy: "policy";
418
+ verifier: "verifier";
419
+ host_private: "host_private";
420
+ }>;
421
+ }, z.core.$strict>;
422
+ base64: z.ZodString;
423
+ }, z.core.$strict>>;
424
+ modelResources: z.ZodOptional<z.ZodObject<{
425
+ taskDefinition: z.ZodObject<{
426
+ schemaVersion: z.ZodLiteral<"openpond.taskDefinition.v1">;
427
+ id: z.ZodString;
428
+ revision: z.ZodNumber;
429
+ name: z.ZodString;
430
+ description: z.ZodString;
431
+ instructions: z.ZodString;
432
+ category: z.ZodEnum<{
433
+ custom: "custom";
434
+ structured: "structured";
435
+ question_answering: "question_answering";
436
+ coding: "coding";
437
+ tool_workflow: "tool_workflow";
438
+ }>;
439
+ familyNamespace: z.ZodString;
440
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
441
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
442
+ rewardBinding: z.ZodObject<{
443
+ id: z.ZodString;
444
+ contentHash: z.ZodString;
445
+ revision: z.ZodNumber;
446
+ }, z.core.$strict>;
447
+ harness: z.ZodNullable<z.ZodObject<{
448
+ id: z.ZodString;
449
+ contentHash: z.ZodString;
450
+ }, z.core.$strict>>;
451
+ execution: z.ZodObject<{
452
+ policy: z.ZodObject<{
453
+ policyVisibleFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
454
+ privilegedFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
455
+ hiddenGraderRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
456
+ connectedAppScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
457
+ }, z.core.$strict>;
458
+ environment: z.ZodObject<{
459
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
460
+ kind: z.ZodEnum<{
461
+ text: "text";
462
+ agent: "agent";
463
+ work: "work";
464
+ custom_program: "custom_program";
465
+ }>;
466
+ entrypoint: z.ZodString;
467
+ stateful: z.ZodBoolean;
468
+ deterministicSeeds: z.ZodBoolean;
469
+ lifecycle: z.ZodArray<z.ZodEnum<{
470
+ create: "create";
471
+ reset: "reset";
472
+ step: "step";
473
+ collect: "collect";
474
+ destroy: "destroy";
475
+ }>>;
476
+ networkPolicy: z.ZodEnum<{
477
+ none: "none";
478
+ declared_read_only: "declared_read_only";
479
+ declared_scoped: "declared_scoped";
480
+ }>;
481
+ defaultTimeoutMs: z.ZodNumber;
482
+ }, z.core.$strict>;
483
+ environmentRelease: z.ZodOptional<z.ZodObject<{
484
+ id: z.ZodString;
485
+ contentHash: z.ZodString;
486
+ }, z.core.$strict>>;
487
+ tools: z.ZodArray<z.ZodObject<{
488
+ name: z.ZodString;
489
+ description: z.ZodString;
490
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
491
+ inputSchemaHash: z.ZodString;
492
+ sideEffect: z.ZodEnum<{
493
+ read: "read";
494
+ write: "write";
495
+ }>;
496
+ timeoutMs: z.ZodNumber;
497
+ }, z.core.$strict>>;
498
+ capabilities: z.ZodArray<z.ZodObject<{
499
+ id: z.ZodString;
500
+ required: z.ZodBoolean;
501
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
502
+ portability: z.ZodEnum<{
503
+ portable: "portable";
504
+ host_adapter: "host_adapter";
505
+ local_only: "local_only";
506
+ hosted_only: "hosted_only";
507
+ }>;
508
+ }, z.core.$strict>>;
509
+ verifierSetRelease: z.ZodOptional<z.ZodObject<{
510
+ id: z.ZodString;
511
+ contentHash: z.ZodString;
512
+ }, z.core.$strict>>;
513
+ }, z.core.$strict>;
514
+ contentHash: z.ZodString;
515
+ }, z.core.$strict>;
516
+ rewardBinding: z.ZodObject<{
517
+ schemaVersion: z.ZodLiteral<"openpond.rewardBinding.v1">;
518
+ id: z.ZodString;
519
+ revision: z.ZodNumber;
520
+ name: z.ZodOptional<z.ZodString>;
521
+ description: z.ZodOptional<z.ZodString>;
522
+ recipeRef: z.ZodOptional<z.ZodObject<{
523
+ id: z.ZodString;
524
+ contentHash: z.ZodString;
525
+ revision: z.ZodNumber;
526
+ }, z.core.$strict>>;
527
+ sources: z.ZodArray<z.ZodObject<{
528
+ graderId: z.ZodString;
529
+ reward: z.ZodObject<{
530
+ id: z.ZodString;
531
+ contentHash: z.ZodString;
532
+ revision: z.ZodNumber;
533
+ }, z.core.$strict>;
534
+ role: z.ZodEnum<{
535
+ evaluation: "evaluation";
536
+ training: "training";
537
+ }>;
538
+ normalization: z.ZodDiscriminatedUnion<[z.ZodObject<{
539
+ kind: z.ZodLiteral<"identity">;
540
+ }, z.core.$strict>, z.ZodObject<{
541
+ kind: z.ZodLiteral<"linear">;
542
+ minimum: z.ZodNumber;
543
+ maximum: z.ZodNumber;
544
+ direction: z.ZodEnum<{
545
+ higher: "higher";
546
+ lower: "lower";
547
+ }>;
548
+ }, z.core.$strict>], "kind">;
549
+ weight: z.ZodNumber;
550
+ required: z.ZodBoolean;
551
+ hardGate: z.ZodBoolean;
552
+ privileged: z.ZodBoolean;
553
+ fixtureRefs: z.ZodArray<z.ZodObject<{
554
+ id: z.ZodString;
555
+ contentHash: z.ZodString;
556
+ }, z.core.$strict>>;
557
+ }, z.core.$strict>>;
558
+ aggregation: z.ZodLiteral<"weighted_mean">;
559
+ unscorable: z.ZodLiteral<"exclude_optional_require_all_required">;
560
+ contentHash: z.ZodString;
561
+ }, z.core.$strict>;
562
+ assets: z.ZodArray<z.ZodObject<{
563
+ schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">;
564
+ id: z.ZodString;
565
+ revision: z.ZodLiteral<1>;
566
+ asset: z.ZodObject<{
567
+ id: z.ZodString;
568
+ path: z.ZodString;
569
+ contentHash: z.ZodString;
570
+ sizeBytes: z.ZodNumber;
571
+ mediaType: z.ZodString;
572
+ visibility: z.ZodEnum<{
573
+ policy: "policy";
574
+ verifier: "verifier";
575
+ host_private: "host_private";
576
+ }>;
577
+ }, z.core.$strict>;
578
+ text: z.ZodString;
579
+ contentHash: z.ZodString;
580
+ }, z.core.$strict>>;
581
+ execution: z.ZodOptional<z.ZodObject<{
582
+ environment: z.ZodObject<{
583
+ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">;
584
+ id: z.ZodString;
585
+ revision: z.ZodNumber;
586
+ contract: z.ZodObject<{
587
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
588
+ kind: z.ZodEnum<{
589
+ text: "text";
590
+ agent: "agent";
591
+ work: "work";
592
+ custom_program: "custom_program";
593
+ }>;
594
+ entrypoint: z.ZodString;
595
+ stateful: z.ZodBoolean;
596
+ deterministicSeeds: z.ZodBoolean;
597
+ lifecycle: z.ZodArray<z.ZodEnum<{
598
+ create: "create";
599
+ reset: "reset";
600
+ step: "step";
601
+ collect: "collect";
602
+ destroy: "destroy";
603
+ }>>;
604
+ networkPolicy: z.ZodEnum<{
605
+ none: "none";
606
+ declared_read_only: "declared_read_only";
607
+ declared_scoped: "declared_scoped";
608
+ }>;
609
+ defaultTimeoutMs: z.ZodNumber;
610
+ }, z.core.$strict>;
611
+ actionSchemaRef: z.ZodNullable<z.ZodObject<{
612
+ id: z.ZodString;
613
+ path: z.ZodString;
614
+ contentHash: z.ZodString;
615
+ sizeBytes: z.ZodNumber;
616
+ mediaType: z.ZodString;
617
+ visibility: z.ZodEnum<{
618
+ policy: "policy";
619
+ verifier: "verifier";
620
+ host_private: "host_private";
621
+ }>;
622
+ }, z.core.$strict>>;
623
+ observationSchemaRef: z.ZodNullable<z.ZodObject<{
624
+ id: z.ZodString;
625
+ path: z.ZodString;
626
+ contentHash: z.ZodString;
627
+ sizeBytes: z.ZodNumber;
628
+ mediaType: z.ZodString;
629
+ visibility: z.ZodEnum<{
630
+ policy: "policy";
631
+ verifier: "verifier";
632
+ host_private: "host_private";
633
+ }>;
634
+ }, z.core.$strict>>;
635
+ stateSchemaRef: z.ZodNullable<z.ZodObject<{
636
+ id: z.ZodString;
637
+ path: z.ZodString;
638
+ contentHash: z.ZodString;
639
+ sizeBytes: z.ZodNumber;
640
+ mediaType: z.ZodString;
641
+ visibility: z.ZodEnum<{
642
+ policy: "policy";
643
+ verifier: "verifier";
644
+ host_private: "host_private";
645
+ }>;
646
+ }, z.core.$strict>>;
647
+ artifactCollection: z.ZodObject<{
648
+ maxArtifacts: z.ZodNumber;
649
+ maxTotalBytes: z.ZodNumber;
650
+ }, z.core.$strict>;
651
+ adapterConformanceHashes: z.ZodRecord<z.ZodString, z.ZodString>;
652
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
653
+ contentHash: z.ZodString;
654
+ }, z.core.$strict>;
655
+ verifierSet: z.ZodObject<{
656
+ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">;
657
+ id: z.ZodString;
658
+ revision: z.ZodNumber;
659
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
660
+ id: z.ZodString;
661
+ version: z.ZodString;
662
+ weight: z.ZodDefault<z.ZodNumber>;
663
+ hardGate: z.ZodDefault<z.ZodBoolean>;
664
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
665
+ privileged: z.ZodDefault<z.ZodBoolean>;
666
+ kind: z.ZodEnum<{
667
+ content: "content";
668
+ schema: "schema";
669
+ artifact: "artifact";
670
+ runtime_event: "runtime_event";
671
+ state: "state";
672
+ }>;
673
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
674
+ }, z.core.$strict>, z.ZodObject<{
675
+ id: z.ZodString;
676
+ version: z.ZodString;
677
+ weight: z.ZodDefault<z.ZodNumber>;
678
+ hardGate: z.ZodDefault<z.ZodBoolean>;
679
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
680
+ privileged: z.ZodDefault<z.ZodBoolean>;
681
+ kind: z.ZodLiteral<"model_judge">;
682
+ rubricRef: z.ZodObject<{
683
+ id: z.ZodString;
684
+ path: z.ZodString;
685
+ contentHash: z.ZodString;
686
+ sizeBytes: z.ZodNumber;
687
+ mediaType: z.ZodString;
688
+ visibility: z.ZodEnum<{
689
+ policy: "policy";
690
+ verifier: "verifier";
691
+ host_private: "host_private";
692
+ }>;
693
+ }, z.core.$strict>;
694
+ calibrationStatus: z.ZodEnum<{
695
+ pending: "pending";
696
+ passed: "passed";
697
+ failed: "failed";
698
+ }>;
699
+ model: z.ZodOptional<z.ZodObject<{
700
+ providerId: z.ZodString;
701
+ modelId: z.ZodString;
702
+ revision: z.ZodNullable<z.ZodString>;
703
+ }, z.core.$strict>>;
704
+ temperature: z.ZodOptional<z.ZodNumber>;
705
+ }, z.core.$strict>, z.ZodObject<{
706
+ id: z.ZodString;
707
+ version: z.ZodString;
708
+ weight: z.ZodDefault<z.ZodNumber>;
709
+ hardGate: z.ZodDefault<z.ZodBoolean>;
710
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
711
+ privileged: z.ZodDefault<z.ZodBoolean>;
712
+ kind: z.ZodLiteral<"custom_verifier">;
713
+ verifierRef: z.ZodObject<{
714
+ id: z.ZodString;
715
+ path: z.ZodString;
716
+ contentHash: z.ZodString;
717
+ sizeBytes: z.ZodNumber;
718
+ mediaType: z.ZodString;
719
+ visibility: z.ZodEnum<{
720
+ policy: "policy";
721
+ verifier: "verifier";
722
+ host_private: "host_private";
723
+ }>;
724
+ }, z.core.$strict>;
725
+ exportName: z.ZodOptional<z.ZodString>;
726
+ timeoutMs: z.ZodNumber;
727
+ networkPolicy: z.ZodLiteral<"none">;
728
+ }, z.core.$strict>, z.ZodObject<{
729
+ id: z.ZodString;
730
+ version: z.ZodString;
731
+ weight: z.ZodDefault<z.ZodNumber>;
732
+ hardGate: z.ZodDefault<z.ZodBoolean>;
733
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
734
+ privileged: z.ZodDefault<z.ZodBoolean>;
735
+ kind: z.ZodLiteral<"human">;
736
+ rubricRef: z.ZodObject<{
737
+ id: z.ZodString;
738
+ path: z.ZodString;
739
+ contentHash: z.ZodString;
740
+ sizeBytes: z.ZodNumber;
741
+ mediaType: z.ZodString;
742
+ visibility: z.ZodEnum<{
743
+ policy: "policy";
744
+ verifier: "verifier";
745
+ host_private: "host_private";
746
+ }>;
747
+ }, z.core.$strict>;
748
+ reviewerRole: z.ZodString;
749
+ }, z.core.$strict>]>>;
750
+ isolation: z.ZodObject<{
751
+ processBoundary: z.ZodEnum<{
752
+ same_process: "same_process";
753
+ isolated_process: "isolated_process";
754
+ container: "container";
755
+ }>;
756
+ networkPolicy: z.ZodLiteral<"none">;
757
+ defaultTimeoutMs: z.ZodNumber;
758
+ }, z.core.$strict>;
759
+ calibrationReceiptRefs: z.ZodArray<z.ZodObject<{
760
+ id: z.ZodString;
761
+ contentHash: z.ZodString;
762
+ }, z.core.$strict>>;
763
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
764
+ contentHash: z.ZodString;
765
+ }, z.core.$strict>;
766
+ javascript: z.ZodObject<{
767
+ schemaVersion: z.ZodLiteral<"openpond.javascriptEnvironment.v1">;
768
+ id: z.ZodString;
769
+ revision: z.ZodNumber;
770
+ module: z.ZodObject<{
771
+ id: z.ZodString;
772
+ path: z.ZodString;
773
+ contentHash: z.ZodString;
774
+ sizeBytes: z.ZodNumber;
775
+ mediaType: z.ZodString;
776
+ visibility: z.ZodEnum<{
777
+ policy: "policy";
778
+ verifier: "verifier";
779
+ host_private: "host_private";
780
+ }>;
781
+ }, z.core.$strict>;
782
+ tools: z.ZodArray<z.ZodObject<{
783
+ name: z.ZodString;
784
+ description: z.ZodString;
785
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
786
+ inputSchemaHash: z.ZodString;
787
+ sideEffect: z.ZodEnum<{
788
+ read: "read";
789
+ write: "write";
790
+ }>;
791
+ timeoutMs: z.ZodNumber;
792
+ }, z.core.$strict>>;
793
+ maxSteps: z.ZodNumber;
794
+ maxStateBytes: z.ZodNumber;
795
+ maxObservationBytes: z.ZodNumber;
796
+ operationTimeoutMs: z.ZodNumber;
797
+ executionServices: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
798
+ kind: z.ZodLiteral<"sqlite.v1">;
799
+ sql: z.ZodObject<{
800
+ scope: z.ZodEnum<{
801
+ input: "input";
802
+ state: "state";
803
+ initialState: "initialState";
804
+ arguments: "arguments";
805
+ }>;
806
+ path: z.ZodArray<z.ZodString>;
807
+ }, z.core.$strict>;
808
+ snapshot: z.ZodObject<{
809
+ scope: z.ZodEnum<{
810
+ input: "input";
811
+ state: "state";
812
+ initialState: "initialState";
813
+ arguments: "arguments";
814
+ }>;
815
+ path: z.ZodArray<z.ZodString>;
816
+ }, z.core.$strict>;
817
+ maxRows: z.ZodNumber;
818
+ maxResultBytes: z.ZodNumber;
819
+ id: z.ZodString;
820
+ operation: z.ZodEnum<{
821
+ step: "step";
822
+ collect: "collect";
823
+ }>;
824
+ toolName: z.ZodOptional<z.ZodString>;
825
+ timeoutMs: z.ZodNumber;
826
+ }, z.core.$strict>, z.ZodObject<{
827
+ kind: z.ZodLiteral<"javascript.v1">;
828
+ source: z.ZodObject<{
829
+ scope: z.ZodEnum<{
830
+ input: "input";
831
+ state: "state";
832
+ initialState: "initialState";
833
+ arguments: "arguments";
834
+ }>;
835
+ path: z.ZodArray<z.ZodString>;
836
+ }, z.core.$strict>;
837
+ cases: z.ZodObject<{
838
+ scope: z.ZodEnum<{
839
+ input: "input";
840
+ state: "state";
841
+ initialState: "initialState";
842
+ arguments: "arguments";
843
+ }>;
844
+ path: z.ZodArray<z.ZodString>;
845
+ }, z.core.$strict>;
846
+ exportName: z.ZodString;
847
+ maxCases: z.ZodNumber;
848
+ maxResultBytes: z.ZodNumber;
849
+ id: z.ZodString;
850
+ operation: z.ZodEnum<{
851
+ step: "step";
852
+ collect: "collect";
853
+ }>;
854
+ toolName: z.ZodOptional<z.ZodString>;
855
+ timeoutMs: z.ZodNumber;
856
+ }, z.core.$strict>], "kind">>>;
857
+ contentHash: z.ZodString;
858
+ }, z.core.$strict>;
859
+ }, z.core.$strict>>;
860
+ rewards: z.ZodArray<z.ZodObject<{
861
+ schemaVersion: z.ZodLiteral<"openpond.rewardRelease.v1">;
862
+ id: z.ZodString;
863
+ revision: z.ZodNumber;
864
+ name: z.ZodString;
865
+ description: z.ZodString;
866
+ implementation: z.ZodUnion<readonly [z.ZodObject<{
867
+ kind: z.ZodEnum<{
868
+ content: "content";
869
+ schema: "schema";
870
+ artifact: "artifact";
871
+ runtime_event: "runtime_event";
872
+ state: "state";
873
+ }>;
874
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
875
+ }, z.core.$strict>, z.ZodObject<{
876
+ kind: z.ZodLiteral<"model_judge">;
877
+ rubricRef: z.ZodObject<{
878
+ id: z.ZodString;
879
+ path: z.ZodString;
880
+ contentHash: z.ZodString;
881
+ sizeBytes: z.ZodNumber;
882
+ mediaType: z.ZodString;
883
+ visibility: z.ZodEnum<{
884
+ policy: "policy";
885
+ verifier: "verifier";
886
+ host_private: "host_private";
887
+ }>;
888
+ }, z.core.$strict>;
889
+ calibrationStatus: z.ZodEnum<{
890
+ pending: "pending";
891
+ passed: "passed";
892
+ failed: "failed";
893
+ }>;
894
+ model: z.ZodOptional<z.ZodObject<{
895
+ providerId: z.ZodString;
896
+ modelId: z.ZodString;
897
+ revision: z.ZodNullable<z.ZodString>;
898
+ }, z.core.$strict>>;
899
+ temperature: z.ZodOptional<z.ZodNumber>;
900
+ }, z.core.$strict>, z.ZodObject<{
901
+ kind: z.ZodLiteral<"custom_verifier">;
902
+ networkPolicy: z.ZodLiteral<"none">;
903
+ verifierRef: z.ZodObject<{
904
+ id: z.ZodString;
905
+ path: z.ZodString;
906
+ contentHash: z.ZodString;
907
+ sizeBytes: z.ZodNumber;
908
+ mediaType: z.ZodString;
909
+ visibility: z.ZodEnum<{
910
+ policy: "policy";
911
+ verifier: "verifier";
912
+ host_private: "host_private";
913
+ }>;
914
+ }, z.core.$strict>;
915
+ exportName: z.ZodOptional<z.ZodString>;
916
+ timeoutMs: z.ZodNumber;
917
+ }, z.core.$strict>, z.ZodObject<{
918
+ kind: z.ZodLiteral<"human">;
919
+ rubricRef: z.ZodObject<{
920
+ id: z.ZodString;
921
+ path: z.ZodString;
922
+ contentHash: z.ZodString;
923
+ sizeBytes: z.ZodNumber;
924
+ mediaType: z.ZodString;
925
+ visibility: z.ZodEnum<{
926
+ policy: "policy";
927
+ verifier: "verifier";
928
+ host_private: "host_private";
929
+ }>;
930
+ }, z.core.$strict>;
931
+ reviewerRole: z.ZodString;
932
+ }, z.core.$strict>, z.ZodObject<{
933
+ kind: z.ZodLiteral<"learned_model">;
934
+ modelVersion: z.ZodObject<{
935
+ id: z.ZodString;
936
+ contentHash: z.ZodString;
937
+ }, z.core.$strict>;
938
+ inputContract: z.ZodObject<{
939
+ id: z.ZodString;
940
+ path: z.ZodString;
941
+ contentHash: z.ZodString;
942
+ sizeBytes: z.ZodNumber;
943
+ mediaType: z.ZodString;
944
+ visibility: z.ZodEnum<{
945
+ policy: "policy";
946
+ verifier: "verifier";
947
+ host_private: "host_private";
948
+ }>;
949
+ }, z.core.$strict>;
950
+ }, z.core.$strict>]>;
951
+ rawScore: z.ZodObject<{
952
+ minimum: z.ZodNumber;
953
+ maximum: z.ZodNumber;
954
+ }, z.core.$strict>;
955
+ assets: z.ZodArray<z.ZodObject<{
956
+ id: z.ZodString;
957
+ path: z.ZodString;
958
+ contentHash: z.ZodString;
959
+ sizeBytes: z.ZodNumber;
960
+ mediaType: z.ZodString;
961
+ visibility: z.ZodEnum<{
962
+ policy: "policy";
963
+ verifier: "verifier";
964
+ host_private: "host_private";
965
+ }>;
966
+ }, z.core.$strict>>;
967
+ fixtureSetRef: z.ZodOptional<z.ZodObject<{
968
+ id: z.ZodString;
969
+ path: z.ZodString;
970
+ contentHash: z.ZodString;
971
+ sizeBytes: z.ZodNumber;
972
+ mediaType: z.ZodString;
973
+ visibility: z.ZodEnum<{
974
+ policy: "policy";
975
+ verifier: "verifier";
976
+ host_private: "host_private";
977
+ }>;
978
+ }, z.core.$strict>>;
979
+ contentHash: z.ZodString;
980
+ }, z.core.$strict>>;
981
+ }, z.core.$strict>>;
982
+ }, z.core.$strict>;
983
+ export declare const TasksetPackageSchema: z.ZodObject<{
984
+ schemaVersion: z.ZodLiteral<"openpond.tasksetPackage.v1">;
985
+ taskset: z.ZodObject<{
986
+ schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">;
987
+ id: z.ZodString;
988
+ revision: z.ZodNumber;
989
+ policy: z.ZodObject<{
990
+ policyVisibleFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
991
+ privilegedFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
992
+ hiddenGraderRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
993
+ connectedAppScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
994
+ }, z.core.$strict>;
995
+ environment: z.ZodObject<{
996
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
997
+ kind: z.ZodEnum<{
998
+ text: "text";
999
+ agent: "agent";
1000
+ work: "work";
1001
+ custom_program: "custom_program";
1002
+ }>;
1003
+ entrypoint: z.ZodString;
1004
+ stateful: z.ZodBoolean;
1005
+ deterministicSeeds: z.ZodBoolean;
1006
+ lifecycle: z.ZodArray<z.ZodEnum<{
1007
+ create: "create";
1008
+ reset: "reset";
1009
+ step: "step";
1010
+ collect: "collect";
1011
+ destroy: "destroy";
1012
+ }>>;
1013
+ networkPolicy: z.ZodEnum<{
1014
+ none: "none";
1015
+ declared_read_only: "declared_read_only";
1016
+ declared_scoped: "declared_scoped";
1017
+ }>;
1018
+ defaultTimeoutMs: z.ZodNumber;
1019
+ }, z.core.$strict>;
1020
+ environmentRelease: z.ZodOptional<z.ZodObject<{
1021
+ id: z.ZodString;
1022
+ contentHash: z.ZodString;
1023
+ }, z.core.$strict>>;
1024
+ tools: z.ZodArray<z.ZodObject<{
1025
+ name: z.ZodString;
1026
+ description: z.ZodString;
1027
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1028
+ inputSchemaHash: z.ZodString;
1029
+ sideEffect: z.ZodEnum<{
1030
+ read: "read";
1031
+ write: "write";
1032
+ }>;
1033
+ timeoutMs: z.ZodNumber;
1034
+ }, z.core.$strict>>;
1035
+ capabilities: z.ZodArray<z.ZodObject<{
1036
+ id: z.ZodString;
1037
+ required: z.ZodBoolean;
1038
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
1039
+ portability: z.ZodEnum<{
1040
+ portable: "portable";
1041
+ host_adapter: "host_adapter";
1042
+ local_only: "local_only";
1043
+ hosted_only: "hosted_only";
1044
+ }>;
1045
+ }, z.core.$strict>>;
1046
+ tasks: z.ZodArray<z.ZodObject<{
1047
+ id: z.ZodString;
1048
+ clusterKey: z.ZodString;
1049
+ split: z.ZodEnum<{
1050
+ train: "train";
1051
+ validation: "validation";
1052
+ test: "test";
1053
+ frozen_eval: "frozen_eval";
1054
+ }>;
1055
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1056
+ expectedOutput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1057
+ policyVisibleContext: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1058
+ privilegedContextRef: z.ZodNullable<z.ZodString>;
1059
+ artifactRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1060
+ id: z.ZodString;
1061
+ path: z.ZodString;
1062
+ contentHash: z.ZodString;
1063
+ sizeBytes: z.ZodNumber;
1064
+ mediaType: z.ZodString;
1065
+ visibility: z.ZodEnum<{
1066
+ policy: "policy";
1067
+ verifier: "verifier";
1068
+ host_private: "host_private";
1069
+ }>;
1070
+ }, z.core.$strict>>>;
1071
+ requiredOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1072
+ path: z.ZodString;
1073
+ mediaType: z.ZodString;
1074
+ schemaRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1075
+ id: z.ZodString;
1076
+ path: z.ZodString;
1077
+ contentHash: z.ZodString;
1078
+ sizeBytes: z.ZodNumber;
1079
+ mediaType: z.ZodString;
1080
+ visibility: z.ZodEnum<{
1081
+ policy: "policy";
1082
+ verifier: "verifier";
1083
+ host_private: "host_private";
1084
+ }>;
1085
+ }, z.core.$strict>>>;
1086
+ maxBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1087
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1088
+ }, z.core.$strict>>>;
1089
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1090
+ }, z.core.$strict>>;
1091
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1092
+ id: z.ZodString;
1093
+ version: z.ZodString;
1094
+ weight: z.ZodDefault<z.ZodNumber>;
1095
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1096
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1097
+ privileged: z.ZodDefault<z.ZodBoolean>;
1098
+ kind: z.ZodEnum<{
1099
+ content: "content";
1100
+ schema: "schema";
1101
+ artifact: "artifact";
1102
+ runtime_event: "runtime_event";
1103
+ state: "state";
1104
+ }>;
1105
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1106
+ }, z.core.$strict>, z.ZodObject<{
1107
+ id: z.ZodString;
1108
+ version: z.ZodString;
1109
+ weight: z.ZodDefault<z.ZodNumber>;
1110
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1111
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1112
+ privileged: z.ZodDefault<z.ZodBoolean>;
1113
+ kind: z.ZodLiteral<"model_judge">;
1114
+ rubricRef: z.ZodObject<{
1115
+ id: z.ZodString;
1116
+ path: z.ZodString;
1117
+ contentHash: z.ZodString;
1118
+ sizeBytes: z.ZodNumber;
1119
+ mediaType: z.ZodString;
1120
+ visibility: z.ZodEnum<{
1121
+ policy: "policy";
1122
+ verifier: "verifier";
1123
+ host_private: "host_private";
1124
+ }>;
1125
+ }, z.core.$strict>;
1126
+ calibrationStatus: z.ZodEnum<{
1127
+ pending: "pending";
1128
+ passed: "passed";
1129
+ failed: "failed";
1130
+ }>;
1131
+ model: z.ZodOptional<z.ZodObject<{
1132
+ providerId: z.ZodString;
1133
+ modelId: z.ZodString;
1134
+ revision: z.ZodNullable<z.ZodString>;
1135
+ }, z.core.$strict>>;
1136
+ temperature: z.ZodOptional<z.ZodNumber>;
1137
+ }, z.core.$strict>, z.ZodObject<{
1138
+ id: z.ZodString;
1139
+ version: z.ZodString;
1140
+ weight: z.ZodDefault<z.ZodNumber>;
1141
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1142
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1143
+ privileged: z.ZodDefault<z.ZodBoolean>;
1144
+ kind: z.ZodLiteral<"custom_verifier">;
1145
+ verifierRef: z.ZodObject<{
1146
+ id: z.ZodString;
1147
+ path: z.ZodString;
1148
+ contentHash: z.ZodString;
1149
+ sizeBytes: z.ZodNumber;
1150
+ mediaType: z.ZodString;
1151
+ visibility: z.ZodEnum<{
1152
+ policy: "policy";
1153
+ verifier: "verifier";
1154
+ host_private: "host_private";
1155
+ }>;
1156
+ }, z.core.$strict>;
1157
+ exportName: z.ZodOptional<z.ZodString>;
1158
+ timeoutMs: z.ZodNumber;
1159
+ networkPolicy: z.ZodLiteral<"none">;
1160
+ }, z.core.$strict>, z.ZodObject<{
1161
+ id: z.ZodString;
1162
+ version: z.ZodString;
1163
+ weight: z.ZodDefault<z.ZodNumber>;
1164
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1165
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1166
+ privileged: z.ZodDefault<z.ZodBoolean>;
1167
+ kind: z.ZodLiteral<"human">;
1168
+ rubricRef: z.ZodObject<{
1169
+ id: z.ZodString;
1170
+ path: z.ZodString;
1171
+ contentHash: z.ZodString;
1172
+ sizeBytes: z.ZodNumber;
1173
+ mediaType: z.ZodString;
1174
+ visibility: z.ZodEnum<{
1175
+ policy: "policy";
1176
+ verifier: "verifier";
1177
+ host_private: "host_private";
1178
+ }>;
1179
+ }, z.core.$strict>;
1180
+ reviewerRole: z.ZodString;
1181
+ }, z.core.$strict>]>>;
1182
+ verifierSetRelease: z.ZodOptional<z.ZodObject<{
1183
+ id: z.ZodString;
1184
+ contentHash: z.ZodString;
1185
+ }, z.core.$strict>>;
1186
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1187
+ contentHash: z.ZodString;
1188
+ }, z.core.$strict>;
1189
+ environment: z.ZodObject<{
1190
+ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">;
1191
+ id: z.ZodString;
1192
+ revision: z.ZodNumber;
1193
+ contract: z.ZodObject<{
1194
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
1195
+ kind: z.ZodEnum<{
1196
+ text: "text";
1197
+ agent: "agent";
1198
+ work: "work";
1199
+ custom_program: "custom_program";
1200
+ }>;
1201
+ entrypoint: z.ZodString;
1202
+ stateful: z.ZodBoolean;
1203
+ deterministicSeeds: z.ZodBoolean;
1204
+ lifecycle: z.ZodArray<z.ZodEnum<{
1205
+ create: "create";
1206
+ reset: "reset";
1207
+ step: "step";
1208
+ collect: "collect";
1209
+ destroy: "destroy";
1210
+ }>>;
1211
+ networkPolicy: z.ZodEnum<{
1212
+ none: "none";
1213
+ declared_read_only: "declared_read_only";
1214
+ declared_scoped: "declared_scoped";
1215
+ }>;
1216
+ defaultTimeoutMs: z.ZodNumber;
1217
+ }, z.core.$strict>;
1218
+ actionSchemaRef: z.ZodNullable<z.ZodObject<{
1219
+ id: z.ZodString;
1220
+ path: z.ZodString;
1221
+ contentHash: z.ZodString;
1222
+ sizeBytes: z.ZodNumber;
1223
+ mediaType: z.ZodString;
1224
+ visibility: z.ZodEnum<{
1225
+ policy: "policy";
1226
+ verifier: "verifier";
1227
+ host_private: "host_private";
1228
+ }>;
1229
+ }, z.core.$strict>>;
1230
+ observationSchemaRef: z.ZodNullable<z.ZodObject<{
1231
+ id: z.ZodString;
1232
+ path: z.ZodString;
1233
+ contentHash: z.ZodString;
1234
+ sizeBytes: z.ZodNumber;
1235
+ mediaType: z.ZodString;
1236
+ visibility: z.ZodEnum<{
1237
+ policy: "policy";
1238
+ verifier: "verifier";
1239
+ host_private: "host_private";
1240
+ }>;
1241
+ }, z.core.$strict>>;
1242
+ stateSchemaRef: z.ZodNullable<z.ZodObject<{
1243
+ id: z.ZodString;
1244
+ path: z.ZodString;
1245
+ contentHash: z.ZodString;
1246
+ sizeBytes: z.ZodNumber;
1247
+ mediaType: z.ZodString;
1248
+ visibility: z.ZodEnum<{
1249
+ policy: "policy";
1250
+ verifier: "verifier";
1251
+ host_private: "host_private";
1252
+ }>;
1253
+ }, z.core.$strict>>;
1254
+ artifactCollection: z.ZodObject<{
1255
+ maxArtifacts: z.ZodNumber;
1256
+ maxTotalBytes: z.ZodNumber;
1257
+ }, z.core.$strict>;
1258
+ adapterConformanceHashes: z.ZodRecord<z.ZodString, z.ZodString>;
1259
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1260
+ contentHash: z.ZodString;
1261
+ }, z.core.$strict>;
1262
+ verifierSet: z.ZodObject<{
1263
+ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">;
1264
+ id: z.ZodString;
1265
+ revision: z.ZodNumber;
1266
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1267
+ id: z.ZodString;
1268
+ version: z.ZodString;
1269
+ weight: z.ZodDefault<z.ZodNumber>;
1270
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1271
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1272
+ privileged: z.ZodDefault<z.ZodBoolean>;
1273
+ kind: z.ZodEnum<{
1274
+ content: "content";
1275
+ schema: "schema";
1276
+ artifact: "artifact";
1277
+ runtime_event: "runtime_event";
1278
+ state: "state";
1279
+ }>;
1280
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1281
+ }, z.core.$strict>, z.ZodObject<{
1282
+ id: z.ZodString;
1283
+ version: z.ZodString;
1284
+ weight: z.ZodDefault<z.ZodNumber>;
1285
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1286
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1287
+ privileged: z.ZodDefault<z.ZodBoolean>;
1288
+ kind: z.ZodLiteral<"model_judge">;
1289
+ rubricRef: z.ZodObject<{
1290
+ id: z.ZodString;
1291
+ path: z.ZodString;
1292
+ contentHash: z.ZodString;
1293
+ sizeBytes: z.ZodNumber;
1294
+ mediaType: z.ZodString;
1295
+ visibility: z.ZodEnum<{
1296
+ policy: "policy";
1297
+ verifier: "verifier";
1298
+ host_private: "host_private";
1299
+ }>;
1300
+ }, z.core.$strict>;
1301
+ calibrationStatus: z.ZodEnum<{
1302
+ pending: "pending";
1303
+ passed: "passed";
1304
+ failed: "failed";
1305
+ }>;
1306
+ model: z.ZodOptional<z.ZodObject<{
1307
+ providerId: z.ZodString;
1308
+ modelId: z.ZodString;
1309
+ revision: z.ZodNullable<z.ZodString>;
1310
+ }, z.core.$strict>>;
1311
+ temperature: z.ZodOptional<z.ZodNumber>;
1312
+ }, z.core.$strict>, z.ZodObject<{
1313
+ id: z.ZodString;
1314
+ version: z.ZodString;
1315
+ weight: z.ZodDefault<z.ZodNumber>;
1316
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1317
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1318
+ privileged: z.ZodDefault<z.ZodBoolean>;
1319
+ kind: z.ZodLiteral<"custom_verifier">;
1320
+ verifierRef: z.ZodObject<{
1321
+ id: z.ZodString;
1322
+ path: z.ZodString;
1323
+ contentHash: z.ZodString;
1324
+ sizeBytes: z.ZodNumber;
1325
+ mediaType: z.ZodString;
1326
+ visibility: z.ZodEnum<{
1327
+ policy: "policy";
1328
+ verifier: "verifier";
1329
+ host_private: "host_private";
1330
+ }>;
1331
+ }, z.core.$strict>;
1332
+ exportName: z.ZodOptional<z.ZodString>;
1333
+ timeoutMs: z.ZodNumber;
1334
+ networkPolicy: z.ZodLiteral<"none">;
1335
+ }, z.core.$strict>, z.ZodObject<{
1336
+ id: z.ZodString;
1337
+ version: z.ZodString;
1338
+ weight: z.ZodDefault<z.ZodNumber>;
1339
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1340
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1341
+ privileged: z.ZodDefault<z.ZodBoolean>;
1342
+ kind: z.ZodLiteral<"human">;
1343
+ rubricRef: z.ZodObject<{
1344
+ id: z.ZodString;
1345
+ path: z.ZodString;
1346
+ contentHash: z.ZodString;
1347
+ sizeBytes: z.ZodNumber;
1348
+ mediaType: z.ZodString;
1349
+ visibility: z.ZodEnum<{
1350
+ policy: "policy";
1351
+ verifier: "verifier";
1352
+ host_private: "host_private";
1353
+ }>;
1354
+ }, z.core.$strict>;
1355
+ reviewerRole: z.ZodString;
1356
+ }, z.core.$strict>]>>;
1357
+ isolation: z.ZodObject<{
1358
+ processBoundary: z.ZodEnum<{
1359
+ same_process: "same_process";
1360
+ isolated_process: "isolated_process";
1361
+ container: "container";
1362
+ }>;
1363
+ networkPolicy: z.ZodLiteral<"none">;
1364
+ defaultTimeoutMs: z.ZodNumber;
1365
+ }, z.core.$strict>;
1366
+ calibrationReceiptRefs: z.ZodArray<z.ZodObject<{
1367
+ id: z.ZodString;
1368
+ contentHash: z.ZodString;
1369
+ }, z.core.$strict>>;
1370
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1371
+ contentHash: z.ZodString;
1372
+ }, z.core.$strict>;
1373
+ files: z.ZodArray<z.ZodObject<{
1374
+ asset: z.ZodObject<{
1375
+ id: z.ZodString;
1376
+ path: z.ZodString;
1377
+ contentHash: z.ZodString;
1378
+ sizeBytes: z.ZodNumber;
1379
+ mediaType: z.ZodString;
1380
+ visibility: z.ZodEnum<{
1381
+ policy: "policy";
1382
+ verifier: "verifier";
1383
+ host_private: "host_private";
1384
+ }>;
1385
+ }, z.core.$strict>;
1386
+ base64: z.ZodString;
1387
+ }, z.core.$strict>>;
1388
+ modelResources: z.ZodOptional<z.ZodObject<{
1389
+ taskDefinition: z.ZodObject<{
1390
+ schemaVersion: z.ZodLiteral<"openpond.taskDefinition.v1">;
1391
+ id: z.ZodString;
1392
+ revision: z.ZodNumber;
1393
+ name: z.ZodString;
1394
+ description: z.ZodString;
1395
+ instructions: z.ZodString;
1396
+ category: z.ZodEnum<{
1397
+ custom: "custom";
1398
+ structured: "structured";
1399
+ question_answering: "question_answering";
1400
+ coding: "coding";
1401
+ tool_workflow: "tool_workflow";
1402
+ }>;
1403
+ familyNamespace: z.ZodString;
1404
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1405
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1406
+ rewardBinding: z.ZodObject<{
1407
+ id: z.ZodString;
1408
+ contentHash: z.ZodString;
1409
+ revision: z.ZodNumber;
1410
+ }, z.core.$strict>;
1411
+ harness: z.ZodNullable<z.ZodObject<{
1412
+ id: z.ZodString;
1413
+ contentHash: z.ZodString;
1414
+ }, z.core.$strict>>;
1415
+ execution: z.ZodObject<{
1416
+ policy: z.ZodObject<{
1417
+ policyVisibleFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
1418
+ privilegedFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
1419
+ hiddenGraderRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
1420
+ connectedAppScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
1421
+ }, z.core.$strict>;
1422
+ environment: z.ZodObject<{
1423
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
1424
+ kind: z.ZodEnum<{
1425
+ text: "text";
1426
+ agent: "agent";
1427
+ work: "work";
1428
+ custom_program: "custom_program";
1429
+ }>;
1430
+ entrypoint: z.ZodString;
1431
+ stateful: z.ZodBoolean;
1432
+ deterministicSeeds: z.ZodBoolean;
1433
+ lifecycle: z.ZodArray<z.ZodEnum<{
1434
+ create: "create";
1435
+ reset: "reset";
1436
+ step: "step";
1437
+ collect: "collect";
1438
+ destroy: "destroy";
1439
+ }>>;
1440
+ networkPolicy: z.ZodEnum<{
1441
+ none: "none";
1442
+ declared_read_only: "declared_read_only";
1443
+ declared_scoped: "declared_scoped";
1444
+ }>;
1445
+ defaultTimeoutMs: z.ZodNumber;
1446
+ }, z.core.$strict>;
1447
+ environmentRelease: z.ZodOptional<z.ZodObject<{
1448
+ id: z.ZodString;
1449
+ contentHash: z.ZodString;
1450
+ }, z.core.$strict>>;
1451
+ tools: z.ZodArray<z.ZodObject<{
1452
+ name: z.ZodString;
1453
+ description: z.ZodString;
1454
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1455
+ inputSchemaHash: z.ZodString;
1456
+ sideEffect: z.ZodEnum<{
1457
+ read: "read";
1458
+ write: "write";
1459
+ }>;
1460
+ timeoutMs: z.ZodNumber;
1461
+ }, z.core.$strict>>;
1462
+ capabilities: z.ZodArray<z.ZodObject<{
1463
+ id: z.ZodString;
1464
+ required: z.ZodBoolean;
1465
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
1466
+ portability: z.ZodEnum<{
1467
+ portable: "portable";
1468
+ host_adapter: "host_adapter";
1469
+ local_only: "local_only";
1470
+ hosted_only: "hosted_only";
1471
+ }>;
1472
+ }, z.core.$strict>>;
1473
+ verifierSetRelease: z.ZodOptional<z.ZodObject<{
1474
+ id: z.ZodString;
1475
+ contentHash: z.ZodString;
1476
+ }, z.core.$strict>>;
1477
+ }, z.core.$strict>;
1478
+ contentHash: z.ZodString;
1479
+ }, z.core.$strict>;
1480
+ rewardBinding: z.ZodObject<{
1481
+ schemaVersion: z.ZodLiteral<"openpond.rewardBinding.v1">;
1482
+ id: z.ZodString;
1483
+ revision: z.ZodNumber;
1484
+ name: z.ZodOptional<z.ZodString>;
1485
+ description: z.ZodOptional<z.ZodString>;
1486
+ recipeRef: z.ZodOptional<z.ZodObject<{
1487
+ id: z.ZodString;
1488
+ contentHash: z.ZodString;
1489
+ revision: z.ZodNumber;
1490
+ }, z.core.$strict>>;
1491
+ sources: z.ZodArray<z.ZodObject<{
1492
+ graderId: z.ZodString;
1493
+ reward: z.ZodObject<{
1494
+ id: z.ZodString;
1495
+ contentHash: z.ZodString;
1496
+ revision: z.ZodNumber;
1497
+ }, z.core.$strict>;
1498
+ role: z.ZodEnum<{
1499
+ evaluation: "evaluation";
1500
+ training: "training";
1501
+ }>;
1502
+ normalization: z.ZodDiscriminatedUnion<[z.ZodObject<{
1503
+ kind: z.ZodLiteral<"identity">;
1504
+ }, z.core.$strict>, z.ZodObject<{
1505
+ kind: z.ZodLiteral<"linear">;
1506
+ minimum: z.ZodNumber;
1507
+ maximum: z.ZodNumber;
1508
+ direction: z.ZodEnum<{
1509
+ higher: "higher";
1510
+ lower: "lower";
1511
+ }>;
1512
+ }, z.core.$strict>], "kind">;
1513
+ weight: z.ZodNumber;
1514
+ required: z.ZodBoolean;
1515
+ hardGate: z.ZodBoolean;
1516
+ privileged: z.ZodBoolean;
1517
+ fixtureRefs: z.ZodArray<z.ZodObject<{
1518
+ id: z.ZodString;
1519
+ contentHash: z.ZodString;
1520
+ }, z.core.$strict>>;
1521
+ }, z.core.$strict>>;
1522
+ aggregation: z.ZodLiteral<"weighted_mean">;
1523
+ unscorable: z.ZodLiteral<"exclude_optional_require_all_required">;
1524
+ contentHash: z.ZodString;
1525
+ }, z.core.$strict>;
1526
+ assets: z.ZodArray<z.ZodObject<{
1527
+ schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">;
1528
+ id: z.ZodString;
1529
+ revision: z.ZodLiteral<1>;
1530
+ asset: z.ZodObject<{
1531
+ id: z.ZodString;
1532
+ path: z.ZodString;
1533
+ contentHash: z.ZodString;
1534
+ sizeBytes: z.ZodNumber;
1535
+ mediaType: z.ZodString;
1536
+ visibility: z.ZodEnum<{
1537
+ policy: "policy";
1538
+ verifier: "verifier";
1539
+ host_private: "host_private";
1540
+ }>;
1541
+ }, z.core.$strict>;
1542
+ text: z.ZodString;
1543
+ contentHash: z.ZodString;
1544
+ }, z.core.$strict>>;
1545
+ execution: z.ZodOptional<z.ZodObject<{
1546
+ environment: z.ZodObject<{
1547
+ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">;
1548
+ id: z.ZodString;
1549
+ revision: z.ZodNumber;
1550
+ contract: z.ZodObject<{
1551
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
1552
+ kind: z.ZodEnum<{
1553
+ text: "text";
1554
+ agent: "agent";
1555
+ work: "work";
1556
+ custom_program: "custom_program";
1557
+ }>;
1558
+ entrypoint: z.ZodString;
1559
+ stateful: z.ZodBoolean;
1560
+ deterministicSeeds: z.ZodBoolean;
1561
+ lifecycle: z.ZodArray<z.ZodEnum<{
1562
+ create: "create";
1563
+ reset: "reset";
1564
+ step: "step";
1565
+ collect: "collect";
1566
+ destroy: "destroy";
1567
+ }>>;
1568
+ networkPolicy: z.ZodEnum<{
1569
+ none: "none";
1570
+ declared_read_only: "declared_read_only";
1571
+ declared_scoped: "declared_scoped";
1572
+ }>;
1573
+ defaultTimeoutMs: z.ZodNumber;
1574
+ }, z.core.$strict>;
1575
+ actionSchemaRef: z.ZodNullable<z.ZodObject<{
1576
+ id: z.ZodString;
1577
+ path: z.ZodString;
1578
+ contentHash: z.ZodString;
1579
+ sizeBytes: z.ZodNumber;
1580
+ mediaType: z.ZodString;
1581
+ visibility: z.ZodEnum<{
1582
+ policy: "policy";
1583
+ verifier: "verifier";
1584
+ host_private: "host_private";
1585
+ }>;
1586
+ }, z.core.$strict>>;
1587
+ observationSchemaRef: z.ZodNullable<z.ZodObject<{
1588
+ id: z.ZodString;
1589
+ path: z.ZodString;
1590
+ contentHash: z.ZodString;
1591
+ sizeBytes: z.ZodNumber;
1592
+ mediaType: z.ZodString;
1593
+ visibility: z.ZodEnum<{
1594
+ policy: "policy";
1595
+ verifier: "verifier";
1596
+ host_private: "host_private";
1597
+ }>;
1598
+ }, z.core.$strict>>;
1599
+ stateSchemaRef: z.ZodNullable<z.ZodObject<{
1600
+ id: z.ZodString;
1601
+ path: z.ZodString;
1602
+ contentHash: z.ZodString;
1603
+ sizeBytes: z.ZodNumber;
1604
+ mediaType: z.ZodString;
1605
+ visibility: z.ZodEnum<{
1606
+ policy: "policy";
1607
+ verifier: "verifier";
1608
+ host_private: "host_private";
1609
+ }>;
1610
+ }, z.core.$strict>>;
1611
+ artifactCollection: z.ZodObject<{
1612
+ maxArtifacts: z.ZodNumber;
1613
+ maxTotalBytes: z.ZodNumber;
1614
+ }, z.core.$strict>;
1615
+ adapterConformanceHashes: z.ZodRecord<z.ZodString, z.ZodString>;
1616
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1617
+ contentHash: z.ZodString;
1618
+ }, z.core.$strict>;
1619
+ verifierSet: z.ZodObject<{
1620
+ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">;
1621
+ id: z.ZodString;
1622
+ revision: z.ZodNumber;
1623
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1624
+ id: z.ZodString;
1625
+ version: z.ZodString;
1626
+ weight: z.ZodDefault<z.ZodNumber>;
1627
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1628
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1629
+ privileged: z.ZodDefault<z.ZodBoolean>;
1630
+ kind: z.ZodEnum<{
1631
+ content: "content";
1632
+ schema: "schema";
1633
+ artifact: "artifact";
1634
+ runtime_event: "runtime_event";
1635
+ state: "state";
1636
+ }>;
1637
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1638
+ }, z.core.$strict>, z.ZodObject<{
1639
+ id: z.ZodString;
1640
+ version: z.ZodString;
1641
+ weight: z.ZodDefault<z.ZodNumber>;
1642
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1643
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1644
+ privileged: z.ZodDefault<z.ZodBoolean>;
1645
+ kind: z.ZodLiteral<"model_judge">;
1646
+ rubricRef: z.ZodObject<{
1647
+ id: z.ZodString;
1648
+ path: z.ZodString;
1649
+ contentHash: z.ZodString;
1650
+ sizeBytes: z.ZodNumber;
1651
+ mediaType: z.ZodString;
1652
+ visibility: z.ZodEnum<{
1653
+ policy: "policy";
1654
+ verifier: "verifier";
1655
+ host_private: "host_private";
1656
+ }>;
1657
+ }, z.core.$strict>;
1658
+ calibrationStatus: z.ZodEnum<{
1659
+ pending: "pending";
1660
+ passed: "passed";
1661
+ failed: "failed";
1662
+ }>;
1663
+ model: z.ZodOptional<z.ZodObject<{
1664
+ providerId: z.ZodString;
1665
+ modelId: z.ZodString;
1666
+ revision: z.ZodNullable<z.ZodString>;
1667
+ }, z.core.$strict>>;
1668
+ temperature: z.ZodOptional<z.ZodNumber>;
1669
+ }, z.core.$strict>, z.ZodObject<{
1670
+ id: z.ZodString;
1671
+ version: z.ZodString;
1672
+ weight: z.ZodDefault<z.ZodNumber>;
1673
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1674
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1675
+ privileged: z.ZodDefault<z.ZodBoolean>;
1676
+ kind: z.ZodLiteral<"custom_verifier">;
1677
+ verifierRef: z.ZodObject<{
1678
+ id: z.ZodString;
1679
+ path: z.ZodString;
1680
+ contentHash: z.ZodString;
1681
+ sizeBytes: z.ZodNumber;
1682
+ mediaType: z.ZodString;
1683
+ visibility: z.ZodEnum<{
1684
+ policy: "policy";
1685
+ verifier: "verifier";
1686
+ host_private: "host_private";
1687
+ }>;
1688
+ }, z.core.$strict>;
1689
+ exportName: z.ZodOptional<z.ZodString>;
1690
+ timeoutMs: z.ZodNumber;
1691
+ networkPolicy: z.ZodLiteral<"none">;
1692
+ }, z.core.$strict>, z.ZodObject<{
1693
+ id: z.ZodString;
1694
+ version: z.ZodString;
1695
+ weight: z.ZodDefault<z.ZodNumber>;
1696
+ hardGate: z.ZodDefault<z.ZodBoolean>;
1697
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
1698
+ privileged: z.ZodDefault<z.ZodBoolean>;
1699
+ kind: z.ZodLiteral<"human">;
1700
+ rubricRef: z.ZodObject<{
1701
+ id: z.ZodString;
1702
+ path: z.ZodString;
1703
+ contentHash: z.ZodString;
1704
+ sizeBytes: z.ZodNumber;
1705
+ mediaType: z.ZodString;
1706
+ visibility: z.ZodEnum<{
1707
+ policy: "policy";
1708
+ verifier: "verifier";
1709
+ host_private: "host_private";
1710
+ }>;
1711
+ }, z.core.$strict>;
1712
+ reviewerRole: z.ZodString;
1713
+ }, z.core.$strict>]>>;
1714
+ isolation: z.ZodObject<{
1715
+ processBoundary: z.ZodEnum<{
1716
+ same_process: "same_process";
1717
+ isolated_process: "isolated_process";
1718
+ container: "container";
1719
+ }>;
1720
+ networkPolicy: z.ZodLiteral<"none">;
1721
+ defaultTimeoutMs: z.ZodNumber;
1722
+ }, z.core.$strict>;
1723
+ calibrationReceiptRefs: z.ZodArray<z.ZodObject<{
1724
+ id: z.ZodString;
1725
+ contentHash: z.ZodString;
1726
+ }, z.core.$strict>>;
1727
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1728
+ contentHash: z.ZodString;
1729
+ }, z.core.$strict>;
1730
+ javascript: z.ZodObject<{
1731
+ schemaVersion: z.ZodLiteral<"openpond.javascriptEnvironment.v1">;
1732
+ id: z.ZodString;
1733
+ revision: z.ZodNumber;
1734
+ module: z.ZodObject<{
1735
+ id: z.ZodString;
1736
+ path: z.ZodString;
1737
+ contentHash: z.ZodString;
1738
+ sizeBytes: z.ZodNumber;
1739
+ mediaType: z.ZodString;
1740
+ visibility: z.ZodEnum<{
1741
+ policy: "policy";
1742
+ verifier: "verifier";
1743
+ host_private: "host_private";
1744
+ }>;
1745
+ }, z.core.$strict>;
1746
+ tools: z.ZodArray<z.ZodObject<{
1747
+ name: z.ZodString;
1748
+ description: z.ZodString;
1749
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1750
+ inputSchemaHash: z.ZodString;
1751
+ sideEffect: z.ZodEnum<{
1752
+ read: "read";
1753
+ write: "write";
1754
+ }>;
1755
+ timeoutMs: z.ZodNumber;
1756
+ }, z.core.$strict>>;
1757
+ maxSteps: z.ZodNumber;
1758
+ maxStateBytes: z.ZodNumber;
1759
+ maxObservationBytes: z.ZodNumber;
1760
+ operationTimeoutMs: z.ZodNumber;
1761
+ executionServices: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1762
+ kind: z.ZodLiteral<"sqlite.v1">;
1763
+ sql: z.ZodObject<{
1764
+ scope: z.ZodEnum<{
1765
+ input: "input";
1766
+ state: "state";
1767
+ initialState: "initialState";
1768
+ arguments: "arguments";
1769
+ }>;
1770
+ path: z.ZodArray<z.ZodString>;
1771
+ }, z.core.$strict>;
1772
+ snapshot: z.ZodObject<{
1773
+ scope: z.ZodEnum<{
1774
+ input: "input";
1775
+ state: "state";
1776
+ initialState: "initialState";
1777
+ arguments: "arguments";
1778
+ }>;
1779
+ path: z.ZodArray<z.ZodString>;
1780
+ }, z.core.$strict>;
1781
+ maxRows: z.ZodNumber;
1782
+ maxResultBytes: z.ZodNumber;
1783
+ id: z.ZodString;
1784
+ operation: z.ZodEnum<{
1785
+ step: "step";
1786
+ collect: "collect";
1787
+ }>;
1788
+ toolName: z.ZodOptional<z.ZodString>;
1789
+ timeoutMs: z.ZodNumber;
1790
+ }, z.core.$strict>, z.ZodObject<{
1791
+ kind: z.ZodLiteral<"javascript.v1">;
1792
+ source: z.ZodObject<{
1793
+ scope: z.ZodEnum<{
1794
+ input: "input";
1795
+ state: "state";
1796
+ initialState: "initialState";
1797
+ arguments: "arguments";
1798
+ }>;
1799
+ path: z.ZodArray<z.ZodString>;
1800
+ }, z.core.$strict>;
1801
+ cases: z.ZodObject<{
1802
+ scope: z.ZodEnum<{
1803
+ input: "input";
1804
+ state: "state";
1805
+ initialState: "initialState";
1806
+ arguments: "arguments";
1807
+ }>;
1808
+ path: z.ZodArray<z.ZodString>;
1809
+ }, z.core.$strict>;
1810
+ exportName: z.ZodString;
1811
+ maxCases: z.ZodNumber;
1812
+ maxResultBytes: z.ZodNumber;
1813
+ id: z.ZodString;
1814
+ operation: z.ZodEnum<{
1815
+ step: "step";
1816
+ collect: "collect";
1817
+ }>;
1818
+ toolName: z.ZodOptional<z.ZodString>;
1819
+ timeoutMs: z.ZodNumber;
1820
+ }, z.core.$strict>], "kind">>>;
1821
+ contentHash: z.ZodString;
1822
+ }, z.core.$strict>;
1823
+ }, z.core.$strict>>;
1824
+ rewards: z.ZodArray<z.ZodObject<{
1825
+ schemaVersion: z.ZodLiteral<"openpond.rewardRelease.v1">;
1826
+ id: z.ZodString;
1827
+ revision: z.ZodNumber;
1828
+ name: z.ZodString;
1829
+ description: z.ZodString;
1830
+ implementation: z.ZodUnion<readonly [z.ZodObject<{
1831
+ kind: z.ZodEnum<{
1832
+ content: "content";
1833
+ schema: "schema";
1834
+ artifact: "artifact";
1835
+ runtime_event: "runtime_event";
1836
+ state: "state";
1837
+ }>;
1838
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1839
+ }, z.core.$strict>, z.ZodObject<{
1840
+ kind: z.ZodLiteral<"model_judge">;
1841
+ rubricRef: z.ZodObject<{
1842
+ id: z.ZodString;
1843
+ path: z.ZodString;
1844
+ contentHash: z.ZodString;
1845
+ sizeBytes: z.ZodNumber;
1846
+ mediaType: z.ZodString;
1847
+ visibility: z.ZodEnum<{
1848
+ policy: "policy";
1849
+ verifier: "verifier";
1850
+ host_private: "host_private";
1851
+ }>;
1852
+ }, z.core.$strict>;
1853
+ calibrationStatus: z.ZodEnum<{
1854
+ pending: "pending";
1855
+ passed: "passed";
1856
+ failed: "failed";
1857
+ }>;
1858
+ model: z.ZodOptional<z.ZodObject<{
1859
+ providerId: z.ZodString;
1860
+ modelId: z.ZodString;
1861
+ revision: z.ZodNullable<z.ZodString>;
1862
+ }, z.core.$strict>>;
1863
+ temperature: z.ZodOptional<z.ZodNumber>;
1864
+ }, z.core.$strict>, z.ZodObject<{
1865
+ kind: z.ZodLiteral<"custom_verifier">;
1866
+ networkPolicy: z.ZodLiteral<"none">;
1867
+ verifierRef: z.ZodObject<{
1868
+ id: z.ZodString;
1869
+ path: z.ZodString;
1870
+ contentHash: z.ZodString;
1871
+ sizeBytes: z.ZodNumber;
1872
+ mediaType: z.ZodString;
1873
+ visibility: z.ZodEnum<{
1874
+ policy: "policy";
1875
+ verifier: "verifier";
1876
+ host_private: "host_private";
1877
+ }>;
1878
+ }, z.core.$strict>;
1879
+ exportName: z.ZodOptional<z.ZodString>;
1880
+ timeoutMs: z.ZodNumber;
1881
+ }, z.core.$strict>, z.ZodObject<{
1882
+ kind: z.ZodLiteral<"human">;
1883
+ rubricRef: z.ZodObject<{
1884
+ id: z.ZodString;
1885
+ path: z.ZodString;
1886
+ contentHash: z.ZodString;
1887
+ sizeBytes: z.ZodNumber;
1888
+ mediaType: z.ZodString;
1889
+ visibility: z.ZodEnum<{
1890
+ policy: "policy";
1891
+ verifier: "verifier";
1892
+ host_private: "host_private";
1893
+ }>;
1894
+ }, z.core.$strict>;
1895
+ reviewerRole: z.ZodString;
1896
+ }, z.core.$strict>, z.ZodObject<{
1897
+ kind: z.ZodLiteral<"learned_model">;
1898
+ modelVersion: z.ZodObject<{
1899
+ id: z.ZodString;
1900
+ contentHash: z.ZodString;
1901
+ }, z.core.$strict>;
1902
+ inputContract: z.ZodObject<{
1903
+ id: z.ZodString;
1904
+ path: z.ZodString;
1905
+ contentHash: z.ZodString;
1906
+ sizeBytes: z.ZodNumber;
1907
+ mediaType: z.ZodString;
1908
+ visibility: z.ZodEnum<{
1909
+ policy: "policy";
1910
+ verifier: "verifier";
1911
+ host_private: "host_private";
1912
+ }>;
1913
+ }, z.core.$strict>;
1914
+ }, z.core.$strict>]>;
1915
+ rawScore: z.ZodObject<{
1916
+ minimum: z.ZodNumber;
1917
+ maximum: z.ZodNumber;
1918
+ }, z.core.$strict>;
1919
+ assets: z.ZodArray<z.ZodObject<{
1920
+ id: z.ZodString;
1921
+ path: z.ZodString;
1922
+ contentHash: z.ZodString;
1923
+ sizeBytes: z.ZodNumber;
1924
+ mediaType: z.ZodString;
1925
+ visibility: z.ZodEnum<{
1926
+ policy: "policy";
1927
+ verifier: "verifier";
1928
+ host_private: "host_private";
1929
+ }>;
1930
+ }, z.core.$strict>>;
1931
+ fixtureSetRef: z.ZodOptional<z.ZodObject<{
1932
+ id: z.ZodString;
1933
+ path: z.ZodString;
1934
+ contentHash: z.ZodString;
1935
+ sizeBytes: z.ZodNumber;
1936
+ mediaType: z.ZodString;
1937
+ visibility: z.ZodEnum<{
1938
+ policy: "policy";
1939
+ verifier: "verifier";
1940
+ host_private: "host_private";
1941
+ }>;
1942
+ }, z.core.$strict>>;
1943
+ contentHash: z.ZodString;
1944
+ }, z.core.$strict>>;
1945
+ }, z.core.$strict>>;
1946
+ contentHash: z.ZodString;
1947
+ }, z.core.$strict>;
1948
+ export type TasksetPackage = z.infer<typeof TasksetPackageSchema>;
1949
+ export declare function decodeTasksetPackageFile(value: z.infer<typeof TasksetPackageFileSchema>): Uint8Array;
1950
+ /** Admission verifies the complete declared dependency graph, not readiness or
1951
+ * permission to execute it. Hosts separately authorize the workspace/project. */
1952
+ export declare function validateTasksetPackage(value: unknown): TasksetPackage;
1953
+ export declare function createTasksetPackage(value: z.input<typeof TasksetPackageContentSchema>): TasksetPackage;
1954
+ //# sourceMappingURL=taskset-package-contracts.d.ts.map