feat: статья из Discover, локализация, подсказки

- Статья: заголовок + ссылка (truncate), title в URL, articleTitle в Message
- Локализация Sources, Research Progress, Answer, шагов, formingAnswer
- Подсказки: промпт без жёсткого примера, разнообразие, label 'Что ещё спросить'
- embeddedTranslations, countryToLocale, locale инструкция для LLM

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
home
2026-02-21 00:37:06 +03:00
parent f4d945a2b5
commit 3fa83bc605
68 changed files with 2301 additions and 345 deletions

View File

@@ -3,8 +3,8 @@
"version": "1.12.1",
"private": true,
"scripts": {
"dev": "next dev --webpack",
"build": "next build --webpack",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
@@ -14,12 +14,12 @@
"@headlessui/tailwindcss": "^0.2.2",
"@huggingface/transformers": "^3.8.1",
"@icons-pack/react-simple-icons": "^12.3.0",
"better-sqlite3": "^11.9.1",
"@phosphor-icons/react": "^2.1.10",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/typography": "^0.5.12",
"@toolsycc/json-repair": "^0.1.22",
"axios": "^1.8.3",
"better-sqlite3": "^11.9.1",
"clsx": "^2.1.0",
"drizzle-orm": "^0.40.1",
"js-tiktoken": "^1.0.21",
@@ -58,8 +58,11 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/trusted-types": "^2.0.7",
"@types/turndown": "^5.0.6",
"@types/unist": "^3.0.3",
"autoprefixer": "^10.0.1",
"dotenv": "^16.4.5",
"drizzle-kit": "^0.30.5",
"eslint": "^8",
"eslint-config-next": "14.1.4",