Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

refactor(schema): drop autoTranscribe, which nothing has ever read

EtienneLescot4ea2ff3a58ac
diff --git a/src/lib/ai-edition/schema/index.ts b/src/lib/ai-edition/schema/index.ts
index d37f500b3..d86b8f62c 100644
--- a/src/lib/ai-edition/schema/index.ts
+++ b/src/lib/ai-edition/schema/index.ts
@@ -945,21 +945,6 @@ export const createProjectInputSchema = z.object({
title: z.string().trim().min(1).default("Untitled Project"),
});
-export const addAssetInputSchema = z.object({
- path: z.string().trim().min(1),
- label: z.string().trim().optional(),
- // "audio" imports an external voiceover / BGM / SFX file (issue #350); it has
- // no video stream and never becomes the project's primary asset. Defaults to
- // "video" so every existing caller keeps its current behaviour.
- kind: z.enum(["video", "audio"]).default("video"),
- autoTranscribe: z.boolean().default(true),
-});
-
-export const chatInputSchema = z.object({
- sessionId: z.string().trim().min(1).optional(),
- message: z.string().trim().min(1),
-});
-
// Every code whisper.cpp's multilingual model can resolve, plus "auto" for
// detection. Codes and order mirror whisper.cpp's own `g_lang` table
// (`src/whisper.cpp`, verified against the tag `nix/whisper-stt.nix` pins —