@nodaro/shared 2.14.0 → 2.15.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/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/video-analysis.test.ts +11 -0
- package/src/video-analysis.ts +9 -0
package/dist/index.d.cts
CHANGED
|
@@ -9528,6 +9528,7 @@ declare const windowSceneSchema: z.ZodObject<{
|
|
|
9528
9528
|
morph: "morph";
|
|
9529
9529
|
jump: "jump";
|
|
9530
9530
|
}>>;
|
|
9531
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9531
9532
|
audio: z.ZodArray<z.ZodObject<{
|
|
9532
9533
|
mode: z.ZodEnum<{
|
|
9533
9534
|
music: "music";
|
|
@@ -9650,6 +9651,7 @@ declare const windowAnalysisSchema: z.ZodObject<{
|
|
|
9650
9651
|
morph: "morph";
|
|
9651
9652
|
jump: "jump";
|
|
9652
9653
|
}>>;
|
|
9654
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9653
9655
|
audio: z.ZodArray<z.ZodObject<{
|
|
9654
9656
|
mode: z.ZodEnum<{
|
|
9655
9657
|
music: "music";
|
|
@@ -9738,6 +9740,7 @@ declare const analyzedSceneSchema: z.ZodObject<{
|
|
|
9738
9740
|
morph: "morph";
|
|
9739
9741
|
jump: "jump";
|
|
9740
9742
|
}>>;
|
|
9743
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9741
9744
|
audio: z.ZodArray<z.ZodObject<{
|
|
9742
9745
|
mode: z.ZodEnum<{
|
|
9743
9746
|
music: "music";
|
|
@@ -9870,6 +9873,7 @@ declare const videoAnalysisResultSchema: z.ZodObject<{
|
|
|
9870
9873
|
morph: "morph";
|
|
9871
9874
|
jump: "jump";
|
|
9872
9875
|
}>>;
|
|
9876
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9873
9877
|
audio: z.ZodArray<z.ZodObject<{
|
|
9874
9878
|
mode: z.ZodEnum<{
|
|
9875
9879
|
music: "music";
|
package/dist/index.d.ts
CHANGED
|
@@ -9528,6 +9528,7 @@ declare const windowSceneSchema: z.ZodObject<{
|
|
|
9528
9528
|
morph: "morph";
|
|
9529
9529
|
jump: "jump";
|
|
9530
9530
|
}>>;
|
|
9531
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9531
9532
|
audio: z.ZodArray<z.ZodObject<{
|
|
9532
9533
|
mode: z.ZodEnum<{
|
|
9533
9534
|
music: "music";
|
|
@@ -9650,6 +9651,7 @@ declare const windowAnalysisSchema: z.ZodObject<{
|
|
|
9650
9651
|
morph: "morph";
|
|
9651
9652
|
jump: "jump";
|
|
9652
9653
|
}>>;
|
|
9654
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9653
9655
|
audio: z.ZodArray<z.ZodObject<{
|
|
9654
9656
|
mode: z.ZodEnum<{
|
|
9655
9657
|
music: "music";
|
|
@@ -9738,6 +9740,7 @@ declare const analyzedSceneSchema: z.ZodObject<{
|
|
|
9738
9740
|
morph: "morph";
|
|
9739
9741
|
jump: "jump";
|
|
9740
9742
|
}>>;
|
|
9743
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9741
9744
|
audio: z.ZodArray<z.ZodObject<{
|
|
9742
9745
|
mode: z.ZodEnum<{
|
|
9743
9746
|
music: "music";
|
|
@@ -9870,6 +9873,7 @@ declare const videoAnalysisResultSchema: z.ZodObject<{
|
|
|
9870
9873
|
morph: "morph";
|
|
9871
9874
|
jump: "jump";
|
|
9872
9875
|
}>>;
|
|
9876
|
+
transition: z.ZodOptional<z.ZodString>;
|
|
9873
9877
|
audio: z.ZodArray<z.ZodObject<{
|
|
9874
9878
|
mode: z.ZodEnum<{
|
|
9875
9879
|
music: "music";
|
package/dist/index.js
CHANGED
|
@@ -13215,6 +13215,15 @@ var windowSceneBase = z.object({
|
|
|
13215
13215
|
/** Effects on this shot's PICTURE. Absent ⇒ a clean image. */
|
|
13216
13216
|
effects: z.array(z.enum(VIDEO_ANALYSIS_VISUAL_EFFECTS)).optional(),
|
|
13217
13217
|
transitionOut: z.enum(VIDEO_ANALYSIS_TRANSITIONS).optional(),
|
|
13218
|
+
// Round 4 (2026-08-30, recast shot craft rev 1.5 Appendix F.8): the edit into
|
|
13219
|
+
// the next scene in the analyser's OWN WORDS — a few words of what it saw
|
|
13220
|
+
// ("fast blurred pan left", "fade to black", "zoom-blur warp into the tunnel")
|
|
13221
|
+
// — or absent when the take continues through the change or no edit is seen
|
|
13222
|
+
// (nothing asserted: the video model decides from story and refs). The closed
|
|
13223
|
+
// `transitionOut` vocabulary above is LEGACY from here on: kept so stored
|
|
13224
|
+
// blueprints still parse, never emitted again. Readers take
|
|
13225
|
+
// `transition ?? transitionOut`.
|
|
13226
|
+
transition: z.string().trim().min(1).max(120).optional(),
|
|
13218
13227
|
// Array of concurrent layers (music + speech + sfx together); [] = silence.
|
|
13219
13228
|
audio: z.array(audioLayerSchema),
|
|
13220
13229
|
/** slotId → variationId for slots wearing a NON-default look in this scene
|