@nodaro/shared 1.24.0 → 1.24.1

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.24.0",
3
+ "version": "1.24.1",
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",
@@ -87,9 +87,9 @@ describe("bare video-analysis node-type credit id", () => {
87
87
  expect(credits, `${id} exceeds the bare-id ceiling ${ceiling}`).toBeLessThanOrEqual(ceiling)
88
88
  }
89
89
  // The migration writes this number; keep them in lockstep (277 wrote 200,
90
- // 279 wrote 739, 280 writes 346 — every tier now dispatches one identical
91
- // analyzer pass, so the whole schedule flattened and the ceiling fell with it).
92
- expect(ceiling).toBe(346)
90
+ // 279 wrote 739, 283 wrote 346, 284 writes 350 `smart` owns the ceiling and
91
+ // gained the continuity pass).
92
+ expect(ceiling).toBe(350)
93
93
  })
94
94
 
95
95
  it("the bare id still bounds the default tier at the ceiling bucket", () => {
@@ -1890,11 +1890,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
1890
1890
  description: "Highest-accuracy analysis — 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.",
1891
1891
  useCases: ["video-analysis", "shot-list", "premium", "most-accurate"],
1892
1892
  pricing: [
1893
- { identifier: "video-analysis:smart", credits: 346, note: "10-min ceiling (no duration given)" },
1894
- { identifier: "video-analysis:smart:60s", credits: 42 },
1895
- { identifier: "video-analysis:smart:180s", credits: 94 },
1896
- { identifier: "video-analysis:smart:360s", credits: 207 },
1897
- { identifier: "video-analysis:smart:600s", credits: 346, note: "10-min ceiling" },
1893
+ { identifier: "video-analysis:smart", credits: 350, note: "10-min ceiling (no duration given)" },
1894
+ { identifier: "video-analysis:smart:60s", credits: 46 },
1895
+ { identifier: "video-analysis:smart:180s", credits: 98 },
1896
+ { identifier: "video-analysis:smart:360s", credits: 211 },
1897
+ { identifier: "video-analysis:smart:600s", credits: 350, note: "10-min ceiling" },
1898
1898
  ],
1899
1899
  },
1900
1900
  }
@@ -75,10 +75,10 @@ export const VIDEO_ANALYSIS_BUCKET_CREDITS: Record<string, number> = {
75
75
  // frame sampling turned all the way up. Priced well above the economy tiers
76
76
  // because it genuinely costs more to run, and it is the only tier whose
77
77
  // accuracy was measured against a hand-counted edit list.
78
- "video-analysis:smart:60s": 42,
79
- "video-analysis:smart:180s": 94,
80
- "video-analysis:smart:360s": 207,
81
- "video-analysis:smart:600s": 346,
78
+ "video-analysis:smart:60s": 46,
79
+ "video-analysis:smart:180s": 98,
80
+ "video-analysis:smart:360s": 211,
81
+ "video-analysis:smart:600s": 350,
82
82
  }
83
83
 
84
84
  /**