@autocode-cli/autocode 0.23.0 → 0.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{CMIuQb6D.js → 3sXGt5Rd.js} +1 -1
- package/.output/public/_nuxt/{kZiZQgsI.js → BBEbwH8D.js} +1 -1
- package/.output/public/_nuxt/{BiqphZN8.js → BD91kv0Y.js} +1 -1
- package/.output/public/_nuxt/{g7WOzF8b.js → BOlW1kmw.js} +1 -1
- package/.output/public/_nuxt/{CTbIP459.js → BQA5mXKu.js} +1 -1
- package/.output/public/_nuxt/{Bn2y2u4i.js → BZVoUal8.js} +1 -1
- package/.output/public/_nuxt/{BXorvbPI.js → Be7frmwh.js} +1 -1
- package/.output/public/_nuxt/{D0HHOq4k.js → BpO4XY0_.js} +3 -3
- package/.output/public/_nuxt/{DxFm2Qrx.js → BuvntByx.js} +1 -1
- package/.output/public/_nuxt/{D9fas07B.js → BuzdD3AW.js} +1 -1
- package/.output/public/_nuxt/{ClY4a-PO.js → Bw7FWqV0.js} +1 -1
- package/.output/public/_nuxt/{BU6KT1Jg.js → C7io_DSW.js} +1 -1
- package/.output/public/_nuxt/{B6pOO9Bz.js → CNk26ZYn.js} +1 -1
- package/.output/public/_nuxt/{4sw7JTbp.js → Cds_QjoL.js} +1 -1
- package/.output/public/_nuxt/{D1JH-OfY.js → D-wynznW.js} +1 -1
- package/.output/public/_nuxt/{BJz8iexS.js → D76qSnWT.js} +1 -1
- package/.output/public/_nuxt/{c4NRZ8AG.js → DD1ePXYS.js} +1 -1
- package/.output/public/_nuxt/{DuqM_LGj.js → DDWI4XwX.js} +1 -1
- package/.output/public/_nuxt/{mty-mFWB.js → DFrkGi3U.js} +1 -1
- package/.output/public/_nuxt/{BAAVMorC.js → DIXqNKPo.js} +1 -1
- package/.output/public/_nuxt/{Byshfb8L.js → DM4Ho2Bv.js} +1 -1
- package/.output/public/_nuxt/{kNuGsBnB.js → DpoEnJ3J.js} +1 -1
- package/.output/public/_nuxt/{DbZiOpag.js → Du9kBm9P.js} +1 -1
- package/.output/public/_nuxt/{BJ-MtkWm.js → Dv0ot_Lu.js} +1 -1
- package/.output/public/_nuxt/{DAd8dbng.js → FqD3jYDA.js} +1 -1
- package/.output/public/_nuxt/{BtXQIoy8.js → L_n8XUuv.js} +1 -1
- package/.output/public/_nuxt/{BMCm0zjc.js → LrqIIcWX.js} +1 -1
- package/.output/public/_nuxt/{C10TWEVH.js → OyKw9-Gx.js} +1 -1
- package/.output/public/_nuxt/{BdgB0Sk8.js → aTnkUihz.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/e54571d7-66b0-4c23-8da2-367054427374.json +1 -0
- package/.output/public/_nuxt/{DNMLSDtV.js → kfPKQYdW.js} +1 -1
- package/.output/public/_nuxt/{C2rmiAJ1.js → oLlK4WXl.js} +1 -1
- package/.output/public/_payload.json +1 -1
- package/.output/public/index.html +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/server.mjs +2 -2
- package/.output/server/chunks/build/styles.mjs +5 -5
- package/.output/server/chunks/nitro/nitro.mjs +226 -226
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/builds/meta/35ace9c2-472c-4755-ae87-74fdb84336dd.json +0 -1
- /package/.output/public/_i18n/{__ad3z6g → r7fAfybn}/en/messages.json +0 -0
- /package/.output/public/_i18n/{__ad3z6g → r7fAfybn}/fr/messages.json +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as m,r as $,o as O,a as G,c as r,b as d,_ as A,u as f,e as n,f as g,w as S,g as T,t as e,h as o,i as E,j as F,k as I,l as P,m as U,n as X,F as w,p as x,q as R,s as Y}from"./D0HHOq4k.js";import{_ as D}from"./C2rmiAJ1.js";import{_ as J}from"./D9fas07B.js";const K=m({__name:"LandingMatrixBg",setup(h){const t=$(null),l=['autocode new "Fix login bug" -p P1',"autocode serve --expose","autocode next AC-000042","autocode move AC-000001 review","autocode pipeline show default","autocode stats --session","autocode health --verbose","autocode list --tree","autocode history AC-000015 --full",'autocode comment AC-000003 "Done"',"autocode catalog add security-audit","autocode init && autocode serve","GET /api/issues?column=in-progress","POST /api/issues { title, priority }","PATCH /api/issues/AC-000001","POST /api/issues/:id/next","GET /api/pipelines/default","GET /api/workflow/health","POST /api/issues/:id/comments","GET /api/stats",'claude -p "Review this code"','claude -p "Fix the failing tests"','claude -p "Add security validation"','claude -p "Refactor for clarity"',"await claude.execute(prompt)",'claude --model opus "Analyze"',"pipeline.advance(issue)","if (review.passed) next()","while (!tests.green) retry()","bestPractices.validate(code)","security.audit(changes)","duplication.detect(diff)","consistency.check(style)","prisma.issue.findMany()","prisma.issue.update({ data })","await prisma.$transaction()","SELECT * FROM issues WHERE done"],i=["rgba(99, 102, 241, ","rgba(139, 92, 246, ","rgba(168, 85, 247, ","rgba(192, 132, 252, ","rgba(236, 72, 153, "];let a=[],s=null;function v(){const _=t.value;if(!_)return;const L=()=>{_.width=window.innerWidth,_.height=window.innerHeight};L(),window.addEventListener("resize",L);const u=_.getContext("2d");if(!u)return;const z=Math.floor(window.innerWidth/60);a=[];for(let C=0;C<z;C++)b(_.width,_.height);function B(){if(!u||!_)return;u.clearRect(0,0,_.width,_.height);const C=Date.now();for(let M=a.length-1;M>=0;M--){const c=a[M];if(c.phase==="writing")c.charIndex+=c.speed*.5,c.charIndex>=c.text.length&&(c.phase="visible",c.visibleTime=C);else if(c.phase==="visible")C-c.visibleTime>300+Math.random()*500&&(c.phase="fading");else if(c.phase==="fading"&&(c.opacity-=.03*c.speed,c.opacity<=0)){a.splice(M,1),b(_.width,_.height);continue}u.font=`${c.fontSize}px 'JetBrains Mono', 'Fira Code', monospace`;const H=c.text.substring(0,Math.floor(c.charIndex));if(u.shadowColor=c.color+"0.5)",u.shadowBlur=8,u.fillStyle=c.color+(c.opacity*.8).toFixed(2)+")",u.fillText(H,c.x,c.y),u.shadowBlur=0,u.fillStyle=c.color+c.opacity.toFixed(2)+")",u.fillText(H,c.x,c.y),c.phase==="writing"&&Math.floor(C/100)%2===0){const j=c.x+u.measureText(H).width;u.fillStyle=c.color+"0.9)",u.fillRect(j+2,c.y-c.fontSize+4,2,c.fontSize)}}s=requestAnimationFrame(B)}B()}function b(_,L){const u=10+Math.random()*6,z=l[Math.floor(Math.random()*l.length)];a.push({x:Math.random()*(_-300),y:50+Math.random()*(L-100),text:z,charIndex:0,opacity:.2+Math.random()*.4,speed:.5+Math.random()*3.5,color:i[Math.floor(Math.random()*i.length)],phase:"writing",visibleTime:0,fontSize:u})}return O(()=>{v()}),G(()=>{s&&cancelAnimationFrame(s)}),(_,L)=>(d(),r("canvas",{ref_key:"canvasRef",ref:t,class:"landing-matrix-bg","aria-hidden":"true"},null,512))}}),Q=Object.assign(A(K,[["__scopeId","data-v-b5216f08"]]),{__name:"LandingMatrixBg"}),Z={class:"landing-nav"},nn={class:"landing-nav-container"},tn={class:"landing-nav-links"},en={href:"#features"},on={href:"#workflow"},an={href:"#installation"},sn={href:"#faq"},ln={href:"#api"},dn={class:"landing-nav-right"},cn=m({__name:"LandingNav",setup(h){const{t}=f(),l=$(!1);return O(()=>{l.value=window.location.host.endsWith(".gitlab.io")}),(i,a)=>{const s=D,v=J;return d(),r("nav",Z,[n("div",nn,[g(s,{to:"/",class:"landing-logo"},{default:S(()=>[...a[0]||(a[0]=[n("span",null,"⚡",-1),T(" AutoCode ",-1),n("span",{class:"landing-beta-badge"},"BETA",-1)])]),_:1}),n("ul",tn,[n("li",null,[n("a",en,e(o(t)("landing.nav.features")),1)]),n("li",null,[n("a",on,e(o(t)("landing.nav.workflow")),1)]),n("li",null,[n("a",an,e(o(t)("landing.nav.installation")),1)]),n("li",null,[n("a",sn,e(o(t)("landing.nav.faq")),1)]),n("li",null,[n("a",ln,e(o(t)("landing.nav.api")),1)])]),n("div",dn,[g(v),o(l)?F("",!0):(d(),E(s,{key:0,to:"/kanban",class:"landing-nav-cta"},{default:S(()=>[T(e(o(t)("landing.nav.dashboard")),1)]),_:1}))])])])}}}),rn=Object.assign(cn,{__name:"LandingNav"}),pn={class:"landing-hero"},un={class:"landing-hero-content"},_n={class:"landing-hero-badge"},gn={class:"gradient"},mn={class:"landing-hero-buttons"},hn={href:"#installation",class:"landing-btn landing-btn-primary"},vn=m({__name:"LandingHero",setup(h){const{t}=f();return(l,i)=>(d(),r("section",pn,[n("div",un,[n("div",_n,[i[0]||(i[0]=n("span",null,"Wrapper",-1)),n("span",null,e(o(t)("landing.hero.badge")),1)]),n("h1",null,[T(e(o(t)("landing.hero.title1")),1),i[1]||(i[1]=n("br",null,null,-1)),n("span",gn,e(o(t)("landing.hero.title2")),1)]),n("p",null,e(o(t)("landing.hero.description")),1),n("div",mn,[n("a",hn,[T(e(o(t)("landing.hero.cta"))+" ",1),i[2]||(i[2]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1))]),i[3]||(i[3]=I('<a href="https://gitlab.com/evkoh/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z"></path></svg> npm </a>',2))]),i[4]||(i[4]=I('<div class="landing-terminal"><div class="landing-terminal-header"><span class="landing-terminal-dot red"></span><span class="landing-terminal-dot yellow"></span><span class="landing-terminal-dot green"></span></div><div class="landing-terminal-body"><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">npm install -g @autocode-cli/autocode</span></div><div class="landing-terminal-output"><span style="color:#22c55e;">+ @autocode-cli/autocode installed</span></div><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">autocode serve</span></div><div class="landing-terminal-output"> Dashboard available at <span class="landing-terminal-accent">http://localhost:3000</span></div></div></div>',1))])]))}}),fn=Object.assign(vn,{__name:"LandingHero"}),yn={id:"demo",class:"landing-section landing-demo"},kn={class:"landing-demo-content"},wn={key:1,href:"https://gitlab.com/evkoh/autocode",target:"_blank",class:"landing-btn landing-btn-primary landing-btn-large"},bn=m({__name:"LandingDemo",setup(h){const{t}=f(),l=$(!1);return O(()=>{const i=window.location.hostname;l.value=i==="localhost"||i==="127.0.0.1"}),(i,a)=>{const s=D;return d(),r("section",yn,[n("div",kn,[n("h2",null,e(o(t)("landing.demo.title")),1),n("p",null,e(o(t)("landing.demo.description")),1),o(l)?(d(),E(s,{key:0,to:"/kanban",class:"landing-btn landing-btn-primary landing-btn-large"},{default:S(()=>[T(e(o(t)("landing.demo.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]),_:1})):(d(),r("a",wn,[T(e(o(t)("landing.demo.ctaGitlab"))+" ",1),a[1]||(a[1]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]))])])}}}),$n=Object.assign(A(bn,[["__scopeId","data-v-5e25f58c"]]),{__name:"LandingDemo"}),xn={id:"podcast",class:"landing-section"},Ln={class:"landing-section-header"},Cn={class:"landing-podcast-player"},Mn=["src"],An={class:"podcast-info"},Tn={class:"podcast-meta"},zn={class:"podcast-lang-badge"},Hn={class:"podcast-controls"},Bn=["disabled"],jn={key:0,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Pn={key:1,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Sn={class:"podcast-progress-bar"},Fn={class:"podcast-time"},In={class:"podcast-speed"},On=["onClick"],Rn={class:"podcast-volume"},qn=["value"],Vn=m({__name:"LandingPodcast",setup(h){const{t,locale:l}=f(),i=$(null),a=$(!1),s=$(0),v=$(0),b=$(1),_=$(1),L=$(!1),u=P(()=>`./media/podcast/${l.value}.m4a`),z=P(()=>M(s.value)),B=P(()=>M(v.value)),C=P(()=>v.value>0?s.value/v.value*100:0);function M(y){const p=Math.floor(y/60),k=Math.floor(y%60);return`${p}:${k.toString().padStart(2,"0")}`}function c(){i.value&&(a.value?i.value.pause():i.value.play())}function H(){i.value&&(s.value=i.value.currentTime)}function j(){i.value&&(v.value=i.value.duration,L.value=!0)}function q(y){if(!i.value||!v.value)return;const k=y.currentTarget.getBoundingClientRect(),N=(y.clientX-k.left)/k.width;i.value.currentTime=N*v.value}function V(y){_.value=y,i.value&&(i.value.playbackRate=y)}function W(y){const p=y.target;b.value=parseFloat(p.value),i.value&&(i.value.volume=b.value)}return U(l,()=>{if(i.value){const y=a.value,p=s.value;i.value.load(),i.value.currentTime=p,y&&i.value.play()}}),(y,p)=>(d(),r("section",xn,[n("div",Ln,[n("h2",null,e(o(t)("landing.podcast.title")),1),n("p",null,e(o(t)("landing.podcast.description")),1)]),n("div",Cn,[n("audio",{ref_key:"audioRef",ref:i,src:o(u),preload:"metadata",onTimeupdate:H,onLoadedmetadata:j,onPlay:p[0]||(p[0]=k=>a.value=!0),onPause:p[1]||(p[1]=k=>a.value=!1),onEnded:p[2]||(p[2]=k=>a.value=!1)},null,40,Mn),n("div",An,[p[3]||(p[3]=n("div",{class:"podcast-artwork"},[n("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"currentColor"},[n("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})])],-1)),n("div",Tn,[n("h3",null,e(o(t)("landing.podcast.episode")),1),n("span",zn,e(o(l).toUpperCase()),1)])]),n("div",Hn,[n("button",{class:"podcast-play-btn",disabled:!o(L),onClick:c},[o(a)?(d(),r("svg",Pn,[...p[5]||(p[5]=[n("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"},null,-1)])])):(d(),r("svg",jn,[...p[4]||(p[4]=[n("path",{d:"M8 5v14l11-7z"},null,-1)])]))],8,Bn),n("div",{class:"podcast-progress-container",onClick:q},[n("div",Sn,[n("div",{class:"podcast-progress-fill",style:X({width:`${o(C)}%`})},null,4)]),n("div",Fn,[n("span",null,e(o(z)),1),n("span",null,e(o(B)),1)])]),n("div",In,[(d(),r(w,null,x([.5,1,1.5,2],k=>n("button",{key:k,class:R({active:o(_)===k}),onClick:N=>V(k)},e(k)+"x ",11,On)),64))]),n("div",Rn,[p[6]||(p[6]=n("svg",{width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},[n("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z"})],-1)),n("input",{type:"range",min:"0",max:"1",step:"0.1",value:o(b),onInput:W},null,40,qn)])])])]))}}),En=Object.assign(A(Vn,[["__scopeId","data-v-5dee128b"]]),{__name:"LandingPodcast"}),Dn={id:"features",class:"landing-section"},Nn={class:"landing-section-header"},Wn={class:"landing-features-grid"},Gn={class:"landing-feature-icon"},Un=m({__name:"LandingFeatures",setup(h){const{t}=f(),l=[{icon:"🎯",key:"wrapper"},{icon:"🛡️",key:"pipeline"},{icon:"⏱️",key:"time"},{icon:"🗄️",key:"filesystem"},{icon:"📊",key:"kanban"},{icon:"🔧",key:"custom"},{icon:"💰",key:"cost"},{icon:"🪄",key:"autocreate",highlight:!0},{icon:"🌐",key:"expose"}];return(i,a)=>(d(),r("section",Dn,[n("div",Nn,[n("h2",null,e(o(t)("landing.features.title")),1),n("p",null,e(o(t)("landing.features.subtitle")),1)]),n("div",Wn,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:R(["landing-feature-card",{highlight:s.highlight}])},[n("div",Gn,e(s.icon),1),n("h3",null,e(o(t)(`landing.features.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.features.${s.key}.desc`)),1)],2)),64))])]))}}),Xn=Object.assign(Un,{__name:"LandingFeatures"}),Yn={id:"pipeline",class:"landing-section"},Jn={class:"landing-section-header"},Kn={class:"landing-pipeline-flow"},Qn={class:"phase-icon"},Zn={key:0,class:"phase-items"},nt={key:0,class:"pipeline-arrow"},tt={class:"landing-pipeline-note"},et=m({__name:"LandingPipeline",setup(h){const{t}=f(),l=[{key:"create",icon:"📝",color:"blue"},{key:"reviews",icon:"🔍",color:"purple",items:["bestPractices","duplication","consistency","security"]},{key:"tests",icon:"🧪",color:"orange"},{key:"deploy",icon:"🚀",color:"green"}];return(i,a)=>(d(),r("section",Yn,[n("div",Jn,[n("h2",null,e(o(t)("landing.pipeline.title")),1),n("p",null,e(o(t)("landing.pipeline.subtitle")),1)]),n("div",Kn,[(d(),r(w,null,x(l,(s,v)=>(d(),r(w,{key:s.key},[n("div",{class:R(["pipeline-phase",`pipeline-phase-${s.color}`])},[n("div",Qn,e(s.icon),1),n("h3",null,e(o(t)(`landing.pipeline.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.pipeline.${s.key}.desc`)),1),s.items?(d(),r("div",Zn,[(d(!0),r(w,null,x(s.items,b=>(d(),r("span",{key:b,class:"phase-item"},e(o(t)(`landing.pipeline.reviews.${b}`)),1))),128))])):F("",!0)],2),v<l.length-1?(d(),r("div",nt,[...a[0]||(a[0]=[n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1)])])):F("",!0)],64))),64))]),n("div",tt,[a[1]||(a[1]=n("span",{class:"note-icon"},"💡",-1)),n("p",null,e(o(t)("landing.pipeline.note")),1)])]))}}),ot=Object.assign(A(et,[["__scopeId","data-v-b084b36d"]]),{__name:"LandingPipeline"}),at={id:"workflow",class:"landing-section landing-workflow"},st={class:"landing-section-header"},it={class:"landing-workflow-container"},lt={class:"landing-workflow-steps"},dt={class:"landing-step-number"},ct={class:"landing-step-content"},rt=m({__name:"LandingWorkflow",setup(h){const{t}=f(),l=[{number:"1",key:"install"},{number:"2",key:"init"},{number:"3",key:"create"},{number:"4",key:"serve"}];return(i,a)=>(d(),r("section",at,[n("div",st,[n("h2",null,e(o(t)("landing.workflow.title")),1),n("p",null,e(o(t)("landing.workflow.subtitle")),1)]),n("div",it,[n("div",lt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-workflow-step"},[n("div",dt,e(s.number),1),n("div",ct,[n("h4",null,e(o(t)(`landing.workflow.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.workflow.${s.key}.desc`)),1)])])),64))])])]))}}),pt=Object.assign(rt,{__name:"LandingWorkflow"}),ut={id:"autonomy",class:"landing-section"},_t={class:"landing-section-header"},gt={class:"landing-autonomy-grid"},mt={class:"autonomy-icon"},ht={class:"landing-autonomy-workflow"},vt={class:"workflow-header"},ft={class:"workflow-content"},yt={class:"workflow-source"},kt={class:"workflow-node source-node"},wt={class:"node-text"},bt={class:"workflow-paths"},$t={class:"workflow-path path-1"},xt={class:"workflow-node action-node"},Lt={class:"node-text"},Ct={class:"workflow-path path-2"},Mt={class:"workflow-node action-node"},At={class:"node-text"},Tt={class:"workflow-path path-3"},zt={class:"workflow-node action-node"},Ht={class:"node-text"},Bt=m({__name:"LandingAutonomy",setup(h){const{t}=f(),l=[{key:"skip",icon:"⏭️"},{key:"correct",icon:"🔄"},{key:"spawn",icon:"🐣"}];return(i,a)=>(d(),r("section",ut,[n("div",_t,[n("h2",null,e(o(t)("landing.autonomy.title")),1),n("p",null,e(o(t)("landing.autonomy.subtitle")),1)]),n("div",gt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-autonomy-card"},[n("div",mt,e(s.icon),1),n("h3",null,e(o(t)(`landing.autonomy.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.autonomy.${s.key}.desc`)),1)])),64))]),n("div",ht,[n("div",vt,[n("span",null,e(o(t)("landing.autonomy.codeTitle")),1)]),n("div",ft,[n("div",yt,[n("div",kt,[a[0]||(a[0]=n("span",{class:"node-icon"},"🔍",-1)),n("span",wt,e(o(t)("landing.autonomy.code.comment1")),1)])]),a[7]||(a[7]=n("div",{class:"workflow-arrow-down"},[n("svg",{width:"24",height:"40",viewBox:"0 0 24 40",fill:"none",stroke:"currentColor"},[n("path",{"stroke-width":"2",d:"M12 0v32m0 0l-6-6m6 6l6-6"})])],-1)),n("div",bt,[n("div",$t,[a[2]||(a[2]=n("div",{class:"path-condition"},"Hors scope ?",-1)),n("div",xt,[a[1]||(a[1]=n("span",{class:"node-icon"},"🐣",-1)),n("span",Lt,e(o(t)("landing.autonomy.code.comment2")),1)])]),n("div",Ct,[a[4]||(a[4]=n("div",{class:"path-condition"},"Dans le scope ?",-1)),n("div",Mt,[a[3]||(a[3]=n("span",{class:"node-icon"},"⚡",-1)),n("span",At,e(o(t)("landing.autonomy.code.comment3")),1)])]),n("div",Tt,[a[6]||(a[6]=n("div",{class:"path-condition"},"Amélioration ?",-1)),n("div",zt,[a[5]||(a[5]=n("span",{class:"node-icon"},"📝",-1)),n("span",Ht,e(o(t)("landing.autonomy.code.comment4")),1)])])])])])]))}}),jt=Object.assign(A(Bt,[["__scopeId","data-v-89440757"]]),{__name:"LandingAutonomy"}),Pt={id:"installation",class:"landing-section"},St={class:"landing-section-header"},Ft={class:"landing-install-container"},It={class:"landing-code-block"},Ot={class:"landing-code-header"},Rt={class:"landing-code-content"},qt={class:"landing-code-comment"},Vt={class:"landing-code-block"},Et={class:"landing-code-header"},Dt={class:"landing-code-content"},Nt={class:"landing-code-comment"},Wt={class:"landing-code-block"},Gt={class:"landing-code-header"},Ut={class:"landing-code-content"},Xt={class:"landing-code-comment"},Yt=m({__name:"LandingInstall",setup(h){const{t}=f(),l=async i=>{try{await navigator.clipboard.writeText(i)}catch{}};return(i,a)=>(d(),r("section",Pt,[n("div",St,[n("h2",null,e(o(t)("landing.install.title")),1),n("p",null,e(o(t)("landing.install.subtitle")),1)]),n("div",Ft,[n("div",It,[n("div",Ot,[n("span",null,e(o(t)("landing.install.step1")),1),n("button",{class:"landing-copy-btn",onClick:a[0]||(a[0]=s=>l("npm install -g @autocode-cli/autocode"))},e(o(t)("landing.install.copy")),1)]),n("div",Rt,[n("code",null,[n("span",qt,"# "+e(o(t)("landing.install.globalInstall")),1),a[3]||(a[3]=n("br",null,null,-1)),a[4]||(a[4]=n("span",{class:"landing-code-command"},"npm install -g @autocode-cli/autocode",-1))])])]),n("div",Vt,[n("div",Et,[n("span",null,e(o(t)("landing.install.step2")),1),n("button",{class:"landing-copy-btn",onClick:a[1]||(a[1]=s=>l("autocode init"))},e(o(t)("landing.install.copy")),1)]),n("div",Dt,[n("code",null,[n("span",Nt,"# "+e(o(t)("landing.install.initProject")),1),a[5]||(a[5]=n("br",null,null,-1)),a[6]||(a[6]=n("span",{class:"landing-code-command"},"autocode init",-1))])])]),n("div",Wt,[n("div",Gt,[n("span",null,e(o(t)("landing.install.step3")),1),n("button",{class:"landing-copy-btn",onClick:a[2]||(a[2]=s=>l("autocode serve"))},e(o(t)("landing.install.copy")),1)]),n("div",Ut,[n("code",null,[n("span",Xt,"# "+e(o(t)("landing.install.startDashboard")),1),a[7]||(a[7]=n("br",null,null,-1)),a[8]||(a[8]=n("span",{class:"landing-code-command"},"autocode serve",-1))])])])])]))}}),Jt=Object.assign(Yt,{__name:"LandingInstall"}),Kt={id:"commands",class:"landing-section"},Qt={class:"landing-section-header"},Zt={class:"landing-commands-table-wrapper"},ne={class:"landing-commands-table"},te=m({__name:"LandingCommands",setup(h){const{t}=f(),l=[{cmd:"autocode init",key:"init"},{cmd:"autocode serve",key:"serve"},{cmd:"autocode serve --expose",key:"expose"},{cmd:"autocode new <title> [desc]",key:"new"},{cmd:"autocode list",key:"list"},{cmd:"autocode show <key>",key:"show"},{cmd:"autocode next <key>",key:"next"},{cmd:"autocode move <key> <column>",key:"move"},{cmd:"autocode start <key>",key:"start"},{cmd:"autocode comment <key> <text>",key:"comment"},{cmd:"autocode history <key>",key:"history"},{cmd:"autocode parent <key> [parent]",key:"parent"},{cmd:"autocode stats",key:"stats"},{cmd:"autocode health",key:"health"},{cmd:"autocode pipeline <action>",key:"pipeline"},{cmd:"autocode catalog",key:"catalog"},{cmd:"autocode help",key:"help"}];return(i,a)=>(d(),r("section",Kt,[n("div",Qt,[n("h2",null,e(o(t)("landing.commands.title")),1),n("p",null,e(o(t)("landing.commands.subtitle")),1)]),n("div",Zt,[n("table",ne,[n("thead",null,[n("tr",null,[n("th",null,e(o(t)("landing.commands.command")),1),n("th",null,e(o(t)("landing.commands.description")),1)])]),n("tbody",null,[(d(),r(w,null,x(l,s=>n("tr",{key:s.key},[n("td",null,[n("code",null,e(s.cmd),1)]),n("td",null,e(o(t)(`landing.commands.${s.key}`)),1)])),64))])])])]))}}),ee=Object.assign(A(te,[["__scopeId","data-v-dc1385aa"]]),{__name:"LandingCommands"}),oe={id:"architecture",class:"landing-section"},ae={class:"landing-section-header"},se={class:"landing-architecture-flow"},ie={class:"flow-step"},le={class:"flow-step success"},de={class:"landing-architecture-details"},ce={class:"detail-icon"},re=m({__name:"LandingArchitecture",setup(h){const{t}=f(),l=[{key:"storage",icon:"🗄️"},{key:"interfaces",icon:"🔌"},{key:"tech",icon:"⚙️"}];return(i,a)=>(d(),r("section",oe,[n("div",ae,[n("h2",null,e(o(t)("landing.architecture.title")),1),n("p",null,e(o(t)("landing.architecture.subtitle")),1)]),n("div",se,[n("div",ie,[a[0]||(a[0]=n("div",{class:"flow-icon"},"👤",-1)),n("span",null,e(o(t)("landing.architecture.flow.you")),1)]),a[2]||(a[2]=I('<div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step highlight" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>⚡</div><span data-v-ab99f707>AutoCode</span></div><div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>🤖</div><span data-v-ab99f707>Claude Code</span></div><div class="flow-arrow" data-v-ab99f707>→</div>',5)),n("div",le,[a[1]||(a[1]=n("div",{class:"flow-icon"},"✅",-1)),n("span",null,e(o(t)("landing.architecture.flow.validated")),1)])]),n("div",de,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"architecture-detail-card"},[n("div",ce,e(s.icon),1),n("h3",null,e(o(t)(`landing.architecture.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.architecture.${s.key}.desc`)),1)])),64))])]))}}),pe=Object.assign(A(re,[["__scopeId","data-v-ab99f707"]]),{__name:"LandingArchitecture"}),ue={id:"api",class:"landing-section"},_e={class:"landing-section-header"},ge={class:"landing-api-grid"},me={class:"landing-api-endpoint"},he=m({__name:"LandingApi",setup(h){const{t}=f(),l=[{method:"get",endpoint:"/api/issues"},{method:"get",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues"},{method:"patch",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues/:id/move"},{method:"post",endpoint:"/api/issues/:id/next"},{method:"get",endpoint:"/api/issues/:id/comments"},{method:"post",endpoint:"/api/issues/:id/comments"},{method:"delete",endpoint:"/api/issues/:id/archive"},{method:"get",endpoint:"/api/columns"},{method:"get",endpoint:"/api/pipelines"},{method:"get",endpoint:"/api/stats"}];return(i,a)=>(d(),r("section",ue,[n("div",_e,[n("h2",null,e(o(t)("landing.api.title")),1),n("p",null,e(o(t)("landing.api.subtitle")),1)]),n("div",ge,[(d(),r(w,null,x(l,s=>n("div",{key:s.endpoint,class:"landing-api-card"},[n("span",{class:R(["landing-api-method",s.method])},e(s.method.toUpperCase()),3),n("span",me,e(s.endpoint),1)])),64))])]))}}),ve=Object.assign(he,{__name:"LandingApi"}),fe={id:"roadmap",class:"landing-section"},ye={class:"landing-section-header"},ke={class:"landing-roadmap-grid"},we={class:"roadmap-icon"},be={class:"roadmap-status"},$e={class:"landing-roadmap-cta"},xe={href:"https://gitlab.com/evkoh/autocode/-/issues",target:"_blank",class:"landing-btn landing-btn-secondary"},Le=m({__name:"LandingRoadmap",setup(h){const{t}=f(),l=[{key:"mcp",icon:"🔗"},{key:"catalog",icon:"📚"}];return(i,a)=>(d(),r("section",fe,[n("div",ye,[n("h2",null,e(o(t)("landing.roadmap.title")),1),n("p",null,e(o(t)("landing.roadmap.subtitle")),1)]),n("div",ke,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-roadmap-card"},[n("div",we,e(s.icon),1),n("h3",null,e(o(t)(`landing.roadmap.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.roadmap.${s.key}.desc`)),1),n("span",be,e(o(t)("landing.roadmap.coming")),1)])),64))]),n("div",$e,[n("a",xe,[T(e(o(t)("landing.roadmap.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1))])])]))}}),Ce=Object.assign(A(Le,[["__scopeId","data-v-c498be6d"]]),{__name:"LandingRoadmap"}),Me={id:"faq",class:"landing-section"},Ae={class:"landing-section-header"},Te={class:"landing-faq-container"},ze=m({__name:"LandingFaq",setup(h){const{t}=f(),l=["what","install","free","pipeline","claude","customize","database","testing"];return(i,a)=>(d(),r("section",Me,[n("div",Ae,[n("h2",null,e(o(t)("landing.faq.title")),1),n("p",null,e(o(t)("landing.faq.subtitle")),1)]),n("div",Te,[(d(),r(w,null,x(l,s=>n("div",{key:s,class:"landing-faq-item"},[n("h3",null,e(o(t)(`landing.faq.${s}.q`)),1),n("p",null,e(o(t)(`landing.faq.${s}.a`)),1)])),64))])]))}}),He=Object.assign(ze,{__name:"LandingFaq"}),Be={class:"landing-footer"},je={class:"landing-footer-content"},Pe={class:"landing-footer-brand"},Se={class:"landing-footer-tagline"},Fe={class:"landing-footer-nav"},Ie={class:"landing-footer-bottom"},Oe={class:"landing-footer-copy"},Re=m({__name:"LandingFooter",setup(h){const{t}=f(),l=new Date().getFullYear(),i=$(!1);return O(()=>{i.value=window.location.host.endsWith(".gitlab.io")}),(a,s)=>{const v=D;return d(),r("footer",Be,[n("div",je,[n("div",Pe,[s[0]||(s[0]=n("span",{class:"landing-footer-logo"},"AutoCode",-1)),n("span",Se,e(o(t)("landing.footer.madeWith")),1)]),n("nav",Fe,[s[1]||(s[1]=I('<a href="https://gitlab.com/evkoh/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z" data-v-63ea1028></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331z" data-v-63ea1028></path></svg> npm </a><a href="#api" data-v-63ea1028>API</a>',3)),o(i)?F("",!0):(d(),E(v,{key:0,to:"/kanban",class:"landing-footer-dashboard"},{default:S(()=>[T(e(o(t)("landing.footer.dashboard")),1)]),_:1}))]),n("div",Ie,[n("p",Oe," © "+e(o(l))+" AutoCode · "+e(o(t)("landing.footer.license")),1)])])])}}}),qe=Object.assign(A(Re,[["__scopeId","data-v-63ea1028"]]),{__name:"LandingFooter"}),Ve={class:"landing-page"},We=m({__name:"index",setup(h){const{t}=f();return Y({title:()=>t("landing.meta.title"),link:[{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"},{rel:"canonical",href:"https://autocode.dev/"}],meta:[{name:"description",content:()=>t("landing.meta.description")},{name:"keywords",content:()=>t("landing.meta.keywords")},{property:"og:type",content:"website"},{property:"og:url",content:"https://autocode.dev/"},{property:"og:title",content:()=>t("landing.meta.title")},{property:"og:description",content:()=>t("landing.meta.description")},{property:"og:site_name",content:"AutoCode"},{property:"og:image",content:"https://autocode.dev/og-image.svg"},{property:"og:image:width",content:"1200"},{property:"og:image:height",content:"630"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:()=>t("landing.meta.title")},{name:"twitter:description",content:()=>t("landing.meta.description")},{name:"twitter:image",content:"https://autocode.dev/og-image.svg"}]}),(l,i)=>{const a=Q,s=rn,v=fn,b=$n,_=En,L=Xn,u=ot,z=pt,B=jt,C=Jt,M=ee,c=pe,H=ve,j=Ce,q=He,V=qe;return d(),r("div",Ve,[g(a),g(s),g(v),g(b),g(_),g(L),g(u),g(z),g(B),g(C),g(M),g(c),g(H),g(j),g(q),g(V)])}}});export{We as default};
|
|
1
|
+
import{d as m,r as $,o as O,a as G,c as r,b as d,_ as A,u as f,e as n,f as g,w as S,g as T,t as e,h as o,i as E,j as F,k as I,l as P,m as U,n as X,F as w,p as x,q as R,s as Y}from"./BpO4XY0_.js";import{_ as D}from"./oLlK4WXl.js";import{_ as J}from"./BuzdD3AW.js";const K=m({__name:"LandingMatrixBg",setup(h){const t=$(null),l=['autocode new "Fix login bug" -p P1',"autocode serve --expose","autocode next AC-000042","autocode move AC-000001 review","autocode pipeline show default","autocode stats --session","autocode health --verbose","autocode list --tree","autocode history AC-000015 --full",'autocode comment AC-000003 "Done"',"autocode catalog add security-audit","autocode init && autocode serve","GET /api/issues?column=in-progress","POST /api/issues { title, priority }","PATCH /api/issues/AC-000001","POST /api/issues/:id/next","GET /api/pipelines/default","GET /api/workflow/health","POST /api/issues/:id/comments","GET /api/stats",'claude -p "Review this code"','claude -p "Fix the failing tests"','claude -p "Add security validation"','claude -p "Refactor for clarity"',"await claude.execute(prompt)",'claude --model opus "Analyze"',"pipeline.advance(issue)","if (review.passed) next()","while (!tests.green) retry()","bestPractices.validate(code)","security.audit(changes)","duplication.detect(diff)","consistency.check(style)","prisma.issue.findMany()","prisma.issue.update({ data })","await prisma.$transaction()","SELECT * FROM issues WHERE done"],i=["rgba(99, 102, 241, ","rgba(139, 92, 246, ","rgba(168, 85, 247, ","rgba(192, 132, 252, ","rgba(236, 72, 153, "];let a=[],s=null;function v(){const _=t.value;if(!_)return;const L=()=>{_.width=window.innerWidth,_.height=window.innerHeight};L(),window.addEventListener("resize",L);const u=_.getContext("2d");if(!u)return;const z=Math.floor(window.innerWidth/60);a=[];for(let C=0;C<z;C++)b(_.width,_.height);function B(){if(!u||!_)return;u.clearRect(0,0,_.width,_.height);const C=Date.now();for(let M=a.length-1;M>=0;M--){const c=a[M];if(c.phase==="writing")c.charIndex+=c.speed*.5,c.charIndex>=c.text.length&&(c.phase="visible",c.visibleTime=C);else if(c.phase==="visible")C-c.visibleTime>300+Math.random()*500&&(c.phase="fading");else if(c.phase==="fading"&&(c.opacity-=.03*c.speed,c.opacity<=0)){a.splice(M,1),b(_.width,_.height);continue}u.font=`${c.fontSize}px 'JetBrains Mono', 'Fira Code', monospace`;const H=c.text.substring(0,Math.floor(c.charIndex));if(u.shadowColor=c.color+"0.5)",u.shadowBlur=8,u.fillStyle=c.color+(c.opacity*.8).toFixed(2)+")",u.fillText(H,c.x,c.y),u.shadowBlur=0,u.fillStyle=c.color+c.opacity.toFixed(2)+")",u.fillText(H,c.x,c.y),c.phase==="writing"&&Math.floor(C/100)%2===0){const j=c.x+u.measureText(H).width;u.fillStyle=c.color+"0.9)",u.fillRect(j+2,c.y-c.fontSize+4,2,c.fontSize)}}s=requestAnimationFrame(B)}B()}function b(_,L){const u=10+Math.random()*6,z=l[Math.floor(Math.random()*l.length)];a.push({x:Math.random()*(_-300),y:50+Math.random()*(L-100),text:z,charIndex:0,opacity:.2+Math.random()*.4,speed:.5+Math.random()*3.5,color:i[Math.floor(Math.random()*i.length)],phase:"writing",visibleTime:0,fontSize:u})}return O(()=>{v()}),G(()=>{s&&cancelAnimationFrame(s)}),(_,L)=>(d(),r("canvas",{ref_key:"canvasRef",ref:t,class:"landing-matrix-bg","aria-hidden":"true"},null,512))}}),Q=Object.assign(A(K,[["__scopeId","data-v-b5216f08"]]),{__name:"LandingMatrixBg"}),Z={class:"landing-nav"},nn={class:"landing-nav-container"},tn={class:"landing-nav-links"},en={href:"#features"},on={href:"#workflow"},an={href:"#installation"},sn={href:"#faq"},ln={href:"#api"},dn={class:"landing-nav-right"},cn=m({__name:"LandingNav",setup(h){const{t}=f(),l=$(!1);return O(()=>{l.value=window.location.host.endsWith(".gitlab.io")}),(i,a)=>{const s=D,v=J;return d(),r("nav",Z,[n("div",nn,[g(s,{to:"/",class:"landing-logo"},{default:S(()=>[...a[0]||(a[0]=[n("span",null,"⚡",-1),T(" AutoCode ",-1),n("span",{class:"landing-beta-badge"},"BETA",-1)])]),_:1}),n("ul",tn,[n("li",null,[n("a",en,e(o(t)("landing.nav.features")),1)]),n("li",null,[n("a",on,e(o(t)("landing.nav.workflow")),1)]),n("li",null,[n("a",an,e(o(t)("landing.nav.installation")),1)]),n("li",null,[n("a",sn,e(o(t)("landing.nav.faq")),1)]),n("li",null,[n("a",ln,e(o(t)("landing.nav.api")),1)])]),n("div",dn,[g(v),o(l)?F("",!0):(d(),E(s,{key:0,to:"/kanban",class:"landing-nav-cta"},{default:S(()=>[T(e(o(t)("landing.nav.dashboard")),1)]),_:1}))])])])}}}),rn=Object.assign(cn,{__name:"LandingNav"}),pn={class:"landing-hero"},un={class:"landing-hero-content"},_n={class:"landing-hero-badge"},gn={class:"gradient"},mn={class:"landing-hero-buttons"},hn={href:"#installation",class:"landing-btn landing-btn-primary"},vn=m({__name:"LandingHero",setup(h){const{t}=f();return(l,i)=>(d(),r("section",pn,[n("div",un,[n("div",_n,[i[0]||(i[0]=n("span",null,"Wrapper",-1)),n("span",null,e(o(t)("landing.hero.badge")),1)]),n("h1",null,[T(e(o(t)("landing.hero.title1")),1),i[1]||(i[1]=n("br",null,null,-1)),n("span",gn,e(o(t)("landing.hero.title2")),1)]),n("p",null,e(o(t)("landing.hero.description")),1),n("div",mn,[n("a",hn,[T(e(o(t)("landing.hero.cta"))+" ",1),i[2]||(i[2]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1))]),i[3]||(i[3]=I('<a href="https://gitlab.com/evkoh/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z"></path></svg> npm </a>',2))]),i[4]||(i[4]=I('<div class="landing-terminal"><div class="landing-terminal-header"><span class="landing-terminal-dot red"></span><span class="landing-terminal-dot yellow"></span><span class="landing-terminal-dot green"></span></div><div class="landing-terminal-body"><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">npm install -g @autocode-cli/autocode</span></div><div class="landing-terminal-output"><span style="color:#22c55e;">+ @autocode-cli/autocode installed</span></div><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">autocode serve</span></div><div class="landing-terminal-output"> Dashboard available at <span class="landing-terminal-accent">http://localhost:3000</span></div></div></div>',1))])]))}}),fn=Object.assign(vn,{__name:"LandingHero"}),yn={id:"demo",class:"landing-section landing-demo"},kn={class:"landing-demo-content"},wn={key:1,href:"https://gitlab.com/evkoh/autocode",target:"_blank",class:"landing-btn landing-btn-primary landing-btn-large"},bn=m({__name:"LandingDemo",setup(h){const{t}=f(),l=$(!1);return O(()=>{const i=window.location.hostname;l.value=i==="localhost"||i==="127.0.0.1"}),(i,a)=>{const s=D;return d(),r("section",yn,[n("div",kn,[n("h2",null,e(o(t)("landing.demo.title")),1),n("p",null,e(o(t)("landing.demo.description")),1),o(l)?(d(),E(s,{key:0,to:"/kanban",class:"landing-btn landing-btn-primary landing-btn-large"},{default:S(()=>[T(e(o(t)("landing.demo.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]),_:1})):(d(),r("a",wn,[T(e(o(t)("landing.demo.ctaGitlab"))+" ",1),a[1]||(a[1]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]))])])}}}),$n=Object.assign(A(bn,[["__scopeId","data-v-5e25f58c"]]),{__name:"LandingDemo"}),xn={id:"podcast",class:"landing-section"},Ln={class:"landing-section-header"},Cn={class:"landing-podcast-player"},Mn=["src"],An={class:"podcast-info"},Tn={class:"podcast-meta"},zn={class:"podcast-lang-badge"},Hn={class:"podcast-controls"},Bn=["disabled"],jn={key:0,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Pn={key:1,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Sn={class:"podcast-progress-bar"},Fn={class:"podcast-time"},In={class:"podcast-speed"},On=["onClick"],Rn={class:"podcast-volume"},qn=["value"],Vn=m({__name:"LandingPodcast",setup(h){const{t,locale:l}=f(),i=$(null),a=$(!1),s=$(0),v=$(0),b=$(1),_=$(1),L=$(!1),u=P(()=>`./media/podcast/${l.value}.m4a`),z=P(()=>M(s.value)),B=P(()=>M(v.value)),C=P(()=>v.value>0?s.value/v.value*100:0);function M(y){const p=Math.floor(y/60),k=Math.floor(y%60);return`${p}:${k.toString().padStart(2,"0")}`}function c(){i.value&&(a.value?i.value.pause():i.value.play())}function H(){i.value&&(s.value=i.value.currentTime)}function j(){i.value&&(v.value=i.value.duration,L.value=!0)}function q(y){if(!i.value||!v.value)return;const k=y.currentTarget.getBoundingClientRect(),N=(y.clientX-k.left)/k.width;i.value.currentTime=N*v.value}function V(y){_.value=y,i.value&&(i.value.playbackRate=y)}function W(y){const p=y.target;b.value=parseFloat(p.value),i.value&&(i.value.volume=b.value)}return U(l,()=>{if(i.value){const y=a.value,p=s.value;i.value.load(),i.value.currentTime=p,y&&i.value.play()}}),(y,p)=>(d(),r("section",xn,[n("div",Ln,[n("h2",null,e(o(t)("landing.podcast.title")),1),n("p",null,e(o(t)("landing.podcast.description")),1)]),n("div",Cn,[n("audio",{ref_key:"audioRef",ref:i,src:o(u),preload:"metadata",onTimeupdate:H,onLoadedmetadata:j,onPlay:p[0]||(p[0]=k=>a.value=!0),onPause:p[1]||(p[1]=k=>a.value=!1),onEnded:p[2]||(p[2]=k=>a.value=!1)},null,40,Mn),n("div",An,[p[3]||(p[3]=n("div",{class:"podcast-artwork"},[n("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"currentColor"},[n("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})])],-1)),n("div",Tn,[n("h3",null,e(o(t)("landing.podcast.episode")),1),n("span",zn,e(o(l).toUpperCase()),1)])]),n("div",Hn,[n("button",{class:"podcast-play-btn",disabled:!o(L),onClick:c},[o(a)?(d(),r("svg",Pn,[...p[5]||(p[5]=[n("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"},null,-1)])])):(d(),r("svg",jn,[...p[4]||(p[4]=[n("path",{d:"M8 5v14l11-7z"},null,-1)])]))],8,Bn),n("div",{class:"podcast-progress-container",onClick:q},[n("div",Sn,[n("div",{class:"podcast-progress-fill",style:X({width:`${o(C)}%`})},null,4)]),n("div",Fn,[n("span",null,e(o(z)),1),n("span",null,e(o(B)),1)])]),n("div",In,[(d(),r(w,null,x([.5,1,1.5,2],k=>n("button",{key:k,class:R({active:o(_)===k}),onClick:N=>V(k)},e(k)+"x ",11,On)),64))]),n("div",Rn,[p[6]||(p[6]=n("svg",{width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},[n("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z"})],-1)),n("input",{type:"range",min:"0",max:"1",step:"0.1",value:o(b),onInput:W},null,40,qn)])])])]))}}),En=Object.assign(A(Vn,[["__scopeId","data-v-5dee128b"]]),{__name:"LandingPodcast"}),Dn={id:"features",class:"landing-section"},Nn={class:"landing-section-header"},Wn={class:"landing-features-grid"},Gn={class:"landing-feature-icon"},Un=m({__name:"LandingFeatures",setup(h){const{t}=f(),l=[{icon:"🎯",key:"wrapper"},{icon:"🛡️",key:"pipeline"},{icon:"⏱️",key:"time"},{icon:"🗄️",key:"filesystem"},{icon:"📊",key:"kanban"},{icon:"🔧",key:"custom"},{icon:"💰",key:"cost"},{icon:"🪄",key:"autocreate",highlight:!0},{icon:"🌐",key:"expose"}];return(i,a)=>(d(),r("section",Dn,[n("div",Nn,[n("h2",null,e(o(t)("landing.features.title")),1),n("p",null,e(o(t)("landing.features.subtitle")),1)]),n("div",Wn,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:R(["landing-feature-card",{highlight:s.highlight}])},[n("div",Gn,e(s.icon),1),n("h3",null,e(o(t)(`landing.features.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.features.${s.key}.desc`)),1)],2)),64))])]))}}),Xn=Object.assign(Un,{__name:"LandingFeatures"}),Yn={id:"pipeline",class:"landing-section"},Jn={class:"landing-section-header"},Kn={class:"landing-pipeline-flow"},Qn={class:"phase-icon"},Zn={key:0,class:"phase-items"},nt={key:0,class:"pipeline-arrow"},tt={class:"landing-pipeline-note"},et=m({__name:"LandingPipeline",setup(h){const{t}=f(),l=[{key:"create",icon:"📝",color:"blue"},{key:"reviews",icon:"🔍",color:"purple",items:["bestPractices","duplication","consistency","security"]},{key:"tests",icon:"🧪",color:"orange"},{key:"deploy",icon:"🚀",color:"green"}];return(i,a)=>(d(),r("section",Yn,[n("div",Jn,[n("h2",null,e(o(t)("landing.pipeline.title")),1),n("p",null,e(o(t)("landing.pipeline.subtitle")),1)]),n("div",Kn,[(d(),r(w,null,x(l,(s,v)=>(d(),r(w,{key:s.key},[n("div",{class:R(["pipeline-phase",`pipeline-phase-${s.color}`])},[n("div",Qn,e(s.icon),1),n("h3",null,e(o(t)(`landing.pipeline.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.pipeline.${s.key}.desc`)),1),s.items?(d(),r("div",Zn,[(d(!0),r(w,null,x(s.items,b=>(d(),r("span",{key:b,class:"phase-item"},e(o(t)(`landing.pipeline.reviews.${b}`)),1))),128))])):F("",!0)],2),v<l.length-1?(d(),r("div",nt,[...a[0]||(a[0]=[n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1)])])):F("",!0)],64))),64))]),n("div",tt,[a[1]||(a[1]=n("span",{class:"note-icon"},"💡",-1)),n("p",null,e(o(t)("landing.pipeline.note")),1)])]))}}),ot=Object.assign(A(et,[["__scopeId","data-v-b084b36d"]]),{__name:"LandingPipeline"}),at={id:"workflow",class:"landing-section landing-workflow"},st={class:"landing-section-header"},it={class:"landing-workflow-container"},lt={class:"landing-workflow-steps"},dt={class:"landing-step-number"},ct={class:"landing-step-content"},rt=m({__name:"LandingWorkflow",setup(h){const{t}=f(),l=[{number:"1",key:"install"},{number:"2",key:"init"},{number:"3",key:"create"},{number:"4",key:"serve"}];return(i,a)=>(d(),r("section",at,[n("div",st,[n("h2",null,e(o(t)("landing.workflow.title")),1),n("p",null,e(o(t)("landing.workflow.subtitle")),1)]),n("div",it,[n("div",lt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-workflow-step"},[n("div",dt,e(s.number),1),n("div",ct,[n("h4",null,e(o(t)(`landing.workflow.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.workflow.${s.key}.desc`)),1)])])),64))])])]))}}),pt=Object.assign(rt,{__name:"LandingWorkflow"}),ut={id:"autonomy",class:"landing-section"},_t={class:"landing-section-header"},gt={class:"landing-autonomy-grid"},mt={class:"autonomy-icon"},ht={class:"landing-autonomy-workflow"},vt={class:"workflow-header"},ft={class:"workflow-content"},yt={class:"workflow-source"},kt={class:"workflow-node source-node"},wt={class:"node-text"},bt={class:"workflow-paths"},$t={class:"workflow-path path-1"},xt={class:"workflow-node action-node"},Lt={class:"node-text"},Ct={class:"workflow-path path-2"},Mt={class:"workflow-node action-node"},At={class:"node-text"},Tt={class:"workflow-path path-3"},zt={class:"workflow-node action-node"},Ht={class:"node-text"},Bt=m({__name:"LandingAutonomy",setup(h){const{t}=f(),l=[{key:"skip",icon:"⏭️"},{key:"correct",icon:"🔄"},{key:"spawn",icon:"🐣"}];return(i,a)=>(d(),r("section",ut,[n("div",_t,[n("h2",null,e(o(t)("landing.autonomy.title")),1),n("p",null,e(o(t)("landing.autonomy.subtitle")),1)]),n("div",gt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-autonomy-card"},[n("div",mt,e(s.icon),1),n("h3",null,e(o(t)(`landing.autonomy.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.autonomy.${s.key}.desc`)),1)])),64))]),n("div",ht,[n("div",vt,[n("span",null,e(o(t)("landing.autonomy.codeTitle")),1)]),n("div",ft,[n("div",yt,[n("div",kt,[a[0]||(a[0]=n("span",{class:"node-icon"},"🔍",-1)),n("span",wt,e(o(t)("landing.autonomy.code.comment1")),1)])]),a[7]||(a[7]=n("div",{class:"workflow-arrow-down"},[n("svg",{width:"24",height:"40",viewBox:"0 0 24 40",fill:"none",stroke:"currentColor"},[n("path",{"stroke-width":"2",d:"M12 0v32m0 0l-6-6m6 6l6-6"})])],-1)),n("div",bt,[n("div",$t,[a[2]||(a[2]=n("div",{class:"path-condition"},"Hors scope ?",-1)),n("div",xt,[a[1]||(a[1]=n("span",{class:"node-icon"},"🐣",-1)),n("span",Lt,e(o(t)("landing.autonomy.code.comment2")),1)])]),n("div",Ct,[a[4]||(a[4]=n("div",{class:"path-condition"},"Dans le scope ?",-1)),n("div",Mt,[a[3]||(a[3]=n("span",{class:"node-icon"},"⚡",-1)),n("span",At,e(o(t)("landing.autonomy.code.comment3")),1)])]),n("div",Tt,[a[6]||(a[6]=n("div",{class:"path-condition"},"Amélioration ?",-1)),n("div",zt,[a[5]||(a[5]=n("span",{class:"node-icon"},"📝",-1)),n("span",Ht,e(o(t)("landing.autonomy.code.comment4")),1)])])])])])]))}}),jt=Object.assign(A(Bt,[["__scopeId","data-v-89440757"]]),{__name:"LandingAutonomy"}),Pt={id:"installation",class:"landing-section"},St={class:"landing-section-header"},Ft={class:"landing-install-container"},It={class:"landing-code-block"},Ot={class:"landing-code-header"},Rt={class:"landing-code-content"},qt={class:"landing-code-comment"},Vt={class:"landing-code-block"},Et={class:"landing-code-header"},Dt={class:"landing-code-content"},Nt={class:"landing-code-comment"},Wt={class:"landing-code-block"},Gt={class:"landing-code-header"},Ut={class:"landing-code-content"},Xt={class:"landing-code-comment"},Yt=m({__name:"LandingInstall",setup(h){const{t}=f(),l=async i=>{try{await navigator.clipboard.writeText(i)}catch{}};return(i,a)=>(d(),r("section",Pt,[n("div",St,[n("h2",null,e(o(t)("landing.install.title")),1),n("p",null,e(o(t)("landing.install.subtitle")),1)]),n("div",Ft,[n("div",It,[n("div",Ot,[n("span",null,e(o(t)("landing.install.step1")),1),n("button",{class:"landing-copy-btn",onClick:a[0]||(a[0]=s=>l("npm install -g @autocode-cli/autocode"))},e(o(t)("landing.install.copy")),1)]),n("div",Rt,[n("code",null,[n("span",qt,"# "+e(o(t)("landing.install.globalInstall")),1),a[3]||(a[3]=n("br",null,null,-1)),a[4]||(a[4]=n("span",{class:"landing-code-command"},"npm install -g @autocode-cli/autocode",-1))])])]),n("div",Vt,[n("div",Et,[n("span",null,e(o(t)("landing.install.step2")),1),n("button",{class:"landing-copy-btn",onClick:a[1]||(a[1]=s=>l("autocode init"))},e(o(t)("landing.install.copy")),1)]),n("div",Dt,[n("code",null,[n("span",Nt,"# "+e(o(t)("landing.install.initProject")),1),a[5]||(a[5]=n("br",null,null,-1)),a[6]||(a[6]=n("span",{class:"landing-code-command"},"autocode init",-1))])])]),n("div",Wt,[n("div",Gt,[n("span",null,e(o(t)("landing.install.step3")),1),n("button",{class:"landing-copy-btn",onClick:a[2]||(a[2]=s=>l("autocode serve"))},e(o(t)("landing.install.copy")),1)]),n("div",Ut,[n("code",null,[n("span",Xt,"# "+e(o(t)("landing.install.startDashboard")),1),a[7]||(a[7]=n("br",null,null,-1)),a[8]||(a[8]=n("span",{class:"landing-code-command"},"autocode serve",-1))])])])])]))}}),Jt=Object.assign(Yt,{__name:"LandingInstall"}),Kt={id:"commands",class:"landing-section"},Qt={class:"landing-section-header"},Zt={class:"landing-commands-table-wrapper"},ne={class:"landing-commands-table"},te=m({__name:"LandingCommands",setup(h){const{t}=f(),l=[{cmd:"autocode init",key:"init"},{cmd:"autocode serve",key:"serve"},{cmd:"autocode serve --expose",key:"expose"},{cmd:"autocode new <title> [desc]",key:"new"},{cmd:"autocode list",key:"list"},{cmd:"autocode show <key>",key:"show"},{cmd:"autocode next <key>",key:"next"},{cmd:"autocode move <key> <column>",key:"move"},{cmd:"autocode start <key>",key:"start"},{cmd:"autocode comment <key> <text>",key:"comment"},{cmd:"autocode history <key>",key:"history"},{cmd:"autocode parent <key> [parent]",key:"parent"},{cmd:"autocode stats",key:"stats"},{cmd:"autocode health",key:"health"},{cmd:"autocode pipeline <action>",key:"pipeline"},{cmd:"autocode catalog",key:"catalog"},{cmd:"autocode help",key:"help"}];return(i,a)=>(d(),r("section",Kt,[n("div",Qt,[n("h2",null,e(o(t)("landing.commands.title")),1),n("p",null,e(o(t)("landing.commands.subtitle")),1)]),n("div",Zt,[n("table",ne,[n("thead",null,[n("tr",null,[n("th",null,e(o(t)("landing.commands.command")),1),n("th",null,e(o(t)("landing.commands.description")),1)])]),n("tbody",null,[(d(),r(w,null,x(l,s=>n("tr",{key:s.key},[n("td",null,[n("code",null,e(s.cmd),1)]),n("td",null,e(o(t)(`landing.commands.${s.key}`)),1)])),64))])])])]))}}),ee=Object.assign(A(te,[["__scopeId","data-v-dc1385aa"]]),{__name:"LandingCommands"}),oe={id:"architecture",class:"landing-section"},ae={class:"landing-section-header"},se={class:"landing-architecture-flow"},ie={class:"flow-step"},le={class:"flow-step success"},de={class:"landing-architecture-details"},ce={class:"detail-icon"},re=m({__name:"LandingArchitecture",setup(h){const{t}=f(),l=[{key:"storage",icon:"🗄️"},{key:"interfaces",icon:"🔌"},{key:"tech",icon:"⚙️"}];return(i,a)=>(d(),r("section",oe,[n("div",ae,[n("h2",null,e(o(t)("landing.architecture.title")),1),n("p",null,e(o(t)("landing.architecture.subtitle")),1)]),n("div",se,[n("div",ie,[a[0]||(a[0]=n("div",{class:"flow-icon"},"👤",-1)),n("span",null,e(o(t)("landing.architecture.flow.you")),1)]),a[2]||(a[2]=I('<div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step highlight" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>⚡</div><span data-v-ab99f707>AutoCode</span></div><div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>🤖</div><span data-v-ab99f707>Claude Code</span></div><div class="flow-arrow" data-v-ab99f707>→</div>',5)),n("div",le,[a[1]||(a[1]=n("div",{class:"flow-icon"},"✅",-1)),n("span",null,e(o(t)("landing.architecture.flow.validated")),1)])]),n("div",de,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"architecture-detail-card"},[n("div",ce,e(s.icon),1),n("h3",null,e(o(t)(`landing.architecture.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.architecture.${s.key}.desc`)),1)])),64))])]))}}),pe=Object.assign(A(re,[["__scopeId","data-v-ab99f707"]]),{__name:"LandingArchitecture"}),ue={id:"api",class:"landing-section"},_e={class:"landing-section-header"},ge={class:"landing-api-grid"},me={class:"landing-api-endpoint"},he=m({__name:"LandingApi",setup(h){const{t}=f(),l=[{method:"get",endpoint:"/api/issues"},{method:"get",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues"},{method:"patch",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues/:id/move"},{method:"post",endpoint:"/api/issues/:id/next"},{method:"get",endpoint:"/api/issues/:id/comments"},{method:"post",endpoint:"/api/issues/:id/comments"},{method:"delete",endpoint:"/api/issues/:id/archive"},{method:"get",endpoint:"/api/columns"},{method:"get",endpoint:"/api/pipelines"},{method:"get",endpoint:"/api/stats"}];return(i,a)=>(d(),r("section",ue,[n("div",_e,[n("h2",null,e(o(t)("landing.api.title")),1),n("p",null,e(o(t)("landing.api.subtitle")),1)]),n("div",ge,[(d(),r(w,null,x(l,s=>n("div",{key:s.endpoint,class:"landing-api-card"},[n("span",{class:R(["landing-api-method",s.method])},e(s.method.toUpperCase()),3),n("span",me,e(s.endpoint),1)])),64))])]))}}),ve=Object.assign(he,{__name:"LandingApi"}),fe={id:"roadmap",class:"landing-section"},ye={class:"landing-section-header"},ke={class:"landing-roadmap-grid"},we={class:"roadmap-icon"},be={class:"roadmap-status"},$e={class:"landing-roadmap-cta"},xe={href:"https://gitlab.com/evkoh/autocode/-/issues",target:"_blank",class:"landing-btn landing-btn-secondary"},Le=m({__name:"LandingRoadmap",setup(h){const{t}=f(),l=[{key:"mcp",icon:"🔗"},{key:"catalog",icon:"📚"}];return(i,a)=>(d(),r("section",fe,[n("div",ye,[n("h2",null,e(o(t)("landing.roadmap.title")),1),n("p",null,e(o(t)("landing.roadmap.subtitle")),1)]),n("div",ke,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-roadmap-card"},[n("div",we,e(s.icon),1),n("h3",null,e(o(t)(`landing.roadmap.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.roadmap.${s.key}.desc`)),1),n("span",be,e(o(t)("landing.roadmap.coming")),1)])),64))]),n("div",$e,[n("a",xe,[T(e(o(t)("landing.roadmap.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1))])])]))}}),Ce=Object.assign(A(Le,[["__scopeId","data-v-c498be6d"]]),{__name:"LandingRoadmap"}),Me={id:"faq",class:"landing-section"},Ae={class:"landing-section-header"},Te={class:"landing-faq-container"},ze=m({__name:"LandingFaq",setup(h){const{t}=f(),l=["what","install","free","pipeline","claude","customize","database","testing"];return(i,a)=>(d(),r("section",Me,[n("div",Ae,[n("h2",null,e(o(t)("landing.faq.title")),1),n("p",null,e(o(t)("landing.faq.subtitle")),1)]),n("div",Te,[(d(),r(w,null,x(l,s=>n("div",{key:s,class:"landing-faq-item"},[n("h3",null,e(o(t)(`landing.faq.${s}.q`)),1),n("p",null,e(o(t)(`landing.faq.${s}.a`)),1)])),64))])]))}}),He=Object.assign(ze,{__name:"LandingFaq"}),Be={class:"landing-footer"},je={class:"landing-footer-content"},Pe={class:"landing-footer-brand"},Se={class:"landing-footer-tagline"},Fe={class:"landing-footer-nav"},Ie={class:"landing-footer-bottom"},Oe={class:"landing-footer-copy"},Re=m({__name:"LandingFooter",setup(h){const{t}=f(),l=new Date().getFullYear(),i=$(!1);return O(()=>{i.value=window.location.host.endsWith(".gitlab.io")}),(a,s)=>{const v=D;return d(),r("footer",Be,[n("div",je,[n("div",Pe,[s[0]||(s[0]=n("span",{class:"landing-footer-logo"},"AutoCode",-1)),n("span",Se,e(o(t)("landing.footer.madeWith")),1)]),n("nav",Fe,[s[1]||(s[1]=I('<a href="https://gitlab.com/evkoh/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z" data-v-63ea1028></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331z" data-v-63ea1028></path></svg> npm </a><a href="#api" data-v-63ea1028>API</a>',3)),o(i)?F("",!0):(d(),E(v,{key:0,to:"/kanban",class:"landing-footer-dashboard"},{default:S(()=>[T(e(o(t)("landing.footer.dashboard")),1)]),_:1}))]),n("div",Ie,[n("p",Oe," © "+e(o(l))+" AutoCode · "+e(o(t)("landing.footer.license")),1)])])])}}}),qe=Object.assign(A(Re,[["__scopeId","data-v-63ea1028"]]),{__name:"LandingFooter"}),Ve={class:"landing-page"},We=m({__name:"index",setup(h){const{t}=f();return Y({title:()=>t("landing.meta.title"),link:[{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"},{rel:"canonical",href:"https://autocode.dev/"}],meta:[{name:"description",content:()=>t("landing.meta.description")},{name:"keywords",content:()=>t("landing.meta.keywords")},{property:"og:type",content:"website"},{property:"og:url",content:"https://autocode.dev/"},{property:"og:title",content:()=>t("landing.meta.title")},{property:"og:description",content:()=>t("landing.meta.description")},{property:"og:site_name",content:"AutoCode"},{property:"og:image",content:"https://autocode.dev/og-image.svg"},{property:"og:image:width",content:"1200"},{property:"og:image:height",content:"630"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:()=>t("landing.meta.title")},{name:"twitter:description",content:()=>t("landing.meta.description")},{name:"twitter:image",content:"https://autocode.dev/og-image.svg"}]}),(l,i)=>{const a=Q,s=rn,v=fn,b=$n,_=En,L=Xn,u=ot,z=pt,B=jt,C=Jt,M=ee,c=pe,H=ve,j=Ce,q=He,V=qe;return d(),r("div",Ve,[g(a),g(s),g(v),g(b),g(_),g(L),g(u),g(z),g(B),g(C),g(M),g(c),g(H),g(j),g(q),g(V)])}}});export{We as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as C}from"./
|
|
1
|
+
import{_ as C}from"./L_n8XUuv.js";import{_ as T}from"./oLlK4WXl.js";import{d as x,G as F,v as h,l as I,s as L,c as a,f as v,e as n,h as e,j as V,t,F as D,p as B,w as H,b as i,q as S,g as X,_ as A}from"./BpO4XY0_.js";import{u as y}from"./DM4Ho2Bv.js";const E={class:"terminal-page"},R={class:"card"},j={class:"section-header"},q={class:"session-badge"},z={key:0,class:"column-badge"},G={key:0,class:"loading"},J={key:1,class:"error-message"},O={key:2,class:"empty"},W={key:3,class:"terminal-content"},Y={class:"log-time"},K={class:"log-level"},M={class:"log-message"},P={class:"actions"},Q=x({__name:"terminal",async setup(U){let o,c;const p=F(),l=p.params.id,u=p.params.sessionId,{data:r}=([o,c]=h(()=>y(`/api/issues/${l}`,"$WXwXsy2rDm")),o=await o,c(),o),f=I(()=>{if(!r.value)return null;const s={id:r.value.key,title:r.value.title,column:r.value.column_slug};return r.value.priority&&(s.priority=r.value.priority),s}),{data:d,status:$,error:g}=([o,c]=h(()=>y(`/api/issues/${l}/history/${u}/log`,"$7VJyO-YXL0")),o=await o,c(),o),k=s=>{const m=new Date(s);return isNaN(m.getTime())?s:m.toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit",second:"2-digit"})};return L({title:`Terminal ${u} - ${l} - AutoCode`}),(s,m)=>{const w=C,b=T;return i(),a("div",E,[v(w,{issue:e(f),"active-tab":"history"},null,8,["issue"]),n("div",R,[n("div",j,[n("h2",null,t(s.$t("history.viewTerminal")),1),n("span",q,t(e(u)),1),e(d)?.column?(i(),a("span",z,t(e(d).column),1)):V("",!0)]),e($)==="pending"?(i(),a("div",G,t(s.$t("app.loading")),1)):e(g)?(i(),a("div",J,t(e(g).message),1)):e(d)?.logs?.length?(i(),a("div",W,[(i(!0),a(D,null,B(e(d).logs,(_,N)=>(i(),a("div",{key:N,class:S(["log-entry",`log-${_.level}`])},[n("span",Y,t(k(_.timestamp)),1),n("span",K,t(_.level),1),n("span",M,t(_.message),1)],2))),128))])):(i(),a("div",O,t(s.$t("terminal.noLogs")),1))]),n("div",P,[v(b,{to:`/issue/${e(l)}/history`,class:"btn-secondary"},{default:H(()=>[X(t(s.$t("nav.back")),1)]),_:1},8,["to"])])])}}}),os=A(Q,[["__scopeId","data-v-608b488c"]]);export{os as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as d}from"./
|
|
1
|
+
import{_ as d}from"./oLlK4WXl.js";import{d as r,G as u,l as _,s as l,c as p,e,f as i,g as o,t as c,h as m,w as f,b as x,_ as b}from"./BpO4XY0_.js";const k={class:"test-page card"},N=r({__name:"[id]",setup(g){const a=u(),s=_(()=>a.params.id);return l({title:`Test ${s.value} - AutoCode`}),(v,t)=>{const n=d;return x(),p("div",k,[t[2]||(t[2]=e("h1",null,"Test Route Dynamique",-1)),e("p",null,[t[0]||(t[0]=o(" ID: ",-1)),e("code",null,c(m(s)),1)]),i(n,{to:"/kanban",class:"btn btn-secondary"},{default:f(()=>[...t[1]||(t[1]=[o(" Retour ",-1)])]),_:1})])}}}),C=b(N,[["__scopeId","data-v-bd9f8600"]]);export{C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as v}from"./
|
|
1
|
+
import{_ as v}from"./oLlK4WXl.js";import{d as f,G as $,l as y,c as d,e as a,f as c,w as n,h as m,g as i,t as e,j as _,q as u,b as r,_ as k}from"./BpO4XY0_.js";const T={class:"issue-header"},g={class:"issue-info"},N={class:"issue-title"},C={class:"issue-id"},V={class:"issue-meta"},x={class:"column-name"},B={class:"issue-tabs"},I=f({__name:"IssueHeader",props:{issue:{},activeTab:{}},setup(s){const h=s,b=$(),l=y(()=>b.path.match(/\/issue\/[^/]+\/history\/[^/]+\/(terminal|prompt)$/)?{to:`/issue/${h.issue?.id}/history`,label:"issue.history"}:{to:"/kanban",label:"nav.kanban"});return(t,j)=>{const o=v;return r(),d("div",T,[a("div",g,[c(o,{to:m(l).to,class:"back-link"},{default:n(()=>[i(" ← "+e(t.$t(m(l).label)),1)]),_:1},8,["to"]),a("h1",N,[a("span",C,e(s.issue?.id),1),i(" "+e(s.issue?.title),1)]),a("div",V,[s.issue?.priority?(r(),d("span",{key:0,class:u(["badge",`badge-${s.issue.priority}`])},e(s.issue.priority),3)):_("",!0),a("span",x,e(s.issue?.column),1)])]),a("nav",B,[c(o,{to:`/issue/${s.issue?.id}`,class:u(["tab",{active:s.activeTab==="details"}])},{default:n(()=>[i(e(t.$t("issue.details")),1)]),_:1},8,["to","class"]),c(o,{to:`/issue/${s.issue?.id}/comments`,class:u(["tab",{active:s.activeTab==="comments"}])},{default:n(()=>[i(e(t.$t("issue.comments")),1)]),_:1},8,["to","class"]),c(o,{to:`/issue/${s.issue?.id}/history`,class:u(["tab",{active:s.activeTab==="history"}])},{default:n(()=>[i(e(t.$t("issue.history")),1)]),_:1},8,["to","class"]),c(o,{to:`/issue/${s.issue?.id}/terminal`,class:u(["tab",{active:s.activeTab==="terminal"}])},{default:n(()=>[i(e(t.$t("issue.terminal")),1)]),_:1},8,["to","class"])])])}}}),L=Object.assign(k(I,[["__scopeId","data-v-242cda85"]]),{__name:"IssueHeader"});export{L as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as z}from"./
|
|
1
|
+
import{_ as z}from"./L_n8XUuv.js";import{d as B,G as D,r as g,v as b,l as I,m as L,o as M,y as k,s as N,c as n,f as O,e as s,h as c,t,j as $,F as v,p as C,b as r,q as P,_ as j}from"./BpO4XY0_.js";import{u as S}from"./DM4Ho2Bv.js";import{u as q}from"./3sXGt5Rd.js";import"./oLlK4WXl.js";const E={class:"issue-terminal-page"},G={class:"terminal-content card"},W={class:"terminal-header"},X={class:"terminal-actions"},J={key:0,class:"terminal-empty"},K={class:"section-header"},Q={class:"section-icon"},U={class:"section-column"},Y={class:"section-session"},Z={key:0,class:"log-time"},x={class:"log-message"},ee=B({__name:"terminal",async setup(se){let a,u;const m=D().params.id,o=g(null),i=g(!0),{data:l}=([a,u]=b(()=>S(`/api/issues/${m}`,"$s3Vbd9k-VO")),a=await a,u(),a),H=I(()=>{if(!l.value)return null;const e={id:l.value.key,title:l.value.title,column:l.value.column_slug};return l.value.priority&&(e.priority=l.value.priority),e}),{data:f,refresh:h}=([a,u]=b(()=>S(`/api/issues/${m}/full-terminal`,"$XMztO43Pyz")),a=await a,u(),a),{lastMessage:T}=q();L(T,e=>{e?.type==="claude_end"&&e.issue===m&&h(),i.value&&k(()=>{o.value&&(o.value.scrollTop=o.value.scrollHeight)})}),M(()=>{k(()=>{o.value&&i.value&&(o.value.scrollTop=o.value.scrollHeight)})});const w=e=>{if(!e)return"";try{return new Date(e).toLocaleTimeString()}catch{return e}},V=e=>e===0?"1":String(e+1),A=()=>{i.value=!i.value};return N({title:`Terminal - ${m} - AutoCode`}),(e,y)=>{const F=z;return r(),n("div",E,[O(F,{issue:c(H),"active-tab":"terminal"},null,8,["issue"]),s("div",G,[s("div",W,[s("h2",null,t(e.$t("issue.terminal"))+" ("+t(e.$t("terminal.fullHistory"))+")",1),s("div",X,[s("button",{class:"btn btn-secondary btn-sm",onClick:A},t(c(i)?"Pause":"Resume")+" Auto-scroll ",1),s("button",{class:"btn btn-secondary btn-sm",onClick:y[0]||(y[0]=()=>c(h)())},t(e.$t("btn.refresh")),1)])]),s("div",{ref_key:"terminalRef",ref:o,class:"terminal-output"},[c(f)?.logFiles?.length?$("",!0):(r(),n("div",J,t(e.$t("terminal.noLogs")),1)),(r(!0),n(v,null,C(c(f)?.logFiles,(_,p)=>(r(),n(v,{key:p},[s("div",K,[s("span",Q,t(V(p)),1),s("span",U,t(_.column),1),s("span",Y,t(_.sessionId),1)]),(r(!0),n(v,null,C(_.logs,(d,R)=>(r(),n("div",{key:`${p}-${R}`,class:P(["log-line",`log-${d.level}`])},[d.timestamp?(r(),n("span",Z,t(w(d.timestamp)),1)):$("",!0),s("span",x,t(d.message),1)],2))),128))],64))),128))],512)])])}}}),ie=j(ee,[["__scopeId","data-v-3b499d2c"]]);export{ie as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as f,r as u}from"./
|
|
1
|
+
import{A as f,r as u}from"./BpO4XY0_.js";const e=u([]);function v(){const t=n=>{const o=`notification-${Date.now()}-${Math.random().toString(36).slice(2)}`,i={id:o,duration:5e3,...n};e.value.push(i),i.duration&&i.duration>0&&setTimeout(()=>{s(o)},i.duration)},s=n=>{const o=e.value.findIndex(i=>i.id===n);o!==-1&&e.value.splice(o,1)},c=(n,o)=>{t({type:"success",message:n,...o!==void 0&&{duration:o}})},r=(n,o)=>{t({type:"error",message:n,duration:o??8e3})},a=(n,o)=>{t({type:"warning",message:n,...o!==void 0&&{duration:o}})},d=(n,o)=>{t({type:"info",message:n,...o!==void 0&&{duration:o}})};return{notifications:f(e),add:t,remove:s,success:c,error:r,warning:a,info:d}}export{v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as N}from"./
|
|
1
|
+
import{_ as N}from"./oLlK4WXl.js";import{d as P,x as V,u as B,r as c,s as D,c as u,e as s,f as _,w as m,t as o,h as e,C as f,j as S,D as h,J as T,H as v,b,g,_ as $}from"./BpO4XY0_.js";import{u as E}from"./OyKw9-Gx.js";import{u as H}from"./Bw7FWqV0.js";const I={class:"new-pipeline-page"},K={class:"page-header card"},R={class:"header-left"},U={class:"card form-card"},j={class:"form-group"},A={class:"form-label"},F=["placeholder"],J={key:0,class:"input-hint"},L={class:"form-group"},M={class:"form-label"},O=["placeholder"],q={class:"form-actions"},z=["disabled"],G=P({__name:"new",setup(Q){const y=V(),{t}=B(),{success:w,error:x}=E(),{generateSlug:k,loadPipeline:C}=H(),a=c(""),l=c(""),i=c(!1),p=async()=>{if(!(!a.value.trim()||i.value)){i.value=!0;try{await $fetch("/api/pipelines",{method:"POST",body:{name:a.value,description:l.value}}),w(t("pipeline.pipelineCreated")),await C(a.value),y.push("/settings/pipeline")}catch{x(t("error.createFailed"))}finally{i.value=!1}}};return D({title:`${t("pipeline.new")} - AutoCode`}),(W,n)=>{const d=N;return b(),u("div",I,[s("header",K,[s("div",R,[_(d,{to:"/settings/pipeline",class:"back-link"},{default:m(()=>[g("← "+o(e(t)("nav.back")),1)]),_:1}),n[2]||(n[2]=s("span",{class:"header-separator"},"/",-1)),s("h1",null,o(e(t)("pipeline.new")),1)])]),s("div",U,[s("div",j,[s("label",A,o(e(t)("pipeline.name")),1),f(s("input",{"onUpdate:modelValue":n[0]||(n[0]=r=>v(a)?a.value=r:null),type:"text",class:"form-input",placeholder:e(t)("pipeline.namePlaceholder"),onKeyup:T(p,["enter"])},null,40,F),[[h,e(a)]]),e(a)?(b(),u("span",J," key: "+o(e(k)(e(a))),1)):S("",!0)]),s("div",L,[s("label",M,o(e(t)("pipeline.description")),1),f(s("textarea",{"onUpdate:modelValue":n[1]||(n[1]=r=>v(l)?l.value=r:null),class:"form-input",rows:"4",placeholder:e(t)("pipeline.descriptionPlaceholder")},null,8,O),[[h,e(l)]])]),s("div",q,[_(d,{to:"/settings/pipeline",class:"btn btn-secondary"},{default:m(()=>[g(o(e(t)("modal.cancel")),1)]),_:1}),s("button",{class:"btn btn-primary",disabled:!e(a).trim()||e(i),onClick:p},o(e(i)?e(t)("form.saving"):e(t)("form.create")),9,z)])])])}}}),se=$(G,[["__scopeId","data-v-123b6ad2"]]);export{se as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"e54571d7-66b0-4c23-8da2-367054427374","timestamp":1767711142540}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"e54571d7-66b0-4c23-8da2-367054427374","timestamp":1767711142540,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as k}from"./
|
|
1
|
+
import{_ as k}from"./L_n8XUuv.js";import{_ as b}from"./oLlK4WXl.js";import{d as w,G as C,v as m,l as x,s as I,c as n,f as h,e as r,h as s,j as N,t as e,w as P,b as c,g as V,_ as A}from"./BpO4XY0_.js";import{u as v}from"./DM4Ho2Bv.js";const B={class:"prompt-page"},D={class:"card"},H={class:"section-header"},E={class:"session-badge"},F={key:0,class:"column-badge"},G={key:0,class:"loading"},S={key:1,class:"error-message"},j={key:2,class:"empty"},K={key:3,class:"prompt-content"},L={class:"actions"},O=w({__name:"prompt",async setup(Q){let t,i;const u=C(),p=u.params.id,d=u.params.sessionId,{data:a}=([t,i]=m(()=>v(`/api/issues/${p}`,"$a3ca3_CGOD")),t=await t,i(),t),y=x(()=>{if(!a.value)return null;const o={id:a.value.key,title:a.value.title,column:a.value.column_slug};return a.value.priority&&(o.priority=a.value.priority),o}),{data:_,status:f,error:l}=([t,i]=m(()=>v(`/api/issues/${p}/history/${d}/prompt`,"$QrPKfenAcg")),t=await t,i(),t);return I({title:`Prompt ${d} - ${p} - AutoCode`}),(o,R)=>{const $=k,g=b;return c(),n("div",B,[h($,{issue:s(y),"active-tab":"history"},null,8,["issue"]),r("div",D,[r("div",H,[r("h2",null,e(o.$t("history.viewPrompt")),1),r("span",E,e(s(d)),1),s(_)?.column?(c(),n("span",F,e(s(_).column),1)):N("",!0)]),s(f)==="pending"?(c(),n("div",G,e(o.$t("app.loading")),1)):s(l)?(c(),n("div",S,e(s(l).message),1)):s(_)?.content?(c(),n("div",K,[r("pre",null,e(s(_).content),1)])):(c(),n("div",j,e(o.$t("column.noPrompt")),1))]),r("div",L,[h(g,{to:`/issue/${s(p)}/history`,class:"btn-secondary"},{default:P(()=>[V(e(o.$t("nav.back")),1)]),_:1},8,["to"])])])}}}),M=A(O,[["__scopeId","data-v-8b8841c6"]]);export{M as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as B,x as q,ah as O,r as T,aa as k,o as j,aq as N,ar as E,as as U,at as I,au as A,av as w,aw as D,ax as L,ay as F,l as b,az as _,aA as H,I as V,K as z,aB as M,aC as W,aD as $}from"./
|
|
1
|
+
import{d as B,x as q,ah as O,r as T,aa as k,o as j,aq as N,ar as E,as as U,at as I,au as A,av as w,aw as D,ax as L,ay as F,l as b,az as _,aA as H,I as V,K as z,aB as M,aC as W,aD as $}from"./BpO4XY0_.js";const G=(...t)=>t.find(o=>o!==void 0);function K(t){const o=t.componentName||"NuxtLink";function v(e){return typeof e=="string"&&e.startsWith("#")}function S(e,u,f){const r=f??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return C(e,r);const l="path"in e&&e.path!==void 0?e.path:u(e).path;return{...e,name:void 0,path:C(l,r)}}function R(e){const u=q(),f=V(),r=b(()=>!!e.target&&e.target!=="_self"),l=b(()=>{const i=e.to||e.href||"";return typeof i=="string"&&_(i,{acceptRelative:!0})}),y=w("RouterLink"),h=y&&typeof y!="string"?y.useLink:void 0,c=b(()=>{if(e.external)return!0;const i=e.to||e.href||"";return typeof i=="object"?!1:i===""||l.value}),n=b(()=>{const i=e.to||e.href||"";return c.value?i:S(i,u.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:n}),m=b(()=>{const i=e.trailingSlash??t.trailingSlash;if(!n.value||l.value||v(n.value))return n.value;if(c.value){const p=typeof n.value=="object"&&"path"in n.value?L(n.value):n.value,x=typeof p=="object"?u.resolve(p).href:p;return C(x,i)}return typeof n.value=="object"?u.resolve(n.value)?.href??null:C(H(f.app.baseURL,n.value),i)});return{to:n,hasTarget:r,isAbsoluteUrl:l,isExternal:c,href:m,isActive:g?.isActive??b(()=>n.value===u.currentRoute.value.path),isExactActive:g?.isExactActive??b(()=>n.value===u.currentRoute.value.path),route:g?.route??b(()=>u.resolve(n.value)),async navigate(i){await z(m.value,{replace:e.replace,external:c.value||r.value})}}}return B({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:R,setup(e,{slots:u}){const f=q(),{to:r,href:l,navigate:y,isExternal:h,hasTarget:c,isAbsoluteUrl:n}=R(e),g=O(!1),m=T(null),i=s=>{m.value=e.custom?s?.$el?.nextElementSibling:s?.$el};function p(s){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===s:e.prefetchOn?.[s]??t.prefetchOn?.[s])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()}async function x(s=k()){if(g.value)return;g.value=!0;const d=typeof r.value=="string"?r.value:h.value?L(r.value):f.resolve(r.value).fullPath,a=h.value?new URL(d,window.location.href).href:d;await Promise.all([s.hooks.callHook("link:prefetch",a).catch(()=>{}),!h.value&&!c.value&&F(r.value,f).catch(()=>{})])}if(p("visibility")){const s=k();let d,a=null;j(()=>{const P=Q();N(()=>{d=E(()=>{m?.value?.tagName&&(a=P.observe(m.value,async()=>{a?.(),a=null,await x(s)}))})})}),U(()=>{d&&I(d),a?.(),a=null})}return()=>{if(!h.value&&!c.value&&!v(r.value)){const a={ref:i,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(p("interaction")&&(a.onPointerenter=x.bind(null,void 0),a.onFocus=x.bind(null,void 0)),g.value&&(a.class=e.prefetchedClass||t.prefetchedClass),a.rel=e.rel||void 0),A(w("RouterLink"),a,u.default)}const s=e.target||null,d=G(e.noRel?"":e.rel,t.externalRelAttribute,n.value||c.value?"noopener noreferrer":"")||null;return e.custom?u.default?u.default({href:l.value,navigate:y,prefetch:x,get route(){if(!l.value)return;const a=new URL(l.value,window.location.href);return{path:a.pathname,fullPath:a.pathname,get query(){return D(a.search)},hash:a.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:d,target:s,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:m,href:l.value||null,rel:d,target:s,onClick:a=>{if(!(h.value||c.value))return a.preventDefault(),e.replace?f.replace(l.value):f.push(l.value)}},u.default?.())}}})}const Z=K($);function C(t,o){const v=o==="append"?M:W;return _(t)&&!t.startsWith("http")?t:v(t,!0)}function Q(){const t=k();if(t._observer)return t._observer;let o=null;const v=new Map,S=(e,u)=>(o||=new IntersectionObserver(f=>{for(const r of f){const l=v.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&l&&l()}}),v.set(e,u),o.observe(e),()=>{v.delete(e),o?.unobserve(e),v.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:S}}const J=/2g/;function X(){const t=navigator.connection;return!!(t&&(t.saveData||J.test(t.effectiveType)))}export{Z as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"data":1,"prerenderedAt":3},["ShallowReactive",2],{},
|
|
1
|
+
[{"data":1,"prerenderedAt":3},["ShallowReactive",2],{},1767711169214]
|