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.

fix(SkillsMarketplaceModal): ensure plugin library loads only once

nirholasdd1adc313665
diff --git a/chat/src/Input.svelte b/chat/src/Input.svelte
index 440d4cf7d..5e93426d8 100644
--- a/chat/src/Input.svelte
+++ b/chat/src/Input.svelte
@@ -668,7 +668,6 @@ ${file.contents}
{#if secondaryOpen === $mode}
<button
class="fixed inset-0 z-20 cursor-default"
- aria-hidden="true"
tabindex="-1"
on:click={() => (secondaryOpen = null)}
/>
diff --git a/chat/src/SkillsMarketplaceModal.svelte b/chat/src/SkillsMarketplaceModal.svelte
index 45513491f..d1f76de2d 100644
--- a/chat/src/SkillsMarketplaceModal.svelte
+++ b/chat/src/SkillsMarketplaceModal.svelte
@@ -392,6 +392,7 @@
console.warn('[plugin-library] failed to load registry index:', err);
}
loadingLibrary = false;
+ libraryLoaded = true;
}
$: filteredLibraryPlugins = libraryQuery
@@ -446,7 +447,9 @@
}
}
- $: if (view === 'library' && libraryPlugins.length === 0) loadPluginLibrary();
+ let libraryLoaded = false;
+ $: if (view === 'library' && !libraryLoaded && !loadingLibrary) loadPluginLibrary();
+
// init and keyboard