@shop-os/modelkit 0.24.1 → 0.25.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/CHANGELOG.md CHANGED
@@ -9,6 +9,18 @@ header in the release PR.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [0.25.0] - Unreleased
13
+
14
+ ### Added
15
+ - `8K` image size tier (ENG-4137): `ImageSize`, the row schema, the SDK-style `size` option and
16
+ the resolver's size order. Kling Image 4.0 maps `8K` to fal's `8K` resolution. No bundled row
17
+ lists 8K yet: a consumer on an older kit drops a row that does, so `kling-image-4.0` gains 8K
18
+ in a later release, once every consumer runs this one.
19
+
20
+ ### Fixed
21
+ - Coercing a size above every tier a row offers now picks the largest tier below it. Before,
22
+ a size missing from the order (8K) coerced to the row's smallest tier.
23
+
12
24
  ## [0.24.1] - Unreleased
13
25
 
14
26
  ### Added
package/dist/catalog.cjs CHANGED
@@ -8295,7 +8295,7 @@ var AspectRatioSchema = import_zod3.z.enum([
8295
8295
  "8:1",
8296
8296
  "adaptive"
8297
8297
  ]);
8298
- var ImageSizeSchema = import_zod3.z.enum(["512", "1K", "2K", "4K"]);
8298
+ var ImageSizeSchema = import_zod3.z.enum(["512", "1K", "2K", "4K", "8K"]);
8299
8299
  var VideoResolutionSchema = import_zod3.z.enum(["360p", "480p", "720p", "768p", "1080p", "2k", "4k"]);
8300
8300
  var ImageQualitySchema = import_zod3.z.enum(["auto", "low", "medium", "high", "xhigh", "max"]);
8301
8301
  var OutputFormatSchema = import_zod3.z.enum(["png", "jpeg", "webp", "gif", "svg"]);
@@ -10055,7 +10055,7 @@ function applyFalVideoRules(model, req, callerRatio, warnings) {
10055
10055
  }
10056
10056
 
10057
10057
  // src/resolve-options.ts
10058
- var SIZE_ORDER = ["512", "1K", "2K", "4K"];
10058
+ var SIZE_ORDER = ["512", "1K", "2K", "4K", "8K"];
10059
10059
  var RESOLUTION_ORDER = ["360p", "480p", "720p", "768p", "1080p", "2k", "4k"];
10060
10060
  function ratioValue(r) {
10061
10061
  if (r === "adaptive") return 1;