@chrryai/chrry 1.3.2 → 1.3.4
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/Chat.module.scss +9 -1
- package/dist/{Chat.module-Y4TGJLBQ.scss → Chat.module-WP3SYPSX.scss} +9 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/Chat.module.scss
CHANGED
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
padding-bottom: toRem.toRem(35);
|
|
73
73
|
margin-bottom: toRem.toRem(3);
|
|
74
74
|
background-color: var(--shade-1-transparent);
|
|
75
|
-
padding-right: toRem.toRem(19);
|
|
76
75
|
backdrop-filter: blur(toRem.toRem(5.5));
|
|
76
|
+
padding-right: toRem.toRem(19);
|
|
77
77
|
position: relative;
|
|
78
78
|
|
|
79
79
|
transition:
|
|
@@ -288,6 +288,10 @@
|
|
|
288
288
|
bottom: toRem.toRem(-5);
|
|
289
289
|
right: toRem.toRem(-5);
|
|
290
290
|
}
|
|
291
|
+
|
|
292
|
+
&:disabled {
|
|
293
|
+
background-color: var(--shade-1-transparent) !important;
|
|
294
|
+
}
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
.scrollDownButton {
|
|
@@ -863,6 +867,10 @@
|
|
|
863
867
|
display: flex;
|
|
864
868
|
align-items: center;
|
|
865
869
|
gap: toRem.toRem(2.5);
|
|
870
|
+
|
|
871
|
+
&:disabled {
|
|
872
|
+
background-color: var(--shade-1-transparent) !important;
|
|
873
|
+
}
|
|
866
874
|
}
|
|
867
875
|
|
|
868
876
|
.agentName {
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
padding-bottom: toRem.toRem(35);
|
|
73
73
|
margin-bottom: toRem.toRem(3);
|
|
74
74
|
background-color: var(--shade-1-transparent);
|
|
75
|
-
padding-right: toRem.toRem(19);
|
|
76
75
|
backdrop-filter: blur(toRem.toRem(5.5));
|
|
76
|
+
padding-right: toRem.toRem(19);
|
|
77
77
|
position: relative;
|
|
78
78
|
|
|
79
79
|
transition:
|
|
@@ -288,6 +288,10 @@
|
|
|
288
288
|
bottom: toRem.toRem(-5);
|
|
289
289
|
right: toRem.toRem(-5);
|
|
290
290
|
}
|
|
291
|
+
|
|
292
|
+
&:disabled {
|
|
293
|
+
background-color: var(--shade-1-transparent) !important;
|
|
294
|
+
}
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
.scrollDownButton {
|
|
@@ -863,6 +867,10 @@
|
|
|
863
867
|
display: flex;
|
|
864
868
|
align-items: center;
|
|
865
869
|
gap: toRem.toRem(2.5);
|
|
870
|
+
|
|
871
|
+
&:disabled {
|
|
872
|
+
background-color: var(--shade-1-transparent) !important;
|
|
873
|
+
}
|
|
866
874
|
}
|
|
867
875
|
|
|
868
876
|
.agentName {
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -21282,7 +21282,7 @@ function DataProvider({
|
|
|
21282
21282
|
const [instructions, setInstructions] = (0, import_react14.useState)([]);
|
|
21283
21283
|
const [affiliateStats, setAffiliateStats] = (0, import_react14.useState)(null);
|
|
21284
21284
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react14.useState)(false);
|
|
21285
|
-
const VERSION3 = "1.3.
|
|
21285
|
+
const VERSION3 = "1.3.4";
|
|
21286
21286
|
const [weather, setWeather] = useLocalStorage("weather", user?.weather || guest?.weather || void 0);
|
|
21287
21287
|
const {
|
|
21288
21288
|
API_URL: API_URL2,
|
|
@@ -22367,7 +22367,7 @@ var init_utils = __esm({
|
|
|
22367
22367
|
window.history.replaceState({}, "", newUrl);
|
|
22368
22368
|
};
|
|
22369
22369
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
|
|
22370
|
-
VERSION = "1.3.
|
|
22370
|
+
VERSION = "1.3.4";
|
|
22371
22371
|
getSlugFromPathname = (path) => {
|
|
22372
22372
|
const siteConfig = getSiteConfig();
|
|
22373
22373
|
return getAppAndStoreSlugs(path, {
|
|
@@ -32022,11 +32022,9 @@ Return ONLY ONE WORD: ${apps.map((a) => a.name).join(", ")}, or "none"`;
|
|
|
32022
32022
|
});
|
|
32023
32023
|
if (hasPlayed) {
|
|
32024
32024
|
setIsSpeechActive(true);
|
|
32025
|
-
return;
|
|
32026
32025
|
}
|
|
32027
32026
|
inConversationRef.current = true;
|
|
32028
32027
|
setIsLoading(true);
|
|
32029
|
-
const greeting = "Hello! How can I help you today? What's on your mind?";
|
|
32030
32028
|
try {
|
|
32031
32029
|
if (synthesis) synthesis.dispatchEvent(new Event("pause"));
|
|
32032
32030
|
if (audio) audio?.pause();
|
|
@@ -34322,7 +34320,7 @@ var init_Chat = __esm({
|
|
|
34322
34320
|
"use strict";
|
|
34323
34321
|
"use client";
|
|
34324
34322
|
import_react51 = require("react");
|
|
34325
|
-
import_Chat_module = __toESM(require("./Chat.module-
|
|
34323
|
+
import_Chat_module = __toESM(require("./Chat.module-WP3SYPSX.scss"));
|
|
34326
34324
|
import_clsx13 = __toESM(require("clsx"));
|
|
34327
34325
|
init_icons();
|
|
34328
34326
|
import_motion2 = require("motion");
|
|
@@ -39265,17 +39263,7 @@ function Message({
|
|
|
39265
39263
|
},
|
|
39266
39264
|
className: (0, import_clsx29.default)("link", import_Message_module.default.agentIcon, import_Message_module.default.tablet)
|
|
39267
39265
|
},
|
|
39268
|
-
agent && message.message.debateAgentId ? /* @__PURE__ */ React.createElement(React.Fragment, null, agent.name === "deepSeek" ? /* @__PURE__ */ React.createElement(import_icons33.DeepSeek, { size: 35 }) : agent.name === "chatGPT" ? /* @__PURE__ */ React.createElement(import_icons33.OpenAI, { size: 35 }) : agent.name === "claude" ? /* @__PURE__ */ React.createElement(import_icons33.Claude, { size: 35 }) : agent.name === "gemini" ? /* @__PURE__ */ React.createElement(import_icons33.Gemini, { size: 35 }) : agent.name === "flux" ? /* @__PURE__ */ React.createElement(import_icons33.Flux, { size: 35 }) : agent.name === "perplexity" ? /* @__PURE__ */ React.createElement(import_icons33.Perplexity, { size: 35 }) : null) :
|
|
39269
|
-
"video",
|
|
39270
|
-
{
|
|
39271
|
-
className: import_Message_module.default.video,
|
|
39272
|
-
src: `${FRONTEND_URL4}/video/blob.mp4`,
|
|
39273
|
-
autoPlay: true,
|
|
39274
|
-
loop: true,
|
|
39275
|
-
muted: true,
|
|
39276
|
-
playsInline: true
|
|
39277
|
-
}
|
|
39278
|
-
) : /* @__PURE__ */ React.createElement("span", { className: import_Message_module.default.appIcon }, /* @__PURE__ */ React.createElement(ImageComponent, { app, showLoading: false, size: 35 }), /* @__PURE__ */ React.createElement("span", null, app?.name || "Vex"))
|
|
39266
|
+
agent && message.message.debateAgentId ? /* @__PURE__ */ React.createElement(React.Fragment, null, agent.name === "deepSeek" ? /* @__PURE__ */ React.createElement(import_icons33.DeepSeek, { size: 35 }) : agent.name === "chatGPT" ? /* @__PURE__ */ React.createElement(import_icons33.OpenAI, { size: 35 }) : agent.name === "claude" ? /* @__PURE__ */ React.createElement(import_icons33.Claude, { size: 35 }) : agent.name === "gemini" ? /* @__PURE__ */ React.createElement(import_icons33.Gemini, { size: 35 }) : agent.name === "flux" ? /* @__PURE__ */ React.createElement(import_icons33.Flux, { size: 35 }) : agent.name === "perplexity" ? /* @__PURE__ */ React.createElement(import_icons33.Perplexity, { size: 35 }) : null) : /* @__PURE__ */ React.createElement("span", { className: import_Message_module.default.appIcon }, /* @__PURE__ */ React.createElement(ImageComponent, { app, showLoading: false, size: 35 }), /* @__PURE__ */ React.createElement("span", null, app?.name || "Vex"))
|
|
39279
39267
|
),
|
|
39280
39268
|
message.message.isStreaming && message.message.content.trim() === "" ? /* @__PURE__ */ React.createElement("div", { className: import_Message_module.default.thinking }, /* @__PURE__ */ React.createElement(
|
|
39281
39269
|
ImageComponent,
|