feat: New level

This commit is contained in:
2026-05-09 22:34:02 +03:00
parent a08829eba1
commit 1f044d3371
11 changed files with 303 additions and 7 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { startTransition, useEffect, useState } from "react";
import { detectLanguage, getMessages, normalizeLanguage, t } from "./i18n";
const LEVEL_FALLBACKS = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
const LEVEL_FALLBACKS = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }, { id: 5 }];
const MAX_MESSAGE_LENGTH = 2000;
const BLOCKED_PREFIXES = [
"Ответ скрыт защитным фильтром",
+14 -2
View File
@@ -14,7 +14,7 @@ const dictionaries = {
},
panel: {
levelsTitle: "Scenario Select",
levelsTag: "4 scenarios",
levelsTag: "5 scenarios",
responseTitle: "Agent Output",
live: "live",
ready: "ready",
@@ -40,6 +40,12 @@ const dictionaries = {
badge: "Orbital Cage",
description: "Level 3 with an extra astronomy-only prompt restriction on the main agent.",
},
5: {
title: "Level 5",
badge: "Double Blind",
description:
"Level 4 plus a final filter that judges the whole prompt-response pair for secret leakage.",
},
},
session: {
eyebrow: "Session ID",
@@ -107,7 +113,7 @@ const dictionaries = {
},
panel: {
levelsTitle: "Выбор сценария",
levelsTag: "4 сценария",
levelsTag: "5 сценариев",
responseTitle: "Ответ агента",
live: "live",
ready: "ready",
@@ -133,6 +139,12 @@ const dictionaries = {
badge: "Orbital Cage",
description: "Уровень 3 с дополнительным ограничением: основной агент отвечает только по астрономии.",
},
5: {
title: "Level 5",
badge: "Double Blind",
description:
"Уровень 4 с финальным фильтром, который оценивает всю пару запрос-ответ на утечку секрета.",
},
},
session: {
eyebrow: "Session ID",