@playcraft/common 0.1.64 → 0.1.65

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 (39) hide show
  1. package/dist/agent-tools/replica-validation.d.ts +7 -7
  2. package/dist/agent-tools/video-replication.d.ts +9 -9
  3. package/dist/cloud-workspace/runtime/agent-command.d.ts +3 -3
  4. package/dist/cloud-workspace/runtime/agent-mutation.d.ts +3 -3
  5. package/dist/cloud-workspace/runtime/agent-variant-git.d.ts +2 -2
  6. package/dist/cloud-workspace/runtime/artifacts.d.ts +1 -1
  7. package/dist/cloud-workspace/runtime/artifacts.d.ts.map +1 -1
  8. package/dist/cloud-workspace/runtime/artifacts.js +1 -1
  9. package/dist/cloud-workspace/runtime/artifacts.js.map +1 -1
  10. package/dist/cloud-workspace/runtime/asset-generation.d.ts +4 -4
  11. package/dist/cloud-workspace/runtime/asset-library-save.d.ts +2 -2
  12. package/dist/cloud-workspace/runtime/batch-runs.d.ts +5 -5
  13. package/dist/cloud-workspace/runtime/delivery-format.d.ts +21 -0
  14. package/dist/cloud-workspace/runtime/delivery-format.d.ts.map +1 -1
  15. package/dist/cloud-workspace/runtime/delivery-format.js +36 -0
  16. package/dist/cloud-workspace/runtime/delivery-format.js.map +1 -1
  17. package/dist/cloud-workspace/runtime/delivery.d.ts +29 -0
  18. package/dist/cloud-workspace/runtime/delivery.d.ts.map +1 -1
  19. package/dist/cloud-workspace/runtime/delivery.js +23 -0
  20. package/dist/cloud-workspace/runtime/delivery.js.map +1 -1
  21. package/dist/cloud-workspace/runtime/execution-admission.d.ts +2 -2
  22. package/dist/cloud-workspace/runtime/index.d.ts +1 -0
  23. package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
  24. package/dist/cloud-workspace/runtime/index.js +1 -0
  25. package/dist/cloud-workspace/runtime/index.js.map +1 -1
  26. package/dist/cloud-workspace/runtime/model-production.d.ts +2182 -0
  27. package/dist/cloud-workspace/runtime/model-production.d.ts.map +1 -0
  28. package/dist/cloud-workspace/runtime/model-production.js +126 -0
  29. package/dist/cloud-workspace/runtime/model-production.js.map +1 -0
  30. package/dist/cloud-workspace/runtime/model-quality.d.ts +61 -18
  31. package/dist/cloud-workspace/runtime/model-quality.d.ts.map +1 -1
  32. package/dist/cloud-workspace/runtime/model-quality.js +9 -6
  33. package/dist/cloud-workspace/runtime/model-quality.js.map +1 -1
  34. package/dist/cloud-workspace/runtime/operations.d.ts +81 -7
  35. package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
  36. package/dist/cloud-workspace/runtime/operations.js +4 -1
  37. package/dist/cloud-workspace/runtime/operations.js.map +1 -1
  38. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +1 -1
  39. package/package.json +1 -1
