@versini/sassysaint 8.58.0 → 8.58.2
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.CB0dcRCM.js → AboutChangelog.BJb6evn9.js} +2 -2
- package/dist/chunks/{AboutEntry.DC6pIWQs.js → AboutEntry.CKS9KQYk.js} +7 -7
- package/dist/chunks/{App.B8ehtPCy.js → App.Bw24TFS-.js} +16 -16
- package/dist/chunks/{Chart.D-VIQysU.js → Chart.Cddg0IXQ.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CyJgR8J8.js → ChatBubbleAssistant.6-hK6qAF.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.tWOit_f_.js → ChatBubbleUser.DpUR_1HU.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.2v_Tv5Xj.js → ChatHistoryTable.BB5ESpr2.js} +13 -17
- package/dist/chunks/{HistoryEntry.Dh5bLuYX.js → HistoryEntry.BQlLgB9G.js} +3 -3
- package/dist/chunks/{ProfileEntry.Dno0c0_1.js → ProfileEntry.CuUO01aL.js} +2 -2
- package/dist/chunks/{SettingsEntry.IGOE-6JU.js → SettingsEntry.6T_vvycf.js} +34 -30
- package/dist/chunks/{Table.CAzmyLPU.js → Table.BLNonpLk.js} +2 -2
- package/dist/chunks/{UsageEntry.BStP6ETh.js → UsageEntry.CuWrk617.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.w335l_3o.js → UserMemoriesPanel.3ikfhdxH.js} +83 -75
- package/dist/chunks/{index.D3golFwx.js → index.BjpuOtB7.js} +2 -2
- package/dist/chunks/{index.BmuSGkDt.js → index.CQgBz9Dt.js} +1 -1
- package/dist/chunks/{index.CVdabB4A.js → index.CcOFJwqN.js} +1 -1
- package/dist/chunks/{index.CRS7yOjI.js → index.Cs8bFhFv.js} +1 -1
- package/dist/chunks/{index.Br-5S8Zv.js → index.Dgyiis4p.js} +2 -2
- package/dist/chunks/{index.Bm2rN-Q4.js → index.Ds-UToar.js} +1 -1
- package/dist/chunks/{index.CYzjDPpw.js → index.YTqgXQdg.js} +3 -3
- package/dist/chunks/{useMarkdown.B9WkUC07.js → useMarkdown.CskeXXFn.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
@@ -1,42 +1,43 @@
|
|
1
|
-
import { jsxs as r, Fragment as
|
2
|
-
import { n as
|
3
|
-
import { E as M, e as
|
4
|
-
import
|
5
|
-
import {
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
import { jsxs as r, Fragment as B, jsx as e } from "react/jsx-runtime";
|
2
|
+
import { n as H, LOCAL_STORAGE_PREFIX as k, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as V, LOCAL_STORAGE_SORT_MEMORY_COLUMN as Y, useUserMemories as X, useDeleteMemory as $, useDeleteAllMemories as J, te as K, L as Q, j as N, C as O } from "./index.BjpuOtB7.js";
|
3
|
+
import { E as M, e as s, ConfirmationPanel as T, se as W, st as Z } from "./App.Bw24TFS-.js";
|
4
|
+
import h from "clsx";
|
5
|
+
import { useState as c, useRef as ee } from "react";
|
6
|
+
import { j as te, D as re, G as u, M as n, F as oe, H as ne, l as ie, U as le } from "./Table.BLNonpLk.js";
|
7
|
+
const ue = ({
|
8
|
+
open: f,
|
9
|
+
onOpenChange: A,
|
9
10
|
user: a
|
10
11
|
}) => {
|
11
|
-
const { getAccessToken: d } =
|
12
|
-
key:
|
13
|
-
initialValue:
|
14
|
-
}), [
|
15
|
-
key:
|
12
|
+
const { getAccessToken: d } = H(), [R] = c(void 0), [E, L] = M({
|
13
|
+
key: k + V,
|
14
|
+
initialValue: s.DESC
|
15
|
+
}), [_, b] = M({
|
16
|
+
key: k + Y,
|
16
17
|
initialValue: "createdAt"
|
17
|
-
}), [
|
18
|
-
|
19
|
-
), { data:
|
18
|
+
}), [C, v] = c(E || s.DESC), [I, j] = c(
|
19
|
+
_ || "createdAt"
|
20
|
+
), { data: i, isLoading: x, isError: D } = X({
|
20
21
|
user: a,
|
21
|
-
query:
|
22
|
+
query: R,
|
22
23
|
getAccessToken: d,
|
23
|
-
enabled:
|
24
|
-
}),
|
25
|
-
|
26
|
-
}, P = () => {
|
27
|
-
i.current && D.mutate({ user: a, memoryId: i.current.id });
|
24
|
+
enabled: f
|
25
|
+
}), y = $({ getAccessToken: d }), p = J({ getAccessToken: d }), [F, g] = c(!1), l = ee(null), [G, S] = c(!1), P = (t, o, m) => {
|
26
|
+
l.current = { id: t, text: o, createdAt: m }, g(!0);
|
28
27
|
}, U = () => {
|
29
|
-
|
28
|
+
l.current && y.mutate({ user: a, memoryId: l.current.id });
|
30
29
|
}, q = () => {
|
31
|
-
a &&
|
30
|
+
a && S(!0);
|
31
|
+
}, z = () => {
|
32
|
+
a && p.mutate({ user: a });
|
32
33
|
};
|
33
|
-
return /* @__PURE__ */ r(
|
34
|
+
return /* @__PURE__ */ r(B, { children: [
|
34
35
|
/* @__PURE__ */ r(
|
35
36
|
T,
|
36
37
|
{
|
37
|
-
showConfirmation:
|
38
|
-
setShowConfirmation:
|
39
|
-
action:
|
38
|
+
showConfirmation: F,
|
39
|
+
setShowConfirmation: g,
|
40
|
+
action: U,
|
40
41
|
customStrings: {
|
41
42
|
title: "Delete memory",
|
42
43
|
confirmAction: "Delete",
|
@@ -47,12 +48,12 @@ const de = ({
|
|
47
48
|
/* @__PURE__ */ r("ul", { className: "m-0 mt-2 list-disc list-inside text-xs opacity-80", children: [
|
48
49
|
/* @__PURE__ */ r("li", { children: [
|
49
50
|
"Excerpt: ",
|
50
|
-
|
51
|
+
l.current?.text?.slice(0, 80) || ""
|
51
52
|
] }),
|
52
53
|
/* @__PURE__ */ r("li", { children: [
|
53
54
|
"Created:",
|
54
55
|
" ",
|
55
|
-
|
56
|
+
l.current?.createdAt ? new Date(l.current.createdAt).toLocaleString() : "-"
|
56
57
|
] })
|
57
58
|
] })
|
58
59
|
]
|
@@ -61,9 +62,9 @@ const de = ({
|
|
61
62
|
/* @__PURE__ */ e(
|
62
63
|
T,
|
63
64
|
{
|
64
|
-
showConfirmation:
|
65
|
-
setShowConfirmation:
|
66
|
-
action:
|
65
|
+
showConfirmation: G,
|
66
|
+
setShowConfirmation: S,
|
67
|
+
action: z,
|
67
68
|
customStrings: {
|
68
69
|
title: "Delete all memories",
|
69
70
|
confirmAction: "Delete all",
|
@@ -73,14 +74,14 @@ const de = ({
|
|
73
74
|
}
|
74
75
|
),
|
75
76
|
/* @__PURE__ */ e(
|
76
|
-
|
77
|
+
W,
|
77
78
|
{
|
78
|
-
open:
|
79
|
-
onOpenChange: (t) =>
|
79
|
+
open: f,
|
80
|
+
onOpenChange: (t) => A(t),
|
80
81
|
title: "User Memories",
|
81
82
|
animation: !0,
|
82
83
|
animationType: "fade",
|
83
|
-
footer: /* @__PURE__ */ r(
|
84
|
+
footer: /* @__PURE__ */ r(Q, { columnGap: 2, alignHorizontal: "flex-end", children: [
|
84
85
|
/* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(
|
85
86
|
O,
|
86
87
|
{
|
@@ -88,7 +89,7 @@ const de = ({
|
|
88
89
|
variant: "secondary",
|
89
90
|
noBorder: !0,
|
90
91
|
focusMode: "light",
|
91
|
-
onClick: () =>
|
92
|
+
onClick: () => A(!1),
|
92
93
|
children: "Close"
|
93
94
|
}
|
94
95
|
) }),
|
@@ -98,47 +99,51 @@ const de = ({
|
|
98
99
|
mode: "dark",
|
99
100
|
focusMode: "light",
|
100
101
|
variant: "danger",
|
101
|
-
disabled:
|
102
|
-
onClick:
|
102
|
+
disabled: p.isPending || (i?.total ?? 0) === 0,
|
103
|
+
onClick: q,
|
103
104
|
children: "Delete All"
|
104
105
|
}
|
105
106
|
) })
|
106
107
|
] }),
|
107
108
|
children: /* @__PURE__ */ r("div", { className: "flex flex-col sm:flex-row max-h-[75vh] min-h-[60vh] pt-2", children: [
|
108
|
-
|
109
|
-
|
110
|
-
!
|
111
|
-
/* @__PURE__ */ e(
|
112
|
-
/* @__PURE__ */ e(
|
113
|
-
/* @__PURE__ */ e(
|
109
|
+
x && /* @__PURE__ */ e("p", { className: "m-0", children: "Loading memories..." }),
|
110
|
+
D && /* @__PURE__ */ e("p", { className: "m-0 text-red-500", children: "Failed to load memories." }),
|
111
|
+
!x && !D && (i && i.items.length > 0 ? /* @__PURE__ */ r(te, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
|
112
|
+
/* @__PURE__ */ e(re, { children: /* @__PURE__ */ r(u, { children: [
|
113
|
+
/* @__PURE__ */ e(n, { className: "sr-only", children: "Row" }),
|
114
|
+
/* @__PURE__ */ e(n, { children: "Memory" }),
|
114
115
|
/* @__PURE__ */ e(
|
115
|
-
|
116
|
+
oe,
|
116
117
|
{
|
118
|
+
focusMode: "system",
|
117
119
|
buttonClassName: "text-xs sm:text-sm",
|
118
120
|
cellId: "createdAt",
|
119
121
|
align: "left",
|
120
|
-
sortDirection:
|
121
|
-
sortedCell:
|
122
|
+
sortDirection: C,
|
123
|
+
sortedCell: I,
|
122
124
|
onClick: () => {
|
123
|
-
|
124
|
-
const
|
125
|
-
return
|
125
|
+
j("createdAt"), b("createdAt"), v((t) => {
|
126
|
+
const o = t === s.ASC ? s.DESC : s.ASC;
|
127
|
+
return L(o), o;
|
126
128
|
});
|
127
129
|
},
|
128
130
|
children: "Date"
|
129
131
|
}
|
130
132
|
),
|
131
|
-
/* @__PURE__ */ e(
|
133
|
+
/* @__PURE__ */ e(n, { align: "right", children: "Actions" })
|
132
134
|
] }) }),
|
133
|
-
/* @__PURE__ */ e(ne, { children: [...
|
134
|
-
const m = t.createdAt ? new Date(t.createdAt).getTime() : 0,
|
135
|
-
return
|
136
|
-
}).map((t,
|
137
|
-
/* @__PURE__ */ e(
|
135
|
+
/* @__PURE__ */ e(ne, { children: [...i.items].sort((t, o) => {
|
136
|
+
const m = t.createdAt ? new Date(t.createdAt).getTime() : 0, w = o.createdAt ? new Date(o.createdAt).getTime() : 0;
|
137
|
+
return C === s.ASC ? m - w : w - m;
|
138
|
+
}).map((t, o) => /* @__PURE__ */ r(u, { children: [
|
139
|
+
/* @__PURE__ */ e(n, { className: h("dark:text-gray-400"), children: o + 1 }),
|
138
140
|
/* @__PURE__ */ e(
|
139
|
-
|
141
|
+
n,
|
140
142
|
{
|
141
|
-
className:
|
143
|
+
className: h(
|
144
|
+
"dark:text-white",
|
145
|
+
"max-w-[100px] sm:max-w-full text-xs sm:text-sm"
|
146
|
+
),
|
142
147
|
style: {
|
143
148
|
wordBreak: "break-word"
|
144
149
|
},
|
@@ -146,44 +151,47 @@ const de = ({
|
|
146
151
|
}
|
147
152
|
),
|
148
153
|
/* @__PURE__ */ e(
|
149
|
-
|
154
|
+
n,
|
150
155
|
{
|
151
156
|
component: "th",
|
152
157
|
scope: "row",
|
153
|
-
className:
|
158
|
+
className: h(
|
159
|
+
"dark:text-gray-400",
|
160
|
+
"sm:whitespace-nowrap text-xs sm:text-sm max-w-20 sm:max-w-none"
|
161
|
+
),
|
154
162
|
children: t.createdAt ? new Date(t.createdAt).toLocaleDateString() : "-"
|
155
163
|
}
|
156
164
|
),
|
157
|
-
/* @__PURE__ */ e(
|
158
|
-
|
165
|
+
/* @__PURE__ */ e(n, { className: "align-top", align: "right", children: /* @__PURE__ */ e(
|
166
|
+
Z,
|
159
167
|
{
|
160
168
|
label: "Delete memory",
|
161
|
-
mode: "
|
169
|
+
mode: "system",
|
162
170
|
placement: "top",
|
163
171
|
trigger: /* @__PURE__ */ e(
|
164
|
-
|
172
|
+
K,
|
165
173
|
{
|
166
|
-
focusMode: "
|
174
|
+
focusMode: "system",
|
167
175
|
noBorder: !0,
|
168
176
|
label: "Delete memory",
|
169
177
|
variant: "primary",
|
170
178
|
iconClassName: "text-red-700 dark:text-red-500",
|
171
|
-
disabled:
|
172
|
-
onClick: () =>
|
179
|
+
disabled: y.isPending,
|
180
|
+
onClick: () => P(
|
173
181
|
t.memoryId,
|
174
182
|
t.text,
|
175
183
|
t.createdAt
|
176
184
|
),
|
177
|
-
children: /* @__PURE__ */ e(
|
185
|
+
children: /* @__PURE__ */ e(ie, { size: "size-3", monotone: !0 })
|
178
186
|
}
|
179
187
|
)
|
180
188
|
}
|
181
189
|
) })
|
182
190
|
] }, t.memoryId)) }),
|
183
|
-
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ e(
|
184
|
-
|
191
|
+
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ e(u, { children: /* @__PURE__ */ r(n, { colSpan: 4, children: [
|
192
|
+
i.total,
|
185
193
|
" memor",
|
186
|
-
|
194
|
+
i.total === 1 ? "y" : "ies"
|
187
195
|
] }) }) })
|
188
196
|
] }) : /* @__PURE__ */ e("p", { className: "m-0 italic opacity-70", children: "No memories stored." }))
|
189
197
|
] })
|
@@ -192,6 +200,6 @@ const de = ({
|
|
192
200
|
] });
|
193
201
|
};
|
194
202
|
export {
|
195
|
-
|
196
|
-
|
203
|
+
ue as UserMemoriesPanel,
|
204
|
+
ue as default
|
197
205
|
};
|
@@ -6554,7 +6554,7 @@ try {
|
|
6554
6554
|
});
|
6555
6555
|
} catch {
|
6556
6556
|
}
|
6557
|
-
const Ao = "ASK! ME! ANYTHING!", Io = "⭐︎ AI DEV MODE ⭐︎", _o = "Log in", Ro = "
|
6557
|
+
const Ao = "ASK! ME! ANYTHING!", Io = "⭐︎ AI DEV MODE ⭐︎", _o = "Log in with a password", Ro = "Log in with a Passkey", Hc = "Log out", Co = "Password", Kc = "Usage", Gc = "Profile", Bc = "Settings", Wc = "Chat history", qc = "About", Vt = "Type your message here.", jc = Vt, Vc = `${Vt}
|
6558
6558
|
Press Enter to send it or Shift+Enter for new line.`, Jc = `${Vt}
|
6559
6559
|
Press Ctrl+Enter to send it or Enter for new line.`, Qc = "{{clipboard}}", P = "Review important details.", Yc = [
|
6560
6560
|
`Sometimes, ${k} just makes stuff up. ${P}`,
|
@@ -6756,7 +6756,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Qc = "{{clipboard}}", P = "
|
|
6756
6756
|
] });
|
6757
6757
|
}, No = new URL(document.location.href).searchParams, vr = !!No.get("debug") || !1, Po = Os(() => import(
|
6758
6758
|
/* webpackChunkName: "LazyApp" */
|
6759
|
-
"./App.
|
6759
|
+
"./App.Bw24TFS-.js"
|
6760
6760
|
).then((e) => e.App)), $o = new Xs(), Tr = ({
|
6761
6761
|
isComponent: e,
|
6762
6762
|
headerHeight: t
|
@@ -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.CskeXXFn.js";
|
2
|
+
import { toText as Ca } from "./index.Cs8bFhFv.js";
|
3
3
|
const Gt = /[#.]/g;
|
4
4
|
function qa(r, e) {
|
5
5
|
const t = r || "", a = {};
|
@@ -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.CskeXXFn.js";
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
3
3
|
function ne(e, n) {
|
4
4
|
const t = String(e);
|
@@ -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.Bw24TFS-.js";
|
2
|
+
import { visit as In } from "./useMarkdown.CskeXXFn.js";
|
3
|
+
import { toText as Cn } from "./index.Cs8bFhFv.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,8 +1,8 @@
|
|
1
1
|
import * as rn from "react/jsx-runtime";
|
2
2
|
import { jsx as se, jsxs as Pn } from "react/jsx-runtime";
|
3
|
-
import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index.
|
3
|
+
import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index.BjpuOtB7.js";
|
4
4
|
import zr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
|
5
|
-
import { getDefaultExportFromCjs as Nt } from "./App.
|
5
|
+
import { getDefaultExportFromCjs as Nt } from "./App.Bw24TFS-.js";
|
6
6
|
import Lr from "clsx";
|
7
7
|
const Rt = ({
|
8
8
|
children: e,
|
@@ -6900,7 +6900,7 @@ class uu {
|
|
6900
6900
|
if (!this.remarkGfm) {
|
6901
6901
|
const { default: n } = await import(
|
6902
6902
|
/* webpackChunkName: "md-remark" */
|
6903
|
-
"./index.
|
6903
|
+
"./index.Ds-UToar.js"
|
6904
6904
|
);
|
6905
6905
|
this.remarkGfm = n;
|
6906
6906
|
}
|
@@ -6911,7 +6911,7 @@ class uu {
|
|
6911
6911
|
hu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
|
6912
6912
|
const { default: n } = await import(
|
6913
6913
|
/* webpackChunkName: "md-rehype-katex" */
|
6914
|
-
"./index.
|
6914
|
+
"./index.Dgyiis4p.js"
|
6915
6915
|
);
|
6916
6916
|
this.rehypeKatex = n;
|
6917
6917
|
}
|
@@ -6921,7 +6921,7 @@ class uu {
|
|
6921
6921
|
if (!this.remarkMath) {
|
6922
6922
|
const { default: n } = await import(
|
6923
6923
|
/* webpackChunkName: "md-remark" */
|
6924
|
-
"./index.
|
6924
|
+
"./index.CQgBz9Dt.js"
|
6925
6925
|
);
|
6926
6926
|
this.remarkMath = n;
|
6927
6927
|
}
|
@@ -6931,7 +6931,7 @@ class uu {
|
|
6931
6931
|
if (!this.rehypeHighlight) {
|
6932
6932
|
const { default: n } = await import(
|
6933
6933
|
/* webpackChunkName: "md-rehype-highlight" */
|
6934
|
-
"./index.
|
6934
|
+
"./index.YTqgXQdg.js"
|
6935
6935
|
);
|
6936
6936
|
this.rehypeHighlight = n;
|
6937
6937
|
}
|
package/dist/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
1
|
+
import { SassySaint as r } from "./chunks/index.BjpuOtB7.js";
|
2
2
|
/*!
|
3
|
-
@sassysaint/client v8.58.
|
3
|
+
@sassysaint/client v8.58.2
|
4
4
|
© 2025 gizmette.com
|
5
5
|
*/
|
6
6
|
try {
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
8
|
-
version: "8.58.
|
9
|
-
buildTime: "10/10/2025
|
8
|
+
version: "8.58.2",
|
9
|
+
buildTime: "10/10/2025 08:16 PM EDT",
|
10
10
|
license: "MIT"
|
11
11
|
});
|
12
12
|
} catch {
|