pixelkiln 0.68.1 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -415,39 +415,30 @@ declare function requireBalance(provider: Provider): NonNullable<Provider["balan
415
415
  declare function formatCost(unit: CostUnit, amount: number): string;
416
416
 
417
417
  /**
418
- * PixelLab's per-joint keypoint, `{label, x, y, z_index}` (confirmed against
419
- * the live `animate_with_skeleton_v3` MCP tool schema, whose own example is
420
- * `{"label": "RIGHT KNEE", "x": 0.52, "y": 0.71, "z_index": 9}`). Field names
421
- * are snake_case here, breaking this codebase's usual camelCase convention —
422
- * deliberately: this is a serialized PixelLab API payload, not manifest
423
- * prose. The realistic authoring path is `pixelkiln estimate-skeleton` →
424
- * dump the response to disk unmodified → hand-tweak a few joints for
425
- * in-between frames. Renaming fields would make that a lossy round trip.
418
+ * PixelLab's per-joint keypoint, `{label, x, y, z_index}`, with `x`/`y` as
419
+ * fractions of the image (the MCP tool's own example is `{"label": "RIGHT
420
+ * KNEE", "x": 0.52, "y": 0.71, "z_index": 9}`). Field names are snake_case,
421
+ * breaking this codebase's usual camelCase convention, deliberately: this is
422
+ * a serialized PixelLab payload, and `pixelkiln estimate-skeleton` writes the
423
+ * response to disk as it came, so renaming would make that a lossy round trip.
426
424
  *
427
- * `label` is left a free string, not an enum of the 18 canonical joint
428
- * names: the exhaustive list and exact spelling of all 18 is not confirmed
429
- * anywhere this codebase can read from (only "RIGHT KNEE" is known, as an
430
- * example). Guessing the other 17 and getting one wrong would silently
431
- * reject a valid request. No client-side content validation of `label`
432
- * beyond requiring one — matching this codebase's existing precedent of
433
- * letting PixelLab's API reject what it rejects rather than gating on an
434
- * assumed vocabulary (no other PixelLab call in this codebase validates
435
- * field *content* client-side, only shape/range).
425
+ * `label` is one of the 18 names the OpenAPI document enumerates, so a typo
426
+ * fails when the manifest loads instead of after a paid call.
436
427
  */
437
428
  declare const SkeletonKeypointSchema: z.ZodObject<{
438
- label: z.ZodString;
429
+ label: z.ZodEnum<["NOSE", "NECK", "RIGHT SHOULDER", "RIGHT ELBOW", "RIGHT ARM", "LEFT SHOULDER", "LEFT ELBOW", "LEFT ARM", "RIGHT HIP", "RIGHT KNEE", "RIGHT LEG", "LEFT HIP", "LEFT KNEE", "LEFT LEG", "RIGHT EYE", "LEFT EYE", "RIGHT EAR", "LEFT EAR"]>;
439
430
  x: z.ZodNumber;
440
431
  y: z.ZodNumber;
441
432
  z_index: z.ZodNumber;
442
433
  depth: z.ZodOptional<z.ZodNumber>;
443
434
  }, "strict", z.ZodTypeAny, {
444
- label: string;
435
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
445
436
  x: number;
446
437
  y: number;
447
438
  z_index: number;
448
439
  depth?: number | undefined;
449
440
  }, {
450
- label: string;
441
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
451
442
  x: number;
452
443
  y: number;
453
444
  z_index: number;
@@ -460,54 +451,78 @@ type SkeletonKeypoint = z.infer<typeof SkeletonKeypointSchema>;
460
451
  * motion (3-15 frames, PixelLab's own documented ceiling).
461
452
  */
462
453
  declare const SkeletonSetSchema: z.ZodObject<{
463
- firstFrameKeypoints: z.ZodArray<z.ZodObject<{
464
- label: z.ZodString;
454
+ firstFrameKeypoints: z.ZodEffects<z.ZodArray<z.ZodObject<{
455
+ label: z.ZodEnum<["NOSE", "NECK", "RIGHT SHOULDER", "RIGHT ELBOW", "RIGHT ARM", "LEFT SHOULDER", "LEFT ELBOW", "LEFT ARM", "RIGHT HIP", "RIGHT KNEE", "RIGHT LEG", "LEFT HIP", "LEFT KNEE", "LEFT LEG", "RIGHT EYE", "LEFT EYE", "RIGHT EAR", "LEFT EAR"]>;
465
456
  x: z.ZodNumber;
466
457
  y: z.ZodNumber;
467
458
  z_index: z.ZodNumber;
468
459
  depth: z.ZodOptional<z.ZodNumber>;
469
460
  }, "strict", z.ZodTypeAny, {
470
- label: string;
461
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
471
462
  x: number;
472
463
  y: number;
473
464
  z_index: number;
474
465
  depth?: number | undefined;
475
466
  }, {
476
- label: string;
467
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
477
468
  x: number;
478
469
  y: number;
479
470
  z_index: number;
480
471
  depth?: number | undefined;
481
- }>, "many">;
482
- frames: z.ZodArray<z.ZodArray<z.ZodObject<{
483
- label: z.ZodString;
472
+ }>, "many">, {
473
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
474
+ x: number;
475
+ y: number;
476
+ z_index: number;
477
+ depth?: number | undefined;
478
+ }[], {
479
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
480
+ x: number;
481
+ y: number;
482
+ z_index: number;
483
+ depth?: number | undefined;
484
+ }[]>;
485
+ frames: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodObject<{
486
+ label: z.ZodEnum<["NOSE", "NECK", "RIGHT SHOULDER", "RIGHT ELBOW", "RIGHT ARM", "LEFT SHOULDER", "LEFT ELBOW", "LEFT ARM", "RIGHT HIP", "RIGHT KNEE", "RIGHT LEG", "LEFT HIP", "LEFT KNEE", "LEFT LEG", "RIGHT EYE", "LEFT EYE", "RIGHT EAR", "LEFT EAR"]>;
484
487
  x: z.ZodNumber;
485
488
  y: z.ZodNumber;
486
489
  z_index: z.ZodNumber;
487
490
  depth: z.ZodOptional<z.ZodNumber>;
488
491
  }, "strict", z.ZodTypeAny, {
489
- label: string;
492
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
490
493
  x: number;
491
494
  y: number;
492
495
  z_index: number;
493
496
  depth?: number | undefined;
494
497
  }, {
495
- label: string;
498
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
499
+ x: number;
500
+ y: number;
501
+ z_index: number;
502
+ depth?: number | undefined;
503
+ }>, "many">, {
504
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
496
505
  x: number;
497
506
  y: number;
498
507
  z_index: number;
499
508
  depth?: number | undefined;
500
- }>, "many">, "many">;
509
+ }[], {
510
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
511
+ x: number;
512
+ y: number;
513
+ z_index: number;
514
+ depth?: number | undefined;
515
+ }[]>, "many">;
501
516
  }, "strict", z.ZodTypeAny, {
502
517
  firstFrameKeypoints: {
503
- label: string;
518
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
504
519
  x: number;
505
520
  y: number;
506
521
  z_index: number;
507
522
  depth?: number | undefined;
508
523
  }[];
509
524
  frames: {
510
- label: string;
525
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
511
526
  x: number;
512
527
  y: number;
513
528
  z_index: number;
@@ -515,14 +530,14 @@ declare const SkeletonSetSchema: z.ZodObject<{
515
530
  }[][];
516
531
  }, {
517
532
  firstFrameKeypoints: {
518
- label: string;
533
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
519
534
  x: number;
520
535
  y: number;
521
536
  z_index: number;
522
537
  depth?: number | undefined;
523
538
  }[];
524
539
  frames: {
525
- label: string;
540
+ label: "NOSE" | "NECK" | "RIGHT SHOULDER" | "RIGHT ELBOW" | "RIGHT ARM" | "LEFT SHOULDER" | "LEFT ELBOW" | "LEFT ARM" | "RIGHT HIP" | "RIGHT KNEE" | "RIGHT LEG" | "LEFT HIP" | "LEFT KNEE" | "LEFT LEG" | "RIGHT EYE" | "LEFT EYE" | "RIGHT EAR" | "LEFT EAR";
526
541
  x: number;
527
542
  y: number;
528
543
  z_index: number;
@@ -937,11 +952,11 @@ declare const AssetBatchSchema: z.ZodObject<{
937
952
  /** 1-based slot in the batch (the leader is implicitly slot 0). Unique and contiguous among siblings. */
938
953
  index: z.ZodNumber;
939
954
  }, "strict", z.ZodTypeAny, {
940
- of: string;
941
955
  index: number;
942
- }, {
943
956
  of: string;
957
+ }, {
944
958
  index: number;
959
+ of: string;
945
960
  }>;
946
961
  type AssetBatch = z.infer<typeof AssetBatchSchema>;
947
962
  /** A pose or outfit of an existing character, applied to every direction. */
@@ -987,10 +1002,10 @@ declare const CharacterPortraitSchema: z.ZodObject<{
987
1002
  size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
988
1003
  }, "strict", z.ZodTypeAny, {
989
1004
  of: string;
990
- size: 16 | 128 | 64 | 32 | 48 | 160;
1005
+ size: 16 | 32 | 64 | 128 | 48 | 160;
991
1006
  }, {
992
1007
  of: string;
993
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
1008
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
994
1009
  }>;
995
1010
  type CharacterPortrait = z.infer<typeof CharacterPortraitSchema>;
996
1011
  /**
@@ -1938,7 +1953,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1938
1953
  buildingFloor2Description?: string | undefined;
1939
1954
  buildingWallAngle?: number | undefined;
1940
1955
  outlineMode?: "outline" | "segmentation" | undefined;
1941
- terrainTileSize?: 16 | 64 | 32 | undefined;
1956
+ terrainTileSize?: 16 | 32 | 64 | undefined;
1942
1957
  terrainMode?: "standard" | "pro" | undefined;
1943
1958
  uiColorPalette?: string | undefined;
1944
1959
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -2017,7 +2032,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2017
2032
  buildingFloor2Description?: string | undefined;
2018
2033
  buildingWallAngle?: number | undefined;
2019
2034
  outlineMode?: "outline" | "segmentation" | undefined;
2020
- terrainTileSize?: 16 | 64 | 32 | undefined;
2035
+ terrainTileSize?: 16 | 32 | 64 | undefined;
2021
2036
  terrainMode?: "standard" | "pro" | undefined;
2022
2037
  uiColorPalette?: string | undefined;
2023
2038
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -2104,7 +2119,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2104
2119
  buildingFloor2Description?: string | undefined;
2105
2120
  buildingWallAngle?: number | undefined;
2106
2121
  outlineMode?: "outline" | "segmentation" | undefined;
2107
- terrainTileSize?: 16 | 64 | 32 | undefined;
2122
+ terrainTileSize?: 16 | 32 | 64 | undefined;
2108
2123
  terrainMode?: "standard" | "pro" | undefined;
2109
2124
  uiColorPalette?: string | undefined;
2110
2125
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -2183,7 +2198,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2183
2198
  buildingFloor2Description?: string | undefined;
2184
2199
  buildingWallAngle?: number | undefined;
2185
2200
  outlineMode?: "outline" | "segmentation" | undefined;
2186
- terrainTileSize?: 16 | 64 | 32 | undefined;
2201
+ terrainTileSize?: 16 | 32 | 64 | undefined;
2187
2202
  terrainMode?: "standard" | "pro" | undefined;
2188
2203
  uiColorPalette?: string | undefined;
2189
2204
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -2270,7 +2285,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2270
2285
  buildingFloor2Description?: string | undefined;
2271
2286
  buildingWallAngle?: number | undefined;
2272
2287
  outlineMode?: "outline" | "segmentation" | undefined;
2273
- terrainTileSize?: 16 | 64 | 32 | undefined;
2288
+ terrainTileSize?: 16 | 32 | 64 | undefined;
2274
2289
  terrainMode?: "standard" | "pro" | undefined;
2275
2290
  uiColorPalette?: string | undefined;
2276
2291
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -2349,7 +2364,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2349
2364
  buildingFloor2Description?: string | undefined;
2350
2365
  buildingWallAngle?: number | undefined;
2351
2366
  outlineMode?: "outline" | "segmentation" | undefined;
2352
- terrainTileSize?: 16 | 64 | 32 | undefined;
2367
+ terrainTileSize?: 16 | 32 | 64 | undefined;
2353
2368
  terrainMode?: "standard" | "pro" | undefined;
2354
2369
  uiColorPalette?: string | undefined;
2355
2370
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -2583,7 +2598,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2583
2598
  buildingFloor2Description?: string | undefined;
2584
2599
  buildingWallAngle?: number | undefined;
2585
2600
  outlineMode?: "outline" | "segmentation" | undefined;
2586
- terrainTileSize?: 16 | 64 | 32 | undefined;
2601
+ terrainTileSize?: 16 | 32 | 64 | undefined;
2587
2602
  terrainMode?: "standard" | "pro" | undefined;
2588
2603
  uiColorPalette?: string | undefined;
2589
2604
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -2667,7 +2682,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2667
2682
  buildingFloor2Description?: string | undefined;
2668
2683
  buildingWallAngle?: number | undefined;
2669
2684
  outlineMode?: "outline" | "segmentation" | undefined;
2670
- terrainTileSize?: 16 | 64 | 32 | undefined;
2685
+ terrainTileSize?: 16 | 32 | 64 | undefined;
2671
2686
  terrainMode?: "standard" | "pro" | undefined;
2672
2687
  uiColorPalette?: string | undefined;
2673
2688
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3126,7 +3141,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3126
3141
  buildingFloor2Description?: string | undefined;
3127
3142
  buildingWallAngle?: number | undefined;
3128
3143
  outlineMode?: "outline" | "segmentation" | undefined;
3129
- terrainTileSize?: 16 | 64 | 32 | undefined;
3144
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3130
3145
  terrainMode?: "standard" | "pro" | undefined;
3131
3146
  uiColorPalette?: string | undefined;
3132
3147
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3205,7 +3220,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3205
3220
  buildingFloor2Description?: string | undefined;
3206
3221
  buildingWallAngle?: number | undefined;
3207
3222
  outlineMode?: "outline" | "segmentation" | undefined;
3208
- terrainTileSize?: 16 | 64 | 32 | undefined;
3223
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3209
3224
  terrainMode?: "standard" | "pro" | undefined;
3210
3225
  uiColorPalette?: string | undefined;
3211
3226
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3292,7 +3307,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3292
3307
  buildingFloor2Description?: string | undefined;
3293
3308
  buildingWallAngle?: number | undefined;
3294
3309
  outlineMode?: "outline" | "segmentation" | undefined;
3295
- terrainTileSize?: 16 | 64 | 32 | undefined;
3310
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3296
3311
  terrainMode?: "standard" | "pro" | undefined;
3297
3312
  uiColorPalette?: string | undefined;
3298
3313
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3371,7 +3386,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3371
3386
  buildingFloor2Description?: string | undefined;
3372
3387
  buildingWallAngle?: number | undefined;
3373
3388
  outlineMode?: "outline" | "segmentation" | undefined;
3374
- terrainTileSize?: 16 | 64 | 32 | undefined;
3389
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3375
3390
  terrainMode?: "standard" | "pro" | undefined;
3376
3391
  uiColorPalette?: string | undefined;
3377
3392
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3458,7 +3473,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3458
3473
  buildingFloor2Description?: string | undefined;
3459
3474
  buildingWallAngle?: number | undefined;
3460
3475
  outlineMode?: "outline" | "segmentation" | undefined;
3461
- terrainTileSize?: 16 | 64 | 32 | undefined;
3476
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3462
3477
  terrainMode?: "standard" | "pro" | undefined;
3463
3478
  uiColorPalette?: string | undefined;
3464
3479
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3537,7 +3552,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3537
3552
  buildingFloor2Description?: string | undefined;
3538
3553
  buildingWallAngle?: number | undefined;
3539
3554
  outlineMode?: "outline" | "segmentation" | undefined;
3540
- terrainTileSize?: 16 | 64 | 32 | undefined;
3555
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3541
3556
  terrainMode?: "standard" | "pro" | undefined;
3542
3557
  uiColorPalette?: string | undefined;
3543
3558
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3766,7 +3781,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3766
3781
  buildingFloor2Description?: string | undefined;
3767
3782
  buildingWallAngle?: number | undefined;
3768
3783
  outlineMode?: "outline" | "segmentation" | undefined;
3769
- terrainTileSize?: 16 | 64 | 32 | undefined;
3784
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3770
3785
  terrainMode?: "standard" | "pro" | undefined;
3771
3786
  uiColorPalette?: string | undefined;
3772
3787
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -3850,7 +3865,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3850
3865
  buildingFloor2Description?: string | undefined;
3851
3866
  buildingWallAngle?: number | undefined;
3852
3867
  outlineMode?: "outline" | "segmentation" | undefined;
3853
- terrainTileSize?: 16 | 64 | 32 | undefined;
3868
+ terrainTileSize?: 16 | 32 | 64 | undefined;
3854
3869
  terrainMode?: "standard" | "pro" | undefined;
3855
3870
  uiColorPalette?: string | undefined;
3856
3871
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -4258,11 +4273,11 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4258
4273
  /** 1-based slot in the batch (the leader is implicitly slot 0). Unique and contiguous among siblings. */
4259
4274
  index: z.ZodNumber;
4260
4275
  }, "strict", z.ZodTypeAny, {
4261
- of: string;
4262
4276
  index: number;
4263
- }, {
4264
4277
  of: string;
4278
+ }, {
4265
4279
  index: number;
4280
+ of: string;
4266
4281
  }>>;
4267
4282
  /** `uiAsset` styles: precise shape regions the panel is composited from. Combine with `elements`; omit both for a default full-canvas panel. */
4268
4283
  pieces: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -4350,10 +4365,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4350
4365
  size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
4351
4366
  }, "strict", z.ZodTypeAny, {
4352
4367
  of: string;
4353
- size: 16 | 128 | 64 | 32 | 48 | 160;
4368
+ size: 16 | 32 | 64 | 128 | 48 | 160;
4354
4369
  }, {
4355
4370
  of: string;
4356
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
4371
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
4357
4372
  }>>;
4358
4373
  /** `character` styles: this asset re-clothes an existing loop's frames with a reference outfit. */
4359
4374
  outfit: z.ZodOptional<z.ZodObject<{
@@ -4532,7 +4547,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4532
4547
  } | undefined;
4533
4548
  portrait?: {
4534
4549
  of: string;
4535
- size: 16 | 128 | 64 | 32 | 48 | 160;
4550
+ size: 16 | 32 | 64 | 128 | 48 | 160;
4536
4551
  } | undefined;
4537
4552
  outfit?: {
4538
4553
  of: string;
@@ -4573,8 +4588,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4573
4588
  } | undefined;
4574
4589
  remoteId?: string | undefined;
4575
4590
  batch?: {
4576
- of: string;
4577
4591
  index: number;
4592
+ of: string;
4578
4593
  } | undefined;
4579
4594
  pieces?: ({
4580
4595
  x: number;
@@ -4648,7 +4663,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4648
4663
  } | undefined;
4649
4664
  portrait?: {
4650
4665
  of: string;
4651
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
4666
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
4652
4667
  } | undefined;
4653
4668
  outfit?: {
4654
4669
  of: string;
@@ -4691,8 +4706,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4691
4706
  } | undefined;
4692
4707
  remoteId?: string | undefined;
4693
4708
  batch?: {
4694
- of: string;
4695
4709
  index: number;
4710
+ of: string;
4696
4711
  } | undefined;
4697
4712
  pieces?: ({
4698
4713
  x: number;
@@ -4774,7 +4789,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4774
4789
  } | undefined;
4775
4790
  portrait?: {
4776
4791
  of: string;
4777
- size: 16 | 128 | 64 | 32 | 48 | 160;
4792
+ size: 16 | 32 | 64 | 128 | 48 | 160;
4778
4793
  } | undefined;
4779
4794
  outfit?: {
4780
4795
  of: string;
@@ -4815,8 +4830,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4815
4830
  } | undefined;
4816
4831
  remoteId?: string | undefined;
4817
4832
  batch?: {
4818
- of: string;
4819
4833
  index: number;
4834
+ of: string;
4820
4835
  } | undefined;
4821
4836
  pieces?: ({
4822
4837
  x: number;
@@ -4890,7 +4905,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4890
4905
  } | undefined;
4891
4906
  portrait?: {
4892
4907
  of: string;
4893
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
4908
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
4894
4909
  } | undefined;
4895
4910
  outfit?: {
4896
4911
  of: string;
@@ -4933,8 +4948,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4933
4948
  } | undefined;
4934
4949
  remoteId?: string | undefined;
4935
4950
  batch?: {
4936
- of: string;
4937
4951
  index: number;
4952
+ of: string;
4938
4953
  } | undefined;
4939
4954
  pieces?: ({
4940
4955
  x: number;
@@ -5400,7 +5415,7 @@ declare const ManifestSchema: z.ZodObject<{
5400
5415
  buildingFloor2Description?: string | undefined;
5401
5416
  buildingWallAngle?: number | undefined;
5402
5417
  outlineMode?: "outline" | "segmentation" | undefined;
5403
- terrainTileSize?: 16 | 64 | 32 | undefined;
5418
+ terrainTileSize?: 16 | 32 | 64 | undefined;
5404
5419
  terrainMode?: "standard" | "pro" | undefined;
5405
5420
  uiColorPalette?: string | undefined;
5406
5421
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -5479,7 +5494,7 @@ declare const ManifestSchema: z.ZodObject<{
5479
5494
  buildingFloor2Description?: string | undefined;
5480
5495
  buildingWallAngle?: number | undefined;
5481
5496
  outlineMode?: "outline" | "segmentation" | undefined;
5482
- terrainTileSize?: 16 | 64 | 32 | undefined;
5497
+ terrainTileSize?: 16 | 32 | 64 | undefined;
5483
5498
  terrainMode?: "standard" | "pro" | undefined;
5484
5499
  uiColorPalette?: string | undefined;
5485
5500
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -5566,7 +5581,7 @@ declare const ManifestSchema: z.ZodObject<{
5566
5581
  buildingFloor2Description?: string | undefined;
5567
5582
  buildingWallAngle?: number | undefined;
5568
5583
  outlineMode?: "outline" | "segmentation" | undefined;
5569
- terrainTileSize?: 16 | 64 | 32 | undefined;
5584
+ terrainTileSize?: 16 | 32 | 64 | undefined;
5570
5585
  terrainMode?: "standard" | "pro" | undefined;
5571
5586
  uiColorPalette?: string | undefined;
5572
5587
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -5645,7 +5660,7 @@ declare const ManifestSchema: z.ZodObject<{
5645
5660
  buildingFloor2Description?: string | undefined;
5646
5661
  buildingWallAngle?: number | undefined;
5647
5662
  outlineMode?: "outline" | "segmentation" | undefined;
5648
- terrainTileSize?: 16 | 64 | 32 | undefined;
5663
+ terrainTileSize?: 16 | 32 | 64 | undefined;
5649
5664
  terrainMode?: "standard" | "pro" | undefined;
5650
5665
  uiColorPalette?: string | undefined;
5651
5666
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -5732,7 +5747,7 @@ declare const ManifestSchema: z.ZodObject<{
5732
5747
  buildingFloor2Description?: string | undefined;
5733
5748
  buildingWallAngle?: number | undefined;
5734
5749
  outlineMode?: "outline" | "segmentation" | undefined;
5735
- terrainTileSize?: 16 | 64 | 32 | undefined;
5750
+ terrainTileSize?: 16 | 32 | 64 | undefined;
5736
5751
  terrainMode?: "standard" | "pro" | undefined;
5737
5752
  uiColorPalette?: string | undefined;
5738
5753
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -5811,7 +5826,7 @@ declare const ManifestSchema: z.ZodObject<{
5811
5826
  buildingFloor2Description?: string | undefined;
5812
5827
  buildingWallAngle?: number | undefined;
5813
5828
  outlineMode?: "outline" | "segmentation" | undefined;
5814
- terrainTileSize?: 16 | 64 | 32 | undefined;
5829
+ terrainTileSize?: 16 | 32 | 64 | undefined;
5815
5830
  terrainMode?: "standard" | "pro" | undefined;
5816
5831
  uiColorPalette?: string | undefined;
5817
5832
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -6218,11 +6233,11 @@ declare const ManifestSchema: z.ZodObject<{
6218
6233
  /** 1-based slot in the batch (the leader is implicitly slot 0). Unique and contiguous among siblings. */
6219
6234
  index: z.ZodNumber;
6220
6235
  }, "strict", z.ZodTypeAny, {
6221
- of: string;
6222
6236
  index: number;
6223
- }, {
6224
6237
  of: string;
6238
+ }, {
6225
6239
  index: number;
6240
+ of: string;
6226
6241
  }>>;
6227
6242
  /** `uiAsset` styles: precise shape regions the panel is composited from. Combine with `elements`; omit both for a default full-canvas panel. */
6228
6243
  pieces: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -6310,10 +6325,10 @@ declare const ManifestSchema: z.ZodObject<{
6310
6325
  size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
6311
6326
  }, "strict", z.ZodTypeAny, {
6312
6327
  of: string;
6313
- size: 16 | 128 | 64 | 32 | 48 | 160;
6328
+ size: 16 | 32 | 64 | 128 | 48 | 160;
6314
6329
  }, {
6315
6330
  of: string;
6316
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
6331
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
6317
6332
  }>>;
6318
6333
  /** `character` styles: this asset re-clothes an existing loop's frames with a reference outfit. */
6319
6334
  outfit: z.ZodOptional<z.ZodObject<{
@@ -6492,7 +6507,7 @@ declare const ManifestSchema: z.ZodObject<{
6492
6507
  } | undefined;
6493
6508
  portrait?: {
6494
6509
  of: string;
6495
- size: 16 | 128 | 64 | 32 | 48 | 160;
6510
+ size: 16 | 32 | 64 | 128 | 48 | 160;
6496
6511
  } | undefined;
6497
6512
  outfit?: {
6498
6513
  of: string;
@@ -6533,8 +6548,8 @@ declare const ManifestSchema: z.ZodObject<{
6533
6548
  } | undefined;
6534
6549
  remoteId?: string | undefined;
6535
6550
  batch?: {
6536
- of: string;
6537
6551
  index: number;
6552
+ of: string;
6538
6553
  } | undefined;
6539
6554
  pieces?: ({
6540
6555
  x: number;
@@ -6608,7 +6623,7 @@ declare const ManifestSchema: z.ZodObject<{
6608
6623
  } | undefined;
6609
6624
  portrait?: {
6610
6625
  of: string;
6611
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
6626
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
6612
6627
  } | undefined;
6613
6628
  outfit?: {
6614
6629
  of: string;
@@ -6651,8 +6666,8 @@ declare const ManifestSchema: z.ZodObject<{
6651
6666
  } | undefined;
6652
6667
  remoteId?: string | undefined;
6653
6668
  batch?: {
6654
- of: string;
6655
6669
  index: number;
6670
+ of: string;
6656
6671
  } | undefined;
6657
6672
  pieces?: ({
6658
6673
  x: number;
@@ -6734,7 +6749,7 @@ declare const ManifestSchema: z.ZodObject<{
6734
6749
  } | undefined;
6735
6750
  portrait?: {
6736
6751
  of: string;
6737
- size: 16 | 128 | 64 | 32 | 48 | 160;
6752
+ size: 16 | 32 | 64 | 128 | 48 | 160;
6738
6753
  } | undefined;
6739
6754
  outfit?: {
6740
6755
  of: string;
@@ -6775,8 +6790,8 @@ declare const ManifestSchema: z.ZodObject<{
6775
6790
  } | undefined;
6776
6791
  remoteId?: string | undefined;
6777
6792
  batch?: {
6778
- of: string;
6779
6793
  index: number;
6794
+ of: string;
6780
6795
  } | undefined;
6781
6796
  pieces?: ({
6782
6797
  x: number;
@@ -6850,7 +6865,7 @@ declare const ManifestSchema: z.ZodObject<{
6850
6865
  } | undefined;
6851
6866
  portrait?: {
6852
6867
  of: string;
6853
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
6868
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
6854
6869
  } | undefined;
6855
6870
  outfit?: {
6856
6871
  of: string;
@@ -6893,8 +6908,8 @@ declare const ManifestSchema: z.ZodObject<{
6893
6908
  } | undefined;
6894
6909
  remoteId?: string | undefined;
6895
6910
  batch?: {
6896
- of: string;
6897
6911
  index: number;
6912
+ of: string;
6898
6913
  } | undefined;
6899
6914
  pieces?: ({
6900
6915
  x: number;
@@ -6982,7 +6997,7 @@ declare const ManifestSchema: z.ZodObject<{
6982
6997
  buildingFloor2Description?: string | undefined;
6983
6998
  buildingWallAngle?: number | undefined;
6984
6999
  outlineMode?: "outline" | "segmentation" | undefined;
6985
- terrainTileSize?: 16 | 64 | 32 | undefined;
7000
+ terrainTileSize?: 16 | 32 | 64 | undefined;
6986
7001
  terrainMode?: "standard" | "pro" | undefined;
6987
7002
  uiColorPalette?: string | undefined;
6988
7003
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -7064,7 +7079,7 @@ declare const ManifestSchema: z.ZodObject<{
7064
7079
  } | undefined;
7065
7080
  portrait?: {
7066
7081
  of: string;
7067
- size: 16 | 128 | 64 | 32 | 48 | 160;
7082
+ size: 16 | 32 | 64 | 128 | 48 | 160;
7068
7083
  } | undefined;
7069
7084
  outfit?: {
7070
7085
  of: string;
@@ -7105,8 +7120,8 @@ declare const ManifestSchema: z.ZodObject<{
7105
7120
  } | undefined;
7106
7121
  remoteId?: string | undefined;
7107
7122
  batch?: {
7108
- of: string;
7109
7123
  index: number;
7124
+ of: string;
7110
7125
  } | undefined;
7111
7126
  pieces?: ({
7112
7127
  x: number;
@@ -7188,7 +7203,7 @@ declare const ManifestSchema: z.ZodObject<{
7188
7203
  buildingFloor2Description?: string | undefined;
7189
7204
  buildingWallAngle?: number | undefined;
7190
7205
  outlineMode?: "outline" | "segmentation" | undefined;
7191
- terrainTileSize?: 16 | 64 | 32 | undefined;
7206
+ terrainTileSize?: 16 | 32 | 64 | undefined;
7192
7207
  terrainMode?: "standard" | "pro" | undefined;
7193
7208
  uiColorPalette?: string | undefined;
7194
7209
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -7269,7 +7284,7 @@ declare const ManifestSchema: z.ZodObject<{
7269
7284
  } | undefined;
7270
7285
  portrait?: {
7271
7286
  of: string;
7272
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
7287
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
7273
7288
  } | undefined;
7274
7289
  outfit?: {
7275
7290
  of: string;
@@ -7312,8 +7327,8 @@ declare const ManifestSchema: z.ZodObject<{
7312
7327
  } | undefined;
7313
7328
  remoteId?: string | undefined;
7314
7329
  batch?: {
7315
- of: string;
7316
7330
  index: number;
7331
+ of: string;
7317
7332
  } | undefined;
7318
7333
  pieces?: ({
7319
7334
  x: number;
@@ -7780,7 +7795,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7780
7795
  buildingFloor2Description?: string | undefined;
7781
7796
  buildingWallAngle?: number | undefined;
7782
7797
  outlineMode?: "outline" | "segmentation" | undefined;
7783
- terrainTileSize?: 16 | 64 | 32 | undefined;
7798
+ terrainTileSize?: 16 | 32 | 64 | undefined;
7784
7799
  terrainMode?: "standard" | "pro" | undefined;
7785
7800
  uiColorPalette?: string | undefined;
7786
7801
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -7859,7 +7874,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7859
7874
  buildingFloor2Description?: string | undefined;
7860
7875
  buildingWallAngle?: number | undefined;
7861
7876
  outlineMode?: "outline" | "segmentation" | undefined;
7862
- terrainTileSize?: 16 | 64 | 32 | undefined;
7877
+ terrainTileSize?: 16 | 32 | 64 | undefined;
7863
7878
  terrainMode?: "standard" | "pro" | undefined;
7864
7879
  uiColorPalette?: string | undefined;
7865
7880
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -7946,7 +7961,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7946
7961
  buildingFloor2Description?: string | undefined;
7947
7962
  buildingWallAngle?: number | undefined;
7948
7963
  outlineMode?: "outline" | "segmentation" | undefined;
7949
- terrainTileSize?: 16 | 64 | 32 | undefined;
7964
+ terrainTileSize?: 16 | 32 | 64 | undefined;
7950
7965
  terrainMode?: "standard" | "pro" | undefined;
7951
7966
  uiColorPalette?: string | undefined;
7952
7967
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -8025,7 +8040,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8025
8040
  buildingFloor2Description?: string | undefined;
8026
8041
  buildingWallAngle?: number | undefined;
8027
8042
  outlineMode?: "outline" | "segmentation" | undefined;
8028
- terrainTileSize?: 16 | 64 | 32 | undefined;
8043
+ terrainTileSize?: 16 | 32 | 64 | undefined;
8029
8044
  terrainMode?: "standard" | "pro" | undefined;
8030
8045
  uiColorPalette?: string | undefined;
8031
8046
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -8112,7 +8127,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8112
8127
  buildingFloor2Description?: string | undefined;
8113
8128
  buildingWallAngle?: number | undefined;
8114
8129
  outlineMode?: "outline" | "segmentation" | undefined;
8115
- terrainTileSize?: 16 | 64 | 32 | undefined;
8130
+ terrainTileSize?: 16 | 32 | 64 | undefined;
8116
8131
  terrainMode?: "standard" | "pro" | undefined;
8117
8132
  uiColorPalette?: string | undefined;
8118
8133
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -8191,7 +8206,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8191
8206
  buildingFloor2Description?: string | undefined;
8192
8207
  buildingWallAngle?: number | undefined;
8193
8208
  outlineMode?: "outline" | "segmentation" | undefined;
8194
- terrainTileSize?: 16 | 64 | 32 | undefined;
8209
+ terrainTileSize?: 16 | 32 | 64 | undefined;
8195
8210
  terrainMode?: "standard" | "pro" | undefined;
8196
8211
  uiColorPalette?: string | undefined;
8197
8212
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -8420,7 +8435,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8420
8435
  buildingFloor2Description?: string | undefined;
8421
8436
  buildingWallAngle?: number | undefined;
8422
8437
  outlineMode?: "outline" | "segmentation" | undefined;
8423
- terrainTileSize?: 16 | 64 | 32 | undefined;
8438
+ terrainTileSize?: 16 | 32 | 64 | undefined;
8424
8439
  terrainMode?: "standard" | "pro" | undefined;
8425
8440
  uiColorPalette?: string | undefined;
8426
8441
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -8504,7 +8519,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8504
8519
  buildingFloor2Description?: string | undefined;
8505
8520
  buildingWallAngle?: number | undefined;
8506
8521
  outlineMode?: "outline" | "segmentation" | undefined;
8507
- terrainTileSize?: 16 | 64 | 32 | undefined;
8522
+ terrainTileSize?: 16 | 32 | 64 | undefined;
8508
8523
  terrainMode?: "standard" | "pro" | undefined;
8509
8524
  uiColorPalette?: string | undefined;
8510
8525
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -8911,11 +8926,11 @@ declare const ManifestInputSchema: z.ZodObject<{
8911
8926
  /** 1-based slot in the batch (the leader is implicitly slot 0). Unique and contiguous among siblings. */
8912
8927
  index: z.ZodNumber;
8913
8928
  }, "strict", z.ZodTypeAny, {
8914
- of: string;
8915
8929
  index: number;
8916
- }, {
8917
8930
  of: string;
8931
+ }, {
8918
8932
  index: number;
8933
+ of: string;
8919
8934
  }>>;
8920
8935
  /** `uiAsset` styles: precise shape regions the panel is composited from. Combine with `elements`; omit both for a default full-canvas panel. */
8921
8936
  pieces: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -9003,10 +9018,10 @@ declare const ManifestInputSchema: z.ZodObject<{
9003
9018
  size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
9004
9019
  }, "strict", z.ZodTypeAny, {
9005
9020
  of: string;
9006
- size: 16 | 128 | 64 | 32 | 48 | 160;
9021
+ size: 16 | 32 | 64 | 128 | 48 | 160;
9007
9022
  }, {
9008
9023
  of: string;
9009
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
9024
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
9010
9025
  }>>;
9011
9026
  /** `character` styles: this asset re-clothes an existing loop's frames with a reference outfit. */
9012
9027
  outfit: z.ZodOptional<z.ZodObject<{
@@ -9185,7 +9200,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9185
9200
  } | undefined;
9186
9201
  portrait?: {
9187
9202
  of: string;
9188
- size: 16 | 128 | 64 | 32 | 48 | 160;
9203
+ size: 16 | 32 | 64 | 128 | 48 | 160;
9189
9204
  } | undefined;
9190
9205
  outfit?: {
9191
9206
  of: string;
@@ -9226,8 +9241,8 @@ declare const ManifestInputSchema: z.ZodObject<{
9226
9241
  } | undefined;
9227
9242
  remoteId?: string | undefined;
9228
9243
  batch?: {
9229
- of: string;
9230
9244
  index: number;
9245
+ of: string;
9231
9246
  } | undefined;
9232
9247
  pieces?: ({
9233
9248
  x: number;
@@ -9301,7 +9316,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9301
9316
  } | undefined;
9302
9317
  portrait?: {
9303
9318
  of: string;
9304
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
9319
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
9305
9320
  } | undefined;
9306
9321
  outfit?: {
9307
9322
  of: string;
@@ -9344,8 +9359,8 @@ declare const ManifestInputSchema: z.ZodObject<{
9344
9359
  } | undefined;
9345
9360
  remoteId?: string | undefined;
9346
9361
  batch?: {
9347
- of: string;
9348
9362
  index: number;
9363
+ of: string;
9349
9364
  } | undefined;
9350
9365
  pieces?: ({
9351
9366
  x: number;
@@ -9427,7 +9442,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9427
9442
  } | undefined;
9428
9443
  portrait?: {
9429
9444
  of: string;
9430
- size: 16 | 128 | 64 | 32 | 48 | 160;
9445
+ size: 16 | 32 | 64 | 128 | 48 | 160;
9431
9446
  } | undefined;
9432
9447
  outfit?: {
9433
9448
  of: string;
@@ -9468,8 +9483,8 @@ declare const ManifestInputSchema: z.ZodObject<{
9468
9483
  } | undefined;
9469
9484
  remoteId?: string | undefined;
9470
9485
  batch?: {
9471
- of: string;
9472
9486
  index: number;
9487
+ of: string;
9473
9488
  } | undefined;
9474
9489
  pieces?: ({
9475
9490
  x: number;
@@ -9543,7 +9558,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9543
9558
  } | undefined;
9544
9559
  portrait?: {
9545
9560
  of: string;
9546
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
9561
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
9547
9562
  } | undefined;
9548
9563
  outfit?: {
9549
9564
  of: string;
@@ -9586,8 +9601,8 @@ declare const ManifestInputSchema: z.ZodObject<{
9586
9601
  } | undefined;
9587
9602
  remoteId?: string | undefined;
9588
9603
  batch?: {
9589
- of: string;
9590
9604
  index: number;
9605
+ of: string;
9591
9606
  } | undefined;
9592
9607
  pieces?: ({
9593
9608
  x: number;
@@ -9675,7 +9690,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9675
9690
  buildingFloor2Description?: string | undefined;
9676
9691
  buildingWallAngle?: number | undefined;
9677
9692
  outlineMode?: "outline" | "segmentation" | undefined;
9678
- terrainTileSize?: 16 | 64 | 32 | undefined;
9693
+ terrainTileSize?: 16 | 32 | 64 | undefined;
9679
9694
  terrainMode?: "standard" | "pro" | undefined;
9680
9695
  uiColorPalette?: string | undefined;
9681
9696
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -9755,7 +9770,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9755
9770
  buildingFloor2Description?: string | undefined;
9756
9771
  buildingWallAngle?: number | undefined;
9757
9772
  outlineMode?: "outline" | "segmentation" | undefined;
9758
- terrainTileSize?: 16 | 64 | 32 | undefined;
9773
+ terrainTileSize?: 16 | 32 | 64 | undefined;
9759
9774
  terrainMode?: "standard" | "pro" | undefined;
9760
9775
  uiColorPalette?: string | undefined;
9761
9776
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -9841,7 +9856,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9841
9856
  } | undefined;
9842
9857
  portrait?: {
9843
9858
  of: string;
9844
- size: 16 | 128 | 64 | 32 | 48 | 160;
9859
+ size: 16 | 32 | 64 | 128 | 48 | 160;
9845
9860
  } | undefined;
9846
9861
  outfit?: {
9847
9862
  of: string;
@@ -9882,8 +9897,8 @@ declare const ManifestInputSchema: z.ZodObject<{
9882
9897
  } | undefined;
9883
9898
  remoteId?: string | undefined;
9884
9899
  batch?: {
9885
- of: string;
9886
9900
  index: number;
9901
+ of: string;
9887
9902
  } | undefined;
9888
9903
  pieces?: ({
9889
9904
  x: number;
@@ -9965,7 +9980,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9965
9980
  buildingFloor2Description?: string | undefined;
9966
9981
  buildingWallAngle?: number | undefined;
9967
9982
  outlineMode?: "outline" | "segmentation" | undefined;
9968
- terrainTileSize?: 16 | 64 | 32 | undefined;
9983
+ terrainTileSize?: 16 | 32 | 64 | undefined;
9969
9984
  terrainMode?: "standard" | "pro" | undefined;
9970
9985
  uiColorPalette?: string | undefined;
9971
9986
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -10049,7 +10064,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10049
10064
  buildingFloor2Description?: string | undefined;
10050
10065
  buildingWallAngle?: number | undefined;
10051
10066
  outlineMode?: "outline" | "segmentation" | undefined;
10052
- terrainTileSize?: 16 | 64 | 32 | undefined;
10067
+ terrainTileSize?: 16 | 32 | 64 | undefined;
10053
10068
  terrainMode?: "standard" | "pro" | undefined;
10054
10069
  uiColorPalette?: string | undefined;
10055
10070
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -10130,7 +10145,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10130
10145
  } | undefined;
10131
10146
  portrait?: {
10132
10147
  of: string;
10133
- size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
10148
+ size?: 16 | 32 | 64 | 128 | 48 | 160 | undefined;
10134
10149
  } | undefined;
10135
10150
  outfit?: {
10136
10151
  of: string;
@@ -10173,8 +10188,8 @@ declare const ManifestInputSchema: z.ZodObject<{
10173
10188
  } | undefined;
10174
10189
  remoteId?: string | undefined;
10175
10190
  batch?: {
10176
- of: string;
10177
10191
  index: number;
10192
+ of: string;
10178
10193
  } | undefined;
10179
10194
  pieces?: ({
10180
10195
  x: number;
@@ -14876,7 +14891,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14876
14891
  buildingFloor2Description?: string | undefined;
14877
14892
  buildingWallAngle?: number | undefined;
14878
14893
  outlineMode?: "outline" | "segmentation" | undefined;
14879
- terrainTileSize?: 16 | 64 | 32 | undefined;
14894
+ terrainTileSize?: 16 | 32 | 64 | undefined;
14880
14895
  terrainMode?: "standard" | "pro" | undefined;
14881
14896
  uiColorPalette?: string | undefined;
14882
14897
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -14955,7 +14970,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14955
14970
  buildingFloor2Description?: string | undefined;
14956
14971
  buildingWallAngle?: number | undefined;
14957
14972
  outlineMode?: "outline" | "segmentation" | undefined;
14958
- terrainTileSize?: 16 | 64 | 32 | undefined;
14973
+ terrainTileSize?: 16 | 32 | 64 | undefined;
14959
14974
  terrainMode?: "standard" | "pro" | undefined;
14960
14975
  uiColorPalette?: string | undefined;
14961
14976
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -15042,7 +15057,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15042
15057
  buildingFloor2Description?: string | undefined;
15043
15058
  buildingWallAngle?: number | undefined;
15044
15059
  outlineMode?: "outline" | "segmentation" | undefined;
15045
- terrainTileSize?: 16 | 64 | 32 | undefined;
15060
+ terrainTileSize?: 16 | 32 | 64 | undefined;
15046
15061
  terrainMode?: "standard" | "pro" | undefined;
15047
15062
  uiColorPalette?: string | undefined;
15048
15063
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -15121,7 +15136,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15121
15136
  buildingFloor2Description?: string | undefined;
15122
15137
  buildingWallAngle?: number | undefined;
15123
15138
  outlineMode?: "outline" | "segmentation" | undefined;
15124
- terrainTileSize?: 16 | 64 | 32 | undefined;
15139
+ terrainTileSize?: 16 | 32 | 64 | undefined;
15125
15140
  terrainMode?: "standard" | "pro" | undefined;
15126
15141
  uiColorPalette?: string | undefined;
15127
15142
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -15208,7 +15223,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15208
15223
  buildingFloor2Description?: string | undefined;
15209
15224
  buildingWallAngle?: number | undefined;
15210
15225
  outlineMode?: "outline" | "segmentation" | undefined;
15211
- terrainTileSize?: 16 | 64 | 32 | undefined;
15226
+ terrainTileSize?: 16 | 32 | 64 | undefined;
15212
15227
  terrainMode?: "standard" | "pro" | undefined;
15213
15228
  uiColorPalette?: string | undefined;
15214
15229
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -15287,7 +15302,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15287
15302
  buildingFloor2Description?: string | undefined;
15288
15303
  buildingWallAngle?: number | undefined;
15289
15304
  outlineMode?: "outline" | "segmentation" | undefined;
15290
- terrainTileSize?: 16 | 64 | 32 | undefined;
15305
+ terrainTileSize?: 16 | 32 | 64 | undefined;
15291
15306
  terrainMode?: "standard" | "pro" | undefined;
15292
15307
  uiColorPalette?: string | undefined;
15293
15308
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -15725,7 +15740,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15725
15740
  buildingFloor2Description?: string | undefined;
15726
15741
  buildingWallAngle?: number | undefined;
15727
15742
  outlineMode?: "outline" | "segmentation" | undefined;
15728
- terrainTileSize?: 16 | 64 | 32 | undefined;
15743
+ terrainTileSize?: 16 | 32 | 64 | undefined;
15729
15744
  terrainMode?: "standard" | "pro" | undefined;
15730
15745
  uiColorPalette?: string | undefined;
15731
15746
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -15875,7 +15890,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15875
15890
  buildingFloor2Description?: string | undefined;
15876
15891
  buildingWallAngle?: number | undefined;
15877
15892
  outlineMode?: "outline" | "segmentation" | undefined;
15878
- terrainTileSize?: 16 | 64 | 32 | undefined;
15893
+ terrainTileSize?: 16 | 32 | 64 | undefined;
15879
15894
  terrainMode?: "standard" | "pro" | undefined;
15880
15895
  uiColorPalette?: string | undefined;
15881
15896
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -16055,7 +16070,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
16055
16070
  buildingFloor2Description?: string | undefined;
16056
16071
  buildingWallAngle?: number | undefined;
16057
16072
  outlineMode?: "outline" | "segmentation" | undefined;
16058
- terrainTileSize?: 16 | 64 | 32 | undefined;
16073
+ terrainTileSize?: 16 | 32 | 64 | undefined;
16059
16074
  terrainMode?: "standard" | "pro" | undefined;
16060
16075
  uiColorPalette?: string | undefined;
16061
16076
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -16205,7 +16220,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
16205
16220
  buildingFloor2Description?: string | undefined;
16206
16221
  buildingWallAngle?: number | undefined;
16207
16222
  outlineMode?: "outline" | "segmentation" | undefined;
16208
- terrainTileSize?: 16 | 64 | 32 | undefined;
16223
+ terrainTileSize?: 16 | 32 | 64 | undefined;
16209
16224
  terrainMode?: "standard" | "pro" | undefined;
16210
16225
  uiColorPalette?: string | undefined;
16211
16226
  terrainShapeStyle?: "square" | "round" | undefined;
@@ -18036,6 +18051,8 @@ interface GalleryItem {
18036
18051
  revisionParentKey: string | null;
18037
18052
  /** Lock key of the asset this one is a left-to-right flip of, when it is a mirror. */
18038
18053
  mirrorOfKey: string | null;
18054
+ /** An `animate-skeleton` revision's poses, drawn over its parent by the page. */
18055
+ skeleton: GallerySkeleton | null;
18039
18056
  /** A character family member: what it is, whose it is, and what PixelLab holds for it. */
18040
18057
  character: GalleryCharacter | null;
18041
18058
  outputs: GalleryOutput[];
@@ -18077,6 +18094,12 @@ interface GalleryItem {
18077
18094
  tags: string[];
18078
18095
  category: string | null;
18079
18096
  }
18097
+ interface GallerySkeleton {
18098
+ /** Manifest-relative keypoints file. */
18099
+ keypointsFile: string;
18100
+ /** The parsed file; null until it exists. A malformed file fails the whole resolve, as in `plan`. */
18101
+ set: SkeletonSet | null;
18102
+ }
18080
18103
  interface GalleryCharacter {
18081
18104
  /** Which family this belongs to: a skeleton-based `character`, or a skeleton-free `objectPro`. */
18082
18105
  generator: "character" | "objectPro";
@@ -19035,10 +19058,11 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19035
19058
  /**
19036
19059
  * A controlled regeneration of another asset in the same manifest,
19037
19060
  * instead of a fresh generation. `inpaint` needs a mask upload the
19038
- * gallery does not offer yet, so only `image-to-image` can be created
19039
- * here; hand-edit the manifest for the other modes.
19061
+ * gallery does not offer yet, so only `image-to-image` and
19062
+ * `animate-skeleton` (whose keypoints file the gallery writes first) can
19063
+ * be created here; hand-edit the manifest for the other modes.
19040
19064
  */
19041
- revision: z.ZodOptional<z.ZodObject<{
19065
+ revision: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
19042
19066
  mode: z.ZodLiteral<"image-to-image">;
19043
19067
  /** Asset id of the parent this revises; must already exist. */
19044
19068
  from: z.ZodString;
@@ -19051,7 +19075,29 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19051
19075
  mode: "image-to-image";
19052
19076
  from: string;
19053
19077
  strength?: number | undefined;
19054
- }>>;
19078
+ }>, z.ZodObject<{
19079
+ mode: z.ZodLiteral<"animate-skeleton">;
19080
+ from: z.ZodString;
19081
+ /** Manifest-relative; checked when the manifest is loaded, like every revision input. */
19082
+ keypointsFile: z.ZodString;
19083
+ direction: z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>;
19084
+ description: z.ZodOptional<z.ZodString>;
19085
+ skeletonTemplate: z.ZodOptional<z.ZodString>;
19086
+ }, "strict", z.ZodTypeAny, {
19087
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19088
+ mode: "animate-skeleton";
19089
+ from: string;
19090
+ keypointsFile: string;
19091
+ skeletonTemplate?: string | undefined;
19092
+ description?: string | undefined;
19093
+ }, {
19094
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19095
+ mode: "animate-skeleton";
19096
+ from: string;
19097
+ keypointsFile: string;
19098
+ skeletonTemplate?: string | undefined;
19099
+ description?: string | undefined;
19100
+ }>]>>;
19055
19101
  /** A pose or outfit of an existing `character`/`objectPro` base or state. */
19056
19102
  state: z.ZodOptional<z.ZodObject<{
19057
19103
  /** Asset id of the parent this states; must already exist. */
@@ -19143,6 +19189,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19143
19189
  mode: "image-to-image";
19144
19190
  from: string;
19145
19191
  strength?: number | undefined;
19192
+ } | {
19193
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19194
+ mode: "animate-skeleton";
19195
+ from: string;
19196
+ keypointsFile: string;
19197
+ skeletonTemplate?: string | undefined;
19198
+ description?: string | undefined;
19146
19199
  } | undefined;
19147
19200
  styles?: string[] | undefined;
19148
19201
  }, {
@@ -19174,6 +19227,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19174
19227
  mode: "image-to-image";
19175
19228
  from: string;
19176
19229
  strength?: number | undefined;
19230
+ } | {
19231
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19232
+ mode: "animate-skeleton";
19233
+ from: string;
19234
+ keypointsFile: string;
19235
+ skeletonTemplate?: string | undefined;
19236
+ description?: string | undefined;
19177
19237
  } | undefined;
19178
19238
  styles?: string[] | undefined;
19179
19239
  }>, {
@@ -19205,6 +19265,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19205
19265
  mode: "image-to-image";
19206
19266
  from: string;
19207
19267
  strength?: number | undefined;
19268
+ } | {
19269
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19270
+ mode: "animate-skeleton";
19271
+ from: string;
19272
+ keypointsFile: string;
19273
+ skeletonTemplate?: string | undefined;
19274
+ description?: string | undefined;
19208
19275
  } | undefined;
19209
19276
  styles?: string[] | undefined;
19210
19277
  }, {
@@ -19236,6 +19303,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19236
19303
  mode: "image-to-image";
19237
19304
  from: string;
19238
19305
  strength?: number | undefined;
19306
+ } | {
19307
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19308
+ mode: "animate-skeleton";
19309
+ from: string;
19310
+ keypointsFile: string;
19311
+ skeletonTemplate?: string | undefined;
19312
+ description?: string | undefined;
19239
19313
  } | undefined;
19240
19314
  styles?: string[] | undefined;
19241
19315
  }>, {
@@ -19267,6 +19341,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19267
19341
  mode: "image-to-image";
19268
19342
  from: string;
19269
19343
  strength?: number | undefined;
19344
+ } | {
19345
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19346
+ mode: "animate-skeleton";
19347
+ from: string;
19348
+ keypointsFile: string;
19349
+ skeletonTemplate?: string | undefined;
19350
+ description?: string | undefined;
19270
19351
  } | undefined;
19271
19352
  styles?: string[] | undefined;
19272
19353
  }, {
@@ -19298,6 +19379,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19298
19379
  mode: "image-to-image";
19299
19380
  from: string;
19300
19381
  strength?: number | undefined;
19382
+ } | {
19383
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19384
+ mode: "animate-skeleton";
19385
+ from: string;
19386
+ keypointsFile: string;
19387
+ skeletonTemplate?: string | undefined;
19388
+ description?: string | undefined;
19301
19389
  } | undefined;
19302
19390
  styles?: string[] | undefined;
19303
19391
  }>;
@@ -19333,6 +19421,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19333
19421
  mode: "image-to-image";
19334
19422
  from: string;
19335
19423
  strength?: number | undefined;
19424
+ } | {
19425
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19426
+ mode: "animate-skeleton";
19427
+ from: string;
19428
+ keypointsFile: string;
19429
+ skeletonTemplate?: string | undefined;
19430
+ description?: string | undefined;
19336
19431
  } | undefined;
19337
19432
  styles?: string[] | undefined;
19338
19433
  };
@@ -19370,6 +19465,13 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19370
19465
  mode: "image-to-image";
19371
19466
  from: string;
19372
19467
  strength?: number | undefined;
19468
+ } | {
19469
+ direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19470
+ mode: "animate-skeleton";
19471
+ from: string;
19472
+ keypointsFile: string;
19473
+ skeletonTemplate?: string | undefined;
19474
+ description?: string | undefined;
19373
19475
  } | undefined;
19374
19476
  styles?: string[] | undefined;
19375
19477
  };
@@ -19534,6 +19636,13 @@ interface GalleryEditHandlerOptions {
19534
19636
  /** The `edit` callback `serveGallery` expects: validate, apply, rebuild. */
19535
19637
  declare function createGalleryEditHandler(opts: GalleryEditHandlerOptions): (body: unknown) => Promise<GalleryBuild>;
19536
19638
 
19639
+ interface GallerySkeletonHandlers {
19640
+ estimate(body: unknown): Promise<{
19641
+ set: SkeletonSet;
19642
+ source: string;
19643
+ }>;
19644
+ }
19645
+
19537
19646
  /**
19538
19647
  * The gallery's HTTP surface. Unlike the review server this is long-lived:
19539
19648
  * three GET routes, bound to loopback, running until the caller closes it
@@ -19580,6 +19689,8 @@ interface GalleryServerOptions {
19580
19689
  * `/editor/<release>/<file>` routes that serve the pinned editor build.
19581
19690
  */
19582
19691
  editor?: GalleryEditorHandlers;
19692
+ /** Enable `POST /api/skeleton/estimate`, a direct PixelLab call the page confirms first. */
19693
+ skeleton?: GallerySkeletonHandlers;
19583
19694
  }
19584
19695
  interface GalleryServer {
19585
19696
  url: string;