diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx index caf994182..f319ee651 100644 --- a/apps/ai-game-creator-shell/src/App.tsx +++ b/apps/ai-game-creator-shell/src/App.tsx @@ -167,7 +167,6 @@ type AppProps = { initialProjectManifest?: GameCreationAppManifest; initialProjectKind?: LocalProjectKind; planningStartMode?: boolean; - activeVersionId?: ProjectChatComponentProps['activeVersionId']; initialPlanningPrompt?: string; initialPlanningPromptClaimScope?: string; initialCreationType?: HomeCreationType | null; diff --git a/apps/ai-game-creator-shell/src/features/app-shell/WorkspaceLauncher.tsx b/apps/ai-game-creator-shell/src/features/app-shell/WorkspaceLauncher.tsx index d9c3e4a62..e39abd128 100644 --- a/apps/ai-game-creator-shell/src/features/app-shell/WorkspaceLauncher.tsx +++ b/apps/ai-game-creator-shell/src/features/app-shell/WorkspaceLauncher.tsx @@ -856,7 +856,6 @@ export function WorkspaceLauncherShell({ initialPlanningPromptClaimScope={ switchedToGameRuntime ? 'approved-design-build' : '' } - activeVersionId={activeVersionId} planningStartMode={planningStartMode} playRequest={playRequest} onPlayRequestHandled={handlePlayRequestHandled} diff --git a/apps/ai-game-creator-shell/src/features/app-shell/model.ts b/apps/ai-game-creator-shell/src/features/app-shell/model.ts index ff0a5acda..90a0594f2 100644 --- a/apps/ai-game-creator-shell/src/features/app-shell/model.ts +++ b/apps/ai-game-creator-shell/src/features/app-shell/model.ts @@ -48,11 +48,6 @@ export type ProjectChatComponentProps = { importing: boolean, ) => void; planningStartMode?: boolean; - /** - * C7 当前游戏版本:由工作台壳持有,策划聊天里的 `@` 面板按它切「当前版本素材」。 - * `null` 表示回退到 manifest 中最新的版本。 - */ - activeVersionId?: string | null; playRequest?: { projectPath: string; requestId: number; diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index d0e0a1197..947e0b37d 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -11203,9 +11203,9 @@ button.design-workspace-tree__entry:hover, margin-top: 0; } -/* direct-codex 里 `ResourceReferenceInput` 收到的是 `showTriggerButton={!directCodex}`, - 即输入框内的 `.resource-reference-input-at` 根本不会渲染(`@` 触发钮是下面控制排里的 - `.project-chat-reference-trigger`)。这里原本有一条针对它的 +/* direct-codex 的 `@` 触发钮是下面控制排里的 `.project-chat-reference-trigger`, + 不是输入区操作排里的 `.resource-reference-input-at`(宿主不注入 + `ResourceReferencePickerAction`,改用控制排那个按钮)。这里原本有一条针对它的 `position: static !important` / 30px 主色方块规则,永远匹配不到,已删除; 要改 direct-codex 的 `@` 触发钮外观请改 `.project-chat-reference-trigger`。 */