@lostgradient/cinder 0.14.0 → 0.16.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 (325) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +9 -9
  3. package/components.json +2 -143
  4. package/dist/components/access-gate/index.js +379 -327
  5. package/dist/components/alert-dialog/index.js +170 -172
  6. package/dist/components/confirm-dialog/index.js +170 -172
  7. package/dist/components/drawer/index.js +11 -11
  8. package/dist/components/focus-trap/index.d.ts +1 -0
  9. package/dist/components/focus-trap/index.js +171 -1
  10. package/dist/components/icons/index.d.ts +80 -1
  11. package/dist/components/icons/index.js +1256 -0
  12. package/dist/components/markdown-editor/index.js +170 -170
  13. package/dist/components/modal/index.js +20 -20
  14. package/dist/components/review-editor/index.js +170 -187
  15. package/dist/components/sheet/index.js +11 -11
  16. package/dist/components/sidebar/index.js +37 -37
  17. package/dist/index.d.ts +0 -8
  18. package/dist/index.js +23202 -30164
  19. package/dist/server/components/access-gate/index.js +7 -10
  20. package/dist/server/components/alert-dialog/index.js +4 -4
  21. package/dist/server/components/approval-card/index.js +6 -6
  22. package/dist/server/components/autocomplete/index.js +4 -4
  23. package/dist/server/components/choice-grid/index.js +2 -2
  24. package/dist/server/components/color-field/index.js +2 -2
  25. package/dist/server/components/combobox/index.js +3 -3
  26. package/dist/server/components/command-item/index.js +3 -5
  27. package/dist/server/components/command-menu/index.js +3 -5
  28. package/dist/server/components/confirm-dialog/index.js +4 -4
  29. package/dist/server/components/context-menu/index.js +7 -7
  30. package/dist/server/components/data-table/index.js +3 -3
  31. package/dist/server/components/date-picker/index.js +4 -4
  32. package/dist/server/components/date-range-field/index.js +4 -4
  33. package/dist/server/components/diff-viewer/index.js +9 -11
  34. package/dist/server/components/drawer/index.js +4 -4
  35. package/dist/server/components/dropdown/index.js +7 -7
  36. package/dist/server/components/faceted-filter-bar/index.js +2 -2
  37. package/dist/server/components/focus-trap/index.js +7 -2
  38. package/dist/server/components/icons/index.js +156 -0
  39. package/dist/server/components/inline-loading/index.js +1 -1
  40. package/dist/server/components/json-schema-editor/index.js +11 -13
  41. package/dist/server/components/load-more/index.js +2 -3
  42. package/dist/server/components/markdown-editor/index.js +13 -12
  43. package/dist/server/components/menu-bar/index.js +4 -4
  44. package/dist/server/components/modal/index.js +4 -4
  45. package/dist/server/components/popover/index.js +3 -3
  46. package/dist/server/components/review-editor/index.js +169 -122
  47. package/dist/server/components/schedule-builder/index.js +5 -5
  48. package/dist/server/components/schema-form/index.js +1 -1
  49. package/dist/server/components/segment/index.js +3 -3
  50. package/dist/server/components/segmented-control/index.js +4 -4
  51. package/dist/server/components/selection-popover/index.js +3 -3
  52. package/dist/server/components/sheet/index.js +3 -3
  53. package/dist/server/components/sidebar/index.js +4 -4
  54. package/dist/server/components/table/index.js +3 -3
  55. package/dist/server/components/tag-input/index.js +2 -2
  56. package/dist/server/index.js +272 -316
  57. package/dist/server/{index.server-dwwqssey.js → index.server-0qh3v3nq.js} +1 -1
  58. package/dist/server/index.server-25wmev4e.js +2 -0
  59. package/dist/server/{index.server-zdm63dt8.js → index.server-2c56kqws.js} +107 -25
  60. package/dist/server/{index.server-y4n8vc08.js → index.server-2pc5cv6c.js} +1 -1
  61. package/dist/server/{index.server-1vsv7ngz.js → index.server-3g76h7z7.js} +12 -2
  62. package/dist/server/{index.server-xz99aed4.js → index.server-45n4s30n.js} +12 -12
  63. package/dist/server/{index.server-zzd5wpbw.js → index.server-4dfs3xwn.js} +1 -1
  64. package/dist/server/{index.server-vhyjjx9z.js → index.server-4jkqgp17.js} +7 -9
  65. package/dist/server/{index.server-bmxbsk4y.js → index.server-51sxnete.js} +18 -18
  66. package/dist/server/{index.server-1bwvsnjk.js → index.server-6rv1rfwq.js} +37 -14
  67. package/dist/server/{index.server-np3c7kx0.js → index.server-7798gc22.js} +1 -1
  68. package/dist/server/{index.server-2m1kenak.js → index.server-7kjw6qw5.js} +1 -1
  69. package/dist/server/{index.server-tfftb7hs.js → index.server-7zpzspk6.js} +1 -1
  70. package/dist/server/{index.server-7yvpb6z7.js → index.server-894t97kv.js} +4 -4
  71. package/dist/server/{index.server-47v2fhp4.js → index.server-8b35ekqg.js} +1 -1
  72. package/dist/server/{index.server-j5hn2qds.js → index.server-8nm871y8.js} +80 -30
  73. package/dist/server/{index.server-h0cvwvhy.js → index.server-9drzqktm.js} +1 -1
  74. package/dist/server/{index.server-x9s4m9eg.js → index.server-agsdwg53.js} +1 -1
  75. package/dist/server/{index.server-hpeavvnq.js → index.server-b4gp066a.js} +1 -1
  76. package/dist/server/{index.server-gkazv439.js → index.server-bf7d81b4.js} +7 -7
  77. package/dist/server/{index.server-krqvnt6p.js → index.server-d4ft97bx.js} +4 -2
  78. package/dist/server/{index.server-t1x9h8cb.js → index.server-dg19y3m7.js} +1 -1
  79. package/dist/server/{index.server-jt1twhgk.js → index.server-dq0k0qf6.js} +10 -10
  80. package/dist/server/{index.server-pxq277t5.js → index.server-frb9e55d.js} +1 -1
  81. package/dist/server/{index.server-9kz37z89.js → index.server-g3726bja.js} +1 -1
  82. package/dist/server/index.server-gyzmkrnz.js +2 -0
  83. package/dist/server/{index.server-mr68brd6.js → index.server-jgdtsvz2.js} +1 -1
  84. package/dist/server/{index.server-p56xxef1.js → index.server-m8ya4p7w.js} +1 -1
  85. package/dist/server/{index.server-1nq7z1qw.js → index.server-mda2y5g6.js} +1 -1
  86. package/dist/server/{index.server-jdcq5zza.js → index.server-mehav5vs.js} +7 -7
  87. package/dist/server/{index.server-e89qfamd.js → index.server-mknhgg07.js} +4 -4
  88. package/dist/server/{index.server-j570vb03.js → index.server-mvjzcna5.js} +1 -1
  89. package/dist/server/index.server-n4jxy52q.js +2 -0
  90. package/dist/server/{index.server-h89zk5ev.js → index.server-ne4gzxvz.js} +7 -7
  91. package/dist/server/{index.server-eftvmq3f.js → index.server-pfbzz3x7.js} +1 -1
  92. package/dist/server/{index.server-zrh23kty.js → index.server-pyjzfjfn.js} +1 -1
  93. package/dist/server/{index.server-rga8sc7j.js → index.server-q1d48s9t.js} +40 -36
  94. package/dist/server/{index.server-46cjwcqw.js → index.server-qv0kkre4.js} +5 -5
  95. package/dist/server/{index.server-yhzydqxe.js → index.server-r82zjq88.js} +5 -5
  96. package/dist/server/{index.server-9ykk1kbg.js → index.server-rbd5ys4z.js} +1 -1
  97. package/dist/server/{index.server-tcay903b.js → index.server-tnecnach.js} +4 -4
  98. package/dist/server/{index.server-9ra3xv88.js → index.server-x66zvjfc.js} +9 -9
  99. package/dist/server/{index.server-6sh11ap6.js → index.server-y4kfz0er.js} +1 -1
  100. package/dist/server/{index.server-n82rcv0m.js → index.server-z721a5gp.js} +4 -4
  101. package/dist/server/{index.server-mm1xa3kr.js → index.server-zdhv33ph.js} +51 -20
  102. package/dist/server/{index.server-t3hknp1c.js → index.server-zm04d9eq.js} +4 -4
  103. package/dist/server/{index.server-nx9c2ep1.js → index.server-zncgb7mw.js} +2 -2
  104. package/package.json +14 -135
  105. package/src/components/focus-trap/index.ts +1 -0
  106. package/src/components/icons/index.ts +82 -40
  107. package/src/index.ts +0 -34
  108. package/src/styles/components.css +0 -4
  109. package/dist/components/chat/adapter/chat-adapter.d.ts +0 -123
  110. package/dist/components/chat/adapter/index.d.ts +0 -8
  111. package/dist/components/chat/artifact/artifact-panel.svelte.d.ts +0 -15
  112. package/dist/components/chat/artifact/artifact-viewer.svelte.d.ts +0 -10
  113. package/dist/components/chat/artifact/chat-artifact-layout.svelte.d.ts +0 -23
  114. package/dist/components/chat/artifact/index.d.ts +0 -3
  115. package/dist/components/chat/builders.d.ts +0 -25
  116. package/dist/components/chat/chat.css +0 -16
  117. package/dist/components/chat/chat.css.d.ts +0 -1
  118. package/dist/components/chat/chat.schema.d.ts +0 -3
  119. package/dist/components/chat/chat.schema.js +0 -366
  120. package/dist/components/chat/chat.svelte.d.ts +0 -31
  121. package/dist/components/chat/chat.types.d.ts +0 -268
  122. package/dist/components/chat/chat.variables.d.ts +0 -2
  123. package/dist/components/chat/chat.variables.js +0 -61
  124. package/dist/components/chat/container/chat-events.d.ts +0 -22
  125. package/dist/components/chat/container/chat-history-trigger.svelte.d.ts +0 -15
  126. package/dist/components/chat/container/chat-jump-controls.svelte.d.ts +0 -24
  127. package/dist/components/chat/container/chat-participant-typing.svelte.d.ts +0 -31
  128. package/dist/components/chat/container/chat-search-bar.svelte.d.ts +0 -38
  129. package/dist/components/chat/container/chat-status-announcer.svelte.d.ts +0 -21
  130. package/dist/components/chat/container/chat.svelte.d.ts +0 -17
  131. package/dist/components/chat/container/index.d.ts +0 -12
  132. package/dist/components/chat/container/scroll-utilities.d.ts +0 -119
  133. package/dist/components/chat/container/use-chat-disclosure-state.svelte.d.ts +0 -58
  134. package/dist/components/chat/container/use-chat-keyboard-nav.svelte.d.ts +0 -57
  135. package/dist/components/chat/container/use-chat-message-groups.svelte.d.ts +0 -74
  136. package/dist/components/chat/container/use-chat-read-receipts.svelte.d.ts +0 -51
  137. package/dist/components/chat/container/use-chat-scroll-state.svelte.d.ts +0 -111
  138. package/dist/components/chat/container/use-chat-search.svelte.d.ts +0 -82
  139. package/dist/components/chat/container/use-chat-typing-indicator.svelte.d.ts +0 -76
  140. package/dist/components/chat/container/use-chat-unread-state.svelte.d.ts +0 -80
  141. package/dist/components/chat/container/use-chat-virtualizer.svelte.d.ts +0 -47
  142. package/dist/components/chat/conversation-model.d.ts +0 -16
  143. package/dist/components/chat/export/conversation-export-actions.svelte.d.ts +0 -17
  144. package/dist/components/chat/export/index.d.ts +0 -8
  145. package/dist/components/chat/index.d.ts +0 -23
  146. package/dist/components/chat/index.js +0 -11305
  147. package/dist/components/chat/input/attachment-kind.d.ts +0 -10
  148. package/dist/components/chat/input/chat-attachment-preview.svelte.d.ts +0 -8
  149. package/dist/components/chat/input/chat-attachment-serialization.d.ts +0 -9
  150. package/dist/components/chat/input/chat-attachment.d.ts +0 -11
  151. package/dist/components/chat/input/chat-input.svelte.d.ts +0 -79
  152. package/dist/components/chat/input/index.d.ts +0 -5
  153. package/dist/components/chat/message/chat-date-separator.svelte.d.ts +0 -12
  154. package/dist/components/chat/message/chat-message-parts-renderer.svelte.d.ts +0 -4
  155. package/dist/components/chat/message/chat-message-parts.d.ts +0 -96
  156. package/dist/components/chat/message/chat-message.svelte.d.ts +0 -91
  157. package/dist/components/chat/message/chat-read-receipt.svelte.d.ts +0 -27
  158. package/dist/components/chat/message/image-lightbox.svelte.d.ts +0 -17
  159. package/dist/components/chat/message/index.d.ts +0 -6
  160. package/dist/components/chat/message/markdown-preview.svelte.d.ts +0 -8
  161. package/dist/components/chat/message/message-attachments.svelte.d.ts +0 -17
  162. package/dist/components/chat/message/message-content.svelte.d.ts +0 -18
  163. package/dist/components/chat/message/parts/image-part.svelte.d.ts +0 -17
  164. package/dist/components/chat/message/parts/markdown-part.svelte.d.ts +0 -8
  165. package/dist/components/chat/message/parts/reasoning-part.svelte.d.ts +0 -12
  166. package/dist/components/chat/message/parts/step-part.svelte.d.ts +0 -8
  167. package/dist/components/chat/message/parts/suggestion-part.svelte.d.ts +0 -18
  168. package/dist/components/chat/message/parts/tool-approval-part.svelte.d.ts +0 -12
  169. package/dist/components/chat/message/parts/tool-call-part.svelte.d.ts +0 -12
  170. package/dist/components/chat/message/parts/tool-result-part.svelte.d.ts +0 -8
  171. package/dist/components/chat/message/tool-call-group.svelte.d.ts +0 -15
  172. package/dist/components/chat/message/tool-payload-code.svelte.d.ts +0 -9
  173. package/dist/components/chat/utilities/conversation.d.ts +0 -12
  174. package/dist/components/chat/utilities/index.d.ts +0 -9
  175. package/dist/components/chat/utilities/types.d.ts +0 -262
  176. package/dist/components/chat/utilities/utilities.d.ts +0 -140
  177. package/dist/components/chat-composer-popover/chat-composer-popover-filter.d.ts +0 -11
  178. package/dist/components/chat-composer-popover/chat-composer-popover.css +0 -7
  179. package/dist/components/chat-composer-popover/chat-composer-popover.css.d.ts +0 -1
  180. package/dist/components/chat-composer-popover/chat-composer-popover.schema.d.ts +0 -3
  181. package/dist/components/chat-composer-popover/chat-composer-popover.schema.js +0 -150
  182. package/dist/components/chat-composer-popover/chat-composer-popover.svelte.d.ts +0 -46
  183. package/dist/components/chat-composer-popover/chat-composer-popover.types.d.ts +0 -77
  184. package/dist/components/chat-composer-popover/chat-composer-popover.variables.d.ts +0 -2
  185. package/dist/components/chat-composer-popover/chat-composer-popover.variables.js +0 -61
  186. package/dist/components/chat-composer-popover/index.d.ts +0 -6
  187. package/dist/components/chat-composer-popover/index.js +0 -3285
  188. package/dist/components/chat-conversation-header/chat-conversation-header.css +0 -51
  189. package/dist/components/chat-conversation-header/chat-conversation-header.css.d.ts +0 -1
  190. package/dist/components/chat-conversation-header/chat-conversation-header.schema.d.ts +0 -3
  191. package/dist/components/chat-conversation-header/chat-conversation-header.schema.js +0 -94
  192. package/dist/components/chat-conversation-header/chat-conversation-header.svelte.d.ts +0 -19
  193. package/dist/components/chat-conversation-header/chat-conversation-header.types.d.ts +0 -18
  194. package/dist/components/chat-conversation-header/chat-conversation-header.variables.d.ts +0 -2
  195. package/dist/components/chat-conversation-header/chat-conversation-header.variables.js +0 -61
  196. package/dist/components/chat-conversation-header/index.d.ts +0 -5
  197. package/dist/components/chat-conversation-header/index.js +0 -4278
  198. package/dist/components/chat-conversation-list/chat-conversation-list.css +0 -127
  199. package/dist/components/chat-conversation-list/chat-conversation-list.css.d.ts +0 -1
  200. package/dist/components/chat-conversation-list/chat-conversation-list.schema.d.ts +0 -3
  201. package/dist/components/chat-conversation-list/chat-conversation-list.schema.js +0 -105
  202. package/dist/components/chat-conversation-list/chat-conversation-list.svelte.d.ts +0 -21
  203. package/dist/components/chat-conversation-list/chat-conversation-list.types.d.ts +0 -17
  204. package/dist/components/chat-conversation-list/chat-conversation-list.variables.d.ts +0 -2
  205. package/dist/components/chat-conversation-list/chat-conversation-list.variables.js +0 -61
  206. package/dist/components/chat-conversation-list/conversation-summary.d.ts +0 -30
  207. package/dist/components/chat-conversation-list/index.d.ts +0 -6
  208. package/dist/components/chat-conversation-list/index.js +0 -536
  209. package/dist/server/components/chat/index.js +0 -121
  210. package/dist/server/components/chat-composer-popover/index.js +0 -26
  211. package/dist/server/components/chat-conversation-header/index.js +0 -41
  212. package/dist/server/components/chat-conversation-list/index.js +0 -19
  213. package/dist/server/index.server-2bbwajb2.js +0 -54
  214. package/dist/server/index.server-2hqrv7ca.js +0 -9
  215. package/dist/server/index.server-67qgdypc.js +0 -9
  216. package/dist/server/index.server-6hnfzc7f.js +0 -263
  217. package/dist/server/index.server-8rmtb8vx.js +0 -175
  218. package/dist/server/index.server-a59y47rw.js +0 -59
  219. package/dist/server/index.server-bfkka7x4.js +0 -2
  220. package/dist/server/index.server-f2me5abn.js +0 -4230
  221. package/dist/server/index.server-kb6w1a7c.js +0 -27
  222. package/dist/server/index.server-nphtb2ey.js +0 -76
  223. package/dist/server/index.server-qkfd0qa7.js +0 -2
  224. package/dist/server/index.server-rf67m8v5.js +0 -2
  225. package/dist/server/index.server-rqe5bqgm.js +0 -37
  226. package/dist/server/index.server-xtjjmsyq.js +0 -315
  227. package/dist/server/index.server-yq9evnp4.js +0 -38
  228. package/dist/server/index.server-z1qvwaem.js +0 -74
  229. package/dist/server/index.server-z7hxtqs1.js +0 -83
  230. package/src/components/chat/adapter/chat-adapter.ts +0 -132
  231. package/src/components/chat/adapter/index.ts +0 -15
  232. package/src/components/chat/artifact/artifact-panel.svelte +0 -112
  233. package/src/components/chat/artifact/artifact-viewer.svelte +0 -101
  234. package/src/components/chat/artifact/chat-artifact-layout.svelte +0 -56
  235. package/src/components/chat/artifact/index.ts +0 -3
  236. package/src/components/chat/builders.ts +0 -464
  237. package/src/components/chat/chat.css +0 -16
  238. package/src/components/chat/chat.examples.json +0 -61
  239. package/src/components/chat/chat.schema.json +0 -290
  240. package/src/components/chat/chat.schema.ts +0 -335
  241. package/src/components/chat/chat.svelte +0 -67
  242. package/src/components/chat/chat.types.ts +0 -284
  243. package/src/components/chat/chat.variables.json +0 -1
  244. package/src/components/chat/chat.variables.ts +0 -3
  245. package/src/components/chat/container/chat-events.ts +0 -26
  246. package/src/components/chat/container/chat-history-trigger.svelte +0 -95
  247. package/src/components/chat/container/chat-jump-controls.svelte +0 -191
  248. package/src/components/chat/container/chat-participant-typing.svelte +0 -128
  249. package/src/components/chat/container/chat-search-bar.svelte +0 -219
  250. package/src/components/chat/container/chat-status-announcer.svelte +0 -22
  251. package/src/components/chat/container/chat.svelte +0 -1879
  252. package/src/components/chat/container/index.ts +0 -64
  253. package/src/components/chat/container/scroll-utilities.ts +0 -204
  254. package/src/components/chat/container/use-chat-disclosure-state.svelte.ts +0 -62
  255. package/src/components/chat/container/use-chat-keyboard-nav.svelte.ts +0 -153
  256. package/src/components/chat/container/use-chat-message-groups.svelte.ts +0 -146
  257. package/src/components/chat/container/use-chat-read-receipts.svelte.ts +0 -62
  258. package/src/components/chat/container/use-chat-scroll-state.svelte.ts +0 -292
  259. package/src/components/chat/container/use-chat-search.svelte.ts +0 -116
  260. package/src/components/chat/container/use-chat-typing-indicator.svelte.ts +0 -153
  261. package/src/components/chat/container/use-chat-unread-state.svelte.ts +0 -170
  262. package/src/components/chat/container/use-chat-virtualizer.svelte.ts +0 -260
  263. package/src/components/chat/conversation-model.ts +0 -45
  264. package/src/components/chat/export/conversation-export-actions.svelte +0 -174
  265. package/src/components/chat/export/index.ts +0 -9
  266. package/src/components/chat/index.ts +0 -138
  267. package/src/components/chat/input/attachment-kind.ts +0 -28
  268. package/src/components/chat/input/chat-attachment-preview.svelte +0 -223
  269. package/src/components/chat/input/chat-attachment-serialization.ts +0 -63
  270. package/src/components/chat/input/chat-attachment.ts +0 -12
  271. package/src/components/chat/input/chat-input.svelte +0 -810
  272. package/src/components/chat/input/index.ts +0 -9
  273. package/src/components/chat/message/chat-date-separator.svelte +0 -87
  274. package/src/components/chat/message/chat-message-parts-renderer.svelte +0 -139
  275. package/src/components/chat/message/chat-message-parts.ts +0 -163
  276. package/src/components/chat/message/chat-message.svelte +0 -861
  277. package/src/components/chat/message/chat-read-receipt.svelte +0 -85
  278. package/src/components/chat/message/image-lightbox.svelte +0 -255
  279. package/src/components/chat/message/index.ts +0 -6
  280. package/src/components/chat/message/markdown-preview.svelte +0 -77
  281. package/src/components/chat/message/message-attachments.svelte +0 -178
  282. package/src/components/chat/message/message-content.svelte +0 -132
  283. package/src/components/chat/message/parts/image-part.svelte +0 -11
  284. package/src/components/chat/message/parts/markdown-part.svelte +0 -17
  285. package/src/components/chat/message/parts/reasoning-part.svelte +0 -274
  286. package/src/components/chat/message/parts/step-part.svelte +0 -127
  287. package/src/components/chat/message/parts/suggestion-part.svelte +0 -83
  288. package/src/components/chat/message/parts/tool-approval-part.svelte +0 -298
  289. package/src/components/chat/message/parts/tool-call-part.svelte +0 -19
  290. package/src/components/chat/message/parts/tool-result-part.svelte +0 -65
  291. package/src/components/chat/message/tool-call-group.svelte +0 -274
  292. package/src/components/chat/message/tool-payload-code.svelte +0 -35
  293. package/src/components/chat/utilities/conversation.ts +0 -44
  294. package/src/components/chat/utilities/index.ts +0 -33
  295. package/src/components/chat/utilities/types.ts +0 -288
  296. package/src/components/chat/utilities/utilities.ts +0 -507
  297. package/src/components/chat-composer-popover/chat-composer-popover-filter.ts +0 -68
  298. package/src/components/chat-composer-popover/chat-composer-popover.css +0 -7
  299. package/src/components/chat-composer-popover/chat-composer-popover.examples.json +0 -13
  300. package/src/components/chat-composer-popover/chat-composer-popover.schema.json +0 -90
  301. package/src/components/chat-composer-popover/chat-composer-popover.schema.ts +0 -95
  302. package/src/components/chat-composer-popover/chat-composer-popover.svelte +0 -234
  303. package/src/components/chat-composer-popover/chat-composer-popover.types.ts +0 -88
  304. package/src/components/chat-composer-popover/chat-composer-popover.variables.json +0 -1
  305. package/src/components/chat-composer-popover/chat-composer-popover.variables.ts +0 -3
  306. package/src/components/chat-composer-popover/index.ts +0 -19
  307. package/src/components/chat-conversation-header/chat-conversation-header.css +0 -51
  308. package/src/components/chat-conversation-header/chat-conversation-header.examples.json +0 -13
  309. package/src/components/chat-conversation-header/chat-conversation-header.schema.json +0 -34
  310. package/src/components/chat-conversation-header/chat-conversation-header.schema.ts +0 -38
  311. package/src/components/chat-conversation-header/chat-conversation-header.svelte +0 -49
  312. package/src/components/chat-conversation-header/chat-conversation-header.types.ts +0 -20
  313. package/src/components/chat-conversation-header/chat-conversation-header.variables.json +0 -1
  314. package/src/components/chat-conversation-header/chat-conversation-header.variables.ts +0 -3
  315. package/src/components/chat-conversation-header/index.ts +0 -9
  316. package/src/components/chat-conversation-list/chat-conversation-list.css +0 -127
  317. package/src/components/chat-conversation-list/chat-conversation-list.examples.json +0 -13
  318. package/src/components/chat-conversation-list/chat-conversation-list.schema.json +0 -45
  319. package/src/components/chat-conversation-list/chat-conversation-list.schema.ts +0 -52
  320. package/src/components/chat-conversation-list/chat-conversation-list.svelte +0 -75
  321. package/src/components/chat-conversation-list/chat-conversation-list.types.ts +0 -18
  322. package/src/components/chat-conversation-list/chat-conversation-list.variables.json +0 -1
  323. package/src/components/chat-conversation-list/chat-conversation-list.variables.ts +0 -3
  324. package/src/components/chat-conversation-list/conversation-summary.ts +0 -88
  325. package/src/components/chat-conversation-list/index.ts +0 -11
