// @bun
var r=Object.defineProperty;var i=(t)=>t;function d(t,o){this[t]=i.bind(null,o)}var p=(t,o)=>{for(var l in o)r(t,l,{get:o[l],enumerable:!0,configurable:!0,set:d.bind(o,l)})};var h=(t,o)=>()=>(t&&(o=t(t=0)),o);import{CodeBlock as c,InstallCommand as s}from"@contractspec/lib.design-system";import n from"@contractspec/lib.ui-link";import{ChevronRight as m}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Start here"}),e("p",{className:"text-lg text-muted-foreground",children:"A fast onboarding path from install to your first generated contract."})]}),a("div",{className:"space-y-6",children:[a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Install the CLI"}),e(s,{package:"contractspec",dev:!0})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Generate repo-local guidance"}),e(c,{language:"bash",filename:"start-here-onboard",code:`contractspec onboard
# optional focused track
contractspec onboard knowledge --example knowledge-canon`})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Initialize your project"}),e(c,{language:"bash",filename:"start-here-init",code:"bunx contractspec init"})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Author your first contract"}),e(c,{language:"bash",filename:"start-here-create",code:"contractspec create --type operation"})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Generate implementation"}),e(c,{language:"bash",filename:"start-here-build",code:`contractspec generate
contractspec validate`})]})]}),a("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[a(n,{href:"/docs/getting-started/hello-world",className:"btn-primary",children:["Next: Hello World ",e(m,{size:16})]}),e(n,{href:"/docs/getting-started/troubleshooting",className:"btn-ghost",children:"Troubleshooting"}),e(n,{href:"/docs/getting-started/compatibility",className:"btn-ghost",children:"Compatibility"})]})]})}export{N as StartHerePage};
