pixelkiln 0.35.0 → 0.36.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/CONTRIBUTING.md +7 -0
- package/dist/cli.js +165 -81
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +137 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -52
- package/dist/index.d.ts +116 -52
- package/dist/index.js +128 -38
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +49 -0
- package/docs/LIBRARY.md +32 -0
- package/package.json +3 -1
package/dist/index.d.cts
CHANGED
|
@@ -12,6 +12,71 @@ declare function detectMediaType(bytes: Buffer): MediaType | null;
|
|
|
12
12
|
declare function validateMedia(bytes: Buffer, expected?: MediaType): MediaType;
|
|
13
13
|
declare function cacheFileName(hash: string, mediaType?: MediaType): string;
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* The kinds of failure a caller can act on differently.
|
|
17
|
+
*
|
|
18
|
+
* Most errors in this codebase are plain `Error`s with a good message, and
|
|
19
|
+
* that stays true: the message is for a person. A `code` is for a program.
|
|
20
|
+
* The gallery turns one into an HTTP status, the CLI into an exit code, and
|
|
21
|
+
* an integration decides whether to retry, ask, or stop without matching on
|
|
22
|
+
* message text that may be reworded.
|
|
23
|
+
*
|
|
24
|
+
* The set is deliberately small. A new code earns its place when some caller
|
|
25
|
+
* would branch on it; until then a plain Error is the right type.
|
|
26
|
+
*/
|
|
27
|
+
type ErrorCode =
|
|
28
|
+
/** Bad flags or arguments. Nothing was read or written. */
|
|
29
|
+
"usage"
|
|
30
|
+
/** The manifest, lockfile, or workspace catalog is missing or invalid. */
|
|
31
|
+
| "project"
|
|
32
|
+
/** A provider rejected a request or answered with something unusable. */
|
|
33
|
+
| "provider"
|
|
34
|
+
/** A file on disk differs from what the record expects; nothing was overwritten. */
|
|
35
|
+
| "refused-overwrite"
|
|
36
|
+
/** The run would spend past a ceiling, or the balance cannot cover it. */
|
|
37
|
+
| "budget"
|
|
38
|
+
/** The provider recorded for this work does not offer the operation. */
|
|
39
|
+
| "capability";
|
|
40
|
+
/** Exit codes the CLI maps each kind to. 1 stays the code for anything untyped. */
|
|
41
|
+
declare const EXIT_CODES: Record<ErrorCode, number>;
|
|
42
|
+
interface PixelKilnErrorOptions {
|
|
43
|
+
/** One line of what to do next, printed under the message by the CLI. */
|
|
44
|
+
hint?: string;
|
|
45
|
+
cause?: unknown;
|
|
46
|
+
}
|
|
47
|
+
declare class PixelKilnError extends Error {
|
|
48
|
+
readonly code: ErrorCode;
|
|
49
|
+
readonly hint?: string;
|
|
50
|
+
constructor(message: string, code: ErrorCode, opts?: PixelKilnErrorOptions);
|
|
51
|
+
}
|
|
52
|
+
declare class UsageError extends PixelKilnError {
|
|
53
|
+
constructor(message: string, opts?: PixelKilnErrorOptions);
|
|
54
|
+
}
|
|
55
|
+
declare class ProjectError extends PixelKilnError {
|
|
56
|
+
constructor(message: string, opts?: PixelKilnErrorOptions);
|
|
57
|
+
}
|
|
58
|
+
declare class ProviderError extends PixelKilnError {
|
|
59
|
+
/** Registry id of the provider that failed. */
|
|
60
|
+
readonly provider: string;
|
|
61
|
+
/** HTTP status when the failure was a response, otherwise undefined. */
|
|
62
|
+
readonly status?: number;
|
|
63
|
+
constructor(provider: string, message: string, opts?: PixelKilnErrorOptions & {
|
|
64
|
+
status?: number;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
declare class OverwriteRefusedError extends PixelKilnError {
|
|
68
|
+
/** The file(s) left untouched. */
|
|
69
|
+
readonly files: string[];
|
|
70
|
+
constructor(message: string, files: string[], opts?: PixelKilnErrorOptions);
|
|
71
|
+
}
|
|
72
|
+
declare class BudgetError extends PixelKilnError {
|
|
73
|
+
constructor(message: string, opts?: PixelKilnErrorOptions);
|
|
74
|
+
}
|
|
75
|
+
/** The code of any thrown value, or undefined for an untyped error. */
|
|
76
|
+
declare function errorCode(err: unknown): ErrorCode | undefined;
|
|
77
|
+
/** What a process should exit with after failing on `err`. */
|
|
78
|
+
declare function exitCodeFor(err: unknown): number;
|
|
79
|
+
|
|
15
80
|
/**
|
|
16
81
|
* Human-readable unit attached to every estimate and recorded charge.
|
|
17
82
|
* Built-ins use generations, USD, free, and compute units. Adapters may report
|
|
@@ -230,7 +295,7 @@ interface Provider {
|
|
|
230
295
|
/** Irreversible. Only reached via `purge`, behind explicit confirmation. */
|
|
231
296
|
delete?(assetId: string): Promise<void>;
|
|
232
297
|
}
|
|
233
|
-
declare class UnsupportedCapabilityError extends
|
|
298
|
+
declare class UnsupportedCapabilityError extends PixelKilnError {
|
|
234
299
|
constructor(providerId: string, capability: string);
|
|
235
300
|
}
|
|
236
301
|
/** Narrowing helpers so call sites fail with a clear message, not `undefined is not a function`. */
|
|
@@ -688,8 +753,8 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
688
753
|
} | undefined;
|
|
689
754
|
}, {
|
|
690
755
|
outDir: string;
|
|
691
|
-
palette?: string[] | undefined;
|
|
692
756
|
provider?: string | undefined;
|
|
757
|
+
palette?: string[] | undefined;
|
|
693
758
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
694
759
|
size?: number | undefined;
|
|
695
760
|
view?: string | undefined;
|
|
@@ -766,8 +831,8 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
766
831
|
} | undefined;
|
|
767
832
|
}, {
|
|
768
833
|
outDir: string;
|
|
769
|
-
palette?: string[] | undefined;
|
|
770
834
|
provider?: string | undefined;
|
|
835
|
+
palette?: string[] | undefined;
|
|
771
836
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
772
837
|
size?: number | undefined;
|
|
773
838
|
view?: string | undefined;
|
|
@@ -844,8 +909,8 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
844
909
|
} | undefined;
|
|
845
910
|
}, {
|
|
846
911
|
outDir: string;
|
|
847
|
-
palette?: string[] | undefined;
|
|
848
912
|
provider?: string | undefined;
|
|
913
|
+
palette?: string[] | undefined;
|
|
849
914
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
850
915
|
size?: number | undefined;
|
|
851
916
|
view?: string | undefined;
|
|
@@ -968,8 +1033,8 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
968
1033
|
}, "strict", z.ZodTypeAny, {
|
|
969
1034
|
outDir: string;
|
|
970
1035
|
extends: string;
|
|
971
|
-
palette?: string[] | undefined;
|
|
972
1036
|
provider?: string | undefined;
|
|
1037
|
+
palette?: string[] | undefined;
|
|
973
1038
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
974
1039
|
size?: number | undefined;
|
|
975
1040
|
view?: string | undefined;
|
|
@@ -1008,8 +1073,8 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1008
1073
|
}, {
|
|
1009
1074
|
outDir: string;
|
|
1010
1075
|
extends: string;
|
|
1011
|
-
palette?: string[] | undefined;
|
|
1012
1076
|
provider?: string | undefined;
|
|
1077
|
+
palette?: string[] | undefined;
|
|
1013
1078
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
1014
1079
|
size?: number | undefined;
|
|
1015
1080
|
view?: string | undefined;
|
|
@@ -1264,8 +1329,8 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1264
1329
|
} | undefined;
|
|
1265
1330
|
}, {
|
|
1266
1331
|
outDir: string;
|
|
1267
|
-
palette?: string[] | undefined;
|
|
1268
1332
|
provider?: string | undefined;
|
|
1333
|
+
palette?: string[] | undefined;
|
|
1269
1334
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
1270
1335
|
size?: number | undefined;
|
|
1271
1336
|
view?: string | undefined;
|
|
@@ -1342,8 +1407,8 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1342
1407
|
} | undefined;
|
|
1343
1408
|
}, {
|
|
1344
1409
|
outDir: string;
|
|
1345
|
-
palette?: string[] | undefined;
|
|
1346
1410
|
provider?: string | undefined;
|
|
1411
|
+
palette?: string[] | undefined;
|
|
1347
1412
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
1348
1413
|
size?: number | undefined;
|
|
1349
1414
|
view?: string | undefined;
|
|
@@ -1420,8 +1485,8 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1420
1485
|
} | undefined;
|
|
1421
1486
|
}, {
|
|
1422
1487
|
outDir: string;
|
|
1423
|
-
palette?: string[] | undefined;
|
|
1424
1488
|
provider?: string | undefined;
|
|
1489
|
+
palette?: string[] | undefined;
|
|
1425
1490
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
1426
1491
|
size?: number | undefined;
|
|
1427
1492
|
view?: string | undefined;
|
|
@@ -1539,8 +1604,8 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1539
1604
|
}, "strict", z.ZodTypeAny, {
|
|
1540
1605
|
outDir: string;
|
|
1541
1606
|
extends: string;
|
|
1542
|
-
palette?: string[] | undefined;
|
|
1543
1607
|
provider?: string | undefined;
|
|
1608
|
+
palette?: string[] | undefined;
|
|
1544
1609
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
1545
1610
|
size?: number | undefined;
|
|
1546
1611
|
view?: string | undefined;
|
|
@@ -1579,8 +1644,8 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1579
1644
|
}, {
|
|
1580
1645
|
outDir: string;
|
|
1581
1646
|
extends: string;
|
|
1582
|
-
palette?: string[] | undefined;
|
|
1583
1647
|
provider?: string | undefined;
|
|
1648
|
+
palette?: string[] | undefined;
|
|
1584
1649
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
1585
1650
|
size?: number | undefined;
|
|
1586
1651
|
view?: string | undefined;
|
|
@@ -2034,8 +2099,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2034
2099
|
} | undefined;
|
|
2035
2100
|
}, {
|
|
2036
2101
|
outDir: string;
|
|
2037
|
-
palette?: string[] | undefined;
|
|
2038
2102
|
provider?: string | undefined;
|
|
2103
|
+
palette?: string[] | undefined;
|
|
2039
2104
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
2040
2105
|
size?: number | undefined;
|
|
2041
2106
|
view?: string | undefined;
|
|
@@ -2112,8 +2177,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2112
2177
|
} | undefined;
|
|
2113
2178
|
}, {
|
|
2114
2179
|
outDir: string;
|
|
2115
|
-
palette?: string[] | undefined;
|
|
2116
2180
|
provider?: string | undefined;
|
|
2181
|
+
palette?: string[] | undefined;
|
|
2117
2182
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
2118
2183
|
size?: number | undefined;
|
|
2119
2184
|
view?: string | undefined;
|
|
@@ -2190,8 +2255,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2190
2255
|
} | undefined;
|
|
2191
2256
|
}, {
|
|
2192
2257
|
outDir: string;
|
|
2193
|
-
palette?: string[] | undefined;
|
|
2194
2258
|
provider?: string | undefined;
|
|
2259
|
+
palette?: string[] | undefined;
|
|
2195
2260
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
2196
2261
|
size?: number | undefined;
|
|
2197
2262
|
view?: string | undefined;
|
|
@@ -2487,8 +2552,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2487
2552
|
}, {
|
|
2488
2553
|
styles: Record<string, {
|
|
2489
2554
|
outDir: string;
|
|
2490
|
-
palette?: string[] | undefined;
|
|
2491
2555
|
provider?: string | undefined;
|
|
2556
|
+
palette?: string[] | undefined;
|
|
2492
2557
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
2493
2558
|
size?: number | undefined;
|
|
2494
2559
|
view?: string | undefined;
|
|
@@ -2776,8 +2841,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
2776
2841
|
} | undefined;
|
|
2777
2842
|
}, {
|
|
2778
2843
|
outDir: string;
|
|
2779
|
-
palette?: string[] | undefined;
|
|
2780
2844
|
provider?: string | undefined;
|
|
2845
|
+
palette?: string[] | undefined;
|
|
2781
2846
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
2782
2847
|
size?: number | undefined;
|
|
2783
2848
|
view?: string | undefined;
|
|
@@ -2854,8 +2919,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
2854
2919
|
} | undefined;
|
|
2855
2920
|
}, {
|
|
2856
2921
|
outDir: string;
|
|
2857
|
-
palette?: string[] | undefined;
|
|
2858
2922
|
provider?: string | undefined;
|
|
2923
|
+
palette?: string[] | undefined;
|
|
2859
2924
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
2860
2925
|
size?: number | undefined;
|
|
2861
2926
|
view?: string | undefined;
|
|
@@ -2932,8 +2997,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
2932
2997
|
} | undefined;
|
|
2933
2998
|
}, {
|
|
2934
2999
|
outDir: string;
|
|
2935
|
-
palette?: string[] | undefined;
|
|
2936
3000
|
provider?: string | undefined;
|
|
3001
|
+
palette?: string[] | undefined;
|
|
2937
3002
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
2938
3003
|
size?: number | undefined;
|
|
2939
3004
|
view?: string | undefined;
|
|
@@ -3051,8 +3116,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3051
3116
|
}, "strict", z.ZodTypeAny, {
|
|
3052
3117
|
outDir: string;
|
|
3053
3118
|
extends: string;
|
|
3054
|
-
palette?: string[] | undefined;
|
|
3055
3119
|
provider?: string | undefined;
|
|
3120
|
+
palette?: string[] | undefined;
|
|
3056
3121
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
3057
3122
|
size?: number | undefined;
|
|
3058
3123
|
view?: string | undefined;
|
|
@@ -3091,8 +3156,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3091
3156
|
}, {
|
|
3092
3157
|
outDir: string;
|
|
3093
3158
|
extends: string;
|
|
3094
|
-
palette?: string[] | undefined;
|
|
3095
3159
|
provider?: string | undefined;
|
|
3160
|
+
palette?: string[] | undefined;
|
|
3096
3161
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
3097
3162
|
size?: number | undefined;
|
|
3098
3163
|
view?: string | undefined;
|
|
@@ -3362,8 +3427,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3362
3427
|
} | {
|
|
3363
3428
|
outDir: string;
|
|
3364
3429
|
extends: string;
|
|
3365
|
-
palette?: string[] | undefined;
|
|
3366
3430
|
provider?: string | undefined;
|
|
3431
|
+
palette?: string[] | undefined;
|
|
3367
3432
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
3368
3433
|
size?: number | undefined;
|
|
3369
3434
|
view?: string | undefined;
|
|
@@ -3428,8 +3493,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3428
3493
|
}, {
|
|
3429
3494
|
styles: Record<string, {
|
|
3430
3495
|
outDir: string;
|
|
3431
|
-
palette?: string[] | undefined;
|
|
3432
3496
|
provider?: string | undefined;
|
|
3497
|
+
palette?: string[] | undefined;
|
|
3433
3498
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
3434
3499
|
size?: number | undefined;
|
|
3435
3500
|
view?: string | undefined;
|
|
@@ -3468,8 +3533,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3468
3533
|
} | {
|
|
3469
3534
|
outDir: string;
|
|
3470
3535
|
extends: string;
|
|
3471
|
-
palette?: string[] | undefined;
|
|
3472
3536
|
provider?: string | undefined;
|
|
3537
|
+
palette?: string[] | undefined;
|
|
3473
3538
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
3474
3539
|
size?: number | undefined;
|
|
3475
3540
|
view?: string | undefined;
|
|
@@ -3877,8 +3942,8 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
3877
3942
|
}, "strip", z.ZodTypeAny, {
|
|
3878
3943
|
width: number;
|
|
3879
3944
|
height: number;
|
|
3880
|
-
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
3881
3945
|
provider: string;
|
|
3946
|
+
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
3882
3947
|
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames";
|
|
3883
3948
|
tileFeature: string | null;
|
|
3884
3949
|
prompt: string;
|
|
@@ -3959,8 +4024,8 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
3959
4024
|
specHash: string;
|
|
3960
4025
|
styleId: string;
|
|
3961
4026
|
assetId: string;
|
|
3962
|
-
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
3963
4027
|
provider?: string | undefined;
|
|
4028
|
+
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
3964
4029
|
tileFeature?: string | null | undefined;
|
|
3965
4030
|
revision?: {
|
|
3966
4031
|
mode: "image-to-image" | "inpaint" | "outpaint";
|
|
@@ -4258,8 +4323,8 @@ declare const LockSchema: z.ZodObject<{
|
|
|
4258
4323
|
}, "strip", z.ZodTypeAny, {
|
|
4259
4324
|
width: number;
|
|
4260
4325
|
height: number;
|
|
4261
|
-
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
4262
4326
|
provider: string;
|
|
4327
|
+
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
4263
4328
|
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames";
|
|
4264
4329
|
tileFeature: string | null;
|
|
4265
4330
|
prompt: string;
|
|
@@ -4340,8 +4405,8 @@ declare const LockSchema: z.ZodObject<{
|
|
|
4340
4405
|
specHash: string;
|
|
4341
4406
|
styleId: string;
|
|
4342
4407
|
assetId: string;
|
|
4343
|
-
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
4344
4408
|
provider?: string | undefined;
|
|
4409
|
+
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
4345
4410
|
tileFeature?: string | null | undefined;
|
|
4346
4411
|
revision?: {
|
|
4347
4412
|
mode: "image-to-image" | "inpaint" | "outpaint";
|
|
@@ -4414,8 +4479,8 @@ declare const LockSchema: z.ZodObject<{
|
|
|
4414
4479
|
entries: Record<string, {
|
|
4415
4480
|
width: number;
|
|
4416
4481
|
height: number;
|
|
4417
|
-
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
4418
4482
|
provider: string;
|
|
4483
|
+
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
4419
4484
|
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames";
|
|
4420
4485
|
tileFeature: string | null;
|
|
4421
4486
|
prompt: string;
|
|
@@ -4499,8 +4564,8 @@ declare const LockSchema: z.ZodObject<{
|
|
|
4499
4564
|
specHash: string;
|
|
4500
4565
|
styleId: string;
|
|
4501
4566
|
assetId: string;
|
|
4502
|
-
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
4503
4567
|
provider?: string | undefined;
|
|
4568
|
+
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
4504
4569
|
tileFeature?: string | null | undefined;
|
|
4505
4570
|
revision?: {
|
|
4506
4571
|
mode: "image-to-image" | "inpaint" | "outpaint";
|
|
@@ -4740,8 +4805,7 @@ interface MapObject {
|
|
|
4740
4805
|
height: number | null;
|
|
4741
4806
|
download_url: string | null;
|
|
4742
4807
|
}
|
|
4743
|
-
declare class PixelLabError extends
|
|
4744
|
-
readonly status: number;
|
|
4808
|
+
declare class PixelLabError extends ProviderError {
|
|
4745
4809
|
readonly body: string;
|
|
4746
4810
|
constructor(message: string, status: number, body: string);
|
|
4747
4811
|
}
|
|
@@ -5789,8 +5853,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5789
5853
|
} | undefined;
|
|
5790
5854
|
}, {
|
|
5791
5855
|
outDir: string;
|
|
5792
|
-
palette?: string[] | undefined;
|
|
5793
5856
|
provider?: string | undefined;
|
|
5857
|
+
palette?: string[] | undefined;
|
|
5794
5858
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
5795
5859
|
size?: number | undefined;
|
|
5796
5860
|
view?: string | undefined;
|
|
@@ -5867,8 +5931,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5867
5931
|
} | undefined;
|
|
5868
5932
|
}, {
|
|
5869
5933
|
outDir: string;
|
|
5870
|
-
palette?: string[] | undefined;
|
|
5871
5934
|
provider?: string | undefined;
|
|
5935
|
+
palette?: string[] | undefined;
|
|
5872
5936
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
5873
5937
|
size?: number | undefined;
|
|
5874
5938
|
view?: string | undefined;
|
|
@@ -5945,8 +6009,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5945
6009
|
} | undefined;
|
|
5946
6010
|
}, {
|
|
5947
6011
|
outDir: string;
|
|
5948
|
-
palette?: string[] | undefined;
|
|
5949
6012
|
provider?: string | undefined;
|
|
6013
|
+
palette?: string[] | undefined;
|
|
5950
6014
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
5951
6015
|
size?: number | undefined;
|
|
5952
6016
|
view?: string | undefined;
|
|
@@ -6445,8 +6509,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6445
6509
|
summary: string;
|
|
6446
6510
|
style: {
|
|
6447
6511
|
outDir: string;
|
|
6448
|
-
palette?: string[] | undefined;
|
|
6449
6512
|
provider?: string | undefined;
|
|
6513
|
+
palette?: string[] | undefined;
|
|
6450
6514
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
6451
6515
|
size?: number | undefined;
|
|
6452
6516
|
view?: string | undefined;
|
|
@@ -6687,8 +6751,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6687
6751
|
summary: string;
|
|
6688
6752
|
style: {
|
|
6689
6753
|
outDir: string;
|
|
6690
|
-
palette?: string[] | undefined;
|
|
6691
6754
|
provider?: string | undefined;
|
|
6755
|
+
palette?: string[] | undefined;
|
|
6692
6756
|
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | undefined;
|
|
6693
6757
|
size?: number | undefined;
|
|
6694
6758
|
view?: string | undefined;
|
|
@@ -8648,6 +8712,7 @@ declare const CompanionV2Schema: z.ZodObject<{
|
|
|
8648
8712
|
basedOn: string | null;
|
|
8649
8713
|
}>, "many">;
|
|
8650
8714
|
}, "strict", z.ZodTypeAny, {
|
|
8715
|
+
project: string | null;
|
|
8651
8716
|
outputs: {
|
|
8652
8717
|
sha256: string;
|
|
8653
8718
|
role: string | null;
|
|
@@ -8655,10 +8720,10 @@ declare const CompanionV2Schema: z.ZodObject<{
|
|
|
8655
8720
|
}[];
|
|
8656
8721
|
version: 2;
|
|
8657
8722
|
protocol: number;
|
|
8658
|
-
project: string | null;
|
|
8659
8723
|
editor: string;
|
|
8660
8724
|
savedAt: string;
|
|
8661
8725
|
}, {
|
|
8726
|
+
project: string | null;
|
|
8662
8727
|
outputs: {
|
|
8663
8728
|
sha256: string;
|
|
8664
8729
|
role: string | null;
|
|
@@ -8666,7 +8731,6 @@ declare const CompanionV2Schema: z.ZodObject<{
|
|
|
8666
8731
|
}[];
|
|
8667
8732
|
version: 2;
|
|
8668
8733
|
protocol: number;
|
|
8669
|
-
project: string | null;
|
|
8670
8734
|
editor: string;
|
|
8671
8735
|
savedAt: string;
|
|
8672
8736
|
}>;
|
|
@@ -8696,6 +8760,7 @@ declare const HandEditCompanionSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
|
8696
8760
|
basedOn: string | null;
|
|
8697
8761
|
}>, "many">;
|
|
8698
8762
|
}, "strict", z.ZodTypeAny, {
|
|
8763
|
+
project: string | null;
|
|
8699
8764
|
outputs: {
|
|
8700
8765
|
sha256: string;
|
|
8701
8766
|
role: string | null;
|
|
@@ -8703,10 +8768,10 @@ declare const HandEditCompanionSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
|
8703
8768
|
}[];
|
|
8704
8769
|
version: 2;
|
|
8705
8770
|
protocol: number;
|
|
8706
|
-
project: string | null;
|
|
8707
8771
|
editor: string;
|
|
8708
8772
|
savedAt: string;
|
|
8709
8773
|
}, {
|
|
8774
|
+
project: string | null;
|
|
8710
8775
|
outputs: {
|
|
8711
8776
|
sha256: string;
|
|
8712
8777
|
role: string | null;
|
|
@@ -8714,7 +8779,6 @@ declare const HandEditCompanionSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
|
8714
8779
|
}[];
|
|
8715
8780
|
version: 2;
|
|
8716
8781
|
protocol: number;
|
|
8717
|
-
project: string | null;
|
|
8718
8782
|
editor: string;
|
|
8719
8783
|
savedAt: string;
|
|
8720
8784
|
}>, z.ZodObject<{
|
|
@@ -8726,22 +8790,23 @@ declare const HandEditCompanionSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
|
8726
8790
|
savedAt: z.ZodString;
|
|
8727
8791
|
project: z.ZodNullable<z.ZodString>;
|
|
8728
8792
|
}, "strict", z.ZodTypeAny, {
|
|
8793
|
+
project: string | null;
|
|
8729
8794
|
sha256: string;
|
|
8730
8795
|
version: 1;
|
|
8731
8796
|
protocol: number;
|
|
8732
|
-
project: string | null;
|
|
8733
8797
|
basedOn: string | null;
|
|
8734
8798
|
editor: string;
|
|
8735
8799
|
savedAt: string;
|
|
8736
8800
|
}, {
|
|
8801
|
+
project: string | null;
|
|
8737
8802
|
sha256: string;
|
|
8738
8803
|
version: 1;
|
|
8739
8804
|
protocol: number;
|
|
8740
|
-
project: string | null;
|
|
8741
8805
|
basedOn: string | null;
|
|
8742
8806
|
editor: string;
|
|
8743
8807
|
savedAt: string;
|
|
8744
8808
|
}>]>, {
|
|
8809
|
+
project: string | null;
|
|
8745
8810
|
outputs: {
|
|
8746
8811
|
sha256: string;
|
|
8747
8812
|
role: string | null;
|
|
@@ -8749,10 +8814,10 @@ declare const HandEditCompanionSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
|
8749
8814
|
}[];
|
|
8750
8815
|
version: 2;
|
|
8751
8816
|
protocol: number;
|
|
8752
|
-
project: string | null;
|
|
8753
8817
|
editor: string;
|
|
8754
8818
|
savedAt: string;
|
|
8755
8819
|
}, {
|
|
8820
|
+
project: string | null;
|
|
8756
8821
|
outputs: {
|
|
8757
8822
|
sha256: string;
|
|
8758
8823
|
role: string | null;
|
|
@@ -8760,14 +8825,13 @@ declare const HandEditCompanionSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
|
8760
8825
|
}[];
|
|
8761
8826
|
version: 2;
|
|
8762
8827
|
protocol: number;
|
|
8763
|
-
project: string | null;
|
|
8764
8828
|
editor: string;
|
|
8765
8829
|
savedAt: string;
|
|
8766
8830
|
} | {
|
|
8831
|
+
project: string | null;
|
|
8767
8832
|
sha256: string;
|
|
8768
8833
|
version: 1;
|
|
8769
8834
|
protocol: number;
|
|
8770
|
-
project: string | null;
|
|
8771
8835
|
basedOn: string | null;
|
|
8772
8836
|
editor: string;
|
|
8773
8837
|
savedAt: string;
|
|
@@ -9125,49 +9189,49 @@ declare const GenerateRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
9125
9189
|
revert: z.ZodOptional<z.ZodString>;
|
|
9126
9190
|
}, "strict", z.ZodTypeAny, {
|
|
9127
9191
|
keys: string[];
|
|
9192
|
+
project?: string | undefined;
|
|
9128
9193
|
resume?: boolean | undefined;
|
|
9129
9194
|
force?: boolean | undefined;
|
|
9130
|
-
project?: string | undefined;
|
|
9131
9195
|
refresh?: boolean | undefined;
|
|
9132
9196
|
restore?: boolean | undefined;
|
|
9133
9197
|
revert?: string | undefined;
|
|
9134
9198
|
}, {
|
|
9135
9199
|
keys: string[];
|
|
9200
|
+
project?: string | undefined;
|
|
9136
9201
|
resume?: boolean | undefined;
|
|
9137
9202
|
force?: boolean | undefined;
|
|
9138
|
-
project?: string | undefined;
|
|
9139
9203
|
refresh?: boolean | undefined;
|
|
9140
9204
|
restore?: boolean | undefined;
|
|
9141
9205
|
revert?: string | undefined;
|
|
9142
9206
|
}>, {
|
|
9143
9207
|
keys: string[];
|
|
9208
|
+
project?: string | undefined;
|
|
9144
9209
|
resume?: boolean | undefined;
|
|
9145
9210
|
force?: boolean | undefined;
|
|
9146
|
-
project?: string | undefined;
|
|
9147
9211
|
refresh?: boolean | undefined;
|
|
9148
9212
|
restore?: boolean | undefined;
|
|
9149
9213
|
revert?: string | undefined;
|
|
9150
9214
|
}, {
|
|
9151
9215
|
keys: string[];
|
|
9216
|
+
project?: string | undefined;
|
|
9152
9217
|
resume?: boolean | undefined;
|
|
9153
9218
|
force?: boolean | undefined;
|
|
9154
|
-
project?: string | undefined;
|
|
9155
9219
|
refresh?: boolean | undefined;
|
|
9156
9220
|
restore?: boolean | undefined;
|
|
9157
9221
|
revert?: string | undefined;
|
|
9158
9222
|
}>, {
|
|
9159
9223
|
keys: string[];
|
|
9224
|
+
project?: string | undefined;
|
|
9160
9225
|
resume?: boolean | undefined;
|
|
9161
9226
|
force?: boolean | undefined;
|
|
9162
|
-
project?: string | undefined;
|
|
9163
9227
|
refresh?: boolean | undefined;
|
|
9164
9228
|
restore?: boolean | undefined;
|
|
9165
9229
|
revert?: string | undefined;
|
|
9166
9230
|
}, {
|
|
9167
9231
|
keys: string[];
|
|
9232
|
+
project?: string | undefined;
|
|
9168
9233
|
resume?: boolean | undefined;
|
|
9169
9234
|
force?: boolean | undefined;
|
|
9170
|
-
project?: string | undefined;
|
|
9171
9235
|
refresh?: boolean | undefined;
|
|
9172
9236
|
restore?: boolean | undefined;
|
|
9173
9237
|
revert?: string | undefined;
|
|
@@ -9777,4 +9841,4 @@ interface WorkspaceStatusReport {
|
|
|
9777
9841
|
*/
|
|
9778
9842
|
declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
|
|
9779
9843
|
|
|
9780
|
-
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, AssetSchema, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, 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, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, FAKE_PNG, type FakeOptions, FakeProvider, type FetchResult, 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 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, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type PrepareReviewOptions, type Project, type Provider, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, 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 RemoteAsset, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedRevision, type ResolvedSpec, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type TilesetExport, type TilesetExportOptions, type TilesetFormat, UnsupportedCapabilityError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, evaluateAudit, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, formatCost, galleryMediaId, galleryMediaRoute, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parseLock, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderGallery, renderSalvageSheet, renderSheet, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|
|
9844
|
+
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, AssetSchema, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, 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, type FakeOptions, FakeProvider, type FetchResult, 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 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, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type PrepareReviewOptions, 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 QualityCheck, 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 RemoteAsset, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedRevision, type ResolvedSpec, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type TilesetExport, type TilesetExportOptions, type TilesetFormat, UnsupportedCapabilityError, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, formatCost, galleryMediaId, galleryMediaRoute, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parseLock, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderGallery, renderSalvageSheet, renderSheet, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|