@versini/sassysaint 8.20.0 → 8.21.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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as nn, Fragment as Op } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as pn } from "./App.BOWLzWG_.js";
2
+ import { getDefaultExportFromCjs as pn } from "./App.14a_m4X9.js";
3
3
  import Lp, { useState as Ep, useEffect as Ip } from "react";
4
- import { TRIMESTERS as ln, TRIMESTERS_SHORT as Dp, isProbablyMobile as Bp } from "./index.7gXorH-1.js";
4
+ import { TRIMESTERS as ln, TRIMESTERS_SHORT as Dp, isProbablyMobile as Bp } from "./index.Bw9viTDe.js";
5
5
  var ds = { exports: {} }, Np = ds.exports, hn;
6
6
  function zp() {
7
7
  return hn || (hn = 1, function(we, he) {
@@ -1,9 +1,9 @@
1
1
  import { jsx as E } from "react/jsx-runtime";
2
- import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.BOWLzWG_.js";
2
+ import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.14a_m4X9.js";
3
3
  import O from "clsx";
4
4
  import w, { useState as g, useRef as x, useEffect as R, useContext as F } from "react";
5
- import { LOCAL_STORAGE_PREFIX as G, LOCAL_STORAGE_CHAT_DETAILS as k, convertCamelCaseToReadable as I, numberFormatter as P, pluralize as U, ROLE_INTERNAL as v } from "./index.7gXorH-1.js";
6
- import { useMarkdown as y } from "./useMarkdown.JS55FUxk.js";
5
+ import { LOCAL_STORAGE_PREFIX as G, LOCAL_STORAGE_CHAT_DETAILS as k, convertCamelCaseToReadable as I, numberFormatter as P, pluralize as U, ROLE_INTERNAL as v } from "./index.Bw9viTDe.js";
6
+ import { useMarkdown as y } from "./useMarkdown.DqX7fwm9.js";
7
7
  const D = 2, j = D * 1e3, h = "", q = (e) => e * (2 - e);
8
8
  function V(e, t = !0) {
9
9
  const [i, d] = g(0), [c, C] = g(0), [r, p] = g(e), s = x(0), o = x(0);
@@ -3241,7 +3241,7 @@ var Vu = (e, t = !1) => {
3241
3241
  const t = Na(() => {
3242
3242
  const r = this, [n] = f(this, mt), [s] = f(this, pt), [i] = f(this, gt), [a] = f(this, bt), [o] = f(this, ht);
3243
3243
  let c;
3244
- return f(this, wt) ? c = f(this, wt) : (c = wa(() => import("./2ZEF3XTO.DobSV-4V.js")), w(this, wt, c)), Io(f(this, Gt), f(this, yt)), ma(c, ga({
3244
+ return f(this, wt) ? c = f(this, wt) : (c = wa(() => import("./2ZEF3XTO.Bm2FOT43.js")), w(this, wt, c)), Io(f(this, Gt), f(this, yt)), ma(c, ga({
3245
3245
  get queryFlavor() {
3246
3246
  return f(r, Vt);
3247
3247
  },
@@ -7072,17 +7072,19 @@ try {
7072
7072
  });
7073
7073
  } catch {
7074
7074
  }
7075
- const iu = "ASK! ME! ANYTHING!", Ii = "Callisto", au = "Log in", ou = "Sign in with a Passkey", Pd = "Log out", cu = "Password", xd = "Usage", Dd = "Profile", $d = "Settings", Ld = "Chat history", Md = "About", Ud = "Type your question here", Kd = "{{clipboard}}", Hd = `Sometimes, ${Ii} hallucinates. Review important details.`, Fd = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", Bd = "Default provider set to", Vd = "Chat successfully deleted!", jd = "Chat successfully saved!", Gd = "av-sassy", qd = {
7075
+ const iu = "ASK! ME! ANYTHING!", Ii = "Callisto", au = "Log in", ou = "Sign in with a Passkey", Pd = "Log out", cu = "Password", xd = "Usage", Dd = "Profile", $d = "Settings", Ld = "Chat history", Md = "About", Ud = `Type your question here.
7076
+ Press Enter to send or Shift+Enter for new line.`, Kd = `Type your question here.
7077
+ Press Ctrl+Enter to send or Enter for new line.`, Hd = "{{clipboard}}", Fd = `Sometimes, ${Ii} hallucinates. Review important details.`, Bd = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", Vd = "Default provider set to", jd = "Chat successfully deleted!", Gd = "Chat successfully saved!", qd = "av-sassy", Wd = {
7076
7078
  0: ["January", "February", "March"],
7077
7079
  3: ["April", "May", "June"],
7078
7080
  6: ["July", "August", "September"],
7079
7081
  9: ["October", "November", "December"]
7080
- }, Wd = {
7082
+ }, Jd = {
7081
7083
  0: ["Jan", "Feb", "Mar"],
7082
7084
  3: ["Apr", "May", "Jun"],
7083
7085
  6: ["Jul", "Aug", "Sep"],
7084
7086
  9: ["Oct", "Nov", "Dec"]
7085
- }, Jd = {
7087
+ }, zd = {
7086
7088
  PREFERENCES: {
7087
7089
  TITLE: "User profile",
7088
7090
  NAME: "Name",
@@ -7114,7 +7116,8 @@ const iu = "ASK! ME! ANYTHING!", Ii = "Callisto", au = "Log in", ou = "Sign in w
7114
7116
  },
7115
7117
  SETTINGS_DETAILS: {
7116
7118
  TITLE: "Chat Details",
7117
- INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
7119
+ DETAILS: "The following option adds individual statistics for each messages under their respective bubbles, such as model name, and more.",
7120
+ SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line."
7118
7121
  }
7119
7122
  }, lu = () => /* @__PURE__ */ te(
7120
7123
  "div",
@@ -7255,7 +7258,7 @@ const iu = "ASK! ME! ANYTHING!", Ii = "Callisto", au = "Log in", ou = "Sign in w
7255
7258
  ) });
7256
7259
  }, du = new URL(document.location.href).searchParams, Xn = !!du.get("debug") || !1, fu = Oi(() => import(
7257
7260
  /* webpackChunkName: "LazyApp" */
7258
- "./App.BOWLzWG_.js"
7261
+ "./App.14a_m4X9.js"
7259
7262
  ).then((e) => e.App)), hu = new Yi(), Zn = ({
7260
7263
  isComponent: e,
7261
7264
  headerHeight: t
@@ -7278,7 +7281,7 @@ const iu = "ASK! ME! ANYTHING!", Ii = "Callisto", au = "Log in", ou = "Sign in w
7278
7281
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7279
7282
  children: /* @__PURE__ */ p(Zn, { isComponent: e, headerHeight: t })
7280
7283
  }
7281
- ) : /* @__PURE__ */ p(Wn, { clientId: Jn, domain: r, debug: Xn, children: /* @__PURE__ */ p(Zn, { isComponent: e, headerHeight: t }) }), zd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7284
+ ) : /* @__PURE__ */ p(Wn, { clientId: Jn, domain: r, debug: Xn, children: /* @__PURE__ */ p(Zn, { isComponent: e, headerHeight: t }) }), Qd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7282
7285
  yu,
7283
7286
  {
7284
7287
  isComponent: !0,
@@ -7292,21 +7295,22 @@ export {
7292
7295
  sd as ACTION_SEARCH,
7293
7296
  id as ACTION_SORT,
7294
7297
  ad as ACTION_TOGGLE_PROMPT,
7295
- Gd as APP_CLASSNAME,
7298
+ qd as APP_CLASSNAME,
7296
7299
  Ii as APP_NAME,
7297
7300
  wi as C,
7298
- Jd as CARDS,
7299
- Kd as CLIPBOARD_PROMPT,
7301
+ zd as CARDS,
7302
+ Hd as CLIPBOARD_PROMPT,
7300
7303
  bd as DEFAULT_ICON_ACTION_SIZE,
7301
7304
  Lu as Dynamic,
7302
7305
  nd as ERROR_MESSAGE,
7303
- Hd as FOOTER_DISCLAIMER,
7306
+ Fd as FOOTER_DISCLAIMER,
7304
7307
  Ou as For,
7305
7308
  Ld as HISTORY_TITLE,
7306
7309
  Pr as I,
7307
7310
  md as INFINITE_SCROLL_LIMIT,
7308
7311
  yd as INFINITE_SCROLL_THRESHOLD,
7309
- Ud as INPUT_PLACEHOLDER_TEXT,
7312
+ Kd as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
7313
+ Ud as INPUT_PLACEHOLDER_TEXT_ENTER,
7310
7314
  _u as Index,
7311
7315
  Ul as L,
7312
7316
  ld as LOCAL_STORAGE_CHAT_DETAILS,
@@ -7319,22 +7323,22 @@ export {
7319
7323
  lu as Logo,
7320
7324
  Pu as Match,
7321
7325
  Dd as PROFILE_TITLE,
7322
- Fd as PROMPTS_DESCRIPTION,
7326
+ Bd as PROMPTS_DESCRIPTION,
7323
7327
  pd as PROMPT_CLASSNAME,
7324
7328
  gd as PROMPT_EDITABLE_AREA_CLASSNAME,
7325
7329
  $u as Portal,
7326
7330
  rd as ROLE_INTERNAL,
7327
7331
  Cl as S,
7328
7332
  $d as SETTINGS_TITLE,
7329
- zd as SassySaint,
7333
+ Qd as SassySaint,
7330
7334
  Cu as Show,
7331
7335
  Tr as Subscribable,
7332
7336
  Nu as Switch,
7333
- Vd as TOAST_CHAT_DELETED,
7334
- jd as TOAST_CHAT_SAVED,
7335
- Bd as TOAST_PROVIDER_CHANGED,
7336
- qd as TRIMESTERS,
7337
- Wd as TRIMESTERS_SHORT,
7337
+ jd as TOAST_CHAT_DELETED,
7338
+ Gd as TOAST_CHAT_SAVED,
7339
+ Vd as TOAST_PROVIDER_CHANGED,
7340
+ Wd as TRIMESTERS,
7341
+ Jd as TRIMESTERS_SHORT,
7338
7342
  vd as UI_BUTTON_SCROLL_BUFFER,
7339
7343
  Ed as UI_DEFAULT_MAIN_HEIGHT,
7340
7344
  wd as UI_FOOTER_BUFFER,
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.JS55FUxk.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.DqX7fwm9.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./useMarkdown.JS55FUxk.js";
2
- import { toText as Qa } from "./index.D3Yrj60b.js";
1
+ import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./useMarkdown.DqX7fwm9.js";
2
+ import { toText as Qa } from "./index.C98PQfTm.js";
3
3
  class ye {
4
4
  /**
5
5
  * @constructor
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.BOWLzWG_.js";
2
- import { visit as In } from "./useMarkdown.JS55FUxk.js";
3
- import { toText as Cn } from "./index.D3Yrj60b.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.14a_m4X9.js";
2
+ import { visit as In } from "./useMarkdown.DqX7fwm9.js";
3
+ import { toText as Cn } from "./index.C98PQfTm.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.JS55FUxk.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.DqX7fwm9.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, toString as ce, EXIT as _e, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, blankLine as je, factorySpace as S, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./useMarkdown.JS55FUxk.js";
1
+ import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, toString as ce, EXIT as _e, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, blankLine as je, factorySpace as S, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./useMarkdown.DqX7fwm9.js";
2
2
  import { longestStreak as We } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -3,9 +3,9 @@ var Cr = (e, n, t) => n in e ? Sr(e, n, { enumerable: !0, configurable: !0, writ
3
3
  var Re = (e, n, t) => Cr(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import * as tn from "react/jsx-runtime";
5
5
  import { jsx as se, jsxs as In, Fragment as Er } from "react/jsx-runtime";
6
- import { le as Ir, unObfuscate as Pr, obfuscate as Tr } from "./index.7gXorH-1.js";
6
+ import { le as Ir, unObfuscate as Pr, obfuscate as Tr } from "./index.Bw9viTDe.js";
7
7
  import Ar, { useState as Tt, useEffect as At, useRef as De, useCallback as zr } from "react";
8
- import { getDefaultExportFromCjs as zt } from "./App.BOWLzWG_.js";
8
+ import { getDefaultExportFromCjs as zt } from "./App.14a_m4X9.js";
9
9
  import Lr from "clsx";
10
10
  const Lt = ({
11
11
  children: e,
@@ -6830,7 +6830,7 @@ class ou {
6830
6830
  if (!this.remarkGfm) {
6831
6831
  const { default: n } = await import(
6832
6832
  /* webpackChunkName: "LazyRemarkGfm" */
6833
- "./index.DtCto41L.js"
6833
+ "./index.XD2SQigG.js"
6834
6834
  );
6835
6835
  this.remarkGfm = n;
6836
6836
  }
@@ -6841,7 +6841,7 @@ class ou {
6841
6841
  pu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6842
6842
  const { default: n } = await import(
6843
6843
  /* webpackChunkName: "LazyRehypeKatex" */
6844
- "./index.oy8h5VB0.js"
6844
+ "./index.DZJu2Y8_.js"
6845
6845
  );
6846
6846
  this.rehypeKatex = n;
6847
6847
  }
@@ -6851,7 +6851,7 @@ class ou {
6851
6851
  if (!this.remarkMath) {
6852
6852
  const { default: n } = await import(
6853
6853
  /* webpackChunkName: "LazyRemarkMath" */
6854
- "./index.DMyQxWuU.js"
6854
+ "./index.Dud8nTtn.js"
6855
6855
  );
6856
6856
  this.remarkMath = n;
6857
6857
  }
@@ -6861,7 +6861,7 @@ class ou {
6861
6861
  if (!this.rehypeHighlight) {
6862
6862
  const { default: n } = await import(
6863
6863
  /* webpackChunkName: "LazyRehypeHighlight" */
6864
- "./index.C9U-Fttf.js"
6864
+ "./index.Dhjyd-MC.js"
6865
6865
  );
6866
6866
  this.rehypeHighlight = n;
6867
6867
  }
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.7gXorH-1.js";
2
+ import { SassySaint as a } from "../../chunks/index.Bw9viTDe.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.7gXorH-1.js";
1
+ import { SassySaint as r } from "./chunks/index.Bw9viTDe.js";
2
2
  /*!
3
- @sassysaint/client v8.20.0
3
+ @sassysaint/client v8.21.0
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.20.0",
9
- buildTime: "05/27/2025 10:27 AM EDT",
8
+ version: "8.21.0",
9
+ buildTime: "05/28/2025 02:23 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.20.0",
3
+ "version": "8.21.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": "8.20.0",
33
+ "@sassysaint/client": "8.21.0",
34
34
  "@tailwindcss/vite": "4.1.7",
35
35
  "@versini/ui-styles": "5.0.4"
36
36
  },
@@ -42,5 +42,5 @@
42
42
  "sideEffects": [
43
43
  "**/*.css"
44
44
  ],
45
- "gitHead": "24a3a3a3b82938b3667668edd2dc7c7eb3372118"
45
+ "gitHead": "65e3fc69e71ef5005cfd2ad4deff9d6c2ae6b5a6"
46
46
  }