Open-source marketplace for AI Agent skills. Features: - Next.js 15 web app with i18n (en/fa) - CLI tool for skill installation (npx skillhub) - GitHub crawler/indexer with multi-strategy discovery - Security scanning for all indexed skills - Self-hostable with Docker Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
516 B
TypeScript
22 lines
516 B
TypeScript
'use client';
|
|
|
|
import { SessionProvider } from 'next-auth/react';
|
|
import { ThemeProvider } from 'next-themes';
|
|
import { CsrfProvider } from '@/components/CsrfProvider';
|
|
|
|
interface ProvidersProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export function Providers({ children }: ProvidersProps) {
|
|
return (
|
|
<SessionProvider>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
<CsrfProvider>
|
|
{children}
|
|
</CsrfProvider>
|
|
</ThemeProvider>
|
|
</SessionProvider>
|
|
);
|
|
}
|