From 2ca674b5d834bed29419898f88f6b131bec679da Mon Sep 17 00:00:00 2001 From: kdletters Date: Tue, 4 Aug 2026 22:06:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=BF=90=E8=A1=8C=E6=80=81?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=9D=A5=E6=BA=90=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 无 source 提交保留原有 Supervisor 来源 移除测试夹具中的无关格式变化 --- apps/ai-game-creator-shell/tests/appSurface/harness.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/ai-game-creator-shell/tests/appSurface/harness.ts b/apps/ai-game-creator-shell/tests/appSurface/harness.ts index 71d427a97..4d88b4f80 100644 --- a/apps/ai-game-creator-shell/tests/appSurface/harness.ts +++ b/apps/ai-game-creator-shell/tests/appSurface/harness.ts @@ -471,7 +471,9 @@ function createProjectSupervisorRuntimeHarness({ currentProjectMessages.push({ schemaVersion: 'game-creator-conversation.v1', ...message, - ...(args?.messageId ? { messageId: String(args.messageId) } : {}), + ...(args?.messageId + ? { messageId: String(args.messageId) } + : {}), updatedAt: typeof message.updatedAt === 'number' ? message.updatedAt @@ -515,7 +517,7 @@ function createProjectSupervisorRuntimeHarness({ currentRuntime = runtimeState({ runId, runProfile: args?.runProfile, - source: args?.source, + source: args?.source ?? 'project-supervisor', status: 'running', phase: 'planning', currentTask: String(args?.task ?? ''),