veryfront 0.1.997 → 0.1.998

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 (374) hide show
  1. package/esm/cli/templates/manifest.js +1 -1
  2. package/esm/deno.d.ts +7 -0
  3. package/esm/deno.js +11 -3
  4. package/esm/deps/esm.sh/react-dom@19.2.4.d.ts +2 -0
  5. package/esm/deps/esm.sh/react-dom@19.2.4.d.ts.map +1 -0
  6. package/esm/deps/esm.sh/react-dom@19.2.4.js +3 -0
  7. package/esm/react/react-dom.d.ts +3 -0
  8. package/esm/react/react-dom.d.ts.map +1 -0
  9. package/esm/react/react-dom.js +2 -0
  10. package/esm/src/agent/ag-ui/host-support.d.ts.map +1 -1
  11. package/esm/src/agent/ag-ui/host-support.js +12 -0
  12. package/esm/src/agent/react/index.d.ts +4 -2
  13. package/esm/src/agent/react/index.d.ts.map +1 -1
  14. package/esm/src/agent/react/index.js +2 -1
  15. package/esm/src/agent/react/use-agent-metadata.d.ts +5 -0
  16. package/esm/src/agent/react/use-agent-metadata.d.ts.map +1 -1
  17. package/esm/src/agent/react/use-agent-metadata.js +18 -9
  18. package/esm/src/agent/react/use-agents.d.ts +33 -0
  19. package/esm/src/agent/react/use-agents.d.ts.map +1 -0
  20. package/esm/src/agent/react/use-agents.js +72 -0
  21. package/esm/src/agent/react/use-chat/index.d.ts +1 -1
  22. package/esm/src/agent/react/use-chat/index.d.ts.map +1 -1
  23. package/esm/src/agent/react/use-chat/types.d.ts +3 -2
  24. package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
  25. package/esm/src/agent/react/use-chat/use-chat.d.ts +12 -1
  26. package/esm/src/agent/react/use-chat/use-chat.d.ts.map +1 -1
  27. package/esm/src/agent/react/use-chat/use-chat.js +47 -7
  28. package/esm/src/agent/react/use-chat/utils.d.ts.map +1 -1
  29. package/esm/src/agent/react/use-chat/utils.js +4 -0
  30. package/esm/src/agent/runtime/message-adapter.d.ts.map +1 -1
  31. package/esm/src/agent/runtime/message-adapter.js +3 -1
  32. package/esm/src/agent/runtime/text-generation-runtime-message-converter.d.ts.map +1 -1
  33. package/esm/src/agent/runtime/text-generation-runtime-message-converter.js +6 -2
  34. package/esm/src/chat/index.d.ts +17 -7
  35. package/esm/src/chat/index.d.ts.map +1 -1
  36. package/esm/src/chat/index.js +33 -7
  37. package/esm/src/chat/protocol.d.ts +13 -1
  38. package/esm/src/chat/protocol.d.ts.map +1 -1
  39. package/esm/src/chat/upload-handler.d.ts +55 -0
  40. package/esm/src/chat/upload-handler.d.ts.map +1 -0
  41. package/esm/src/chat/upload-handler.js +180 -0
  42. package/esm/src/discovery/import-rewriter.d.ts +1 -1
  43. package/esm/src/discovery/import-rewriter.d.ts.map +1 -1
  44. package/esm/src/discovery/import-rewriter.js +2 -0
  45. package/esm/src/discovery/transpiler.d.ts.map +1 -1
  46. package/esm/src/discovery/transpiler.js +2 -0
  47. package/esm/src/react/components/chat/agent-card.d.ts +84 -11
  48. package/esm/src/react/components/chat/agent-card.d.ts.map +1 -1
  49. package/esm/src/react/components/chat/agent-card.js +151 -57
  50. package/esm/src/react/components/chat/agent-picker.d.ts +166 -0
  51. package/esm/src/react/components/chat/agent-picker.d.ts.map +1 -0
  52. package/esm/src/react/components/chat/agent-picker.js +183 -0
  53. package/esm/src/react/components/chat/chat/components/animations.js +1 -1
  54. package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +125 -3
  55. package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts.map +1 -1
  56. package/esm/src/react/components/chat/chat/components/attachment-pill.js +209 -25
  57. package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts +149 -0
  58. package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts.map +1 -0
  59. package/esm/src/react/components/chat/chat/components/attachments-panel.js +187 -0
  60. package/esm/src/react/components/chat/chat/components/branch-picker.d.ts +13 -2
  61. package/esm/src/react/components/chat/chat/components/branch-picker.d.ts.map +1 -1
  62. package/esm/src/react/components/chat/chat/components/branch-picker.js +6 -8
  63. package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.d.ts +20 -0
  64. package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.d.ts.map +1 -0
  65. package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.js +31 -0
  66. package/esm/src/react/components/chat/chat/components/code-block.d.ts +9 -1
  67. package/esm/src/react/components/chat/chat/components/code-block.d.ts.map +1 -1
  68. package/esm/src/react/components/chat/chat/components/code-block.js +14 -6
  69. package/esm/src/react/components/chat/chat/components/drop-zone.d.ts +11 -4
  70. package/esm/src/react/components/chat/chat/components/drop-zone.d.ts.map +1 -1
  71. package/esm/src/react/components/chat/chat/components/drop-zone.js +10 -8
  72. package/esm/src/react/components/chat/chat/components/empty-state.d.ts +2 -1
  73. package/esm/src/react/components/chat/chat/components/empty-state.d.ts.map +1 -1
  74. package/esm/src/react/components/chat/chat/components/empty-state.js +7 -8
  75. package/esm/src/react/components/chat/chat/components/inference-badge.d.ts +6 -2
  76. package/esm/src/react/components/chat/chat/components/inference-badge.d.ts.map +1 -1
  77. package/esm/src/react/components/chat/chat/components/inference-badge.js +5 -4
  78. package/esm/src/react/components/chat/chat/components/inline-citation.d.ts +9 -1
  79. package/esm/src/react/components/chat/chat/components/inline-citation.d.ts.map +1 -1
  80. package/esm/src/react/components/chat/chat/components/inline-citation.js +19 -20
  81. package/esm/src/react/components/chat/chat/components/message-actions.d.ts +28 -5
  82. package/esm/src/react/components/chat/chat/components/message-actions.d.ts.map +1 -1
  83. package/esm/src/react/components/chat/chat/components/message-actions.js +24 -36
  84. package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts +7 -2
  85. package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts.map +1 -1
  86. package/esm/src/react/components/chat/chat/components/message-edit-form.js +5 -5
  87. package/esm/src/react/components/chat/chat/components/message-feedback.d.ts +11 -1
  88. package/esm/src/react/components/chat/chat/components/message-feedback.d.ts.map +1 -1
  89. package/esm/src/react/components/chat/chat/components/message-feedback.js +9 -11
  90. package/esm/src/react/components/chat/chat/components/quick-actions.d.ts.map +1 -1
  91. package/esm/src/react/components/chat/chat/components/quick-actions.js +3 -1
  92. package/esm/src/react/components/chat/chat/components/reasoning.d.ts +66 -3
  93. package/esm/src/react/components/chat/chat/components/reasoning.d.ts.map +1 -1
  94. package/esm/src/react/components/chat/chat/components/reasoning.js +95 -21
  95. package/esm/src/react/components/chat/chat/components/sidebar.d.ts +178 -12
  96. package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
  97. package/esm/src/react/components/chat/chat/components/sidebar.js +228 -45
  98. package/esm/src/react/components/chat/chat/components/skill-badge.d.ts +6 -1
  99. package/esm/src/react/components/chat/chat/components/skill-badge.d.ts.map +1 -1
  100. package/esm/src/react/components/chat/chat/components/skill-badge.js +6 -5
  101. package/esm/src/react/components/chat/chat/components/skill-tool.d.ts +37 -0
  102. package/esm/src/react/components/chat/chat/components/skill-tool.d.ts.map +1 -0
  103. package/esm/src/react/components/chat/chat/components/skill-tool.js +46 -0
  104. package/esm/src/react/components/chat/chat/components/sources.d.ts +55 -3
  105. package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
  106. package/esm/src/react/components/chat/chat/components/sources.js +50 -16
  107. package/esm/src/react/components/chat/chat/components/step-indicator.d.ts +42 -3
  108. package/esm/src/react/components/chat/chat/components/step-indicator.d.ts.map +1 -1
  109. package/esm/src/react/components/chat/chat/components/step-indicator.js +55 -12
  110. package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts +1 -1
  111. package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts.map +1 -1
  112. package/esm/src/react/components/chat/chat/components/tab-switcher.js +3 -3
  113. package/esm/src/react/components/chat/chat/components/tool-ui.d.ts +96 -3
  114. package/esm/src/react/components/chat/chat/components/tool-ui.d.ts.map +1 -1
  115. package/esm/src/react/components/chat/chat/components/tool-ui.js +158 -36
  116. package/esm/src/react/components/chat/chat/composition/api.d.ts +4 -2
  117. package/esm/src/react/components/chat/chat/composition/api.d.ts.map +1 -1
  118. package/esm/src/react/components/chat/chat/composition/api.js +4 -2
  119. package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts +112 -5
  120. package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts.map +1 -1
  121. package/esm/src/react/components/chat/chat/composition/chat-composer.js +251 -61
  122. package/esm/src/react/components/chat/chat/composition/chat-empty-state.d.ts +78 -0
  123. package/esm/src/react/components/chat/chat/composition/chat-empty-state.d.ts.map +1 -0
  124. package/esm/src/react/components/chat/chat/composition/chat-empty-state.js +63 -0
  125. package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts +4 -1
  126. package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts.map +1 -1
  127. package/esm/src/react/components/chat/chat/composition/chat-empty.js +11 -10
  128. package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts +11 -3
  129. package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts.map +1 -1
  130. package/esm/src/react/components/chat/chat/composition/chat-message-list.js +81 -111
  131. package/esm/src/react/components/chat/chat/composition/chat-root.d.ts +4 -0
  132. package/esm/src/react/components/chat/chat/composition/chat-root.d.ts.map +1 -1
  133. package/esm/src/react/components/chat/chat/composition/chat-root.js +3 -1
  134. package/esm/src/react/components/chat/chat/composition/error-banner.d.ts +4 -0
  135. package/esm/src/react/components/chat/chat/composition/error-banner.d.ts.map +1 -1
  136. package/esm/src/react/components/chat/chat/composition/error-banner.js +10 -7
  137. package/esm/src/react/components/chat/chat/composition/message.d.ts +123 -5
  138. package/esm/src/react/components/chat/chat/composition/message.d.ts.map +1 -1
  139. package/esm/src/react/components/chat/chat/composition/message.js +332 -53
  140. package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts +6 -1
  141. package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts.map +1 -1
  142. package/esm/src/react/components/chat/chat/composition/model-avatar.js +3 -4
  143. package/esm/src/react/components/chat/chat/composition/pending-message.d.ts +31 -0
  144. package/esm/src/react/components/chat/chat/composition/pending-message.d.ts.map +1 -0
  145. package/esm/src/react/components/chat/chat/composition/pending-message.js +31 -0
  146. package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +4 -0
  147. package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
  148. package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts +1 -0
  149. package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts.map +1 -1
  150. package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts +29 -0
  151. package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts.map +1 -0
  152. package/esm/src/react/components/chat/chat/contexts/conversations-context.js +39 -0
  153. package/esm/src/react/components/chat/chat/contexts/index.d.ts +1 -1
  154. package/esm/src/react/components/chat/chat/contexts/index.d.ts.map +1 -1
  155. package/esm/src/react/components/chat/chat/contexts/index.js +1 -1
  156. package/esm/src/react/components/chat/chat/contexts/message-context.d.ts +2 -0
  157. package/esm/src/react/components/chat/chat/contexts/message-context.d.ts.map +1 -1
  158. package/esm/src/react/components/chat/chat/hooks/use-clipboard.d.ts +10 -0
  159. package/esm/src/react/components/chat/chat/hooks/use-clipboard.d.ts.map +1 -0
  160. package/esm/src/react/components/chat/chat/hooks/use-clipboard.js +34 -0
  161. package/esm/src/react/components/chat/chat/hooks/use-conversation.d.ts +21 -0
  162. package/esm/src/react/components/chat/chat/hooks/use-conversation.d.ts.map +1 -0
  163. package/esm/src/react/components/chat/chat/hooks/use-conversation.js +54 -0
  164. package/esm/src/react/components/chat/chat/hooks/use-conversations.d.ts +67 -0
  165. package/esm/src/react/components/chat/chat/hooks/use-conversations.d.ts.map +1 -0
  166. package/esm/src/react/components/chat/chat/hooks/use-conversations.js +317 -0
  167. package/esm/src/react/components/chat/chat/hooks/use-drop-zone.d.ts +27 -0
  168. package/esm/src/react/components/chat/chat/hooks/use-drop-zone.d.ts.map +1 -0
  169. package/esm/src/react/components/chat/chat/hooks/use-drop-zone.js +50 -0
  170. package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.d.ts +49 -0
  171. package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.d.ts.map +1 -0
  172. package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.js +120 -0
  173. package/esm/src/react/components/chat/chat/hooks/use-upload.d.ts +34 -0
  174. package/esm/src/react/components/chat/chat/hooks/use-upload.d.ts.map +1 -0
  175. package/esm/src/react/components/chat/chat/hooks/use-upload.js +147 -0
  176. package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.d.ts +37 -0
  177. package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.d.ts.map +1 -0
  178. package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.js +178 -0
  179. package/esm/src/react/components/chat/chat/index.d.ts +171 -31
  180. package/esm/src/react/components/chat/chat/index.d.ts.map +1 -1
  181. package/esm/src/react/components/chat/chat/index.js +371 -77
  182. package/esm/src/react/components/chat/chat/persistence/conversation-store.d.ts +63 -0
  183. package/esm/src/react/components/chat/chat/persistence/conversation-store.d.ts.map +1 -0
  184. package/esm/src/react/components/chat/chat/persistence/conversation-store.js +1 -0
  185. package/esm/src/react/components/chat/chat/persistence/local-conversation-store.d.ts +13 -0
  186. package/esm/src/react/components/chat/chat/persistence/local-conversation-store.d.ts.map +1 -0
  187. package/esm/src/react/components/chat/chat/persistence/local-conversation-store.js +102 -0
  188. package/esm/src/react/components/chat/chat/persistence/memory-conversation-store.d.ts +11 -0
  189. package/esm/src/react/components/chat/chat/persistence/memory-conversation-store.d.ts.map +1 -0
  190. package/esm/src/react/components/chat/chat/persistence/memory-conversation-store.js +33 -0
  191. package/esm/src/react/components/chat/chat/utils/message-parts.d.ts +4 -1
  192. package/esm/src/react/components/chat/chat/utils/message-parts.d.ts.map +1 -1
  193. package/esm/src/react/components/chat/chat/utils/message-parts.js +4 -0
  194. package/esm/src/react/components/chat/chat-actions.d.ts +164 -0
  195. package/esm/src/react/components/chat/chat-actions.d.ts.map +1 -0
  196. package/esm/src/react/components/chat/chat-actions.js +191 -0
  197. package/esm/src/react/components/chat/chat-agent-picker.d.ts +50 -0
  198. package/esm/src/react/components/chat/chat-agent-picker.d.ts.map +1 -0
  199. package/esm/src/react/components/chat/chat-agent-picker.js +40 -0
  200. package/esm/src/react/components/chat/chat-theme-scope.d.ts +26 -0
  201. package/esm/src/react/components/chat/chat-theme-scope.d.ts.map +1 -0
  202. package/esm/src/react/components/chat/chat-theme-scope.js +27 -0
  203. package/esm/src/react/components/chat/chat-tokens-style.d.ts +21 -0
  204. package/esm/src/react/components/chat/chat-tokens-style.d.ts.map +1 -0
  205. package/esm/src/react/components/chat/chat-tokens-style.js +24 -0
  206. package/esm/src/react/components/chat/chat.d.ts +5 -5
  207. package/esm/src/react/components/chat/chat.d.ts.map +1 -1
  208. package/esm/src/react/components/chat/chat.js +5 -5
  209. package/esm/src/react/components/chat/color-mode.d.ts +46 -0
  210. package/esm/src/react/components/chat/color-mode.d.ts.map +1 -0
  211. package/esm/src/react/components/chat/color-mode.js +123 -0
  212. package/esm/src/react/components/chat/error-boundary.js +2 -2
  213. package/esm/src/react/components/chat/icons/index.d.ts +8 -0
  214. package/esm/src/react/components/chat/icons/index.d.ts.map +1 -1
  215. package/esm/src/react/components/chat/icons/index.js +64 -0
  216. package/esm/src/react/components/chat/markdown.d.ts +24 -1
  217. package/esm/src/react/components/chat/markdown.d.ts.map +1 -1
  218. package/esm/src/react/components/chat/markdown.js +122 -38
  219. package/esm/src/react/components/chat/model-selector.d.ts +130 -8
  220. package/esm/src/react/components/chat/model-selector.d.ts.map +1 -1
  221. package/esm/src/react/components/chat/model-selector.js +148 -121
  222. package/esm/src/react/components/chat/theme.d.ts +9 -12
  223. package/esm/src/react/components/chat/theme.d.ts.map +1 -1
  224. package/esm/src/react/components/chat/theme.js +149 -93
  225. package/esm/src/react/components/chat/ui/alert.d.ts +30 -0
  226. package/esm/src/react/components/chat/ui/alert.d.ts.map +1 -0
  227. package/esm/src/react/components/chat/ui/alert.js +35 -0
  228. package/esm/src/react/components/chat/ui/app-shell.d.ts +155 -0
  229. package/esm/src/react/components/chat/ui/app-shell.d.ts.map +1 -0
  230. package/esm/src/react/components/chat/ui/app-shell.js +276 -0
  231. package/esm/src/react/components/chat/ui/avatar.d.ts +24 -0
  232. package/esm/src/react/components/chat/ui/avatar.d.ts.map +1 -0
  233. package/esm/src/react/components/chat/ui/avatar.js +44 -0
  234. package/esm/src/react/components/chat/ui/badge.d.ts +24 -0
  235. package/esm/src/react/components/chat/ui/badge.d.ts.map +1 -0
  236. package/esm/src/react/components/chat/ui/badge.js +30 -0
  237. package/esm/src/react/components/chat/ui/button.d.ts +44 -0
  238. package/esm/src/react/components/chat/ui/button.d.ts.map +1 -0
  239. package/esm/src/react/components/chat/ui/button.js +108 -0
  240. package/esm/src/react/components/chat/ui/card.d.ts +42 -0
  241. package/esm/src/react/components/chat/ui/card.d.ts.map +1 -0
  242. package/esm/src/react/components/chat/ui/card.js +55 -0
  243. package/esm/src/react/components/chat/ui/checkbox.d.ts +28 -0
  244. package/esm/src/react/components/chat/ui/checkbox.d.ts.map +1 -0
  245. package/esm/src/react/components/chat/ui/checkbox.js +36 -0
  246. package/esm/src/react/components/chat/ui/code-block.d.ts +89 -0
  247. package/esm/src/react/components/chat/ui/code-block.d.ts.map +1 -0
  248. package/esm/src/react/components/chat/ui/code-block.js +277 -0
  249. package/esm/src/react/components/chat/ui/collapsible.d.ts +30 -0
  250. package/esm/src/react/components/chat/ui/collapsible.d.ts.map +1 -0
  251. package/esm/src/react/components/chat/ui/collapsible.js +44 -0
  252. package/esm/src/react/components/chat/ui/command.d.ts +65 -0
  253. package/esm/src/react/components/chat/ui/command.d.ts.map +1 -0
  254. package/esm/src/react/components/chat/ui/command.js +121 -0
  255. package/esm/src/react/components/chat/ui/cva.d.ts +36 -0
  256. package/esm/src/react/components/chat/ui/cva.d.ts.map +1 -0
  257. package/esm/src/react/components/chat/ui/cva.js +45 -0
  258. package/esm/src/react/components/chat/ui/dialog.d.ts +55 -0
  259. package/esm/src/react/components/chat/ui/dialog.d.ts.map +1 -0
  260. package/esm/src/react/components/chat/ui/dialog.js +116 -0
  261. package/esm/src/react/components/chat/ui/drawer.d.ts +41 -0
  262. package/esm/src/react/components/chat/ui/drawer.d.ts.map +1 -0
  263. package/esm/src/react/components/chat/ui/drawer.js +92 -0
  264. package/esm/src/react/components/chat/ui/dropdown-menu.d.ts +63 -0
  265. package/esm/src/react/components/chat/ui/dropdown-menu.d.ts.map +1 -0
  266. package/esm/src/react/components/chat/ui/dropdown-menu.js +76 -0
  267. package/esm/src/react/components/chat/ui/file-type.d.ts +26 -0
  268. package/esm/src/react/components/chat/ui/file-type.d.ts.map +1 -0
  269. package/esm/src/react/components/chat/ui/file-type.js +235 -0
  270. package/esm/src/react/components/chat/ui/floating.d.ts +29 -0
  271. package/esm/src/react/components/chat/ui/floating.d.ts.map +1 -0
  272. package/esm/src/react/components/chat/ui/floating.js +90 -0
  273. package/esm/src/react/components/chat/ui/icon-button.d.ts +19 -0
  274. package/esm/src/react/components/chat/ui/icon-button.d.ts.map +1 -0
  275. package/esm/src/react/components/chat/ui/icon-button.js +20 -0
  276. package/esm/src/react/components/chat/ui/index.d.ts +43 -0
  277. package/esm/src/react/components/chat/ui/index.d.ts.map +1 -0
  278. package/esm/src/react/components/chat/ui/index.js +42 -0
  279. package/esm/src/react/components/chat/ui/input.d.ts +27 -0
  280. package/esm/src/react/components/chat/ui/input.d.ts.map +1 -0
  281. package/esm/src/react/components/chat/ui/input.js +41 -0
  282. package/esm/src/react/components/chat/ui/label.d.ts +29 -0
  283. package/esm/src/react/components/chat/ui/label.d.ts.map +1 -0
  284. package/esm/src/react/components/chat/ui/label.js +40 -0
  285. package/esm/src/react/components/chat/ui/list.d.ts +47 -0
  286. package/esm/src/react/components/chat/ui/list.d.ts.map +1 -0
  287. package/esm/src/react/components/chat/ui/list.js +40 -0
  288. package/esm/src/react/components/chat/ui/pill.d.ts +26 -0
  289. package/esm/src/react/components/chat/ui/pill.d.ts.map +1 -0
  290. package/esm/src/react/components/chat/ui/pill.js +39 -0
  291. package/esm/src/react/components/chat/ui/popover.d.ts +47 -0
  292. package/esm/src/react/components/chat/ui/popover.d.ts.map +1 -0
  293. package/esm/src/react/components/chat/ui/popover.js +68 -0
  294. package/esm/src/react/components/chat/ui/progress-bar.d.ts +20 -0
  295. package/esm/src/react/components/chat/ui/progress-bar.d.ts.map +1 -0
  296. package/esm/src/react/components/chat/ui/progress-bar.js +31 -0
  297. package/esm/src/react/components/chat/ui/radio.d.ts +25 -0
  298. package/esm/src/react/components/chat/ui/radio.d.ts.map +1 -0
  299. package/esm/src/react/components/chat/ui/radio.js +29 -0
  300. package/esm/src/react/components/chat/ui/scroll-fade.d.ts +23 -0
  301. package/esm/src/react/components/chat/ui/scroll-fade.d.ts.map +1 -0
  302. package/esm/src/react/components/chat/ui/scroll-fade.js +40 -0
  303. package/esm/src/react/components/chat/ui/select.d.ts +64 -0
  304. package/esm/src/react/components/chat/ui/select.d.ts.map +1 -0
  305. package/esm/src/react/components/chat/ui/select.js +148 -0
  306. package/esm/src/react/components/chat/ui/shimmer.d.ts +25 -0
  307. package/esm/src/react/components/chat/ui/shimmer.d.ts.map +1 -0
  308. package/esm/src/react/components/chat/ui/shimmer.js +24 -0
  309. package/esm/src/react/components/chat/ui/skeleton.d.ts +14 -0
  310. package/esm/src/react/components/chat/ui/skeleton.d.ts.map +1 -0
  311. package/esm/src/react/components/chat/ui/skeleton.js +12 -0
  312. package/esm/src/react/components/chat/ui/slot.d.ts +21 -0
  313. package/esm/src/react/components/chat/ui/slot.d.ts.map +1 -0
  314. package/esm/src/react/components/chat/ui/slot.js +70 -0
  315. package/esm/src/react/components/chat/ui/status.d.ts +28 -0
  316. package/esm/src/react/components/chat/ui/status.d.ts.map +1 -0
  317. package/esm/src/react/components/chat/ui/status.js +23 -0
  318. package/esm/src/react/components/chat/ui/switch.d.ts +34 -0
  319. package/esm/src/react/components/chat/ui/switch.d.ts.map +1 -0
  320. package/esm/src/react/components/chat/ui/switch.js +58 -0
  321. package/esm/src/react/components/chat/ui/tabs.d.ts +44 -0
  322. package/esm/src/react/components/chat/ui/tabs.d.ts.map +1 -0
  323. package/esm/src/react/components/chat/ui/tabs.js +51 -0
  324. package/esm/src/react/components/chat/ui/tag.d.ts +22 -0
  325. package/esm/src/react/components/chat/ui/tag.d.ts.map +1 -0
  326. package/esm/src/react/components/chat/ui/tag.js +27 -0
  327. package/esm/src/react/components/chat/ui/textarea.d.ts +22 -0
  328. package/esm/src/react/components/chat/ui/textarea.d.ts.map +1 -0
  329. package/esm/src/react/components/chat/ui/textarea.js +35 -0
  330. package/esm/src/react/components/chat/ui/tooltip.d.ts +40 -0
  331. package/esm/src/react/components/chat/ui/tooltip.d.ts.map +1 -0
  332. package/esm/src/react/components/chat/ui/tooltip.js +132 -0
  333. package/esm/src/react/primitives/input-box.d.ts.map +1 -1
  334. package/esm/src/react/primitives/input-box.js +17 -4
  335. package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
  336. package/esm/src/server/handlers/dev/framework-candidates.generated.js +9437 -1064
  337. package/esm/src/server/handlers/dev/projects/html-shell.d.ts +1 -1
  338. package/esm/src/server/handlers/dev/projects/html-shell.d.ts.map +1 -1
  339. package/esm/src/server/handlers/dev/projects/html-shell.js +1 -12
  340. package/esm/src/server/handlers/request/public-agents-list.handler.d.ts +18 -0
  341. package/esm/src/server/handlers/request/public-agents-list.handler.d.ts.map +1 -0
  342. package/esm/src/server/handlers/request/public-agents-list.handler.js +44 -0
  343. package/esm/src/server/runtime-handler/index.d.ts +1 -1
  344. package/esm/src/server/runtime-handler/index.d.ts.map +1 -1
  345. package/esm/src/server/runtime-handler/index.js +3 -0
  346. package/esm/src/studio/bridge/bridge-bundle.generated.d.ts +1 -1
  347. package/esm/src/studio/bridge/bridge-bundle.generated.d.ts.map +1 -1
  348. package/esm/src/studio/bridge/bridge-bundle.generated.js +3 -2
  349. package/esm/src/utils/version-constant.d.ts +1 -1
  350. package/esm/src/utils/version-constant.js +1 -1
  351. package/esm/src/workflow/blob/local-storage.d.ts +32 -0
  352. package/esm/src/workflow/blob/local-storage.d.ts.map +1 -0
  353. package/esm/src/workflow/blob/local-storage.js +179 -0
  354. package/esm/src/workflow/blob/types.d.ts +5 -0
  355. package/esm/src/workflow/blob/types.d.ts.map +1 -1
  356. package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts +11 -0
  357. package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts.map +1 -1
  358. package/esm/src/workflow/blob/veryfront-cloud-storage.js +36 -0
  359. package/package.json +5 -1
  360. package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts +0 -20
  361. package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts.map +0 -1
  362. package/esm/src/react/components/chat/chat/components/uploads-panel.js +0 -49
  363. package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts +0 -28
  364. package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts.map +0 -1
  365. package/esm/src/react/components/chat/chat/contexts/thread-list-context.js +0 -27
  366. package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts +0 -28
  367. package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts.map +0 -1
  368. package/esm/src/react/components/chat/chat/hooks/use-threads.js +0 -151
  369. package/esm/src/react/components/chat/chat-with-sidebar.d.ts +0 -110
  370. package/esm/src/react/components/chat/chat-with-sidebar.d.ts.map +0 -1
  371. package/esm/src/react/components/chat/chat-with-sidebar.js +0 -167
  372. package/esm/src/react/components/chat/message.d.ts +0 -42
  373. package/esm/src/react/components/chat/message.d.ts.map +0 -1
  374. package/esm/src/react/components/chat/message.js +0 -69
