import { User, Brain, MessageSquare, Target, Sparkles, Activity, Clock } from 'lucide-react' import { api, SecondMeProfile } from '@/lib/api' import { formatRelativeTime } from '@/lib/utils' // Force dynamic rendering - don't prerender at build time export const dynamic = 'force-dynamic' async function getProfile(): Promise { try { return await api.getSecondMeProfile() } catch (error) { console.error('Failed to fetch SecondMe profile:', error) return null } } export default async function SecondMePage() { const profile = await getProfile() return (
{/* Header */}

Second Me

Ваш персональний цифровий двійник

{/* Profile Card */}
{/* Avatar */}
{/* Info */}

{profile?.user_id || 'Гість'}

Агент: {profile?.agent_id || 'N/A'}

{/* Feature Sections */}
{/* Memory Section */} {/* Tasks Section */} {/* Agents Section */}
{/* Chat with Second Me */}

Поговорити з Second Me

Чат скоро буде доступний

Функція спілкування з вашим цифровим двійником буде додана в наступному оновленні. Second Me зможе відповідати на питання, допомагати з задачами та навчатися від вас.

{/* Input placeholder */}
) } function StatBadge({ icon: Icon, label, value }: { icon: React.ComponentType<{ className?: string }> label: string value: number | string }) { return (
{label}: {value}
) } function FeatureCard({ icon: Icon, title, description, status, }: { icon: React.ComponentType<{ className?: string }> title: string description: string status: 'active' | 'coming' }) { return (
{status === 'coming' && (
Скоро
)}

{title}

{description}

) }