@oxy.so/bloom 7.31.1 → 7.33.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 (270) hide show
  1. package/assets/character-runtime/README.md +114 -19
  2. package/assets/character-runtime/authored-parts.mjs +754 -0
  3. package/assets/character-runtime/catalog-parts.mjs +362 -0
  4. package/assets/character-runtime/character-recipe.mjs +247 -0
  5. package/assets/character-runtime/clippo-geometry.mjs +679 -0
  6. package/assets/character-runtime/controller-mode.mjs +208 -0
  7. package/assets/character-runtime/cyclops-geometry.mjs +180 -0
  8. package/assets/character-runtime/legacy-engine.mjs +406 -54
  9. package/assets/character-runtime/legacy-geometry.mjs +242 -85
  10. package/assets/character-runtime/legacy-worker.mjs +82 -23
  11. package/assets/character-runtime/managed-avatar.mjs +12 -17
  12. package/assets/character-runtime/migrated-contours.mjs +2067 -0
  13. package/assets/character-runtime/migrated-faces.mjs +59 -0
  14. package/assets/character-runtime/pose-transition.mjs +523 -0
  15. package/assets/character-runtime/preparation-cache.mjs +60 -0
  16. package/assets/character-runtime/render-budget.mjs +5 -3
  17. package/assets/character-runtime/render-errors.mjs +180 -0
  18. package/assets/character-runtime/resolution.mjs +10 -0
  19. package/assets/character-runtime/runtime.mjs +744 -295
  20. package/assets/character-runtime/sha256.mjs +44 -0
  21. package/assets/character-runtime/shared-programs.mjs +534 -0
  22. package/assets/character-runtime/shared-surface.mjs +490 -0
  23. package/assets/character-runtime/shared-textures.mjs +420 -0
  24. package/assets/character-runtime/thumbnails/eyes/todd.png +0 -0
  25. package/docs/adoption-matrix.mdx +2 -2
  26. package/docs/agent-avatar.mdx +45 -7
  27. package/docs/agent-creator.mdx +13 -3
  28. package/docs/settings-modal.mdx +42 -8
  29. package/lib/commonjs/agent-avatar/AgentAvatar.js +1 -1
  30. package/lib/commonjs/agent-avatar/AgentAvatar.js.map +1 -1
  31. package/lib/commonjs/agent-avatar/CharacterAvatar.js +2 -1
  32. package/lib/commonjs/agent-avatar/CharacterAvatar.js.map +1 -1
  33. package/lib/commonjs/agent-avatar/character-colors.js +19 -0
  34. package/lib/commonjs/agent-avatar/character-colors.js.map +1 -0
  35. package/lib/commonjs/agent-avatar/character-shapes.js +106 -0
  36. package/lib/commonjs/agent-avatar/character-shapes.js.map +1 -0
  37. package/lib/commonjs/agent-avatar/config-character.js +4 -0
  38. package/lib/commonjs/agent-avatar/config-character.js.map +1 -1
  39. package/lib/commonjs/agent-avatar/legacy-recipe.js +19 -6
  40. package/lib/commonjs/agent-avatar/legacy-recipe.js.map +1 -1
  41. package/lib/commonjs/agent-creator/AgentCreatorBase.js +67 -107
  42. package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
  43. package/lib/commonjs/agent-creator/CharacterControls.js +23 -5
  44. package/lib/commonjs/agent-creator/CharacterControls.js.map +1 -1
  45. package/lib/commonjs/agent-creator/ClippoArtwork.js +64 -0
  46. package/lib/commonjs/agent-creator/ClippoArtwork.js.map +1 -0
  47. package/lib/commonjs/agent-creator/CyclopsArtwork.js +46 -0
  48. package/lib/commonjs/agent-creator/CyclopsArtwork.js.map +1 -0
  49. package/lib/commonjs/agent-creator/EmotionPicker.js +8 -1
  50. package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -1
  51. package/lib/commonjs/agent-creator/ShapeSilhouette.js +8 -1
  52. package/lib/commonjs/agent-creator/ShapeSilhouette.js.map +1 -1
  53. package/lib/commonjs/agent-creator/ToddArtwork.js +30 -0
  54. package/lib/commonjs/agent-creator/ToddArtwork.js.map +1 -0
  55. package/lib/commonjs/agent-creator/constants.js +16 -17
  56. package/lib/commonjs/agent-creator/constants.js.map +1 -1
  57. package/lib/commonjs/agent-creator/messages.js +1 -1
  58. package/lib/commonjs/agent-creator/messages.js.map +1 -1
  59. package/lib/commonjs/locale/translations/ar.js +1 -1
  60. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  61. package/lib/commonjs/locale/translations/bn.js +1 -1
  62. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  63. package/lib/commonjs/locale/translations/ca.js +1 -1
  64. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  65. package/lib/commonjs/locale/translations/de.js +1 -1
  66. package/lib/commonjs/locale/translations/de.js.map +1 -1
  67. package/lib/commonjs/locale/translations/es.js +1 -1
  68. package/lib/commonjs/locale/translations/es.js.map +1 -1
  69. package/lib/commonjs/locale/translations/fr.js +1 -1
  70. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  71. package/lib/commonjs/locale/translations/hi.js +1 -1
  72. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  73. package/lib/commonjs/locale/translations/id.js +1 -1
  74. package/lib/commonjs/locale/translations/id.js.map +1 -1
  75. package/lib/commonjs/locale/translations/it.js +1 -1
  76. package/lib/commonjs/locale/translations/it.js.map +1 -1
  77. package/lib/commonjs/locale/translations/ja.js +1 -1
  78. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  79. package/lib/commonjs/locale/translations/pt.js +1 -1
  80. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  81. package/lib/commonjs/locale/translations/ru.js +1 -1
  82. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  83. package/lib/commonjs/locale/translations/tr.js +1 -1
  84. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  85. package/lib/commonjs/locale/translations/zh.js +1 -1
  86. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  87. package/lib/commonjs/settings-modal/fields.js +19 -0
  88. package/lib/commonjs/settings-modal/fields.js.map +1 -0
  89. package/lib/commonjs/settings-modal/modal.js +51 -0
  90. package/lib/commonjs/settings-modal/modal.js.map +1 -0
  91. package/lib/module/agent-avatar/AgentAvatar.js +1 -1
  92. package/lib/module/agent-avatar/AgentAvatar.js.map +1 -1
  93. package/lib/module/agent-avatar/CharacterAvatar.js +2 -1
  94. package/lib/module/agent-avatar/CharacterAvatar.js.map +1 -1
  95. package/lib/module/agent-avatar/character-colors.js +15 -0
  96. package/lib/module/agent-avatar/character-colors.js.map +1 -0
  97. package/lib/module/agent-avatar/character-shapes.js +97 -0
  98. package/lib/module/agent-avatar/character-shapes.js.map +1 -0
  99. package/lib/module/agent-avatar/config-character.js +4 -0
  100. package/lib/module/agent-avatar/config-character.js.map +1 -1
  101. package/lib/module/agent-avatar/legacy-recipe.js +19 -6
  102. package/lib/module/agent-avatar/legacy-recipe.js.map +1 -1
  103. package/lib/module/agent-creator/AgentCreatorBase.js +69 -109
  104. package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
  105. package/lib/module/agent-creator/CharacterControls.js +24 -6
  106. package/lib/module/agent-creator/CharacterControls.js.map +1 -1
  107. package/lib/module/agent-creator/ClippoArtwork.js +60 -0
  108. package/lib/module/agent-creator/ClippoArtwork.js.map +1 -0
  109. package/lib/module/agent-creator/CyclopsArtwork.js +42 -0
  110. package/lib/module/agent-creator/CyclopsArtwork.js.map +1 -0
  111. package/lib/module/agent-creator/EmotionPicker.js +8 -1
  112. package/lib/module/agent-creator/EmotionPicker.js.map +1 -1
  113. package/lib/module/agent-creator/ShapeSilhouette.js +8 -1
  114. package/lib/module/agent-creator/ShapeSilhouette.js.map +1 -1
  115. package/lib/module/agent-creator/ToddArtwork.js +26 -0
  116. package/lib/module/agent-creator/ToddArtwork.js.map +1 -0
  117. package/lib/module/agent-creator/constants.js +8 -16
  118. package/lib/module/agent-creator/constants.js.map +1 -1
  119. package/lib/module/agent-creator/messages.js +1 -1
  120. package/lib/module/agent-creator/messages.js.map +1 -1
  121. package/lib/module/locale/translations/ar.js +1 -1
  122. package/lib/module/locale/translations/ar.js.map +1 -1
  123. package/lib/module/locale/translations/bn.js +1 -1
  124. package/lib/module/locale/translations/bn.js.map +1 -1
  125. package/lib/module/locale/translations/ca.js +1 -1
  126. package/lib/module/locale/translations/ca.js.map +1 -1
  127. package/lib/module/locale/translations/de.js +1 -1
  128. package/lib/module/locale/translations/de.js.map +1 -1
  129. package/lib/module/locale/translations/es.js +1 -1
  130. package/lib/module/locale/translations/es.js.map +1 -1
  131. package/lib/module/locale/translations/fr.js +1 -1
  132. package/lib/module/locale/translations/fr.js.map +1 -1
  133. package/lib/module/locale/translations/hi.js +1 -1
  134. package/lib/module/locale/translations/hi.js.map +1 -1
  135. package/lib/module/locale/translations/id.js +1 -1
  136. package/lib/module/locale/translations/id.js.map +1 -1
  137. package/lib/module/locale/translations/it.js +1 -1
  138. package/lib/module/locale/translations/it.js.map +1 -1
  139. package/lib/module/locale/translations/ja.js +1 -1
  140. package/lib/module/locale/translations/ja.js.map +1 -1
  141. package/lib/module/locale/translations/pt.js +1 -1
  142. package/lib/module/locale/translations/pt.js.map +1 -1
  143. package/lib/module/locale/translations/ru.js +1 -1
  144. package/lib/module/locale/translations/ru.js.map +1 -1
  145. package/lib/module/locale/translations/tr.js +1 -1
  146. package/lib/module/locale/translations/tr.js.map +1 -1
  147. package/lib/module/locale/translations/zh.js +1 -1
  148. package/lib/module/locale/translations/zh.js.map +1 -1
  149. package/lib/module/settings-modal/fields.js +10 -0
  150. package/lib/module/settings-modal/fields.js.map +1 -0
  151. package/lib/module/settings-modal/modal.js +16 -0
  152. package/lib/module/settings-modal/modal.js.map +1 -0
  153. package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/agent-avatar/CharacterAvatar.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/agent-avatar/character-colors.d.ts +13 -0
  156. package/lib/typescript/commonjs/agent-avatar/character-colors.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/agent-avatar/character-shapes.d.ts +19 -0
  158. package/lib/typescript/commonjs/agent-avatar/character-shapes.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/agent-avatar/config-character.d.ts +4 -0
  160. package/lib/typescript/commonjs/agent-avatar/config-character.d.ts.map +1 -1
  161. package/lib/typescript/commonjs/agent-avatar/legacy-recipe.d.ts +2 -10
  162. package/lib/typescript/commonjs/agent-avatar/legacy-recipe.d.ts.map +1 -1
  163. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/agent-creator/CharacterControls.d.ts +2 -1
  165. package/lib/typescript/commonjs/agent-creator/CharacterControls.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/agent-creator/ClippoArtwork.d.ts +6 -0
  167. package/lib/typescript/commonjs/agent-creator/ClippoArtwork.d.ts.map +1 -0
  168. package/lib/typescript/commonjs/agent-creator/CyclopsArtwork.d.ts +5 -0
  169. package/lib/typescript/commonjs/agent-creator/CyclopsArtwork.d.ts.map +1 -0
  170. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts +1 -0
  171. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts.map +1 -1
  173. package/lib/typescript/commonjs/agent-creator/ToddArtwork.d.ts +6 -0
  174. package/lib/typescript/commonjs/agent-creator/ToddArtwork.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/agent-creator/constants.d.ts +7 -15
  176. package/lib/typescript/commonjs/agent-creator/constants.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  180. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  190. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/settings-modal/fields.d.ts +9 -0
  193. package/lib/typescript/commonjs/settings-modal/fields.d.ts.map +1 -0
  194. package/lib/typescript/commonjs/settings-modal/modal.d.ts +15 -0
  195. package/lib/typescript/commonjs/settings-modal/modal.d.ts.map +1 -0
  196. package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts.map +1 -1
  197. package/lib/typescript/module/agent-avatar/CharacterAvatar.d.ts.map +1 -1
  198. package/lib/typescript/module/agent-avatar/character-colors.d.ts +13 -0
  199. package/lib/typescript/module/agent-avatar/character-colors.d.ts.map +1 -0
  200. package/lib/typescript/module/agent-avatar/character-shapes.d.ts +19 -0
  201. package/lib/typescript/module/agent-avatar/character-shapes.d.ts.map +1 -0
  202. package/lib/typescript/module/agent-avatar/config-character.d.ts +4 -0
  203. package/lib/typescript/module/agent-avatar/config-character.d.ts.map +1 -1
  204. package/lib/typescript/module/agent-avatar/legacy-recipe.d.ts +2 -10
  205. package/lib/typescript/module/agent-avatar/legacy-recipe.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/CharacterControls.d.ts +2 -1
  208. package/lib/typescript/module/agent-creator/CharacterControls.d.ts.map +1 -1
  209. package/lib/typescript/module/agent-creator/ClippoArtwork.d.ts +6 -0
  210. package/lib/typescript/module/agent-creator/ClippoArtwork.d.ts.map +1 -0
  211. package/lib/typescript/module/agent-creator/CyclopsArtwork.d.ts +5 -0
  212. package/lib/typescript/module/agent-creator/CyclopsArtwork.d.ts.map +1 -0
  213. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts +1 -0
  214. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts.map +1 -1
  215. package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts.map +1 -1
  216. package/lib/typescript/module/agent-creator/ToddArtwork.d.ts +6 -0
  217. package/lib/typescript/module/agent-creator/ToddArtwork.d.ts.map +1 -0
  218. package/lib/typescript/module/agent-creator/constants.d.ts +7 -15
  219. package/lib/typescript/module/agent-creator/constants.d.ts.map +1 -1
  220. package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
  221. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  222. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  223. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  224. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  225. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  226. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  227. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  228. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  229. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  230. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  231. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  232. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  233. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  234. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  235. package/lib/typescript/module/settings-modal/fields.d.ts +9 -0
  236. package/lib/typescript/module/settings-modal/fields.d.ts.map +1 -0
  237. package/lib/typescript/module/settings-modal/modal.d.ts +15 -0
  238. package/lib/typescript/module/settings-modal/modal.d.ts.map +1 -0
  239. package/package.json +35 -1
  240. package/src/agent-avatar/AgentAvatar.tsx +1 -5
  241. package/src/agent-avatar/CharacterAvatar.tsx +6 -1
  242. package/src/agent-avatar/character-colors.ts +12 -0
  243. package/src/agent-avatar/character-shapes.ts +116 -0
  244. package/src/agent-avatar/config-character.ts +14 -0
  245. package/src/agent-avatar/legacy-recipe.ts +21 -6
  246. package/src/agent-creator/AgentCreatorBase.tsx +110 -123
  247. package/src/agent-creator/CharacterControls.tsx +32 -7
  248. package/src/agent-creator/ClippoArtwork.tsx +44 -0
  249. package/src/agent-creator/CyclopsArtwork.tsx +21 -0
  250. package/src/agent-creator/EmotionPicker.tsx +18 -3
  251. package/src/agent-creator/ShapeSilhouette.tsx +14 -1
  252. package/src/agent-creator/ToddArtwork.tsx +25 -0
  253. package/src/agent-creator/constants.ts +8 -25
  254. package/src/agent-creator/messages.ts +2 -1
  255. package/src/locale/translations/ar.ts +2 -1
  256. package/src/locale/translations/bn.ts +2 -1
  257. package/src/locale/translations/ca.ts +2 -1
  258. package/src/locale/translations/de.ts +2 -1
  259. package/src/locale/translations/es.ts +2 -1
  260. package/src/locale/translations/fr.ts +2 -1
  261. package/src/locale/translations/hi.ts +2 -1
  262. package/src/locale/translations/id.ts +2 -1
  263. package/src/locale/translations/it.ts +2 -1
  264. package/src/locale/translations/ja.ts +2 -1
  265. package/src/locale/translations/pt.ts +2 -1
  266. package/src/locale/translations/ru.ts +2 -1
  267. package/src/locale/translations/tr.ts +2 -1
  268. package/src/locale/translations/zh.ts +2 -1
  269. package/src/settings-modal/fields.ts +8 -0
  270. package/src/settings-modal/modal.ts +34 -0
