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(portal): match the endpoint to the contract its tests pin
nirholas38e2f762ecb9
diff --git a/api/portal.js b/api/portal.jsindex 66d702386..d5dcd94bc 100644--- a/api/portal.js+++ b/api/portal.js@@ -24,7 +24,9 @@ import { buildWorld } from '../src/portal/layout.js';export const maxDuration = 30;export default wrap(async (req, res) => {- if (cors(req, res, { methods: 'GET,OPTIONS' })) return;+ // Open CORS on purpose: @three-ws/portal runs inside other people's pages,+ // and every byte here is already public on the site it read.+ if (cors(req, res, { origins: '*', methods: 'GET,OPTIONS' })) return;if (!method(req, res, ['GET'])) return;const url = new URL(req.url, 'http://x');