@nodaro/shared 1.19.0 → 1.20.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodaro/shared",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "Shared types, model catalog, wire contracts, and structural vocabularies for the Nodaro platform and SDK.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -1812,14 +1812,14 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
1812
1812
  family: "Nodaro",
1813
1813
  label: "Video Analysis (Fast — legacy)",
1814
1814
  series: "Video Analysis",
1815
- description: "Legacy fast-tier analysis model (pre-2026-07). Kept so stored raw-model configs keep running and pricing unchanged; new fast-tier runs use the current fast model.",
1815
+ description: "Legacy fast-tier analysis model (pre-2026-07). Kept so stored raw-model configs keep running and keep pricing under their own identifier; new fast-tier runs use the current fast model.",
1816
1816
  useCases: ["video-analysis", "shot-list", "fast"],
1817
1817
  pricing: [
1818
- { identifier: "video-analysis:gemini-3-flash", credits: 3, note: "10-min ceiling (no duration given)" },
1819
- { identifier: "video-analysis:gemini-3-flash:60s", credits: 1 },
1820
- { identifier: "video-analysis:gemini-3-flash:180s", credits: 1 },
1821
- { identifier: "video-analysis:gemini-3-flash:360s", credits: 2 },
1822
- { identifier: "video-analysis:gemini-3-flash:600s", credits: 3, note: "10-min ceiling" },
1818
+ { identifier: "video-analysis:gemini-3-flash", credits: 9, note: "10-min ceiling (no duration given)" },
1819
+ { identifier: "video-analysis:gemini-3-flash:60s", credits: 2 },
1820
+ { identifier: "video-analysis:gemini-3-flash:180s", credits: 3 },
1821
+ { identifier: "video-analysis:gemini-3-flash:360s", credits: 6 },
1822
+ { identifier: "video-analysis:gemini-3-flash:600s", credits: 9, note: "10-min ceiling" },
1823
1823
  ],
1824
1824
  },
1825
1825
  "gemini-3.6-flash-video-analysis": {
@@ -1832,11 +1832,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
1832
1832
  description: "Analyze a video into a structured shot list (scenes, camera, audio) — fast, economy tier. Billed per duration bucket.",
1833
1833
  useCases: ["video-analysis", "shot-list", "fast"],
1834
1834
  pricing: [
1835
- { identifier: "video-analysis:gemini-3.6-flash", credits: 9, note: "10-min ceiling (no duration given)" },
1836
- { identifier: "video-analysis:gemini-3.6-flash:60s", credits: 2 },
1837
- { identifier: "video-analysis:gemini-3.6-flash:180s", credits: 2 },
1838
- { identifier: "video-analysis:gemini-3.6-flash:360s", credits: 5 },
1839
- { identifier: "video-analysis:gemini-3.6-flash:600s", credits: 9, note: "10-min ceiling" },
1835
+ { identifier: "video-analysis:gemini-3.6-flash", credits: 25, note: "10-min ceiling (no duration given)" },
1836
+ { identifier: "video-analysis:gemini-3.6-flash:60s", credits: 5 },
1837
+ { identifier: "video-analysis:gemini-3.6-flash:180s", credits: 6 },
1838
+ { identifier: "video-analysis:gemini-3.6-flash:360s", credits: 15 },
1839
+ { identifier: "video-analysis:gemini-3.6-flash:600s", credits: 25, note: "10-min ceiling" },
1840
1840
  ],
1841
1841
  },
1842
1842
  "gemini-3.1-pro-video-analysis": {
@@ -1849,11 +1849,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
1849
1849
  description: "Analyze a video into a structured shot list (scenes, camera, audio) — higher-fidelity, default tier. Billed per duration bucket.",
1850
1850
  useCases: ["video-analysis", "shot-list", "cinematic"],
1851
1851
  pricing: [
1852
- { identifier: "video-analysis:gemini-3.1-pro", credits: 11, note: "10-min ceiling (no duration given)" },
1853
- { identifier: "video-analysis:gemini-3.1-pro:60s", credits: 2 },
1854
- { identifier: "video-analysis:gemini-3.1-pro:180s", credits: 3 },
1855
- { identifier: "video-analysis:gemini-3.1-pro:360s", credits: 7 },
1856
- { identifier: "video-analysis:gemini-3.1-pro:600s", credits: 11, note: "10-min ceiling" },
1852
+ { identifier: "video-analysis:gemini-3.1-pro", credits: 33, note: "10-min ceiling (no duration given)" },
1853
+ { identifier: "video-analysis:gemini-3.1-pro:60s", credits: 6 },
1854
+ { identifier: "video-analysis:gemini-3.1-pro:180s", credits: 8 },
1855
+ { identifier: "video-analysis:gemini-3.1-pro:360s", credits: 20 },
1856
+ { identifier: "video-analysis:gemini-3.1-pro:600s", credits: 33, note: "10-min ceiling" },
1857
1857
  ],
1858
1858
  },
