// @bun
import{CodeBlock as d,InstallCommand as l}from"@contractspec/lib.design-system";import i from"@contractspec/lib.ui-link";import{ChevronRight as s,Code2 as r,Cpu as m,Layers as p,Terminal as g}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function N(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Developer Tools"}),e("p",{className:"text-lg text-muted-foreground",children:"Use the OSS toolchain to define contracts, validate changes, inspect generated surfaces, and adopt the system incrementally across different environments."})]}),e("div",{className:"grid gap-6 md:grid-cols-2",children:[{name:"CLI",href:"/docs/getting-started/tools/cli",description:"Command-line interface for spec creation, building, validation, and CI/CD integration.",icon:g,status:"available",highlights:["AI-powered code generation","Multiple agent modes","SARIF/JSON output"]},{name:"VS Code Extension",href:"/docs/getting-started/tools/vscode",description:"Real-time validation, scaffolding, and navigation directly in your editor.",icon:r,status:"available",highlights:["Specs Explorer sidebar","Watch mode","Interactive walkthroughs"]},{name:"ContractSpec Studio",href:"https://www.contractspec.studio",description:"The operating layer on top of OSS ContractSpec for teams that want evidence-backed decisions, workflow automation, and managed delivery loops.",icon:p,status:"available",highlights:["Evidence-to-decision loop","Compiled spec diffs and task packs","Exports to Linear, Jira, Notion, and GitHub"]},{name:"JetBrains Plugin",href:"#",description:"Full ContractSpec support for IntelliJ, WebStorm, and other JetBrains IDEs.",icon:m,status:"coming-soon",highlights:["Code navigation","Inline validation","Refactoring support"]}].map((a)=>{let c=a.icon,o=a.status==="coming-soon";return t("div",{className:`card-subtle relative space-y-4 p-6 ${o?"opacity-75":""}`,children:[o&&e("span",{className:"absolute -top-2 right-4 rounded-full bg-violet-500/20 px-2 py-0.5 font-medium text-violet-400 text-xs",children:"Coming Soon"}),t("div",{className:"flex items-center gap-3",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-violet-500/10",children:e(c,{className:"h-5 w-5 text-violet-400"})}),e("h3",{className:"font-bold text-lg",children:a.name})]}),e("p",{className:"text-muted-foreground text-sm",children:a.description}),e("ul",{className:"space-y-1",children:a.highlights.map((n)=>t("li",{className:"flex items-center gap-2 text-muted-foreground text-sm",children:[e("span",{className:"text-violet-400",children:"-"}),n]},n))}),!o&&t(i,{href:a.href,className:"btn-ghost inline-flex items-center gap-1 text-sm",children:["Learn more ",e(s,{size:14})]})]},a.name)})}),t("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Quick Install"}),t("div",{className:"space-y-3",children:[t("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"CLI"}),e(l,{package:"contractspec",dev:!0})]}),t("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"VS Code Extension"}),e(d,{language:"bash",code:"code --install-extension lssm.vscode-contractspec"})]})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[t(i,{href:"/docs/getting-started/tools/cli",className:"btn-primary",children:["Get Started with CLI ",e(s,{size:16})]}),e(i,{href:"/docs/getting-started/tools/vscode",className:"btn-ghost",children:"VS Code Extension"})]})]})}export{N as DeveloperToolsPage};
