@versini/sassysaint 5.1.6 → 5.1.7
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.68xrhTIC.js → App.UNweennI.js} +2 -2
- package/dist/chunks/{LazyHeader.DPlhG-1q.js → LazyHeader.DddGp99j.js} +3 -3
- package/dist/chunks/{LazyMarkdownWithExtra.o-qNkWIb.js → LazyMarkdownWithExtra.DcgRg4l3.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.CkSUdQWN.js → LazyMessageAssistant.Df46XIMv.js} +4 -4
- package/dist/chunks/{index.DaWYWXXP.js → index.DpYYn2Ap.js} +3 -3
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as v, Fragment as H, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { AppContext as j, TagsContext as q, LOCAL_STORAGE_PREFIX as M, b as _e, j as G, R as B, TAG_CONTENT as O, TAGS as C, isLastMessageFromRole as de, CANCEL as Ne, CLEAR as we, ACTION_RESET as le, ACTION_TOGGLE_TAG as ce, ROLE_ASSISTANT as I, ROLE_INTERNAL as Z, ROLE_USER as Y, rn as J, ROLE_SYSTEM as Ee, ROLE_HIDDEN as Ce, DEFAULT_AI_ENGINE as z, STATS_SEPARATOR as te, ACTION_MODEL as ge, ACTION_MESSAGE as L, ACTION_RESET_TAGS as ue, TYPE_QUESTION as Ie, SEND as Re, ACTION_STREAMING as me, ERROR_MESSAGE as Se, getMessageContaintWrapperClass as Ae, MessagesContainerHeader as Be, ACTION_SEARCH as Me, ACTION_SORT as Oe, ACTION_RESTORE as Le, ACTION_ENGINE as he, HistoryContext as $e, d as Ue, AppFooter as Ve, LOCAL_STORAGE_SEARCH as ze, LOCAL_STORAGE_SORT as De } from "./index.
|
|
2
|
+
import { AppContext as j, TagsContext as q, LOCAL_STORAGE_PREFIX as M, b as _e, j as G, R as B, TAG_CONTENT as O, TAGS as C, isLastMessageFromRole as de, CANCEL as Ne, CLEAR as we, ACTION_RESET as le, ACTION_TOGGLE_TAG as ce, ROLE_ASSISTANT as I, ROLE_INTERNAL as Z, ROLE_USER as Y, rn as J, ROLE_SYSTEM as Ee, ROLE_HIDDEN as Ce, DEFAULT_AI_ENGINE as z, STATS_SEPARATOR as te, ACTION_MODEL as ge, ACTION_MESSAGE as L, ACTION_RESET_TAGS as ue, TYPE_QUESTION as Ie, SEND as Re, ACTION_STREAMING as me, ERROR_MESSAGE as Se, getMessageContaintWrapperClass as Ae, MessagesContainerHeader as Be, ACTION_SEARCH as Me, ACTION_SORT as Oe, ACTION_RESTORE as Le, ACTION_ENGINE as he, HistoryContext as $e, d as Ue, AppFooter as Ve, LOCAL_STORAGE_SEARCH as ze, LOCAL_STORAGE_SORT as De } from "./index.DpYYn2Ap.js";
|
|
3
3
|
import { E as $, restCall as He, we as je, serviceCall as Pe, SERVICE_TYPES as Ge, f as Fe } from "./index.B6C-bgBL.js";
|
|
4
4
|
import S, { useContext as U, useRef as R, useEffect as E, useState as P, lazy as We, Suspense as re, useReducer as F } from "react";
|
|
5
5
|
import s from "clsx";
|
|
@@ -1095,7 +1095,7 @@ try {
|
|
|
1095
1095
|
const ne = We(
|
|
1096
1096
|
() => import(
|
|
1097
1097
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
1098
|
-
"./LazyMessageAssistant.
|
|
1098
|
+
"./LazyMessageAssistant.Df46XIMv.js"
|
|
1099
1099
|
).then((e) => e.LazyMessageAssistant)
|
|
1100
1100
|
), Mt = () => {
|
|
1101
1101
|
const { state: e } = U(j);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, jsx as o, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { g as _, D as I, CARDS as y, renderDataAsList as Z, pluralize as ne, AppContext as Q, ABOUT_TITLE as qe, DEFAULT_AI_ENGINE as re, numberFormatter as Qe, durationFormatter as Me, NA as et, ROLE_ASSISTANT as tt, extractAverage as at, GPT4_MAX_TOKENS as ot, rn as j, STATS as Le, b as pe, j as $, R as z, HistoryContext as Be, LOCAL_STORAGE_PREFIX as V, LOCAL_STORAGE_SORT as rt, O as F, ACTION_RESET as nt, ACTION_RESTORE as it, truncate as st, ACTION_SORT as se, LOCAL_STORAGE_SEARCH as lt, me as ct, ACTION_SEARCH as dt, HISTORY_TITLE as ut, ENGINE_OPENAI as le, ENGINE_ANTHROPIC as ce, ACTION_ENGINE as ht, getCurrentGeoLocation as mt, LOCAL_STORAGE_TAG_SUMMARIZE as ye, LOCAL_STORAGE_TAG_PROOFREAD as ke, LOCAL_STORAGE_TAG_REPHRASE as Te, TAG_CONTENT as de, TAGS as ue, LOCAL_STORAGE_CHAT_DETAILS as gt, G as pt, v as Ce, PROFILE_TITLE as ft, LOG_OUT as Ne } from "./index.
|
|
2
|
+
import { g as _, D as I, CARDS as y, renderDataAsList as Z, pluralize as ne, AppContext as Q, ABOUT_TITLE as qe, DEFAULT_AI_ENGINE as re, numberFormatter as Qe, durationFormatter as Me, NA as et, ROLE_ASSISTANT as tt, extractAverage as at, GPT4_MAX_TOKENS as ot, rn as j, STATS as Le, b as pe, j as $, R as z, HistoryContext as Be, LOCAL_STORAGE_PREFIX as V, LOCAL_STORAGE_SORT as rt, O as F, ACTION_RESET as nt, ACTION_RESTORE as it, truncate as st, ACTION_SORT as se, LOCAL_STORAGE_SEARCH as lt, me as ct, ACTION_SEARCH as dt, HISTORY_TITLE as ut, ENGINE_OPENAI as le, ENGINE_ANTHROPIC as ce, ACTION_ENGINE as ht, getCurrentGeoLocation as mt, LOCAL_STORAGE_TAG_SUMMARIZE as ye, LOCAL_STORAGE_TAG_PROOFREAD as ke, LOCAL_STORAGE_TAG_REPHRASE as Te, TAG_CONTENT as de, TAGS as ue, LOCAL_STORAGE_CHAT_DETAILS as gt, G as pt, v as Ce, PROFILE_TITLE as ft, LOG_OUT as Ne } from "./index.DpYYn2Ap.js";
|
|
3
3
|
import * as me from "react";
|
|
4
4
|
import ie, { forwardRef as Oe, useState as E, useRef as J, useContext as M, useEffect as H, Suspense as bt, lazy as vt, useId as yt, useMemo as kt } from "react";
|
|
5
5
|
import { serviceCall as B, SERVICE_TYPES as O, E as G, f as S, ce as Tt, ge as Ct, me as he, ie as R, ue as Nt, be as Et, he as wt, we as Ee } from "./index.B6C-bgBL.js";
|
|
@@ -955,8 +955,8 @@ const va = ({ stats: e }) => {
|
|
|
955
955
|
header: y.ABOUT.TITLE_CLIENT,
|
|
956
956
|
className: "prose-dark dark:prose-lighter",
|
|
957
957
|
children: Z(n, {
|
|
958
|
-
[y.ABOUT.VERSION]: "5.0.
|
|
959
|
-
[y.ABOUT.BUILD_TIMESTAMP]: "10/03/2024
|
|
958
|
+
[y.ABOUT.VERSION]: "5.0.2",
|
|
959
|
+
[y.ABOUT.BUILD_TIMESTAMP]: "10/03/2024 03:50 PM EDT"
|
|
960
960
|
})
|
|
961
961
|
}
|
|
962
962
|
) }),
|
|
@@ -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.Df46XIMv.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { le as ot } from "./App.
|
|
2
|
+
import { le as ot } from "./App.UNweennI.js";
|
|
3
3
|
import { E as wi } from "./index.B6C-bgBL.js";
|
|
4
4
|
import cn from "clsx";
|
|
5
5
|
import { lazy as Si, useContext as Ci, Suspense as Ei } from "react";
|
|
6
|
-
import { AppContext as Ai, LOCAL_STORAGE_PREFIX as Ii, LOCAL_STORAGE_CHAT_DETAILS as Ti, durationFormatter as Pi } from "./index.
|
|
6
|
+
import { AppContext as Ai, LOCAL_STORAGE_PREFIX as Ii, LOCAL_STORAGE_CHAT_DETAILS as Ti, durationFormatter as Pi } from "./index.DpYYn2Ap.js";
|
|
7
7
|
var at = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
8
|
function Li(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -8642,7 +8642,7 @@ function sf(e) {
|
|
|
8642
8642
|
const cf = Si(
|
|
8643
8643
|
() => import(
|
|
8644
8644
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8645
|
-
"./LazyMarkdownWithExtra.
|
|
8645
|
+
"./LazyMarkdownWithExtra.DcgRg4l3.js"
|
|
8646
8646
|
)
|
|
8647
8647
|
), In = {
|
|
8648
8648
|
MODEL: "Model",
|
|
@@ -8666,7 +8666,7 @@ const cf = Si(
|
|
|
8666
8666
|
copyToClipboard: e,
|
|
8667
8667
|
copyToClipboardFocusMode: "light",
|
|
8668
8668
|
footer: {
|
|
8669
|
-
[In.MODEL]: i && i.model && o ? i.model : null,
|
|
8669
|
+
[In.MODEL]: i && i.model && !i.streaming && o ? i.model : null,
|
|
8670
8670
|
[In.PLUGIN]: t && o ? t : null,
|
|
8671
8671
|
[In.PROCESSING_TIME]: r && o ? Pi(r) : null
|
|
8672
8672
|
},
|
|
@@ -3628,7 +3628,7 @@ const Fn = "av-footer", Yn = (e) => {
|
|
|
3628
3628
|
row1: /* @__PURE__ */ I("div", { children: [
|
|
3629
3629
|
ir,
|
|
3630
3630
|
" v",
|
|
3631
|
-
"5.0.
|
|
3631
|
+
"5.0.2",
|
|
3632
3632
|
" - ",
|
|
3633
3633
|
Jn,
|
|
3634
3634
|
t && t.engine,
|
|
@@ -3645,7 +3645,7 @@ const Fn = "av-footer", Yn = (e) => {
|
|
|
3645
3645
|
}, Xn = Nt(
|
|
3646
3646
|
() => import(
|
|
3647
3647
|
/* webpackChunkName: "LazyHeader" */
|
|
3648
|
-
"./LazyHeader.
|
|
3648
|
+
"./LazyHeader.DddGp99j.js"
|
|
3649
3649
|
)
|
|
3650
3650
|
), Qn = () => {
|
|
3651
3651
|
const { isAuthenticated: e } = rt();
|
|
@@ -3756,7 +3756,7 @@ const Fn = "av-footer", Yn = (e) => {
|
|
|
3756
3756
|
] });
|
|
3757
3757
|
}, eo = new URL(document.location.href).searchParams, to = !!eo.get("debug") || !1, ro = Nt(() => import(
|
|
3758
3758
|
/* webpackChunkName: "LazyApp" */
|
|
3759
|
-
"./App.
|
|
3759
|
+
"./App.UNweennI.js"
|
|
3760
3760
|
).then((e) => e.App)), ao = ({ isComponent: e }) => {
|
|
3761
3761
|
const { isAuthenticated: t } = rt();
|
|
3762
3762
|
return t ? /* @__PURE__ */ l(Rt, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(ro, { isComponent: e }) }) : /* @__PURE__ */ l(Zn, {});
|
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.DpYYn2Ap.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.0.
|
|
3
|
+
@sassysaint/client v5.0.2
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.0.
|
|
9
|
-
buildTime: "10/03/2024
|
|
8
|
+
version: "5.0.2",
|
|
9
|
+
buildTime: "10/03/2024 03:50 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": "5.1.
|
|
3
|
+
"version": "5.1.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"react-dom": "18.3.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "5.0.
|
|
33
|
+
"@sassysaint/client": "5.0.2",
|
|
34
34
|
"@versini/ui-styles": "1.10.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ed09a78ab051b4f718850bda8f518e951aba883e"
|
|
45
45
|
}
|