@versini/sassysaint 5.4.0 → 5.4.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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as i, jsxs as v, Fragment as O } from "react/jsx-runtime";
2
- import { g as _e, ACTION_RESTORE as Ne, ACTION_MESSAGE as S, ROLE_ASSISTANT as I, ACTION_RESET as oe, ACTION_MODEL as ne, ACTION_ENGINE as ie, ACTION_STREAMING as se, ACTION_SORT as we, ACTION_SEARCH as Ee, ACTION_SET_TAGS as de, ACTION_RESET_TAGS as le, ACTION_TOGGLE_TAG as ce, AppContext as $, TagsContext as H, un as U, b as Ie, j as Ce, R as ge, isLastMessageFromRole as ue, O as Se, TOOLBOX as Y, ROLE_INTERNAL as j, ROLE_USER as P, ROLE_SYSTEM as Re, ROLE_HIDDEN as Be, DEFAULT_AI_ENGINE as A, STATS_SEPARATOR as q, TYPE_QUESTION as Me, SEND as Ae, ERROR_MESSAGE as Le, getMessageContaintWrapperClass as Oe, MessagesContainerHeader as $e, HistoryContext as Ue, d as ze, AppFooter as Ve, LOCAL_STORAGE_PREFIX as X, LOCAL_STORAGE_SEARCH as De, LOCAL_STORAGE_SORT as Pe } from "./index.DNlKJfQz.js";
3
- import { serviceCall as me, SERVICE_TYPES as he, n as He, restCall as je, we as Ge, E as J, f as We } from "./index.CnjK4JPd.js";
2
+ import { g as _e, ACTION_RESTORE as Ne, ACTION_MESSAGE as S, ROLE_ASSISTANT as I, ACTION_RESET as oe, ACTION_MODEL as ne, ACTION_ENGINE as ie, ACTION_STREAMING as se, ACTION_SORT as we, ACTION_SEARCH as Ee, ACTION_SET_TAGS as de, ACTION_RESET_TAGS as le, ACTION_TOGGLE_TAG as ce, AppContext as $, TagsContext as H, un as U, b as Ie, j as Ce, R as ge, isLastMessageFromRole as ue, O as Se, TOOLBOX as Y, ROLE_INTERNAL as j, ROLE_USER as P, ROLE_SYSTEM as Re, ROLE_HIDDEN as Be, DEFAULT_AI_ENGINE as A, STATS_SEPARATOR as q, TYPE_QUESTION as Me, SEND as Ae, ERROR_MESSAGE as Le, getMessageContaintWrapperClass as Oe, MessagesContainerHeader as $e, HistoryContext as Ue, d as ze, AppFooter as Ve, LOCAL_STORAGE_PREFIX as X, LOCAL_STORAGE_SEARCH as De, LOCAL_STORAGE_SORT as Pe } from "./index.-helPLAD.js";
3
+ import { serviceCall as me, SERVICE_TYPES as he, n as He, restCall as je, we as Ge, E as J, f as We } from "./index.DJ18bmQK.js";
4
4
  import C, { useContext as R, useState as M, useRef as B, useEffect as _, lazy as Fe, Suspense as Q, useReducer as V } from "react";
5
5
  import l from "clsx";
