@oxy.so/bloom 7.1.4 → 7.1.5

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 (220) hide show
  1. package/assets/character-runtime/README.md +19 -114
  2. package/assets/character-runtime/legacy-engine.mjs +54 -406
  3. package/assets/character-runtime/legacy-geometry.mjs +85 -242
  4. package/assets/character-runtime/legacy-worker.mjs +23 -82
  5. package/assets/character-runtime/managed-avatar.mjs +18 -12
  6. package/assets/character-runtime/render-budget.mjs +11 -6
  7. package/assets/character-runtime/runtime.mjs +295 -744
  8. package/docs/agent-avatar.mdx +8 -45
  9. package/docs/agent-creator.mdx +3 -13
  10. package/lib/commonjs/agent-avatar/AgentAvatar.js +1 -1
  11. package/lib/commonjs/agent-avatar/AgentAvatar.js.map +1 -1
  12. package/lib/commonjs/agent-avatar/CharacterAvatar.js +1 -2
  13. package/lib/commonjs/agent-avatar/CharacterAvatar.js.map +1 -1
  14. package/lib/commonjs/agent-avatar/config-character.js +0 -4
  15. package/lib/commonjs/agent-avatar/config-character.js.map +1 -1
  16. package/lib/commonjs/agent-avatar/legacy-recipe.js +6 -19
  17. package/lib/commonjs/agent-avatar/legacy-recipe.js.map +1 -1
  18. package/lib/commonjs/agent-creator/AgentCreatorBase.js +107 -67
  19. package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
  20. package/lib/commonjs/agent-creator/CharacterControls.js +5 -23
  21. package/lib/commonjs/agent-creator/CharacterControls.js.map +1 -1
  22. package/lib/commonjs/agent-creator/EmotionPicker.js +1 -8
  23. package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -1
  24. package/lib/commonjs/agent-creator/ShapeSilhouette.js +1 -8
  25. package/lib/commonjs/agent-creator/ShapeSilhouette.js.map +1 -1
  26. package/lib/commonjs/agent-creator/constants.js +17 -16
  27. package/lib/commonjs/agent-creator/constants.js.map +1 -1
  28. package/lib/commonjs/agent-creator/messages.js +1 -1
  29. package/lib/commonjs/agent-creator/messages.js.map +1 -1
  30. package/lib/commonjs/locale/translations/ar.js +1 -1
  31. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  32. package/lib/commonjs/locale/translations/bn.js +1 -1
  33. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  34. package/lib/commonjs/locale/translations/ca.js +1 -1
  35. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  36. package/lib/commonjs/locale/translations/de.js +1 -1
  37. package/lib/commonjs/locale/translations/de.js.map +1 -1
  38. package/lib/commonjs/locale/translations/es.js +1 -1
  39. package/lib/commonjs/locale/translations/es.js.map +1 -1
  40. package/lib/commonjs/locale/translations/fr.js +1 -1
  41. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  42. package/lib/commonjs/locale/translations/hi.js +1 -1
  43. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  44. package/lib/commonjs/locale/translations/id.js +1 -1
  45. package/lib/commonjs/locale/translations/id.js.map +1 -1
  46. package/lib/commonjs/locale/translations/it.js +1 -1
  47. package/lib/commonjs/locale/translations/it.js.map +1 -1
  48. package/lib/commonjs/locale/translations/ja.js +1 -1
  49. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  50. package/lib/commonjs/locale/translations/pt.js +1 -1
  51. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  52. package/lib/commonjs/locale/translations/ru.js +1 -1
  53. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  54. package/lib/commonjs/locale/translations/tr.js +1 -1
  55. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  56. package/lib/commonjs/locale/translations/zh.js +1 -1
  57. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  58. package/lib/module/agent-avatar/AgentAvatar.js +1 -1
  59. package/lib/module/agent-avatar/AgentAvatar.js.map +1 -1
  60. package/lib/module/agent-avatar/CharacterAvatar.js +1 -2
  61. package/lib/module/agent-avatar/CharacterAvatar.js.map +1 -1
  62. package/lib/module/agent-avatar/config-character.js +0 -4
  63. package/lib/module/agent-avatar/config-character.js.map +1 -1
  64. package/lib/module/agent-avatar/legacy-recipe.js +6 -19
  65. package/lib/module/agent-avatar/legacy-recipe.js.map +1 -1
  66. package/lib/module/agent-creator/AgentCreatorBase.js +109 -69
  67. package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
  68. package/lib/module/agent-creator/CharacterControls.js +6 -24
  69. package/lib/module/agent-creator/CharacterControls.js.map +1 -1
  70. package/lib/module/agent-creator/EmotionPicker.js +1 -8
  71. package/lib/module/agent-creator/EmotionPicker.js.map +1 -1
  72. package/lib/module/agent-creator/ShapeSilhouette.js +1 -8
  73. package/lib/module/agent-creator/ShapeSilhouette.js.map +1 -1
  74. package/lib/module/agent-creator/constants.js +16 -8
  75. package/lib/module/agent-creator/constants.js.map +1 -1
  76. package/lib/module/agent-creator/messages.js +1 -1
  77. package/lib/module/agent-creator/messages.js.map +1 -1
  78. package/lib/module/locale/translations/ar.js +1 -1
  79. package/lib/module/locale/translations/ar.js.map +1 -1
  80. package/lib/module/locale/translations/bn.js +1 -1
  81. package/lib/module/locale/translations/bn.js.map +1 -1
  82. package/lib/module/locale/translations/ca.js +1 -1
  83. package/lib/module/locale/translations/ca.js.map +1 -1
  84. package/lib/module/locale/translations/de.js +1 -1
  85. package/lib/module/locale/translations/de.js.map +1 -1
  86. package/lib/module/locale/translations/es.js +1 -1
  87. package/lib/module/locale/translations/es.js.map +1 -1
  88. package/lib/module/locale/translations/fr.js +1 -1
  89. package/lib/module/locale/translations/fr.js.map +1 -1
  90. package/lib/module/locale/translations/hi.js +1 -1
  91. package/lib/module/locale/translations/hi.js.map +1 -1
  92. package/lib/module/locale/translations/id.js +1 -1
  93. package/lib/module/locale/translations/id.js.map +1 -1
  94. package/lib/module/locale/translations/it.js +1 -1
  95. package/lib/module/locale/translations/it.js.map +1 -1
  96. package/lib/module/locale/translations/ja.js +1 -1
  97. package/lib/module/locale/translations/ja.js.map +1 -1
  98. package/lib/module/locale/translations/pt.js +1 -1
  99. package/lib/module/locale/translations/pt.js.map +1 -1
  100. package/lib/module/locale/translations/ru.js +1 -1
  101. package/lib/module/locale/translations/ru.js.map +1 -1
  102. package/lib/module/locale/translations/tr.js +1 -1
  103. package/lib/module/locale/translations/tr.js.map +1 -1
  104. package/lib/module/locale/translations/zh.js +1 -1
  105. package/lib/module/locale/translations/zh.js.map +1 -1
  106. package/lib/typescript/commonjs/agent-avatar/CharacterAvatar.d.ts.map +1 -1
  107. package/lib/typescript/commonjs/agent-avatar/config-character.d.ts +0 -4
  108. package/lib/typescript/commonjs/agent-avatar/config-character.d.ts.map +1 -1
  109. package/lib/typescript/commonjs/agent-avatar/legacy-recipe.d.ts +10 -2
  110. package/lib/typescript/commonjs/agent-avatar/legacy-recipe.d.ts.map +1 -1
  111. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
  112. package/lib/typescript/commonjs/agent-creator/CharacterControls.d.ts +1 -2
  113. package/lib/typescript/commonjs/agent-creator/CharacterControls.d.ts.map +1 -1
  114. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts +0 -1
  115. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/agent-creator/constants.d.ts +15 -7
  118. package/lib/typescript/commonjs/agent-creator/constants.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
  120. package/lib/typescript/module/agent-avatar/CharacterAvatar.d.ts.map +1 -1
  121. package/lib/typescript/module/agent-avatar/config-character.d.ts +0 -4
  122. package/lib/typescript/module/agent-avatar/config-character.d.ts.map +1 -1
  123. package/lib/typescript/module/agent-avatar/legacy-recipe.d.ts +10 -2
  124. package/lib/typescript/module/agent-avatar/legacy-recipe.d.ts.map +1 -1
  125. package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -1
  126. package/lib/typescript/module/agent-creator/CharacterControls.d.ts +1 -2
  127. package/lib/typescript/module/agent-creator/CharacterControls.d.ts.map +1 -1
  128. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts +0 -1
  129. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts.map +1 -1
  130. package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts.map +1 -1
  131. package/lib/typescript/module/agent-creator/constants.d.ts +15 -7
  132. package/lib/typescript/module/agent-creator/constants.d.ts.map +1 -1
  133. package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
  134. package/package.json +1 -1
  135. package/src/agent-avatar/AgentAvatar.tsx +1 -1
  136. package/src/agent-avatar/CharacterAvatar.tsx +1 -4
  137. package/src/agent-avatar/config-character.ts +6 -39
  138. package/src/agent-avatar/legacy-recipe.ts +6 -34
  139. package/src/agent-creator/AgentCreatorBase.tsx +152 -121
  140. package/src/agent-creator/CharacterControls.tsx +14 -39
  141. package/src/agent-creator/EmotionPicker.tsx +16 -55
  142. package/src/agent-creator/ShapeSilhouette.tsx +1 -16
  143. package/src/agent-creator/constants.ts +14 -47
  144. package/src/agent-creator/messages.ts +1 -2
  145. package/src/locale/translations/ar.ts +1 -1
  146. package/src/locale/translations/bn.ts +1 -1
  147. package/src/locale/translations/ca.ts +1 -1
  148. package/src/locale/translations/de.ts +1 -1
  149. package/src/locale/translations/es.ts +1 -1
  150. package/src/locale/translations/fr.ts +1 -1
  151. package/src/locale/translations/hi.ts +1 -1
  152. package/src/locale/translations/id.ts +1 -1
  153. package/src/locale/translations/it.ts +1 -1
  154. package/src/locale/translations/ja.ts +1 -1
  155. package/src/locale/translations/pt.ts +1 -1
  156. package/src/locale/translations/ru.ts +1 -1
  157. package/src/locale/translations/tr.ts +1 -1
  158. package/src/locale/translations/zh.ts +1 -1
  159. package/assets/character-runtime/authored-parts.mjs +0 -754
  160. package/assets/character-runtime/catalog-parts.mjs +0 -362
  161. package/assets/character-runtime/character-recipe.mjs +0 -247
  162. package/assets/character-runtime/clippo-geometry.mjs +0 -679
  163. package/assets/character-runtime/controller-mode.mjs +0 -208
  164. package/assets/character-runtime/cyclops-geometry.mjs +0 -180
  165. package/assets/character-runtime/migrated-contours.mjs +0 -2067
  166. package/assets/character-runtime/migrated-faces.mjs +0 -59
  167. package/assets/character-runtime/pose-transition.mjs +0 -523
  168. package/assets/character-runtime/preparation-cache.mjs +0 -60
  169. package/assets/character-runtime/render-errors.mjs +0 -180
  170. package/assets/character-runtime/resolution.mjs +0 -10
  171. package/assets/character-runtime/sha256.mjs +0 -44
  172. package/assets/character-runtime/shared-programs.mjs +0 -534
  173. package/assets/character-runtime/shared-surface.mjs +0 -490
  174. package/assets/character-runtime/shared-textures.mjs +0 -420
  175. package/assets/character-runtime/thumbnails/eyes/todd.png +0 -0
  176. package/lib/commonjs/agent-avatar/character-colors.js +0 -19
  177. package/lib/commonjs/agent-avatar/character-colors.js.map +0 -1
  178. package/lib/commonjs/agent-avatar/character-shapes.js +0 -106
  179. package/lib/commonjs/agent-avatar/character-shapes.js.map +0 -1
  180. package/lib/commonjs/agent-creator/ClippoArtwork.js +0 -63
  181. package/lib/commonjs/agent-creator/ClippoArtwork.js.map +0 -1
  182. package/lib/commonjs/agent-creator/CyclopsArtwork.js +0 -45
  183. package/lib/commonjs/agent-creator/CyclopsArtwork.js.map +0 -1
  184. package/lib/commonjs/agent-creator/ToddArtwork.js +0 -29
  185. package/lib/commonjs/agent-creator/ToddArtwork.js.map +0 -1
  186. package/lib/module/agent-avatar/character-colors.js +0 -15
  187. package/lib/module/agent-avatar/character-colors.js.map +0 -1
  188. package/lib/module/agent-avatar/character-shapes.js +0 -97
  189. package/lib/module/agent-avatar/character-shapes.js.map +0 -1
  190. package/lib/module/agent-creator/ClippoArtwork.js +0 -59
  191. package/lib/module/agent-creator/ClippoArtwork.js.map +0 -1
  192. package/lib/module/agent-creator/CyclopsArtwork.js +0 -41
  193. package/lib/module/agent-creator/CyclopsArtwork.js.map +0 -1
  194. package/lib/module/agent-creator/ToddArtwork.js +0 -25
  195. package/lib/module/agent-creator/ToddArtwork.js.map +0 -1
  196. package/lib/typescript/commonjs/agent-avatar/character-colors.d.ts +0 -13
  197. package/lib/typescript/commonjs/agent-avatar/character-colors.d.ts.map +0 -1
  198. package/lib/typescript/commonjs/agent-avatar/character-shapes.d.ts +0 -19
  199. package/lib/typescript/commonjs/agent-avatar/character-shapes.d.ts.map +0 -1
  200. package/lib/typescript/commonjs/agent-creator/ClippoArtwork.d.ts +0 -6
  201. package/lib/typescript/commonjs/agent-creator/ClippoArtwork.d.ts.map +0 -1
  202. package/lib/typescript/commonjs/agent-creator/CyclopsArtwork.d.ts +0 -5
  203. package/lib/typescript/commonjs/agent-creator/CyclopsArtwork.d.ts.map +0 -1
  204. package/lib/typescript/commonjs/agent-creator/ToddArtwork.d.ts +0 -6
  205. package/lib/typescript/commonjs/agent-creator/ToddArtwork.d.ts.map +0 -1
  206. package/lib/typescript/module/agent-avatar/character-colors.d.ts +0 -13
  207. package/lib/typescript/module/agent-avatar/character-colors.d.ts.map +0 -1
  208. package/lib/typescript/module/agent-avatar/character-shapes.d.ts +0 -19
  209. package/lib/typescript/module/agent-avatar/character-shapes.d.ts.map +0 -1
  210. package/lib/typescript/module/agent-creator/ClippoArtwork.d.ts +0 -6
  211. package/lib/typescript/module/agent-creator/ClippoArtwork.d.ts.map +0 -1
  212. package/lib/typescript/module/agent-creator/CyclopsArtwork.d.ts +0 -5
  213. package/lib/typescript/module/agent-creator/CyclopsArtwork.d.ts.map +0 -1
  214. package/lib/typescript/module/agent-creator/ToddArtwork.d.ts +0 -6
  215. package/lib/typescript/module/agent-creator/ToddArtwork.d.ts.map +0 -1
  216. package/src/agent-avatar/character-colors.ts +0 -12
  217. package/src/agent-avatar/character-shapes.ts +0 -122
  218. package/src/agent-creator/ClippoArtwork.tsx +0 -49
  219. package/src/agent-creator/CyclopsArtwork.tsx +0 -27
  220. package/src/agent-creator/ToddArtwork.tsx +0 -24
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-recipe.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/legacy-recipe.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,MAAM,MAAM,YAAY,GAAG;IACzB,oEAAoE;IACpE,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,IAAI,CACf,WAAW,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAC,EAChD,SAAS,GAAG,WAAW,CACxB,CAAC;IACF,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAMrE;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,GAAG,SAAS,CAe1E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,SAAM,GAAG,KAAK,EAAE,CAyBzE;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,YAAY,yBA2BzD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,OAAO,SAAM,GACZ,YAAY,CA+Bd"}
1
+ {"version":3,"file":"legacy-recipe.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/legacy-recipe.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,MAAM,MAAM,YAAY,GAAG;IACzB,oEAAoE;IACpE,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,IAAI,CACf,WAAW,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAC,EAChD,SAAS,GAAG,WAAW,CACxB,CAAC;IACF,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAIrE;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,GAAG,SAAS,CAe1E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,SAAM,GAAG,KAAK,EAAE,CAyBzE;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,YAAY;;;;;;;;;EAiBzD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,OAAO,SAAM,GACZ,YAAY,CAqBd"}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CA6fxD"}
1
+ {"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CAgiBxD"}
@@ -1,9 +1,8 @@
1
1
  import type { AvatarCharacterConfig } from '../agent-avatar/config-character';
