openpond-sdk 0.9.6 → 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/chunk-4HZORGK3.js +158 -0
  2. package/dist/chunk-4HZORGK3.js.map +7 -0
  3. package/dist/{chunk-XR6CLSCS.js → chunk-BGXWHDYM.js} +3 -2
  4. package/dist/chunk-BGXWHDYM.js.map +7 -0
  5. package/dist/{chunk-EMANJDJR.js → chunk-RXKIOOFZ.js} +62 -199
  6. package/dist/chunk-RXKIOOFZ.js.map +7 -0
  7. package/dist/{chunk-62LWLACP.js → chunk-YYJ4T4U4.js} +2 -2
  8. package/dist/dataset-marketplace.js +227 -0
  9. package/dist/dataset-marketplace.js.map +7 -0
  10. package/dist/dataset-workspaces.js +136 -3
  11. package/dist/dataset-workspaces.js.map +4 -4
  12. package/dist/experiments.js +67 -10
  13. package/dist/experiments.js.map +4 -4
  14. package/dist/index.js +11 -10
  15. package/dist/index.js.map +1 -1
  16. package/dist/model-starter-attempts.js +1 -1
  17. package/dist/model-taskset-runs.js +2 -2
  18. package/dist/types/packages/sdk/src/dataset-marketplace.d.ts +954 -0
  19. package/dist/types/packages/sdk/src/dataset-marketplace.d.ts.map +1 -0
  20. package/dist/types/packages/sdk/src/dataset-population.d.ts +97 -0
  21. package/dist/types/packages/sdk/src/dataset-population.d.ts.map +1 -0
  22. package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts +1183 -115
  23. package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts.map +1 -1
  24. package/dist/types/packages/sdk/src/dataset-workspace-contracts.d.ts +72 -72
  25. package/dist/types/packages/sdk/src/dataset-workspace-operations.d.ts +1617 -0
  26. package/dist/types/packages/sdk/src/dataset-workspace-operations.d.ts.map +1 -0
  27. package/dist/types/packages/sdk/src/dataset-workspaces.d.ts +2 -0
  28. package/dist/types/packages/sdk/src/dataset-workspaces.d.ts.map +1 -1
  29. package/dist/types/packages/sdk/src/evaluation-project-context.d.ts +1 -1
  30. package/dist/types/packages/sdk/src/experiment-client.d.ts +23 -23
  31. package/dist/types/packages/sdk/src/experiment-contracts.d.ts +3 -3
  32. package/dist/types/packages/sdk/src/experiment-grading-contracts.d.ts +1 -1
  33. package/dist/types/packages/sdk/src/experiment-history.d.ts +266 -0
  34. package/dist/types/packages/sdk/src/experiment-history.d.ts.map +1 -0
  35. package/dist/types/packages/sdk/src/experiment-scoring-contracts.d.ts +3 -3
  36. package/dist/types/packages/sdk/src/experiments.d.ts +1 -0
  37. package/dist/types/packages/sdk/src/experiments.d.ts.map +1 -1
  38. package/dist/types/packages/sdk/src/grader-inspection.d.ts +8 -8
  39. package/dist/types/packages/sdk/src/managed-training-preparation.d.ts +2 -2
  40. package/dist/types/packages/sdk/src/model-batch-review-preparation.d.ts +4 -4
  41. package/dist/types/packages/sdk/src/model-batch-review.d.ts +16 -16
  42. package/dist/types/packages/sdk/src/model-learning-policy.d.ts +1 -1
  43. package/dist/types/packages/sdk/src/model-projects.d.ts +27 -27
  44. package/dist/types/packages/sdk/src/model-starter-attempts.d.ts +49 -48
  45. package/dist/types/packages/sdk/src/model-starter-attempts.d.ts.map +1 -1
  46. package/dist/types/packages/sdk/src/model-starter-catalog.d.ts +14 -14
  47. package/dist/types/packages/sdk/src/model-starter-execution.d.ts +4 -4
  48. package/dist/types/packages/sdk/src/model-starters.d.ts +17 -17
  49. package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts +16 -16
  50. package/dist/types/packages/sdk/src/model-taskset-runs.d.ts +15 -15
  51. package/dist/types/packages/sdk/src/task-inventory.d.ts +3 -3
  52. package/dist/types/packages/sdk/src/taskset-authored-contracts.d.ts +40 -40
  53. package/dist/types/packages/sdk/src/taskset-authored-files.d.ts +24 -24
  54. package/dist/types/packages/sdk/src/taskset-draft-api-contracts.d.ts +72 -72
  55. package/dist/types/packages/sdk/src/taskset-draft-client.d.ts +140 -140
  56. package/dist/types/packages/sdk/src/taskset-draft-core.d.ts +40 -40
  57. package/dist/types/packages/sdk/src/taskset-draft-dataset-artifacts.d.ts +14 -14
  58. package/dist/types/packages/sdk/src/taskset-draft-dataset-sources.d.ts +41 -41
  59. package/dist/types/packages/sdk/src/taskset-draft-document.d.ts +37 -37
  60. package/dist/types/packages/sdk/src/taskset-draft-package-compiler.d.ts +46 -46
  61. package/dist/types/packages/sdk/src/taskset-draft-source.d.ts +59 -59
  62. package/dist/types/packages/sdk/src/taskset-draft-workspace.d.ts +72 -72
  63. package/dist/types/packages/sdk/src/taskset-package-client.d.ts +1733 -1733
  64. package/dist/types/packages/sdk/src/taskset-package-contracts.d.ts +1083 -1083
  65. package/dist/types/packages/sdk/src/taskset-package-grader-projection.d.ts +2 -2
  66. package/dist/types/packages/sdk/src/taskset-package-learning.d.ts +14 -14
  67. package/dist/types/packages/sdk/src/taskset-package-projection.d.ts +48 -48
  68. package/dist/types/packages/sdk/src/training-acceptance.d.ts +4 -4
  69. package/dist/types/packages/sdk/src/training-harness-sources.d.ts +1 -1
  70. package/dist/types/packages/sdk/src/training-learning-batch.d.ts +54 -54
  71. package/dist/types/packages/sdk/src/training-project-client.d.ts +12 -12
  72. package/dist/types/packages/sdk/src/training-project-contracts.d.ts +21 -21
  73. package/dist/types/packages/sdk/src/training.d.ts +24 -24
  74. package/package.json +5 -1
  75. package/dist/chunk-EMANJDJR.js.map +0 -7
  76. package/dist/chunk-XR6CLSCS.js.map +0 -7
  77. /package/dist/{chunk-62LWLACP.js.map → chunk-YYJ4T4U4.js.map} +0 -0
