@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.
Files changed (245) hide show
  1. package/docs/adoption-matrix.mdx +6 -7
  2. package/docs/agent-avatar.mdx +8 -5
  3. package/docs/agent-creator.mdx +13 -11
  4. package/docs/multi-agent-chat.mdx +6 -2
  5. package/docs/public-parts.mdx +2 -2
  6. package/docs/task-catalog.json +1 -1
  7. package/docs/task-catalog.mdx +1 -1
  8. package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js +16 -11
  9. package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js.map +1 -1
  10. package/lib/commonjs/agent-avatar/character.js +4 -4
  11. package/lib/commonjs/agent-avatar/use-static-portraits.js +51 -0
  12. package/lib/commonjs/agent-avatar/use-static-portraits.js.map +1 -0
  13. package/lib/commonjs/agent-creator/AgentCreator.js +4 -0
  14. package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -1
  15. package/lib/commonjs/agent-creator/AgentCreator.web.js +12 -8
  16. package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -1
  17. package/lib/commonjs/agent-creator/AgentCreatorBase.js +93 -48
  18. package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
  19. package/lib/commonjs/agent-creator/CustomColorPicker.js +431 -0
  20. package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
  21. package/lib/commonjs/agent-creator/GlossArt.js +212 -0
  22. package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
  23. package/lib/commonjs/agent-creator/ShapeSilhouette.js +4 -3
  24. package/lib/commonjs/agent-creator/ShapeSilhouette.js.map +1 -1
  25. package/lib/commonjs/agent-creator/context.js.map +1 -1
  26. package/lib/commonjs/agent-creator/messages.js +22 -1
  27. package/lib/commonjs/agent-creator/messages.js.map +1 -1
  28. package/lib/commonjs/agent-creator/paint.js +19 -7
  29. package/lib/commonjs/agent-creator/paint.js.map +1 -1
  30. package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
  31. package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
  32. package/lib/commonjs/agent-creator/shared.js +28 -0
  33. package/lib/commonjs/agent-creator/shared.js.map +1 -1
  34. package/lib/commonjs/locale/translations/ar.js +22 -1
  35. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  36. package/lib/commonjs/locale/translations/bn.js +22 -1
  37. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  38. package/lib/commonjs/locale/translations/ca.js +22 -1
  39. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  40. package/lib/commonjs/locale/translations/de.js +22 -1
  41. package/lib/commonjs/locale/translations/de.js.map +1 -1
  42. package/lib/commonjs/locale/translations/es.js +22 -1
  43. package/lib/commonjs/locale/translations/es.js.map +1 -1
  44. package/lib/commonjs/locale/translations/fr.js +22 -1
  45. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  46. package/lib/commonjs/locale/translations/hi.js +22 -1
  47. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  48. package/lib/commonjs/locale/translations/id.js +22 -1
  49. package/lib/commonjs/locale/translations/id.js.map +1 -1
  50. package/lib/commonjs/locale/translations/it.js +22 -1
  51. package/lib/commonjs/locale/translations/it.js.map +1 -1
  52. package/lib/commonjs/locale/translations/ja.js +22 -1
  53. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  54. package/lib/commonjs/locale/translations/pt.js +22 -1
  55. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  56. package/lib/commonjs/locale/translations/ru.js +22 -1
  57. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  58. package/lib/commonjs/locale/translations/tr.js +22 -1
  59. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  60. package/lib/commonjs/locale/translations/zh.js +22 -1
  61. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  62. package/lib/commonjs/multi-agent-chat/data.js +2 -2
  63. package/lib/commonjs/multi-agent-chat/data.js.map +1 -1
  64. package/lib/commonjs/multi-agent-chat/selected-agent-preview.js +19 -0
  65. package/lib/commonjs/multi-agent-chat/selected-agent-preview.js.map +1 -0
  66. package/lib/module/agent-avatar/VectorCharacterAvatar.js +16 -11
  67. package/lib/module/agent-avatar/VectorCharacterAvatar.js.map +1 -1
  68. package/lib/module/agent-avatar/character.js +4 -4
  69. package/lib/module/agent-avatar/use-static-portraits.js +44 -0
  70. package/lib/module/agent-avatar/use-static-portraits.js.map +1 -0
  71. package/lib/module/agent-creator/AgentCreator.js +4 -0
  72. package/lib/module/agent-creator/AgentCreator.js.map +1 -1
  73. package/lib/module/agent-creator/AgentCreator.web.js +4 -0
  74. package/lib/module/agent-creator/AgentCreator.web.js.map +1 -1
  75. package/lib/module/agent-creator/AgentCreatorBase.js +89 -44
  76. package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
  77. package/lib/module/agent-creator/CustomColorPicker.js +426 -0
  78. package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
  79. package/lib/module/agent-creator/GlossArt.js +207 -0
  80. package/lib/module/agent-creator/GlossArt.js.map +1 -0
  81. package/lib/module/agent-creator/ShapeSilhouette.js +4 -3
  82. package/lib/module/agent-creator/ShapeSilhouette.js.map +1 -1
  83. package/lib/module/agent-creator/context.js.map +1 -1
  84. package/lib/module/agent-creator/messages.js +22 -1
  85. package/lib/module/agent-creator/messages.js.map +1 -1
  86. package/lib/module/agent-creator/paint.js +18 -7
  87. package/lib/module/agent-creator/paint.js.map +1 -1
  88. package/lib/module/agent-creator/rainbow-artwork.js +6 -0
  89. package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
  90. package/lib/module/agent-creator/shared.js +26 -0
  91. package/lib/module/agent-creator/shared.js.map +1 -1
  92. package/lib/module/locale/translations/ar.js +22 -1
  93. package/lib/module/locale/translations/ar.js.map +1 -1
  94. package/lib/module/locale/translations/bn.js +22 -1
  95. package/lib/module/locale/translations/bn.js.map +1 -1
  96. package/lib/module/locale/translations/ca.js +22 -1
  97. package/lib/module/locale/translations/ca.js.map +1 -1
  98. package/lib/module/locale/translations/de.js +22 -1
  99. package/lib/module/locale/translations/de.js.map +1 -1
  100. package/lib/module/locale/translations/es.js +22 -1
  101. package/lib/module/locale/translations/es.js.map +1 -1
  102. package/lib/module/locale/translations/fr.js +22 -1
  103. package/lib/module/locale/translations/fr.js.map +1 -1
  104. package/lib/module/locale/translations/hi.js +22 -1
  105. package/lib/module/locale/translations/hi.js.map +1 -1
  106. package/lib/module/locale/translations/id.js +22 -1
  107. package/lib/module/locale/translations/id.js.map +1 -1
  108. package/lib/module/locale/translations/it.js +22 -1
  109. package/lib/module/locale/translations/it.js.map +1 -1
  110. package/lib/module/locale/translations/ja.js +22 -1
  111. package/lib/module/locale/translations/ja.js.map +1 -1
  112. package/lib/module/locale/translations/pt.js +22 -1
  113. package/lib/module/locale/translations/pt.js.map +1 -1
  114. package/lib/module/locale/translations/ru.js +22 -1
  115. package/lib/module/locale/translations/ru.js.map +1 -1
  116. package/lib/module/locale/translations/tr.js +22 -1
  117. package/lib/module/locale/translations/tr.js.map +1 -1
  118. package/lib/module/locale/translations/zh.js +22 -1
  119. package/lib/module/locale/translations/zh.js.map +1 -1
  120. package/lib/module/multi-agent-chat/data.js +3 -3
  121. package/lib/module/multi-agent-chat/data.js.map +1 -1
  122. package/lib/module/multi-agent-chat/selected-agent-preview.js +9 -0
  123. package/lib/module/multi-agent-chat/selected-agent-preview.js.map +1 -0
  124. package/lib/typescript/commonjs/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
  125. package/lib/typescript/commonjs/agent-avatar/character.d.ts +4 -4
  126. package/lib/typescript/commonjs/agent-avatar/use-static-portraits.d.ts +16 -0
  127. package/lib/typescript/commonjs/agent-avatar/use-static-portraits.d.ts.map +1 -0
  128. package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -1
  129. package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -1
  130. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
  131. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +9 -0
  132. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
  133. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
  134. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts +1 -1
  136. package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts.map +1 -1
  137. package/lib/typescript/commonjs/agent-creator/context.d.ts +13 -1
  138. package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -1
  139. package/lib/typescript/commonjs/agent-creator/messages.d.ts +11 -0
  140. package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
  141. package/lib/typescript/commonjs/agent-creator/paint.d.ts +9 -4
  142. package/lib/typescript/commonjs/agent-creator/paint.d.ts.map +1 -1
  143. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
  144. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/agent-creator/shared.d.ts +7 -0
  146. package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/agent-creator/types.d.ts +4 -7
  148. package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -1
  149. package/lib/typescript/commonjs/avatar/types.d.ts +1 -2
  150. package/lib/typescript/commonjs/avatar/types.d.ts.map +1 -1
  151. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  153. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  156. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  157. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  158. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  161. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  162. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  163. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  165. package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/multi-agent-chat/selected-agent-preview.d.ts +7 -0
  167. package/lib/typescript/commonjs/multi-agent-chat/selected-agent-preview.d.ts.map +1 -0
  168. package/lib/typescript/module/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
  169. package/lib/typescript/module/agent-avatar/character.d.ts +4 -4
  170. package/lib/typescript/module/agent-avatar/use-static-portraits.d.ts +16 -0
  171. package/lib/typescript/module/agent-avatar/use-static-portraits.d.ts.map +1 -0
  172. package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -1
  173. package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -1
  174. package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -1
  175. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +9 -0
  176. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
  177. package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
  178. package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
  179. package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts +1 -1
  180. package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts.map +1 -1
  181. package/lib/typescript/module/agent-creator/context.d.ts +13 -1
  182. package/lib/typescript/module/agent-creator/context.d.ts.map +1 -1
  183. package/lib/typescript/module/agent-creator/messages.d.ts +11 -0
  184. package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
  185. package/lib/typescript/module/agent-creator/paint.d.ts +9 -4
  186. package/lib/typescript/module/agent-creator/paint.d.ts.map +1 -1
  187. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
  188. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
  189. package/lib/typescript/module/agent-creator/shared.d.ts +7 -0
  190. package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -1
  191. package/lib/typescript/module/agent-creator/types.d.ts +4 -7
  192. package/lib/typescript/module/agent-creator/types.d.ts.map +1 -1
  193. package/lib/typescript/module/avatar/types.d.ts +1 -2
  194. package/lib/typescript/module/avatar/types.d.ts.map +1 -1
  195. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  196. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  197. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  198. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  199. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  200. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  201. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  202. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  203. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  204. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  205. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  206. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  207. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  208. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  209. package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -1
  210. package/lib/typescript/module/multi-agent-chat/selected-agent-preview.d.ts +7 -0
  211. package/lib/typescript/module/multi-agent-chat/selected-agent-preview.d.ts.map +1 -0
  212. package/package.json +18 -1
  213. package/src/__tests__/support/adoption-matrix.ts +0 -5
  214. package/src/agent-avatar/VectorCharacterAvatar.tsx +19 -16
  215. package/src/agent-avatar/character.ts +4 -4
  216. package/src/agent-avatar/use-static-portraits.ts +50 -0
  217. package/src/agent-creator/AgentCreator.tsx +4 -0
  218. package/src/agent-creator/AgentCreator.web.tsx +4 -0
  219. package/src/agent-creator/AgentCreatorBase.tsx +83 -39
  220. package/src/agent-creator/CustomColorPicker.tsx +443 -0
  221. package/src/agent-creator/GlossArt.tsx +160 -0
  222. package/src/agent-creator/ShapeSilhouette.tsx +4 -3
  223. package/src/agent-creator/context.ts +2 -0
  224. package/src/agent-creator/messages.ts +37 -1
  225. package/src/agent-creator/paint.ts +17 -7
  226. package/src/agent-creator/rainbow-artwork.ts +5 -0
  227. package/src/agent-creator/shared.ts +27 -0
  228. package/src/agent-creator/types.ts +4 -7
  229. package/src/avatar/types.ts +1 -2
  230. package/src/locale/translations/ar.ts +23 -1
  231. package/src/locale/translations/bn.ts +23 -1
  232. package/src/locale/translations/ca.ts +23 -1
  233. package/src/locale/translations/de.ts +23 -1
  234. package/src/locale/translations/es.ts +23 -1
  235. package/src/locale/translations/fr.ts +23 -1
  236. package/src/locale/translations/hi.ts +23 -1
  237. package/src/locale/translations/id.ts +23 -1
  238. package/src/locale/translations/it.ts +23 -1
  239. package/src/locale/translations/ja.ts +23 -1
  240. package/src/locale/translations/pt.ts +23 -1
  241. package/src/locale/translations/ru.ts +23 -1
  242. package/src/locale/translations/tr.ts +23 -1
  243. package/src/locale/translations/zh.ts +23 -1
  244. package/src/multi-agent-chat/data.ts +5 -3
  245. package/src/multi-agent-chat/selected-agent-preview.ts +6 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RAINBOW_LIGHT","exports","RAINBOW_DARK"],"sourceRoot":"../../../src","sources":["agent-creator/rainbow-artwork.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,aAAa,GAAAC,OAAA,CAAAD,aAAA,GACxB,4m6MAA4m6M;AACvm6M,MAAME,YAAY,GAAAD,OAAA,CAAAC,YAAA,GACvB,g8pIAAg8pI","ignoreList":[]}
