nuxt-ai-ready 1.3.2 → 1.3.6
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/dist/devtools/200.html +1 -1
- package/dist/devtools/404.html +1 -1
- package/dist/devtools/_nuxt/{CG4YVUJc.js → B79_Suj8.js} +1 -1
- package/dist/devtools/_nuxt/{DGjxyRbU.js → BxZ17gC1.js} +1 -1
- package/dist/devtools/_nuxt/{CW4u22fk.js → CXxgQd7T.js} +1 -1
- package/dist/devtools/_nuxt/{nscivqEG.js → DQ3joNC8.js} +10 -10
- package/dist/devtools/_nuxt/{DsIImnSh.js → DQhdjwv3.js} +1 -1
- package/dist/devtools/_nuxt/{D1cMhZtf.js → DaGccE64.js} +1 -1
- package/dist/devtools/_nuxt/{DevtoolsPanel.CkdsJGul.css → DevtoolsPanel.DMk0hJ4w.css} +1 -1
- package/dist/devtools/_nuxt/builds/latest.json +1 -1
- package/dist/devtools/_nuxt/builds/meta/957d2ff6-c798-4b14-9a4c-b6d80a8e2ffe.json +1 -0
- package/dist/devtools/_nuxt/entry.DXQs-riX.css +1 -0
- package/dist/devtools/_nuxt/{CPVPS-Dp.js → fLpD8y9n.js} +1 -1
- package/dist/devtools/_nuxt/index.Dz3IMhwB.css +1 -0
- package/dist/devtools/debug/index.html +1 -1
- package/dist/devtools/docs/index.html +1 -1
- package/dist/devtools/index.html +1 -1
- package/dist/devtools/llms-txt/index.html +1 -1
- package/dist/devtools/pages/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/server/db/drizzle/queries.js +9 -5
- package/dist/runtime/server/db/queries.js +18 -12
- package/dist/runtime/server/middleware/markdown.js +5 -17
- package/dist/runtime/server/utils/indexnow.js +8 -3
- package/dist/runtime/server/utils/link-header.d.ts +13 -0
- package/dist/runtime/server/utils/link-header.js +25 -0
- package/package.json +15 -15
- package/dist/devtools/_nuxt/builds/meta/69a96361-b999-4d67-86d2-e31b3909be29.json +0 -1
- package/dist/devtools/_nuxt/entry.BbygA2Ya.css +0 -1
- package/dist/devtools/_nuxt/index.e05QIQpk.css +0 -1
package/dist/devtools/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.DXQs-riX.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-ai-ready/_nuxt/DQ3joNC8.js"><script type="module" src="/__nuxt-ai-ready/_nuxt/DQ3joNC8.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-ai-ready",buildId:"957d2ff6-c798-4b14-9a4c-b6d80a8e2ffe",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1779022491892,false]</script></body></html>
|
package/dist/devtools/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-ai-ready/_nuxt/entry.DXQs-riX.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-ai-ready/_nuxt/DQ3joNC8.js"><script type="module" src="/__nuxt-ai-ready/_nuxt/DQ3joNC8.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-ai-ready",buildId:"957d2ff6-c798-4b14-9a4c-b6d80a8e2ffe",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1779022491892,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s,o as t,c as n,b as l,g as r,h as a}from"./
|
|
1
|
+
import{d as s,o as t,c as n,b as l,g as r,h as a}from"./DQ3joNC8.js";const _={class:"h-full max-h-full overflow-hidden"},u=["src","title"],i=s({__name:"DevtoolsDocs",props:{url:{}},setup(e){return(c,o)=>(t(),n("div",_,[l("iframe",{src:e.url,title:`Documentation - ${e.url}`,class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,8,u)]))}}),m=Object.assign(i,{__name:"DevtoolsDocs"}),d={};function f(e,c){const o=m;return t(),a(o,{url:"https://nuxtseo.com/ai-ready"})}const p=r(d,[["render",f]]);export{p as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as E,i as G,G as L,u as C,j as u,r as T,o as t,c as e,b as n,F as _,k as h,n as q,t as i,l as S,m as I,h as A,w as y,p as K,e as g,a as m,q as M,s as R,_ as U,f as v,v as H}from"./
|
|
1
|
+
import{d as E,i as G,G as L,u as C,j as u,r as T,o as t,c as e,b as n,F as _,k as h,n as q,t as i,l as S,m as I,h as A,w as y,p as K,e as g,a as m,q as M,s as R,_ as U,f as v,v as H}from"./DQ3joNC8.js";import{_ as J}from"./DQhdjwv3.js";import{_ as O,a as Q}from"./CXxgQd7T.js";const W={class:"space-y-4"},X={class:"flex items-center gap-2"},Y=["onClick"],Z={key:0,class:"py-8 text-center"},tt={key:0,class:"relative"},et={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text)] overflow-auto max-h-[600px]"},ot={key:1,class:"relative"},st={class:"text-xs font-mono whitespace-pre-wrap p-4 rounded-lg bg-[var(--color-surface-sunken)] text-[var(--color-text-muted)] overflow-auto max-h-[600px]"},nt={key:0,class:"space-y-3"},lt={class:"text-sm font-semibold text-[var(--color-text)] mb-1"},at={key:0,class:"space-y-1 mt-2"},rt={class:"font-medium text-[var(--color-text)]"},ct={key:0,class:"text-[var(--color-text-muted)]"},it={class:"font-mono text-[var(--color-text-subtle)]"},ut={key:1,class:"text-xs text-[var(--color-text-muted)]"},vt=E({__name:"llms-txt",setup(dt){const k=G(L),b=v(()=>k?.value?.isDev??!0),x=v(()=>k?.value?.llmsTxt),r=H("llms-txt"),{data:$}=C("llms-txt-content",async()=>{if(!u.value)return null;try{return await u.value("/llms.txt",{responseType:"text"})}catch{return null}},{watch:[u,T]}),{data:N,status:B}=C("llms-full-content",async()=>{if(!u.value||r.value!=="llms-full")return null;try{return await u.value("/llms-full.txt",{responseType:"text"})}catch{return null}},{watch:[u,T,r]}),f=v(()=>r.value==="llms-full"?N.value:$.value),w=v(()=>{const c=x.value;if(!c)return"";const l=["# {Site Name}","","> {Site Description}",""];for(const o of c.sections||[]){if(l.push(`## ${o.title}`),o.description){const s=Array.isArray(o.description)?o.description:[o.description];for(const d of s)l.push("",d)}for(const s of o.links||[]){const d=s.description?`: ${s.description}`:"";l.push(`- [${s.title}](${s.href})${d}`)}l.push("")}if(c.notes){const o=Array.isArray(c.notes)?c.notes:[c.notes];for(const s of o)l.push(s)}return l.join(`
|
|
2
2
|
`)});return(c,l)=>{const o=K,s=M,d=J,F=O,P=Q,j=R,V=U;return t(),e("div",W,[n("div",X,[(t(),e(_,null,h([{key:"llms-txt",label:"llms.txt"},{key:"llms-full",label:"llms-full.txt"}],a=>n("button",{key:a.key,type:"button",class:q(["px-3 py-1.5 text-xs font-medium rounded-md transition-all cursor-pointer",r.value===a.key?"bg-[var(--seo-green)] text-white":"bg-[var(--color-surface-elevated)] text-[var(--color-text-muted)] hover:text-[var(--color-text)]"]),onClick:D=>r.value=a.key},i(a.label),11,Y)),64))]),b.value&&!S(I)?(t(),A(o,{key:0,variant:"info"},{default:y(()=>[...l[0]||(l[0]=[n("p",{class:"font-medium mb-1"}," Template Preview ",-1),n("p",{class:"text-sm opacity-80"}," This shows the llms.txt structure from your config. Actual content with page data is generated during prerendering. Switch to production mode to see live content. ",-1)])]),_:1})):g("",!0),m(P,{title:r.value==="llms-txt"?"llms.txt":"llms-full.txt"},{default:y(()=>[r.value==="llms-full"&&S(B)==="pending"?(t(),e("div",Z,[m(s)])):(t(),e(_,{key:1},[f.value?(t(),e("div",tt,[m(d,{text:f.value,class:"absolute top-2 right-2 z-10"},null,8,["text"]),n("pre",et,i(f.value),1)])):b.value&&w.value?(t(),e("div",ot,[n("pre",st,i(w.value),1)])):(t(),A(F,{key:2,icon:"carbon:document",title:"No content available",description:"llms.txt content is generated during prerendering. Run `nuxi generate` or switch to production mode."}))],64))]),_:1},8,["title"]),m(V,{text:"Configured Sections",icon:"carbon:list-boxes"},{default:y(()=>[x.value?.sections?.length?(t(),e("div",nt,[(t(!0),e(_,null,h(x.value.sections,(a,D)=>(t(),e("div",{key:D,class:"p-3 rounded-lg bg-[var(--color-surface-elevated)] border border-[var(--color-border)]"},[n("h4",lt,i(a.title),1),a.links?.length?(t(),e("div",at,[(t(!0),e(_,null,h(a.links,(p,z)=>(t(),e("div",{key:z,class:"flex items-start gap-2 text-xs"},[m(j,{name:"carbon:link",class:"w-3 h-3 mt-0.5 text-[var(--color-text-muted)]"}),n("div",null,[n("span",rt,i(p.title),1),p.description?(t(),e("span",ct,", "+i(p.description),1)):g("",!0),n("div",it,i(p.href),1)])]))),128))])):g("",!0)]))),128))])):(t(),e("p",ut," No custom sections configured. "))]),_:1})])}}});export{vt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as m,o as s,c as a,b as n,a as
|
|
1
|
+
import{d as m,o as s,c as a,b as n,a as $,s as u,n as v,t as d,C as l,z as f,e as o,g as p,h as r,D as h}from"./DQ3joNC8.js";const y={class:"devtools-empty"},b={class:"devtools-empty-title"},k={key:0,class:"devtools-empty-description"},g={key:1,class:"devtools-empty-actions"},B=m({__name:"DevtoolsEmptyState",props:{icon:{default:"carbon:search"},title:{},description:{},variant:{default:"default"}},setup(e){return(t,c)=>{const i=u;return s(),a("div",y,[n("div",{class:v(["devtools-empty-icon",`devtools-empty-icon-${e.variant}`])},[$(i,{name:e.icon,class:"w-8 h-8","aria-hidden":"true"},null,8,["name"])],2),n("h2",b,d(e.title),1),e.description||t.$slots.description?(s(),a("p",k,[l(t.$slots,"description",{},()=>[f(d(e.description),1)],!0)])):o("",!0),t.$slots.default?(s(),a("div",g,[l(t.$slots,"default",{},void 0,!0)])):o("",!0)])}}}),j=Object.assign(p(B,[["__scopeId","data-v-3e6e3ae8"]]),{__name:"DevtoolsEmptyState"}),C={class:"devtools-panel"},D={key:0,class:"devtools-panel-header"},I={class:"flex items-center gap-2"},N={class:"devtools-panel-title"},S={key:0,class:"devtools-panel-actions"},V=m({__name:"DevtoolsPanel",props:{title:{},closable:{type:Boolean,default:!1},icon:{},padding:{type:Boolean,default:!0}},emits:["close"],setup(e){return(t,c)=>{const i=u,_=h;return s(),a("div",C,[e.title||t.$slots.header?(s(),a("div",D,[l(t.$slots,"header",{},()=>[n("div",I,[e.icon?(s(),r(i,{key:0,name:e.icon,class:"text-sm text-[var(--color-text-muted)]"},null,8,["name"])):o("",!0),n("span",N,d(e.title),1)])],!0),e.closable||t.$slots.actions?(s(),a("div",S,[l(t.$slots,"actions",{},void 0,!0),e.closable?(s(),r(_,{key:0,icon:"carbon:close","aria-label":"Close panel",onClick:c[0]||(c[0]=E=>t.$emit("close"))})):o("",!0)])):o("",!0)])):o("",!0),n("div",{class:v(["devtools-panel-content",e.padding?"p-3":""])},[l(t.$slots,"default",{},void 0,!0)],2)])}}}),z=Object.assign(p(V,[["__scopeId","data-v-99badccb"]]),{__name:"DevtoolsPanel"});export{j as _,z as a};
|