import a from"@contractspec/lib.ui-link";import{ChevronRight as l}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function r(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Compatibility"}),e("p",{className:"text-lg text-muted-foreground",children:"Supported runtimes, frameworks, and agent modes for ContractSpec."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Runtimes"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Node.js 20+"}),e("li",{children:"Bun 1.0+"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Frameworks"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Next.js 14+ (App Router preferred)"}),e("li",{children:"Bun + Elysia or compatible HTTP servers"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Package managers"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"bun (recommended)"}),e("li",{children:"npm"}),e("li",{children:"pnpm"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"AI agent modes"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"claude-code"}),e("li",{children:"openai-codex"}),e("li",{children:"cursor"}),e("li",{children:"opencode"}),e("li",{children:"simple (direct LLM)"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Datastores"}),e("p",{className:"text-muted-foreground",children:"ContractSpec ships with Prisma-friendly defaults and can integrate with custom adapters for other databases."}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"PostgreSQL via Prisma"}),e("li",{children:"Custom adapters for other SQL/NoSQL stores"})]})]})]}),t("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[e(a,{href:"/docs/getting-started/start-here",className:"btn-ghost",children:"Start here"}),e(a,{href:"/docs/getting-started/troubleshooting",className:"btn-ghost",children:"Troubleshooting"}),t(a,{href:"/docs/getting-started/installation",className:"btn-primary",children:["Next: Installation ",e(l,{size:16})]})]})]})}export{r as CompatibilityPage};
