From feb20ee6598a0f52f450c04b8bbfbb2369c4a50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 15 Sep 2026 18:25:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86DirectProject=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=A8=A1=E5=9D=97=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将历史记录类型依赖置于模块顶部 --- .../src/features/project-workspace/directThreadEvents.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts b/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts index fc7b8f5b4..0570f605f 100644 --- a/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts +++ b/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts @@ -1,3 +1,5 @@ +import type { LocalConversationMessageRecord } from '../../app/types'; + export type DirectThreadRawEvent = { seq: number; type: string; @@ -21,8 +23,6 @@ export type DirectThreadHistorySlice = { hasMore: boolean; }; -import type { LocalConversationMessageRecord } from '../../app/types'; - export function directThreadHistoryItemsToMessages( items: unknown[], ): LocalConversationMessageRecord[] {