@versini/sassysaint 8.71.0 → 8.72.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.
- package/dist/chunks/{AboutChangelog.DWyXWTXc.js → AboutChangelog.DhqNiQ0I.js} +2 -2
- package/dist/chunks/{AboutEntry.Bfy81T6x.js → AboutEntry.PlWjZ6CB.js} +7 -7
- package/dist/chunks/{App.DSD9BetC.js → App.BziAYmB7.js} +44 -44
- package/dist/chunks/{Chart.B4k3bheP.js → Chart.BNT2dSsd.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.Db8JqNYx.js → ChatBubbleAssistant.ir-Ko0eZ.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.BdgsqpxM.js → ChatBubbleUser.64VrN3RB.js} +6 -6
- package/dist/chunks/{ChatHistoryTable.D0NwLSQa.js → ChatHistoryTable.BaKPS1N8.js} +3 -3
- package/dist/chunks/{HistoryEntry.CAjcvSz8.js → HistoryEntry.jP-HiRhn.js} +3 -3
- package/dist/chunks/{ProfileEntry.DCCsaeos.js → ProfileEntry.Cww74wUg.js} +2 -2
- package/dist/chunks/{SettingsEntry.CY7MR73f.js → SettingsEntry.Bn6-9vf1.js} +3 -3
- package/dist/chunks/{Table.BE5_-y3Y.js → Table.B9MFLICD.js} +6 -6
- package/dist/chunks/{UsageEntry.CPcF4Txm.js → UsageEntry.BJIojjEk.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.spEuG9Az.js → UserMemoriesPanel.V0ixZZCW.js} +116 -106
- package/dist/chunks/{index.2WWnkty4.js → index.B0wIqA0p.js} +1 -1
- package/dist/chunks/{index.jIT6fjlk.js → index.BCgNuqvg.js} +18 -17
- package/dist/chunks/{index.D9fOwzja.js → index.BXj5IDha.js} +1 -1
- package/dist/chunks/{index.zw3YchMP.js → index.Bgpwndta.js} +2 -2
- package/dist/chunks/{index.uvE2MwNm.js → index.C4lK0zGK.js} +8 -8
- package/dist/chunks/{index.B-0U7o63.js → index.CIoXtiJq.js} +3 -3
- package/dist/chunks/{index.fh4mlmae.js → index.DcADnsxa.js} +1 -1
- package/dist/chunks/{index.pLrnJCen.js → index.t8_pXewg.js} +4 -4
- package/dist/chunks/{useMarkdown.45Aa42bV.js → useMarkdown.BWlk5XJK.js} +10 -10
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +6 -6
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { jsxs as l, jsx as e, Fragment as
|
|
2
|
-
import { I as
|
|
3
|
-
import { oe as
|
|
4
|
-
import
|
|
5
|
-
import { useState as
|
|
6
|
-
import { Re as ue } from "./index.
|
|
7
|
-
import { j as pe, D as fe, G as b, M as
|
|
1
|
+
import { jsxs as l, jsx as e, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
+
import { I as se, L as O, j as y, C as v, n as ce, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as oe, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ie, useUserMemories as ae, useDeleteMemory as de, useDeleteAllMemories as me, useUpdateMemory as he, te as B } from "./index.BCgNuqvg.js";
|
|
3
|
+
import { oe as V, E as F, e as g, ConfirmationPanel as G, st as H } from "./App.BziAYmB7.js";
|
|
4
|
+
import E from "clsx";
|
|
5
|
+
import { useState as x, useEffect as xe, useRef as j } from "react";
|
|
6
|
+
import { Re as ue } from "./index.t8_pXewg.js";
|
|
7
|
+
import { j as pe, D as fe, G as b, M as d, F as ge, H as ye, l as Ce, U as Ne } from "./Table.B9MFLICD.js";
|
|
8
8
|
const Ae = ({
|
|
9
|
-
className:
|
|
10
|
-
viewBox:
|
|
9
|
+
className: a,
|
|
10
|
+
viewBox: m,
|
|
11
11
|
title: n,
|
|
12
12
|
monotone: r,
|
|
13
13
|
...C
|
|
14
14
|
}) => /* @__PURE__ */ l(
|
|
15
|
-
|
|
15
|
+
se,
|
|
16
16
|
{
|
|
17
17
|
defaultViewBox: "0 0 512 512",
|
|
18
18
|
size: "size-5",
|
|
19
|
-
viewBox:
|
|
20
|
-
className:
|
|
19
|
+
viewBox: m,
|
|
20
|
+
className: a,
|
|
21
21
|
title: n || "Edit",
|
|
22
22
|
...C,
|
|
23
23
|
children: [
|
|
@@ -32,25 +32,25 @@ const Ae = ({
|
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
), Se = ({
|
|
35
|
-
open:
|
|
36
|
-
onOpenChange:
|
|
35
|
+
open: a,
|
|
36
|
+
onOpenChange: m,
|
|
37
37
|
initialText: n,
|
|
38
38
|
metadata: r,
|
|
39
39
|
onSave: C,
|
|
40
40
|
isSaving: N = !1
|
|
41
41
|
}) => {
|
|
42
|
-
const [
|
|
42
|
+
const [i, A] = x(n);
|
|
43
43
|
xe(() => {
|
|
44
|
-
|
|
45
|
-
}, [
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
}, S =
|
|
44
|
+
a && A(n);
|
|
45
|
+
}, [a, n]);
|
|
46
|
+
const T = () => {
|
|
47
|
+
i.trim().length >= 3 && C(i.trim());
|
|
48
|
+
}, S = i.trim().length >= 3, D = i.trim() !== n.trim();
|
|
49
49
|
return /* @__PURE__ */ e(
|
|
50
|
-
|
|
50
|
+
V,
|
|
51
51
|
{
|
|
52
|
-
open:
|
|
53
|
-
onOpenChange:
|
|
52
|
+
open: a,
|
|
53
|
+
onOpenChange: m,
|
|
54
54
|
title: "Edit Memory",
|
|
55
55
|
animation: !0,
|
|
56
56
|
animationType: "fade",
|
|
@@ -62,7 +62,7 @@ const Ae = ({
|
|
|
62
62
|
variant: "secondary",
|
|
63
63
|
noBorder: !0,
|
|
64
64
|
focusMode: "light",
|
|
65
|
-
onClick: () =>
|
|
65
|
+
onClick: () => m(!1),
|
|
66
66
|
disabled: N,
|
|
67
67
|
children: "Cancel"
|
|
68
68
|
}
|
|
@@ -72,8 +72,8 @@ const Ae = ({
|
|
|
72
72
|
{
|
|
73
73
|
mode: "dark",
|
|
74
74
|
focusMode: "light",
|
|
75
|
-
disabled: N || !S || !
|
|
76
|
-
onClick:
|
|
75
|
+
disabled: N || !S || !D,
|
|
76
|
+
onClick: T,
|
|
77
77
|
children: N ? "Saving..." : "Save"
|
|
78
78
|
}
|
|
79
79
|
) })
|
|
@@ -86,23 +86,23 @@ const Ae = ({
|
|
|
86
86
|
focusMode: "light",
|
|
87
87
|
label: "Memory text",
|
|
88
88
|
name: "memoryText",
|
|
89
|
-
value:
|
|
90
|
-
onChange: (
|
|
89
|
+
value: i,
|
|
90
|
+
onChange: (u) => A(u.target.value),
|
|
91
91
|
autoFocus: !0,
|
|
92
|
-
helperText:
|
|
92
|
+
helperText: i.trim().length < 3 ? "Memory text must be at least 3 characters" : `${i.length} characters`
|
|
93
93
|
}
|
|
94
94
|
),
|
|
95
95
|
r && /* @__PURE__ */ l("div", { className: "flex flex-col gap-3 p-4 bg-slate-800/50 rounded-md border border-slate-700/50", children: [
|
|
96
96
|
/* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-slate-300 m-0", children: "Memory Details" }),
|
|
97
97
|
r.categories && r.categories.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-col gap-1", children: [
|
|
98
98
|
/* @__PURE__ */ e("span", { className: "text-xs text-slate-400 uppercase", children: "Category" }),
|
|
99
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-1", children: r.categories.map((
|
|
99
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-1", children: r.categories.map((u, w) => /* @__PURE__ */ e(
|
|
100
100
|
"span",
|
|
101
101
|
{
|
|
102
102
|
className: "text-xs px-2 py-1 bg-slate-700/50 text-slate-200 rounded",
|
|
103
|
-
children:
|
|
103
|
+
children: u
|
|
104
104
|
},
|
|
105
|
-
`${
|
|
105
|
+
`${u}-${w}`
|
|
106
106
|
)) })
|
|
107
107
|
] }),
|
|
108
108
|
/* @__PURE__ */ l("div", { className: "flex flex-col sm:flex-row gap-4", children: [
|
|
@@ -143,81 +143,81 @@ const Ae = ({
|
|
|
143
143
|
}
|
|
144
144
|
);
|
|
145
145
|
}, be = ({
|
|
146
|
-
open:
|
|
147
|
-
onOpenChange:
|
|
146
|
+
open: a,
|
|
147
|
+
onOpenChange: m,
|
|
148
148
|
user: n
|
|
149
149
|
}) => {
|
|
150
|
-
const { getAccessToken: r } =
|
|
150
|
+
const { getAccessToken: r } = ce(), [C] = x(void 0), [N, i] = F({
|
|
151
151
|
key: q + oe,
|
|
152
152
|
initialValue: g.DESC
|
|
153
|
-
}), [A,
|
|
153
|
+
}), [A, T] = F({
|
|
154
154
|
key: q + ie,
|
|
155
155
|
initialValue: "createdAt"
|
|
156
|
-
}), [S,
|
|
156
|
+
}), [S, D] = x(N || g.DESC), [u, w] = x(
|
|
157
157
|
A || "createdAt"
|
|
158
|
-
), { data:
|
|
158
|
+
), { data: o, isLoading: R, isError: L } = ae({
|
|
159
159
|
user: n,
|
|
160
160
|
query: C,
|
|
161
161
|
getAccessToken: r,
|
|
162
|
-
enabled:
|
|
163
|
-
}),
|
|
164
|
-
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
|
|
162
|
+
enabled: a
|
|
163
|
+
}), z = de({ getAccessToken: r }), P = me({ getAccessToken: r }), M = he({ getAccessToken: r }), [Y, I] = x(!1), h = j(null), [X, U] = x(!1), [J, k] = x(!1), s = j(null), K = (t, c, p, f) => {
|
|
164
|
+
h.current = { id: t, text: c, description: p, createdAt: f }, I(!0);
|
|
165
|
+
}, Q = () => {
|
|
166
|
+
h.current && z.mutate({ user: n, memoryId: h.current.id });
|
|
167
|
+
}, W = (t, c, p, f, te, le, re, ne) => {
|
|
168
|
+
s.current = {
|
|
169
169
|
id: t,
|
|
170
|
-
description:
|
|
170
|
+
description: c,
|
|
171
171
|
categories: p,
|
|
172
172
|
quote: f,
|
|
173
|
-
canonicalText:
|
|
174
|
-
confidence:
|
|
175
|
-
status:
|
|
176
|
-
sourceType:
|
|
177
|
-
},
|
|
178
|
-
},
|
|
179
|
-
|
|
173
|
+
canonicalText: te,
|
|
174
|
+
confidence: le,
|
|
175
|
+
status: re,
|
|
176
|
+
sourceType: ne
|
|
177
|
+
}, k(!0);
|
|
178
|
+
}, Z = (t) => {
|
|
179
|
+
s.current && n && M.mutate(
|
|
180
180
|
{
|
|
181
181
|
user: n,
|
|
182
|
-
memoryId:
|
|
182
|
+
memoryId: s.current.id,
|
|
183
183
|
description: t
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
onSuccess: () => {
|
|
187
|
-
|
|
187
|
+
k(!1);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
);
|
|
191
|
-
}, Z = () => {
|
|
192
|
-
n && _(!0);
|
|
193
191
|
}, $ = () => {
|
|
192
|
+
n && U(!0);
|
|
193
|
+
}, ee = () => {
|
|
194
194
|
n && P.mutate({ user: n });
|
|
195
195
|
};
|
|
196
|
-
return /* @__PURE__ */ l(
|
|
196
|
+
return /* @__PURE__ */ l(_, { children: [
|
|
197
197
|
/* @__PURE__ */ e(
|
|
198
198
|
Se,
|
|
199
199
|
{
|
|
200
|
-
open:
|
|
201
|
-
onOpenChange:
|
|
202
|
-
initialText:
|
|
203
|
-
metadata:
|
|
204
|
-
categories:
|
|
205
|
-
quote:
|
|
206
|
-
canonicalText:
|
|
207
|
-
confidence:
|
|
208
|
-
status:
|
|
209
|
-
sourceType:
|
|
200
|
+
open: J,
|
|
201
|
+
onOpenChange: k,
|
|
202
|
+
initialText: s.current?.description || "",
|
|
203
|
+
metadata: s.current ? {
|
|
204
|
+
categories: s.current.categories,
|
|
205
|
+
quote: s.current.quote,
|
|
206
|
+
canonicalText: s.current.canonicalText,
|
|
207
|
+
confidence: s.current.confidence,
|
|
208
|
+
status: s.current.status,
|
|
209
|
+
sourceType: s.current.sourceType
|
|
210
210
|
} : void 0,
|
|
211
|
-
onSave:
|
|
211
|
+
onSave: Z,
|
|
212
212
|
isSaving: M.isPending
|
|
213
213
|
}
|
|
214
214
|
),
|
|
215
215
|
/* @__PURE__ */ l(
|
|
216
216
|
G,
|
|
217
217
|
{
|
|
218
|
-
showConfirmation:
|
|
218
|
+
showConfirmation: Y,
|
|
219
219
|
setShowConfirmation: I,
|
|
220
|
-
action:
|
|
220
|
+
action: Q,
|
|
221
221
|
customStrings: {
|
|
222
222
|
title: "Delete memory",
|
|
223
223
|
confirmAction: "Delete",
|
|
@@ -229,12 +229,12 @@ const Ae = ({
|
|
|
229
229
|
/* @__PURE__ */ l("li", { children: [
|
|
230
230
|
"Excerpt:",
|
|
231
231
|
" ",
|
|
232
|
-
(
|
|
232
|
+
(h.current?.description || h.current?.text || "").slice(0, 80)
|
|
233
233
|
] }),
|
|
234
234
|
/* @__PURE__ */ l("li", { children: [
|
|
235
235
|
"Created:",
|
|
236
236
|
" ",
|
|
237
|
-
|
|
237
|
+
h.current?.createdAt ? new Date(h.current.createdAt).toLocaleString() : "-"
|
|
238
238
|
] })
|
|
239
239
|
] })
|
|
240
240
|
]
|
|
@@ -243,9 +243,9 @@ const Ae = ({
|
|
|
243
243
|
/* @__PURE__ */ e(
|
|
244
244
|
G,
|
|
245
245
|
{
|
|
246
|
-
showConfirmation:
|
|
247
|
-
setShowConfirmation:
|
|
248
|
-
action:
|
|
246
|
+
showConfirmation: X,
|
|
247
|
+
setShowConfirmation: U,
|
|
248
|
+
action: ee,
|
|
249
249
|
customStrings: {
|
|
250
250
|
title: "Delete all memories",
|
|
251
251
|
confirmAction: "Delete all",
|
|
@@ -255,10 +255,10 @@ const Ae = ({
|
|
|
255
255
|
}
|
|
256
256
|
),
|
|
257
257
|
/* @__PURE__ */ e(
|
|
258
|
-
|
|
258
|
+
V,
|
|
259
259
|
{
|
|
260
|
-
open:
|
|
261
|
-
onOpenChange: (t) =>
|
|
260
|
+
open: a,
|
|
261
|
+
onOpenChange: (t) => m(t),
|
|
262
262
|
title: "User Memories",
|
|
263
263
|
animation: !0,
|
|
264
264
|
animationType: "fade",
|
|
@@ -270,7 +270,7 @@ const Ae = ({
|
|
|
270
270
|
variant: "secondary",
|
|
271
271
|
noBorder: !0,
|
|
272
272
|
focusMode: "light",
|
|
273
|
-
onClick: () =>
|
|
273
|
+
onClick: () => m(!1),
|
|
274
274
|
children: "Close"
|
|
275
275
|
}
|
|
276
276
|
) }),
|
|
@@ -280,19 +280,19 @@ const Ae = ({
|
|
|
280
280
|
mode: "dark",
|
|
281
281
|
focusMode: "light",
|
|
282
282
|
variant: "danger",
|
|
283
|
-
disabled: P.isPending || (
|
|
284
|
-
onClick:
|
|
283
|
+
disabled: P.isPending || (o?.total ?? 0) === 0,
|
|
284
|
+
onClick: $,
|
|
285
285
|
children: "Delete All"
|
|
286
286
|
}
|
|
287
287
|
) })
|
|
288
288
|
] }),
|
|
289
289
|
children: /* @__PURE__ */ l("div", { className: "flex flex-col sm:flex-row max-h-[75vh] min-h-[60vh] pt-2", children: [
|
|
290
290
|
R && /* @__PURE__ */ e("p", { className: "m-0", children: "Loading memories..." }),
|
|
291
|
-
|
|
292
|
-
!R && !
|
|
291
|
+
L && /* @__PURE__ */ e("p", { className: "m-0 text-red-500", children: "Failed to load memories." }),
|
|
292
|
+
!R && !L && (o && o.items.length > 0 ? /* @__PURE__ */ l(pe, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
|
|
293
293
|
/* @__PURE__ */ e(fe, { children: /* @__PURE__ */ l(b, { children: [
|
|
294
|
-
/* @__PURE__ */ e(
|
|
295
|
-
/* @__PURE__ */ e(
|
|
294
|
+
/* @__PURE__ */ e(d, { className: "sr-only", children: "Row" }),
|
|
295
|
+
/* @__PURE__ */ e(d, { children: "Memory" }),
|
|
296
296
|
/* @__PURE__ */ e(
|
|
297
297
|
ge,
|
|
298
298
|
{
|
|
@@ -301,27 +301,27 @@ const Ae = ({
|
|
|
301
301
|
cellId: "createdAt",
|
|
302
302
|
align: "left",
|
|
303
303
|
sortDirection: S,
|
|
304
|
-
sortedCell:
|
|
304
|
+
sortedCell: u,
|
|
305
305
|
onClick: () => {
|
|
306
|
-
|
|
307
|
-
const
|
|
308
|
-
return
|
|
306
|
+
w("createdAt"), T("createdAt"), D((t) => {
|
|
307
|
+
const c = t === g.ASC ? g.DESC : g.ASC;
|
|
308
|
+
return i(c), c;
|
|
309
309
|
});
|
|
310
310
|
},
|
|
311
311
|
children: "Date"
|
|
312
312
|
}
|
|
313
313
|
),
|
|
314
|
-
/* @__PURE__ */ e(
|
|
314
|
+
/* @__PURE__ */ e(d, { align: "right", children: "Actions" })
|
|
315
315
|
] }) }),
|
|
316
|
-
/* @__PURE__ */ e(ye, { children: [...
|
|
317
|
-
const p = t.createdAt ? new Date(t.createdAt).getTime() : 0, f =
|
|
316
|
+
/* @__PURE__ */ e(ye, { children: [...o.items].sort((t, c) => {
|
|
317
|
+
const p = t.createdAt ? new Date(t.createdAt).getTime() : 0, f = c.createdAt ? new Date(c.createdAt).getTime() : 0;
|
|
318
318
|
return S === g.ASC ? p - f : f - p;
|
|
319
|
-
}).map((t,
|
|
320
|
-
/* @__PURE__ */ e(
|
|
319
|
+
}).map((t, c) => /* @__PURE__ */ l(b, { children: [
|
|
320
|
+
/* @__PURE__ */ e(d, { className: E("dark:text-gray-400"), children: c + 1 }),
|
|
321
321
|
/* @__PURE__ */ e(
|
|
322
|
-
|
|
322
|
+
d,
|
|
323
323
|
{
|
|
324
|
-
className:
|
|
324
|
+
className: E(
|
|
325
325
|
"dark:text-white",
|
|
326
326
|
"max-w-[100px] sm:max-w-[400px]",
|
|
327
327
|
"text-xs sm:text-sm"
|
|
@@ -333,18 +333,18 @@ const Ae = ({
|
|
|
333
333
|
}
|
|
334
334
|
),
|
|
335
335
|
/* @__PURE__ */ e(
|
|
336
|
-
|
|
336
|
+
d,
|
|
337
337
|
{
|
|
338
338
|
component: "th",
|
|
339
339
|
scope: "row",
|
|
340
|
-
className:
|
|
340
|
+
className: E(
|
|
341
341
|
"dark:text-gray-400",
|
|
342
342
|
"sm:whitespace-nowrap text-xs sm:text-sm max-w-20 sm:max-w-none"
|
|
343
343
|
),
|
|
344
344
|
children: t.createdAt ? new Date(t.createdAt).toLocaleDateString() : "-"
|
|
345
345
|
}
|
|
346
346
|
),
|
|
347
|
-
/* @__PURE__ */ e(
|
|
347
|
+
/* @__PURE__ */ e(d, { className: "align-top", align: "right", children: /* @__PURE__ */ l(O, { columnGap: 2, alignHorizontal: "flex-end", children: [
|
|
348
348
|
/* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(
|
|
349
349
|
H,
|
|
350
350
|
{
|
|
@@ -359,7 +359,7 @@ const Ae = ({
|
|
|
359
359
|
label: "Edit memory",
|
|
360
360
|
variant: "primary",
|
|
361
361
|
disabled: M.isPending,
|
|
362
|
-
onClick: () =>
|
|
362
|
+
onClick: () => W(
|
|
363
363
|
t.memoryId,
|
|
364
364
|
t.description || t.text,
|
|
365
365
|
t.categories,
|
|
@@ -388,8 +388,8 @@ const Ae = ({
|
|
|
388
388
|
label: "Delete memory",
|
|
389
389
|
variant: "primary",
|
|
390
390
|
iconClassName: "text-red-700 dark:text-red-500",
|
|
391
|
-
disabled:
|
|
392
|
-
onClick: () =>
|
|
391
|
+
disabled: z.isPending,
|
|
392
|
+
onClick: () => K(
|
|
393
393
|
t.memoryId,
|
|
394
394
|
t.text,
|
|
395
395
|
t.description,
|
|
@@ -402,10 +402,20 @@ const Ae = ({
|
|
|
402
402
|
) })
|
|
403
403
|
] }) })
|
|
404
404
|
] }, t.memoryId)) }),
|
|
405
|
-
/* @__PURE__ */ e(Ne, { children: /* @__PURE__ */ e(b, { children: /* @__PURE__ */ l(
|
|
406
|
-
|
|
405
|
+
/* @__PURE__ */ e(Ne, { children: /* @__PURE__ */ e(b, { children: /* @__PURE__ */ l(d, { colSpan: 4, children: [
|
|
406
|
+
o.total,
|
|
407
407
|
" memor",
|
|
408
|
-
|
|
408
|
+
o.total === 1 ? "y" : "ies",
|
|
409
|
+
o.totalTokenUsage !== void 0 && o.totalTokenUsage > 0 && /* @__PURE__ */ l(_, { children: [
|
|
410
|
+
" ",
|
|
411
|
+
"(approximately",
|
|
412
|
+
" ",
|
|
413
|
+
Math.round(o.totalTokenUsage).toLocaleString(),
|
|
414
|
+
" ",
|
|
415
|
+
"token",
|
|
416
|
+
Math.round(o.totalTokenUsage) === 1 ? "" : "s",
|
|
417
|
+
")"
|
|
418
|
+
] })
|
|
409
419
|
] }) }) })
|
|
410
420
|
] }) : /* @__PURE__ */ e("p", { className: "m-0 italic opacity-70", children: "No memories stored." }))
|
|
411
421
|
] })
|
|
@@ -4457,6 +4457,7 @@ const G = {
|
|
|
4457
4457
|
quote
|
|
4458
4458
|
}
|
|
4459
4459
|
total
|
|
4460
|
+
totalTokenUsage
|
|
4460
4461
|
}
|
|
4461
4462
|
}`,
|
|
4462
4463
|
DELETE_MEMORY: `mutation DeleteMemory($user: String!, $memoryId: String!) {
|
|
@@ -5798,13 +5799,13 @@ const Ve = {
|
|
|
5798
5799
|
);
|
|
5799
5800
|
it.displayName = "ButtonIcon";
|
|
5800
5801
|
/*!
|
|
5801
|
-
@versini/ui-button v8.1.
|
|
5802
|
+
@versini/ui-button v8.1.4
|
|
5802
5803
|
© 2025 gizmette.com
|
|
5803
5804
|
*/
|
|
5804
5805
|
try {
|
|
5805
5806
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
5806
|
-
version: "8.1.
|
|
5807
|
-
buildTime: "10/
|
|
5807
|
+
version: "8.1.4",
|
|
5808
|
+
buildTime: "10/24/2025 07:46 PM EDT",
|
|
5808
5809
|
homepage: "https://github.com/aversini/ui-components",
|
|
5809
5810
|
license: "MIT"
|
|
5810
5811
|
});
|
|
@@ -5948,13 +5949,13 @@ const yo = ({
|
|
|
5948
5949
|
) });
|
|
5949
5950
|
};
|
|
5950
5951
|
/*!
|
|
5951
|
-
@versini/ui-card v5.0.
|
|
5952
|
+
@versini/ui-card v5.0.6
|
|
5952
5953
|
© 2025 gizmette.com
|
|
5953
5954
|
*/
|
|
5954
5955
|
try {
|
|
5955
5956
|
window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
|
|
5956
|
-
version: "5.0.
|
|
5957
|
-
buildTime: "10/
|
|
5957
|
+
version: "5.0.6",
|
|
5958
|
+
buildTime: "10/24/2025 07:47 PM EDT",
|
|
5958
5959
|
homepage: "https://github.com/aversini/ui-components",
|
|
5959
5960
|
license: "MIT"
|
|
5960
5961
|
});
|
|
@@ -5997,7 +5998,7 @@ const mt = ({
|
|
|
5997
5998
|
try {
|
|
5998
5999
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
5999
6000
|
version: "4.2.2",
|
|
6000
|
-
buildTime: "10/
|
|
6001
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
6001
6002
|
homepage: "https://github.com/aversini/ui-components",
|
|
6002
6003
|
license: "MIT"
|
|
6003
6004
|
});
|
|
@@ -6110,13 +6111,13 @@ const go = ({
|
|
|
6110
6111
|
}
|
|
6111
6112
|
);
|
|
6112
6113
|
/*!
|
|
6113
|
-
@versini/ui-icons v4.14.
|
|
6114
|
+
@versini/ui-icons v4.14.1
|
|
6114
6115
|
© 2025 gizmette.com
|
|
6115
6116
|
*/
|
|
6116
6117
|
try {
|
|
6117
6118
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
6118
|
-
version: "4.14.
|
|
6119
|
-
buildTime: "10/
|
|
6119
|
+
version: "4.14.1",
|
|
6120
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
6120
6121
|
homepage: "https://github.com/aversini/ui-components",
|
|
6121
6122
|
license: "MIT"
|
|
6122
6123
|
});
|
|
@@ -6267,13 +6268,13 @@ const So = "av-flexgrid", je = "av-flexgrid-item", ot = 0.25, Ut = oe.createCont
|
|
|
6267
6268
|
return /* @__PURE__ */ h("div", { className: o, style: i, ...s, children: e });
|
|
6268
6269
|
};
|
|
6269
6270
|
/*!
|
|
6270
|
-
@versini/ui-system v5.0.
|
|
6271
|
+
@versini/ui-system v5.0.4
|
|
6271
6272
|
© 2025 gizmette.com
|
|
6272
6273
|
*/
|
|
6273
6274
|
try {
|
|
6274
6275
|
window.__VERSINI_UI_SYSTEM__ || (window.__VERSINI_UI_SYSTEM__ = {
|
|
6275
|
-
version: "5.0.
|
|
6276
|
-
buildTime: "10/
|
|
6276
|
+
version: "5.0.4",
|
|
6277
|
+
buildTime: "10/24/2025 07:47 PM EDT",
|
|
6277
6278
|
homepage: "https://github.com/aversini/ui-components",
|
|
6278
6279
|
license: "MIT"
|
|
6279
6280
|
});
|
|
@@ -6733,13 +6734,13 @@ const Mo = 500, Do = 5e3, Lo = 2e4, Hs = oe.forwardRef(
|
|
|
6733
6734
|
);
|
|
6734
6735
|
Hs.displayName = "TextInputMask";
|
|
6735
6736
|
/*!
|
|
6736
|
-
@versini/ui-textinput v5.0.
|
|
6737
|
+
@versini/ui-textinput v5.0.6
|
|
6737
6738
|
© 2025 gizmette.com
|
|
6738
6739
|
*/
|
|
6739
6740
|
try {
|
|
6740
6741
|
window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
|
|
6741
|
-
version: "5.0.
|
|
6742
|
-
buildTime: "10/
|
|
6742
|
+
version: "5.0.6",
|
|
6743
|
+
buildTime: "10/24/2025 07:46 PM EDT",
|
|
6743
6744
|
homepage: "https://github.com/aversini/ui-components",
|
|
6744
6745
|
license: "MIT"
|
|
6745
6746
|
});
|
|
@@ -6964,7 +6965,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, wl = "{{clipboard}}", P = "
|
|
|
6964
6965
|
] });
|
|
6965
6966
|
}, qo = new URL(document.location.href).searchParams, Rr = !!qo.get("debug") || !1, Wo = qs(() => import(
|
|
6966
6967
|
/* webpackChunkName: "LazyApp" */
|
|
6967
|
-
"./App.
|
|
6968
|
+
"./App.BziAYmB7.js"
|
|
6968
6969
|
).then((e) => e.App)), Vo = new fa(), Cr = ({
|
|
6969
6970
|
isComponent: e,
|
|
6970
6971
|
headerHeight: t
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.
|
|
1
|
+
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.BWlk5XJK.js";
|
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
|
3
3
|
function ne(e, n) {
|
|
4
4
|
const t = String(e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.
|
|
2
|
-
import { toText as Ca } from "./index.
|
|
1
|
+
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.BWlk5XJK.js";
|
|
2
|
+
import { toText as Ca } from "./index.B0wIqA0p.js";
|
|
3
3
|
const Gt = /[#.]/g;
|
|
4
4
|
function qa(r, e) {
|
|
5
5
|
const t = r || "", a = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { te as B } from "./index.
|
|
2
|
+
import { te as B } from "./index.BCgNuqvg.js";
|
|
3
3
|
import { useState as I, useEffect as k } from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
5
|
const h = "av-bubble", w = ({
|
|
@@ -39,7 +39,7 @@ const h = "av-bubble", w = ({
|
|
|
39
39
|
try {
|
|
40
40
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
41
41
|
version: "4.2.2",
|
|
42
|
-
buildTime: "10/
|
|
42
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
43
43
|
homepage: "https://github.com/aversini/ui-components",
|
|
44
44
|
license: "MIT"
|
|
45
45
|
});
|
|
@@ -90,13 +90,13 @@ const M = ({
|
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
92
|
/*!
|
|
93
|
-
@versini/ui-icons v4.14.
|
|
93
|
+
@versini/ui-icons v4.14.1
|
|
94
94
|
© 2025 gizmette.com
|
|
95
95
|
*/
|
|
96
96
|
try {
|
|
97
97
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
98
|
-
version: "4.14.
|
|
99
|
-
buildTime: "10/
|
|
98
|
+
version: "4.14.1",
|
|
99
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
100
100
|
homepage: "https://github.com/aversini/ui-components",
|
|
101
101
|
license: "MIT"
|
|
102
102
|
});
|
|
@@ -230,13 +230,13 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
230
230
|
] });
|
|
231
231
|
};
|
|
232
232
|
/*!
|
|
233
|
-
@versini/ui-bubble v6.1.
|
|
233
|
+
@versini/ui-bubble v6.1.4
|
|
234
234
|
© 2025 gizmette.com
|
|
235
235
|
*/
|
|
236
236
|
try {
|
|
237
237
|
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
|
238
|
-
version: "6.1.
|
|
239
|
-
buildTime: "10/
|
|
238
|
+
version: "6.1.4",
|
|
239
|
+
buildTime: "10/24/2025 07:48 PM EDT",
|
|
240
240
|
homepage: "https://github.com/aversini/ui-components",
|
|
241
241
|
license: "MIT"
|
|
242
242
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
|
2
|
-
import { visit as In } from "./useMarkdown.
|
|
3
|
-
import { toText as Cn } from "./index.
|
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.BziAYmB7.js";
|
|
2
|
+
import { visit as In } from "./useMarkdown.BWlk5XJK.js";
|
|
3
|
+
import { toText as Cn } from "./index.B0wIqA0p.js";
|
|
4
4
|
function xn(e) {
|
|
5
5
|
const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
|
|
6
6
|
className: "type",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as oe, jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { o as se, h as U, i as ie, x$1 as de } from "./index.
|
|
2
|
+
import { o as se, h as U, i as ie, x$1 as de } from "./index.BCgNuqvg.js";
|
|
3
3
|
import ce, { useState as _, useEffect as ne, useRef as b, useLayoutEffect as T } from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
5
|
function ue({
|
|
@@ -340,13 +340,13 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
340
340
|
);
|
|
341
341
|
Ee.displayName = "TextArea";
|
|
342
342
|
/*!
|
|
343
|
-
@versini/ui-textarea v5.0.
|
|
343
|
+
@versini/ui-textarea v5.0.7
|
|
344
344
|
© 2025 gizmette.com
|
|
345
345
|
*/
|
|
346
346
|
try {
|
|
347
347
|
window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
|
|
348
|
-
version: "5.0.
|
|
349
|
-
buildTime: "10/
|
|
348
|
+
version: "5.0.7",
|
|
349
|
+
buildTime: "10/24/2025 07:46 PM EDT",
|
|
350
350
|
homepage: "https://github.com/aversini/ui-components",
|
|
351
351
|
license: "MIT"
|
|
352
352
|
});
|