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(api): include schema_json in skill details response and update installation response
nirholas271fa38431e7
diff --git a/api/skills/[id]/install.js b/api/skills/[id]/install.jsindex 8db0e3606..1fddabf70 100644--- a/api/skills/[id]/install.js+++ b/api/skills/[id]/install.js@@ -20,7 +20,7 @@ export default wrap(async (req, res) => {const rl = await limits.chatUser(userId);if (!rl.success) return error(res, 429, 'rate_limited', 'too many requests');- const [skill] = await sql`SELECT id FROM marketplace_skills WHERE id = ${id} AND is_public = true`;+ const [skill] = await sql`SELECT id, schema_json FROM marketplace_skills WHERE id = ${id} AND is_public = true`;if (!skill) return error(res, 404, 'not_found', 'skill not found');if (req.method === 'POST') {@@ -36,7 +36,7 @@ export default wrap(async (req, res) => {SET install_count = install_count + 1WHERE marketplace_skills.id = ${id} AND EXISTS (SELECT 1 FROM ins)`;- return json(res, 200, { installed: true });+ return json(res, 200, { installed: true, schema_json: skill.schema_json });}// DELETE — uninstalldiff --git a/chat/src/SkillsMarketplaceModal.svelte b/chat/src/SkillsMarketplaceModal.svelteindex 6b07531b1..51e2076d6 100644--- a/chat/src/SkillsMarketplaceModal.svelte+++ b/chat/src/SkillsMarketplaceModal.svelte@@ -228,7 +228,8 @@try {const res = await fetch(`/api/skills/${skill.id}`);if (!res.ok) throw new Error('Failed to load details');- detail = await res.json();+ const data = await res.json();+ detail = data.skill ?? data;userRating = detail.user_rating ?? null;} catch (e) {notify(e.message, 'error');