@@ -47,6 +47,9 @@ export declare const EMOTION_NAMES: {
47
47
  };
48
48
  export declare const PREVIEW_TEXT: Record<AgentLanguage, string>;
49
49
  export declare const CHARACTER_PRESETS: readonly [{
50
+ readonly id: "clippo";
51
+ readonly title: "Clippo";
52
+ }, {
50
53
  readonly id: "blue_beret";
51
54
  readonly title: "Felipe";
52
55
  }, {
@@ -72,22 +75,11 @@ export declare const CHARACTER_PRESETS: readonly [{
72
75
  readonly title: "Iggy";
73
76
  }];
74
77
  export declare const CHARACTER_OPTIONS: {
75
- readonly shape: readonly [readonly ["circle", "Circle"], readonly ["rounded_triangle", "Rounded triangle"], readonly ["capsule", "Capsule"], readonly ["rounded_head_two_ears", "Rounded head with two ears"], readonly ["six_lobed_flower", "Six lobed flower"], readonly ["heart", "Heart"], readonly ["four_lobed_butterfly", "Four lobed butterfly"], readonly ["circle_two_ears", "Circle with two ears"], readonly ["twelve_scalloped_rosette", "Twelve scalloped rosette"], readonly ["rounded_cube", "Hexagon"], readonly ["rounded_diamond", "Rounded diamond"]];
78
+ readonly shape: readonly [readonly ["clippo", "Clippo"], readonly ["todd", "Todd"], readonly ["circle", "Circle"], readonly ["rounded_triangle", "Rounded triangle"], readonly ["capsule", "Capsule"], readonly ["rounded_head_two_ears", "Rounded head with two ears"], readonly ["six_lobed_flower", "Six lobed flower"], readonly ["heart", "Heart"], readonly ["four_lobed_butterfly", "Four lobed butterfly"], readonly ["circle_two_ears", "Circle with two ears"], readonly ["twelve_scalloped_rosette", "Twelve scalloped rosette"], readonly ["rounded_cube", "Hexagon"], readonly ["rounded_diamond", "Rounded diamond"]];
76
79
  readonly color: readonly [readonly ["pink", "Pink"], readonly ["orchid", "Orchid"], readonly ["violet", "Violet"], readonly ["blue", "Blue"], readonly ["cyan", "Cyan"], readonly ["teal", "Teal"], readonly ["lime", "Lime"], readonly ["yellow", "Yellow"], readonly ["coral", "Coral"]];
77
- readonly eyes: readonly [readonly ["swept_lids", "Swept lids"], readonly ["oval", "Oval"], readonly ["sparkle_capsules", "Sparkle capsules"], readonly ["highlight_capsules", "Highlight capsules"], readonly ["dots", "Dots"], readonly ["double_highlights", "Round highlights"], readonly ["round_inset", "Round inset"], readonly ["crescent_inset", "Crescent inset"], readonly ["sleepy_lids", "Sleepy lids"]];
80
+ readonly eyes: readonly [readonly ["cyclops", "Single eye"], readonly ["clippo", "Clippo"], readonly ["todd", "Todd"], readonly ["swept_lids", "Swept lids"], readonly ["oval", "Oval"], readonly ["sparkle_capsules", "Sparkle capsules"], readonly ["highlight_capsules", "Highlight capsules"], readonly ["dots", "Dots"], readonly ["double_highlights", "Round highlights"], readonly ["round_inset", "Round inset"], readonly ["crescent_inset", "Crescent inset"], readonly ["sleepy_lids", "Sleepy lids"]];
78
81
  readonly eyewear: readonly [readonly ["none", "None"], readonly ["monocle", "Monocle"], readonly ["tall_oval_frames", "Tall oval frames"], readonly ["separate_trapezoid_lenses", "Separate trapezoid lenses"], readonly ["classic_sunglasses", "Classic sunglasses"], readonly ["round_sunglasses", "Round sunglasses"]];
79
- readonly accessory: readonly [readonly ["headphones", "Headphones"], readonly ["bow", "Bow tie"], readonly ["beanie", "Beanie"], readonly ["hat", "Hat"], readonly ["beret", "Beret"], readonly ["orb", "Bulb"], readonly ["three_lobe", "Tuft"], readonly ["crown", "Crown"]];
80
- };
81
- /** RGB swatches returned by the recovered engine's Color catalog. */
82
- export declare const CHARACTER_COLORS: {
83
- readonly pink: "#fa70ab";
84
- readonly orchid: "#dd6adc";
85
- readonly violet: "#a25bff";
86
- readonly blue: "#4778ff";
87
- readonly cyan: "#00b1ff";
88
- readonly teal: "#04bb9f";
89
- readonly lime: "#b6d80b";
90
- readonly yellow: "#ffcc38";
91
- readonly coral: "#ff8066";
82
+ readonly accessory: readonly [readonly ["headphones", "Headphones"], readonly ["bow", "Bow tie"], readonly ["beanie", "Beanie"], readonly ["hat", "Hat"], readonly ["beret", "Beret"], readonly ["felipe_beret", "Felipe’s beret"], readonly ["orb", "Bulb"], readonly ["three_lobe", "Tuft"], readonly ["crown", "Crown"]];
92
83
  };
84
+ export { CHARACTER_COLORS } from '../agent-avatar/character-colors';
93
85
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC/D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EASlB,CAAC;AACX,eAAO,MAAM,kBAAkB,+BAAgC,CAAC;AAChE,eAAO,MAAM,yBAAyB,EAAE,gBAKvC,CAAC;AACF,eAAO,MAAM,aAAa,6cAUhB,CAAC;AACX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;CAiBhB,CAAC;AACX,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAStD,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EASpB,CAAC;AACX,eAAO,MAAM,iBAAiB;;;;;;CAsDpB,CAAC;AAEX,qEAAqE;AACrE,eAAO,MAAM,gBAAgB;;;;;;;;;;CAUnB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC/D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EASlB,CAAC;AACX,eAAO,MAAM,kBAAkB,+BAAgC,CAAC;AAChE,eAAO,MAAM,yBAAyB,EAAE,gBAKvC,CAAC;AACF,eAAO,MAAM,aAAa,6cAUhB,CAAC;AACX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;CAiBhB,CAAC;AACX,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAStD,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpB,CAAC;AACX,eAAO,MAAM,iBAAiB;;;;;;CA8CpB,CAAC;AAEX,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC"}
@@ -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,oBAAoB,CAAC;AAEzE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MA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AM,CAAC,CAAC;IACnF,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,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,yBAAyB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5D,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/C;AAED,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,oBAAoB,CA2GpE,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,SAAS,CAAC;AA0mG5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA2mG5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAgpF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAipF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA4uF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA6uF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAixF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAkxF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAwwF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAywF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA2xF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA4xF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAmqF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,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,SAAS,CAAC;AAoqF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,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,SAAS,CAAC;AAguF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAiuF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA4wF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA6wF5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAirF5C,QAAA,MAAM,YAAY,EAAE,YAiNnB,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,SAAS,CAAC;AAkrF5C,QAAA,MAAM,YAAY,EAAE,YAiNnB,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,SAAS,CAAC;AA2xF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,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,SAAS,CAAC;AA4xF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,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,SAAS,CAAC;AA0iG5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AA2iG5C,QAAA,MAAM,YAAY,EAAE,YA8MnB,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,SAAS,CAAC;AAosF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,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,SAAS,CAAC;AAqsF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,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,SAAS,CAAC;AAwmF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,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,SAAS,CAAC;AAymF5C,QAAA,MAAM,YAAY,EAAE,YA6MnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Lean entry for the committing settings fields, to pair with
3
+ * `settings-modal/modal` or `settings-modal/rows`. Kept apart from the modal
4
+ * shell because `SettingsDateField` links the calendar, `Popover` and
5
+ * `TextField`, which a modal of switches and values never needs.
6
+ */
7
+ export { SettingsTextField, SettingsDateField } from './SettingsFields';
8
+ export type { SettingsDateFieldProps, SettingsTextFieldProps } from './types';
9
+ //# sourceMappingURL=fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/fields.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxE,YAAY,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Lean entry for the settings dialog itself: the `SettingsModal` shell, the
3
+ * row chrome its pages are built from, and the saved-toast hook. Same
4
+ * components as `settings-modal`, without linking the Storage, Tools or Plan
5
+ * pages (and with them `Select`, `FileUpload`, `Pagination`, `DropdownMenu`)
6
+ * or the text/date fields' `TextField` and calendar. Metro does not tree-shake
7
+ * barrel exports, so the full entry put all of those in any bundle that drew
8
+ * the modal — and a lazy modal chunk sharing `Select` with another lazy chunk
9
+ * hoisted it into the first-paint common chunk.
10
+ */
11
+ export { SettingsModal } from './SettingsModal';
12
+ export { SettingsCard, SettingsRow, SettingsSection, SettingsSectionLabel, SettingsValueField, } from './SettingsRows';
13
+ export { useSettingsSavedToast } from './context';
14
+ export type { SettingsCardProps, SettingsIcon, SettingsModalLabels, SettingsModalPage, SettingsModalPageNavigation, SettingsModalProps, SettingsNavGroup, SettingsNavItem, SettingsRowProps, SettingsSectionLabelProps, SettingsSectionProps, SettingsValueFieldProps, } from './types';
15
+ //# sourceMappingURL=modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/modal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/bloom",
3
- "version": "7.31.1",
3
+ "version": "7.33.0",
4
4
  "packageManager": "bun@1.3.14",
5
5
  "description": "Bloom UI — Oxy ecosystem component library for React Native + Expo + Web",
6
6
  "main": "lib/commonjs/index.js",
@@ -906,6 +906,34 @@
906
906
  "default": "./lib/commonjs/settings-modal/rows.js"
907
907
  }
908
908
  },
