build(release): enforce neutral runtime layout

Keep release files at the archive root and reject product-named directory components before CI packages artifacts.

Use neutral directories for media staging, WebUI uploads, stream storage, and MCP downloads so packaged and runtime layouts remain consistent.
This commit is contained in:
DrSmoothl committed 2026-08-06 23:08:19 +08:00
1 parent c0e73cd738
commit f1ae0736c6
11 files changed
+53 -8

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ import { traceWebuiMutationRequestChunk } from './mutation-trace';
/** Temp dir for browser→server uploads. Siblings the Stream API's temp root but
* kept distinct so the two cleanup stories don't entangle. */
export const DEBUG_UPLOAD_DIR = path.join(os.tmpdir(), 'snowluma-debug-upload');
export const DEBUG_UPLOAD_DIR = path.join(os.tmpdir(), 'webui-upload');
/** Hard ceiling on a single upload. Mirrors the Stream API's upload cap. */
export const MAX_UPLOAD_BYTES = 4 * 1024 * 1024 * 1024; // 4 GiB