@oxy.so/bloom 19.10.3 → 20.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.
Files changed (313) hide show
  1. package/docs/adoption-matrix.mdx +8 -7
  2. package/docs/agent-avatar.mdx +42 -0
  3. package/docs/agent-creator.mdx +20 -14
  4. package/docs/empty-state.mdx +20 -1
  5. package/docs/multi-agent-chat.mdx +5 -0
  6. package/docs/task-catalog.json +1 -1
  7. package/docs/task-catalog.mdx +1 -1
  8. package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js +36 -17
  9. package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js.map +1 -1
  10. package/lib/commonjs/agent-avatar/character.js +27 -0
  11. package/lib/commonjs/agent-avatar/character.js.map +1 -1
  12. package/lib/commonjs/agent-avatar/index.js +6 -0
  13. package/lib/commonjs/agent-avatar/index.js.map +1 -1
  14. package/lib/commonjs/agent-avatar/vector-mood.js +129 -0
  15. package/lib/commonjs/agent-avatar/vector-mood.js.map +1 -0
  16. package/lib/commonjs/agent-creator/AgentCreator.js +0 -4
  17. package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -1
  18. package/lib/commonjs/agent-creator/AgentCreator.web.js +8 -12
  19. package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -1
  20. package/lib/commonjs/agent-creator/AgentCreatorBase.js +61 -99
  21. package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
  22. package/lib/commonjs/agent-creator/context.js.map +1 -1
  23. package/lib/commonjs/agent-creator/messages.js +1 -22
  24. package/lib/commonjs/agent-creator/messages.js.map +1 -1
  25. package/lib/commonjs/agent-creator/paint.js +47 -0
  26. package/lib/commonjs/agent-creator/paint.js.map +1 -0
  27. package/lib/commonjs/agent-creator/shared.js +0 -28
  28. package/lib/commonjs/agent-creator/shared.js.map +1 -1
  29. package/lib/commonjs/agent-creator/use-character-history.js +12 -9
  30. package/lib/commonjs/agent-creator/use-character-history.js.map +1 -1
  31. package/lib/commonjs/avatar/Avatar.js +12 -4
  32. package/lib/commonjs/avatar/Avatar.js.map +1 -1
  33. package/lib/commonjs/avatar/account.js +9 -3
  34. package/lib/commonjs/avatar/account.js.map +1 -1
  35. package/lib/commonjs/empty-state/constants.js +2 -0
  36. package/lib/commonjs/empty-state/constants.js.map +1 -1
  37. package/lib/commonjs/locale/translations/ar.js +1 -22
  38. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  39. package/lib/commonjs/locale/translations/bn.js +1 -22
  40. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  41. package/lib/commonjs/locale/translations/ca.js +1 -22
  42. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  43. package/lib/commonjs/locale/translations/de.js +1 -22
  44. package/lib/commonjs/locale/translations/de.js.map +1 -1
  45. package/lib/commonjs/locale/translations/es.js +1 -22
  46. package/lib/commonjs/locale/translations/es.js.map +1 -1
  47. package/lib/commonjs/locale/translations/fr.js +1 -22
  48. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  49. package/lib/commonjs/locale/translations/hi.js +1 -22
  50. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  51. package/lib/commonjs/locale/translations/id.js +1 -22
  52. package/lib/commonjs/locale/translations/id.js.map +1 -1
  53. package/lib/commonjs/locale/translations/it.js +1 -22
  54. package/lib/commonjs/locale/translations/it.js.map +1 -1
  55. package/lib/commonjs/locale/translations/ja.js +1 -22
  56. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  57. package/lib/commonjs/locale/translations/pt.js +1 -22
  58. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  59. package/lib/commonjs/locale/translations/ru.js +1 -22
  60. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  61. package/lib/commonjs/locale/translations/tr.js +1 -22
  62. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  63. package/lib/commonjs/locale/translations/zh.js +1 -22
  64. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  65. package/lib/commonjs/multi-agent-chat/Marketplace.js +1 -1
  66. package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -1
  67. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +6 -6
  68. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
  69. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +2 -1
  70. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
  71. package/lib/commonjs/multi-agent-chat/data.js +58 -39
  72. package/lib/commonjs/multi-agent-chat/data.js.map +1 -1
  73. package/lib/commonjs/multi-agent-chat/marketplace-data.js +21 -27
  74. package/lib/commonjs/multi-agent-chat/marketplace-data.js.map +1 -1
  75. package/lib/module/agent-avatar/VectorCharacterAvatar.js +36 -17
  76. package/lib/module/agent-avatar/VectorCharacterAvatar.js.map +1 -1
  77. package/lib/module/agent-avatar/character.js +26 -0
  78. package/lib/module/agent-avatar/character.js.map +1 -1
  79. package/lib/module/agent-avatar/index.js +1 -1
  80. package/lib/module/agent-avatar/index.js.map +1 -1
  81. package/lib/module/agent-avatar/vector-mood.js +117 -0
  82. package/lib/module/agent-avatar/vector-mood.js.map +1 -0
  83. package/lib/module/agent-creator/AgentCreator.js +0 -4
  84. package/lib/module/agent-creator/AgentCreator.js.map +1 -1
  85. package/lib/module/agent-creator/AgentCreator.web.js +0 -4
  86. package/lib/module/agent-creator/AgentCreator.web.js.map +1 -1
  87. package/lib/module/agent-creator/AgentCreatorBase.js +56 -94
  88. package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
  89. package/lib/module/agent-creator/context.js.map +1 -1
  90. package/lib/module/agent-creator/messages.js +1 -22
  91. package/lib/module/agent-creator/messages.js.map +1 -1
  92. package/lib/module/agent-creator/paint.js +42 -0
  93. package/lib/module/agent-creator/paint.js.map +1 -0
  94. package/lib/module/agent-creator/shared.js +0 -26
  95. package/lib/module/agent-creator/shared.js.map +1 -1
  96. package/lib/module/agent-creator/use-character-history.js +7 -4
  97. package/lib/module/agent-creator/use-character-history.js.map +1 -1
  98. package/lib/module/avatar/Avatar.js +12 -4
  99. package/lib/module/avatar/Avatar.js.map +1 -1
  100. package/lib/module/avatar/account.js +9 -3
  101. package/lib/module/avatar/account.js.map +1 -1
  102. package/lib/module/empty-state/constants.js +2 -0
  103. package/lib/module/empty-state/constants.js.map +1 -1
  104. package/lib/module/locale/translations/ar.js +1 -22
  105. package/lib/module/locale/translations/ar.js.map +1 -1
  106. package/lib/module/locale/translations/bn.js +1 -22
  107. package/lib/module/locale/translations/bn.js.map +1 -1
  108. package/lib/module/locale/translations/ca.js +1 -22
  109. package/lib/module/locale/translations/ca.js.map +1 -1
  110. package/lib/module/locale/translations/de.js +1 -22
  111. package/lib/module/locale/translations/de.js.map +1 -1
  112. package/lib/module/locale/translations/es.js +1 -22
  113. package/lib/module/locale/translations/es.js.map +1 -1
  114. package/lib/module/locale/translations/fr.js +1 -22
  115. package/lib/module/locale/translations/fr.js.map +1 -1
  116. package/lib/module/locale/translations/hi.js +1 -22
  117. package/lib/module/locale/translations/hi.js.map +1 -1
  118. package/lib/module/locale/translations/id.js +1 -22
  119. package/lib/module/locale/translations/id.js.map +1 -1
  120. package/lib/module/locale/translations/it.js +1 -22
  121. package/lib/module/locale/translations/it.js.map +1 -1
  122. package/lib/module/locale/translations/ja.js +1 -22
  123. package/lib/module/locale/translations/ja.js.map +1 -1
  124. package/lib/module/locale/translations/pt.js +1 -22
  125. package/lib/module/locale/translations/pt.js.map +1 -1
  126. package/lib/module/locale/translations/ru.js +1 -22
  127. package/lib/module/locale/translations/ru.js.map +1 -1
  128. package/lib/module/locale/translations/tr.js +1 -22
  129. package/lib/module/locale/translations/tr.js.map +1 -1
  130. package/lib/module/locale/translations/zh.js +1 -22
  131. package/lib/module/locale/translations/zh.js.map +1 -1
  132. package/lib/module/multi-agent-chat/Marketplace.js +2 -2
  133. package/lib/module/multi-agent-chat/Marketplace.js.map +1 -1
  134. package/lib/module/multi-agent-chat/MultiAgentChatBase.js +7 -7
  135. package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
  136. package/lib/module/multi-agent-chat/SelectedAgentPreview.js +2 -1
  137. package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
  138. package/lib/module/multi-agent-chat/data.js +58 -40
  139. package/lib/module/multi-agent-chat/data.js.map +1 -1
  140. package/lib/module/multi-agent-chat/marketplace-data.js +21 -27
  141. package/lib/module/multi-agent-chat/marketplace-data.js.map +1 -1
  142. package/lib/typescript/commonjs/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
  143. package/lib/typescript/commonjs/agent-avatar/character.d.ts +14 -0
  144. package/lib/typescript/commonjs/agent-avatar/character.d.ts.map +1 -1
  145. package/lib/typescript/commonjs/agent-avatar/index.d.ts +2 -2
  146. package/lib/typescript/commonjs/agent-avatar/index.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/agent-avatar/types.d.ts +14 -0
  148. package/lib/typescript/commonjs/agent-avatar/types.d.ts.map +1 -1
  149. package/lib/typescript/commonjs/agent-avatar/vector-mood.d.ts +61 -0
  150. package/lib/typescript/commonjs/agent-avatar/vector-mood.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -1
  153. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/agent-creator/context.d.ts +1 -13
  155. package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -1
  156. package/lib/typescript/commonjs/agent-creator/messages.d.ts +0 -11
  157. package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
  158. package/lib/typescript/commonjs/agent-creator/paint.d.ts +20 -0
  159. package/lib/typescript/commonjs/agent-creator/paint.d.ts.map +1 -0
  160. package/lib/typescript/commonjs/agent-creator/shared.d.ts +0 -7
  161. package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -1
  162. package/lib/typescript/commonjs/agent-creator/types.d.ts +14 -0
  163. package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/agent-creator/use-character-history.d.ts +6 -2
  165. package/lib/typescript/commonjs/agent-creator/use-character-history.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/avatar/Avatar.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/avatar/account.d.ts +4 -2
  168. package/lib/typescript/commonjs/avatar/account.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/avatar/types.d.ts +6 -0
  170. package/lib/typescript/commonjs/avatar/types.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/empty-state/constants.d.ts +5 -0
  172. package/lib/typescript/commonjs/empty-state/constants.d.ts.map +1 -1
  173. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  175. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  176. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  180. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts +1 -1
  190. package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/multi-agent-chat/data.d.ts +4 -1
  192. package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts +3 -0
  194. package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts.map +1 -1
  195. package/lib/typescript/module/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
  196. package/lib/typescript/module/agent-avatar/character.d.ts +14 -0
  197. package/lib/typescript/module/agent-avatar/character.d.ts.map +1 -1
  198. package/lib/typescript/module/agent-avatar/index.d.ts +2 -2
  199. package/lib/typescript/module/agent-avatar/index.d.ts.map +1 -1
  200. package/lib/typescript/module/agent-avatar/types.d.ts +14 -0
  201. package/lib/typescript/module/agent-avatar/types.d.ts.map +1 -1
  202. package/lib/typescript/module/agent-avatar/vector-mood.d.ts +61 -0
  203. package/lib/typescript/module/agent-avatar/vector-mood.d.ts.map +1 -0
  204. package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -1
  205. package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -1
  206. package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -1
  207. package/lib/typescript/module/agent-creator/context.d.ts +1 -13
  208. package/lib/typescript/module/agent-creator/context.d.ts.map +1 -1
  209. package/lib/typescript/module/agent-creator/messages.d.ts +0 -11
  210. package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
  211. package/lib/typescript/module/agent-creator/paint.d.ts +20 -0
  212. package/lib/typescript/module/agent-creator/paint.d.ts.map +1 -0
  213. package/lib/typescript/module/agent-creator/shared.d.ts +0 -7
  214. package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -1
  215. package/lib/typescript/module/agent-creator/types.d.ts +14 -0
  216. package/lib/typescript/module/agent-creator/types.d.ts.map +1 -1
  217. package/lib/typescript/module/agent-creator/use-character-history.d.ts +6 -2
  218. package/lib/typescript/module/agent-creator/use-character-history.d.ts.map +1 -1
  219. package/lib/typescript/module/avatar/Avatar.d.ts.map +1 -1
  220. package/lib/typescript/module/avatar/account.d.ts +4 -2
  221. package/lib/typescript/module/avatar/account.d.ts.map +1 -1
  222. package/lib/typescript/module/avatar/types.d.ts +6 -0
  223. package/lib/typescript/module/avatar/types.d.ts.map +1 -1
  224. package/lib/typescript/module/empty-state/constants.d.ts +5 -0
  225. package/lib/typescript/module/empty-state/constants.d.ts.map +1 -1
  226. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  227. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  228. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  229. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  230. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  231. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  232. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  233. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  234. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  235. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  236. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  237. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  238. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  239. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  240. package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts.map +1 -1
  241. package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
  242. package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts +1 -1
  243. package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -1
  244. package/lib/typescript/module/multi-agent-chat/data.d.ts +4 -1
  245. package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -1
  246. package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts +3 -0
  247. package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts.map +1 -1
  248. package/package.json +1 -1
  249. package/src/__tests__/support/adoption-matrix.ts +5 -0
  250. package/src/agent-avatar/VectorCharacterAvatar.tsx +39 -10
  251. package/src/agent-avatar/character.ts +30 -0
  252. package/src/agent-avatar/index.ts +2 -1
  253. package/src/agent-avatar/types.ts +15 -0
  254. package/src/agent-avatar/vector-mood.ts +140 -0
  255. package/src/agent-creator/AgentCreator.tsx +0 -4
  256. package/src/agent-creator/AgentCreator.web.tsx +0 -4
  257. package/src/agent-creator/AgentCreatorBase.tsx +51 -89
  258. package/src/agent-creator/context.ts +0 -2
  259. package/src/agent-creator/messages.ts +1 -37
  260. package/src/agent-creator/paint.ts +48 -0
  261. package/src/agent-creator/shared.ts +0 -27
  262. package/src/agent-creator/types.ts +14 -0
  263. package/src/agent-creator/use-character-history.ts +8 -4
  264. package/src/avatar/Avatar.tsx +13 -3
  265. package/src/avatar/account.ts +9 -3
  266. package/src/avatar/types.ts +6 -0
  267. package/src/empty-state/constants.ts +7 -0
  268. package/src/locale/translations/ar.ts +1 -23
  269. package/src/locale/translations/bn.ts +1 -23
  270. package/src/locale/translations/ca.ts +1 -23
  271. package/src/locale/translations/de.ts +1 -23
  272. package/src/locale/translations/es.ts +1 -23
  273. package/src/locale/translations/fr.ts +1 -23
  274. package/src/locale/translations/hi.ts +1 -23
  275. package/src/locale/translations/id.ts +1 -23
  276. package/src/locale/translations/it.ts +1 -23
  277. package/src/locale/translations/ja.ts +1 -23
  278. package/src/locale/translations/pt.ts +1 -23
  279. package/src/locale/translations/ru.ts +1 -23
  280. package/src/locale/translations/tr.ts +1 -23
  281. package/src/locale/translations/zh.ts +1 -23
  282. package/src/multi-agent-chat/Marketplace.tsx +6 -2
  283. package/src/multi-agent-chat/MultiAgentChatBase.tsx +7 -6
  284. package/src/multi-agent-chat/SelectedAgentPreview.tsx +2 -2
  285. package/src/multi-agent-chat/data.ts +58 -27
  286. package/src/multi-agent-chat/marketplace-data.ts +28 -9
  287. package/lib/commonjs/agent-creator/CustomColorPicker.js +0 -431
  288. package/lib/commonjs/agent-creator/CustomColorPicker.js.map +0 -1
  289. package/lib/commonjs/agent-creator/GlossArt.js +0 -212
  290. package/lib/commonjs/agent-creator/GlossArt.js.map +0 -1
  291. package/lib/commonjs/agent-creator/rainbow-artwork.js +0 -10
  292. package/lib/commonjs/agent-creator/rainbow-artwork.js.map +0 -1
  293. package/lib/module/agent-creator/CustomColorPicker.js +0 -426
  294. package/lib/module/agent-creator/CustomColorPicker.js.map +0 -1
  295. package/lib/module/agent-creator/GlossArt.js +0 -207
  296. package/lib/module/agent-creator/GlossArt.js.map +0 -1
  297. package/lib/module/agent-creator/rainbow-artwork.js +0 -6
  298. package/lib/module/agent-creator/rainbow-artwork.js.map +0 -1
  299. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +0 -9
  300. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +0 -1
  301. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +0 -9
  302. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +0 -1
  303. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +0 -3
  304. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +0 -1
  305. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +0 -9
  306. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +0 -1
  307. package/lib/typescript/module/agent-creator/GlossArt.d.ts +0 -9
  308. package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +0 -1
  309. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +0 -3
  310. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +0 -1
  311. package/src/agent-creator/CustomColorPicker.tsx +0 -443
  312. package/src/agent-creator/GlossArt.tsx +0 -160
  313. package/src/agent-creator/rainbow-artwork.ts +0 -5
