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(concierge): keep the element entry importable when a framework loads it during SSR
nirholasc51ccb373282
diff --git a/concierge-sdk/src/element.js b/concierge-sdk/src/element.jsindex edf37260b..89f67975a 100644--- a/concierge-sdk/src/element.js+++ b/concierge-sdk/src/element.js@@ -46,7 +46,15 @@ import { Concierge } from './widget.js';const bool = (el, name) => el.hasAttribute(name);-export class ThreeConciergeElement extends HTMLElement {+// The class body is evaluated the moment the package entry is imported, and+// SSR frameworks (Next, Nuxt, SvelteKit, Astro) import it on the server, where+// `HTMLElement` does not exist. Extending a plain class there keeps the import+// itself side effect free instead of throwing at module evaluation; the element+// is only ever attached in a browser, because `registerElement()` no-ops+// without `customElements`.+const ElementBase = typeof HTMLElement === 'undefined' ? class {} : HTMLElement;++export class ThreeConciergeElement extends ElementBase {connectedCallback() {if (this._widget) return;this.style.display = 'none';