@versini/sassysaint 6.0.3 → 6.1.0
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.CVKf39VG.js +6037 -0
- package/dist/chunks/HeaderToolbar.VQAMrnVQ.js +1725 -0
- package/dist/chunks/{MarkdownWithExtra.Bd0uVCob.js → MarkdownWithExtra.CEPqANDe.js} +2 -2
- package/dist/chunks/{MessageAssistant.DgkzykE1.js → MessageAssistant.DZZ26s7B.js} +3 -3
- package/dist/chunks/{index.lSfnE_4F.js → index.DUNIGQ5_.js} +31 -30
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
- package/dist/chunks/App.BLBn8tAW.js +0 -5199
- package/dist/chunks/HeaderToolbar.BkfChFW9.js +0 -2449
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as Ve, jsxs as P0, Fragment as ka } from "react/jsx-runtime";
|
|
2
|
-
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.
|
|
3
|
-
import { Y as Is, L as Ds, j as Ls } from "./index.
|
|
2
|
+
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.DZZ26s7B.js";
|
|
3
|
+
import { Y as Is, L as Ds, j as Ls } from "./index.DUNIGQ5_.js";
|
|
4
4
|
import zs, { useState as Bs, useEffect as Fs } from "react";
|
|
5
5
|
import Ps from "clsx";
|
|
6
6
|
const Ta = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as en, jsx as re, Fragment as nr } from "react/jsx-runtime";
|
|
2
|
-
import { AppContext as di, E as yi, le$1 as ct } from "./App.
|
|
2
|
+
import { AppContext as di, E as yi, le$1 as ct } from "./App.CVKf39VG.js";
|
|
3
3
|
import hn from "clsx";
|
|
4
4
|
import { lazy as ki, useContext as xi, Suspense as bi } from "react";
|
|
5
|
-
import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
5
|
+
import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.DUNIGQ5_.js";
|
|
6
6
|
function tr(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
@@ -8653,7 +8653,7 @@ function Qc(e) {
|
|
|
8653
8653
|
const Yc = ki(
|
|
8654
8654
|
() => import(
|
|
8655
8655
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8656
|
-
"./MarkdownWithExtra.
|
|
8656
|
+
"./MarkdownWithExtra.CEPqANDe.js"
|
|
8657
8657
|
)
|
|
8658
8658
|
), Ln = {
|
|
8659
8659
|
MODEL: "Model",
|
|
@@ -1917,7 +1917,7 @@ const Pa = (e) => q(
|
|
|
1917
1917
|
children: e
|
|
1918
1918
|
}
|
|
1919
1919
|
) });
|
|
1920
|
-
}, zt = (e = jt) => Tt(e), co = "user", lo = "assistant", uo = "system", mo = "internal", ho = "hidden", po = "I'm having trouble right now. Please try again later.", fo = "OpenAI", go = "OpenAI", yo = "Anthropic", bo = "action-message", Eo = "action-reset", wo = "action-model", To = "action-restore", Io = "action-streaming", So = "action-search", _o = "action-sort", ko = "action-toggle-prompt", Ao = "action-reset-prompt", Ro = "sassy-saint-", No = "details", vo = "search", xo = "sort", Co = "==stats==", $a = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b",
|
|
1920
|
+
}, zt = (e = jt) => Tt(e), co = "user", lo = "assistant", uo = "system", mo = "internal", ho = "hidden", po = "I'm having trouble right now. Please try again later.", fo = "OpenAI", go = "OpenAI", yo = "Anthropic", bo = "action-message", Eo = "action-reset", wo = "action-model", To = "action-restore", Io = "action-streaming", So = "action-search", _o = "action-sort", ko = "action-toggle-prompt", Ao = "action-reset-prompt", Ro = "sassy-saint-", No = "details", vo = "search", xo = "sort", Co = "private-disclosure", Oo = "==stats==", $a = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Po = 10, Do = 30, Lo = "av-prompt", Mo = "av-prompt-editable", yt = (e) => Number.isFinite(e) ? e : 0;
|
|
1921
1921
|
function Ua(e) {
|
|
1922
1922
|
return {
|
|
1923
1923
|
days: Math.trunc(e / 864e5),
|
|
@@ -1997,7 +1997,7 @@ function Va(e, t) {
|
|
|
1997
1997
|
const h = t.colonNotation ? ":" : " ";
|
|
1998
1998
|
return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(h);
|
|
1999
1999
|
}
|
|
2000
|
-
const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.local.com" : "gizmette.com",
|
|
2000
|
+
const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.local.com" : "gizmette.com", $o = async () => {
|
|
2001
2001
|
const e = {
|
|
2002
2002
|
/**
|
|
2003
2003
|
* A boolean value that indicates the application would
|
|
@@ -2046,10 +2046,10 @@ const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.
|
|
|
2046
2046
|
e
|
|
2047
2047
|
);
|
|
2048
2048
|
});
|
|
2049
|
-
},
|
|
2049
|
+
}, Uo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ O("div", { className: "flex items-center justify-between", children: [
|
|
2050
2050
|
/* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
|
|
2051
2051
|
/* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
|
|
2052
|
-
] }) }, `${e}-${r}`)) : null,
|
|
2052
|
+
] }) }, `${e}-${r}`)) : null, Ko = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Ho = (e) => e > 0 ? Va(e, {
|
|
2053
2053
|
secondsDecimalDigits: 2,
|
|
2054
2054
|
unitCount: 2
|
|
2055
2055
|
}) : "N/A", za = ({
|
|
@@ -2061,7 +2061,7 @@ const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.
|
|
|
2061
2061
|
t
|
|
2062
2062
|
), qa = ({
|
|
2063
2063
|
extraClass: e
|
|
2064
|
-
}) => f("px-2 sm:px-0", e),
|
|
2064
|
+
}) => f("px-2 sm:px-0", e), Wo = (e, t) => t === 1 ? e : `${e}s`, Bo = (e, t) => {
|
|
2065
2065
|
let r;
|
|
2066
2066
|
return (...a) => {
|
|
2067
2067
|
window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
|
|
@@ -3530,7 +3530,7 @@ try {
|
|
|
3530
3530
|
});
|
|
3531
3531
|
} catch {
|
|
3532
3532
|
}
|
|
3533
|
-
const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in with a Passkey",
|
|
3533
|
+
const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in with a Passkey", Go = "Log out", Vn = "Password", Jo = "Profile", Vo = "Settings", Yo = "Chat history", Fo = "About", jo = "Type your question here", zo = "{{clipboard}}", qo = `Sometimes, ${rr} hallucinates. Review important details.`, Xo = "Prompts are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder {{clipboard}} to automatically insert the content of your clipboard.", Qo = {
|
|
3534
3534
|
PREFERENCES: {
|
|
3535
3535
|
TITLE: "User profile",
|
|
3536
3536
|
NAME: "Name",
|
|
@@ -3693,16 +3693,16 @@ const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in w
|
|
|
3693
3693
|
) });
|
|
3694
3694
|
}, jn = new URL(document.location.href).searchParams, zn = !!jn.get("debug") || !1, qn = sr(() => import(
|
|
3695
3695
|
/* webpackChunkName: "LazyApp" */
|
|
3696
|
-
"./App.
|
|
3696
|
+
"./App.CVKf39VG.js"
|
|
3697
3697
|
).then((e) => e.App)), Xn = ({ isComponent: e }) => {
|
|
3698
3698
|
const { isAuthenticated: t } = zt();
|
|
3699
3699
|
return t ? /* @__PURE__ */ l(ir, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(qn, { isComponent: e }) }) : /* @__PURE__ */ l(Fn, {});
|
|
3700
3700
|
}, Qn = ({
|
|
3701
3701
|
isComponent: e = !1,
|
|
3702
3702
|
domain: t = ja
|
|
3703
|
-
}) => /* @__PURE__ */ l(Ma, { clientId: $a, domain: t, debug: zn, children: /* @__PURE__ */ l(Xn, { isComponent: e }) }),
|
|
3703
|
+
}) => /* @__PURE__ */ l(Ma, { clientId: $a, domain: t, debug: zn, children: /* @__PURE__ */ l(Xn, { isComponent: e }) }), Zo = ({ domain: e }) => /* @__PURE__ */ l(Qn, { isComponent: !0, domain: e });
|
|
3704
3704
|
export {
|
|
3705
|
-
|
|
3705
|
+
Fo as ABOUT_TITLE,
|
|
3706
3706
|
bo as ACTION_MESSAGE,
|
|
3707
3707
|
wo as ACTION_MODEL,
|
|
3708
3708
|
Eo as ACTION_RESET,
|
|
@@ -3714,51 +3714,52 @@ export {
|
|
|
3714
3714
|
ko as ACTION_TOGGLE_PROMPT,
|
|
3715
3715
|
rr as APP_NAME,
|
|
3716
3716
|
qt as C,
|
|
3717
|
-
|
|
3718
|
-
|
|
3717
|
+
Qo as CARDS,
|
|
3718
|
+
zo as CLIPBOARD_PROMPT,
|
|
3719
3719
|
fo as DEFAULT_AI_ENGINE,
|
|
3720
3720
|
yo as ENGINE_ANTHROPIC,
|
|
3721
3721
|
go as ENGINE_OPENAI,
|
|
3722
3722
|
po as ERROR_MESSAGE,
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3723
|
+
qo as FOOTER_DISCLAIMER,
|
|
3724
|
+
Yo as HISTORY_TITLE,
|
|
3725
|
+
Do as INFINITE_SCROLL_LIMIT,
|
|
3726
|
+
Po as INFINITE_SCROLL_THRESHOLD,
|
|
3727
3727
|
Tn as L,
|
|
3728
3728
|
No as LOCAL_STORAGE_CHAT_DETAILS,
|
|
3729
3729
|
Ro as LOCAL_STORAGE_PREFIX,
|
|
3730
|
+
Co as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
|
3730
3731
|
vo as LOCAL_STORAGE_SEARCH,
|
|
3731
3732
|
xo as LOCAL_STORAGE_SORT,
|
|
3732
|
-
|
|
3733
|
+
Go as LOG_OUT,
|
|
3733
3734
|
Yn as Logo,
|
|
3734
3735
|
ue as M,
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3736
|
+
Jo as PROFILE_TITLE,
|
|
3737
|
+
Xo as PROMPTS_DESCRIPTION,
|
|
3738
|
+
Lo as PROMPT_CLASSNAME,
|
|
3739
|
+
Mo as PROMPT_EDITABLE_AREA_CLASSNAME,
|
|
3739
3740
|
hn as R,
|
|
3740
3741
|
lo as ROLE_ASSISTANT,
|
|
3741
3742
|
ho as ROLE_HIDDEN,
|
|
3742
3743
|
mo as ROLE_INTERNAL,
|
|
3743
3744
|
uo as ROLE_SYSTEM,
|
|
3744
3745
|
co as ROLE_USER,
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3746
|
+
Vo as SETTINGS_TITLE,
|
|
3747
|
+
Oo as STATS_SEPARATOR,
|
|
3748
|
+
Zo as SassySaint,
|
|
3749
|
+
jo as TYPE_QUESTION,
|
|
3749
3750
|
qe as Y,
|
|
3750
|
-
|
|
3751
|
-
|
|
3751
|
+
Bo as debounce,
|
|
3752
|
+
Ho as durationFormatter,
|
|
3752
3753
|
$e as g,
|
|
3753
|
-
|
|
3754
|
+
$o as getCurrentGeoLocation,
|
|
3754
3755
|
qa as getMainPaddingClass,
|
|
3755
3756
|
za as getMessageContaintWrapperClass,
|
|
3756
|
-
|
|
3757
|
+
Ko as isLastMessageFromRole,
|
|
3757
3758
|
te as j,
|
|
3758
3759
|
gn as l,
|
|
3759
|
-
|
|
3760
|
+
Wo as pluralize,
|
|
3760
3761
|
En as r,
|
|
3761
|
-
|
|
3762
|
+
Uo as renderDataAsList,
|
|
3762
3763
|
zt as un,
|
|
3763
3764
|
at as ye
|
|
3764
3765
|
};
|
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.DUNIGQ5_.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v6.0
|
|
3
|
+
@sassysaint/client v6.1.0
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "6.0
|
|
9
|
-
buildTime: "01/23/2025
|
|
8
|
+
version: "6.1.0",
|
|
9
|
+
buildTime: "01/23/2025 11:39 AM EST",
|
|
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": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "6.0
|
|
33
|
+
"@sassysaint/client": "6.1.0",
|
|
34
34
|
"@versini/ui-styles": "3.2.6"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "3cd524e8ef8ed85eff7c57fada53a495599d1cb7"
|
|
45
45
|
}
|