openpond-sdk 0.2.1 → 0.2.3

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