@ossclip/core 0.1.0 → 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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossclip/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "ossclip's framework-free pipeline: schema, transcription, analysis, cutlist, captions, framing, and the LLM producer",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "files": [
17
17
  "README.md",
18
+ "assets",
18
19
  "src"
19
20
  ],
20
21
  "dependencies": {
@@ -123,8 +123,22 @@ export const ChatMockProps = z.object({
123
123
  });
124
124
 
125
125
  export const ScreenshotFrameProps = z.object({
126
- /** File name inside the render public dir; omitted → styled placeholder frame. */
127
- src: z.string().optional(),
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
  });