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(vanity-grind): check agent ownership against agent_identities
nirholasaafba0d9a5c5
diff --git a/api/agent-vanity-grind.js b/api/agent-vanity-grind.jsindex a2413cab4..c55ede2db 100644--- a/api/agent-vanity-grind.js+++ b/api/agent-vanity-grind.js@@ -100,7 +100,7 @@ export default async function handleAgentVanityGrind(req, res) {}// Ownership: the triggering user must own this agent (same check the task bar uses).- const [agentRow] = await sql`SELECT id, name FROM agents WHERE id = ${agentId} AND user_id = ${userId} LIMIT 1`;+ const [agentRow] = await sql`SELECT id, name FROM agent_identities WHERE id = ${agentId} AND user_id = ${userId} AND deleted_at IS NULL LIMIT 1`;if (!agentRow) return error(res, 403, 'forbidden', 'agent not found or not owned by this user');const agentName = agentRow.name || 'agent';