@frontera-sdk/chat-ui 1.50.79 → 1.50.80

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 (46) hide show
  1. package/dist/agent-picker.js +6 -6
  2. package/dist/{capture-NO5ZIGP6.js → capture-G4CDPSBH.js} +1 -1
  3. package/dist/chat.d.ts +1 -1
  4. package/dist/chat.js +4594 -941
  5. package/dist/{chunk-V44YVBRX.js → chunk-2P4IEVOQ.js} +29 -12
  6. package/dist/{chunk-WMN6BPPS.js → chunk-4FRTPVJT.js} +2 -2
  7. package/dist/{chunk-UTKQ6G2A.js → chunk-5B25DNOG.js} +7 -7
  8. package/dist/{chunk-FTLVGUG5.js → chunk-7AT2LRVW.js} +2640 -153
  9. package/dist/{chunk-FNIHHKOZ.js → chunk-C2TZSGKK.js} +1374 -186
  10. package/dist/{chunk-BDJFVRYR.js → chunk-C3HW5S2Z.js} +57 -18
  11. package/dist/chunk-CWAOLMFS.js +32 -0
  12. package/dist/{chunk-26L3ST3H.js → chunk-EFFOOCIK.js} +5975 -639
  13. package/dist/{chunk-J7EWRXEC.js → chunk-EXPHCRFP.js} +3 -3
  14. package/dist/{chunk-PH7AYVSS.js → chunk-FLOAEPRU.js} +4 -4
  15. package/dist/chunk-LGVMMBL3.js +33 -0
  16. package/dist/{chunk-IQXJEZM7.js → chunk-LOBDKA2D.js} +328 -32
  17. package/dist/{chunk-FDGBZFGN.js → chunk-PKNEC4LJ.js} +528 -12
  18. package/dist/{chunk-TSKFBMGC.js → chunk-PUMRNN3R.js} +117 -66
  19. package/dist/{chunk-S3ECTKA3.js → chunk-QBV7MAFV.js} +30 -4
  20. package/dist/{chunk-F6PEZE7A.js → chunk-T5SANYSX.js} +3 -10
  21. package/dist/{chunk-AFVU5VT6.js → chunk-TUDJ35AB.js} +1071 -87
  22. package/dist/{chunk-ROJM44GB.js → chunk-UWKO24VT.js} +28 -2
  23. package/dist/{chunk-KHF7OM3F.js → chunk-UZ6RDWCT.js} +4 -4
  24. package/dist/chunk-X3QVICX7.js +32 -0
  25. package/dist/client.d.ts +3 -3
  26. package/dist/client.js +1 -1
  27. package/dist/header.d.ts +1 -1
  28. package/dist/header.js +15 -15
  29. package/dist/message.js +14 -15
  30. package/dist/new-session.d.ts +1 -1
  31. package/dist/new-session.js +7 -8
  32. package/dist/parts.js +6 -6
  33. package/dist/{pdf-deck-view-inner-AY4FYDAJ.js → pdf-deck-view-inner-KW6RIALH.js} +7 -8
  34. package/dist/{pdf-document-view-inner-NC5MBN7X.js → pdf-document-view-inner-AJEP5IJC.js} +6 -7
  35. package/dist/{pdf-viewer-inner-GPES3KG2.js → pdf-viewer-inner-CXWPRACH.js} +2 -2
  36. package/dist/pending-cards.js +7 -7
  37. package/dist/platform.css +1 -1
  38. package/package.json +7 -4
  39. package/dist/chunk-6BPHEBCF.js +0 -639
  40. package/dist/chunk-IXDM5R55.js +0 -23
  41. package/dist/chunk-XLX3L3P4.js +0 -43
  42. package/dist/vega-chart-block-NQADYNWQ.js +0 -2857
  43. package/dist/{chunk-7ADM3CKD.js → chunk-6JLWE7M3.js} +0 -0
  44. package/dist/{pdf-cover-thumbnail-inner-4N2Q5AAG.js → pdf-cover-thumbnail-inner-B2P6S25B.js} +0 -0
  45. package/dist/{types-BDqLaBfH.d.ts → types-BZhoOcz2.d.ts} +3 -3
  46. /package/dist/{univer-workbook-LSBVETAQ.js → univer-workbook-PENO65OQ.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- import { Button, Skeleton, ScrollArea } from './chunk-ROJM44GB.js';
3
- import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from './chunk-V44YVBRX.js';
4
- import { cn, usePortalContainer } from './chunk-XLX3L3P4.js';
5
- import { SquareArrowTopRightIcon, Checkmark1Icon, ClipboardIcon, Book3Icon, ChevronDownMediumIcon, ApiAppIcon, TextToImageIcon, Robot4Icon, DeviceDesktopIcon, PhotoIcon, Code2Icon, Terminal2Icon, Folder1Icon, PencilIcon, FileTextIcon, WritingIcon, WorldSearchIcon, icons_exports } from './chunk-AFVU5VT6.js';
2
+ import { Button, Skeleton, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
3
+ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from './chunk-2P4IEVOQ.js';
4
+ import { icons_exports } from './chunk-TUDJ35AB.js';
5
+ import { cn, Checkmark1Icon, usePortalContainer } from './chunk-LGVMMBL3.js';
6
6
  import '@radix-ui/react-slot';
7
7
  import { cva } from 'class-variance-authority';
8
8
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -67,6 +67,462 @@ function HoverCardContent({
67
67
  ) })
68
68
  );
