移除 UI 编辑器演示路径

要求 UI 编辑器从项目工作区显式接收 projectPath

将旧 agent-chat 演示入口恢复为开发 Agent 面板

删除无效的 projectId 参数传递
This commit is contained in:
2026-08-18 11:54:00 +08:00
parent fa24335791
commit a9dbccafa4
2 changed files with 2 additions and 3 deletions
@@ -3106,7 +3106,6 @@ export default function ProjectDevelopmentView({
<UiEditorPage
projectPath={projectPath}
resourceId={uiEditorRoute.resourceId}
projectId={manifest.projectId}
resourceLabel={uiEditorRoute.resourceLabel}
onBack={() => setUiEditorRoute(null)}
/>
@@ -19,13 +19,13 @@ import {
} from './useUiEditorPage';
export default function UiEditorPage({
projectPath = '/tmp/ui_editor',
projectPath,
resourceId,
resourceLabel,
onBack,
stateStore = mockUiDesignStateStore,
}: {
projectPath?: string;
projectPath: string;
resourceId?: string;
resourceLabel?: string;
onBack?: () => void;