@shop-os/modelkit 0.3.7 → 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 CHANGED
@@ -9,6 +9,14 @@ 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
+
12
20
  ## [0.3.7] - Unreleased
13
21
 
14
22
  ### Fixed
package/dist/catalog.cjs CHANGED
@@ -863,7 +863,9 @@ var OTHER_MODELS = [
863
863
  },
864
864
  {
865
865
  id: "bg-remove",
866
- aliases: [],
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",