@ossclip/core 0.1.17 → 0.1.18

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/concat.ts +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossclip/core",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
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",
package/src/concat.ts CHANGED
@@ -20,7 +20,13 @@ import { run } from "./exec";
20
20
  * `listFolderVideos` and `concatFolder` are the only I/O.
21
21
  */
22
22
 
23
- const VIDEO_EXTENSIONS = ["mov", "mp4", "m4v", "mkv", "webm", "avi"] as const;
23
+ /**
24
+ * The extensions a folder input may contain. Exported (§136) because the
25
+ * CLI's native file picker builds its dialog filters from this list: a
26
+ * picker that offers a file `concat` will later refuse is a trap, and the
27
+ * two lists silently diverging is exactly how that ships.
28
+ */
29
+ export const VIDEO_EXTENSIONS = ["mov", "mp4", "m4v", "mkv", "webm", "avi"] as const;
24
30
  const VIDEO_EXTENSION_SET = new Set<string>(VIDEO_EXTENSIONS);
25
31
 
26
32
  function noVideoFilesError(folder: string): Error {