@@ -16,7 +16,6 @@ export interface AgentCreatorMessages {
16
16
  closeEditor: string;
17
17
  details: string;
18
18
  color: string;
19
- customColor: string;
20
19
  name: string;
21
20
  label: string;
22
21
  description: string;
@@ -39,13 +38,6 @@ export interface AgentCreatorMessages {
39
38
  playbackSpeed: string;
40
39
  emotion: string;
41
40
  shape: string;
42
- hexColor: string;
43
- hue: string;
44
- saturationBrightness: string;
45
- increaseBrightness: string;
46
- decreaseBrightness: string;
47
- increaseHue: string;
48
- decreaseHue: string;
49
41
  nextShape: string;
50
42
  previousShape: string;
51
43
  newAgent: string;
@@ -72,16 +64,10 @@ export interface AgentCreatorMessages {
72
64
  'slender' | 'pocket' | 'petal' | 'flower' | 'star' | 'heart' | 'cloud' | 'diamond' | 'shield',
73
65
  string
74
66
  >;
75
- colors: Record<
76
- 'Blue' | 'Teal' | 'Violet' | 'Pink' | 'Red' | 'Orange' | 'Cyan' | 'Lime' | 'Green',
77
- string
78
- >;
79
67
  languages: Record<'auto' | 'en' | 'tr' | 'es' | 'fr' | 'de' | 'ja' | 'pt', string>;
80
- avatarColorLabel: (name: string) => string;
81
68
  shapeLabel: (name: string) => string;
82
69
  silhouetteLabel: (name: string) => string;
83
70
  livePreview: (name: string) => string;
84
- saturationBrightnessValue: (s: number, v: number) => string;
85
71
  playbackSpeedLabel: (speed: number) => string;
86
72
  }
87
73
 
@@ -101,8 +87,7 @@ export const AGENT_CREATOR_MESSAGES: MessageCatalog<AgentCreatorMessages> =
101
87
  newBot: 'New bot',
102
88
  closeEditor: 'Close agent editor',
103
89
  details: 'Agent appearance and details',
104
- color: 'Avatar color',
105
- customColor: 'Custom avatar color',
90
+ color: 'Color',
106
91
  name: 'Name',
107
92
  label: 'Label',
108
93
  description: 'Description',
@@ -125,13 +110,6 @@ export const AGENT_CREATOR_MESSAGES: MessageCatalog<AgentCreatorMessages> =
125
110
  playbackSpeed: 'Playback speed',
126
111
  emotion: 'Agent emotion',
127
112
  shape: 'Avatar shape',
128
- hexColor: 'Hex color',
129
- hue: 'Hue',
130
- saturationBrightness: 'Saturation and brightness',
131
- increaseBrightness: 'Increase brightness',
132
- decreaseBrightness: 'Decrease brightness',
133
- increaseHue: 'Increase hue',
134
- decreaseHue: 'Decrease hue',
135
113
  nextShape: 'Next shape',
136
114
  previousShape: 'Previous shape',
137
115
  newAgent: 'New agent',
@@ -164,17 +142,6 @@ export const AGENT_CREATOR_MESSAGES: MessageCatalog<AgentCreatorMessages> =
164
142
  diamond: 'Diamond',
165
143
  shield: 'Shield',
166
144
  },
167
- colors: {
168
- Blue: 'Blue',
169
- Teal: 'Teal',
170
- Violet: 'Violet',
171
- Pink: 'Pink',
172
- Red: 'Red',
173
- Orange: 'Orange',
174
- Cyan: 'Cyan',
175
- Lime: 'Lime',
176
- Green: 'Green',
177
- },
178
145
  languages: {
179
146
  auto: 'Auto-detect',
180
147
  en: 'English',
@@ -185,11 +152,8 @@ export const AGENT_CREATOR_MESSAGES: MessageCatalog<AgentCreatorMessages> =
185
152
  ja: 'Japanese',
186
153
  pt: 'Portuguese',
187
154
  },
188
- avatarColorLabel: (name) => '{name} avatar'.replace('{name}', name),
189
155
  shapeLabel: (name) => '{name} shape'.replace('{name}', name),
190
156
  silhouetteLabel: (name) => '{name} silhouette'.replace('{name}', name),
191
157
  livePreview: (name) => '{name}, live avatar preview'.replace('{name}', name),
192
- saturationBrightnessValue: (s, v) =>
193
- 'saturation {s}%, brightness {v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
194
158
  playbackSpeedLabel: (speed) => '{speed} times playback speed'.replace('{speed}', String(speed)),
195
159
  });
