1import{i as V,N as q,l as f,c as A,w as n,a,Y as B,f as c,g as y,F as v,b,y as C,e as m,n as _,_ as P,o as s,t as x}from"./Dmmfaysd.js";import{_ as T}from"./BvtW66AX.js";import{d as $}from"./D2NZiOu9.js";import{u as F}from"./BlTS3mYF.js";import{q as G}from"./DNQhzC9e.js";const z={class:"space-y-5"},E={class:"px-3 pb-1 text-[11px] font-semibold tracking-[0.16em] text-gray-500 uppercase"},I={class:"space-y-1"},O={class:"space-y-1"},Y={key:0,class:"mt-1 pl-6 space-y-1"},j=["href"],H={__name:"DocsLayout",props:{title:{type:String,required:!0},description:{type:String,required:!0},mcpAgentLinks:{type:Array,default:()=>[]}},async setup(g){let d,k;const L=g,{data:S}=([d,k]=q(()=>F("docs-nav",()=>G("docs").where("published","=",!0).order("order","ASC").all())),d=await d,k(),d),N=f(()=>{const h=S.value??[];return $.map(e=>({slug:e.slug,label:e.label,items:h.filter(t=>t.section===e.slug).sort((t,r)=>(t.order??0)-(r.order??0))})).filter(e=>e.items.length>0)}),D=[{label:"Claude",hash:"#claude"},{label:"ChatGPT",hash:"#chatgpt"},{label:"Cursor",hash:"#cursor"},{label:"VS Code",hash:"#vscode"}],w=f(()=>L.mcpAgentLinks.length?L.mcpAgentLinks:D),M=f(()=>w.value.length>0);return(h,e)=>{const t=P;return s(),A(T,{"menu-label":"Docs",title:g.title,description:g.description},{nav:n(({itemClass:r,activeClass:p,idleClass:u,isActive:i})=>[a("nav",z,[(s(!0),c(v,null,y(N.value,o=>(s(),c("div",{key:o.slug,class:"pb-4 border-b border-gray-200/80"},[a("div",E,x(o.label),1),a("div",I,[(s(!0),c(v,null,y(o.items,l=>(s(),A(t,{key:l.path,to:l.path,class:_([r,i(l.path)?p:u])},{default:n(()=>[m(x(l.navTitle||l.title),1)]),_:2},1032,["to","class"]))),128))])]))),128)),a("div",null,[e[3]||(e[3]=a("div",{class:"px-3 pb-1 text-[11px] font-semibold tracking-[0.16em] text-gray-500 uppercase"}," MCP + Agents ",-1)),a("div",O,[b(t,{to:"/docs/mcp/overview",class:_([r,i("/docs/mcp/overview")?p:u])},{default:n(()=>e[0]||(e[0]=[m(" Overview ")])),_:2,__:[0]},1032,["class"]),b(t,{to:"/docs/mcp/connect-agents",class:_([r,i("/docs/mcp/connect-agents")?p:u])},{default:n(()=>e[1]||(e[1]=[m(" Connect Agents ")])),_:2,__:[1]},1032,["class"]),M.value?(s(),c("div",Y,[(s(!0),c(v,null,y(w.value,o=>(s(),c("a",{key:o.hash,href:`/docs/mcp/connect-agents${o.hash}`,class:"block rounded-md px-0 py-1.5 text-xs font-medium text-gray-600 transition-colors hover:text-gray-900"},x(o.label),9,j))),128))])):C("",!0),b(t,{to:"/docs/mcp/server",class:_([r,i("/docs/mcp/server")?p:u])},{default:n(()=>e[2]||(e[2]=[m(" MCP Server ")])),_:2,__:[2]},1032,["class"])])])])]),default:n(()=>[a("article",null,[B(h.$slots,"default",{},void 0,!0)])]),_:3},8,["title","description"])}}},W=V(H,[["__scopeId","data-v-cc04af61"]]);export{W as D};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.