@oxy.so/bloom 6.4.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1196) hide show
  1. package/README.md +3 -3
  2. package/docs/adoption-matrix.mdx +19 -16
  3. package/docs/agent-avatar.mdx +24 -0
  4. package/docs/agent-creator.mdx +50 -0
  5. package/docs/button.mdx +1 -1
  6. package/docs/design-tokens.mdx +8 -0
  7. package/docs/dialog.mdx +6 -0
  8. package/docs/migrating-to-1.0.mdx +3 -3
  9. package/docs/multi-agent-chat.mdx +69 -0
  10. package/docs/project-board.mdx +35 -0
  11. package/docs/segmented-control.mdx +2 -0
  12. package/docs/settings-modal.mdx +2 -0
  13. package/docs/sidebar.mdx +8 -0
  14. package/docs/stat-widgets.mdx +3 -4
  15. package/lib/commonjs/agent-avatar/AgentAvatar.js +214 -0
  16. package/lib/commonjs/agent-avatar/AgentAvatar.js.map +1 -0
  17. package/lib/commonjs/agent-avatar/AgentFace.js +26 -0
  18. package/lib/commonjs/agent-avatar/AgentFace.js.map +1 -0
  19. package/lib/commonjs/agent-avatar/SvgDrawing.js +207 -0
  20. package/lib/commonjs/agent-avatar/SvgDrawing.js.map +1 -0
  21. package/lib/commonjs/agent-avatar/artwork.js +148 -0
  22. package/lib/commonjs/agent-avatar/artwork.js.map +1 -0
  23. package/lib/commonjs/agent-avatar/attention.js +79 -0
  24. package/lib/commonjs/agent-avatar/attention.js.map +1 -0
  25. package/lib/commonjs/agent-avatar/blink.js +46 -0
  26. package/lib/commonjs/agent-avatar/blink.js.map +1 -0
  27. package/lib/commonjs/agent-avatar/context.js +10 -0
  28. package/lib/commonjs/agent-avatar/context.js.map +1 -0
  29. package/lib/commonjs/agent-avatar/drawing.js +234 -0
  30. package/lib/commonjs/agent-avatar/drawing.js.map +1 -0
  31. package/lib/commonjs/agent-avatar/entrance.js +32 -0
  32. package/lib/commonjs/agent-avatar/entrance.js.map +1 -0
  33. package/lib/commonjs/agent-avatar/face.js +403 -0
  34. package/lib/commonjs/agent-avatar/face.js.map +1 -0
  35. package/lib/commonjs/agent-avatar/fold-outlines.js +43 -0
  36. package/lib/commonjs/agent-avatar/fold-outlines.js.map +1 -0
  37. package/lib/commonjs/agent-avatar/fold.js +322 -0
  38. package/lib/commonjs/agent-avatar/fold.js.map +1 -0
  39. package/lib/commonjs/agent-avatar/grain.js +9 -0
  40. package/lib/commonjs/agent-avatar/grain.js.map +1 -0
  41. package/lib/commonjs/agent-avatar/index.js +146 -0
  42. package/lib/commonjs/agent-avatar/index.js.map +1 -0
  43. package/lib/commonjs/agent-avatar/messages.js +11 -0
  44. package/lib/commonjs/agent-avatar/messages.js.map +1 -0
  45. package/lib/commonjs/agent-avatar/model.js +429 -0
  46. package/lib/commonjs/agent-avatar/model.js.map +1 -0
  47. package/lib/commonjs/agent-avatar/shape-morph.js +163 -0
  48. package/lib/commonjs/agent-avatar/shape-morph.js.map +1 -0
  49. package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js.map +1 -1
  50. package/lib/commonjs/agent-avatar/wander.js +64 -0
  51. package/lib/commonjs/agent-avatar/wander.js.map +1 -0
  52. package/lib/commonjs/agent-avatar/working.js +28 -0
  53. package/lib/commonjs/agent-avatar/working.js.map +1 -0
  54. package/lib/commonjs/agent-chat/AgentChatMessage.js +21 -0
  55. package/lib/commonjs/agent-chat/AgentChatMessage.js.map +1 -1
  56. package/lib/commonjs/agent-creator/AgentCreator.js +32 -0
  57. package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -0
  58. package/lib/commonjs/agent-creator/AgentCreator.web.js +32 -0
  59. package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -0
  60. package/lib/commonjs/agent-creator/AgentCreatorBase.js +319 -0
  61. package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -0
  62. package/lib/commonjs/agent-creator/AgentPreferencesPanel.js +260 -0
  63. package/lib/commonjs/agent-creator/AgentPreferencesPanel.js.map +1 -0
  64. package/lib/commonjs/agent-creator/CustomColorPicker.js +374 -0
  65. package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
  66. package/lib/commonjs/agent-creator/EmotionPicker.js +179 -0
  67. package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -0
  68. package/lib/commonjs/agent-creator/GlossArt.js +210 -0
  69. package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
  70. package/lib/commonjs/agent-creator/ScrollSurface.js +135 -0
  71. package/lib/commonjs/agent-creator/ScrollSurface.js.map +1 -0
  72. package/lib/commonjs/agent-creator/ShapeArc.js +222 -0
  73. package/lib/commonjs/agent-creator/ShapeArc.js.map +1 -0
  74. package/lib/commonjs/agent-creator/constants.js +68 -0
  75. package/lib/commonjs/agent-creator/constants.js.map +1 -0
  76. package/lib/commonjs/agent-creator/context.js +30 -0
  77. package/lib/commonjs/agent-creator/context.js.map +1 -0
  78. package/lib/commonjs/agent-creator/index.js +39 -0
  79. package/lib/commonjs/agent-creator/index.js.map +1 -0
  80. package/lib/commonjs/agent-creator/index.web.js +39 -0
  81. package/lib/commonjs/agent-creator/index.web.js.map +1 -0
  82. package/lib/commonjs/agent-creator/messages.js +104 -0
  83. package/lib/commonjs/agent-creator/messages.js.map +1 -0
  84. package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
  85. package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
  86. package/lib/commonjs/agent-creator/shared.js +83 -0
  87. package/lib/commonjs/agent-creator/shared.js.map +1 -0
  88. package/lib/commonjs/agent-creator/types.js +6 -0
  89. package/lib/{module/dot-grid-meter → commonjs/agent-creator}/types.js.map +1 -1
  90. package/lib/commonjs/agent-creator/use-agent-voices.js +59 -0
  91. package/lib/commonjs/agent-creator/use-agent-voices.js.map +1 -0
  92. package/lib/commonjs/agent-creator/use-track-events.js +43 -0
  93. package/lib/commonjs/agent-creator/use-track-events.js.map +1 -0
  94. package/lib/commonjs/button/CloseButton.js +4 -1
  95. package/lib/commonjs/button/CloseButton.js.map +1 -1
  96. package/lib/commonjs/chip/Chip.js +28 -15
  97. package/lib/commonjs/chip/Chip.js.map +1 -1
  98. package/lib/commonjs/design-tokens/component-roles.js +94 -0
  99. package/lib/commonjs/design-tokens/component-roles.js.map +1 -0
  100. package/lib/commonjs/design-tokens/tailwind-preset.js +25 -5
  101. package/lib/commonjs/design-tokens/tailwind-preset.js.map +1 -1
  102. package/lib/commonjs/design-tokens/theme-css.js +18 -0
  103. package/lib/commonjs/design-tokens/theme-css.js.map +1 -1
  104. package/lib/commonjs/design-tokens/theme.css +284 -0
  105. package/lib/commonjs/dialog/Dialog.js +28 -14
  106. package/lib/commonjs/dialog/Dialog.js.map +1 -1
  107. package/lib/commonjs/dialog/Dialog.web.js +24 -15
  108. package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
  109. package/lib/commonjs/dialog/DialogHeader.js +1 -1
  110. package/lib/commonjs/hooks/use-accessible-name-warning.js +2 -2
  111. package/lib/commonjs/index.js +143 -103
  112. package/lib/commonjs/index.js.map +1 -1
  113. package/lib/commonjs/index.web.js +143 -103
  114. package/lib/commonjs/index.web.js.map +1 -1
  115. package/lib/commonjs/locale/translations/ar.js +363 -0
  116. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  117. package/lib/commonjs/locale/translations/bn.js +351 -0
  118. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  119. package/lib/commonjs/locale/translations/ca.js +355 -0
  120. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  121. package/lib/commonjs/locale/translations/de.js +355 -0
  122. package/lib/commonjs/locale/translations/de.js.map +1 -1
  123. package/lib/commonjs/locale/translations/es.js +355 -0
  124. package/lib/commonjs/locale/translations/es.js.map +1 -1
  125. package/lib/commonjs/locale/translations/fr.js +355 -0
  126. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  127. package/lib/commonjs/locale/translations/hi.js +354 -0
  128. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  129. package/lib/commonjs/locale/translations/id.js +354 -0
  130. package/lib/commonjs/locale/translations/id.js.map +1 -1
  131. package/lib/commonjs/locale/translations/it.js +355 -0
  132. package/lib/commonjs/locale/translations/it.js.map +1 -1
  133. package/lib/commonjs/locale/translations/ja.js +351 -0
  134. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  135. package/lib/commonjs/locale/translations/pt.js +355 -0
  136. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  137. package/lib/commonjs/locale/translations/ru.js +359 -0
  138. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  139. package/lib/commonjs/locale/translations/tr.js +354 -0
  140. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  141. package/lib/commonjs/locale/translations/zh.js +351 -0
  142. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  143. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js +16 -0
  144. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js.map +1 -0
  145. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js +16 -0
  146. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
  147. package/lib/commonjs/multi-agent-chat/AvatarHandoff.js +179 -0
  148. package/lib/commonjs/multi-agent-chat/AvatarHandoff.js.map +1 -0
  149. package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js +161 -0
  150. package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js.map +1 -0
  151. package/lib/commonjs/multi-agent-chat/ChatSidebar.js +368 -0
  152. package/lib/commonjs/multi-agent-chat/ChatSidebar.js.map +1 -0
  153. package/lib/commonjs/multi-agent-chat/EditorRail.js +63 -0
  154. package/lib/commonjs/multi-agent-chat/EditorRail.js.map +1 -0
  155. package/lib/commonjs/multi-agent-chat/Marketplace.js +501 -0
  156. package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -0
  157. package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js +123 -0
  158. package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js.map +1 -0
  159. package/lib/commonjs/multi-agent-chat/MultiAgentChat.js +39 -0
  160. package/lib/commonjs/multi-agent-chat/MultiAgentChat.js.map +1 -0
  161. package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js +39 -0
  162. package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
  163. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +926 -0
  164. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
  165. package/lib/commonjs/multi-agent-chat/ReplyRow.js +172 -0
  166. package/lib/commonjs/multi-agent-chat/ReplyRow.js.map +1 -0
  167. package/lib/commonjs/multi-agent-chat/ScrollSurface.js +94 -0
  168. package/lib/commonjs/multi-agent-chat/ScrollSurface.js.map +1 -0
  169. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +126 -0
  170. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
  171. package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js +480 -0
  172. package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
  173. package/lib/commonjs/multi-agent-chat/context.js +15 -0
  174. package/lib/commonjs/multi-agent-chat/context.js.map +1 -0
  175. package/lib/commonjs/multi-agent-chat/data.js +423 -0
  176. package/lib/commonjs/multi-agent-chat/data.js.map +1 -0
  177. package/lib/commonjs/multi-agent-chat/handoff.js +104 -0
  178. package/lib/commonjs/multi-agent-chat/handoff.js.map +1 -0
  179. package/lib/commonjs/multi-agent-chat/index.js +13 -0
  180. package/lib/commonjs/multi-agent-chat/index.js.map +1 -0
  181. package/lib/commonjs/multi-agent-chat/index.web.js +13 -0
  182. package/lib/commonjs/multi-agent-chat/index.web.js.map +1 -0
  183. package/lib/commonjs/multi-agent-chat/marketplace-data.js +145 -0
  184. package/lib/commonjs/multi-agent-chat/marketplace-data.js.map +1 -0
  185. package/lib/commonjs/multi-agent-chat/marketplace-logos.js +36 -0
  186. package/lib/commonjs/multi-agent-chat/marketplace-logos.js.map +1 -0
  187. package/lib/commonjs/multi-agent-chat/messages.js +196 -0
  188. package/lib/commonjs/multi-agent-chat/messages.js.map +1 -0
  189. package/lib/commonjs/multi-agent-chat/model-catalog.js +771 -0
  190. package/lib/commonjs/multi-agent-chat/model-catalog.js.map +1 -0
  191. package/lib/commonjs/multi-agent-chat/stream-reply.js +41 -0
  192. package/lib/commonjs/multi-agent-chat/stream-reply.js.map +1 -0
  193. package/lib/commonjs/multi-agent-chat/types.js +6 -0
  194. package/lib/commonjs/multi-agent-chat/types.js.map +1 -0
  195. package/lib/commonjs/multi-agent-chat/use-replies.js +157 -0
  196. package/lib/commonjs/multi-agent-chat/use-replies.js.map +1 -0
  197. package/lib/commonjs/multi-agent-chat/use-workspace.js +57 -0
  198. package/lib/commonjs/multi-agent-chat/use-workspace.js.map +1 -0
  199. package/lib/commonjs/project-board/BoardTooltip.js +49 -0
  200. package/lib/commonjs/project-board/BoardTooltip.js.map +1 -0
  201. package/lib/commonjs/project-board/CreateTicketDialog.js +330 -0
  202. package/lib/commonjs/project-board/CreateTicketDialog.js.map +1 -0
  203. package/lib/commonjs/project-board/ProjectBoard.js +39 -0
  204. package/lib/commonjs/project-board/ProjectBoard.js.map +1 -0
  205. package/lib/commonjs/project-board/ProjectBoard.web.js +40 -0
  206. package/lib/commonjs/project-board/ProjectBoard.web.js.map +1 -0
  207. package/lib/commonjs/project-board/ProjectBoardBase.js +768 -0
  208. package/lib/commonjs/project-board/ProjectBoardBase.js.map +1 -0
  209. package/lib/commonjs/project-board/ProjectBoardControls.js +198 -0
  210. package/lib/commonjs/project-board/ProjectBoardControls.js.map +1 -0
  211. package/lib/commonjs/project-board/ProjectBoardEmptyState.js +171 -0
  212. package/lib/commonjs/project-board/ProjectBoardEmptyState.js.map +1 -0
  213. package/lib/commonjs/project-board/ProjectBoardIcons.js +91 -0
  214. package/lib/commonjs/project-board/ProjectBoardIcons.js.map +1 -0
  215. package/lib/commonjs/project-board/RiInboxArchiveLine.js +11 -0
  216. package/lib/commonjs/project-board/RiInboxArchiveLine.js.map +1 -0
  217. package/lib/commonjs/project-board/RiMoreLine.js +11 -0
  218. package/lib/commonjs/project-board/RiMoreLine.js.map +1 -0
  219. package/lib/commonjs/project-board/RiPieChart2Line.js +11 -0
  220. package/lib/commonjs/project-board/RiPieChart2Line.js.map +1 -0
  221. package/lib/commonjs/project-board/RiRestartLine.js +11 -0
  222. package/lib/commonjs/project-board/RiRestartLine.js.map +1 -0
  223. package/lib/commonjs/project-board/SourcePrimitives.js +135 -0
  224. package/lib/commonjs/project-board/SourcePrimitives.js.map +1 -0
  225. package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js +338 -0
  226. package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js.map +1 -0
  227. package/lib/commonjs/project-board/TicketDetailDialog.js +597 -0
  228. package/lib/commonjs/project-board/TicketDetailDialog.js.map +1 -0
  229. package/lib/commonjs/project-board/TicketGenieSurface.js +76 -0
  230. package/lib/commonjs/project-board/TicketGenieSurface.js.map +1 -0
  231. package/lib/commonjs/project-board/TicketGenieSurface.web.js +193 -0
  232. package/lib/commonjs/project-board/TicketGenieSurface.web.js.map +1 -0
  233. package/lib/commonjs/project-board/animation.web.js +21 -0
  234. package/lib/commonjs/project-board/animation.web.js.map +1 -0
  235. package/lib/commonjs/project-board/constants.js +18 -0
  236. package/lib/commonjs/project-board/constants.js.map +1 -0
  237. package/lib/commonjs/project-board/context.js +15 -0
  238. package/lib/commonjs/project-board/context.js.map +1 -0
  239. package/lib/commonjs/project-board/index.js +13 -0
  240. package/lib/commonjs/project-board/index.js.map +1 -0
  241. package/lib/commonjs/project-board/index.web.js +13 -0
  242. package/lib/commonjs/project-board/index.web.js.map +1 -0
  243. package/lib/commonjs/project-board/messages.js +80 -0
  244. package/lib/commonjs/project-board/messages.js.map +1 -0
  245. package/lib/commonjs/project-board/shared.js +90 -0
  246. package/lib/commonjs/project-board/shared.js.map +1 -0
  247. package/lib/commonjs/project-board/types.js +6 -0
  248. package/lib/commonjs/project-board/types.js.map +1 -0
  249. package/lib/commonjs/segmented-control/SegmentedControl.js +36 -38
  250. package/lib/commonjs/segmented-control/SegmentedControl.js.map +1 -1
  251. package/lib/commonjs/settings-modal/SettingsModal.js +18 -4
  252. package/lib/commonjs/settings-modal/SettingsModal.js.map +1 -1
  253. package/lib/commonjs/settings-modal/SettingsRows.js +4 -1
  254. package/lib/commonjs/settings-modal/SettingsRows.js.map +1 -1
  255. package/lib/commonjs/sidebar/Sidebar.js +21 -9
  256. package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
  257. package/lib/commonjs/sidebar/SidebarItem.js +58 -14
  258. package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
  259. package/lib/commonjs/sidebar/SidebarTeamMenu.js +3 -3
  260. package/lib/commonjs/sidebar/SidebarTeamMenu.js.map +1 -1
  261. package/lib/commonjs/sidebar/SidebarToolbar.js +166 -0
  262. package/lib/commonjs/sidebar/SidebarToolbar.js.map +1 -0
  263. package/lib/commonjs/sidebar/index.js +7 -0
  264. package/lib/commonjs/sidebar/index.js.map +1 -1
  265. package/lib/commonjs/sidebar/parts.js +11 -3
  266. package/lib/commonjs/sidebar/parts.js.map +1 -1
  267. package/lib/commonjs/social-button/SocialButtonBase.js +1 -0
  268. package/lib/commonjs/social-button/SocialButtonBase.js.map +1 -1
  269. package/lib/commonjs/textarea/Textarea.js +28 -14
  270. package/lib/commonjs/textarea/Textarea.js.map +1 -1
  271. package/lib/commonjs/theme/color-scope/seed-scope.js +2 -0
  272. package/lib/commonjs/theme/color-scope/seed-scope.js.map +1 -1
  273. package/lib/module/agent-avatar/AgentAvatar.js +210 -0
  274. package/lib/module/agent-avatar/AgentAvatar.js.map +1 -0
  275. package/lib/module/agent-avatar/AgentFace.js +23 -0
  276. package/lib/module/agent-avatar/AgentFace.js.map +1 -0
  277. package/lib/module/agent-avatar/SvgDrawing.js +202 -0
  278. package/lib/module/agent-avatar/SvgDrawing.js.map +1 -0
  279. package/lib/module/agent-avatar/artwork.js +144 -0
  280. package/lib/module/agent-avatar/artwork.js.map +1 -0
  281. package/lib/module/agent-avatar/attention.js +74 -0
  282. package/lib/module/agent-avatar/attention.js.map +1 -0
  283. package/lib/module/agent-avatar/blink.js +41 -0
  284. package/lib/module/agent-avatar/blink.js.map +1 -0
  285. package/lib/module/agent-avatar/context.js +6 -0
  286. package/lib/module/agent-avatar/context.js.map +1 -0
  287. package/lib/module/agent-avatar/drawing.js +226 -0
  288. package/lib/module/agent-avatar/drawing.js.map +1 -0
  289. package/lib/module/agent-avatar/entrance.js +27 -0
  290. package/lib/module/agent-avatar/entrance.js.map +1 -0
  291. package/lib/module/agent-avatar/face.js +392 -0
  292. package/lib/module/agent-avatar/face.js.map +1 -0
  293. package/lib/module/agent-avatar/fold-outlines.js +37 -0
  294. package/lib/module/agent-avatar/fold-outlines.js.map +1 -0
  295. package/lib/module/agent-avatar/fold.js +319 -0
  296. package/lib/module/agent-avatar/fold.js.map +1 -0
  297. package/lib/module/agent-avatar/grain.js +5 -0
  298. package/lib/module/agent-avatar/grain.js.map +1 -0
  299. package/lib/module/agent-avatar/index.js +5 -0
  300. package/lib/module/agent-avatar/index.js.map +1 -0
  301. package/lib/module/agent-avatar/messages.js +7 -0
  302. package/lib/module/agent-avatar/messages.js.map +1 -0
  303. package/lib/module/agent-avatar/model.js +424 -0
  304. package/lib/module/agent-avatar/model.js.map +1 -0
  305. package/lib/module/agent-avatar/shape-morph.js +155 -0
  306. package/lib/module/agent-avatar/shape-morph.js.map +1 -0
  307. package/lib/module/agent-avatar/types.js.map +1 -0
  308. package/lib/module/agent-avatar/wander.js +59 -0
  309. package/lib/module/agent-avatar/wander.js.map +1 -0
  310. package/lib/module/agent-avatar/working.js +23 -0
  311. package/lib/module/agent-avatar/working.js.map +1 -0
  312. package/lib/module/agent-chat/AgentChatMessage.js +20 -0
  313. package/lib/module/agent-chat/AgentChatMessage.js.map +1 -1
  314. package/lib/module/agent-creator/AgentCreator.js +28 -0
  315. package/lib/module/agent-creator/AgentCreator.js.map +1 -0
  316. package/lib/module/agent-creator/AgentCreator.web.js +28 -0
  317. package/lib/module/agent-creator/AgentCreator.web.js.map +1 -0
  318. package/lib/module/agent-creator/AgentCreatorBase.js +315 -0
  319. package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -0
  320. package/lib/module/agent-creator/AgentPreferencesPanel.js +257 -0
  321. package/lib/module/agent-creator/AgentPreferencesPanel.js.map +1 -0
  322. package/lib/module/agent-creator/CustomColorPicker.js +369 -0
  323. package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
  324. package/lib/module/agent-creator/EmotionPicker.js +174 -0
  325. package/lib/module/agent-creator/EmotionPicker.js.map +1 -0
  326. package/lib/module/agent-creator/GlossArt.js +206 -0
  327. package/lib/module/agent-creator/GlossArt.js.map +1 -0
  328. package/lib/module/agent-creator/ScrollSurface.js +130 -0
  329. package/lib/module/agent-creator/ScrollSurface.js.map +1 -0
  330. package/lib/module/agent-creator/ShapeArc.js +217 -0
  331. package/lib/module/agent-creator/ShapeArc.js.map +1 -0
  332. package/lib/module/agent-creator/constants.js +64 -0
  333. package/lib/module/agent-creator/constants.js.map +1 -0
  334. package/lib/module/agent-creator/context.js +24 -0
  335. package/lib/module/agent-creator/context.js.map +1 -0
  336. package/lib/module/agent-creator/index.js +6 -0
  337. package/lib/module/agent-creator/index.js.map +1 -0
  338. package/lib/module/agent-creator/index.web.js +11 -0
  339. package/lib/module/agent-creator/index.web.js.map +1 -0
  340. package/lib/module/agent-creator/messages.js +100 -0
  341. package/lib/module/agent-creator/messages.js.map +1 -0
  342. package/lib/module/agent-creator/rainbow-artwork.js +6 -0
  343. package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
  344. package/lib/module/agent-creator/shared.js +72 -0
  345. package/lib/module/agent-creator/shared.js.map +1 -0
  346. package/lib/module/agent-creator/types.js +4 -0
  347. package/lib/module/agent-creator/types.js.map +1 -0
  348. package/lib/module/agent-creator/use-agent-voices.js +55 -0
  349. package/lib/module/agent-creator/use-agent-voices.js.map +1 -0
  350. package/lib/module/agent-creator/use-track-events.js +40 -0
  351. package/lib/module/agent-creator/use-track-events.js.map +1 -0
  352. package/lib/module/button/CloseButton.js +5 -2
  353. package/lib/module/button/CloseButton.js.map +1 -1
  354. package/lib/module/chip/Chip.js +29 -14
  355. package/lib/module/chip/Chip.js.map +1 -1
  356. package/lib/module/design-tokens/component-roles.js +90 -0
  357. package/lib/module/design-tokens/component-roles.js.map +1 -0
  358. package/lib/module/design-tokens/tailwind-preset.js +25 -5
  359. package/lib/module/design-tokens/tailwind-preset.js.map +1 -1
  360. package/lib/module/design-tokens/theme-css.js +18 -0
  361. package/lib/module/design-tokens/theme-css.js.map +1 -1
  362. package/lib/module/design-tokens/theme.css +284 -0
  363. package/lib/module/dialog/Dialog.js +28 -14
  364. package/lib/module/dialog/Dialog.js.map +1 -1
  365. package/lib/module/dialog/Dialog.web.js +24 -15
  366. package/lib/module/dialog/Dialog.web.js.map +1 -1
  367. package/lib/module/dialog/DialogHeader.js +1 -1
  368. package/lib/module/hooks/use-accessible-name-warning.js +2 -2
  369. package/lib/module/index.js +4 -1
  370. package/lib/module/index.js.map +1 -1
  371. package/lib/module/index.web.js +4 -1
  372. package/lib/module/index.web.js.map +1 -1
  373. package/lib/module/locale/translations/ar.js +363 -0
  374. package/lib/module/locale/translations/ar.js.map +1 -1
  375. package/lib/module/locale/translations/bn.js +351 -0
  376. package/lib/module/locale/translations/bn.js.map +1 -1
  377. package/lib/module/locale/translations/ca.js +355 -0
  378. package/lib/module/locale/translations/ca.js.map +1 -1
  379. package/lib/module/locale/translations/de.js +355 -0
  380. package/lib/module/locale/translations/de.js.map +1 -1
  381. package/lib/module/locale/translations/es.js +355 -0
  382. package/lib/module/locale/translations/es.js.map +1 -1
  383. package/lib/module/locale/translations/fr.js +355 -0
  384. package/lib/module/locale/translations/fr.js.map +1 -1
  385. package/lib/module/locale/translations/hi.js +354 -0
  386. package/lib/module/locale/translations/hi.js.map +1 -1
  387. package/lib/module/locale/translations/id.js +354 -0
  388. package/lib/module/locale/translations/id.js.map +1 -1
  389. package/lib/module/locale/translations/it.js +355 -0
  390. package/lib/module/locale/translations/it.js.map +1 -1
  391. package/lib/module/locale/translations/ja.js +351 -0
  392. package/lib/module/locale/translations/ja.js.map +1 -1
  393. package/lib/module/locale/translations/pt.js +355 -0
  394. package/lib/module/locale/translations/pt.js.map +1 -1
  395. package/lib/module/locale/translations/ru.js +359 -0
  396. package/lib/module/locale/translations/ru.js.map +1 -1
  397. package/lib/module/locale/translations/tr.js +354 -0
  398. package/lib/module/locale/translations/tr.js.map +1 -1
  399. package/lib/module/locale/translations/zh.js +351 -0
  400. package/lib/module/locale/translations/zh.js.map +1 -1
  401. package/lib/module/multi-agent-chat/AvatarFlightHost.js +12 -0
  402. package/lib/module/multi-agent-chat/AvatarFlightHost.js.map +1 -0
  403. package/lib/module/multi-agent-chat/AvatarFlightHost.web.js +12 -0
  404. package/lib/module/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
  405. package/lib/module/multi-agent-chat/AvatarHandoff.js +174 -0
  406. package/lib/module/multi-agent-chat/AvatarHandoff.js.map +1 -0
  407. package/lib/module/multi-agent-chat/ChatDialogFrame.js +155 -0
  408. package/lib/module/multi-agent-chat/ChatDialogFrame.js.map +1 -0
  409. package/lib/module/multi-agent-chat/ChatSidebar.js +362 -0
  410. package/lib/module/multi-agent-chat/ChatSidebar.js.map +1 -0
  411. package/lib/module/multi-agent-chat/EditorRail.js +58 -0
  412. package/lib/module/multi-agent-chat/EditorRail.js.map +1 -0
  413. package/lib/module/multi-agent-chat/Marketplace.js +496 -0
  414. package/lib/module/multi-agent-chat/Marketplace.js.map +1 -0
  415. package/lib/module/multi-agent-chat/MarketplaceSettings.js +119 -0
  416. package/lib/module/multi-agent-chat/MarketplaceSettings.js.map +1 -0
  417. package/lib/module/multi-agent-chat/MultiAgentChat.js +34 -0
  418. package/lib/module/multi-agent-chat/MultiAgentChat.js.map +1 -0
  419. package/lib/module/multi-agent-chat/MultiAgentChat.web.js +34 -0
  420. package/lib/module/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
  421. package/lib/module/multi-agent-chat/MultiAgentChatBase.js +921 -0
  422. package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
  423. package/lib/module/multi-agent-chat/ReplyRow.js +166 -0
  424. package/lib/module/multi-agent-chat/ReplyRow.js.map +1 -0
  425. package/lib/module/multi-agent-chat/ScrollSurface.js +89 -0
  426. package/lib/module/multi-agent-chat/ScrollSurface.js.map +1 -0
  427. package/lib/module/multi-agent-chat/SelectedAgentPreview.js +121 -0
  428. package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
  429. package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js +476 -0
  430. package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
  431. package/lib/module/multi-agent-chat/context.js +10 -0
  432. package/lib/module/multi-agent-chat/context.js.map +1 -0
  433. package/lib/module/multi-agent-chat/data.js +412 -0
  434. package/lib/module/multi-agent-chat/data.js.map +1 -0
  435. package/lib/module/multi-agent-chat/handoff.js +94 -0
  436. package/lib/module/multi-agent-chat/handoff.js.map +1 -0
  437. package/lib/module/multi-agent-chat/index.js +4 -0
  438. package/lib/module/multi-agent-chat/index.js.map +1 -0
  439. package/lib/module/multi-agent-chat/index.web.js +9 -0
  440. package/lib/module/multi-agent-chat/index.web.js.map +1 -0
  441. package/lib/module/multi-agent-chat/marketplace-data.js +137 -0
  442. package/lib/module/multi-agent-chat/marketplace-data.js.map +1 -0
  443. package/lib/module/multi-agent-chat/marketplace-logos.js +32 -0
  444. package/lib/module/multi-agent-chat/marketplace-logos.js.map +1 -0
  445. package/lib/module/multi-agent-chat/messages.js +191 -0
  446. package/lib/module/multi-agent-chat/messages.js.map +1 -0
  447. package/lib/module/multi-agent-chat/model-catalog.js +767 -0
  448. package/lib/module/multi-agent-chat/model-catalog.js.map +1 -0
  449. package/lib/module/multi-agent-chat/stream-reply.js +36 -0
  450. package/lib/module/multi-agent-chat/stream-reply.js.map +1 -0
  451. package/lib/module/multi-agent-chat/types.js +4 -0
  452. package/lib/module/multi-agent-chat/types.js.map +1 -0
  453. package/lib/module/multi-agent-chat/use-replies.js +152 -0
  454. package/lib/module/multi-agent-chat/use-replies.js.map +1 -0
  455. package/lib/module/multi-agent-chat/use-workspace.js +53 -0
  456. package/lib/module/multi-agent-chat/use-workspace.js.map +1 -0
  457. package/lib/module/project-board/BoardTooltip.js +45 -0
  458. package/lib/module/project-board/BoardTooltip.js.map +1 -0
  459. package/lib/module/project-board/CreateTicketDialog.js +326 -0
  460. package/lib/module/project-board/CreateTicketDialog.js.map +1 -0
  461. package/lib/module/project-board/ProjectBoard.js +34 -0
  462. package/lib/module/project-board/ProjectBoard.js.map +1 -0
  463. package/lib/module/project-board/ProjectBoard.web.js +35 -0
  464. package/lib/module/project-board/ProjectBoard.web.js.map +1 -0
  465. package/lib/module/project-board/ProjectBoardBase.js +763 -0
  466. package/lib/module/project-board/ProjectBoardBase.js.map +1 -0
  467. package/lib/module/project-board/ProjectBoardControls.js +188 -0
  468. package/lib/module/project-board/ProjectBoardControls.js.map +1 -0
  469. package/lib/module/project-board/ProjectBoardEmptyState.js +166 -0
  470. package/lib/module/project-board/ProjectBoardEmptyState.js.map +1 -0
  471. package/lib/module/project-board/ProjectBoardIcons.js +83 -0
  472. package/lib/module/project-board/ProjectBoardIcons.js.map +1 -0
  473. package/lib/module/project-board/RiInboxArchiveLine.js +7 -0
  474. package/lib/module/project-board/RiInboxArchiveLine.js.map +1 -0
  475. package/lib/module/project-board/RiMoreLine.js +7 -0
  476. package/lib/module/project-board/RiMoreLine.js.map +1 -0
  477. package/lib/module/project-board/RiPieChart2Line.js +7 -0
  478. package/lib/module/project-board/RiPieChart2Line.js.map +1 -0
  479. package/lib/module/project-board/RiRestartLine.js +7 -0
  480. package/lib/module/project-board/RiRestartLine.js.map +1 -0
  481. package/lib/module/project-board/SourcePrimitives.js +125 -0
  482. package/lib/module/project-board/SourcePrimitives.js.map +1 -0
  483. package/lib/module/project-board/TicketCornerGenieSurface.web.js +334 -0
  484. package/lib/module/project-board/TicketCornerGenieSurface.web.js.map +1 -0
  485. package/lib/module/project-board/TicketDetailDialog.js +593 -0
  486. package/lib/module/project-board/TicketDetailDialog.js.map +1 -0
  487. package/lib/module/project-board/TicketGenieSurface.js +70 -0
  488. package/lib/module/project-board/TicketGenieSurface.js.map +1 -0
  489. package/lib/module/project-board/TicketGenieSurface.web.js +189 -0
  490. package/lib/module/project-board/TicketGenieSurface.web.js.map +1 -0
  491. package/lib/module/project-board/animation.web.js +17 -0
  492. package/lib/module/project-board/animation.web.js.map +1 -0
  493. package/lib/module/project-board/constants.js +13 -0
  494. package/lib/module/project-board/constants.js.map +1 -0
  495. package/lib/module/project-board/context.js +10 -0
  496. package/lib/module/project-board/context.js.map +1 -0
  497. package/lib/module/project-board/index.js +4 -0
  498. package/lib/module/project-board/index.js.map +1 -0
  499. package/lib/module/project-board/index.web.js +9 -0
  500. package/lib/module/project-board/index.web.js.map +1 -0
  501. package/lib/module/project-board/messages.js +76 -0
  502. package/lib/module/project-board/messages.js.map +1 -0
  503. package/lib/module/project-board/shared.js +82 -0
  504. package/lib/module/project-board/shared.js.map +1 -0
  505. package/lib/module/project-board/types.js +4 -0
  506. package/lib/module/project-board/types.js.map +1 -0
  507. package/lib/module/segmented-control/SegmentedControl.js +37 -39
  508. package/lib/module/segmented-control/SegmentedControl.js.map +1 -1
  509. package/lib/module/settings-modal/SettingsModal.js +18 -4
  510. package/lib/module/settings-modal/SettingsModal.js.map +1 -1
  511. package/lib/module/settings-modal/SettingsRows.js +4 -1
  512. package/lib/module/settings-modal/SettingsRows.js.map +1 -1
  513. package/lib/module/sidebar/Sidebar.js +21 -9
  514. package/lib/module/sidebar/Sidebar.js.map +1 -1
  515. package/lib/module/sidebar/SidebarItem.js +59 -15
  516. package/lib/module/sidebar/SidebarItem.js.map +1 -1
  517. package/lib/module/sidebar/SidebarTeamMenu.js +3 -3
  518. package/lib/module/sidebar/SidebarTeamMenu.js.map +1 -1
  519. package/lib/module/sidebar/SidebarToolbar.js +161 -0
  520. package/lib/module/sidebar/SidebarToolbar.js.map +1 -0
  521. package/lib/module/sidebar/index.js +1 -0
  522. package/lib/module/sidebar/index.js.map +1 -1
  523. package/lib/module/sidebar/parts.js +11 -3
  524. package/lib/module/sidebar/parts.js.map +1 -1
  525. package/lib/module/social-button/SocialButtonBase.js +1 -1
  526. package/lib/module/social-button/SocialButtonBase.js.map +1 -1
  527. package/lib/module/textarea/Textarea.js +29 -15
  528. package/lib/module/textarea/Textarea.js.map +1 -1
  529. package/lib/module/theme/color-scope/seed-scope.js +2 -0
  530. package/lib/module/theme/color-scope/seed-scope.js.map +1 -1
  531. package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts +4 -0
  532. package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts.map +1 -0
  533. package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts +7 -0
  534. package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts.map +1 -0
  535. package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts +14 -0
  536. package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts.map +1 -0
  537. package/lib/typescript/commonjs/agent-avatar/artwork.d.ts +7 -0
  538. package/lib/typescript/commonjs/agent-avatar/artwork.d.ts.map +1 -0
  539. package/lib/typescript/commonjs/agent-avatar/attention.d.ts +24 -0
  540. package/lib/typescript/commonjs/agent-avatar/attention.d.ts.map +1 -0
  541. package/lib/typescript/commonjs/agent-avatar/blink.d.ts +12 -0
  542. package/lib/typescript/commonjs/agent-avatar/blink.d.ts.map +1 -0
  543. package/lib/typescript/commonjs/agent-avatar/context.d.ts +4 -0
  544. package/lib/typescript/commonjs/agent-avatar/context.d.ts.map +1 -0
  545. package/lib/typescript/commonjs/agent-avatar/drawing.d.ts +102 -0
  546. package/lib/typescript/commonjs/agent-avatar/drawing.d.ts.map +1 -0
  547. package/lib/typescript/commonjs/agent-avatar/entrance.d.ts +13 -0
  548. package/lib/typescript/commonjs/agent-avatar/entrance.d.ts.map +1 -0
  549. package/lib/typescript/commonjs/agent-avatar/face.d.ts +38 -0
  550. package/lib/typescript/commonjs/agent-avatar/face.d.ts.map +1 -0
  551. package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts +13 -0
  552. package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts.map +1 -0
  553. package/lib/typescript/commonjs/agent-avatar/fold.d.ts +7 -0
  554. package/lib/typescript/commonjs/agent-avatar/fold.d.ts.map +1 -0
  555. package/lib/typescript/commonjs/agent-avatar/grain.d.ts +3 -0
  556. package/lib/typescript/commonjs/agent-avatar/grain.d.ts.map +1 -0
  557. package/lib/typescript/commonjs/agent-avatar/index.d.ts +5 -0
  558. package/lib/typescript/commonjs/agent-avatar/index.d.ts.map +1 -0
  559. package/lib/typescript/commonjs/agent-avatar/messages.d.ts +4 -0
  560. package/lib/typescript/commonjs/agent-avatar/messages.d.ts.map +1 -0
  561. package/lib/typescript/commonjs/agent-avatar/model.d.ts +63 -0
  562. package/lib/typescript/commonjs/agent-avatar/model.d.ts.map +1 -0
  563. package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts +39 -0
  564. package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts.map +1 -0
  565. package/lib/typescript/commonjs/agent-avatar/types.d.ts +21 -0
  566. package/lib/typescript/commonjs/agent-avatar/types.d.ts.map +1 -0
  567. package/lib/typescript/commonjs/agent-avatar/wander.d.ts +14 -0
  568. package/lib/typescript/commonjs/agent-avatar/wander.d.ts.map +1 -0
  569. package/lib/typescript/commonjs/agent-avatar/working.d.ts +8 -0
  570. package/lib/typescript/commonjs/agent-avatar/working.d.ts.map +1 -0
  571. package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts +5 -0
  572. package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts.map +1 -1
  573. package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts +3 -0
  574. package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -0
  575. package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts +3 -0
  576. package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -0
  577. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts +4 -0
  578. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -0
  579. package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts +4 -0
  580. package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
  581. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +7 -0
  582. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
  583. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts +7 -0
  584. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts.map +1 -0
  585. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
  586. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
  587. package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts +11 -0
  588. package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts.map +1 -0
  589. package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts +7 -0
  590. package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts.map +1 -0
  591. package/lib/typescript/commonjs/agent-creator/constants.d.ts +49 -0
  592. package/lib/typescript/commonjs/agent-creator/constants.d.ts.map +1 -0
  593. package/lib/typescript/commonjs/agent-creator/context.d.ts +64 -0
  594. package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -0
  595. package/lib/typescript/commonjs/agent-creator/index.d.ts +5 -0
  596. package/lib/typescript/commonjs/agent-creator/index.d.ts.map +1 -0
  597. package/lib/typescript/commonjs/agent-creator/index.web.d.ts +5 -0
  598. package/lib/typescript/commonjs/agent-creator/index.web.d.ts.map +1 -0
  599. package/lib/typescript/commonjs/agent-creator/messages.d.ts +53 -0
  600. package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -0
  601. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
  602. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
  603. package/lib/typescript/commonjs/agent-creator/shared.d.ts +18 -0
  604. package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -0
  605. package/lib/typescript/commonjs/agent-creator/types.d.ts +37 -0
  606. package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -0
  607. package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts +9 -0
  608. package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts.map +1 -0
  609. package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts +5 -0
  610. package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts.map +1 -0
  611. package/lib/typescript/commonjs/button/CloseButton.d.ts +1 -1
  612. package/lib/typescript/commonjs/button/CloseButton.d.ts.map +1 -1
  613. package/lib/typescript/commonjs/button/shared.d.ts +1 -1
  614. package/lib/typescript/commonjs/button/types.d.ts +2 -0
  615. package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
  616. package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
  617. package/lib/typescript/commonjs/chip/types.d.ts +3 -0
  618. package/lib/typescript/commonjs/chip/types.d.ts.map +1 -1
  619. package/lib/typescript/commonjs/design-tokens/component-roles.d.ts +89 -0
  620. package/lib/typescript/commonjs/design-tokens/component-roles.d.ts.map +1 -0
  621. package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts +3 -27
  622. package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts.map +1 -1
  623. package/lib/typescript/commonjs/design-tokens/theme-css.d.ts +0 -24
  624. package/lib/typescript/commonjs/design-tokens/theme-css.d.ts.map +1 -1
  625. package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
  626. package/lib/typescript/commonjs/dialog/types.d.ts +6 -0
  627. package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
  628. package/lib/typescript/commonjs/index.d.ts +4 -2
  629. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  630. package/lib/typescript/commonjs/index.web.d.ts +4 -2
  631. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  632. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  633. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  634. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  635. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  636. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  637. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  638. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  639. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  640. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  641. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  642. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  643. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  644. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  645. package/lib/typescript/commonjs/locale/translations/types.d.ts +8 -0
  646. package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
  647. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  648. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
  649. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
  650. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
  651. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
  652. package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts +10 -0
  653. package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
  654. package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
  655. package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
  656. package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts +24 -0
  657. package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
  658. package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts +7 -0
  659. package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts.map +1 -0
  660. package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts +14 -0
  661. package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts.map +1 -0
  662. package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
  663. package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
  664. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts +3 -0
  665. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
  666. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
  667. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
  668. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
  669. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
  670. package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts +18 -0
  671. package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts.map +1 -0
  672. package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts +13 -0
  673. package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
  674. package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
  675. package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
  676. package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
  677. package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
  678. package/lib/typescript/commonjs/multi-agent-chat/context.d.ts +20 -0
  679. package/lib/typescript/commonjs/multi-agent-chat/context.d.ts.map +1 -0
  680. package/lib/typescript/commonjs/multi-agent-chat/data.d.ts +39 -0
  681. package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -0
  682. package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts +42 -0
  683. package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts.map +1 -0
  684. package/lib/typescript/commonjs/multi-agent-chat/index.d.ts +4 -0
  685. package/lib/typescript/commonjs/multi-agent-chat/index.d.ts.map +1 -0
  686. package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts +4 -0
  687. package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts.map +1 -0
  688. package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts +26 -0
  689. package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts.map +1 -0
  690. package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts +30 -0
  691. package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
  692. package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts +175 -0
  693. package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts.map +1 -0
  694. package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts +3 -0
  695. package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts.map +1 -0
  696. package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts +5 -0
  697. package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts.map +1 -0
  698. package/lib/typescript/commonjs/multi-agent-chat/types.d.ts +21 -0
  699. package/lib/typescript/commonjs/multi-agent-chat/types.d.ts.map +1 -0
  700. package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts +14 -0
  701. package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts.map +1 -0
  702. package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts +9 -0
  703. package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts.map +1 -0
  704. package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts +7 -0
  705. package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts.map +1 -0
  706. package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts +12 -0
  707. package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts.map +1 -0
  708. package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts +3 -0
  709. package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts.map +1 -0
  710. package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts +3 -0
  711. package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts.map +1 -0
  712. package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts +3 -0
  713. package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts.map +1 -0
  714. package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts +32 -0
  715. package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts.map +1 -0
  716. package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts +3 -0
  717. package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
  718. package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts +15 -0
  719. package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts.map +1 -0
  720. package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts +7 -0
  721. package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts.map +1 -0
  722. package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts +7 -0
  723. package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts.map +1 -0
  724. package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts +7 -0
  725. package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts.map +1 -0
  726. package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts +7 -0
  727. package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts.map +1 -0
  728. package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts +177 -0
  729. package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts.map +1 -0
  730. package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
  731. package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
  732. package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts +16 -0
  733. package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts.map +1 -0
  734. package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts +9 -0
  735. package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts.map +1 -0
  736. package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts +6 -0
  737. package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts.map +1 -0
  738. package/lib/typescript/commonjs/project-board/animation.web.d.ts +10 -0
  739. package/lib/typescript/commonjs/project-board/animation.web.d.ts.map +1 -0
  740. package/lib/typescript/commonjs/project-board/constants.d.ts +7 -0
  741. package/lib/typescript/commonjs/project-board/constants.d.ts.map +1 -0
  742. package/lib/typescript/commonjs/project-board/context.d.ts +39 -0
  743. package/lib/typescript/commonjs/project-board/context.d.ts.map +1 -0
  744. package/lib/typescript/commonjs/project-board/index.d.ts +3 -0
  745. package/lib/typescript/commonjs/project-board/index.d.ts.map +1 -0
  746. package/lib/typescript/commonjs/project-board/index.web.d.ts +3 -0
  747. package/lib/typescript/commonjs/project-board/index.web.d.ts.map +1 -0
  748. package/lib/typescript/commonjs/project-board/messages.d.ts +73 -0
  749. package/lib/typescript/commonjs/project-board/messages.d.ts.map +1 -0
  750. package/lib/typescript/commonjs/project-board/shared.d.ts +18 -0
  751. package/lib/typescript/commonjs/project-board/shared.d.ts.map +1 -0
  752. package/lib/typescript/commonjs/project-board/types.d.ts +78 -0
  753. package/lib/typescript/commonjs/project-board/types.d.ts.map +1 -0
  754. package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts +4 -2
  755. package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts.map +1 -1
  756. package/lib/typescript/commonjs/settings-modal/SettingsModal.d.ts.map +1 -1
  757. package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts +1 -1
  758. package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts.map +1 -1
  759. package/lib/typescript/commonjs/settings-modal/index.d.ts +1 -1
  760. package/lib/typescript/commonjs/settings-modal/index.d.ts.map +1 -1
  761. package/lib/typescript/commonjs/settings-modal/types.d.ts +12 -1
  762. package/lib/typescript/commonjs/settings-modal/types.d.ts.map +1 -1
  763. package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
  764. package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
  765. package/lib/typescript/commonjs/sidebar/SidebarTeamMenu.d.ts.map +1 -1
  766. package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts +4 -0
  767. package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts.map +1 -0
  768. package/lib/typescript/commonjs/sidebar/index.d.ts +2 -1
  769. package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
  770. package/lib/typescript/commonjs/sidebar/parts.d.ts +2 -1
  771. package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
  772. package/lib/typescript/commonjs/sidebar/types.d.ts +47 -5
  773. package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
  774. package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts +7 -0
  775. package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts.map +1 -1
  776. package/lib/typescript/commonjs/textarea/Textarea.d.ts +1 -1
  777. package/lib/typescript/commonjs/textarea/Textarea.d.ts.map +1 -1
  778. package/lib/typescript/commonjs/textarea/types.d.ts +6 -1
  779. package/lib/typescript/commonjs/textarea/types.d.ts.map +1 -1
  780. package/lib/typescript/commonjs/theme/color-scope/seed-scope.d.ts.map +1 -1
  781. package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts +4 -0
  782. package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts.map +1 -0
  783. package/lib/typescript/module/agent-avatar/AgentFace.d.ts +7 -0
  784. package/lib/typescript/module/agent-avatar/AgentFace.d.ts.map +1 -0
  785. package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts +14 -0
  786. package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts.map +1 -0
  787. package/lib/typescript/module/agent-avatar/artwork.d.ts +7 -0
  788. package/lib/typescript/module/agent-avatar/artwork.d.ts.map +1 -0
  789. package/lib/typescript/module/agent-avatar/attention.d.ts +24 -0
  790. package/lib/typescript/module/agent-avatar/attention.d.ts.map +1 -0
  791. package/lib/typescript/module/agent-avatar/blink.d.ts +12 -0
  792. package/lib/typescript/module/agent-avatar/blink.d.ts.map +1 -0
  793. package/lib/typescript/module/agent-avatar/context.d.ts +4 -0
  794. package/lib/typescript/module/agent-avatar/context.d.ts.map +1 -0
  795. package/lib/typescript/module/agent-avatar/drawing.d.ts +102 -0
  796. package/lib/typescript/module/agent-avatar/drawing.d.ts.map +1 -0
  797. package/lib/typescript/module/agent-avatar/entrance.d.ts +13 -0
  798. package/lib/typescript/module/agent-avatar/entrance.d.ts.map +1 -0
  799. package/lib/typescript/module/agent-avatar/face.d.ts +38 -0
  800. package/lib/typescript/module/agent-avatar/face.d.ts.map +1 -0
  801. package/lib/typescript/module/agent-avatar/fold-outlines.d.ts +13 -0
  802. package/lib/typescript/module/agent-avatar/fold-outlines.d.ts.map +1 -0
  803. package/lib/typescript/module/agent-avatar/fold.d.ts +7 -0
  804. package/lib/typescript/module/agent-avatar/fold.d.ts.map +1 -0
  805. package/lib/typescript/module/agent-avatar/grain.d.ts +3 -0
  806. package/lib/typescript/module/agent-avatar/grain.d.ts.map +1 -0
  807. package/lib/typescript/module/agent-avatar/index.d.ts +5 -0
  808. package/lib/typescript/module/agent-avatar/index.d.ts.map +1 -0
  809. package/lib/typescript/module/agent-avatar/messages.d.ts +4 -0
  810. package/lib/typescript/module/agent-avatar/messages.d.ts.map +1 -0
  811. package/lib/typescript/module/agent-avatar/model.d.ts +63 -0
  812. package/lib/typescript/module/agent-avatar/model.d.ts.map +1 -0
  813. package/lib/typescript/module/agent-avatar/shape-morph.d.ts +39 -0
  814. package/lib/typescript/module/agent-avatar/shape-morph.d.ts.map +1 -0
  815. package/lib/typescript/module/agent-avatar/types.d.ts +21 -0
  816. package/lib/typescript/module/agent-avatar/types.d.ts.map +1 -0
  817. package/lib/typescript/module/agent-avatar/wander.d.ts +14 -0
  818. package/lib/typescript/module/agent-avatar/wander.d.ts.map +1 -0
  819. package/lib/typescript/module/agent-avatar/working.d.ts +8 -0
  820. package/lib/typescript/module/agent-avatar/working.d.ts.map +1 -0
  821. package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts +5 -0
  822. package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts.map +1 -1
  823. package/lib/typescript/module/agent-creator/AgentCreator.d.ts +3 -0
  824. package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -0
  825. package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts +3 -0
  826. package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -0
  827. package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts +4 -0
  828. package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -0
  829. package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts +4 -0
  830. package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
  831. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +7 -0
  832. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
  833. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts +7 -0
  834. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts.map +1 -0
  835. package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
  836. package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
  837. package/lib/typescript/module/agent-creator/ScrollSurface.d.ts +11 -0
  838. package/lib/typescript/module/agent-creator/ScrollSurface.d.ts.map +1 -0
  839. package/lib/typescript/module/agent-creator/ShapeArc.d.ts +7 -0
  840. package/lib/typescript/module/agent-creator/ShapeArc.d.ts.map +1 -0
  841. package/lib/typescript/module/agent-creator/constants.d.ts +49 -0
  842. package/lib/typescript/module/agent-creator/constants.d.ts.map +1 -0
  843. package/lib/typescript/module/agent-creator/context.d.ts +64 -0
  844. package/lib/typescript/module/agent-creator/context.d.ts.map +1 -0
  845. package/lib/typescript/module/agent-creator/index.d.ts +5 -0
  846. package/lib/typescript/module/agent-creator/index.d.ts.map +1 -0
  847. package/lib/typescript/module/agent-creator/index.web.d.ts +5 -0
  848. package/lib/typescript/module/agent-creator/index.web.d.ts.map +1 -0
  849. package/lib/typescript/module/agent-creator/messages.d.ts +53 -0
  850. package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -0
  851. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
  852. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
  853. package/lib/typescript/module/agent-creator/shared.d.ts +18 -0
  854. package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -0
  855. package/lib/typescript/module/agent-creator/types.d.ts +37 -0
  856. package/lib/typescript/module/agent-creator/types.d.ts.map +1 -0
  857. package/lib/typescript/module/agent-creator/use-agent-voices.d.ts +9 -0
  858. package/lib/typescript/module/agent-creator/use-agent-voices.d.ts.map +1 -0
  859. package/lib/typescript/module/agent-creator/use-track-events.d.ts +5 -0
  860. package/lib/typescript/module/agent-creator/use-track-events.d.ts.map +1 -0
  861. package/lib/typescript/module/button/CloseButton.d.ts +1 -1
  862. package/lib/typescript/module/button/CloseButton.d.ts.map +1 -1
  863. package/lib/typescript/module/button/shared.d.ts +1 -1
  864. package/lib/typescript/module/button/types.d.ts +2 -0
  865. package/lib/typescript/module/button/types.d.ts.map +1 -1
  866. package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
  867. package/lib/typescript/module/chip/types.d.ts +3 -0
  868. package/lib/typescript/module/chip/types.d.ts.map +1 -1
  869. package/lib/typescript/module/design-tokens/component-roles.d.ts +89 -0
  870. package/lib/typescript/module/design-tokens/component-roles.d.ts.map +1 -0
  871. package/lib/typescript/module/design-tokens/tailwind-preset.d.ts +3 -27
  872. package/lib/typescript/module/design-tokens/tailwind-preset.d.ts.map +1 -1
  873. package/lib/typescript/module/design-tokens/theme-css.d.ts +0 -24
  874. package/lib/typescript/module/design-tokens/theme-css.d.ts.map +1 -1
  875. package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
  876. package/lib/typescript/module/dialog/types.d.ts +6 -0
  877. package/lib/typescript/module/dialog/types.d.ts.map +1 -1
  878. package/lib/typescript/module/index.d.ts +4 -2
  879. package/lib/typescript/module/index.d.ts.map +1 -1
  880. package/lib/typescript/module/index.web.d.ts +4 -2
  881. package/lib/typescript/module/index.web.d.ts.map +1 -1
  882. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  883. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  884. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  885. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  886. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  887. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  888. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  889. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  890. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  891. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  892. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  893. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  894. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  895. package/lib/typescript/module/locale/translations/types.d.ts +8 -0
  896. package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
  897. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  898. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
  899. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
  900. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
  901. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
  902. package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts +10 -0
  903. package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
  904. package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
  905. package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
  906. package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts +24 -0
  907. package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
  908. package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts +7 -0
  909. package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts.map +1 -0
  910. package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts +14 -0
  911. package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts.map +1 -0
  912. package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
  913. package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
  914. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts +3 -0
  915. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
  916. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
  917. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
  918. package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
  919. package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
  920. package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts +18 -0
  921. package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts.map +1 -0
  922. package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts +13 -0
  923. package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
  924. package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
  925. package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
  926. package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
  927. package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
  928. package/lib/typescript/module/multi-agent-chat/context.d.ts +20 -0
  929. package/lib/typescript/module/multi-agent-chat/context.d.ts.map +1 -0
  930. package/lib/typescript/module/multi-agent-chat/data.d.ts +39 -0
  931. package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -0
  932. package/lib/typescript/module/multi-agent-chat/handoff.d.ts +42 -0
  933. package/lib/typescript/module/multi-agent-chat/handoff.d.ts.map +1 -0
  934. package/lib/typescript/module/multi-agent-chat/index.d.ts +4 -0
  935. package/lib/typescript/module/multi-agent-chat/index.d.ts.map +1 -0
  936. package/lib/typescript/module/multi-agent-chat/index.web.d.ts +4 -0
  937. package/lib/typescript/module/multi-agent-chat/index.web.d.ts.map +1 -0
  938. package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts +26 -0
  939. package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts.map +1 -0
  940. package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts +30 -0
  941. package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
  942. package/lib/typescript/module/multi-agent-chat/messages.d.ts +175 -0
  943. package/lib/typescript/module/multi-agent-chat/messages.d.ts.map +1 -0
  944. package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts +3 -0
  945. package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts.map +1 -0
  946. package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts +5 -0
  947. package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts.map +1 -0
  948. package/lib/typescript/module/multi-agent-chat/types.d.ts +21 -0
  949. package/lib/typescript/module/multi-agent-chat/types.d.ts.map +1 -0
  950. package/lib/typescript/module/multi-agent-chat/use-replies.d.ts +14 -0
  951. package/lib/typescript/module/multi-agent-chat/use-replies.d.ts.map +1 -0
  952. package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts +9 -0
  953. package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts.map +1 -0
  954. package/lib/typescript/module/project-board/BoardTooltip.d.ts +7 -0
  955. package/lib/typescript/module/project-board/BoardTooltip.d.ts.map +1 -0
  956. package/lib/typescript/module/project-board/CreateTicketDialog.d.ts +12 -0
  957. package/lib/typescript/module/project-board/CreateTicketDialog.d.ts.map +1 -0
  958. package/lib/typescript/module/project-board/ProjectBoard.d.ts +3 -0
  959. package/lib/typescript/module/project-board/ProjectBoard.d.ts.map +1 -0
  960. package/lib/typescript/module/project-board/ProjectBoard.web.d.ts +3 -0
  961. package/lib/typescript/module/project-board/ProjectBoard.web.d.ts.map +1 -0
  962. package/lib/typescript/module/project-board/ProjectBoardBase.d.ts +3 -0
  963. package/lib/typescript/module/project-board/ProjectBoardBase.d.ts.map +1 -0
  964. package/lib/typescript/module/project-board/ProjectBoardControls.d.ts +32 -0
  965. package/lib/typescript/module/project-board/ProjectBoardControls.d.ts.map +1 -0
  966. package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts +3 -0
  967. package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
  968. package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts +15 -0
  969. package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts.map +1 -0
  970. package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts +7 -0
  971. package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts.map +1 -0
  972. package/lib/typescript/module/project-board/RiMoreLine.d.ts +7 -0
  973. package/lib/typescript/module/project-board/RiMoreLine.d.ts.map +1 -0
  974. package/lib/typescript/module/project-board/RiPieChart2Line.d.ts +7 -0
  975. package/lib/typescript/module/project-board/RiPieChart2Line.d.ts.map +1 -0
  976. package/lib/typescript/module/project-board/RiRestartLine.d.ts +7 -0
  977. package/lib/typescript/module/project-board/RiRestartLine.d.ts.map +1 -0
  978. package/lib/typescript/module/project-board/SourcePrimitives.d.ts +177 -0
  979. package/lib/typescript/module/project-board/SourcePrimitives.d.ts.map +1 -0
  980. package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
  981. package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
  982. package/lib/typescript/module/project-board/TicketDetailDialog.d.ts +16 -0
  983. package/lib/typescript/module/project-board/TicketDetailDialog.d.ts.map +1 -0
  984. package/lib/typescript/module/project-board/TicketGenieSurface.d.ts +9 -0
  985. package/lib/typescript/module/project-board/TicketGenieSurface.d.ts.map +1 -0
  986. package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts +6 -0
  987. package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts.map +1 -0
  988. package/lib/typescript/module/project-board/animation.web.d.ts +10 -0
  989. package/lib/typescript/module/project-board/animation.web.d.ts.map +1 -0
  990. package/lib/typescript/module/project-board/constants.d.ts +7 -0
  991. package/lib/typescript/module/project-board/constants.d.ts.map +1 -0
  992. package/lib/typescript/module/project-board/context.d.ts +39 -0
  993. package/lib/typescript/module/project-board/context.d.ts.map +1 -0
  994. package/lib/typescript/module/project-board/index.d.ts +3 -0
  995. package/lib/typescript/module/project-board/index.d.ts.map +1 -0
  996. package/lib/typescript/module/project-board/index.web.d.ts +3 -0
  997. package/lib/typescript/module/project-board/index.web.d.ts.map +1 -0
  998. package/lib/typescript/module/project-board/messages.d.ts +73 -0
  999. package/lib/typescript/module/project-board/messages.d.ts.map +1 -0
  1000. package/lib/typescript/module/project-board/shared.d.ts +18 -0
  1001. package/lib/typescript/module/project-board/shared.d.ts.map +1 -0
  1002. package/lib/typescript/module/project-board/types.d.ts +78 -0
  1003. package/lib/typescript/module/project-board/types.d.ts.map +1 -0
  1004. package/lib/typescript/module/segmented-control/SegmentedControl.d.ts +4 -2
  1005. package/lib/typescript/module/segmented-control/SegmentedControl.d.ts.map +1 -1
  1006. package/lib/typescript/module/settings-modal/SettingsModal.d.ts.map +1 -1
  1007. package/lib/typescript/module/settings-modal/SettingsRows.d.ts +1 -1
  1008. package/lib/typescript/module/settings-modal/SettingsRows.d.ts.map +1 -1
  1009. package/lib/typescript/module/settings-modal/index.d.ts +1 -1
  1010. package/lib/typescript/module/settings-modal/index.d.ts.map +1 -1
  1011. package/lib/typescript/module/settings-modal/types.d.ts +12 -1
  1012. package/lib/typescript/module/settings-modal/types.d.ts.map +1 -1
  1013. package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
  1014. package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
  1015. package/lib/typescript/module/sidebar/SidebarTeamMenu.d.ts.map +1 -1
  1016. package/lib/typescript/module/sidebar/SidebarToolbar.d.ts +4 -0
  1017. package/lib/typescript/module/sidebar/SidebarToolbar.d.ts.map +1 -0
  1018. package/lib/typescript/module/sidebar/index.d.ts +2 -1
  1019. package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
  1020. package/lib/typescript/module/sidebar/parts.d.ts +2 -1
  1021. package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
  1022. package/lib/typescript/module/sidebar/types.d.ts +47 -5
  1023. package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
  1024. package/lib/typescript/module/social-button/SocialButtonBase.d.ts +7 -0
  1025. package/lib/typescript/module/social-button/SocialButtonBase.d.ts.map +1 -1
  1026. package/lib/typescript/module/textarea/Textarea.d.ts +1 -1
  1027. package/lib/typescript/module/textarea/Textarea.d.ts.map +1 -1
  1028. package/lib/typescript/module/textarea/types.d.ts +6 -1
  1029. package/lib/typescript/module/textarea/types.d.ts.map +1 -1
  1030. package/lib/typescript/module/theme/color-scope/seed-scope.d.ts.map +1 -1
  1031. package/package.json +84 -18
  1032. package/src/agent-avatar/AgentAvatar.tsx +299 -0
  1033. package/src/agent-avatar/AgentFace.tsx +20 -0
  1034. package/src/agent-avatar/SvgDrawing.tsx +237 -0
  1035. package/src/agent-avatar/artwork.ts +195 -0
  1036. package/src/agent-avatar/attention.ts +109 -0
  1037. package/src/agent-avatar/blink.ts +47 -0
  1038. package/src/agent-avatar/context.ts +7 -0
  1039. package/src/agent-avatar/drawing.ts +276 -0
  1040. package/src/agent-avatar/entrance.ts +25 -0
  1041. package/src/agent-avatar/face.ts +540 -0
  1042. package/src/agent-avatar/fold-outlines.ts +90 -0
  1043. package/src/agent-avatar/fold.ts +444 -0
  1044. package/src/agent-avatar/grain.ts +3 -0
  1045. package/src/agent-avatar/index.ts +27 -0
  1046. package/src/agent-avatar/messages.ts +5 -0
  1047. package/src/agent-avatar/model.ts +576 -0
  1048. package/src/agent-avatar/shape-morph.ts +210 -0
  1049. package/src/agent-avatar/types.ts +21 -0
  1050. package/src/agent-avatar/wander.ts +97 -0
  1051. package/src/agent-avatar/working.ts +20 -0
  1052. package/src/agent-chat/AgentChatMessage.tsx +7 -0
  1053. package/src/agent-creator/AgentCreator.tsx +32 -0
  1054. package/src/agent-creator/AgentCreator.web.tsx +32 -0
  1055. package/src/agent-creator/AgentCreatorBase.tsx +287 -0
  1056. package/src/agent-creator/AgentPreferencesPanel.tsx +268 -0
  1057. package/src/agent-creator/CustomColorPicker.tsx +382 -0
  1058. package/src/agent-creator/EmotionPicker.tsx +201 -0
  1059. package/src/agent-creator/GlossArt.tsx +165 -0
  1060. package/src/agent-creator/ScrollSurface.tsx +144 -0
  1061. package/src/agent-creator/ShapeArc.tsx +266 -0
  1062. package/src/agent-creator/constants.ts +57 -0
  1063. package/src/agent-creator/context.ts +38 -0
  1064. package/src/agent-creator/index.ts +14 -0
  1065. package/src/agent-creator/index.web.ts +19 -0
  1066. package/src/agent-creator/messages.ts +198 -0
  1067. package/src/agent-creator/rainbow-artwork.ts +5 -0
  1068. package/src/agent-creator/shared.ts +102 -0
  1069. package/src/agent-creator/types.ts +34 -0
  1070. package/src/agent-creator/use-agent-voices.ts +72 -0
  1071. package/src/agent-creator/use-track-events.ts +42 -0
  1072. package/src/button/CloseButton.tsx +6 -3
  1073. package/src/button/types.ts +2 -0
  1074. package/src/chip/Chip.tsx +17 -10
  1075. package/src/chip/types.ts +3 -0
  1076. package/src/design-tokens/component-roles.ts +93 -0
  1077. package/src/design-tokens/tailwind-preset.ts +12 -8
  1078. package/src/design-tokens/theme-css.ts +18 -0
  1079. package/src/design-tokens/theme.css +284 -0
  1080. package/src/dialog/Dialog.tsx +25 -14
  1081. package/src/dialog/Dialog.web.tsx +23 -16
  1082. package/src/dialog/DialogHeader.tsx +1 -1
  1083. package/src/dialog/types.ts +6 -0
  1084. package/src/hooks/use-accessible-name-warning.ts +2 -2
  1085. package/src/index.ts +5 -2
  1086. package/src/index.web.ts +5 -2
  1087. package/src/locale/translations/ar.ts +297 -0
  1088. package/src/locale/translations/bn.ts +297 -0
  1089. package/src/locale/translations/ca.ts +297 -0
  1090. package/src/locale/translations/de.ts +297 -0
  1091. package/src/locale/translations/es.ts +297 -0
  1092. package/src/locale/translations/fr.ts +297 -0
  1093. package/src/locale/translations/hi.ts +297 -0
  1094. package/src/locale/translations/id.ts +297 -0
  1095. package/src/locale/translations/it.ts +297 -0
  1096. package/src/locale/translations/ja.ts +297 -0
  1097. package/src/locale/translations/pt.ts +297 -0
  1098. package/src/locale/translations/ru.ts +297 -0
  1099. package/src/locale/translations/tr.ts +297 -0
  1100. package/src/locale/translations/types.ts +8 -0
  1101. package/src/locale/translations/zh.ts +297 -0
  1102. package/src/multi-agent-chat/AvatarFlightHost.tsx +5 -0
  1103. package/src/multi-agent-chat/AvatarFlightHost.web.tsx +5 -0
  1104. package/src/multi-agent-chat/AvatarHandoff.tsx +258 -0
  1105. package/src/multi-agent-chat/ChatDialogFrame.tsx +186 -0
  1106. package/src/multi-agent-chat/ChatSidebar.tsx +384 -0
  1107. package/src/multi-agent-chat/EditorRail.tsx +68 -0
  1108. package/src/multi-agent-chat/Marketplace.tsx +649 -0
  1109. package/src/multi-agent-chat/MarketplaceSettings.tsx +110 -0
  1110. package/src/multi-agent-chat/MultiAgentChat.tsx +30 -0
  1111. package/src/multi-agent-chat/MultiAgentChat.web.tsx +30 -0
  1112. package/src/multi-agent-chat/MultiAgentChatBase.tsx +1202 -0
  1113. package/src/multi-agent-chat/ReplyRow.tsx +188 -0
  1114. package/src/multi-agent-chat/ScrollSurface.tsx +122 -0
  1115. package/src/multi-agent-chat/SelectedAgentPreview.tsx +143 -0
  1116. package/src/multi-agent-chat/WorkspaceSettingsPages.tsx +515 -0
  1117. package/src/multi-agent-chat/context.ts +23 -0
  1118. package/src/multi-agent-chat/data.ts +629 -0
  1119. package/src/multi-agent-chat/handoff.ts +150 -0
  1120. package/src/multi-agent-chat/index.ts +8 -0
  1121. package/src/multi-agent-chat/index.web.ts +13 -0
  1122. package/src/multi-agent-chat/marketplace-data.ts +359 -0
  1123. package/src/multi-agent-chat/marketplace-logos.ts +29 -0
  1124. package/src/multi-agent-chat/messages.ts +215 -0
  1125. package/src/multi-agent-chat/model-catalog.tsx +461 -0
  1126. package/src/multi-agent-chat/stream-reply.ts +39 -0
  1127. package/src/multi-agent-chat/types.ts +27 -0
  1128. package/src/multi-agent-chat/use-replies.ts +166 -0
  1129. package/src/multi-agent-chat/use-workspace.ts +59 -0
  1130. package/src/project-board/BoardTooltip.tsx +41 -0
  1131. package/src/project-board/CreateTicketDialog.tsx +373 -0
  1132. package/src/project-board/ProjectBoard.tsx +34 -0
  1133. package/src/project-board/ProjectBoard.web.tsx +32 -0
  1134. package/src/project-board/ProjectBoardBase.tsx +1022 -0
  1135. package/src/project-board/ProjectBoardControls.tsx +254 -0
  1136. package/src/project-board/ProjectBoardEmptyState.tsx +179 -0
  1137. package/src/project-board/ProjectBoardIcons.tsx +93 -0
  1138. package/src/project-board/RiInboxArchiveLine.tsx +4 -0
  1139. package/src/project-board/RiMoreLine.tsx +4 -0
  1140. package/src/project-board/RiPieChart2Line.tsx +4 -0
  1141. package/src/project-board/RiRestartLine.tsx +4 -0
  1142. package/src/project-board/SourcePrimitives.tsx +155 -0
  1143. package/src/project-board/TicketCornerGenieSurface.web.tsx +401 -0
  1144. package/src/project-board/TicketDetailDialog.tsx +730 -0
  1145. package/src/project-board/TicketGenieSurface.tsx +73 -0
  1146. package/src/project-board/TicketGenieSurface.web.tsx +190 -0
  1147. package/src/project-board/animation.web.ts +22 -0
  1148. package/src/project-board/constants.ts +20 -0
  1149. package/src/project-board/context.ts +46 -0
  1150. package/src/project-board/index.ts +12 -0
  1151. package/src/project-board/index.web.ts +17 -0
  1152. package/src/project-board/messages.ts +74 -0
  1153. package/src/project-board/shared.ts +104 -0
  1154. package/src/project-board/types.ts +78 -0
  1155. package/src/segmented-control/SegmentedControl.tsx +12 -8
  1156. package/src/settings-modal/SettingsModal.tsx +9 -6
  1157. package/src/settings-modal/SettingsRows.tsx +4 -3
  1158. package/src/settings-modal/index.ts +1 -0
  1159. package/src/settings-modal/types.ts +13 -1
  1160. package/src/sidebar/Sidebar.tsx +19 -9
  1161. package/src/sidebar/SidebarItem.tsx +36 -11
  1162. package/src/sidebar/SidebarTeamMenu.tsx +1 -0
  1163. package/src/sidebar/SidebarToolbar.tsx +176 -0
  1164. package/src/sidebar/index.ts +2 -0
  1165. package/src/sidebar/parts.tsx +4 -2
  1166. package/src/sidebar/types.ts +46 -5
  1167. package/src/social-button/SocialButtonBase.tsx +1 -1
  1168. package/src/textarea/Textarea.tsx +21 -9
  1169. package/src/textarea/types.ts +6 -1
  1170. package/src/theme/color-scope/seed-scope.ts +2 -0
  1171. package/docs/dot-grid-meter.mdx +0 -66
  1172. package/lib/commonjs/dot-grid-meter/DotGridMeter.js +0 -80
  1173. package/lib/commonjs/dot-grid-meter/DotGridMeter.js.map +0 -1
  1174. package/lib/commonjs/dot-grid-meter/index.js +0 -13
  1175. package/lib/commonjs/dot-grid-meter/index.js.map +0 -1
  1176. package/lib/module/dot-grid-meter/DotGridMeter.js +0 -75
  1177. package/lib/module/dot-grid-meter/DotGridMeter.js.map +0 -1
  1178. package/lib/module/dot-grid-meter/index.js +0 -4
  1179. package/lib/module/dot-grid-meter/index.js.map +0 -1
  1180. package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts +0 -4
  1181. package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
  1182. package/lib/typescript/commonjs/dot-grid-meter/index.d.ts +0 -3
  1183. package/lib/typescript/commonjs/dot-grid-meter/index.d.ts.map +0 -1
  1184. package/lib/typescript/commonjs/dot-grid-meter/types.d.ts +0 -48
  1185. package/lib/typescript/commonjs/dot-grid-meter/types.d.ts.map +0 -1
  1186. package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts +0 -4
  1187. package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
  1188. package/lib/typescript/module/dot-grid-meter/index.d.ts +0 -3
  1189. package/lib/typescript/module/dot-grid-meter/index.d.ts.map +0 -1
  1190. package/lib/typescript/module/dot-grid-meter/types.d.ts +0 -48
  1191. package/lib/typescript/module/dot-grid-meter/types.d.ts.map +0 -1
  1192. package/src/dot-grid-meter/DotGridMeter.tsx +0 -84
  1193. package/src/dot-grid-meter/index.ts +0 -2
  1194. package/src/dot-grid-meter/types.ts +0 -48
  1195. /package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js +0 -0
  1196. /package/lib/module/{dot-grid-meter → agent-avatar}/types.js +0 -0