@@ -0,0 +1,48 @@
1
+ import {
2
+ avatarCharacterInColor,
3
+ resolveAvatarCharacter,
4
+ tryResolveAvatarCharacter,
5
+ type AvatarCharacter,
6
+ } from '../agent-avatar/character';
7
+ import { FREE_COLOR_NAMES } from '../theme/color-presets';
8
+
9
+ /**
10
+ * The creator's colour is the agent's account colour (`agent.color`), never the character's: a
11
+ * character it hands back carries its parts and no paint, and every character it draws is painted
12
+ * in the account's colour here.
13
+ */
14
+
15
+ /** A character without its paint: what the creator emits. */
16
+ export function withoutPaint(character: AvatarCharacter): AvatarCharacter {
17
+ const parts: AvatarCharacter = { ...character };
18
+ delete parts.color;
19
+ delete parts.bodyColor;
20
+ return parts;
21
+ }
22
+
23
+ /**
24
+ * The character as the creator draws it: in the agent's colour. A colour Bloom cannot resolve
25
+ * leaves the character's own paint (or its preset's); a character with neither wears the first
26
+ * colour the creator offers, so nothing it draws is undrawable.
27
+ */
28
+ export function drawnCharacter(
29
+ character: AvatarCharacter,
30
+ color: string | null | undefined,
31
+ colors: readonly string[],
32
+ ): AvatarCharacter {
33
+ const painted = avatarCharacterInColor(character, color);
34
+ if (tryResolveAvatarCharacter(painted)) return painted;
35
+ return avatarCharacterInColor(character, colors[0] ?? FREE_COLOR_NAMES[0]);
36
+ }
37
+
38
+ /**
39
+ * What a character IS, for comparing two of them: its resolved parts, paint left out (the paint is
40
+ * the account's). Two spellings of one character (a preset, or its parts written out) compare equal.
41
+ */
42
+ export function characterPartsKey(character: AvatarCharacter): string {
43
+ const parts: Partial<ReturnType<typeof resolveAvatarCharacter>> = resolveAvatarCharacter(
44
+ drawnCharacter(character, undefined, FREE_COLOR_NAMES),
45
+ );
46
+ delete parts.paint;
47
+ return JSON.stringify(parts);
48
+ }
@@ -16,30 +16,3 @@ export function normalizeAgentPreferences(
16
16
  notifications: typeof value?.notifications === 'boolean' ? value.notifications : true,
17
17
  };
