@nodaro/shared 2.0.1 → 2.0.2

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/index.cjs CHANGED
@@ -1721,11 +1721,11 @@ var VIDEO_MODELS = {
1721
1721
  description: "Our most advanced analysis tier \u2014 multiple analysis engines combined into one result for maximum completeness and accuracy. Billed per duration bucket.",
1722
1722
  useCases: ["video-analysis", "shot-list", "premium", "most-complete"],
1723
1723
  pricing: [
1724
- { identifier: "video-analysis:mixed", credits: 630, note: "10-min ceiling (no duration given)" },
1725
- { identifier: "video-analysis:mixed:60s", credits: 110 },
1726
- { identifier: "video-analysis:mixed:180s", credits: 150 },
1727
- { identifier: "video-analysis:mixed:360s", credits: 380 },
1728
- { identifier: "video-analysis:mixed:600s", credits: 630, note: "10-min ceiling" }
1724
+ { identifier: "video-analysis:mixed", credits: 621, note: "10-min ceiling (no duration given)" },
1725
+ { identifier: "video-analysis:mixed:60s", credits: 104 },
1726
+ { identifier: "video-analysis:mixed:180s", credits: 142 },
1727
+ { identifier: "video-analysis:mixed:360s", credits: 372 },
1728
+ { identifier: "video-analysis:mixed:600s", credits: 621, note: "10-min ceiling" }
1729
1729
  ]
1730
1730
  },
1731
1731
  // SMART — the accuracy tier, and the only one that does not rely on voting.
@@ -1742,11 +1742,11 @@ var VIDEO_MODELS = {
1742
1742
  description: "Highest-accuracy analysis \u2014 a single deep pass that reads the footage frame by frame, finds its own shot boundaries, and identifies the cast by appearance. Best choice when the shot list will drive regeneration. Billed per duration bucket.",
1743
1743
  useCases: ["video-analysis", "shot-list", "premium", "most-accurate"],
1744
1744
  pricing: [
1745
- { identifier: "video-analysis:smart", credits: 3500, note: "10-min ceiling (no duration given)" },
1746
- { identifier: "video-analysis:smart:60s", credits: 460 },
1747
- { identifier: "video-analysis:smart:180s", credits: 980 },
1748
- { identifier: "video-analysis:smart:360s", credits: 2110 },
1749
- { identifier: "video-analysis:smart:600s", credits: 3500, note: "10-min ceiling" }
1745
+ { identifier: "video-analysis:smart", credits: 3496, note: "10-min ceiling (no duration given)" },
1746
+ { identifier: "video-analysis:smart:60s", credits: 454 },
1747
+ { identifier: "video-analysis:smart:180s", credits: 975 },
1748
+ { identifier: "video-analysis:smart:360s", credits: 2105 },
1749
+ { identifier: "video-analysis:smart:600s", credits: 3496, note: "10-min ceiling" }
1750
1750
  ]
1751
1751
  }
1752
1752
  };
@@ -12628,18 +12628,18 @@ var VIDEO_ANALYSIS_BUCKET_CREDITS = {
12628
12628
  // Mixed tiers (`mixed` + `mixed-fast`) share ONE credit family — they are
12629
12629
  // variants of the same engine plan (plan internals live in the private
12630
12630
  // analysis plugin). Admin-tunable via model_pricing like every other row.
12631
- "video-analysis:mixed:60s": 110,
12632
- "video-analysis:mixed:180s": 150,
12633
- "video-analysis:mixed:360s": 380,
12634
- "video-analysis:mixed:600s": 630,
12631
+ "video-analysis:mixed:60s": 104,
12632
+ "video-analysis:mixed:180s": 142,
12633
+ "video-analysis:mixed:360s": 372,
12634
+ "video-analysis:mixed:600s": 621,
12635
12635
  // SMART — the one native-transport plan: a single pass with reasoning and
12636
12636
  // frame sampling turned all the way up. Priced well above the economy tiers
12637
12637
  // because it genuinely costs more to run, and it is the only tier whose
12638
12638
  // accuracy was measured against a hand-counted edit list.
12639
- "video-analysis:smart:60s": 460,
12640
- "video-analysis:smart:180s": 980,
12641
- "video-analysis:smart:360s": 2110,
12642
- "video-analysis:smart:600s": 3500
12639
+ "video-analysis:smart:60s": 454,
12640
+ "video-analysis:smart:180s": 975,
12641
+ "video-analysis:smart:360s": 2105,
12642
+ "video-analysis:smart:600s": 3496
12643
12643
  };
12644
12644
  function videoAnalysisCreditSegment(modelOrSentinel) {
12645
12645
  return modelOrSentinel === "mixed-fast" ? "mixed" : modelOrSentinel;