@chrryai/chrry 1.5.1 → 1.5.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.
- package/Thread.module.scss +0 -4
- package/dist/index.js +29 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/Thread.module.scss
CHANGED
package/dist/index.js
CHANGED
|
@@ -732,7 +732,7 @@ function getSiteConfig(hostnameOrMode) {
|
|
|
732
732
|
favicon: "focus",
|
|
733
733
|
mode: "focus",
|
|
734
734
|
slug: "focus",
|
|
735
|
-
version: "26.10.
|
|
735
|
+
version: "26.10.41",
|
|
736
736
|
storeSlug: "blossom",
|
|
737
737
|
name: "Focus",
|
|
738
738
|
domain: "focus.chrry.ai",
|
|
@@ -1902,7 +1902,7 @@ var init_utils = __esm({
|
|
|
1902
1902
|
};
|
|
1903
1903
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
1904
1904
|
config = getSiteConfig(getClientHostname());
|
|
1905
|
-
VERSION = config.version || "1.5.
|
|
1905
|
+
VERSION = config.version || "1.5.3";
|
|
1906
1906
|
getSlugFromPathname = (path) => {
|
|
1907
1907
|
return getAppAndStoreSlugs(path, {
|
|
1908
1908
|
defaultAppSlug: config.slug,
|
|
@@ -7609,7 +7609,8 @@ var init_en = __esm({
|
|
|
7609
7609
|
"Seamlessly integrate third-party APIs and services. Sushi handles authentication, error handling, and rate limiting properly.": "Seamlessly integrate third-party APIs and services. Sushi handles authentication, error handling, and rate limiting properly.",
|
|
7610
7610
|
"Write optimized SQL, NoSQL, and ORM queries. Sushi creates efficient database operations with proper indexing and relationships.": "Write optimized SQL, NoSQL, and ORM queries. Sushi creates efficient database operations with proper indexing and relationships.",
|
|
7611
7611
|
"Automatically generate unit tests, integration tests, and E2E tests. Sushi ensures comprehensive test coverage for your code.": "Automatically generate unit tests, integration tests, and E2E tests. Sushi ensures comprehensive test coverage for your code.",
|
|
7612
|
-
"Generate clear, comprehensive documentation and comments. Sushi explains complex code in human-readable language.": "Generate clear, comprehensive documentation and comments. Sushi explains complex code in human-readable language."
|
|
7612
|
+
"Generate clear, comprehensive documentation and comments. Sushi explains complex code in human-readable language.": "Generate clear, comprehensive documentation and comments. Sushi explains complex code in human-readable language.",
|
|
7613
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory."
|
|
7613
7614
|
};
|
|
7614
7615
|
}
|
|
7615
7616
|
});
|
|
@@ -9305,7 +9306,8 @@ var init_ja = __esm({
|
|
|
9305
9306
|
"Create apps in your store with unlimited collaboration": "\u7121\u5236\u9650\u306E\u30B3\u30E9\u30DC\u30EC\u30FC\u30B7\u30E7\u30F3\u3067\u30B9\u30C8\u30A2\u5185\u306B\u30A2\u30D7\u30EA\u3092\u4F5C\u6210",
|
|
9306
9307
|
"Create custom AI apps with team collaboration": "\u30C1\u30FC\u30E0\u5354\u529B\u3067\u30AB\u30B9\u30BF\u30E0AI\u30A2\u30D7\u30EA\u3092\u4F5C\u6210",
|
|
9307
9308
|
"Unlimited stores with nested apps": "\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30A2\u30D7\u30EA\u3092\u6301\u3064\u7121\u5236\u9650\u306E\u30B9\u30C8\u30A2",
|
|
9308
|
-
credit_left: "\u6B8B\u308A{{count}}\u56DE"
|
|
9309
|
+
credit_left: "\u6B8B\u308A{{count}}\u56DE",
|
|
9310
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "AI\u304C\u899A\u3048\u3066\u5C06\u6765\u306E\u4F1A\u8A71\u3067\u53C2\u7167\u3059\u308B\u305F\u3081\u306B\u3001\u3053\u3053\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u3053\u308C\u3089\u306E\u30A2\u30FC\u30C6\u30A3\u30D5\u30A1\u30AF\u30C8\u306F\u30B9\u30EC\u30C3\u30C9\u306E\u30E1\u30E2\u30EA\u306E\u4E00\u90E8\u3068\u306A\u308A\u307E\u3059\u3002"
|
|
9309
9311
|
};
|
|
9310
9312
|
}
|
|
9311
9313
|
});
|
|
@@ -11001,7 +11003,8 @@ var init_es = __esm({
|
|
|
11001
11003
|
"Create apps in your store with unlimited collaboration": "Crea aplicaciones en tu tienda con colaboraci\xF3n ilimitada",
|
|
11002
11004
|
"Create custom AI apps with team collaboration": "Crea aplicaciones de IA personalizadas con colaboraci\xF3n de equipo",
|
|
11003
11005
|
"Unlimited stores with nested apps": "Tiendas ilimitadas con aplicaciones anidadas",
|
|
11004
|
-
credit_left: "{{count}} restante"
|
|
11006
|
+
credit_left: "{{count}} restante",
|
|
11007
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "Sube archivos aqu\xED para que Vex los recuerde y los referencie en futuras conversaciones. Estos artefactos se convierten en parte de la memoria del hilo."
|
|
11005
11008
|
};
|
|
11006
11009
|
}
|
|
11007
11010
|
});
|
|
@@ -12697,7 +12700,8 @@ var init_pt = __esm({
|
|
|
12697
12700
|
"Create apps in your store with unlimited collaboration": "Crie aplicativos na sua loja com colabora\xE7\xE3o ilimitada",
|
|
12698
12701
|
"Create custom AI apps with team collaboration": "Crie aplicativos de IA personalizados com colabora\xE7\xE3o em equipe",
|
|
12699
12702
|
"Unlimited stores with nested apps": "Lojas ilimitadas com aplicativos aninhados",
|
|
12700
|
-
credit_left: "{{count}} restantes"
|
|
12703
|
+
credit_left: "{{count}} restantes",
|
|
12704
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "Fa\xE7a o upload de arquivos aqui para que a IA se lembre e fa\xE7a refer\xEAncia em conversas futuras. Esses artefatos se tornam parte da mem\xF3ria do t\xF3pico."
|
|
12701
12705
|
};
|
|
12702
12706
|
}
|
|
12703
12707
|
});
|
|
@@ -14394,7 +14398,8 @@ var init_de = __esm({
|
|
|
14394
14398
|
"Create apps in your store with unlimited collaboration": "Erstellen Sie Apps in Ihrem Store mit unbegrenzter Zusammenarbeit",
|
|
14395
14399
|
"Create custom AI apps with team collaboration": "Erstellen Sie benutzerdefinierte AI-Apps mit Teamzusammenarbeit",
|
|
14396
14400
|
"Unlimited stores with nested apps": "Unbegrenzte Stores mit verschachtelten Apps",
|
|
14397
|
-
credit_left: "{{count}} \xFCbrig"
|
|
14401
|
+
credit_left: "{{count}} \xFCbrig",
|
|
14402
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "Laden Sie hier Dateien hoch, damit die KI sie sich merken und in zuk\xFCnftigen Gespr\xE4chen darauf Bezug nehmen kann. Diese Artefakte werden Teil des Thread-Speichers."
|
|
14398
14403
|
};
|
|
14399
14404
|
}
|
|
14400
14405
|
});
|
|
@@ -16090,7 +16095,8 @@ var init_fr = __esm({
|
|
|
16090
16095
|
"Create apps in your store with unlimited collaboration": "Cr\xE9ez des applications dans votre boutique avec une collaboration illimit\xE9e",
|
|
16091
16096
|
"Create custom AI apps with team collaboration": "Cr\xE9ez des applications IA personnalis\xE9es avec la collaboration de l'\xE9quipe",
|
|
16092
16097
|
"Unlimited stores with nested apps": "Boutiques illimit\xE9es avec des applications imbriqu\xE9es",
|
|
16093
|
-
credit_left: "{{count}} restant"
|
|
16098
|
+
credit_left: "{{count}} restant",
|
|
16099
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "T\xE9l\xE9chargez des fichiers ici pour que l'IA se souvienne et se r\xE9f\xE8re dans les futures conversations. Ces artefacts deviennent une partie de la m\xE9moire du fil de discussion."
|
|
16094
16100
|
};
|
|
16095
16101
|
}
|
|
16096
16102
|
});
|
|
@@ -17786,7 +17792,8 @@ var init_ko = __esm({
|
|
|
17786
17792
|
"Create apps in your store with unlimited collaboration": "\uBB34\uC81C\uD55C \uD611\uC5C5\uC73C\uB85C \uC2A4\uD1A0\uC5B4\uC5D0 \uC571\uC744 \uB9CC\uB4DC\uC138\uC694",
|
|
17787
17793
|
"Create custom AI apps with team collaboration": "\uD300 \uD611\uC5C5\uC73C\uB85C \uB9DE\uCDA4\uD615 AI \uC571\uC744 \uB9CC\uB4DC\uC138\uC694",
|
|
17788
17794
|
"Unlimited stores with nested apps": "\uC911\uCCA9\uB41C \uC571\uC774 \uC788\uB294 \uBB34\uC81C\uD55C \uC2A4\uD1A0\uC5B4",
|
|
17789
|
-
credit_left: "{{count}} \uB0A8\uC74C"
|
|
17795
|
+
credit_left: "{{count}} \uB0A8\uC74C",
|
|
17796
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "AI\uAC00 \uAE30\uC5B5\uD558\uACE0 \uBBF8\uB798\uC758 \uB300\uD654\uC5D0\uC11C \uCC38\uC870\uD560 \uC218 \uC788\uB3C4\uB85D \uC5EC\uAE30\uC5D0 \uD30C\uC77C\uC744 \uC5C5\uB85C\uB4DC\uD558\uC138\uC694. \uC774\uB7EC\uD55C \uC544\uD2F0\uD329\uD2B8\uB294 \uC2A4\uB808\uB4DC\uC758 \uBA54\uBAA8\uB9AC\uC758 \uC77C\uBD80\uAC00 \uB429\uB2C8\uB2E4."
|
|
17790
17797
|
};
|
|
17791
17798
|
}
|
|
17792
17799
|
});
|
|
@@ -19483,7 +19490,8 @@ var init_zh = __esm({
|
|
|
19483
19490
|
"Create apps in your store with unlimited collaboration": "\u5728\u60A8\u7684\u5546\u5E97\u4E2D\u521B\u5EFA\u5E94\u7528\uFF0C\u65E0\u9650\u5236\u5730\u8FDB\u884C\u534F\u4F5C",
|
|
19484
19491
|
"Create custom AI apps with team collaboration": "\u4E0E\u56E2\u961F\u534F\u4F5C\u521B\u5EFA\u5B9A\u5236\u7684AI\u5E94\u7528",
|
|
19485
19492
|
"Unlimited stores with nested apps": "\u65E0\u9650\u5236\u7684\u5546\u5E97\u4E0E\u5D4C\u5957\u5E94\u7528",
|
|
19486
|
-
credit_left: "\u5269\u4F59{{count}}"
|
|
19493
|
+
credit_left: "\u5269\u4F59{{count}}",
|
|
19494
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "\u5C06\u6587\u4EF6\u4E0A\u4F20\u81F3\u6B64\u5904\uFF0C\u4EE5\u4FBFAI\u8BB0\u4F4F\u5E76\u5728\u672A\u6765\u7684\u5BF9\u8BDD\u4E2D\u53C2\u8003\u3002\u8FD9\u4E9B\u6587\u4EF6\u5C06\u6210\u4E3A\u7EBF\u7A0B\u8BB0\u5FC6\u7684\u4E00\u90E8\u5206\u3002"
|
|
19487
19495
|
};
|
|
19488
19496
|
}
|
|
19489
19497
|
});
|
|
@@ -21180,7 +21188,8 @@ var init_nl = __esm({
|
|
|
21180
21188
|
"Create apps in your store with unlimited collaboration": "Maak apps in uw winkel met onbeperkte samenwerking",
|
|
21181
21189
|
"Create custom AI apps with team collaboration": "Maak aangepaste AI-apps met team samenwerking",
|
|
21182
21190
|
"Unlimited stores with nested apps": "Onbeperkte winkels met geneste apps",
|
|
21183
|
-
credit_left: "{{count}} over"
|
|
21191
|
+
credit_left: "{{count}} over",
|
|
21192
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "Upload hier bestanden zodat de AI ze kan onthouden en naar kan verwijzen in toekomstige gesprekken. Deze artefacten worden onderdeel van het geheugen van de thread."
|
|
21184
21193
|
};
|
|
21185
21194
|
}
|
|
21186
21195
|
});
|
|
@@ -22876,7 +22885,8 @@ var init_tr = __esm({
|
|
|
22876
22885
|
"Create apps in your store with unlimited collaboration": "Ma\u011Fazan\u0131zda s\u0131n\u0131rs\u0131z i\u015Fbirli\u011Fi ile uygulamalar olu\u015Fturun",
|
|
22877
22886
|
"Create custom AI apps with team collaboration": "Tak\u0131m i\u015Fbirli\u011Fi ile \xF6zel AI uygulamalar\u0131 olu\u015Fturun",
|
|
22878
22887
|
"Unlimited stores with nested apps": "\u0130\xE7 i\xE7e uygulamalarla s\u0131n\u0131rs\u0131z ma\u011Faza",
|
|
22879
|
-
credit_left: "{{count}} kald\u0131"
|
|
22888
|
+
credit_left: "{{count}} kald\u0131",
|
|
22889
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory.": "AI'\u0131n hat\u0131rlamas\u0131 ve gelecekteki konu\u015Fmalarda referans almas\u0131 i\xE7in dosyalar\u0131 buraya y\xFCkleyin. Bu eserler, konu\u015Fma dizisinin haf\u0131zas\u0131n\u0131n bir par\xE7as\u0131 olur."
|
|
22880
22890
|
};
|
|
22881
22891
|
}
|
|
22882
22892
|
});
|
|
@@ -24081,7 +24091,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24081
24091
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24082
24092
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24083
24093
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24084
|
-
const VERSION4 = "1.5.
|
|
24094
|
+
const VERSION4 = "1.5.3";
|
|
24085
24095
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24086
24096
|
const {
|
|
24087
24097
|
API_URL: API_URL2,
|
|
@@ -29655,7 +29665,7 @@ var init_Thread_styles = __esm({
|
|
|
29655
29665
|
}
|
|
29656
29666
|
},
|
|
29657
29667
|
headers: {
|
|
29658
|
-
display: "
|
|
29668
|
+
display: "flex",
|
|
29659
29669
|
flexDirection: "column",
|
|
29660
29670
|
gap: 10
|
|
29661
29671
|
},
|
|
@@ -34594,7 +34604,7 @@ function Instructions({
|
|
|
34594
34604
|
}
|
|
34595
34605
|
},
|
|
34596
34606
|
isArtifactsOpen ? /* @__PURE__ */ import_react54.default.createElement(Div, null, /* @__PURE__ */ import_react54.default.createElement(Div, null, t5(
|
|
34597
|
-
"Upload
|
|
34607
|
+
"Upload files here for the AI to remember and reference in future conversations. These artifacts become part of the thread's memory."
|
|
34598
34608
|
)), (files.length || threadArtifacts.length) > 0 && /* @__PURE__ */ import_react54.default.createElement(Div, { style: styles4.filePreviewArea.style }, threadArtifacts.map((file, index) => {
|
|
34599
34609
|
return /* @__PURE__ */ import_react54.default.createElement(Div, { key: index, style: styles4.filePreview.style }, /* @__PURE__ */ import_react54.default.createElement(Div, { style: styles4.filePreviewIcon.style }, /* @__PURE__ */ import_react54.default.createElement(icons_exports.FileIcon, { size: 16 })), /* @__PURE__ */ import_react54.default.createElement(Div, { style: styles4.filePreviewInfo.style }, /* @__PURE__ */ import_react54.default.createElement(
|
|
34600
34610
|
Anchor,
|
|
@@ -45829,6 +45839,7 @@ function Message({
|
|
|
45829
45839
|
return /* @__PURE__ */ React.createElement(Div, { style: styles4.likeButtons.style }, /* @__PURE__ */ React.createElement(
|
|
45830
45840
|
Button,
|
|
45831
45841
|
{
|
|
45842
|
+
className: "link",
|
|
45832
45843
|
"data-testid": `${liked ? "unlike-button" : "like-button"}`,
|
|
45833
45844
|
title: liked ? t5("Unlike") : t5("Like"),
|
|
45834
45845
|
style: utilities.link.style,
|
|
@@ -45838,6 +45849,7 @@ function Message({
|
|
|
45838
45849
|
), /* @__PURE__ */ React.createElement(
|
|
45839
45850
|
Button,
|
|
45840
45851
|
{
|
|
45852
|
+
className: "link",
|
|
45841
45853
|
"data-testid": `${disliked ? "undislike-button" : "dislike-button"}`,
|
|
45842
45854
|
title: disliked ? t5("Unlike") : t5("Dislike"),
|
|
45843
45855
|
style: utilities.link.style,
|
|
@@ -49908,7 +49920,7 @@ var init_Thread = __esm({
|
|
|
49908
49920
|
}
|
|
49909
49921
|
}
|
|
49910
49922
|
},
|
|
49911
|
-
!isVisitor && /* @__PURE__ */ import_react89.default.createElement(Div, { style: styles4.headers.style },
|
|
49923
|
+
!isVisitor && thread2 && /* @__PURE__ */ import_react89.default.createElement(Div, { style: styles4.headers.style }, /* @__PURE__ */ import_react89.default.createElement(Div, { style: styles4.header.style }, /* @__PURE__ */ import_react89.default.createElement(
|
|
49912
49924
|
Instructions,
|
|
49913
49925
|
{
|
|
49914
49926
|
onSave: (data) => {
|
|
@@ -49962,7 +49974,7 @@ var init_Thread = __esm({
|
|
|
49962
49974
|
size: 15,
|
|
49963
49975
|
thread: thread2
|
|
49964
49976
|
}
|
|
49965
|
-
)))
|
|
49977
|
+
))),
|
|
49966
49978
|
isLoading && !isLoadingMore && isEmpty ? /* @__PURE__ */ import_react89.default.createElement(Div, { style: styles4.errorContainer.style }, /* @__PURE__ */ import_react89.default.createElement(Loading, null)) : error ? /* @__PURE__ */ import_react89.default.createElement(Div, { style: styles4.errorContainer.style }, /* @__PURE__ */ import_react89.default.createElement(icons_exports.CircleX, { color: "var(--accent-0)", size: 20 }), " Something went wrong, please try again later") : status === 404 ? /* @__PURE__ */ import_react89.default.createElement(Div, { style: styles4.errorContainer.style }, /* @__PURE__ */ import_react89.default.createElement(icons_exports.InfoIcon, { color: "var(--accent-1)", size: 20 }), " Thread not found") : status === 401 ? /* @__PURE__ */ import_react89.default.createElement(Div, { style: styles4.errorContainer.style }, /* @__PURE__ */ import_react89.default.createElement(icons_exports.InfoIcon, { color: "var(--accent-1)", size: 20 }), " Unauthorized") : /* @__PURE__ */ import_react89.default.createElement(import_react89.default.Fragment, null, isGame ? null : /* @__PURE__ */ import_react89.default.createElement(
|
|
49967
49979
|
Messages_default,
|
|
49968
49980
|
{
|