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

@@ -103,6 +103,8 @@ export const DATA_SERVICE_PREVIEW_RUNTIME_SURFACE = 'data-service-v1' as const;
export const GAME_RESOURCE_PLUGIN_ID = 'makelore.game-resource' as const;
export const GAME_RESOURCE_BUNDLED_RELEASE_ID = '00000000-0000-4000-8000-000000000105' as const;
export const GAME_AUDIO_PLUGIN_ID = 'makelore.game-audio' as const;
export const GAME_AUDIO_BUNDLED_RELEASE_ID = '00000000-0000-4000-8000-000000000505' as const;
export const PROJECT_SCAFFOLD_PLUGIN_ID = 'makelore.project-scaffold' as const;
export const PROJECT_SCAFFOLD_BUNDLED_RELEASE_ID = '00000000-0000-4000-8000-000000000303' as const;
@@ -113,11 +115,17 @@ export const PROJECT_SCAFFOLD_BUNDLED_RELEASE_ID = '00000000-0000-4000-8000-0000
*/
export function isProjectWideCodingPluginId(pluginId: string): boolean {
return pluginId === DATA_SERVICE_PLUGIN_ID
|| pluginId === GAME_AUDIO_PLUGIN_ID
|| pluginId === GAME_RESOURCE_PLUGIN_ID
|| pluginId === PROJECT_SCAFFOLD_PLUGIN_ID;
}
export const CODE_OWNED_OPTIONAL_BUNDLED_RELEASES = Object.freeze({
[GAME_AUDIO_PLUGIN_ID]: Object.freeze({
releaseId: GAME_AUDIO_BUNDLED_RELEASE_ID,
version: '1.0.0',
channel: 'stable' as const,
}),
[GAME_RESOURCE_PLUGIN_ID]: Object.freeze({
releaseId: GAME_RESOURCE_BUNDLED_RELEASE_ID,
version: '1.0.0',