2
2
  /** Preset and accessory controls share Bloom Select; shapes, eyes and colors use the existing pickers. */
3
- export declare function CharacterControls({ character, capabilitiesKey, selected, onChange, }: {
3
+ export declare function CharacterControls({ character, capabilitiesKey, onChange, }: {
4
4
  character?: AvatarCharacterConfig;
5
5
  capabilitiesKey?: string;
6
- selected?: Readonly<Record<string, string>>;
7
6
  onChange: (character: AvatarCharacterConfig | undefined) => void;
8
7
  }): import("react/jsx-runtime").JSX.Element | null;
9
8
  //# sourceMappingURL=CharacterControls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CharacterControls.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/CharacterControls.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAM1C,0GAA0G;AAC1G,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,eAAe,EACf,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,SAAS,EAAE,qBAAqB,GAAG,SAAS,KAAK,IAAI,CAAC;CAClE,kDAqJA"}
1
+ {"version":3,"file":"CharacterControls.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/CharacterControls.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAM1C,0GAA0G;AAC1G,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,eAAe,EACf,QAAQ,GACT,EAAE;IACD,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,CAAC,SAAS,EAAE,qBAAqB,GAAG,SAAS,KAAK,IAAI,CAAC;CAClE,kDA8HA"}
@@ -5,7 +5,6 @@ export type EmotionChoice = {
5
5
  config: AvatarConfig;
6
6
  disabled?: boolean;
7
7
  thumbnail?: string;
8
- artwork?: 'clippo' | 'cyclops';
9
8
  };
10
9
  /** Slow automatic orbit with direct manipulation and always-upright eye chips. */
11
10
  export declare function EmotionPicker({ config, onChange, choices: choicesProp, value: valueProp, onSelect, backgroundColor, }: {
@@ -1 +1 @@
1
- {"version":3,"file":"EmotionPicker.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/EmotionPicker.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAQ,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAc1D,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC,CAAC;AA6FF,kFAAkF;AAClF,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,QAAQ,EACR,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,eAAe,GAChB,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;CAChD,2CAwHA"}
1
+ {"version":3,"file":"EmotionPicker.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/EmotionPicker.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAQ,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQ1D,MAAM,MAAM,aAAa,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,YAAY,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA0ExH,kFAAkF;AAClF,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,QAAQ,EACR,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,eAAe,GAChB,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;CAChD,2CAiHA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ShapeSilhouette.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/ShapeSilhouette.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AA2C1D,kFAAkF;AAClF,eAAO,MAAM,eAAe;YAGlB,YAAY;EA2BpB,CAAC"}
1
+ {"version":3,"file":"ShapeSilhouette.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/ShapeSilhouette.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAyC1D,kFAAkF;AAClF,eAAO,MAAM,eAAe;YAGlB,YAAY;EAepB,CAAC"}
@@ -47,9 +47,6 @@ 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
- }, {
53
50
  readonly id: "blue_beret";
54
51
  readonly title: "Felipe";
55
52
  }, {
@@ -75,11 +72,22 @@ export declare const CHARACTER_PRESETS: readonly [{
75
72
  readonly title: "Iggy";
76
73
  }];
77
74
  export declare const CHARACTER_OPTIONS: {
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"]];
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"]];
79
76
  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"]];
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"]];
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"]];
81
78
  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"]];
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"]];
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";
83
92
  };
84
- export { CHARACTER_COLORS } from '../agent-avatar/character-colors';
85
93
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
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
+ {"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,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O,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,CACV,SAAS,GACT,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,OAAO,GACP,SAAS,GACT,QAAQ,EACV,MAAM,CACP,CAAC;IACF,MAAM,EAAE,MAAM,CACV,MAAM,GACN,MAAM,GACN,QAAQ,GACR,MAAM,GACN,KAAK,GACL,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,EACT,MAAM,CACP,CAAC;IACF,SAAS,EAAE,MAAM,CACf,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,EACvD,MAAM,CACP,CAAC;IACF,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,CA8GpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/CharacterAvatar.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAmJhD,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,KAAK,EAAE,gBAAgB,2CAkGtD"}
1
+ {"version":3,"file":"CharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/CharacterAvatar.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAmJhD,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,KAAK,EAAE,gBAAgB,2CAgGtD"}
@@ -1,14 +1,10 @@
1
1
  /** Catalog parts extend the existing avatar recipe without discarding its shape or expression fields. */
2
2
  export type AvatarCharacterCategory = 'shape' | 'color' | 'eyes' | 'eyewear' | 'accessory';
3
3
  export type AvatarCharacterConfig = {
4
- /** Named catalog preset, including Clippo (`clippo`), or a saved renderer ID. */
5
4
  preset: string;
6
- /** Clippo's open wire body and ring eyes are independently selectable with ID `clippo`. */
7
5
  selections?: Partial<Record<AvatarCharacterCategory, string>>;
8
6
  /** Custom body RGB accepted by the original renderer, stored as lowercase #RRGGBB. */
9
7
  bodyColor?: string;
10
- /** @deprecated Retained when reading saved recipes; ignored by the renderer. Each shape owns its eye layout. */
11
- eyeSpacing?: number;
12
8
  };
13
9
  /** Validate the JSON boundary before passing saved configuration to the optional renderer. */
14
10
  export declare function parseCharacterConfig(value: unknown): AvatarCharacterConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"config-character.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/config-character.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,MAAM,MAAM,uBAAuB,GACjC,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG;IAClC,iFAAiF;IACjF,MAAM,EAAE,MAAM,CAAC;IACf,2FAA2F;IAC3F,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC,CAAC;IAC9D,sFAAsF;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gHAAgH;IAChH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAYF,8FAA8F;AAC9F,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,qBAAqB,CA8C1E"}
1
+ {"version":3,"file":"config-character.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/config-character.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC;AAE3F,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC,CAAC;IAC9D,sFAAsF;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAMF,8FAA8F;AAC9F,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,qBAAqB,CAwB1E"}
@@ -6,7 +6,6 @@ export type LegacyRecipe = {
6
6
  points?: Point[];
7
7
  shape?: string;
8
8
  eyes: string;
9
- eyeSpacing?: number;
10
9
  selections?: Pick<NonNullable<AvatarCharacterConfig['selections']>, 'eyewear' | 'accessory'>;
11
10
  patch: {
12
11
  bodyColor: string;
@@ -22,7 +21,16 @@ export declare function legacyNativeShape(config: AvatarConfig): string | undefi
22
21
  */
23
22
  export declare function radialContour(polygons: Point[][], samples?: number): Point[];
24
23
  /** Shared capability identity for the editor and the legacy engine adapter. */
25
- export declare function legacyCharacterRecipe(config: AvatarConfig): AvatarCharacterConfig;
24
+ export declare function legacyCharacterRecipe(config: AvatarConfig): {
25
+ preset: string;
26
+ selections: {
27
+ accessory?: string | undefined;
28
+ eyewear?: string | undefined;
29
+ shape: string;
30
+ eyes: string;
31
+ };
32
+ bodyColor: string;
33
+ };
26
34
  /** Legacy recipes contribute their body only; eyes are the original 3D catalog.
27
35
  * Historical expression, spacing and tilt fields remain readable but no longer
28
36
  * alter the migrated face. The engine owns eye geometry and animation.
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-recipe.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/legacy-recipe.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,MAAM,MAAM,YAAY,GAAG;IACzB,oEAAoE;IACpE,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,IAAI,CACf,WAAW,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAC,EAChD,SAAS,GAAG,WAAW,CACxB,CAAC;IACF,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAMrE;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,GAAG,SAAS,CAe1E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,SAAM,GAAG,KAAK,EAAE,CAyBzE;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,YAAY,yBA2BzD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,OAAO,SAAM,GACZ,YAAY,CA+Bd"}
1
+ {"version":3,"file":"legacy-recipe.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/legacy-recipe.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,MAAM,MAAM,YAAY,GAAG;IACzB,oEAAoE;IACpE,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,IAAI,CACf,WAAW,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAC,EAChD,SAAS,GAAG,WAAW,CACxB,CAAC;IACF,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAIrE;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,GAAG,SAAS,CAe1E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,SAAM,GAAG,KAAK,EAAE,CAyBzE;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,YAAY;;;;;;;;;EAiBzD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,OAAO,SAAM,GACZ,YAAY,CAqBd"}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CA6fxD"}
1
+ {"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CAgiBxD"}
@@ -1,9 +1,8 @@
1
1
  import type { AvatarCharacterConfig } from '../agent-avatar/config-character';
2
2
  /** Preset and accessory controls share Bloom Select; shapes, eyes and colors use the existing pickers. */
3
- export declare function CharacterControls({ character, capabilitiesKey, selected, onChange, }: {
3
+ export declare function CharacterControls({ character, capabilitiesKey, onChange, }: {
4
4
  character?: AvatarCharacterConfig;
5
5
  capabilitiesKey?: string;
6
- selected?: Readonly<Record<string, string>>;
7
6
  onChange: (character: AvatarCharacterConfig | undefined) => void;
8
7
  }): import("react/jsx-runtime").JSX.Element | null;
9
8
  //# sourceMappingURL=CharacterControls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CharacterControls.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/CharacterControls.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAM1C,0GAA0G;AAC1G,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,eAAe,EACf,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,SAAS,EAAE,qBAAqB,GAAG,SAAS,KAAK,IAAI,CAAC;CAClE,kDAqJA"}
1
+ {"version":3,"file":"CharacterControls.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/CharacterControls.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAM1C,0GAA0G;AAC1G,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,eAAe,EACf,QAAQ,GACT,EAAE;IACD,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,CAAC,SAAS,EAAE,qBAAqB,GAAG,SAAS,KAAK,IAAI,CAAC;CAClE,kDA8HA"}
@@ -5,7 +5,6 @@ export type EmotionChoice = {
5
5
  config: AvatarConfig;
6
6
  disabled?: boolean;
7
7
  thumbnail?: string;
8
- artwork?: 'clippo' | 'cyclops';
9
8
  };
10
9
  /** Slow automatic orbit with direct manipulation and always-upright eye chips. */
11
10
  export declare function EmotionPicker({ config, onChange, choices: choicesProp, value: valueProp, onSelect, backgroundColor, }: {
@@ -1 +1 @@
1
- {"version":3,"file":"EmotionPicker.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/EmotionPicker.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAQ,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAc1D,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC,CAAC;AA6FF,kFAAkF;AAClF,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,QAAQ,EACR,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,eAAe,GAChB,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;CAChD,2CAwHA"}
1
+ {"version":3,"file":"EmotionPicker.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/EmotionPicker.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAQ,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQ1D,MAAM,MAAM,aAAa,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,YAAY,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA0ExH,kFAAkF;AAClF,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,QAAQ,EACR,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,eAAe,GAChB,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;CAChD,2CAiHA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ShapeSilhouette.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/ShapeSilhouette.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AA2C1D,kFAAkF;AAClF,eAAO,MAAM,eAAe;YAGlB,YAAY;EA2BpB,CAAC"}
1
+ {"version":3,"file":"ShapeSilhouette.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/ShapeSilhouette.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAyC1D,kFAAkF;AAClF,eAAO,MAAM,eAAe;YAGlB,YAAY;EAepB,CAAC"}
@@ -47,9 +47,6 @@ 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
- }, {
53
50
  readonly id: "blue_beret";
54
51
  readonly title: "Felipe";
55
52
  }, {
@@ -75,11 +72,22 @@ export declare const CHARACTER_PRESETS: readonly [{
75
72
  readonly title: "Iggy";
76
73
  }];
77
74
  export declare const CHARACTER_OPTIONS: {
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"]];
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"]];
79
76
  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"]];
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"]];
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"]];
81
78
  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"]];
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"]];
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";
83
92
  };
84
- export { CHARACTER_COLORS } from '../agent-avatar/character-colors';
85
93
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
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
+ {"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;;;;;;;;;;;;;;;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/bloom",
3
- "version": "7.1.4",
3
+ "version": "7.1.5",
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",
@@ -12,7 +12,7 @@ export const AgentAvatar = memo(function AgentAvatar(props: AgentAvatarProps) {
12
12
  props.config.character && props.config.character.preset !== 'bloom';
13
13
  const legacy = runtimeUrl && !legacyRecipeUnsupported(props.config);
14
14
  return beta || legacy ? (
15
- <CharacterAvatar {...props} />
15
+ <CharacterAvatar key={beta ? 'character' : 'legacy'} {...props} />
16
16
  ) : (
17
17
  <ProceduralAvatar {...props} />
18
18
  );
@@ -12,7 +12,6 @@ import {
12
12
  type CharacterWebViewHandle,
13
13
  } from './character-webview';
14
14
  import { legacyRecipe } from './legacy-recipe';
15
- import { isMigratedCharacterShape } from './character-shapes';
16
15
  import { AGENT_AVATAR_MESSAGES } from './messages';
17
16
  import type { AgentAvatarProps } from './types';
18
17
 
@@ -204,9 +203,7 @@ export function CharacterAvatar(props: AgentAvatarProps) {
204
203
  useEffect(() => setFailed(false), [runtimeUrl, config.character]);
205
204
  const legacy = useMemo(
206
205
  () =>
207
- !config.character ||
208
- config.character.preset === 'bloom' ||
209
- isMigratedCharacterShape(config.character.selections?.shape)
206
+ !config.character || config.character.preset === 'bloom'
210
207
  ? legacyRecipe(config)
211
208
  : undefined,
212
209
  [config],
@@ -1,25 +1,14 @@
1
1
  /** Catalog parts extend the existing avatar recipe without discarding its shape or expression fields. */
2
- export type AvatarCharacterCategory =
3
- 'shape' | 'color' | 'eyes' | 'eyewear' | 'accessory';
2
+ export type AvatarCharacterCategory = 'shape' | 'color' | 'eyes' | 'eyewear' | 'accessory';
4
3
 
5
4
  export type AvatarCharacterConfig = {
6
- /** Named catalog preset, including Clippo (`clippo`), or a saved renderer ID. */
7
5
  preset: string;
8
- /** Clippo's open wire body and ring eyes are independently selectable with ID `clippo`. */
9
6
  selections?: Partial<Record<AvatarCharacterCategory, string>>;
10
7
  /** Custom body RGB accepted by the original renderer, stored as lowercase #RRGGBB. */
11
8
  bodyColor?: string;
12
- /** @deprecated Retained when reading saved recipes; ignored by the renderer. Each shape owns its eye layout. */
13
- eyeSpacing?: number;
14
9
  };
15
10
 
16
- const categories: readonly AvatarCharacterCategory[] = [
17
- 'shape',
18
- 'color',
19
- 'eyes',
20
- 'eyewear',
21
- 'accessory',
22
- ];
11
+ const categories: readonly AvatarCharacterCategory[] = ['shape', 'color', 'eyes', 'eyewear', 'accessory'];
23
12
  const validId = (value: unknown): value is string =>
24
13
  typeof value === 'string' && value.length > 0 && value.length <= 63;
25
14
 
@@ -30,44 +19,22 @@ export function parseCharacterConfig(value: unknown): AvatarCharacterConfig {
30
19
  const candidate = value as Record<string, unknown>;
31
20
  if (!validId(candidate.preset)) throw new Error('Invalid character preset.');
32
21
  const result: AvatarCharacterConfig = { preset: candidate.preset };
33
- if (candidate.eyeSpacing !== undefined) {
34
- if (
35
- typeof candidate.eyeSpacing !== 'number' ||
36
- !Number.isFinite(candidate.eyeSpacing) ||
37
- candidate.eyeSpacing < 0.5 ||
38
- candidate.eyeSpacing > 1.5
39
- )
40
- throw new Error('Invalid character eye spacing.');
41
- result.eyeSpacing = candidate.eyeSpacing;
42
- }
43
22
  if (candidate.bodyColor !== undefined) {
44
- if (
45
- typeof candidate.bodyColor !== 'string' ||
46
- candidate.bodyColor.length !== 7 ||
47
- !/^#[0-9a-f]{6}$/i.test(candidate.bodyColor)
48
- )
23
+ if (typeof candidate.bodyColor !== 'string' || candidate.bodyColor.length !== 7 || !/^#[0-9a-f]{6}$/i.test(candidate.bodyColor))
49
24
  throw new Error('Invalid character body color.');
50
25
  result.bodyColor = candidate.bodyColor.toLowerCase();
51
26
  }
52
27
  if (candidate.selections !== undefined) {
53
- if (
54
- !candidate.selections ||
55
- typeof candidate.selections !== 'object' ||
56
- Array.isArray(candidate.selections)
57
- )
28
+ if (!candidate.selections || typeof candidate.selections !== 'object' || Array.isArray(candidate.selections))
58
29
  throw new Error('Invalid character selections.');
59
30
  const selections: NonNullable<AvatarCharacterConfig['selections']> = {};
60
31
  for (const [category, id] of Object.entries(candidate.selections)) {
61
- if (
62
- !categories.includes(category as AvatarCharacterCategory) ||
63
- !validId(id)
64
- )
32
+ if (!categories.includes(category as AvatarCharacterCategory) || !validId(id))
65
33
  throw new Error('Invalid character selection.');
66
34
  selections[category as AvatarCharacterCategory] = id;
67
35
  }
68
36
  result.selections = selections;
69
37
  }
70
- if ('state' in candidate)
71
- throw new Error('Opaque character state is not supported.');
38
+ if ('state' in candidate) throw new Error('Opaque character state is not supported.');
72
39
  return result;
73
40
  }
@@ -1,8 +1,3 @@
1
- import { CHARACTER_COLORS } from './character-colors';
2
- import {
3
- characterShapeGeometry,
4
- isMigratedCharacterShape,
5
- } from './character-shapes';
6
1
  import { avatarHex } from './avatar-color';
7
2
  import { legacyContours } from './legacy-contours';
8
3
  import type { AvatarConfig } from './model';
@@ -14,7 +9,6 @@ export type LegacyRecipe = {
14
9
  points?: Point[];
15
10
  shape?: string;
16
11
  eyes: string;
17
- eyeSpacing?: number;
18
12
  selections?: Pick<
19
13
  NonNullable<AvatarCharacterConfig['selections']>,
20
14
  'eyewear' | 'accessory'
@@ -24,8 +18,6 @@ export type LegacyRecipe = {
24
18
 
25
19
  /** Saved unsupported artwork stays readable without pretending it was migrated. */
26
20
  export function legacyRecipeUnsupported(config: AvatarConfig): boolean {
27
- if (isMigratedCharacterShape(config.character?.selections?.shape))
28
- return false;
29
21
  return (
30
22
  config.family === 'alien' || config.family === 'mascot' || !config.face
31
23
  );
@@ -82,8 +74,6 @@ export function radialContour(polygons: Point[][], samples = 256): Point[] {
82
74
 
83
75
  /** Shared capability identity for the editor and the legacy engine adapter. */
84
76
  export function legacyCharacterRecipe(config: AvatarConfig) {
85
- if (config.character && config.character.preset !== 'bloom')
86
- return config.character;
87
77
  const customization =
88
78
  config.character?.preset === 'bloom' ? config.character : undefined;
89
79
  return {
@@ -98,15 +88,7 @@ export function legacyCharacterRecipe(config: AvatarConfig) {
98
88
  ? { accessory: customization.selections.accessory }
99
89
  : {}),
100
90
  },
101
- bodyColor:
102
- customization?.bodyColor ??
103
- CHARACTER_COLORS[
104
- customization?.selections?.color as keyof typeof CHARACTER_COLORS
105
- ] ??
106
- avatarHex(config),
107
- ...(customization?.eyeSpacing !== undefined
108
- ? { eyeSpacing: customization.eyeSpacing }
109
- : {}),
91
+ bodyColor: customization?.bodyColor ?? avatarHex(config),
110
92
  };
111
93
  }
112
94
 
@@ -120,24 +102,14 @@ export function legacyRecipe(
120
102
  ): LegacyRecipe {
121
103
  if (legacyRecipeUnsupported(config))
122
104
  throw new Error('Unsupported legacy 3D recipe');
123
- const geometry = characterShapeGeometry(config);
124
- const canonical = config.character && config.character.preset !== 'bloom';
125
- const selectedShape = canonical
126
- ? config.character?.selections?.shape
127
- : undefined;
128
- const shape = isMigratedCharacterShape(selectedShape)
129
- ? undefined
130
- : (selectedShape ?? legacyNativeShape(geometry));
105
+ const shape = legacyNativeShape(config);
131
106
  const recipe = legacyCharacterRecipe(config);
132
- const { eyewear, accessory } = recipe.selections ?? {};
107
+ const { eyewear, accessory } = recipe.selections;
133
108
  return {
134
109
  ...(shape
135
110
  ? { shape }
136
- : { points: radialContour(legacyContours(geometry), samples) }),
137
- eyes: recipe.selections?.eyes ?? 'oval',
138
- ...(recipe.eyeSpacing !== undefined
139
- ? { eyeSpacing: recipe.eyeSpacing }
140
- : {}),
111
+ : { points: radialContour(legacyContours(config), samples) }),
112
+ eyes: recipe.selections.eyes,
141
113
  ...(eyewear || accessory
142
114
  ? {
143
115
  selections: {
@@ -146,6 +118,6 @@ export function legacyRecipe(
146
118
  },
147
119
  }
148
120
  : {}),
149
- patch: { bodyColor: recipe.bodyColor ?? avatarHex(config) },
121
+ patch: { bodyColor: recipe.bodyColor },
150
122
  };
151
123
  }