openpond-sdk 0.8.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -245,10 +245,108 @@ export declare const TrainingPreparationControlSchema: z.ZodObject<{
245
245
  planHash: z.ZodString;
246
246
  expectedRevision: z.ZodNumber;
247
247
  }, z.core.$strict>;
248
+ export declare const TrainingPreparationListQuerySchema: z.ZodObject<{
249
+ projectId: z.ZodOptional<z.ZodString>;
250
+ state: z.ZodOptional<z.ZodEnum<{
251
+ cancelled: "cancelled";
252
+ prepared: "prepared";
253
+ submitted: "submitted";
254
+ }>>;
255
+ afterId: z.ZodOptional<z.ZodString>;
256
+ limit: z.ZodDefault<z.ZodNumber>;
257
+ }, z.core.$strict>;
258
+ export declare const TrainingPreparationPageSchema: z.ZodObject<{
259
+ schemaVersion: z.ZodLiteral<"openpond.trainingPreparationPage.v1">;
260
+ teamId: z.ZodString;
261
+ items: z.ZodArray<z.ZodObject<{
262
+ schemaVersion: z.ZodLiteral<"openpond.trainingPreparationReceipt.v1">;
263
+ plan: z.ZodObject<{
264
+ schemaVersion: z.ZodLiteral<"openpond.trainingPreparationPlan.v1">;
265
+ id: z.ZodString;
266
+ creatorUserId: z.ZodString;
267
+ request: z.ZodObject<{
268
+ schemaVersion: z.ZodLiteral<"openpond.trainingPreparationRequest.v1">;
269
+ teamId: z.ZodString;
270
+ operationId: z.ZodString;
271
+ projectId: z.ZodNullable<z.ZodString>;
272
+ configuration: z.ZodObject<{
273
+ id: z.ZodString;
274
+ expectedRevision: z.ZodNumber;
275
+ expectedEtag: z.ZodString;
276
+ }, z.core.$strict>;
277
+ batch: z.ZodObject<{
278
+ id: z.ZodString;
279
+ contentHash: z.ZodString;
280
+ revision: z.ZodNumber;
281
+ }, z.core.$strict>;
282
+ name: z.ZodString;
283
+ maximumSpendUsd: z.ZodNumber;
284
+ }, z.core.$strict>;
285
+ requestHash: z.ZodString;
286
+ source: z.ZodLazy<z.ZodObject<{
287
+ modelProject: z.ZodObject<{
288
+ id: z.ZodString;
289
+ portableProjectId: z.ZodString;
290
+ revision: z.ZodNumber;
291
+ contentHash: z.ZodString;
292
+ }, z.core.$strict>;
293
+ harnessRunManifest: z.ZodObject<{
294
+ id: z.ZodString;
295
+ contentHash: z.ZodString;
296
+ }, z.core.$strict>;
297
+ harnessRelease: z.ZodObject<{
298
+ id: z.ZodString;
299
+ contentHash: z.ZodString;
300
+ }, z.core.$strict>;
301
+ taskset: z.ZodObject<{
302
+ id: z.ZodString;
303
+ contentHash: z.ZodString;
304
+ revision: z.ZodNumber;
305
+ }, z.core.$strict>;
306
+ tasksetRelease: z.ZodObject<{
307
+ id: z.ZodString;
308
+ contentHash: z.ZodString;
309
+ }, z.core.$strict>;
310
+ evaluation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
311
+ taskset: z.ZodObject<{
312
+ id: z.ZodString;
313
+ contentHash: z.ZodString;
314
+ revision: z.ZodNumber;
315
+ }, z.core.$strict>;
316
+ dataset: z.ZodObject<{
317
+ id: z.ZodString;
318
+ contentHash: z.ZodString;
319
+ }, z.core.$strict>;
320
+ }, z.core.$strict>>>;
321
+ dataset: z.ZodObject<{
322
+ id: z.ZodString;
323
+ contentHash: z.ZodString;
324
+ }, z.core.$strict>;
325
+ evidenceSets: z.ZodArray<z.ZodObject<{
326
+ id: z.ZodString;
327
+ contentHash: z.ZodString;
328
+ }, z.core.$strict>>;
329
+ }, z.core.$strict>>;
330
+ submissionHash: z.ZodString;
331
+ createdAt: z.ZodString;
332
+ contentHash: z.ZodString;
333
+ }, z.core.$strict>;
334
+ revision: z.ZodNumber;
335
+ state: z.ZodEnum<{
336
+ cancelled: "cancelled";
337
+ prepared: "prepared";
338
+ submitted: "submitted";
339
+ }>;
340
+ jobId: z.ZodNullable<z.ZodString>;
341
+ }, z.core.$strict>>;
342
+ nextCursor: z.ZodNullable<z.ZodString>;
343
+ }, z.core.$strict>;
248
344
  export type TrainingPreparationRequest = z.infer<typeof TrainingPreparationRequestSchema>;
