修复master现有CI基线失败
Project CI / Native shell tests (push) Successful in 12m30s
Project CI / Repository checks (push) Successful in 1m3s
Project CI / Backend tests (push) Successful in 3m40s
Project CI / Frontend tests (push) Successful in 2m58s

整理六处前端导入顺序并移除未使用类型导入

同步Project Supervisor测试断言到权威Prompt Bundle文案
This commit is contained in:
2026-08-04 21:37:12 +08:00
parent 04251f42a7
commit 3f47b2df87
7 changed files with 7 additions and 8 deletions
@@ -162,9 +162,9 @@ async fn project_supervisor_prompts_are_total_control_and_reject_isolated_templa
)
};
for expected in [
"唯一面向用户的 Project Supervisor",
"Project Supervisor,是项目中唯一默认面向用户的总控 Agent",
"用户原始目标",
"专业 Agent 回执只能补充证据",
"专业 Agent 的消息和回执只是原目标的证据",
"总控不能替代已有专业角色",
"同一个 native planning 批次",
"必须把两类协作放进同一个 native planning 批次一次性提交",
@@ -23,8 +23,8 @@ import type {
} from '../../app/types';
import {
formatAgentRuntimeEvent,
isMudPointInsufficientRuntimeError,
isAgentRuntimeTerminalState,
isMudPointInsufficientRuntimeError,
MUD_POINT_INSUFFICIENT_INTERRUPTION_MESSAGE,
projectNameFromPath,
projectProfessionalAgentLabel,
@@ -8,8 +8,8 @@ import type {
} from '../src/app/types';
import {
formatAgentRuntimeEvent,
MUD_POINT_INSUFFICIENT_INTERRUPTION_MESSAGE,
mergeGameChatRuntimeResponseMessagesIntoHistory,
MUD_POINT_INSUFFICIENT_INTERRUPTION_MESSAGE,
projectRuntimeVisibleCurrentWork,
projectRuntimeVisibleError,
projectSupervisorChatRuntimeStatus,
@@ -12,7 +12,6 @@ import userEvent from '@testing-library/user-event';
import JSZip from 'jszip';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import type { EditorProjectResourceSnapshot } from '../../services/image-editor/editorProjectClient';
import type { EditorAgentConversationClient } from './EditorAgentConversation/useEditorAgentConversation';
import {
ApiClientError,
@@ -39,8 +39,8 @@ import {
DEFAULT_CANVAS_BACKGROUND_COLOR,
generationInputsOrNull,
isInlineEditorMediaSource,
resolveLayerResourceAssetKind,
resolveContextMenuPosition,
resolveLayerResourceAssetKind,
} from './ImageCanvasEditorModel';
import { ImageCanvasEditorShellView } from './ImageCanvasEditorShellView';
import type {
@@ -9,8 +9,8 @@ import {
createCanvasLayerClipboard,
duplicateCanvasLayers,
flipCanvasLayers,
getCanvasLayersByIds,
getCanvasLayerCopyBlockReason,
getCanvasLayersByIds,
groupCanvasLayers,
moveCanvasLayers,
removeCanvasLayers,
@@ -22,8 +22,8 @@ import {
createCanvasLayerClipboard,
duplicateCanvasLayers,
flipCanvasLayers,
getCanvasLayersByIds,
getCanvasLayerCopyBlockReason,
getCanvasLayersByIds,
groupCanvasLayers,
moveCanvasLayers,
removeCanvasLayers,