Skip to content

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.

feat(skills): update plugin avatar rendering to support image URLs

nirholas2a02adf73e62
diff --git a/chat/src/SkillsMarketplaceModal.svelte b/chat/src/SkillsMarketplaceModal.svelte
index f85e2056d..fba86ff06 100644
--- a/chat/src/SkillsMarketplaceModal.svelte
+++ b/chat/src/SkillsMarketplaceModal.svelte
@@ -795,7 +795,16 @@
<div class="flex flex-col gap-2 overflow-y-auto">
{#each filteredLibraryPlugins as plugin (plugin.identifier)}
<div class="flex items-center gap-x-3 rounded-lg border border-slate-200 px-3 py-3">
- <span class="shrink-0 text-2xl leading-none">{plugin.avatar}</span>
+ {#if typeof plugin.avatar === 'string' && /^https?:\/\//.test(plugin.avatar)}
+ <img
+ src={plugin.avatar}
+ alt=""
+ class="h-8 w-8 shrink-0 rounded-md object-cover"
+ loading="lazy"
+ />
+ {:else}
+ <span class="shrink-0 text-2xl leading-none">{plugin.avatar}</span>
+ {/if}
<div class="min-w-0 flex-1">
<div class="flex flex-wrap items-center gap-x-1.5 gap-y-1">
<span class="text-[13px] font-medium text-slate-800">{plugin.name}</span>
diff --git a/public/chat/index.html b/public/chat/index.html
index 10bb75879..e73cc3fad 100644
--- a/public/chat/index.html
+++ b/public/chat/index.html
@@ -43,8 +43,8 @@
}
}
</script>
- <script type="module" crossorigin src="/chat/assets/index-D0c87u8s.js"></script>
- <link rel="stylesheet" crossorigin href="/chat/assets/index-BEwZt7nX.css">
+ <script type="module" crossorigin src="/chat/assets/index-BTp7AvYJ.js"></script>
+ <link rel="stylesheet" crossorigin href="/chat/assets/index-Czi0dv1y.css">
</head>
<body>
<div id="app"></div>