@coffer-org/plugin-webchat 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/locales/en.json +40 -0
- package/locales/ru.json +40 -0
- package/locales/uk.json +40 -0
- package/package.json +4 -3
package/locales/en.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webchat": {
|
|
3
|
+
"plugin": {
|
|
4
|
+
"label": "Web chat",
|
|
5
|
+
"description": "In-browser chat with the agent."
|
|
6
|
+
},
|
|
7
|
+
"title": "Agent",
|
|
8
|
+
"open": "Open chat",
|
|
9
|
+
"close": "Close",
|
|
10
|
+
"expand": "Expand",
|
|
11
|
+
"collapse": "Collapse",
|
|
12
|
+
"newConversation": "New conversation",
|
|
13
|
+
"threads": "Conversations",
|
|
14
|
+
"empty": "No messages yet",
|
|
15
|
+
"placeholder": "Ask about your data…",
|
|
16
|
+
"send": "Send",
|
|
17
|
+
"stop": "Stop",
|
|
18
|
+
"attach": "Attach file",
|
|
19
|
+
"removeAttachment": "Remove {{name}}",
|
|
20
|
+
"uploading": "Uploading…",
|
|
21
|
+
"uploadProgress": "Upload progress",
|
|
22
|
+
"uploadTooLarge": "File is too large (maximum 25 MB).",
|
|
23
|
+
"uploadFailed": "Could not upload the file.",
|
|
24
|
+
"retryUpload": "Retry upload",
|
|
25
|
+
"dropFiles": "Drop files here",
|
|
26
|
+
"dropFilesHint": "The file will be attached to your next message",
|
|
27
|
+
"thinking": "Thinking…",
|
|
28
|
+
"error": "Error: {{message}}",
|
|
29
|
+
"reasoning": "Reasoning",
|
|
30
|
+
"agentPicker": "Agent and preset",
|
|
31
|
+
"quality": "Quality {{value}} of 5",
|
|
32
|
+
"time": "Time {{value}} of 5",
|
|
33
|
+
"settings": {
|
|
34
|
+
"label": "Web chat",
|
|
35
|
+
"reasoning_display": "Reasoning display",
|
|
36
|
+
"reasoning_display_live": "Live block",
|
|
37
|
+
"reasoning_display_off": "Hidden"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
package/locales/ru.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webchat": {
|
|
3
|
+
"plugin": {
|
|
4
|
+
"label": "Чат на сайте",
|
|
5
|
+
"description": "Веб-чат для общения с агентом."
|
|
6
|
+
},
|
|
7
|
+
"title": "Агент",
|
|
8
|
+
"open": "Открыть чат",
|
|
9
|
+
"close": "Закрыть",
|
|
10
|
+
"expand": "Развернуть",
|
|
11
|
+
"collapse": "Свернуть",
|
|
12
|
+
"newConversation": "Новый разговор",
|
|
13
|
+
"threads": "Разговоры",
|
|
14
|
+
"empty": "Пока нет сообщений",
|
|
15
|
+
"placeholder": "Спроси о своих данных…",
|
|
16
|
+
"send": "Отправить",
|
|
17
|
+
"stop": "Стоп",
|
|
18
|
+
"attach": "Прикрепить файл",
|
|
19
|
+
"removeAttachment": "Удалить {{name}}",
|
|
20
|
+
"uploading": "Загрузка…",
|
|
21
|
+
"uploadProgress": "Прогресс загрузки",
|
|
22
|
+
"uploadTooLarge": "Файл слишком большой (максимум 25 МБ).",
|
|
23
|
+
"uploadFailed": "Не удалось загрузить файл.",
|
|
24
|
+
"retryUpload": "Повторить загрузку",
|
|
25
|
+
"dropFiles": "Перетащите файлы сюда",
|
|
26
|
+
"dropFilesHint": "Файл будет прикреплён к следующему сообщению",
|
|
27
|
+
"thinking": "Думает…",
|
|
28
|
+
"error": "Ошибка: {{message}}",
|
|
29
|
+
"reasoning": "Рассуждения",
|
|
30
|
+
"agentPicker": "Агент и пресет",
|
|
31
|
+
"quality": "Качество {{value}} из 5",
|
|
32
|
+
"time": "Время {{value}} из 5",
|
|
33
|
+
"settings": {
|
|
34
|
+
"label": "Чат на сайте",
|
|
35
|
+
"reasoning_display": "Показ рассуждений",
|
|
36
|
+
"reasoning_display_live": "Живым блоком",
|
|
37
|
+
"reasoning_display_off": "Не показывать"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
package/locales/uk.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webchat": {
|
|
3
|
+
"plugin": {
|
|
4
|
+
"label": "Чат на сайті",
|
|
5
|
+
"description": "Вебчат для спілкування з агентом."
|
|
6
|
+
},
|
|
7
|
+
"title": "Агент",
|
|
8
|
+
"open": "Відкрити чат",
|
|
9
|
+
"close": "Закрити",
|
|
10
|
+
"expand": "Розгорнути",
|
|
11
|
+
"collapse": "Згорнути",
|
|
12
|
+
"newConversation": "Нова розмова",
|
|
13
|
+
"threads": "Розмови",
|
|
14
|
+
"empty": "Ще немає повідомлень",
|
|
15
|
+
"placeholder": "Запитай про свої дані…",
|
|
16
|
+
"send": "Надіслати",
|
|
17
|
+
"stop": "Стоп",
|
|
18
|
+
"attach": "Додати файл",
|
|
19
|
+
"removeAttachment": "Видалити {{name}}",
|
|
20
|
+
"uploading": "Завантаження…",
|
|
21
|
+
"uploadProgress": "Прогрес завантаження",
|
|
22
|
+
"uploadTooLarge": "Файл завеликий (максимум 25 МБ).",
|
|
23
|
+
"uploadFailed": "Не вдалося завантажити файл.",
|
|
24
|
+
"retryUpload": "Повторити завантаження",
|
|
25
|
+
"dropFiles": "Перетягніть файли сюди",
|
|
26
|
+
"dropFilesHint": "Файл буде додано до наступного повідомлення",
|
|
27
|
+
"thinking": "Думає…",
|
|
28
|
+
"error": "Помилка: {{message}}",
|
|
29
|
+
"reasoning": "Міркування",
|
|
30
|
+
"agentPicker": "Агент і пресет",
|
|
31
|
+
"quality": "Якість {{value}} з 5",
|
|
32
|
+
"time": "Час {{value}} з 5",
|
|
33
|
+
"settings": {
|
|
34
|
+
"label": "Чат на сайті",
|
|
35
|
+
"reasoning_display": "Показ міркувань",
|
|
36
|
+
"reasoning_display_live": "Живим блоком",
|
|
37
|
+
"reasoning_display_off": "Не показувати"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coffer-org/plugin-webchat",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
|
-
"dist"
|
|
9
|
+
"dist",
|
|
10
|
+
"locales"
|
|
10
11
|
],
|
|
11
12
|
"exports": {
|
|
12
13
|
".": {
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"test:ui": "vitest run --root ."
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@coffer-org/plugin-orchestrator": "^3.1.
|
|
30
|
+
"@coffer-org/plugin-orchestrator": "^3.1.1",
|
|
30
31
|
"@coffer-org/sdk": "^3.0.0",
|
|
31
32
|
"@coffer-org/server": "^3.0.0",
|
|
32
33
|
"react-markdown": "^10.1.0",
|