@lostgradient/cinder 0.15.0 → 0.16.1

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 (338) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +3 -3
  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/data-table/index.js +88 -31
  8. package/dist/components/drawer/index.js +11 -11
  9. package/dist/components/focus-trap/index.d.ts +1 -0
  10. package/dist/components/focus-trap/index.js +171 -1
  11. package/dist/components/icons/index.d.ts +80 -1
  12. package/dist/components/icons/index.js +1256 -0
  13. package/dist/components/markdown-editor/index.js +170 -170
  14. package/dist/components/modal/index.js +20 -20
  15. package/dist/components/review-editor/index.js +170 -187
  16. package/dist/components/sheet/index.js +11 -11
  17. package/dist/components/sidebar/index.js +37 -37
  18. package/dist/components/table/index.js +85 -28
  19. package/dist/components/table/table.css +11 -0
  20. package/dist/components/table/table.schema.js +10 -1
  21. package/dist/components/table/table.types.d.ts +24 -1
  22. package/dist/index.d.ts +0 -8
  23. package/dist/index.js +23266 -30180
  24. package/dist/server/components/access-gate/index.js +7 -10
  25. package/dist/server/components/alert-dialog/index.js +4 -4
  26. package/dist/server/components/approval-card/index.js +6 -6
  27. package/dist/server/components/autocomplete/index.js +4 -4
  28. package/dist/server/components/choice-grid/index.js +2 -2
  29. package/dist/server/components/color-field/index.js +2 -2
  30. package/dist/server/components/combobox/index.js +3 -3
  31. package/dist/server/components/command-item/index.js +3 -5
  32. package/dist/server/components/command-menu/index.js +3 -5
  33. package/dist/server/components/confirm-dialog/index.js +4 -4
  34. package/dist/server/components/context-menu/index.js +7 -7
  35. package/dist/server/components/data-table/index.js +4 -4
  36. package/dist/server/components/date-picker/index.js +4 -4
  37. package/dist/server/components/date-range-field/index.js +4 -4
  38. package/dist/server/components/diff-viewer/index.js +9 -11
  39. package/dist/server/components/drawer/index.js +4 -4
  40. package/dist/server/components/dropdown/index.js +7 -7
  41. package/dist/server/components/faceted-filter-bar/index.js +2 -2
  42. package/dist/server/components/focus-trap/index.js +7 -2
  43. package/dist/server/components/icons/index.js +156 -0
  44. package/dist/server/components/inline-loading/index.js +1 -1
  45. package/dist/server/components/json-schema-editor/index.js +11 -13
  46. package/dist/server/components/load-more/index.js +2 -3
  47. package/dist/server/components/markdown-editor/index.js +13 -12
  48. package/dist/server/components/menu-bar/index.js +4 -4
  49. package/dist/server/components/modal/index.js +4 -4
  50. package/dist/server/components/popover/index.js +3 -3
  51. package/dist/server/components/review-editor/index.js +169 -122
  52. package/dist/server/components/schedule-builder/index.js +5 -5
  53. package/dist/server/components/schema-form/index.js +1 -1
  54. package/dist/server/components/segment/index.js +3 -3
  55. package/dist/server/components/segmented-control/index.js +4 -4
  56. package/dist/server/components/selection-popover/index.js +3 -3
  57. package/dist/server/components/sheet/index.js +3 -3
  58. package/dist/server/components/sidebar/index.js +4 -4
  59. package/dist/server/components/table/index.js +4 -4
  60. package/dist/server/components/tag-input/index.js +2 -2
  61. package/dist/server/index.js +272 -316
  62. package/dist/server/{index.server-dwwqssey.js → index.server-0qh3v3nq.js} +1 -1
  63. package/dist/server/index.server-25wmev4e.js +2 -0
  64. package/dist/server/{index.server-zdm63dt8.js → index.server-2c56kqws.js} +107 -25
  65. package/dist/server/{index.server-y4n8vc08.js → index.server-2pc5cv6c.js} +1 -1
  66. package/dist/server/{index.server-1vsv7ngz.js → index.server-3g76h7z7.js} +12 -2
  67. package/dist/server/{index.server-xz99aed4.js → index.server-45n4s30n.js} +12 -12
  68. package/dist/server/{index.server-zzd5wpbw.js → index.server-4dfs3xwn.js} +1 -1
  69. package/dist/server/{index.server-vhyjjx9z.js → index.server-4jkqgp17.js} +7 -9
  70. package/dist/server/{index.server-bmxbsk4y.js → index.server-51sxnete.js} +18 -18
  71. package/dist/server/{index.server-1bwvsnjk.js → index.server-6rv1rfwq.js} +37 -14
  72. package/dist/server/{index.server-np3c7kx0.js → index.server-7798gc22.js} +1 -1
  73. package/dist/server/{index.server-2m1kenak.js → index.server-7kjw6qw5.js} +1 -1
  74. package/dist/server/{index.server-tfftb7hs.js → index.server-7zpzspk6.js} +1 -1
  75. package/dist/server/{index.server-7yvpb6z7.js → index.server-894t97kv.js} +4 -4
  76. package/dist/server/{index.server-47v2fhp4.js → index.server-8b35ekqg.js} +1 -1
  77. package/dist/server/{index.server-j5hn2qds.js → index.server-8nm871y8.js} +80 -30
  78. package/dist/server/{index.server-h0cvwvhy.js → index.server-9drzqktm.js} +1 -1
  79. package/dist/server/{index.server-x9s4m9eg.js → index.server-agsdwg53.js} +1 -1
  80. package/dist/server/{index.server-hpeavvnq.js → index.server-b4gp066a.js} +1 -1
  81. package/dist/server/{index.server-gkazv439.js → index.server-bf7d81b4.js} +7 -7
  82. package/dist/server/{index.server-krqvnt6p.js → index.server-d4ft97bx.js} +4 -2
  83. package/dist/server/{index.server-t1x9h8cb.js → index.server-dg19y3m7.js} +1 -1
  84. package/dist/server/{index.server-jt1twhgk.js → index.server-dq0k0qf6.js} +10 -10
  85. package/dist/server/{index.server-pxq277t5.js → index.server-frb9e55d.js} +1 -1
  86. package/dist/server/{index.server-9kz37z89.js → index.server-g3726bja.js} +1 -1
  87. package/dist/server/{index.server-jdcq5zza.js → index.server-gwgm8gqg.js} +8 -8
  88. package/dist/server/index.server-gyzmkrnz.js +2 -0
  89. package/dist/server/{index.server-mr68brd6.js → index.server-jgdtsvz2.js} +1 -1
  90. package/dist/server/{index.server-p56xxef1.js → index.server-m8ya4p7w.js} +1 -1
  91. package/dist/server/{index.server-1nq7z1qw.js → index.server-mda2y5g6.js} +1 -1
  92. package/dist/server/{index.server-e89qfamd.js → index.server-mknhgg07.js} +4 -4
  93. package/dist/server/{index.server-j570vb03.js → index.server-mvjzcna5.js} +1 -1
  94. package/dist/server/index.server-n4jxy52q.js +2 -0
  95. package/dist/server/{index.server-eftvmq3f.js → index.server-pfbzz3x7.js} +1 -1
  96. package/dist/server/{index.server-zrh23kty.js → index.server-pyjzfjfn.js} +1 -1
  97. package/dist/server/{index.server-rga8sc7j.js → index.server-q1d48s9t.js} +40 -36
  98. package/dist/server/{index.server-46cjwcqw.js → index.server-qv0kkre4.js} +5 -5
  99. package/dist/server/{index.server-yhzydqxe.js → index.server-r82zjq88.js} +5 -5
  100. package/dist/server/{index.server-9ykk1kbg.js → index.server-rbd5ys4z.js} +1 -1
  101. package/dist/server/{index.server-tcay903b.js → index.server-tnecnach.js} +4 -4
  102. package/dist/server/{index.server-h89zk5ev.js → index.server-wasj5rbh.js} +8 -8
  103. package/dist/server/{index.server-9ra3xv88.js → index.server-x66zvjfc.js} +9 -9
  104. package/dist/server/index.server-xanq9ppe.js +119 -0
  105. package/dist/server/{index.server-6sh11ap6.js → index.server-y4kfz0er.js} +1 -1
  106. package/dist/server/{index.server-n82rcv0m.js → index.server-z721a5gp.js} +4 -4
  107. package/dist/server/{index.server-mm1xa3kr.js → index.server-zdhv33ph.js} +51 -20
  108. package/dist/server/{index.server-t3hknp1c.js → index.server-zm04d9eq.js} +4 -4
  109. package/dist/server/{index.server-nx9c2ep1.js → index.server-zncgb7mw.js} +2 -2
  110. package/package.json +10 -130
  111. package/src/components/focus-trap/index.ts +1 -0
  112. package/src/components/icons/index.ts +82 -40
  113. package/src/components/table/table.css +11 -0
  114. package/src/components/table/table.examples.json +3 -3
  115. package/src/components/table/table.schema.json +9 -0
  116. package/src/components/table/table.schema.ts +11 -0
  117. package/src/components/table/table.svelte +58 -14
  118. package/src/components/table/table.types.ts +27 -1
  119. package/src/index.ts +0 -34
  120. package/src/styles/components.css +0 -4
  121. package/dist/components/chat/adapter/chat-adapter.d.ts +0 -123
  122. package/dist/components/chat/adapter/index.d.ts +0 -8
  123. package/dist/components/chat/artifact/artifact-panel.svelte.d.ts +0 -15
  124. package/dist/components/chat/artifact/artifact-viewer.svelte.d.ts +0 -10
  125. package/dist/components/chat/artifact/chat-artifact-layout.svelte.d.ts +0 -23
  126. package/dist/components/chat/artifact/index.d.ts +0 -3
  127. package/dist/components/chat/builders.d.ts +0 -25
  128. package/dist/components/chat/chat.css +0 -16
  129. package/dist/components/chat/chat.css.d.ts +0 -1
  130. package/dist/components/chat/chat.schema.d.ts +0 -3
  131. package/dist/components/chat/chat.schema.js +0 -366
  132. package/dist/components/chat/chat.svelte.d.ts +0 -31
  133. package/dist/components/chat/chat.types.d.ts +0 -268
  134. package/dist/components/chat/chat.variables.d.ts +0 -2
  135. package/dist/components/chat/chat.variables.js +0 -61
  136. package/dist/components/chat/container/chat-events.d.ts +0 -22
  137. package/dist/components/chat/container/chat-history-trigger.svelte.d.ts +0 -15
  138. package/dist/components/chat/container/chat-jump-controls.svelte.d.ts +0 -24
  139. package/dist/components/chat/container/chat-participant-typing.svelte.d.ts +0 -31
  140. package/dist/components/chat/container/chat-search-bar.svelte.d.ts +0 -38
  141. package/dist/components/chat/container/chat-status-announcer.svelte.d.ts +0 -21
  142. package/dist/components/chat/container/chat.svelte.d.ts +0 -17
  143. package/dist/components/chat/container/index.d.ts +0 -12
  144. package/dist/components/chat/container/scroll-utilities.d.ts +0 -119
  145. package/dist/components/chat/container/use-chat-disclosure-state.svelte.d.ts +0 -58
  146. package/dist/components/chat/container/use-chat-keyboard-nav.svelte.d.ts +0 -57
  147. package/dist/components/chat/container/use-chat-message-groups.svelte.d.ts +0 -74
  148. package/dist/components/chat/container/use-chat-read-receipts.svelte.d.ts +0 -51
  149. package/dist/components/chat/container/use-chat-scroll-state.svelte.d.ts +0 -111
  150. package/dist/components/chat/container/use-chat-search.svelte.d.ts +0 -82
  151. package/dist/components/chat/container/use-chat-typing-indicator.svelte.d.ts +0 -76
  152. package/dist/components/chat/container/use-chat-unread-state.svelte.d.ts +0 -80
  153. package/dist/components/chat/container/use-chat-virtualizer.svelte.d.ts +0 -47
  154. package/dist/components/chat/conversation-model.d.ts +0 -16
  155. package/dist/components/chat/export/conversation-export-actions.svelte.d.ts +0 -17
  156. package/dist/components/chat/export/index.d.ts +0 -8
  157. package/dist/components/chat/index.d.ts +0 -25
  158. package/dist/components/chat/index.js +0 -11319
  159. package/dist/components/chat/input/attachment-kind.d.ts +0 -10
  160. package/dist/components/chat/input/chat-attachment-preview.svelte.d.ts +0 -8
  161. package/dist/components/chat/input/chat-attachment-serialization.d.ts +0 -9
  162. package/dist/components/chat/input/chat-attachment.d.ts +0 -11
  163. package/dist/components/chat/input/chat-input.svelte.d.ts +0 -79
  164. package/dist/components/chat/input/index.d.ts +0 -5
  165. package/dist/components/chat/message/chat-date-separator.svelte.d.ts +0 -12
  166. package/dist/components/chat/message/chat-message-parts-renderer.svelte.d.ts +0 -4
  167. package/dist/components/chat/message/chat-message-parts.d.ts +0 -96
  168. package/dist/components/chat/message/chat-message.svelte.d.ts +0 -91
  169. package/dist/components/chat/message/chat-read-receipt.svelte.d.ts +0 -27
  170. package/dist/components/chat/message/image-lightbox.svelte.d.ts +0 -17
  171. package/dist/components/chat/message/index.d.ts +0 -6
  172. package/dist/components/chat/message/markdown-preview.svelte.d.ts +0 -8
  173. package/dist/components/chat/message/message-attachments.svelte.d.ts +0 -17
  174. package/dist/components/chat/message/message-content.svelte.d.ts +0 -18
  175. package/dist/components/chat/message/parts/image-part.svelte.d.ts +0 -17
  176. package/dist/components/chat/message/parts/markdown-part.svelte.d.ts +0 -8
  177. package/dist/components/chat/message/parts/reasoning-part.svelte.d.ts +0 -12
  178. package/dist/components/chat/message/parts/step-part.svelte.d.ts +0 -8
  179. package/dist/components/chat/message/parts/suggestion-part.svelte.d.ts +0 -18
  180. package/dist/components/chat/message/parts/tool-approval-part.svelte.d.ts +0 -12
  181. package/dist/components/chat/message/parts/tool-call-part.svelte.d.ts +0 -12
  182. package/dist/components/chat/message/parts/tool-result-part.svelte.d.ts +0 -8
  183. package/dist/components/chat/message/tool-call-group.svelte.d.ts +0 -15
  184. package/dist/components/chat/message/tool-payload-code.svelte.d.ts +0 -9
  185. package/dist/components/chat/utilities/conversation.d.ts +0 -12
  186. package/dist/components/chat/utilities/index.d.ts +0 -9
  187. package/dist/components/chat/utilities/types.d.ts +0 -262
  188. package/dist/components/chat/utilities/utilities.d.ts +0 -140
  189. package/dist/components/chat-composer-popover/chat-composer-popover-filter.d.ts +0 -11
  190. package/dist/components/chat-composer-popover/chat-composer-popover.css +0 -7
  191. package/dist/components/chat-composer-popover/chat-composer-popover.css.d.ts +0 -1
  192. package/dist/components/chat-composer-popover/chat-composer-popover.schema.d.ts +0 -3
  193. package/dist/components/chat-composer-popover/chat-composer-popover.schema.js +0 -150
  194. package/dist/components/chat-composer-popover/chat-composer-popover.svelte.d.ts +0 -46
  195. package/dist/components/chat-composer-popover/chat-composer-popover.types.d.ts +0 -77
  196. package/dist/components/chat-composer-popover/chat-composer-popover.variables.d.ts +0 -2
  197. package/dist/components/chat-composer-popover/chat-composer-popover.variables.js +0 -61
  198. package/dist/components/chat-composer-popover/index.d.ts +0 -6
  199. package/dist/components/chat-composer-popover/index.js +0 -3285
  200. package/dist/components/chat-conversation-header/chat-conversation-header.css +0 -51
  201. package/dist/components/chat-conversation-header/chat-conversation-header.css.d.ts +0 -1
  202. package/dist/components/chat-conversation-header/chat-conversation-header.schema.d.ts +0 -3
  203. package/dist/components/chat-conversation-header/chat-conversation-header.schema.js +0 -94
  204. package/dist/components/chat-conversation-header/chat-conversation-header.svelte.d.ts +0 -19
  205. package/dist/components/chat-conversation-header/chat-conversation-header.types.d.ts +0 -18
  206. package/dist/components/chat-conversation-header/chat-conversation-header.variables.d.ts +0 -2
  207. package/dist/components/chat-conversation-header/chat-conversation-header.variables.js +0 -61
  208. package/dist/components/chat-conversation-header/index.d.ts +0 -5
  209. package/dist/components/chat-conversation-header/index.js +0 -4278
  210. package/dist/components/chat-conversation-list/chat-conversation-list.css +0 -127
  211. package/dist/components/chat-conversation-list/chat-conversation-list.css.d.ts +0 -1
  212. package/dist/components/chat-conversation-list/chat-conversation-list.schema.d.ts +0 -3
  213. package/dist/components/chat-conversation-list/chat-conversation-list.schema.js +0 -105
  214. package/dist/components/chat-conversation-list/chat-conversation-list.svelte.d.ts +0 -21
  215. package/dist/components/chat-conversation-list/chat-conversation-list.types.d.ts +0 -17
  216. package/dist/components/chat-conversation-list/chat-conversation-list.variables.d.ts +0 -2
  217. package/dist/components/chat-conversation-list/chat-conversation-list.variables.js +0 -61
  218. package/dist/components/chat-conversation-list/conversation-summary.d.ts +0 -30
  219. package/dist/components/chat-conversation-list/index.d.ts +0 -6
  220. package/dist/components/chat-conversation-list/index.js +0 -536
  221. package/dist/server/components/chat/index.js +0 -131
  222. package/dist/server/components/chat-composer-popover/index.js +0 -26
  223. package/dist/server/components/chat-conversation-header/index.js +0 -41
  224. package/dist/server/components/chat-conversation-list/index.js +0 -19
  225. package/dist/server/index.server-2bbwajb2.js +0 -54
  226. package/dist/server/index.server-2hqrv7ca.js +0 -9
  227. package/dist/server/index.server-67qgdypc.js +0 -9
  228. package/dist/server/index.server-6hnfzc7f.js +0 -263
  229. package/dist/server/index.server-8rmtb8vx.js +0 -175
  230. package/dist/server/index.server-a59y47rw.js +0 -59
  231. package/dist/server/index.server-bfkka7x4.js +0 -2
  232. package/dist/server/index.server-czf35aba.js +0 -4241
  233. package/dist/server/index.server-kb6w1a7c.js +0 -27
  234. package/dist/server/index.server-mzj20rfz.js +0 -77
  235. package/dist/server/index.server-nphtb2ey.js +0 -76
  236. package/dist/server/index.server-qkfd0qa7.js +0 -2
  237. package/dist/server/index.server-rf67m8v5.js +0 -2
  238. package/dist/server/index.server-rqe5bqgm.js +0 -37
  239. package/dist/server/index.server-xtjjmsyq.js +0 -315
  240. package/dist/server/index.server-yq9evnp4.js +0 -38
  241. package/dist/server/index.server-z1qvwaem.js +0 -74
  242. package/dist/server/index.server-z7hxtqs1.js +0 -83
  243. package/src/components/chat/adapter/chat-adapter.ts +0 -132
  244. package/src/components/chat/adapter/index.ts +0 -15
  245. package/src/components/chat/artifact/artifact-panel.svelte +0 -112
  246. package/src/components/chat/artifact/artifact-viewer.svelte +0 -101
  247. package/src/components/chat/artifact/chat-artifact-layout.svelte +0 -56
  248. package/src/components/chat/artifact/index.ts +0 -3
  249. package/src/components/chat/builders.ts +0 -464
  250. package/src/components/chat/chat.css +0 -16
  251. package/src/components/chat/chat.examples.json +0 -67
  252. package/src/components/chat/chat.schema.json +0 -290
  253. package/src/components/chat/chat.schema.ts +0 -335
  254. package/src/components/chat/chat.svelte +0 -67
  255. package/src/components/chat/chat.types.ts +0 -284
  256. package/src/components/chat/chat.variables.json +0 -1
  257. package/src/components/chat/chat.variables.ts +0 -3
  258. package/src/components/chat/container/chat-events.ts +0 -26
  259. package/src/components/chat/container/chat-history-trigger.svelte +0 -95
  260. package/src/components/chat/container/chat-jump-controls.svelte +0 -191
  261. package/src/components/chat/container/chat-participant-typing.svelte +0 -128
  262. package/src/components/chat/container/chat-search-bar.svelte +0 -219
  263. package/src/components/chat/container/chat-status-announcer.svelte +0 -22
  264. package/src/components/chat/container/chat.svelte +0 -1879
  265. package/src/components/chat/container/index.ts +0 -64
  266. package/src/components/chat/container/scroll-utilities.ts +0 -204
  267. package/src/components/chat/container/use-chat-disclosure-state.svelte.ts +0 -62
  268. package/src/components/chat/container/use-chat-keyboard-nav.svelte.ts +0 -153
  269. package/src/components/chat/container/use-chat-message-groups.svelte.ts +0 -146
  270. package/src/components/chat/container/use-chat-read-receipts.svelte.ts +0 -62
  271. package/src/components/chat/container/use-chat-scroll-state.svelte.ts +0 -292
  272. package/src/components/chat/container/use-chat-search.svelte.ts +0 -116
  273. package/src/components/chat/container/use-chat-typing-indicator.svelte.ts +0 -153
  274. package/src/components/chat/container/use-chat-unread-state.svelte.ts +0 -170
  275. package/src/components/chat/container/use-chat-virtualizer.svelte.ts +0 -260
  276. package/src/components/chat/conversation-model.ts +0 -56
  277. package/src/components/chat/export/conversation-export-actions.svelte +0 -174
  278. package/src/components/chat/export/index.ts +0 -9
  279. package/src/components/chat/index.ts +0 -160
  280. package/src/components/chat/input/attachment-kind.ts +0 -28
  281. package/src/components/chat/input/chat-attachment-preview.svelte +0 -223
  282. package/src/components/chat/input/chat-attachment-serialization.ts +0 -63
  283. package/src/components/chat/input/chat-attachment.ts +0 -12
  284. package/src/components/chat/input/chat-input.svelte +0 -810
  285. package/src/components/chat/input/index.ts +0 -9
  286. package/src/components/chat/message/chat-date-separator.svelte +0 -87
  287. package/src/components/chat/message/chat-message-parts-renderer.svelte +0 -139
  288. package/src/components/chat/message/chat-message-parts.ts +0 -163
  289. package/src/components/chat/message/chat-message.svelte +0 -861
  290. package/src/components/chat/message/chat-read-receipt.svelte +0 -85
  291. package/src/components/chat/message/image-lightbox.svelte +0 -255
  292. package/src/components/chat/message/index.ts +0 -6
  293. package/src/components/chat/message/markdown-preview.svelte +0 -77
  294. package/src/components/chat/message/message-attachments.svelte +0 -178
  295. package/src/components/chat/message/message-content.svelte +0 -132
  296. package/src/components/chat/message/parts/image-part.svelte +0 -11
  297. package/src/components/chat/message/parts/markdown-part.svelte +0 -17
  298. package/src/components/chat/message/parts/reasoning-part.svelte +0 -274
  299. package/src/components/chat/message/parts/step-part.svelte +0 -127
  300. package/src/components/chat/message/parts/suggestion-part.svelte +0 -83
  301. package/src/components/chat/message/parts/tool-approval-part.svelte +0 -298
  302. package/src/components/chat/message/parts/tool-call-part.svelte +0 -19
  303. package/src/components/chat/message/parts/tool-result-part.svelte +0 -65
  304. package/src/components/chat/message/tool-call-group.svelte +0 -274
  305. package/src/components/chat/message/tool-payload-code.svelte +0 -35
  306. package/src/components/chat/utilities/conversation.ts +0 -44
  307. package/src/components/chat/utilities/index.ts +0 -33
  308. package/src/components/chat/utilities/types.ts +0 -288
  309. package/src/components/chat/utilities/utilities.ts +0 -507
  310. package/src/components/chat-composer-popover/chat-composer-popover-filter.ts +0 -68
  311. package/src/components/chat-composer-popover/chat-composer-popover.css +0 -7
  312. package/src/components/chat-composer-popover/chat-composer-popover.examples.json +0 -13
  313. package/src/components/chat-composer-popover/chat-composer-popover.schema.json +0 -90
  314. package/src/components/chat-composer-popover/chat-composer-popover.schema.ts +0 -95
  315. package/src/components/chat-composer-popover/chat-composer-popover.svelte +0 -234
  316. package/src/components/chat-composer-popover/chat-composer-popover.types.ts +0 -88
  317. package/src/components/chat-composer-popover/chat-composer-popover.variables.json +0 -1
  318. package/src/components/chat-composer-popover/chat-composer-popover.variables.ts +0 -3
  319. package/src/components/chat-composer-popover/index.ts +0 -19
  320. package/src/components/chat-conversation-header/chat-conversation-header.css +0 -51
  321. package/src/components/chat-conversation-header/chat-conversation-header.examples.json +0 -13
  322. package/src/components/chat-conversation-header/chat-conversation-header.schema.json +0 -34
  323. package/src/components/chat-conversation-header/chat-conversation-header.schema.ts +0 -38
  324. package/src/components/chat-conversation-header/chat-conversation-header.svelte +0 -49
  325. package/src/components/chat-conversation-header/chat-conversation-header.types.ts +0 -20
  326. package/src/components/chat-conversation-header/chat-conversation-header.variables.json +0 -1
  327. package/src/components/chat-conversation-header/chat-conversation-header.variables.ts +0 -3
  328. package/src/components/chat-conversation-header/index.ts +0 -9
  329. package/src/components/chat-conversation-list/chat-conversation-list.css +0 -127
  330. package/src/components/chat-conversation-list/chat-conversation-list.examples.json +0 -13
  331. package/src/components/chat-conversation-list/chat-conversation-list.schema.json +0 -45
  332. package/src/components/chat-conversation-list/chat-conversation-list.schema.ts +0 -52
  333. package/src/components/chat-conversation-list/chat-conversation-list.svelte +0 -75
  334. package/src/components/chat-conversation-list/chat-conversation-list.types.ts +0 -18
  335. package/src/components/chat-conversation-list/chat-conversation-list.variables.json +0 -1
  336. package/src/components/chat-conversation-list/chat-conversation-list.variables.ts +0 -3
  337. package/src/components/chat-conversation-list/conversation-summary.ts +0 -88
  338. 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,131 +0,0 @@
