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
add xspace-agent/xspace-agent/packages/widget/vite.config.ts
oversteppinga076b3fbed40
diff --git a/xspace-agent/xspace-agent/packages/widget/vite.config.ts b/xspace-agent/xspace-agent/packages/widget/vite.config.tsnew file mode 100644index 000000000..70e7fcc57--- /dev/null+++ b/xspace-agent/xspace-agent/packages/widget/vite.config.ts@@ -0,0 +1,30 @@+// SPDX-License-Identifier: Apache-2.0+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§65]++import { defineConfig } from 'vite'+import { resolve } from 'path'++export default defineConfig({+ build: {+ lib: {+ entry: resolve(__dirname, 'src/auto-init.ts'),+ name: 'XSpaceWidget',+ formats: ['umd', 'es'],+ fileName: (format) =>+ format === 'es' ? 'xspace-widget.esm.js' : 'xspace-widget.umd.js',+ },+ rollupOptions: {+ // bundle everything including socket.io-client for self-contained UMD+ external: [],+ },+ minify: 'esbuild',+ sourcemap: true,+ },+ resolve: {+ alias: {+ '@': resolve(__dirname, 'src'),+ },+ },+})++