@oxy.so/bloom 20.0.0 → 21.1.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/docs/adoption-matrix.mdx +6 -7
- package/docs/agent-avatar.mdx +8 -5
- package/docs/agent-creator.mdx +13 -11
- package/docs/multi-agent-chat.mdx +6 -2
- package/docs/public-parts.mdx +2 -2
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js +16 -11
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/commonjs/agent-avatar/character.js +4 -4
- package/lib/commonjs/agent-avatar/use-static-portraits.js +51 -0
- package/lib/commonjs/agent-avatar/use-static-portraits.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentCreator.js +4 -0
- package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreator.web.js +12 -8
- package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreatorBase.js +93 -48
- package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/commonjs/agent-creator/CustomColorPicker.js +431 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/GlossArt.js +212 -0
- package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
- package/lib/commonjs/agent-creator/ShapeSilhouette.js +4 -3
- package/lib/commonjs/agent-creator/ShapeSilhouette.js.map +1 -1
- package/lib/commonjs/agent-creator/context.js.map +1 -1
- package/lib/commonjs/agent-creator/messages.js +22 -1
- package/lib/commonjs/agent-creator/messages.js.map +1 -1
- package/lib/commonjs/agent-creator/paint.js +19 -7
- package/lib/commonjs/agent-creator/paint.js.map +1 -1
- package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/commonjs/agent-creator/shared.js +28 -0
- package/lib/commonjs/agent-creator/shared.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +22 -1
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +22 -1
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +22 -1
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +22 -1
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +22 -1
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +22 -1
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +22 -1
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +22 -1
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +22 -1
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +22 -1
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +22 -1
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +22 -1
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +22 -1
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +22 -1
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/data.js +2 -2
- package/lib/commonjs/multi-agent-chat/data.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/selected-agent-preview.js +19 -0
- package/lib/commonjs/multi-agent-chat/selected-agent-preview.js.map +1 -0
- package/lib/module/agent-avatar/VectorCharacterAvatar.js +16 -11
- package/lib/module/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/module/agent-avatar/character.js +4 -4
- package/lib/module/agent-avatar/use-static-portraits.js +44 -0
- package/lib/module/agent-avatar/use-static-portraits.js.map +1 -0
- package/lib/module/agent-creator/AgentCreator.js +4 -0
- package/lib/module/agent-creator/AgentCreator.js.map +1 -1
- package/lib/module/agent-creator/AgentCreator.web.js +4 -0
- package/lib/module/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/module/agent-creator/AgentCreatorBase.js +89 -44
- package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/module/agent-creator/CustomColorPicker.js +426 -0
- package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/module/agent-creator/GlossArt.js +207 -0
- package/lib/module/agent-creator/GlossArt.js.map +1 -0
- package/lib/module/agent-creator/ShapeSilhouette.js +4 -3
- package/lib/module/agent-creator/ShapeSilhouette.js.map +1 -1
- package/lib/module/agent-creator/context.js.map +1 -1
- package/lib/module/agent-creator/messages.js +22 -1
- package/lib/module/agent-creator/messages.js.map +1 -1
- package/lib/module/agent-creator/paint.js +18 -7
- package/lib/module/agent-creator/paint.js.map +1 -1
- package/lib/module/agent-creator/rainbow-artwork.js +6 -0
- package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/module/agent-creator/shared.js +26 -0
- package/lib/module/agent-creator/shared.js.map +1 -1
- package/lib/module/locale/translations/ar.js +22 -1
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +22 -1
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +22 -1
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +22 -1
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +22 -1
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +22 -1
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +22 -1
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +22 -1
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +22 -1
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +22 -1
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +22 -1
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +22 -1
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +22 -1
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +22 -1
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/multi-agent-chat/data.js +3 -3
- package/lib/module/multi-agent-chat/data.js.map +1 -1
- package/lib/module/multi-agent-chat/selected-agent-preview.js +9 -0
- package/lib/module/multi-agent-chat/selected-agent-preview.js.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/character.d.ts +4 -4
- package/lib/typescript/commonjs/agent-avatar/use-static-portraits.d.ts +16 -0
- package/lib/typescript/commonjs/agent-avatar/use-static-portraits.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts +1 -1
- package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/context.d.ts +13 -1
- package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/commonjs/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/types.d.ts +4 -7
- package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/types.d.ts +1 -2
- package/lib/typescript/commonjs/avatar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/selected-agent-preview.d.ts +7 -0
- package/lib/typescript/commonjs/multi-agent-chat/selected-agent-preview.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/character.d.ts +4 -4
- package/lib/typescript/module/agent-avatar/use-static-portraits.d.ts +16 -0
- package/lib/typescript/module/agent-avatar/use-static-portraits.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts +1 -1
- package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/context.d.ts +13 -1
- package/lib/typescript/module/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/module/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/types.d.ts +4 -7
- package/lib/typescript/module/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/module/avatar/types.d.ts +1 -2
- package/lib/typescript/module/avatar/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/selected-agent-preview.d.ts +7 -0
- package/lib/typescript/module/multi-agent-chat/selected-agent-preview.d.ts.map +1 -0
- package/package.json +18 -1
- package/src/__tests__/support/adoption-matrix.ts +0 -5
- package/src/agent-avatar/VectorCharacterAvatar.tsx +19 -16
- package/src/agent-avatar/character.ts +4 -4
- package/src/agent-avatar/use-static-portraits.ts +50 -0
- package/src/agent-creator/AgentCreator.tsx +4 -0
- package/src/agent-creator/AgentCreator.web.tsx +4 -0
- package/src/agent-creator/AgentCreatorBase.tsx +83 -39
- package/src/agent-creator/CustomColorPicker.tsx +443 -0
- package/src/agent-creator/GlossArt.tsx +160 -0
- package/src/agent-creator/ShapeSilhouette.tsx +4 -3
- package/src/agent-creator/context.ts +2 -0
- package/src/agent-creator/messages.ts +37 -1
- package/src/agent-creator/paint.ts +17 -7
- package/src/agent-creator/rainbow-artwork.ts +5 -0
- package/src/agent-creator/shared.ts +27 -0
- package/src/agent-creator/types.ts +4 -7
- package/src/avatar/types.ts +1 -2
- package/src/locale/translations/ar.ts +23 -1
- package/src/locale/translations/bn.ts +23 -1
- package/src/locale/translations/ca.ts +23 -1
- package/src/locale/translations/de.ts +23 -1
- package/src/locale/translations/es.ts +23 -1
- package/src/locale/translations/fr.ts +23 -1
- package/src/locale/translations/hi.ts +23 -1
- package/src/locale/translations/id.ts +23 -1
- package/src/locale/translations/it.ts +23 -1
- package/src/locale/translations/ja.ts +23 -1
- package/src/locale/translations/pt.ts +23 -1
- package/src/locale/translations/ru.ts +23 -1
- package/src/locale/translations/tr.ts +23 -1
- package/src/locale/translations/zh.ts +23 -1
- package/src/multi-agent-chat/data.ts +5 -3
- package/src/multi-agent-chat/selected-agent-preview.ts +6 -0
|
@@ -54,7 +54,8 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
54
54
|
newBot: 'Новый бот',
|
|
55
55
|
closeEditor: 'Закрыть редактор агента',
|
|
56
56
|
details: 'Внешний вид и сведения об агенте',
|
|
57
|
-
color: 'Цвет',
|
|
57
|
+
color: 'Цвет аватара',
|
|
58
|
+
customColor: 'Свой цвет аватара',
|
|
58
59
|
name: 'Имя',
|
|
59
60
|
label: 'Метка',
|
|
60
61
|
description: 'Описание',
|
|
@@ -77,6 +78,13 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
77
78
|
playbackSpeed: 'Скорость воспроизведения',
|
|
78
79
|
emotion: 'Эмоция агента',
|
|
79
80
|
shape: 'Форма аватара',
|
|
81
|
+
hexColor: 'Цвет HEX',
|
|
82
|
+
hue: 'Оттенок',
|
|
83
|
+
saturationBrightness: 'Насыщенность и яркость',
|
|
84
|
+
increaseBrightness: 'Увеличить яркость',
|
|
85
|
+
decreaseBrightness: 'Уменьшить яркость',
|
|
86
|
+
increaseHue: 'Увеличить оттенок',
|
|
87
|
+
decreaseHue: 'Уменьшить оттенок',
|
|
80
88
|
nextShape: 'Следующая форма',
|
|
81
89
|
previousShape: 'Предыдущая форма',
|
|
82
90
|
newAgent: 'Новый агент',
|
|
@@ -109,6 +117,17 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
109
117
|
diamond: 'Ромб',
|
|
110
118
|
shield: 'Щит',
|
|
111
119
|
},
|
|
120
|
+
colors: {
|
|
121
|
+
Blue: 'Синий',
|
|
122
|
+
Teal: 'Бирюзовый',
|
|
123
|
+
Violet: 'Фиолетовый',
|
|
124
|
+
Pink: 'Розовый',
|
|
125
|
+
Red: 'Красный',
|
|
126
|
+
Orange: 'Оранжевый',
|
|
127
|
+
Cyan: 'Голубой',
|
|
128
|
+
Lime: 'Лаймовый',
|
|
129
|
+
Green: 'Зелёный',
|
|
130
|
+
},
|
|
112
131
|
languages: {
|
|
113
132
|
auto: 'Автоопределение',
|
|
114
133
|
en: 'Английский',
|
|
@@ -119,9 +138,12 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
119
138
|
ja: 'Японский',
|
|
120
139
|
pt: 'Португальский',
|
|
121
140
|
},
|
|
141
|
+
avatarColorLabel: (name) => 'Аватар: {name}'.replace('{name}', name),
|
|
122
142
|
shapeLabel: (name) => 'Форма: {name}'.replace('{name}', name),
|
|
123
143
|
silhouetteLabel: (name) => 'Силуэт: {name}'.replace('{name}', name),
|
|
124
144
|
livePreview: (name) => '{name}, предпросмотр аватара'.replace('{name}', name),
|
|
145
|
+
saturationBrightnessValue: (s, v) =>
|
|
146
|
+
'насыщенность {s}%, яркость {v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
|
|
125
147
|
playbackSpeedLabel: (speed) =>
|
|
126
148
|
'Скорость воспроизведения {speed}'.replace('{speed}', String(speed)),
|
|
127
149
|
};
|
|
@@ -46,7 +46,8 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
46
46
|
newBot: 'Yeni bot',
|
|
47
47
|
closeEditor: 'Ajan düzenleyiciyi kapat',
|
|
48
48
|
details: 'Ajan görünümü ve ayrıntıları',
|
|
49
|
-
color: '
|
|
49
|
+
color: 'Avatar rengi',
|
|
50
|
+
customColor: 'Özel avatar rengi',
|
|
50
51
|
name: 'Ad',
|
|
51
52
|
label: 'Etiket',
|
|
52
53
|
description: 'Açıklama',
|
|
@@ -69,6 +70,13 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
69
70
|
playbackSpeed: 'Oynatma hızı',
|
|
70
71
|
emotion: 'Ajan duygusu',
|
|
71
72
|
shape: 'Avatar şekli',
|
|
73
|
+
hexColor: 'Onaltılık renk',
|
|
74
|
+
hue: 'Renk tonu',
|
|
75
|
+
saturationBrightness: 'Doygunluk ve parlaklık',
|
|
76
|
+
increaseBrightness: 'Parlaklığı artır',
|
|
77
|
+
decreaseBrightness: 'Parlaklığı azalt',
|
|
78
|
+
increaseHue: 'Renk tonunu artır',
|
|
79
|
+
decreaseHue: 'Renk tonunu azalt',
|
|
72
80
|
nextShape: 'Sonraki şekil',
|
|
73
81
|
previousShape: 'Önceki şekil',
|
|
74
82
|
newAgent: 'Yeni ajan',
|
|
@@ -101,6 +109,17 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
101
109
|
diamond: 'Elmas',
|
|
102
110
|
shield: 'Kalkan',
|
|
103
111
|
},
|
|
112
|
+
colors: {
|
|
113
|
+
Blue: 'Mavi',
|
|
114
|
+
Teal: 'Camgöbeği yeşili',
|
|
115
|
+
Violet: 'Mor',
|
|
116
|
+
Pink: 'Pembe',
|
|
117
|
+
Red: 'Kırmızı',
|
|
118
|
+
Orange: 'Turuncu',
|
|
119
|
+
Cyan: 'Camgöbeği',
|
|
120
|
+
Lime: 'Limon yeşili',
|
|
121
|
+
Green: 'Yeşil',
|
|
122
|
+
},
|
|
104
123
|
languages: {
|
|
105
124
|
auto: 'Otomatik algıla',
|
|
106
125
|
en: 'İngilizce',
|
|
@@ -111,9 +130,12 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
111
130
|
ja: 'Japonca',
|
|
112
131
|
pt: 'Portekizce',
|
|
113
132
|
},
|
|
133
|
+
avatarColorLabel: (name) => '{name} avatar'.replace('{name}', name),
|
|
114
134
|
shapeLabel: (name) => '{name} şekli'.replace('{name}', name),
|
|
115
135
|
silhouetteLabel: (name) => '{name} silüeti'.replace('{name}', name),
|
|
116
136
|
livePreview: (name) => '{name}, canlı avatar önizlemesi'.replace('{name}', name),
|
|
137
|
+
saturationBrightnessValue: (s, v) =>
|
|
138
|
+
'doygunluk %{s}, parlaklık %{v}'.replace('{s}', String(s)).replace('{v}', String(v)),
|
|
117
139
|
playbackSpeedLabel: (speed) => '{speed} kat oynatma hızı'.replace('{speed}', String(speed)),
|
|
118
140
|
};
|
|
119
141
|
|
|
@@ -43,7 +43,8 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
43
43
|
newBot: '新机器人',
|
|
44
44
|
closeEditor: '关闭智能体编辑器',
|
|
45
45
|
details: '智能体外观和详情',
|
|
46
|
-
color: '
|
|
46
|
+
color: '头像颜色',
|
|
47
|
+
customColor: '自定义头像颜色',
|
|
47
48
|
name: '名称',
|
|
48
49
|
label: '标签',
|
|
49
50
|
description: '描述',
|
|
@@ -66,6 +67,13 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
66
67
|
playbackSpeed: '播放速度',
|
|
67
68
|
emotion: '智能体表情',
|
|
68
69
|
shape: '头像形状',
|
|
70
|
+
hexColor: '十六进制颜色',
|
|
71
|
+
hue: '色相',
|
|
72
|
+
saturationBrightness: '饱和度和亮度',
|
|
73
|
+
increaseBrightness: '提高亮度',
|
|
74
|
+
decreaseBrightness: '降低亮度',
|
|
75
|
+
increaseHue: '提高色相',
|
|
76
|
+
decreaseHue: '降低色相',
|
|
69
77
|
nextShape: '下一形状',
|
|
70
78
|
previousShape: '上一形状',
|
|
71
79
|
newAgent: '新智能体',
|
|
@@ -98,6 +106,17 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
98
106
|
diamond: '菱形',
|
|
99
107
|
shield: '盾牌',
|
|
100
108
|
},
|
|
109
|
+
colors: {
|
|
110
|
+
Blue: '蓝色',
|
|
111
|
+
Teal: '蓝绿色',
|
|
112
|
+
Violet: '紫罗兰色',
|
|
113
|
+
Pink: '粉色',
|
|
114
|
+
Red: '红色',
|
|
115
|
+
Orange: '橙色',
|
|
116
|
+
Cyan: '青色',
|
|
117
|
+
Lime: '青柠色',
|
|
118
|
+
Green: '绿色',
|
|
119
|
+
},
|
|
101
120
|
languages: {
|
|
102
121
|
auto: '自动检测',
|
|
103
122
|
en: '英语',
|
|
@@ -108,9 +127,12 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
|
|
|
108
127
|
ja: '日语',
|
|
109
128
|
pt: '葡萄牙语',
|
|
110
129
|
},
|
|
130
|
+
avatarColorLabel: (name) => '{name}头像'.replace('{name}', name),
|
|
111
131
|
shapeLabel: (name) => '{name}形状'.replace('{name}', name),
|
|
112
132
|
silhouetteLabel: (name) => '{name}轮廓'.replace('{name}', name),
|
|
113
133
|
livePreview: (name) => '{name},实时头像预览'.replace('{name}', name),
|
|
134
|
+
saturationBrightnessValue: (s, v) =>
|
|
135
|
+
'饱和度{s}%,亮度{v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
|
|
114
136
|
playbackSpeedLabel: (speed) => '播放速度{speed}倍'.replace('{speed}', String(speed)),
|
|
115
137
|
};
|
|
116
138
|
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parseAvatarCharacter,
|
|
6
6
|
} from '../agent-avatar';
|
|
7
7
|
import { withoutPaint } from '../agent-creator/paint';
|
|
8
|
-
import {
|
|
8
|
+
import { FREE_COLOR_NAMES, resolveProfileColor } from '../theme/color-presets';
|
|
9
9
|
import { pickMessages, formatMessage } from '../locale/messages';
|
|
10
10
|
import { MULTI_AGENT_CHAT_MESSAGES } from './messages';
|
|
11
11
|
|
|
@@ -42,9 +42,11 @@ export type Workspace = {
|
|
|
42
42
|
installedPlugins?: string[];
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
/** A saved colour:
|
|
45
|
+
/** A saved colour: any account colour Bloom can draw (a preset key or a `#rrggbb`), else the default. */
|
|
46
46
|
function readColor(saved: unknown): string {
|
|
47
|
-
return typeof saved === 'string' && saved
|
|
47
|
+
return typeof saved === 'string' && resolveProfileColor(saved) !== undefined
|
|
48
|
+
? saved
|
|
49
|
+
: DEFAULT_AGENT_COLOR;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A focused entry for the selected-agents preview alone: the `multi-agent-chat` barrel is the whole
|
|
3
|
+
* multi-agent template (its chat, sidebar, marketplace, agent creator and settings pages), which an
|
|
4
|
+
* app that only shows who is in a group should not link.
|
|
5
|
+
*/
|
|
6
|
+
export { previewAvatarGeometry, SelectedAgentPreview } from './SelectedAgentPreview';
|