@@ -3,6 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.hexToHsv = hexToHsv;
7
+ exports.hsvToHex = hsvToHex;
6
8
  exports.normalizeAgentPreferences = normalizeAgentPreferences;
7
9
  var _constants = require("./constants.js");
8
10
  function normalizeAgentPreferences(value) {
@@ -13,4 +15,30 @@ function normalizeAgentPreferences(value) {
13
15
  notifications: typeof value?.notifications === 'boolean' ? value.notifications : true
14
16
  };
15
17
  }
18
+ function hexToHsv(hex) {
19
+ const match = hex.trim().match(/^#?([0-9a-f]{6})$/i);
20
+ if (!match?.[1]) return null;
21
+ const [r = 0, g = 0, b = 0] = [0, 2, 4].map(i => parseInt(match[1].slice(i, i + 2), 16) / 255);
22
+ const max = Math.max(r, g, b),
23
+ min = Math.min(r, g, b),
24
+ delta = max - min;
25
+ let h = 0;
26
+ if (delta) h = max === r ? ((g - b) / delta + (g < b ? 6 : 0)) * 60 : max === g ? ((b - r) / delta + 2) * 60 : ((r - g) / delta + 4) * 60;
27
+ return {
28
+ h,
29
+ s: max === 0 ? 0 : delta / max,
30
+ v: max
31
+ };
32
+ }
33
+ function hsvToHex({
34
+ h,
35
+ s,
36
+ v
37
+ }) {
38
+ const channel = n => {
39
+ const k = (n + h / 60) % 6;
40
+ return Math.round((v - v * s * Math.max(0, Math.min(k, 4 - k, 1))) * 255).toString(16).padStart(2, '0');
41
+ };
42
+ return `#${channel(5)}${channel(3)}${channel(1)}`;
43
+ }
16
44
  //# sourceMappingURL=shared.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_constants","require","normalizeAgentPreferences","value","voice","slice","DEFAULT_AGENT_PREFERENCES","speed","AGENT_SPEECH_RATES","some","rate","language","AGENT_LANGUAGES","id","notifications"],"sourceRoot":"../../../src","sources":["agent-creator/shared.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAGO,SAASC,yBAAyBA,CACvCC,KAAmD,EACjC;EAClB,OAAO;IACLC,KAAK,EACH,OAAOD,KAAK,EAAEC,KAAK,KAAK,QAAQ,GAC5BD,KAAK,CAACC,KAAK,CAACC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,GACzBC,oCAAyB,CAACF,KAAK;IACrCG,KAAK,EAAEC,6BAAkB,CAACC,IAAI,CAAEC,IAAI,IAAKA,IAAI,KAAKP,KAAK,EAAEI,KAAK,CAAC,GAAGJ,KAAK,CAAEI,KAAK,GAAI,CAAC;IACnFI,QAAQ,EAAEC,0BAAe,CAACH,IAAI,CAAEE,QAAQ,IAAKA,QAAQ,CAACE,EAAE,KAAKV,KAAK,EAAEQ,QAAQ,CAAC,GACzER,KAAK,CAAEQ,QAAQ,GACf,MAAM;IACVG,aAAa,EAAE,OAAOX,KAAK,EAAEW,aAAa,KAAK,SAAS,GAAGX,KAAK,CAACW,aAAa,GAAG;EACnF,CAAC;AACH","ignoreList":[]}
1
+ {"version":3,"names":["_constants","require","normalizeAgentPreferences","value","voice","slice","DEFAULT_AGENT_PREFERENCES","speed","AGENT_SPEECH_RATES","some","rate","language","AGENT_LANGUAGES","id","notifications","hexToHsv","hex","match","trim","r","g","b","map","i","parseInt","max","Math","min","delta","h","s","v","hsvToHex","channel","n","k","round","toString","padStart"],"sourceRoot":"../../../src","sources":["agent-creator/shared.ts"],"mappings":"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","ignoreList":[]}
@@ -47,7 +47,8 @@ const AGENT_CREATOR_MESSAGES = {
47
47
  newBot: 'روبوت جديد',
48
48
  closeEditor: 'إغلاق محرر الوكيل',
49
49
  details: 'مظهر الوكيل وتفاصيله',
50
- color: 'اللون',
50
+ color: 'لون الصورة الرمزية',
51
+ customColor: 'لون مخصص للصورة الرمزية',
51
52
  name: 'الاسم',
52
53
  label: 'التسمية',
53
54
  description: 'الوصف',
@@ -70,6 +71,13 @@ const AGENT_CREATOR_MESSAGES = {
70
71
  playbackSpeed: 'سرعة التشغيل',
71
72
  emotion: 'تعبير الوكيل',
72
73
  shape: 'شكل الصورة الرمزية',
74
+ hexColor: 'لون سداسي عشري',
75
+ hue: 'درجة اللون',
76
+ saturationBrightness: 'التشبع والسطوع',
77
+ increaseBrightness: 'زيادة السطوع',
78
+ decreaseBrightness: 'تقليل السطوع',
79
+ increaseHue: 'زيادة درجة اللون',
80
+ decreaseHue: 'تقليل درجة اللون',
73
81
  nextShape: 'الشكل التالي',
74
82
  previousShape: 'الشكل السابق',
75
83
  newAgent: 'وكيل جديد',
@@ -102,6 +110,17 @@ const AGENT_CREATOR_MESSAGES = {
102
110
  diamond: 'معين',
103
111
  shield: 'درع'
104
112
  },
113
+ colors: {
114
+ Blue: 'أزرق',
115
+ Teal: 'أخضر مزرق',
116
+ Violet: 'بنفسجي',
117
+ Pink: 'وردي',
118
+ Red: 'أحمر',
119
+ Orange: 'برتقالي',
120
+ Cyan: 'سماوي',
121
+ Lime: 'أخضر ليموني',
122
+ Green: 'أخضر'
123
+ },
105
124
  languages: {
106
125
  auto: 'اكتشاف تلقائي',
107
126
  en: 'الإنجليزية',
@@ -112,9 +131,11 @@ const AGENT_CREATOR_MESSAGES = {
112
131
  ja: 'اليابانية',
113
132
  pt: 'البرتغالية'
114
133
  },
134
+ avatarColorLabel: name => 'صورة رمزية {name}'.replace('{name}', name),
115
135
  shapeLabel: name => 'شكل {name}'.replace('{name}', name),
116
136
  silhouetteLabel: name => 'صورة ظلية {name}'.replace('{name}', name),
117
137
  livePreview: name => '{name}، معاينة مباشرة للصورة الرمزية'.replace('{name}', name),
138
+ saturationBrightnessValue: (s, v) => 'التشبع {s}٪، السطوع {v}٪'.replace('{s}', String(s)).replace('{v}', String(v)),
118
139
  playbackSpeedLabel: speed => 'سرعة التشغيل {speed} مرة'.replace('{speed}', String(speed))
119
140
  };
120
141
  const COMMON_MESSAGES = {