@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
@@ -0,0 +1,61 @@
1
+ import type { VectorLook } from './vector-face.js';
2
+ import type { VectorMotionPose } from './vector-motion.js';
3
+ import type { VectorData } from './vector-types.js';
4
+ import type { AgentAvatarMood } from './types.js';
5
+ /**
6
+ * How a mood is laid over whatever the character is doing. It is procedural, like gaze and
7
+ * blinking: every body, preset or edited, has its authored clips and none of them a "no", so the
8
+ * mood moves the pose those clips produce rather than adding a clip that only some bodies would
9
+ * have.
10
+ */
11
+ export type VectorMoodState = {
12
+ /** How far into its mood the character is: 0 neutral, 1 fully sad. Eases, never jumps. */
13
+ sadness: number;
14
+ /** Seconds into the head shake that starts a sad mood. Past `VECTOR_DECLINE_SECONDS`, none. */
15
+ declineTime: number;
16
+ };
17
+ /** The shake that says "no": three turns, the first the widest, coming to rest. */
18
+ export declare const VECTOR_DECLINE_SECONDS = 1.4;
19
+ /** A neutral pose that a mood can be laid on: no turn, no droop, eyes open. */
20
+ export declare const VECTOR_REST_MOTION: Readonly<VectorMotionPose>;
21
+ /** The state a character starts in, with or without the mood. Starting sad shakes the head. */
22
+ export declare function initialVectorMood(mood: AgentAvatarMood | undefined): VectorMoodState;
23
+ /** The mood the character is now asked for. Becoming sad shakes the head once. */
24
+ export declare function setVectorMood(state: VectorMoodState, mood: AgentAvatarMood | undefined, previous: AgentAvatarMood | undefined): void;
25
+ /** One frame of a running character: the shake moves on and the droop eases towards the mood. */
26
+ export declare function advanceVectorMood(state: VectorMoodState, mood: AgentAvatarMood | undefined, delta: number): void;
27
+ /** A still character (paused, reduced motion) shows the mood's settled pose and never shakes. */
28
+ export declare function settleVectorMood(state: VectorMoodState, mood: AgentAvatarMood | undefined): void;
29
+ /** Whether the mood moves the pose at all; a neutral character draws exactly as it did without one. */
30
+ export declare function vectorMoodActive(state: VectorMoodState): boolean;
31
+ /**
32
+ * The head turn of the shake, in radians, at `time` seconds into it: zero before and after, and
33
+ * it starts and ends at rest with no jump in speed. The swings shrink as the head gives up.
34
+ */
35
+ export declare function sampleVectorDecline(time: number): number;
36
+ /**
37
+ * `pose` with the mood laid over it. Sad looks down and a little aside, sinks and deflates
38
+ * slightly, tilts the head and lets the lids fall; the shake turns the head and rocks it a little
39
+ * with each turn. Blinks and breathing carry on underneath.
40
+ */
41
+ export declare function applyVectorMood(pose: VectorMotionPose, state: VectorMoodState): VectorMotionPose;
42
+ export type VectorMoodFrame = {
43
+ /** The turn of the whole drawing (and of a reference face without a rest basis). */
44
+ yaw: number;
45
+ pitch: number;
46
+ motion?: VectorMotionPose;
47
+ /** A reference face's head direction. */
48
+ look?: VectorLook;
49
+ };
50
+ /**
51
+ * What `renderVectorFrame` draws a character with, the mood laid on. `procedural` is a reference
52
+ * face's sampled motion (undefined for other bodies) and `turn` the pointer's turn. The mood's
53
+ * turn goes everywhere a head can turn: a reference face's `look`, and the frame's own turn, which
54
+ * is how a body with no head of its own (and a face fitted without a rest basis) shakes. A neutral
55
+ * character draws exactly as it did without a mood.
56
+ */
57
+ export declare function vectorMoodFrame(asset: VectorData, procedural: VectorMotionPose | undefined, turn: {
58
+ yaw: number;
59
+ pitch: number;
60
+ }, mood: VectorMoodState | undefined): VectorMoodFrame;
61
+ //# sourceMappingURL=vector-mood.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vector-mood.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/vector-mood.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAe,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,0FAA0F;IAC1F,OAAO,EAAE,MAAM,CAAC;IAChB,+FAA+F;IAC/F,WAAW,EAA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E,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EACpC,IAAI,EAAE,eAAe,GAAG,SAAS,GAChC,eAAe,CAajB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentCreator.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAgBjD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD"}
1
+ {"version":3,"file":"AgentCreator.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAajD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentCreator.web.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.web.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAgBjD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD"}
1
+ {"version":3,"file":"AgentCreator.web.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.web.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAajD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAEjD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,+BAkWxD"}
1
+ {"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAEjD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,+BA2TxD"}
@@ -1,7 +1,6 @@
1
- import type * as PopoverParts from '../popover/Popover';
2
1
  import type * as SelectParts from '../select';