18
18
  }
19
- export type Hsv = { h: number; s: number; v: number };
20
- export function hexToHsv(hex: string): Hsv | null {
21
- const match = hex.trim().match(/^#?([0-9a-f]{6})$/i);
22
- if (!match?.[1]) return null;
23
- const [r = 0, g = 0, b = 0] = [0, 2, 4].map((i) => parseInt(match[1]!.slice(i, i + 2), 16) / 255);
24
- const max = Math.max(r, g, b),
25
- min = Math.min(r, g, b),
26
- delta = max - min;
27
- let h = 0;
28
- if (delta)
29
- h =
30
- max === r
31
- ? ((g - b) / delta + (g < b ? 6 : 0)) * 60
32
- : max === g
33
- ? ((b - r) / delta + 2) * 60
34
- : ((r - g) / delta + 4) * 60;
35
- return { h, s: max === 0 ? 0 : delta / max, v: max };
36
- }
37
- export function hsvToHex({ h, s, v }: Hsv) {
38
- const channel = (n: number) => {
39
- const k = (n + h / 60) % 6;
40
- return Math.round((v - v * s * Math.max(0, Math.min(k, 4 - k, 1))) * 255)
41
- .toString(16)
42
- .padStart(2, '0');
43
- };
44
- return `#${channel(5)}${channel(3)}${channel(1)}`;
45
- }
@@ -15,7 +15,16 @@ export type AgentCreatorAgent = {
15
15
  name: string;
16
16
  label: string;
17
17
  description: string;
18
+ /**
19
+ * The character's parts (shape, eyes, eyewear, accessory, preset, eye spacing). The creator
20
+ * hands it back without paint: the agent's colour is `color`, never the character's.
21
+ */
18
22
  avatar: AvatarCharacter;
23
+ /**
24
+ * The agent's colour: its account's, a Bloom colour preset key (`User.color` in Oxy). It paints
25
+ * the avatar, and the colour control changes it (`onChange` with a new `color`).
26
+ */
27
+ color: string;
19
28
  preferences?: AgentPreferences;
20
29
  };
21
30
  export type AgentVoice = { id: string; name: string; language: string };
@@ -25,6 +34,11 @@ export interface AgentCreatorProps {
25
34
  agent: AgentCreatorAgent;
26
35
  onChange: (agent: AgentCreatorAgent) => void;
27
36
  onClose?: () => void;
37
+ /**
38
+ * The colour preset keys the colour control offers, in order. Default `FREE_COLOR_NAMES`. A host
39
+ * passes exactly what its account service accepts, so no colour offered is refused on save.
40
+ */
41
+ colors?: readonly string[];
28
42
  className?: string;
29
43
  style?: StyleProp<ViewStyle>;
30
44
  /** Native hosts can supply their speech provider's catalog. Web uses local device voices by default. */
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useRef, useState } from 'react';
2
- import { resolveAvatarCharacter, type AvatarCharacter } from '../agent-avatar/character';
2
+ import type { AvatarCharacter } from '../agent-avatar/character';
3
+ import { characterPartsKey as key, withoutPaint } from './paint';
3
4
  import type { AgentCreatorAgent } from './types';
4
- const key = (value: AvatarCharacter) => JSON.stringify(resolveAvatarCharacter(value));
5
5
  const snapshot = (value: AvatarCharacter): AvatarCharacter => Object.freeze({ ...value });
6
6
  const LIMIT = 50;
7
7
  const createHistory = (agent: AgentCreatorAgent) => ({
@@ -14,7 +14,11 @@ const createHistory = (agent: AgentCreatorAgent) => ({
14
14
  transaction: undefined as AvatarCharacter | undefined,
15
15
  });
16
16
 
17
- /** Character-only history. Parent echoes acknowledge edits; unrelated profile data never enters history. */
17
+ /**
18
+ * Character-only history. Parent echoes acknowledge edits; unrelated profile data never enters
19
+ * history. Characters compare by their parts and are emitted without paint: the colour is the
20
+ * agent's (`agent.color`), not the character's, so a colour change is not a character edit.
21
+ */
18
22
  export function useCharacterHistory(
19
23
  agent: AgentCreatorAgent,
20
24
  onChange: (agent: AgentCreatorAgent) => void,
@@ -39,7 +43,7 @@ export function useCharacterHistory(
39
43
  }
40
44
  const emit = useCallback((value: AvatarCharacter) => {
41
45
  const s = state.current!;
42
- s.current = snapshot(value);
46
+ s.current = snapshot(withoutPaint(value));
43
47
  s.pending.add(key(value));
44
48
  // Only unacknowledged own writes are retained, with a fixed bound during deferred parent updates.
45
49
  if (s.pending.size > 128) s.pending.delete(s.pending.values().next().value!);
@@ -391,10 +391,20 @@ const AvatarComponent: React.FC<AvatarProps> = ({
391
391
 
392
392
  // Resolution order: character, then image, then initials.
393
393
  // An invalid stored character resolves to nothing, which sends this avatar to its image.
394
- const pickedCharacter = pickAccountCharacter({ character, account });
394
+ // A bot account's character is painted in the account's colour: a new object per call, so the
395
+ // memo keys are what it is made of, not the object.
396
+ const accountKind = account?.kind;
397
+ const accountCharacter = account?.character;
398
+ const accountColor = account?.color;
395
399
  const resolvedCharacter = useMemo(
396
- () => tryResolveAvatarCharacter(pickedCharacter),
397
- [pickedCharacter],
400
+ () =>
401
+ tryResolveAvatarCharacter(
402
+ pickAccountCharacter({
403
+ character,
404
+ account: { kind: accountKind, character: accountCharacter, color: accountColor },
405
+ }),
406
+ ),
407
+ [character, accountKind, accountCharacter, accountColor],
398
408
  );
399
409
  const placeholderProps = {
400
410
  shape,
@@ -1,3 +1,4 @@
1
+ import { avatarCharacterInColor, type AvatarCharacter } from '../agent-avatar/character';
1
2
  import type { AvatarAccount, AvatarProps } from './types';
2
3
 
3
4
  /** The text that names an account: its display name, else its handle. */
@@ -14,13 +15,18 @@ export function accountName(account: AvatarAccount | undefined): string | undefi
14
15
 
15
16
  /**
16
17
  * The one answer to "which character does this avatar carry": an explicit `character` wins
17
- * (`null` opts out), else the character of a bot account. Returns the stored object itself, so a
18
- * caller can memoize on it; resolve it with `tryResolveAvatarCharacter`.
18
+ * (`null` opts out), else the character of a bot account painted in the account's own `color`
19
+ * (`avatarCharacterInColor`). Resolve it with `tryResolveAvatarCharacter`. A painted character is
20
+ * a new object each call, so a caller memoizes on `character`, `account.character` and
21
+ * `account.color` rather than on the result.
19
22
  */
20
23
  export function pickAccountCharacter({
21
24
  character,
22
25
  account,
23
26
  }: Pick<AvatarProps, 'character' | 'account'>): unknown {
24
27
  if (character !== undefined) return character;
25
- return account?.kind === 'bot' ? account.character : undefined;
28
+ if (account?.kind !== 'bot') return undefined;
29
+ const stored = account.character;
30
+ if (!stored || typeof stored !== 'object' || Array.isArray(stored)) return stored;
31
+ return avatarCharacterInColor(stored as AvatarCharacter, account.color);
26
32
  }
@@ -17,6 +17,12 @@ export interface AvatarAccount {
17
17
  avatar?: string | null;
18
18
  /** Stored bot character data, validated before rendering. Unknown recipes fall back to its image. */
19
19
  character?: unknown;
20
+ /**
21
+ * The account's colour, as Oxy stores `User.color`: a Bloom colour preset key (or a legacy
22
+ * `#rrggbb`). A bot's character is drawn in it (`avatarCharacterInColor`), so a bot looks the
23
+ * colour of its account everywhere its account is drawn.
24
+ */
25
+ color?: string | null;
20
26
  username?: string | null;
21
27
  /** A display name, or the account service's structured name. */
22
28
  name?: string | { displayName?: string; full?: string; first?: string; last?: string } | null;
@@ -6,6 +6,11 @@ export interface EmptyStateGeometry {
6
6
  glyph: number;
7
7
  /** `IconCircle`'s rung. `lg` is 52, `xl` is 64. */
8
8
  circle: 'lg' | 'xl';
9
+ /**
10
+ * The box for a figure passed as `illustration`: an agent's avatar, a picture. Larger than the
11
+ * disc because a character has to be read (its face, its gesture), not just recognised.
12
+ */
13
+ illustration: number;
9
14
  /** Above and below the block. */
10
15
  paddingVertical: number;
11
16
  /** Between the mark, the text block, the children, the actions and the footer. */
@@ -32,6 +37,7 @@ export const EMPTY_STATE_GEOMETRY: Record<EmptyStateVariant, EmptyStateGeometry>
32
37
  comfortable: {
33
38
  glyph: 32,
34
39
  circle: 'xl',
40
+ illustration: 112,
35
41
  paddingVertical: 48,
36
42
  gap: 16,
37
43
  textGap: 6,
@@ -42,6 +48,7 @@ export const EMPTY_STATE_GEOMETRY: Record<EmptyStateVariant, EmptyStateGeometry>
42
48
  compact: {
43
49
  glyph: 24,
44
50
  circle: 'lg',
51
+ illustration: 72,
45
52
  paddingVertical: 24,
46
53
  gap: 12,
47
54
  textGap: 4,
@@ -53,8 +53,7 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
53
53
  newBot: 'روبوت جديد',
54
54
  closeEditor: 'إغلاق محرر الوكيل',
55
55
  details: 'مظهر الوكيل وتفاصيله',
56
- color: 'لون الصورة الرمزية',
57
- customColor: 'لون مخصص للصورة الرمزية',
56
+ color: 'اللون',
58
57
  name: 'الاسم',
59
58
  label: 'التسمية',
60
59
  description: 'الوصف',
@@ -77,13 +76,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
77
76
  playbackSpeed: 'سرعة التشغيل',
78
77
  emotion: 'تعبير الوكيل',
79
78
  shape: 'شكل الصورة الرمزية',
80
- hexColor: 'لون سداسي عشري',
81
- hue: 'درجة اللون',
82
- saturationBrightness: 'التشبع والسطوع',
83
- increaseBrightness: 'زيادة السطوع',
84
- decreaseBrightness: 'تقليل السطوع',
85
- increaseHue: 'زيادة درجة اللون',
86
- decreaseHue: 'تقليل درجة اللون',
87
79
  nextShape: 'الشكل التالي',
88
80
  previousShape: 'الشكل السابق',
89
81
  newAgent: 'وكيل جديد',
@@ -116,17 +108,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
116
108
  diamond: 'معين',
117
109
  shield: 'درع',
118
110
  },
119
- colors: {
120
- Blue: 'أزرق',
121
- Teal: 'أخضر مزرق',
122
- Violet: 'بنفسجي',
123
- Pink: 'وردي',
124
- Red: 'أحمر',
125
- Orange: 'برتقالي',
126
- Cyan: 'سماوي',
127
- Lime: 'أخضر ليموني',
128
- Green: 'أخضر',
129
- },
130
111
  languages: {
131
112
  auto: 'اكتشاف تلقائي',
132
113
  en: 'الإنجليزية',
@@ -137,12 +118,9 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
137
118
  ja: 'اليابانية',
138
119
  pt: 'البرتغالية',
139
120
  },
140
- avatarColorLabel: (name) => 'صورة رمزية {name}'.replace('{name}', name),
141
121
  shapeLabel: (name) => 'شكل {name}'.replace('{name}', name),
142
122
  silhouetteLabel: (name) => 'صورة ظلية {name}'.replace('{name}', name),
143
123
  livePreview: (name) => '{name}، معاينة مباشرة للصورة الرمزية'.replace('{name}', name),
144
- saturationBrightnessValue: (s, v) =>
145
- 'التشبع {s}٪، السطوع {v}٪'.replace('{s}', String(s)).replace('{v}', String(v)),
146
124
  playbackSpeedLabel: (speed) => 'سرعة التشغيل {speed} مرة'.replace('{speed}', String(speed)),
147
125
  };
148
126
 
@@ -43,8 +43,7 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
43
43
  newBot: 'নতুন বট',
44
44
  closeEditor: 'এজেন্ট সম্পাদক বন্ধ করুন',
45
45
  details: 'এজেন্টের চেহারা ও বিবরণ',
46
- color: 'অবতারের রং',
47
- customColor: 'অবতারের নিজস্ব রং',
46
+ color: 'রং',
48
47
  name: 'নাম',
49
48
  label: 'লেবেল',
50
49
  description: 'বিবরণ',
@@ -67,13 +66,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
67
66
  playbackSpeed: 'প্লেব্যাকের গতি',
68
67
  emotion: 'এজেন্টের অনুভূতি',
69
68
  shape: 'অবতারের আকৃতি',
70
- hexColor: 'হেক্স রং',
71
- hue: 'রঙের আভা',
72
- saturationBrightness: 'স্যাচুরেশন ও উজ্জ্বলতা',
73
- increaseBrightness: 'উজ্জ্বলতা বাড়ান',
74
- decreaseBrightness: 'উজ্জ্বলতা কমান',
75
- increaseHue: 'রঙের আভা বাড়ান',
76
- decreaseHue: 'রঙের আভা কমান',
77
69
  nextShape: 'পরবর্তী আকৃতি',
78
70
  previousShape: 'আগের আকৃতি',
79
71
  newAgent: 'নতুন এজেন্ট',
@@ -106,17 +98,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
106
98
  diamond: 'হীরা',
107
99
  shield: 'ঢাল',
108
100
  },
109
- colors: {
110
- Blue: 'নীল',
111
- Teal: 'নীলাভ সবুজ',
112
- Violet: 'বেগুনি',
113
- Pink: 'গোলাপি',
114
- Red: 'লাল',
115
- Orange: 'কমলা',
116
- Cyan: 'সায়ান',
117
- Lime: 'লাইম',
118
- Green: 'সবুজ',
119
- },
120
101
  languages: {
121
102
  auto: 'স্বয়ংক্রিয় শনাক্তকরণ',
122
103
  en: 'ইংরেজি',
@@ -127,12 +108,9 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
127
108
  ja: 'জাপানি',
128
109
  pt: 'পর্তুগিজ',
129
110
  },
130
- avatarColorLabel: (name) => '{name} অবতার'.replace('{name}', name),
131
111
  shapeLabel: (name) => '{name} আকৃতি'.replace('{name}', name),
132
112
  silhouetteLabel: (name) => '{name} ছায়ামূর্তি'.replace('{name}', name),
133
113
  livePreview: (name) => '{name}, অবতারের সরাসরি পূর্বরূপ'.replace('{name}', name),
134
- saturationBrightnessValue: (s, v) =>
135
- 'স্যাচুরেশন {s}%, উজ্জ্বলতা {v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
136
114
  playbackSpeedLabel: (speed) => 'প্লেব্যাকের গতি {speed} গুণ'.replace('{speed}', String(speed)),
137
115
  };
138
116
 
@@ -49,8 +49,7 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
49
49
  newBot: 'Bot nou',
50
50
  closeEditor: 'Tanca l’editor de l’agent',
51
51
  details: 'Aparença i detalls de l’agent',
52
- color: 'Color de l’avatar',
53
- customColor: 'Color personalitzat de l’avatar',
52
+ color: 'Color',
54
53
  name: 'Nom',
55
54
  label: 'Etiqueta',
56
55
  description: 'Descripció',
@@ -73,13 +72,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
73
72
  playbackSpeed: 'Velocitat de reproducció',
74
73
  emotion: 'Emoció de l’agent',
75
74
  shape: 'Forma de l’avatar',
76
- hexColor: 'Color hexadecimal',
77
- hue: 'To',
78
- saturationBrightness: 'Saturació i brillantor',
79
- increaseBrightness: 'Augmenta la brillantor',
80
- decreaseBrightness: 'Redueix la brillantor',
81
- increaseHue: 'Augmenta el to',
82
- decreaseHue: 'Redueix el to',
83
75
  nextShape: 'Forma següent',
84
76
  previousShape: 'Forma anterior',
85
77
  newAgent: 'Agent nou',
@@ -112,17 +104,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
112
104
  diamond: 'Diamant',
113
105
  shield: 'Escut',
114
106
  },
115
- colors: {
116
- Blue: 'Blau',
117
- Teal: 'Verd blavós',
118
- Violet: 'Violeta',
119
- Pink: 'Rosa',
120
- Red: 'Vermell',
121
- Orange: 'Taronja',
122
- Cyan: 'Cian',
123
- Lime: 'Llima',
124
- Green: 'Verd',
125
- },
126
107
  languages: {
127
108
  auto: 'Detecció automàtica',
128
109
  en: 'Anglès',
@@ -133,12 +114,9 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
133
114
  ja: 'Japonès',
134
115
  pt: 'Portuguès',
135
116
  },
136
- avatarColorLabel: (name) => 'Avatar {name}'.replace('{name}', name),
137
117
  shapeLabel: (name) => 'Forma {name}'.replace('{name}', name),
138
118
  silhouetteLabel: (name) => 'Silueta {name}'.replace('{name}', name),
139
119
  livePreview: (name) => '{name}, previsualització de l’avatar'.replace('{name}', name),
140
- saturationBrightnessValue: (s, v) =>
141
- 'saturació {s}%, brillantor {v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
142
120
  playbackSpeedLabel: (speed) =>
143
121
  'Velocitat de reproducció {speed} vegades'.replace('{speed}', String(speed)),
144
122
  };
@@ -49,8 +49,7 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
49
49
  newBot: 'Neuer Bot',
50
50
  closeEditor: 'Agenten-Editor schließen',
51
51
  details: 'Aussehen und Details des Agenten',
52
- color: 'Avatarfarbe',
53
- customColor: 'Eigene Avatarfarbe',
52
+ color: 'Farbe',
54
53
  name: 'Name',
55
54
  label: 'Bezeichnung',
56
55
  description: 'Beschreibung',
@@ -73,13 +72,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
73
72
  playbackSpeed: 'Wiedergabegeschwindigkeit',
74
73
  emotion: 'Emotion des Agenten',
75
74
  shape: 'Avatarform',
76
- hexColor: 'Hex-Farbe',
77
- hue: 'Farbton',
78
- saturationBrightness: 'Sättigung und Helligkeit',
79
- increaseBrightness: 'Helligkeit erhöhen',
80
- decreaseBrightness: 'Helligkeit verringern',
81
- increaseHue: 'Farbton erhöhen',
82
- decreaseHue: 'Farbton verringern',
83
75
  nextShape: 'Nächste Form',
84
76
  previousShape: 'Vorherige Form',
85
77
  newAgent: 'Neuer Agent',
@@ -112,17 +104,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
112
104
  diamond: 'Diamant',
113
105
  shield: 'Schild',
114
106
  },
115
- colors: {
116
- Blue: 'Blau',
117
- Teal: 'Türkisgrün',
118
- Violet: 'Violett',
119
- Pink: 'Rosa',
120
- Red: 'Rot',
121
- Orange: 'Orange',
122
- Cyan: 'Cyan',
123
- Lime: 'Limettengrün',
124
- Green: 'Grün',
125
- },
126
107
  languages: {
127
108
  auto: 'Automatisch erkennen',
128
109
  en: 'Englisch',
@@ -133,12 +114,9 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
133
114
  ja: 'Japanisch',
134
115
  pt: 'Portugiesisch',
135
116
  },
136
- avatarColorLabel: (name) => 'Avatar {name}'.replace('{name}', name),
137
117
  shapeLabel: (name) => 'Form {name}'.replace('{name}', name),
138
118
  silhouetteLabel: (name) => 'Silhouette {name}'.replace('{name}', name),
139
119
  livePreview: (name) => '{name}, Live-Avatarvorschau'.replace('{name}', name),
140
- saturationBrightnessValue: (s, v) =>
141
- 'Sättigung {s}%, Helligkeit {v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
142
120
  playbackSpeedLabel: (speed) =>
143
121
  '{speed}-fache Wiedergabegeschwindigkeit'.replace('{speed}', String(speed)),
144
122
  };
@@ -49,8 +49,7 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
49
49
  newBot: 'Nuevo bot',
50
50
  closeEditor: 'Cerrar editor del agente',
51
51
  details: 'Apariencia y detalles del agente',
52
- color: 'Color del avatar',
53
- customColor: 'Color personalizado del avatar',
52
+ color: 'Color',
54
53
  name: 'Nombre',
55
54
  label: 'Etiqueta',
56
55
  description: 'Descripción',
@@ -73,13 +72,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
73
72
  playbackSpeed: 'Velocidad de reproducción',
74
73
  emotion: 'Emoción del agente',
75
74
  shape: 'Forma del avatar',
76
- hexColor: 'Color hexadecimal',
77
- hue: 'Tono',
78
- saturationBrightness: 'Saturación y brillo',
79
- increaseBrightness: 'Aumentar brillo',
80
- decreaseBrightness: 'Reducir brillo',
81
- increaseHue: 'Aumentar tono',
82
- decreaseHue: 'Reducir tono',
83
75
  nextShape: 'Forma siguiente',
84
76
  previousShape: 'Forma anterior',
85
77
  newAgent: 'Nuevo agente',
@@ -112,17 +104,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
112
104
  diamond: 'Diamante',
113
105
  shield: 'Escudo',
114
106
  },
115
- colors: {
116
- Blue: 'Azul',
117
- Teal: 'Verde azulado',
118
- Violet: 'Violeta',
119
- Pink: 'Rosa',
120
- Red: 'Rojo',
121
- Orange: 'Naranja',
122
- Cyan: 'Cian',
123
- Lime: 'Lima',
124
- Green: 'Verde',
125
- },
126
107
  languages: {
127
108
  auto: 'Detección automática',
128
109
  en: 'Inglés',
@@ -133,12 +114,9 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
133
114
  ja: 'Japonés',
134
115
  pt: 'Portugués',
135
116
  },
136
- avatarColorLabel: (name) => 'Avatar {name}'.replace('{name}', name),
137
117
  shapeLabel: (name) => 'Forma {name}'.replace('{name}', name),
138
118
  silhouetteLabel: (name) => 'Silueta {name}'.replace('{name}', name),
139
119
  livePreview: (name) => '{name}, vista previa del avatar'.replace('{name}', name),
140
- saturationBrightnessValue: (s, v) =>
141
- 'saturación {s}%, brillo {v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
142
120
  playbackSpeedLabel: (speed) =>
143
121
  'Velocidad de reproducción {speed} veces'.replace('{speed}', String(speed)),
144
122
  };
@@ -49,8 +49,7 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
49
49
  newBot: 'Nouveau bot',
50
50
  closeEditor: 'Fermer l’éditeur de l’agent',
51
51
  details: 'Apparence et détails de l’agent',
52
- color: 'Couleur de l’avatar',
53
- customColor: 'Couleur personnalisée de l’avatar',
52
+ color: 'Couleur',
54
53
  name: 'Nom',
55
54
  label: 'Libellé',
56
55
  description: 'Description',
@@ -73,13 +72,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
73
72
  playbackSpeed: 'Vitesse de lecture',
74
73
  emotion: 'Émotion de l’agent',
75
74
  shape: 'Forme de l’avatar',
76
- hexColor: 'Couleur hexadécimale',
77
- hue: 'Teinte',
78
- saturationBrightness: 'Saturation et luminosité',
79
- increaseBrightness: 'Augmenter la luminosité',
80
- decreaseBrightness: 'Réduire la luminosité',
81
- increaseHue: 'Augmenter la teinte',
82
- decreaseHue: 'Réduire la teinte',
83
75
  nextShape: 'Forme suivante',
84
76
  previousShape: 'Forme précédente',
85
77
  newAgent: 'Nouvel agent',
@@ -112,17 +104,6 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
112
104
  diamond: 'Diamant',
113
105
  shield: 'Bouclier',
114
106
  },
115
- colors: {
116
- Blue: 'Bleu',
117
- Teal: 'Bleu sarcelle',
118
- Violet: 'Violet',
119
- Pink: 'Rose',
120
- Red: 'Rouge',
121
- Orange: 'Orange',
122
- Cyan: 'Cyan',
123
- Lime: 'Citron vert',
124
- Green: 'Vert',
125
- },
126
107
  languages: {
127
108
  auto: 'Détection automatique',
128
109
  en: 'Anglais',
@@ -133,12 +114,9 @@ const AGENT_CREATOR_MESSAGES: Translations['AGENT_CREATOR_MESSAGES'] = {
133
114
  ja: 'Japonais',
134
115
  pt: 'Portugais',
135
116
  },
136
- avatarColorLabel: (name) => 'Avatar {name}'.replace('{name}', name),
137
117
  shapeLabel: (name) => 'Forme {name}'.replace('{name}', name),
138
118
  silhouetteLabel: (name) => 'Silhouette {name}'.replace('{name}', name),
139
119
  livePreview: (name) => '{name}, aperçu de l’avatar'.replace('{name}', name),
140
- saturationBrightnessValue: (s, v) =>
141
- 'saturation {s}%, luminosité {v}%'.replace('{s}', String(s)).replace('{v}', String(v)),
142
120
  playbackSpeedLabel: (speed) =>
143
121
  'Vitesse de lecture {speed} fois'.replace('{speed}', String(speed)),
144
122
  };