var l=Object.defineProperty;var r=(o)=>o;function m(o,t){this[o]=r.bind(null,t)}var N=(o,t)=>{for(var i in t)l(o,i,{get:t[i],enumerable:!0,configurable:!0,set:m.bind(t,i)})};var b=(o,t)=>()=>(o&&(t=o(o=0)),t);import{CodeBlock as p,InstallCommand as g}from"@contractspec/lib.design-system";import s from"@contractspec/lib.ui-link";import{ChevronRight as d,Code2 as v,Cpu as u,Layers as h,Terminal as f}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function I(){return a("div",{className:"space-y-8",children:[a("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:f,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:v,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:h,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:u,status:"coming-soon",highlights:["Code navigation","Inline validation","Refactoring support"]}].map((t)=>{let i=t.icon,n=t.status==="coming-soon";return a("div",{className:`card-subtle relative space-y-4 p-6 ${n?"opacity-75":""}`,children:[n&&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"}),a("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(i,{className:"h-5 w-5 text-violet-400"})}),e("h3",{className:"font-bold text-lg",children:t.name})]}),e("p",{className:"text-muted-foreground text-sm",children:t.description}),e("ul",{className:"space-y-1",children:t.highlights.map((c)=>a("li",{className:"flex items-center gap-2 text-muted-foreground text-sm",children:[e("span",{className:"text-violet-400",children:"-"}),c]},c))}),!n&&a(s,{href:t.href,className:"btn-ghost inline-flex items-center gap-1 text-sm",children:["Learn more ",e(d,{size:14})]})]},t.name)})}),a("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Quick Install"}),a("div",{className:"space-y-3",children:[a("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"CLI"}),e(g,{package:"contractspec",dev:!0})]}),a("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"VS Code Extension"}),e(p,{language:"bash",code:"code --install-extension lssm.vscode-contractspec"})]})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[a(s,{href:"/docs/getting-started/tools/cli",className:"btn-primary",children:["Get Started with CLI ",e(d,{size:16})]}),e(s,{href:"/docs/getting-started/tools/vscode",className:"btn-ghost",children:"VS Code Extension"})]})]})}export{I as DeveloperToolsPage};
