Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(routes): stop the verifier reporting /news as a 404 in an unbuilt tree
nirholas1868a45bacb7
diff --git a/scripts/verify-routes.mjs b/scripts/verify-routes.mjsindex 8c67a3ae3..07a864881 100644--- a/scripts/verify-routes.mjs+++ b/scripts/verify-routes.mjs@@ -101,6 +101,21 @@ for (const f of walk(resolve(ROOT, 'blog'))) served.add('blog/' + f);}}+// public/news/ is the same shape: scripts/build-news.mjs renders /news/index.html+// and one page per curated item into it during `prebuild`, and .gitignore excludes+// the directory, so walking public/ misses it in any workspace that has not built.+// Modeled from the generator's own source of truth (data/rss/items.json), which is+// also what decides whether the index gets written at all: writeAllPages() returns+// early on an empty feed, so an empty feed here correctly models /news as absent.+{+ const curated = JSON.parse(readFileSync(resolve(ROOT, 'data/rss/items.json'), 'utf8'));+ const entries = Array.isArray(curated?.items) ? curated.items : [];+ const publishable = entries.filter(+ (e) => e && typeof e === 'object' && e.id && e.title && e.date && e.body_html && e.published !== false,+ );+ if (publishable.length) served.add('news/index.html');+}+// ───────────────────────── shared legacy-routes resolver ─────────────────────────// The matcher itself lives in scripts/lib/vercel-routes.mjs so this script and// scripts/audit-route-shadowing.mjs predict production from one implementation.