909
+ "./settings-modal/modal": {
910
+ "react-native": {
911
+ "types": "./lib/typescript/module/settings-modal/modal.d.ts",
912
+ "default": "./src/settings-modal/modal.ts"
913
+ },
914
+ "import": {
915
+ "types": "./lib/typescript/module/settings-modal/modal.d.ts",
916
+ "default": "./lib/module/settings-modal/modal.js"
917
+ },
918
+ "require": {
919
+ "types": "./lib/typescript/commonjs/settings-modal/modal.d.ts",
920
+ "default": "./lib/commonjs/settings-modal/modal.js"
921
+ }
922
+ },
923
+ "./settings-modal/fields": {
924
+ "react-native": {
925
+ "types": "./lib/typescript/module/settings-modal/fields.d.ts",
926
+ "default": "./src/settings-modal/fields.ts"
927
+ },
928
+ "import": {
929
+ "types": "./lib/typescript/module/settings-modal/fields.d.ts",
930
+ "default": "./lib/module/settings-modal/fields.js"
931
+ },
932
+ "require": {
933
+ "types": "./lib/typescript/commonjs/settings-modal/fields.d.ts",
934
+ "default": "./lib/commonjs/settings-modal/fields.js"
935
+ }
936
+ },
909
937
  "./auth-card": {
910
938
  "react-native": {
911
939
  "types": "./lib/typescript/module/auth-card/index.d.ts",
@@ -3886,6 +3914,12 @@
3886
3914
  "settings-modal/rows": [
3887
3915
  "./lib/typescript/module/settings-modal/rows.d.ts"
3888
3916
  ],
3917
+ "settings-modal/modal": [
3918
+ "./lib/typescript/module/settings-modal/modal.d.ts"
3919
+ ],
3920
+ "settings-modal/fields": [
3921
+ "./lib/typescript/module/settings-modal/fields.d.ts"
3922
+ ],
3889
3923
  "auth-card": [
3890
3924
  "./lib/typescript/module/auth-card/index.d.ts"
3891
3925
  ],
@@ -10,9 +10,5 @@ export const AgentAvatar = memo(function AgentAvatar(props: AgentAvatarProps) {
10
10
  const { runtimeUrl } = useContext(CharacterRuntimeContext);
11
11
  const beta = props.config.character && props.config.character.preset !== 'bloom';
12
12
  const legacy = runtimeUrl && !legacyRecipeUnsupported(props.config);
13
- return beta || legacy ? (
14
- <CharacterAvatar key={beta ? 'character' : 'legacy'} {...props} />
15
- ) : (
16
- <ProceduralAvatar {...props} />
17
- );
13
+ return beta || legacy ? <CharacterAvatar {...props} /> : <ProceduralAvatar {...props} />;
18
14
  });
@@ -9,6 +9,7 @@ import { characterHtml, scriptJson } from './character-html';
9
9
  import { loadCharacterRuntime } from './character-runtime-module';
10
10
  import { characterWebView, type CharacterWebViewHandle } from './character-webview';
11
11
  import { legacyRecipe } from './legacy-recipe';
12
+ import { isMigratedCharacterShape } from './character-shapes';
12
13
  import { AGENT_AVATAR_MESSAGES } from './messages';
13
14
  import type { AgentAvatarProps } from './types';
14
15
 
@@ -191,7 +192,11 @@ export function CharacterAvatar(props: AgentAvatarProps) {
191
192
  useEffect(() => setFailed(false), [runtimeUrl, config.character]);
192
193
  const legacy = useMemo(
193
194
  () =>
194
- !config.character || config.character.preset === 'bloom' ? legacyRecipe(config) : undefined,
195
+ !config.character ||
196
+ config.character.preset === 'bloom' ||
197
+ isMigratedCharacterShape(config.character.selections?.shape)
198
+ ? legacyRecipe(config)
199
+ : undefined,
195
200
  [config],
196
201
  );
197
202
  const value = useMemo(
@@ -0,0 +1,12 @@
1
+ /** RGB swatches returned by the recovered engine's Color catalog. */
2
+ export const CHARACTER_COLORS = {
3
+ pink: '#fa70ab',
4
+ orchid: '#dd6adc',
5
+ violet: '#a25bff',
6
+ blue: '#4778ff',
7
+ cyan: '#00b1ff',
8
+ teal: '#04bb9f',
9
+ lime: '#b6d80b',
10
+ yellow: '#ffcc38',
11
+ coral: '#ff8066',
12
+ } as const;
@@ -0,0 +1,116 @@
1
+ import { avatarHex } from './avatar-color';
2
+ import type { AvatarCharacterConfig } from './config-character';
3
+ import type { AvatarConfig } from './model';
4
+
5
+ export const NATIVE_CHARACTER_SHAPES = [
6
+ ['clippo', 'Clippo'],
7
+ ['todd', 'Todd'],
8
+ ['circle', 'Circle'],
9
+ ['rounded_triangle', 'Rounded triangle'],
10
+ ['capsule', 'Capsule'],
11
+ ['rounded_head_two_ears', 'Rounded head with two ears'],
12
+ ['six_lobed_flower', 'Six lobed flower'],
13
+ ['heart', 'Heart'],
14
+ ['four_lobed_butterfly', 'Four lobed butterfly'],
15
+ ['circle_two_ears', 'Circle with two ears'],
16
+ ['twelve_scalloped_rosette', 'Twelve scalloped rosette'],
17
+ ['rounded_cube', 'Hexagon'],
18
+ ['rounded_diamond', 'Rounded diamond'],
19
+ ] as const;
20
+ export const MIGRATED_CHARACTER_SHAPES = [
21
+ ['slender', 'Slender'],
22
+ ['pocket', 'Pocket'],
23
+ ['petal', 'Petal'],
24
+ ['star', 'Star'],
25
+ ['cloud', 'Cloud'],
26
+ ['shield', 'Shield'],
27
+ ['pebble', 'Pebble'],
28
+ ['squircle', 'Squircle'],
29
+ ] as const;
30
+ export const CHARACTER_SHAPES = [...NATIVE_CHARACTER_SHAPES, ...MIGRATED_CHARACTER_SHAPES] as const;
31
+
32
+ export function isMigratedCharacterShape(id: string | undefined): boolean {
33
+ return MIGRATED_CHARACTER_SHAPES.some(([shape]) => shape === id);
34
+ }
35
+
36
+ /** The saved paper/blob fields remain readable; canonical shape IDs own new edits. */
37
+ export function currentCharacterShape(config: AvatarConfig): string {
38
+ if (config.character?.selections?.shape) return config.character.selections.shape;
39
+ const shape = config.family === 'fold' ? config.foldShape : config.shape;
40
+ const equivalent: Partial<Record<string, string>> = {
41
+ triangle: 'rounded_triangle',
42
+ flower: 'six_lobed_flower',
43
+ diamond: 'rounded_diamond',
44
+ };
45
+ return equivalent[shape] ?? shape;
46
+ }
47
+
48
+ /** Geometry-only view of one of the eight migrated contours. */
49
+ export function characterShapeGeometry(config: AvatarConfig): AvatarConfig {
50
+ const shape = config.character?.selections?.shape;
51
+ if (!isMigratedCharacterShape(shape)) return config;
52
+ return shape === 'pebble' || shape === 'squircle'
53
+ ? { ...config, family: 'blob', shape }
54
+ : {
55
+ ...config,
56
+ family: 'fold',
57
+ foldShape: shape as AvatarConfig['foldShape'],
58
+ };
59
+ }
60
+
61
+ /** Retain effective authored parts while preparing the next body. An old recipe
62
+ * is promoted once, with its actual paint and contour rather than Felipe defaults.
63
+ */
64
+ export function materializeCharacter(
65
+ config: AvatarConfig,
66
+ selected: Readonly<Record<string, string>> = {},
67
+ ): AvatarCharacterConfig {
68
+ const saved = config.character;
69
+ if (!saved || saved.preset === 'bloom')
70
+ return {
71
+ ...saved,
72
+ preset: 'legacy',
73
+ ...(saved?.bodyColor
74
+ ? { bodyColor: saved.bodyColor }
75
+ : !saved?.selections?.color
76
+ ? { bodyColor: avatarHex(config) }
77
+ : {}),
78
+ selections: {
79
+ shape: currentCharacterShape(config),
80
+ eyes: 'oval',
81
+ eyewear: 'none',
82
+ accessory: 'none',
83
+ ...saved?.selections,
84
+ },
85
+ };
86
+ const defaults: NonNullable<AvatarCharacterConfig['selections']> = {};
87
+ for (const part of ['eyes', 'eyewear', 'accessory'] as const)
88
+ if (selected[part]) defaults[part] = selected[part];
89
+ // These virtual parts are absent from the backing native catalog.
90
+ if (!defaults.eyes && saved.preset === 'clippo') defaults.eyes = 'clippo';
91
+ if (!defaults.eyes && saved.preset === 'lime_frog') defaults.eyes = 'todd';
92
+ if (!defaults.accessory && saved.preset === 'blue_beret') defaults.accessory = 'felipe_beret';
93
+ return { ...saved, selections: { ...defaults, ...saved.selections } };
94
+ }
95
+
96
+ /** All 21 bodies change the same character recipe. Named paint and explicit RGB
97
+ * keep their precedence; a body never supplies a replacement color or face.
98
+ */
99
+ export function createConfigForShape(
100
+ config: AvatarConfig,
101
+ shape: string,
102
+ selected: Readonly<Record<string, string>> = {},
103
+ ): AvatarConfig {
104
+ if (!CHARACTER_SHAPES.some(([id]) => id === shape)) throw new Error('Unknown character shape.');
105
+ const character = materializeCharacter(config, selected);
106
+ if (!character.bodyColor && !character.selections?.color) {
107
+ if (character.preset === 'clippo') character.bodyColor = '#999b9d';
108
+ else if (selected.color)
109
+ character.selections = { ...character.selections, color: selected.color };
110
+ else if (selected.bodyColor) character.bodyColor = selected.bodyColor;
111
+ }
112
+ return characterShapeGeometry({
113
+ ...config,
114
+ character: { ...character, selections: { ...character.selections, shape } },
115
+ });
116
+ }
@@ -2,10 +2,14 @@
2
2
  export type AvatarCharacterCategory = 'shape' | 'color' | 'eyes' | 'eyewear' | 'accessory';
3
3
 
4
4
  export type AvatarCharacterConfig = {
5
+ /** Named catalog preset, including Clippo (`clippo`), or a saved renderer ID. */
5
6
  preset: string;
7
+ /** Clippo's open wire body and ring eyes are independently selectable with ID `clippo`. */
6
8
  selections?: Partial<Record<AvatarCharacterCategory, string>>;
7
9
  /** Custom body RGB accepted by the original renderer, stored as lowercase #RRGGBB. */
8
10
  bodyColor?: string;
11
+ /** @deprecated Retained when reading saved recipes; ignored by the renderer. Each shape owns its eye layout. */
12
+ eyeSpacing?: number;
9
13
  };
10
14
 
11
15
  const categories: readonly AvatarCharacterCategory[] = [
@@ -25,6 +29,16 @@ export function parseCharacterConfig(value: unknown): AvatarCharacterConfig {
25
29
  const candidate = value as Record<string, unknown>;
26
30
  if (!validId(candidate.preset)) throw new Error('Invalid character preset.');
27
31
  const result: AvatarCharacterConfig = { preset: candidate.preset };
32
+ if (candidate.eyeSpacing !== undefined) {
33
+ if (
34
+ typeof candidate.eyeSpacing !== 'number' ||
35
+ !Number.isFinite(candidate.eyeSpacing) ||
36
+ candidate.eyeSpacing < 0.5 ||
37
+ candidate.eyeSpacing > 1.5
38
+ )
39
+ throw new Error('Invalid character eye spacing.');
40
+ result.eyeSpacing = candidate.eyeSpacing;
41
+ }
28
42
  if (candidate.bodyColor !== undefined) {
29
43
  if (
30
44
  typeof candidate.bodyColor !== 'string' ||
@@ -1,3 +1,5 @@
1
+ import { CHARACTER_COLORS } from './character-colors';
2
+ import { characterShapeGeometry, isMigratedCharacterShape } from './character-shapes';
1
3
  import { avatarHex } from './avatar-color';
2
4
  import { legacyContours } from './legacy-contours';
3
5
  import type { AvatarConfig } from './model';
@@ -9,12 +11,14 @@ export type LegacyRecipe = {
9
11
  points?: Point[];
10
12
  shape?: string;
11
13
  eyes: string;
14
+ eyeSpacing?: number;
12
15
  selections?: Pick<NonNullable<AvatarCharacterConfig['selections']>, 'eyewear' | 'accessory'>;
13
16
  patch: { bodyColor: string };
14
17
  };
15
18
 
16
19
  /** Saved unsupported artwork stays readable without pretending it was migrated. */
17
20
  export function legacyRecipeUnsupported(config: AvatarConfig): boolean {
21
+ if (isMigratedCharacterShape(config.character?.selections?.shape)) return false;
18
22
  return config.family === 'alien' || config.family === 'mascot' || !config.face;
19
23
  }
20
24
 
@@ -66,6 +70,7 @@ export function radialContour(polygons: Point[][], samples = 256): Point[] {
66
70
 
67
71
  /** Shared capability identity for the editor and the legacy engine adapter. */
68
72
  export function legacyCharacterRecipe(config: AvatarConfig) {
73
+ if (config.character && config.character.preset !== 'bloom') return config.character;
69
74
  const customization = config.character?.preset === 'bloom' ? config.character : undefined;
70
75
  return {
71
76
  preset: 'legacy',
@@ -77,7 +82,11 @@ export function legacyCharacterRecipe(config: AvatarConfig) {
77
82
  ? { accessory: customization.selections.accessory }
78
83
  : {}),
79
84
  },
80
- bodyColor: customization?.bodyColor ?? avatarHex(config),
85
+ bodyColor:
86
+ customization?.bodyColor ??
87
+ CHARACTER_COLORS[customization?.selections?.color as keyof typeof CHARACTER_COLORS] ??
88
+ avatarHex(config),
89
+ ...(customization?.eyeSpacing !== undefined ? { eyeSpacing: customization.eyeSpacing } : {}),
81
90
  };
82
91
  }
83
92
 
@@ -87,12 +96,18 @@ export function legacyCharacterRecipe(config: AvatarConfig) {
87
96
  */
88
97
  export function legacyRecipe(config: AvatarConfig, samples = 256): LegacyRecipe {
89
98
  if (legacyRecipeUnsupported(config)) throw new Error('Unsupported legacy 3D recipe');
90
- const shape = legacyNativeShape(config);
99
+ const geometry = characterShapeGeometry(config);
100
+ const canonical = config.character && config.character.preset !== 'bloom';
101
+ const selectedShape = canonical ? config.character?.selections?.shape : undefined;
102
+ const shape = isMigratedCharacterShape(selectedShape)
103
+ ? undefined
104
+ : (selectedShape ?? legacyNativeShape(geometry));
91
105
  const recipe = legacyCharacterRecipe(config);
92
- const { eyewear, accessory } = recipe.selections;
106
+ const { eyewear, accessory } = recipe.selections ?? {};
93
107
  return {
94
- ...(shape ? { shape } : { points: radialContour(legacyContours(config), samples) }),
95
- eyes: recipe.selections.eyes,
108
+ ...(shape ? { shape } : { points: radialContour(legacyContours(geometry), samples) }),
109
+ eyes: recipe.selections?.eyes ?? 'oval',
110
+ ...(recipe.eyeSpacing !== undefined ? { eyeSpacing: recipe.eyeSpacing } : {}),
96
111
  ...(eyewear || accessory
97
112
  ? {
98
113
  selections: {
@@ -101,6 +116,6 @@ export function legacyRecipe(config: AvatarConfig, samples = 256): LegacyRecipe
101
116
  },
102
117
  }
103
118
  : {}),
104
- patch: { bodyColor: recipe.bodyColor },
119
+ patch: { bodyColor: recipe.bodyColor ?? avatarHex(config) },
105
120
  };
106
121
  }