249
345
  export type TrainingPreparationPlan = z.infer<typeof TrainingPreparationPlanSchema>;
250
346
  export type TrainingPreparationReceipt = z.infer<typeof TrainingPreparationReceiptSchema>;
251
347
  export type TrainingPreparationControl = z.infer<typeof TrainingPreparationControlSchema>;
348
+ export type TrainingPreparationListQuery = z.input<typeof TrainingPreparationListQuerySchema>;
349
+ export type TrainingPreparationPage = z.infer<typeof TrainingPreparationPageSchema>;
252
350
  export declare function parseAndVerifyTrainingPreparationReceipt(value: unknown): Promise<{
253
351
  schemaVersion: "openpond.trainingPreparationReceipt.v1";
254
352
  plan: {
@@ -327,6 +425,89 @@ export declare function parseAndVerifyTrainingPreparationReceipt(value: unknown)
327
425
  jobId: string | null;
328
426
  }>;
329
427
  export declare function createTrainingPreparationClient(request: (path: string, init?: RequestInit) => Promise<unknown>): {
428
+ /** Discover the authenticated user's retained preparations without creating jobs. */
429
+ listPreparations(teamId: string, input?: TrainingPreparationListQuery): Promise<{
430
+ items: {
431
+ schemaVersion: "openpond.trainingPreparationReceipt.v1";
432
+ plan: {
433
+ schemaVersion: "openpond.trainingPreparationPlan.v1";
434
+ id: string;
435
+ creatorUserId: string;
436
+ request: {
437
+ schemaVersion: "openpond.trainingPreparationRequest.v1";
438
+ teamId: string;
439
+ operationId: string;
440
+ projectId: string | null;
441
+ configuration: {
442
+ id: string;
443
+ expectedRevision: number;
444
+ expectedEtag: string;
445
+ };
446
+ batch: {
447
+ id: string;
448
+ contentHash: string;
449
+ revision: number;
450
+ };
451
+ name: string;
452
+ maximumSpendUsd: number;
453
+ };
454
+ requestHash: string;
455
+ source: {
456
+ modelProject: {
457
+ id: string;
458
+ portableProjectId: string;
459
+ revision: number;
460
+ contentHash: string;
461
+ };
462
+ harnessRunManifest: {
463
+ id: string;
464
+ contentHash: string;
465
+ };
466
+ harnessRelease: {
467
+ id: string;
468
+ contentHash: string;
469
+ };
470
+ taskset: {
471
+ id: string;
472
+ contentHash: string;
473
+ revision: number;
474
+ };
475
+ tasksetRelease: {
476
+ id: string;
477
+ contentHash: string;
478
+ };
479
+ dataset: {
480
+ id: string;
481
+ contentHash: string;
482
+ };
483
+ evidenceSets: {
484
+ id: string;
485
+ contentHash: string;
486
+ }[];
487
+ evaluation?: {
488
+ taskset: {
489
+ id: string;
490
+ contentHash: string;
491
+ revision: number;
492
+ };
493
+ dataset: {
494
+ id: string;
495
+ contentHash: string;
496
+ };
497
+ } | null | undefined;
498
+ };
499
+ submissionHash: string;
500
+ createdAt: string;
501
+ contentHash: string;
502
+ };
503
+ revision: number;
504
+ state: "cancelled" | "prepared" | "submitted";
505
+ jobId: string | null;
506
+ }[];
507
+ schemaVersion: "openpond.trainingPreparationPage.v1";
508
+ teamId: string;
509
+ nextCursor: string | null;
510
+ }>;
330
511
  prepareRun(input: TrainingPreparationRequest): Promise<{
331
512
  schemaVersion: "openpond.trainingPreparationReceipt.v1";
332
513
  plan: {
@@ -1 +1 @@
1
- {"version":3,"file":"training-preparations.d.ts","sourceRoot":"","sources":["../../../../../src/training-preparations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,0FAA0F;AAC1F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;kBASlC,CAAC;AACZ,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAStC,CAAC;AACZ,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA8E,CAAC;AACzH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ3C,CAAC;AACH,eAAO,MAAM,gCAAgC;;;;kBAElC,CAAC;AACZ,MAAM,MAAM,0B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQ5E;AAED,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC;IAQ3G,qFAAqF;6BACtD,MAAM,UAAS,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAqBlD,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAOrB,MAAM,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAGpB,MAAM,SAAS,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAOxC,MAAM,SAAS,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxE"}
@@ -26,20 +26,10 @@ export declare class OpenPondTrainingProjectClient {
26
26
  id: string;
27
27
  name: string;
28
28
  target: {
29
- kind: "model";
30
- providerId: string;
31
- modelId: string;
32
- artifact: {
33
- id: string;
34
- contentHash: string;
35
- } | null;
36
- messages: {
37
- role: "user" | "system" | "assistant";
38
- content: string;
39
- }[];
40
- } | {
41
- kind: "harness";
42
- source: {
29
+ kind: "suite";
30
+ profileRepositoryId: string;
31
+ suiteId: string;
32
+ sources: {
43
33
  profileId: string;
44
34
  sourceRevision: string;
45
35
  harnessRelease: {
@@ -62,11 +52,23 @@ export declare class OpenPondTrainingProjectClient {
62
52
  actionId: string;
63
53
  };
64
54
  environmentHash: string;
65
- };
55
+ }[];
66
56
  } | {
67
- kind: "suite";
68
- suiteId: string;
69
- sources: {
57
+ kind: "model";
58
+ providerId: string;
59
+ modelId: string;
60
+ artifact: {
61
+ id: string;
62
+ contentHash: string;
63
+ } | null;
64
+ messages: {
65
+ role: "user" | "system" | "assistant";
66
+ content: string;
67
+ }[];
68
+ } | {
69
+ kind: "harness";
70
+ profileRepositoryId: string;
71
+ source: {
70
72
  profileId: string;
71
73
  sourceRevision: string;
72
74
  harnessRelease: {
@@ -89,7 +91,7 @@ export declare class OpenPondTrainingProjectClient {
89
91
  actionId: string;
90
92
  };
91
93
  environmentHash: string;
92
- }[];
94
+ };
93
95
  };
94
96
  }[];
95
97
  defaultTargetId: string | null;
@@ -122,20 +124,10 @@ export declare class OpenPondTrainingProjectClient {
122
124
  id: string;
123
125
  name: string;
124
126
  target: {
125
- kind: "model";
126
- providerId: string;
127
- modelId: string;
128
- artifact: {
129
- id: string;
130
- contentHash: string;
131
- } | null;
132
- messages: {
133
- role: "user" | "system" | "assistant";
134
- content: string;
135
- }[];
136
- } | {
137
- kind: "harness";
138
- source: {
127
+ kind: "suite";
128
+ profileRepositoryId: string;
129
+ suiteId: string;
130
+ sources: {
139
131
  profileId: string;
140
132
  sourceRevision: string;
141
133
  harnessRelease: {
@@ -158,11 +150,23 @@ export declare class OpenPondTrainingProjectClient {
158
150
  actionId: string;
159
151
  };
160
152
  environmentHash: string;
161
- };
153
+ }[];
162
154
  } | {
163
- kind: "suite";
164
- suiteId: string;
165
- sources: {
155
+ kind: "model";
156
+ providerId: string;
157
+ modelId: string;
158
+ artifact: {
159
+ id: string;
160
+ contentHash: string;
161
+ } | null;
162
+ messages: {
163
+ role: "user" | "system" | "assistant";
164
+ content: string;
165
+ }[];
166
+ } | {
167
+ kind: "harness";
168
+ profileRepositoryId: string;
169
+ source: {
166
170
  profileId: string;
167
171
  sourceRevision: string;
168
172
  harnessRelease: {
@@ -185,7 +189,7 @@ export declare class OpenPondTrainingProjectClient {
185
189
  actionId: string;
186
190
  };
187
191
  environmentHash: string;
188
- }[];
192
+ };
189
193
  };
190
194
  }[];
191
195
  defaultTargetId: string | null;
@@ -216,20 +220,10 @@ export declare class OpenPondTrainingProjectClient {
216
220
  id: string;
217
221
  name: string;
218
222
  target: {
219
- kind: "model";
220
- providerId: string;
221
- modelId: string;
222
- artifact: {
223
- id: string;
224
- contentHash: string;
225
- } | null;
226
- messages: {
227
- role: "user" | "system" | "assistant";
228
- content: string;
229
- }[];
230
- } | {
231
- kind: "harness";
232
- source: {
223
+ kind: "suite";
224
+ profileRepositoryId: string;
225
+ suiteId: string;
226
+ sources: {
233
227
  profileId: string;
234
228
  sourceRevision: string;
235
229
  harnessRelease: {
@@ -252,11 +246,23 @@ export declare class OpenPondTrainingProjectClient {
252
246
  actionId: string;
253
247
  };
254
248
  environmentHash: string;
255
- };
249
+ }[];
256
250
  } | {
257
- kind: "suite";
258
- suiteId: string;
259
- sources: {
251
+ kind: "model";
252
+ providerId: string;
253
+ modelId: string;
254
+ artifact: {
255
+ id: string;
256
+ contentHash: string;
257
+ } | null;
258
+ messages: {
259
+ role: "user" | "system" | "assistant";
260
+ content: string;
261
+ }[];
262
+ } | {
263
+ kind: "harness";
264
+ profileRepositoryId: string;
265
+ source: {
260
266
  profileId: string;
261
267
  sourceRevision: string;
262
268
  harnessRelease: {
@@ -279,7 +285,7 @@ export declare class OpenPondTrainingProjectClient {
279
285
  actionId: string;
280
286
  };
281
287
  environmentHash: string;
282
- }[];
288
+ };
283
289
  };
284
290
  }[];
285
291
  defaultTargetId: string | null;
@@ -314,20 +320,10 @@ export declare class OpenPondTrainingProjectClient {
314
320
  id: string;
315
321
  name: string;
316
322
  target: {
317
- kind: "model";
318
- providerId: string;
319
- modelId: string;
320
- artifact: {
321
- id: string;
322
- contentHash: string;
323
- } | null;
324
- messages: {
325
- role: "user" | "system" | "assistant";
326
- content: string;
327
- }[];
328
- } | {
329
- kind: "harness";
330
- source: {
323
+ kind: "suite";
324
+ profileRepositoryId: string;
325
+ suiteId: string;
326
+ sources: {
331
327
  profileId: string;
332
328
  sourceRevision: string;
333
329
  harnessRelease: {
@@ -350,11 +346,23 @@ export declare class OpenPondTrainingProjectClient {
350
346
  actionId: string;
351
347
  };
352
348
  environmentHash: string;
353
- };
349
+ }[];
354
350
  } | {
355
- kind: "suite";
356
- suiteId: string;
357
- sources: {
351
+ kind: "model";
352
+ providerId: string;
353
+ modelId: string;
354
+ artifact: {
355
+ id: string;
356
+ contentHash: string;
357
+ } | null;
358
+ messages: {
359
+ role: "user" | "system" | "assistant";
360
+ content: string;
361
+ }[];
362
+ } | {
363
+ kind: "harness";
364
+ profileRepositoryId: string;
365
+ source: {
358
366
  profileId: string;
359
367
  sourceRevision: string;
360
368
  harnessRelease: {
@@ -377,7 +385,7 @@ export declare class OpenPondTrainingProjectClient {
377
385
  actionId: string;
378
386
  };
379
387
  environmentHash: string;
380
- }[];
388
+ };
381
389
  };
382
390
  }[];
383
391
  defaultTargetId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"training-project-client.d.ts","sourceRoot":"","sources":["../../../../../src/training-project-client.ts"],"names":[],"mappings":"AACA,OAAO,EAA8G,KAAK,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAExL,qBAAa,6BAA6B;IAE5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IADpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;gBACJ,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,KAAK,CAAA;KAAE;IAKzG,IAAI,CAAC,OAAO,GAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,WAAW,CAAA;KAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAA;KAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK5D,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACpC,IAAI,CAAC,KAAK,EAAE,oBAAoB,EAAE,MAAM,CAAC,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMtD,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,MAAM,CAAC,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM3H,OAAO,CAAC,QAAQ;YAKF,OAAO;CAQtB"}
@@ -58,6 +58,7 @@ export declare const TrainingTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
58
58
  }, z.core.$strict>>;
59
59
  }, z.core.$strict>, z.ZodObject<{
60
60
  kind: z.ZodLiteral<"harness">;
61
+ profileRepositoryId: z.ZodString;
61
62
  source: z.ZodObject<{
62
63
  profileId: z.ZodString;
63
64
  sourceRevision: z.ZodString;
@@ -84,6 +85,7 @@ export declare const TrainingTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
84
85
  }, z.core.$strict>;
85
86
  }, z.core.$strict>, z.ZodObject<{
86
87
  kind: z.ZodLiteral<"suite">;
88
+ profileRepositoryId: z.ZodString;
87
89
  suiteId: z.ZodString;
88
90
  sources: z.ZodArray<z.ZodObject<{
89
91
  profileId: z.ZodString;
@@ -134,6 +136,7 @@ export declare const TrainingProjectContentSchema: z.ZodObject<{
134
136
  }, z.core.$strict>>;
135
137
  }, z.core.$strict>, z.ZodObject<{
136
138
  kind: z.ZodLiteral<"harness">;
139
+ profileRepositoryId: z.ZodString;
137
140
  source: z.ZodObject<{
138
141
  profileId: z.ZodString;
139
142
  sourceRevision: z.ZodString;
@@ -160,6 +163,7 @@ export declare const TrainingProjectContentSchema: z.ZodObject<{
160
163
  }, z.core.$strict>;
161
164
  }, z.core.$strict>, z.ZodObject<{
162
165
  kind: z.ZodLiteral<"suite">;
166
+ profileRepositoryId: z.ZodString;
163
167
  suiteId: z.ZodString;
164
168
  sources: z.ZodArray<z.ZodObject<{
165
169
  profileId: z.ZodString;
@@ -248,6 +252,7 @@ export declare const TrainingProjectSchema: z.ZodObject<{
248
252
  }, z.core.$strict>>;
249
253
  }, z.core.$strict>, z.ZodObject<{
250
254
  kind: z.ZodLiteral<"harness">;
255
+ profileRepositoryId: z.ZodString;
251
256
  source: z.ZodObject<{
252
257
  profileId: z.ZodString;
253
258
  sourceRevision: z.ZodString;
@@ -274,6 +279,7 @@ export declare const TrainingProjectSchema: z.ZodObject<{
274
279
  }, z.core.$strict>;
275
280
  }, z.core.$strict>, z.ZodObject<{
276
281
  kind: z.ZodLiteral<"suite">;
282
+ profileRepositoryId: z.ZodString;
277
283
  suiteId: z.ZodString;
278
284
  sources: z.ZodArray<z.ZodObject<{
279
285
  profileId: z.ZodString;
@@ -364,6 +370,7 @@ export declare const TrainingProjectWriteSchema: z.ZodObject<{
364
370
  }, z.core.$strict>>;
365
371
  }, z.core.$strict>, z.ZodObject<{
366
372
  kind: z.ZodLiteral<"harness">;
373
+ profileRepositoryId: z.ZodString;
367
374
  source: z.ZodObject<{
368
375
  profileId: z.ZodString;
369
376
  sourceRevision: z.ZodString;
@@ -390,6 +397,7 @@ export declare const TrainingProjectWriteSchema: z.ZodObject<{
390
397
  }, z.core.$strict>;
391
398
  }, z.core.$strict>, z.ZodObject<{
392
399
  kind: z.ZodLiteral<"suite">;
400
+ profileRepositoryId: z.ZodString;
393
401
  suiteId: z.ZodString;
394
402
  sources: z.ZodArray<z.ZodObject<{
395
403
  profileId: z.ZodString;
@@ -486,6 +494,7 @@ export declare const TrainingProjectListSchema: z.ZodObject<{
486
494
  }, z.core.$strict>>;
487
495
  }, z.core.$strict>, z.ZodObject<{
488
496
  kind: z.ZodLiteral<"harness">;
497
+ profileRepositoryId: z.ZodString;
489
498
  source: z.ZodObject<{
490
499
  profileId: z.ZodString;
491
500
  sourceRevision: z.ZodString;
@@ -512,6 +521,7 @@ export declare const TrainingProjectListSchema: z.ZodObject<{
512
521
  }, z.core.$strict>;
513
522
  }, z.core.$strict>, z.ZodObject<{
514
523
  kind: z.ZodLiteral<"suite">;
524
+ profileRepositoryId: z.ZodString;
515
525
  suiteId: z.ZodString;
516
526
  sources: z.ZodArray<z.ZodObject<{
517
527
  profileId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"training-project-contracts.d.ts","sourceRoot":"","sources":["../../../../../src/training-project-contracts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;EAA+J,CAAC;AACvM,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG5B,CAAC;AACZ,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAK/B,CAAC;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA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AAC,CAAC;AAClF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export { TrainingPreparationRequestSchema, TrainingPreparationPlanContentSchema, TrainingPreparationPlanSchema, TrainingPreparationReceiptSchema, TrainingPreparationControlSchema, parseAndVerifyTrainingPreparationReceipt, type TrainingPreparationRequest, type TrainingPreparationPlan, type TrainingPreparationReceipt, type TrainingPreparationControl } from "./training-preparations.js";
3
+ export { TrainingPreparationListQuerySchema, TrainingPreparationPageSchema, type TrainingPreparationListQuery, type TrainingPreparationPage } from "./training-preparations.js";
3
4
  export { TrainingHarnessSourcePublicationSchema } from "./training-harness-sources.js";
4
5
  export { TrainingCandidateDecisionRequestSchema, TrainingCandidateDecisionSchema, trainingCandidateDecisionHash, parseAndVerifyTrainingCandidateDecision, type TrainingCandidateDecisionRequest, type TrainingCandidateDecision, type TrainingCandidateDecisionTarget } from "./training-candidate-decisions.js";
5
6
  export { deterministicTrainingRewardSource } from "./training-grading-plan.js";
@@ -1180,6 +1181,88 @@ export declare function createTrainingClient(input: {
1180
1181
  }[];
1181
1182
  contentHash: string;
1182
1183
  }>;
1184
+ listPreparations(teamId: string, input?: import("./training-preparations.js").TrainingPreparationListQuery): Promise<{
1185
+ items: {
1186
+ schemaVersion: "openpond.trainingPreparationReceipt.v1";
1187
+ plan: {
1188
+ schemaVersion: "openpond.trainingPreparationPlan.v1";
1189
+ id: string;
1190
+ creatorUserId: string;
1191
+ request: {
1192
+ schemaVersion: "openpond.trainingPreparationRequest.v1";
1193
+ teamId: string;
1194
+ operationId: string;
1195
+ projectId: string | null;
1196
+ configuration: {
1197
+ id: string;
1198
+ expectedRevision: number;
1199
+ expectedEtag: string;
1200
+ };
1201
+ batch: {
1202
+ id: string;
1203
+ contentHash: string;
1204
+ revision: number;
1205
+ };
1206
+ name: string;
1207
+ maximumSpendUsd: number;
1208
+ };
1209
+ requestHash: string;
1210
+ source: {
1211
+ modelProject: {
1212
+ id: string;
1213
+ portableProjectId: string;
1214
+ revision: number;
1215
+ contentHash: string;
1216
+ };
1217
+ harnessRunManifest: {
1218
+ id: string;
1219
+ contentHash: string;
1220
+ };
1221
+ harnessRelease: {
1222
+ id: string;
1223
+ contentHash: string;
1224
+ };
1225
+ taskset: {
1226
+ id: string;
1227
+ contentHash: string;
1228
+ revision: number;
1229
+ };
1230
+ tasksetRelease: {
1231
+ id: string;
1232
+ contentHash: string;
1233
+ };
1234
+ dataset: {
1235
+ id: string;
1236
+ contentHash: string;
1237
+ };
1238
+ evidenceSets: {
1239
+ id: string;
1240
+ contentHash: string;
1241
+ }[];
1242
+ evaluation?: {
1243
+ taskset: {
1244
+ id: string;
1245
+ contentHash: string;
1246
+ revision: number;
1247
+ };
1248
+ dataset: {
1249
+ id: string;
1250
+ contentHash: string;
1251
+ };
1252
+ } | null | undefined;
1253
+ };
1254
+ submissionHash: string;
1255
+ createdAt: string;
1256
+ contentHash: string;
1257
+ };
1258
+ revision: number;
1259
+ state: "cancelled" | "prepared" | "submitted";
1260
+ jobId: string | null;
1261
+ }[];
1262
+ schemaVersion: "openpond.trainingPreparationPage.v1";
1263
+ teamId: string;
1264
+ nextCursor: string | null;
1265
+ }>;
1183
1266
  prepareRun(input: import("./training-preparations.js").TrainingPreparationRequest): Promise<{
1184
1267
  schemaVersion: "openpond.trainingPreparationReceipt.v1";
1185
1268
  plan: {