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
style(api): replace the banned em-dashes in the new rider and asset-proxy comments
nirholas01f9acf3d40d
diff --git a/api/_lib/env.js b/api/_lib/env.jsindex 7c8038b88..2ace880b3 100644--- a/api/_lib/env.js+++ b/api/_lib/env.js@@ -1572,7 +1572,7 @@ export const env = {// Rider Firebase web-app config, served to the browser by /api/rider/firebase// so the client bundle carries no project literals. These are the public// client-side identifiers Firebase itself publishes in a web app config, NOT- // service-account credentials — access is governed by Firebase security rules,+ // service-account credentials. Access is governed by Firebase security rules,// so the endpoint is deliberately unauthenticated. api/rider/firebase.js// answers 503 not_configured until at least the apiKey and projectId are set.get RIDER_FIREBASE_API_KEY() {diff --git a/api/rider/check.js b/api/rider/check.jsindex 444175cf5..685f23e79 100644--- a/api/rider/check.js+++ b/api/rider/check.js@@ -48,7 +48,7 @@ export default wrap(async (req, res) => {if (!rl.success) return rateLimited(res, rl);// A repeated query param (?address=a&address=b) arrives as an array, which- // has no .trim() — reading it directly turned a malformed request into a 500.+ // has no .trim(), so reading it directly turned a malformed request into a 500.const raw = req.query?.address;const address = (Array.isArray(raw) ? raw[0] : raw ?? '').toString().trim();if (!address) return error(res, 400, 'validation_error', 'address required');@@ -61,7 +61,7 @@ export default wrap(async (req, res) => {}// Both lookups run together, and a positive result from either one is already- // authoritative — a failed lookup only blocks the answer when it was the one+ // authoritative: a failed lookup only blocks the answer when it was the one// that had to prove the wallet has NO pass.const [balanceRead, paymentRead] = await Promise.allSettled([heldBalance(owner),diff --git a/api/rider/firebase.js b/api/rider/firebase.jsindex 091620c6b..c750f1532 100644--- a/api/rider/firebase.js+++ b/api/rider/firebase.js@@ -32,7 +32,7 @@ export default wrap(async (req, res) => {res,503,'not_configured',- 'rider Firebase is not configured — set RIDER_FIREBASE_API_KEY and RIDER_FIREBASE_PROJECT_ID',+ 'rider Firebase is not configured: set RIDER_FIREBASE_API_KEY and RIDER_FIREBASE_PROJECT_ID',);}diff --git a/api/studio-assets/[...path].js b/api/studio-assets/[...path].jsindex abe4392b4..063e16ec9 100644--- a/api/studio-assets/[...path].js+++ b/api/studio-assets/[...path].js@@ -152,7 +152,7 @@ export default wrap(async (req, res) => {if (req.method === 'HEAD') {// Only advertise a length we can stand behind. Upstream answers this// fetch gzipped (undici asks for it), so its content-length is the- // COMPRESSED size while a GET here returns the decoded bytes — for a+ // COMPRESSED size while a GET here returns the decoded bytes. For a// trait manifest that is 2.4 KB claimed against 20 KB delivered. Text// bodies are rewritten on top of that, changing the length again.const len = upstream.headers.get('content-length');