@@ -1,290 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "type": "object",
4
- "properties": {
5
- "id": {
6
- "type": "string",
7
- "description": "Unique identifier used to scope accessibility attributes across the chat surface."
8
- },
9
- "atBottom": {
10
- "type": "boolean",
11
- "description": "Whether the message viewport is scrolled to the bottom. Bindable; updated automatically as the user scrolls. Default `true`."
12
- },
13
- "unreadCount": {
14
- "type": "number",
15
- "description": "Number of messages received while the viewport was scrolled away from the bottom. Bindable; resets to `0` when the user scrolls to the bottom. Default `0`."
16
- },
17
- "newMessageIndicatorVisible": {
18
- "type": "boolean",
19
- "description": "Whether the \"new messages\" indicator is currently visible above the composer. Bindable; cleared automatically when the viewport reaches the bottom. Default `false`."
20
- },
21
- "class": {
22
- "type": "string",
23
- "description": "Additional class name merged onto the `.chat-container` root element."
24
- },
25
- "surfaceMode": {
26
- "enum": ["default", "transparent"],
27
- "description": "Controls the background of the chat surface. Use `'transparent'` to inherit the host element's background when embedding chat inside a card or panel. Default `'default'`."
28
- },
29
- "density": {
30
- "enum": ["comfortable", "compact"],
31
- "description": "Controls spacing density of the message timeline.\n- `'comfortable'` (default): standard padding and gap.\n- `'compact'`: tighter spacing for data-dense contexts (e.g., embedded panels).\n Action buttons keep `min-height: var(--cinder-touch-target-min)` regardless."
32
- },
33
- "variant": {
34
- "enum": ["bubble", "flat"],
35
- "description": "Visual treatment for message bubbles.\n- `'bubble'` (default): colored backgrounds differentiate user from assistant.\n- `'flat'`: no bubble backgrounds; role is communicated via alignment and role label.\n Text-on-surface contrast meets WCAG AA via `--cinder-text` on `--cinder-surface-inset`."
36
- },
37
- "bottomThreshold": {
38
- "type": "number",
39
- "description": "Distance in pixels from the bottom of the scroll viewport within which the chat is considered \"at bottom\" and will auto-scroll on new messages. Default `150`."
40
- },
41
- "jumpThreshold": {
42
- "type": "number",
43
- "description": "Distance in pixels scrolled up from the bottom required before the jump-to-latest button appears. Must be greater than `bottomThreshold` to prevent button flickering. Default `200`."
44
- },
45
- "streaming": {
46
- "type": "boolean",
47
- "description": "Whether a streaming response is currently in progress. When `true`, the composer is disabled and a stop-generating button is shown. Default `false`."
48
- },
49
- "streamingStatus": {
50
- "type": "string",
51
- "description": "Optional status label displayed in the typing indicator while `streaming` is `true` and no streaming content has arrived yet (e.g. `\"Thinking…\"` or `\"Analyzing file…\"`). When omitted, three animated dots are shown."
52
- },
53
- "composerRole": {
54
- "type": "string",
55
- "description": "Explicit role for the composer textarea, for overlay patterns such as ARIA comboboxes."
56
- },
57
- "composerAriaExpanded": {
58
- "enum": [false, true, "true", "false"],
59
- "description": "`aria-expanded` passed to the composer textarea for overlays such as slash-command menus."
60
- },
61
- "composerAriaControls": {
62
- "type": "string",
63
- "description": "`aria-controls` passed to the composer textarea for overlays such as slash-command menus."
64
- },
65
- "composerAriaActiveDescendant": {
66
- "type": "string",
67
- "description": "`aria-activedescendant` passed to the composer textarea for overlays such as slash-command menus."
68
- },
69
- "composerAriaAutocomplete": {
70
- "enum": ["none", "inline", "list", "both"],
71
- "description": "`aria-autocomplete` passed to the composer textarea for overlays such as slash-command menus."
72
- },
73
- "virtualized": {
74
- "type": "boolean",
75
- "description": "Use the virtualized message render path for long transcripts. The complete `ConversationHistory` remains unchanged; only the DOM window is reduced. Default `false`."
76
- },
77
- "virtualizationEstimatedRowHeight": {
78
- "type": "number",
79
- "description": "Estimated row height in pixels for virtualized message rows. Default `88`."
80
- },
81
- "virtualizationOverscan": {
82
- "type": "number",
83
- "description": "Number of extra virtual rows rendered before and after the viewport. Default `3`."
84
- },
85
- "virtualizationInitialHeight": {
86
- "type": "number",
87
- "description": "Initial virtualized viewport height used before measurement. Default `640`."
88
- },
89
- "moreHistoryAvailable": {
90
- "type": "boolean",
91
- "description": "Whether the explicit \"Load earlier messages\" trigger is shown when a load handler exists. Default `true`."
92
- },
93
- "loadEarlierLabel": {
94
- "type": "string",
95
- "description": "Label for the history pagination trigger. Default `\"Load earlier messages\"`."
96
- },
97
- "loadingEarlierLabel": {
98
- "type": "string",
99
- "description": "Status text while older messages are loading. Default `\"Loading earlier messages\"`."
100
- },
101
- "emptyPrompts": {
102
- "type": "array",
103
- "items": {
104
- "type": "string"
105
- },
106
- "description": "List of suggested starter prompt strings shown as clickable buttons in the default empty state. Clicking a prompt submits it immediately as a user message. Has no effect when a custom `empty` snippet is provided."
107
- }
108
- },
109
- "additionalProperties": false,
110
- "required": ["id"],
111
- "metadata": {
112
- "unsupportedProps": [
113
- {
114
- "name": "adapter",
115
- "reason": "unknown-shape",
116
- "description": "Optional command/transport boundary around `conversation`. Its methods take\nprecedence over the matching callback props (e.g. `sendMessage` over\n`onsubmit`); omit it and Chat behaves exactly as with plain callbacks."
117
- },
118
- {
119
- "name": "capabilities",
120
- "reason": "unknown-shape",
121
- "description": "Feature-capability flags. Pass a `ChatCapabilities` object to enable or disable\nindividual Chat features (attachments, search, copy, editing, retry) as a group\nrather than as five separate boolean props."
122
- },
123
- {
124
- "name": "conversation",
125
- "reason": "unknown-shape",
126
- "required": true,
127
- "description": "The conversation transcript to render. Pass a {@link ConversationHistory}\nsnapshot; consumers holding a stateful conversation object pass its current\nsnapshot (e.g. `conversation.current`)."
128
- },
129
- {
130
- "name": "empty",
131
- "reason": "function-or-snippet"
132
- },
133
- {
134
- "name": "header",
135
- "reason": "function-or-snippet"
136
- },
137
- {
138
- "name": "messageActions",
139
- "reason": "function-or-snippet"
140
- },
141
- {
142
- "name": "messagePart",
143
- "reason": "function-or-snippet",
144
- "description": "Per-message-part override. Replaces the rendering of an individual body part\n(markdown, tool call, tool result) while delegating the rest to the built-ins\nvia the `renderDefault` snippet it receives. Image parts are excluded — they\nrender through the grouped attachment grid, not this override."
145
- },
146
- {
147
- "name": "messageReasoning",
148
- "reason": "function-or-snippet",
149
- "description": "Override or supplement the reasoning text for a message. Called per-message;\nreturn a non-empty string to show a reasoning block, `undefined` to fall back\nto `message.metadata['cinder:reasoning']`, empty string to suppress reasoning."
150
- },
151
- {
152
- "name": "messageStatus",
153
- "reason": "function-or-snippet"
154
- },
155
- {
156
- "name": "messageSteps",
157
- "reason": "function-or-snippet",
158
- "description": "Override or supplement the step list for a message. Called per-message;\nreturn an array to show step indicators, `undefined` to fall back to\n`message.metadata['cinder:steps']`. An empty array suppresses steps."
159
- },
160
- {
161
- "name": "messageSuggestions",
162
- "reason": "function-or-snippet",
163
- "description": "Override or supplement the suggestion list for a message. Called\nper-message; return an array of label strings to show suggestion chips,\n`undefined` to fall back to `message.metadata['cinder:suggestions']`. An\nempty array suppresses suggestions."
164
- },
165
- {
166
- "name": "onadaptererror",
167
- "reason": "function-or-snippet",
168
- "description": "Called when an adapter command fails — either a rejected promise or a synchronous throw from the method."
169
- },
170
- {
171
- "name": "onapprove",
172
- "reason": "function-or-snippet",
173
- "description": "Called when the user approves an action-required tool call. The\nconsumer is responsible for updating its transcript (e.g. calling\nconversationalist to unblock the pending tool) and triggering a new\ngeneration. When an adapter is also wired, Chat calls\n`adapter.approveToolCall(toolCallId)` first and then this callback."
174
- },
175
- {
176
- "name": "onattachmentadd",
177
- "reason": "function-or-snippet"
178
- },
179
- {
180
- "name": "onattachmentfailure",
181
- "reason": "function-or-snippet"
182
- },
183
- {
184
- "name": "onattachmentremove",
185
- "reason": "function-or-snippet"
186
- },
187
- {
188
- "name": "oncomposerblur",
189
- "reason": "function-or-snippet",
190
- "description": "Called when focus leaves the composer textarea. Overlay primitives can use\nthis to dismiss without preventing native focus movement."
191
- },
192
- {
193
- "name": "oncomposerinput",
194
- "reason": "function-or-snippet",
195
- "description": "Called with the composer's current plain-text value on every composer\ninput event. The optional event exposes the textarea for composer-bound\noverlays without reaching into `.chat-input-editor` DOM directly."
196
- },
197
- {
198
- "name": "oncomposerkeydown",
199
- "reason": "function-or-snippet",
200
- "description": "Called before Chat's internal composer key handling when a keydown\noriginates from the composer textarea. Call `event.preventDefault()` to\nlet an overlay consume Arrow keys, Enter, or Escape before Enter-to-send.\nChat does not call this hook during IME composition, so Enter can still\nconfirm the active candidate instead of sending."
201
- },
202
- {
203
- "name": "oncomposerselectionchange",
204
- "reason": "function-or-snippet",
205
- "description": "Called after pointer or selection activity may have moved the composer\ncaret without changing text. Overlay primitives can resync their active\ntoken from the textarea selection."
206
- },
207
- {
208
- "name": "ondeny",
209
- "reason": "function-or-snippet",
210
- "description": "Called when the user denies an action-required tool call. When an\nadapter is also wired, Chat calls `adapter.denyToolCall(toolCallId)` first\nand then this callback."
211
- },
212
- {
213
- "name": "onedit",
214
- "reason": "function-or-snippet"
215
- },
216
- {
217
- "name": "onexpandedchange",
218
- "reason": "function-or-snippet"
219
- },
220
- {
221
- "name": "onjumptolatest",
222
- "reason": "function-or-snippet"
223
- },
224
- {
225
- "name": "onloadhistory",
226
- "reason": "function-or-snippet",
227
- "description": "Called when the explicit history trigger is activated. The consumer prepends compatible messages into `conversation`."
228
- },
229
- {
230
- "name": "onpushmessage",
231
- "reason": "function-or-snippet",
232
- "description": "Forwarded from the adapter's real-time `onMessage` push (consumer owns the transcript)."
233
- },
234
- {
235
- "name": "onreadreceipt",
236
- "reason": "function-or-snippet",
237
- "description": "Forwarded from the adapter's real-time `onReadReceipt` push."
238
- },
239
- {
240
- "name": "onretry",
241
- "reason": "function-or-snippet"
242
- },
243
- {
244
- "name": "onscrollstatechange",
245
- "reason": "function-or-snippet"
246
- },
247
- {
248
- "name": "onstopgenerating",
249
- "reason": "function-or-snippet"
250
- },
251
- {
252
- "name": "onsubmit",
253
- "reason": "function-or-snippet"
254
- },
255
- {
256
- "name": "onsuggestionselect",
257
- "reason": "function-or-snippet",
258
- "description": "Called when the user selects a suggestion chip. The label string is\npassed back. The consumer is responsible for submitting it as a new user\nmessage."
259
- },
260
- {
261
- "name": "ontypingchange",
262
- "reason": "function-or-snippet",
263
- "description": "Forwarded from the adapter's real-time `onTypingChange` push."
264
- },
265
- {
266
- "name": "onunreadindicatorchange",
267
- "reason": "function-or-snippet"
268
- },
269
- {
270
- "name": "readReceipts",
271
- "reason": "unknown-shape",
272
- "description": "Per-message read receipt state. Out-of-band UI state — NOT stored on `Message`.\nPass a `Map` keyed by message id with a {@link ReadReceipt} value; the\ncomponent renders a receipt badge on USER messages only. The adapter's\n`onReadReceipt` push handler populates the same state when an adapter is wired.\nDefault `undefined` (no receipts shown)."
273
- },
274
- {
275
- "name": "row",
276
- "reason": "function-or-snippet",
277
- "description": "Full-row override. Renders an entire message row; receives the message and\na `renderDefault` snippet for the built-in row (inversion of control), so a\nconsumer can wrap or fully replace specific rows."
278
- },
279
- {
280
- "name": "typingParticipants",
281
- "reason": "unknown-shape",
282
- "description": "Participants who are currently typing. Out-of-band UI state — NOT stored on\n`Message`. Pass an array of {@link TypingParticipant} objects; the component\nrenders a per-participant typing indicator above the input. The adapter's\n`onTypingChange` push handler feeds the same indicator when an adapter is\nwired. Default `undefined` (indicator hidden)."
283
- },
284
- {
285
- "name": "viewportAttachment",
286
- "reason": "function-or-snippet"
287
- }
288
- ]
289
- }
290
- }
@@ -1,335 +0,0 @@
1
- import type { ComponentSchema } from '../../schema-types';
2
-
3
- const schema = {
4
- $schema: 'https://json-schema.org/draft/2020-12/schema',
5
- type: 'object',
6
- properties: {
7
- id: {
8
- type: 'string',
9
- description:
10
- 'Unique identifier used to scope accessibility attributes across the chat surface.',
11
- },
12
- atBottom: {
13
- type: 'boolean',
14
- description:
15
- 'Whether the message viewport is scrolled to the bottom. Bindable; updated automatically as the user scrolls. Default `true`.',
16
- },
17
- unreadCount: {
18
- type: 'number',
19
- description:
20
- 'Number of messages received while the viewport was scrolled away from the bottom. Bindable; resets to `0` when the user scrolls to the bottom. Default `0`.',
21
- },
22
- newMessageIndicatorVisible: {
23
- type: 'boolean',
24
- description:
25
- 'Whether the "new messages" indicator is currently visible above the composer. Bindable; cleared automatically when the viewport reaches the bottom. Default `false`.',
26
- },
27
- class: {
28
- type: 'string',
29
- description: 'Additional class name merged onto the `.chat-container` root element.',
30
- },
31
- surfaceMode: {
32
- enum: ['default', 'transparent'],
33
- description:
34
- "Controls the background of the chat surface. Use `'transparent'` to inherit the host element's background when embedding chat inside a card or panel. Default `'default'`.",
35
- },
36
- density: {
37
- enum: ['comfortable', 'compact'],
38
- description:
39
- "Controls spacing density of the message timeline.\n- `'comfortable'` (default): standard padding and gap.\n- `'compact'`: tighter spacing for data-dense contexts (e.g., embedded panels).\n Action buttons keep `min-height: var(--cinder-touch-target-min)` regardless.",
40
- },
41
- variant: {
42
- enum: ['bubble', 'flat'],
43
- description:
44
- "Visual treatment for message bubbles.\n- `'bubble'` (default): colored backgrounds differentiate user from assistant.\n- `'flat'`: no bubble backgrounds; role is communicated via alignment and role label.\n Text-on-surface contrast meets WCAG AA via `--cinder-text` on `--cinder-surface-inset`.",
45
- },
46
- bottomThreshold: {
47
- type: 'number',
48
- description:
49
- 'Distance in pixels from the bottom of the scroll viewport within which the chat is considered "at bottom" and will auto-scroll on new messages. Default `150`.',
50
- },
51
- jumpThreshold: {
52
- type: 'number',
53
- description:
54
- 'Distance in pixels scrolled up from the bottom required before the jump-to-latest button appears. Must be greater than `bottomThreshold` to prevent button flickering. Default `200`.',
55
- },
56
- streaming: {
57
- type: 'boolean',
58
- description:
59
- 'Whether a streaming response is currently in progress. When `true`, the composer is disabled and a stop-generating button is shown. Default `false`.',
60
- },
61
- streamingStatus: {
62
- type: 'string',
63
- description:
64
- 'Optional status label displayed in the typing indicator while `streaming` is `true` and no streaming content has arrived yet (e.g. `"Thinking…"` or `"Analyzing file…"`). When omitted, three animated dots are shown.',
65
- },
66
- composerRole: {
67
- type: 'string',
68
- description:
69
- 'Explicit role for the composer textarea, for overlay patterns such as ARIA comboboxes.',
70
- },
71
- composerAriaExpanded: {
72
- enum: [false, true, 'true', 'false'],
73
- description:
74
- '`aria-expanded` passed to the composer textarea for overlays such as slash-command menus.',
75
- },
76
- composerAriaControls: {
77
- type: 'string',
78
- description:
79
- '`aria-controls` passed to the composer textarea for overlays such as slash-command menus.',
80
- },
81
- composerAriaActiveDescendant: {
82
- type: 'string',
83
- description:
84
- '`aria-activedescendant` passed to the composer textarea for overlays such as slash-command menus.',
85
- },
86
- composerAriaAutocomplete: {
87
- enum: ['none', 'inline', 'list', 'both'],
88
- description:
89
- '`aria-autocomplete` passed to the composer textarea for overlays such as slash-command menus.',
90
- },
91
- virtualized: {
92
- type: 'boolean',
93
- description:
94
- 'Use the virtualized message render path for long transcripts. The complete `ConversationHistory` remains unchanged; only the DOM window is reduced. Default `false`.',
95
- },
96
- virtualizationEstimatedRowHeight: {
97
- type: 'number',
98
- description: 'Estimated row height in pixels for virtualized message rows. Default `88`.',
99
- },
100
- virtualizationOverscan: {
101
- type: 'number',
102
- description:
103
- 'Number of extra virtual rows rendered before and after the viewport. Default `3`.',
104
- },
105
- virtualizationInitialHeight: {
106
- type: 'number',
107
- description: 'Initial virtualized viewport height used before measurement. Default `640`.',
108
- },
109
- moreHistoryAvailable: {
110
- type: 'boolean',
111
- description:
112
- 'Whether the explicit "Load earlier messages" trigger is shown when a load handler exists. Default `true`.',
113
- },
114
- loadEarlierLabel: {
115
- type: 'string',
116
- description: 'Label for the history pagination trigger. Default `"Load earlier messages"`.',
117
- },
118
- loadingEarlierLabel: {
119
- type: 'string',
120
- description:
121
- 'Status text while older messages are loading. Default `"Loading earlier messages"`.',
122
- },
123
- emptyPrompts: {
124
- type: 'array',
125
- items: {
126
- type: 'string',
127
- },
128
- description:
129
- 'List of suggested starter prompt strings shown as clickable buttons in the default empty state. Clicking a prompt submits it immediately as a user message. Has no effect when a custom `empty` snippet is provided.',
130
- },
131
- },
132
- additionalProperties: false,
133
- required: ['id'],
134
- metadata: {
135
- unsupportedProps: [
136
- {
137
- name: 'adapter',
138
- reason: 'unknown-shape',
139
- description:
140
- 'Optional command/transport boundary around `conversation`. Its methods take\nprecedence over the matching callback props (e.g. `sendMessage` over\n`onsubmit`); omit it and Chat behaves exactly as with plain callbacks.',
141
- },
142
- {
143
- name: 'capabilities',
144
- reason: 'unknown-shape',
145
- description:
146
- 'Feature-capability flags. Pass a `ChatCapabilities` object to enable or disable\nindividual Chat features (attachments, search, copy, editing, retry) as a group\nrather than as five separate boolean props.',
147
- },
148
- {
149
- name: 'conversation',
150
- reason: 'unknown-shape',
151
- required: true,
152
- description:
153
- 'The conversation transcript to render. Pass a {@link ConversationHistory}\nsnapshot; consumers holding a stateful conversation object pass its current\nsnapshot (e.g. `conversation.current`).',
154
- },
155
- {
156
- name: 'empty',
157
- reason: 'function-or-snippet',
158
- },
159
- {
160
- name: 'header',
161
- reason: 'function-or-snippet',
162
- },
163
- {
164
- name: 'messageActions',
165
- reason: 'function-or-snippet',
166
- },
167
- {
168
- name: 'messagePart',
169
- reason: 'function-or-snippet',
170
- description:
171
- 'Per-message-part override. Replaces the rendering of an individual body part\n(markdown, tool call, tool result) while delegating the rest to the built-ins\nvia the `renderDefault` snippet it receives. Image parts are excluded — they\nrender through the grouped attachment grid, not this override.',
172
- },
173
- {
174
- name: 'messageReasoning',
175
- reason: 'function-or-snippet',
176
- description:
177
- "Override or supplement the reasoning text for a message. Called per-message;\nreturn a non-empty string to show a reasoning block, `undefined` to fall back\nto `message.metadata['cinder:reasoning']`, empty string to suppress reasoning.",
178
- },
179
- {
180
- name: 'messageStatus',
181
- reason: 'function-or-snippet',
182
- },
183
- {
184
- name: 'messageSteps',
185
- reason: 'function-or-snippet',
186
- description:
187
- "Override or supplement the step list for a message. Called per-message;\nreturn an array to show step indicators, `undefined` to fall back to\n`message.metadata['cinder:steps']`. An empty array suppresses steps.",
188
- },
189
- {
190
- name: 'messageSuggestions',
191
- reason: 'function-or-snippet',
192
- description:
193
- "Override or supplement the suggestion list for a message. Called\nper-message; return an array of label strings to show suggestion chips,\n`undefined` to fall back to `message.metadata['cinder:suggestions']`. An\nempty array suppresses suggestions.",
194
- },
195
- {
196
- name: 'onadaptererror',
197
- reason: 'function-or-snippet',
198
- description:
199
- 'Called when an adapter command fails — either a rejected promise or a synchronous throw from the method.',
200
- },
201
- {
202
- name: 'onapprove',
203
- reason: 'function-or-snippet',
204
- description:
205
- 'Called when the user approves an action-required tool call. The\nconsumer is responsible for updating its transcript (e.g. calling\nconversationalist to unblock the pending tool) and triggering a new\ngeneration. When an adapter is also wired, Chat calls\n`adapter.approveToolCall(toolCallId)` first and then this callback.',
206
- },
207
- {
208
- name: 'onattachmentadd',
209
- reason: 'function-or-snippet',
210
- },
211
- {
212
- name: 'onattachmentfailure',
213
- reason: 'function-or-snippet',
214
- },
215
- {
216
- name: 'onattachmentremove',
217
- reason: 'function-or-snippet',
218
- },
219
- {
220
- name: 'oncomposerblur',
221
- reason: 'function-or-snippet',
222
- description:
223
- 'Called when focus leaves the composer textarea. Overlay primitives can use\nthis to dismiss without preventing native focus movement.',
224
- },
225
- {
226
- name: 'oncomposerinput',
227
- reason: 'function-or-snippet',
228
- description:
229
- "Called with the composer's current plain-text value on every composer\ninput event. The optional event exposes the textarea for composer-bound\noverlays without reaching into `.chat-input-editor` DOM directly.",
230
- },
231
- {
232
- name: 'oncomposerkeydown',
233
- reason: 'function-or-snippet',
234
- description:
235
- "Called before Chat's internal composer key handling when a keydown\noriginates from the composer textarea. Call `event.preventDefault()` to\nlet an overlay consume Arrow keys, Enter, or Escape before Enter-to-send.\nChat does not call this hook during IME composition, so Enter can still\nconfirm the active candidate instead of sending.",
236
- },
237
- {
238
- name: 'oncomposerselectionchange',
239
- reason: 'function-or-snippet',
240
- description:
241
- 'Called after pointer or selection activity may have moved the composer\ncaret without changing text. Overlay primitives can resync their active\ntoken from the textarea selection.',
242
- },
243
- {
244
- name: 'ondeny',
245
- reason: 'function-or-snippet',
246
- description:
247
- 'Called when the user denies an action-required tool call. When an\nadapter is also wired, Chat calls `adapter.denyToolCall(toolCallId)` first\nand then this callback.',
248
- },
249
- {
250
- name: 'onedit',
251
- reason: 'function-or-snippet',
252
- },
253
- {
254
- name: 'onexpandedchange',
255
- reason: 'function-or-snippet',
256
- },
257
- {
258
- name: 'onjumptolatest',
259
- reason: 'function-or-snippet',
260
- },
261
- {
262
- name: 'onloadhistory',
263
- reason: 'function-or-snippet',
264
- description:
265
- 'Called when the explicit history trigger is activated. The consumer prepends compatible messages into `conversation`.',
266
- },
267
- {
268
- name: 'onpushmessage',
269
- reason: 'function-or-snippet',
270
- description:
271
- "Forwarded from the adapter's real-time `onMessage` push (consumer owns the transcript).",
272
- },
273
- {
274
- name: 'onreadreceipt',
275
- reason: 'function-or-snippet',
276
- description: "Forwarded from the adapter's real-time `onReadReceipt` push.",
277
- },
278
- {
279
- name: 'onretry',
280
- reason: 'function-or-snippet',
281
- },
282
- {
283
- name: 'onscrollstatechange',
284
- reason: 'function-or-snippet',
285
- },
286
- {
287
- name: 'onstopgenerating',
288
- reason: 'function-or-snippet',
289
- },
290
- {
291
- name: 'onsubmit',
292
- reason: 'function-or-snippet',
293
- },
294
- {
295
- name: 'onsuggestionselect',
296
- reason: 'function-or-snippet',
297
- description:
298
- 'Called when the user selects a suggestion chip. The label string is\npassed back. The consumer is responsible for submitting it as a new user\nmessage.',
299
- },
300
- {
301
- name: 'ontypingchange',
302
- reason: 'function-or-snippet',
303
- description: "Forwarded from the adapter's real-time `onTypingChange` push.",
304
- },
305
- {
306
- name: 'onunreadindicatorchange',
307
- reason: 'function-or-snippet',
308
- },
309
- {
310
- name: 'readReceipts',
311
- reason: 'unknown-shape',
312
- description:
313
- "Per-message read receipt state. Out-of-band UI state — NOT stored on `Message`.\nPass a `Map` keyed by message id with a {@link ReadReceipt} value; the\ncomponent renders a receipt badge on USER messages only. The adapter's\n`onReadReceipt` push handler populates the same state when an adapter is wired.\nDefault `undefined` (no receipts shown).",
314
- },
315
- {
316
- name: 'row',
317
- reason: 'function-or-snippet',
318
- description:
319
- 'Full-row override. Renders an entire message row; receives the message and\na `renderDefault` snippet for the built-in row (inversion of control), so a\nconsumer can wrap or fully replace specific rows.',
320
- },
321
- {
322
- name: 'typingParticipants',
323
- reason: 'unknown-shape',
324
- description:
325
- "Participants who are currently typing. Out-of-band UI state — NOT stored on\n`Message`. Pass an array of {@link TypingParticipant} objects; the component\nrenders a per-participant typing indicator above the input. The adapter's\n`onTypingChange` push handler feeds the same indicator when an adapter is\nwired. Default `undefined` (indicator hidden).",
326
- },
327
- {
328
- name: 'viewportAttachment',
329
- reason: 'function-or-snippet',
330
- },
331
- ],
332
- },
333
- } satisfies ComponentSchema;
334
-
335
- export default schema as ComponentSchema;