@shop-os/modelkit 0.3.6 → 0.3.8
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 +13 -0
- package/dist/catalog.cjs +3 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.js +3 -1
- package/dist/catalog.js.map +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,19 @@ header in the release PR.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.3.8] - Unreleased
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- `bg-remove` takes the aliases `prodia-background-remover` and `prodia-remove-background`. These are the task ids trigger-workflows and vibe-triggers report on usage events for the same Prodia `inference.remove-background.v1` call; with no alias, pro-backend could not resolve them to the `bg-remove` flat price row and left the event's `credit_cost` NULL (ENG-3169).
|
|
16
|
+
|
|
17
|
+
### Live rows
|
|
18
|
+
The live `bg-remove` rows in dev, stg and prod already carry both aliases (edited through the admin catalog API on 2026-10-13). Once pro-backend runs 0.3.8, drop `prodia-background-remover` from `USAGE_ID_ALLOWLIST`, which fails closed when the kit knows the id.
|
|
19
|
+
|
|
20
|
+
## [0.3.7] - Unreleased
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- `flux-2-pro` with no reference image sent Prodia's `inference.flux-2.pro.img2img.v1` job, which rejects a request without an input image (400 `at least one input image is required`), so every text-only prompt failed. The adapter now sends `inference.flux-2.pro.txt2img.v1` when there are no references and keeps `img2img` when there is at least one.
|
|
24
|
+
|
|
12
25
|
## [0.3.6] - Unreleased
|
|
13
26
|
|
|
14
27
|
### Added
|
package/dist/catalog.cjs
CHANGED
|
@@ -863,7 +863,9 @@ var OTHER_MODELS = [
|
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
865
|
id: "bg-remove",
|
|
866
|
-
|
|
866
|
+
// Task ids the two emitters report on usage events (trigger-workflows,
|
|
867
|
+
// vibe-triggers); the usage price lookup resolves them to this row.
|
|
868
|
+
aliases: ["prodia-background-remover", "prodia-remove-background"],
|
|
867
869
|
label: "Background Remover",
|
|
868
870
|
type: "bg-remove",
|
|
869
871
|
adapter: "prodia",
|