@coffer-org/plugin-webchat 3.1.1 → 5.0.0
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/dist/{ChatWidget-Wxy33-Ei.js → ChatWidget-uAyA3y0W.js} +348 -5814
- package/dist/index.js +6 -5
- package/dist/runtime/actions.d.ts +3 -1
- package/dist/runtime/actions.js +17 -2
- package/dist/runtime/chain-store.d.ts +8 -1
- package/dist/runtime/chain-store.js +15 -1
- package/dist/runtime/config.d.ts +1 -1
- package/dist/runtime/connector.d.ts +4 -2
- package/dist/runtime/connector.js +18 -2
- package/dist/runtime/format.d.ts +1 -0
- package/dist/runtime/format.js +5 -0
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/send.d.ts +1 -1
- package/dist/runtime/send.js +8 -7
- package/dist/schema.js +4485 -1580
- package/dist/web.js +2 -2
- package/locales/en.json +2 -0
- package/locales/ru.json +2 -0
- package/locales/uk.json +2 -0
- package/package.json +5 -4
package/dist/web.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePluginUI } from "@coffer-org/web-
|
|
1
|
+
import { definePluginUI } from "@coffer-org/web-ui";
|
|
2
2
|
//#region src/ui/ui.tsx
|
|
3
3
|
/**
|
|
4
4
|
* Web UI bundle of plugin-webchat. Federation loads this file only when the
|
|
@@ -11,7 +11,7 @@ import { definePluginUI } from "@coffer-org/web-sdk";
|
|
|
11
11
|
var ui_default = definePluginUI({ slots: [{
|
|
12
12
|
slot: "overlay",
|
|
13
13
|
id: "webchat",
|
|
14
|
-
load: () => import("./ChatWidget-
|
|
14
|
+
load: () => import("./ChatWidget-uAyA3y0W.js")
|
|
15
15
|
}] });
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ui_default as default };
|
package/locales/en.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"newConversation": "New conversation",
|
|
13
13
|
"threads": "Conversations",
|
|
14
14
|
"empty": "No messages yet",
|
|
15
|
+
"suggestions": "Suggestions",
|
|
15
16
|
"placeholder": "Ask about your data…",
|
|
16
17
|
"send": "Send",
|
|
17
18
|
"stop": "Stop",
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"error": "Error: {{message}}",
|
|
29
30
|
"reasoning": "Reasoning",
|
|
30
31
|
"agentPicker": "Agent and preset",
|
|
32
|
+
"level": "Level {{value}} of {{max}}",
|
|
31
33
|
"quality": "Quality {{value}} of 5",
|
|
32
34
|
"time": "Time {{value}} of 5",
|
|
33
35
|
"settings": {
|
package/locales/ru.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"newConversation": "Новый разговор",
|
|
13
13
|
"threads": "Разговоры",
|
|
14
14
|
"empty": "Пока нет сообщений",
|
|
15
|
+
"suggestions": "Подсказки",
|
|
15
16
|
"placeholder": "Спроси о своих данных…",
|
|
16
17
|
"send": "Отправить",
|
|
17
18
|
"stop": "Стоп",
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"error": "Ошибка: {{message}}",
|
|
29
30
|
"reasoning": "Рассуждения",
|
|
30
31
|
"agentPicker": "Агент и пресет",
|
|
32
|
+
"level": "Уровень {{value}} из {{max}}",
|
|
31
33
|
"quality": "Качество {{value}} из 5",
|
|
32
34
|
"time": "Время {{value}} из 5",
|
|
33
35
|
"settings": {
|
package/locales/uk.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"newConversation": "Нова розмова",
|
|
13
13
|
"threads": "Розмови",
|
|
14
14
|
"empty": "Ще немає повідомлень",
|
|
15
|
+
"suggestions": "Підказки",
|
|
15
16
|
"placeholder": "Запитай про свої дані…",
|
|
16
17
|
"send": "Надіслати",
|
|
17
18
|
"stop": "Стоп",
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"error": "Помилка: {{message}}",
|
|
29
30
|
"reasoning": "Міркування",
|
|
30
31
|
"agentPicker": "Агент і пресет",
|
|
32
|
+
"level": "Рівень {{value}} з {{max}}",
|
|
31
33
|
"quality": "Якість {{value}} з 5",
|
|
32
34
|
"time": "Час {{value}} з 5",
|
|
33
35
|
"settings": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coffer-org/plugin-webchat",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24"
|
|
@@ -27,13 +27,14 @@
|
|
|
27
27
|
"test:ui": "vitest run --root ."
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@coffer-org/
|
|
31
|
-
"@coffer-org/
|
|
32
|
-
"
|
|
30
|
+
"@coffer-org/sdk": "^5.0.0",
|
|
31
|
+
"@coffer-org/server": "^5.0.0",
|
|
32
|
+
"lucide-react": "^1.17.0",
|
|
33
33
|
"react-markdown": "^10.1.0",
|
|
34
34
|
"remark-gfm": "^4.0.1"
|
|
35
35
|
},
|
|
36
36
|
"coffer": {
|
|
37
|
+
"runtime": "node",
|
|
37
38
|
"schema": "dist/schema.js"
|
|
38
39
|
}
|
|
39
40
|
}
|