@versini/sassysaint 8.105.0 → 8.105.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.
Files changed (29) hide show
  1. package/dist/chunks/{AboutChangelog.CRt85wsw.js → AboutChangelog.nlPIWp0N.js} +2 -2
  2. package/dist/chunks/{AboutEntry.DMiMxScA.js → AboutEntry.CphmsD5H.js} +7 -7
  3. package/dist/chunks/{App.CBKskkKU.js → App.CIwNk-Ut.js} +2529 -2537
  4. package/dist/chunks/{Chart.KHpqCiEV.js → Chart.Dvl7vluK.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.CZJrV4tB.js → ChatBubbleAssistant.DZ6ok4cT.js} +5 -5
  6. package/dist/chunks/{ChatBubbleUser.CDXthWb5.js → ChatBubbleUser.CHWKvZg3.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable.CJz-AVbz.js → ChatHistoryTable.BWpKoQsi.js} +15 -15
  8. package/dist/chunks/{HistoryEntry.DPyIoEmj.js → HistoryEntry.yoV4fAVr.js} +6 -6
  9. package/dist/chunks/{LoginEntry.3r7SLT3b.js → LoginEntry.QP6-497n.js} +4 -4
  10. package/dist/chunks/{LogoEntry.C93TJ0jv.js → LogoEntry.hJ_vIJmf.js} +1 -1
  11. package/dist/chunks/{MemoriesEntry.IcqSZ4t6.js → MemoriesEntry.n0JGBOnn.js} +36 -36
  12. package/dist/chunks/{ProfileEntry.BUB9buYS.js → ProfileEntry.BkF2iOVP.js} +4 -4
  13. package/dist/chunks/{SettingsEntry.DTjImheT.js → SettingsEntry.CUE9-B_Z.js} +5 -5
  14. package/dist/chunks/{Table.BwBmik0P.js → Table.B0wueiQh.js} +127 -105
  15. package/dist/chunks/{UsageEntry.BATDFLgH.js → UsageEntry.J4oBMVMS.js} +5 -5
  16. package/dist/chunks/{index.BbofTmf8.js → index.BC18QJea.js} +1 -1
  17. package/dist/chunks/{index.CxZF9Uq-.js → index.C7gau1B5.js} +1 -1
  18. package/dist/chunks/{index.C-kisTrP.js → index.CbtQDjOH.js} +1 -1
  19. package/dist/chunks/{index.BtadvdEU.js → index.ClNxiXVb.js} +1 -1
  20. package/dist/chunks/{index.DF9__Nva.js → index.D8rj890J.js} +1 -1
  21. package/dist/chunks/{index.BaD2fhOx.js → index.DFl1tPBj.js} +2 -2
  22. package/dist/chunks/{index.DkrILBNu.js → index.DTkLpMnR.js} +1 -1
  23. package/dist/chunks/{index.Dm1Bz_in.js → index.DZAOimM5.js} +2 -2
  24. package/dist/chunks/{index.CRu0FQN_.js → index.DsqBt3WJ.js} +1 -1
  25. package/dist/chunks/{index.g1V53tjM.js → index.WO0c_AVQ.js} +3 -3
  26. package/dist/chunks/{useMarkdown.AJZ6e5Z0.js → useMarkdown.CgDrCbrc.js} +7 -7
  27. package/dist/components/SassySaint/SassySaint.js +1 -1
  28. package/dist/index.js +4 -4
  29. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import { jsx as Pp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.CBKskkKU.js";
2
+ import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.CIwNk-Ut.js";
3
3
  import Lp, { useMemo as Ep } from "react";
4
- import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.C93TJ0jv.js";
4
+ import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.hJ_vIJmf.js";
5
5
  var hs = { exports: {} }, Dp = hs.exports, nn;
6
6
  function Bp() {
7
7
  return nn || (nn = 1, (function(Ae, pe) {
@@ -1,11 +1,11 @@
1
1
  import { jsx as ss } from "react/jsx-runtime";
2
- import { n as is, useUserPreferences as rs } from "./index.Dm1Bz_in.js";
3
- import { BUBBLE_FOOTER_EMPTY as as } from "./index.CxZF9Uq-.js";
4
- import { convertStringToHumanReadable as os, numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.CBKskkKU.js";
2
+ import { n as is, useUserPreferences as rs } from "./index.DZAOimM5.js";
3
+ import { BUBBLE_FOOTER_EMPTY as as } from "./index.C7gau1B5.js";
4
+ import { convertStringToHumanReadable as os, numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.CIwNk-Ut.js";
5
5
  import Xt from "clsx";
6
6
  import fs, { useState as Me, useEffect as qt, useContext as vt } from "react";
7
- import { useMarkdown as hs } from "./useMarkdown.AJZ6e5Z0.js";
8
- import { ChatContext as ds, AppContext as ps } from "./LogoEntry.C93TJ0jv.js";
7
+ import { useMarkdown as hs } from "./useMarkdown.CgDrCbrc.js";
8
+ import { ChatContext as ds, AppContext as ps } from "./LogoEntry.hJ_vIJmf.js";
9
9
  function ms(e, t) {
10
10
  e.indexOf(t) === -1 && e.push(t);
11
11
  }
@@ -1,8 +1,8 @@
1
1
  import { jsx as i, Fragment as S, jsxs as C } from "react/jsx-runtime";
2
- import { Button as _ } from "./LogoEntry.C93TJ0jv.js";
2
+ import { Button as _ } from "./LogoEntry.hJ_vIJmf.js";
3
3
  import { useState as h, useMemo as m, isValidElement as T, useEffect as B } from "react";
4
- import { useMarkdown as b } from "./useMarkdown.AJZ6e5Z0.js";
5
- import { AsyncBubble as k } from "./App.CBKskkKU.js";
4
+ import { useMarkdown as b } from "./useMarkdown.CgDrCbrc.js";
5
+ import { AsyncBubble as k } from "./App.CIwNk-Ut.js";
6
6
  /*!
7
7
  @versini/ui-truncate v6.1.8
8
8
  © 2025 gizmette.com
@@ -1,10 +1,10 @@
1
1
  import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
- import { y as S, v as M, INFINITE_SCROLL_THRESHOLD as L } from "./index.Dm1Bz_in.js";
3
- import { IconCloseLight as U, CARDS as D, ButtonIcon as C, IconRestore as z, IconStarInCircle as B, IconStarInCircleLight as $, IconDelete as Y } from "./LogoEntry.C93TJ0jv.js";
4
- import { useState as W, Fragment as j } from "react";
2
+ import { y as S, v as M, INFINITE_SCROLL_THRESHOLD as L } from "./index.DZAOimM5.js";
3
+ import { IconCloseLight as U, CARDS as D, ButtonIcon as C, IconRestore as z, IconStarInCircle as B, IconStarInCircleLight as $, IconDelete as Y } from "./LogoEntry.hJ_vIJmf.js";
4
+ import { useState as K, Fragment as V } from "react";
5
5
  import i from "clsx";
6
- import { j as G, D as K, F as N, G as V, W as o, Y as k } from "./Table.BwBmik0P.js";
7
- import { pluralize as I, ResponsiveTooltip as w, numberFormatter as F, isProbablyMobile as H } from "./App.CBKskkKU.js";
6
+ import { H as W, F as j, q as N, Y as F, O as o, J as k } from "./Table.B0wueiQh.js";
7
+ import { pluralize as I, ResponsiveTooltip as w, numberFormatter as G, isProbablyMobile as H } from "./App.CIwNk-Ut.js";
8
8
  /*!
9
9
  @versini/ui-pill v5.2.4
10
10
  © 2025 gizmette.com
@@ -45,8 +45,8 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
45
45
  variant: l
46
46
  }))
47
47
  };
48
- }, R = ({ label: t, className: a, variant: l = "information", description: m, onClose: d }) => {
49
- const [h, p] = W(!0), g = (f) => {
48
+ }, O = ({ label: t, className: a, variant: l = "information", description: m, onClose: d }) => {
49
+ const [h, p] = K(!0), g = (f) => {
50
50
  d && (d(f), f.defaultPrevented || p(!1));
51
51
  };
52
52
  if (!h)
@@ -105,7 +105,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
105
105
  infinityScrollMarkerRef: g,
106
106
  isLoading: u = !1,
107
107
  totalHistoryCount: f,
108
- isFiltered: O = !1,
108
+ isFiltered: R = !1,
109
109
  isSearchActive: T = !1
110
110
  }) => {
111
111
  const y = H() ? Z : ee, E = (r) => {
@@ -186,13 +186,13 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
186
186
  children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-1", children: [
187
187
  /* @__PURE__ */ c("div", { className: "flex flex-wrap gap-1", children: [
188
188
  x !== null && /* @__PURE__ */ e(
189
- R,
189
+ O,
190
190
  {
191
191
  variant: v,
192
192
  label: `${x}% semantic`
193
193
  }
194
194
  ),
195
- P && /* @__PURE__ */ e(R, { variant: "information", label: "keyword" })
195
+ P && /* @__PURE__ */ e(O, { variant: "information", label: "keyword" })
196
196
  ] }),
197
197
  /* @__PURE__ */ e("span", { children: s.summary })
198
198
  ] })
@@ -206,7 +206,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
206
206
  {
207
207
  className: i("dark:text-gray-400", "text-xs sm:text-sm"),
208
208
  align: "right",
209
- children: s.tokenUsage ? F.format(s.tokenUsage) : "0"
209
+ children: s.tokenUsage ? G.format(s.tokenUsage) : "0"
210
210
  },
211
211
  r
212
212
  );
@@ -284,19 +284,19 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
284
284
  }
285
285
  };
286
286
  return /* @__PURE__ */ c(
287
- G,
287
+ W,
288
288
  {
289
289
  stickyHeader: !0,
290
290
  compact: !0,
291
291
  mode: "alt-system",
292
292
  caption: (() => {
293
293
  const r = t.length, s = f ?? r;
294
- return O && s > r ? `Showing ${I(`${r} chat`, r)} out of ${s}` : I(`${r} chat`, r);
294
+ return R && s > r ? `Showing ${I(`${r} chat`, r)} out of ${s}` : I(`${r} chat`, r);
295
295
  })(),
296
296
  disabled: u && t.length > 0,
297
297
  children: [
298
- /* @__PURE__ */ e(K, { children: /* @__PURE__ */ e(N, { children: y.map((r) => E(r)) }) }),
299
- /* @__PURE__ */ e(V, { children: u && t.length === 0 ? /* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(o, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : t.slice(0, l).map((r, s) => r?.summary ? /* @__PURE__ */ c(j, { children: [
298
+ /* @__PURE__ */ e(j, { children: /* @__PURE__ */ e(N, { children: y.map((r) => E(r)) }) }),
299
+ /* @__PURE__ */ e(F, { children: u && t.length === 0 ? /* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(o, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : t.slice(0, l).map((r, s) => r?.summary ? /* @__PURE__ */ c(V, { children: [
300
300
  s === l - L && /* @__PURE__ */ e("tr", { ref: g }),
301
301
  /* @__PURE__ */ e(N, { children: y.map(
302
302
  (b) => _(b, r, s)
@@ -1,15 +1,15 @@
1
1
  import { jsxs as i, Fragment as ae, jsx as t } from "react/jsx-runtime";
2
- import { n as K, INFINITE_SCROLL_LIMIT as U, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as u, LOCAL_STORAGE_SORT_TIMESTAMP as se, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ne, y as I, LOCAL_STORAGE_CHAT_ID as ie, useDeleteChat as ce, useToggleFavoriteChat as le, graphQLRequest as de, SERVICE_TYPES as he, ACTION_SORT as me, v as ue, LOCAL_STORAGE_SEARCH as Ce, LOCAL_STORAGE_FAVORITES_ONLY as Se, LOCAL_STORAGE_KEYWORD_MATCH_ALL as fe, useChatsHistory as ye, useUserChatStats as pe, ACTION_SEARCH as Te } from "./index.Dm1Bz_in.js";
3
- import { HistoryContext as Y, ChatContext as ge, e as m, APP_CLASSNAME as Ae, TOAST_CHAT_DELETED as Ee, HISTORY_TITLE as _e, IconSearch as Le, Button as De, L as Oe, j as ke } from "./LogoEntry.C93TJ0jv.js";
4
- import { Card as ve } from "./index.DF9__Nva.js";
5
- import { useAiChat as Re, useLocalStorage as C, ConfirmationPanel as be, LazyToastContainerWrapper as Ie, showErrorToast as xe, v4 as we, CHAT_RESET as He, CHAT_SET_ATTACHMENTS as Ne, CHAT_SET_STATUS as Fe, Panel as Me, debounce as Ge, Toggle as B, CancelButton as Ve } from "./App.CBKskkKU.js";
6
- import { TextInput as ze } from "./index.CRu0FQN_.js";
2
+ import { n as K, INFINITE_SCROLL_LIMIT as U, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as u, LOCAL_STORAGE_SORT_TIMESTAMP as se, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ne, y as I, LOCAL_STORAGE_CHAT_ID as ie, useDeleteChat as ce, useToggleFavoriteChat as le, graphQLRequest as de, SERVICE_TYPES as he, ACTION_SORT as me, v as ue, LOCAL_STORAGE_SEARCH as Ce, LOCAL_STORAGE_FAVORITES_ONLY as Se, LOCAL_STORAGE_KEYWORD_MATCH_ALL as fe, useChatsHistory as ye, useUserChatStats as pe, ACTION_SEARCH as Te } from "./index.DZAOimM5.js";
3
+ import { HistoryContext as Y, ChatContext as ge, e as m, APP_CLASSNAME as Ae, TOAST_CHAT_DELETED as Ee, HISTORY_TITLE as _e, IconSearch as Le, Button as De, L as Oe, j as ke } from "./LogoEntry.hJ_vIJmf.js";
4
+ import { Card as ve } from "./index.D8rj890J.js";
5
+ import { useAiChat as Re, useLocalStorage as C, ConfirmationPanel as be, LazyToastContainerWrapper as Ie, showErrorToast as xe, v4 as we, CHAT_RESET as He, CHAT_SET_ATTACHMENTS as Ne, CHAT_SET_STATUS as Fe, Panel as Me, debounce as Ge, Toggle as B, CancelButton as Ve } from "./App.CIwNk-Ut.js";
6
+ import { TextInput as ze } from "./index.DsqBt3WJ.js";
7
7
  import Pe from "clsx";
8
8
  import { useRef as x, useState as G, useContext as V, useCallback as j, Suspense as Ue, lazy as Be, useEffect as je } from "react";
9
9
  const Ke = Be(
10
10
  () => import(
11
11
  /* webpackChunkName: "history-table" */
12
- "./ChatHistoryTable.CJz-AVbz.js"
12
+ "./ChatHistoryTable.BWpKoQsi.js"
13
13
  ).then((S) => ({ default: S.ChatHistoryTable }))
14
14
  ), Ye = ({
15
15
  filteredHistory: S,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as i, jsx as e, Fragment as x } from "react/jsx-runtime";
2
- import { n as L, getLayoutPaddingClass as M, getMessageContaintWrapperClass as b, isTauri as I } from "./index.Dm1Bz_in.js";
3
- import { Logo as N, L as E, j as t, PASSWORD_PLACEHOLDER as y, ButtonIcon as p, IconShow as S, IconHide as v, Button as w, LOG_IN as P, LOG_IN_PASSKEY as z, IconPasskey as B } from "./LogoEntry.C93TJ0jv.js";
4
- import { Card as O } from "./index.DF9__Nva.js";
5
- import { TextInput as T, TextInputMask as W } from "./index.CRu0FQN_.js";
2
+ import { n as L, getLayoutPaddingClass as M, getMessageContaintWrapperClass as b, isTauri as I } from "./index.DZAOimM5.js";
3
+ import { Logo as N, L as E, j as t, PASSWORD_PLACEHOLDER as y, ButtonIcon as p, IconShow as S, IconHide as v, Button as w, LOG_IN as P, LOG_IN_PASSKEY as z, IconPasskey as B } from "./LogoEntry.hJ_vIJmf.js";
4
+ import { Card as O } from "./index.D8rj890J.js";
5
+ import { TextInput as T, TextInputMask as W } from "./index.DsqBt3WJ.js";
6
6
  import { useState as s, useEffect as h } from "react";
7
7
  const q = () => {
8
8
  const { login: g, logoutReason: o, loginWithPasskey: f } = L(), [n, l] = s(""), [d, m] = s(""), [c, C] = s(!0), [r, u] = s({
@@ -1,7 +1,7 @@
1
1
  import E, { useRef as N, useEffect as A, useCallback as e1, useState as h1, useMemo as Y, useContext as t1, useId as d1, useLayoutEffect as X } from "react";
2
2
  import { jsx as o, jsxs as l } from "react/jsx-runtime";
3
3
  import n from "clsx";
4
- import { V as d, e as u1, P as m1, r as p1 } from "./index.Dm1Bz_in.js";
4
+ import { V as d, e as u1, P as m1, r as p1 } from "./index.DZAOimM5.js";
5
5
  /*!
6
6
  @versini/ui-hooks v6.0.0
7
7
  © 2025 gizmette.com
@@ -1,18 +1,18 @@
1
1
  import { jsx as e, jsxs as r, Fragment as I } from "react/jsx-runtime";
2
- import { n as Te, LOCAL_STORAGE_PREFIX as ee, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ke, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ve, useUserMemories as De, useExpiredMemories as be, useDeleteMemory as Ee, useDeleteAllActiveMemories as Me, useDeleteAllExpiredMemories as Re, useUpdateMemory as Ie, useRestoreMemory as Le } from "./index.Dm1Bz_in.js";
3
- import { L as M, j as f, Button as B, e as s, ButtonIcon as L, IconEdit as Oe, IconDelete as te, IconRestore as _e } from "./LogoEntry.C93TJ0jv.js";
4
- import { Panel as ae, Toggle as O, CancelButton as ce, useLocalStorage as re, ConfirmationPanel as ie, ResponsiveTooltip as _ } from "./App.CBKskkKU.js";
5
- import { j as ne, D as oe, F as v, W as a, Y as z, G as le, H as se } from "./Table.BwBmik0P.js";
2
+ import { n as Te, LOCAL_STORAGE_PREFIX as ee, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ke, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ve, useUserMemories as be, useExpiredMemories as De, useDeleteMemory as Ee, useDeleteAllActiveMemories as Me, useDeleteAllExpiredMemories as Re, useUpdateMemory as Ie, useRestoreMemory as Le } from "./index.DZAOimM5.js";
3
+ import { L as M, j as f, Button as B, e as s, ButtonIcon as L, IconEdit as Oe, IconDelete as te, IconRestore as _e } from "./LogoEntry.hJ_vIJmf.js";
4
+ import { Panel as ae, Toggle as O, CancelButton as ce, useLocalStorage as re, ConfirmationPanel as ie, ResponsiveTooltip as _ } from "./App.CIwNk-Ut.js";
5
+ import { H as ne, F as oe, q as v, O as a, J as z, Y as le, G as se } from "./Table.B0wueiQh.js";
6
6
  import C from "clsx";
7
7
  import { useState as N, useEffect as ze, useRef as q } from "react";
8
- import { TextArea as Be } from "./index.BtadvdEU.js";
8
+ import { TextArea as Be } from "./index.ClNxiXVb.js";
9
9
  const Pe = ({
10
10
  open: w,
11
- onOpenChange: D,
11
+ onOpenChange: b,
12
12
  initialText: d,
13
13
  metadata: n,
14
14
  onSave: A,
15
- isSaving: b = !1
15
+ isSaving: D = !1
16
16
  }) => {
17
17
  const [l, E] = N(d), [y, h] = N("none");
18
18
  ze(() => {
@@ -32,20 +32,20 @@ const Pe = ({
32
32
  ae,
33
33
  {
34
34
  open: w,
35
- onOpenChange: D,
35
+ onOpenChange: b,
36
36
  title: "Edit Memory",
37
37
  animation: !0,
38
38
  animationType: "fade",
39
39
  footer: /* @__PURE__ */ r(M, { columnGap: 2, alignHorizontal: "flex-end", children: [
40
- /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(ce, { onOpenChange: D, label: "Cancel" }) }),
40
+ /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(ce, { onOpenChange: b, label: "Cancel" }) }),
41
41
  /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(
42
42
  B,
43
43
  {
44
44
  mode: "dark",
45
45
  focusMode: "light",
46
- disabled: b || !T || !p,
46
+ disabled: D || !T || !p,
47
47
  onClick: P,
48
- children: b ? "Saving..." : "Save"
48
+ children: D ? "Saving..." : "Save"
49
49
  }
50
50
  ) })
51
51
  ] }),
@@ -179,8 +179,8 @@ const Pe = ({
179
179
  ] })
180
180
  }
181
181
  );
182
- }, Ve = ({ open: w, onOpenChange: D, user: d }) => {
183
- const n = q(null), { getAccessToken: A } = Te(), [b] = N(void 0), [l, E] = N("active"), [y, h] = re({
182
+ }, je = ({ open: w, onOpenChange: b, user: d }) => {
183
+ const n = q(null), { getAccessToken: A } = Te(), [D] = N(void 0), [l, E] = N("active"), [y, h] = re({
184
184
  key: ee + ke,
185
185
  initialValue: s.DESC
186
186
  }), [P, T] = re({
@@ -188,22 +188,22 @@ const Pe = ({
188
188
  initialValue: "createdAt"
189
189
  }), [p, o] = N(y || s.DESC), [u, R] = N(
190
190
  P || "createdAt"
191
- ), { data: k, isLoading: H, isError: $ } = De({
191
+ ), { data: k, isLoading: H, isError: $ } = be({
192
192
  user: d,
193
- query: b,
193
+ query: D,
194
194
  getAccessToken: A,
195
195
  enabled: w && l === "active"
196
196
  }), {
197
197
  data: g,
198
- isLoading: j,
199
- isError: X
200
- } = be({
198
+ isLoading: X,
199
+ isError: V
200
+ } = De({
201
201
  user: d,
202
- query: b,
202
+ query: D,
203
203
  getAccessToken: A,
204
204
  enabled: w && l === "expired"
205
- }), F = Ee({ getAccessToken: A }), V = Me({ getAccessToken: A }), Y = Re({ getAccessToken: A }), G = Ie({ getAccessToken: A }), W = Le({ getAccessToken: A }), [de, J] = N(!1), S = q(null), [me, K] = N(!1), [xe, U] = N(!1), x = q(null), Q = (t, i, c, m) => {
206
- S.current = { id: t, text: i, description: c, createdAt: m }, J(!0);
205
+ }), F = Ee({ getAccessToken: A }), j = Me({ getAccessToken: A }), Y = Re({ getAccessToken: A }), G = Ie({ getAccessToken: A }), J = Le({ getAccessToken: A }), [de, K] = N(!1), S = q(null), [me, Q] = N(!1), [xe, U] = N(!1), x = q(null), W = (t, i, c, m) => {
206
+ S.current = { id: t, text: i, description: c, createdAt: m }, K(!0);
207
207
  }, he = () => {
208
208
  S.current && F.mutate({ user: d, memoryId: S.current.id });
209
209
  }, pe = (t, i, c, m, Ae, ye, Ce, Ne, we, Se) => {
@@ -234,9 +234,9 @@ const Pe = ({
234
234
  }
235
235
  );
236
236
  }, ge = () => {
237
- d && K(!0);
237
+ d && Q(!0);
238
238
  }, fe = () => {
239
- d && (l === "active" ? V.mutate({ user: d }) : Y.mutate({ user: d }));
239
+ d && (l === "active" ? j.mutate({ user: d }) : Y.mutate({ user: d }));
240
240
  }, Z = (t) => {
241
241
  const i = `${t.total} memor${t.total === 1 ? "y" : "ies"}`, c = t.totalTokenUsage ? ` (~${t.totalTokenUsage} tokens)` : "";
242
242
  return i + c;
@@ -266,7 +266,7 @@ const Pe = ({
266
266
  ie,
267
267
  {
268
268
  showConfirmation: de,
269
- setShowConfirmation: J,
269
+ setShowConfirmation: K,
270
270
  action: he,
271
271
  customStrings: {
272
272
  title: "Delete memory",
@@ -294,7 +294,7 @@ const Pe = ({
294
294
  ie,
295
295
  {
296
296
  showConfirmation: me,
297
- setShowConfirmation: K,
297
+ setShowConfirmation: Q,
298
298
  action: fe,
299
299
  customStrings: {
300
300
  title: l === "active" ? "Delete all active memories" : "Delete all expired memories",
@@ -308,7 +308,7 @@ const Pe = ({
308
308
  ae,
309
309
  {
310
310
  open: w,
311
- onOpenChange: (t) => D(t),
311
+ onOpenChange: (t) => b(t),
312
312
  title: "User Memories",
313
313
  animation: !0,
314
314
  animationType: "fade",
@@ -318,7 +318,7 @@ const Pe = ({
318
318
  /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(
319
319
  ce,
320
320
  {
321
- onOpenChange: D,
321
+ onOpenChange: b,
322
322
  label: "Close",
323
323
  ref: n
324
324
  }
@@ -329,7 +329,7 @@ const Pe = ({
329
329
  mode: "dark",
330
330
  focusMode: "light",
331
331
  variant: "danger",
332
- disabled: (l === "active" ? V.isPending : Y.isPending) || (l === "active" ? (k?.total ?? 0) === 0 : (g?.total ?? 0) === 0),
332
+ disabled: (l === "active" ? j.isPending : Y.isPending) || (l === "active" ? (k?.total ?? 0) === 0 : (g?.total ?? 0) === 0),
333
333
  onClick: ge,
334
334
  children: "Delete All"
335
335
  }
@@ -527,7 +527,7 @@ const Pe = ({
527
527
  variant: "primary",
528
528
  iconClassName: "text-red-700 dark:text-red-500",
529
529
  disabled: F.isPending,
530
- onClick: () => Q(
530
+ onClick: () => W(
531
531
  t.memoryId,
532
532
  t.text,
533
533
  t.description,
@@ -549,9 +549,9 @@ const Pe = ({
549
549
  }
550
550
  ) : /* @__PURE__ */ e("p", { className: "m-0 italic opacity-70", children: "No memories stored." }))
551
551
  ] }) : /* @__PURE__ */ r(I, { children: [
552
- j && /* @__PURE__ */ e("p", { className: "m-0", children: "Loading expired memories..." }),
553
- X && /* @__PURE__ */ e("p", { className: "m-0 text-red-500", children: "Failed to load expired memories." }),
554
- !j && !X && (g && g.items.length > 0 ? /* @__PURE__ */ r(ne, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
552
+ X && /* @__PURE__ */ e("p", { className: "m-0", children: "Loading expired memories..." }),
553
+ V && /* @__PURE__ */ e("p", { className: "m-0 text-red-500", children: "Failed to load expired memories." }),
554
+ !X && !V && (g && g.items.length > 0 ? /* @__PURE__ */ r(ne, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
555
555
  /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ r(v, { children: [
556
556
  /* @__PURE__ */ e(a, { className: "sr-only", children: "Row" }),
557
557
  /* @__PURE__ */ e(a, { children: "Memory" }),
@@ -665,9 +665,9 @@ const Pe = ({
665
665
  noBorder: !0,
666
666
  label: "Restore memory",
667
667
  variant: "primary",
668
- disabled: W.isPending,
668
+ disabled: J.isPending,
669
669
  onClick: () => {
670
- d && W.mutate({
670
+ d && J.mutate({
671
671
  user: d,
672
672
  memoryId: t.memoryId
673
673
  });
@@ -692,7 +692,7 @@ const Pe = ({
692
692
  variant: "primary",
693
693
  iconClassName: "text-red-700 dark:text-red-500",
694
694
  disabled: F.isPending,
695
- onClick: () => Q(
695
+ onClick: () => W(
696
696
  t.memoryId,
697
697
  t.text,
698
698
  t.description,
@@ -736,5 +736,5 @@ const Pe = ({
736
736
  ] });
737
737
  };
738
738
  export {
739
- Ve as default
739
+ je as default
740
740
  };
@@ -1,9 +1,9 @@
1
1
  import { jsxs as t, Fragment as H, jsx as e } from "react/jsx-runtime";
2
- import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.CBKskkKU.js";
3
- import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.C93TJ0jv.js";
2
+ import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.CIwNk-Ut.js";
3
+ import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.hJ_vIJmf.js";
4
4
  import { useState as m, useMemo as ee, useCallback as N, useRef as ae } from "react";
5
- import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.Dm1Bz_in.js";
6
- import { Card as h } from "./index.DF9__Nva.js";
5
+ import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.DZAOimM5.js";
6
+ import { Card as h } from "./index.D8rj890J.js";
7
7
  import de from "clsx";
8
8
  const me = () => {
9
9
  const {
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.Dm1Bz_in.js";
3
- import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as pe, PROMPTS_DESCRIPTION as tt, L as ot, j as Ee, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.C93TJ0jv.js";
4
- import { Card as f } from "./index.DF9__Nva.js";
5
- import { useCapability as Te, useLocalStorage as be, Panel as st, Toggle as l, CancelButton as at } from "./App.CBKskkKU.js";
6
- import { TextArea as Ne } from "./index.BtadvdEU.js";
2
+ import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.DZAOimM5.js";
3
+ import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as pe, PROMPTS_DESCRIPTION as tt, L as ot, j as Ee, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.hJ_vIJmf.js";
4
+ import { Card as f } from "./index.D8rj890J.js";
5
+ import { useCapability as Te, useLocalStorage as be, Panel as st, Toggle as l, CancelButton as at } from "./App.CIwNk-Ut.js";
6
+ import { TextArea as Ne } from "./index.ClNxiXVb.js";
7
7
  import { useRef as nt, useContext as rt, useState as s, useMemo as lt, useCallback as ct, useEffect as Ce } from "react";
8
8
  const Et = ({
9
9
  open: ye,