@oxy.so/bloom 6.4.0 → 7.0.0

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