@@ -0,0 +1,954 @@
1
+ import { z } from "zod";
2
+ export declare const CatalogId: z.ZodString;
3
+ export declare const CatalogSlug: z.ZodString;
4
+ export declare const CatalogReleaseRef: z.ZodObject<{
5
+ id: z.ZodString;
6
+ revision: z.ZodNumber;
7
+ contentHash: z.ZodString;
8
+ }, z.core.$strict>;
9
+ export declare const CatalogMetadata: z.ZodObject<{
10
+ slug: z.ZodString;
11
+ title: z.ZodString;
12
+ description: z.ZodString;
13
+ license: z.ZodString;
14
+ sourceUrl: z.ZodNullable<z.ZodString>;
15
+ attribution: z.ZodString;
16
+ category: z.ZodString;
17
+ }, z.core.$strict>;
18
+ export declare const PublishCatalogDataset: z.ZodObject<{
19
+ operationId: z.ZodString;
20
+ tasksetId: z.ZodString;
21
+ release: z.ZodObject<{
22
+ id: z.ZodString;
23
+ revision: z.ZodNumber;
24
+ contentHash: z.ZodString;
25
+ }, z.core.$strict>;
26
+ packageHash: z.ZodString;
27
+ expectedVisibilityRevision: z.ZodNumber;
28
+ metadata: z.ZodObject<{
29
+ slug: z.ZodString;
30
+ title: z.ZodString;
31
+ description: z.ZodString;
32
+ license: z.ZodString;
33
+ sourceUrl: z.ZodNullable<z.ZodString>;
34
+ attribution: z.ZodString;
35
+ category: z.ZodString;
36
+ }, z.core.$strict>;
37
+ distributionConsent: z.ZodLiteral<true>;
38
+ }, z.core.$strict>;
39
+ export declare const CatalogVisibilityChange: z.ZodObject<{
40
+ operationId: z.ZodString;
41
+ releaseId: z.ZodString;
42
+ expectedVisibilityRevision: z.ZodNumber;
43
+ visibility: z.ZodEnum<{
44
+ private: "private";
45
+ public: "public";
46
+ }>;
47
+ }, z.core.$strict>;
48
+ export declare const AdoptCatalogDataset: z.ZodObject<{
49
+ operationId: z.ZodString;
50
+ releaseId: z.ZodString;
51
+ release: z.ZodObject<{
52
+ id: z.ZodString;
53
+ revision: z.ZodNumber;
54
+ contentHash: z.ZodString;
55
+ }, z.core.$strict>;
56
+ packageHash: z.ZodString;
57
+ projectId: z.ZodOptional<z.ZodString>;
58
+ }, z.core.$strict>;
59
+ export declare const CatalogBrowse: z.ZodObject<{
60
+ search: z.ZodDefault<z.ZodString>;
61
+ category: z.ZodDefault<z.ZodString>;
62
+ publisher: z.ZodOptional<z.ZodString>;
63
+ after: z.ZodOptional<z.ZodString>;
64
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
65
+ }, z.core.$strict>;
66
+ export declare const CatalogGraderSchema: z.ZodObject<{
67
+ id: z.ZodString;
68
+ version: z.ZodString;
69
+ kind: z.ZodString;
70
+ reward: z.ZodObject<{
71
+ id: z.ZodString;
72
+ revision: z.ZodNumber;
73
+ contentHash: z.ZodString;
74
+ }, z.core.$strict>;
75
+ readiness: z.ZodString;
76
+ runtime: z.ZodString;
77
+ assetCount: z.ZodNumber;
78
+ }, z.core.$strict>;
79
+ export declare const CatalogSummarySchema: z.ZodObject<{
80
+ id: z.ZodString;
81
+ namespace: z.ZodString;
82
+ publisherName: z.ZodString;
83
+ metadata: z.ZodObject<{
84
+ slug: z.ZodString;
85
+ title: z.ZodString;
86
+ description: z.ZodString;
87
+ license: z.ZodString;
88
+ sourceUrl: z.ZodNullable<z.ZodString>;
89
+ attribution: z.ZodString;
90
+ category: z.ZodString;
91
+ }, z.core.$strict>;
92
+ release: z.ZodObject<{
93
+ id: z.ZodString;
94
+ revision: z.ZodNumber;
95
+ contentHash: z.ZodString;
96
+ }, z.core.$strict>;
97
+ packageHash: z.ZodString;
98
+ snapshotHash: z.ZodString;
99
+ taskCount: z.ZodNumber;
100
+ sizeBytes: z.ZodNumber;
101
+ publishedAt: z.ZodString;
102
+ buildIntent: z.ZodString;
103
+ methodHint: z.ZodNullable<z.ZodString>;
104
+ graders: z.ZodArray<z.ZodObject<{
105
+ id: z.ZodString;
106
+ version: z.ZodString;
107
+ kind: z.ZodString;
108
+ reward: z.ZodObject<{
109
+ id: z.ZodString;
110
+ revision: z.ZodNumber;
111
+ contentHash: z.ZodString;
112
+ }, z.core.$strict>;
113
+ readiness: z.ZodString;
114
+ runtime: z.ZodString;
115
+ assetCount: z.ZodNumber;
116
+ }, z.core.$strict>>;
117
+ }, z.core.$strict>;
118
+ export declare const CatalogBrowsePageSchema: z.ZodObject<{
119
+ items: z.ZodArray<z.ZodObject<{
120
+ id: z.ZodString;
121
+ namespace: z.ZodString;
122
+ publisherName: z.ZodString;
123
+ metadata: z.ZodObject<{
124
+ slug: z.ZodString;
125
+ title: z.ZodString;
126
+ description: z.ZodString;
127
+ license: z.ZodString;
128
+ sourceUrl: z.ZodNullable<z.ZodString>;
129
+ attribution: z.ZodString;
130
+ category: z.ZodString;
131
+ }, z.core.$strict>;
132
+ release: z.ZodObject<{
133
+ id: z.ZodString;
134
+ revision: z.ZodNumber;
135
+ contentHash: z.ZodString;
136
+ }, z.core.$strict>;
137
+ packageHash: z.ZodString;
138
+ snapshotHash: z.ZodString;
139
+ taskCount: z.ZodNumber;
140
+ sizeBytes: z.ZodNumber;
141
+ publishedAt: z.ZodString;
142
+ buildIntent: z.ZodString;
143
+ methodHint: z.ZodNullable<z.ZodString>;
144
+ graders: z.ZodArray<z.ZodObject<{
145
+ id: z.ZodString;
146
+ version: z.ZodString;
147
+ kind: z.ZodString;
148
+ reward: z.ZodObject<{
149
+ id: z.ZodString;
150
+ revision: z.ZodNumber;
151
+ contentHash: z.ZodString;
152
+ }, z.core.$strict>;
153
+ readiness: z.ZodString;
154
+ runtime: z.ZodString;
155
+ assetCount: z.ZodNumber;
156
+ }, z.core.$strict>>;
157
+ }, z.core.$strict>>;
158
+ nextCursor: z.ZodNullable<z.ZodString>;
159
+ }, z.core.$strict>;
160
+ export declare const CatalogCategoriesQuerySchema: z.ZodObject<{
161
+ publisher: z.ZodOptional<z.ZodString>;
162
+ }, z.core.$strict>;
163
+ export declare const CatalogCategoriesSchema: z.ZodObject<{
164
+ categories: z.ZodArray<z.ZodString>;
165
+ }, z.core.$strict>;
166
+ export declare const CatalogDetailSchema: z.ZodObject<{
167
+ summary: z.ZodObject<{
168
+ id: z.ZodString;
169
+ namespace: z.ZodString;
170
+ publisherName: z.ZodString;
171
+ metadata: z.ZodObject<{
172
+ slug: z.ZodString;
173
+ title: z.ZodString;
174
+ description: z.ZodString;
175
+ license: z.ZodString;
176
+ sourceUrl: z.ZodNullable<z.ZodString>;
177
+ attribution: z.ZodString;
178
+ category: z.ZodString;
179
+ }, z.core.$strict>;
180
+ release: z.ZodObject<{
181
+ id: z.ZodString;
182
+ revision: z.ZodNumber;
183
+ contentHash: z.ZodString;
184
+ }, z.core.$strict>;
185
+ packageHash: z.ZodString;
186
+ snapshotHash: z.ZodString;
187
+ taskCount: z.ZodNumber;
188
+ sizeBytes: z.ZodNumber;
189
+ publishedAt: z.ZodString;
190
+ buildIntent: z.ZodString;
191
+ methodHint: z.ZodNullable<z.ZodString>;
192
+ graders: z.ZodArray<z.ZodObject<{
193
+ id: z.ZodString;
194
+ version: z.ZodString;
195
+ kind: z.ZodString;
196
+ reward: z.ZodObject<{
197
+ id: z.ZodString;
198
+ revision: z.ZodNumber;
199
+ contentHash: z.ZodString;
200
+ }, z.core.$strict>;
201
+ readiness: z.ZodString;
202
+ runtime: z.ZodString;
203
+ assetCount: z.ZodNumber;
204
+ }, z.core.$strict>>;
205
+ }, z.core.$strict>;
206
+ versions: z.ZodArray<z.ZodObject<{
207
+ id: z.ZodString;
208
+ namespace: z.ZodString;
209
+ publisherName: z.ZodString;
210
+ metadata: z.ZodObject<{
211
+ slug: z.ZodString;
212
+ title: z.ZodString;
213
+ description: z.ZodString;
214
+ license: z.ZodString;
215
+ sourceUrl: z.ZodNullable<z.ZodString>;
216
+ attribution: z.ZodString;
217
+ category: z.ZodString;
218
+ }, z.core.$strict>;
219
+ release: z.ZodObject<{
220
+ id: z.ZodString;
221
+ revision: z.ZodNumber;
222
+ contentHash: z.ZodString;
223
+ }, z.core.$strict>;
224
+ packageHash: z.ZodString;
225
+ snapshotHash: z.ZodString;
226
+ taskCount: z.ZodNumber;
227
+ sizeBytes: z.ZodNumber;
228
+ publishedAt: z.ZodString;
229
+ buildIntent: z.ZodString;
230
+ methodHint: z.ZodNullable<z.ZodString>;
231
+ graders: z.ZodArray<z.ZodObject<{
232
+ id: z.ZodString;
233
+ version: z.ZodString;
234
+ kind: z.ZodString;
235
+ reward: z.ZodObject<{
236
+ id: z.ZodString;
237
+ revision: z.ZodNumber;
238
+ contentHash: z.ZodString;
239
+ }, z.core.$strict>;
240
+ readiness: z.ZodString;
241
+ runtime: z.ZodString;
242
+ assetCount: z.ZodNumber;
243
+ }, z.core.$strict>>;
244
+ }, z.core.$strict>>;
245
+ }, z.core.$strict>;
246
+ export declare const CatalogVisibilityReceiptSchema: z.ZodObject<{
247
+ operationId: z.ZodString;
248
+ releaseId: z.ZodString;
249
+ visibility: z.ZodEnum<{
250
+ private: "private";
251
+ public: "public";
252
+ }>;
253
+ visibilityRevision: z.ZodNumber;
254
+ summary: z.ZodObject<{
255
+ id: z.ZodString;
256
+ namespace: z.ZodString;
257
+ publisherName: z.ZodString;
258
+ metadata: z.ZodObject<{
259
+ slug: z.ZodString;
260
+ title: z.ZodString;
261
+ description: z.ZodString;
262
+ license: z.ZodString;
263
+ sourceUrl: z.ZodNullable<z.ZodString>;
264
+ attribution: z.ZodString;
265
+ category: z.ZodString;
266
+ }, z.core.$strict>;
267
+ release: z.ZodObject<{
268
+ id: z.ZodString;
269
+ revision: z.ZodNumber;
270
+ contentHash: z.ZodString;
271
+ }, z.core.$strict>;
272
+ packageHash: z.ZodString;
273
+ snapshotHash: z.ZodString;
274
+ taskCount: z.ZodNumber;
275
+ sizeBytes: z.ZodNumber;
276
+ publishedAt: z.ZodString;
277
+ buildIntent: z.ZodString;
278
+ methodHint: z.ZodNullable<z.ZodString>;
279
+ graders: z.ZodArray<z.ZodObject<{
280
+ id: z.ZodString;
281
+ version: z.ZodString;
282
+ kind: z.ZodString;
283
+ reward: z.ZodObject<{
284
+ id: z.ZodString;
285
+ revision: z.ZodNumber;
286
+ contentHash: z.ZodString;
287
+ }, z.core.$strict>;
288
+ readiness: z.ZodString;
289
+ runtime: z.ZodString;
290
+ assetCount: z.ZodNumber;
291
+ }, z.core.$strict>>;
292
+ }, z.core.$strict>;
293
+ }, z.core.$strict>;
294
+ export declare const CatalogAdoptionReceiptSchema: z.ZodObject<{
295
+ operationId: z.ZodString;
296
+ releaseId: z.ZodString;
297
+ teamId: z.ZodString;
298
+ tasksetId: z.ZodString;
299
+ release: z.ZodObject<{
300
+ id: z.ZodString;
301
+ revision: z.ZodNumber;
302
+ contentHash: z.ZodString;
303
+ }, z.core.$strict>;
304
+ packageHash: z.ZodString;
305
+ snapshotHash: z.ZodString;
306
+ graders: z.ZodArray<z.ZodObject<{
307
+ id: z.ZodString;
308
+ version: z.ZodString;
309
+ kind: z.ZodString;
310
+ reward: z.ZodObject<{
311
+ id: z.ZodString;
312
+ revision: z.ZodNumber;
313
+ contentHash: z.ZodString;
314
+ }, z.core.$strict>;
315
+ readiness: z.ZodString;
316
+ runtime: z.ZodString;
317
+ assetCount: z.ZodNumber;
318
+ }, z.core.$strict>>;
319
+ projectId: z.ZodNullable<z.ZodString>;
320
+ }, z.core.$strict>;
321
+ export declare const CatalogPreviewQuerySchema: z.ZodObject<{
322
+ after: z.ZodDefault<z.ZodNumber>;
323
+ limit: z.ZodDefault<z.ZodNumber>;
324
+ }, z.core.$strict>;
325
+ export declare const CatalogPreviewSchema: z.ZodObject<{
326
+ items: z.ZodArray<z.ZodObject<{
327
+ id: z.ZodString;
328
+ split: z.ZodString;
329
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
330
+ policyVisibleContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
331
+ artifacts: z.ZodArray<z.ZodObject<{
332
+ id: z.ZodString;
333
+ path: z.ZodString;
334
+ mediaType: z.ZodString;
335
+ sizeBytes: z.ZodNumber;
336
+ }, z.core.$strict>>;
337
+ }, z.core.$strict>>;
338
+ nextCursor: z.ZodNullable<z.ZodNumber>;
339
+ total: z.ZodNumber;
340
+ }, z.core.$strict>;
341
+ export declare const CatalogCheckRequestSchema: z.ZodObject<{
342
+ operationId: z.ZodString;
343
+ tasksetId: z.ZodString;
344
+ }, z.core.$strict>;
345
+ export declare const CatalogCheckResultSchema: z.ZodObject<{
346
+ operationId: z.ZodString;
347
+ tasksetId: z.ZodString;
348
+ snapshotHash: z.ZodString;
349
+ status: z.ZodEnum<{
350
+ passed: "passed";
351
+ failed: "failed";
352
+ unavailable: "unavailable";
353
+ }>;
354
+ fixtures: z.ZodArray<z.ZodObject<{
355
+ id: z.ZodString;
356
+ taskId: z.ZodString;
357
+ score: z.ZodNullable<z.ZodNumber>;
358
+ passed: z.ZodBoolean;
359
+ expectationMatched: z.ZodBoolean;
360
+ evidenceHash: z.ZodString;
361
+ }, z.core.$strict>>;
362
+ providerCalls: z.ZodLiteral<0>;
363
+ runtime: z.ZodString;
364
+ }, z.core.$strict>;
365
+ export declare const CatalogRetainedAdoptionSchema: z.ZodNullable<z.ZodObject<{
366
+ receipt: z.ZodObject<{
367
+ operationId: z.ZodString;
368
+ releaseId: z.ZodString;
369
+ teamId: z.ZodString;
370
+ tasksetId: z.ZodString;
371
+ release: z.ZodObject<{
372
+ id: z.ZodString;
373
+ revision: z.ZodNumber;
374
+ contentHash: z.ZodString;
375
+ }, z.core.$strict>;
376
+ packageHash: z.ZodString;
377
+ snapshotHash: z.ZodString;
378
+ graders: z.ZodArray<z.ZodObject<{
379
+ id: z.ZodString;
380
+ version: z.ZodString;
381
+ kind: z.ZodString;
382
+ reward: z.ZodObject<{
383
+ id: z.ZodString;
384
+ revision: z.ZodNumber;
385
+ contentHash: z.ZodString;
386
+ }, z.core.$strict>;
387
+ readiness: z.ZodString;
388
+ runtime: z.ZodString;
389
+ assetCount: z.ZodNumber;
390
+ }, z.core.$strict>>;
391
+ projectId: z.ZodNullable<z.ZodString>;
392
+ }, z.core.$strict>;
393
+ check: z.ZodNullable<z.ZodObject<{
394
+ operationId: z.ZodString;
395
+ tasksetId: z.ZodString;
396
+ snapshotHash: z.ZodString;
397
+ status: z.ZodEnum<{
398
+ passed: "passed";
399
+ failed: "failed";
400
+ unavailable: "unavailable";
401
+ }>;
402
+ fixtures: z.ZodArray<z.ZodObject<{
403
+ id: z.ZodString;
404
+ taskId: z.ZodString;
405
+ score: z.ZodNullable<z.ZodNumber>;
406
+ passed: z.ZodBoolean;
407
+ expectationMatched: z.ZodBoolean;
408
+ evidenceHash: z.ZodString;
409
+ }, z.core.$strict>>;
410
+ providerCalls: z.ZodLiteral<0>;
411
+ runtime: z.ZodString;
412
+ }, z.core.$strict>>;
413
+ }, z.core.$strict>>;
414
+ export declare const CatalogVisibilityStateSchema: z.ZodObject<{
415
+ publisher: z.ZodObject<{
416
+ namespace: z.ZodString;
417
+ teamId: z.ZodString;
418
+ displayName: z.ZodString;
419
+ }, z.core.$strict>;
420
+ summary: z.ZodNullable<z.ZodObject<{
421
+ id: z.ZodString;
422
+ namespace: z.ZodString;
423
+ publisherName: z.ZodString;
424
+ metadata: z.ZodObject<{
425
+ slug: z.ZodString;
426
+ title: z.ZodString;
427
+ description: z.ZodString;
428
+ license: z.ZodString;
429
+ sourceUrl: z.ZodNullable<z.ZodString>;
430
+ attribution: z.ZodString;
431
+ category: z.ZodString;
432
+ }, z.core.$strict>;
433
+ release: z.ZodObject<{
434
+ id: z.ZodString;
435
+ revision: z.ZodNumber;
436
+ contentHash: z.ZodString;
437
+ }, z.core.$strict>;
438
+ packageHash: z.ZodString;
439
+ snapshotHash: z.ZodString;
440
+ taskCount: z.ZodNumber;
441
+ sizeBytes: z.ZodNumber;
442
+ publishedAt: z.ZodString;
443
+ buildIntent: z.ZodString;
444
+ methodHint: z.ZodNullable<z.ZodString>;
445
+ graders: z.ZodArray<z.ZodObject<{
446
+ id: z.ZodString;
447
+ version: z.ZodString;
448
+ kind: z.ZodString;
449
+ reward: z.ZodObject<{
450
+ id: z.ZodString;
451
+ revision: z.ZodNumber;
452
+ contentHash: z.ZodString;
453
+ }, z.core.$strict>;
454
+ readiness: z.ZodString;
455
+ runtime: z.ZodString;
456
+ assetCount: z.ZodNumber;
457
+ }, z.core.$strict>>;
458
+ }, z.core.$strict>>;
459
+ visibility: z.ZodEnum<{
460
+ private: "private";
461
+ public: "public";
462
+ }>;
463
+ visibilityRevision: z.ZodNumber;
464
+ release: z.ZodObject<{
465
+ id: z.ZodString;
466
+ revision: z.ZodNumber;
467
+ contentHash: z.ZodString;
468
+ }, z.core.$strict>;
469
+ packageHash: z.ZodString;
470
+ taskCount: z.ZodNumber;
471
+ fileCount: z.ZodNumber;
472
+ sizeBytes: z.ZodNumber;
473
+ }, z.core.$strict>;
474
+ export type CatalogSummary = z.infer<typeof CatalogSummarySchema>;
475
+ export type CatalogVisibilityReceipt = z.infer<typeof CatalogVisibilityReceiptSchema>;
476
+ export type CatalogAdoptionReceipt = z.infer<typeof CatalogAdoptionReceiptSchema>;
477
+ export type CatalogCheckResult = z.infer<typeof CatalogCheckResultSchema>;
478
+ export interface DatasetMarketplaceClientOptions {
479
+ baseUrl: string;
480
+ apiKey?: string;
481
+ teamId?: string;
482
+ fetch?: typeof globalThis.fetch;
483
+ }
484
+ export declare class OpenPondDatasetMarketplaceError extends Error {
485
+ readonly status: number;
486
+ readonly code: string;
487
+ constructor(status: number, code: string, message: string);
488
+ }
489
+ type RequestOptions = {
490
+ signal?: AbortSignal;
491
+ };
492
+ /** Public browse operations require no credentials. Workspace mutations always require an explicit authenticated workspace. No method starts model compute. */
493
+ export declare class OpenPondDatasetMarketplaceClient {
494
+ #private;
495
+ constructor(options: DatasetMarketplaceClientOptions);
496
+ browse(query?: z.input<typeof CatalogBrowse>, options?: RequestOptions): Promise<{
497
+ items: {
498
+ id: string;
499
+ namespace: string;
500
+ publisherName: string;
501
+ metadata: {
502
+ slug: string;
503
+ title: string;
504
+ description: string;
505
+ license: string;
506
+ sourceUrl: string | null;
507
+ attribution: string;
508
+ category: string;
509
+ };
510
+ release: {
511
+ id: string;
512
+ revision: number;
513
+ contentHash: string;
514
+ };
515
+ packageHash: string;
516
+ snapshotHash: string;
517
+ taskCount: number;
518
+ sizeBytes: number;
519
+ publishedAt: string;
520
+ buildIntent: string;
521
+ methodHint: string | null;
522
+ graders: {
523
+ id: string;
524
+ version: string;
525
+ kind: string;
526
+ reward: {
527
+ id: string;
528
+ revision: number;
529
+ contentHash: string;
530
+ };
531
+ readiness: string;
532
+ runtime: string;
533
+ assetCount: number;
534
+ }[];
535
+ }[];
536
+ nextCursor: string | null;
537
+ }>;
538
+ categories(query?: z.input<typeof CatalogCategoriesQuerySchema>, options?: RequestOptions): Promise<{
539
+ categories: string[];
540
+ }>;
541
+ get(releaseId: string, options?: RequestOptions): Promise<{
542
+ summary: {
543
+ id: string;
544
+ namespace: string;
545
+ publisherName: string;
546
+ metadata: {
547
+ slug: string;
548
+ title: string;
549
+ description: string;
550
+ license: string;
551
+ sourceUrl: string | null;
552
+ attribution: string;
553
+ category: string;
554
+ };
555
+ release: {
556
+ id: string;
557
+ revision: number;
558
+ contentHash: string;
559
+ };
560
+ packageHash: string;
561
+ snapshotHash: string;
562
+ taskCount: number;
563
+ sizeBytes: number;
564
+ publishedAt: string;
565
+ buildIntent: string;
566
+ methodHint: string | null;
567
+ graders: {
568
+ id: string;
569
+ version: string;
570
+ kind: string;
571
+ reward: {
572
+ id: string;
573
+ revision: number;
574
+ contentHash: string;
575
+ };
576
+ readiness: string;
577
+ runtime: string;
578
+ assetCount: number;
579
+ }[];
580
+ };
581
+ versions: {
582
+ id: string;
583
+ namespace: string;
584
+ publisherName: string;
585
+ metadata: {
586
+ slug: string;
587
+ title: string;
588
+ description: string;
589
+ license: string;
590
+ sourceUrl: string | null;
591
+ attribution: string;
592
+ category: string;
593
+ };
594
+ release: {
595
+ id: string;
596
+ revision: number;
597
+ contentHash: string;
598
+ };
599
+ packageHash: string;
600
+ snapshotHash: string;
601
+ taskCount: number;
602
+ sizeBytes: number;
603
+ publishedAt: string;
604
+ buildIntent: string;
605
+ methodHint: string | null;
606
+ graders: {
607
+ id: string;
608
+ version: string;
609
+ kind: string;
610
+ reward: {
611
+ id: string;
612
+ revision: number;
613
+ contentHash: string;
614
+ };
615
+ readiness: string;
616
+ runtime: string;
617
+ assetCount: number;
618
+ }[];
619
+ }[];
620
+ }>;
621
+ lookup(namespace: string, slug: string, revision?: number, options?: RequestOptions): Promise<{
622
+ summary: {
623
+ id: string;
624
+ namespace: string;
625
+ publisherName: string;
626
+ metadata: {
627
+ slug: string;
628
+ title: string;
629
+ description: string;
630
+ license: string;
631
+ sourceUrl: string | null;
632
+ attribution: string;
633
+ category: string;
634
+ };
635
+ release: {
636
+ id: string;
637
+ revision: number;
638
+ contentHash: string;
639
+ };
640
+ packageHash: string;
641
+ snapshotHash: string;
642
+ taskCount: number;
643
+ sizeBytes: number;
644
+ publishedAt: string;
645
+ buildIntent: string;
646
+ methodHint: string | null;
647
+ graders: {
648
+ id: string;
649
+ version: string;
650
+ kind: string;
651
+ reward: {
652
+ id: string;
653
+ revision: number;
654
+ contentHash: string;
655
+ };
656
+ readiness: string;
657
+ runtime: string;
658
+ assetCount: number;
659
+ }[];
660
+ };
661
+ versions: {
662
+ id: string;
663
+ namespace: string;
664
+ publisherName: string;
665
+ metadata: {
666
+ slug: string;
667
+ title: string;
668
+ description: string;
669
+ license: string;
670
+ sourceUrl: string | null;
671
+ attribution: string;
672
+ category: string;
673
+ };
674
+ release: {
675
+ id: string;
676
+ revision: number;
677
+ contentHash: string;
678
+ };
679
+ packageHash: string;
680
+ snapshotHash: string;
681
+ taskCount: number;
682
+ sizeBytes: number;
683
+ publishedAt: string;
684
+ buildIntent: string;
685
+ methodHint: string | null;
686
+ graders: {
687
+ id: string;
688
+ version: string;
689
+ kind: string;
690
+ reward: {
691
+ id: string;
692
+ revision: number;
693
+ contentHash: string;
694
+ };
695
+ readiness: string;
696
+ runtime: string;
697
+ assetCount: number;
698
+ }[];
699
+ }[];
700
+ }>;
701
+ preview(releaseId: string, query?: z.input<typeof CatalogPreviewQuerySchema>, options?: RequestOptions): Promise<{
702
+ items: {
703
+ id: string;
704
+ split: string;
705
+ input: Record<string, unknown>;
706
+ policyVisibleContext: Record<string, unknown>;
707
+ artifacts: {
708
+ id: string;
709
+ path: string;
710
+ mediaType: string;
711
+ sizeBytes: number;
712
+ }[];
713
+ }[];
714
+ nextCursor: number | null;
715
+ total: number;
716
+ }>;
717
+ adopt(input: z.infer<typeof AdoptCatalogDataset>, options?: RequestOptions): Promise<{
718
+ operationId: string;
719
+ releaseId: string;
720
+ teamId: string;
721
+ tasksetId: string;
722
+ release: {
723
+ id: string;
724
+ revision: number;
725
+ contentHash: string;
726
+ };
727
+ packageHash: string;
728
+ snapshotHash: string;
729
+ graders: {
730
+ id: string;
731
+ version: string;
732
+ kind: string;
733
+ reward: {
734
+ id: string;
735
+ revision: number;
736
+ contentHash: string;
737
+ };
738
+ readiness: string;
739
+ runtime: string;
740
+ assetCount: number;
741
+ }[];
742
+ projectId: string | null;
743
+ }>;
744
+ publish(input: z.infer<typeof PublishCatalogDataset>, options?: RequestOptions): Promise<{
745
+ operationId: string;
746
+ releaseId: string;
747
+ visibility: "private" | "public";
748
+ visibilityRevision: number;
749
+ summary: {
750
+ id: string;
751
+ namespace: string;
752
+ publisherName: string;
753
+ metadata: {
754
+ slug: string;
755
+ title: string;
756
+ description: string;
757
+ license: string;
758
+ sourceUrl: string | null;
759
+ attribution: string;
760
+ category: string;
761
+ };
762
+ release: {
763
+ id: string;
764
+ revision: number;
765
+ contentHash: string;
766
+ };
767
+ packageHash: string;
768
+ snapshotHash: string;
769
+ taskCount: number;
770
+ sizeBytes: number;
771
+ publishedAt: string;
772
+ buildIntent: string;
773
+ methodHint: string | null;
774
+ graders: {
775
+ id: string;
776
+ version: string;
777
+ kind: string;
778
+ reward: {
779
+ id: string;
780
+ revision: number;
781
+ contentHash: string;
782
+ };
783
+ readiness: string;
784
+ runtime: string;
785
+ assetCount: number;
786
+ }[];
787
+ };
788
+ }>;
789
+ changeVisibility(input: z.infer<typeof CatalogVisibilityChange>, options?: RequestOptions): Promise<{
790
+ operationId: string;
791
+ releaseId: string;
792
+ visibility: "private" | "public";
793
+ visibilityRevision: number;
794
+ summary: {
795
+ id: string;
796
+ namespace: string;
797
+ publisherName: string;
798
+ metadata: {
799
+ slug: string;
800
+ title: string;
801
+ description: string;
802
+ license: string;
803
+ sourceUrl: string | null;
804
+ attribution: string;
805
+ category: string;
806
+ };
807
+ release: {
808
+ id: string;
809
+ revision: number;
810
+ contentHash: string;
811
+ };
812
+ packageHash: string;
813
+ snapshotHash: string;
814
+ taskCount: number;
815
+ sizeBytes: number;
816
+ publishedAt: string;
817
+ buildIntent: string;
818
+ methodHint: string | null;
819
+ graders: {
820
+ id: string;
821
+ version: string;
822
+ kind: string;
823
+ reward: {
824
+ id: string;
825
+ revision: number;
826
+ contentHash: string;
827
+ };
828
+ readiness: string;
829
+ runtime: string;
830
+ assetCount: number;
831
+ }[];
832
+ };
833
+ }>;
834
+ visibility(tasksetId: string, options?: RequestOptions): Promise<{
835
+ publisher: {
836
+ namespace: string;
837
+ teamId: string;
838
+ displayName: string;
839
+ };
840
+ summary: {
841
+ id: string;
842
+ namespace: string;
843
+ publisherName: string;
844
+ metadata: {
845
+ slug: string;
846
+ title: string;
847
+ description: string;
848
+ license: string;
849
+ sourceUrl: string | null;
850
+ attribution: string;
851
+ category: string;
852
+ };
853
+ release: {
854
+ id: string;
855
+ revision: number;
856
+ contentHash: string;
857
+ };
858
+ packageHash: string;
859
+ snapshotHash: string;
860
+ taskCount: number;
861
+ sizeBytes: number;
862
+ publishedAt: string;
863
+ buildIntent: string;
864
+ methodHint: string | null;
865
+ graders: {
866
+ id: string;
867
+ version: string;
868
+ kind: string;
869
+ reward: {
870
+ id: string;
871
+ revision: number;
872
+ contentHash: string;
873
+ };
874
+ readiness: string;
875
+ runtime: string;
876
+ assetCount: number;
877
+ }[];
878
+ } | null;
879
+ visibility: "private" | "public";
880
+ visibilityRevision: number;
881
+ release: {
882
+ id: string;
883
+ revision: number;
884
+ contentHash: string;
885
+ };
886
+ packageHash: string;
887
+ taskCount: number;
888
+ fileCount: number;
889
+ sizeBytes: number;
890
+ }>;
891
+ checks(operationId: string, tasksetId: string, options?: RequestOptions): Promise<{
892
+ operationId: string;
893
+ tasksetId: string;
894
+ snapshotHash: string;
895
+ status: "passed" | "failed" | "unavailable";
896
+ fixtures: {
897
+ id: string;
898
+ taskId: string;
899
+ score: number | null;
900
+ passed: boolean;
901
+ expectationMatched: boolean;
902
+ evidenceHash: string;
903
+ }[];
904
+ providerCalls: 0;
905
+ runtime: string;
906
+ }>;
907
+ retained(tasksetId: string, options?: RequestOptions): Promise<{
908
+ receipt: {
909
+ operationId: string;
910
+ releaseId: string;
911
+ teamId: string;
912
+ tasksetId: string;
913
+ release: {
914
+ id: string;
915
+ revision: number;
916
+ contentHash: string;
917
+ };
918
+ packageHash: string;
919
+ snapshotHash: string;
920
+ graders: {
921
+ id: string;
922
+ version: string;
923
+ kind: string;
924
+ reward: {
925
+ id: string;
926
+ revision: number;
927
+ contentHash: string;
928
+ };
929
+ readiness: string;
930
+ runtime: string;
931
+ assetCount: number;
932
+ }[];
933
+ projectId: string | null;
934
+ };
935
+ check: {
936
+ operationId: string;
937
+ tasksetId: string;
938
+ snapshotHash: string;
939
+ status: "passed" | "failed" | "unavailable";
940
+ fixtures: {
941
+ id: string;
942
+ taskId: string;
943
+ score: number | null;
944
+ passed: boolean;
945
+ expectationMatched: boolean;
946
+ evidenceHash: string;
947
+ }[];
948
+ providerCalls: 0;
949
+ runtime: string;
950
+ } | null;
951
+ } | null>;
952
+ }
953
+ export {};
954
+ //# sourceMappingURL=dataset-marketplace.d.ts.map