From da24dd5bee783bfddc182a6e75f1e2f067dfac10 Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Mon, 5 Oct 2026 16:12:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B8=B8=E6=88=8F=E5=85=B1=E5=88=9B):=20?= =?UTF-8?q?=E5=8F=96=E4=BB=B6=E6=88=90=E5=8A=9F=E6=8F=90=E7=A4=BA=E6=8C=89?= =?UTF-8?q?=E4=B8=A4=E7=A7=8D=E5=8F=96=E4=BB=B6=E5=BD=A2=E6=80=81=E5=A6=82?= =?UTF-8?q?=E5=AE=9E=E6=8E=AA=E8=BE=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit M2b 之后取件有两种形态:工程源包解压即可编辑工程(没有 reference/ 参考副本),成品包才放在 reference// 作可玩参考。原来的成功提示写死「参考产物在 reference// 下」, 对工程源包形态是错的。改为两种情形都说明,并同步测试断言(仍保留「改编自 X」这条来源事实)。 --- .../src/view/home/PlatformGameForkSection.tsx | 5 +++-- apps/ai-game-creator-shell/tests/platformGameFork.test.tsx | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/ai-game-creator-shell/src/view/home/PlatformGameForkSection.tsx b/apps/ai-game-creator-shell/src/view/home/PlatformGameForkSection.tsx index aad318466..da6112101 100644 --- a/apps/ai-game-creator-shell/src/view/home/PlatformGameForkSection.tsx +++ b/apps/ai-game-creator-shell/src/view/home/PlatformGameForkSection.tsx @@ -170,8 +170,9 @@ export default function PlatformGameForkSection({ role="status" > 已创建项目《{success.projectName}》,改编自平台作品 {success.gameId} - (来源已记录在项目的 .agent/fork-source.json)。参考产物在 reference/ - {success.gameId}/ 下,请在新工程里改造后发布。 + (来源已记录在项目的 .agent/fork-source.json)。平台下发工程源包时新的项目 + 就是可编辑工程,直接改造即可;只下发已构建成品时,成品放在 reference/ + {success.gameId}/ 作可玩参考,请在新工程里改造后发布。

) : null} diff --git a/apps/ai-game-creator-shell/tests/platformGameFork.test.tsx b/apps/ai-game-creator-shell/tests/platformGameFork.test.tsx index a2149131c..a2f646f0d 100644 --- a/apps/ai-game-creator-shell/tests/platformGameFork.test.tsx +++ b/apps/ai-game-creator-shell/tests/platformGameFork.test.tsx @@ -260,7 +260,8 @@ describe('PlatformGameForkSection', () => { .join('\n'); expect(statusText).toContain('改编自平台作品 game_parent_1'); expect(statusText).toContain('reference/game_parent_1/'); - // 产品口径:只到「可玩参考 + 素材」,不是可编辑工程。 - expect(statusText).toContain('请在新工程里改造后发布'); + // 两种取件形态都要说清:工程源包直接就是可编辑工程,成品包只作可玩参考。 + expect(statusText).toContain('可编辑工程'); + expect(statusText).toContain('可玩参考'); }); });