@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,536 +0,0 @@
1
- var __create = Object.create;
2
- var __getProtoOf = Object.getPrototypeOf;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- function __accessProp(key) {
7
- return this[key];
8
- }
9
- var __toESMCache_node;
10
- var __toESMCache_esm;
11
- var __toESM = (mod, isNodeMode, target) => {
12
- var canCache = mod != null && typeof mod === "object";
13
- if (canCache) {
14
- var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
15
- var cached = cache.get(mod);
16
- if (cached)
17
- return cached;
18
- }
19
- target = mod != null ? __create(__getProtoOf(mod)) : {};
20
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
- for (let key of __getOwnPropNames(mod))
22
- if (!__hasOwnProp.call(to, key))
23
- __defProp(to, key, {
24
- get: __accessProp.bind(mod, key),
25
- enumerable: true
26
- });
27
- if (canCache)
28
- cache.set(mod, to);
29
- return to;
30
- };
31
- var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
32
- var __returnValue = (v) => v;
33
- function __exportSetter(name, newValue) {
34
- this[name] = __returnValue.bind(null, newValue);
35
- }
36
- var __export = (target, all) => {
37
- for (var name in all)
38
- __defProp(target, name, {
39
- get: all[name],
40
- enumerable: true,
41
- configurable: true,
42
- set: __exportSetter.bind(all, name)
43
- });
44
- };
45
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
46
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
47
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
48
- }) : x)(function(x) {
49
- if (typeof require !== "undefined")
50
- return require.apply(this, arguments);
51
- throw Error('Dynamic require of "' + x + '" is not supported');
52
- });
53
-
54
- // src/components/chat-conversation-list/index.ts
55
- import"@lostgradient/cinder/chat-conversation-list/styles";
56
-
57
- // src/components/chat-conversation-list/chat-conversation-list.svelte
58
- import"svelte/internal/disclose-version";
59
- import * as $ from "svelte/internal/client";
60
-
61
- // src/utilities/class-names.ts
62
- function classNames(...parts) {
63
- return parts.filter((part) => typeof part === "string" && part.length > 0).join(" ");
64
- }
65
-
66
- // src/components/chat/utilities/conversation.ts
67
- function getMessages(conversation, options = {}) {
68
- return conversation.ids.map((id) => conversation.messages[id]).filter((message) => message !== undefined).filter((message) => options.includeHidden === true || !message.hidden);
69
- }
70
- function pairToolCallsWithResults(messages) {
71
- const resultsByCallId = new Map;
72
- for (const message of messages) {
73
- if (message.role === "tool-result" && message.toolResult !== undefined) {
74
- resultsByCallId.set(message.toolResult.callId, message.toolResult);
75
- }
76
- }
77
- const pairs = [];
78
- for (const message of messages) {
79
- if (message.role === "tool-call" && message.toolCall !== undefined) {
80
- pairs.push({
81
- call: message.toolCall,
82
- result: resultsByCallId.get(message.toolCall.id)
83
- });
84
- }
85
- }
86
- return pairs;
87
- }
88
- // src/components/chat/utilities/utilities.ts
89
- var CINDER_REASONING_METADATA_KEY = "cinder:reasoning";
90
- var CINDER_STEPS_METADATA_KEY = "cinder:steps";
91
- var CINDER_SUGGESTIONS_METADATA_KEY = "cinder:suggestions";
92
- var STEP_STATUSES = new Set([
93
- "pending",
94
- "running",
95
- "done",
96
- "error"
97
- ]);
98
- function isStepInfo(value) {
99
- if (value === null || typeof value !== "object")
100
- return false;
101
- if (!("title" in value) || !("content" in value) || !("status" in value))
102
- return false;
103
- return typeof value.title === "string" && typeof value.content === "string" && typeof value.status === "string" && STEP_STATUSES.has(value.status);
104
- }
105
- function runOverlayCallback(message, fromProp) {
106
- if (fromProp === undefined)
107
- return { handled: false, value: undefined };
108
- try {
109
- const value = fromProp(message);
110
- return value === undefined ? { handled: false, value: undefined } : { handled: true, value };
111
- } catch {
112
- return { handled: false, value: undefined };
113
- }
114
- }
115
- function resolveMessageReasoning(message, fromProp) {
116
- const fromCallback = runOverlayCallback(message, fromProp);
117
- if (fromCallback.handled && fromCallback.value === "")
118
- return "";
119
- const candidate = fromCallback.handled ? fromCallback.value : message.metadata[CINDER_REASONING_METADATA_KEY];
120
- return typeof candidate === "string" && candidate.length > 0 ? candidate : undefined;
121
- }
122
- function resolveMessageSteps(message, fromProp) {
123
- const fromCallback = runOverlayCallback(message, fromProp);
124
- const candidate = fromCallback.handled ? fromCallback.value : message.metadata[CINDER_STEPS_METADATA_KEY];
125
- if (!Array.isArray(candidate))
126
- return;
127
- const steps = candidate.filter(isStepInfo);
128
- return steps.length > 0 ? steps : undefined;
129
- }
130
- function resolveMessageSuggestions(message, fromProp) {
131
- const fromCallback = runOverlayCallback(message, fromProp);
132
- const candidate = fromCallback.handled ? fromCallback.value : message.metadata[CINDER_SUGGESTIONS_METADATA_KEY];
133
- if (!Array.isArray(candidate))
134
- return;
135
- const suggestions = candidate.filter((entry) => typeof entry === "string");
136
- return suggestions.length > 0 ? suggestions : undefined;
137
- }
138
- function toMultiModalArray(input) {
139
- if (typeof input === "string")
140
- return [{ type: "text", text: input }];
141
- return "type" in input ? [input] : input;
142
- }
143
- function formatJSONValue(value) {
144
- return typeof value === "string" ? value : JSON.stringify(value, null, 2);
145
- }
146
- function getServerContentText(part) {
147
- switch (part.type) {
148
- case "text":
149
- return part.text;
150
- case "server_tool_use":
151
- return [`Server tool use: ${part.name}`, formatJSONValue(part.input)].join(`
152
- `);
153
- case "web_search_tool_result":
154
- return [`Web search result: ${part.tool_use_id}`, formatJSONValue(part.content)].join(`
155
- `);
156
- case "code_execution_tool_result":
157
- case "bash_code_execution_tool_result":
158
- case "text_editor_code_execution_tool_result":
159
- case "web_fetch_tool_result":
160
- return [`Server tool result: ${part.tool_use_id}`, formatJSONValue(part.content)].join(`
161
- `);
162
- case "container_upload":
163
- return `Container upload: ${part.file_id}`;
164
- default:
165
- return;
166
- }
167
- }
168
- function getMessageParts(message) {
169
- return toMultiModalArray(message.content);
170
- }
171
- function getMessageText(message) {
172
- return getMessageParts(message).map(getServerContentText).filter((text) => typeof text === "string" && text.length > 0).join(`
173
- `);
174
- }
175
- function deriveImageParts(message) {
176
- if (typeof message.content === "string")
177
- return [];
178
- const parts = [];
179
- message.content.forEach((segment, index) => {
180
- if (segment.type === "image") {
181
- parts.push({
182
- type: "image",
183
- key: `${message.id}:image:${index}`,
184
- image: segment
185
- });
186
- }
187
- });
188
- return parts;
189
- }
190
- function deriveReasoningContent(message, explicitReasoning) {
191
- if (explicitReasoning === "")
192
- return;
193
- const reasoningSegments = explicitReasoning && explicitReasoning.length > 0 ? [explicitReasoning] : [];
194
- if (typeof message.content !== "string") {
195
- let hasRedactedThinking = false;
196
- for (const segment of message.content) {
197
- if (segment.type === "thinking" && segment.thinking.length > 0) {
198
- reasoningSegments.push(segment.thinking);
199
- }
200
- if (segment.type === "redacted_thinking") {
201
- hasRedactedThinking = true;
202
- }
203
- }
204
- if (hasRedactedThinking) {
205
- reasoningSegments.push("Redacted reasoning is preserved in this transcript but cannot be displayed.");
206
- }
207
- }
208
- return reasoningSegments.length > 0 ? reasoningSegments.join(`
209
-
210
- `) : undefined;
211
- }
212
- function deriveToolApprovalPart(messageId, result, context) {
213
- const approved = context.approvedToolCallIds?.has(result.callId) ? true : context.deniedToolCallIds?.has(result.callId) ? false : undefined;
214
- return {
215
- type: "tool-approval",
216
- key: `${messageId}:tool-approval:${result.callId}`,
217
- toolCallId: result.callId,
218
- toolName: context.toolCallPair?.call.name ?? result.callId,
219
- action: result.action,
220
- approved
221
- };
222
- }
223
- function deriveMessageParts(message, context = {}) {
224
- const imageParts = deriveImageParts(message);
225
- if (message.role === "tool-call" && message.toolCall && context.toolCallPair) {
226
- const result = context.toolCallPair.result;
227
- const approvalPart = result && result.outcome === "action_required" && result.action ? deriveToolApprovalPart(message.id, result, context) : undefined;
228
- return [
229
- {
230
- type: "tool-call",
231
- key: `${message.id}:tool-call:${message.toolCall.id}`,
232
- pair: context.toolCallPair
233
- },
234
- ...approvalPart ? [approvalPart] : [],
235
- ...imageParts
236
- ];
237
- }
238
- if (message.role === "tool-result" && message.toolResult) {
239
- const result = message.toolResult;
240
- if (result.outcome === "action_required" && result.action) {
241
- return [deriveToolApprovalPart(message.id, result, context), ...imageParts];
242
- }
243
- return [
244
- {
245
- type: "tool-result",
246
- key: `${message.id}:tool-result:${result.callId}`,
247
- result
248
- },
249
- ...imageParts
250
- ];
251
- }
252
- const content = context.overrideContent ?? getMessageText(message);
253
- const bodyParts = [];
254
- if (context.steps && context.steps.length > 0) {
255
- for (let index = 0;index < context.steps.length; index++) {
256
- const step = context.steps[index];
257
- bodyParts.push({
258
- type: "step",
259
- key: `${message.id}:step:${index}`,
260
- index,
261
- title: step.title,
262
- content: step.content,
263
- status: step.status
264
- });
265
- }
266
- }
267
- const reasoningContent = deriveReasoningContent(message, context.reasoning);
268
- if (reasoningContent) {
269
- bodyParts.push({
270
- type: "reasoning",
271
- key: `${message.id}:reasoning`,
272
- content: reasoningContent,
273
- streaming: context.streaming ?? false
274
- });
275
- }
276
- bodyParts.push({
277
- type: "markdown",
278
- key: `${message.id}:body`,
279
- content,
280
- streaming: context.streaming ?? false,
281
- expanded: context.expanded ?? true
282
- });
283
- if (context.suggestions && context.suggestions.length > 0) {
284
- for (let index = 0;index < context.suggestions.length; index++) {
285
- const label = context.suggestions[index];
286
- bodyParts.push({
287
- type: "suggestion",
288
- key: `${message.id}:suggestion:${index}`,
289
- index,
290
- label
291
- });
292
- }
293
- }
294
- return [...bodyParts, ...imageParts];
295
- }
296
- function getMessageRoleLabel(message) {
297
- const labels = {
298
- user: "User",
299
- assistant: "Assistant",
300
- system: "System",
301
- developer: "Developer",
302
- "tool-call": "Tool Call",
303
- "tool-result": "Tool Result",
304
- snapshot: "Snapshot"
305
- };
306
- return labels[message.role] ?? message.role;
307
- }
308
- function formatMessageAsMarkdown(message) {
309
- return getMessageText(message);
310
- }
311
- function formatMessageWithRole(message) {
312
- const roleLabel = getMessageRoleLabel(message);
313
- const text = getMessageText(message);
314
- return `**${roleLabel}:**
315
-
316
- ${text}`;
317
- }
318
- function messagesToMarkdown(messages) {
319
- return messages.filter((msg) => msg.role !== "system" && msg.role !== "developer").map(formatMessageWithRole).join(`
320
-
321
- ---
322
-
323
- `);
324
- }
325
- // src/components/chat-conversation-list/conversation-summary.ts
326
- function metadataNumber(metadata, key) {
327
- const value = metadata[key];
328
- return typeof value === "number" && Number.isFinite(value) && value > 0 ? Math.floor(value) : 0;
329
- }
330
- function metadataStringArray(metadata, key) {
331
- const value = metadata[key];
332
- if (!Array.isArray(value))
333
- return [];
334
- return value.filter((item) => typeof item === "string" && item.trim() !== "");
335
- }
336
- function fallbackTitle(message) {
337
- if (!message)
338
- return "Untitled conversation";
339
- const text = getMessageText(message).trim().replace(/\s+/g, " ");
340
- if (text.length === 0)
341
- return "Untitled conversation";
342
- return text.length > 64 ? `${text.slice(0, 61)}...` : text;
343
- }
344
- function deriveConversationSummary(conversation) {
345
- const messages = getMessages(conversation);
346
- const lastMessage = messages.at(-1);
347
- const title = conversation.title?.trim() || fallbackTitle(lastMessage);
348
- return {
349
- id: conversation.id,
350
- title,
351
- status: conversation.status,
352
- messageCount: messages.length,
353
- unreadCount: metadataNumber(conversation.metadata, "_unreadCount"),
354
- updatedAt: conversation.updatedAt,
355
- createdAt: conversation.createdAt,
356
- participantNames: metadataStringArray(conversation.metadata, "_participantNames"),
357
- ...lastMessage ? {
358
- lastMessageId: lastMessage.id,
359
- lastMessageRole: lastMessage.role,
360
- lastMessageText: getMessageText(lastMessage),
361
- lastMessageAt: lastMessage.createdAt
362
- } : {}
363
- };
364
- }
365
- function conversationSummaryTimestamp(summary) {
366
- const timestamp = summary.lastMessageAt ?? summary.updatedAt ?? summary.createdAt;
367
- const time = Date.parse(timestamp);
368
- return Number.isNaN(time) ? 0 : time;
369
- }
370
-
371
- // src/components/chat-conversation-list/chat-conversation-list.svelte
372
- var rest_excludes = new Set([
373
- "$$slots",
374
- "$$events",
375
- "$$legacy",
376
- "conversations",
377
- "activeConversationId",
378
- "ariaLabel",
379
- "emptyText",
380
- "class",
381
- "onselectconversation"
382
- ]);
383
- var root = $.from_html(`<p class="cinder-chat-conversation-list__empty" role="status"> </p>`);
384
- var root_1 = $.from_html(`<span class="cinder-chat-conversation-list__badge" aria-hidden="true"> </span> <span class="sr-only"> </span>`, 1);
385
- var root_2 = $.from_html(`<button type="button" class="cinder-chat-conversation-list__button" data-cinder-conversation-item="" data-cinder-conversation-interactive=""><span class="cinder-chat-conversation-list__title"> </span> <span class="cinder-chat-conversation-list__preview"> </span> <!></button>`);
386
- var root_3 = $.from_html(`<div class="cinder-chat-conversation-list__button" data-cinder-conversation-item="" data-cinder-conversation-static=""><span class="cinder-chat-conversation-list__title"> </span> <span class="cinder-chat-conversation-list__preview"> </span> <!></div>`);
387
- var root_4 = $.from_html(`<li class="cinder-chat-conversation-list__item"><!></li>`);
388
- var root_5 = $.from_html(`<ul class="cinder-chat-conversation-list__items"></ul>`);
389
- var root_6 = $.from_html(`<nav><!></nav>`);
390
- function Chat_conversation_list($$anchor, $$props) {
391
- $.push($$props, true);
392
- let activeConversationId = $.prop($$props, "activeConversationId", 3, null), ariaLabel = $.prop($$props, "ariaLabel", 3, "Conversations"), emptyText = $.prop($$props, "emptyText", 3, "No conversations"), rest = $.rest_props($$props, rest_excludes);
393
- const sortedConversations = $.derived(() => [...$$props.conversations].sort((a, b) => conversationSummaryTimestamp(b) - conversationSummaryTimestamp(a)));
394
- function preview(summary) {
395
- const text = summary.lastMessageText?.trim();
396
- if (!text)
397
- return summary.messageCount === 1 ? "1 message" : `${summary.messageCount} messages`;
398
- return text.length > 96 ? `${text.slice(0, 93)}...` : text;
399
- }
400
- function unreadMessageLabel(unreadCount) {
401
- return unreadCount === 1 ? "1 unread message" : `${unreadCount} unread messages`;
402
- }
403
- const resolvedAriaLabel = $.derived(() => typeof ariaLabel() === "string" && ariaLabel().trim().length > 0 ? ariaLabel() : undefined);
404
- var nav = root_6();
405
- $.attribute_effect(nav, ($0) => ({ ...rest, class: $0, "aria-label": $.get(resolvedAriaLabel) }), [
406
- () => classNames("cinder-chat-conversation-list", $$props.class)
407
- ]);
408
- var node = $.child(nav);
409
- {
410
- var consequent = ($$anchor2) => {
411
- var p = root();
412
- var text_1 = $.child(p, true);
413
- $.reset(p);
414
- $.template_effect(() => $.set_text(text_1, emptyText()));
415
- $.append($$anchor2, p);
416
- };
417
- var alternate_1 = ($$anchor2) => {
418
- var ul = root_5();
419
- $.each(ul, 21, () => $.get(sortedConversations), (conversation) => conversation.id, ($$anchor3, conversation) => {
420
- const isActive = $.derived(() => $.get(conversation).id === activeConversationId());
421
- var li = root_4();
422
- var node_1 = $.child(li);
423
- {
424
- var consequent_2 = ($$anchor4) => {
425
- var button = root_2();
426
- var span = $.child(button);
427
- var text_2 = $.child(span, true);
428
- $.reset(span);
429
- var span_1 = $.sibling(span, 2);
430
- var text_3 = $.child(span_1, true);
431
- $.reset(span_1);
432
- var node_2 = $.sibling(span_1, 2);
433
- {
434
- var consequent_1 = ($$anchor5) => {
435
- var fragment = root_1();
436
- var span_2 = $.first_child(fragment);
437
- var text_4 = $.child(span_2, true);
438
- $.reset(span_2);
439
- var span_3 = $.sibling(span_2, 2);
440
- var text_5 = $.child(span_3);
441
- $.reset(span_3);
442
- $.template_effect(($0) => {
443
- $.set_text(text_4, $.get(conversation).unreadCount > 99 ? "99+" : $.get(conversation).unreadCount);
444
- $.set_text(text_5, `, ${$0 ?? ""}`);
445
- }, [() => unreadMessageLabel($.get(conversation).unreadCount)]);
446
- $.append($$anchor5, fragment);
447
- };
448
- $.if(node_2, ($$render) => {
449
- if ($.get(conversation).unreadCount > 0)
450
- $$render(consequent_1);
451
- });
452
- }
453
- $.reset(button);
454
- $.template_effect(($0) => {
455
- $.set_attribute(button, "aria-current", $.get(isActive) ? "page" : undefined);
456
- $.set_attribute(button, "data-cinder-conversation-selected", $.get(isActive) ? "" : undefined);
457
- $.set_text(text_2, $.get(conversation).title);
458
- $.set_text(text_3, $0);
459
- }, [() => preview($.get(conversation))]);
460
- $.delegated("click", button, () => $$props.onselectconversation($.get(conversation).id));
461
- $.append($$anchor4, button);
462
- };
463
- var alternate = ($$anchor4) => {
464
- var div = root_3();
465
- var span_4 = $.child(div);
466
- var text_6 = $.child(span_4, true);
467
- $.reset(span_4);
468
- var span_5 = $.sibling(span_4, 2);
469
- var text_7 = $.child(span_5, true);
470
- $.reset(span_5);
471
- var node_3 = $.sibling(span_5, 2);
472
- {
473
- var consequent_3 = ($$anchor5) => {
474
- var fragment_1 = root_1();
475
- var span_6 = $.first_child(fragment_1);
476
- var text_8 = $.child(span_6, true);
477
- $.reset(span_6);
478
- var span_7 = $.sibling(span_6, 2);
479
- var text_9 = $.child(span_7);
480
- $.reset(span_7);
481
- $.template_effect(($0) => {
482
- $.set_text(text_8, $.get(conversation).unreadCount > 99 ? "99+" : $.get(conversation).unreadCount);
483
- $.set_text(text_9, `, ${$0 ?? ""}`);
484
- }, [() => unreadMessageLabel($.get(conversation).unreadCount)]);
485
- $.append($$anchor5, fragment_1);
486
- };
487
- $.if(node_3, ($$render) => {
488
- if ($.get(conversation).unreadCount > 0)
489
- $$render(consequent_3);
490
- });
491
- }
492
- $.reset(div);
493
- $.template_effect(($0) => {
494
- $.set_attribute(div, "aria-current", $.get(isActive) ? "page" : undefined);
495
- $.set_attribute(div, "data-cinder-conversation-selected", $.get(isActive) ? "" : undefined);
496
- $.set_text(text_6, $.get(conversation).title);
497
- $.set_text(text_7, $0);
498
- }, [() => preview($.get(conversation))]);
499
- $.append($$anchor4, div);
500
- };
501
- $.if(node_1, ($$render) => {
502
- if ($$props.onselectconversation)
503
- $$render(consequent_2);
504
- else
505
- $$render(alternate, -1);
506
- });
507
- }
508
- $.reset(li);
509
- $.append($$anchor3, li);
510
- });
511
- $.reset(ul);
512
- $.append($$anchor2, ul);
513
- };
514
- $.if(node, ($$render) => {
515
- if ($.get(sortedConversations).length === 0)
516
- $$render(consequent);
517
- else
518
- $$render(alternate_1, -1);
519
- });
520
- }
521
- $.reset(nav);
522
- $.append($$anchor, nav);
523
- $.pop();
524
- }
525
- $.delegate(["click"]);
526
-
527
- // src/components/chat-conversation-list/index.ts
528
- var chat_conversation_list_default = Chat_conversation_list;
529
- export {
530
- deriveConversationSummary,
531
- chat_conversation_list_default as default,
532
- conversationSummaryTimestamp,
533
- Chat_conversation_list as ChatConversationList
534
- };
535
-
536
- //# debugId=ADE11286DEEAF0C664756E2164756E21
@@ -1,121 +0,0 @@
1
- import {
2
- Artifact_panel,
3
- Artifact_viewer,
4
- Chat,
5
- Chat_artifact_layout,
6
- Chat_attachment_preview,
7
- Chat_date_separator,
8
- Chat_input,
9
- Chat_message,
10
- DEFAULT_SCROLL_CONFIGURATION,
11
- Message_attachments,
12
- Message_content,
13
- Tool_call_group,
14
- appendAssistantMessage,
15
- appendMessages,
16
- appendUserMessage,
17
- calculateScrollToBottom,
18
- calculateUnreadCount,
19
- chat_default,
20
- createConversation,
21
- deriveAttachmentKind,
22
- extractTimestamp,
23
- findUnreadBoundaryIndex,
24
- isAtBottom,
25
- serializeChatAttachment,
26
- serializeChatAttachments,
27
- shouldShowJumpToLatest
28
- } from "../../index.server-f2me5abn.js";
29
- import"../../index.server-qkfd0qa7.js";
30
- import"../../index.server-kb6w1a7c.js";
31
- import"../../index.server-317enkqq.js";
32
- import"../../index.server-g75bhbvb.js";
33
- import"../../index.server-gbzsb04q.js";
34
- import"../../index.server-rf67m8v5.js";
35
- import"../../index.server-w6am2dxc.js";
36
- import {
37
- Conversation_export_actions
38
- } from "../../index.server-8rmtb8vx.js";
39
- import"../../index.server-z1qvwaem.js";
40
- import"../../index.server-tfftb7hs.js";
41
- import"../../index.server-bqjv32nb.js";
42
- import"../../index.server-bfkka7x4.js";
43
- import"../../index.server-4rdkwmfb.js";
44
- import"../../index.server-kvdrhzr3.js";
45
- import"../../index.server-r84kvx9x.js";
46
- import"../../index.server-r70ezssy.js";
47
- import"../../index.server-sz8sxsj6.js";
48
- import"../../index.server-et3p2cfq.js";
49
- import {
50
- formatMessageAsMarkdown,
51
- getMessageRoleLabel,
52
- getMessageText,
53
- messagesToMarkdown
54
- } from "../../index.server-6hnfzc7f.js";
55
- import"../../index.server-493m9fm5.js";
56
- import"../../index.server-j5hn2qds.js";
57
- import"../../index.server-a59y47rw.js";
58
- import"../../index.server-qdnsgt12.js";
59
- import"../../index.server-vzc1j5mq.js";
60
- import"../../index.server-mm1xa3kr.js";
61
- import"../../index.server-rqe5bqgm.js";
62
- import"../../index.server-yq9evnp4.js";
63
- import"../../index.server-x9s4m9eg.js";
64
- import"../../index.server-zwjp26z8.js";
65
- import"../../index.server-1vsv7ngz.js";
66
- import"../../index.server-d3pqthtp.js";
67
- import"../../index.server-z1q7qnb8.js";
68
- import"../../index.server-bvsb9gea.js";
69
- import"../../index.server-htmd13mc.js";
70
- import"../../index.server-vmsmaztb.js";
71
- import"../../index.server-9r6rts7c.js";
72
- import"../../index.server-44vrcbhz.js";
73
- import"../../index.server-94b7tjs5.js";
74
- import"../../index.server-egk5q7aj.js";
75
- import"../../index.server-8hdvr9bt.js";
76
- import"../../index.server-2j52msk2.js";
77
- import"../../index.server-62p9v60x.js";
78
- import"../../index.server-wwk0f944.js";
79
- import"../../index.server-s4ynjgep.js";
80
- import"../../index.server-t859hsx1.js";
81
- import"../../index.server-6pdmym90.js";
82
- import"../../index.server-nj8mebze.js";
83
- import"../../index.server-ge07r1p8.js";
84
- import"../../index.server-mc6vc1pm.js";
85
- import"../../index.server-z7nvkz8v.js";
86
- import"../../index.server-0v6na3yp.js";
87
- export {
88
- shouldShowJumpToLatest,
89
- serializeChatAttachments,
90
- serializeChatAttachment,
91
- messagesToMarkdown,
92
- isAtBottom,
93
- getMessageText,
94
- getMessageRoleLabel,
95
- formatMessageAsMarkdown,
96
- findUnreadBoundaryIndex,
97
- extractTimestamp,
98
- deriveAttachmentKind,
99
- chat_default as default,
100
- createConversation,
101
- calculateUnreadCount,
102
- calculateScrollToBottom,
103
- appendUserMessage,
104
- appendMessages,
105
- appendAssistantMessage,
106
- Tool_call_group as ToolCallGroup,
107
- Message_content as MessageContent,
108
- Message_attachments as MessageAttachments,
109
- DEFAULT_SCROLL_CONFIGURATION,
110
- Conversation_export_actions as ConversationExportActions,
111
- Chat_message as ChatMessage,
112
- Chat_input as ChatInput,
113
- Chat_date_separator as ChatDateSeparator,
114
- Chat_attachment_preview as ChatAttachmentPreview,
115
- Chat_artifact_layout as ChatArtifactLayout,
116
- Chat,
117
- Artifact_viewer as ArtifactViewer,
118
- Artifact_panel as ArtifactPanel
119
- };
120
-
121
- //# debugId=5766A29657D9141664756E2164756E21
@@ -1,26 +0,0 @@
1
- import {
2
- Chat_composer_popover,
3
- chat_composer_popover_default,
4
- filterFuzzySubsequence,
5
- fuzzySubsequenceScore
6
- } from "../../index.server-xtjjmsyq.js";
7
- import"../../index.server-krqvnt6p.js";
8
- import"../../index.server-rga8sc7j.js";
9
- import"../../index.server-0chhpkg7.js";
10
- import"../../index.server-h54v6c32.js";
11
- import"../../index.server-fn57dr4e.js";
12
- import"../../index.server-94b7tjs5.js";
13
- import"../../index.server-egk5q7aj.js";
14
- import"../../index.server-6pdmym90.js";
15
- import"../../index.server-nj8mebze.js";
16
- import"../../index.server-ge07r1p8.js";
17
- import"../../index.server-z7nvkz8v.js";
18
- import"../../index.server-0v6na3yp.js";
19
- export {
20
- fuzzySubsequenceScore,
21
- filterFuzzySubsequence,
22
- chat_composer_popover_default as default,
23
- Chat_composer_popover as ChatComposerPopover
24
- };
25
-
26
- //# debugId=C7F0B4306371DD5564756E2164756E21