feat(frontend): add Test Suite management and Next Reply case editor

Replace the test-cases placeholder with suite list/detail flows, multi-select and drag reorder, and an edit-only single-step reply editor with keyword/LLM assertions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Xin Wang
2026-08-08 17:03:12 +08:00
co-authored by Cursor
parent 2f755969d3
commit 398b20778d
12 changed files with 2267 additions and 10 deletions
@@ -35,7 +35,8 @@ export type TestCaseKind =
| "user_simulation"
| "tool_call"
| "fixed_dialogue"
| "single_turn";
| "single_turn"
| "voice_run";
export type ChatScriptTurn = {
role: "user" | "assistant";
@@ -103,6 +104,7 @@ const KIND_LABEL: Record<TestCaseKind, string> = {
tool_call: "工具调用",
fixed_dialogue: "固定对话",
single_turn: "单轮响应",
voice_run: "语音运行",
};
const RECENT_IDS = ["tc-dual-car", "tc-hello"];