[feat] add Codex sidebar video and MCP Apps preview fallback

This commit is contained in:
dijunkun committed 2026-11-12 00:04:16 +08:00
1 parent b15a63cc9d
commit d8739c324d
10 files changed
+452 -144

No files matched your search

+2
View File
@@ -50,6 +50,8 @@ export const unlockPassword = z.string().min(1).max(256)
.refine((value) => Buffer.byteLength(value) <= 256 && !/[\0\r\n\t]/.test(value));
export const panel = z.enum(["auto", "apps", "browser", "terminal", "off"]);
export type Panel = z.infer<typeof panel>;
export const browserLaunch = z.enum(["auto", "system", "host"]);
export type BrowserLaunch = z.infer<typeof browserLaunch>;
export const videoOptions = z.strictObject({
decode_path: z.enum(["browser", "minirtc"]).default("browser"),
decoder: z.enum(["auto", "software"]).default("auto"),