@@ -0,0 +1,2182 @@
1
+ import { z } from 'zod';
2
+ export declare const modelProductionScopeSchema: z.ZodObject<{
3
+ workspaceId: z.ZodString;
4
+ directoryName: z.ZodString;
5
+ }, z.core.$strict>;
6
+ export declare const modelProductionReferenceSchema: z.ZodObject<{
7
+ scope: z.ZodObject<{
8
+ workspaceId: z.ZodString;
9
+ directoryName: z.ZodString;
10
+ }, z.core.$strict>;
11
+ path: z.ZodString;
12
+ contentHash: z.ZodString;
13
+ }, z.core.$strict>;
14
+ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15
+ kind: z.ZodLiteral<"resource">;
16
+ scope: z.ZodObject<{
17
+ workspaceId: z.ZodString;
18
+ directoryName: z.ZodString;
19
+ }, z.core.$strict>;
20
+ source: z.ZodObject<{
21
+ kind: z.ZodLiteral<"resource">;
22
+ path: z.ZodString;
23
+ contentHash: z.ZodString;
24
+ files: z.ZodArray<z.ZodObject<{
25
+ path: z.ZodString;
26
+ contentHash: z.ZodString;
27
+ }, z.core.$strict>>;
28
+ }, z.core.$strict>;
29
+ }, z.core.$strict>, z.ZodObject<{
30
+ kind: z.ZodLiteral<"generation-task">;
31
+ scope: z.ZodObject<{
32
+ workspaceId: z.ZodString;
33
+ directoryName: z.ZodString;
34
+ }, z.core.$strict>;
35
+ taskId: z.ZodString;
36
+ outputId: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ kind: z.ZodLiteral<"generate">;
39
+ request: z.ZodDiscriminatedUnion<[z.ZodObject<{
40
+ prompt: z.ZodString;
41
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
42
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
43
+ "image/png": "image/png";
44
+ "image/jpeg": "image/jpeg";
45
+ "image/webp": "image/webp";
46
+ }>>;
47
+ mode: z.ZodEnum<{
48
+ text: "text";
49
+ reference: "reference";
50
+ }>;
51
+ videoModelRef: z.ZodOptional<z.ZodString>;
52
+ duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<10>, z.ZodLiteral<15>]>>;
53
+ aspectRatio: z.ZodDefault<z.ZodEnum<{
54
+ "16:9": "16:9";
55
+ "9:16": "9:16";
56
+ "1:1": "1:1";
57
+ }>>;
58
+ resolution: z.ZodDefault<z.ZodEnum<{
59
+ "720P": "720P";
60
+ "1080P": "1080P";
61
+ }>>;
62
+ audio: z.ZodDefault<z.ZodBoolean>;
63
+ kind: z.ZodLiteral<"video">;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ prompt: z.ZodString;
66
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
67
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
68
+ "image/png": "image/png";
69
+ "image/jpeg": "image/jpeg";
70
+ "image/webp": "image/webp";
71
+ }>>;
72
+ imageModelRef: z.ZodOptional<z.ZodString>;
73
+ frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
74
+ frameWidth: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
75
+ frameHeight: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
76
+ columns: z.ZodNumber;
77
+ fps: z.ZodNumber;
78
+ removeBackground: z.ZodOptional<z.ZodBoolean>;
79
+ kind: z.ZodLiteral<"sprite">;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ prompt: z.ZodString;
82
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
83
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
84
+ "image/png": "image/png";
85
+ "image/jpeg": "image/jpeg";
86
+ "image/webp": "image/webp";
87
+ }>>;
88
+ imageModelRef: z.ZodOptional<z.ZodString>;
89
+ frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
90
+ frameWidth: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
91
+ frameHeight: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
92
+ columns: z.ZodNumber;
93
+ fps: z.ZodNumber;
94
+ removeBackground: z.ZodOptional<z.ZodBoolean>;
95
+ kind: z.ZodLiteral<"animation">;
96
+ }, z.core.$strict>, z.ZodObject<{
97
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
98
+ base64: z.ZodString;
99
+ mimeType: z.ZodEnum<{
100
+ "image/png": "image/png";
101
+ "image/jpeg": "image/jpeg";
102
+ "image/webp": "image/webp";
103
+ }>;
104
+ }, z.core.$strict>>>;
105
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
106
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
107
+ "image/png": "image/png";
108
+ "image/jpeg": "image/jpeg";
109
+ "image/webp": "image/webp";
110
+ }>>;
111
+ imageModelRef: z.ZodOptional<z.ZodString>;
112
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
113
+ "16:9": "16:9";
114
+ "9:16": "9:16";
115
+ "1:1": "1:1";
116
+ "45:16": "45:16";
117
+ "3:4": "3:4";
118
+ "4:3": "4:3";
119
+ "2:3": "2:3";
120
+ "3:2": "3:2";
121
+ "21:9": "21:9";
122
+ }>>;
123
+ imageSize: z.ZodOptional<z.ZodEnum<{
124
+ "1K": "1K";
125
+ "2K": "2K";
126
+ "4K": "4K";
127
+ }>>;
128
+ width: z.ZodOptional<z.ZodNumber>;
129
+ height: z.ZodOptional<z.ZodNumber>;
130
+ format: z.ZodOptional<z.ZodEnum<{
131
+ png: "png";
132
+ webp: "webp";
133
+ jpeg: "jpeg";
134
+ }>>;
135
+ removeBackground: z.ZodOptional<z.ZodBoolean>;
136
+ background: z.ZodOptional<z.ZodEnum<{
137
+ transparent: "transparent";
138
+ opaque: "opaque";
139
+ }>>;
140
+ fitMode: z.ZodOptional<z.ZodEnum<{
141
+ fill: "fill";
142
+ contain: "contain";
143
+ cover: "cover";
144
+ }>>;
145
+ paddingColor: z.ZodOptional<z.ZodString>;
146
+ imageCount: z.ZodOptional<z.ZodNumber>;
147
+ kind: z.ZodLiteral<"image">;
148
+ prompt: z.ZodString;
149
+ }, z.core.$strict>, z.ZodObject<{
150
+ kind: z.ZodLiteral<"audio">;
151
+ category: z.ZodEnum<{
152
+ sfx: "sfx";
153
+ bgm: "bgm";
154
+ }>;
155
+ description: z.ZodString;
156
+ duration: z.ZodOptional<z.ZodNumber>;
157
+ loop: z.ZodOptional<z.ZodBoolean>;
158
+ style: z.ZodOptional<z.ZodString>;
159
+ bpm: z.ZodOptional<z.ZodNumber>;
160
+ }, z.core.$strict>, z.ZodObject<{
161
+ prompt: z.ZodOptional<z.ZodString>;
162
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
163
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
164
+ "image/png": "image/png";
165
+ "image/jpeg": "image/jpeg";
166
+ "image/webp": "image/webp";
167
+ }>>;
168
+ multiViewImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
169
+ view: z.ZodEnum<{
170
+ right: "right";
171
+ back: "back";
172
+ left: "left";
173
+ top: "top";
174
+ bottom: "bottom";
175
+ left_front: "left_front";
176
+ right_front: "right_front";
177
+ }>;
178
+ imageBase64: z.ZodString;
179
+ mimeType: z.ZodOptional<z.ZodEnum<{
180
+ "image/png": "image/png";
181
+ "image/jpeg": "image/jpeg";
182
+ "image/webp": "image/webp";
183
+ }>>;
184
+ }, z.core.$strict>>>;
185
+ modelRef: z.ZodOptional<z.ZodString>;
186
+ outputFormat: z.ZodOptional<z.ZodEnum<{
187
+ glb: "glb";
188
+ obj: "obj";
189
+ stl: "stl";
190
+ fbx: "fbx";
191
+ usdz: "usdz";
192
+ }>>;
193
+ generateType: z.ZodOptional<z.ZodEnum<{
194
+ Normal: "Normal";
195
+ Geometry: "Geometry";
196
+ LowPoly: "LowPoly";
197
+ Sketch: "Sketch";
198
+ }>>;
199
+ faceCount: z.ZodOptional<z.ZodNumber>;
200
+ enablePBR: z.ZodOptional<z.ZodBoolean>;
201
+ polygonType: z.ZodOptional<z.ZodEnum<{
202
+ triangle: "triangle";
203
+ quadrilateral: "quadrilateral";
204
+ }>>;
205
+ kind: z.ZodLiteral<"model">;
206
+ mode: z.ZodEnum<{
207
+ text: "text";
208
+ reference: "reference";
209
+ }>;
210
+ }, z.core.$strict>], "kind"> & z.ZodType<{
211
+ kind: "model";
212
+ mode: "text" | "reference";
213
+ prompt?: string | undefined;
214
+ referenceImageBase64?: string | undefined;
215
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
216
+ multiViewImages?: {
217
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
218
+ imageBase64: string;
219
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
220
+ }[] | undefined;
221
+ modelRef?: string | undefined;
222
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
223
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
224
+ faceCount?: number | undefined;
225
+ enablePBR?: boolean | undefined;
226
+ polygonType?: "triangle" | "quadrilateral" | undefined;
227
+ }, {
228
+ prompt: string;
229
+ mode: "text" | "reference";
230
+ kind: "video";
231
+ referenceImageBase64?: string | undefined;
232
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
233
+ videoModelRef?: string | undefined;
234
+ duration?: 5 | 15 | 10 | undefined;
235
+ aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
236
+ resolution?: "720P" | "1080P" | undefined;
237
+ audio?: boolean | undefined;
238
+ } | {
239
+ prompt: string;
240
+ frameCount: 12 | 8 | 16 | 6;
241
+ frameWidth: 256 | 512 | 128;
242
+ frameHeight: 256 | 512 | 128;
243
+ columns: number;
244
+ fps: number;
245
+ kind: "sprite";
246
+ referenceImageBase64?: string | undefined;
247
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
248
+ imageModelRef?: string | undefined;
249
+ removeBackground?: boolean | undefined;
250
+ } | {
251
+ prompt: string;
252
+ frameCount: 12 | 8 | 16 | 6;
253
+ frameWidth: 256 | 512 | 128;
254
+ frameHeight: 256 | 512 | 128;
255
+ columns: number;
256
+ fps: number;
257
+ kind: "animation";
258
+ referenceImageBase64?: string | undefined;
259
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
260
+ imageModelRef?: string | undefined;
261
+ removeBackground?: boolean | undefined;
262
+ } | {
263
+ kind: "image";
264
+ prompt: string;
265
+ referenceImages?: {
266
+ base64: string;
267
+ mimeType: "image/png" | "image/jpeg" | "image/webp";
268
+ }[] | undefined;
269
+ referenceImageBase64?: string | undefined;
270
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
271
+ imageModelRef?: string | undefined;
272
+ aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
273
+ imageSize?: "1K" | "2K" | "4K" | undefined;
274
+ width?: number | undefined;
275
+ height?: number | undefined;
276
+ format?: "png" | "webp" | "jpeg" | undefined;
277
+ removeBackground?: boolean | undefined;
278
+ background?: "transparent" | "opaque" | undefined;
279
+ fitMode?: "fill" | "contain" | "cover" | undefined;
280
+ paddingColor?: string | undefined;
281
+ imageCount?: number | undefined;
282
+ } | {
283
+ kind: "audio";
284
+ category: "sfx" | "bgm";
285
+ description: string;
286
+ duration?: number | undefined;
287
+ loop?: boolean | undefined;
288
+ style?: string | undefined;
289
+ bpm?: number | undefined;
290
+ } | {
291
+ kind: "model";
292
+ mode: "text" | "reference";
293
+ prompt?: string | undefined;
294
+ referenceImageBase64?: string | undefined;
295
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
296
+ multiViewImages?: {
297
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
298
+ imageBase64: string;
299
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
300
+ }[] | undefined;
301
+ modelRef?: string | undefined;
302
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
303
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
304
+ faceCount?: number | undefined;
305
+ enablePBR?: boolean | undefined;
306
+ polygonType?: "triangle" | "quadrilateral" | undefined;
307
+ }, z.core.$ZodTypeInternals<{
308
+ kind: "model";
309
+ mode: "text" | "reference";
310
+ prompt?: string | undefined;
311
+ referenceImageBase64?: string | undefined;
312
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
313
+ multiViewImages?: {
314
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
315
+ imageBase64: string;
316
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
317
+ }[] | undefined;
318
+ modelRef?: string | undefined;
319
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
320
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
321
+ faceCount?: number | undefined;
322
+ enablePBR?: boolean | undefined;
323
+ polygonType?: "triangle" | "quadrilateral" | undefined;
324
+ }, {
325
+ prompt: string;
326
+ mode: "text" | "reference";
327
+ kind: "video";
328
+ referenceImageBase64?: string | undefined;
329
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
330
+ videoModelRef?: string | undefined;
331
+ duration?: 5 | 15 | 10 | undefined;
332
+ aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
333
+ resolution?: "720P" | "1080P" | undefined;
334
+ audio?: boolean | undefined;
335
+ } | {
336
+ prompt: string;
337
+ frameCount: 12 | 8 | 16 | 6;
338
+ frameWidth: 256 | 512 | 128;
339
+ frameHeight: 256 | 512 | 128;
340
+ columns: number;
341
+ fps: number;
342
+ kind: "sprite";
343
+ referenceImageBase64?: string | undefined;
344
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
345
+ imageModelRef?: string | undefined;
346
+ removeBackground?: boolean | undefined;
347
+ } | {
348
+ prompt: string;
349
+ frameCount: 12 | 8 | 16 | 6;
350
+ frameWidth: 256 | 512 | 128;
351
+ frameHeight: 256 | 512 | 128;
352
+ columns: number;
353
+ fps: number;
354
+ kind: "animation";
355
+ referenceImageBase64?: string | undefined;
356
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
357
+ imageModelRef?: string | undefined;
358
+ removeBackground?: boolean | undefined;
359
+ } | {
360
+ kind: "image";
361
+ prompt: string;
362
+ referenceImages?: {
363
+ base64: string;
364
+ mimeType: "image/png" | "image/jpeg" | "image/webp";
365
+ }[] | undefined;
366
+ referenceImageBase64?: string | undefined;
367
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
368
+ imageModelRef?: string | undefined;
369
+ aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
370
+ imageSize?: "1K" | "2K" | "4K" | undefined;
371
+ width?: number | undefined;
372
+ height?: number | undefined;
373
+ format?: "png" | "webp" | "jpeg" | undefined;
374
+ removeBackground?: boolean | undefined;
375
+ background?: "transparent" | "opaque" | undefined;
376
+ fitMode?: "fill" | "contain" | "cover" | undefined;
377
+ paddingColor?: string | undefined;
378
+ imageCount?: number | undefined;
379
+ } | {
380
+ kind: "audio";
381
+ category: "sfx" | "bgm";
382
+ description: string;
383
+ duration?: number | undefined;
384
+ loop?: boolean | undefined;
385
+ style?: string | undefined;
386
+ bpm?: number | undefined;
387
+ } | {
388
+ kind: "model";
389
+ mode: "text" | "reference";
390
+ prompt?: string | undefined;
391
+ referenceImageBase64?: string | undefined;
392
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
393
+ multiViewImages?: {
394
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
395
+ imageBase64: string;
396
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
397
+ }[] | undefined;
398
+ modelRef?: string | undefined;
399
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
400
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
401
+ faceCount?: number | undefined;
402
+ enablePBR?: boolean | undefined;
403
+ polygonType?: "triangle" | "quadrilateral" | undefined;
404
+ }>>;
405
+ }, z.core.$strict>, z.ZodObject<{
406
+ kind: z.ZodLiteral<"procedural">;
407
+ scope: z.ZodObject<{
408
+ workspaceId: z.ZodString;
409
+ directoryName: z.ZodString;
410
+ }, z.core.$strict>;
411
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
412
+ kind: z.ZodLiteral<"resource">;
413
+ path: z.ZodString;
414
+ contentHash: z.ZodString;
415
+ files: z.ZodArray<z.ZodObject<{
416
+ path: z.ZodString;
417
+ contentHash: z.ZodString;
418
+ }, z.core.$strict>>;
419
+ }, z.core.$strict>, z.ZodObject<{
420
+ kind: z.ZodLiteral<"procedural">;
421
+ runId: z.ZodString;
422
+ candidateId: z.ZodString;
423
+ sourceHash: z.ZodString;
424
+ dependencyHash: z.ZodString;
425
+ previewId: z.ZodString;
426
+ contentHash: z.ZodString;
427
+ parameterHash: z.ZodString;
428
+ sourceRoot: z.ZodString;
429
+ parametersPath: z.ZodString;
430
+ }, z.core.$strict>], "kind"> & z.ZodType<{
431
+ kind: "procedural";
432
+ runId: string;
433
+ candidateId: string;
434
+ sourceHash: string;
435
+ dependencyHash: string;
436
+ previewId: string;
437
+ contentHash: string;
438
+ parameterHash: string;
439
+ sourceRoot: string;
440
+ parametersPath: string;
441
+ }, {
442
+ kind: "resource";
443
+ path: string;
444
+ contentHash: string;
445
+ files: {
446
+ path: string;
447
+ contentHash: string;
448
+ }[];
449
+ } | {
450
+ kind: "procedural";
451
+ runId: string;
452
+ candidateId: string;
453
+ sourceHash: string;
454
+ dependencyHash: string;
455
+ previewId: string;
456
+ contentHash: string;
457
+ parameterHash: string;
458
+ sourceRoot: string;
459
+ parametersPath: string;
460
+ }, z.core.$ZodTypeInternals<{
461
+ kind: "procedural";
462
+ runId: string;
463
+ candidateId: string;
464
+ sourceHash: string;
465
+ dependencyHash: string;
466
+ previewId: string;
467
+ contentHash: string;
468
+ parameterHash: string;
469
+ sourceRoot: string;
470
+ parametersPath: string;
471
+ }, {
472
+ kind: "resource";
473
+ path: string;
474
+ contentHash: string;
475
+ files: {
476
+ path: string;
477
+ contentHash: string;
478
+ }[];
479
+ } | {
480
+ kind: "procedural";
481
+ runId: string;
482
+ candidateId: string;
483
+ sourceHash: string;
484
+ dependencyHash: string;
485
+ previewId: string;
486
+ contentHash: string;
487
+ parameterHash: string;
488
+ sourceRoot: string;
489
+ parametersPath: string;
490
+ }>>;
491
+ }, z.core.$strict>], "kind">;
492
+ export declare const modelProductionRepairSchema: z.ZodObject<{
493
+ schemaVersion: z.ZodLiteral<1>;
494
+ parentContentHash: z.ZodString;
495
+ maximumDisplacementFraction: z.ZodNumber;
496
+ vertexRepairs: z.ZodArray<z.ZodObject<{
497
+ weldedPositionId: z.ZodNumber;
498
+ beforeLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
499
+ afterLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
500
+ }, z.core.$strict>>;
501
+ }, z.core.$strict>;
502
+ export declare const modelProductionSplitSchema: z.ZodObject<{
503
+ plane: z.ZodObject<{
504
+ normal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
505
+ constant: z.ZodNumber;
506
+ }, z.core.$strict>;
507
+ hingeAxis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
508
+ innerScale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
509
+ lidInnerLift: z.ZodNumber;
510
+ minimumThickness: z.ZodNumber;
511
+ hingeBackClearance: z.ZodNumber;
512
+ openAngleDegrees: z.ZodNumber;
513
+ maximumAuxiliaryAreaFraction: z.ZodOptional<z.ZodNumber>;
514
+ omitMicroscopicAuxiliary: z.ZodOptional<z.ZodBoolean>;
515
+ bodyInterior: z.ZodOptional<z.ZodObject<{
516
+ kind: z.ZodLiteral<"smooth-inset">;
517
+ minU: z.ZodNumber;
518
+ maxU: z.ZodNumber;
519
+ minV: z.ZodNumber;
520
+ maxV: z.ZodNumber;
521
+ floorHeight: z.ZodNumber;
522
+ }, z.core.$strict>>;
523
+ }, z.core.$strict>;
524
+ export declare const modelProductionRecipeSchema: z.ZodObject<{
525
+ repair: z.ZodOptional<z.ZodObject<{
526
+ schemaVersion: z.ZodLiteral<1>;
527
+ parentContentHash: z.ZodString;
528
+ maximumDisplacementFraction: z.ZodNumber;
529
+ vertexRepairs: z.ZodArray<z.ZodObject<{
530
+ weldedPositionId: z.ZodNumber;
531
+ beforeLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
532
+ afterLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
533
+ }, z.core.$strict>>;
534
+ }, z.core.$strict>>;
535
+ split: z.ZodOptional<z.ZodObject<{
536
+ plane: z.ZodObject<{
537
+ normal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
538
+ constant: z.ZodNumber;
539
+ }, z.core.$strict>;
540
+ hingeAxis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
541
+ innerScale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
542
+ lidInnerLift: z.ZodNumber;
543
+ minimumThickness: z.ZodNumber;
544
+ hingeBackClearance: z.ZodNumber;
545
+ openAngleDegrees: z.ZodNumber;
546
+ maximumAuxiliaryAreaFraction: z.ZodOptional<z.ZodNumber>;
547
+ omitMicroscopicAuxiliary: z.ZodOptional<z.ZodBoolean>;
548
+ bodyInterior: z.ZodOptional<z.ZodObject<{
549
+ kind: z.ZodLiteral<"smooth-inset">;
550
+ minU: z.ZodNumber;
551
+ maxU: z.ZodNumber;
552
+ minV: z.ZodNumber;
553
+ maxV: z.ZodNumber;
554
+ floorHeight: z.ZodNumber;
555
+ }, z.core.$strict>>;
556
+ }, z.core.$strict>>;
557
+ optimize: z.ZodOptional<z.ZodObject<{
558
+ textureSize: z.ZodDefault<z.ZodNumber>;
559
+ textureFormat: z.ZodOptional<z.ZodEnum<{
560
+ png: "png";
561
+ jpeg: "jpeg";
562
+ }>>;
563
+ quality: z.ZodDefault<z.ZodNumber>;
564
+ texturesOnly: z.ZodDefault<z.ZodLiteral<true>>;
565
+ }, z.core.$strict>>;
566
+ adaptation: z.ZodOptional<z.ZodObject<{
567
+ schemaVersion: z.ZodLiteral<1>;
568
+ source: z.ZodObject<{
569
+ kind: z.ZodLiteral<"resource">;
570
+ path: z.ZodString;
571
+ contentHash: z.ZodString;
572
+ files: z.ZodArray<z.ZodObject<{
573
+ path: z.ZodString;
574
+ contentHash: z.ZodString;
575
+ }, z.core.$strict>>;
576
+ }, z.core.$strict>;
577
+ normalization: z.ZodDefault<z.ZodObject<{
578
+ unitScale: z.ZodDefault<z.ZodNumber>;
579
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
580
+ }, z.core.$strict>>;
581
+ transform: z.ZodDefault<z.ZodObject<{
582
+ position: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
583
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
584
+ scale: z.ZodDefault<z.ZodNumber>;
585
+ }, z.core.$strict>>;
586
+ materialOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
587
+ nodeRef: z.ZodObject<{
588
+ sourceNodeId: z.ZodString;
589
+ geometryHash: z.ZodString;
590
+ }, z.core.$strict>;
591
+ materialIndex: z.ZodNumber;
592
+ tint: z.ZodOptional<z.ZodString>;
593
+ roughness: z.ZodOptional<z.ZodNumber>;
594
+ metalness: z.ZodOptional<z.ZodNumber>;
595
+ }, z.core.$strict>>>;
596
+ visibility: z.ZodDefault<z.ZodArray<z.ZodObject<{
597
+ nodeRef: z.ZodObject<{
598
+ sourceNodeId: z.ZodString;
599
+ geometryHash: z.ZodString;
600
+ }, z.core.$strict>;
601
+ visible: z.ZodBoolean;
602
+ }, z.core.$strict>>>;
603
+ hinges: z.ZodDefault<z.ZodArray<z.ZodObject<{
604
+ id: z.ZodString;
605
+ movingNodeRef: z.ZodObject<{
606
+ sourceNodeId: z.ZodString;
607
+ geometryHash: z.ZodString;
608
+ }, z.core.$strict>;
609
+ bodyNodeRefs: z.ZodArray<z.ZodObject<{
610
+ sourceNodeId: z.ZodString;
611
+ geometryHash: z.ZodString;
612
+ }, z.core.$strict>>;
613
+ pivot: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
614
+ axis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
615
+ openAngleDegrees: z.ZodNumber;
616
+ }, z.core.$strict>>>;
617
+ }, z.core.$strict>>;
618
+ }, z.core.$strict>;
619
+ export declare const modelProductionPolicySchema: z.ZodObject<{
620
+ requiredCapability: z.ZodDefault<z.ZodEnum<{
621
+ static: "static";
622
+ "rigid-hinge": "rigid-hinge";
623
+ }>>;
624
+ maxModelBytes: z.ZodDefault<z.ZodNumber>;
625
+ maxArtifactBytes: z.ZodDefault<z.ZodNumber>;
626
+ maxTriangles: z.ZodDefault<z.ZodNumber>;
627
+ maxCorrections: z.ZodDefault<z.ZodNumber>;
628
+ maxExternalRequests: z.ZodDefault<z.ZodNumber>;
629
+ allowUnpricedGeneration: z.ZodDefault<z.ZodBoolean>;
630
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
631
+ requireFunctionalValidation: z.ZodDefault<z.ZodLiteral<true>>;
632
+ requireQualityValidation: z.ZodDefault<z.ZodLiteral<true>>;
633
+ }, z.core.$strict>;
634
+ export declare const modelProductionCreateSchema: z.ZodObject<{
635
+ clientRequestId: z.ZodString;
636
+ directoryName: z.ZodDefault<z.ZodString>;
637
+ name: z.ZodDefault<z.ZodString>;
638
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
639
+ kind: z.ZodLiteral<"resource">;
640
+ scope: z.ZodObject<{
641
+ workspaceId: z.ZodString;
642
+ directoryName: z.ZodString;
643
+ }, z.core.$strict>;
644
+ source: z.ZodObject<{
645
+ kind: z.ZodLiteral<"resource">;
646
+ path: z.ZodString;
647
+ contentHash: z.ZodString;
648
+ files: z.ZodArray<z.ZodObject<{
649
+ path: z.ZodString;
650
+ contentHash: z.ZodString;
651
+ }, z.core.$strict>>;
652
+ }, z.core.$strict>;
653
+ }, z.core.$strict>, z.ZodObject<{
654
+ kind: z.ZodLiteral<"generation-task">;
655
+ scope: z.ZodObject<{
656
+ workspaceId: z.ZodString;
657
+ directoryName: z.ZodString;
658
+ }, z.core.$strict>;
659
+ taskId: z.ZodString;
660
+ outputId: z.ZodOptional<z.ZodString>;
661
+ }, z.core.$strict>, z.ZodObject<{
662
+ kind: z.ZodLiteral<"generate">;
663
+ request: z.ZodDiscriminatedUnion<[z.ZodObject<{
664
+ prompt: z.ZodString;
665
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
666
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
667
+ "image/png": "image/png";
668
+ "image/jpeg": "image/jpeg";
669
+ "image/webp": "image/webp";
670
+ }>>;
671
+ mode: z.ZodEnum<{
672
+ text: "text";
673
+ reference: "reference";
674
+ }>;
675
+ videoModelRef: z.ZodOptional<z.ZodString>;
676
+ duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<10>, z.ZodLiteral<15>]>>;
677
+ aspectRatio: z.ZodDefault<z.ZodEnum<{
678
+ "16:9": "16:9";
679
+ "9:16": "9:16";
680
+ "1:1": "1:1";
681
+ }>>;
682
+ resolution: z.ZodDefault<z.ZodEnum<{
683
+ "720P": "720P";
684
+ "1080P": "1080P";
685
+ }>>;
686
+ audio: z.ZodDefault<z.ZodBoolean>;
687
+ kind: z.ZodLiteral<"video">;
688
+ }, z.core.$strict>, z.ZodObject<{
689
+ prompt: z.ZodString;
690
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
691
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
692
+ "image/png": "image/png";
693
+ "image/jpeg": "image/jpeg";
694
+ "image/webp": "image/webp";
695
+ }>>;
696
+ imageModelRef: z.ZodOptional<z.ZodString>;
697
+ frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
698
+ frameWidth: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
699
+ frameHeight: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
700
+ columns: z.ZodNumber;
701
+ fps: z.ZodNumber;
702
+ removeBackground: z.ZodOptional<z.ZodBoolean>;
703
+ kind: z.ZodLiteral<"sprite">;
704
+ }, z.core.$strict>, z.ZodObject<{
705
+ prompt: z.ZodString;
706
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
707
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
708
+ "image/png": "image/png";
709
+ "image/jpeg": "image/jpeg";
710
+ "image/webp": "image/webp";
711
+ }>>;
712
+ imageModelRef: z.ZodOptional<z.ZodString>;
713
+ frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
714
+ frameWidth: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
715
+ frameHeight: z.ZodUnion<readonly [z.ZodLiteral<128>, z.ZodLiteral<256>, z.ZodLiteral<512>]>;
716
+ columns: z.ZodNumber;
717
+ fps: z.ZodNumber;
718
+ removeBackground: z.ZodOptional<z.ZodBoolean>;
719
+ kind: z.ZodLiteral<"animation">;
720
+ }, z.core.$strict>, z.ZodObject<{
721
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
722
+ base64: z.ZodString;
723
+ mimeType: z.ZodEnum<{
724
+ "image/png": "image/png";
725
+ "image/jpeg": "image/jpeg";
726
+ "image/webp": "image/webp";
727
+ }>;
728
+ }, z.core.$strict>>>;
729
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
730
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
731
+ "image/png": "image/png";
732
+ "image/jpeg": "image/jpeg";
733
+ "image/webp": "image/webp";
734
+ }>>;
735
+ imageModelRef: z.ZodOptional<z.ZodString>;
736
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
737
+ "16:9": "16:9";
738
+ "9:16": "9:16";
739
+ "1:1": "1:1";
740
+ "45:16": "45:16";
741
+ "3:4": "3:4";
742
+ "4:3": "4:3";
743
+ "2:3": "2:3";
744
+ "3:2": "3:2";
745
+ "21:9": "21:9";
746
+ }>>;
747
+ imageSize: z.ZodOptional<z.ZodEnum<{
748
+ "1K": "1K";
749
+ "2K": "2K";
750
+ "4K": "4K";
751
+ }>>;
752
+ width: z.ZodOptional<z.ZodNumber>;
753
+ height: z.ZodOptional<z.ZodNumber>;
754
+ format: z.ZodOptional<z.ZodEnum<{
755
+ png: "png";
756
+ webp: "webp";
757
+ jpeg: "jpeg";
758
+ }>>;
759
+ removeBackground: z.ZodOptional<z.ZodBoolean>;
760
+ background: z.ZodOptional<z.ZodEnum<{
761
+ transparent: "transparent";
762
+ opaque: "opaque";
763
+ }>>;
764
+ fitMode: z.ZodOptional<z.ZodEnum<{
765
+ fill: "fill";
766
+ contain: "contain";
767
+ cover: "cover";
768
+ }>>;
769
+ paddingColor: z.ZodOptional<z.ZodString>;
770
+ imageCount: z.ZodOptional<z.ZodNumber>;
771
+ kind: z.ZodLiteral<"image">;
772
+ prompt: z.ZodString;
773
+ }, z.core.$strict>, z.ZodObject<{
774
+ kind: z.ZodLiteral<"audio">;
775
+ category: z.ZodEnum<{
776
+ sfx: "sfx";
777
+ bgm: "bgm";
778
+ }>;
779
+ description: z.ZodString;
780
+ duration: z.ZodOptional<z.ZodNumber>;
781
+ loop: z.ZodOptional<z.ZodBoolean>;
782
+ style: z.ZodOptional<z.ZodString>;
783
+ bpm: z.ZodOptional<z.ZodNumber>;
784
+ }, z.core.$strict>, z.ZodObject<{
785
+ prompt: z.ZodOptional<z.ZodString>;
786
+ referenceImageBase64: z.ZodOptional<z.ZodString>;
787
+ referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
788
+ "image/png": "image/png";
789
+ "image/jpeg": "image/jpeg";
790
+ "image/webp": "image/webp";
791
+ }>>;
792
+ multiViewImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
793
+ view: z.ZodEnum<{
794
+ right: "right";
795
+ back: "back";
796
+ left: "left";
797
+ top: "top";
798
+ bottom: "bottom";
799
+ left_front: "left_front";
800
+ right_front: "right_front";
801
+ }>;
802
+ imageBase64: z.ZodString;
803
+ mimeType: z.ZodOptional<z.ZodEnum<{
804
+ "image/png": "image/png";
805
+ "image/jpeg": "image/jpeg";
806
+ "image/webp": "image/webp";
807
+ }>>;
808
+ }, z.core.$strict>>>;
809
+ modelRef: z.ZodOptional<z.ZodString>;
810
+ outputFormat: z.ZodOptional<z.ZodEnum<{
811
+ glb: "glb";
812
+ obj: "obj";
813
+ stl: "stl";
814
+ fbx: "fbx";
815
+ usdz: "usdz";
816
+ }>>;
817
+ generateType: z.ZodOptional<z.ZodEnum<{
818
+ Normal: "Normal";
819
+ Geometry: "Geometry";
820
+ LowPoly: "LowPoly";
821
+ Sketch: "Sketch";
822
+ }>>;
823
+ faceCount: z.ZodOptional<z.ZodNumber>;
824
+ enablePBR: z.ZodOptional<z.ZodBoolean>;
825
+ polygonType: z.ZodOptional<z.ZodEnum<{
826
+ triangle: "triangle";
827
+ quadrilateral: "quadrilateral";
828
+ }>>;
829
+ kind: z.ZodLiteral<"model">;
830
+ mode: z.ZodEnum<{
831
+ text: "text";
832
+ reference: "reference";
833
+ }>;
834
+ }, z.core.$strict>], "kind"> & z.ZodType<{
835
+ kind: "model";
836
+ mode: "text" | "reference";
837
+ prompt?: string | undefined;
838
+ referenceImageBase64?: string | undefined;
839
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
840
+ multiViewImages?: {
841
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
842
+ imageBase64: string;
843
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
844
+ }[] | undefined;
845
+ modelRef?: string | undefined;
846
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
847
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
848
+ faceCount?: number | undefined;
849
+ enablePBR?: boolean | undefined;
850
+ polygonType?: "triangle" | "quadrilateral" | undefined;
851
+ }, {
852
+ prompt: string;
853
+ mode: "text" | "reference";
854
+ kind: "video";
855
+ referenceImageBase64?: string | undefined;
856
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
857
+ videoModelRef?: string | undefined;
858
+ duration?: 5 | 15 | 10 | undefined;
859
+ aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
860
+ resolution?: "720P" | "1080P" | undefined;
861
+ audio?: boolean | undefined;
862
+ } | {
863
+ prompt: string;
864
+ frameCount: 12 | 8 | 16 | 6;
865
+ frameWidth: 256 | 512 | 128;
866
+ frameHeight: 256 | 512 | 128;
867
+ columns: number;
868
+ fps: number;
869
+ kind: "sprite";
870
+ referenceImageBase64?: string | undefined;
871
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
872
+ imageModelRef?: string | undefined;
873
+ removeBackground?: boolean | undefined;
874
+ } | {
875
+ prompt: string;
876
+ frameCount: 12 | 8 | 16 | 6;
877
+ frameWidth: 256 | 512 | 128;
878
+ frameHeight: 256 | 512 | 128;
879
+ columns: number;
880
+ fps: number;
881
+ kind: "animation";
882
+ referenceImageBase64?: string | undefined;
883
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
884
+ imageModelRef?: string | undefined;
885
+ removeBackground?: boolean | undefined;
886
+ } | {
887
+ kind: "image";
888
+ prompt: string;
889
+ referenceImages?: {
890
+ base64: string;
891
+ mimeType: "image/png" | "image/jpeg" | "image/webp";
892
+ }[] | undefined;
893
+ referenceImageBase64?: string | undefined;
894
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
895
+ imageModelRef?: string | undefined;
896
+ aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
897
+ imageSize?: "1K" | "2K" | "4K" | undefined;
898
+ width?: number | undefined;
899
+ height?: number | undefined;
900
+ format?: "png" | "webp" | "jpeg" | undefined;
901
+ removeBackground?: boolean | undefined;
902
+ background?: "transparent" | "opaque" | undefined;
903
+ fitMode?: "fill" | "contain" | "cover" | undefined;
904
+ paddingColor?: string | undefined;
905
+ imageCount?: number | undefined;
906
+ } | {
907
+ kind: "audio";
908
+ category: "sfx" | "bgm";
909
+ description: string;
910
+ duration?: number | undefined;
911
+ loop?: boolean | undefined;
912
+ style?: string | undefined;
913
+ bpm?: number | undefined;
914
+ } | {
915
+ kind: "model";
916
+ mode: "text" | "reference";
917
+ prompt?: string | undefined;
918
+ referenceImageBase64?: string | undefined;
919
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
920
+ multiViewImages?: {
921
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
922
+ imageBase64: string;
923
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
924
+ }[] | undefined;
925
+ modelRef?: string | undefined;
926
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
927
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
928
+ faceCount?: number | undefined;
929
+ enablePBR?: boolean | undefined;
930
+ polygonType?: "triangle" | "quadrilateral" | undefined;
931
+ }, z.core.$ZodTypeInternals<{
932
+ kind: "model";
933
+ mode: "text" | "reference";
934
+ prompt?: string | undefined;
935
+ referenceImageBase64?: string | undefined;
936
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
937
+ multiViewImages?: {
938
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
939
+ imageBase64: string;
940
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
941
+ }[] | undefined;
942
+ modelRef?: string | undefined;
943
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
944
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
945
+ faceCount?: number | undefined;
946
+ enablePBR?: boolean | undefined;
947
+ polygonType?: "triangle" | "quadrilateral" | undefined;
948
+ }, {
949
+ prompt: string;
950
+ mode: "text" | "reference";
951
+ kind: "video";
952
+ referenceImageBase64?: string | undefined;
953
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
954
+ videoModelRef?: string | undefined;
955
+ duration?: 5 | 15 | 10 | undefined;
956
+ aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
957
+ resolution?: "720P" | "1080P" | undefined;
958
+ audio?: boolean | undefined;
959
+ } | {
960
+ prompt: string;
961
+ frameCount: 12 | 8 | 16 | 6;
962
+ frameWidth: 256 | 512 | 128;
963
+ frameHeight: 256 | 512 | 128;
964
+ columns: number;
965
+ fps: number;
966
+ kind: "sprite";
967
+ referenceImageBase64?: string | undefined;
968
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
969
+ imageModelRef?: string | undefined;
970
+ removeBackground?: boolean | undefined;
971
+ } | {
972
+ prompt: string;
973
+ frameCount: 12 | 8 | 16 | 6;
974
+ frameWidth: 256 | 512 | 128;
975
+ frameHeight: 256 | 512 | 128;
976
+ columns: number;
977
+ fps: number;
978
+ kind: "animation";
979
+ referenceImageBase64?: string | undefined;
980
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
981
+ imageModelRef?: string | undefined;
982
+ removeBackground?: boolean | undefined;
983
+ } | {
984
+ kind: "image";
985
+ prompt: string;
986
+ referenceImages?: {
987
+ base64: string;
988
+ mimeType: "image/png" | "image/jpeg" | "image/webp";
989
+ }[] | undefined;
990
+ referenceImageBase64?: string | undefined;
991
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
992
+ imageModelRef?: string | undefined;
993
+ aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
994
+ imageSize?: "1K" | "2K" | "4K" | undefined;
995
+ width?: number | undefined;
996
+ height?: number | undefined;
997
+ format?: "png" | "webp" | "jpeg" | undefined;
998
+ removeBackground?: boolean | undefined;
999
+ background?: "transparent" | "opaque" | undefined;
1000
+ fitMode?: "fill" | "contain" | "cover" | undefined;
1001
+ paddingColor?: string | undefined;
1002
+ imageCount?: number | undefined;
1003
+ } | {
1004
+ kind: "audio";
1005
+ category: "sfx" | "bgm";
1006
+ description: string;
1007
+ duration?: number | undefined;
1008
+ loop?: boolean | undefined;
1009
+ style?: string | undefined;
1010
+ bpm?: number | undefined;
1011
+ } | {
1012
+ kind: "model";
1013
+ mode: "text" | "reference";
1014
+ prompt?: string | undefined;
1015
+ referenceImageBase64?: string | undefined;
1016
+ referenceImageMimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
1017
+ multiViewImages?: {
1018
+ view: "right" | "back" | "left" | "top" | "bottom" | "left_front" | "right_front";
1019
+ imageBase64: string;
1020
+ mimeType?: "image/png" | "image/jpeg" | "image/webp" | undefined;
1021
+ }[] | undefined;
1022
+ modelRef?: string | undefined;
1023
+ outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
1024
+ generateType?: "Normal" | "Geometry" | "LowPoly" | "Sketch" | undefined;
1025
+ faceCount?: number | undefined;
1026
+ enablePBR?: boolean | undefined;
1027
+ polygonType?: "triangle" | "quadrilateral" | undefined;
1028
+ }>>;
1029
+ }, z.core.$strict>, z.ZodObject<{
1030
+ kind: z.ZodLiteral<"procedural">;
1031
+ scope: z.ZodObject<{
1032
+ workspaceId: z.ZodString;
1033
+ directoryName: z.ZodString;
1034
+ }, z.core.$strict>;
1035
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1036
+ kind: z.ZodLiteral<"resource">;
1037
+ path: z.ZodString;
1038
+ contentHash: z.ZodString;
1039
+ files: z.ZodArray<z.ZodObject<{
1040
+ path: z.ZodString;
1041
+ contentHash: z.ZodString;
1042
+ }, z.core.$strict>>;
1043
+ }, z.core.$strict>, z.ZodObject<{
1044
+ kind: z.ZodLiteral<"procedural">;
1045
+ runId: z.ZodString;
1046
+ candidateId: z.ZodString;
1047
+ sourceHash: z.ZodString;
1048
+ dependencyHash: z.ZodString;
1049
+ previewId: z.ZodString;
1050
+ contentHash: z.ZodString;
1051
+ parameterHash: z.ZodString;
1052
+ sourceRoot: z.ZodString;
1053
+ parametersPath: z.ZodString;
1054
+ }, z.core.$strict>], "kind"> & z.ZodType<{
1055
+ kind: "procedural";
1056
+ runId: string;
1057
+ candidateId: string;
1058
+ sourceHash: string;
1059
+ dependencyHash: string;
1060
+ previewId: string;
1061
+ contentHash: string;
1062
+ parameterHash: string;
1063
+ sourceRoot: string;
1064
+ parametersPath: string;
1065
+ }, {
1066
+ kind: "resource";
1067
+ path: string;
1068
+ contentHash: string;
1069
+ files: {
1070
+ path: string;
1071
+ contentHash: string;
1072
+ }[];
1073
+ } | {
1074
+ kind: "procedural";
1075
+ runId: string;
1076
+ candidateId: string;
1077
+ sourceHash: string;
1078
+ dependencyHash: string;
1079
+ previewId: string;
1080
+ contentHash: string;
1081
+ parameterHash: string;
1082
+ sourceRoot: string;
1083
+ parametersPath: string;
1084
+ }, z.core.$ZodTypeInternals<{
1085
+ kind: "procedural";
1086
+ runId: string;
1087
+ candidateId: string;
1088
+ sourceHash: string;
1089
+ dependencyHash: string;
1090
+ previewId: string;
1091
+ contentHash: string;
1092
+ parameterHash: string;
1093
+ sourceRoot: string;
1094
+ parametersPath: string;
1095
+ }, {
1096
+ kind: "resource";
1097
+ path: string;
1098
+ contentHash: string;
1099
+ files: {
1100
+ path: string;
1101
+ contentHash: string;
1102
+ }[];
1103
+ } | {
1104
+ kind: "procedural";
1105
+ runId: string;
1106
+ candidateId: string;
1107
+ sourceHash: string;
1108
+ dependencyHash: string;
1109
+ previewId: string;
1110
+ contentHash: string;
1111
+ parameterHash: string;
1112
+ sourceRoot: string;
1113
+ parametersPath: string;
1114
+ }>>;
1115
+ }, z.core.$strict>], "kind">;
1116
+ recipe: z.ZodDefault<z.ZodObject<{
1117
+ repair: z.ZodOptional<z.ZodObject<{
1118
+ schemaVersion: z.ZodLiteral<1>;
1119
+ parentContentHash: z.ZodString;
1120
+ maximumDisplacementFraction: z.ZodNumber;
1121
+ vertexRepairs: z.ZodArray<z.ZodObject<{
1122
+ weldedPositionId: z.ZodNumber;
1123
+ beforeLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1124
+ afterLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1125
+ }, z.core.$strict>>;
1126
+ }, z.core.$strict>>;
1127
+ split: z.ZodOptional<z.ZodObject<{
1128
+ plane: z.ZodObject<{
1129
+ normal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1130
+ constant: z.ZodNumber;
1131
+ }, z.core.$strict>;
1132
+ hingeAxis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1133
+ innerScale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1134
+ lidInnerLift: z.ZodNumber;
1135
+ minimumThickness: z.ZodNumber;
1136
+ hingeBackClearance: z.ZodNumber;
1137
+ openAngleDegrees: z.ZodNumber;
1138
+ maximumAuxiliaryAreaFraction: z.ZodOptional<z.ZodNumber>;
1139
+ omitMicroscopicAuxiliary: z.ZodOptional<z.ZodBoolean>;
1140
+ bodyInterior: z.ZodOptional<z.ZodObject<{
1141
+ kind: z.ZodLiteral<"smooth-inset">;
1142
+ minU: z.ZodNumber;
1143
+ maxU: z.ZodNumber;
1144
+ minV: z.ZodNumber;
1145
+ maxV: z.ZodNumber;
1146
+ floorHeight: z.ZodNumber;
1147
+ }, z.core.$strict>>;
1148
+ }, z.core.$strict>>;
1149
+ optimize: z.ZodOptional<z.ZodObject<{
1150
+ textureSize: z.ZodDefault<z.ZodNumber>;
1151
+ textureFormat: z.ZodOptional<z.ZodEnum<{
1152
+ png: "png";
1153
+ jpeg: "jpeg";
1154
+ }>>;
1155
+ quality: z.ZodDefault<z.ZodNumber>;
1156
+ texturesOnly: z.ZodDefault<z.ZodLiteral<true>>;
1157
+ }, z.core.$strict>>;
1158
+ adaptation: z.ZodOptional<z.ZodObject<{
1159
+ schemaVersion: z.ZodLiteral<1>;
1160
+ source: z.ZodObject<{
1161
+ kind: z.ZodLiteral<"resource">;
1162
+ path: z.ZodString;
1163
+ contentHash: z.ZodString;
1164
+ files: z.ZodArray<z.ZodObject<{
1165
+ path: z.ZodString;
1166
+ contentHash: z.ZodString;
1167
+ }, z.core.$strict>>;
1168
+ }, z.core.$strict>;
1169
+ normalization: z.ZodDefault<z.ZodObject<{
1170
+ unitScale: z.ZodDefault<z.ZodNumber>;
1171
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
1172
+ }, z.core.$strict>>;
1173
+ transform: z.ZodDefault<z.ZodObject<{
1174
+ position: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
1175
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
1176
+ scale: z.ZodDefault<z.ZodNumber>;
1177
+ }, z.core.$strict>>;
1178
+ materialOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
1179
+ nodeRef: z.ZodObject<{
1180
+ sourceNodeId: z.ZodString;
1181
+ geometryHash: z.ZodString;
1182
+ }, z.core.$strict>;
1183
+ materialIndex: z.ZodNumber;
1184
+ tint: z.ZodOptional<z.ZodString>;
1185
+ roughness: z.ZodOptional<z.ZodNumber>;
1186
+ metalness: z.ZodOptional<z.ZodNumber>;
1187
+ }, z.core.$strict>>>;
1188
+ visibility: z.ZodDefault<z.ZodArray<z.ZodObject<{
1189
+ nodeRef: z.ZodObject<{
1190
+ sourceNodeId: z.ZodString;
1191
+ geometryHash: z.ZodString;
1192
+ }, z.core.$strict>;
1193
+ visible: z.ZodBoolean;
1194
+ }, z.core.$strict>>>;
1195
+ hinges: z.ZodDefault<z.ZodArray<z.ZodObject<{
1196
+ id: z.ZodString;
1197
+ movingNodeRef: z.ZodObject<{
1198
+ sourceNodeId: z.ZodString;
1199
+ geometryHash: z.ZodString;
1200
+ }, z.core.$strict>;
1201
+ bodyNodeRefs: z.ZodArray<z.ZodObject<{
1202
+ sourceNodeId: z.ZodString;
1203
+ geometryHash: z.ZodString;
1204
+ }, z.core.$strict>>;
1205
+ pivot: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1206
+ axis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1207
+ openAngleDegrees: z.ZodNumber;
1208
+ }, z.core.$strict>>>;
1209
+ }, z.core.$strict>>;
1210
+ }, z.core.$strict>>;
1211
+ policy: z.ZodDefault<z.ZodObject<{
1212
+ requiredCapability: z.ZodDefault<z.ZodEnum<{
1213
+ static: "static";
1214
+ "rigid-hinge": "rigid-hinge";
1215
+ }>>;
1216
+ maxModelBytes: z.ZodDefault<z.ZodNumber>;
1217
+ maxArtifactBytes: z.ZodDefault<z.ZodNumber>;
1218
+ maxTriangles: z.ZodDefault<z.ZodNumber>;
1219
+ maxCorrections: z.ZodDefault<z.ZodNumber>;
1220
+ maxExternalRequests: z.ZodDefault<z.ZodNumber>;
1221
+ allowUnpricedGeneration: z.ZodDefault<z.ZodBoolean>;
1222
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1223
+ requireFunctionalValidation: z.ZodDefault<z.ZodLiteral<true>>;
1224
+ requireQualityValidation: z.ZodDefault<z.ZodLiteral<true>>;
1225
+ }, z.core.$strict>>;
1226
+ reference: z.ZodOptional<z.ZodObject<{
1227
+ scope: z.ZodObject<{
1228
+ workspaceId: z.ZodString;
1229
+ directoryName: z.ZodString;
1230
+ }, z.core.$strict>;
1231
+ path: z.ZodString;
1232
+ contentHash: z.ZodString;
1233
+ }, z.core.$strict>>;
1234
+ }, z.core.$strict>;
1235
+ export declare const MODEL_PRODUCTION_PHASES: readonly ["target", "source", "inspect", "prepare", "adapt", "build", "validate", "handoff"];
1236
+ export declare const modelProductionPhaseSchema: z.ZodEnum<{
1237
+ source: "source";
1238
+ target: "target";
1239
+ build: "build";
1240
+ inspect: "inspect";
1241
+ prepare: "prepare";
1242
+ adapt: "adapt";
1243
+ validate: "validate";
1244
+ handoff: "handoff";
1245
+ }>;
1246
+ export declare const modelProductionStatusSchema: z.ZodEnum<{
1247
+ failed: "failed";
1248
+ paused: "paused";
1249
+ completed: "completed";
1250
+ blocked: "blocked";
1251
+ running: "running";
1252
+ uncertain: "uncertain";
1253
+ cancelled: "cancelled";
1254
+ queued: "queued";
1255
+ "waiting-child": "waiting-child";
1256
+ "waiting-external": "waiting-external";
1257
+ "waiting-validation": "waiting-validation";
1258
+ "needs-input": "needs-input";
1259
+ pausing: "pausing";
1260
+ cancelling: "cancelling";
1261
+ }>;
1262
+ export declare const modelProductionActionSchema: z.ZodEnum<{
1263
+ pause: "pause";
1264
+ resume: "resume";
1265
+ cancel: "cancel";
1266
+ refresh: "refresh";
1267
+ "provide-input": "provide-input";
1268
+ }>;
1269
+ export declare const modelProductionControlSchema: z.ZodObject<{
1270
+ clientRequestId: z.ZodString;
1271
+ expectedRevision: z.ZodNumber;
1272
+ action: z.ZodEnum<{
1273
+ pause: "pause";
1274
+ resume: "resume";
1275
+ cancel: "cancel";
1276
+ refresh: "refresh";
1277
+ "provide-input": "provide-input";
1278
+ }>;
1279
+ recipe: z.ZodOptional<z.ZodObject<{
1280
+ repair: z.ZodOptional<z.ZodObject<{
1281
+ schemaVersion: z.ZodLiteral<1>;
1282
+ parentContentHash: z.ZodString;
1283
+ maximumDisplacementFraction: z.ZodNumber;
1284
+ vertexRepairs: z.ZodArray<z.ZodObject<{
1285
+ weldedPositionId: z.ZodNumber;
1286
+ beforeLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1287
+ afterLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1288
+ }, z.core.$strict>>;
1289
+ }, z.core.$strict>>;
1290
+ split: z.ZodOptional<z.ZodObject<{
1291
+ plane: z.ZodObject<{
1292
+ normal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1293
+ constant: z.ZodNumber;
1294
+ }, z.core.$strict>;
1295
+ hingeAxis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1296
+ innerScale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1297
+ lidInnerLift: z.ZodNumber;
1298
+ minimumThickness: z.ZodNumber;
1299
+ hingeBackClearance: z.ZodNumber;
1300
+ openAngleDegrees: z.ZodNumber;
1301
+ maximumAuxiliaryAreaFraction: z.ZodOptional<z.ZodNumber>;
1302
+ omitMicroscopicAuxiliary: z.ZodOptional<z.ZodBoolean>;
1303
+ bodyInterior: z.ZodOptional<z.ZodObject<{
1304
+ kind: z.ZodLiteral<"smooth-inset">;
1305
+ minU: z.ZodNumber;
1306
+ maxU: z.ZodNumber;
1307
+ minV: z.ZodNumber;
1308
+ maxV: z.ZodNumber;
1309
+ floorHeight: z.ZodNumber;
1310
+ }, z.core.$strict>>;
1311
+ }, z.core.$strict>>;
1312
+ optimize: z.ZodOptional<z.ZodObject<{
1313
+ textureSize: z.ZodDefault<z.ZodNumber>;
1314
+ textureFormat: z.ZodOptional<z.ZodEnum<{
1315
+ png: "png";
1316
+ jpeg: "jpeg";
1317
+ }>>;
1318
+ quality: z.ZodDefault<z.ZodNumber>;
1319
+ texturesOnly: z.ZodDefault<z.ZodLiteral<true>>;
1320
+ }, z.core.$strict>>;
1321
+ adaptation: z.ZodOptional<z.ZodObject<{
1322
+ schemaVersion: z.ZodLiteral<1>;
1323
+ source: z.ZodObject<{
1324
+ kind: z.ZodLiteral<"resource">;
1325
+ path: z.ZodString;
1326
+ contentHash: z.ZodString;
1327
+ files: z.ZodArray<z.ZodObject<{
1328
+ path: z.ZodString;
1329
+ contentHash: z.ZodString;
1330
+ }, z.core.$strict>>;
1331
+ }, z.core.$strict>;
1332
+ normalization: z.ZodDefault<z.ZodObject<{
1333
+ unitScale: z.ZodDefault<z.ZodNumber>;
1334
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
1335
+ }, z.core.$strict>>;
1336
+ transform: z.ZodDefault<z.ZodObject<{
1337
+ position: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
1338
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
1339
+ scale: z.ZodDefault<z.ZodNumber>;
1340
+ }, z.core.$strict>>;
1341
+ materialOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
1342
+ nodeRef: z.ZodObject<{
1343
+ sourceNodeId: z.ZodString;
1344
+ geometryHash: z.ZodString;
1345
+ }, z.core.$strict>;
1346
+ materialIndex: z.ZodNumber;
1347
+ tint: z.ZodOptional<z.ZodString>;
1348
+ roughness: z.ZodOptional<z.ZodNumber>;
1349
+ metalness: z.ZodOptional<z.ZodNumber>;
1350
+ }, z.core.$strict>>>;
1351
+ visibility: z.ZodDefault<z.ZodArray<z.ZodObject<{
1352
+ nodeRef: z.ZodObject<{
1353
+ sourceNodeId: z.ZodString;
1354
+ geometryHash: z.ZodString;
1355
+ }, z.core.$strict>;
1356
+ visible: z.ZodBoolean;
1357
+ }, z.core.$strict>>>;
1358
+ hinges: z.ZodDefault<z.ZodArray<z.ZodObject<{
1359
+ id: z.ZodString;
1360
+ movingNodeRef: z.ZodObject<{
1361
+ sourceNodeId: z.ZodString;
1362
+ geometryHash: z.ZodString;
1363
+ }, z.core.$strict>;
1364
+ bodyNodeRefs: z.ZodArray<z.ZodObject<{
1365
+ sourceNodeId: z.ZodString;
1366
+ geometryHash: z.ZodString;
1367
+ }, z.core.$strict>>;
1368
+ pivot: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1369
+ axis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1370
+ openAngleDegrees: z.ZodNumber;
1371
+ }, z.core.$strict>>>;
1372
+ }, z.core.$strict>>;
1373
+ }, z.core.$strict>>;
1374
+ reference: z.ZodOptional<z.ZodObject<{
1375
+ scope: z.ZodObject<{
1376
+ workspaceId: z.ZodString;
1377
+ directoryName: z.ZodString;
1378
+ }, z.core.$strict>;
1379
+ path: z.ZodString;
1380
+ contentHash: z.ZodString;
1381
+ }, z.core.$strict>>;
1382
+ }, z.core.$strict>;
1383
+ export declare const modelProductionStepSchema: z.ZodObject<{
1384
+ stepId: z.ZodString;
1385
+ phase: z.ZodEnum<{
1386
+ source: "source";
1387
+ target: "target";
1388
+ build: "build";
1389
+ inspect: "inspect";
1390
+ prepare: "prepare";
1391
+ adapt: "adapt";
1392
+ validate: "validate";
1393
+ handoff: "handoff";
1394
+ }>;
1395
+ attempt: z.ZodNumber;
1396
+ inputHash: z.ZodString;
1397
+ clientRequestId: z.ZodString;
1398
+ status: z.ZodEnum<{
1399
+ failed: "failed";
1400
+ completed: "completed";
1401
+ blocked: "blocked";
1402
+ uncertain: "uncertain";
1403
+ planned: "planned";
1404
+ submitting: "submitting";
1405
+ waiting: "waiting";
1406
+ }>;
1407
+ operationId: z.ZodOptional<z.ZodString>;
1408
+ taskId: z.ZodOptional<z.ZodString>;
1409
+ reasonCode: z.ZodOptional<z.ZodString>;
1410
+ startedAt: z.ZodString;
1411
+ finishedAt: z.ZodOptional<z.ZodString>;
1412
+ outputHash: z.ZodOptional<z.ZodString>;
1413
+ }, z.core.$strict>;
1414
+ export declare const modelProductionArtifactSchema: z.ZodObject<{
1415
+ artifactId: z.ZodString;
1416
+ versionId: z.ZodString;
1417
+ outputHash: z.ZodString;
1418
+ inputHash: z.ZodString;
1419
+ path: z.ZodString;
1420
+ }, z.core.$strict>;
1421
+ export declare const modelProductionValidationRefSchema: z.ZodObject<{
1422
+ domain: z.ZodEnum<{
1423
+ "model-quality": "model-quality";
1424
+ functional: "functional";
1425
+ }>;
1426
+ operationId: z.ZodString;
1427
+ reportSetHash: z.ZodString;
1428
+ status: z.ZodEnum<{
1429
+ pending: "pending";
1430
+ failed: "failed";
1431
+ blocked: "blocked";
1432
+ stale: "stale";
1433
+ passed: "passed";
1434
+ }>;
1435
+ artifactId: z.ZodString;
1436
+ versionId: z.ZodString;
1437
+ outputHash: z.ZodString;
1438
+ inputHash: z.ZodString;
1439
+ }, z.core.$strict>;
1440
+ export declare const modelProductionRunSchema: z.ZodObject<{
1441
+ schemaVersion: z.ZodLiteral<1>;
1442
+ runId: z.ZodString;
1443
+ revision: z.ZodNumber;
1444
+ name: z.ZodString;
1445
+ origin: z.ZodObject<{
1446
+ workspaceId: z.ZodString;
1447
+ directoryName: z.ZodString;
1448
+ }, z.core.$strict>;
1449
+ target: z.ZodOptional<z.ZodObject<{
1450
+ workspaceId: z.ZodString;
1451
+ directoryName: z.ZodString;
1452
+ }, z.core.$strict>>;
1453
+ targetReady: z.ZodDefault<z.ZodBoolean>;
1454
+ requestedRoute: z.ZodEnum<{
1455
+ auto: "auto";
1456
+ external: "external";
1457
+ procedural: "procedural";
1458
+ hybrid: "hybrid";
1459
+ }>;
1460
+ resolvedRoute: z.ZodOptional<z.ZodEnum<{
1461
+ external: "external";
1462
+ resource: "resource";
1463
+ procedural: "procedural";
1464
+ hybrid: "hybrid";
1465
+ }>>;
1466
+ requestHash: z.ZodString;
1467
+ policyHash: z.ZodString;
1468
+ status: z.ZodEnum<{
1469
+ failed: "failed";
1470
+ paused: "paused";
1471
+ completed: "completed";
1472
+ blocked: "blocked";
1473
+ running: "running";
1474
+ uncertain: "uncertain";
1475
+ cancelled: "cancelled";
1476
+ queued: "queued";
1477
+ "waiting-child": "waiting-child";
1478
+ "waiting-external": "waiting-external";
1479
+ "waiting-validation": "waiting-validation";
1480
+ "needs-input": "needs-input";
1481
+ pausing: "pausing";
1482
+ cancelling: "cancelling";
1483
+ }>;
1484
+ phase: z.ZodEnum<{
1485
+ source: "source";
1486
+ target: "target";
1487
+ build: "build";
1488
+ inspect: "inspect";
1489
+ prepare: "prepare";
1490
+ adapt: "adapt";
1491
+ validate: "validate";
1492
+ handoff: "handoff";
1493
+ }>;
1494
+ source: z.ZodObject<{
1495
+ kind: z.ZodEnum<{
1496
+ resource: "resource";
1497
+ procedural: "procedural";
1498
+ "generation-task": "generation-task";
1499
+ generate: "generate";
1500
+ }>;
1501
+ scope: z.ZodOptional<z.ZodObject<{
1502
+ workspaceId: z.ZodString;
1503
+ directoryName: z.ZodString;
1504
+ }, z.core.$strict>>;
1505
+ path: z.ZodOptional<z.ZodString>;
1506
+ contentHash: z.ZodOptional<z.ZodString>;
1507
+ taskId: z.ZodOptional<z.ZodString>;
1508
+ candidateId: z.ZodOptional<z.ZodString>;
1509
+ }, z.core.$strict>;
1510
+ policy: z.ZodObject<{
1511
+ requiredCapability: z.ZodDefault<z.ZodEnum<{
1512
+ static: "static";
1513
+ "rigid-hinge": "rigid-hinge";
1514
+ }>>;
1515
+ maxModelBytes: z.ZodDefault<z.ZodNumber>;
1516
+ maxArtifactBytes: z.ZodDefault<z.ZodNumber>;
1517
+ maxTriangles: z.ZodDefault<z.ZodNumber>;
1518
+ maxCorrections: z.ZodDefault<z.ZodNumber>;
1519
+ maxExternalRequests: z.ZodDefault<z.ZodNumber>;
1520
+ allowUnpricedGeneration: z.ZodDefault<z.ZodBoolean>;
1521
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1522
+ requireFunctionalValidation: z.ZodDefault<z.ZodLiteral<true>>;
1523
+ requireQualityValidation: z.ZodDefault<z.ZodLiteral<true>>;
1524
+ }, z.core.$strict>;
1525
+ steps: z.ZodArray<z.ZodObject<{
1526
+ stepId: z.ZodString;
1527
+ phase: z.ZodEnum<{
1528
+ source: "source";
1529
+ target: "target";
1530
+ build: "build";
1531
+ inspect: "inspect";
1532
+ prepare: "prepare";
1533
+ adapt: "adapt";
1534
+ validate: "validate";
1535
+ handoff: "handoff";
1536
+ }>;
1537
+ attempt: z.ZodNumber;
1538
+ inputHash: z.ZodString;
1539
+ clientRequestId: z.ZodString;
1540
+ status: z.ZodEnum<{
1541
+ failed: "failed";
1542
+ completed: "completed";
1543
+ blocked: "blocked";
1544
+ uncertain: "uncertain";
1545
+ planned: "planned";
1546
+ submitting: "submitting";
1547
+ waiting: "waiting";
1548
+ }>;
1549
+ operationId: z.ZodOptional<z.ZodString>;
1550
+ taskId: z.ZodOptional<z.ZodString>;
1551
+ reasonCode: z.ZodOptional<z.ZodString>;
1552
+ startedAt: z.ZodString;
1553
+ finishedAt: z.ZodOptional<z.ZodString>;
1554
+ outputHash: z.ZodOptional<z.ZodString>;
1555
+ }, z.core.$strict>>;
1556
+ correctionsUsed: z.ZodNumber;
1557
+ externalRequestsUsed: z.ZodNumber;
1558
+ allowedActions: z.ZodArray<z.ZodEnum<{
1559
+ pause: "pause";
1560
+ resume: "resume";
1561
+ cancel: "cancel";
1562
+ refresh: "refresh";
1563
+ "provide-input": "provide-input";
1564
+ }>>;
1565
+ inputRequired: z.ZodOptional<z.ZodObject<{
1566
+ code: z.ZodString;
1567
+ phase: z.ZodEnum<{
1568
+ source: "source";
1569
+ target: "target";
1570
+ build: "build";
1571
+ inspect: "inspect";
1572
+ prepare: "prepare";
1573
+ adapt: "adapt";
1574
+ validate: "validate";
1575
+ handoff: "handoff";
1576
+ }>;
1577
+ }, z.core.$strict>>;
1578
+ diagnostic: z.ZodOptional<z.ZodString>;
1579
+ result: z.ZodOptional<z.ZodObject<{
1580
+ model: z.ZodObject<{
1581
+ kind: z.ZodLiteral<"resource">;
1582
+ path: z.ZodString;
1583
+ contentHash: z.ZodString;
1584
+ files: z.ZodArray<z.ZodObject<{
1585
+ path: z.ZodString;
1586
+ contentHash: z.ZodString;
1587
+ }, z.core.$strict>>;
1588
+ }, z.core.$strict>;
1589
+ preparationReceiptHash: z.ZodString;
1590
+ adaptationPath: z.ZodString;
1591
+ adaptationHash: z.ZodString;
1592
+ modelBytes: z.ZodNumber;
1593
+ triangles: z.ZodNumber;
1594
+ artifact: z.ZodOptional<z.ZodObject<{
1595
+ artifactId: z.ZodString;
1596
+ versionId: z.ZodString;
1597
+ outputHash: z.ZodString;
1598
+ inputHash: z.ZodString;
1599
+ path: z.ZodString;
1600
+ }, z.core.$strict>>;
1601
+ }, z.core.$strict>>;
1602
+ validationRefs: z.ZodArray<z.ZodObject<{
1603
+ domain: z.ZodEnum<{
1604
+ "model-quality": "model-quality";
1605
+ functional: "functional";
1606
+ }>;
1607
+ operationId: z.ZodString;
1608
+ reportSetHash: z.ZodString;
1609
+ status: z.ZodEnum<{
1610
+ pending: "pending";
1611
+ failed: "failed";
1612
+ blocked: "blocked";
1613
+ stale: "stale";
1614
+ passed: "passed";
1615
+ }>;
1616
+ artifactId: z.ZodString;
1617
+ versionId: z.ZodString;
1618
+ outputHash: z.ZodString;
1619
+ inputHash: z.ZodString;
1620
+ }, z.core.$strict>>;
1621
+ modelAcceptance: z.ZodLiteral<false>;
1622
+ createdAt: z.ZodString;
1623
+ updatedAt: z.ZodString;
1624
+ finishedAt: z.ZodOptional<z.ZodString>;
1625
+ }, z.core.$strict>;
1626
+ export declare const modelProductionListSchema: z.ZodObject<{
1627
+ runs: z.ZodArray<z.ZodObject<{
1628
+ schemaVersion: z.ZodLiteral<1>;
1629
+ runId: z.ZodString;
1630
+ revision: z.ZodNumber;
1631
+ name: z.ZodString;
1632
+ origin: z.ZodObject<{
1633
+ workspaceId: z.ZodString;
1634
+ directoryName: z.ZodString;
1635
+ }, z.core.$strict>;
1636
+ target: z.ZodOptional<z.ZodObject<{
1637
+ workspaceId: z.ZodString;
1638
+ directoryName: z.ZodString;
1639
+ }, z.core.$strict>>;
1640
+ targetReady: z.ZodDefault<z.ZodBoolean>;
1641
+ requestedRoute: z.ZodEnum<{
1642
+ auto: "auto";
1643
+ external: "external";
1644
+ procedural: "procedural";
1645
+ hybrid: "hybrid";
1646
+ }>;
1647
+ resolvedRoute: z.ZodOptional<z.ZodEnum<{
1648
+ external: "external";
1649
+ resource: "resource";
1650
+ procedural: "procedural";
1651
+ hybrid: "hybrid";
1652
+ }>>;
1653
+ requestHash: z.ZodString;
1654
+ policyHash: z.ZodString;
1655
+ status: z.ZodEnum<{
1656
+ failed: "failed";
1657
+ paused: "paused";
1658
+ completed: "completed";
1659
+ blocked: "blocked";
1660
+ running: "running";
1661
+ uncertain: "uncertain";
1662
+ cancelled: "cancelled";
1663
+ queued: "queued";
1664
+ "waiting-child": "waiting-child";
1665
+ "waiting-external": "waiting-external";
1666
+ "waiting-validation": "waiting-validation";
1667
+ "needs-input": "needs-input";
1668
+ pausing: "pausing";
1669
+ cancelling: "cancelling";
1670
+ }>;
1671
+ phase: z.ZodEnum<{
1672
+ source: "source";
1673
+ target: "target";
1674
+ build: "build";
1675
+ inspect: "inspect";
1676
+ prepare: "prepare";
1677
+ adapt: "adapt";
1678
+ validate: "validate";
1679
+ handoff: "handoff";
1680
+ }>;
1681
+ source: z.ZodObject<{
1682
+ kind: z.ZodEnum<{
1683
+ resource: "resource";
1684
+ procedural: "procedural";
1685
+ "generation-task": "generation-task";
1686
+ generate: "generate";
1687
+ }>;
1688
+ scope: z.ZodOptional<z.ZodObject<{
1689
+ workspaceId: z.ZodString;
1690
+ directoryName: z.ZodString;
1691
+ }, z.core.$strict>>;
1692
+ path: z.ZodOptional<z.ZodString>;
1693
+ contentHash: z.ZodOptional<z.ZodString>;
1694
+ taskId: z.ZodOptional<z.ZodString>;
1695
+ candidateId: z.ZodOptional<z.ZodString>;
1696
+ }, z.core.$strict>;
1697
+ policy: z.ZodObject<{
1698
+ requiredCapability: z.ZodDefault<z.ZodEnum<{
1699
+ static: "static";
1700
+ "rigid-hinge": "rigid-hinge";
1701
+ }>>;
1702
+ maxModelBytes: z.ZodDefault<z.ZodNumber>;
1703
+ maxArtifactBytes: z.ZodDefault<z.ZodNumber>;
1704
+ maxTriangles: z.ZodDefault<z.ZodNumber>;
1705
+ maxCorrections: z.ZodDefault<z.ZodNumber>;
1706
+ maxExternalRequests: z.ZodDefault<z.ZodNumber>;
1707
+ allowUnpricedGeneration: z.ZodDefault<z.ZodBoolean>;
1708
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1709
+ requireFunctionalValidation: z.ZodDefault<z.ZodLiteral<true>>;
1710
+ requireQualityValidation: z.ZodDefault<z.ZodLiteral<true>>;
1711
+ }, z.core.$strict>;
1712
+ steps: z.ZodArray<z.ZodObject<{
1713
+ stepId: z.ZodString;
1714
+ phase: z.ZodEnum<{
1715
+ source: "source";
1716
+ target: "target";
1717
+ build: "build";
1718
+ inspect: "inspect";
1719
+ prepare: "prepare";
1720
+ adapt: "adapt";
1721
+ validate: "validate";
1722
+ handoff: "handoff";
1723
+ }>;
1724
+ attempt: z.ZodNumber;
1725
+ inputHash: z.ZodString;
1726
+ clientRequestId: z.ZodString;
1727
+ status: z.ZodEnum<{
1728
+ failed: "failed";
1729
+ completed: "completed";
1730
+ blocked: "blocked";
1731
+ uncertain: "uncertain";
1732
+ planned: "planned";
1733
+ submitting: "submitting";
1734
+ waiting: "waiting";
1735
+ }>;
1736
+ operationId: z.ZodOptional<z.ZodString>;
1737
+ taskId: z.ZodOptional<z.ZodString>;
1738
+ reasonCode: z.ZodOptional<z.ZodString>;
1739
+ startedAt: z.ZodString;
1740
+ finishedAt: z.ZodOptional<z.ZodString>;
1741
+ outputHash: z.ZodOptional<z.ZodString>;
1742
+ }, z.core.$strict>>;
1743
+ correctionsUsed: z.ZodNumber;
1744
+ externalRequestsUsed: z.ZodNumber;
1745
+ allowedActions: z.ZodArray<z.ZodEnum<{
1746
+ pause: "pause";
1747
+ resume: "resume";
1748
+ cancel: "cancel";
1749
+ refresh: "refresh";
1750
+ "provide-input": "provide-input";
1751
+ }>>;
1752
+ inputRequired: z.ZodOptional<z.ZodObject<{
1753
+ code: z.ZodString;
1754
+ phase: z.ZodEnum<{
1755
+ source: "source";
1756
+ target: "target";
1757
+ build: "build";
1758
+ inspect: "inspect";
1759
+ prepare: "prepare";
1760
+ adapt: "adapt";
1761
+ validate: "validate";
1762
+ handoff: "handoff";
1763
+ }>;
1764
+ }, z.core.$strict>>;
1765
+ diagnostic: z.ZodOptional<z.ZodString>;
1766
+ result: z.ZodOptional<z.ZodObject<{
1767
+ model: z.ZodObject<{
1768
+ kind: z.ZodLiteral<"resource">;
1769
+ path: z.ZodString;
1770
+ contentHash: z.ZodString;
1771
+ files: z.ZodArray<z.ZodObject<{
1772
+ path: z.ZodString;
1773
+ contentHash: z.ZodString;
1774
+ }, z.core.$strict>>;
1775
+ }, z.core.$strict>;
1776
+ preparationReceiptHash: z.ZodString;
1777
+ adaptationPath: z.ZodString;
1778
+ adaptationHash: z.ZodString;
1779
+ modelBytes: z.ZodNumber;
1780
+ triangles: z.ZodNumber;
1781
+ artifact: z.ZodOptional<z.ZodObject<{
1782
+ artifactId: z.ZodString;
1783
+ versionId: z.ZodString;
1784
+ outputHash: z.ZodString;
1785
+ inputHash: z.ZodString;
1786
+ path: z.ZodString;
1787
+ }, z.core.$strict>>;
1788
+ }, z.core.$strict>>;
1789
+ validationRefs: z.ZodArray<z.ZodObject<{
1790
+ domain: z.ZodEnum<{
1791
+ "model-quality": "model-quality";
1792
+ functional: "functional";
1793
+ }>;
1794
+ operationId: z.ZodString;
1795
+ reportSetHash: z.ZodString;
1796
+ status: z.ZodEnum<{
1797
+ pending: "pending";
1798
+ failed: "failed";
1799
+ blocked: "blocked";
1800
+ stale: "stale";
1801
+ passed: "passed";
1802
+ }>;
1803
+ artifactId: z.ZodString;
1804
+ versionId: z.ZodString;
1805
+ outputHash: z.ZodString;
1806
+ inputHash: z.ZodString;
1807
+ }, z.core.$strict>>;
1808
+ modelAcceptance: z.ZodLiteral<false>;
1809
+ createdAt: z.ZodString;
1810
+ updatedAt: z.ZodString;
1811
+ finishedAt: z.ZodOptional<z.ZodString>;
1812
+ }, z.core.$strict>>;
1813
+ }, z.core.$strict>;
1814
+ export declare const modelProductionReplySchema: z.ZodObject<{
1815
+ run: z.ZodObject<{
1816
+ schemaVersion: z.ZodLiteral<1>;
1817
+ runId: z.ZodString;
1818
+ revision: z.ZodNumber;
1819
+ name: z.ZodString;
1820
+ origin: z.ZodObject<{
1821
+ workspaceId: z.ZodString;
1822
+ directoryName: z.ZodString;
1823
+ }, z.core.$strict>;
1824
+ target: z.ZodOptional<z.ZodObject<{
1825
+ workspaceId: z.ZodString;
1826
+ directoryName: z.ZodString;
1827
+ }, z.core.$strict>>;
1828
+ targetReady: z.ZodDefault<z.ZodBoolean>;
1829
+ requestedRoute: z.ZodEnum<{
1830
+ auto: "auto";
1831
+ external: "external";
1832
+ procedural: "procedural";
1833
+ hybrid: "hybrid";
1834
+ }>;
1835
+ resolvedRoute: z.ZodOptional<z.ZodEnum<{
1836
+ external: "external";
1837
+ resource: "resource";
1838
+ procedural: "procedural";
1839
+ hybrid: "hybrid";
1840
+ }>>;
1841
+ requestHash: z.ZodString;
1842
+ policyHash: z.ZodString;
1843
+ status: z.ZodEnum<{
1844
+ failed: "failed";
1845
+ paused: "paused";
1846
+ completed: "completed";
1847
+ blocked: "blocked";
1848
+ running: "running";
1849
+ uncertain: "uncertain";
1850
+ cancelled: "cancelled";
1851
+ queued: "queued";
1852
+ "waiting-child": "waiting-child";
1853
+ "waiting-external": "waiting-external";
1854
+ "waiting-validation": "waiting-validation";
1855
+ "needs-input": "needs-input";
1856
+ pausing: "pausing";
1857
+ cancelling: "cancelling";
1858
+ }>;
1859
+ phase: z.ZodEnum<{
1860
+ source: "source";
1861
+ target: "target";
1862
+ build: "build";
1863
+ inspect: "inspect";
1864
+ prepare: "prepare";
1865
+ adapt: "adapt";
1866
+ validate: "validate";
1867
+ handoff: "handoff";
1868
+ }>;
1869
+ source: z.ZodObject<{
1870
+ kind: z.ZodEnum<{
1871
+ resource: "resource";
1872
+ procedural: "procedural";
1873
+ "generation-task": "generation-task";
1874
+ generate: "generate";
1875
+ }>;
1876
+ scope: z.ZodOptional<z.ZodObject<{
1877
+ workspaceId: z.ZodString;
1878
+ directoryName: z.ZodString;
1879
+ }, z.core.$strict>>;
1880
+ path: z.ZodOptional<z.ZodString>;
1881
+ contentHash: z.ZodOptional<z.ZodString>;
1882
+ taskId: z.ZodOptional<z.ZodString>;
1883
+ candidateId: z.ZodOptional<z.ZodString>;
1884
+ }, z.core.$strict>;
1885
+ policy: z.ZodObject<{
1886
+ requiredCapability: z.ZodDefault<z.ZodEnum<{
1887
+ static: "static";
1888
+ "rigid-hinge": "rigid-hinge";
1889
+ }>>;
1890
+ maxModelBytes: z.ZodDefault<z.ZodNumber>;
1891
+ maxArtifactBytes: z.ZodDefault<z.ZodNumber>;
1892
+ maxTriangles: z.ZodDefault<z.ZodNumber>;
1893
+ maxCorrections: z.ZodDefault<z.ZodNumber>;
1894
+ maxExternalRequests: z.ZodDefault<z.ZodNumber>;
1895
+ allowUnpricedGeneration: z.ZodDefault<z.ZodBoolean>;
1896
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1897
+ requireFunctionalValidation: z.ZodDefault<z.ZodLiteral<true>>;
1898
+ requireQualityValidation: z.ZodDefault<z.ZodLiteral<true>>;
1899
+ }, z.core.$strict>;
1900
+ steps: z.ZodArray<z.ZodObject<{
1901
+ stepId: z.ZodString;
1902
+ phase: z.ZodEnum<{
1903
+ source: "source";
1904
+ target: "target";
1905
+ build: "build";
1906
+ inspect: "inspect";
1907
+ prepare: "prepare";
1908
+ adapt: "adapt";
1909
+ validate: "validate";
1910
+ handoff: "handoff";
1911
+ }>;
1912
+ attempt: z.ZodNumber;
1913
+ inputHash: z.ZodString;
1914
+ clientRequestId: z.ZodString;
1915
+ status: z.ZodEnum<{
1916
+ failed: "failed";
1917
+ completed: "completed";
1918
+ blocked: "blocked";
1919
+ uncertain: "uncertain";
1920
+ planned: "planned";
1921
+ submitting: "submitting";
1922
+ waiting: "waiting";
1923
+ }>;
1924
+ operationId: z.ZodOptional<z.ZodString>;
1925
+ taskId: z.ZodOptional<z.ZodString>;
1926
+ reasonCode: z.ZodOptional<z.ZodString>;
1927
+ startedAt: z.ZodString;
1928
+ finishedAt: z.ZodOptional<z.ZodString>;
1929
+ outputHash: z.ZodOptional<z.ZodString>;
1930
+ }, z.core.$strict>>;
1931
+ correctionsUsed: z.ZodNumber;
1932
+ externalRequestsUsed: z.ZodNumber;
1933
+ allowedActions: z.ZodArray<z.ZodEnum<{
1934
+ pause: "pause";
1935
+ resume: "resume";
1936
+ cancel: "cancel";
1937
+ refresh: "refresh";
1938
+ "provide-input": "provide-input";
1939
+ }>>;
1940
+ inputRequired: z.ZodOptional<z.ZodObject<{
1941
+ code: z.ZodString;
1942
+ phase: z.ZodEnum<{
1943
+ source: "source";
1944
+ target: "target";
1945
+ build: "build";
1946
+ inspect: "inspect";
1947
+ prepare: "prepare";
1948
+ adapt: "adapt";
1949
+ validate: "validate";
1950
+ handoff: "handoff";
1951
+ }>;
1952
+ }, z.core.$strict>>;
1953
+ diagnostic: z.ZodOptional<z.ZodString>;
1954
+ result: z.ZodOptional<z.ZodObject<{
1955
+ model: z.ZodObject<{
1956
+ kind: z.ZodLiteral<"resource">;
1957
+ path: z.ZodString;
1958
+ contentHash: z.ZodString;
1959
+ files: z.ZodArray<z.ZodObject<{
1960
+ path: z.ZodString;
1961
+ contentHash: z.ZodString;
1962
+ }, z.core.$strict>>;
1963
+ }, z.core.$strict>;
1964
+ preparationReceiptHash: z.ZodString;
1965
+ adaptationPath: z.ZodString;
1966
+ adaptationHash: z.ZodString;
1967
+ modelBytes: z.ZodNumber;
1968
+ triangles: z.ZodNumber;
1969
+ artifact: z.ZodOptional<z.ZodObject<{
1970
+ artifactId: z.ZodString;
1971
+ versionId: z.ZodString;
1972
+ outputHash: z.ZodString;
1973
+ inputHash: z.ZodString;
1974
+ path: z.ZodString;
1975
+ }, z.core.$strict>>;
1976
+ }, z.core.$strict>>;
1977
+ validationRefs: z.ZodArray<z.ZodObject<{
1978
+ domain: z.ZodEnum<{
1979
+ "model-quality": "model-quality";
1980
+ functional: "functional";
1981
+ }>;
1982
+ operationId: z.ZodString;
1983
+ reportSetHash: z.ZodString;
1984
+ status: z.ZodEnum<{
1985
+ pending: "pending";
1986
+ failed: "failed";
1987
+ blocked: "blocked";
1988
+ stale: "stale";
1989
+ passed: "passed";
1990
+ }>;
1991
+ artifactId: z.ZodString;
1992
+ versionId: z.ZodString;
1993
+ outputHash: z.ZodString;
1994
+ inputHash: z.ZodString;
1995
+ }, z.core.$strict>>;
1996
+ modelAcceptance: z.ZodLiteral<false>;
1997
+ createdAt: z.ZodString;
1998
+ updatedAt: z.ZodString;
1999
+ finishedAt: z.ZodOptional<z.ZodString>;
2000
+ }, z.core.$strict>;
2001
+ replayed: z.ZodBoolean;
2002
+ }, z.core.$strict>;
2003
+ export declare const modelPreparationPayloadSchema: z.ZodObject<{
2004
+ pipelineId: z.ZodString;
2005
+ stepId: z.ZodString;
2006
+ sourceScope: z.ZodObject<{
2007
+ workspaceId: z.ZodString;
2008
+ directoryName: z.ZodString;
2009
+ }, z.core.$strict>;
2010
+ source: z.ZodObject<{
2011
+ kind: z.ZodLiteral<"resource">;
2012
+ path: z.ZodString;
2013
+ contentHash: z.ZodString;
2014
+ files: z.ZodArray<z.ZodObject<{
2015
+ path: z.ZodString;
2016
+ contentHash: z.ZodString;
2017
+ }, z.core.$strict>>;
2018
+ }, z.core.$strict>;
2019
+ targetDirectoryName: z.ZodDefault<z.ZodString>;
2020
+ recipe: z.ZodObject<{
2021
+ repair: z.ZodOptional<z.ZodObject<{
2022
+ schemaVersion: z.ZodLiteral<1>;
2023
+ parentContentHash: z.ZodString;
2024
+ maximumDisplacementFraction: z.ZodNumber;
2025
+ vertexRepairs: z.ZodArray<z.ZodObject<{
2026
+ weldedPositionId: z.ZodNumber;
2027
+ beforeLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2028
+ afterLocal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2029
+ }, z.core.$strict>>;
2030
+ }, z.core.$strict>>;
2031
+ split: z.ZodOptional<z.ZodObject<{
2032
+ plane: z.ZodObject<{
2033
+ normal: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2034
+ constant: z.ZodNumber;
2035
+ }, z.core.$strict>;
2036
+ hingeAxis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2037
+ innerScale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2038
+ lidInnerLift: z.ZodNumber;
2039
+ minimumThickness: z.ZodNumber;
2040
+ hingeBackClearance: z.ZodNumber;
2041
+ openAngleDegrees: z.ZodNumber;
2042
+ maximumAuxiliaryAreaFraction: z.ZodOptional<z.ZodNumber>;
2043
+ omitMicroscopicAuxiliary: z.ZodOptional<z.ZodBoolean>;
2044
+ bodyInterior: z.ZodOptional<z.ZodObject<{
2045
+ kind: z.ZodLiteral<"smooth-inset">;
2046
+ minU: z.ZodNumber;
2047
+ maxU: z.ZodNumber;
2048
+ minV: z.ZodNumber;
2049
+ maxV: z.ZodNumber;
2050
+ floorHeight: z.ZodNumber;
2051
+ }, z.core.$strict>>;
2052
+ }, z.core.$strict>>;
2053
+ optimize: z.ZodOptional<z.ZodObject<{
2054
+ textureSize: z.ZodDefault<z.ZodNumber>;
2055
+ textureFormat: z.ZodOptional<z.ZodEnum<{
2056
+ png: "png";
2057
+ jpeg: "jpeg";
2058
+ }>>;
2059
+ quality: z.ZodDefault<z.ZodNumber>;
2060
+ texturesOnly: z.ZodDefault<z.ZodLiteral<true>>;
2061
+ }, z.core.$strict>>;
2062
+ adaptation: z.ZodOptional<z.ZodObject<{
2063
+ schemaVersion: z.ZodLiteral<1>;
2064
+ source: z.ZodObject<{
2065
+ kind: z.ZodLiteral<"resource">;
2066
+ path: z.ZodString;
2067
+ contentHash: z.ZodString;
2068
+ files: z.ZodArray<z.ZodObject<{
2069
+ path: z.ZodString;
2070
+ contentHash: z.ZodString;
2071
+ }, z.core.$strict>>;
2072
+ }, z.core.$strict>;
2073
+ normalization: z.ZodDefault<z.ZodObject<{
2074
+ unitScale: z.ZodDefault<z.ZodNumber>;
2075
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
2076
+ }, z.core.$strict>>;
2077
+ transform: z.ZodDefault<z.ZodObject<{
2078
+ position: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
2079
+ rotationDegrees: z.ZodDefault<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
2080
+ scale: z.ZodDefault<z.ZodNumber>;
2081
+ }, z.core.$strict>>;
2082
+ materialOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
2083
+ nodeRef: z.ZodObject<{
2084
+ sourceNodeId: z.ZodString;
2085
+ geometryHash: z.ZodString;
2086
+ }, z.core.$strict>;
2087
+ materialIndex: z.ZodNumber;
2088
+ tint: z.ZodOptional<z.ZodString>;
2089
+ roughness: z.ZodOptional<z.ZodNumber>;
2090
+ metalness: z.ZodOptional<z.ZodNumber>;
2091
+ }, z.core.$strict>>>;
2092
+ visibility: z.ZodDefault<z.ZodArray<z.ZodObject<{
2093
+ nodeRef: z.ZodObject<{
2094
+ sourceNodeId: z.ZodString;
2095
+ geometryHash: z.ZodString;
2096
+ }, z.core.$strict>;
2097
+ visible: z.ZodBoolean;
2098
+ }, z.core.$strict>>>;
2099
+ hinges: z.ZodDefault<z.ZodArray<z.ZodObject<{
2100
+ id: z.ZodString;
2101
+ movingNodeRef: z.ZodObject<{
2102
+ sourceNodeId: z.ZodString;
2103
+ geometryHash: z.ZodString;
2104
+ }, z.core.$strict>;
2105
+ bodyNodeRefs: z.ZodArray<z.ZodObject<{
2106
+ sourceNodeId: z.ZodString;
2107
+ geometryHash: z.ZodString;
2108
+ }, z.core.$strict>>;
2109
+ pivot: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2110
+ axis: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2111
+ openAngleDegrees: z.ZodNumber;
2112
+ }, z.core.$strict>>>;
2113
+ }, z.core.$strict>>;
2114
+ }, z.core.$strict>;
2115
+ requiredCapability: z.ZodEnum<{
2116
+ static: "static";
2117
+ "rigid-hinge": "rigid-hinge";
2118
+ }>;
2119
+ maxModelBytes: z.ZodNumber;
2120
+ maxTriangles: z.ZodNumber;
2121
+ expectedTargetSnapshotHash: z.ZodOptional<z.ZodString>;
2122
+ resumeFromReceiptHash: z.ZodOptional<z.ZodString>;
2123
+ }, z.core.$strict>;
2124
+ export declare const modelPreparationReceiptSchema: z.ZodObject<{
2125
+ kind: z.ZodLiteral<"model-preparation">;
2126
+ schemaVersion: z.ZodLiteral<1>;
2127
+ pipelineId: z.ZodString;
2128
+ stepId: z.ZodString;
2129
+ status: z.ZodEnum<{
2130
+ blocked: "blocked";
2131
+ prepared: "prepared";
2132
+ }>;
2133
+ reasonCode: z.ZodOptional<z.ZodString>;
2134
+ inputHash: z.ZodString;
2135
+ receiptHash: z.ZodString;
2136
+ sourceScope: z.ZodObject<{
2137
+ workspaceId: z.ZodString;
2138
+ directoryName: z.ZodString;
2139
+ }, z.core.$strict>;
2140
+ source: z.ZodObject<{
2141
+ kind: z.ZodLiteral<"resource">;
2142
+ path: z.ZodString;
2143
+ contentHash: z.ZodString;
2144
+ files: z.ZodArray<z.ZodObject<{
2145
+ path: z.ZodString;
2146
+ contentHash: z.ZodString;
2147
+ }, z.core.$strict>>;
2148
+ }, z.core.$strict>;
2149
+ model: z.ZodOptional<z.ZodObject<{
2150
+ kind: z.ZodLiteral<"resource">;
2151
+ path: z.ZodString;
2152
+ contentHash: z.ZodString;
2153
+ files: z.ZodArray<z.ZodObject<{
2154
+ path: z.ZodString;
2155
+ contentHash: z.ZodString;
2156
+ }, z.core.$strict>>;
2157
+ }, z.core.$strict>>;
2158
+ adaptationPath: z.ZodOptional<z.ZodString>;
2159
+ adaptationHash: z.ZodOptional<z.ZodString>;
2160
+ manifestPath: z.ZodOptional<z.ZodString>;
2161
+ modelBytes: z.ZodOptional<z.ZodNumber>;
2162
+ triangles: z.ZodOptional<z.ZodNumber>;
2163
+ lineageFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
2164
+ path: z.ZodString;
2165
+ contentHash: z.ZodString;
2166
+ }, z.core.$strict>>>;
2167
+ toolHash: z.ZodString;
2168
+ writePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
2169
+ browserValidation: z.ZodLiteral<"pending">;
2170
+ modelAcceptance: z.ZodLiteral<false>;
2171
+ }, z.core.$strict>;
2172
+ export type ModelProductionScope = z.infer<typeof modelProductionScopeSchema>;
2173
+ export type ModelProductionSource = z.infer<typeof modelProductionSourceSchema>;
2174
+ export type ModelProductionRecipe = z.infer<typeof modelProductionRecipeSchema>;
2175
+ export type ModelProductionPolicy = z.infer<typeof modelProductionPolicySchema>;
2176
+ export type ModelProductionCreate = z.infer<typeof modelProductionCreateSchema>;
2177
+ export type ModelProductionControl = z.infer<typeof modelProductionControlSchema>;
2178
+ export type ModelProductionRun = z.infer<typeof modelProductionRunSchema>;
2179
+ export type ModelProductionStep = z.infer<typeof modelProductionStepSchema>;
2180
+ export type ModelPreparationPayload = z.infer<typeof modelPreparationPayloadSchema>;
2181
+ export type ModelPreparationReceipt = z.infer<typeof modelPreparationReceiptSchema>;
2182
+ //# sourceMappingURL=model-production.d.ts.map