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
feat(guards): route and render the guard registry at /guards
nirholasbd6f2b05feff
diff --git a/data/guards.json b/data/guards.jsonindex f61416ebd..17a053991 100644--- a/data/guards.json+++ b/data/guards.json@@ -135,6 +135,26 @@"stages": ["gate"],"needs": "none"},+ {+ "id": "sync-tutorial-pages",+ "script": "scripts/sync-tutorial-pages.mjs",+ "npm": "check:tutorials",+ "title": "Tutorial reachability",+ "protects": "Every tutorial appears in the library manifest, has its markdown on disk, and is registered in data/pages.json, with no duplicate slugs.",+ "why": "Three files have to agree for a tutorial to be both reachable and indexable, and nothing checked that they did: forty-one live tutorials were missing from the page index and invisible to search, and three had markdown with no card in the library. Run it with --write to register what is missing.",+ "stages": ["gate"],+ "needs": "none"+ },+ {+ "id": "audit-mcp-catalog",+ "script": "scripts/build-mcp-catalog.mjs",+ "npm": "audit:mcp-catalog",+ "title": "MCP tool catalog freshness",+ "protects": "public/mcp-catalog.json matches what the MCP servers actually expose.",+ "why": "The searchable tool index at /mcp-tools renders from the generated catalog. A stale catalog advertises tools that moved, renamed, or no longer exist, which is worse than advertising nothing.",+ "stages": ["gate"],+ "needs": "none"+ },{"id": "audit-x402-catalog","script": "scripts/audit-x402-catalog.mjs",diff --git a/pages/guards.html b/pages/guards.htmlindex 840fa4be2..a028afcb2 100644--- a/pages/guards.html+++ b/pages/guards.html@@ -40,7 +40,7 @@/* One hue per stage, reused for chip, badge and card accent. */--gd-prebuild: #38bdf8;--gd-gate: #a78bfa;- --gd-deploy: #fbbf24;+ --gd-deploy: var(--warn);--gd-prepush: #34d399;--gd-manual: #94a3b8;}@@ -65,9 +65,12 @@--gd-manual: #55607a;}+ /* The page canvas stays on the site's own theme token, the way every other+ page does it, so the theme toggle flips this page with the rest of the+ site. Only the components below carry a page-scoped palette. */body {- background: var(--gd-bg);color: var(--gd-text);+ min-height: 100vh;}.gd-wrap {diff --git a/public/guards.json b/public/guards.jsonindex 27713dc55..2d5abdfc6 100644--- a/public/guards.json+++ b/public/guards.json@@ -162,6 +162,30 @@],"needs": "none"},+ {+ "id": "sync-tutorial-pages",+ "script": "scripts/sync-tutorial-pages.mjs",+ "npm": "check:tutorials",+ "title": "Tutorial reachability",+ "protects": "Every tutorial appears in the library manifest, has its markdown on disk, and is registered in data/pages.json, with no duplicate slugs.",+ "why": "Three files have to agree for a tutorial to be both reachable and indexable, and nothing checked that they did: forty-one live tutorials were missing from the page index and invisible to search, and three had markdown with no card in the library. Run it with --write to register what is missing.",+ "stages": [+ "gate"+ ],+ "needs": "none"+ },+ {+ "id": "audit-mcp-catalog",+ "script": "scripts/build-mcp-catalog.mjs",+ "npm": "audit:mcp-catalog",+ "title": "MCP tool catalog freshness",+ "protects": "public/mcp-catalog.json matches what the MCP servers actually expose.",+ "why": "The searchable tool index at /mcp-tools renders from the generated catalog. A stale catalog advertises tools that moved, renamed, or no longer exist, which is worse than advertising nothing.",+ "stages": [+ "gate"+ ],+ "needs": "none"+ },{"id": "audit-x402-catalog","script": "scripts/audit-x402-catalog.mjs",diff --git a/vercel.json b/vercel.jsonindex e60a6ca2f..53739cca5 100644--- a/vercel.json+++ b/vercel.json@@ -1568,6 +1568,10 @@"src": "/galaxy/?","dest": "/galaxy.html"},+ {+ "src": "/quality-bench/?",+ "dest": "/quality-bench.html"+ },{"src": "/examples/?","dest": "/examples.html"@@ -4024,6 +4028,10 @@"src": "/animations/?","dest": "/animations.html"},+ {+ "src": "/gestures/?",+ "dest": "/gestures.html"+ },{"src": "/character-library/?","dest": "/character-library.html"@@ -4472,11 +4480,23 @@},{"src": "/cookbook",- "dest": "/cookbook/index.html"+ "dest": "/cookbook.html"},{"src": "/cookbook/",- "dest": "/cookbook/index.html"+ "dest": "/cookbook.html"+ },+ {+ "src": "/cookbook/self-correcting-3d/?",+ "dest": "/cookbook/self-correcting-3d/index.html"+ },+ {+ "src": "/cookbook/([a-z0-9-]+)",+ "dest": "/recipe.html"+ },+ {+ "src": "/cookbook/([a-z0-9-]+)/",+ "dest": "/recipe.html"},{"src": "/discover",diff --git a/vite.config.js b/vite.config.jsindex 8f95f343f..c35e8415d 100644--- a/vite.config.js+++ b/vite.config.js@@ -379,6 +379,8 @@ const appConfig = {'features-deploy': resolve(__dirname, 'pages/features/deploy.html'),tutorials: resolve(__dirname, 'pages/tutorials.html'),tutorial: resolve(__dirname, 'pages/tutorial.html'),+ cookbook: resolve(__dirname, 'pages/cookbook.html'),+ recipe: resolve(__dirname, 'pages/recipe.html'),glossary: resolve(__dirname, 'pages/glossary.html'),playground: resolve(__dirname, 'pages/playground.html'),coin3d: resolve(__dirname, 'pages/coin3d.html'),@@ -616,13 +618,13 @@ const appConfig = {'play-arena': resolve(__dirname, 'pages/play/arena.html'),'play-ufo': resolve(__dirname, 'pages/play/ufo.html'),'play-economy': resolve(__dirname, 'pages/play/economy.html'),- cookbook: resolve(__dirname, 'pages/cookbook.html'),agi: resolve(__dirname, 'pages/agi.html'),arena: resolve(__dirname, 'pages/arena.html'),'smart-money': resolve(__dirname, 'pages/smart-money.html'),pose: resolve(__dirname, 'pages/pose.html'),'pose-mini': resolve(__dirname, 'pages/pose-mini.html'),animations: resolve(__dirname, 'pages/animations.html'),+ gestures: resolve(__dirname, 'pages/gestures.html'),'character-library': resolve(__dirname, 'pages/character-library.html'),'sign-language': resolve(__dirname, 'pages/sign-language.html'),'asl-alphabet': resolve(__dirname, 'pages/asl-alphabet.html'),@@ -1067,6 +1069,8 @@ support: resolve(__dirname, 'pages/support.html'),// END:DISCOVER_ROUTE'/tutorials': resolve(root, 'pages/tutorials.html'),'/tutorials/': resolve(root, 'pages/tutorials.html'),+ '/cookbook': resolve(root, 'pages/cookbook.html'),+ '/cookbook/': resolve(root, 'pages/cookbook.html'),'/glossary': resolve(root, 'pages/glossary.html'),'/glossary/': resolve(root, 'pages/glossary.html'),'/go': resolve(root, 'pages/go.html'),@@ -1237,6 +1241,8 @@ support: resolve(__dirname, 'pages/support.html'),'/mint-success/': resolve(root, 'pages/mint-success.html'),'/pump-dashboard': resolve(root, 'pages/pump-dashboard.html'),'/pump-dashboard/': resolve(root, 'pages/pump-dashboard.html'),+ '/wallet': resolve(root, 'pages/wallet.html'),+ '/wallet/': resolve(root, 'pages/wallet.html'),'/autopilot': resolve(root, 'pages/autopilot.html'),'/autopilot/': resolve(root, 'pages/autopilot.html'),'/pump-visualizer': resolve(root, 'pages/pump-visualizer.html'),@@ -1617,6 +1623,14 @@ support: resolve(__dirname, 'pages/support.html'),// /tutorials/<slug> → dedicated tutorial viewer templateelse if (!filePath && /^\/tutorials\/[a-z0-9-]+\/?$/.test(path))filePath = resolve(root, 'pages/tutorial.html');+ // /cookbook/self-correcting-3d → the committed notebook export, which is a+ // static nbconvert page, NOT a markdown recipe. It has to be matched before+ // the generic slug rule below or the viewer would shadow it. Mirrors vercel.json.+ else if (!filePath && /^\/cookbook\/self-correcting-3d\/?$/.test(path))+ filePath = resolve(root, 'public/cookbook/self-correcting-3d/index.html');+ // /cookbook/<slug> → recipe viewer, renders /docs/cookbook/<slug>.md+ else if (!filePath && /^\/cookbook\/[a-z0-9-]+\/?$/.test(path))+ filePath = resolve(root, 'pages/recipe.html');// /p/<slug> → public Launchpad Studio renderer (hydrates from /api/launchpad/get)else if (!filePath && /^\/p\/[a-z0-9-]+\/?$/.test(path))filePath = resolve(root, 'public/p/index.html');