@ossclip/core 0.1.1 → 0.1.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/package.json +1 -1
- package/src/scene-registry.ts +16 -2
package/package.json
CHANGED
package/src/scene-registry.ts
CHANGED
|
@@ -123,8 +123,22 @@ export const ChatMockProps = z.object({
|
|
|
123
123
|
});
|
|
124
124
|
|
|
125
125
|
export const ScreenshotFrameProps = z.object({
|
|
126
|
-
/**
|
|
127
|
-
|
|
126
|
+
/**
|
|
127
|
+
* File name inside the render public dir; omitted → styled placeholder
|
|
128
|
+
* frame. NEVER invent one (R22 §112): the producer reads the transcript
|
|
129
|
+
* and a take that mentions a file will tempt it into naming that file,
|
|
130
|
+
* which does not exist beside the video and used to kill the render.
|
|
131
|
+
* `produce` strips any `src` it cannot find, so a guess costs a warning
|
|
132
|
+
* rather than a failure — but the right output is no `src` at all.
|
|
133
|
+
*/
|
|
134
|
+
src: z
|
|
135
|
+
.string()
|
|
136
|
+
.optional()
|
|
137
|
+
.describe(
|
|
138
|
+
"OMIT THIS unless the user supplied an actual image file beside the video — " +
|
|
139
|
+
"never invent a filename from the transcript; without it the frame renders " +
|
|
140
|
+
"as a styled placeholder, which is the intended look",
|
|
141
|
+
),
|
|
128
142
|
label: z.string().max(32).optional(),
|
|
129
143
|
kenBurns: z.boolean().default(true),
|
|
130
144
|
});
|