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