1859
1859
  // Both mixed tiers are variants of the same advanced multi-engine analysis
@@ -1869,11 +1869,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
1869
1869
  description: "Our most advanced analysis tier — multiple analysis engines combined into one result for maximum completeness and accuracy. Billed per duration bucket.",
1870
1870
  useCases: ["video-analysis", "shot-list", "premium", "most-complete"],
1871
1871
  pricing: [
1872
- { identifier: "video-analysis:mixed", credits: 14, note: "10-min ceiling (no duration given)" },
1873
- { identifier: "video-analysis:mixed:60s", credits: 3 },
1874
- { identifier: "video-analysis:mixed:180s", credits: 4 },
1875
- { identifier: "video-analysis:mixed:360s", credits: 9 },
1876
- { identifier: "video-analysis:mixed:600s", credits: 14, note: "10-min ceiling" },
1872
+ { identifier: "video-analysis:mixed", credits: 57, note: "10-min ceiling (no duration given)" },
1873
+ { identifier: "video-analysis:mixed:60s", credits: 10 },
1874
+ { identifier: "video-analysis:mixed:180s", credits: 13 },
1875
+ { identifier: "video-analysis:mixed:360s", credits: 35 },
1876
+ { identifier: "video-analysis:mixed:600s", credits: 57, note: "10-min ceiling" },
1877
1877
  ],
1878
1878
  },
1879
1879
  }
@@ -47,27 +47,27 @@ export const VIDEO_ANALYSIS_WINDOW = { LEN: WINDOW_LEN, STRIDE: WINDOW_STRIDE, O
47
47
  */
48
48
  export const VIDEO_ANALYSIS_BUCKET_CREDITS: Record<string, number> = {
49
49
  // Legacy fast-tier model (pre-2026-07) — kept for stored raw-id configs.
50
- "video-analysis:gemini-3-flash:60s": 1,
51
- "video-analysis:gemini-3-flash:180s": 1,
52
- "video-analysis:gemini-3-flash:360s": 2,
53
- "video-analysis:gemini-3-flash:600s": 3,
50
+ "video-analysis:gemini-3-flash:60s": 2,
51
+ "video-analysis:gemini-3-flash:180s": 3,
52
+ "video-analysis:gemini-3-flash:360s": 6,
53
+ "video-analysis:gemini-3-flash:600s": 9,
54
54
  // Current fast tier — regenerated from the private formula for its backing
55
55
  // model; higher than the legacy fast schedule but still ≤ pro per bucket.
56
- "video-analysis:gemini-3.6-flash:60s": 2,
57
- "video-analysis:gemini-3.6-flash:180s": 2,
58
- "video-analysis:gemini-3.6-flash:360s": 5,
59
- "video-analysis:gemini-3.6-flash:600s": 9,
60
- "video-analysis:gemini-3.1-pro:60s": 2,
61
- "video-analysis:gemini-3.1-pro:180s": 3,
62
- "video-analysis:gemini-3.1-pro:360s": 7,
63
- "video-analysis:gemini-3.1-pro:600s": 11,
56
+ "video-analysis:gemini-3.6-flash:60s": 5,
57
+ "video-analysis:gemini-3.6-flash:180s": 6,
58
+ "video-analysis:gemini-3.6-flash:360s": 15,
59
+ "video-analysis:gemini-3.6-flash:600s": 25,
60
+ "video-analysis:gemini-3.1-pro:60s": 6,
61
+ "video-analysis:gemini-3.1-pro:180s": 8,
62
+ "video-analysis:gemini-3.1-pro:360s": 20,
63
+ "video-analysis:gemini-3.1-pro:600s": 33,
64
64
  // Mixed tiers (`mixed` + `mixed-fast`) share ONE credit family — they are
65
65
  // variants of the same engine plan (plan internals live in the private
66
66
  // analysis plugin). Admin-tunable via model_pricing like every other row.
67
- "video-analysis:mixed:60s": 3,
68
- "video-analysis:mixed:180s": 4,
69
- "video-analysis:mixed:360s": 9,
70
- "video-analysis:mixed:600s": 14,
67
+ "video-analysis:mixed:60s": 10,
68
+ "video-analysis:mixed:180s": 13,
69
+ "video-analysis:mixed:360s": 35,
70
+ "video-analysis:mixed:600s": 57,
71
71
  }
72
72
 
73
73
  /**