@versini/sassysaint 8.44.1 → 8.44.3

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 (24) hide show
  1. package/dist/chunks/{AboutChangelog.BcAh3Diw.js → AboutChangelog.BdZzSUba.js} +2 -2
  2. package/dist/chunks/{AboutEntry.B8XKsNz6.js → AboutEntry.DzSi7ibC.js} +5 -5
  3. package/dist/chunks/{App.B_z-iC81.js → App.DDTKqerX.js} +4137 -5868
  4. package/dist/chunks/{Chart.CC78baxd.js → Chart.PHloGZi7.js} +2 -2
  5. package/dist/chunks/ChatBubbleAssistant.DxGv-_Rb.js +76 -0
  6. package/dist/chunks/ChatHistoryTable.DnkLt1Je.js +1205 -0
  7. package/dist/chunks/HistoryEntry.De2vGpPR.js +282 -0
  8. package/dist/chunks/{LNWAZHJI.CQGzM2uj.js → LNWAZHJI.DBPRjK8f.js} +1 -1
  9. package/dist/chunks/{ProfileEntry.DGw-bmJD.js → ProfileEntry.B9ur9Dzf.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.B_-nqp2P.js → SettingsEntry.DeQAT_-t.js} +2 -2
  11. package/dist/chunks/{UsageEntry.COgGtck2.js → UsageEntry.BmEHDYHp.js} +3 -3
  12. package/dist/chunks/{index.DR_lquuI.js → index.C1S2cFkO.js} +2 -2
  13. package/dist/chunks/{index.DtvRHloF.js → index.CrwhT53o.js} +3 -3
  14. package/dist/chunks/{index.BTVpPOuB.js → index.CsbwtA6h.js} +1 -1
  15. package/dist/chunks/{index.4XJr9Y3j.js → index.CvN58Fp8.js} +1 -1
  16. package/dist/chunks/index.CyMvgyLB.js +804 -0
  17. package/dist/chunks/{index.C5nUMIev.js → index.DI9PexVP.js} +1 -1
  18. package/dist/chunks/{index.B2mnuHfs.js → index.DNSGhajh.js} +2 -2
  19. package/dist/chunks/{useMarkdown.CM-gEMEy.js → useMarkdown.CujEnDtN.js} +8 -8
  20. package/dist/components/SassySaint/SassySaint.js +1 -1
  21. package/dist/index.js +4 -4
  22. package/package.json +3 -3
  23. package/dist/chunks/ChatBubbleAssistant.SNSTBHB6.js +0 -75
  24. package/dist/chunks/HistoryEntry.DSiLUTEb.js +0 -538
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.CM-gEMEy.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.CujEnDtN.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -3084,7 +3084,7 @@ var Cu = (e, t = !1) => {
3084
3084
  const t = Li(() => {
3085
3085
  const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
3086
3086
  let d;
3087
- return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.CQGzM2uj.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3087
+ return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.DBPRjK8f.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3088
3088
  get queryFlavor() {
3089
3089
  return r.#r;
3090
3090
  },
@@ -7363,7 +7363,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, xd = "{{clipboard}}", M = "
7363
7363
  );
7364
7364
  }, Xl = new URL(document.location.href).searchParams, sn = !!Xl.get("debug") || !1, Zl = Ds(() => import(
7365
7365
  /* webpackChunkName: "LazyApp" */
7366
- "./App.B_z-iC81.js"
7366
+ "./App.DDTKqerX.js"
7367
7367
  ).then((e) => e.App)), eu = new si(), an = ({
7368
7368
  isComponent: e,
7369
7369
  headerHeight: t
@@ -1,8 +1,8 @@
1
1
  import * as rn from "react/jsx-runtime";
2
2
  import { jsx as ae, jsxs as Pn, Fragment as Ir } from "react/jsx-runtime";
3
- import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.B2mnuHfs.js";
3
+ import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.DNSGhajh.js";
4
4
  import Lr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
5
- import { getDefaultExportFromCjs as Nt } from "./App.B_z-iC81.js";
5
+ import { getDefaultExportFromCjs as Nt } from "./App.DDTKqerX.js";
6
6
  import _r from "clsx";
7
7
  const Rt = ({
8
8
  children: e,
@@ -6899,8 +6899,8 @@ class su {
6899
6899
  async loadGfm() {
6900
6900
  if (!this.remarkGfm) {
6901
6901
  const { default: n } = await import(
6902
- /* webpackChunkName: "md-remark-gfm" */
6903
- "./index.BTVpPOuB.js"
6902
+ /* webpackChunkName: "md-remark" */
6903
+ "./index.CsbwtA6h.js"
6904
6904
  );
6905
6905
  this.remarkGfm = n;
6906
6906
  }
@@ -6911,7 +6911,7 @@ class su {
6911
6911
  mu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6912
6912
  const { default: n } = await import(
6913
6913
  /* webpackChunkName: "md-rehype-katex" */
6914
- "./index.DR_lquuI.js"
6914
+ "./index.C1S2cFkO.js"
6915
6915
  );
6916
6916
  this.rehypeKatex = n;
6917
6917
  }
@@ -6920,8 +6920,8 @@ class su {
6920
6920
  async loadMath() {
6921
6921
  if (!this.remarkMath) {
6922
6922
  const { default: n } = await import(
6923
- /* webpackChunkName: "md-remark-math" */
6924
- "./index.4XJr9Y3j.js"
6923
+ /* webpackChunkName: "md-remark" */
6924
+ "./index.CvN58Fp8.js"
6925
6925
  );
6926
6926
  this.remarkMath = n;
6927
6927
  }
@@ -6931,7 +6931,7 @@ class su {
6931
6931
  if (!this.rehypeHighlight) {
6932
6932
  const { default: n } = await import(
6933
6933
  /* webpackChunkName: "md-rehype-highlight" */
6934
- "./index.DtvRHloF.js"
6934
+ "./index.CrwhT53o.js"
6935
6935
  );
6936
6936
  this.rehypeHighlight = n;
6937
6937
  }
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.B2mnuHfs.js";
2
+ import { SassySaint as a } from "../../chunks/index.DNSGhajh.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.B2mnuHfs.js";
1
+ import { SassySaint as r } from "./chunks/index.DNSGhajh.js";
2
2
  /*!
3
- @sassysaint/client v8.44.1
3
+ @sassysaint/client v8.44.3
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.44.1",
9
- buildTime: "08/28/2025 07:23 PM EDT",
8
+ version: "8.44.3",
9
+ buildTime: "08/30/2025 06:45 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": "8.44.1",
3
+ "version": "8.44.3",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -33,7 +33,7 @@
33
33
  "react-dom": "^18.3.1 || ^19.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@sassysaint/client": "8.44.1",
36
+ "@sassysaint/client": "8.44.3",
37
37
  "@tailwindcss/vite": "4.1.12",
38
38
  "@versini/ui-styles": "6.0.2"
39
39
  },
@@ -45,5 +45,5 @@
45
45
  "sideEffects": [
46
46
  "**/*.css"
47
47
  ],
48
- "gitHead": "dbbea0d4704c98982e541fedb553563195cd193b"
48
+ "gitHead": "10f186178c2d53a5a3eb6657eca649d907661ed6"
49
49
  }
@@ -1,75 +0,0 @@
1
- import { jsx as T } from "react/jsx-runtime";
2
- import { n as F, convertCamelCaseToReadable as O, numberFormatter as P, pluralize as R, ne as v } from "./index.B2mnuHfs.js";
3
- import { ChatContext as y, useUserPreferences as G, Me as L, Oe as A } from "./App.B_z-iC81.js";
4
- import E from "clsx";
5
- import D, { useState as x, useRef as S, useEffect as U, useContext as _ } from "react";
6
- import { useMarkdown as j } from "./useMarkdown.CM-gEMEy.js";
7
- const q = 2, I = q * 1e3, b = "", W = (e) => e * (2 - e);
8
- function $(e, n = !0) {
9
- const [a, p] = x(0), [i, C] = x(0), [t, h] = x(e), r = S(0), s = S(0);
10
- return t !== e && (h(e), C(e.startsWith(t) ? a : 0)), U(() => {
11
- if (!n)
12
- return;
13
- const u = e.split(b).length, o = (c) => {
14
- s.current || (s.current = c);
15
- const l = c - s.current, m = Math.min(l / I, 1), g = W(m), M = i + (u - i) * g;
16
- p(Math.floor(M)), m < 1 && (r.current = requestAnimationFrame(o));
17
- };
18
- return s.current = 0, r.current = requestAnimationFrame(o), () => {
19
- r.current && cancelAnimationFrame(r.current);
20
- };
21
- }, [i, e, n]), n ? e.split(b).slice(0, a).join(b) : e;
22
- }
23
- const d = {
24
- MODEL: "Model",
25
- PLUGIN: "Plugin",
26
- USAGE: "Session usage"
27
- }, k = E("max-w-[99cqw] mt-3"), w = E("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), J = D.memo(
28
- ({
29
- content: e,
30
- annotations: n,
31
- toolName: a,
32
- role: p,
33
- smooth: i = !1,
34
- isLastAssistantMessage: C = !1
35
- }) => {
36
- const t = $(e, i), {
37
- state: { streaming: h, restoredModel: r, tokenUsage: s }
38
- } = _(y), u = n?.model || r, o = s, [c, l] = j(), { user: m, getAccessToken: g } = F(), { data: M } = G({
39
- user: m?.username,
40
- getAccessToken: g
41
- }), N = M?.showDetails || !1;
42
- let f;
43
- return N && (f = {
44
- [d.MODEL]: u || null,
45
- [d.PLUGIN]: a ? O(a) : null
46
- }, o && (C ? f[d.USAGE] = `${P.format(o)} ${R("token", o)}` : f[d.USAGE] = L)), U(() => {
47
- t && l(t);
48
- }, [t, l]), p === v ? /* @__PURE__ */ T(
49
- A,
50
- {
51
- tail: !0,
52
- className: k,
53
- contentClassName: w,
54
- noMaxWidth: !0,
55
- children: /* @__PURE__ */ T("div", { className: "flex items-center justify-center italic text-copy-error-dark dark:text-red-300", children: c })
56
- }
57
- ) : /* @__PURE__ */ T(
58
- A,
59
- {
60
- tail: !0,
61
- copyToClipboardMode: "dark",
62
- copyToClipboardFocusMode: "light",
63
- copyToClipboard: h ? "loading..." : e,
64
- footer: f,
65
- className: k,
66
- contentClassName: w,
67
- noMaxWidth: !0,
68
- children: c
69
- }
70
- );
71
- }
72
- );
73
- export {
74
- J as default
75
- };