pixelkiln 0.94.0 → 0.96.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 +3940 -3471
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1233 -792
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1227 -67
- package/dist/index.d.ts +1227 -67
- package/dist/index.js +1198 -760
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +27 -0
- package/docs/MANIFEST.md +51 -1
- package/package.json +1 -1
- package/schema/manifest.schema.json +81 -0
package/dist/index.d.ts
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;
|
|
@@ -12274,6 +12774,43 @@ declare const PostprocessSchema: z.ZodObject<{
|
|
|
12274
12774
|
} | undefined;
|
|
12275
12775
|
}>;
|
|
12276
12776
|
type Postprocess = z.infer<typeof PostprocessSchema>;
|
|
12777
|
+
/**
|
|
12778
|
+
* Where art brought in with `adopt --local` came from, beyond `imported`: the
|
|
12779
|
+
* tool that made it, the prompt and seed it was rolled with, the steps applied
|
|
12780
|
+
* afterwards (free text; pixelkiln does not run them), and the hash of the
|
|
12781
|
+
* unprocessed original. A separate object so `imported`, which older versions
|
|
12782
|
+
* read strictly, never gains keys; unknown keys here are ignored on read.
|
|
12783
|
+
*/
|
|
12784
|
+
declare const LockOriginSchema: z.ZodObject<{
|
|
12785
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
12786
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
12787
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
12788
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12789
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
12790
|
+
sha256: z.ZodString;
|
|
12791
|
+
}, "strip", z.ZodTypeAny, {
|
|
12792
|
+
sha256: string;
|
|
12793
|
+
}, {
|
|
12794
|
+
sha256: string;
|
|
12795
|
+
}>>;
|
|
12796
|
+
}, "strip", z.ZodTypeAny, {
|
|
12797
|
+
seed?: number | undefined;
|
|
12798
|
+
prompt?: string | undefined;
|
|
12799
|
+
raw?: {
|
|
12800
|
+
sha256: string;
|
|
12801
|
+
} | undefined;
|
|
12802
|
+
tool?: string | undefined;
|
|
12803
|
+
steps?: string[] | undefined;
|
|
12804
|
+
}, {
|
|
12805
|
+
seed?: number | undefined;
|
|
12806
|
+
prompt?: string | undefined;
|
|
12807
|
+
raw?: {
|
|
12808
|
+
sha256: string;
|
|
12809
|
+
} | undefined;
|
|
12810
|
+
tool?: string | undefined;
|
|
12811
|
+
steps?: string[] | undefined;
|
|
12812
|
+
}>;
|
|
12813
|
+
type LockOrigin = z.infer<typeof LockOriginSchema>;
|
|
12277
12814
|
/**
|
|
12278
12815
|
* The settings a terrain set was drawn with that `specHash` leaves out: the
|
|
12279
12816
|
* older mode, shape, and camera knobs, and each terrain's description as
|
|
@@ -12474,6 +13011,49 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
|
12474
13011
|
terrainUpperDescription?: string | undefined;
|
|
12475
13012
|
terrainTransitionDescription?: string | undefined;
|
|
12476
13013
|
}>>;
|
|
13014
|
+
/** Imported art keeps its provenance when it is replaced and when it comes back. */
|
|
13015
|
+
imported: z.ZodOptional<z.ZodObject<{
|
|
13016
|
+
source: z.ZodString;
|
|
13017
|
+
note: z.ZodOptional<z.ZodString>;
|
|
13018
|
+
importedAt: z.ZodString;
|
|
13019
|
+
}, "strict", z.ZodTypeAny, {
|
|
13020
|
+
source: string;
|
|
13021
|
+
importedAt: string;
|
|
13022
|
+
note?: string | undefined;
|
|
13023
|
+
}, {
|
|
13024
|
+
source: string;
|
|
13025
|
+
importedAt: string;
|
|
13026
|
+
note?: string | undefined;
|
|
13027
|
+
}>>;
|
|
13028
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
13029
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
13030
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
13031
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
13032
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13033
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
13034
|
+
sha256: z.ZodString;
|
|
13035
|
+
}, "strip", z.ZodTypeAny, {
|
|
13036
|
+
sha256: string;
|
|
13037
|
+
}, {
|
|
13038
|
+
sha256: string;
|
|
13039
|
+
}>>;
|
|
13040
|
+
}, "strip", z.ZodTypeAny, {
|
|
13041
|
+
seed?: number | undefined;
|
|
13042
|
+
prompt?: string | undefined;
|
|
13043
|
+
raw?: {
|
|
13044
|
+
sha256: string;
|
|
13045
|
+
} | undefined;
|
|
13046
|
+
tool?: string | undefined;
|
|
13047
|
+
steps?: string[] | undefined;
|
|
13048
|
+
}, {
|
|
13049
|
+
seed?: number | undefined;
|
|
13050
|
+
prompt?: string | undefined;
|
|
13051
|
+
raw?: {
|
|
13052
|
+
sha256: string;
|
|
13053
|
+
} | undefined;
|
|
13054
|
+
tool?: string | undefined;
|
|
13055
|
+
steps?: string[] | undefined;
|
|
13056
|
+
}>>;
|
|
12477
13057
|
/** When the replacement was submitted. */
|
|
12478
13058
|
retiredAt: z.ZodString;
|
|
12479
13059
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12537,6 +13117,20 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
|
12537
13117
|
terrainUpperDescription?: string | undefined;
|
|
12538
13118
|
terrainTransitionDescription?: string | undefined;
|
|
12539
13119
|
} | undefined;
|
|
13120
|
+
imported?: {
|
|
13121
|
+
source: string;
|
|
13122
|
+
importedAt: string;
|
|
13123
|
+
note?: string | undefined;
|
|
13124
|
+
} | undefined;
|
|
13125
|
+
origin?: {
|
|
13126
|
+
seed?: number | undefined;
|
|
13127
|
+
prompt?: string | undefined;
|
|
13128
|
+
raw?: {
|
|
13129
|
+
sha256: string;
|
|
13130
|
+
} | undefined;
|
|
13131
|
+
tool?: string | undefined;
|
|
13132
|
+
steps?: string[] | undefined;
|
|
13133
|
+
} | undefined;
|
|
12540
13134
|
}, {
|
|
12541
13135
|
width: number;
|
|
12542
13136
|
height: number;
|
|
@@ -12598,6 +13192,20 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
|
12598
13192
|
terrainUpperDescription?: string | undefined;
|
|
12599
13193
|
terrainTransitionDescription?: string | undefined;
|
|
12600
13194
|
} | undefined;
|
|
13195
|
+
imported?: {
|
|
13196
|
+
source: string;
|
|
13197
|
+
importedAt: string;
|
|
13198
|
+
note?: string | undefined;
|
|
13199
|
+
} | undefined;
|
|
13200
|
+
origin?: {
|
|
13201
|
+
seed?: number | undefined;
|
|
13202
|
+
prompt?: string | undefined;
|
|
13203
|
+
raw?: {
|
|
13204
|
+
sha256: string;
|
|
13205
|
+
} | undefined;
|
|
13206
|
+
tool?: string | undefined;
|
|
13207
|
+
steps?: string[] | undefined;
|
|
13208
|
+
} | undefined;
|
|
12601
13209
|
}>;
|
|
12602
13210
|
declare const LockEntrySchema: z.ZodObject<{
|
|
12603
13211
|
styleId: z.ZodString;
|
|
@@ -13069,6 +13677,49 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13069
13677
|
terrainUpperDescription?: string | undefined;
|
|
13070
13678
|
terrainTransitionDescription?: string | undefined;
|
|
13071
13679
|
}>>;
|
|
13680
|
+
/** Imported art keeps its provenance when it is replaced and when it comes back. */
|
|
13681
|
+
imported: z.ZodOptional<z.ZodObject<{
|
|
13682
|
+
source: z.ZodString;
|
|
13683
|
+
note: z.ZodOptional<z.ZodString>;
|
|
13684
|
+
importedAt: z.ZodString;
|
|
13685
|
+
}, "strict", z.ZodTypeAny, {
|
|
13686
|
+
source: string;
|
|
13687
|
+
importedAt: string;
|
|
13688
|
+
note?: string | undefined;
|
|
13689
|
+
}, {
|
|
13690
|
+
source: string;
|
|
13691
|
+
importedAt: string;
|
|
13692
|
+
note?: string | undefined;
|
|
13693
|
+
}>>;
|
|
13694
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
13695
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
13696
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
13697
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
13698
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13699
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
13700
|
+
sha256: z.ZodString;
|
|
13701
|
+
}, "strip", z.ZodTypeAny, {
|
|
13702
|
+
sha256: string;
|
|
13703
|
+
}, {
|
|
13704
|
+
sha256: string;
|
|
13705
|
+
}>>;
|
|
13706
|
+
}, "strip", z.ZodTypeAny, {
|
|
13707
|
+
seed?: number | undefined;
|
|
13708
|
+
prompt?: string | undefined;
|
|
13709
|
+
raw?: {
|
|
13710
|
+
sha256: string;
|
|
13711
|
+
} | undefined;
|
|
13712
|
+
tool?: string | undefined;
|
|
13713
|
+
steps?: string[] | undefined;
|
|
13714
|
+
}, {
|
|
13715
|
+
seed?: number | undefined;
|
|
13716
|
+
prompt?: string | undefined;
|
|
13717
|
+
raw?: {
|
|
13718
|
+
sha256: string;
|
|
13719
|
+
} | undefined;
|
|
13720
|
+
tool?: string | undefined;
|
|
13721
|
+
steps?: string[] | undefined;
|
|
13722
|
+
}>>;
|
|
13072
13723
|
/** When the replacement was submitted. */
|
|
13073
13724
|
retiredAt: z.ZodString;
|
|
13074
13725
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13132,6 +13783,20 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13132
13783
|
terrainUpperDescription?: string | undefined;
|
|
13133
13784
|
terrainTransitionDescription?: string | undefined;
|
|
13134
13785
|
} | undefined;
|
|
13786
|
+
imported?: {
|
|
13787
|
+
source: string;
|
|
13788
|
+
importedAt: string;
|
|
13789
|
+
note?: string | undefined;
|
|
13790
|
+
} | undefined;
|
|
13791
|
+
origin?: {
|
|
13792
|
+
seed?: number | undefined;
|
|
13793
|
+
prompt?: string | undefined;
|
|
13794
|
+
raw?: {
|
|
13795
|
+
sha256: string;
|
|
13796
|
+
} | undefined;
|
|
13797
|
+
tool?: string | undefined;
|
|
13798
|
+
steps?: string[] | undefined;
|
|
13799
|
+
} | undefined;
|
|
13135
13800
|
}, {
|
|
13136
13801
|
width: number;
|
|
13137
13802
|
height: number;
|
|
@@ -13193,6 +13858,20 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13193
13858
|
terrainUpperDescription?: string | undefined;
|
|
13194
13859
|
terrainTransitionDescription?: string | undefined;
|
|
13195
13860
|
} | undefined;
|
|
13861
|
+
imported?: {
|
|
13862
|
+
source: string;
|
|
13863
|
+
importedAt: string;
|
|
13864
|
+
note?: string | undefined;
|
|
13865
|
+
} | undefined;
|
|
13866
|
+
origin?: {
|
|
13867
|
+
seed?: number | undefined;
|
|
13868
|
+
prompt?: string | undefined;
|
|
13869
|
+
raw?: {
|
|
13870
|
+
sha256: string;
|
|
13871
|
+
} | undefined;
|
|
13872
|
+
tool?: string | undefined;
|
|
13873
|
+
steps?: string[] | undefined;
|
|
13874
|
+
} | undefined;
|
|
13196
13875
|
}>, "many">>;
|
|
13197
13876
|
/** Post-processing applied to the recorded outputs; absent when the bytes are the provider's. */
|
|
13198
13877
|
postprocess: z.ZodOptional<z.ZodObject<{
|
|
@@ -13224,22 +13903,99 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13224
13903
|
} | undefined;
|
|
13225
13904
|
}>>;
|
|
13226
13905
|
/**
|
|
13227
|
-
* Set when the entry records art made outside pixelkiln (the PixelLab MCP, a
|
|
13228
|
-
* hand edit, another tool) and brought in with `adopt --local`: nothing was
|
|
13229
|
-
* submitted, so jobId and cost are empty. Absent on generated entries.
|
|
13906
|
+
* Set when the entry records art made outside pixelkiln (the PixelLab MCP, a
|
|
13907
|
+
* hand edit, another tool) and brought in with `adopt --local`: nothing was
|
|
13908
|
+
* submitted, so jobId and cost are empty. Absent on generated entries.
|
|
13909
|
+
*/
|
|
13910
|
+
imported: z.ZodOptional<z.ZodObject<{
|
|
13911
|
+
source: z.ZodString;
|
|
13912
|
+
note: z.ZodOptional<z.ZodString>;
|
|
13913
|
+
importedAt: z.ZodString;
|
|
13914
|
+
}, "strict", z.ZodTypeAny, {
|
|
13915
|
+
source: string;
|
|
13916
|
+
importedAt: string;
|
|
13917
|
+
note?: string | undefined;
|
|
13918
|
+
}, {
|
|
13919
|
+
source: string;
|
|
13920
|
+
importedAt: string;
|
|
13921
|
+
note?: string | undefined;
|
|
13922
|
+
}>>;
|
|
13923
|
+
/** More on imported art: tool, prompt, seed, post-process steps, raw original. See LockOriginSchema. */
|
|
13924
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
13925
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
13926
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
13927
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
13928
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13929
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
13930
|
+
sha256: z.ZodString;
|
|
13931
|
+
}, "strip", z.ZodTypeAny, {
|
|
13932
|
+
sha256: string;
|
|
13933
|
+
}, {
|
|
13934
|
+
sha256: string;
|
|
13935
|
+
}>>;
|
|
13936
|
+
}, "strip", z.ZodTypeAny, {
|
|
13937
|
+
seed?: number | undefined;
|
|
13938
|
+
prompt?: string | undefined;
|
|
13939
|
+
raw?: {
|
|
13940
|
+
sha256: string;
|
|
13941
|
+
} | undefined;
|
|
13942
|
+
tool?: string | undefined;
|
|
13943
|
+
steps?: string[] | undefined;
|
|
13944
|
+
}, {
|
|
13945
|
+
seed?: number | undefined;
|
|
13946
|
+
prompt?: string | undefined;
|
|
13947
|
+
raw?: {
|
|
13948
|
+
sha256: string;
|
|
13949
|
+
} | undefined;
|
|
13950
|
+
tool?: string | undefined;
|
|
13951
|
+
steps?: string[] | undefined;
|
|
13952
|
+
}>>;
|
|
13953
|
+
/**
|
|
13954
|
+
* For a derived asset: what it was made from, and a hash of that input when
|
|
13955
|
+
* this was made. Compared with the input's current bytes by the plan, so a
|
|
13956
|
+
* changed source re-derives it for free. Absent on every other entry.
|
|
13957
|
+
*/
|
|
13958
|
+
derive: z.ZodOptional<z.ZodObject<{
|
|
13959
|
+
sourceAssetId: z.ZodOptional<z.ZodString>;
|
|
13960
|
+
sourceFile: z.ZodOptional<z.ZodString>;
|
|
13961
|
+
sourceSha256: z.ZodString;
|
|
13962
|
+
}, "strict", z.ZodTypeAny, {
|
|
13963
|
+
sourceSha256: string;
|
|
13964
|
+
sourceAssetId?: string | undefined;
|
|
13965
|
+
sourceFile?: string | undefined;
|
|
13966
|
+
}, {
|
|
13967
|
+
sourceSha256: string;
|
|
13968
|
+
sourceAssetId?: string | undefined;
|
|
13969
|
+
sourceFile?: string | undefined;
|
|
13970
|
+
}>>;
|
|
13971
|
+
/**
|
|
13972
|
+
* For an external asset: the builder command and the hashes of the declared
|
|
13973
|
+
* inputs when the file was recorded. Absent on every other entry.
|
|
13230
13974
|
*/
|
|
13231
|
-
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13975
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
13976
|
+
builder: z.ZodString;
|
|
13977
|
+
inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13978
|
+
path: z.ZodString;
|
|
13979
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
13980
|
+
}, "strict", z.ZodTypeAny, {
|
|
13981
|
+
path: string;
|
|
13982
|
+
sha256: string | null;
|
|
13983
|
+
}, {
|
|
13984
|
+
path: string;
|
|
13985
|
+
sha256: string | null;
|
|
13986
|
+
}>, "many">>;
|
|
13235
13987
|
}, "strict", z.ZodTypeAny, {
|
|
13236
|
-
|
|
13237
|
-
|
|
13238
|
-
|
|
13988
|
+
builder: string;
|
|
13989
|
+
inputs: {
|
|
13990
|
+
path: string;
|
|
13991
|
+
sha256: string | null;
|
|
13992
|
+
}[];
|
|
13239
13993
|
}, {
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
|
|
13994
|
+
builder: string;
|
|
13995
|
+
inputs?: {
|
|
13996
|
+
path: string;
|
|
13997
|
+
sha256: string | null;
|
|
13998
|
+
}[] | undefined;
|
|
13243
13999
|
}>>;
|
|
13244
14000
|
}, "strip", z.ZodTypeAny, {
|
|
13245
14001
|
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
@@ -13319,6 +14075,18 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13319
14075
|
assetId: string;
|
|
13320
14076
|
reviewObjectId: string | null;
|
|
13321
14077
|
error: string | null;
|
|
14078
|
+
derive?: {
|
|
14079
|
+
sourceSha256: string;
|
|
14080
|
+
sourceAssetId?: string | undefined;
|
|
14081
|
+
sourceFile?: string | undefined;
|
|
14082
|
+
} | undefined;
|
|
14083
|
+
external?: {
|
|
14084
|
+
builder: string;
|
|
14085
|
+
inputs: {
|
|
14086
|
+
path: string;
|
|
14087
|
+
sha256: string | null;
|
|
14088
|
+
}[];
|
|
14089
|
+
} | undefined;
|
|
13322
14090
|
history?: {
|
|
13323
14091
|
width: number;
|
|
13324
14092
|
height: number;
|
|
@@ -13380,6 +14148,20 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13380
14148
|
terrainUpperDescription?: string | undefined;
|
|
13381
14149
|
terrainTransitionDescription?: string | undefined;
|
|
13382
14150
|
} | undefined;
|
|
14151
|
+
imported?: {
|
|
14152
|
+
source: string;
|
|
14153
|
+
importedAt: string;
|
|
14154
|
+
note?: string | undefined;
|
|
14155
|
+
} | undefined;
|
|
14156
|
+
origin?: {
|
|
14157
|
+
seed?: number | undefined;
|
|
14158
|
+
prompt?: string | undefined;
|
|
14159
|
+
raw?: {
|
|
14160
|
+
sha256: string;
|
|
14161
|
+
} | undefined;
|
|
14162
|
+
tool?: string | undefined;
|
|
14163
|
+
steps?: string[] | undefined;
|
|
14164
|
+
} | undefined;
|
|
13383
14165
|
}[] | undefined;
|
|
13384
14166
|
postprocess?: {
|
|
13385
14167
|
palette?: {
|
|
@@ -13408,6 +14190,20 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13408
14190
|
terrainUpperDescription?: string | undefined;
|
|
13409
14191
|
terrainTransitionDescription?: string | undefined;
|
|
13410
14192
|
} | undefined;
|
|
14193
|
+
imported?: {
|
|
14194
|
+
source: string;
|
|
14195
|
+
importedAt: string;
|
|
14196
|
+
note?: string | undefined;
|
|
14197
|
+
} | undefined;
|
|
14198
|
+
origin?: {
|
|
14199
|
+
seed?: number | undefined;
|
|
14200
|
+
prompt?: string | undefined;
|
|
14201
|
+
raw?: {
|
|
14202
|
+
sha256: string;
|
|
14203
|
+
} | undefined;
|
|
14204
|
+
tool?: string | undefined;
|
|
14205
|
+
steps?: string[] | undefined;
|
|
14206
|
+
} | undefined;
|
|
13411
14207
|
supersededOutputs?: {
|
|
13412
14208
|
path: string;
|
|
13413
14209
|
sha256: string;
|
|
@@ -13415,11 +14211,6 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13415
14211
|
mediaType?: "image/png" | "image/gif" | undefined;
|
|
13416
14212
|
}[] | undefined;
|
|
13417
14213
|
submissionComplete?: boolean | undefined;
|
|
13418
|
-
imported?: {
|
|
13419
|
-
source: string;
|
|
13420
|
-
importedAt: string;
|
|
13421
|
-
note?: string | undefined;
|
|
13422
|
-
} | undefined;
|
|
13423
14214
|
}, {
|
|
13424
14215
|
width: number;
|
|
13425
14216
|
height: number;
|
|
@@ -13471,6 +14262,18 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13471
14262
|
sourceAssetId: string;
|
|
13472
14263
|
sourceSha256: string;
|
|
13473
14264
|
} | null | undefined;
|
|
14265
|
+
derive?: {
|
|
14266
|
+
sourceSha256: string;
|
|
14267
|
+
sourceAssetId?: string | undefined;
|
|
14268
|
+
sourceFile?: string | undefined;
|
|
14269
|
+
} | undefined;
|
|
14270
|
+
external?: {
|
|
14271
|
+
builder: string;
|
|
14272
|
+
inputs?: {
|
|
14273
|
+
path: string;
|
|
14274
|
+
sha256: string | null;
|
|
14275
|
+
}[] | undefined;
|
|
14276
|
+
} | undefined;
|
|
13474
14277
|
history?: {
|
|
13475
14278
|
width: number;
|
|
13476
14279
|
height: number;
|
|
@@ -13532,6 +14335,20 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13532
14335
|
terrainUpperDescription?: string | undefined;
|
|
13533
14336
|
terrainTransitionDescription?: string | undefined;
|
|
13534
14337
|
} | undefined;
|
|
14338
|
+
imported?: {
|
|
14339
|
+
source: string;
|
|
14340
|
+
importedAt: string;
|
|
14341
|
+
note?: string | undefined;
|
|
14342
|
+
} | undefined;
|
|
14343
|
+
origin?: {
|
|
14344
|
+
seed?: number | undefined;
|
|
14345
|
+
prompt?: string | undefined;
|
|
14346
|
+
raw?: {
|
|
14347
|
+
sha256: string;
|
|
14348
|
+
} | undefined;
|
|
14349
|
+
tool?: string | undefined;
|
|
14350
|
+
steps?: string[] | undefined;
|
|
14351
|
+
} | undefined;
|
|
13535
14352
|
}[] | undefined;
|
|
13536
14353
|
jobId?: string | null | undefined;
|
|
13537
14354
|
objectId?: string | null | undefined;
|
|
@@ -13585,6 +14402,20 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13585
14402
|
terrainUpperDescription?: string | undefined;
|
|
13586
14403
|
terrainTransitionDescription?: string | undefined;
|
|
13587
14404
|
} | undefined;
|
|
14405
|
+
imported?: {
|
|
14406
|
+
source: string;
|
|
14407
|
+
importedAt: string;
|
|
14408
|
+
note?: string | undefined;
|
|
14409
|
+
} | undefined;
|
|
14410
|
+
origin?: {
|
|
14411
|
+
seed?: number | undefined;
|
|
14412
|
+
prompt?: string | undefined;
|
|
14413
|
+
raw?: {
|
|
14414
|
+
sha256: string;
|
|
14415
|
+
} | undefined;
|
|
14416
|
+
tool?: string | undefined;
|
|
14417
|
+
steps?: string[] | undefined;
|
|
14418
|
+
} | undefined;
|
|
13588
14419
|
supersededOutputs?: {
|
|
13589
14420
|
path: string;
|
|
13590
14421
|
sha256: string;
|
|
@@ -13594,11 +14425,6 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
13594
14425
|
submissionComplete?: boolean | undefined;
|
|
13595
14426
|
reviewObjectId?: string | null | undefined;
|
|
13596
14427
|
error?: string | null | undefined;
|
|
13597
|
-
imported?: {
|
|
13598
|
-
source: string;
|
|
13599
|
-
importedAt: string;
|
|
13600
|
-
note?: string | undefined;
|
|
13601
|
-
} | undefined;
|
|
13602
14428
|
}>;
|
|
13603
14429
|
declare const LockSchema: z.ZodObject<{
|
|
13604
14430
|
version: z.ZodLiteral<2>;
|
|
@@ -14072,6 +14898,49 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14072
14898
|
terrainUpperDescription?: string | undefined;
|
|
14073
14899
|
terrainTransitionDescription?: string | undefined;
|
|
14074
14900
|
}>>;
|
|
14901
|
+
/** Imported art keeps its provenance when it is replaced and when it comes back. */
|
|
14902
|
+
imported: z.ZodOptional<z.ZodObject<{
|
|
14903
|
+
source: z.ZodString;
|
|
14904
|
+
note: z.ZodOptional<z.ZodString>;
|
|
14905
|
+
importedAt: z.ZodString;
|
|
14906
|
+
}, "strict", z.ZodTypeAny, {
|
|
14907
|
+
source: string;
|
|
14908
|
+
importedAt: string;
|
|
14909
|
+
note?: string | undefined;
|
|
14910
|
+
}, {
|
|
14911
|
+
source: string;
|
|
14912
|
+
importedAt: string;
|
|
14913
|
+
note?: string | undefined;
|
|
14914
|
+
}>>;
|
|
14915
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
14916
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
14917
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
14918
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
14919
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14920
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
14921
|
+
sha256: z.ZodString;
|
|
14922
|
+
}, "strip", z.ZodTypeAny, {
|
|
14923
|
+
sha256: string;
|
|
14924
|
+
}, {
|
|
14925
|
+
sha256: string;
|
|
14926
|
+
}>>;
|
|
14927
|
+
}, "strip", z.ZodTypeAny, {
|
|
14928
|
+
seed?: number | undefined;
|
|
14929
|
+
prompt?: string | undefined;
|
|
14930
|
+
raw?: {
|
|
14931
|
+
sha256: string;
|
|
14932
|
+
} | undefined;
|
|
14933
|
+
tool?: string | undefined;
|
|
14934
|
+
steps?: string[] | undefined;
|
|
14935
|
+
}, {
|
|
14936
|
+
seed?: number | undefined;
|
|
14937
|
+
prompt?: string | undefined;
|
|
14938
|
+
raw?: {
|
|
14939
|
+
sha256: string;
|
|
14940
|
+
} | undefined;
|
|
14941
|
+
tool?: string | undefined;
|
|
14942
|
+
steps?: string[] | undefined;
|
|
14943
|
+
}>>;
|
|
14075
14944
|
/** When the replacement was submitted. */
|
|
14076
14945
|
retiredAt: z.ZodString;
|
|
14077
14946
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14135,6 +15004,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14135
15004
|
terrainUpperDescription?: string | undefined;
|
|
14136
15005
|
terrainTransitionDescription?: string | undefined;
|
|
14137
15006
|
} | undefined;
|
|
15007
|
+
imported?: {
|
|
15008
|
+
source: string;
|
|
15009
|
+
importedAt: string;
|
|
15010
|
+
note?: string | undefined;
|
|
15011
|
+
} | undefined;
|
|
15012
|
+
origin?: {
|
|
15013
|
+
seed?: number | undefined;
|
|
15014
|
+
prompt?: string | undefined;
|
|
15015
|
+
raw?: {
|
|
15016
|
+
sha256: string;
|
|
15017
|
+
} | undefined;
|
|
15018
|
+
tool?: string | undefined;
|
|
15019
|
+
steps?: string[] | undefined;
|
|
15020
|
+
} | undefined;
|
|
14138
15021
|
}, {
|
|
14139
15022
|
width: number;
|
|
14140
15023
|
height: number;
|
|
@@ -14196,6 +15079,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14196
15079
|
terrainUpperDescription?: string | undefined;
|
|
14197
15080
|
terrainTransitionDescription?: string | undefined;
|
|
14198
15081
|
} | undefined;
|
|
15082
|
+
imported?: {
|
|
15083
|
+
source: string;
|
|
15084
|
+
importedAt: string;
|
|
15085
|
+
note?: string | undefined;
|
|
15086
|
+
} | undefined;
|
|
15087
|
+
origin?: {
|
|
15088
|
+
seed?: number | undefined;
|
|
15089
|
+
prompt?: string | undefined;
|
|
15090
|
+
raw?: {
|
|
15091
|
+
sha256: string;
|
|
15092
|
+
} | undefined;
|
|
15093
|
+
tool?: string | undefined;
|
|
15094
|
+
steps?: string[] | undefined;
|
|
15095
|
+
} | undefined;
|
|
14199
15096
|
}>, "many">>;
|
|
14200
15097
|
/** Post-processing applied to the recorded outputs; absent when the bytes are the provider's. */
|
|
14201
15098
|
postprocess: z.ZodOptional<z.ZodObject<{
|
|
@@ -14244,6 +15141,83 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14244
15141
|
importedAt: string;
|
|
14245
15142
|
note?: string | undefined;
|
|
14246
15143
|
}>>;
|
|
15144
|
+
/** More on imported art: tool, prompt, seed, post-process steps, raw original. See LockOriginSchema. */
|
|
15145
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
15146
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
15147
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
15148
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
15149
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15150
|
+
raw: z.ZodOptional<z.ZodObject<{
|
|
15151
|
+
sha256: z.ZodString;
|
|
15152
|
+
}, "strip", z.ZodTypeAny, {
|
|
15153
|
+
sha256: string;
|
|
15154
|
+
}, {
|
|
15155
|
+
sha256: string;
|
|
15156
|
+
}>>;
|
|
15157
|
+
}, "strip", z.ZodTypeAny, {
|
|
15158
|
+
seed?: number | undefined;
|
|
15159
|
+
prompt?: string | undefined;
|
|
15160
|
+
raw?: {
|
|
15161
|
+
sha256: string;
|
|
15162
|
+
} | undefined;
|
|
15163
|
+
tool?: string | undefined;
|
|
15164
|
+
steps?: string[] | undefined;
|
|
15165
|
+
}, {
|
|
15166
|
+
seed?: number | undefined;
|
|
15167
|
+
prompt?: string | undefined;
|
|
15168
|
+
raw?: {
|
|
15169
|
+
sha256: string;
|
|
15170
|
+
} | undefined;
|
|
15171
|
+
tool?: string | undefined;
|
|
15172
|
+
steps?: string[] | undefined;
|
|
15173
|
+
}>>;
|
|
15174
|
+
/**
|
|
15175
|
+
* For a derived asset: what it was made from, and a hash of that input when
|
|
15176
|
+
* this was made. Compared with the input's current bytes by the plan, so a
|
|
15177
|
+
* changed source re-derives it for free. Absent on every other entry.
|
|
15178
|
+
*/
|
|
15179
|
+
derive: z.ZodOptional<z.ZodObject<{
|
|
15180
|
+
sourceAssetId: z.ZodOptional<z.ZodString>;
|
|
15181
|
+
sourceFile: z.ZodOptional<z.ZodString>;
|
|
15182
|
+
sourceSha256: z.ZodString;
|
|
15183
|
+
}, "strict", z.ZodTypeAny, {
|
|
15184
|
+
sourceSha256: string;
|
|
15185
|
+
sourceAssetId?: string | undefined;
|
|
15186
|
+
sourceFile?: string | undefined;
|
|
15187
|
+
}, {
|
|
15188
|
+
sourceSha256: string;
|
|
15189
|
+
sourceAssetId?: string | undefined;
|
|
15190
|
+
sourceFile?: string | undefined;
|
|
15191
|
+
}>>;
|
|
15192
|
+
/**
|
|
15193
|
+
* For an external asset: the builder command and the hashes of the declared
|
|
15194
|
+
* inputs when the file was recorded. Absent on every other entry.
|
|
15195
|
+
*/
|
|
15196
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
15197
|
+
builder: z.ZodString;
|
|
15198
|
+
inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
15199
|
+
path: z.ZodString;
|
|
15200
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
15201
|
+
}, "strict", z.ZodTypeAny, {
|
|
15202
|
+
path: string;
|
|
15203
|
+
sha256: string | null;
|
|
15204
|
+
}, {
|
|
15205
|
+
path: string;
|
|
15206
|
+
sha256: string | null;
|
|
15207
|
+
}>, "many">>;
|
|
15208
|
+
}, "strict", z.ZodTypeAny, {
|
|
15209
|
+
builder: string;
|
|
15210
|
+
inputs: {
|
|
15211
|
+
path: string;
|
|
15212
|
+
sha256: string | null;
|
|
15213
|
+
}[];
|
|
15214
|
+
}, {
|
|
15215
|
+
builder: string;
|
|
15216
|
+
inputs?: {
|
|
15217
|
+
path: string;
|
|
15218
|
+
sha256: string | null;
|
|
15219
|
+
}[] | undefined;
|
|
15220
|
+
}>>;
|
|
14247
15221
|
}, "strip", z.ZodTypeAny, {
|
|
14248
15222
|
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
14249
15223
|
width: number;
|
|
@@ -14322,6 +15296,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14322
15296
|
assetId: string;
|
|
14323
15297
|
reviewObjectId: string | null;
|
|
14324
15298
|
error: string | null;
|
|
15299
|
+
derive?: {
|
|
15300
|
+
sourceSha256: string;
|
|
15301
|
+
sourceAssetId?: string | undefined;
|
|
15302
|
+
sourceFile?: string | undefined;
|
|
15303
|
+
} | undefined;
|
|
15304
|
+
external?: {
|
|
15305
|
+
builder: string;
|
|
15306
|
+
inputs: {
|
|
15307
|
+
path: string;
|
|
15308
|
+
sha256: string | null;
|
|
15309
|
+
}[];
|
|
15310
|
+
} | undefined;
|
|
14325
15311
|
history?: {
|
|
14326
15312
|
width: number;
|
|
14327
15313
|
height: number;
|
|
@@ -14383,6 +15369,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14383
15369
|
terrainUpperDescription?: string | undefined;
|
|
14384
15370
|
terrainTransitionDescription?: string | undefined;
|
|
14385
15371
|
} | undefined;
|
|
15372
|
+
imported?: {
|
|
15373
|
+
source: string;
|
|
15374
|
+
importedAt: string;
|
|
15375
|
+
note?: string | undefined;
|
|
15376
|
+
} | undefined;
|
|
15377
|
+
origin?: {
|
|
15378
|
+
seed?: number | undefined;
|
|
15379
|
+
prompt?: string | undefined;
|
|
15380
|
+
raw?: {
|
|
15381
|
+
sha256: string;
|
|
15382
|
+
} | undefined;
|
|
15383
|
+
tool?: string | undefined;
|
|
15384
|
+
steps?: string[] | undefined;
|
|
15385
|
+
} | undefined;
|
|
14386
15386
|
}[] | undefined;
|
|
14387
15387
|
postprocess?: {
|
|
14388
15388
|
palette?: {
|
|
@@ -14411,6 +15411,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14411
15411
|
terrainUpperDescription?: string | undefined;
|
|
14412
15412
|
terrainTransitionDescription?: string | undefined;
|
|
14413
15413
|
} | undefined;
|
|
15414
|
+
imported?: {
|
|
15415
|
+
source: string;
|
|
15416
|
+
importedAt: string;
|
|
15417
|
+
note?: string | undefined;
|
|
15418
|
+
} | undefined;
|
|
15419
|
+
origin?: {
|
|
15420
|
+
seed?: number | undefined;
|
|
15421
|
+
prompt?: string | undefined;
|
|
15422
|
+
raw?: {
|
|
15423
|
+
sha256: string;
|
|
15424
|
+
} | undefined;
|
|
15425
|
+
tool?: string | undefined;
|
|
15426
|
+
steps?: string[] | undefined;
|
|
15427
|
+
} | undefined;
|
|
14414
15428
|
supersededOutputs?: {
|
|
14415
15429
|
path: string;
|
|
14416
15430
|
sha256: string;
|
|
@@ -14418,11 +15432,6 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14418
15432
|
mediaType?: "image/png" | "image/gif" | undefined;
|
|
14419
15433
|
}[] | undefined;
|
|
14420
15434
|
submissionComplete?: boolean | undefined;
|
|
14421
|
-
imported?: {
|
|
14422
|
-
source: string;
|
|
14423
|
-
importedAt: string;
|
|
14424
|
-
note?: string | undefined;
|
|
14425
|
-
} | undefined;
|
|
14426
15435
|
}, {
|
|
14427
15436
|
width: number;
|
|
14428
15437
|
height: number;
|
|
@@ -14474,6 +15483,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14474
15483
|
sourceAssetId: string;
|
|
14475
15484
|
sourceSha256: string;
|
|
14476
15485
|
} | null | undefined;
|
|
15486
|
+
derive?: {
|
|
15487
|
+
sourceSha256: string;
|
|
15488
|
+
sourceAssetId?: string | undefined;
|
|
15489
|
+
sourceFile?: string | undefined;
|
|
15490
|
+
} | undefined;
|
|
15491
|
+
external?: {
|
|
15492
|
+
builder: string;
|
|
15493
|
+
inputs?: {
|
|
15494
|
+
path: string;
|
|
15495
|
+
sha256: string | null;
|
|
15496
|
+
}[] | undefined;
|
|
15497
|
+
} | undefined;
|
|
14477
15498
|
history?: {
|
|
14478
15499
|
width: number;
|
|
14479
15500
|
height: number;
|
|
@@ -14535,6 +15556,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14535
15556
|
terrainUpperDescription?: string | undefined;
|
|
14536
15557
|
terrainTransitionDescription?: string | undefined;
|
|
14537
15558
|
} | undefined;
|
|
15559
|
+
imported?: {
|
|
15560
|
+
source: string;
|
|
15561
|
+
importedAt: string;
|
|
15562
|
+
note?: string | undefined;
|
|
15563
|
+
} | undefined;
|
|
15564
|
+
origin?: {
|
|
15565
|
+
seed?: number | undefined;
|
|
15566
|
+
prompt?: string | undefined;
|
|
15567
|
+
raw?: {
|
|
15568
|
+
sha256: string;
|
|
15569
|
+
} | undefined;
|
|
15570
|
+
tool?: string | undefined;
|
|
15571
|
+
steps?: string[] | undefined;
|
|
15572
|
+
} | undefined;
|
|
14538
15573
|
}[] | undefined;
|
|
14539
15574
|
jobId?: string | null | undefined;
|
|
14540
15575
|
objectId?: string | null | undefined;
|
|
@@ -14588,6 +15623,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14588
15623
|
terrainUpperDescription?: string | undefined;
|
|
14589
15624
|
terrainTransitionDescription?: string | undefined;
|
|
14590
15625
|
} | undefined;
|
|
15626
|
+
imported?: {
|
|
15627
|
+
source: string;
|
|
15628
|
+
importedAt: string;
|
|
15629
|
+
note?: string | undefined;
|
|
15630
|
+
} | undefined;
|
|
15631
|
+
origin?: {
|
|
15632
|
+
seed?: number | undefined;
|
|
15633
|
+
prompt?: string | undefined;
|
|
15634
|
+
raw?: {
|
|
15635
|
+
sha256: string;
|
|
15636
|
+
} | undefined;
|
|
15637
|
+
tool?: string | undefined;
|
|
15638
|
+
steps?: string[] | undefined;
|
|
15639
|
+
} | undefined;
|
|
14591
15640
|
supersededOutputs?: {
|
|
14592
15641
|
path: string;
|
|
14593
15642
|
sha256: string;
|
|
@@ -14597,11 +15646,6 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14597
15646
|
submissionComplete?: boolean | undefined;
|
|
14598
15647
|
reviewObjectId?: string | null | undefined;
|
|
14599
15648
|
error?: string | null | undefined;
|
|
14600
|
-
imported?: {
|
|
14601
|
-
source: string;
|
|
14602
|
-
importedAt: string;
|
|
14603
|
-
note?: string | undefined;
|
|
14604
|
-
} | undefined;
|
|
14605
15649
|
}>>;
|
|
14606
15650
|
}, "strip", z.ZodTypeAny, {
|
|
14607
15651
|
entries: Record<string, {
|
|
@@ -14682,6 +15726,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14682
15726
|
assetId: string;
|
|
14683
15727
|
reviewObjectId: string | null;
|
|
14684
15728
|
error: string | null;
|
|
15729
|
+
derive?: {
|
|
15730
|
+
sourceSha256: string;
|
|
15731
|
+
sourceAssetId?: string | undefined;
|
|
15732
|
+
sourceFile?: string | undefined;
|
|
15733
|
+
} | undefined;
|
|
15734
|
+
external?: {
|
|
15735
|
+
builder: string;
|
|
15736
|
+
inputs: {
|
|
15737
|
+
path: string;
|
|
15738
|
+
sha256: string | null;
|
|
15739
|
+
}[];
|
|
15740
|
+
} | undefined;
|
|
14685
15741
|
history?: {
|
|
14686
15742
|
width: number;
|
|
14687
15743
|
height: number;
|
|
@@ -14743,6 +15799,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14743
15799
|
terrainUpperDescription?: string | undefined;
|
|
14744
15800
|
terrainTransitionDescription?: string | undefined;
|
|
14745
15801
|
} | undefined;
|
|
15802
|
+
imported?: {
|
|
15803
|
+
source: string;
|
|
15804
|
+
importedAt: string;
|
|
15805
|
+
note?: string | undefined;
|
|
15806
|
+
} | undefined;
|
|
15807
|
+
origin?: {
|
|
15808
|
+
seed?: number | undefined;
|
|
15809
|
+
prompt?: string | undefined;
|
|
15810
|
+
raw?: {
|
|
15811
|
+
sha256: string;
|
|
15812
|
+
} | undefined;
|
|
15813
|
+
tool?: string | undefined;
|
|
15814
|
+
steps?: string[] | undefined;
|
|
15815
|
+
} | undefined;
|
|
14746
15816
|
}[] | undefined;
|
|
14747
15817
|
postprocess?: {
|
|
14748
15818
|
palette?: {
|
|
@@ -14771,6 +15841,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14771
15841
|
terrainUpperDescription?: string | undefined;
|
|
14772
15842
|
terrainTransitionDescription?: string | undefined;
|
|
14773
15843
|
} | undefined;
|
|
15844
|
+
imported?: {
|
|
15845
|
+
source: string;
|
|
15846
|
+
importedAt: string;
|
|
15847
|
+
note?: string | undefined;
|
|
15848
|
+
} | undefined;
|
|
15849
|
+
origin?: {
|
|
15850
|
+
seed?: number | undefined;
|
|
15851
|
+
prompt?: string | undefined;
|
|
15852
|
+
raw?: {
|
|
15853
|
+
sha256: string;
|
|
15854
|
+
} | undefined;
|
|
15855
|
+
tool?: string | undefined;
|
|
15856
|
+
steps?: string[] | undefined;
|
|
15857
|
+
} | undefined;
|
|
14774
15858
|
supersededOutputs?: {
|
|
14775
15859
|
path: string;
|
|
14776
15860
|
sha256: string;
|
|
@@ -14778,11 +15862,6 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14778
15862
|
mediaType?: "image/png" | "image/gif" | undefined;
|
|
14779
15863
|
}[] | undefined;
|
|
14780
15864
|
submissionComplete?: boolean | undefined;
|
|
14781
|
-
imported?: {
|
|
14782
|
-
source: string;
|
|
14783
|
-
importedAt: string;
|
|
14784
|
-
note?: string | undefined;
|
|
14785
|
-
} | undefined;
|
|
14786
15865
|
}>;
|
|
14787
15866
|
version: 2;
|
|
14788
15867
|
}, {
|
|
@@ -14837,6 +15916,18 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14837
15916
|
sourceAssetId: string;
|
|
14838
15917
|
sourceSha256: string;
|
|
14839
15918
|
} | null | undefined;
|
|
15919
|
+
derive?: {
|
|
15920
|
+
sourceSha256: string;
|
|
15921
|
+
sourceAssetId?: string | undefined;
|
|
15922
|
+
sourceFile?: string | undefined;
|
|
15923
|
+
} | undefined;
|
|
15924
|
+
external?: {
|
|
15925
|
+
builder: string;
|
|
15926
|
+
inputs?: {
|
|
15927
|
+
path: string;
|
|
15928
|
+
sha256: string | null;
|
|
15929
|
+
}[] | undefined;
|
|
15930
|
+
} | undefined;
|
|
14840
15931
|
history?: {
|
|
14841
15932
|
width: number;
|
|
14842
15933
|
height: number;
|
|
@@ -14898,6 +15989,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14898
15989
|
terrainUpperDescription?: string | undefined;
|
|
14899
15990
|
terrainTransitionDescription?: string | undefined;
|
|
14900
15991
|
} | undefined;
|
|
15992
|
+
imported?: {
|
|
15993
|
+
source: string;
|
|
15994
|
+
importedAt: string;
|
|
15995
|
+
note?: string | undefined;
|
|
15996
|
+
} | undefined;
|
|
15997
|
+
origin?: {
|
|
15998
|
+
seed?: number | undefined;
|
|
15999
|
+
prompt?: string | undefined;
|
|
16000
|
+
raw?: {
|
|
16001
|
+
sha256: string;
|
|
16002
|
+
} | undefined;
|
|
16003
|
+
tool?: string | undefined;
|
|
16004
|
+
steps?: string[] | undefined;
|
|
16005
|
+
} | undefined;
|
|
14901
16006
|
}[] | undefined;
|
|
14902
16007
|
jobId?: string | null | undefined;
|
|
14903
16008
|
objectId?: string | null | undefined;
|
|
@@ -14951,6 +16056,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14951
16056
|
terrainUpperDescription?: string | undefined;
|
|
14952
16057
|
terrainTransitionDescription?: string | undefined;
|
|
14953
16058
|
} | undefined;
|
|
16059
|
+
imported?: {
|
|
16060
|
+
source: string;
|
|
16061
|
+
importedAt: string;
|
|
16062
|
+
note?: string | undefined;
|
|
16063
|
+
} | undefined;
|
|
16064
|
+
origin?: {
|
|
16065
|
+
seed?: number | undefined;
|
|
16066
|
+
prompt?: string | undefined;
|
|
16067
|
+
raw?: {
|
|
16068
|
+
sha256: string;
|
|
16069
|
+
} | undefined;
|
|
16070
|
+
tool?: string | undefined;
|
|
16071
|
+
steps?: string[] | undefined;
|
|
16072
|
+
} | undefined;
|
|
14954
16073
|
supersededOutputs?: {
|
|
14955
16074
|
path: string;
|
|
14956
16075
|
sha256: string;
|
|
@@ -14960,11 +16079,6 @@ declare const LockSchema: z.ZodObject<{
|
|
|
14960
16079
|
submissionComplete?: boolean | undefined;
|
|
14961
16080
|
reviewObjectId?: string | null | undefined;
|
|
14962
16081
|
error?: string | null | undefined;
|
|
14963
|
-
imported?: {
|
|
14964
|
-
source: string;
|
|
14965
|
-
importedAt: string;
|
|
14966
|
-
note?: string | undefined;
|
|
14967
|
-
} | undefined;
|
|
14968
16082
|
}>;
|
|
14969
16083
|
version: 2;
|
|
14970
16084
|
}>;
|
|
@@ -15044,6 +16158,33 @@ interface ResolvedMirror {
|
|
|
15044
16158
|
sourceAssetId: string;
|
|
15045
16159
|
sourceSpec: ResolvedSpec;
|
|
15046
16160
|
}
|
|
16161
|
+
/** A derived asset: its transform, and the input it reads. */
|
|
16162
|
+
interface ResolvedDerive {
|
|
16163
|
+
transform: AssetDerive["transform"];
|
|
16164
|
+
map?: Record<string, string>;
|
|
16165
|
+
palette?: string[];
|
|
16166
|
+
width?: number;
|
|
16167
|
+
height?: number;
|
|
16168
|
+
mode?: "nearest" | "box";
|
|
16169
|
+
source: {
|
|
16170
|
+
kind: "asset";
|
|
16171
|
+
assetId: string;
|
|
16172
|
+
spec: ResolvedSpec;
|
|
16173
|
+
} | {
|
|
16174
|
+
kind: "file"; /** Relative to the manifest. */
|
|
16175
|
+
file: string;
|
|
16176
|
+
sha256: string | null;
|
|
16177
|
+
};
|
|
16178
|
+
}
|
|
16179
|
+
/** An external asset: the builder to run elsewhere and the inputs it reads, hashed now. */
|
|
16180
|
+
interface ResolvedExternal {
|
|
16181
|
+
builder: string;
|
|
16182
|
+
/** Paths relative to the manifest; a missing input has no hash. */
|
|
16183
|
+
inputs: Array<{
|
|
16184
|
+
path: string;
|
|
16185
|
+
sha256: string | null;
|
|
16186
|
+
}>;
|
|
16187
|
+
}
|
|
15047
16188
|
/**
|
|
15048
16189
|
* A `1dir` batch, leader or member. `itemDescriptions` is the full ordered
|
|
15049
16190
|
* list (the leader's own prompt at index 0, then each member's prompt at
|
|
@@ -15094,6 +16235,8 @@ interface ResolvedSpec {
|
|
|
15094
16235
|
objectPro?: ResolvedObjectPro;
|
|
15095
16236
|
/** A local left-to-right flip of another asset in this style; costs nothing. */
|
|
15096
16237
|
mirror?: ResolvedMirror;
|
|
16238
|
+
derive?: ResolvedDerive;
|
|
16239
|
+
external?: ResolvedExternal;
|
|
15097
16240
|
/** Set for a `1dir` asset that hosts or rides along on a batch submission. */
|
|
15098
16241
|
batch?: ResolvedBatch;
|
|
15099
16242
|
/** `map` only: the scene this object is drawn into, in that scene's style. */
|
|
@@ -21615,6 +22758,21 @@ interface ImportOptions {
|
|
|
21615
22758
|
force?: boolean;
|
|
21616
22759
|
/** Compute the entries without writing the lockfile. */
|
|
21617
22760
|
dryRun?: boolean;
|
|
22761
|
+
/** The tool call that made it, e.g. `create_image_pro_flash`. */
|
|
22762
|
+
tool?: string;
|
|
22763
|
+
/** The prompt it was actually rolled with, when that differs from the manifest's. */
|
|
22764
|
+
prompt?: string;
|
|
22765
|
+
seed?: number;
|
|
22766
|
+
/** Credits spent making it, in the asset's cost unit. Counts toward recorded spend. */
|
|
22767
|
+
cost?: number;
|
|
22768
|
+
/** What was done after generation, in order, as free text. Recorded, never run. */
|
|
22769
|
+
steps?: string[];
|
|
22770
|
+
/** The unprocessed original, so the plan can tell it from the processed file. */
|
|
22771
|
+
raw?: string;
|
|
22772
|
+
/** Replaced generations to keep. Defaults to the built-in default. */
|
|
22773
|
+
historyLimit?: number;
|
|
22774
|
+
/** Where bytes are cached so a replaced import can be restored; false skips it. */
|
|
22775
|
+
cacheDir?: string | false;
|
|
21618
22776
|
}
|
|
21619
22777
|
interface ImportedEntry {
|
|
21620
22778
|
key: string;
|
|
@@ -21634,7 +22792,9 @@ type EntryPatch = Partial<LockEntry>;
|
|
|
21634
22792
|
* adopt would write. Like `adopt`, it pins the CURRENT spec hash: importing
|
|
21635
22793
|
* declares that the file satisfies today's spec, so `plan` reports it ok.
|
|
21636
22794
|
*/
|
|
21637
|
-
declare function buildImportedEntry(spec: ResolvedSpec, bytes: Buffer, opts?: Pick<ImportOptions, "source" | "note" | "objectId"
|
|
22795
|
+
declare function buildImportedEntry(spec: ResolvedSpec, bytes: Buffer, opts?: Pick<ImportOptions, "source" | "note" | "objectId" | "tool" | "prompt" | "seed" | "cost" | "steps"> & {
|
|
22796
|
+
rawSha256?: string;
|
|
22797
|
+
}, now?: Date): EntryPatch;
|
|
21638
22798
|
/**
|
|
21639
22799
|
* Records images already in the repo as lock entries without touching a
|
|
21640
22800
|
* provider: no key, no network. Hashes each file the same way `gen` does.
|
|
@@ -23814,7 +24974,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
23814
24974
|
expectedSha256: z.ZodString;
|
|
23815
24975
|
}, "strict", z.ZodTypeAny, {
|
|
23816
24976
|
assetId: string;
|
|
23817
|
-
action: "add-asset";
|
|
23818
24977
|
asset: {
|
|
23819
24978
|
width?: number | undefined;
|
|
23820
24979
|
height?: number | undefined;
|
|
@@ -23917,11 +25076,11 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
23917
25076
|
mirror?: string | undefined;
|
|
23918
25077
|
styles?: string[] | undefined;
|
|
23919
25078
|
};
|
|
25079
|
+
action: "add-asset";
|
|
23920
25080
|
expectedSha256: string;
|
|
23921
25081
|
project?: string | undefined;
|
|
23922
25082
|
}, {
|
|
23923
25083
|
assetId: string;
|
|
23924
|
-
action: "add-asset";
|
|
23925
25084
|
asset: {
|
|
23926
25085
|
width?: number | undefined;
|
|
23927
25086
|
height?: number | undefined;
|
|
@@ -24024,6 +25183,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
24024
25183
|
mirror?: string | undefined;
|
|
24025
25184
|
styles?: string[] | undefined;
|
|
24026
25185
|
};
|
|
25186
|
+
action: "add-asset";
|
|
24027
25187
|
expectedSha256: string;
|
|
24028
25188
|
project?: string | undefined;
|
|
24029
25189
|
}>, z.ZodObject<{
|
|
@@ -25297,7 +26457,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25297
26457
|
}>;
|
|
25298
26458
|
}, "strict", z.ZodTypeAny, {
|
|
25299
26459
|
assetId: string;
|
|
25300
|
-
action: "add-asset";
|
|
25301
26460
|
asset: {
|
|
25302
26461
|
width?: number | undefined;
|
|
25303
26462
|
height?: number | undefined;
|
|
@@ -25400,9 +26559,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25400
26559
|
mirror?: string | undefined;
|
|
25401
26560
|
styles?: string[] | undefined;
|
|
25402
26561
|
};
|
|
26562
|
+
action: "add-asset";
|
|
25403
26563
|
}, {
|
|
25404
26564
|
assetId: string;
|
|
25405
|
-
action: "add-asset";
|
|
25406
26565
|
asset: {
|
|
25407
26566
|
width?: number | undefined;
|
|
25408
26567
|
height?: number | undefined;
|
|
@@ -25505,6 +26664,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25505
26664
|
mirror?: string | undefined;
|
|
25506
26665
|
styles?: string[] | undefined;
|
|
25507
26666
|
};
|
|
26667
|
+
action: "add-asset";
|
|
25508
26668
|
}>, z.ZodObject<{
|
|
25509
26669
|
action: z.ZodLiteral<"set-source">;
|
|
25510
26670
|
assetId: z.ZodString;
|
|
@@ -25764,7 +26924,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25764
26924
|
};
|
|
25765
26925
|
} | {
|
|
25766
26926
|
assetId: string;
|
|
25767
|
-
action: "add-asset";
|
|
25768
26927
|
asset: {
|
|
25769
26928
|
width?: number | undefined;
|
|
25770
26929
|
height?: number | undefined;
|
|
@@ -25867,6 +27026,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25867
27026
|
mirror?: string | undefined;
|
|
25868
27027
|
styles?: string[] | undefined;
|
|
25869
27028
|
};
|
|
27029
|
+
action: "add-asset";
|
|
25870
27030
|
} | {
|
|
25871
27031
|
source: string;
|
|
25872
27032
|
styleId: string;
|
|
@@ -25936,7 +27096,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
25936
27096
|
};
|
|
25937
27097
|
} | {
|
|
25938
27098
|
assetId: string;
|
|
25939
|
-
action: "add-asset";
|
|
25940
27099
|
asset: {
|
|
25941
27100
|
width?: number | undefined;
|
|
25942
27101
|
height?: number | undefined;
|
|
@@ -26039,6 +27198,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
26039
27198
|
mirror?: string | undefined;
|
|
26040
27199
|
styles?: string[] | undefined;
|
|
26041
27200
|
};
|
|
27201
|
+
action: "add-asset";
|
|
26042
27202
|
} | {
|
|
26043
27203
|
source: string;
|
|
26044
27204
|
styleId: string;
|
|
@@ -26650,4 +27810,4 @@ interface WorkspaceStatusReport {
|
|
|
26650
27810
|
*/
|
|
26651
27811
|
declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
|
|
26652
27812
|
|
|
26653
|
-
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 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 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 };
|
|
27813
|
+
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 LockOrigin, LockOriginSchema, 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 };
|