@chrryai/chrry 1.4.47 → 1.4.49
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/Menu.module.scss +1 -4
- package/dist/index.js +18 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/Menu.module.scss
CHANGED
|
@@ -63,9 +63,6 @@
|
|
|
63
63
|
.threads {
|
|
64
64
|
margin-top: toRem.toRem(7.5);
|
|
65
65
|
margin-right: toRem.toRem(-7.5);
|
|
66
|
-
|
|
67
|
-
&.threadItem {
|
|
68
|
-
}
|
|
69
66
|
}
|
|
70
67
|
|
|
71
68
|
.loading {
|
|
@@ -163,7 +160,7 @@
|
|
|
163
160
|
gap: toRem.toRem(3);
|
|
164
161
|
position: relative;
|
|
165
162
|
font-size: toRem.toRem(13);
|
|
166
|
-
color: var(--shade-
|
|
163
|
+
color: var(--shade-6);
|
|
167
164
|
}
|
|
168
165
|
|
|
169
166
|
.star {
|
package/dist/index.js
CHANGED
|
@@ -1898,7 +1898,7 @@ var init_utils = __esm({
|
|
|
1898
1898
|
};
|
|
1899
1899
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
1900
1900
|
config = getSiteConfig(getClientHostname());
|
|
1901
|
-
VERSION = config.version || "1.4.
|
|
1901
|
+
VERSION = config.version || "1.4.49";
|
|
1902
1902
|
getSlugFromPathname = (path) => {
|
|
1903
1903
|
return getAppAndStoreSlugs(path, {
|
|
1904
1904
|
defaultAppSlug: config.slug,
|
|
@@ -4918,8 +4918,8 @@ var init_lib = __esm({
|
|
|
4918
4918
|
slug,
|
|
4919
4919
|
size: size2 = 24,
|
|
4920
4920
|
BASE_URL = FRONTEND_URL,
|
|
4921
|
-
width
|
|
4922
|
-
height: height2
|
|
4921
|
+
width,
|
|
4922
|
+
height: height2,
|
|
4923
4923
|
canEditApp,
|
|
4924
4924
|
image
|
|
4925
4925
|
}) => {
|
|
@@ -24043,7 +24043,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24043
24043
|
const [instructions, setInstructions] = (0, import_react19.useState)([]);
|
|
24044
24044
|
const [affiliateStats, setAffiliateStats] = (0, import_react19.useState)(null);
|
|
24045
24045
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react19.useState)(false);
|
|
24046
|
-
const VERSION4 = "1.4.
|
|
24046
|
+
const VERSION4 = "1.4.49";
|
|
24047
24047
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24048
24048
|
const {
|
|
24049
24049
|
API_URL: API_URL2,
|
|
@@ -29257,7 +29257,7 @@ function Img({
|
|
|
29257
29257
|
{
|
|
29258
29258
|
ref,
|
|
29259
29259
|
className: containerClass,
|
|
29260
|
-
style: { ...imgStyles.container.style, width, height: height2 }
|
|
29260
|
+
style: { ...imgStyles.container.style, width, height: height2, ...style2 }
|
|
29261
29261
|
},
|
|
29262
29262
|
/* @__PURE__ */ import_react37.default.createElement(
|
|
29263
29263
|
AnimatedImage,
|
|
@@ -29268,7 +29268,8 @@ function Img({
|
|
|
29268
29268
|
style: {
|
|
29269
29269
|
...imgStyles.img.style,
|
|
29270
29270
|
width,
|
|
29271
|
-
height: height2
|
|
29271
|
+
height: height2,
|
|
29272
|
+
...style2
|
|
29272
29273
|
},
|
|
29273
29274
|
isLoaded,
|
|
29274
29275
|
reduceMotion,
|
|
@@ -35804,8 +35805,7 @@ function App({
|
|
|
35804
35805
|
...styles4.zarathustra.style
|
|
35805
35806
|
},
|
|
35806
35807
|
app: zarathustra,
|
|
35807
|
-
|
|
35808
|
-
height: 80
|
|
35808
|
+
size: 24
|
|
35809
35809
|
}
|
|
35810
35810
|
)
|
|
35811
35811
|
), showPacmanHere ? popcorn && store && store?.appId !== popcorn?.id && store?.apps?.some(
|
|
@@ -35829,7 +35829,7 @@ function App({
|
|
|
35829
35829
|
...styles4.popcorn.style
|
|
35830
35830
|
}
|
|
35831
35831
|
},
|
|
35832
|
-
/* @__PURE__ */ import_react55.default.createElement(ImageComponent, { app: popcorn,
|
|
35832
|
+
/* @__PURE__ */ import_react55.default.createElement(ImageComponent, { app: popcorn, size: 24 })
|
|
35833
35833
|
) : showPacmanHere && /* @__PURE__ */ import_react55.default.createElement(
|
|
35834
35834
|
Button,
|
|
35835
35835
|
{
|
|
@@ -40619,7 +40619,6 @@ var init_Menu_styles = __esm({
|
|
|
40619
40619
|
marginTop: 8,
|
|
40620
40620
|
marginRight: -7
|
|
40621
40621
|
},
|
|
40622
|
-
threadsThreadItem: {},
|
|
40623
40622
|
loading: {
|
|
40624
40623
|
display: "flex",
|
|
40625
40624
|
flexDirection: "column"
|
|
@@ -40695,7 +40694,7 @@ var init_Menu_styles = __esm({
|
|
|
40695
40694
|
gap: 3,
|
|
40696
40695
|
position: "relative",
|
|
40697
40696
|
fontSize: 13,
|
|
40698
|
-
color: "var(--shade-
|
|
40697
|
+
color: "var(--shade-6)"
|
|
40699
40698
|
},
|
|
40700
40699
|
star: {
|
|
40701
40700
|
position: "absolute",
|
|
@@ -45718,6 +45717,11 @@ function Message({
|
|
|
45718
45717
|
}
|
|
45719
45718
|
};
|
|
45720
45719
|
const [remoteDeleted, setRemoteDeleted] = (0, import_react76.useState)(false);
|
|
45720
|
+
const agentImageStyle = {
|
|
45721
|
+
...styles4.agentMessageImageContainer.style,
|
|
45722
|
+
width: isMobileDevice ? "100%" : "300px",
|
|
45723
|
+
height: isMobileDevice ? "100%" : "300px"
|
|
45724
|
+
};
|
|
45721
45725
|
useWebSocket({
|
|
45722
45726
|
onMessage: async ({ type, data }) => {
|
|
45723
45727
|
if (!token) return;
|
|
@@ -46016,6 +46020,7 @@ function Message({
|
|
|
46016
46020
|
images.map((image) => /* @__PURE__ */ React.createElement(
|
|
46017
46021
|
ImageComponent,
|
|
46018
46022
|
{
|
|
46023
|
+
style: styles4.userMessageImage.style,
|
|
46019
46024
|
dataTestId: "user-message-image",
|
|
46020
46025
|
key: image.id,
|
|
46021
46026
|
src: image.url,
|
|
@@ -46221,10 +46226,10 @@ function Message({
|
|
|
46221
46226
|
}
|
|
46222
46227
|
), /* @__PURE__ */ React.createElement(Span, null, t6(
|
|
46223
46228
|
message2.message.isImageGenerationEnabled ? "Processing" : "Thinking"
|
|
46224
|
-
)), /* @__PURE__ */ React.createElement(Div, { "data-testid": "typing-indicator", style: styles4.dots.style }, /* @__PURE__ */ React.createElement(Span, null), /* @__PURE__ */ React.createElement(Span, null), /* @__PURE__ */ React.createElement(Span, null))) : /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessage.style }, /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessageContent.style }, message2.message.isStreaming && message2.message.isImageGenerationEnabled ? /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessageImages.style }, /* @__PURE__ */ React.createElement(Div, { style: styles4.placeholder.style }, /* @__PURE__ */ React.createElement(Loading, null))) : message2.message.images && message2.message.images?.length > 0 ? /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessageImages.style }, message2.message.images.map((image) => /* @__PURE__ */ React.createElement(Div, { key: image.url, style:
|
|
46229
|
+
)), /* @__PURE__ */ React.createElement(Div, { "data-testid": "typing-indicator", style: styles4.dots.style }, /* @__PURE__ */ React.createElement(Span, null), /* @__PURE__ */ React.createElement(Span, null), /* @__PURE__ */ React.createElement(Span, null))) : /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessage.style }, /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessageContent.style }, message2.message.isStreaming && message2.message.isImageGenerationEnabled ? /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessageImages.style }, /* @__PURE__ */ React.createElement(Div, { style: styles4.placeholder.style }, /* @__PURE__ */ React.createElement(Loading, null))) : message2.message.images && message2.message.images?.length > 0 ? /* @__PURE__ */ React.createElement(Div, { style: styles4.agentMessageImages.style }, message2.message.images.map((image) => /* @__PURE__ */ React.createElement(Div, { key: image.url, style: agentImageStyle }, /* @__PURE__ */ React.createElement(
|
|
46225
46230
|
ImageComponent,
|
|
46226
46231
|
{
|
|
46227
|
-
style:
|
|
46232
|
+
style: agentImageStyle,
|
|
46228
46233
|
src: image.url,
|
|
46229
46234
|
alt: "",
|
|
46230
46235
|
width: "100%",
|