pixelkiln 0.93.0 → 0.95.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/cli.js +3403 -2847
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1306 -778
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +775 -46
- package/dist/index.d.ts +775 -46
- package/dist/index.js +1274 -748
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +17 -1
- package/docs/MANIFEST.md +51 -1
- package/package.json +1 -1
- package/schema/manifest.schema.json +81 -0
package/dist/index.d.cts
CHANGED
|
@@ -4562,6 +4562,84 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
4562
4562
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
4563
4563
|
}>]>;
|
|
4564
4564
|
type StyleInput = z.infer<typeof StyleInputSchema>;
|
|
4565
|
+
/**
|
|
4566
|
+
* An asset made from existing pixels by one local transform: no provider, no
|
|
4567
|
+
* generation cost. The source is another asset of the same style (`from`) or a
|
|
4568
|
+
* committed PNG (`file`), never both. The transform's own fields depend on
|
|
4569
|
+
* which one it is; a field that belongs to another transform is refused.
|
|
4570
|
+
*/
|
|
4571
|
+
declare const AssetDeriveSchema: z.ZodEffects<z.ZodObject<{
|
|
4572
|
+
/** Another asset in the same style whose output is the input. */
|
|
4573
|
+
from: z.ZodOptional<z.ZodString>;
|
|
4574
|
+
/** A committed PNG, relative to the manifest, as the input. */
|
|
4575
|
+
file: z.ZodOptional<z.ZodString>;
|
|
4576
|
+
transform: z.ZodEnum<["recolor", "palette-snap", "scale"]>;
|
|
4577
|
+
/** recolor: exact replacements, `#rrggbb` to `#rrggbb`. Unmapped colors and every alpha value stay. */
|
|
4578
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4579
|
+
/** palette-snap: the closed palette every visible pixel moves to. */
|
|
4580
|
+
palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4581
|
+
/** scale: the output size. */
|
|
4582
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4583
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4584
|
+
/** scale: `nearest` (default) keeps hard edges; `box` averages the covered pixels. */
|
|
4585
|
+
mode: z.ZodOptional<z.ZodEnum<["nearest", "box"]>>;
|
|
4586
|
+
}, "strict", z.ZodTypeAny, {
|
|
4587
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
4588
|
+
map?: Record<string, string> | undefined;
|
|
4589
|
+
width?: number | undefined;
|
|
4590
|
+
height?: number | undefined;
|
|
4591
|
+
palette?: string[] | undefined;
|
|
4592
|
+
mode?: "nearest" | "box" | undefined;
|
|
4593
|
+
from?: string | undefined;
|
|
4594
|
+
file?: string | undefined;
|
|
4595
|
+
}, {
|
|
4596
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
4597
|
+
map?: Record<string, string> | undefined;
|
|
4598
|
+
width?: number | undefined;
|
|
4599
|
+
height?: number | undefined;
|
|
4600
|
+
palette?: string[] | undefined;
|
|
4601
|
+
mode?: "nearest" | "box" | undefined;
|
|
4602
|
+
from?: string | undefined;
|
|
4603
|
+
file?: string | undefined;
|
|
4604
|
+
}>, {
|
|
4605
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
4606
|
+
map?: Record<string, string> | undefined;
|
|
4607
|
+
width?: number | undefined;
|
|
4608
|
+
height?: number | undefined;
|
|
4609
|
+
palette?: string[] | undefined;
|
|
4610
|
+
mode?: "nearest" | "box" | undefined;
|
|
4611
|
+
from?: string | undefined;
|
|
4612
|
+
file?: string | undefined;
|
|
4613
|
+
}, {
|
|
4614
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
4615
|
+
map?: Record<string, string> | undefined;
|
|
4616
|
+
width?: number | undefined;
|
|
4617
|
+
height?: number | undefined;
|
|
4618
|
+
palette?: string[] | undefined;
|
|
4619
|
+
mode?: "nearest" | "box" | undefined;
|
|
4620
|
+
from?: string | undefined;
|
|
4621
|
+
file?: string | undefined;
|
|
4622
|
+
}>;
|
|
4623
|
+
type AssetDerive = z.infer<typeof AssetDeriveSchema>;
|
|
4624
|
+
/**
|
|
4625
|
+
* An asset a script or tool outside pixelkiln produces. pixelkiln never runs
|
|
4626
|
+
* the builder: it records the command, hashes the file (and any inputs), and
|
|
4627
|
+
* reports the asset as changed when either moves. Record the built file with
|
|
4628
|
+
* `adopt --local`.
|
|
4629
|
+
*/
|
|
4630
|
+
declare const AssetExternalSchema: z.ZodObject<{
|
|
4631
|
+
/** The command that rebuilds the file. Documentation and identity; never executed. */
|
|
4632
|
+
builder: z.ZodString;
|
|
4633
|
+
/** Files the builder reads, relative to the manifest. Their hashes are part of the asset's identity. */
|
|
4634
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4635
|
+
}, "strict", z.ZodTypeAny, {
|
|
4636
|
+
builder: string;
|
|
4637
|
+
inputs?: string[] | undefined;
|
|
4638
|
+
}, {
|
|
4639
|
+
builder: string;
|
|
4640
|
+
inputs?: string[] | undefined;
|
|
4641
|
+
}>;
|
|
4642
|
+
type AssetExternal = z.infer<typeof AssetExternalSchema>;
|
|
4565
4643
|
declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
4566
4644
|
/** The subject. Style wrapping comes from the style's prefix/suffix. Only a `mirror` may leave it out. */
|
|
4567
4645
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -5330,6 +5408,72 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5330
5408
|
* (a sword hand, a parted fringe) comes out the other way round.
|
|
5331
5409
|
*/
|
|
5332
5410
|
mirror: z.ZodOptional<z.ZodString>;
|
|
5411
|
+
/** Made from existing pixels by a local transform; see AssetDeriveSchema. Free; the provider is never called. */
|
|
5412
|
+
derive: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5413
|
+
/** Another asset in the same style whose output is the input. */
|
|
5414
|
+
from: z.ZodOptional<z.ZodString>;
|
|
5415
|
+
/** A committed PNG, relative to the manifest, as the input. */
|
|
5416
|
+
file: z.ZodOptional<z.ZodString>;
|
|
5417
|
+
transform: z.ZodEnum<["recolor", "palette-snap", "scale"]>;
|
|
5418
|
+
/** recolor: exact replacements, `#rrggbb` to `#rrggbb`. Unmapped colors and every alpha value stay. */
|
|
5419
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5420
|
+
/** palette-snap: the closed palette every visible pixel moves to. */
|
|
5421
|
+
palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5422
|
+
/** scale: the output size. */
|
|
5423
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5424
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5425
|
+
/** scale: `nearest` (default) keeps hard edges; `box` averages the covered pixels. */
|
|
5426
|
+
mode: z.ZodOptional<z.ZodEnum<["nearest", "box"]>>;
|
|
5427
|
+
}, "strict", z.ZodTypeAny, {
|
|
5428
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
5429
|
+
map?: Record<string, string> | undefined;
|
|
5430
|
+
width?: number | undefined;
|
|
5431
|
+
height?: number | undefined;
|
|
5432
|
+
palette?: string[] | undefined;
|
|
5433
|
+
mode?: "nearest" | "box" | undefined;
|
|
5434
|
+
from?: string | undefined;
|
|
5435
|
+
file?: string | undefined;
|
|
5436
|
+
}, {
|
|
5437
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
5438
|
+
map?: Record<string, string> | undefined;
|
|
5439
|
+
width?: number | undefined;
|
|
5440
|
+
height?: number | undefined;
|
|
5441
|
+
palette?: string[] | undefined;
|
|
5442
|
+
mode?: "nearest" | "box" | undefined;
|
|
5443
|
+
from?: string | undefined;
|
|
5444
|
+
file?: string | undefined;
|
|
5445
|
+
}>, {
|
|
5446
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
5447
|
+
map?: Record<string, string> | undefined;
|
|
5448
|
+
width?: number | undefined;
|
|
5449
|
+
height?: number | undefined;
|
|
5450
|
+
palette?: string[] | undefined;
|
|
5451
|
+
mode?: "nearest" | "box" | undefined;
|
|
5452
|
+
from?: string | undefined;
|
|
5453
|
+
file?: string | undefined;
|
|
5454
|
+
}, {
|
|
5455
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
5456
|
+
map?: Record<string, string> | undefined;
|
|
5457
|
+
width?: number | undefined;
|
|
5458
|
+
height?: number | undefined;
|
|
5459
|
+
palette?: string[] | undefined;
|
|
5460
|
+
mode?: "nearest" | "box" | undefined;
|
|
5461
|
+
from?: string | undefined;
|
|
5462
|
+
file?: string | undefined;
|
|
5463
|
+
}>>;
|
|
5464
|
+
/** Built by a tool outside pixelkiln; see AssetExternalSchema. Never generated. */
|
|
5465
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
5466
|
+
/** The command that rebuilds the file. Documentation and identity; never executed. */
|
|
5467
|
+
builder: z.ZodString;
|
|
5468
|
+
/** Files the builder reads, relative to the manifest. Their hashes are part of the asset's identity. */
|
|
5469
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5470
|
+
}, "strict", z.ZodTypeAny, {
|
|
5471
|
+
builder: string;
|
|
5472
|
+
inputs?: string[] | undefined;
|
|
5473
|
+
}, {
|
|
5474
|
+
builder: string;
|
|
5475
|
+
inputs?: string[] | undefined;
|
|
5476
|
+
}>>;
|
|
5333
5477
|
/**
|
|
5334
5478
|
* Generated output role to place in `cell` when this asset expands to
|
|
5335
5479
|
* several files. Omit for ordinary single-output assets. A structural set
|
|
@@ -5421,9 +5565,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5421
5565
|
hipWidth?: number | undefined;
|
|
5422
5566
|
} | undefined;
|
|
5423
5567
|
styleCharacter?: string | undefined;
|
|
5568
|
+
file?: string | undefined;
|
|
5424
5569
|
prompt?: string | undefined;
|
|
5425
5570
|
category?: string | undefined;
|
|
5426
|
-
file?: string | undefined;
|
|
5427
5571
|
cell?: [number, number] | undefined;
|
|
5428
5572
|
source?: string | undefined;
|
|
5429
5573
|
revision?: {
|
|
@@ -5505,6 +5649,20 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5505
5649
|
} | undefined;
|
|
5506
5650
|
concept?: string | undefined;
|
|
5507
5651
|
mirror?: string | undefined;
|
|
5652
|
+
derive?: {
|
|
5653
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
5654
|
+
map?: Record<string, string> | undefined;
|
|
5655
|
+
width?: number | undefined;
|
|
5656
|
+
height?: number | undefined;
|
|
5657
|
+
palette?: string[] | undefined;
|
|
5658
|
+
mode?: "nearest" | "box" | undefined;
|
|
5659
|
+
from?: string | undefined;
|
|
5660
|
+
file?: string | undefined;
|
|
5661
|
+
} | undefined;
|
|
5662
|
+
external?: {
|
|
5663
|
+
builder: string;
|
|
5664
|
+
inputs?: string[] | undefined;
|
|
5665
|
+
} | undefined;
|
|
5508
5666
|
outputRole?: string | undefined;
|
|
5509
5667
|
}, {
|
|
5510
5668
|
width?: number | undefined;
|
|
@@ -5567,9 +5725,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5567
5725
|
} | undefined;
|
|
5568
5726
|
styleCharacter?: string | undefined;
|
|
5569
5727
|
tags?: string[] | undefined;
|
|
5728
|
+
file?: string | undefined;
|
|
5570
5729
|
prompt?: string | undefined;
|
|
5571
5730
|
category?: string | undefined;
|
|
5572
|
-
file?: string | undefined;
|
|
5573
5731
|
cell?: [number, number] | undefined;
|
|
5574
5732
|
source?: string | undefined;
|
|
5575
5733
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -5652,6 +5810,20 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5652
5810
|
} | undefined;
|
|
5653
5811
|
concept?: string | undefined;
|
|
5654
5812
|
mirror?: string | undefined;
|
|
5813
|
+
derive?: {
|
|
5814
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
5815
|
+
map?: Record<string, string> | undefined;
|
|
5816
|
+
width?: number | undefined;
|
|
5817
|
+
height?: number | undefined;
|
|
5818
|
+
palette?: string[] | undefined;
|
|
5819
|
+
mode?: "nearest" | "box" | undefined;
|
|
5820
|
+
from?: string | undefined;
|
|
5821
|
+
file?: string | undefined;
|
|
5822
|
+
} | undefined;
|
|
5823
|
+
external?: {
|
|
5824
|
+
builder: string;
|
|
5825
|
+
inputs?: string[] | undefined;
|
|
5826
|
+
} | undefined;
|
|
5655
5827
|
outputRole?: string | undefined;
|
|
5656
5828
|
styles?: string[] | undefined;
|
|
5657
5829
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -5721,9 +5893,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5721
5893
|
hipWidth?: number | undefined;
|
|
5722
5894
|
} | undefined;
|
|
5723
5895
|
styleCharacter?: string | undefined;
|
|
5896
|
+
file?: string | undefined;
|
|
5724
5897
|
prompt?: string | undefined;
|
|
5725
5898
|
category?: string | undefined;
|
|
5726
|
-
file?: string | undefined;
|
|
5727
5899
|
cell?: [number, number] | undefined;
|
|
5728
5900
|
source?: string | undefined;
|
|
5729
5901
|
revision?: {
|
|
@@ -5805,6 +5977,20 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5805
5977
|
} | undefined;
|
|
5806
5978
|
concept?: string | undefined;
|
|
5807
5979
|
mirror?: string | undefined;
|
|
5980
|
+
derive?: {
|
|
5981
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
5982
|
+
map?: Record<string, string> | undefined;
|
|
5983
|
+
width?: number | undefined;
|
|
5984
|
+
height?: number | undefined;
|
|
5985
|
+
palette?: string[] | undefined;
|
|
5986
|
+
mode?: "nearest" | "box" | undefined;
|
|
5987
|
+
from?: string | undefined;
|
|
5988
|
+
file?: string | undefined;
|
|
5989
|
+
} | undefined;
|
|
5990
|
+
external?: {
|
|
5991
|
+
builder: string;
|
|
5992
|
+
inputs?: string[] | undefined;
|
|
5993
|
+
} | undefined;
|
|
5808
5994
|
outputRole?: string | undefined;
|
|
5809
5995
|
}, {
|
|
5810
5996
|
width?: number | undefined;
|
|
@@ -5867,9 +6053,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5867
6053
|
} | undefined;
|
|
5868
6054
|
styleCharacter?: string | undefined;
|
|
5869
6055
|
tags?: string[] | undefined;
|
|
6056
|
+
file?: string | undefined;
|
|
5870
6057
|
prompt?: string | undefined;
|
|
5871
6058
|
category?: string | undefined;
|
|
5872
|
-
file?: string | undefined;
|
|
5873
6059
|
cell?: [number, number] | undefined;
|
|
5874
6060
|
source?: string | undefined;
|
|
5875
6061
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -5952,6 +6138,20 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5952
6138
|
} | undefined;
|
|
5953
6139
|
concept?: string | undefined;
|
|
5954
6140
|
mirror?: string | undefined;
|
|
6141
|
+
derive?: {
|
|
6142
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
6143
|
+
map?: Record<string, string> | undefined;
|
|
6144
|
+
width?: number | undefined;
|
|
6145
|
+
height?: number | undefined;
|
|
6146
|
+
palette?: string[] | undefined;
|
|
6147
|
+
mode?: "nearest" | "box" | undefined;
|
|
6148
|
+
from?: string | undefined;
|
|
6149
|
+
file?: string | undefined;
|
|
6150
|
+
} | undefined;
|
|
6151
|
+
external?: {
|
|
6152
|
+
builder: string;
|
|
6153
|
+
inputs?: string[] | undefined;
|
|
6154
|
+
} | undefined;
|
|
5955
6155
|
outputRole?: string | undefined;
|
|
5956
6156
|
styles?: string[] | undefined;
|
|
5957
6157
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -7714,6 +7914,72 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7714
7914
|
* (a sword hand, a parted fringe) comes out the other way round.
|
|
7715
7915
|
*/
|
|
7716
7916
|
mirror: z.ZodOptional<z.ZodString>;
|
|
7917
|
+
/** Made from existing pixels by a local transform; see AssetDeriveSchema. Free; the provider is never called. */
|
|
7918
|
+
derive: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
7919
|
+
/** Another asset in the same style whose output is the input. */
|
|
7920
|
+
from: z.ZodOptional<z.ZodString>;
|
|
7921
|
+
/** A committed PNG, relative to the manifest, as the input. */
|
|
7922
|
+
file: z.ZodOptional<z.ZodString>;
|
|
7923
|
+
transform: z.ZodEnum<["recolor", "palette-snap", "scale"]>;
|
|
7924
|
+
/** recolor: exact replacements, `#rrggbb` to `#rrggbb`. Unmapped colors and every alpha value stay. */
|
|
7925
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7926
|
+
/** palette-snap: the closed palette every visible pixel moves to. */
|
|
7927
|
+
palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7928
|
+
/** scale: the output size. */
|
|
7929
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
7930
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
7931
|
+
/** scale: `nearest` (default) keeps hard edges; `box` averages the covered pixels. */
|
|
7932
|
+
mode: z.ZodOptional<z.ZodEnum<["nearest", "box"]>>;
|
|
7933
|
+
}, "strict", z.ZodTypeAny, {
|
|
7934
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
7935
|
+
map?: Record<string, string> | undefined;
|
|
7936
|
+
width?: number | undefined;
|
|
7937
|
+
height?: number | undefined;
|
|
7938
|
+
palette?: string[] | undefined;
|
|
7939
|
+
mode?: "nearest" | "box" | undefined;
|
|
7940
|
+
from?: string | undefined;
|
|
7941
|
+
file?: string | undefined;
|
|
7942
|
+
}, {
|
|
7943
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
7944
|
+
map?: Record<string, string> | undefined;
|
|
7945
|
+
width?: number | undefined;
|
|
7946
|
+
height?: number | undefined;
|
|
7947
|
+
palette?: string[] | undefined;
|
|
7948
|
+
mode?: "nearest" | "box" | undefined;
|
|
7949
|
+
from?: string | undefined;
|
|
7950
|
+
file?: string | undefined;
|
|
7951
|
+
}>, {
|
|
7952
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
7953
|
+
map?: Record<string, string> | undefined;
|
|
7954
|
+
width?: number | undefined;
|
|
7955
|
+
height?: number | undefined;
|
|
7956
|
+
palette?: string[] | undefined;
|
|
7957
|
+
mode?: "nearest" | "box" | undefined;
|
|
7958
|
+
from?: string | undefined;
|
|
7959
|
+
file?: string | undefined;
|
|
7960
|
+
}, {
|
|
7961
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
7962
|
+
map?: Record<string, string> | undefined;
|
|
7963
|
+
width?: number | undefined;
|
|
7964
|
+
height?: number | undefined;
|
|
7965
|
+
palette?: string[] | undefined;
|
|
7966
|
+
mode?: "nearest" | "box" | undefined;
|
|
7967
|
+
from?: string | undefined;
|
|
7968
|
+
file?: string | undefined;
|
|
7969
|
+
}>>;
|
|
7970
|
+
/** Built by a tool outside pixelkiln; see AssetExternalSchema. Never generated. */
|
|
7971
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
7972
|
+
/** The command that rebuilds the file. Documentation and identity; never executed. */
|
|
7973
|
+
builder: z.ZodString;
|
|
7974
|
+
/** Files the builder reads, relative to the manifest. Their hashes are part of the asset's identity. */
|
|
7975
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7976
|
+
}, "strict", z.ZodTypeAny, {
|
|
7977
|
+
builder: string;
|
|
7978
|
+
inputs?: string[] | undefined;
|
|
7979
|
+
}, {
|
|
7980
|
+
builder: string;
|
|
7981
|
+
inputs?: string[] | undefined;
|
|
7982
|
+
}>>;
|
|
7717
7983
|
/**
|
|
7718
7984
|
* Generated output role to place in `cell` when this asset expands to
|
|
7719
7985
|
* several files. Omit for ordinary single-output assets. A structural set
|
|
@@ -7805,9 +8071,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7805
8071
|
hipWidth?: number | undefined;
|
|
7806
8072
|
} | undefined;
|
|
7807
8073
|
styleCharacter?: string | undefined;
|
|
8074
|
+
file?: string | undefined;
|
|
7808
8075
|
prompt?: string | undefined;
|
|
7809
8076
|
category?: string | undefined;
|
|
7810
|
-
file?: string | undefined;
|
|
7811
8077
|
cell?: [number, number] | undefined;
|
|
7812
8078
|
source?: string | undefined;
|
|
7813
8079
|
revision?: {
|
|
@@ -7889,6 +8155,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7889
8155
|
} | undefined;
|
|
7890
8156
|
concept?: string | undefined;
|
|
7891
8157
|
mirror?: string | undefined;
|
|
8158
|
+
derive?: {
|
|
8159
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
8160
|
+
map?: Record<string, string> | undefined;
|
|
8161
|
+
width?: number | undefined;
|
|
8162
|
+
height?: number | undefined;
|
|
8163
|
+
palette?: string[] | undefined;
|
|
8164
|
+
mode?: "nearest" | "box" | undefined;
|
|
8165
|
+
from?: string | undefined;
|
|
8166
|
+
file?: string | undefined;
|
|
8167
|
+
} | undefined;
|
|
8168
|
+
external?: {
|
|
8169
|
+
builder: string;
|
|
8170
|
+
inputs?: string[] | undefined;
|
|
8171
|
+
} | undefined;
|
|
7892
8172
|
outputRole?: string | undefined;
|
|
7893
8173
|
}, {
|
|
7894
8174
|
width?: number | undefined;
|
|
@@ -7951,9 +8231,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7951
8231
|
} | undefined;
|
|
7952
8232
|
styleCharacter?: string | undefined;
|
|
7953
8233
|
tags?: string[] | undefined;
|
|
8234
|
+
file?: string | undefined;
|
|
7954
8235
|
prompt?: string | undefined;
|
|
7955
8236
|
category?: string | undefined;
|
|
7956
|
-
file?: string | undefined;
|
|
7957
8237
|
cell?: [number, number] | undefined;
|
|
7958
8238
|
source?: string | undefined;
|
|
7959
8239
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -8036,6 +8316,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8036
8316
|
} | undefined;
|
|
8037
8317
|
concept?: string | undefined;
|
|
8038
8318
|
mirror?: string | undefined;
|
|
8319
|
+
derive?: {
|
|
8320
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
8321
|
+
map?: Record<string, string> | undefined;
|
|
8322
|
+
width?: number | undefined;
|
|
8323
|
+
height?: number | undefined;
|
|
8324
|
+
palette?: string[] | undefined;
|
|
8325
|
+
mode?: "nearest" | "box" | undefined;
|
|
8326
|
+
from?: string | undefined;
|
|
8327
|
+
file?: string | undefined;
|
|
8328
|
+
} | undefined;
|
|
8329
|
+
external?: {
|
|
8330
|
+
builder: string;
|
|
8331
|
+
inputs?: string[] | undefined;
|
|
8332
|
+
} | undefined;
|
|
8039
8333
|
outputRole?: string | undefined;
|
|
8040
8334
|
styles?: string[] | undefined;
|
|
8041
8335
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -8105,9 +8399,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8105
8399
|
hipWidth?: number | undefined;
|
|
8106
8400
|
} | undefined;
|
|
8107
8401
|
styleCharacter?: string | undefined;
|
|
8402
|
+
file?: string | undefined;
|
|
8108
8403
|
prompt?: string | undefined;
|
|
8109
8404
|
category?: string | undefined;
|
|
8110
|
-
file?: string | undefined;
|
|
8111
8405
|
cell?: [number, number] | undefined;
|
|
8112
8406
|
source?: string | undefined;
|
|
8113
8407
|
revision?: {
|
|
@@ -8189,6 +8483,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8189
8483
|
} | undefined;
|
|
8190
8484
|
concept?: string | undefined;
|
|
8191
8485
|
mirror?: string | undefined;
|
|
8486
|
+
derive?: {
|
|
8487
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
8488
|
+
map?: Record<string, string> | undefined;
|
|
8489
|
+
width?: number | undefined;
|
|
8490
|
+
height?: number | undefined;
|
|
8491
|
+
palette?: string[] | undefined;
|
|
8492
|
+
mode?: "nearest" | "box" | undefined;
|
|
8493
|
+
from?: string | undefined;
|
|
8494
|
+
file?: string | undefined;
|
|
8495
|
+
} | undefined;
|
|
8496
|
+
external?: {
|
|
8497
|
+
builder: string;
|
|
8498
|
+
inputs?: string[] | undefined;
|
|
8499
|
+
} | undefined;
|
|
8192
8500
|
outputRole?: string | undefined;
|
|
8193
8501
|
}, {
|
|
8194
8502
|
width?: number | undefined;
|
|
@@ -8251,9 +8559,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8251
8559
|
} | undefined;
|
|
8252
8560
|
styleCharacter?: string | undefined;
|
|
8253
8561
|
tags?: string[] | undefined;
|
|
8562
|
+
file?: string | undefined;
|
|
8254
8563
|
prompt?: string | undefined;
|
|
8255
8564
|
category?: string | undefined;
|
|
8256
|
-
file?: string | undefined;
|
|
8257
8565
|
cell?: [number, number] | undefined;
|
|
8258
8566
|
source?: string | undefined;
|
|
8259
8567
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -8336,6 +8644,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8336
8644
|
} | undefined;
|
|
8337
8645
|
concept?: string | undefined;
|
|
8338
8646
|
mirror?: string | undefined;
|
|
8647
|
+
derive?: {
|
|
8648
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
8649
|
+
map?: Record<string, string> | undefined;
|
|
8650
|
+
width?: number | undefined;
|
|
8651
|
+
height?: number | undefined;
|
|
8652
|
+
palette?: string[] | undefined;
|
|
8653
|
+
mode?: "nearest" | "box" | undefined;
|
|
8654
|
+
from?: string | undefined;
|
|
8655
|
+
file?: string | undefined;
|
|
8656
|
+
} | undefined;
|
|
8657
|
+
external?: {
|
|
8658
|
+
builder: string;
|
|
8659
|
+
inputs?: string[] | undefined;
|
|
8660
|
+
} | undefined;
|
|
8339
8661
|
outputRole?: string | undefined;
|
|
8340
8662
|
styles?: string[] | undefined;
|
|
8341
8663
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -8501,9 +8823,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8501
8823
|
hipWidth?: number | undefined;
|
|
8502
8824
|
} | undefined;
|
|
8503
8825
|
styleCharacter?: string | undefined;
|
|
8826
|
+
file?: string | undefined;
|
|
8504
8827
|
prompt?: string | undefined;
|
|
8505
8828
|
category?: string | undefined;
|
|
8506
|
-
file?: string | undefined;
|
|
8507
8829
|
cell?: [number, number] | undefined;
|
|
8508
8830
|
source?: string | undefined;
|
|
8509
8831
|
revision?: {
|
|
@@ -8585,6 +8907,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8585
8907
|
} | undefined;
|
|
8586
8908
|
concept?: string | undefined;
|
|
8587
8909
|
mirror?: string | undefined;
|
|
8910
|
+
derive?: {
|
|
8911
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
8912
|
+
map?: Record<string, string> | undefined;
|
|
8913
|
+
width?: number | undefined;
|
|
8914
|
+
height?: number | undefined;
|
|
8915
|
+
palette?: string[] | undefined;
|
|
8916
|
+
mode?: "nearest" | "box" | undefined;
|
|
8917
|
+
from?: string | undefined;
|
|
8918
|
+
file?: string | undefined;
|
|
8919
|
+
} | undefined;
|
|
8920
|
+
external?: {
|
|
8921
|
+
builder: string;
|
|
8922
|
+
inputs?: string[] | undefined;
|
|
8923
|
+
} | undefined;
|
|
8588
8924
|
outputRole?: string | undefined;
|
|
8589
8925
|
}>;
|
|
8590
8926
|
$schema?: string | undefined;
|
|
@@ -8744,9 +9080,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8744
9080
|
} | undefined;
|
|
8745
9081
|
styleCharacter?: string | undefined;
|
|
8746
9082
|
tags?: string[] | undefined;
|
|
9083
|
+
file?: string | undefined;
|
|
8747
9084
|
prompt?: string | undefined;
|
|
8748
9085
|
category?: string | undefined;
|
|
8749
|
-
file?: string | undefined;
|
|
8750
9086
|
cell?: [number, number] | undefined;
|
|
8751
9087
|
source?: string | undefined;
|
|
8752
9088
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -8829,6 +9165,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8829
9165
|
} | undefined;
|
|
8830
9166
|
concept?: string | undefined;
|
|
8831
9167
|
mirror?: string | undefined;
|
|
9168
|
+
derive?: {
|
|
9169
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
9170
|
+
map?: Record<string, string> | undefined;
|
|
9171
|
+
width?: number | undefined;
|
|
9172
|
+
height?: number | undefined;
|
|
9173
|
+
palette?: string[] | undefined;
|
|
9174
|
+
mode?: "nearest" | "box" | undefined;
|
|
9175
|
+
from?: string | undefined;
|
|
9176
|
+
file?: string | undefined;
|
|
9177
|
+
} | undefined;
|
|
9178
|
+
external?: {
|
|
9179
|
+
builder: string;
|
|
9180
|
+
inputs?: string[] | undefined;
|
|
9181
|
+
} | undefined;
|
|
8832
9182
|
outputRole?: string | undefined;
|
|
8833
9183
|
styles?: string[] | undefined;
|
|
8834
9184
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -10929,6 +11279,72 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
10929
11279
|
* (a sword hand, a parted fringe) comes out the other way round.
|
|
10930
11280
|
*/
|
|
10931
11281
|
mirror: z.ZodOptional<z.ZodString>;
|
|
11282
|
+
/** Made from existing pixels by a local transform; see AssetDeriveSchema. Free; the provider is never called. */
|
|
11283
|
+
derive: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
11284
|
+
/** Another asset in the same style whose output is the input. */
|
|
11285
|
+
from: z.ZodOptional<z.ZodString>;
|
|
11286
|
+
/** A committed PNG, relative to the manifest, as the input. */
|
|
11287
|
+
file: z.ZodOptional<z.ZodString>;
|
|
11288
|
+
transform: z.ZodEnum<["recolor", "palette-snap", "scale"]>;
|
|
11289
|
+
/** recolor: exact replacements, `#rrggbb` to `#rrggbb`. Unmapped colors and every alpha value stay. */
|
|
11290
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11291
|
+
/** palette-snap: the closed palette every visible pixel moves to. */
|
|
11292
|
+
palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11293
|
+
/** scale: the output size. */
|
|
11294
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
11295
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
11296
|
+
/** scale: `nearest` (default) keeps hard edges; `box` averages the covered pixels. */
|
|
11297
|
+
mode: z.ZodOptional<z.ZodEnum<["nearest", "box"]>>;
|
|
11298
|
+
}, "strict", z.ZodTypeAny, {
|
|
11299
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
11300
|
+
map?: Record<string, string> | undefined;
|
|
11301
|
+
width?: number | undefined;
|
|
11302
|
+
height?: number | undefined;
|
|
11303
|
+
palette?: string[] | undefined;
|
|
11304
|
+
mode?: "nearest" | "box" | undefined;
|
|
11305
|
+
from?: string | undefined;
|
|
11306
|
+
file?: string | undefined;
|
|
11307
|
+
}, {
|
|
11308
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
11309
|
+
map?: Record<string, string> | undefined;
|
|
11310
|
+
width?: number | undefined;
|
|
11311
|
+
height?: number | undefined;
|
|
11312
|
+
palette?: string[] | undefined;
|
|
11313
|
+
mode?: "nearest" | "box" | undefined;
|
|
11314
|
+
from?: string | undefined;
|
|
11315
|
+
file?: string | undefined;
|
|
11316
|
+
}>, {
|
|
11317
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
11318
|
+
map?: Record<string, string> | undefined;
|
|
11319
|
+
width?: number | undefined;
|
|
11320
|
+
height?: number | undefined;
|
|
11321
|
+
palette?: string[] | undefined;
|
|
11322
|
+
mode?: "nearest" | "box" | undefined;
|
|
11323
|
+
from?: string | undefined;
|
|
11324
|
+
file?: string | undefined;
|
|
11325
|
+
}, {
|
|
11326
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
11327
|
+
map?: Record<string, string> | undefined;
|
|
11328
|
+
width?: number | undefined;
|
|
11329
|
+
height?: number | undefined;
|
|
11330
|
+
palette?: string[] | undefined;
|
|
11331
|
+
mode?: "nearest" | "box" | undefined;
|
|
11332
|
+
from?: string | undefined;
|
|
11333
|
+
file?: string | undefined;
|
|
11334
|
+
}>>;
|
|
11335
|
+
/** Built by a tool outside pixelkiln; see AssetExternalSchema. Never generated. */
|
|
11336
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
11337
|
+
/** The command that rebuilds the file. Documentation and identity; never executed. */
|
|
11338
|
+
builder: z.ZodString;
|
|
11339
|
+
/** Files the builder reads, relative to the manifest. Their hashes are part of the asset's identity. */
|
|
11340
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11341
|
+
}, "strict", z.ZodTypeAny, {
|
|
11342
|
+
builder: string;
|
|
11343
|
+
inputs?: string[] | undefined;
|
|
11344
|
+
}, {
|
|
11345
|
+
builder: string;
|
|
11346
|
+
inputs?: string[] | undefined;
|
|
11347
|
+
}>>;
|
|
10932
11348
|
/**
|
|
10933
11349
|
* Generated output role to place in `cell` when this asset expands to
|
|
10934
11350
|
* several files. Omit for ordinary single-output assets. A structural set
|
|
@@ -11020,9 +11436,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11020
11436
|
hipWidth?: number | undefined;
|
|
11021
11437
|
} | undefined;
|
|
11022
11438
|
styleCharacter?: string | undefined;
|
|
11439
|
+
file?: string | undefined;
|
|
11023
11440
|
prompt?: string | undefined;
|
|
11024
11441
|
category?: string | undefined;
|
|
11025
|
-
file?: string | undefined;
|
|
11026
11442
|
cell?: [number, number] | undefined;
|
|
11027
11443
|
source?: string | undefined;
|
|
11028
11444
|
revision?: {
|
|
@@ -11104,6 +11520,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11104
11520
|
} | undefined;
|
|
11105
11521
|
concept?: string | undefined;
|
|
11106
11522
|
mirror?: string | undefined;
|
|
11523
|
+
derive?: {
|
|
11524
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
11525
|
+
map?: Record<string, string> | undefined;
|
|
11526
|
+
width?: number | undefined;
|
|
11527
|
+
height?: number | undefined;
|
|
11528
|
+
palette?: string[] | undefined;
|
|
11529
|
+
mode?: "nearest" | "box" | undefined;
|
|
11530
|
+
from?: string | undefined;
|
|
11531
|
+
file?: string | undefined;
|
|
11532
|
+
} | undefined;
|
|
11533
|
+
external?: {
|
|
11534
|
+
builder: string;
|
|
11535
|
+
inputs?: string[] | undefined;
|
|
11536
|
+
} | undefined;
|
|
11107
11537
|
outputRole?: string | undefined;
|
|
11108
11538
|
}, {
|
|
11109
11539
|
width?: number | undefined;
|
|
@@ -11166,9 +11596,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11166
11596
|
} | undefined;
|
|
11167
11597
|
styleCharacter?: string | undefined;
|
|
11168
11598
|
tags?: string[] | undefined;
|
|
11599
|
+
file?: string | undefined;
|
|
11169
11600
|
prompt?: string | undefined;
|
|
11170
11601
|
category?: string | undefined;
|
|
11171
|
-
file?: string | undefined;
|
|
11172
11602
|
cell?: [number, number] | undefined;
|
|
11173
11603
|
source?: string | undefined;
|
|
11174
11604
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -11251,6 +11681,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11251
11681
|
} | undefined;
|
|
11252
11682
|
concept?: string | undefined;
|
|
11253
11683
|
mirror?: string | undefined;
|
|
11684
|
+
derive?: {
|
|
11685
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
11686
|
+
map?: Record<string, string> | undefined;
|
|
11687
|
+
width?: number | undefined;
|
|
11688
|
+
height?: number | undefined;
|
|
11689
|
+
palette?: string[] | undefined;
|
|
11690
|
+
mode?: "nearest" | "box" | undefined;
|
|
11691
|
+
from?: string | undefined;
|
|
11692
|
+
file?: string | undefined;
|
|
11693
|
+
} | undefined;
|
|
11694
|
+
external?: {
|
|
11695
|
+
builder: string;
|
|
11696
|
+
inputs?: string[] | undefined;
|
|
11697
|
+
} | undefined;
|
|
11254
11698
|
outputRole?: string | undefined;
|
|
11255
11699
|
styles?: string[] | undefined;
|
|
11256
11700
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -11320,9 +11764,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11320
11764
|
hipWidth?: number | undefined;
|
|
11321
11765
|
} | undefined;
|
|
11322
11766
|
styleCharacter?: string | undefined;
|
|
11767
|
+
file?: string | undefined;
|
|
11323
11768
|
prompt?: string | undefined;
|
|
11324
11769
|
category?: string | undefined;
|
|
11325
|
-
file?: string | undefined;
|
|
11326
11770
|
cell?: [number, number] | undefined;
|
|
11327
11771
|
source?: string | undefined;
|
|
11328
11772
|
revision?: {
|
|
@@ -11404,6 +11848,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11404
11848
|
} | undefined;
|
|
11405
11849
|
concept?: string | undefined;
|
|
11406
11850
|
mirror?: string | undefined;
|
|
11851
|
+
derive?: {
|
|
11852
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
11853
|
+
map?: Record<string, string> | undefined;
|
|
11854
|
+
width?: number | undefined;
|
|
11855
|
+
height?: number | undefined;
|
|
11856
|
+
palette?: string[] | undefined;
|
|
11857
|
+
mode?: "nearest" | "box" | undefined;
|
|
11858
|
+
from?: string | undefined;
|
|
11859
|
+
file?: string | undefined;
|
|
11860
|
+
} | undefined;
|
|
11861
|
+
external?: {
|
|
11862
|
+
builder: string;
|
|
11863
|
+
inputs?: string[] | undefined;
|
|
11864
|
+
} | undefined;
|
|
11407
11865
|
outputRole?: string | undefined;
|
|
11408
11866
|
}, {
|
|
11409
11867
|
width?: number | undefined;
|
|
@@ -11466,9 +11924,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11466
11924
|
} | undefined;
|
|
11467
11925
|
styleCharacter?: string | undefined;
|
|
11468
11926
|
tags?: string[] | undefined;
|
|
11927
|
+
file?: string | undefined;
|
|
11469
11928
|
prompt?: string | undefined;
|
|
11470
11929
|
category?: string | undefined;
|
|
11471
|
-
file?: string | undefined;
|
|
11472
11930
|
cell?: [number, number] | undefined;
|
|
11473
11931
|
source?: string | undefined;
|
|
11474
11932
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -11551,6 +12009,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11551
12009
|
} | undefined;
|
|
11552
12010
|
concept?: string | undefined;
|
|
11553
12011
|
mirror?: string | undefined;
|
|
12012
|
+
derive?: {
|
|
12013
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
12014
|
+
map?: Record<string, string> | undefined;
|
|
12015
|
+
width?: number | undefined;
|
|
12016
|
+
height?: number | undefined;
|
|
12017
|
+
palette?: string[] | undefined;
|
|
12018
|
+
mode?: "nearest" | "box" | undefined;
|
|
12019
|
+
from?: string | undefined;
|
|
12020
|
+
file?: string | undefined;
|
|
12021
|
+
} | undefined;
|
|
12022
|
+
external?: {
|
|
12023
|
+
builder: string;
|
|
12024
|
+
inputs?: string[] | undefined;
|
|
12025
|
+
} | undefined;
|
|
11554
12026
|
outputRole?: string | undefined;
|
|
11555
12027
|
styles?: string[] | undefined;
|
|
11556
12028
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -11808,9 +12280,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11808
12280
|
hipWidth?: number | undefined;
|
|
11809
12281
|
} | undefined;
|
|
11810
12282
|
styleCharacter?: string | undefined;
|
|
12283
|
+
file?: string | undefined;
|
|
11811
12284
|
prompt?: string | undefined;
|
|
11812
12285
|
category?: string | undefined;
|
|
11813
|
-
file?: string | undefined;
|
|
11814
12286
|
cell?: [number, number] | undefined;
|
|
11815
12287
|
source?: string | undefined;
|
|
11816
12288
|
revision?: {
|
|
@@ -11892,6 +12364,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
11892
12364
|
} | undefined;
|
|
11893
12365
|
concept?: string | undefined;
|
|
11894
12366
|
mirror?: string | undefined;
|
|
12367
|
+
derive?: {
|
|
12368
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
12369
|
+
map?: Record<string, string> | undefined;
|
|
12370
|
+
width?: number | undefined;
|
|
12371
|
+
height?: number | undefined;
|
|
12372
|
+
palette?: string[] | undefined;
|
|
12373
|
+
mode?: "nearest" | "box" | undefined;
|
|
12374
|
+
from?: string | undefined;
|
|
12375
|
+
file?: string | undefined;
|
|
12376
|
+
} | undefined;
|
|
12377
|
+
external?: {
|
|
12378
|
+
builder: string;
|
|
12379
|
+
inputs?: string[] | undefined;
|
|
12380
|
+
} | undefined;
|
|
11895
12381
|
outputRole?: string | undefined;
|
|
11896
12382
|
}>;
|
|
11897
12383
|
$schema?: string | undefined;
|
|
@@ -12143,9 +12629,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
12143
12629
|
} | undefined;
|
|
12144
12630
|
styleCharacter?: string | undefined;
|
|
12145
12631
|
tags?: string[] | undefined;
|
|
12632
|
+
file?: string | undefined;
|
|
12146
12633
|
prompt?: string | undefined;
|
|
12147
12634
|
category?: string | undefined;
|
|
12148
|
-
file?: string | undefined;
|
|
12149
12635
|
cell?: [number, number] | undefined;
|
|
12150
12636
|
source?: string | undefined;
|
|
12151
12637
|
sourceByStyle?: Record<string, string> | undefined;
|
|
@@ -12228,6 +12714,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
12228
12714
|
} | undefined;
|
|
12229
12715
|
concept?: string | undefined;
|
|
12230
12716
|
mirror?: string | undefined;
|
|
12717
|
+
derive?: {
|
|
12718
|
+
transform: "recolor" | "palette-snap" | "scale";
|
|
12719
|
+
map?: Record<string, string> | undefined;
|
|
12720
|
+
width?: number | undefined;
|
|
12721
|
+
height?: number | undefined;
|
|
12722
|
+
palette?: string[] | undefined;
|
|
12723
|
+
mode?: "nearest" | "box" | undefined;
|
|
12724
|
+
from?: string | undefined;
|
|
12725
|
+
file?: string | undefined;
|
|
12726
|
+
} | undefined;
|
|
12727
|
+
external?: {
|
|
12728
|
+
builder: string;
|
|
12729
|
+
inputs?: string[] | undefined;
|
|
12730
|
+
} | undefined;
|
|
12231
12731
|
outputRole?: string | undefined;
|
|
12232
12732
|
styles?: string[] | undefined;
|
|
12233
12733
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -13241,6 +13741,53 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13241
13741
|
importedAt: string;
|
|
13242
13742
|
note?: string | undefined;
|
|
13243
13743
|
}>>;
|
|
13744
|
+
/**
|
|
13745
|
+
* For a derived asset: what it was made from, and a hash of that input when
|
|
13746
|
+
* this was made. Compared with the input's current bytes by the plan, so a
|
|
13747
|
+
* changed source re-derives it for free. Absent on every other entry.
|
|
13748
|
+
*/
|
|
13749
|
+
derive: z.ZodOptional<z.ZodObject<{
|
|
13750
|
+
sourceAssetId: z.ZodOptional<z.ZodString>;
|
|
13751
|
+
sourceFile: z.ZodOptional<z.ZodString>;
|
|
13752
|
+
sourceSha256: z.ZodString;
|
|
13753
|
+
}, "strict", z.ZodTypeAny, {
|
|
13754
|
+
sourceSha256: string;
|
|
13755
|
+
sourceAssetId?: string | undefined;
|
|
13756
|
+
sourceFile?: string | undefined;
|
|
13757
|
+
}, {
|
|
13758
|
+
sourceSha256: string;
|
|
13759
|
+
sourceAssetId?: string | undefined;
|
|
13760
|
+
sourceFile?: string | undefined;
|
|
13761
|
+
}>>;
|
|
13762
|
+
/**
|
|
13763
|
+
* For an external asset: the builder command and the hashes of the declared
|
|
13764
|
+
* inputs when the file was recorded. Absent on every other entry.
|
|
13765
|
+
*/
|
|
13766
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
13767
|
+
builder: z.ZodString;
|
|
13768
|
+
inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13769
|
+
path: z.ZodString;
|
|
13770
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
13771
|
+
}, "strict", z.ZodTypeAny, {
|
|
13772
|
+
path: string;
|
|
13773
|
+
sha256: string | null;
|
|
13774
|
+
}, {
|
|
13775
|
+
path: string;
|
|
13776
|
+
sha256: string | null;
|
|
13777
|
+
}>, "many">>;
|
|
13778
|
+
}, "strict", z.ZodTypeAny, {
|
|
13779
|
+
builder: string;
|
|
13780
|
+
inputs: {
|
|
13781
|
+
path: string;
|
|
13782
|
+
sha256: string | null;
|
|
13783
|
+
}[];
|
|
13784
|
+
}, {
|
|
13785
|
+
builder: string;
|
|
13786
|
+
inputs?: {
|
|
13787
|
+
path: string;
|
|
13788
|
+
sha256: string | null;
|
|
13789
|
+
}[] | undefined;
|
|
13790
|
+
}>>;
|
|
13244
13791
|
}, "strip", z.ZodTypeAny, {
|
|
13245
13792
|
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
13246
13793
|
width: number;
|
|
@@ -13319,6 +13866,18 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13319
13866
|
assetId: string;
|
|
13320
13867
|
reviewObjectId: string | null;
|
|
13321
13868
|
error: string | null;
|
|
13869
|
+
derive?: {
|
|
13870
|
+
sourceSha256: string;
|
|
13871
|
+
sourceAssetId?: string | undefined;
|
|
13872
|
+
sourceFile?: string | undefined;
|
|
13873
|
+
} | undefined;
|
|
13874
|
+
external?: {
|
|
13875
|
+
builder: string;
|
|
13876
|
+
inputs: {
|
|
13877
|
+
path: string;
|
|
13878
|
+
sha256: string | null;
|
|
13879
|
+
}[];
|
|
13880
|
+
} | undefined;
|
|
13322
13881
|
history?: {
|
|
13323
13882
|
width: number;
|
|
13324
13883
|
height: number;
|
|
@@ -13471,6 +14030,18 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13471
14030
|
sourceAssetId: string;
|
|
13472
14031
|
sourceSha256: string;
|
|
13473
14032
|
} | null | undefined;
|
|
14033
|
+
derive?: {
|
|
14034
|
+
sourceSha256: string;
|
|
14035
|
+
sourceAssetId?: string | undefined;
|
|
14036
|
+
sourceFile?: string | undefined;
|
|
14037
|
+
} | undefined;
|
|
14038
|
+
external?: {
|
|
14039
|
+
builder: string;
|
|
14040
|
+
inputs?: {
|
|
14041
|
+
path: string;
|
|
14042
|
+
sha256: string | null;
|
|
14043
|
+
}[] | undefined;
|
|
14044
|
+
} | undefined;
|
|
13474
14045
|
history?: {
|
|
13475
14046
|
width: number;
|
|
13476
14047
|
height: number;
|
|
@@ -14244,6 +14815,53 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14244
14815
|
importedAt: string;
|
|
14245
14816
|
note?: string | undefined;
|
|
14246
14817
|
}>>;
|
|
14818
|
+
/**
|
|
14819
|
+
* For a derived asset: what it was made from, and a hash of that input when
|
|
14820
|
+
* this was made. Compared with the input's current bytes by the plan, so a
|
|
14821
|
+
* changed source re-derives it for free. Absent on every other entry.
|
|
14822
|
+
*/
|
|
14823
|
+
derive: z.ZodOptional<z.ZodObject<{
|
|
14824
|
+
sourceAssetId: z.ZodOptional<z.ZodString>;
|
|
14825
|
+
sourceFile: z.ZodOptional<z.ZodString>;
|
|
14826
|
+
sourceSha256: z.ZodString;
|
|
14827
|
+
}, "strict", z.ZodTypeAny, {
|
|
14828
|
+
sourceSha256: string;
|
|
14829
|
+
sourceAssetId?: string | undefined;
|
|
14830
|
+
sourceFile?: string | undefined;
|
|
14831
|
+
}, {
|
|
14832
|
+
sourceSha256: string;
|
|
14833
|
+
sourceAssetId?: string | undefined;
|
|
14834
|
+
sourceFile?: string | undefined;
|
|
14835
|
+
}>>;
|
|
14836
|
+
/**
|
|
14837
|
+
* For an external asset: the builder command and the hashes of the declared
|
|
14838
|
+
* inputs when the file was recorded. Absent on every other entry.
|
|
14839
|
+
*/
|
|
14840
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
14841
|
+
builder: z.ZodString;
|
|
14842
|
+
inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14843
|
+
path: z.ZodString;
|
|
14844
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
14845
|
+
}, "strict", z.ZodTypeAny, {
|
|
14846
|
+
path: string;
|
|
14847
|
+
sha256: string | null;
|
|
14848
|
+
}, {
|
|
14849
|
+
path: string;
|
|
14850
|
+
sha256: string | null;
|
|
14851
|
+
}>, "many">>;
|
|
14852
|
+
}, "strict", z.ZodTypeAny, {
|
|
14853
|
+
builder: string;
|
|
14854
|
+
inputs: {
|
|
14855
|
+
path: string;
|
|
14856
|
+
sha256: string | null;
|
|
14857
|
+
}[];
|
|
14858
|
+
}, {
|
|
14859
|
+
builder: string;
|
|
14860
|
+
inputs?: {
|
|
14861
|
+
path: string;
|
|
14862
|
+
sha256: string | null;
|
|
14863
|
+
}[] | undefined;
|
|
14864
|
+
}>>;
|
|
14247
14865
|
}, "strip", z.ZodTypeAny, {
|
|
14248
14866
|
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
14249
14867
|
width: number;
|
|
@@ -14322,6 +14940,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14322
14940
|
assetId: string;
|
|
14323
14941
|
reviewObjectId: string | null;
|
|
14324
14942
|
error: string | null;
|
|
14943
|
+
derive?: {
|
|
14944
|
+
sourceSha256: string;
|
|
14945
|
+
sourceAssetId?: string | undefined;
|
|
14946
|
+
sourceFile?: string | undefined;
|
|
14947
|
+
} | undefined;
|
|
14948
|
+
external?: {
|
|
14949
|
+
builder: string;
|
|
14950
|
+
inputs: {
|
|
14951
|
+
path: string;
|
|
14952
|
+
sha256: string | null;
|
|
14953
|
+
}[];
|
|
14954
|
+
} | undefined;
|
|
14325
14955
|
history?: {
|
|
14326
14956
|
width: number;
|
|
14327
14957
|
height: number;
|
|
@@ -14474,6 +15104,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14474
15104
|
sourceAssetId: string;
|
|
14475
15105
|
sourceSha256: string;
|
|
14476
15106
|
} | null | undefined;
|
|
15107
|
+
derive?: {
|
|
15108
|
+
sourceSha256: string;
|
|
15109
|
+
sourceAssetId?: string | undefined;
|
|
15110
|
+
sourceFile?: string | undefined;
|
|
15111
|
+
} | undefined;
|
|
15112
|
+
external?: {
|
|
15113
|
+
builder: string;
|
|
15114
|
+
inputs?: {
|
|
15115
|
+
path: string;
|
|
15116
|
+
sha256: string | null;
|
|
15117
|
+
}[] | undefined;
|
|
15118
|
+
} | undefined;
|
|
14477
15119
|
history?: {
|
|
14478
15120
|
width: number;
|
|
14479
15121
|
height: number;
|
|
@@ -14682,6 +15324,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14682
15324
|
assetId: string;
|
|
14683
15325
|
reviewObjectId: string | null;
|
|
14684
15326
|
error: string | null;
|
|
15327
|
+
derive?: {
|
|
15328
|
+
sourceSha256: string;
|
|
15329
|
+
sourceAssetId?: string | undefined;
|
|
15330
|
+
sourceFile?: string | undefined;
|
|
15331
|
+
} | undefined;
|
|
15332
|
+
external?: {
|
|
15333
|
+
builder: string;
|
|
15334
|
+
inputs: {
|
|
15335
|
+
path: string;
|
|
15336
|
+
sha256: string | null;
|
|
15337
|
+
}[];
|
|
15338
|
+
} | undefined;
|
|
14685
15339
|
history?: {
|
|
14686
15340
|
width: number;
|
|
14687
15341
|
height: number;
|
|
@@ -14837,6 +15491,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14837
15491
|
sourceAssetId: string;
|
|
14838
15492
|
sourceSha256: string;
|
|
14839
15493
|
} | null | undefined;
|
|
15494
|
+
derive?: {
|
|
15495
|
+
sourceSha256: string;
|
|
15496
|
+
sourceAssetId?: string | undefined;
|
|
15497
|
+
sourceFile?: string | undefined;
|
|
15498
|
+
} | undefined;
|
|
15499
|
+
external?: {
|
|
15500
|
+
builder: string;
|
|
15501
|
+
inputs?: {
|
|
15502
|
+
path: string;
|
|
15503
|
+
sha256: string | null;
|
|
15504
|
+
}[] | undefined;
|
|
15505
|
+
} | undefined;
|
|
14840
15506
|
history?: {
|
|
14841
15507
|
width: number;
|
|
14842
15508
|
height: number;
|
|
@@ -15044,6 +15710,33 @@ interface ResolvedMirror {
|
|
|
15044
15710
|
sourceAssetId: string;
|
|
15045
15711
|
sourceSpec: ResolvedSpec;
|
|
15046
15712
|
}
|
|
15713
|
+
/** A derived asset: its transform, and the input it reads. */
|
|
15714
|
+
interface ResolvedDerive {
|
|
15715
|
+
transform: AssetDerive["transform"];
|
|
15716
|
+
map?: Record<string, string>;
|
|
15717
|
+
palette?: string[];
|
|
15718
|
+
width?: number;
|
|
15719
|
+
height?: number;
|
|
15720
|
+
mode?: "nearest" | "box";
|
|
15721
|
+
source: {
|
|
15722
|
+
kind: "asset";
|
|
15723
|
+
assetId: string;
|
|
15724
|
+
spec: ResolvedSpec;
|
|
15725
|
+
} | {
|
|
15726
|
+
kind: "file"; /** Relative to the manifest. */
|
|
15727
|
+
file: string;
|
|
15728
|
+
sha256: string | null;
|
|
15729
|
+
};
|
|
15730
|
+
}
|
|
15731
|
+
/** An external asset: the builder to run elsewhere and the inputs it reads, hashed now. */
|
|
15732
|
+
interface ResolvedExternal {
|
|
15733
|
+
builder: string;
|
|
15734
|
+
/** Paths relative to the manifest; a missing input has no hash. */
|
|
15735
|
+
inputs: Array<{
|
|
15736
|
+
path: string;
|
|
15737
|
+
sha256: string | null;
|
|
15738
|
+
}>;
|
|
15739
|
+
}
|
|
15047
15740
|
/**
|
|
15048
15741
|
* A `1dir` batch, leader or member. `itemDescriptions` is the full ordered
|
|
15049
15742
|
* list (the leader's own prompt at index 0, then each member's prompt at
|
|
@@ -15094,6 +15787,8 @@ interface ResolvedSpec {
|
|
|
15094
15787
|
objectPro?: ResolvedObjectPro;
|
|
15095
15788
|
/** A local left-to-right flip of another asset in this style; costs nothing. */
|
|
15096
15789
|
mirror?: ResolvedMirror;
|
|
15790
|
+
derive?: ResolvedDerive;
|
|
15791
|
+
external?: ResolvedExternal;
|
|
15097
15792
|
/** Set for a `1dir` asset that hosts or rides along on a batch submission. */
|
|
15098
15793
|
batch?: ResolvedBatch;
|
|
15099
15794
|
/** `map` only: the scene this object is drawn into, in that scene's style. */
|
|
@@ -17576,8 +18271,28 @@ interface LoadedManifest {
|
|
|
17576
18271
|
* and the asset ids each expanded into. Absent when the manifest has none.
|
|
17577
18272
|
*/
|
|
17578
18273
|
loopFamilies?: Record<string, string[]>;
|
|
18274
|
+
/**
|
|
18275
|
+
* Entries a lenient load set aside because they do not validate or resolve,
|
|
18276
|
+
* so one bad entry does not hide the rest. Absent when everything loaded.
|
|
18277
|
+
*/
|
|
18278
|
+
invalid?: InvalidManifestEntry[];
|
|
18279
|
+
}
|
|
18280
|
+
/** A style or asset a lenient load could not use, and why. */
|
|
18281
|
+
interface InvalidManifestEntry {
|
|
18282
|
+
kind: "style" | "asset";
|
|
18283
|
+
id: string;
|
|
18284
|
+
issues: string[];
|
|
17579
18285
|
}
|
|
17580
|
-
|
|
18286
|
+
interface LoadManifestOptions {
|
|
18287
|
+
/**
|
|
18288
|
+
* Set invalid styles and assets aside, and everything that depends on them,
|
|
18289
|
+
* instead of rejecting the whole file. Problems in the manifest's own
|
|
18290
|
+
* top-level fields still throw. Read-only commands use this; anything that
|
|
18291
|
+
* spends should not.
|
|
18292
|
+
*/
|
|
18293
|
+
lenient?: boolean;
|
|
18294
|
+
}
|
|
18295
|
+
declare function loadManifest(manifestPath: string, opts?: LoadManifestOptions): Promise<LoadedManifest>;
|
|
17581
18296
|
/**
|
|
17582
18297
|
* Whether a style renders an asset. An asset that names its styles is in
|
|
17583
18298
|
* exactly those. One that names none joins every style of its own kind: a
|
|
@@ -17597,6 +18312,12 @@ declare function parentAssetId(asset: Asset | undefined): string | undefined;
|
|
|
17597
18312
|
declare function resolveSpecs(loaded: LoadedManifest, filter?: {
|
|
17598
18313
|
styles?: string[];
|
|
17599
18314
|
assets?: string[];
|
|
18315
|
+
/**
|
|
18316
|
+
* Called instead of throwing when one asset cannot be resolved (a size the
|
|
18317
|
+
* provider rejects, a bad reference). The asset is left out. Without it,
|
|
18318
|
+
* the first failure rejects the whole resolution.
|
|
18319
|
+
*/
|
|
18320
|
+
onInvalid?: (entry: InvalidManifestEntry) => void;
|
|
17600
18321
|
/** Optional provider makes offline plan cost/candidate estimates adapter-owned. */
|
|
17601
18322
|
provider?: Pick<Provider, "supports" | "supportsRevision" | "supportsMapScene" | "estimate" | "validate" | "resolveOptions" | "resolveInputs" | "id">;
|
|
17602
18323
|
}): Promise<ResolvedSpec[]>;
|
|
@@ -17703,6 +18424,11 @@ interface OpenProjectOptions {
|
|
|
17703
18424
|
styles?: string[];
|
|
17704
18425
|
/** Keep only these asset ids. Empty or omitted keeps every asset. */
|
|
17705
18426
|
assets?: string[];
|
|
18427
|
+
/**
|
|
18428
|
+
* Set invalid entries aside (see `loaded.invalid`) instead of failing the
|
|
18429
|
+
* whole open. For read-only reports; leave off for anything that spends.
|
|
18430
|
+
*/
|
|
18431
|
+
lenient?: boolean;
|
|
17706
18432
|
/**
|
|
17707
18433
|
* Read `.env.local` and `.env` from the manifest's directory, and from the
|
|
17708
18434
|
* working directory when that differs, into `process.env` before anything
|
|
@@ -19053,14 +19779,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19053
19779
|
sha256: string;
|
|
19054
19780
|
role: "reference" | "workflow";
|
|
19055
19781
|
}[];
|
|
19056
|
-
schemaVersion: 1;
|
|
19057
|
-
summary: string;
|
|
19058
|
-
models: {
|
|
19059
|
-
path: string;
|
|
19060
|
-
source: string;
|
|
19061
|
-
sha256: string;
|
|
19062
|
-
license: string;
|
|
19063
|
-
}[];
|
|
19064
19782
|
style: {
|
|
19065
19783
|
outDir: string;
|
|
19066
19784
|
palette: string[];
|
|
@@ -19153,6 +19871,14 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19153
19871
|
base?: string | undefined;
|
|
19154
19872
|
} | undefined;
|
|
19155
19873
|
};
|
|
19874
|
+
schemaVersion: 1;
|
|
19875
|
+
summary: string;
|
|
19876
|
+
models: {
|
|
19877
|
+
path: string;
|
|
19878
|
+
source: string;
|
|
19879
|
+
sha256: string;
|
|
19880
|
+
license: string;
|
|
19881
|
+
}[];
|
|
19156
19882
|
$schema?: string | undefined;
|
|
19157
19883
|
workflow?: {
|
|
19158
19884
|
path: string;
|
|
@@ -19221,8 +19947,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19221
19947
|
algorithm: "sha256";
|
|
19222
19948
|
digest: string;
|
|
19223
19949
|
};
|
|
19224
|
-
schemaVersion: 1;
|
|
19225
|
-
summary: string;
|
|
19226
19950
|
style: {
|
|
19227
19951
|
outDir: string;
|
|
19228
19952
|
provider?: string | undefined;
|
|
@@ -19315,6 +20039,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19315
20039
|
tags?: string[] | undefined;
|
|
19316
20040
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
19317
20041
|
};
|
|
20042
|
+
schemaVersion: 1;
|
|
20043
|
+
summary: string;
|
|
19318
20044
|
$schema?: string | undefined;
|
|
19319
20045
|
files?: {
|
|
19320
20046
|
path: string;
|
|
@@ -19399,14 +20125,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19399
20125
|
sha256: string;
|
|
19400
20126
|
role: "reference" | "workflow";
|
|
19401
20127
|
}[];
|
|
19402
|
-
schemaVersion: 1;
|
|
19403
|
-
summary: string;
|
|
19404
|
-
models: {
|
|
19405
|
-
path: string;
|
|
19406
|
-
source: string;
|
|
19407
|
-
sha256: string;
|
|
19408
|
-
license: string;
|
|
19409
|
-
}[];
|
|
19410
20128
|
style: {
|
|
19411
20129
|
outDir: string;
|
|
19412
20130
|
palette: string[];
|
|
@@ -19499,6 +20217,14 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19499
20217
|
base?: string | undefined;
|
|
19500
20218
|
} | undefined;
|
|
19501
20219
|
};
|
|
20220
|
+
schemaVersion: 1;
|
|
20221
|
+
summary: string;
|
|
20222
|
+
models: {
|
|
20223
|
+
path: string;
|
|
20224
|
+
source: string;
|
|
20225
|
+
sha256: string;
|
|
20226
|
+
license: string;
|
|
20227
|
+
}[];
|
|
19502
20228
|
$schema?: string | undefined;
|
|
19503
20229
|
workflow?: {
|
|
19504
20230
|
path: string;
|
|
@@ -19567,8 +20293,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19567
20293
|
algorithm: "sha256";
|
|
19568
20294
|
digest: string;
|
|
19569
20295
|
};
|
|
19570
|
-
schemaVersion: 1;
|
|
19571
|
-
summary: string;
|
|
19572
20296
|
style: {
|
|
19573
20297
|
outDir: string;
|
|
19574
20298
|
provider?: string | undefined;
|
|
@@ -19661,6 +20385,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19661
20385
|
tags?: string[] | undefined;
|
|
19662
20386
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
19663
20387
|
};
|
|
20388
|
+
schemaVersion: 1;
|
|
20389
|
+
summary: string;
|
|
19664
20390
|
$schema?: string | undefined;
|
|
19665
20391
|
files?: {
|
|
19666
20392
|
path: string;
|
|
@@ -21529,6 +22255,8 @@ interface DoctorOptions {
|
|
|
21529
22255
|
offline?: boolean;
|
|
21530
22256
|
apiKeyPresent?: boolean;
|
|
21531
22257
|
credentialEnv?: string;
|
|
22258
|
+
/** The running CLI's version, for the install check. Defaults to this package's own. */
|
|
22259
|
+
runningVersion?: string | null;
|
|
21532
22260
|
}
|
|
21533
22261
|
interface DoctorProviderTarget {
|
|
21534
22262
|
id: string;
|
|
@@ -21539,8 +22267,9 @@ interface DoctorProviderTarget {
|
|
|
21539
22267
|
}
|
|
21540
22268
|
/**
|
|
21541
22269
|
* Checks the whole project without changing it. Loading/resolving the manifest
|
|
21542
|
-
* and loading the lock happen before this function
|
|
21543
|
-
*
|
|
22270
|
+
* and loading the lock happen before this function. Entries a lenient load set
|
|
22271
|
+
* aside are reported here as errors; everything else has already passed schema,
|
|
22272
|
+
* style-image, filter, and output-collision validation if this runs.
|
|
21544
22273
|
*/
|
|
21545
22274
|
declare function doctor(loaded: LoadedManifest, specs: ResolvedSpec[], lock: Lock, lockPath: string, opts?: DoctorOptions): Promise<DoctorReport>;
|
|
21546
22275
|
|
|
@@ -23780,7 +24509,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
23780
24509
|
expectedSha256: z.ZodString;
|
|
23781
24510
|
}, "strict", z.ZodTypeAny, {
|
|
23782
24511
|
assetId: string;
|
|
23783
|
-
action: "add-asset";
|
|
23784
24512
|
asset: {
|
|
23785
24513
|
width?: number | undefined;
|
|
23786
24514
|
height?: number | undefined;
|
|
@@ -23883,11 +24611,11 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
23883
24611
|
mirror?: string | undefined;
|
|
23884
24612
|
styles?: string[] | undefined;
|
|
23885
24613
|
};
|
|
24614
|
+
action: "add-asset";
|
|
23886
24615
|
expectedSha256: string;
|
|
23887
24616
|
project?: string | undefined;
|
|
23888
24617
|
}, {
|
|
23889
24618
|
assetId: string;
|
|
23890
|
-
action: "add-asset";
|
|
23891
24619
|
asset: {
|
|
23892
24620
|
width?: number | undefined;
|
|
23893
24621
|
height?: number | undefined;
|
|
@@ -23990,6 +24718,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
23990
24718
|
mirror?: string | undefined;
|
|
23991
24719
|
styles?: string[] | undefined;
|
|
23992
24720
|
};
|
|
24721
|
+
action: "add-asset";
|
|
23993
24722
|
expectedSha256: string;
|
|
23994
24723
|
project?: string | undefined;
|
|
23995
24724
|
}>, z.ZodObject<{
|
|
@@ -25263,7 +25992,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25263
25992
|
}>;
|
|
25264
25993
|
}, "strict", z.ZodTypeAny, {
|
|
25265
25994
|
assetId: string;
|
|
25266
|
-
action: "add-asset";
|
|
25267
25995
|
asset: {
|
|
25268
25996
|
width?: number | undefined;
|
|
25269
25997
|
height?: number | undefined;
|
|
@@ -25366,9 +26094,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25366
26094
|
mirror?: string | undefined;
|
|
25367
26095
|
styles?: string[] | undefined;
|
|
25368
26096
|
};
|
|
26097
|
+
action: "add-asset";
|
|
25369
26098
|
}, {
|
|
25370
26099
|
assetId: string;
|
|
25371
|
-
action: "add-asset";
|
|
25372
26100
|
asset: {
|
|
25373
26101
|
width?: number | undefined;
|
|
25374
26102
|
height?: number | undefined;
|
|
@@ -25471,6 +26199,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25471
26199
|
mirror?: string | undefined;
|
|
25472
26200
|
styles?: string[] | undefined;
|
|
25473
26201
|
};
|
|
26202
|
+
action: "add-asset";
|
|
25474
26203
|
}>, z.ZodObject<{
|
|
25475
26204
|
action: z.ZodLiteral<"set-source">;
|
|
25476
26205
|
assetId: z.ZodString;
|
|
@@ -25730,7 +26459,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25730
26459
|
};
|
|
25731
26460
|
} | {
|
|
25732
26461
|
assetId: string;
|
|
25733
|
-
action: "add-asset";
|
|
25734
26462
|
asset: {
|
|
25735
26463
|
width?: number | undefined;
|
|
25736
26464
|
height?: number | undefined;
|
|
@@ -25833,6 +26561,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25833
26561
|
mirror?: string | undefined;
|
|
25834
26562
|
styles?: string[] | undefined;
|
|
25835
26563
|
};
|
|
26564
|
+
action: "add-asset";
|
|
25836
26565
|
} | {
|
|
25837
26566
|
source: string;
|
|
25838
26567
|
styleId: string;
|
|
@@ -25902,7 +26631,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25902
26631
|
};
|
|
25903
26632
|
} | {
|
|
25904
26633
|
assetId: string;
|
|
25905
|
-
action: "add-asset";
|
|
25906
26634
|
asset: {
|
|
25907
26635
|
width?: number | undefined;
|
|
25908
26636
|
height?: number | undefined;
|
|
@@ -26005,6 +26733,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
26005
26733
|
mirror?: string | undefined;
|
|
26006
26734
|
styles?: string[] | undefined;
|
|
26007
26735
|
};
|
|
26736
|
+
action: "add-asset";
|
|
26008
26737
|
} | {
|
|
26009
26738
|
source: string;
|
|
26010
26739
|
styleId: string;
|
|
@@ -26616,4 +27345,4 @@ interface WorkspaceStatusReport {
|
|
|
26616
27345
|
*/
|
|
26617
27346
|
declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
|
|
26618
27347
|
|
|
26619
|
-
export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AssetVfx, AssetVfxSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, type ImportOptions, type ImportResult, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, PixelLabMcpClient, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCaseChange, type QualityCheck, type QualityMetricChange, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResolvedTerrainLink, type ResolvedVfx, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpecHashReport, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildImportedEntry, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, importLocal, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, reportSpecHashes, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, snapshotQualityCases, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|
|
27348
|
+
export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, type AssetDerive, AssetDeriveSchema, type AssetExternal, AssetExternalSchema, AssetSchema, type AssetVfx, AssetVfxSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, type ImportOptions, type ImportResult, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type InvalidManifestEntry, type JobState, type LoadManifestOptions, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, PixelLabMcpClient, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCaseChange, type QualityCheck, type QualityMetricChange, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedDerive, type ResolvedExternal, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResolvedTerrainLink, type ResolvedVfx, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpecHashReport, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildImportedEntry, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, importLocal, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, reportSpecHashes, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, snapshotQualityCases, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|