6
6
  const Ke = ({
@@ -1279,7 +1279,7 @@ try {
1279
1279
  const re = Fe(
1280
1280
  () => import(
1281
1281
  /* webpackChunkName: "LazyMessageAssistant" */
1282
- "./LazyMessageAssistant.D_c4nLO4.js"
1282
+ "./LazyMessageAssistant.RTMbhsJZ.js"
1283
1283
  ).then((e) => e.LazyMessageAssistant)
1284
1284
  ), Pt = () => {
1285
1285
  const { state: e } = R($);
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as y, Fragment as A } from "react/jsx-runtime";
2
- import { g as O, E as B, CARDS as N, renderDataAsList as se, pluralize as be, AppContext as ue, ABOUT_TITLE as At, DEFAULT_AI_ENGINE as ne, numberFormatter as Mt, durationFormatter as Xe, NA as Lt, ROLE_ASSISTANT as Pt, extractAverage as $t, GPT4_MAX_TOKENS as Bt, un as X, STATS as Ze, b as ie, j as $, R as G, HistoryContext as Je, LOCAL_STORAGE_PREFIX as me, LOCAL_STORAGE_SORT as zt, O as Y, ACTION_RESET as Qe, ACTION_RESTORE as Ot, truncate as Dt, ACTION_SORT as we, LOCAL_STORAGE_SEARCH as Vt, me as xe, ACTION_SEARCH as Ft, HISTORY_TITLE as Ht, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as Te, ENGINE_ANTHROPIC as fe, APP_NAME as Gt, ACTION_ENGINE as tt, getCurrentGeoLocation as Ut, TagsContext as jt, TAGS_DESCRIPTION as Kt, ACTION_SET_TAGS as Wt, LOCAL_STORAGE_CHAT_DETAILS as Yt, M as qt, v as Oe, PROFILE_TITLE as Xt, LOG_OUT as De } from "./index.DNlKJfQz.js";
3
- import { serviceCall as F, SERVICE_TYPES as H, E as he, f as V, ge as Zt, he as Jt, ue as Ne, de as P, pe as Qt, me as eo, be as to, we as Ve, n as Fe } from "./index.CnjK4JPd.js";
2
+ import { g as O, E as B, CARDS as N, renderDataAsList as se, pluralize as be, AppContext as ue, ABOUT_TITLE as At, DEFAULT_AI_ENGINE as ne, numberFormatter as Mt, durationFormatter as Xe, NA as Lt, ROLE_ASSISTANT as Pt, extractAverage as $t, GPT4_MAX_TOKENS as Bt, un as X, STATS as Ze, b as ie, j as $, R as G, HistoryContext as Je, LOCAL_STORAGE_PREFIX as me, LOCAL_STORAGE_SORT as zt, O as Y, ACTION_RESET as Qe, ACTION_RESTORE as Ot, truncate as Dt, ACTION_SORT as we, LOCAL_STORAGE_SEARCH as Vt, me as xe, ACTION_SEARCH as Ft, HISTORY_TITLE as Ht, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as Te, ENGINE_ANTHROPIC as fe, APP_NAME as Gt, ACTION_ENGINE as tt, getCurrentGeoLocation as Ut, TagsContext as jt, TAGS_DESCRIPTION as Kt, ACTION_SET_TAGS as Wt, LOCAL_STORAGE_CHAT_DETAILS as Yt, M as qt, v as Oe, PROFILE_TITLE as Xt, LOG_OUT as De } from "./index.-helPLAD.js";
3
+ import { serviceCall as F, SERVICE_TYPES as H, E as he, f as V, ge as Zt, he as Jt, ue as Ne, de as P, pe as Qt, me as eo, be as to, we as Ve, n as Fe } from "./index.DJ18bmQK.js";
4
4
  import * as f from "react";
5
5
  import x, { useId as oo, forwardRef as ot, useState as S, useRef as le, useContext as z, useEffect as U, Suspense as ro, lazy as no, useMemo as ao } from "react";
6
6
  import w from "clsx";
@@ -1662,7 +1662,7 @@ const re = "panel", pe = "messagebox", zr = ({
1662
1662
  className: "prose-dark dark:prose-lighter",
1663
1663
  children: se(a, {
1664
1664
  [N.ABOUT.VERSION]: "5.7.0",
1665
- [N.ABOUT.BUILD_TIMESTAMP]: "12/18/2024 03:25 PM EST"
1665
+ [N.ABOUT.BUILD_TIMESTAMP]: "12/18/2024 03:40 PM EST"
1666
1666
  })
1667
1667
  }
1668
1668
  ) }),
@@ -1,5 +1,5 @@
1
1
  import { jsx as bs } from "react/jsx-runtime";
2
- import { convert as vs, getDefaultExportFromCjs as ys, visit as ws, find as Es, parse as xn, parse$1 as _n, normalize as Sn, svg as xs, html as _s, visitParents as Ss, SKIP as Ns, longestStreak as ks, factorySpace as Er, markdownLineEnding as Ht, Markdown as Ts, remarkGfm as Ms } from "./LazyMessageAssistant.D_c4nLO4.js";
2
+ import { convert as vs, getDefaultExportFromCjs as ys, visit as ws, find as Es, parse as xn, parse$1 as _n, normalize as Sn, svg as xs, html as _s, visitParents as Ss, SKIP as Ns, longestStreak as ks, factorySpace as Er, markdownLineEnding as Ht, Markdown as Ts, remarkGfm as Ms } from "./LazyMessageAssistant.RTMbhsJZ.js";
3
3
  const Nn = (
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 Zt } from "react/jsx-runtime";
2
- import { le as at } from "./LazyApp.T9mKlSIX.js";
3
- import { E as hi } from "./index.CnjK4JPd.js";
2
+ import { le as at } from "./LazyApp.DiaCidKO.js";
3
+ import { E as hi } from "./index.DJ18bmQK.js";
4
4
  import sn from "clsx";
5
5
  import { lazy as mi, useContext as gi, Suspense as di } from "react";
6
- import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.DNlKJfQz.js";
6
+ import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.-helPLAD.js";
7
7
  function er(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
@@ -8661,7 +8661,7 @@ function $c(e) {
8661
8661
  const qc = mi(
8662
8662
  () => import(
8663
8663
  /* webpackChunkName: "LazyMarkdownWithExtra" */
8664
- "./LazyMarkdownWithExtra.BdJ0w8to.js"
8664
+ "./LazyMarkdownWithExtra.aPktKGFY.js"
8665
8665
  )
8666
8666
  ), Tn = {
8667
8667
  MODEL: "Model",
@@ -3667,7 +3667,7 @@ const qn = "av-footer", Xn = (e) => {
3667
3667
  }, to = vt(
3668
3668
  () => import(
3669
3669
  /* webpackChunkName: "LazyHeader" */
3670
- "./LazyHeader.CaiWcJOn.js"
3670
+ "./LazyHeader.fAr9Zo97.js"
3671
3671
  )
3672
3672
  ), ro = () => {
3673
3673
  const { isAuthenticated: e } = et();
@@ -3779,7 +3779,7 @@ const qn = "av-footer", Xn = (e) => {
3779
3779
  }, no = new URL(document.location.href).searchParams, oo = !!no.get("debug") || !1, so = vt(
3780
3780
  () => import(
3781
3781
  /* webpackChunkName: "LazyApp" */
3782
- "./LazyApp.T9mKlSIX.js"
3782
+ "./LazyApp.DiaCidKO.js"
3783
3783
  ).then((e) => e.LazyApp)
3784
3784
  ), io = ({ isComponent: e }) => {
3785
3785
  const { isAuthenticated: t } = et();
@@ -1,5 +1,5 @@
1
1
  import { jsxs as x, jsx as c, Fragment as Ne } from "react/jsx-runtime";
2
- import { g as Se } from "./index.DNlKJfQz.js";
2
+ import { g as Se } from "./index.-helPLAD.js";
3
3
  import z, { useSyncExternalStore as Ce, useCallback as O, useEffect as I, useContext as R, useRef as f, useState as A, useLayoutEffect as M, useMemo as le, useId as $e, useReducer as Ae } from "react";
4
4
  import i from "clsx";
5
5
  const At = ({
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.DNlKJfQz.js";
2
+ import { SassySaint as a } from "../../chunks/index.-helPLAD.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { SassySaint as r } from "./chunks/index.DNlKJfQz.js";
1
+ import { SassySaint as r } from "./chunks/index.-helPLAD.js";
2
2
  /*!
3
3
  @sassysaint/client v5.7.0
4
4
  © 2024 gizmette.com
@@ -6,7 +6,7 @@ import { SassySaint as r } from "./chunks/index.DNlKJfQz.js";
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
8
  version: "5.7.0",
9
- buildTime: "12/18/2024 03:25 PM EST",
9
+ buildTime: "12/18/2024 03:40 PM 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": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -26,8 +26,8 @@
26
26
  "watch": "npm-run-all dev"
27
27
  },
28
28
  "peerDependencies": {
29
- "react": "18.3.1",
30
- "react-dom": "18.3.1"
29
+ "react": "^18.3.1 || ^19.0.0",
30
+ "react-dom": "^18.3.1 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@sassysaint/client": "5.7.0",
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "fa5ecf030a1b86fc5b7d7b7b44d4304ef5759185"
44
+ "gitHead": "ed378837099b6e3687d723ea5f861b1abc297861"
45
45
  }