3
2
  import { type AgentCreatorMessages } from './messages.js';
4
- export type AgentCreatorBindings = Pick<typeof SelectParts, 'Select' | 'SelectTrigger' | 'SelectValue' | 'SelectIcon' | 'SelectContent' | 'SelectItem' | 'SelectItemText'> & Pick<typeof PopoverParts, 'Popover' | 'PopoverTrigger' | 'PopoverContent'> & Pick<typeof import('../settings-modal/SettingsSelect'), 'SettingsSelect'> & import('../screen/types.js').ScreenComponents;
3
+ export type AgentCreatorBindings = Pick<typeof SelectParts, 'Select' | 'SelectTrigger' | 'SelectValue' | 'SelectIcon' | 'SelectContent' | 'SelectItem' | 'SelectItemText'> & Pick<typeof import('../settings-modal/SettingsSelect'), 'SettingsSelect'> & import('../screen/types.js').ScreenComponents;
5
4
  export declare const AgentCreatorContext: import("react").Context<AgentCreatorBindings | null>;
6
5
  export declare const AgentCreatorCopyContext: import("react").Context<{
7
6
  locale?: string;
@@ -26,7 +25,6 @@ export declare function useAgentCreatorMessages(overrides?: {
26
25
  closeEditor: string;
27
26
  details: string;
28
27
  color: string;
29
- customColor: string;
30
28
  name: string;
31
29
  label: string;
32
30
  description: string;
@@ -49,25 +47,15 @@ export declare function useAgentCreatorMessages(overrides?: {
49
47
  playbackSpeed: string;
50
48
  emotion: string;
51
49
  shape: string;
52
- hexColor: string;
53
- hue: string;
54
- saturationBrightness: string;
55
- increaseBrightness: string;
56
- decreaseBrightness: string;
57
- increaseHue: string;
58
- decreaseHue: string;
59
50
  nextShape: string;
60
51
  previousShape: string;
61
52
  newAgent: string;
62
53
  emotions: Record<"neutral" | "happy" | "angry" | "thinking" | "shook" | "curious" | "wink" | "sleepy" | "sad" | "worried" | "skeptical" | "focused" | "excited" | "calm" | "shy" | "confused", string>;
63
54
  shapes: Record<"slender" | "pocket" | "petal" | "flower" | "star" | "heart" | "cloud" | "diamond" | "shield", string>;
64
- colors: Record<"Blue" | "Teal" | "Violet" | "Pink" | "Red" | "Orange" | "Cyan" | "Lime" | "Green", string>;
65
55
  languages: Record<"auto" | "en" | "tr" | "es" | "fr" | "de" | "ja" | "pt", string>;
66
- avatarColorLabel: (name: string) => string;
67
56
  shapeLabel: (name: string) => string;
68
57
  silhouetteLabel: (name: string) => string;
69
58
  livePreview: (name: string) => string;
70
- saturationBrightnessValue: (s: number, v: number) => string;
71
59
  playbackSpeedLabel: (speed: number) => string;
72
60
  };
73
61
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,KAAK,WAAW,MAAM,WAAW,CAAC;AAC9C,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,eAAY,CAAC;AAE/E,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,OAAO,WAAW,EAChB,QAAQ,GACR,eAAe,GACf,aAAa,GACb,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,gBAAgB,CACnB,GACC,IAAI,CAAC,OAAO,YAAY,EAAE,SAAS,GAAG,gBAAgB,GAAG,gBAAgB,CAAC,GAC1E,IAAI,CAAC,cAAc,kCAAkC,CAAC,EAAE,gBAAgB,CAAC,GACzE,OAAO,oBAAiB,EAAE,gBAAgB,CAAC;AAC7C,eAAO,MAAM,mBAAmB,sDAAmD,CAAC;AACpF,eAAO,MAAM,uBAAuB;aACzB,MAAM;aACN,OAAO,CAAC,oBAAoB,CAAC;SACzB,CAAC;AAChB,wBAAgB,uBAAuB,yBAItC;AACD,wBAAgB,uBAAuB,CAAC,SAAS,CAAC,EAAE;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKA"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,WAAW,MAAM,WAAW,CAAC;AAC9C,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,eAAY,CAAC;AAE/E,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,OAAO,WAAW,EAChB,QAAQ,GACR,eAAe,GACf,aAAa,GACb,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,gBAAgB,CACnB,GACC,IAAI,CAAC,cAAc,kCAAkC,CAAC,EAAE,gBAAgB,CAAC,GACzE,OAAO,oBAAiB,EAAE,gBAAgB,CAAC;AAC7C,eAAO,MAAM,mBAAmB,sDAAmD,CAAC;AACpF,eAAO,MAAM,uBAAuB;aACzB,MAAM;aACN,OAAO,CAAC,oBAAoB,CAAC;SACzB,CAAC;AAChB,wBAAgB,uBAAuB,yBAItC;AACD,wBAAgB,uBAAuB,CAAC,SAAS,CAAC,EAAE;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKA"}
@@ -15,7 +15,6 @@ export interface AgentCreatorMessages {
15
15
  closeEditor: string;
16
16
  details: string;
17
17
  color: string;
18
- customColor: string;
19
18
  name: string;
20
19
  label: string;
21
20
  description: string;
@@ -38,25 +37,15 @@ export interface AgentCreatorMessages {
38
37
  playbackSpeed: string;
39
38
  emotion: string;
40
39
  shape: string;
41
- hexColor: string;
42
- hue: string;
43
- saturationBrightness: string;
44
- increaseBrightness: string;
45
- decreaseBrightness: string;
46
- increaseHue: string;
47
- decreaseHue: string;
48
40
  nextShape: string;
49
41
  previousShape: string;
50
42
  newAgent: string;
51
43
  emotions: Record<'neutral' | 'happy' | 'angry' | 'thinking' | 'shook' | 'curious' | 'wink' | 'sleepy' | 'sad' | 'worried' | 'skeptical' | 'focused' | 'excited' | 'calm' | 'shy' | 'confused', string>;
52
44
  shapes: Record<'slender' | 'pocket' | 'petal' | 'flower' | 'star' | 'heart' | 'cloud' | 'diamond' | 'shield', string>;
53
- colors: Record<'Blue' | 'Teal' | 'Violet' | 'Pink' | 'Red' | 'Orange' | 'Cyan' | 'Lime' | 'Green', string>;
54
45
  languages: Record<'auto' | 'en' | 'tr' | 'es' | 'fr' | 'de' | 'ja' | 'pt', string>;
55
- avatarColorLabel: (name: string) => string;
56
46
  shapeLabel: (name: string) => string;
57
47
  silhouetteLabel: (name: string) => string;
58
48
  livePreview: (name: string) => string;
59
- saturationBrightnessValue: (s: number, v: number) => string;
60
49
  playbackSpeedLabel: (speed: number) => string;
61
50
  }
62
51
  export declare const AGENT_CREATOR_MESSAGES: MessageCatalog<AgentCreatorMessages>;
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,uBAAoB,CAAC;AAEzE,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,sGAAsG;IACtG,eAAe,EAAE,CAAC,QAAQ,EA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MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CACZ,SAAS,GACT,OAAO,GACP,OAAO,GACP,UAAU,GACV,OAAO,GACP,SAAS,GACT,MAAM,GACN,QAAQ,GACR,KAAK,GACL,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,MAAM,GACN,KAAK,GACL,UAAU,EACZ,MAAM,CACP,CAAC;IACF,MAAM,EAAE,MAAM,CACZ,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,EAC7F,MAAM,CACP,CAAC;IACF,SAAS,EAAE,MAAM,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC;IACnF,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACrC,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/C;AAED,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,oBAAoB,CAqFpE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type AvatarCharacter } from '../agent-avatar/character.js';
2
+ /**
3
+ * The creator's colour is the agent's account colour (`agent.color`), never the character's: a
4
+ * character it hands back carries its parts and no paint, and every character it draws is painted
5
+ * in the account's colour here.
6
+ */
7
+ /** A character without its paint: what the creator emits. */
8
+ export declare function withoutPaint(character: AvatarCharacter): AvatarCharacter;
9
+ /**
10
+ * The character as the creator draws it: in the agent's colour. A colour Bloom cannot resolve
11
+ * leaves the character's own paint (or its preset's); a character with neither wears the first
12
+ * colour the creator offers, so nothing it draws is undrawable.
13
+ */
14
+ export declare function drawnCharacter(character: AvatarCharacter, color: string | null | undefined, colors: readonly string[]): AvatarCharacter;
15
+ /**
16
+ * What a character IS, for comparing two of them: its resolved parts, paint left out (the paint is
17
+ * the account's). Two spellings of one character (a preset, or its parts written out) compare equal.
18
+ */
19
+ export declare function characterPartsKey(character: AvatarCharacter): string;
20
+ //# sourceMappingURL=paint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,8BAA2B,CAAC;AAGnC;;;;GAIG;AAEH,6DAA6D;AAC7D,wBAAgB,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,eAAe,CAKxE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,eAAe,EAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,MAAM,EAAE,SAAS,MAAM,EAAE,GACxB,eAAe,CAIjB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,eAAe,GAAG,MAAM,CAMpE"}
@@ -1,10 +1,3 @@
1
1
  import type { AgentPreferences } from './types.js';
2
2
  export declare function normalizeAgentPreferences(value: Partial<AgentPreferences> | null | undefined): AgentPreferences;
3
- export type Hsv = {
4
- h: number;
5
- s: number;
6
- v: number;
7
- };
8
- export declare function hexToHsv(hex: string): Hsv | null;
9
- export declare function hsvToHex({ h, s, v }: Hsv): string;
10
3
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAEhD,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI,GAAG,SAAS,GAClD,gBAAgB,CAYlB;AACD,MAAM,MAAM,GAAG,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACtD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAgBhD;AACD,wBAAgB,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,UAQxC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAEhD,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI,GAAG,SAAS,GAClD,gBAAgB,CAYlB"}
@@ -14,7 +14,16 @@ export type AgentCreatorAgent = {
14
14
  name: string;
15
15
  label: string;
16
16
  description: string;
17
+ /**
18
+ * The character's parts (shape, eyes, eyewear, accessory, preset, eye spacing). The creator
19
+ * hands it back without paint: the agent's colour is `color`, never the character's.
20
+ */
17
21
  avatar: AvatarCharacter;
22
+ /**
23
+ * The agent's colour: its account's, a Bloom colour preset key (`User.color` in Oxy). It paints
24
+ * the avatar, and the colour control changes it (`onChange` with a new `color`).
25
+ */
26
+ color: string;
18
27
  preferences?: AgentPreferences;
19
28
  };
20
29
  export type AgentVoice = {
@@ -28,6 +37,11 @@ export interface AgentCreatorProps {
28
37
  agent: AgentCreatorAgent;
29
38
  onChange: (agent: AgentCreatorAgent) => void;
30
39
  onClose?: () => void;
40
+ /**
41
+ * The colour preset keys the colour control offers, in order. Default `FREE_COLOR_NAMES`. A host
42
+ * passes exactly what its account service accepts, so no colour offered is refused on save.
43
+ */
44
+ colors?: readonly string[];
31
45
  className?: string;
32
46
  style?: StyleProp<ViewStyle>;
33
47
  /** Native hosts can supply their speech provider's catalog. Web uses local device voices by default. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAY,CAAC;AAEvD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACpF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,aAAa,CAAC;IACxB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC;IACxB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC,CAAC;AACF,MAAM,MAAM,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AACxE,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACvC,KA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,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,MAAM,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC,CAAC;AACF,MAAM,MAAM,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AACxE,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACvC,KAAK,EAAE,iBAAiB,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,wGAAwG;IACxG,MAAM,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uEAAuE;IACvE,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACxE"}
@@ -1,6 +1,10 @@
1
- import { type AvatarCharacter } from '../agent-avatar/character.js';
1
+ import type { AvatarCharacter } from '../agent-avatar/character.js';
2
2
  import type { AgentCreatorAgent } from './types.js';
3
- /** Character-only history. Parent echoes acknowledge edits; unrelated profile data never enters history. */
3
+ /**
4
+ * Character-only history. Parent echoes acknowledge edits; unrelated profile data never enters
5
+ * history. Characters compare by their parts and are emitted without paint: the colour is the
6
+ * agent's (`agent.color`), not the character's, so a colour change is not a character edit.
7
+ */
4
8
  export declare function useCharacterHistory(agent: AgentCreatorAgent, onChange: (agent: AgentCreatorAgent) => void): {
5
9
  character: AvatarCharacter;
6
10
  canUndo: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"use-character-history.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/use-character-history.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,8BAA2B,CAAC;AACzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAcjD,4GAA4G;AAC5G,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI;;;;oBAsClC,eAAe;;;;;EAqC1B"}
1
+ {"version":3,"file":"use-character-history.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/use-character-history.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA2B,CAAC;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAajD;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI;;;;oBAsClC,eAAe;;;;;EAqC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/avatar/Avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmC/B,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,YAAS,CAAC;AAmG7D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uBAA0B,CAAC;AA8WpE,eAAO,MAAM,MAAM,yCAAwB,CAAC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/avatar/Avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmC/B,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,YAAS,CAAC;AAmG7D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uBAA0B,CAAC;AAwXpE,eAAO,MAAM,MAAM,yCAAwB,CAAC"}
@@ -3,8 +3,10 @@ import type { AvatarAccount, AvatarProps } from './types.js';
3
3
  export declare function accountName(account: AvatarAccount | undefined): string | undefined;
4
4
  /**
5
5
  * The one answer to "which character does this avatar carry": an explicit `character` wins
6
- * (`null` opts out), else the character of a bot account. Returns the stored object itself, so a
7
- * caller can memoize on it; resolve it with `tryResolveAvatarCharacter`.
6
+ * (`null` opts out), else the character of a bot account painted in the account's own `color`
7
+ * (`avatarCharacterInColor`). Resolve it with `tryResolveAvatarCharacter`. A painted character is
8
+ * a new object each call, so a caller memoizes on `character`, `account.character` and
9
+ * `account.color` rather than on the result.
8
10
  */
9
11
  export declare function pickAccountCharacter({ character, account, }: Pick<AvatarProps, 'character' | 'account'>): unknown;
10
12
  //# sourceMappingURL=account.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/avatar/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAE1D,yEAAyE;AACzE,wBAAgB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CASlF;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,OAAO,GACR,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,OAAO,CAGtD"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/avatar/account.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAE1D,yEAAyE;AACzE,wBAAgB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CASlF;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,OAAO,GACR,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,OAAO,CAMtD"}
@@ -13,6 +13,12 @@ export interface AvatarAccount {
13
13
  avatar?: string | null;
14
14
  /** Stored bot character data, validated before rendering. Unknown recipes fall back to its image. */
15
15
  character?: unknown;
16
+ /**
17
+ * The account's colour, as Oxy stores `User.color`: a Bloom colour preset key (or a legacy
18
+ * `#rrggbb`). A bot's character is drawn in it (`avatarCharacterInColor`), so a bot looks the
19
+ * colour of its account everywhere its account is drawn.
20
+ */
21
+ color?: string | null;
16
22
  username?: string | null;
17
23
  /** A display name, or the account service's structured name. */
18
24
  name?: string | {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,oBAAW,CAAC;AAEvE;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,iGAAiG;IACjG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8FAA8F;IAC9F,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,qGAAqG;IACrG,SA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,SAAS,CAAC;IAC9B,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8FAA8F;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8EAA8E;IAC9E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -5,6 +5,11 @@ export interface EmptyStateGeometry {
5
5
  glyph: number;
6
6
  /** `IconCircle`'s rung. `lg` is 52, `xl` is 64. */
7
7
  circle: 'lg' | 'xl';
8
+ /**
9
+ * The box for a figure passed as `illustration`: an agent's avatar, a picture. Larger than the
10
+ * disc because a character has to be read (its face, its gesture), not just recognised.
11
+ */
12
+ illustration: number;
8
13
  /** Above and below the block. */
9
14
  paddingVertical: number;
10
15
  /** Between the mark, the text block, the children, the actions and the footer. */
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/empty-state/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,iCAAiC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gBAAgB,CAAC;IACxB,WAAW,EAAE,gBAAgB,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,CAqB9E,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,IAAI,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/empty-state/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gBAAgB,CAAC;IACxB,WAAW,EAAE,gBAAgB,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,CAuB9E,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAuyG5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAixG5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"bn.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/bn.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAw0F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"bn.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/bn.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAkzF5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ca.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ca.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAy6F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ca.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ca.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAm5F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/de.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA28F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/de.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAq7F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/es.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAq8F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/es.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA+6F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/fr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAm9F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/fr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA67F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hi.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/hi.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA41F5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"hi.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/hi.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAs0F5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA25F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAq4F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/it.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAo8F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/it.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA86F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ja.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA02F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ja.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAo1F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/pt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAw9F5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/pt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAk8F5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ru.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAgvG5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ru.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA0tG5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/tr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA83F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/tr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAw2F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/zh.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAgyF5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/zh.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AA0wF5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Marketplace.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/Marketplace.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA6BhE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAQ,CAAC;AACpC,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,uBAAoB,CAAC;AAoI5B,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,MAA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CAAC;IACpB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACzC,qBAmZA"}
@@ -1 +1 @@
1
- {"version":3,"file":"MultiAgentChatBase.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/MultiAgentChatBase.tsx"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAS,CAAC;AAmBnD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,+BAq6B5D"}
1
+ {"version":3,"file":"MultiAgentChatBase.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/MultiAgentChatBase.tsx"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAS,CAAC;AAmBnD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,+BAq6B5D"}
@@ -1,5 +1,5 @@
1
1
  import type { AvatarFlights } from '../avatar-flight';
2
- import type { Agent } from './data.js';
2
+ import { type Agent } from './data.js';
3
3
  /** The selected-preview composition: one large avatar, a trio, or a ring from four up. */
4
4
  export declare function previewAvatarGeometry(count: number, index: number): {
5
5
  size: number;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectedAgentPreview.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/SelectedAgentPreview.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAQ,CAAC;AAKpC,0FAA0F;AAC1F,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;;;;EAsBjE;AAmDD,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,OAAO,EACP,MAAM,EACN,OAAe,GAChB,EAAE;IACD,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,OAAO,EAAE,aAAa,CAAC;IACvB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAqCA"}
1
+ {"version":3,"file":"SelectedAgentPreview.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/SelectedAgentPreview.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,EAAkB,KAAK,KAAK,EAAE,MAAM,WAAQ,CAAC;AAKpD,0FAA0F;AAC1F,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;;;;EAsBjE;AAmDD,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,OAAO,EACP,MAAM,EACN,OAAe,GAChB,EAAE;IACD,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,OAAO,EAAE,aAAa,CAAC;IACvB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAqCA"}
@@ -1,5 +1,8 @@
1
+ import { type AvatarCharacter } from '../agent-avatar/index.js';
1
2
  import type { AgentCreatorAgent } from '../agent-creator/types.js';
2
3
  export type Agent = AgentCreatorAgent;
4
+ /** An agent's character as drawn: its parts, painted in the agent's own colour. */
5
+ export declare function agentCharacter(agent: Pick<Agent, 'avatar' | 'color'>): AvatarCharacter;
3
6
  export type Message = {
4
7
  id: string;
5
8
  role: 'user' | 'agent';
@@ -22,7 +25,7 @@ export type Workspace = {
22
25
  installedPlugins?: string[];
23
26
  };
24
27
  /** Choose an unused identity, including when restoring old unnamed demo bots. */
25
- export declare function nextAgentIdentity(agents: Pick<Agent, 'name'>[]): Pick<Agent, 'name' | 'avatar'>;
28
+ export declare function nextAgentIdentity(agents: Pick<Agent, 'name'>[]): Pick<Agent, 'name' | 'avatar' | 'color'>;
26
29
  export declare const INITIAL_AGENTS: Agent[];
27
30
  export declare const INITIAL_WORKSPACE: Workspace;
28
31
  /** Restored data is bounded and validated before it reaches the animated renderer. */
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/data.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAAwB,CAAC;AAChE,MAAM,MAAM,KAAK,GAAG,iBAAiB,CAAC;AACtC,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AA8BF,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAAC,CAqB/F;AAiCD,eAAO,MAAM,cAAc,EAAE,KAAK,EAoDjC,CAAC;AAgFF,eAAO,MAAM,i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AAgF;AAChF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQpD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,SAAI,GAAG,MAAM,CAqBxD"}
@@ -10,7 +10,10 @@ export type MarketplaceItem = {
10
10
  developer: string;
11
11
  website: string;
12
12
  logo?: 'notion' | 'figma' | 'github' | 'slack' | 'gmail' | 'drive' | 'calendar' | 'appwrite' | 'linear' | 'aws';
13
+ /** A bot's character parts; it is drawn in `color`. */
13
14
  avatar?: AvatarCharacter;
15
+ /** A bot's colour: a Bloom colour preset key. */
16
+ color?: string;
14
17
  apps: string[];
15
18
  skills: {
16
19
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"marketplace-data.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/marketplace-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAAiB,CAAC;AACvD,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,WAAQ,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,GAAG,KAAK,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EACD,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,QAAQ,GACR,KAAK,CAAC;IACV,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EA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AAC;CACjD,CAAC;AAgDF,yFAAyF;AACzF,eAAO,MAAM,iBAAiB,EAAE,eAAe,EA6N9C,CAAC;AAEF,eAAO,MAAM,eAAe,UAA0C,CAAC;AACvE,eAAO,MAAM,kBAAkB,GAAI,IAAI,MAAM,WAAwB,CAAC;AACtE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,KAAK,GAAG,QAAQ,GAAG,KAAa,qBAWtF;AACD,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,GAAG,SAAS,CAuBxF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/bloom",
3
- "version": "19.10.3",
3
+ "version": "20.0.0",
4
4
  "packageManager": "bun@1.4.3",
5
5
  "description": "Bloom UI — Oxy ecosystem component library for React Native + Expo + Web",
6
6
  "main": "lib/commonjs/index.js",
@@ -389,6 +389,11 @@ export const CLASSIFICATION: Record<string, Record<string, Classification>> = {
389
389
  verdict: 'does-not-apply',
390
390
  reason: SELECTION_ROW,
391
391
  },
392
+ 'agent-creator': {
393
+ verdict: 'does-not-apply',
394
+ reason:
395
+ 'the only form role is the `[role="textbox"]` selector its undo shortcut uses to leave keystrokes typed into a field alone, not a node it renders. Its fields are `TextFieldInput` and `Textarea`, which read the contract themselves, and its colour control is a `ColorSwatchPicker`.',
396
+ },
392
397
  styles: {
393
398
  verdict: 'does-not-apply',
394
399
  reason: