lobehub/locales/ru-RU/editor.json
Innei 4438b559e6
feat: add slash action tags, topic reference tool, and command bus system (#12860)
*  feat: add slash action tags in chat input

Made-with: Cursor

*  feat: enhance editor with new slash actions and localization updates

- Added new slash actions: change tone, condense, expand, polish, rewrite, summarize, and translate.
- Updated localization files for English and Chinese to include new action tags and slash commands.
- Removed deprecated useSlashItems component and integrated its functionality directly into InputEditor.

Signed-off-by: Innei <tukon479@gmail.com>

*  feat: add slash placement configuration to chat input components

- Introduced `slashPlacement` prop to `ChatInputProvider`, `StoreUpdater`, and `InputEditor` for customizable slash menu positioning.
- Updated initial state to include `slashPlacement` with default value 'top'.
- Adjusted `ChatInput` and `InputArea` components to utilize the new `slashPlacement` prop.

This enhancement allows for better control over the user interface in chat input interactions.

Signed-off-by: Innei <tukon479@gmail.com>

*  feat: implement command bus for slash action tags processing

Add command bus system to parse and execute slash commands (compact context,
new topic). Refactor action tag categories from ai/prompt to command/skill.
Add useEnabledSkills hook for dynamic skill registration.

* feat: compress command

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: compress

Signed-off-by: Innei <tukon479@gmail.com>

* fix: skill inject

*  feat: slash action tags with context engine integration

Made-with: Cursor

*  feat: add topic reference builtin tool and server runtime

Made-with: Cursor

*  feat: add topic mention items and update ReferTopic integration

Made-with: Cursor

* 🐛 fix: preserve editorData through assistant-group edit flow and update RichTextMessage reactively

- EditState now forwards editorData from EditorModal to modifyMessageContent
- modifyMessageContent accepts and passes editorData to updateMessageContent
- RichTextMessage uses useEditor + effect to update document on content change instead of key-based remount
- Refactored RichTextMessage plugins to use shared createChatInputRichPlugins()

*  feat(context-engine): add metadata types and update processors/providers

Made-with: Cursor

*  feat(chat-input): add slash action tags and restore failed input state

* 🔧 chore: update package dependencies and enhance Vite configuration

- Changed @lobehub/ui dependency to a specific package URL.
- Added multiple SPA entry points and layout files to the Vite warmup configuration.
- Removed unused monorepo packages from sharedOptimizeDeps and added various dayjs locales for better localization support.

Signed-off-by: Innei <tukon479@gmail.com>

* 🔧 chore: update @lobehub/ui dependency to version 5.4.0 in package.json

Signed-off-by: Innei <tukon479@gmail.com>

* 🐛 fix: correct SkillsApiName.runSkill to activateSkill and update trimmed content assertions

* 🐛 fix: resolve type errors in context-engine tests and InputEditor slashPlacement

* 🐛 fix: update runSkill to activateSkill in conversationLifecycle test

* 🐛 fix: avoid regex backtracking in placeholder parser

*  feat(localization): add action tags and tooltips for slash commands across multiple languages

Signed-off-by: Innei <tukon479@gmail.com>

* 🐛 fix: preserve file attachments when /newTopic has no text content

* cleanup

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2026-03-13 22:17:36 +08:00

77 lines
4.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"actionTag.category.command": "Команда",
"actionTag.category.skill": "Навык",
"actionTag.category.tool": "Инструмент",
"actionTag.tooltip.command": "Выполняет клиентскую slash-команду перед отправкой.",
"actionTag.tooltip.skill": "Загружает для этого запроса переиспользуемый пакет навыков.",
"actionTag.tooltip.tool": "Помечает инструмент, который пользователь явно выбрал для этого запроса.",
"actions.expand.off": "Свернуть",
"actions.expand.on": "Развернуть",
"actions.typobar.off": "Скрыть панель форматирования",
"actions.typobar.on": "Показать панель форматирования",
"autoSave.latest": "Загружена последняя версия",
"autoSave.saved": "Сохранено",
"autoSave.saving": "Автосохранение...",
"cancel": "Отмена",
"codemirror.copyFailed": "Не удалось скопировать",
"codemirror.copySuccess": "Код скопирован в буфер обмена",
"codemirror.selectLanguage": "Выбрать язык",
"codemirror.selectTheme": "Выбрать тему",
"codemirror.showLineNumbers": "Показать номера строк",
"codemirror.tabSize": "Размер табуляции",
"codemirror.theme": "Тема",
"codemirror.useTabs": "Использовать табуляцию",
"confirm": "Подтвердить",
"file.error": "Ошибка: {{message}}",
"file.uploading": "Загрузка файла...",
"image.broken": "Изображение повреждено",
"link.edit": "Редактировать ссылку",
"link.editLinkTitle": "Ссылка",
"link.editTextTitle": "Заголовок",
"link.open": "Открыть ссылку",
"link.placeholder": "Введите URL ссылки",
"link.unlink": "Удалить ссылку",
"markdown.cancel": "Отмена",
"markdown.confirm": "Преобразовать",
"markdown.parseMessage": "Преобразовать в формат Markdown. Существующее содержимое будет перезаписано. Вы уверены? (Окно закроется автоматически через 5 секунд)",
"markdown.parseTitle": "Форматировать как Markdown",
"math.placeholder": "Введите формулу в формате TeX",
"modifier.accept": "Оставить",
"modifier.acceptAll": "Оставить все",
"modifier.reject": "Отменить",
"modifier.rejectAll": "Отменить все",
"slash.compact": "Сжать контекст",
"slash.h1": "Заголовок 1",
"slash.h2": "Заголовок 2",
"slash.h3": "Заголовок 3",
"slash.hr": "Разделитель",
"slash.newTopic": "Отправить в новую тему",
"slash.rewrite": "Переписать",
"slash.summarize": "Суммировать",
"slash.table": "Таблица",
"slash.tex": "Формула TeX",
"slash.translate": "Перевести",
"table.delete": "Удалить таблицу",
"table.deleteColumn": "Удалить столбец",
"table.deleteRow": "Удалить строку",
"table.insertColumnLeft": "Вставить {{count}} столбец(а) слева",
"table.insertColumnRight": "Вставить {{count}} столбец(а) справа",
"table.insertRowAbove": "Вставить {{count}} строку(и) выше",
"table.insertRowBelow": "Вставить {{count}} строку(и) ниже",
"typobar.blockquote": "Цитата",
"typobar.bold": "Жирный",
"typobar.bulletList": "Маркированный список",
"typobar.code": "Встроенный код",
"typobar.codeblock": "Блок кода",
"typobar.image": "Изображение",
"typobar.italic": "Курсив",
"typobar.link": "Ссылка",
"typobar.numberList": "Нумерованный список",
"typobar.redo": "Повторить",
"typobar.strikethrough": "Зачёркнутый",
"typobar.table": "Таблица",
"typobar.taskList": "Список задач",
"typobar.tex": "Формула TeX",
"typobar.underline": "Подчёркнутый",
"typobar.undo": "Отменить"
}