@versini/sassysaint 4.3.5 → 5.0.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/{App.BDhgKayb.js → App.BMR9hf5e.js} +3 -3
- package/dist/chunks/{LazyHeader.Dzj0SxfZ.js → LazyHeader.Bu6NhpqV.js} +5 -5
- package/dist/chunks/{LazyMarkdownWithExtra.D0TcUIim.js → LazyMarkdownWithExtra.Crb3W0hj.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.BVbfNukB.js → LazyMessageAssistant.Cvu_1y4O.js} +4 -4
- package/dist/chunks/{index.BA5202H5.n-3JBGIa.js → index.BA5202H5.DKMEJZV8.js} +1 -1
- package/dist/chunks/{index.DXHNooT6.js → index.CMDql_8l.js} +3 -3
- package/dist/chunks/{useLocalStorage.Bp1o7FYF.js → useLocalStorage.D91BITud.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as f, jsx as n, Fragment as j } from "react/jsx-runtime";
|
|
2
|
-
import { O as re, s as ne, S as te, isLastMessageFromRole as G, x as q, CANCEL as oe, CLEAR as ae, ACTION_RESET as Y, ROLE_ASSISTANT as h, ROLE_INTERNAL as w, ROLE_USER as I, qr as L, ROLE_SYSTEM as le, ROLE_HIDDEN as ce, MODEL_GPT4 as J, STATS_SEPARATOR as V, ACTION_MODEL as Q, ACTION_MESSAGE as x, TYPE_QUESTION as de, SEND as ie, ACTION_STREAMING as W, ERROR_MESSAGE as me, getMessageContaintWrapperClass as pe, MessagesContainerHeader as ue, ACTION_SEARCH as ge, ACTION_SORT as ye, ACTION_RESTORE as fe, c as he, AppFooter as Ce, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SEARCH as Te, LOCAL_STORAGE_SORT as Se } from "./index.
|
|
3
|
-
import { g as X, AppContext as N, restCall as xe, Tt as Ee, E as z, serviceCall as ve, SERVICE_TYPES as be, HistoryContext as Ae, k as Re } from "./useLocalStorage.
|
|
2
|
+
import { O as re, s as ne, S as te, isLastMessageFromRole as G, x as q, CANCEL as oe, CLEAR as ae, ACTION_RESET as Y, ROLE_ASSISTANT as h, ROLE_INTERNAL as w, ROLE_USER as I, qr as L, ROLE_SYSTEM as le, ROLE_HIDDEN as ce, MODEL_GPT4 as J, STATS_SEPARATOR as V, ACTION_MODEL as Q, ACTION_MESSAGE as x, TYPE_QUESTION as de, SEND as ie, ACTION_STREAMING as W, ERROR_MESSAGE as me, getMessageContaintWrapperClass as pe, MessagesContainerHeader as ue, ACTION_SEARCH as ge, ACTION_SORT as ye, ACTION_RESTORE as fe, c as he, AppFooter as Ce, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SEARCH as Te, LOCAL_STORAGE_SORT as Se } from "./index.CMDql_8l.js";
|
|
3
|
+
import { g as X, AppContext as N, restCall as xe, Tt as Ee, E as z, serviceCall as ve, SERVICE_TYPES as be, HistoryContext as Ae, k as Re } from "./useLocalStorage.D91BITud.js";
|
|
4
4
|
import { useState as M, useEffect as S, useContext as _, useRef as C, lazy as Ne, Suspense as B, useReducer as U } from "react";
|
|
5
5
|
import T from "clsx";
|
|
6
6
|
const ke = ({
|
|
@@ -179,7 +179,7 @@ const Ue = () => {
|
|
|
179
179
|
children: s != null && s.streaming ? oe : ae
|
|
180
180
|
}
|
|
181
181
|
) }) : null;
|
|
182
|
-
}, F = Ne(() => import("./LazyMessageAssistant.
|
|
182
|
+
}, F = Ne(() => import("./LazyMessageAssistant.Cvu_1y4O.js").then((e) => e.LazyMessageAssistant)), $e = () => {
|
|
183
183
|
const { state: e } = _(N);
|
|
184
184
|
return /* @__PURE__ */ f(j, { children: [
|
|
185
185
|
e && e.messages.length > 0 && e.messages.map((s, o) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t, Fragment as w } from "react/jsx-runtime";
|
|
2
|
-
import { O as B, i$1 as le, N as de, p as De, o as Oe, g as I, N$1 as R, CARDS as f, renderDataAsList as j, pluralize as Q, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Pe, durationFormatter as Ce, NA as Ve, ROLE_ASSISTANT as Fe, extractAverage as $e, GPT4_MAX_TOKENS as Ge, qr as V, STATS as Te, b as re, j$1 as P, x as z, LOCAL_STORAGE_PREFIX as ce, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as ae, LOCAL_STORAGE_SEARCH as We, G as Xe, ACTION_SEARCH as qe, HISTORY_TITLE as Je, getCurrentGeoLocation as Qe, LOCAL_STORAGE_CHAT_DETAILS as Ze, W as et, v as ue, PROFILE_TITLE as tt, LOG_OUT as me } from "./index.
|
|
2
|
+
import { O as B, i$1 as le, N as de, p as De, o as Oe, g as I, N$1 as R, CARDS as f, renderDataAsList as j, pluralize as Q, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Pe, durationFormatter as Ce, NA as Ve, ROLE_ASSISTANT as Fe, extractAverage as $e, GPT4_MAX_TOKENS as Ge, qr as V, STATS as Te, b as re, j$1 as P, x as z, LOCAL_STORAGE_PREFIX as ce, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as ae, LOCAL_STORAGE_SEARCH as We, G as Xe, ACTION_SEARCH as qe, HISTORY_TITLE as Je, getCurrentGeoLocation as Qe, LOCAL_STORAGE_CHAT_DETAILS as Ze, W as et, v as ue, PROFILE_TITLE as tt, LOG_OUT as me } from "./index.CMDql_8l.js";
|
|
3
3
|
import * as ne from "react";
|
|
4
4
|
import at, { forwardRef as Ne, useState as T, useRef as Y, useContext as _, useEffect as D, Suspense as ot, lazy as nt, useId as st, useMemo as rt } from "react";
|
|
5
|
-
import { g as ct, AppContext as Z, serviceCall as H, SERVICE_TYPES as L, HistoryContext as Se, E as ie, k as x, et as it, at as lt, lt as oe, J as M, ct as dt, st as ut, rt as mt, Tt as he } from "./useLocalStorage.
|
|
5
|
+
import { g as ct, AppContext as Z, serviceCall as H, SERVICE_TYPES as L, HistoryContext as Se, E as ie, k as x, et as it, at as lt, lt as oe, J as M, ct as dt, st as ut, rt as mt, Tt as he } from "./useLocalStorage.D91BITud.js";
|
|
6
6
|
import b from "clsx";
|
|
7
7
|
import { useFloatingTree as Ee, useFloatingNodeId as ht, useListItem as ye, useFloating as pt, offset as ft, flip as gt, shift as Ct, autoUpdate as Tt, useClick as Nt, useRole as St, useDismiss as Et, useListNavigation as yt, useTypeahead as wt, useInteractions as bt, useMergeRefs as we, FloatingNode as kt, FloatingList as xt, FloatingPortal as It, FloatingFocusManager as vt, FloatingTree as At } from "@floating-ui/react";
|
|
8
8
|
const se = ne.createContext({
|
|
@@ -197,7 +197,7 @@ const Mt = ({ className: e, ...a }) => {
|
|
|
197
197
|
header: "sm:p-4 mb-0 p-2",
|
|
198
198
|
close: "sm:p-4 p-2"
|
|
199
199
|
}), W = (e) => nt(
|
|
200
|
-
() => import("./index.BA5202H5.
|
|
200
|
+
() => import("./index.BA5202H5.DKMEJZV8.js").then((a) => ({
|
|
201
201
|
default: a[e]
|
|
202
202
|
}))
|
|
203
203
|
), Lt = W("Modal"), _t = W("ModalClose"), Dt = W("ModalContent"), Ot = W("ModalDescription"), zt = W("ModalHeading"), F = ({
|
|
@@ -595,8 +595,8 @@ const aa = ({ stats: e }) => {
|
|
|
595
595
|
header: f.ABOUT.TITLE_CLIENT,
|
|
596
596
|
className: "prose-dark dark:prose-lighter",
|
|
597
597
|
children: j(s, {
|
|
598
|
-
[f.ABOUT.VERSION]: "4.3.
|
|
599
|
-
[f.ABOUT.BUILD_TIMESTAMP]: "09/
|
|
598
|
+
[f.ABOUT.VERSION]: "4.3.6",
|
|
599
|
+
[f.ABOUT.BUILD_TIMESTAMP]: "09/14/2024 05:59 PM EDT"
|
|
600
600
|
})
|
|
601
601
|
}
|
|
602
602
|
) }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _i } from "react/jsx-runtime";
|
|
2
|
-
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.
|
|
2
|
+
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.Cvu_1y4O.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
3
|
-
import { AppContext as Ei, E as Ai } from "./useLocalStorage.
|
|
2
|
+
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.CMDql_8l.js";
|
|
3
|
+
import { AppContext as Ei, E as Ai } from "./useLocalStorage.D91BITud.js";
|
|
4
4
|
import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
|
|
5
|
-
import { T as ut } from "./App.
|
|
5
|
+
import { T as ut } from "./App.BMR9hf5e.js";
|
|
6
6
|
import cn from "clsx";
|
|
7
7
|
const Li = ({
|
|
8
8
|
spinnerRef: e,
|
|
@@ -8618,7 +8618,7 @@ function sf(e) {
|
|
|
8618
8618
|
i.push(af(n)), o.push(Tc()), l.push(Pc(n));
|
|
8619
8619
|
}
|
|
8620
8620
|
const cf = Ii(
|
|
8621
|
-
() => import("./LazyMarkdownWithExtra.
|
|
8621
|
+
() => import("./LazyMarkdownWithExtra.Crb3W0hj.js")
|
|
8622
8622
|
), In = {
|
|
8623
8623
|
MODEL: "Model",
|
|
8624
8624
|
PLUGIN: "Plugin",
|
|
@@ -3,7 +3,7 @@ import y from "clsx";
|
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
|
|
5
5
|
import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as P, useFloating as k, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
|
|
6
|
-
import { S as j } from "./index.
|
|
6
|
+
import { S as j } from "./index.CMDql_8l.js";
|
|
7
7
|
const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
|
|
8
8
|
alert: null,
|
|
9
9
|
alertdialog: null,
|
|
@@ -3337,7 +3337,7 @@ const xn = "ASK! ME! ANYTHING!", er = "Sassy Saint", Cn = "gizmette.com", On = "
|
|
|
3337
3337
|
row1: /* @__PURE__ */ I("div", { children: [
|
|
3338
3338
|
er,
|
|
3339
3339
|
" v",
|
|
3340
|
-
"4.3.
|
|
3340
|
+
"4.3.6",
|
|
3341
3341
|
" - ",
|
|
3342
3342
|
$n,
|
|
3343
3343
|
Qe && e && e.models.length > 0 && e.models[0] === "development" ? " - Development Mode" : ""
|
|
@@ -3349,7 +3349,7 @@ const xn = "ASK! ME! ANYTHING!", er = "Sassy Saint", Cn = "gizmette.com", On = "
|
|
|
3349
3349
|
Cn
|
|
3350
3350
|
] })
|
|
3351
3351
|
}
|
|
3352
|
-
), Mn = wt(() => import("./LazyHeader.
|
|
3352
|
+
), Mn = wt(() => import("./LazyHeader.Bu6NhpqV.js")), Un = () => {
|
|
3353
3353
|
const { isAuthenticated: e } = qe();
|
|
3354
3354
|
return /* @__PURE__ */ I(le, { children: [
|
|
3355
3355
|
e && /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Mn, {}) }),
|
|
@@ -3456,7 +3456,7 @@ const xn = "ASK! ME! ANYTHING!", er = "Sassy Saint", Cn = "gizmette.com", On = "
|
|
|
3456
3456
|
] }),
|
|
3457
3457
|
/* @__PURE__ */ c(Ln, {})
|
|
3458
3458
|
] });
|
|
3459
|
-
}, Kn = new URL(document.location.href).searchParams, Bn = !!Kn.get("debug") || !1, Wn = wt(() => import("./App.
|
|
3459
|
+
}, Kn = new URL(document.location.href).searchParams, Bn = !!Kn.get("debug") || !1, Wn = wt(() => import("./App.BMR9hf5e.js").then((e) => e.App)), Gn = ({ isComponent: e }) => {
|
|
3460
3460
|
const { isAuthenticated: t } = qe();
|
|
3461
3461
|
return t ? /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Wn, { isComponent: e }) }) : /* @__PURE__ */ c(Hn, {});
|
|
3462
3462
|
}, Vn = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as ke, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import i from "clsx";
|
|
3
3
|
import H, { useContext as A, useRef as N, useState as z, useLayoutEffect as L, useEffect as ae, useSyncExternalStore as _e, useCallback as j } from "react";
|
|
4
|
-
import { A as xe, i as we, f as Ne, S as Te, f$1 as ve, V as Se, j as Ce, F as Ie, r as Ee, o as He, n as se, l as Ae, a as J, MODEL_GPT4 as Oe } from "./index.
|
|
4
|
+
import { A as xe, i as we, f as Ne, S as Te, f$1 as ve, V as Se, j as Ce, F as Ie, r as Ee, o as He, n as se, l as Ae, a as J, MODEL_GPT4 as Oe } from "./index.CMDql_8l.js";
|
|
5
5
|
const Be = (e) => {
|
|
6
6
|
let r = "";
|
|
7
7
|
if (typeof e == "number" || typeof e == "string")
|
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.CMDql_8l.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v4.3.
|
|
3
|
+
@sassysaint/client v4.3.6
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "4.3.
|
|
9
|
-
buildTime: "09/
|
|
8
|
+
version: "4.3.6",
|
|
9
|
+
buildTime: "09/14/2024 05:59 PM EDT",
|
|
10
10
|
license: "MIT"
|
|
11
11
|
});
|
|
12
12
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/sassysaint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"react-dom": "18.3.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "4.3.
|
|
34
|
-
"@versini/ui-styles": "1.9.
|
|
33
|
+
"@sassysaint/client": "4.3.6",
|
|
34
|
+
"@versini/ui-styles": "1.9.6"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@versini/ui-hooks": "4.1.
|
|
37
|
+
"@versini/ui-hooks": "4.1.3",
|
|
38
38
|
"clsx": "2.1.1",
|
|
39
|
-
"tailwindcss": "3.4.
|
|
39
|
+
"tailwindcss": "3.4.11"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "09e555a6a10dfe28b8591ac6904f45db67a7c750"
|
|
45
45
|
}
|