@@ -0,0 +1,921 @@
1
+ "use strict";
2
+
3
+ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
4
+ import { Platform, Share, useWindowDimensions } from 'react-native';
5
+ import Animated, { useReducedMotion } from 'react-native-reanimated';
6
+ import { AgentAvatar } from "../agent-avatar/index.js";
7
+ import { StreamedText } from "../agent-chat/AgentChatMessage.js";
8
+ import { Button, IconButton } from '../button';
9
+ import { useDialogControl } from "../dialog/context.js";
10
+ import { useDirectionProps } from "../hooks/use-is-rtl.js";
11
+ import { RiCheckLine } from "../icons/remix/RiCheckLine.js";
12
+ import { RiFileCopyLine } from "../icons/remix/RiFileCopyLine.js";
13
+ import { RiGroupLine } from "../icons/remix/RiGroupLine.js";
14
+ import { RiMenuLine } from "../icons/remix/RiMenuLine.js";
15
+ import { RiMoreFill } from "../icons/remix/RiMoreFill.js";
16
+ import { RiShare2Line } from "../icons/remix/RiShare2Line.js";
17
+ import { RiThumbDownLine } from "../icons/remix/RiThumbDownLine.js";
18
+ import { RiThumbUpLine } from "../icons/remix/RiThumbUpLine.js";
19
+ import { useMessages } from "../locale/messages.js";
20
+ import { OverlayRoot, TOAST_LAYER_Z } from "../overlay/index.js";
21
+ import { StyledPressable, StyledView } from "../styles/styled-primitives.js";
22
+ import { TextFieldInput } from "../text-field/index.js";
23
+ import { useTheme } from "../theme/use-theme.js";
24
+ import { Text } from "../typography/index.js";
25
+ import { AvatarHandoff } from "./AvatarHandoff.js";
26
+ import { ChatDialogFrame, SupportCopy } from "./ChatDialogFrame.js";
27
+ import { ChatSidebar } from "./ChatSidebar.js";
28
+ import { useChatComponents } from "./context.js";
29
+ import { conversationFor, formatDemoReply, nextAgentIdentity, removeConversation, updateConversationAgents } from "./data.js";
30
+ import { EditorRail } from "./EditorRail.js";
31
+ import { captureAvatars, measureAvatar } from "./handoff.js";
32
+ import { Marketplace } from "./Marketplace.js";
33
+ import { DEFAULT_PLUGINS, MARKETPLACE_ITEMS, addMarketplaceBot } from "./marketplace-data.js";
34
+ import { MULTI_AGENT_CHAT_MESSAGES, formatChatMessage } from "./messages.js";
35
+ import { WORKSPACE_MODELS } from "./model-catalog.js";
36
+ import { ReplyHeader, ReplyRow } from "./ReplyRow.js";
37
+ import { ScrollSurface } from "./ScrollSurface.js";
38
+ import { SelectedAgentPreview } from "./SelectedAgentPreview.js";
39
+ import { chatId, useReplies } from "./use-replies.js";
40
+ import { useWorkspace } from "./use-workspace.js";
41
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
42
+ const AnimatedView = Animated.createAnimatedComponent(StyledView);
43
+ function AgentStack({
44
+ agents,
45
+ size = 40,
46
+ nodes
47
+ }) {
48
+ return /*#__PURE__*/_jsx(StyledView, {
49
+ style: {
50
+ width: size,
51
+ height: size
52
+ },
53
+ accessibilityLabel: agents.map(a => a.name).join(', '),
54
+ children: agents.slice(0, 3).map((agent, i) => /*#__PURE__*/_jsx(StyledView, {
55
+ ref: node => {
56
+ if (nodes) {
57
+ if (node) nodes.set(agent.id, node);else nodes.delete(agent.id);
58
+ }
59
+ },
60
+ collapsable: false,
61
+ style: {
62
+ width: agents.length === 1 ? size : size * 0.65,
63
+ height: agents.length === 1 ? size : size * 0.65,
64
+ position: 'absolute',
65
+ left: agents.length === 1 ? 0 : i === 1 ? size * 0.4 : i === 2 ? size * 0.2 : 0,
66
+ top: i === 2 ? size * 0.4 : 0
67
+ },
68
+ children: /*#__PURE__*/_jsx(AgentAvatar, {
69
+ config: agent.avatar,
70
+ size: agents.length === 1 ? size : size * 0.65,
71
+ label: agent.name
72
+ })
73
+ }, agent.id))
74
+ });
75
+ }
76
+ /** Shared workspace implementation. Platform bindings select Bloom's existing surfaces only. */
77
+ export function MultiAgentChatBase(props) {
78
+ const {
79
+ messages
80
+ } = useMessages(MULTI_AGENT_CHAT_MESSAGES);
81
+ const {
82
+ defaultEditorId = 'security',
83
+ onCopy,
84
+ voices,
85
+ onPreviewVoice,
86
+ className,
87
+ style,
88
+ testID = 'multi-agent-chat'
89
+ } = props;
90
+ const {
91
+ Portal,
92
+ Dialog,
93
+ ComposerPanel,
94
+ AgentCreator,
95
+ Surface,
96
+ Dropdown: D
97
+ } = useChatComponents();
98
+ const {
99
+ colors
100
+ } = useTheme();
101
+ const directionProps = useDirectionProps();
102
+ const reduced = useReducedMotion();
103
+ const root = useRef(null),
104
+ pickerAvatars = useRef(new Map()),
105
+ emptyAvatars = useRef(new Map()),
106
+ badgeRef = useRef(null),
107
+ replyAvatars = useRef(new Map());
108
+ const [handoff, setHandoff] = useState(null),
109
+ [flightOrigin, setFlightOrigin] = useState(null);
110
+ const handoffGeneration = useRef(0),
111
+ sending = useRef(false),
112
+ starting = useRef(false);
113
+ const finishHandoff = useCallback(() => setHandoff(null), []);
114
+ const arriveAvatar = useCallback(id => setHandoff(current => {
115
+ if (!current || current.arrived.includes(id)) return current;
116
+ const arrived = [...current.arrived, id];
117
+ return arrived.length === current.avatars.length ? null : {
118
+ ...current,
119
+ arrived
120
+ };
121
+ }), []);
122
+ const resolveFlightTarget = useCallback(id => handoff?.kind === 'group' ? emptyAvatars.current.get(id) : id === handoff?.responderId ? replyAvatars.current.get(id) : badgeRef.current ?? undefined, [handoff?.kind, handoff?.responderId]);
123
+ const {
124
+ width
125
+ } = useWindowDimensions();
126
+ const compact = width < 1100;
127
+ const phone = width < 768;
128
+ const {
129
+ workspace,
130
+ current,
131
+ update,
132
+ loaded
133
+ } = useWorkspace(props);
134
+ const replies = useReplies(current, update, props.onRespond);
135
+ const [drafts, setDrafts] = useState({});
136
+ const [editor, setEditor] = useState(() => workspace.agents.find(a => a.id === defaultEditorId) ?? null);
137
+ const [panel, setPanel] = useState(null);
138
+ const [selected, setSelected] = useState([]);
139
+ const [editingChatId, setEditingChatId] = useState(null);
140
+ const [targetChatId, setTargetChatId] = useState(null);
141
+ const [rename, setRename] = useState('');
142
+ const [query, setQuery] = useState('');
143
+ const [searchOpen, setSearchOpen] = useState(false);
144
+ const [marketItem, setMarketItem] = useState(null);
145
+ const [feedback, setFeedback] = useState({});
146
+ const surface = useDialogControl();
147
+ const scroll = useRef(null);
148
+ const follow = useRef(true);
149
+ const offsets = useRef({});
150
+ const chat = workspace.chats.find(c => c.id === workspace.activeId) ?? workspace.chats[0] ?? {
151
+ id: 'draft-chat',
152
+ title: '',
153
+ agentIds: workspace.agents[0] ? [workspace.agents[0].id] : [],
154
+ messages: []
155
+ };
156
+ const participants = chat?.agentIds.flatMap(id => workspace.agents.find(a => a.id === id) ?? []) ?? [];
157
+ const targetChat = workspace.chats.find(c => c.id === targetChatId) ?? chat;
158
+ const open = useCallback(next => {
159
+ setPanel(next);
160
+ surface.open();
161
+ }, [surface]);
162
+ const restoredEditor = useRef(false);
163
+ useEffect(() => {
164
+ if (!loaded || restoredEditor.current) return;
165
+ restoredEditor.current = true;
166
+ setEditor(current.current.agents.find(agent => agent.id === defaultEditorId) ?? null);
167
+ }, [loaded, current, defaultEditorId]);
168
+ useEffect(() => {
169
+ if (Platform.OS !== 'web' || typeof window === 'undefined') return;
170
+ const id = new URL(window.location.href).searchParams.get('marketplace');
171
+ const item = MARKETPLACE_ITEMS.find(entry => entry.id === id);
172
+ if (item) {
173
+ setMarketItem(item);
174
+ setPanel('marketplace');
175
+ }
176
+ }, []);
177
+ const initialEditorOpened = useRef(false);
178
+ useEffect(() => {
179
+ if (!initialEditorOpened.current && defaultEditorId && compact && editor) {
180
+ initialEditorOpened.current = true;
181
+ open('editor');
182
+ }
183
+ }, [defaultEditorId, compact, editor, open]);
184
+ const close = () => surface.close();
185
+ const edit = agent => {
186
+ if (!compact) close();
187
+ setEditor({
188
+ ...agent,
189
+ avatar: {
190
+ ...agent.avatar
191
+ }
192
+ });
193
+ if (compact) open('editor');
194
+ };
195
+ const saveAgent = agent => {
196
+ setEditor(agent);
197
+ update(s => {
198
+ const previous = s.agents.find(a => a.id === agent.id);
199
+ return {
200
+ ...s,
201
+ agents: previous ? s.agents.map(a => a.id === agent.id ? agent : a) : [...s.agents, agent],
202
+ chats: s.chats.map(c => c.agentIds.length === 1 && c.agentIds[0] === agent.id && (c.title === previous?.name || c.title === previous?.label) ? {
203
+ ...c,
204
+ title: agent.name
205
+ } : c)
206
+ };
207
+ });
208
+ };
209
+ const createAgent = () => {
210
+ const agent = {
211
+ id: chatId('agent'),
212
+ ...nextAgentIdentity(workspace.agents),
213
+ label: '',
214
+ description: ''
215
+ };
216
+ const created = conversationFor([agent], [agent.id], chatId('chat'));
217
+ update(s => ({
218
+ ...s,
219
+ agents: [...s.agents, agent],
220
+ chats: [created, ...s.chats],
221
+ activeId: created.id
222
+ }));
223
+ edit(agent);
224
+ };
225
+ const chooseAgents = (ids = [], existingId = null) => {
226
+ handoffGeneration.current++;
227
+ setHandoff(null);
228
+ setSelected(ids);
229
+ setEditingChatId(existingId);
230
+ open('picker');
231
+ };
232
+ const startChat = async () => {
233
+ if (starting.current) return;
234
+ const ids = [...new Set(selected)].filter(id => workspace.agents.some(a => a.id === id));
235
+ if (!ids.length) return;
236
+ if (editingChatId) {
237
+ replies.stop(editingChatId);
238
+ update(s => updateConversationAgents(s, editingChatId, ids));
239
+ close();
240
+ return;
241
+ }
242
+ const id = chatId('chat');
243
+ const next = conversationFor(workspace.agents, ids, id);
244
+ const existing = ids.length === 1 ? workspace.chats.find(c => c.agentIds.length === 1 && c.agentIds[0] === ids[0]) : undefined;
245
+ if (existing) {
246
+ selectChat(existing.id);
247
+ close();
248
+ return;
249
+ }
250
+ starting.current = true;
251
+ const generation = ++handoffGeneration.current;
252
+ const selectedAgents = ids.flatMap(id => workspace.agents.find(a => a.id === id) ?? []);
253
+ const [avatars, origin] = await Promise.all([ids.length > 1 && !reduced ? captureAvatars(selectedAgents, pickerAvatars.current) : Promise.resolve([]), measureAvatar(root.current ?? undefined)]);
254
+ starting.current = false;
255
+ if (generation !== handoffGeneration.current) return;
256
+ setFlightOrigin(origin);
257
+ setHandoff(avatars.length ? {
258
+ chatId: id,
259
+ kind: 'group',
260
+ avatars,
261
+ arrived: []
262
+ } : null);
263
+ setEditor(null);
264
+ update(s => ({
265
+ ...s,
266
+ chats: [next, ...s.chats],
267
+ activeId: id
268
+ }));
269
+ follow.current = true;
270
+ close();
271
+ };
272
+ const copy = async (text, message = messages.copied) => {
273
+ try {
274
+ if (onCopy) await onCopy(text);else if (Platform.OS === 'web' && typeof navigator !== 'undefined' && navigator.clipboard) await navigator.clipboard.writeText(text);else await Share.share({
275
+ message: text
276
+ });
277
+ replies.setNotice(message);
278
+ } catch {
279
+ replies.setNotice(messages.couldnTCopyPleaseTryAgain);
280
+ }
281
+ };
282
+ const transcript = conversation => conversation.messages.map(m => `${m.role === 'user' ? messages.you : workspace.agents.find(a => a.id === m.agentId)?.name ?? messages.agent}: ${m.text}`).join('\n\n');
283
+ const selectChat = id => {
284
+ handoffGeneration.current++;
285
+ setHandoff(null);
286
+ update(s => ({
287
+ ...s,
288
+ activeId: id
289
+ }));
290
+ follow.current = !offsets.current[id];
291
+ requestAnimationFrame(() => scroll.current?.scrollTo({
292
+ y: offsets.current[id] ?? 0,
293
+ animated: false
294
+ }));
295
+ if (panel === 'navigation') close();
296
+ };
297
+ const removeChat = id => {
298
+ replies.stop(id);
299
+ update(s => removeConversation(s, id));
300
+ setDrafts(s => {
301
+ const next = {
302
+ ...s
303
+ };
304
+ delete next[id];
305
+ return next;
306
+ });
307
+ replies.setNotice(messages.chatRemoved);
308
+ };
309
+ const sendMessage = async text => {
310
+ if (!chat || !text.trim() || replies.pending[chat.id] || sending.current) return;
311
+ sending.current = true;
312
+ const id = chat.id,
313
+ generation = ++handoffGeneration.current;
314
+ const [avatars, origin] = await Promise.all([!chat.messages.length && participants.length > 1 && !reduced ? captureAvatars(participants, emptyAvatars.current) : Promise.resolve([]), measureAvatar(root.current ?? undefined)]);
315
+ sending.current = false;
316
+ if (generation !== handoffGeneration.current) return;
317
+ setFlightOrigin(origin);
318
+ setHandoff(avatars.length ? {
319
+ chatId: id,
320
+ kind: 'first',
321
+ responderId: participants[0]?.id,
322
+ avatars,
323
+ arrived: []
324
+ } : null);
325
+ setDrafts(s => ({
326
+ ...s,
327
+ [id]: ''
328
+ }));
329
+ follow.current = true;
330
+ void replies.send(text, id, avatars.length ? 800 : 0, chat);
331
+ };
332
+ const editPanel = editor && /*#__PURE__*/_jsx(AgentCreator, {
333
+ agent: editor,
334
+ onChange: saveAgent,
335
+ voices: voices,
336
+ onPreviewVoice: onPreviewVoice,
337
+ onClose: () => {
338
+ setEditor(null);
339
+ if (panel === 'editor') close();
340
+ },
341
+ style: {
342
+ flex: 1
343
+ }
344
+ });
345
+ const sortedChats = useMemo(() => workspace.chats.filter(c => `${c.customTitle || c.title} ${workspace.agents.filter(a => c.agentIds.includes(a.id)).map(a => `${a.name} ${a.label}`).join(' ')} ${c.messages[c.messages.length - 1]?.text ?? ''}`.toLocaleLowerCase().includes(query.toLocaleLowerCase())).sort((a, b) => Number(!!b.pinned) - Number(!!a.pinned)), [workspace.chats, query]);
346
+ const sidebar = /*#__PURE__*/_jsx(ChatSidebar, {
347
+ agents: workspace.agents,
348
+ chats: sortedChats,
349
+ activeId: workspace.activeId,
350
+ pending: replies.pending,
351
+ query: query,
352
+ searchOpen: searchOpen,
353
+ onQuery: setQuery,
354
+ onSearch: setSearchOpen,
355
+ onSelect: selectChat,
356
+ onCreate: createAgent,
357
+ onPicker: () => chooseAgents(),
358
+ onMarketplace: () => {
359
+ setMarketItem(null);
360
+ setPanel('marketplace');
361
+ },
362
+ onSettings: () => setPanel('settings'),
363
+ onSupport: () => open('support'),
364
+ onAction: (target, action) => {
365
+ setTargetChatId(target.id);
366
+ if (action === 'pin') update(s => ({
367
+ ...s,
368
+ chats: s.chats.map(c => c.id === target.id ? {
369
+ ...c,
370
+ pinned: !c.pinned
371
+ } : c)
372
+ }));
373
+ if (action === 'rename') {
374
+ setRename(target.customTitle || target.title);
375
+ open('rename');
376
+ }
377
+ if (action === 'edit') {
378
+ if (target.agentIds.length > 1) chooseAgents(target.agentIds, target.id);else {
379
+ const agent = workspace.agents.find(a => a.id === target.agentIds[0]);
380
+ if (agent) edit(agent);
381
+ }
382
+ }
383
+ if (action === 'copy') void copy(transcript(target), messages.conversationCopied);
384
+ if (action === 'copy-id') void copy(target.id, messages.conversationIDCopied);
385
+ if (action === 'remove') removeChat(target.id);
386
+ }
387
+ });
388
+ const title = panel === 'picker' ? editingChatId ? messages.editGroup : messages.chatWithYourAgents : panel === 'rename' ? messages.renameChat : panel === 'marketplace' ? marketItem?.name ?? messages.marketplace : panel === 'editor' ? messages.editAgentTitle : panel === 'support' ? messages.aLittleHelp : panel === 'settings' ? messages.settings : panel === 'navigation' ? messages.conversations : messages.conversationOptions;
389
+ const messageActions = (id, text) => /*#__PURE__*/_jsxs(StyledView, {
390
+ className: "mt-1 flex-row items-center gap-1",
391
+ children: [['up', 'down'].map(value => /*#__PURE__*/_jsx(StyledPressable, {
392
+ accessibilityRole: "button",
393
+ accessibilityLabel: value === 'up' ? messages.helpfulResponse : messages.unhelpfulResponse,
394
+ accessibilityState: {
395
+ selected: feedback[id] === value
396
+ },
397
+ "aria-pressed": feedback[id] === value,
398
+ onPress: () => setFeedback(s => ({
399
+ ...s,
400
+ [id]: value
401
+ })),
402
+ className: "h-[22px] w-[22px] items-center justify-center rounded-md",
403
+ style: {
404
+ backgroundColor: colors.backgroundTertiary
405
+ },
406
+ children: value === 'up' ? /*#__PURE__*/_jsx(RiThumbUpLine, {
407
+ width: 12,
408
+ height: 12,
409
+ fill: feedback[id] === value ? colors.primary : colors.textTertiary
410
+ }) : /*#__PURE__*/_jsx(RiThumbDownLine, {
411
+ width: 12,
412
+ height: 12,
413
+ fill: feedback[id] === value ? colors.primary : colors.textTertiary
414
+ })
415
+ }, value)), /*#__PURE__*/_jsx(StyledPressable, {
416
+ accessibilityRole: "button",
417
+ accessibilityLabel: messages.copyResponse,
418
+ className: "flex size-[22px] items-center justify-center rounded-md bg-background-tertiary-default text-foreground-icon-tertiary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
419
+ onPress: () => {
420
+ void copy(text, messages.responseCopied);
421
+ },
422
+ children: /*#__PURE__*/_jsx(RiFileCopyLine, {
423
+ width: 12,
424
+ height: 12,
425
+ fill: colors.textTertiary
426
+ })
427
+ })]
428
+ });
429
+ return /*#__PURE__*/_jsxs(StyledView, {
430
+ ...directionProps,
431
+ ref: root,
432
+ collapsable: false,
433
+ className: `flex h-dvh min-h-0 overflow-hidden bg-background-full p-3 text-text-primary flex-row ${className ?? ''}`,
434
+ style: [{
435
+ flex: 1,
436
+ minHeight: 0
437
+ }, style],
438
+ testID: testID,
439
+ children: [!phone && /*#__PURE__*/_jsx(StyledView, {
440
+ className: "me-4 hidden min-h-0 shrink-0 md:block",
441
+ style: {
442
+ width: 260
443
+ },
444
+ children: sidebar
445
+ }), /*#__PURE__*/_jsxs(StyledView, {
446
+ accessibilityLabel: messages.agentConversation,
447
+ className: "flex min-h-0 min-w-0 flex-1 flex-col rounded-3xl bg-background-secondary-default",
448
+ children: [/*#__PURE__*/_jsxs(StyledView, {
449
+ className: "flex h-[55px] shrink-0 items-start gap-2 px-3 pt-3 flex-row",
450
+ children: [phone && /*#__PURE__*/_jsx(IconButton, {
451
+ icon: RiMenuLine,
452
+ accessibilityLabel: messages.openConversations,
453
+ size: "sm",
454
+ onPress: () => open('navigation')
455
+ }), /*#__PURE__*/_jsx(StyledView, {
456
+ className: "flex min-w-0 flex-1 flex-row",
457
+ children: /*#__PURE__*/_jsxs(StyledView, {
458
+ ref: badgeRef,
459
+ collapsable: false,
460
+ className: "relative z-40 min-w-0 max-w-full rounded-full",
461
+ children: [/*#__PURE__*/_jsx(Surface, {
462
+ fill: colors.backgroundSecondary,
463
+ radius: 999,
464
+ style: {
465
+ position: 'absolute',
466
+ inset: 0
467
+ },
468
+ pointerEvents: "none"
469
+ }), /*#__PURE__*/_jsxs(StyledPressable, {
470
+ accessibilityRole: "button",
471
+ accessibilityLabel: participants.length === 1 ? formatChatMessage(messages.editAgent, participants[0].name) : messages.editConversationAgents,
472
+ onPress: () => participants.length === 1 ? edit(participants[0]) : chooseAgents(chat?.agentIds),
473
+ className: "flex h-[31px] min-w-0 max-w-full items-center gap-2 rounded-full px-2 pe-3 text-body-2-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring flex-row",
474
+ children: [/*#__PURE__*/_jsx(AgentStack, {
475
+ agents: participants,
476
+ size: 20
477
+ }), /*#__PURE__*/_jsx(Text, {
478
+ numberOfLines: 1,
479
+ className: "truncate text-body-2-medium text-text-secondary",
480
+ children: participants.length === 1 ? participants[0].name : participants.slice(0, 3).map(a => a.label || a.name).join(' + ')
481
+ }), participants.length > 3 && /*#__PURE__*/_jsxs(Text, {
482
+ className: "shrink-0",
483
+ children: ["+", participants.length - 3]
484
+ })]
485
+ })]
486
+ })
487
+ }), /*#__PURE__*/_jsx(StyledPressable, {
488
+ accessibilityRole: "button",
489
+ accessibilityLabel: messages.copyConversation,
490
+ onPress: () => chat && void copy(transcript(chat), messages.conversationCopied),
491
+ className: "rounded p-1 text-foreground-icon-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
492
+ children: /*#__PURE__*/_jsx(RiShare2Line, {
493
+ width: 16,
494
+ height: 16,
495
+ fill: colors.textSecondary
496
+ })
497
+ }), /*#__PURE__*/_jsxs(D.DropdownMenu, {
498
+ children: [/*#__PURE__*/_jsx(D.DropdownMenuTrigger, {
499
+ asChild: true,
500
+ children: /*#__PURE__*/_jsx(StyledPressable, {
501
+ accessibilityRole: "button",
502
+ accessibilityLabel: messages.conversationOptions,
503
+ className: "rounded p-1 text-foreground-icon-secondary",
504
+ children: /*#__PURE__*/_jsx(RiMoreFill, {
505
+ width: 16,
506
+ height: 16,
507
+ fill: colors.textSecondary
508
+ })
509
+ })
510
+ }), /*#__PURE__*/_jsxs(D.DropdownMenuContent, {
511
+ label: messages.conversationOptions,
512
+ align: "end",
513
+ className: "rounded-[14px] p-1",
514
+ style: {
515
+ borderRadius: 14,
516
+ padding: 4
517
+ },
518
+ children: [/*#__PURE__*/_jsx(D.DropdownMenuLabel, {
519
+ children: messages.inThisConversation
520
+ }), participants.map(agent => /*#__PURE__*/_jsx(D.DropdownMenuItem, {
521
+ onPress: () => edit(agent),
522
+ leading: /*#__PURE__*/_jsx(AgentAvatar, {
523
+ config: agent.avatar,
524
+ size: 20
525
+ }),
526
+ className: "px-2 py-1.5 text-body-medium",
527
+ children: formatChatMessage(messages.editAgent, agent.name)
528
+ }, agent.id)), /*#__PURE__*/_jsx(D.DropdownMenuItem, {
529
+ onPress: () => chooseAgents(chat?.agentIds),
530
+ leading: /*#__PURE__*/_jsx(RiGroupLine, {
531
+ width: 16,
532
+ height: 16
533
+ }),
534
+ className: "px-2 py-1.5 text-body-medium",
535
+ children: messages.startAGroupChat
536
+ })]
537
+ })]
538
+ })]
539
+ }), /*#__PURE__*/_jsx(ScrollSurface, {
540
+ scrollRef: scroll,
541
+ label: messages.messages,
542
+ className: "flex-1",
543
+ contentClassName: chat?.messages.length ? 'pb-4 pt-2' : 'flex items-center justify-center p-4',
544
+ contentContainerStyle: {
545
+ flexGrow: 1
546
+ },
547
+ scrollEventThrottle: 16,
548
+ onScroll: event => {
549
+ const {
550
+ contentOffset,
551
+ contentSize,
552
+ layoutMeasurement
553
+ } = event.nativeEvent;
554
+ follow.current = contentSize.height - contentOffset.y - layoutMeasurement.height < 100;
555
+ if (chat) offsets.current[chat.id] = contentOffset.y;
556
+ },
557
+ onContentSizeChange: () => {
558
+ if (follow.current) scroll.current?.scrollToEnd({
559
+ animated: false
560
+ });
561
+ },
562
+ children: !chat || !chat.messages.length ? /*#__PURE__*/_jsxs(StyledView, {
563
+ className: "flex-1 items-center justify-center gap-4 px-4 py-8",
564
+ children: [/*#__PURE__*/_jsx(SelectedAgentPreview, {
565
+ agents: participants,
566
+ nodes: emptyAvatars.current,
567
+ hidden: handoff?.kind === 'group' && handoff.chatId === chat?.id ? handoff.avatars.filter(a => !handoff.arrived.includes(a.agent.id)).map(a => a.agent.id) : []
568
+ }), /*#__PURE__*/_jsxs(StyledView, {
569
+ className: "flex flex-col items-center gap-1.5",
570
+ children: [/*#__PURE__*/_jsx(Text, {
571
+ variant: "title-3-semibold",
572
+ style: {
573
+ textAlign: 'center'
574
+ },
575
+ children: participants.length > 1 ? messages.aFewMindsOneConversation : participants[0] ? formatChatMessage(messages.sayHelloTo, participants[0].name) : messages.chatWithYourAgents
576
+ }), /*#__PURE__*/_jsx(Text, {
577
+ variant: "body-regular",
578
+ style: {
579
+ maxWidth: 420,
580
+ textAlign: 'center',
581
+ color: colors.textSecondary
582
+ },
583
+ children: participants.length > 1 ? formatChatMessage(messages.areHereSendAMessageToGet, participants.map(a => a.name).join(', ')) : participants[0]?.description ?? messages.chooseAnAgentOrCreateYourOwn
584
+ })]
585
+ }), !chat && /*#__PURE__*/_jsx(Button, {
586
+ onPress: () => chooseAgents(),
587
+ children: messages.startChat
588
+ })]
589
+ }) : /*#__PURE__*/_jsxs(StyledView, {
590
+ children: [/*#__PURE__*/_jsx(StyledView, {
591
+ className: "mb-4 mt-3 flex justify-center items-center",
592
+ style: {
593
+ marginBottom: 4
594
+ },
595
+ children: /*#__PURE__*/_jsx(Text, {
596
+ className: "rounded-full bg-background-tertiary-default px-[7px] py-1 text-body-2-medium text-text-secondary",
597
+ children: messages.today
598
+ })
599
+ }), [...chat.messages, ...(replies.thinking[chat.id] ? [replies.thinking[chat.id]] : [])].map(message => {
600
+ const agent = workspace.agents.find(a => a.id === message.agentId);
601
+ const text = formatDemoReply(message.text);
602
+ if (message.role === 'user') return /*#__PURE__*/_jsx(StyledView, {
603
+ className: "me-3 ms-auto mt-3 w-fit max-w-[min(520px,calc(100%-24px))] rounded-[var(--radius-2-5xl)] bg-background-primary-default p-3 text-start text-body-regular whitespace-pre-wrap break-words",
604
+ style: {
605
+ alignSelf: 'flex-end',
606
+ maxWidth: Platform.OS === 'web' ? undefined : '94%'
607
+ },
608
+ children: /*#__PURE__*/_jsx(Text, {
609
+ variant: "body-regular",
610
+ children: message.text
611
+ })
612
+ }, message.id);
613
+ const thinking = replies.thinking[chat.id]?.id === message.id;
614
+ return /*#__PURE__*/_jsx(ReplyRow, {
615
+ header: agent && /*#__PURE__*/_jsx(ReplyHeader, {
616
+ agent: agent,
617
+ thinking: thinking,
618
+ workingKey: replies.pending[chat.id],
619
+ nodes: thinking ? replyAvatars.current : undefined,
620
+ arriving: thinking && handoff?.kind === 'first' && handoff.chatId === chat.id && handoff.responderId === agent.id && !handoff.arrived.includes(agent.id),
621
+ onEdit: () => edit(agent)
622
+ }),
623
+ actions: !thinking && replies.streaming[chat.id] !== message.id && messageActions(message.id, text),
624
+ children: !!text && /*#__PURE__*/_jsx(StyledView, {
625
+ className: "rounded-[var(--radius-2-5xl)] bg-background-tertiary-default p-3",
626
+ children: /*#__PURE__*/_jsx(StreamedText, {
627
+ text: text,
628
+ paragraphs: true
629
+ })
630
+ })
631
+ }, message.id);
632
+ })]
633
+ })
634
+ }), chat && /*#__PURE__*/_jsx(StyledView, {
635
+ className: "p-1",
636
+ children: /*#__PURE__*/_jsx(ComposerPanel, {
637
+ value: drafts[chat.id] ?? '',
638
+ onValueChange: value => setDrafts(s => ({
639
+ ...s,
640
+ [chat.id]: value
641
+ })),
642
+ onSubmit: text => {
643
+ void sendMessage(text);
644
+ },
645
+ disabled: !!replies.pending[chat.id],
646
+ busy: !!replies.pending[chat.id],
647
+ onStop: () => replies.stop(chat.id),
648
+ providers: props.providers ?? WORKSPACE_MODELS,
649
+ status: null,
650
+ defaultPermission: "bypass",
651
+ defaultModel: "anthropic/fable-5",
652
+ style: {
653
+ borderRadius: 20
654
+ }
655
+ })
656
+ })]
657
+ }), !!replies.notice && /*#__PURE__*/_jsx(Portal, {
658
+ children: /*#__PURE__*/_jsx(OverlayRoot, {
659
+ zIndex: TOAST_LAYER_Z,
660
+ style: {
661
+ justifyContent: 'flex-end',
662
+ alignItems: 'center',
663
+ padding: 20
664
+ },
665
+ children: /*#__PURE__*/_jsx(StyledView, {
666
+ pointerEvents: "none",
667
+ className: "max-w-[calc(100%-32px)] rounded-xl border border-border-button-default bg-background-primary-default px-4 py-3 shadow-lg",
668
+ style: {
669
+ maxWidth: '100%'
670
+ },
671
+ children: /*#__PURE__*/_jsxs(StyledView, {
672
+ className: "flex flex-row items-center gap-2",
673
+ children: [/*#__PURE__*/_jsx(RiCheckLine, {
674
+ width: 16,
675
+ height: 16,
676
+ fill: colors.textSecondary
677
+ }), /*#__PURE__*/_jsx(Text, {
678
+ accessibilityRole: "alert",
679
+ "aria-live": "polite",
680
+ className: "text-body-regular text-text-primary",
681
+ children: replies.notice
682
+ })]
683
+ })
684
+ })
685
+ })
686
+ }), /*#__PURE__*/_jsx(EditorRail, {
687
+ active: !!editor && !compact,
688
+ children: editPanel
689
+ }), /*#__PURE__*/_jsx(Dialog, {
690
+ presentation: "custom",
691
+ exitDuration: panel === 'editor' ? 280 : 240,
692
+ contentPadding: 0,
693
+ scrollable: false,
694
+ control: surface,
695
+ label: title,
696
+ maxWidth: 100000,
697
+ placement: "center",
698
+ style: {
699
+ position: 'absolute',
700
+ inset: 0,
701
+ width: '100%',
702
+ height: '100%',
703
+ maxWidth: '100%'
704
+ },
705
+ containerStyle: {
706
+ padding: 0,
707
+ paddingHorizontal: 0
708
+ },
709
+ onClose: () => {
710
+ setPanel(null);
711
+ if (compact && panel === 'editor') setEditor(null);
712
+ },
713
+ children: /*#__PURE__*/_jsxs(ChatDialogFrame, {
714
+ title: title,
715
+ mode: panel === 'editor' ? 'editor' : panel === 'navigation' ? 'navigation' : 'center',
716
+ preview: panel === 'picker' ? /*#__PURE__*/_jsx(SelectedAgentPreview, {
717
+ caption: true,
718
+ agents: selected.flatMap(id => workspace.agents.find(a => a.id === id) ?? []),
719
+ nodes: pickerAvatars.current,
720
+ hidden: handoff?.kind === 'group' ? handoff.avatars.map(a => a.agent.id) : []
721
+ }) : undefined,
722
+ footer: panel === 'picker' ? /*#__PURE__*/_jsx(Button, {
723
+ className: "w-full rounded-full",
724
+ style: {
725
+ width: '100%',
726
+ borderRadius: 999
727
+ },
728
+ onPress: () => {
729
+ void startChat();
730
+ },
731
+ disabled: !selected.length,
732
+ children: messages.pickerAction(!!editingChatId, selected.length)
733
+ }) : panel === 'rename' ? /*#__PURE__*/_jsx(Button, {
734
+ className: "w-full rounded-full",
735
+ style: {
736
+ width: '100%',
737
+ borderRadius: 999
738
+ },
739
+ disabled: !rename.trim(),
740
+ onPress: () => {
741
+ update(s => ({
742
+ ...s,
743
+ chats: s.chats.map(c => c.id === targetChat?.id ? {
744
+ ...c,
745
+ customTitle: rename.trim()
746
+ } : c)
747
+ }));
748
+ close();
749
+ },
750
+ children: messages.saveName
751
+ }) : undefined,
752
+ children: [panel === 'navigation' && sidebar, panel === 'editor' && editPanel, panel === 'rename' && /*#__PURE__*/_jsx(TextFieldInput, {
753
+ label: messages.chatName,
754
+ autoFocus: true,
755
+ value: rename,
756
+ onChangeText: setRename,
757
+ maxLength: 100,
758
+ onSubmitEditing: () => {
759
+ if (!rename.trim()) return;
760
+ update(s => ({
761
+ ...s,
762
+ chats: s.chats.map(c => c.id === targetChat?.id ? {
763
+ ...c,
764
+ customTitle: rename.trim()
765
+ } : c)
766
+ }));
767
+ close();
768
+ }
769
+ }), panel === 'picker' && /*#__PURE__*/_jsx(StyledView, {
770
+ className: "flex flex-wrap justify-center gap-2 flex-row",
771
+ role: "group",
772
+ accessibilityLabel: messages.chooseYourTeammates,
773
+ children: workspace.agents.map(agent => {
774
+ const picked = selected.includes(agent.id);
775
+ return /*#__PURE__*/_jsx(Button, {
776
+ appearance: "plain",
777
+ tone: "neutral",
778
+ accessibilityLabel: agent.name,
779
+ pressed: picked,
780
+ onPress: () => setSelected(ids => picked ? ids.filter(id => id !== agent.id) : [...ids, agent.id]),
781
+ className: `h-10 max-w-full rounded-full border px-2 shadow-none transition-colors hover:bg-background-tertiary-default active:bg-background-tertiary-hover ${picked ? 'border-foreground-icon-secondary bg-background-tertiary-default text-text-primary dark:bg-background-tertiary-hover dark:hover:bg-background-tertiary-hover dark:active:bg-background-tertiary-hover' : 'border-transparent bg-background-secondary-default text-text-secondary'}`,
782
+ style: {
783
+ height: 40,
784
+ maxWidth: '100%',
785
+ borderRadius: 999,
786
+ borderWidth: 1,
787
+ borderColor: picked ? colors.textSecondary : 'transparent',
788
+ backgroundColor: picked ? colors.backgroundTertiary : colors.backgroundSecondary,
789
+ boxShadow: 'none',
790
+ paddingStart: 8,
791
+ paddingEnd: 8
792
+ },
793
+ children: /*#__PURE__*/_jsx(StyledView, {
794
+ className: "inline-flex items-center justify-center px-1 shrink-0 flex-row",
795
+ children: /*#__PURE__*/_jsxs(StyledView, {
796
+ className: "flex min-w-0 items-center gap-2 flex-row",
797
+ children: [/*#__PURE__*/_jsx(StyledView, {
798
+ className: "size-6 shrink-0",
799
+ "aria-hidden": true,
800
+ children: /*#__PURE__*/_jsx(AgentAvatar, {
801
+ config: agent.avatar,
802
+ size: 24
803
+ })
804
+ }), /*#__PURE__*/_jsx(Text, {
805
+ className: `truncate text-body-medium ${picked ? 'text-text-primary' : 'text-text-secondary'}`,
806
+ numberOfLines: 1,
807
+ children: agent.name
808
+ })]
809
+ })
810
+ })
811
+ }, agent.id);
812
+ })
813
+ }), panel === 'options' && targetChat && /*#__PURE__*/_jsxs(StyledView, {
814
+ className: "gap-2",
815
+ children: [/*#__PURE__*/_jsx(Button, {
816
+ appearance: "plain",
817
+ onPress: () => {
818
+ update(s => ({
819
+ ...s,
820
+ chats: s.chats.map(c => c.id === targetChat.id ? {
821
+ ...c,
822
+ pinned: !c.pinned
823
+ } : c)
824
+ }));
825
+ close();
826
+ },
827
+ children: targetChat.pinned ? messages.unpinChat : messages.pinChat
828
+ }), /*#__PURE__*/_jsx(Button, {
829
+ appearance: "plain",
830
+ onPress: () => {
831
+ setRename(targetChat.customTitle || targetChat.title);
832
+ setPanel('rename');
833
+ },
834
+ children: messages.renameChat
835
+ }), /*#__PURE__*/_jsx(Button, {
836
+ appearance: "plain",
837
+ leadingIcon: RiGroupLine,
838
+ onPress: () => chooseAgents(targetChat.agentIds, targetChat.id),
839
+ children: messages.editGroup
840
+ }), targetChat.agentIds.map(id => {
841
+ const agent = workspace.agents.find(a => a.id === id);
842
+ return agent && /*#__PURE__*/_jsx(Button, {
843
+ appearance: "plain",
844
+ onPress: () => {
845
+ if (!compact) close();
846
+ edit(agent);
847
+ },
848
+ children: formatChatMessage(messages.editAgent, agent.name)
849
+ }, id);
850
+ }), /*#__PURE__*/_jsx(Button, {
851
+ appearance: "plain",
852
+ onPress: () => {
853
+ void copy(transcript(targetChat), messages.conversationCopied);
854
+ },
855
+ children: messages.copyConversation
856
+ }), /*#__PURE__*/_jsx(Button, {
857
+ appearance: "plain",
858
+ onPress: () => {
859
+ void copy(targetChat.id, messages.conversationIDCopied);
860
+ },
861
+ children: messages.copyConversationID
862
+ }), /*#__PURE__*/_jsx(Button, {
863
+ appearance: "plain",
864
+ onPress: () => removeChat(targetChat.id),
865
+ children: messages.removeChat
866
+ })]
867
+ }), panel === 'support' && /*#__PURE__*/_jsxs(StyledView, {
868
+ className: "space-y-4 text-body-regular text-text-secondary",
869
+ style: {
870
+ gap: 16
871
+ },
872
+ children: [/*#__PURE__*/_jsx(SupportCopy, {
873
+ text: messages.useToCreateABotOrStart,
874
+ term: "+"
875
+ }), /*#__PURE__*/_jsx(SupportCopy, {
876
+ text: messages.openTheMarketplaceToExplorePluginsAnd,
877
+ term: messages.marketplace
878
+ }), /*#__PURE__*/_jsx(Text, {
879
+ className: "text-body-regular text-text-secondary",
880
+ children: messages.sendWithEnterUseShiftEnterFor
881
+ })]
882
+ })]
883
+ })
884
+ }), (panel === 'marketplace' || panel === 'settings') && /*#__PURE__*/_jsx(Marketplace, {
885
+ initialItem: marketItem?.id,
886
+ defaultPage: panel === 'settings' ? 'general' : 'marketplace',
887
+ agents: workspace.agents,
888
+ installedPlugins: workspace.installedPlugins ?? DEFAULT_PLUGINS,
889
+ onClose: () => setPanel(null),
890
+ onCopy: copy,
891
+ onChat: id => {
892
+ setSelected([id]);
893
+ const existing = workspace.chats.find(c => c.agentIds.length === 1 && c.agentIds[0] === id);
894
+ if (existing) selectChat(existing.id);else {
895
+ const created = conversationFor(workspace.agents, [id], chatId('chat'));
896
+ update(s => ({
897
+ ...s,
898
+ chats: [created, ...s.chats],
899
+ activeId: created.id
900
+ }));
901
+ }
902
+ setPanel(null);
903
+ },
904
+ onAddBot: item => update(s => addMarketplaceBot(s, item)),
905
+ onTogglePlugin: id => update(s => {
906
+ const installed = s.installedPlugins ?? DEFAULT_PLUGINS;
907
+ return {
908
+ ...s,
909
+ installedPlugins: installed.includes(id) ? installed.filter(value => value !== id) : [...installed, id]
910
+ };
911
+ })
912
+ }), handoff && handoff.chatId === chat?.id && /*#__PURE__*/_jsx(AvatarHandoff, {
913
+ handoff: handoff,
914
+ origin: flightOrigin,
915
+ resolveTarget: resolveFlightTarget,
916
+ onArrive: arriveAvatar,
917
+ onFinish: finishHandoff
918
+ })]
919
+ });
920
+ }
921
+ //# sourceMappingURL=MultiAgentChatBase.js.map