69
69
  }
70
+ function ClockIcon(props) {
71
+ return /* @__PURE__ */ jsx(
72
+ "svg",
73
+ {
74
+ "aria-hidden": "true",
75
+ role: "img",
76
+ "aria-label": "clock, time, timer",
77
+ width: "24px",
78
+ height: "24px",
79
+ viewBox: "0 0 24 24",
80
+ fill: "none",
81
+ xmlns: "http://www.w3.org/2000/svg",
82
+ ...props,
83
+ children: /* @__PURE__ */ jsx(
84
+ "path",
85
+ {
86
+ d: "M12 7.75V12L14.75 14.75M21.25 12C21.25 17.1086 17.1086 21.25 12 21.25C6.89137 21.25 2.75 17.1086 2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12Z",
87
+ stroke: "currentColor",
88
+ strokeWidth: "1.5",
89
+ strokeLinecap: "round",
90
+ strokeLinejoin: "round"
91
+ }
92
+ )
93
+ }
94
+ );
95
+ }
96
+ function CircleXIcon(props) {
97
+ return /* @__PURE__ */ jsx(
98
+ "svg",
99
+ {
100
+ "aria-hidden": "true",
101
+ role: "img",
102
+ "aria-label": "circle-x, close, checkbox, remove, failed, cancel",
103
+ width: "24px",
104
+ height: "24px",
105
+ viewBox: "0 0 24 24",
106
+ fill: "none",
107
+ xmlns: "http://www.w3.org/2000/svg",
108
+ ...props,
109
+ children: /* @__PURE__ */ jsx(
110
+ "path",
111
+ {
112
+ d: "M15 9L9 15M15 15L9 9M21.25 12C21.25 17.1086 17.1086 21.25 12 21.25C6.89137 21.25 2.75 17.1086 2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12Z",
113
+ stroke: "currentColor",
114
+ strokeWidth: "1.5",
115
+ strokeLinecap: "round"
116
+ }
117
+ )
118
+ }
119
+ );
120
+ }
121
+ function Robot4Icon(props) {
122
+ return /* @__PURE__ */ jsxs(
123
+ "svg",
124
+ {
125
+ "aria-hidden": "true",
126
+ role: "img",
127
+ "aria-label": "robot-4, agent, bot",
128
+ width: "24px",
129
+ height: "24px",
130
+ viewBox: "0 0 24 24",
131
+ fill: "none",
132
+ xmlns: "http://www.w3.org/2000/svg",
133
+ ...props,
134
+ children: [
135
+ /* @__PURE__ */ jsx("path", { d: "M6 6a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2l0 -4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
136
+ /* @__PURE__ */ jsx("path", { d: "M12 2v2", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
137
+ /* @__PURE__ */ jsx("path", { d: "M9 12v9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
138
+ /* @__PURE__ */ jsx("path", { d: "M15 12v9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
139
+ /* @__PURE__ */ jsx("path", { d: "M5 16l4 -2", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
140
+ /* @__PURE__ */ jsx("path", { d: "M15 14l4 2", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
141
+ /* @__PURE__ */ jsx("path", { d: "M9 18h6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
142
+ /* @__PURE__ */ jsx("path", { d: "M10 8v.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
143
+ /* @__PURE__ */ jsx("path", { d: "M14 8v.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
144
+ ]
145
+ }
146
+ );
147
+ }
148
+ function WorldSearchIcon(props) {
149
+ return /* @__PURE__ */ jsxs(
150
+ "svg",
151
+ {
152
+ "aria-hidden": "true",
153
+ role: "img",
154
+ "aria-label": "world-search, globe, search, web",
155
+ width: "24px",
156
+ height: "24px",
157
+ viewBox: "0 0 24 24",
158
+ fill: "none",
159
+ xmlns: "http://www.w3.org/2000/svg",
160
+ ...props,
161
+ children: [
162
+ /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 0 -9 9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
163
+ /* @__PURE__ */ jsx("path", { d: "M3.6 9h16.8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
164
+ /* @__PURE__ */ jsx("path", { d: "M3.6 15h7.9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
165
+ /* @__PURE__ */ jsx("path", { d: "M11.5 3a17 17 0 0 0 0 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
166
+ /* @__PURE__ */ jsx("path", { d: "M12.5 3a16.984 16.984 0 0 1 2.574 8.62", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
167
+ /* @__PURE__ */ jsx("path", { d: "M15 18a3 3 0 1 0 6 0a3 3 0 1 0 -6 0", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
168
+ /* @__PURE__ */ jsx("path", { d: "M20.2 20.2l1.8 1.8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
169
+ ]
170
+ }
171
+ );
172
+ }
173
+ function Book3Icon(props) {
174
+ return /* @__PURE__ */ jsxs(
175
+ "svg",
176
+ {
177
+ "aria-hidden": "true",
178
+ role: "img",
179
+ "aria-label": "book-3, guide, manual",
180
+ width: "24px",
181
+ height: "24px",
182
+ viewBox: "0 0 24 24",
183
+ fill: "none",
184
+ xmlns: "http://www.w3.org/2000/svg",
185
+ ...props,
186
+ children: [
187
+ /* @__PURE__ */ jsx("path", { d: "M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
188
+ /* @__PURE__ */ jsx("path", { d: "M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
189
+ /* @__PURE__ */ jsx("path", { d: "M3 6l0 13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
190
+ /* @__PURE__ */ jsx("path", { d: "M12 6l0 13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
191
+ /* @__PURE__ */ jsx("path", { d: "M21 6l0 13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
192
+ ]
193
+ }
194
+ );
195
+ }
196
+ function WritingIcon(props) {
197
+ return /* @__PURE__ */ jsxs(
198
+ "svg",
199
+ {
200
+ "aria-hidden": "true",
201
+ role: "img",
202
+ "aria-label": "writing, sketching, drawing",
203
+ width: "24px",
204
+ height: "24px",
205
+ viewBox: "0 0 24 24",
206
+ fill: "none",
207
+ xmlns: "http://www.w3.org/2000/svg",
208
+ ...props,
209
+ children: [
210
+ /* @__PURE__ */ jsx(
211
+ "path",
212
+ {
213
+ d: "M19.75 4.24998C18.9216 3.42156 17.5784 3.42156 16.75 4.24998L12.6287 8.3713C12.0661 8.93391 11.75 9.69697 11.75 10.4926V12.25H13.5074C14.303 12.25 15.0661 11.9339 15.6287 11.3713L19.75 7.24998C20.5784 6.42155 20.5784 5.07841 19.75 4.24998Z",
214
+ stroke: "currentColor",
215
+ strokeWidth: "1.5",
216
+ strokeLinecap: "round",
217
+ strokeLinejoin: "round"
218
+ }
219
+ ),
220
+ /* @__PURE__ */ jsx(
221
+ "path",
222
+ {
223
+ d: "M8.25 12.25H5.75C4.64543 12.25 3.75 13.1454 3.75 14.25C3.75 15.3546 4.64543 16.25 5.75 16.25H16.25C17.3546 16.25 18.25 17.1454 18.25 18.25C18.25 19.3546 17.3546 20.25 16.25 20.25H11.75",
224
+ stroke: "currentColor",
225
+ strokeWidth: "1.5",
226
+ strokeLinecap: "round",
227
+ strokeLinejoin: "round"
228
+ }
229
+ )
230
+ ]
231
+ }
232
+ );
233
+ }
234
+ function ApiAppIcon(props) {
235
+ return /* @__PURE__ */ jsxs(
236
+ "svg",
237
+ {
238
+ "aria-hidden": "true",
239
+ role: "img",
240
+ "aria-label": "api-app, api, endpoint, connector",
241
+ width: "24px",
242
+ height: "24px",
243
+ viewBox: "0 0 24 24",
244
+ fill: "none",
245
+ xmlns: "http://www.w3.org/2000/svg",
246
+ ...props,
247
+ children: [
248
+ /* @__PURE__ */ jsx("path", { d: "M12 15h-6.5a2.5 2.5 0 1 1 0 -5h.5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
249
+ /* @__PURE__ */ jsx("path", { d: "M15 12v6.5a2.5 2.5 0 1 1 -5 0v-.5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
250
+ /* @__PURE__ */ jsx("path", { d: "M12 9h6.5a2.5 2.5 0 1 1 0 5h-.5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
251
+ /* @__PURE__ */ jsx("path", { d: "M9 12v-6.5a2.5 2.5 0 0 1 5 0v.5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
252
+ ]
253
+ }
254
+ );
255
+ }
256
+ function DeviceDesktopIcon(props) {
257
+ return /* @__PURE__ */ jsxs(
258
+ "svg",
259
+ {
260
+ "aria-hidden": "true",
261
+ role: "img",
262
+ "aria-label": "device-desktop, screen, monitor, computer",
263
+ width: "24px",
264
+ height: "24px",
265
+ viewBox: "0 0 24 24",
266
+ fill: "none",
267
+ xmlns: "http://www.w3.org/2000/svg",
268
+ ...props,
269
+ children: [
270
+ /* @__PURE__ */ jsx("path", { d: "M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
271
+ /* @__PURE__ */ jsx("path", { d: "M7 20h10", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
272
+ /* @__PURE__ */ jsx("path", { d: "M9 16v4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
273
+ /* @__PURE__ */ jsx("path", { d: "M15 16v4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
274
+ ]
275
+ }
276
+ );
277
+ }
278
+ function Terminal2Icon(props) {
279
+ return /* @__PURE__ */ jsxs(
280
+ "svg",
281
+ {
282
+ "aria-hidden": "true",
283
+ role: "img",
284
+ "aria-label": "terminal-2, console, shell, command line",
285
+ width: "24px",
286
+ height: "24px",
287
+ viewBox: "0 0 24 24",
288
+ fill: "none",
289
+ xmlns: "http://www.w3.org/2000/svg",
290
+ ...props,
291
+ children: [
292
+ /* @__PURE__ */ jsx("path", { d: "M8 9l3 3l-3 3", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
293
+ /* @__PURE__ */ jsx("path", { d: "M13 15l3 0", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
294
+ /* @__PURE__ */ jsx("path", { d: "M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
295
+ ]
296
+ }
297
+ );
298
+ }
299
+ function TextToImageIcon(props) {
300
+ return /* @__PURE__ */ jsxs(
301
+ "svg",
302
+ {
303
+ "aria-hidden": "true",
304
+ role: "img",
305
+ "aria-label": "text-to-image",
306
+ width: "24px",
307
+ height: "24px",
308
+ viewBox: "0 0 24 24",
309
+ fill: "none",
310
+ xmlns: "http://www.w3.org/2000/svg",
311
+ ...props,
312
+ children: [
313
+ /* @__PURE__ */ jsx(
314
+ "path",
315
+ {
316
+ fillRule: "evenodd",
317
+ clipRule: "evenodd",
318
+ d: "M10 12.75C10 10.6789 11.6789 9 13.75 9H18.25C20.3211 9 22 10.6789 22 12.75V17.25C22 17.6276 21.944 17.9935 21.8392 18.339C21.3727 19.8782 19.9433 21 18.25 21H13.75C13.3724 21 13.0065 20.944 12.661 20.8392C11.1218 20.3727 10 18.9433 10 17.25V12.75ZM13.75 10.5C12.5074 10.5 11.5 11.5074 11.5 12.75V17.25C11.5 18.1123 11.9855 18.8626 12.6991 19.2402L15.3483 16.591C16.7633 15.1761 19.0276 15.1282 20.5 16.4474V12.75C20.5 11.5074 19.4926 10.5 18.25 10.5H13.75ZM20.2402 18.3009L19.591 17.6517C18.7123 16.773 17.2877 16.773 16.409 17.6517L14.5607 19.5H18.25C19.1123 19.5 19.8626 19.0145 20.2402 18.3009Z",
319
+ fill: "currentColor"
320
+ }
321
+ ),
322
+ /* @__PURE__ */ jsx(
323
+ "path",
324
+ {
325
+ d: "M15.5 13.25C15.5 13.9404 14.9404 14.5 14.25 14.5C13.5596 14.5 13 13.9404 13 13.25C13 12.5596 13.5596 12 14.25 12C14.9404 12 15.5 12.5596 15.5 13.25Z",
326
+ fill: "currentColor"
327
+ }
328
+ ),
329
+ /* @__PURE__ */ jsx(
330
+ "path",
331
+ {
332
+ fillRule: "evenodd",
333
+ clipRule: "evenodd",
334
+ d: "M2.75 4.5C2.61193 4.5 2.5 4.61193 2.5 4.75C2.5 5.16421 2.16421 5.5 1.75 5.5C1.33579 5.5 1 5.16421 1 4.75C1 3.7835 1.7835 3 2.75 3H9.25C10.2165 3 11 3.7835 11 4.75C11 5.16421 10.6642 5.5 10.25 5.5C9.83579 5.5 9.5 5.16421 9.5 4.75C9.5 4.61193 9.38807 4.5 9.25 4.5H6.75V12.5H7.25C7.66421 12.5 8 12.8358 8 13.25C8 13.6642 7.66421 14 7.25 14H4.75C4.33579 14 4 13.6642 4 13.25C4 12.8358 4.33579 12.5 4.75 12.5H5.25V4.5H2.75Z",
335
+ fill: "currentColor"
336
+ }
337
+ ),
338
+ /* @__PURE__ */ jsx(
339
+ "path",
340
+ {
341
+ d: "M20.7552 2.15769C20.6501 1.94744 20.35 1.94744 20.2449 2.15769L19.5917 3.4641C19.5641 3.51931 19.5193 3.56407 19.4641 3.59168L18.1577 4.24488C17.9474 4.35001 17.9474 4.65005 18.1577 4.75518L19.4641 5.40839C19.5193 5.43599 19.5641 5.48075 19.5917 5.53596L20.2449 6.84237C20.35 7.05262 20.6501 7.05262 20.7552 6.84237L21.4084 5.53596C21.436 5.48075 21.4808 5.43599 21.536 5.40839L22.8424 4.75518C23.0526 4.65005 23.0526 4.35001 22.8424 4.24488L21.536 3.59168C21.4808 3.56407 21.436 3.51931 21.4084 3.4641L20.7552 2.15769Z",
342
+ fill: "currentColor"
343
+ }
344
+ ),
345
+ /* @__PURE__ */ jsx(
346
+ "path",
347
+ {
348
+ d: "M15.2645 4.16345C15.1555 3.94552 14.8445 3.94552 14.7355 4.16345L14.2556 5.12335C14.227 5.18057 14.1806 5.22697 14.1233 5.25558L13.1635 5.73553C12.9455 5.8445 12.9455 6.1555 13.1635 6.26447L14.1233 6.74442C14.1806 6.77303 14.227 6.81943 14.2556 6.87665L14.7355 7.83655C14.8445 8.05448 15.1555 8.05448 15.2645 7.83655L15.7444 6.87665C15.773 6.81943 15.8194 6.77303 15.8767 6.74442L16.8365 6.26447C17.0545 6.1555 17.0545 5.8445 16.8365 5.73553L15.8767 5.25558C15.8194 5.22697 15.773 5.18057 15.7444 5.12335L15.2645 4.16345Z",
349
+ fill: "currentColor"
350
+ }
351
+ ),
352
+ /* @__PURE__ */ jsx(
353
+ "path",
354
+ {
355
+ d: "M4.75514 16.1577C4.65002 15.9474 4.34998 15.9474 4.24486 16.1577L3.59166 17.4641C3.56405 17.5193 3.51929 17.5641 3.46409 17.5917L2.15769 18.2449C1.94744 18.35 1.94744 18.65 2.15769 18.7551L3.46409 19.4083C3.51929 19.4359 3.56405 19.4807 3.59166 19.5359L4.24486 20.8423C4.34998 21.0526 4.65002 21.0526 4.75515 20.8423L5.40834 19.5359C5.43595 19.4807 5.48071 19.4359 5.53592 19.4083L6.84231 18.7551C7.05256 18.65 7.05256 18.35 6.84231 18.2449L5.53592 17.5917C5.48071 17.5641 5.43595 17.5193 5.40834 17.4641L4.75514 16.1577Z",
356
+ fill: "currentColor"
357
+ }
358
+ )
359
+ ]
360
+ }
361
+ );
362
+ }
363
+ function FileTextIcon(props) {
364
+ return /* @__PURE__ */ jsxs(
365
+ "svg",
366
+ {
367
+ "aria-hidden": "true",
368
+ role: "img",
369
+ "aria-label": "file-text, document",
370
+ width: "24px",
371
+ height: "24px",
372
+ viewBox: "0 0 24 24",
373
+ fill: "none",
374
+ xmlns: "http://www.w3.org/2000/svg",
375
+ ...props,
376
+ children: [
377
+ /* @__PURE__ */ jsx(
378
+ "path",
379
+ {
380
+ d: "M11.9216 2.75H7.75C6.09315 2.75 4.75 4.09315 4.75 5.75V18.25C4.75 19.9069 6.09315 21.25 7.75 21.25H16.25C17.9069 21.25 19.25 19.9069 19.25 18.25V10.0784C19.25 9.54799 19.0393 9.03929 18.6642 8.66421L13.3358 3.33579C12.9607 2.96071 12.452 2.75 11.9216 2.75Z",
381
+ stroke: "currentColor",
382
+ strokeWidth: "1.5",
383
+ strokeLinecap: "round"
384
+ }
385
+ ),
386
+ /* @__PURE__ */ jsx("path", { d: "M12.75 3.25V7.25C12.75 8.35457 13.6454 9.25 14.75 9.25H18.75", stroke: "currentColor", strokeWidth: "1.5" }),
387
+ /* @__PURE__ */ jsx("path", { d: "M8.75 13.25H12.25", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
388
+ /* @__PURE__ */ jsx("path", { d: "M8.75 17.25H15.25", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
389
+ ]
390
+ }
391
+ );
392
+ }
393
+ function PencilIcon(props) {
394
+ return /* @__PURE__ */ jsxs(
395
+ "svg",
396
+ {
397
+ "aria-hidden": "true",
398
+ role: "img",
399
+ "aria-label": "pencil, edit, write",
400
+ width: "24px",
401
+ height: "24px",
402
+ viewBox: "0 0 24 24",
403
+ fill: "none",
404
+ xmlns: "http://www.w3.org/2000/svg",
405
+ ...props,
406
+ children: [
407
+ /* @__PURE__ */ jsx(
408
+ "path",
409
+ {
410
+ d: "M13.25 6.24997L15.25 4.24997C16.4926 3.00733 18.5074 3.00733 19.75 4.24997C20.9926 5.49261 20.9926 7.50733 19.75 8.74997L17.75 10.75L7.83579 20.6642C7.46071 21.0393 6.95201 21.25 6.42157 21.25H2.75V17.5784C2.75 17.048 2.96071 16.5393 3.33579 16.1642L13.25 6.24997Z",
411
+ stroke: "currentColor",
412
+ strokeWidth: "1.5",
413
+ strokeLinecap: "round",
414
+ strokeLinejoin: "round"
415
+ }
416
+ ),
417
+ /* @__PURE__ */ jsx(
418
+ "path",
419
+ {
420
+ d: "M13.25 6.25L17.75 10.75",
421
+ stroke: "currentColor",
422
+ strokeWidth: "1.5",
423
+ strokeLinecap: "round",
424
+ strokeLinejoin: "round"
425
+ }
426
+ )
427
+ ]
428
+ }
429
+ );
430
+ }
431
+ function Folder1Icon(props) {
432
+ return /* @__PURE__ */ jsx(
433
+ "svg",
434
+ {
435
+ "aria-hidden": "true",
436
+ role: "img",
437
+ "aria-label": "folder-1",
438
+ width: "24px",
439
+ height: "24px",
440
+ viewBox: "0 0 24 24",
441
+ fill: "none",
442
+ xmlns: "http://www.w3.org/2000/svg",
443
+ ...props,
444
+ children: /* @__PURE__ */ jsx(
445
+ "path",
446
+ {
447
+ d: "M2.75 6.75V16.25C2.75 17.9069 4.09315 19.25 5.75 19.25H18.25C19.9069 19.25 21.25 17.9069 21.25 16.25V9.75C21.25 8.09315 19.9069 6.75 18.25 6.75H13.0704C12.4017 6.75 11.7772 6.4158 11.4063 5.8594L10.8906 5.0859C10.3342 4.2513 9.39751 3.75 8.39445 3.75H5.75C4.09315 3.75 2.75 5.09315 2.75 6.75Z",
448
+ stroke: "currentColor",
449
+ strokeWidth: "1.5",
450
+ strokeLinecap: "round",
451
+ strokeLinejoin: "round"
452
+ }
453
+ )
454
+ }
455
+ );
456
+ }
457
+ function Code2Icon(props) {
458
+ return /* @__PURE__ */ jsxs(
459
+ "svg",
460
+ {
461
+ "aria-hidden": "true",
462
+ role: "img",
463
+ "aria-label": "code-2, source, script",
464
+ width: "24px",
465
+ height: "24px",
466
+ viewBox: "0 0 24 24",
467
+ fill: "none",
468
+ xmlns: "http://www.w3.org/2000/svg",
469
+ ...props,
470
+ children: [
471
+ /* @__PURE__ */ jsx("path", { d: "M7 8l-4 4l4 4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
472
+ /* @__PURE__ */ jsx("path", { d: "M17 8l4 4l-4 4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
473
+ /* @__PURE__ */ jsx("path", { d: "M14 4l-4 16", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
474
+ ]
475
+ }
476
+ );
477
+ }
478
+ function PhotoIcon(props) {
479
+ return /* @__PURE__ */ jsxs(
480
+ "svg",
481
+ {
482
+ "aria-hidden": "true",
483
+ role: "img",
484
+ "aria-label": "photo, image, picture",
485
+ width: "24px",
486
+ height: "24px",
487
+ viewBox: "0 0 24 24",
488
+ fill: "none",
489
+ xmlns: "http://www.w3.org/2000/svg",
490
+ ...props,
491
+ children: [
492
+ /* @__PURE__ */ jsx("path", { d: "M15 8h.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
493
+ /* @__PURE__ */ jsx("path", { d: "M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
494
+ /* @__PURE__ */ jsx("path", { d: "M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
495
+ /* @__PURE__ */ jsx("path", { d: "M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
496
+ ]
497
+ }
498
+ );
499
+ }
500
+ function ClipboardIcon(props) {
501
+ return /* @__PURE__ */ jsx(
502
+ "svg",
503
+ {
504
+ "aria-hidden": "true",
505
+ role: "img",
506
+ "aria-label": "clipboard, copy, list",
507
+ width: "24px",
508
+ height: "24px",
509
+ viewBox: "0 0 24 24",
510
+ fill: "none",
511
+ xmlns: "http://www.w3.org/2000/svg",
512
+ ...props,
513
+ children: /* @__PURE__ */ jsx(
514
+ "path",
515
+ {
516
+ d: "M15.25 4.75H16.25C17.9069 4.75 19.25 6.09315 19.25 7.75V18.25C19.25 19.9069 17.9069 21.25 16.25 21.25H7.75C6.09315 21.25 4.75 19.9069 4.75 18.25V7.75C4.75 6.09315 6.09315 4.75 7.75 4.75H8.75M9.75 7.25H14.25C14.8023 7.25 15.25 6.80228 15.25 6.25V5.75C15.25 4.09315 13.9069 2.75 12.25 2.75H11.75C10.0931 2.75 8.75 4.09315 8.75 5.75V6.25C8.75 6.80228 9.19772 7.25 9.75 7.25Z",
517
+ stroke: "currentColor",
518
+ strokeWidth: "1.5",
519
+ strokeLinecap: "square",
520
+ strokeLinejoin: "round"
521
+ }
522
+ )
523
+ }
524
+ );
525
+ }
70
526
  function componentName(icon) {
71
527
  const joined = icon.split("-").map((part) => part.charAt(0).toUpperCase() + part.slice(1)).join("");
72
528
  return /^[0-9]/.test(joined) ? `Icon_${joined}Icon` : `${joined}Icon`;
@@ -130,11 +586,23 @@ var Shimmer = React.memo(({
130
586
  }
131
587
  );
132
588
  });
589
+ var DURATION_MS = 200;
133
590
  function Collapse({
134
591
  open,
135
592
  children,
136
- className
593
+ className,
594
+ unmountClosed = false
137
595
  }) {
596
+ const [present, setPresent] = useState(open);
597
+ useEffect(() => {
598
+ if (!unmountClosed) return;
599
+ if (open) {
600
+ setPresent(true);
601
+ return;
602
+ }
603
+ const timer = setTimeout(() => setPresent(false), DURATION_MS);
604
+ return () => clearTimeout(timer);
605
+ }, [open, unmountClosed]);
138
606
  return /* @__PURE__ */ jsx(
139
607
  "div",
140
608
  {
@@ -144,12 +612,12 @@ function Collapse({
144
612
  open ? "grid-rows-[1fr]" : "grid-rows-[0fr]",
145
613
  className
146
614
  ),
147
- children: /* @__PURE__ */ jsx("div", { className: "min-h-0 overflow-hidden", children })
615
+ children: /* @__PURE__ */ jsx("div", { className: "min-h-0 overflow-hidden", children: unmountClosed && !present ? null : children })
148
616
  }
149
617
  );
150
618
  }
151
619
 
152
- // src/vendor/ui/hooks/layout-motion.ts
620
+ // ../chat/src/ui/hooks/layout-motion.ts
153
621
  var LAYOUT_MOTION_ATTR = "data-layout-motion";
154
622
  var LAYOUT_MOTION_END_EVENT = "sebati:layout-motion-end";
155
623
  function isLayoutMoving(node) {
@@ -190,7 +658,8 @@ function nextFade(prev, el) {
190
658
  function ScrollFadeEdges({
191
659
  children,
192
660
  className,
193
- fadeFromClassName = "from-surface-raised"
661
+ fadeFromClassName = "from-surface-raised",
662
+ fadeHeightClassName = "h-10"
194
663
  }) {
195
664
  const observerRef = useRef(null);
196
665
  const gateRef = useRef(null);
@@ -227,7 +696,8 @@ function ScrollFadeEdges({
227
696
  setFade((prev) => nextFade(prev, el));
228
697
  }, []);
229
698
  const fadeBase = cn(
230
- "pointer-events-none absolute inset-x-0 z-10 h-10",
699
+ "pointer-events-none absolute inset-x-0 z-10",
700
+ fadeHeightClassName,
231
701
  fadeFromClassName
232
702
  );
233
703
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
@@ -278,6 +748,44 @@ function useStreamdownPlugins() {
278
748
  [code]
279
749
  );
280
750
  }
751
+ function SquareArrowTopRightIcon(props) {
752
+ return /* @__PURE__ */ jsxs(
753
+ "svg",
754
+ {
755
+ "aria-hidden": "true",
756
+ role: "img",
757
+ "aria-label": "square-arrow-top-right, open, new, link, open link, box, arrow",
758
+ width: "24px",
759
+ height: "24px",
760
+ viewBox: "0 0 24 24",
761
+ fill: "none",
762
+ xmlns: "http://www.w3.org/2000/svg",
763
+ ...props,
764
+ children: [
765
+ /* @__PURE__ */ jsx(
766
+ "path",
767
+ {
768
+ d: "M9.25 5.75H6.875C6.75894 5.75 6.70091 5.75 6.65184 5.75161C5.072 5.80332 3.80332 7.072 3.75161 8.65184C3.75 8.70091 3.75 8.75894 3.75 8.875V15.45C3.75 17.1302 3.75 17.9702 4.07698 18.612C4.3646 19.1765 4.82354 19.6354 5.38803 19.923C6.02976 20.25 6.86984 20.25 8.55 20.25H13.45C15.1302 20.25 15.9702 20.25 16.612 19.923C17.1765 19.6354 17.6354 19.1765 17.923 18.612C18.25 17.9702 18.25 17.1302 18.25 15.45V14",
769
+ stroke: "currentColor",
770
+ strokeWidth: "1.5",
771
+ strokeLinecap: "round",
772
+ strokeLinejoin: "round"
773
+ }
774
+ ),
775
+ /* @__PURE__ */ jsx(
776
+ "path",
777
+ {
778
+ d: "M13.75 3.75H20.25M20.25 3.75V10.25M20.25 3.75L11 13",
779
+ stroke: "currentColor",
780
+ strokeWidth: "1.5",
781
+ strokeLinecap: "round",
782
+ strokeLinejoin: "round"
783
+ }
784
+ )
785
+ ]
786
+ }
787
+ );
788
+ }
281
789
  function rehypeUnwrapLiSoloP() {
282
790
  return (tree) => {
283
791
  visit(tree, "element", (li) => {
@@ -320,7 +828,7 @@ function rehypeWrapParagraphTextNodes() {
320
828
  };
321
829
  }
322
830
 
323
- // src/vendor/ui/ai-elements/normalize-math.ts
831
+ // ../chat/src/ui/ai-elements/normalize-math.ts
324
832
  function normalizeMathDelimiters(input) {
325
833
  if (!input.includes("\\[") && !input.includes("\\(")) return input;
326
834
  const segments = input.split(/(```[\s\S]*?```|`[^`\n]*`)/g);
@@ -484,7 +992,7 @@ var MessageToolbar = ({
484
992
  }
485
993
  );
486
994
 
487
- // src/vendor/lib/tool-activity-label.ts
995
+ // ../chat/src/lib/tool-activity-label.ts
488
996
  var MAX_INTENT = 80;
489
997
  var MAX_LABEL_JSON_LENGTH = 32e3;
490
998
  function truncate(s, max = MAX_INTENT) {
@@ -737,6 +1245,11 @@ function pickTarget(input, keys) {
737
1245
  }
738
1246
  return void 0;
739
1247
  }
1248
+ function toolKindVerb(toolName) {
1249
+ const displayName = toolName.includes("__") ? toolName.split("__").pop() ?? toolName : toolName;
1250
+ const cfg = TOOL_ROW_CONFIG[toolName] ?? TOOL_ROW_CONFIG[displayName];
1251
+ return cfg?.done;
1252
+ }
740
1253
  function describeToolRow(toolName, state, input, output, errorText) {
741
1254
  const authored = pickTarget(input, ["action"]);
742
1255
  if (authored) {
@@ -2239,6 +2752,8 @@ var BRAND_ICONS = {
2239
2752
  pagerduty: "simple-icons:pagerduty",
2240
2753
  typeform: "simple-icons:typeform",
2241
2754
  // harvest — no Iconify slug; monogram letter fallback.
2755
+ // moneta — no brand asset yet; monogram letter fallback. Add an ASSET_ICONS
2756
+ // entry once a logo SVG with usage permission is in packages/web/public.
2242
2757
  eventbrite: "simple-icons:eventbrite",
2243
2758
  // klaviyo / freshbooks / harvest — no Iconify slug exists across
2244
2759
  // simple-icons / logos / arcticons. Fall through to monogram letter.
@@ -2287,6 +2802,7 @@ var BRAND_ICONS = {
2287
2802
  bigquery: "logos:google-cloud",
2288
2803
  gcs: "logos:google-cloud",
2289
2804
  posthog: "simple-icons:posthog",
2805
+ railway: "simple-icons:railway",
2290
2806
  shopify: "logos:shopify"
2291
2807
  };
2292
2808
  var BRAND_ICON_TINT = {
@@ -2685,4 +3201,4 @@ var ToolGroupReasoningItem = ({
2685
3201
  ] });
2686
3202
  };
2687
3203
 
2688
- export { AppIcon, AppIconFrame, Collapse, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, HoverCard, HoverCardContent, HoverCardTrigger, Icon2 as Icon, Message, MessageContent, MessageResponse, MessageToolbar, STREAMDOWN_LINK_SAFETY, Shimmer, SkillToolItem, ToolGroupReasoningItem, deferDuringLayoutMotion, describeToolRow, frontera_icon_default, getToolMeta, useStreamdownPlugins };
3204
+ export { AppIcon, AppIconFrame, CircleXIcon, ClipboardIcon, ClockIcon, Code2Icon, Collapse, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, DeviceDesktopIcon, FileTextIcon, Folder1Icon, HoverCard, HoverCardContent, HoverCardTrigger, Icon2 as Icon, Message, MessageContent, MessageResponse, MessageToolbar, PencilIcon, PhotoIcon, STREAMDOWN_LINK_SAFETY, Shimmer, SkillToolItem, SquareArrowTopRightIcon, ToolGroupReasoningItem, WorldSearchIcon, deferDuringLayoutMotion, describeToolRow, frontera_icon_default, getToolMeta, toolKindVerb, useStreamdownPlugins };