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

@@ -38,13 +38,15 @@ describe('bundled coding plugin manifests', () => {
'data-service',
'game-resource',
'project-scaffold',
'game-audio',
]);
expect(resolveBundledCodingPluginRootPaths(path.resolve('resources/coding-plugins'))).toEqual([
PACKAGE_ROOT,
GAME_RESOURCE_ROOT,
PROJECT_SCAFFOLD_ROOT,
path.resolve('resources/coding-plugins/game-audio'),
]);
expect(definitions).toHaveLength(3);
expect(definitions).toHaveLength(4);
expect(definitions[0]).toMatchObject({
id: 'makelore.data-service',
adapterId: 'data-service',
@@ -53,7 +55,7 @@ describe('bundled coding plugin manifests', () => {
});
expect(definitions[0]?.tools.map(({ name }) => name)).toEqual(DATA_SERVICE_TOOL_NAMES);
expect(definitions[0]).toEqual(DATA_SERVICE_PLUGIN_DEFINITION);
expect(definitions.slice(1)).toMatchObject([
expect(definitions.slice(1, 3)).toMatchObject([
{
id: 'makelore.game-resource', version: '1.0.0', runtimeKind: 'platform_hosted',
acquisitionMode: 'user_acquired', releaseId: '00000000-0000-4000-8000-000000000105',
@@ -160,6 +162,7 @@ describe('bundled coding plugin manifests', () => {
path.resolve('tmp/data-service'),
path.resolve('tmp/game-resource'),
path.resolve('tmp/project-scaffold'),
path.resolve('tmp/game-audio'),
]);
});