1
- import {
2
- Artifact_panel,
3
- Artifact_viewer,
4
- CURRENT_SCHEMA_VERSION,
5
- Chat,
6
- Chat_artifact_layout,
7
- Chat_attachment_preview,
8
- Chat_date_separator,
9
- Chat_input,
10
- Chat_message,
11
- DEFAULT_SCROLL_CONFIGURATION,
12
- Message_attachments,
13
- Message_content,
14
- Tool_call_group,
15
- appendAssistantMessage,
16
- appendMessages,
17
- appendStreamingMessage,
18
- appendUserMessage,
19
- calculateScrollToBottom,
20
- calculateUnreadCount,
21
- cancelStreamingMessage,
22
- chat_default,
23
- createConversation,
24
- deriveAttachmentKind,
25
- extractTimestamp,
26
- finalizeStreamingMessage,
27
- findUnreadBoundaryIndex,
28
- isAtBottom,
29
- serializeChatAttachment,
30
- serializeChatAttachments,
31
- shouldShowJumpToLatest,
32
- updateStreamingMessage
33
- } from "../../index.server-czf35aba.js";
34
- import"../../index.server-qkfd0qa7.js";
35
- import"../../index.server-kb6w1a7c.js";
36
- import"../../index.server-317enkqq.js";
37
- import"../../index.server-g75bhbvb.js";
38
- import"../../index.server-gbzsb04q.js";
39
- import"../../index.server-rf67m8v5.js";
40
- import"../../index.server-w6am2dxc.js";
41
- import {
42
- Conversation_export_actions
43
- } from "../../index.server-8rmtb8vx.js";
44
- import"../../index.server-z1qvwaem.js";
45
- import"../../index.server-tfftb7hs.js";
46
- import"../../index.server-bqjv32nb.js";
47
- import"../../index.server-bfkka7x4.js";
48
- import"../../index.server-4rdkwmfb.js";
49
- import"../../index.server-kvdrhzr3.js";
50
- import"../../index.server-r84kvx9x.js";
51
- import"../../index.server-r70ezssy.js";
52
- import"../../index.server-sz8sxsj6.js";
53
- import"../../index.server-et3p2cfq.js";
54
- import {
55
- formatMessageAsMarkdown,
56
- getMessageRoleLabel,
57
- getMessageText,
58
- messagesToMarkdown
59
- } from "../../index.server-6hnfzc7f.js";
60
- import"../../index.server-493m9fm5.js";
61
- import"../../index.server-j5hn2qds.js";
62
- import"../../index.server-a59y47rw.js";
63
- import"../../index.server-qdnsgt12.js";
64
- import"../../index.server-vzc1j5mq.js";
65
- import"../../index.server-mm1xa3kr.js";
66
- import"../../index.server-rqe5bqgm.js";
67
- import"../../index.server-yq9evnp4.js";
68
- import"../../index.server-x9s4m9eg.js";
69
- import"../../index.server-zwjp26z8.js";
70
- import"../../index.server-1vsv7ngz.js";
71
- import"../../index.server-d3pqthtp.js";
72
- import"../../index.server-z1q7qnb8.js";
73
- import"../../index.server-bvsb9gea.js";
74
- import"../../index.server-htmd13mc.js";
75
- import"../../index.server-vmsmaztb.js";
76
- import"../../index.server-9r6rts7c.js";
77
- import"../../index.server-44vrcbhz.js";
78
- import"../../index.server-94b7tjs5.js";
79
- import"../../index.server-egk5q7aj.js";
80
- import"../../index.server-8hdvr9bt.js";
81
- import"../../index.server-2j52msk2.js";
82
- import"../../index.server-62p9v60x.js";
83
- import"../../index.server-wwk0f944.js";
84
- import"../../index.server-s4ynjgep.js";
85
- import"../../index.server-t859hsx1.js";
86
- import"../../index.server-6pdmym90.js";
87
- import"../../index.server-nj8mebze.js";
88
- import"../../index.server-ge07r1p8.js";
89
- import"../../index.server-mc6vc1pm.js";
90
- import"../../index.server-z7nvkz8v.js";
91
- import"../../index.server-0v6na3yp.js";
92
- export {
93
- updateStreamingMessage,
94
- shouldShowJumpToLatest,
95
- serializeChatAttachments,
96
- serializeChatAttachment,
97
- messagesToMarkdown,
98
- isAtBottom,
99
- getMessageText,
100
- getMessageRoleLabel,
101
- formatMessageAsMarkdown,
102
- findUnreadBoundaryIndex,
103
- finalizeStreamingMessage,
104
- extractTimestamp,
105
- deriveAttachmentKind,
106
- chat_default as default,
107
- createConversation,
108
- cancelStreamingMessage,
109
- calculateUnreadCount,
110
- calculateScrollToBottom,
111
- appendUserMessage,
112
- appendStreamingMessage,
113
- appendMessages,
114
- appendAssistantMessage,
115
- Tool_call_group as ToolCallGroup,
116
- Message_content as MessageContent,
117
- Message_attachments as MessageAttachments,
118
- DEFAULT_SCROLL_CONFIGURATION,
119
- Conversation_export_actions as ConversationExportActions,
120
- Chat_message as ChatMessage,
121
- Chat_input as ChatInput,
122
- Chat_date_separator as ChatDateSeparator,
123
- Chat_attachment_preview as ChatAttachmentPreview,
124
- Chat_artifact_layout as ChatArtifactLayout,
125
- Chat,
126
- CURRENT_SCHEMA_VERSION,
127
- Artifact_viewer as ArtifactViewer,
128
- Artifact_panel as ArtifactPanel
129
- };
130
-
131
- //# debugId=DA9264A3674823E364756E2164756E21
@@ -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