feat: add official game audio generation client

This commit is contained in:
2026-09-21 12:17:32 +08:00
parent d222d17500
commit 09e0ce5cf3
28 changed files with 1835 additions and 31 deletions

View File

@@ -145,7 +145,7 @@ async function resolveInsideProject(projectPath: string, candidatePath: string):
}
}
async function readMediaDataUrl(projectPath: string, candidatePath: string, maxBytes: number): Promise<string | null> {
export async function readMediaDataUrl(projectPath: string, candidatePath: string, maxBytes: number): Promise<string | null> {
const resolved = await resolveInsideProject(projectPath, candidatePath);
if (!resolved) return null;
const fileStat = await stat(resolved);