@chrryai/chrry 1.7.33 → 1.7.35

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/dist/index.js CHANGED
@@ -3264,7 +3264,7 @@ var init_utils = __esm({
3264
3264
  };
3265
3265
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
3266
3266
  config = getSiteConfig(getClientHostname2());
3267
- VERSION = config.version || "1.7.33";
3267
+ VERSION = config.version || "1.7.35";
3268
3268
  getSlugFromPathname = (path) => {
3269
3269
  return getAppAndStoreSlugs(path, {
3270
3270
  defaultAppSlug: config.slug,
@@ -24261,7 +24261,6 @@ function AuthProvider({
24261
24261
  app && getAppSlug2(app) || void 0
24262
24262
  );
24263
24263
  const setSlug = (slug2) => {
24264
- console.log(`\u{1F680} ~ setSlug ~ slug:`, slug2);
24265
24264
  if (isExtension2) {
24266
24265
  setSlugStorage(slug2);
24267
24266
  } else {
@@ -24854,7 +24853,7 @@ function DataProvider({ children, ...rest }) {
24854
24853
  const [instructions, setInstructions] = (0, import_react21.useState)([]);
24855
24854
  const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
24856
24855
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
24857
- const VERSION4 = "1.7.33";
24856
+ const VERSION4 = "1.7.35";
24858
24857
  const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
24859
24858
  const {
24860
24859
  API_URL: API_URL2,
@@ -50868,6 +50867,14 @@ var init_Thread = __esm({
50868
50867
  if (!isLoadingMore && !isUserScrolling && !hasStoppedScrolling) {
50869
50868
  scrollToBottom();
50870
50869
  }
50870
+ if (isE2E2)
50871
+ console.log("\u{1F916} onStreamingUpdate", {
50872
+ content,
50873
+ clientId,
50874
+ aiAgent,
50875
+ isWebSearchEnabled: isWebSearchEnabled2,
50876
+ isImageGenerationEnabled
50877
+ });
50871
50878
  if (!clientId) return;
50872
50879
  setMessages((prev) => {
50873
50880
  const existingIndex = prev.findIndex(