@@ -10,23 +10,21 @@
10
10
  *
11
11
  * export default function Page() {
12
12
  * const chat = useChat();
13
- * return (
14
- * <Chat
15
- * messages={chat.messages}
16
- * input={chat.input}
17
- * onChange={chat.handleInputChange}
18
- * onSubmit={chat.handleSubmit}
19
- * />
20
- * );
13
+ * return <Chat chat={chat} />;
21
14
  * }
22
15
  * ```
23
16
  *
17
+ * @example App mode (black box — no wiring)
18
+ * ```tsx
19
+ * <Chat agentId="support" api="/api/ag-ui" />
20
+ * ```
21
+ *
24
22
  * @example Custom layout (composition)
25
23
  * ```tsx
26
24
  * <Chat.Root messages={messages} input={input}>
27
25
  * <Chat.Empty title="Ask anything" />
28
26
  * <Chat.MessageList messages={messages} />
29
- * <Chat.Composer input={input} onChange={onChange} />
27
+ * <Chat.Input input={input} onChange={onChange} />
30
28
  * </Chat.Root>
31
29
  * ```
32
30
  *
@@ -44,117 +42,259 @@
44
42
  * @module react/components/chat
45
43
  */
46
44
  import * as React from "../../../../../react/react.js";
47
- import type { BranchInfo, ChatDynamicToolPart, ChatMessage, ChatToolPart, InferenceMode } from "../../../../agent/react/index.js";
45
+ import type { BranchInfo, ChatDynamicToolPart, ChatFilePart, ChatMessage, ChatToolPart, InferenceMode, UseChatResult } from "../../../../agent/react/index.js";
48
46
  import { type ChatTheme } from "../theme.js";
49
47
  import type { ModelOption } from "../model-selector.js";
50
48
  import type { Source } from "./components/sources.js";
51
49
  import type { AttachmentInfo } from "./components/attachment-pill.js";
52
50
  import type { FeedbackValue } from "./components/message-feedback.js";
53
51
  import type { ChatTab } from "./components/tab-switcher.js";
54
- import type { UploadedFile } from "./components/uploads-panel.js";
52
+ import type { UploadedFile } from "./components/attachments-panel.js";
55
53
  import type { QuickAction } from "./components/quick-actions.js";
56
54
  import { ChatRoot } from "./composition/chat-root.js";
57
- import { ChatComposer } from "./composition/chat-composer.js";
55
+ import { ChatInput } from "./composition/chat-composer.js";
58
56
  import { ChatMessageList } from "./composition/chat-message-list.js";
59
57
  import { ChatEmpty } from "./composition/chat-empty.js";
60
58
  import { ChatIf } from "./composition/chat-if.js";
61
59
  import { ErrorBanner } from "./composition/error-banner.js";
62
60
  import { Message } from "./composition/message.js";
61
+ import { ChatMessagesSkeleton } from "./components/chat-messages-skeleton.js";
63
62
  export { FadeIn, Loader, Shimmer } from "./components/animations.js";
64
- export { ReasoningCard } from "./components/reasoning.js";
63
+ export { Reasoning, ReasoningCard, type ReasoningContextValue, type ReasoningProps, type ReasoningTriggerProps, useReasoning, } from "./components/reasoning.js";
65
64
  export { ConversationEmptyState, type ConversationEmptyStateProps, ConversationScrollButton, type ConversationScrollButtonProps, Suggestion, type SuggestionProps, Suggestions, type SuggestionsProps, } from "./components/empty-state.js";
66
- export { MessageActions, type MessageActionsProps } from "./components/message-actions.js";
65
+ export { MessageActionBar, type MessageActionBarProps } from "./components/message-actions.js";
67
66
  export { MessageEditForm, type MessageEditFormProps } from "./components/message-edit-form.js";
68
67
  export { BranchPicker, type BranchPickerProps } from "./components/branch-picker.js";
69
68
  export { DropZoneOverlay, type DropZoneOverlayProps } from "./components/drop-zone.js";
69
+ export { ChatMessagesSkeleton, type ChatMessagesSkeletonProps, } from "./components/chat-messages-skeleton.js";
70
70
  export { SkillBadge, type SkillBadgeProps } from "./components/skill-badge.js";
71
- export { ToolCallCard, ToolStatusBadge } from "./components/tool-ui.js";
71
+ export { ToolCall, ToolCallCard, type ToolCallContextValue, type ToolCallProps, type ToolCallTriggerProps, ToolStatusBadge, useToolCall, } from "./components/tool-ui.js";
72
72
  export { InferenceBadge, type InferenceBadgeProps } from "./components/inference-badge.js";
73
- export { type Source, Sources, type SourcesProps } from "./components/sources.js";
73
+ export { type Source, SourcePill, type SourcePillProps, Sources, type SourcesContextValue, type SourcesListProps, type SourcesProps, useSources, } from "./components/sources.js";
74
74
  export { InlineCitation, type InlineCitationProps } from "./components/inline-citation.js";
75
75
  export { type FeedbackValue, MessageFeedback, type MessageFeedbackProps, } from "./components/message-feedback.js";
76
- export { type AttachmentInfo, AttachmentPill, type AttachmentPillProps, } from "./components/attachment-pill.js";
76
+ export { type AttachmentInfo, AttachmentPill, type AttachmentPillContextValue, type AttachmentPillProps, useAttachmentPill, } from "./components/attachment-pill.js";
77
77
  export { type CodeBlockProps, RichCodeBlock } from "./components/code-block.js";
78
- export { StepIndicator, type StepIndicatorProps } from "./components/step-indicator.js";
79
- export { ChatSidebar, type ChatSidebarProps } from "./components/sidebar.js";
78
+ export { StepIndicator, type StepIndicatorContextValue, type StepIndicatorProps, useStepIndicator, } from "./components/step-indicator.js";
79
+ export { ChatSidebar, type ChatSidebarComponent, type ChatSidebarEmptyProps, type ChatSidebarGroupProps, type ChatSidebarIcons, type ChatSidebarItemProps, type ChatSidebarItemRenderOptions, type ChatSidebarListProps, type ChatSidebarNewButtonProps, type ChatSidebarProps, type ChatSidebarRootProps, } from "./components/sidebar.js";
80
80
  export { type ChatTab, TabSwitcher, type TabSwitcherProps } from "./components/tab-switcher.js";
81
81
  export { type QuickAction, QuickActions, type QuickActionsProps, } from "./components/quick-actions.js";
82
- export { type UploadedFile, UploadsPanel, type UploadsPanelProps, } from "./components/uploads-panel.js";
83
- export { type Thread, useThreads, type UseThreadsOptions, type UseThreadsResult, } from "./hooks/use-threads.js";
82
+ export { AttachmentsPanel, type AttachmentsPanelActionProps, type AttachmentsPanelContextValue, type AttachmentsPanelEmptyProps, type AttachmentsPanelHeaderProps, type AttachmentsPanelItemProps, type AttachmentsPanelListProps, type AttachmentsPanelLoadingProps, type AttachmentsPanelProps, type UploadedFile, useAttachmentsPanel, } from "./components/attachments-panel.js";
83
+ export { type ConversationPatch, useConversations, type UseConversationsOptions, type UseConversationsResult, } from "./hooks/use-conversations.js";
84
+ export { useConversation, type UseConversationOptions, type UseConversationResult, } from "./hooks/use-conversation.js";
85
+ export { ConversationsContextProvider, ConversationsProvider, type ConversationsProviderProps, useConversationsContext, useConversationsContextOptional, } from "./contexts/conversations-context.js";
86
+ import type { Conversation } from "./persistence/conversation-store.js";
87
+ export { type Conversation, type ConversationStore, type ConversationSummary, } from "./persistence/conversation-store.js";
88
+ export { localConversationStore, type StorageLike, } from "./persistence/local-conversation-store.js";
89
+ export { memoryConversationStore } from "./persistence/memory-conversation-store.js";
90
+ export { useUpload, type UseUploadOptions, type UseUploadResult } from "./hooks/use-upload.js";
91
+ export { useUploadsRegistry, type UseUploadsRegistryOptions, type UseUploadsRegistryResult, } from "./hooks/use-uploads-registry.js";
92
+ export { useStickToBottom, type UseStickToBottomOptions, type UseStickToBottomResult, } from "./hooks/use-stick-to-bottom.js";
84
93
  export { extractSourcesFromParts, getTextContent, groupPartsInOrder, isReasoningPart, isSkillToolPart, isToolPart, type PartGroup, } from "./utils/message-parts.js";
85
94
  export { downloadMarkdown, exportAsMarkdown } from "./utils/export.js";
86
- export { AgentAvatar, type AgentAvatarProps, ChatComposer, type ChatComposerProps, ChatEmpty, type ChatEmptyProps, ChatIf, type ChatIfProps, ChatMessageList, type ChatMessageListProps, ChatRoot, type ChatRootProps, ErrorBanner, type ErrorBannerProps, Message, type MessageRootProps, ModelAvatar, type ModelAvatarProps, } from "./composition/api.js";
87
- export { ChatContextProvider, type ChatContextValue, ComposerContextProvider, type ComposerContextValue, MessageContextProvider, type MessageContextValue, ThreadListContextProvider, type ThreadListContextValue, useChatContext, useChatContextOptional, useComposerContext, useComposerContextOptional, useMessageContext, useMessageContextOptional, useThreadListContext, useThreadListContextOptional, } from "./contexts/index.js";
95
+ export { AgentAvatar, type AgentAvatarProps, ChatEmpty, type ChatEmptyProps, ChatEmptyState, type ChatEmptyStateAvatarProps, type ChatEmptyStateHeadingProps, type ChatEmptyStateRootProps, type ChatEmptyStateSuggestionProps, type ChatEmptyStateSuggestionsProps, ChatIf, type ChatIfProps, ChatInput, type ChatInputProps, ChatMessageList, type ChatMessageListProps, ChatRoot, type ChatRootProps, ErrorBanner, type ErrorBannerProps, Message, type MessageProps, type MessageRootProps, ModelAvatar, type ModelAvatarProps, } from "./composition/api.js";
96
+ export { ChatContextProvider, type ChatContextValue, ComposerContextProvider, type ComposerContextValue, MessageContextProvider, type MessageContextValue, useChatContext, useChatContextOptional, useComposerContext, useComposerContextOptional, useMessageContext, useMessageContextOptional, } from "./contexts/index.js";
97
+ /**
98
+ * Agent identity + agent-driven content for `<Chat>`. Collapses the old
99
+ * `agent` / `models` / suggestion props into one object. In app mode
100
+ * (`agentId`) this is derived from agent metadata automatically; pass it
101
+ * yourself to drive a controlled chat.
102
+ */
103
+ export interface ChatAgentInfo {
104
+ /** Assistant display name for message headers + the idle hero. */
105
+ name?: string;
106
+ /** Assistant avatar. */
107
+ avatarUrl?: string;
108
+ /** Blurb under the name in the idle hero. */
109
+ description?: string;
110
+ /** Prompt suggestions shown on an empty thread. */
111
+ suggestions?: string[];
112
+ /** Model options for the composer's model selector. */
113
+ models?: ModelOption[];
114
+ }
88
115
  /** Props accepted by chat. */
89
116
  export interface ChatProps {
90
- messages: ChatMessage[];
91
- input: string;
92
- onChange: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
117
+ /** Agent id — fetches avatar/name/suggestions and scopes the request. */
118
+ agentId?: string;
119
+ /** AG-UI endpoint for the self-driven `useChat`. @default "/api/ag-ui" */
120
+ api?: string;
121
+ /** Seed messages for the self-driven thread. */
122
+ initialMessages?: ChatMessage[];
123
+ /** Error callback for the self-driven `useChat`. */
124
+ onError?: (error: Error) => void;
125
+ /**
126
+ * Persistence sink for the live thread (app mode). Fires with the whole
127
+ * updated `conversation` (`{ id, messages, title, updatedAt, … }`) whenever
128
+ * the messages change — point it at your store's `save`.
129
+ *
130
+ * Resolved by presence: an explicit `onUpdate` wins; otherwise a surrounding
131
+ * `ConversationsProvider`'s `save` is used; with neither, the thread is
132
+ * ephemeral. One optional prop, three behaviours — `<Chat>` is sugar over the
133
+ * explicit primitive.
134
+ */
135
+ onUpdate?: (conversation: Conversation) => void;
136
+ /**
137
+ * Drive `<Chat>` from a `useChat()` session you own: `<Chat chat={useChat()}>`.
138
+ * Supersedes spreading the individual `messages`/`input`/`onChange`/… props —
139
+ * pass the whole result object and everything wires up (input, submit,
140
+ * attachments, model, branches).
141
+ */
142
+ chat?: UseChatResult;
143
+ /** @deprecated Pass `chat={useChat()}` instead. */
144
+ messages?: ChatMessage[];
145
+ /** @deprecated Pass `chat={useChat()}` instead. */
146
+ input?: string;
147
+ /** @deprecated Pass `chat={useChat()}` instead. */
148
+ onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
149
+ /** @deprecated Pass `chat={useChat()}` instead. */
93
150
  onSubmit?: (e?: React.FormEvent) => void | Promise<void>;
151
+ /**
152
+ * Send a message (text + optional file parts). `<Chat>` uses this to fold
153
+ * self-managed attachments into the submitted turn.
154
+ * @deprecated Pass `chat={useChat()}` instead.
155
+ */
156
+ sendMessage?: (message: {
157
+ text: string;
158
+ files?: ChatFilePart[];
159
+ }) => void | Promise<void>;
160
+ /** @deprecated Pass `chat={useChat()}` instead. */
94
161
  stop?: () => void;
162
+ /** @deprecated Pass `chat={useChat()}` instead. */
95
163
  reload?: () => void;
164
+ /** @deprecated Pass `chat={useChat()}` instead. */
96
165
  setInput?: (value: string) => void;
166
+ /** @deprecated Pass `chat={useChat()}` instead. */
97
167
  isLoading?: boolean;
168
+ /** @deprecated Pass `chat={useChat()}` instead. */
98
169
  error?: Error | null;
99
170
  placeholder?: string;
100
171
  maxHeight?: string;
101
172
  className?: string;
102
173
  theme?: Partial<ChatTheme>;
103
174
  renderMessage?: (message: ChatMessage) => React.ReactNode;
175
+ /**
176
+ * @deprecated Tool cards render with the built-in `ToolCall` UI. Compose
177
+ * `<Chat.Root>` + a custom `Message` if you need bespoke tool rendering.
178
+ */
104
179
  renderTool?: (tool: ChatToolPart | ChatDynamicToolPart) => React.ReactNode;
180
+ /** Prompt suggestions for an empty thread. Also fillable via `agent.suggestions`. */
105
181
  suggestions?: string[];
106
182
  onSuggestionClick?: (suggestion: string) => void;
183
+ /**
184
+ * Opt-in idle hero for an empty thread (icon + title + optional blurb, plus
185
+ * `suggestions`). When omitted, an empty thread renders as a blank canvas +
186
+ * composer — no "What can I help with?" placeholder. Compose `Chat.Empty`
187
+ * directly for full control.
188
+ */
107
189
  emptyState?: {
108
190
  icon?: React.ReactNode;
109
191
  title?: string;
110
192
  description?: string;
111
193
  };
194
+ /**
195
+ * The thread is still loading its initial history → render the skeleton
196
+ * instead of the idle empty state. In app mode (`agentId`) this is derived
197
+ * automatically while the agent metadata resolves, so the generic
198
+ * "What can I help with?" never flashes before the agent loads. Set it
199
+ * yourself in controlled mode.
200
+ */
201
+ initializing?: boolean;
202
+ /** Override the loading skeleton (defaults to `<Chat.Skeleton />`). */
203
+ skeleton?: React.ReactNode;
204
+ /**
205
+ * Agent identity + agent-driven content (name / avatar / description /
206
+ * suggestions / models). Backs assistant message headers and the idle hero;
207
+ * in app mode (`agentId`) it's filled from agent metadata automatically.
208
+ */
209
+ agent?: ChatAgentInfo;
112
210
  showScrollButton?: boolean;
113
211
  showMessageActions?: boolean;
212
+ /** @deprecated Provide model options via `agent={{ models }}`. */
114
213
  models?: ModelOption[];
214
+ /** @deprecated Part of the session — pass `chat={useChat()}`. */
115
215
  model?: string;
116
- /** The actual resolved model used for avatar display. */
216
+ /**
217
+ * The actual resolved model used for avatar display.
218
+ * @deprecated Part of the session — pass `chat={useChat()}`.
219
+ */
117
220
  activeModel?: string;
221
+ /** @deprecated Part of the session — pass `chat={useChat()}`. */
118
222
  onModelChange?: (model: string) => void;
223
+ /** @deprecated Part of the session — pass `chat={useChat()}`. */
119
224
  inferenceMode?: InferenceMode;
225
+ /** @deprecated Sources render automatically when a message carries them. */
120
226
  showSources?: boolean;
121
227
  onSourceClick?: (source: Source, index: number) => void;
228
+ /**
229
+ * The composer's `+` menu and drag-to-attach are on by default — `<Chat>`
230
+ * keeps the pending files itself unless you wire the attachment props below.
231
+ * Set `false` to hide the attach control entirely.
232
+ */
233
+ enableAttachments?: boolean;
234
+ /**
235
+ * Endpoint that pending files POST to (multipart `file`) → `{ url }`. When
236
+ * omitted, attachments are inlined as base64 `data:` URLs (no backend
237
+ * required); set this to store files durably (e.g. `"/api/uploads"`).
238
+ */
239
+ uploadApi?: string;
122
240
  onAttach?: (files: FileList) => void;
123
241
  onSelectAttachment?: () => void;
124
242
  onDrop?: (files: FileList) => void;
125
243
  attachAccept?: string;
126
244
  attachments?: AttachmentInfo[];
127
245
  onRemoveAttachment?: (id: string) => void;
246
+ /** @deprecated Export is available from the composer by default. */
128
247
  showExport?: boolean;
129
248
  onFeedback?: (messageId: string, feedback: FeedbackValue) => void;
249
+ /** @deprecated Part of the session — pass `chat={useChat()}`. */
130
250
  editMessage?: (messageId: string, newText: string) => Promise<void>;
251
+ /** @deprecated Part of the session — pass `chat={useChat()}`. */
131
252
  getBranches?: (messageId: string) => BranchInfo;
253
+ /** @deprecated Part of the session — pass `chat={useChat()}`. */
132
254
  switchBranch?: (messageId: string, branchIndex: number) => void;
255
+ /** @deprecated Reasoning steps render automatically when present. */
133
256
  showSteps?: boolean;
134
257
  showTabs?: boolean;
135
258
  activeTab?: ChatTab;
136
259
  onTabChange?: (tab: ChatTab) => void;
137
260
  uploads?: UploadedFile[];
138
261
  onRemoveUpload?: (id: string) => void;
262
+ /** @deprecated Removed — use prompt `suggestions` instead. */
139
263
  quickActions?: QuickAction[];
264
+ /** @deprecated Removed — use prompt `suggestions` instead. */
140
265
  onQuickAction?: (action: QuickAction) => void;
141
266
  enableVoice?: boolean;
142
267
  onVoice?: () => void;
268
+ /** Leading composer-toolbar slot (e.g. an `<AgentPicker>`). */
269
+ toolbarStart?: React.ReactNode;
143
270
  /** @internal Hide the built-in TabSwitcher when rendered externally */
144
271
  hideTabSwitcher?: boolean;
145
272
  children?: React.ReactNode;
146
273
  }
147
- /** Render chat. */
148
- export declare const Chat: React.ForwardRefExoticComponent<ChatProps & React.RefAttributes<HTMLDivElement>>;
149
- export type ChatComponentsType = typeof Chat & {
274
+ /**
275
+ * Chat batteries-included chat surface.
276
+ *
277
+ * - **App mode (uncontrolled):** omit `chat`/`messages` and pass `agentId` +
278
+ * `api`; `<Chat>` wires `useChat` + `useAgentMetadata` internally. Inside a
279
+ * `ConversationsProvider` it also binds to the active conversation.
280
+ * - **Controlled mode:** pass `chat={useChat()}` (preferred) or the legacy
281
+ * flat `messages` + `input` props to drive it yourself.
282
+ */
283
+ declare const ChatBase: React.ForwardRefExoticComponent<ChatProps & React.RefAttributes<HTMLDivElement>>;
284
+ export type ChatComponentsType = typeof ChatBase & {
150
285
  Root: typeof ChatRoot;
151
286
  MessageList: typeof ChatMessageList;
152
- Composer: typeof ChatComposer;
287
+ Input: typeof ChatInput;
288
+ /** @deprecated Use `Chat.Input`. */
289
+ Composer: typeof ChatInput;
153
290
  Empty: typeof ChatEmpty;
291
+ Skeleton: typeof ChatMessagesSkeleton;
154
292
  If: typeof ChatIf;
155
293
  Message: typeof Message;
156
294
  ErrorBanner: typeof ErrorBanner;
157
295
  };
158
296
  /** Render chat components. */
297
+ export declare const Chat: ChatComponentsType;
298
+ /** @deprecated Back-compat alias — `Chat` is now the compound itself. */
159
299
  export declare const ChatComponents: ChatComponentsType;
160
300
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/chat/chat/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,KAAK,KAAK,MAAM,+BAA+B,CAAC;AAEvD,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,aAAa,EACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,KAAK,SAAS,EAAiC,MAAM,aAAa,CAAC;AAC5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,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