UI Enhancements
Browse files- app/components/settings/debug/DebugTab.tsx +511 -377
- app/components/ui/Badge.tsx +33 -0
- app/components/ui/Collapsible.tsx +10 -0
- app/components/ui/Progress.tsx +22 -0
- app/components/ui/ScrollArea.tsx +39 -0
- app/lib/utils.ts +6 -0
- package.json +5 -2
- pnpm-lock.yaml +139 -30
app/components/settings/debug/DebugTab.tsx
CHANGED
@@ -3,6 +3,11 @@ import { toast } from 'react-toastify';
|
|
3 |
import { classNames } from '~/utils/classNames';
|
4 |
import { logStore } from '~/lib/stores/logs';
|
5 |
import type { LogEntry } from '~/lib/stores/logs';
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
interface SystemInfo {
|
8 |
os: string;
|
@@ -124,18 +129,11 @@ interface WebAppInfo {
|
|
124 |
};
|
125 |
}
|
126 |
|
127 |
-
interface
|
128 |
-
|
129 |
-
commit: string;
|
130 |
-
commitTime: string;
|
131 |
-
author: string;
|
132 |
-
remoteUrl: string;
|
133 |
-
}
|
134 |
-
|
135 |
-
interface RepoData {
|
136 |
name: string;
|
137 |
full_name: string;
|
138 |
-
description: string;
|
139 |
stargazers_count: number;
|
140 |
forks_count: number;
|
141 |
open_issues_count: number;
|
@@ -147,14 +145,13 @@ interface RepoData {
|
|
147 |
};
|
148 |
}
|
149 |
|
150 |
-
interface
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
devDependencies: { [key: string]: string };
|
158 |
}
|
159 |
|
160 |
export default function DebugTab() {
|
@@ -174,6 +171,14 @@ export default function DebugTab() {
|
|
174 |
lastCheck: null,
|
175 |
});
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
// Fetch initial data
|
178 |
useEffect(() => {
|
179 |
getSystemInfo();
|
@@ -368,13 +373,11 @@ export default function DebugTab() {
|
|
368 |
if (!appInfoResponse.ok) {
|
369 |
throw new Error('Failed to fetch webapp info');
|
370 |
}
|
371 |
-
|
372 |
-
const appData = (await appInfoResponse.json()) as AppData;
|
373 |
|
374 |
// Fetch git info
|
375 |
const gitInfoResponse = await fetch('/api/system/git-info');
|
376 |
let gitInfo: GitInfo | undefined;
|
377 |
-
|
378 |
if (gitInfoResponse.ok) {
|
379 |
gitInfo = (await gitInfoResponse.json()) as GitInfo;
|
380 |
}
|
@@ -382,13 +385,12 @@ export default function DebugTab() {
|
|
382 |
// Fetch GitHub repository info
|
383 |
const repoInfoResponse = await fetch('https://api.github.com/repos/stackblitz-labs/bolt.diy');
|
384 |
let repoInfo: WebAppInfo['repoInfo'] | undefined;
|
385 |
-
|
386 |
if (repoInfoResponse.ok) {
|
387 |
-
const repoData = (await repoInfoResponse.json()) as
|
388 |
repoInfo = {
|
389 |
name: repoData.name,
|
390 |
fullName: repoData.full_name,
|
391 |
-
description: repoData.description,
|
392 |
stars: repoData.stargazers_count,
|
393 |
forks: repoData.forks_count,
|
394 |
openIssues: repoData.open_issues_count,
|
@@ -409,7 +411,13 @@ export default function DebugTab() {
|
|
409 |
};
|
410 |
|
411 |
setWebAppInfo({
|
412 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
...buildInfo,
|
414 |
gitInfo,
|
415 |
repoInfo,
|
@@ -587,7 +595,44 @@ export default function DebugTab() {
|
|
587 |
};
|
588 |
|
589 |
return (
|
590 |
-
<div className="flex flex-col gap-6">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
591 |
{/* Action Buttons */}
|
592 |
<div className="flex flex-wrap gap-4">
|
593 |
<button
|
@@ -598,7 +643,7 @@ export default function DebugTab() {
|
|
598 |
'bg-[#F5F5F5] hover:bg-purple-500/10 hover:text-purple-500',
|
599 |
'dark:bg-[#1A1A1A] dark:hover:bg-purple-500/20',
|
600 |
'text-bolt-elements-textPrimary dark:hover:text-purple-500',
|
601 |
-
'focus:outline-none focus:ring-2 focus:ring-
|
602 |
{ 'opacity-50 cursor-not-allowed': loading.systemInfo },
|
603 |
)}
|
604 |
>
|
@@ -686,385 +731,474 @@ export default function DebugTab() {
|
|
686 |
</div>
|
687 |
|
688 |
{/* System Information */}
|
689 |
-
<
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
<div className="
|
696 |
-
<div className="
|
697 |
-
<div className="text-
|
698 |
-
|
699 |
-
<span className="text-bolt-elements-textSecondary">OS: </span>
|
700 |
-
<span className="text-bolt-elements-textPrimary">{systemInfo.os}</span>
|
701 |
-
</div>
|
702 |
-
<div className="text-sm flex items-center gap-2">
|
703 |
-
<div className="i-ph:device-mobile text-bolt-elements-textSecondary w-4 h-4" />
|
704 |
-
<span className="text-bolt-elements-textSecondary">Platform: </span>
|
705 |
-
<span className="text-bolt-elements-textPrimary">{systemInfo.platform}</span>
|
706 |
-
</div>
|
707 |
-
<div className="text-sm flex items-center gap-2">
|
708 |
-
<div className="i-ph:microchip text-bolt-elements-textSecondary w-4 h-4" />
|
709 |
-
<span className="text-bolt-elements-textSecondary">Architecture: </span>
|
710 |
-
<span className="text-bolt-elements-textPrimary">{systemInfo.arch}</span>
|
711 |
-
</div>
|
712 |
-
<div className="text-sm flex items-center gap-2">
|
713 |
-
<div className="i-ph:cpu text-bolt-elements-textSecondary w-4 h-4" />
|
714 |
-
<span className="text-bolt-elements-textSecondary">CPU Cores: </span>
|
715 |
-
<span className="text-bolt-elements-textPrimary">{systemInfo.cpus}</span>
|
716 |
-
</div>
|
717 |
-
<div className="text-sm flex items-center gap-2">
|
718 |
-
<div className="i-ph:node text-bolt-elements-textSecondary w-4 h-4" />
|
719 |
-
<span className="text-bolt-elements-textSecondary">Node Version: </span>
|
720 |
-
<span className="text-bolt-elements-textPrimary">{systemInfo.node}</span>
|
721 |
-
</div>
|
722 |
-
<div className="text-sm flex items-center gap-2">
|
723 |
-
<div className="i-ph:wifi-high text-bolt-elements-textSecondary w-4 h-4" />
|
724 |
-
<span className="text-bolt-elements-textSecondary">Network Type: </span>
|
725 |
-
<span className="text-bolt-elements-textPrimary">
|
726 |
-
{systemInfo.network.type} ({systemInfo.network.effectiveType})
|
727 |
-
</span>
|
728 |
-
</div>
|
729 |
-
<div className="text-sm flex items-center gap-2">
|
730 |
-
<div className="i-ph:gauge text-bolt-elements-textSecondary w-4 h-4" />
|
731 |
-
<span className="text-bolt-elements-textSecondary">Network Speed: </span>
|
732 |
-
<span className="text-bolt-elements-textPrimary">
|
733 |
-
{systemInfo.network.downlink}Mbps (RTT: {systemInfo.network.rtt}ms)
|
734 |
-
</span>
|
735 |
-
</div>
|
736 |
-
{systemInfo.battery && (
|
737 |
-
<div className="text-sm flex items-center gap-2">
|
738 |
-
<div className="i-ph:battery-charging text-bolt-elements-textSecondary w-4 h-4" />
|
739 |
-
<span className="text-bolt-elements-textSecondary">Battery: </span>
|
740 |
-
<span className="text-bolt-elements-textPrimary">
|
741 |
-
{systemInfo.battery.level.toFixed(1)}% {systemInfo.battery.charging ? '(Charging)' : ''}
|
742 |
-
</span>
|
743 |
-
</div>
|
744 |
-
)}
|
745 |
-
<div className="text-sm flex items-center gap-2">
|
746 |
-
<div className="i-ph:hard-drive text-bolt-elements-textSecondary w-4 h-4" />
|
747 |
-
<span className="text-bolt-elements-textSecondary">Storage: </span>
|
748 |
-
<span className="text-bolt-elements-textPrimary">
|
749 |
-
{(systemInfo.storage.usage / (1024 * 1024 * 1024)).toFixed(2)}GB /{' '}
|
750 |
-
{(systemInfo.storage.quota / (1024 * 1024 * 1024)).toFixed(2)}GB
|
751 |
-
</span>
|
752 |
-
</div>
|
753 |
</div>
|
754 |
-
<div
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
808 |
</div>
|
809 |
-
|
|
|
|
|
810 |
</div>
|
811 |
-
|
812 |
-
|
813 |
-
)}
|
814 |
-
</div>
|
815 |
|
816 |
{/* Performance Metrics */}
|
817 |
-
<
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
<div className="
|
824 |
-
<div className="
|
825 |
-
<div className="text-
|
826 |
-
|
827 |
-
<span className="text-bolt-elements-textPrimary">
|
828 |
-
{(systemInfo.performance.timing.loadTime / 1000).toFixed(2)}s
|
829 |
-
</span>
|
830 |
-
</div>
|
831 |
-
<div className="text-sm">
|
832 |
-
<span className="text-bolt-elements-textSecondary">DOM Ready Time: </span>
|
833 |
-
<span className="text-bolt-elements-textPrimary">
|
834 |
-
{(systemInfo.performance.timing.domReadyTime / 1000).toFixed(2)}s
|
835 |
-
</span>
|
836 |
-
</div>
|
837 |
-
<div className="text-sm">
|
838 |
-
<span className="text-bolt-elements-textSecondary">Request Time: </span>
|
839 |
-
<span className="text-bolt-elements-textPrimary">
|
840 |
-
{(systemInfo.performance.timing.requestTime / 1000).toFixed(2)}s
|
841 |
-
</span>
|
842 |
-
</div>
|
843 |
-
<div className="text-sm">
|
844 |
-
<span className="text-bolt-elements-textSecondary">Redirect Time: </span>
|
845 |
-
<span className="text-bolt-elements-textPrimary">
|
846 |
-
{(systemInfo.performance.timing.redirectTime / 1000).toFixed(2)}s
|
847 |
-
</span>
|
848 |
-
</div>
|
849 |
</div>
|
850 |
-
<div
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
881 |
</div>
|
882 |
-
|
883 |
</div>
|
884 |
-
|
885 |
-
</
|
886 |
|
887 |
{/* WebApp Information */}
|
888 |
-
<
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
<div className="
|
895 |
-
<div className="
|
896 |
-
<div className="text-
|
897 |
-
|
898 |
-
<span className="text-bolt-elements-textSecondary">Name: </span>
|
899 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.name}</span>
|
900 |
-
</div>
|
901 |
-
<div className="text-sm flex items-center gap-2">
|
902 |
-
<div className="i-ph:tag text-bolt-elements-textSecondary w-4 h-4" />
|
903 |
-
<span className="text-bolt-elements-textSecondary">Version: </span>
|
904 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.version}</span>
|
905 |
-
</div>
|
906 |
-
<div className="text-sm flex items-center gap-2">
|
907 |
-
<div className="i-ph:file-text text-bolt-elements-textSecondary w-4 h-4" />
|
908 |
-
<span className="text-bolt-elements-textSecondary">Description: </span>
|
909 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.description}</span>
|
910 |
-
</div>
|
911 |
-
<div className="text-sm flex items-center gap-2">
|
912 |
-
<div className="i-ph:certificate text-bolt-elements-textSecondary w-4 h-4" />
|
913 |
-
<span className="text-bolt-elements-textSecondary">License: </span>
|
914 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.license}</span>
|
915 |
-
</div>
|
916 |
-
<div className="text-sm flex items-center gap-2">
|
917 |
-
<div className="i-ph:node text-bolt-elements-textSecondary w-4 h-4" />
|
918 |
-
<span className="text-bolt-elements-textSecondary">Node Version: </span>
|
919 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.nodeVersion}</span>
|
920 |
-
</div>
|
921 |
-
{webAppInfo.buildTime && (
|
922 |
-
<div className="text-sm flex items-center gap-2">
|
923 |
-
<div className="i-ph:calendar text-bolt-elements-textSecondary w-4 h-4" />
|
924 |
-
<span className="text-bolt-elements-textSecondary">Build Time: </span>
|
925 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.buildTime}</span>
|
926 |
-
</div>
|
927 |
-
)}
|
928 |
-
{webAppInfo.buildNumber && (
|
929 |
-
<div className="text-sm flex items-center gap-2">
|
930 |
-
<div className="i-ph:hash text-bolt-elements-textSecondary w-4 h-4" />
|
931 |
-
<span className="text-bolt-elements-textSecondary">Build Number: </span>
|
932 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.buildNumber}</span>
|
933 |
-
</div>
|
934 |
-
)}
|
935 |
-
{webAppInfo.environment && (
|
936 |
-
<div className="text-sm flex items-center gap-2">
|
937 |
-
<div className="i-ph:cloud text-bolt-elements-textSecondary w-4 h-4" />
|
938 |
-
<span className="text-bolt-elements-textSecondary">Environment: </span>
|
939 |
-
<span className="text-bolt-elements-textPrimary">{webAppInfo.environment}</span>
|
940 |
-
</div>
|
941 |
-
)}
|
942 |
</div>
|
943 |
-
<div
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
<div className="flex items-center gap-2 mb-2">
|
962 |
-
<div className="i-ph:git-branch text-bolt-elements-textSecondary w-4 h-4" />
|
963 |
-
<span className="text-bolt-elements-textSecondary">Git Info:</span>
|
964 |
</div>
|
965 |
-
<div className="
|
966 |
-
<div className="
|
967 |
-
<
|
968 |
-
<
|
969 |
-
Commit Time: {webAppInfo.gitInfo.commitTime}
|
970 |
-
</div>
|
971 |
-
<div className="text-xs text-bolt-elements-textPrimary">Author: {webAppInfo.gitInfo.author}</div>
|
972 |
-
<div className="text-xs text-bolt-elements-textPrimary">
|
973 |
-
Remote URL: {webAppInfo.gitInfo.remoteUrl}
|
974 |
-
</div>
|
975 |
</div>
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
983 |
</div>
|
984 |
-
|
985 |
-
<div className="text-
|
986 |
-
|
987 |
-
|
|
|
988 |
</div>
|
989 |
-
|
990 |
-
|
|
|
|
|
|
|
|
|
991 |
</div>
|
992 |
-
|
993 |
-
|
994 |
-
<div className="text-
|
995 |
-
|
|
|
|
|
996 |
</div>
|
997 |
-
|
998 |
-
|
|
|
|
|
|
|
|
|
|
|
999 |
</div>
|
1000 |
-
<div className="
|
1001 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1002 |
</div>
|
1003 |
-
|
1004 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1005 |
</div>
|
1006 |
-
|
1007 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1008 |
</div>
|
1009 |
-
|
1010 |
</div>
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
</div>
|
1018 |
-
|
1019 |
-
</
|
1020 |
|
1021 |
{/* Error Check */}
|
1022 |
-
<
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
<
|
1028 |
-
<div className="
|
1029 |
-
|
1030 |
-
|
1031 |
-
<
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
<
|
1039 |
-
|
1040 |
-
|
1041 |
-
? '
|
1042 |
-
|
1043 |
-
|
1044 |
-
: 'Click to check for errors'}
|
1045 |
-
</span>
|
1046 |
</div>
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1061 |
</div>
|
1062 |
)}
|
1063 |
</div>
|
1064 |
-
</
|
1065 |
-
|
1066 |
-
</
|
1067 |
-
</
|
1068 |
</div>
|
1069 |
);
|
1070 |
}
|
|
|
3 |
import { classNames } from '~/utils/classNames';
|
4 |
import { logStore } from '~/lib/stores/logs';
|
5 |
import type { LogEntry } from '~/lib/stores/logs';
|
6 |
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '~/components/ui/Collapsible';
|
7 |
+
import { Progress } from '~/components/ui/Progress';
|
8 |
+
import { ScrollArea } from '~/components/ui/ScrollArea';
|
9 |
+
import { Badge, type BadgeProps } from '~/components/ui/Badge';
|
10 |
+
import { cn } from '~/lib/utils';
|
11 |
|
12 |
interface SystemInfo {
|
13 |
os: string;
|
|
|
129 |
};
|
130 |
}
|
131 |
|
132 |
+
// Add interface for GitHub API response
|
133 |
+
interface GitHubRepoResponse {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
name: string;
|
135 |
full_name: string;
|
136 |
+
description: string | null;
|
137 |
stargazers_count: number;
|
138 |
forks_count: number;
|
139 |
open_issues_count: number;
|
|
|
145 |
};
|
146 |
}
|
147 |
|
148 |
+
// Add interface for Git info response
|
149 |
+
interface GitInfo {
|
150 |
+
branch: string;
|
151 |
+
commit: string;
|
152 |
+
commitTime: string;
|
153 |
+
author: string;
|
154 |
+
remoteUrl: string;
|
|
|
155 |
}
|
156 |
|
157 |
export default function DebugTab() {
|
|
|
171 |
lastCheck: null,
|
172 |
});
|
173 |
|
174 |
+
// Add section collapse state
|
175 |
+
const [openSections, setOpenSections] = useState({
|
176 |
+
system: true,
|
177 |
+
performance: true,
|
178 |
+
webapp: true,
|
179 |
+
errors: true,
|
180 |
+
});
|
181 |
+
|
182 |
// Fetch initial data
|
183 |
useEffect(() => {
|
184 |
getSystemInfo();
|
|
|
373 |
if (!appInfoResponse.ok) {
|
374 |
throw new Error('Failed to fetch webapp info');
|
375 |
}
|
376 |
+
const appData = (await appInfoResponse.json()) as Record<string, unknown>;
|
|
|
377 |
|
378 |
// Fetch git info
|
379 |
const gitInfoResponse = await fetch('/api/system/git-info');
|
380 |
let gitInfo: GitInfo | undefined;
|
|
|
381 |
if (gitInfoResponse.ok) {
|
382 |
gitInfo = (await gitInfoResponse.json()) as GitInfo;
|
383 |
}
|
|
|
385 |
// Fetch GitHub repository info
|
386 |
const repoInfoResponse = await fetch('https://api.github.com/repos/stackblitz-labs/bolt.diy');
|
387 |
let repoInfo: WebAppInfo['repoInfo'] | undefined;
|
|
|
388 |
if (repoInfoResponse.ok) {
|
389 |
+
const repoData = (await repoInfoResponse.json()) as GitHubRepoResponse;
|
390 |
repoInfo = {
|
391 |
name: repoData.name,
|
392 |
fullName: repoData.full_name,
|
393 |
+
description: repoData.description ?? '',
|
394 |
stars: repoData.stargazers_count,
|
395 |
forks: repoData.forks_count,
|
396 |
openIssues: repoData.open_issues_count,
|
|
|
411 |
};
|
412 |
|
413 |
setWebAppInfo({
|
414 |
+
name: appData.name as string,
|
415 |
+
version: appData.version as string,
|
416 |
+
description: appData.description as string,
|
417 |
+
license: appData.license as string,
|
418 |
+
nodeVersion: appData.nodeVersion as string,
|
419 |
+
dependencies: appData.dependencies as Record<string, string>,
|
420 |
+
devDependencies: appData.devDependencies as Record<string, string>,
|
421 |
...buildInfo,
|
422 |
gitInfo,
|
423 |
repoInfo,
|
|
|
595 |
};
|
596 |
|
597 |
return (
|
598 |
+
<div className="flex flex-col gap-6 max-w-7xl mx-auto p-4">
|
599 |
+
{/* Quick Stats Banner */}
|
600 |
+
<div className="grid grid-cols-1 md:grid-cols-4 gap-4">
|
601 |
+
<div className="p-4 rounded-xl bg-gradient-to-br from-purple-500/10 to-purple-500/5 border border-purple-500/20">
|
602 |
+
<div className="text-sm text-bolt-elements-textSecondary">Memory Usage</div>
|
603 |
+
<div className="text-2xl font-semibold text-bolt-elements-textPrimary mt-1">
|
604 |
+
{systemInfo?.memory.percentage}%
|
605 |
+
</div>
|
606 |
+
<Progress value={systemInfo?.memory.percentage || 0} className="mt-2" />
|
607 |
+
</div>
|
608 |
+
|
609 |
+
<div className="p-4 rounded-xl bg-gradient-to-br from-blue-500/10 to-blue-500/5 border border-blue-500/20">
|
610 |
+
<div className="text-sm text-bolt-elements-textSecondary">Page Load Time</div>
|
611 |
+
<div className="text-2xl font-semibold text-bolt-elements-textPrimary mt-1">
|
612 |
+
{systemInfo ? (systemInfo.performance.timing.loadTime / 1000).toFixed(2) + 's' : '-'}
|
613 |
+
</div>
|
614 |
+
<div className="text-xs text-bolt-elements-textSecondary mt-2">
|
615 |
+
DOM Ready: {systemInfo ? (systemInfo.performance.timing.domReadyTime / 1000).toFixed(2) + 's' : '-'}
|
616 |
+
</div>
|
617 |
+
</div>
|
618 |
+
|
619 |
+
<div className="p-4 rounded-xl bg-gradient-to-br from-green-500/10 to-green-500/5 border border-green-500/20">
|
620 |
+
<div className="text-sm text-bolt-elements-textSecondary">Network Speed</div>
|
621 |
+
<div className="text-2xl font-semibold text-bolt-elements-textPrimary mt-1">
|
622 |
+
{systemInfo?.network.downlink || '-'} Mbps
|
623 |
+
</div>
|
624 |
+
<div className="text-xs text-bolt-elements-textSecondary mt-2">RTT: {systemInfo?.network.rtt || '-'} ms</div>
|
625 |
+
</div>
|
626 |
+
|
627 |
+
<div className="p-4 rounded-xl bg-gradient-to-br from-red-500/10 to-red-500/5 border border-red-500/20">
|
628 |
+
<div className="text-sm text-bolt-elements-textSecondary">Errors</div>
|
629 |
+
<div className="text-2xl font-semibold text-bolt-elements-textPrimary mt-1">{errorLog.errors.length}</div>
|
630 |
+
<div className="text-xs text-bolt-elements-textSecondary mt-2">
|
631 |
+
Last Check: {errorLog.lastCheck ? new Date(errorLog.lastCheck).toLocaleTimeString() : 'Never'}
|
632 |
+
</div>
|
633 |
+
</div>
|
634 |
+
</div>
|
635 |
+
|
636 |
{/* Action Buttons */}
|
637 |
<div className="flex flex-wrap gap-4">
|
638 |
<button
|
|
|
643 |
'bg-[#F5F5F5] hover:bg-purple-500/10 hover:text-purple-500',
|
644 |
'dark:bg-[#1A1A1A] dark:hover:bg-purple-500/20',
|
645 |
'text-bolt-elements-textPrimary dark:hover:text-purple-500',
|
646 |
+
'focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 dark:focus:ring-offset-[#0A0A0A]',
|
647 |
{ 'opacity-50 cursor-not-allowed': loading.systemInfo },
|
648 |
)}
|
649 |
>
|
|
|
731 |
</div>
|
732 |
|
733 |
{/* System Information */}
|
734 |
+
<Collapsible
|
735 |
+
open={openSections.system}
|
736 |
+
onOpenChange={(open: boolean) => setOpenSections((prev) => ({ ...prev, system: open }))}
|
737 |
+
className="w-full"
|
738 |
+
>
|
739 |
+
<CollapsibleTrigger className="w-full">
|
740 |
+
<div className="flex items-center justify-between p-6 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
741 |
+
<div className="flex items-center gap-3">
|
742 |
+
<div className="i-ph:cpu text-purple-500 w-5 h-5" />
|
743 |
+
<h3 className="text-base font-medium text-bolt-elements-textPrimary">System Information</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
744 |
</div>
|
745 |
+
<div
|
746 |
+
className={cn(
|
747 |
+
'i-ph:caret-down w-4 h-4 transform transition-transform duration-200',
|
748 |
+
openSections.system ? 'rotate-180' : '',
|
749 |
+
)}
|
750 |
+
/>
|
751 |
+
</div>
|
752 |
+
</CollapsibleTrigger>
|
753 |
+
|
754 |
+
<CollapsibleContent>
|
755 |
+
<div className="p-6 mt-2 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
756 |
+
{systemInfo ? (
|
757 |
+
<div className="grid grid-cols-2 gap-6">
|
758 |
+
<div className="space-y-2">
|
759 |
+
<div className="text-sm flex items-center gap-2">
|
760 |
+
<div className="i-ph:desktop text-bolt-elements-textSecondary w-4 h-4" />
|
761 |
+
<span className="text-bolt-elements-textSecondary">OS: </span>
|
762 |
+
<span className="text-bolt-elements-textPrimary">{systemInfo.os}</span>
|
763 |
+
</div>
|
764 |
+
<div className="text-sm flex items-center gap-2">
|
765 |
+
<div className="i-ph:device-mobile text-bolt-elements-textSecondary w-4 h-4" />
|
766 |
+
<span className="text-bolt-elements-textSecondary">Platform: </span>
|
767 |
+
<span className="text-bolt-elements-textPrimary">{systemInfo.platform}</span>
|
768 |
+
</div>
|
769 |
+
<div className="text-sm flex items-center gap-2">
|
770 |
+
<div className="i-ph:microchip text-bolt-elements-textSecondary w-4 h-4" />
|
771 |
+
<span className="text-bolt-elements-textSecondary">Architecture: </span>
|
772 |
+
<span className="text-bolt-elements-textPrimary">{systemInfo.arch}</span>
|
773 |
+
</div>
|
774 |
+
<div className="text-sm flex items-center gap-2">
|
775 |
+
<div className="i-ph:cpu text-bolt-elements-textSecondary w-4 h-4" />
|
776 |
+
<span className="text-bolt-elements-textSecondary">CPU Cores: </span>
|
777 |
+
<span className="text-bolt-elements-textPrimary">{systemInfo.cpus}</span>
|
778 |
+
</div>
|
779 |
+
<div className="text-sm flex items-center gap-2">
|
780 |
+
<div className="i-ph:node text-bolt-elements-textSecondary w-4 h-4" />
|
781 |
+
<span className="text-bolt-elements-textSecondary">Node Version: </span>
|
782 |
+
<span className="text-bolt-elements-textPrimary">{systemInfo.node}</span>
|
783 |
+
</div>
|
784 |
+
<div className="text-sm flex items-center gap-2">
|
785 |
+
<div className="i-ph:wifi-high text-bolt-elements-textSecondary w-4 h-4" />
|
786 |
+
<span className="text-bolt-elements-textSecondary">Network Type: </span>
|
787 |
+
<span className="text-bolt-elements-textPrimary">
|
788 |
+
{systemInfo.network.type} ({systemInfo.network.effectiveType})
|
789 |
+
</span>
|
790 |
+
</div>
|
791 |
+
<div className="text-sm flex items-center gap-2">
|
792 |
+
<div className="i-ph:gauge text-bolt-elements-textSecondary w-4 h-4" />
|
793 |
+
<span className="text-bolt-elements-textSecondary">Network Speed: </span>
|
794 |
+
<span className="text-bolt-elements-textPrimary">
|
795 |
+
{systemInfo.network.downlink}Mbps (RTT: {systemInfo.network.rtt}ms)
|
796 |
+
</span>
|
797 |
+
</div>
|
798 |
+
{systemInfo.battery && (
|
799 |
+
<div className="text-sm flex items-center gap-2">
|
800 |
+
<div className="i-ph:battery-charging text-bolt-elements-textSecondary w-4 h-4" />
|
801 |
+
<span className="text-bolt-elements-textSecondary">Battery: </span>
|
802 |
+
<span className="text-bolt-elements-textPrimary">
|
803 |
+
{systemInfo.battery.level.toFixed(1)}% {systemInfo.battery.charging ? '(Charging)' : ''}
|
804 |
+
</span>
|
805 |
+
</div>
|
806 |
+
)}
|
807 |
+
<div className="text-sm flex items-center gap-2">
|
808 |
+
<div className="i-ph:hard-drive text-bolt-elements-textSecondary w-4 h-4" />
|
809 |
+
<span className="text-bolt-elements-textSecondary">Storage: </span>
|
810 |
+
<span className="text-bolt-elements-textPrimary">
|
811 |
+
{(systemInfo.storage.usage / (1024 * 1024 * 1024)).toFixed(2)}GB /{' '}
|
812 |
+
{(systemInfo.storage.quota / (1024 * 1024 * 1024)).toFixed(2)}GB
|
813 |
+
</span>
|
814 |
+
</div>
|
815 |
+
</div>
|
816 |
+
<div className="space-y-2">
|
817 |
+
<div className="text-sm flex items-center gap-2">
|
818 |
+
<div className="i-ph:database text-bolt-elements-textSecondary w-4 h-4" />
|
819 |
+
<span className="text-bolt-elements-textSecondary">Memory Usage: </span>
|
820 |
+
<span className="text-bolt-elements-textPrimary">
|
821 |
+
{systemInfo.memory.used} / {systemInfo.memory.total} ({systemInfo.memory.percentage}%)
|
822 |
+
</span>
|
823 |
+
</div>
|
824 |
+
<div className="text-sm flex items-center gap-2">
|
825 |
+
<div className="i-ph:browser text-bolt-elements-textSecondary w-4 h-4" />
|
826 |
+
<span className="text-bolt-elements-textSecondary">Browser: </span>
|
827 |
+
<span className="text-bolt-elements-textPrimary">
|
828 |
+
{systemInfo.browser.name} {systemInfo.browser.version}
|
829 |
+
</span>
|
830 |
+
</div>
|
831 |
+
<div className="text-sm flex items-center gap-2">
|
832 |
+
<div className="i-ph:monitor text-bolt-elements-textSecondary w-4 h-4" />
|
833 |
+
<span className="text-bolt-elements-textSecondary">Screen: </span>
|
834 |
+
<span className="text-bolt-elements-textPrimary">
|
835 |
+
{systemInfo.screen.width}x{systemInfo.screen.height} ({systemInfo.screen.pixelRatio}x)
|
836 |
+
</span>
|
837 |
+
</div>
|
838 |
+
<div className="text-sm flex items-center gap-2">
|
839 |
+
<div className="i-ph:clock text-bolt-elements-textSecondary w-4 h-4" />
|
840 |
+
<span className="text-bolt-elements-textSecondary">Timezone: </span>
|
841 |
+
<span className="text-bolt-elements-textPrimary">{systemInfo.time.timezone}</span>
|
842 |
+
</div>
|
843 |
+
<div className="text-sm flex items-center gap-2">
|
844 |
+
<div className="i-ph:translate text-bolt-elements-textSecondary w-4 h-4" />
|
845 |
+
<span className="text-bolt-elements-textSecondary">Language: </span>
|
846 |
+
<span className="text-bolt-elements-textPrimary">{systemInfo.browser.language}</span>
|
847 |
+
</div>
|
848 |
+
<div className="text-sm flex items-center gap-2">
|
849 |
+
<div className="i-ph:chart-pie text-bolt-elements-textSecondary w-4 h-4" />
|
850 |
+
<span className="text-bolt-elements-textSecondary">JS Heap: </span>
|
851 |
+
<span className="text-bolt-elements-textPrimary">
|
852 |
+
{(systemInfo.performance.memory.usedJSHeapSize / (1024 * 1024)).toFixed(1)}MB /{' '}
|
853 |
+
{(systemInfo.performance.memory.totalJSHeapSize / (1024 * 1024)).toFixed(1)}MB (
|
854 |
+
{systemInfo.performance.memory.usagePercentage.toFixed(1)}%)
|
855 |
+
</span>
|
856 |
+
</div>
|
857 |
+
<div className="text-sm flex items-center gap-2">
|
858 |
+
<div className="i-ph:timer text-bolt-elements-textSecondary w-4 h-4" />
|
859 |
+
<span className="text-bolt-elements-textSecondary">Page Load: </span>
|
860 |
+
<span className="text-bolt-elements-textPrimary">
|
861 |
+
{(systemInfo.performance.timing.loadTime / 1000).toFixed(2)}s
|
862 |
+
</span>
|
863 |
+
</div>
|
864 |
+
<div className="text-sm flex items-center gap-2">
|
865 |
+
<div className="i-ph:code text-bolt-elements-textSecondary w-4 h-4" />
|
866 |
+
<span className="text-bolt-elements-textSecondary">DOM Ready: </span>
|
867 |
+
<span className="text-bolt-elements-textPrimary">
|
868 |
+
{(systemInfo.performance.timing.domReadyTime / 1000).toFixed(2)}s
|
869 |
+
</span>
|
870 |
+
</div>
|
871 |
+
</div>
|
872 |
</div>
|
873 |
+
) : (
|
874 |
+
<div className="text-sm text-bolt-elements-textSecondary">Loading system information...</div>
|
875 |
+
)}
|
876 |
</div>
|
877 |
+
</CollapsibleContent>
|
878 |
+
</Collapsible>
|
|
|
|
|
879 |
|
880 |
{/* Performance Metrics */}
|
881 |
+
<Collapsible
|
882 |
+
open={openSections.performance}
|
883 |
+
onOpenChange={(open: boolean) => setOpenSections((prev) => ({ ...prev, performance: open }))}
|
884 |
+
className="w-full"
|
885 |
+
>
|
886 |
+
<CollapsibleTrigger className="w-full">
|
887 |
+
<div className="flex items-center justify-between p-6 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
888 |
+
<div className="flex items-center gap-3">
|
889 |
+
<div className="i-ph:chart-line text-purple-500 w-5 h-5" />
|
890 |
+
<h3 className="text-base font-medium text-bolt-elements-textPrimary">Performance Metrics</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
891 |
</div>
|
892 |
+
<div
|
893 |
+
className={cn(
|
894 |
+
'i-ph:caret-down w-4 h-4 transform transition-transform duration-200',
|
895 |
+
openSections.performance ? 'rotate-180' : '',
|
896 |
+
)}
|
897 |
+
/>
|
898 |
+
</div>
|
899 |
+
</CollapsibleTrigger>
|
900 |
+
|
901 |
+
<CollapsibleContent>
|
902 |
+
<div className="p-6 mt-2 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
903 |
+
{systemInfo && (
|
904 |
+
<div className="grid grid-cols-2 gap-4">
|
905 |
+
<div className="space-y-2">
|
906 |
+
<div className="text-sm">
|
907 |
+
<span className="text-bolt-elements-textSecondary">Page Load Time: </span>
|
908 |
+
<span className="text-bolt-elements-textPrimary">
|
909 |
+
{(systemInfo.performance.timing.loadTime / 1000).toFixed(2)}s
|
910 |
+
</span>
|
911 |
+
</div>
|
912 |
+
<div className="text-sm">
|
913 |
+
<span className="text-bolt-elements-textSecondary">DOM Ready Time: </span>
|
914 |
+
<span className="text-bolt-elements-textPrimary">
|
915 |
+
{(systemInfo.performance.timing.domReadyTime / 1000).toFixed(2)}s
|
916 |
+
</span>
|
917 |
+
</div>
|
918 |
+
<div className="text-sm">
|
919 |
+
<span className="text-bolt-elements-textSecondary">Request Time: </span>
|
920 |
+
<span className="text-bolt-elements-textPrimary">
|
921 |
+
{(systemInfo.performance.timing.requestTime / 1000).toFixed(2)}s
|
922 |
+
</span>
|
923 |
+
</div>
|
924 |
+
<div className="text-sm">
|
925 |
+
<span className="text-bolt-elements-textSecondary">Redirect Time: </span>
|
926 |
+
<span className="text-bolt-elements-textPrimary">
|
927 |
+
{(systemInfo.performance.timing.redirectTime / 1000).toFixed(2)}s
|
928 |
+
</span>
|
929 |
+
</div>
|
930 |
+
</div>
|
931 |
+
<div className="space-y-2">
|
932 |
+
<div className="text-sm">
|
933 |
+
<span className="text-bolt-elements-textSecondary">JS Heap Usage: </span>
|
934 |
+
<span className="text-bolt-elements-textPrimary">
|
935 |
+
{(systemInfo.performance.memory.usedJSHeapSize / (1024 * 1024)).toFixed(1)}MB /{' '}
|
936 |
+
{(systemInfo.performance.memory.totalJSHeapSize / (1024 * 1024)).toFixed(1)}MB
|
937 |
+
</span>
|
938 |
+
</div>
|
939 |
+
<div className="text-sm">
|
940 |
+
<span className="text-bolt-elements-textSecondary">Heap Utilization: </span>
|
941 |
+
<span className="text-bolt-elements-textPrimary">
|
942 |
+
{systemInfo.performance.memory.usagePercentage.toFixed(1)}%
|
943 |
+
</span>
|
944 |
+
</div>
|
945 |
+
<div className="text-sm">
|
946 |
+
<span className="text-bolt-elements-textSecondary">Navigation Type: </span>
|
947 |
+
<span className="text-bolt-elements-textPrimary">
|
948 |
+
{systemInfo.performance.navigation.type === 0
|
949 |
+
? 'Navigate'
|
950 |
+
: systemInfo.performance.navigation.type === 1
|
951 |
+
? 'Reload'
|
952 |
+
: systemInfo.performance.navigation.type === 2
|
953 |
+
? 'Back/Forward'
|
954 |
+
: 'Other'}
|
955 |
+
</span>
|
956 |
+
</div>
|
957 |
+
<div className="text-sm">
|
958 |
+
<span className="text-bolt-elements-textSecondary">Redirects: </span>
|
959 |
+
<span className="text-bolt-elements-textPrimary">
|
960 |
+
{systemInfo.performance.navigation.redirectCount}
|
961 |
+
</span>
|
962 |
+
</div>
|
963 |
+
</div>
|
964 |
</div>
|
965 |
+
)}
|
966 |
</div>
|
967 |
+
</CollapsibleContent>
|
968 |
+
</Collapsible>
|
969 |
|
970 |
{/* WebApp Information */}
|
971 |
+
<Collapsible
|
972 |
+
open={openSections.webapp}
|
973 |
+
onOpenChange={(open: boolean) => setOpenSections((prev) => ({ ...prev, webapp: open }))}
|
974 |
+
className="w-full"
|
975 |
+
>
|
976 |
+
<CollapsibleTrigger className="w-full">
|
977 |
+
<div className="flex items-center justify-between p-6 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
978 |
+
<div className="flex items-center gap-3">
|
979 |
+
<div className="i-ph:info text-blue-500 w-5 h-5" />
|
980 |
+
<h3 className="text-base font-medium text-bolt-elements-textPrimary">WebApp Information</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
981 |
</div>
|
982 |
+
<div
|
983 |
+
className={cn(
|
984 |
+
'i-ph:caret-down w-4 h-4 transform transition-transform duration-200',
|
985 |
+
openSections.webapp ? 'rotate-180' : '',
|
986 |
+
)}
|
987 |
+
/>
|
988 |
+
</div>
|
989 |
+
</CollapsibleTrigger>
|
990 |
+
|
991 |
+
<CollapsibleContent>
|
992 |
+
<div className="p-6 mt-2 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
993 |
+
{webAppInfo ? (
|
994 |
+
<div className="grid grid-cols-2 gap-4">
|
995 |
+
<div className="space-y-2">
|
996 |
+
<div className="text-sm flex items-center gap-2">
|
997 |
+
<div className="i-ph:app-window text-bolt-elements-textSecondary w-4 h-4" />
|
998 |
+
<span className="text-bolt-elements-textSecondary">Name: </span>
|
999 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.name}</span>
|
|
|
|
|
|
|
1000 |
</div>
|
1001 |
+
<div className="text-sm flex items-center gap-2">
|
1002 |
+
<div className="i-ph:tag text-bolt-elements-textSecondary w-4 h-4" />
|
1003 |
+
<span className="text-bolt-elements-textSecondary">Version: </span>
|
1004 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.version}</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
1005 |
</div>
|
1006 |
+
<div className="text-sm flex items-center gap-2">
|
1007 |
+
<div className="i-ph:file-text text-bolt-elements-textSecondary w-4 h-4" />
|
1008 |
+
<span className="text-bolt-elements-textSecondary">Description: </span>
|
1009 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.description}</span>
|
1010 |
+
</div>
|
1011 |
+
<div className="text-sm flex items-center gap-2">
|
1012 |
+
<div className="i-ph:certificate text-bolt-elements-textSecondary w-4 h-4" />
|
1013 |
+
<span className="text-bolt-elements-textSecondary">License: </span>
|
1014 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.license}</span>
|
1015 |
+
</div>
|
1016 |
+
<div className="text-sm flex items-center gap-2">
|
1017 |
+
<div className="i-ph:node text-bolt-elements-textSecondary w-4 h-4" />
|
1018 |
+
<span className="text-bolt-elements-textSecondary">Node Version: </span>
|
1019 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.nodeVersion}</span>
|
1020 |
</div>
|
1021 |
+
{webAppInfo.buildTime && (
|
1022 |
+
<div className="text-sm flex items-center gap-2">
|
1023 |
+
<div className="i-ph:calendar text-bolt-elements-textSecondary w-4 h-4" />
|
1024 |
+
<span className="text-bolt-elements-textSecondary">Build Time: </span>
|
1025 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.buildTime}</span>
|
1026 |
</div>
|
1027 |
+
)}
|
1028 |
+
{webAppInfo.buildNumber && (
|
1029 |
+
<div className="text-sm flex items-center gap-2">
|
1030 |
+
<div className="i-ph:hash text-bolt-elements-textSecondary w-4 h-4" />
|
1031 |
+
<span className="text-bolt-elements-textSecondary">Build Number: </span>
|
1032 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.buildNumber}</span>
|
1033 |
</div>
|
1034 |
+
)}
|
1035 |
+
{webAppInfo.environment && (
|
1036 |
+
<div className="text-sm flex items-center gap-2">
|
1037 |
+
<div className="i-ph:cloud text-bolt-elements-textSecondary w-4 h-4" />
|
1038 |
+
<span className="text-bolt-elements-textSecondary">Environment: </span>
|
1039 |
+
<span className="text-bolt-elements-textPrimary">{webAppInfo.environment}</span>
|
1040 |
</div>
|
1041 |
+
)}
|
1042 |
+
</div>
|
1043 |
+
<div className="space-y-2">
|
1044 |
+
<div className="text-sm">
|
1045 |
+
<div className="flex items-center gap-2 mb-2">
|
1046 |
+
<div className="i-ph:package text-bolt-elements-textSecondary w-4 h-4" />
|
1047 |
+
<span className="text-bolt-elements-textSecondary">Key Dependencies:</span>
|
1048 |
</div>
|
1049 |
+
<div className="pl-6 space-y-1">
|
1050 |
+
{Object.entries(webAppInfo.dependencies)
|
1051 |
+
.filter(([key]) => ['react', '@remix-run/react', 'next', 'typescript'].includes(key))
|
1052 |
+
.map(([key, version]) => (
|
1053 |
+
<div key={key} className="text-xs text-bolt-elements-textPrimary">
|
1054 |
+
{key}: {version}
|
1055 |
+
</div>
|
1056 |
+
))}
|
1057 |
</div>
|
1058 |
+
</div>
|
1059 |
+
{webAppInfo.gitInfo && (
|
1060 |
+
<div className="text-sm">
|
1061 |
+
<div className="flex items-center gap-2 mb-2">
|
1062 |
+
<div className="i-ph:git-branch text-bolt-elements-textSecondary w-4 h-4" />
|
1063 |
+
<span className="text-bolt-elements-textSecondary">Git Info:</span>
|
1064 |
+
</div>
|
1065 |
+
<div className="pl-6 space-y-1">
|
1066 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1067 |
+
Branch: {webAppInfo.gitInfo.branch}
|
1068 |
+
</div>
|
1069 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1070 |
+
Commit: {webAppInfo.gitInfo.commit}
|
1071 |
+
</div>
|
1072 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1073 |
+
Commit Time: {webAppInfo.gitInfo.commitTime}
|
1074 |
+
</div>
|
1075 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1076 |
+
Author: {webAppInfo.gitInfo.author}
|
1077 |
+
</div>
|
1078 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1079 |
+
Remote URL: {webAppInfo.gitInfo.remoteUrl}
|
1080 |
+
</div>
|
1081 |
+
</div>
|
1082 |
</div>
|
1083 |
+
)}
|
1084 |
+
{webAppInfo.repoInfo && (
|
1085 |
+
<div className="text-sm">
|
1086 |
+
<div className="flex items-center gap-2 mb-2">
|
1087 |
+
<div className="i-ph:github text-bolt-elements-textSecondary w-4 h-4" />
|
1088 |
+
<span className="text-bolt-elements-textSecondary">GitHub Repository:</span>
|
1089 |
+
</div>
|
1090 |
+
<div className="pl-6 space-y-1">
|
1091 |
+
<div className="text-xs text-bolt-elements-textPrimary">Name: {webAppInfo.repoInfo.name}</div>
|
1092 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1093 |
+
Full Name: {webAppInfo.repoInfo.fullName}
|
1094 |
+
</div>
|
1095 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1096 |
+
Description: {webAppInfo.repoInfo.description}
|
1097 |
+
</div>
|
1098 |
+
<div className="text-xs text-bolt-elements-textPrimary">Stars: {webAppInfo.repoInfo.stars}</div>
|
1099 |
+
<div className="text-xs text-bolt-elements-textPrimary">Forks: {webAppInfo.repoInfo.forks}</div>
|
1100 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1101 |
+
Open Issues: {webAppInfo.repoInfo.openIssues}
|
1102 |
+
</div>
|
1103 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1104 |
+
Default Branch: {webAppInfo.repoInfo.defaultBranch}
|
1105 |
+
</div>
|
1106 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1107 |
+
Last Update: {webAppInfo.repoInfo.lastUpdate}
|
1108 |
+
</div>
|
1109 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1110 |
+
Owner: {webAppInfo.repoInfo.owner.login}
|
1111 |
+
</div>
|
1112 |
+
<div className="text-xs text-bolt-elements-textPrimary">
|
1113 |
+
Avatar URL: {webAppInfo.repoInfo.owner.avatarUrl}
|
1114 |
+
</div>
|
1115 |
+
</div>
|
1116 |
</div>
|
1117 |
+
)}
|
1118 |
</div>
|
1119 |
+
</div>
|
1120 |
+
) : (
|
1121 |
+
<div className="text-sm text-bolt-elements-textSecondary">
|
1122 |
+
{loading.webAppInfo ? 'Loading webapp information...' : 'No webapp information available'}
|
1123 |
+
</div>
|
1124 |
+
)}
|
1125 |
</div>
|
1126 |
+
</CollapsibleContent>
|
1127 |
+
</Collapsible>
|
1128 |
|
1129 |
{/* Error Check */}
|
1130 |
+
<Collapsible
|
1131 |
+
open={openSections.errors}
|
1132 |
+
onOpenChange={(open: boolean) => setOpenSections((prev) => ({ ...prev, errors: open }))}
|
1133 |
+
className="w-full"
|
1134 |
+
>
|
1135 |
+
<CollapsibleTrigger className="w-full">
|
1136 |
+
<div className="flex items-center justify-between p-6 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
1137 |
+
<div className="flex items-center gap-3">
|
1138 |
+
<div className="i-ph:warning text-red-500 w-5 h-5" />
|
1139 |
+
<h3 className="text-base font-medium text-bolt-elements-textPrimary">Error Check</h3>
|
1140 |
+
{errorLog.errors.length > 0 && (
|
1141 |
+
<Badge variant="destructive" className="ml-2">
|
1142 |
+
{errorLog.errors.length} Errors
|
1143 |
+
</Badge>
|
1144 |
+
)}
|
1145 |
+
</div>
|
1146 |
+
<div
|
1147 |
+
className={cn(
|
1148 |
+
'i-ph:caret-down w-4 h-4 transform transition-transform duration-200',
|
1149 |
+
openSections.errors ? 'rotate-180' : '',
|
1150 |
+
)}
|
1151 |
+
/>
|
|
|
|
|
1152 |
</div>
|
1153 |
+
</CollapsibleTrigger>
|
1154 |
+
|
1155 |
+
<CollapsibleContent>
|
1156 |
+
<div className="p-6 mt-2 rounded-xl bg-white dark:bg-[#0A0A0A] border border-[#E5E5E5] dark:border-[#1A1A1A]">
|
1157 |
+
<ScrollArea className="h-[300px]">
|
1158 |
+
<div className="space-y-4">
|
1159 |
+
<div className="text-sm text-bolt-elements-textSecondary">
|
1160 |
+
Checks for:
|
1161 |
+
<ul className="list-disc list-inside mt-2 space-y-1">
|
1162 |
+
<li>Unhandled JavaScript errors</li>
|
1163 |
+
<li>Unhandled Promise rejections</li>
|
1164 |
+
<li>Runtime exceptions</li>
|
1165 |
+
<li>Network errors</li>
|
1166 |
+
</ul>
|
1167 |
+
</div>
|
1168 |
+
<div className="text-sm">
|
1169 |
+
<span className="text-bolt-elements-textSecondary">Last Check: </span>
|
1170 |
+
<span className="text-bolt-elements-textPrimary">
|
1171 |
+
{loading.errors
|
1172 |
+
? 'Checking...'
|
1173 |
+
: errorLog.lastCheck
|
1174 |
+
? `Last checked ${new Date(errorLog.lastCheck).toLocaleString()} (${errorLog.errors.length} errors found)`
|
1175 |
+
: 'Click to check for errors'}
|
1176 |
+
</span>
|
1177 |
+
</div>
|
1178 |
+
{errorLog.errors.length > 0 && (
|
1179 |
+
<div className="mt-4">
|
1180 |
+
<div className="text-sm font-medium text-bolt-elements-textPrimary mb-2">Recent Errors:</div>
|
1181 |
+
<div className="space-y-2">
|
1182 |
+
{errorLog.errors.slice(0, 3).map((error, index) => (
|
1183 |
+
<div key={index} className="text-sm text-red-500 dark:text-red-400">
|
1184 |
+
{error.type === 'error' && `${error.message} (${error.filename}:${error.lineNumber})`}
|
1185 |
+
{error.type === 'unhandledRejection' && `Unhandled Promise Rejection: ${error.reason}`}
|
1186 |
+
{error.type === 'networkError' && `Network Error: Failed to load ${error.resource}`}
|
1187 |
+
</div>
|
1188 |
+
))}
|
1189 |
+
{errorLog.errors.length > 3 && (
|
1190 |
+
<div className="text-sm text-bolt-elements-textSecondary">
|
1191 |
+
And {errorLog.errors.length - 3} more errors...
|
1192 |
+
</div>
|
1193 |
+
)}
|
1194 |
+
</div>
|
1195 |
</div>
|
1196 |
)}
|
1197 |
</div>
|
1198 |
+
</ScrollArea>
|
1199 |
+
</div>
|
1200 |
+
</CollapsibleContent>
|
1201 |
+
</Collapsible>
|
1202 |
</div>
|
1203 |
);
|
1204 |
}
|
app/components/ui/Badge.tsx
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use client';
|
2 |
+
|
3 |
+
import * as React from 'react';
|
4 |
+
import { cva, type VariantProps } from 'class-variance-authority';
|
5 |
+
import { cn } from '~/lib/utils';
|
6 |
+
|
7 |
+
const badgeVariants = cva(
|
8 |
+
'inline-flex items-center rounded-md px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
|
9 |
+
{
|
10 |
+
variants: {
|
11 |
+
variant: {
|
12 |
+
default: 'border-transparent bg-primary text-primary-foreground',
|
13 |
+
secondary: 'border-transparent bg-secondary text-secondary-foreground',
|
14 |
+
destructive: 'border-transparent bg-red-500/10 text-red-500 dark:bg-red-900/30',
|
15 |
+
outline: 'text-foreground',
|
16 |
+
},
|
17 |
+
},
|
18 |
+
defaultVariants: {
|
19 |
+
variant: 'default',
|
20 |
+
},
|
21 |
+
},
|
22 |
+
);
|
23 |
+
|
24 |
+
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
25 |
+
variant?: 'default' | 'secondary' | 'destructive' | 'outline';
|
26 |
+
}
|
27 |
+
|
28 |
+
function Badge({ className, variant = 'default', ...props }: BadgeProps) {
|
29 |
+
return <div className={cn(badgeVariants({ variant }), className)} {...props} />;
|
30 |
+
}
|
31 |
+
|
32 |
+
export { Badge, badgeVariants };
|
33 |
+
export type { BadgeProps };
|
app/components/ui/Collapsible.tsx
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use client';
|
2 |
+
|
3 |
+
import * as React from 'react';
|
4 |
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
5 |
+
|
6 |
+
const Collapsible = CollapsiblePrimitive.Root;
|
7 |
+
const CollapsibleTrigger = CollapsiblePrimitive.Trigger;
|
8 |
+
const CollapsibleContent = CollapsiblePrimitive.Content;
|
9 |
+
|
10 |
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
app/components/ui/Progress.tsx
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import * as React from 'react';
|
2 |
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
3 |
+
import { cn } from '~/lib/utils';
|
4 |
+
|
5 |
+
const Progress = React.forwardRef<
|
6 |
+
React.ElementRef<typeof ProgressPrimitive.Root>,
|
7 |
+
React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>
|
8 |
+
>(({ className, value, ...props }, ref) => (
|
9 |
+
<ProgressPrimitive.Root
|
10 |
+
ref={ref}
|
11 |
+
className={cn('relative h-2 w-full overflow-hidden rounded-full bg-bolt-elements-background', className)}
|
12 |
+
{...props}
|
13 |
+
>
|
14 |
+
<ProgressPrimitive.Indicator
|
15 |
+
className="h-full w-full flex-1 bg-purple-500 transition-all"
|
16 |
+
style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
|
17 |
+
/>
|
18 |
+
</ProgressPrimitive.Root>
|
19 |
+
));
|
20 |
+
Progress.displayName = ProgressPrimitive.Root.displayName;
|
21 |
+
|
22 |
+
export { Progress };
|
app/components/ui/ScrollArea.tsx
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use client';
|
2 |
+
|
3 |
+
import * as React from 'react';
|
4 |
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
5 |
+
import { cn } from '~/lib/utils';
|
6 |
+
|
7 |
+
const ScrollArea = React.forwardRef<
|
8 |
+
React.ElementRef<typeof ScrollAreaPrimitive.Root>,
|
9 |
+
React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>
|
10 |
+
>(({ className, children, ...props }, ref) => (
|
11 |
+
<ScrollAreaPrimitive.Root ref={ref} className={cn('relative overflow-hidden', className)} {...props}>
|
12 |
+
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">{children}</ScrollAreaPrimitive.Viewport>
|
13 |
+
<ScrollBar />
|
14 |
+
<ScrollAreaPrimitive.Corner />
|
15 |
+
</ScrollAreaPrimitive.Root>
|
16 |
+
));
|
17 |
+
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
18 |
+
|
19 |
+
const ScrollBar = React.forwardRef<
|
20 |
+
React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,
|
21 |
+
React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>
|
22 |
+
>(({ className, orientation = 'vertical', ...props }, ref) => (
|
23 |
+
<ScrollAreaPrimitive.ScrollAreaScrollbar
|
24 |
+
ref={ref}
|
25 |
+
orientation={orientation}
|
26 |
+
className={cn(
|
27 |
+
'flex touch-none select-none transition-colors',
|
28 |
+
orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]',
|
29 |
+
orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent p-[1px]',
|
30 |
+
className,
|
31 |
+
)}
|
32 |
+
{...props}
|
33 |
+
>
|
34 |
+
<ScrollAreaPrimitive.ScrollAreaThumb className="relative flex-1 rounded-full bg-border" />
|
35 |
+
</ScrollAreaPrimitive.ScrollAreaScrollbar>
|
36 |
+
));
|
37 |
+
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
38 |
+
|
39 |
+
export { ScrollArea, ScrollBar };
|
app/lib/utils.ts
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { type ClassValue, clsx } from 'clsx';
|
2 |
+
import { twMerge } from 'tailwind-merge';
|
3 |
+
|
4 |
+
export function cn(...inputs: ClassValue[]) {
|
5 |
+
return twMerge(clsx(inputs));
|
6 |
+
}
|
package.json
CHANGED
@@ -59,11 +59,13 @@
|
|
59 |
"@octokit/rest": "^21.0.2",
|
60 |
"@octokit/types": "^13.6.2",
|
61 |
"@openrouter/ai-sdk-provider": "^0.0.5",
|
62 |
-
"@
|
63 |
"@radix-ui/react-context-menu": "^2.2.2",
|
64 |
"@radix-ui/react-dialog": "^1.1.2",
|
65 |
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
66 |
-
"@radix-ui/react-popover": "^1.1.
|
|
|
|
|
67 |
"@radix-ui/react-separator": "^1.1.0",
|
68 |
"@radix-ui/react-switch": "^1.1.1",
|
69 |
"@radix-ui/react-tooltip": "^1.1.4",
|
@@ -80,6 +82,7 @@
|
|
80 |
"ai": "^4.0.13",
|
81 |
"chalk": "^5.4.1",
|
82 |
"chart.js": "^4.4.7",
|
|
|
83 |
"clsx": "^2.1.1",
|
84 |
"date-fns": "^3.6.0",
|
85 |
"diff": "^5.2.0",
|
|
|
59 |
"@octokit/rest": "^21.0.2",
|
60 |
"@octokit/types": "^13.6.2",
|
61 |
"@openrouter/ai-sdk-provider": "^0.0.5",
|
62 |
+
"@radix-ui/react-collapsible": "^1.0.3",
|
63 |
"@radix-ui/react-context-menu": "^2.2.2",
|
64 |
"@radix-ui/react-dialog": "^1.1.2",
|
65 |
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
66 |
+
"@radix-ui/react-popover": "^1.1.5",
|
67 |
+
"@radix-ui/react-progress": "^1.0.3",
|
68 |
+
"@radix-ui/react-scroll-area": "^1.2.2",
|
69 |
"@radix-ui/react-separator": "^1.1.0",
|
70 |
"@radix-ui/react-switch": "^1.1.1",
|
71 |
"@radix-ui/react-tooltip": "^1.1.4",
|
|
|
82 |
"ai": "^4.0.13",
|
83 |
"chalk": "^5.4.1",
|
84 |
"chart.js": "^4.4.7",
|
85 |
+
"class-variance-authority": "^0.7.1",
|
86 |
"clsx": "^2.1.1",
|
87 |
"date-fns": "^3.6.0",
|
88 |
"diff": "^5.2.0",
|
pnpm-lock.yaml
CHANGED
@@ -98,9 +98,9 @@ importers:
|
|
98 |
'@openrouter/ai-sdk-provider':
|
99 |
specifier: ^0.0.5
|
100 |
version: 0.0.5([email protected])
|
101 |
-
'@
|
102 |
-
specifier: ^
|
103 |
-
version: 2.1.
|
104 |
'@radix-ui/react-context-menu':
|
105 |
specifier: ^2.2.2
|
106 |
version: 2.2.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
@@ -111,8 +111,14 @@ importers:
|
|
111 |
specifier: ^2.1.2
|
112 |
version: 2.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
113 |
'@radix-ui/react-popover':
|
114 |
-
specifier: ^1.1.
|
115 |
-
version: 1.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
'@radix-ui/react-separator':
|
117 |
specifier: ^1.1.0
|
118 |
version: 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
@@ -161,6 +167,9 @@ importers:
|
|
161 |
chart.js:
|
162 |
specifier: ^4.4.7
|
163 |
version: 4.4.7
|
|
|
|
|
|
|
164 |
clsx:
|
165 |
specifier: ^2.1.1
|
166 |
version: 2.1.1
|
@@ -1872,13 +1881,6 @@ packages:
|
|
1872 |
resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==}
|
1873 |
engines: {node: '>=8.0.0'}
|
1874 |
|
1875 |
-
'@phosphor-icons/[email protected]':
|
1876 |
-
resolution: {integrity: sha512-g2e2eVAn1XG2a+LI09QU3IORLhnFNAFkNbo2iwbX6NOKSLOwvEMmTa7CgOzEbgNWR47z8i8kwjdvYZ5fkGx1mQ==}
|
1877 |
-
engines: {node: '>=10'}
|
1878 |
-
peerDependencies:
|
1879 |
-
react: '>= 16.8'
|
1880 |
-
react-dom: '>= 16.8'
|
1881 |
-
|
1882 |
'@pkgjs/[email protected]':
|
1883 |
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
|
1884 |
engines: {node: '>=14'}
|
@@ -1890,6 +1892,9 @@ packages:
|
|
1890 |
'@polka/[email protected]':
|
1891 |
resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==}
|
1892 |
|
|
|
|
|
|
|
1893 |
'@radix-ui/[email protected]':
|
1894 |
resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==}
|
1895 |
|
@@ -1922,6 +1927,19 @@ packages:
|
|
1922 |
'@types/react-dom':
|
1923 |
optional: true
|
1924 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1925 |
'@radix-ui/[email protected]':
|
1926 |
resolution: {integrity: sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==}
|
1927 |
peerDependencies:
|
@@ -2019,8 +2037,8 @@ packages:
|
|
2019 |
'@types/react-dom':
|
2020 |
optional: true
|
2021 |
|
2022 |
-
'@radix-ui/[email protected].
|
2023 |
-
resolution: {integrity: sha512-
|
2024 |
peerDependencies:
|
2025 |
'@types/react': '*'
|
2026 |
'@types/react-dom': '*'
|
@@ -2102,8 +2120,8 @@ packages:
|
|
2102 |
'@types/react-dom':
|
2103 |
optional: true
|
2104 |
|
2105 |
-
'@radix-ui/[email protected].
|
2106 |
-
resolution: {integrity: sha512-
|
2107 |
peerDependencies:
|
2108 |
'@types/react': '*'
|
2109 |
'@types/react-dom': '*'
|
@@ -2219,6 +2237,19 @@ packages:
|
|
2219 |
'@types/react-dom':
|
2220 |
optional: true
|
2221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2222 |
'@radix-ui/[email protected]':
|
2223 |
resolution: {integrity: sha512-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==}
|
2224 |
peerDependencies:
|
@@ -2232,6 +2263,19 @@ packages:
|
|
2232 |
'@types/react-dom':
|
2233 |
optional: true
|
2234 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2235 |
'@radix-ui/[email protected]':
|
2236 |
resolution: {integrity: sha512-3uBAs+egzvJBDZAzvb/n4NxxOYpnspmWxO2u5NbZ8Y6FM/NdrGSF9bop3Cf6F6C71z1rTSn8KV0Fo2ZVd79lGA==}
|
2237 |
peerDependencies:
|
@@ -3430,6 +3474,9 @@ packages:
|
|
3430 |
resolution: {integrity: sha512-3Ek9H3X6pj5TgenXYtNWdaBon1tgYCaebd+XPg0keyjEbEfkD4KkmAxkQ/i1vYvxdcT5nscLBfq9VJRmCBcFSw==}
|
3431 |
engines: {node: '>= 0.10'}
|
3432 |
|
|
|
|
|
|
|
3433 | |
3434 |
resolution: {integrity: sha512-bLSptAy2P0s6hU4PzuIMKmMJJSE6gLXGH1cntDu7bWJUksvuM+7ReOK61mozULErYvP6a15rnYl0zFDef+pyPw==}
|
3435 |
|
@@ -5590,8 +5637,8 @@ packages:
|
|
5590 |
'@types/react':
|
5591 |
optional: true
|
5592 |
|
5593 |
-
[email protected].
|
5594 |
-
resolution: {integrity: sha512-
|
5595 |
engines: {node: '>=10'}
|
5596 |
peerDependencies:
|
5597 |
'@types/react': '*'
|
@@ -6488,6 +6535,16 @@ packages:
|
|
6488 |
'@types/react':
|
6489 |
optional: true
|
6490 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6491 | |
6492 |
resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==}
|
6493 |
peerDependencies:
|
@@ -8476,11 +8533,6 @@ snapshots:
|
|
8476 |
|
8477 |
'@opentelemetry/[email protected]': {}
|
8478 |
|
8479 |
-
'@phosphor-icons/[email protected]([email protected]([email protected]))([email protected])':
|
8480 |
-
dependencies:
|
8481 |
-
react: 18.3.1
|
8482 |
-
react-dom: 18.3.1([email protected])
|
8483 |
-
|
8484 |
'@pkgjs/[email protected]':
|
8485 |
optional: true
|
8486 |
|
@@ -8488,6 +8540,8 @@ snapshots:
|
|
8488 |
|
8489 |
'@polka/[email protected]': {}
|
8490 |
|
|
|
|
|
8491 |
'@radix-ui/[email protected]': {}
|
8492 |
|
8493 |
'@radix-ui/[email protected]': {}
|
@@ -8510,6 +8564,22 @@ snapshots:
|
|
8510 |
'@types/react': 18.3.12
|
8511 |
'@types/react-dom': 18.3.1
|
8512 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8513 |
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8514 |
dependencies:
|
8515 |
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
|
@@ -8601,7 +8671,7 @@ snapshots:
|
|
8601 |
'@types/react': 18.3.12
|
8602 |
'@types/react-dom': 18.3.1
|
8603 |
|
8604 |
-
'@radix-ui/[email protected].
|
8605 |
dependencies:
|
8606 |
'@radix-ui/primitive': 1.1.1
|
8607 |
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
|
@@ -8690,12 +8760,12 @@ snapshots:
|
|
8690 |
'@types/react': 18.3.12
|
8691 |
'@types/react-dom': 18.3.1
|
8692 |
|
8693 |
-
'@radix-ui/[email protected].
|
8694 |
dependencies:
|
8695 |
'@radix-ui/primitive': 1.1.1
|
8696 |
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
|
8697 |
'@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
|
8698 |
-
'@radix-ui/react-dismissable-layer': 1.1.
|
8699 |
'@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])
|
8700 |
'@radix-ui/react-focus-scope': 1.1.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8701 |
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
|
@@ -8708,7 +8778,7 @@ snapshots:
|
|
8708 |
aria-hidden: 1.2.4
|
8709 |
react: 18.3.1
|
8710 |
react-dom: 18.3.1([email protected])
|
8711 |
-
react-remove-scroll: 2.6.
|
8712 |
optionalDependencies:
|
8713 |
'@types/react': 18.3.12
|
8714 |
'@types/react-dom': 18.3.1
|
@@ -8807,6 +8877,16 @@ snapshots:
|
|
8807 |
'@types/react': 18.3.12
|
8808 |
'@types/react-dom': 18.3.1
|
8809 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8810 |
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8811 |
dependencies:
|
8812 |
'@radix-ui/primitive': 1.1.0
|
@@ -8824,6 +8904,23 @@ snapshots:
|
|
8824 |
'@types/react': 18.3.12
|
8825 |
'@types/react-dom': 18.3.1
|
8826 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8827 |
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8828 |
dependencies:
|
8829 |
'@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
@@ -10360,6 +10457,10 @@ snapshots:
|
|
10360 |
inherits: 2.0.4
|
10361 |
safe-buffer: 5.2.1
|
10362 |
|
|
|
|
|
|
|
|
|
10363 | |
10364 |
|
10365 | |
@@ -13075,14 +13176,14 @@ snapshots:
|
|
13075 |
optionalDependencies:
|
13076 |
'@types/react': 18.3.12
|
13077 |
|
13078 |
-
[email protected].
|
13079 |
dependencies:
|
13080 |
react: 18.3.1
|
13081 |
react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])
|
13082 |
-
react-style-singleton: 2.2.
|
13083 |
tslib: 2.8.1
|
13084 |
use-callback-ref: 1.3.3(@types/[email protected])([email protected])
|
13085 |
-
use-sidecar: 1.1.
|
13086 |
optionalDependencies:
|
13087 |
'@types/react': 18.3.12
|
13088 |
|
@@ -14062,6 +14163,14 @@ snapshots:
|
|
14062 |
optionalDependencies:
|
14063 |
'@types/react': 18.3.12
|
14064 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14065 | |
14066 |
dependencies:
|
14067 |
react: 18.3.1
|
|
|
98 |
'@openrouter/ai-sdk-provider':
|
99 |
specifier: ^0.0.5
|
100 |
version: 0.0.5([email protected])
|
101 |
+
'@radix-ui/react-collapsible':
|
102 |
+
specifier: ^1.0.3
|
103 |
+
version: 1.1.2(@types/react-dom@18.3.1)(@types/react@18.3.12)([email protected]([email protected]))([email protected])
|
104 |
'@radix-ui/react-context-menu':
|
105 |
specifier: ^2.2.2
|
106 |
version: 2.2.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
|
|
111 |
specifier: ^2.1.2
|
112 |
version: 2.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
113 |
'@radix-ui/react-popover':
|
114 |
+
specifier: ^1.1.5
|
115 |
+
version: 1.1.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
116 |
+
'@radix-ui/react-progress':
|
117 |
+
specifier: ^1.0.3
|
118 |
+
version: 1.1.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
119 |
+
'@radix-ui/react-scroll-area':
|
120 |
+
specifier: ^1.2.2
|
121 |
+
version: 1.2.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
122 |
'@radix-ui/react-separator':
|
123 |
specifier: ^1.1.0
|
124 |
version: 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
|
|
167 |
chart.js:
|
168 |
specifier: ^4.4.7
|
169 |
version: 4.4.7
|
170 |
+
class-variance-authority:
|
171 |
+
specifier: ^0.7.1
|
172 |
+
version: 0.7.1
|
173 |
clsx:
|
174 |
specifier: ^2.1.1
|
175 |
version: 2.1.1
|
|
|
1881 |
resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==}
|
1882 |
engines: {node: '>=8.0.0'}
|
1883 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1884 |
'@pkgjs/[email protected]':
|
1885 |
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
|
1886 |
engines: {node: '>=14'}
|
|
|
1892 |
'@polka/[email protected]':
|
1893 |
resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==}
|
1894 |
|
1895 |
+
'@radix-ui/[email protected]':
|
1896 |
+
resolution: {integrity: sha512-V3gRzhVNU1ldS5XhAPTom1fOIo4ccrjjJgmE+LI2h/WaFpHmx0MQApT+KZHnx8abG6Avtfcz4WoEciMnpFT3HQ==}
|
1897 |
+
|
1898 |
'@radix-ui/[email protected]':
|
1899 |
resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==}
|
1900 |
|
|
|
1927 |
'@types/react-dom':
|
1928 |
optional: true
|
1929 |
|
1930 |
+
'@radix-ui/[email protected]':
|
1931 |
+
resolution: {integrity: sha512-PliMB63vxz7vggcyq0IxNYk8vGDrLXVWw4+W4B8YnwI1s18x7YZYqlG9PLX7XxAJUi0g2DxP4XKJMFHh/iVh9A==}
|
1932 |
+
peerDependencies:
|
1933 |
+
'@types/react': '*'
|
1934 |
+
'@types/react-dom': '*'
|
1935 |
+
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
1936 |
+
react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
1937 |
+
peerDependenciesMeta:
|
1938 |
+
'@types/react':
|
1939 |
+
optional: true
|
1940 |
+
'@types/react-dom':
|
1941 |
+
optional: true
|
1942 |
+
|
1943 |
'@radix-ui/[email protected]':
|
1944 |
resolution: {integrity: sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==}
|
1945 |
peerDependencies:
|
|
|
2037 |
'@types/react-dom':
|
2038 |
optional: true
|
2039 |
|
2040 |
+
'@radix-ui/[email protected].4':
|
2041 |
+
resolution: {integrity: sha512-XDUI0IVYVSwjMXxM6P4Dfti7AH+Y4oS/TB+sglZ/EXc7cqLwGAmp1NlMrcUjj7ks6R5WTZuWKv44FBbLpwU3sA==}
|
2042 |
peerDependencies:
|
2043 |
'@types/react': '*'
|
2044 |
'@types/react-dom': '*'
|
|
|
2120 |
'@types/react-dom':
|
2121 |
optional: true
|
2122 |
|
2123 |
+
'@radix-ui/[email protected].5':
|
2124 |
+
resolution: {integrity: sha512-YXkTAftOIW2Bt3qKH8vYr6n9gCkVrvyvfiTObVjoHVTHnNj26rmvO87IKa3VgtgCjb8FAQ6qOjNViwl+9iIzlg==}
|
2125 |
peerDependencies:
|
2126 |
'@types/react': '*'
|
2127 |
'@types/react-dom': '*'
|
|
|
2237 |
'@types/react-dom':
|
2238 |
optional: true
|
2239 |
|
2240 |
+
'@radix-ui/[email protected]':
|
2241 |
+
resolution: {integrity: sha512-6diOawA84f/eMxFHcWut0aE1C2kyE9dOyCTQOMRR2C/qPiXz/X0SaiA/RLbapQaXUCmy0/hLMf9meSccD1N0pA==}
|
2242 |
+
peerDependencies:
|
2243 |
+
'@types/react': '*'
|
2244 |
+
'@types/react-dom': '*'
|
2245 |
+
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
2246 |
+
react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
2247 |
+
peerDependenciesMeta:
|
2248 |
+
'@types/react':
|
2249 |
+
optional: true
|
2250 |
+
'@types/react-dom':
|
2251 |
+
optional: true
|
2252 |
+
|
2253 |
'@radix-ui/[email protected]':
|
2254 |
resolution: {integrity: sha512-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==}
|
2255 |
peerDependencies:
|
|
|
2263 |
'@types/react-dom':
|
2264 |
optional: true
|
2265 |
|
2266 |
+
'@radix-ui/[email protected]':
|
2267 |
+
resolution: {integrity: sha512-EFI1N/S3YxZEW/lJ/H1jY3njlvTd8tBmgKEn4GHi51+aMm94i6NmAJstsm5cu3yJwYqYc93gpCPm21FeAbFk6g==}
|
2268 |
+
peerDependencies:
|
2269 |
+
'@types/react': '*'
|
2270 |
+
'@types/react-dom': '*'
|
2271 |
+
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
2272 |
+
react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
2273 |
+
peerDependenciesMeta:
|
2274 |
+
'@types/react':
|
2275 |
+
optional: true
|
2276 |
+
'@types/react-dom':
|
2277 |
+
optional: true
|
2278 |
+
|
2279 |
'@radix-ui/[email protected]':
|
2280 |
resolution: {integrity: sha512-3uBAs+egzvJBDZAzvb/n4NxxOYpnspmWxO2u5NbZ8Y6FM/NdrGSF9bop3Cf6F6C71z1rTSn8KV0Fo2ZVd79lGA==}
|
2281 |
peerDependencies:
|
|
|
3474 |
resolution: {integrity: sha512-3Ek9H3X6pj5TgenXYtNWdaBon1tgYCaebd+XPg0keyjEbEfkD4KkmAxkQ/i1vYvxdcT5nscLBfq9VJRmCBcFSw==}
|
3475 |
engines: {node: '>= 0.10'}
|
3476 |
|
3477 | |
3478 |
+
resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
|
3479 |
+
|
3480 | |
3481 |
resolution: {integrity: sha512-bLSptAy2P0s6hU4PzuIMKmMJJSE6gLXGH1cntDu7bWJUksvuM+7ReOK61mozULErYvP6a15rnYl0zFDef+pyPw==}
|
3482 |
|
|
|
5637 |
'@types/react':
|
5638 |
optional: true
|
5639 |
|
5640 |
+
[email protected].3:
|
5641 |
+
resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==}
|
5642 |
engines: {node: '>=10'}
|
5643 |
peerDependencies:
|
5644 |
'@types/react': '*'
|
|
|
6535 |
'@types/react':
|
6536 |
optional: true
|
6537 |
|
6538 | |
6539 |
+
resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}
|
6540 |
+
engines: {node: '>=10'}
|
6541 |
+
peerDependencies:
|
6542 |
+
'@types/react': '*'
|
6543 |
+
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
|
6544 |
+
peerDependenciesMeta:
|
6545 |
+
'@types/react':
|
6546 |
+
optional: true
|
6547 |
+
|
6548 | |
6549 |
resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==}
|
6550 |
peerDependencies:
|
|
|
8533 |
|
8534 |
'@opentelemetry/[email protected]': {}
|
8535 |
|
|
|
|
|
|
|
|
|
|
|
8536 |
'@pkgjs/[email protected]':
|
8537 |
optional: true
|
8538 |
|
|
|
8540 |
|
8541 |
'@polka/[email protected]': {}
|
8542 |
|
8543 |
+
'@radix-ui/[email protected]': {}
|
8544 |
+
|
8545 |
'@radix-ui/[email protected]': {}
|
8546 |
|
8547 |
'@radix-ui/[email protected]': {}
|
|
|
8564 |
'@types/react': 18.3.12
|
8565 |
'@types/react-dom': 18.3.1
|
8566 |
|
8567 |
+
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8568 |
+
dependencies:
|
8569 |
+
'@radix-ui/primitive': 1.1.1
|
8570 |
+
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
|
8571 |
+
'@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
|
8572 |
+
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
|
8573 |
+
'@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8574 |
+
'@radix-ui/react-primitive': 2.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8575 |
+
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
|
8576 |
+
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
|
8577 |
+
react: 18.3.1
|
8578 |
+
react-dom: 18.3.1([email protected])
|
8579 |
+
optionalDependencies:
|
8580 |
+
'@types/react': 18.3.12
|
8581 |
+
'@types/react-dom': 18.3.1
|
8582 |
+
|
8583 |
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8584 |
dependencies:
|
8585 |
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
|
|
|
8671 |
'@types/react': 18.3.12
|
8672 |
'@types/react-dom': 18.3.1
|
8673 |
|
8674 |
+
'@radix-ui/[email protected].4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8675 |
dependencies:
|
8676 |
'@radix-ui/primitive': 1.1.1
|
8677 |
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
|
|
|
8760 |
'@types/react': 18.3.12
|
8761 |
'@types/react-dom': 18.3.1
|
8762 |
|
8763 |
+
'@radix-ui/[email protected].5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8764 |
dependencies:
|
8765 |
'@radix-ui/primitive': 1.1.1
|
8766 |
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
|
8767 |
'@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
|
8768 |
+
'@radix-ui/react-dismissable-layer': 1.1.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8769 |
'@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])
|
8770 |
'@radix-ui/react-focus-scope': 1.1.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8771 |
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
|
|
|
8778 |
aria-hidden: 1.2.4
|
8779 |
react: 18.3.1
|
8780 |
react-dom: 18.3.1([email protected])
|
8781 |
+
react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
|
8782 |
optionalDependencies:
|
8783 |
'@types/react': 18.3.12
|
8784 |
'@types/react-dom': 18.3.1
|
|
|
8877 |
'@types/react': 18.3.12
|
8878 |
'@types/react-dom': 18.3.1
|
8879 |
|
8880 |
+
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8881 |
+
dependencies:
|
8882 |
+
'@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
|
8883 |
+
'@radix-ui/react-primitive': 2.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8884 |
+
react: 18.3.1
|
8885 |
+
react-dom: 18.3.1([email protected])
|
8886 |
+
optionalDependencies:
|
8887 |
+
'@types/react': 18.3.12
|
8888 |
+
'@types/react-dom': 18.3.1
|
8889 |
+
|
8890 |
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8891 |
dependencies:
|
8892 |
'@radix-ui/primitive': 1.1.0
|
|
|
8904 |
'@types/react': 18.3.12
|
8905 |
'@types/react-dom': 18.3.1
|
8906 |
|
8907 |
+
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8908 |
+
dependencies:
|
8909 |
+
'@radix-ui/number': 1.1.0
|
8910 |
+
'@radix-ui/primitive': 1.1.1
|
8911 |
+
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
|
8912 |
+
'@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
|
8913 |
+
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
|
8914 |
+
'@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8915 |
+
'@radix-ui/react-primitive': 2.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
8916 |
+
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
|
8917 |
+
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
|
8918 |
+
react: 18.3.1
|
8919 |
+
react-dom: 18.3.1([email protected])
|
8920 |
+
optionalDependencies:
|
8921 |
+
'@types/react': 18.3.12
|
8922 |
+
'@types/react-dom': 18.3.1
|
8923 |
+
|
8924 |
'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':
|
8925 |
dependencies:
|
8926 |
'@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
|
|
|
10457 |
inherits: 2.0.4
|
10458 |
safe-buffer: 5.2.1
|
10459 |
|
10460 | |
10461 |
+
dependencies:
|
10462 |
+
clsx: 2.1.1
|
10463 |
+
|
10464 | |
10465 |
|
10466 | |
|
|
13176 |
optionalDependencies:
|
13177 |
'@types/react': 18.3.12
|
13178 |
|
13179 |
+
[email protected].3(@types/[email protected])([email protected]):
|
13180 |
dependencies:
|
13181 |
react: 18.3.1
|
13182 |
react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])
|
13183 |
+
react-style-singleton: 2.2.3(@types/[email protected])([email protected])
|
13184 |
tslib: 2.8.1
|
13185 |
use-callback-ref: 1.3.3(@types/[email protected])([email protected])
|
13186 |
+
use-sidecar: 1.1.3(@types/[email protected])([email protected])
|
13187 |
optionalDependencies:
|
13188 |
'@types/react': 18.3.12
|
13189 |
|
|
|
14163 |
optionalDependencies:
|
14164 |
'@types/react': 18.3.12
|
14165 |
|
14166 |
+
[email protected](@types/[email protected])([email protected]):
|
14167 |
+
dependencies:
|
14168 |
+
detect-node-es: 1.1.0
|
14169 |
+
react: 18.3.1
|
14170 |
+
tslib: 2.8.1
|
14171 |
+
optionalDependencies:
|
14172 |
+
'@types/react': 18.3.12
|
14173 |
+
|
14174 | |
14175 |
dependencies:
|
14176 |
react: 18.3.1
|