@chrryai/chrry 1.2.4 → 1.2.5
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +271 -249
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +271 -249
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1371,7 +1371,7 @@ declare const isFirefox: boolean;
|
|
|
1371
1371
|
declare function getFlag({ code }: {
|
|
1372
1372
|
code?: string;
|
|
1373
1373
|
}): string;
|
|
1374
|
-
declare const VERSION = "1.2.
|
|
1374
|
+
declare const VERSION = "1.2.5";
|
|
1375
1375
|
type instructionBase = {
|
|
1376
1376
|
id: string;
|
|
1377
1377
|
title: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1371,7 +1371,7 @@ declare const isFirefox: boolean;
|
|
|
1371
1371
|
declare function getFlag({ code }: {
|
|
1372
1372
|
code?: string;
|
|
1373
1373
|
}): string;
|
|
1374
|
-
declare const VERSION = "1.2.
|
|
1374
|
+
declare const VERSION = "1.2.5";
|
|
1375
1375
|
type instructionBase = {
|
|
1376
1376
|
id: string;
|
|
1377
1377
|
title: string;
|
package/dist/index.js
CHANGED
|
@@ -483,6 +483,246 @@ var init_locales = __esm({
|
|
|
483
483
|
}
|
|
484
484
|
});
|
|
485
485
|
|
|
486
|
+
// utils/siteConfig.ts
|
|
487
|
+
function detectSiteMode(hostname) {
|
|
488
|
+
const host = hostname || (typeof window !== "undefined" ? window.location.hostname : "");
|
|
489
|
+
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryDev") {
|
|
490
|
+
return "chrryDev";
|
|
491
|
+
}
|
|
492
|
+
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryAI") {
|
|
493
|
+
return "chrryAI";
|
|
494
|
+
}
|
|
495
|
+
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryStore") {
|
|
496
|
+
return "chrryStore";
|
|
497
|
+
}
|
|
498
|
+
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryVex") {
|
|
499
|
+
return "chrryVex";
|
|
500
|
+
}
|
|
501
|
+
if (host.includes("vex.chrry.ai")) {
|
|
502
|
+
return "chrryVex";
|
|
503
|
+
}
|
|
504
|
+
if (host.includes("chrry.dev")) {
|
|
505
|
+
return "chrryDev";
|
|
506
|
+
}
|
|
507
|
+
if (host.includes("chrryAI.dev")) {
|
|
508
|
+
return "chrryAI";
|
|
509
|
+
}
|
|
510
|
+
return "vex";
|
|
511
|
+
}
|
|
512
|
+
function getSiteConfig(m) {
|
|
513
|
+
const mode = m || detectSiteMode();
|
|
514
|
+
if (mode === "chrryDev") {
|
|
515
|
+
return {
|
|
516
|
+
mode: "chrryDev",
|
|
517
|
+
slug: "chrryDev",
|
|
518
|
+
storeSlug: "chrry",
|
|
519
|
+
name: "Chrry",
|
|
520
|
+
domain: "chrry.dev",
|
|
521
|
+
url: "https://chrry.dev",
|
|
522
|
+
email: "iliyan@chrry.ai",
|
|
523
|
+
description: "A modern, cross-platform UI library for React, React Native, and Next.js",
|
|
524
|
+
logo: "/assets/cherry-logo.svg",
|
|
525
|
+
// Cross-platform SVG
|
|
526
|
+
primaryColor: "#E91E63",
|
|
527
|
+
// Cherry pink
|
|
528
|
+
links: {
|
|
529
|
+
github: "https://github.com/AskVex/chrry",
|
|
530
|
+
npm: "https://www.npmjs.com/package/@chrryai/chrry",
|
|
531
|
+
docs: "https://chrry.dev/docs",
|
|
532
|
+
demo: "https://chrry.dev/demo"
|
|
533
|
+
},
|
|
534
|
+
features: [
|
|
535
|
+
{
|
|
536
|
+
title: "Pepper",
|
|
537
|
+
description: "Universal router with view transitions",
|
|
538
|
+
icon: "\u{1F336}\uFE0F",
|
|
539
|
+
link: "https://npmjs.com/package/@chrryai/pepper",
|
|
540
|
+
isOpenSource: true
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
title: "Components",
|
|
544
|
+
description: "50+ production-ready UI components",
|
|
545
|
+
icon: "\u{1F3A8}",
|
|
546
|
+
link: "https://github.com/AskVex/chrry",
|
|
547
|
+
isOpenSource: true
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
title: "Icons",
|
|
551
|
+
description: "Cross-platform icon system with Lucide",
|
|
552
|
+
icon: "\u2728",
|
|
553
|
+
link: "https://github.com/AskVex/chrry/tree/main/icons",
|
|
554
|
+
isOpenSource: true
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
title: "Styles",
|
|
558
|
+
description: "SCSS to TypeScript converter",
|
|
559
|
+
icon: "\u{1F3AD}",
|
|
560
|
+
link: "https://github.com/AskVex/chrry/tree/main/styles",
|
|
561
|
+
isOpenSource: true
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
title: "Hooks",
|
|
565
|
+
description: "Reusable React hooks",
|
|
566
|
+
icon: "\u{1FA9D}",
|
|
567
|
+
link: "https://github.com/AskVex/chrry/tree/main/hooks",
|
|
568
|
+
isOpenSource: true
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
title: "Context",
|
|
572
|
+
description: "State management providers",
|
|
573
|
+
icon: "\u{1F504}",
|
|
574
|
+
link: "https://github.com/AskVex/chrry/tree/main/context",
|
|
575
|
+
isOpenSource: true
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
title: "Platform",
|
|
579
|
+
description: "Cross-platform utilities",
|
|
580
|
+
icon: "\u{1F4F1}",
|
|
581
|
+
link: "https://github.com/AskVex/chrry/tree/main/platform",
|
|
582
|
+
isOpenSource: true
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
title: "Waffles",
|
|
586
|
+
description: "Playwright testing utilities",
|
|
587
|
+
icon: "\u{1F9C7}",
|
|
588
|
+
link: "https://npmjs.com/package/@chrryai/waffles",
|
|
589
|
+
isOpenSource: true
|
|
590
|
+
}
|
|
591
|
+
]
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
if (mode === "chrryAI") {
|
|
595
|
+
return {
|
|
596
|
+
slug: "chrry",
|
|
597
|
+
storeSlug: "chrry",
|
|
598
|
+
mode: "chrryAI",
|
|
599
|
+
name: "Chrry",
|
|
600
|
+
domain: "chrry.ai",
|
|
601
|
+
email: "iliyan@chrry.ai",
|
|
602
|
+
url: "https://chrry.ai",
|
|
603
|
+
description: "AI App Marketplace - Discover, create, and monetize AI apps",
|
|
604
|
+
logo: "\u{1F352}",
|
|
605
|
+
primaryColor: "#E91E63",
|
|
606
|
+
// Cherry pink
|
|
607
|
+
links: {
|
|
608
|
+
github: "https://github.com/AskVex/chrry",
|
|
609
|
+
docs: "https://chrry.ai/docs"
|
|
610
|
+
// store: "https://chrry.store",
|
|
611
|
+
},
|
|
612
|
+
features: [
|
|
613
|
+
{
|
|
614
|
+
title: "App Marketplace",
|
|
615
|
+
description: "Discover and install AI apps",
|
|
616
|
+
icon: "\u{1F3EA}",
|
|
617
|
+
link: "/explore",
|
|
618
|
+
isOpenSource: false
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
title: "Create Stores",
|
|
622
|
+
description: "Build your own AI app marketplace",
|
|
623
|
+
icon: "\u{1F3D7}\uFE0F",
|
|
624
|
+
link: "/stores/new",
|
|
625
|
+
isOpenSource: false
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
title: "Publish Apps",
|
|
629
|
+
description: "Monetize your AI applications",
|
|
630
|
+
icon: "\u{1F4F1}",
|
|
631
|
+
link: "/apps/new",
|
|
632
|
+
isOpenSource: false
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
title: "Revenue Sharing",
|
|
636
|
+
description: "Earn 70% on every sale",
|
|
637
|
+
icon: "\u{1F4B0}",
|
|
638
|
+
link: "/affiliate",
|
|
639
|
+
isOpenSource: false
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
title: "Custom Domains",
|
|
643
|
+
description: "White-label your store",
|
|
644
|
+
icon: "\u{1F310}",
|
|
645
|
+
link: "/settings/domain",
|
|
646
|
+
isOpenSource: false
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
title: "Analytics",
|
|
650
|
+
description: "Track your app performance",
|
|
651
|
+
icon: "\u{1F4CA}",
|
|
652
|
+
link: "/analytics",
|
|
653
|
+
isOpenSource: false
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
title: "Multi-Agent Support",
|
|
657
|
+
description: "Build for any AI platform",
|
|
658
|
+
icon: "\u{1F916}",
|
|
659
|
+
link: "/docs/agents",
|
|
660
|
+
isOpenSource: false
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
title: "Developer Tools",
|
|
664
|
+
description: "APIs and SDKs for developers",
|
|
665
|
+
icon: "\u{1F6E0}\uFE0F",
|
|
666
|
+
link: "/docs/api",
|
|
667
|
+
isOpenSource: false
|
|
668
|
+
}
|
|
669
|
+
]
|
|
670
|
+
};
|
|
671
|
+
}
|
|
672
|
+
return {
|
|
673
|
+
url: "https://vex.chrry.ai",
|
|
674
|
+
mode: "vex",
|
|
675
|
+
slug: "vex",
|
|
676
|
+
storeSlug: "lifeOS",
|
|
677
|
+
name: "Vex",
|
|
678
|
+
domain: "vex.chrry.ai",
|
|
679
|
+
email: "iliyan@chrry.ai",
|
|
680
|
+
description: "Your AI-Powered Life",
|
|
681
|
+
logo: "\u{1F916}",
|
|
682
|
+
primaryColor: "#6366F1",
|
|
683
|
+
// Indigo
|
|
684
|
+
links: {
|
|
685
|
+
github: "https://github.com/chrryai/chrry",
|
|
686
|
+
docs: "https://vex.chrry.ai/docs"
|
|
687
|
+
},
|
|
688
|
+
features: [
|
|
689
|
+
{
|
|
690
|
+
title: "LifeOS",
|
|
691
|
+
description: "AI-powered life management system",
|
|
692
|
+
icon: "\u{1F9E0}",
|
|
693
|
+
link: "/lifeOS",
|
|
694
|
+
isOpenSource: false
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
title: "AI Agents",
|
|
698
|
+
description: "Custom AI agents for any task",
|
|
699
|
+
icon: "\u{1F916}",
|
|
700
|
+
link: "/lifeOS",
|
|
701
|
+
isOpenSource: false
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
title: "Collaboration",
|
|
705
|
+
description: "Real-time AI collaboration",
|
|
706
|
+
icon: "\u{1F465}",
|
|
707
|
+
link: "/threads",
|
|
708
|
+
isOpenSource: false
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
title: "Browser Extension",
|
|
712
|
+
description: "AI assistant in your browser",
|
|
713
|
+
icon: "\u{1F50C}",
|
|
714
|
+
link: "https://chrome.google.com/webstore",
|
|
715
|
+
isOpenSource: false
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
var init_siteConfig = __esm({
|
|
721
|
+
"utils/siteConfig.ts"() {
|
|
722
|
+
"use strict";
|
|
723
|
+
}
|
|
724
|
+
});
|
|
725
|
+
|
|
486
726
|
// utils/getHourlyLimit.ts
|
|
487
727
|
var getHourlyLimit;
|
|
488
728
|
var init_getHourlyLimit = __esm({
|
|
@@ -642,6 +882,7 @@ var init_utils = __esm({
|
|
|
642
882
|
init_getExampleInstructions();
|
|
643
883
|
init_getWeatherCacheTime();
|
|
644
884
|
init_locales();
|
|
885
|
+
init_siteConfig();
|
|
645
886
|
init_getHourlyLimit();
|
|
646
887
|
init_generateAppMetadata();
|
|
647
888
|
checkIsExtension = () => {
|
|
@@ -846,11 +1087,15 @@ var init_utils = __esm({
|
|
|
846
1087
|
window.history.replaceState({}, "", newUrl);
|
|
847
1088
|
};
|
|
848
1089
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
|
|
849
|
-
VERSION = "1.2.
|
|
850
|
-
getSlugFromPathname = (path, defaultValues
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
1090
|
+
VERSION = "1.2.5";
|
|
1091
|
+
getSlugFromPathname = (path, defaultValues) => {
|
|
1092
|
+
const siteConfig = getSiteConfig();
|
|
1093
|
+
if (!defaultValues) {
|
|
1094
|
+
defaultValues = {
|
|
1095
|
+
appSlug: siteConfig.slug,
|
|
1096
|
+
storeSlug: siteConfig.storeSlug
|
|
1097
|
+
};
|
|
1098
|
+
}
|
|
854
1099
|
if (path === "/") return defaultValues;
|
|
855
1100
|
const segments = path.split("/").filter(Boolean);
|
|
856
1101
|
if (segments.length === 0) return defaultValues;
|
|
@@ -17044,240 +17289,6 @@ var init_i18n = __esm({
|
|
|
17044
17289
|
}
|
|
17045
17290
|
});
|
|
17046
17291
|
|
|
17047
|
-
// utils/siteConfig.ts
|
|
17048
|
-
function detectSiteMode(hostname) {
|
|
17049
|
-
const host = hostname || (typeof window !== "undefined" ? window.location.hostname : "");
|
|
17050
|
-
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryDev") {
|
|
17051
|
-
return "chrryDev";
|
|
17052
|
-
}
|
|
17053
|
-
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryAI") {
|
|
17054
|
-
return "chrryAI";
|
|
17055
|
-
}
|
|
17056
|
-
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryStore") {
|
|
17057
|
-
return "chrryStore";
|
|
17058
|
-
}
|
|
17059
|
-
if (process.env.NEXT_PUBLIC_SITE_MODE === "chrryVex") {
|
|
17060
|
-
return "chrryVex";
|
|
17061
|
-
}
|
|
17062
|
-
if (host.includes("vex.chrry.ai")) {
|
|
17063
|
-
return "chrryVex";
|
|
17064
|
-
}
|
|
17065
|
-
if (host.includes("chrry.dev")) {
|
|
17066
|
-
return "chrryDev";
|
|
17067
|
-
}
|
|
17068
|
-
if (host.includes("chrryAI.dev")) {
|
|
17069
|
-
return "chrryAI";
|
|
17070
|
-
}
|
|
17071
|
-
return "vex";
|
|
17072
|
-
}
|
|
17073
|
-
function getSiteConfig(m) {
|
|
17074
|
-
const mode = m || detectSiteMode();
|
|
17075
|
-
if (mode === "chrryDev") {
|
|
17076
|
-
return {
|
|
17077
|
-
mode: "chrryDev",
|
|
17078
|
-
name: "Chrry",
|
|
17079
|
-
domain: "chrry.dev",
|
|
17080
|
-
url: "https://chrry.dev",
|
|
17081
|
-
email: "iliyan@chrry.ai",
|
|
17082
|
-
description: "A modern, cross-platform UI library for React, React Native, and Next.js",
|
|
17083
|
-
logo: "/assets/cherry-logo.svg",
|
|
17084
|
-
// Cross-platform SVG
|
|
17085
|
-
primaryColor: "#E91E63",
|
|
17086
|
-
// Cherry pink
|
|
17087
|
-
links: {
|
|
17088
|
-
github: "https://github.com/AskVex/chrry",
|
|
17089
|
-
npm: "https://www.npmjs.com/package/@chrryai/chrry",
|
|
17090
|
-
docs: "https://chrry.dev/docs",
|
|
17091
|
-
demo: "https://chrry.dev/demo"
|
|
17092
|
-
},
|
|
17093
|
-
features: [
|
|
17094
|
-
{
|
|
17095
|
-
title: "Pepper",
|
|
17096
|
-
description: "Universal router with view transitions",
|
|
17097
|
-
icon: "\u{1F336}\uFE0F",
|
|
17098
|
-
link: "https://npmjs.com/package/@chrryai/pepper",
|
|
17099
|
-
isOpenSource: true
|
|
17100
|
-
},
|
|
17101
|
-
{
|
|
17102
|
-
title: "Components",
|
|
17103
|
-
description: "50+ production-ready UI components",
|
|
17104
|
-
icon: "\u{1F3A8}",
|
|
17105
|
-
link: "https://github.com/AskVex/chrry",
|
|
17106
|
-
isOpenSource: true
|
|
17107
|
-
},
|
|
17108
|
-
{
|
|
17109
|
-
title: "Icons",
|
|
17110
|
-
description: "Cross-platform icon system with Lucide",
|
|
17111
|
-
icon: "\u2728",
|
|
17112
|
-
link: "https://github.com/AskVex/chrry/tree/main/icons",
|
|
17113
|
-
isOpenSource: true
|
|
17114
|
-
},
|
|
17115
|
-
{
|
|
17116
|
-
title: "Styles",
|
|
17117
|
-
description: "SCSS to TypeScript converter",
|
|
17118
|
-
icon: "\u{1F3AD}",
|
|
17119
|
-
link: "https://github.com/AskVex/chrry/tree/main/styles",
|
|
17120
|
-
isOpenSource: true
|
|
17121
|
-
},
|
|
17122
|
-
{
|
|
17123
|
-
title: "Hooks",
|
|
17124
|
-
description: "Reusable React hooks",
|
|
17125
|
-
icon: "\u{1FA9D}",
|
|
17126
|
-
link: "https://github.com/AskVex/chrry/tree/main/hooks",
|
|
17127
|
-
isOpenSource: true
|
|
17128
|
-
},
|
|
17129
|
-
{
|
|
17130
|
-
title: "Context",
|
|
17131
|
-
description: "State management providers",
|
|
17132
|
-
icon: "\u{1F504}",
|
|
17133
|
-
link: "https://github.com/AskVex/chrry/tree/main/context",
|
|
17134
|
-
isOpenSource: true
|
|
17135
|
-
},
|
|
17136
|
-
{
|
|
17137
|
-
title: "Platform",
|
|
17138
|
-
description: "Cross-platform utilities",
|
|
17139
|
-
icon: "\u{1F4F1}",
|
|
17140
|
-
link: "https://github.com/AskVex/chrry/tree/main/platform",
|
|
17141
|
-
isOpenSource: true
|
|
17142
|
-
},
|
|
17143
|
-
{
|
|
17144
|
-
title: "Waffles",
|
|
17145
|
-
description: "Playwright testing utilities",
|
|
17146
|
-
icon: "\u{1F9C7}",
|
|
17147
|
-
link: "https://npmjs.com/package/@chrryai/waffles",
|
|
17148
|
-
isOpenSource: true
|
|
17149
|
-
}
|
|
17150
|
-
]
|
|
17151
|
-
};
|
|
17152
|
-
}
|
|
17153
|
-
if (mode === "chrryAI") {
|
|
17154
|
-
return {
|
|
17155
|
-
mode: "chrryAI",
|
|
17156
|
-
name: "Chrry",
|
|
17157
|
-
domain: "chrry.ai",
|
|
17158
|
-
email: "iliyan@chrry.ai",
|
|
17159
|
-
url: "https://chrry.ai",
|
|
17160
|
-
description: "AI App Marketplace - Discover, create, and monetize AI apps",
|
|
17161
|
-
logo: "\u{1F352}",
|
|
17162
|
-
primaryColor: "#E91E63",
|
|
17163
|
-
// Cherry pink
|
|
17164
|
-
links: {
|
|
17165
|
-
github: "https://github.com/AskVex/chrry",
|
|
17166
|
-
docs: "https://chrry.ai/docs"
|
|
17167
|
-
// store: "https://chrry.store",
|
|
17168
|
-
},
|
|
17169
|
-
features: [
|
|
17170
|
-
{
|
|
17171
|
-
title: "App Marketplace",
|
|
17172
|
-
description: "Discover and install AI apps",
|
|
17173
|
-
icon: "\u{1F3EA}",
|
|
17174
|
-
link: "/explore",
|
|
17175
|
-
isOpenSource: false
|
|
17176
|
-
},
|
|
17177
|
-
{
|
|
17178
|
-
title: "Create Stores",
|
|
17179
|
-
description: "Build your own AI app marketplace",
|
|
17180
|
-
icon: "\u{1F3D7}\uFE0F",
|
|
17181
|
-
link: "/stores/new",
|
|
17182
|
-
isOpenSource: false
|
|
17183
|
-
},
|
|
17184
|
-
{
|
|
17185
|
-
title: "Publish Apps",
|
|
17186
|
-
description: "Monetize your AI applications",
|
|
17187
|
-
icon: "\u{1F4F1}",
|
|
17188
|
-
link: "/apps/new",
|
|
17189
|
-
isOpenSource: false
|
|
17190
|
-
},
|
|
17191
|
-
{
|
|
17192
|
-
title: "Revenue Sharing",
|
|
17193
|
-
description: "Earn 70% on every sale",
|
|
17194
|
-
icon: "\u{1F4B0}",
|
|
17195
|
-
link: "/affiliate",
|
|
17196
|
-
isOpenSource: false
|
|
17197
|
-
},
|
|
17198
|
-
{
|
|
17199
|
-
title: "Custom Domains",
|
|
17200
|
-
description: "White-label your store",
|
|
17201
|
-
icon: "\u{1F310}",
|
|
17202
|
-
link: "/settings/domain",
|
|
17203
|
-
isOpenSource: false
|
|
17204
|
-
},
|
|
17205
|
-
{
|
|
17206
|
-
title: "Analytics",
|
|
17207
|
-
description: "Track your app performance",
|
|
17208
|
-
icon: "\u{1F4CA}",
|
|
17209
|
-
link: "/analytics",
|
|
17210
|
-
isOpenSource: false
|
|
17211
|
-
},
|
|
17212
|
-
{
|
|
17213
|
-
title: "Multi-Agent Support",
|
|
17214
|
-
description: "Build for any AI platform",
|
|
17215
|
-
icon: "\u{1F916}",
|
|
17216
|
-
link: "/docs/agents",
|
|
17217
|
-
isOpenSource: false
|
|
17218
|
-
},
|
|
17219
|
-
{
|
|
17220
|
-
title: "Developer Tools",
|
|
17221
|
-
description: "APIs and SDKs for developers",
|
|
17222
|
-
icon: "\u{1F6E0}\uFE0F",
|
|
17223
|
-
link: "/docs/api",
|
|
17224
|
-
isOpenSource: false
|
|
17225
|
-
}
|
|
17226
|
-
]
|
|
17227
|
-
};
|
|
17228
|
-
}
|
|
17229
|
-
return {
|
|
17230
|
-
url: "https://vex.chrry.ai",
|
|
17231
|
-
mode: "vex",
|
|
17232
|
-
name: "Vex",
|
|
17233
|
-
domain: "vex.chrry.ai",
|
|
17234
|
-
email: "iliyan@chrry.ai",
|
|
17235
|
-
description: "Your AI-Powered Life",
|
|
17236
|
-
logo: "\u{1F916}",
|
|
17237
|
-
primaryColor: "#6366F1",
|
|
17238
|
-
// Indigo
|
|
17239
|
-
links: {
|
|
17240
|
-
github: "https://github.com/chrryai/chrry",
|
|
17241
|
-
docs: "https://vex.chrry.ai/docs"
|
|
17242
|
-
},
|
|
17243
|
-
features: [
|
|
17244
|
-
{
|
|
17245
|
-
title: "LifeOS",
|
|
17246
|
-
description: "AI-powered life management system",
|
|
17247
|
-
icon: "\u{1F9E0}",
|
|
17248
|
-
link: "/lifeOS",
|
|
17249
|
-
isOpenSource: false
|
|
17250
|
-
},
|
|
17251
|
-
{
|
|
17252
|
-
title: "AI Agents",
|
|
17253
|
-
description: "Custom AI agents for any task",
|
|
17254
|
-
icon: "\u{1F916}",
|
|
17255
|
-
link: "/lifeOS",
|
|
17256
|
-
isOpenSource: false
|
|
17257
|
-
},
|
|
17258
|
-
{
|
|
17259
|
-
title: "Collaboration",
|
|
17260
|
-
description: "Real-time AI collaboration",
|
|
17261
|
-
icon: "\u{1F465}",
|
|
17262
|
-
link: "/threads",
|
|
17263
|
-
isOpenSource: false
|
|
17264
|
-
},
|
|
17265
|
-
{
|
|
17266
|
-
title: "Browser Extension",
|
|
17267
|
-
description: "AI assistant in your browser",
|
|
17268
|
-
icon: "\u{1F50C}",
|
|
17269
|
-
link: "https://chrome.google.com/webstore",
|
|
17270
|
-
isOpenSource: false
|
|
17271
|
-
}
|
|
17272
|
-
]
|
|
17273
|
-
};
|
|
17274
|
-
}
|
|
17275
|
-
var init_siteConfig = __esm({
|
|
17276
|
-
"utils/siteConfig.ts"() {
|
|
17277
|
-
"use strict";
|
|
17278
|
-
}
|
|
17279
|
-
});
|
|
17280
|
-
|
|
17281
17292
|
// context/providers/AuthProvider.tsx
|
|
17282
17293
|
function AuthProvider({
|
|
17283
17294
|
apiKey,
|
|
@@ -17667,6 +17678,7 @@ function AuthProvider({
|
|
|
17667
17678
|
);
|
|
17668
17679
|
const chrry = allApps?.find((app2) => !app2.store?.parentStoreId);
|
|
17669
17680
|
const getAlterNativeDomains = (store2) => {
|
|
17681
|
+
console.log(`\u{1F680} ~ file: AuthProvider.tsx:762 ~ store:`, store2.domain);
|
|
17670
17682
|
if (store2?.domain === "https://askvex.com" || store2?.domain === "https://vex.chrry.ai") {
|
|
17671
17683
|
return ["https://vex.chrry.ai", "https://askvex.com"];
|
|
17672
17684
|
}
|
|
@@ -17675,12 +17687,10 @@ function AuthProvider({
|
|
|
17675
17687
|
const baseApp = allApps?.find((item) => {
|
|
17676
17688
|
if (item.id !== item.store?.appId) return false;
|
|
17677
17689
|
if (!item?.store?.domain) return false;
|
|
17678
|
-
|
|
17679
|
-
return true;
|
|
17680
|
-
}
|
|
17681
|
-
return getAlterNativeDomains(item.store).includes(chrryUrl2);
|
|
17690
|
+
return getAlterNativeDomains(item.store).includes(chrryUrl2) || item.store.domain === chrryUrl2;
|
|
17682
17691
|
});
|
|
17683
17692
|
const [app, setAppInternal] = (0, import_react14.useState)(baseApp || session2?.app);
|
|
17693
|
+
console.log(`\u{1F680} ~ file: AuthProvider.tsx:775 ~ baseApp:`, baseApp, app);
|
|
17684
17694
|
const [apps, setApps] = (0, import_react14.useState)(store?.apps || []);
|
|
17685
17695
|
(0, import_react14.useEffect)(() => {
|
|
17686
17696
|
if (app?.store?.apps && app?.store?.apps.length) {
|
|
@@ -18076,7 +18086,7 @@ function DataProvider({
|
|
|
18076
18086
|
const [instructions, setInstructions] = (0, import_react16.useState)([]);
|
|
18077
18087
|
const [affiliateStats, setAffiliateStats] = (0, import_react16.useState)(null);
|
|
18078
18088
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react16.useState)(false);
|
|
18079
|
-
const VERSION3 = "1.2.
|
|
18089
|
+
const VERSION3 = "1.2.5";
|
|
18080
18090
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
18081
18091
|
const {
|
|
18082
18092
|
API_URL: API_URL2,
|
|
@@ -39031,8 +39041,23 @@ __export(ChrryDotDev_exports, {
|
|
|
39031
39041
|
function Chrry() {
|
|
39032
39042
|
const config = getSiteConfig("chrryDev");
|
|
39033
39043
|
const isChrry = config.mode === "chrryDev";
|
|
39034
|
-
|
|
39035
|
-
|
|
39044
|
+
return /* @__PURE__ */ import_react87.default.createElement("div", { className: import_Chrry_module.default.container }, /* @__PURE__ */ import_react87.default.createElement("div", { className: import_Chrry_module.default.header }, /* @__PURE__ */ import_react87.default.createElement("div", { className: import_Chrry_module.default.vex }, /* @__PURE__ */ import_react87.default.createElement("span", null, "Built by "), /* @__PURE__ */ import_react87.default.createElement("a", { href: "https://vex.chrry.ai" }, /* @__PURE__ */ import_react87.default.createElement(
|
|
39045
|
+
"img",
|
|
39046
|
+
{
|
|
39047
|
+
alt: "Vex",
|
|
39048
|
+
src: "https://vex.chrry.ai/icons/icon-128-v.png",
|
|
39049
|
+
width: 24,
|
|
39050
|
+
height: 24
|
|
39051
|
+
}
|
|
39052
|
+
), "Vex"), /* @__PURE__ */ import_react87.default.createElement("p", null, /* @__PURE__ */ import_react87.default.createElement("code", null, "npm install @chrryai/chrry"))), /* @__PURE__ */ import_react87.default.createElement("div", { className: import_Chrry_module.default.logo }, /* @__PURE__ */ import_react87.default.createElement(
|
|
39053
|
+
"img",
|
|
39054
|
+
{
|
|
39055
|
+
alt: "Chrry",
|
|
39056
|
+
src: "https://vex.chrry.ai/logo/cherry-500.png",
|
|
39057
|
+
width: 250,
|
|
39058
|
+
height: 250
|
|
39059
|
+
}
|
|
39060
|
+
), /* @__PURE__ */ import_react87.default.createElement("h1", null, "Chrry")), /* @__PURE__ */ import_react87.default.createElement("p", { className: import_Chrry_module.default.description }, config.description), isChrry && config.links && /* @__PURE__ */ import_react87.default.createElement("div", { className: import_Chrry_module.default.links }, config.links.github && /* @__PURE__ */ import_react87.default.createElement(
|
|
39036
39061
|
"a",
|
|
39037
39062
|
{
|
|
39038
39063
|
href: config.links.github,
|
|
@@ -39075,10 +39100,7 @@ var init_ChrryDotDev = __esm({
|
|
|
39075
39100
|
import_react87 = __toESM(require("react"));
|
|
39076
39101
|
init_siteConfig();
|
|
39077
39102
|
init_icons();
|
|
39078
|
-
init_Image();
|
|
39079
39103
|
import_Chrry_module = __toESM(require("./Chrry.module-SLPTRY52.scss"));
|
|
39080
|
-
init_providers();
|
|
39081
|
-
init_A();
|
|
39082
39104
|
}
|
|
39083
39105
|
});
|
|
39084
39106
|
|