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 PWA icons for web application
nirholasbb0aa3654fc0
diff --git a/package-lock.json b/package-lock.jsonindex 4b79994ad..f5e41263e 100644--- a/package-lock.json+++ b/package-lock.json@@ -19,6 +19,7 @@},"devDependencies": {"prettier": "^3.2.5",+ "sharp": "^0.34.5","vite": "^5.1.8","vite-plugin-pwa": "^1.2.0"}@@ -1571,6 +1572,17 @@"integrity": "sha512-A8GZN10REdFGsyuiUgLV8jjPDDFMg5GmgxGWV0I3igxBOnzj+jgz2VMmVD7g+SFyoctfeqHFxbNatKSzVRWtRg==","license": "MIT"},+ "node_modules/@emnapi/runtime": {+ "version": "1.9.2",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.2.tgz",+ "integrity": "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },"node_modules/@esbuild/aix-ppc64": {"version": "0.21.5","resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",@@ -1962,6 +1974,496 @@"node": ">=12"}},+ "node_modules/@img/colour": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/@img/sharp-darwin-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",+ "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-darwin-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",+ "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",+ "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",+ "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",+ "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",+ "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-ppc64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",+ "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-riscv64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",+ "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-s390x": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",+ "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",+ "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",+ "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",+ "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-linux-arm": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",+ "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",+ "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-ppc64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",+ "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-ppc64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-riscv64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",+ "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-riscv64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-s390x": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",+ "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-s390x": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",+ "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",+ "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",+ "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-wasm32": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",+ "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",+ "cpu": [+ "wasm32"+ ],+ "dev": true,+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/runtime": "^1.7.0"+ },+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",+ "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-ia32": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",+ "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",+ "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },"node_modules/@isaacs/cliui": {"version": "9.0.0","resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz",@@ -2918,6 +3420,16 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/detect-libc": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=8"+ }+ },"node_modules/dunder-proto": {"version": "1.0.1","resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",@@ -4810,6 +5322,64 @@"node": ">= 0.4"}},+ "node_modules/sharp": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",+ "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",+ "dev": true,+ "hasInstallScript": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@img/colour": "^1.0.0",+ "detect-libc": "^2.1.2",+ "semver": "^7.7.3"+ },+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-darwin-arm64": "0.34.5",+ "@img/sharp-darwin-x64": "0.34.5",+ "@img/sharp-libvips-darwin-arm64": "1.2.4",+ "@img/sharp-libvips-darwin-x64": "1.2.4",+ "@img/sharp-libvips-linux-arm": "1.2.4",+ "@img/sharp-libvips-linux-arm64": "1.2.4",+ "@img/sharp-libvips-linux-ppc64": "1.2.4",+ "@img/sharp-libvips-linux-riscv64": "1.2.4",+ "@img/sharp-libvips-linux-s390x": "1.2.4",+ "@img/sharp-libvips-linux-x64": "1.2.4",+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4",+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4",+ "@img/sharp-linux-arm": "0.34.5",+ "@img/sharp-linux-arm64": "0.34.5",+ "@img/sharp-linux-ppc64": "0.34.5",+ "@img/sharp-linux-riscv64": "0.34.5",+ "@img/sharp-linux-s390x": "0.34.5",+ "@img/sharp-linux-x64": "0.34.5",+ "@img/sharp-linuxmusl-arm64": "0.34.5",+ "@img/sharp-linuxmusl-x64": "0.34.5",+ "@img/sharp-wasm32": "0.34.5",+ "@img/sharp-win32-arm64": "0.34.5",+ "@img/sharp-win32-ia32": "0.34.5",+ "@img/sharp-win32-x64": "0.34.5"+ }+ },+ "node_modules/sharp/node_modules/semver": {+ "version": "7.7.4",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",+ "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",+ "dev": true,+ "license": "ISC",+ "bin": {+ "semver": "bin/semver.js"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/shebang-command": {"version": "2.0.0","resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",@@ -5227,6 +5797,14 @@"punycode": "^2.1.0"}},+ "node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "dev": true,+ "license": "0BSD",+ "optional": true+ },"node_modules/type-fest": {"version": "0.16.0","resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.16.0.tgz",diff --git a/package.json b/package.jsonindex 1615bbd88..c8fa9f36a 100644--- a/package.json+++ b/package.json@@ -48,6 +48,7 @@},"devDependencies": {"prettier": "^3.2.5",+ "sharp": "^0.34.5","vite": "^5.1.8","vite-plugin-pwa": "^1.2.0"}diff --git a/public/pwa-192x192.png b/public/pwa-192x192.pngnew file mode 100644index 000000000..7740b930cBinary files /dev/null and b/public/pwa-192x192.png differdiff --git a/public/pwa-512x512.png b/public/pwa-512x512.pngnew file mode 100644index 000000000..31fdd72aeBinary files /dev/null and b/public/pwa-512x512.png differdiff --git a/public/pwa-icon.svg b/public/pwa-icon.svgindex 90b0197d6..58713989d 100644--- a/public/pwa-icon.svg+++ b/public/pwa-icon.svg@@ -1,12 +1,89 @@<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">+ <defs>+ <!-- Vertex glow -->+ <radialGradient id="vglow" cx="50%" cy="50%" r="50%">+ <stop offset="0%" stop-color="#ffffff" stop-opacity="0.9"/>+ <stop offset="30%" stop-color="#b8e8ff" stop-opacity="0.5"/>+ <stop offset="100%" stop-color="#b8e8ff" stop-opacity="0"/>+ </radialGradient>+ <!-- Edge glow filter -->+ <filter id="edgeGlow" x="-20%" y="-20%" width="140%" height="140%">+ <feGaussianBlur stdDeviation="3" result="blur"/>+ <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>+ </filter>+ <!-- Strong vertex glow filter -->+ <filter id="vtxGlow" x="-100%" y="-100%" width="300%" height="300%">+ <feGaussianBlur stdDeviation="8" result="blur"/>+ <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>+ </filter>+ <!-- Cube face gradient — top -->+ <linearGradient id="faceTop" x1="0" y1="0" x2="0" y2="1">+ <stop offset="0%" stop-color="#1a2a3a" stop-opacity="0.7"/>+ <stop offset="100%" stop-color="#0a1520" stop-opacity="0.85"/>+ </linearGradient>+ <!-- Cube face gradient — right -->+ <linearGradient id="faceRight" x1="0" y1="0" x2="1" y2="1">+ <stop offset="0%" stop-color="#0f1e2e" stop-opacity="0.8"/>+ <stop offset="100%" stop-color="#060e18" stop-opacity="0.9"/>+ </linearGradient>+ <!-- Cube face gradient — left -->+ <linearGradient id="faceLeft" x1="1" y1="0" x2="0" y2="1">+ <stop offset="0%" stop-color="#0d1a28" stop-opacity="0.75"/>+ <stop offset="100%" stop-color="#080f1a" stop-opacity="0.9"/>+ </linearGradient>+ </defs>++ <!-- Background --><rect width="512" height="512" rx="96" fill="#080814"/>- <!-- Back face — dim cyan -->- <polygon points="171,171 341,171 341,341 171,341" fill="none" stroke="#00d4ff" stroke-width="3" opacity="0.35"/>- <!-- Front face — bright cyan -->- <polygon points="201,201 311,201 311,311 201,311" fill="none" stroke="#00d4ff" stroke-width="5" opacity="0.95"/>- <!-- Connecting edges — orange -->- <line x1="171" y1="171" x2="201" y2="201" stroke="#ff6600" stroke-width="3" opacity="0.7"/>- <line x1="341" y1="171" x2="311" y2="201" stroke="#ff6600" stroke-width="3" opacity="0.7"/>- <line x1="341" y1="341" x2="311" y2="311" stroke="#ff6600" stroke-width="3" opacity="0.7"/>- <line x1="171" y1="341" x2="201" y2="311" stroke="#ff6600" stroke-width="3" opacity="0.7"/>++ <!-- Isometric cube — 3/4 view like 3d.png -->+ <!-- Vertices: top=256,110 front-left=116,256 front-right=396,256+ bottom=256,402 back-left=116,182 back-right=396,182 -->++ <!-- Left face -->+ <polygon points="256,110 116,182 116,330 256,402" fill="url(#faceLeft)" stroke="none"/>+ <!-- Right face -->+ <polygon points="256,110 396,182 396,330 256,402" fill="url(#faceRight)" stroke="none"/>+ <!-- Top face -->+ <polygon points="256,110 116,182 256,254 396,182" fill="url(#faceTop)" stroke="none"/>++ <!-- Subtle inner grid lines on faces -->+ <!-- Left face grid -->+ <line x1="186" y1="146" x2="186" y2="366" stroke="#1a3a5a" stroke-width="0.5" opacity="0.3"/>+ <line x1="116" y1="256" x2="256" y2="256" stroke="#1a3a5a" stroke-width="0.5" opacity="0.3"/>+ <!-- Right face grid -->+ <line x1="326" y1="146" x2="326" y2="366" stroke="#1a3a5a" stroke-width="0.5" opacity="0.3"/>+ <line x1="256" y1="256" x2="396" y2="256" stroke="#1a3a5a" stroke-width="0.5" opacity="0.3"/>+ <!-- Top face grid -->+ <line x1="186" y1="146" x2="326" y2="146" stroke="#1a3a5a" stroke-width="0.5" opacity="0.25"/>+ <line x1="256" y1="110" x2="256" y2="254" stroke="#1a3a5a" stroke-width="0.5" opacity="0.25"/>++ <!-- Edges — glowing cyan/white like crystal cube -->+ <!-- Top edges -->+ <line x1="256" y1="110" x2="116" y2="182" stroke="#7ec8e3" stroke-width="2" opacity="0.7" filter="url(#edgeGlow)"/>+ <line x1="256" y1="110" x2="396" y2="182" stroke="#7ec8e3" stroke-width="2" opacity="0.7" filter="url(#edgeGlow)"/>+ <!-- Top front edge -->+ <line x1="116" y1="182" x2="256" y2="254" stroke="#5aadcf" stroke-width="1.5" opacity="0.5" filter="url(#edgeGlow)"/>+ <line x1="396" y1="182" x2="256" y2="254" stroke="#5aadcf" stroke-width="1.5" opacity="0.5" filter="url(#edgeGlow)"/>+ <!-- Vertical edges -->+ <line x1="116" y1="182" x2="116" y2="330" stroke="#5aadcf" stroke-width="1.8" opacity="0.5" filter="url(#edgeGlow)"/>+ <line x1="396" y1="182" x2="396" y2="330" stroke="#5aadcf" stroke-width="1.8" opacity="0.5" filter="url(#edgeGlow)"/>+ <line x1="256" y1="254" x2="256" y2="402" stroke="#4a9abf" stroke-width="1.5" opacity="0.4" filter="url(#edgeGlow)"/>+ <!-- Bottom edges -->+ <line x1="116" y1="330" x2="256" y2="402" stroke="#5aadcf" stroke-width="1.8" opacity="0.55" filter="url(#edgeGlow)"/>+ <line x1="396" y1="330" x2="256" y2="402" stroke="#5aadcf" stroke-width="1.8" opacity="0.55" filter="url(#edgeGlow)"/>++ <!-- Bright vertex glows — matching 3d.png's bright corner highlights -->+ <!-- Top vertex — brightest -->+ <circle cx="256" cy="110" r="14" fill="url(#vglow)" filter="url(#vtxGlow)"/>+ <!-- Left vertex -->+ <circle cx="116" cy="182" r="10" fill="url(#vglow)" opacity="0.6" filter="url(#vtxGlow)"/>+ <!-- Right vertex -->+ <circle cx="396" cy="182" r="10" fill="url(#vglow)" opacity="0.6" filter="url(#vtxGlow)"/>+ <!-- Front-bottom vertex -->+ <circle cx="256" cy="402" r="8" fill="url(#vglow)" opacity="0.35" filter="url(#vtxGlow)"/>+ <!-- Mid vertices — subtler -->+ <circle cx="256" cy="254" r="7" fill="url(#vglow)" opacity="0.3" filter="url(#vtxGlow)"/>+ <circle cx="116" cy="330" r="7" fill="url(#vglow)" opacity="0.3" filter="url(#vtxGlow)"/>+ <circle cx="396" cy="330" r="7" fill="url(#vglow)" opacity="0.4" filter="url(#vtxGlow)"/></svg>diff --git a/scripts/generate-pwa-icons.mjs b/scripts/generate-pwa-icons.mjsindex aa3213d3f..10f3b1f7e 100644--- a/scripts/generate-pwa-icons.mjs+++ b/scripts/generate-pwa-icons.mjs@@ -1,15 +1,40 @@-import { readFileSync } from 'fs';+import { readFileSync, existsSync } from 'fs';import { join, dirname } from 'path';import { fileURLToPath } from 'url';import sharp from 'sharp';const __dirname = dirname(fileURLToPath(import.meta.url));-const svgPath = join(__dirname, '..', 'public', 'pwa-icon.svg');-const outDir = join(__dirname, '..', 'public');-const svg = readFileSync(svgPath);+const publicDir = join(__dirname, '..', 'public');++// Use 3d.png as the source — crop the cube portion to a square+const pngSource = join(publicDir, '3d.png');+const svgFallback = join(publicDir, 'pwa-icon.svg');++async function generateFromPng(sourcePath) {+ const img = sharp(sourcePath);+ const meta = await img.metadata();+ // Crop to a centered square from the right side where the cube lives+ const size = Math.min(meta.width, meta.height);+ const left = Math.max(0, Math.floor((meta.width - size) / 2));+ const top = 0;+ return sharp(sourcePath).extract({+ left: Math.floor(meta.width * 0.3),+ top: Math.floor(meta.height * 0.02),+ width: Math.floor(meta.height * 0.96),+ height: Math.floor(meta.height * 0.96),+ });+}++async function generateFromSvg(sourcePath) {+ return sharp(readFileSync(sourcePath));+}++const source = existsSync(pngSource) ? pngSource : svgFallback;+const pipeline =+ source === pngSource ? await generateFromPng(source) : await generateFromSvg(source);for (const size of [192, 512]) {- const outPath = join(outDir, `pwa-${size}x${size}.png`);- await sharp(svg).resize(size, size).png().toFile(outPath);+ const outPath = join(publicDir, `pwa-${size}x${size}.png`);+ await pipeline.clone().resize(size, size).png().toFile(outPath);console.log(`Created ${outPath}`);}diff --git a/vite.config.js b/vite.config.jsindex d1b8731cf..0561903a1 100644--- a/vite.config.js+++ b/vite.config.js@@ -5,7 +5,7 @@ export default defineConfig({plugins: [VitePWA({registerType: 'autoUpdate',- includeAssets: ['favicon.ico', 'pwa-192x192.png', 'pwa-512x512.png'],+ includeAssets: ['favicon.ico', 'pwa-192x192.png', 'pwa-512x512.png', 'pwa-icon.svg'],manifest: {name: '3D Agent — AI-Powered 3D Model Viewer',short_name: '3D Agent',diff --git a/yarn.lock b/yarn.lockindex 0b93e9b44..9dae6de1f 100644--- a/yarn.lock+++ b/yarn.lock@@ -807,6 +807,23 @@resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz"integrity sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==+"@img/colour@^1.0.0":+ version "1.1.0"+ resolved "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz"+ integrity sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==++"@img/[email protected]":+ version "1.2.4"+ resolved "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz"+ integrity sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==++"@img/[email protected]":+ version "0.34.5"+ resolved "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz"+ integrity sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==+ optionalDependencies:+ "@img/sharp-libvips-linux-x64" "1.2.4"+"@isaacs/cliui@^9.0.0":version "9.0.0"resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz"@@ -913,6 +930,11 @@resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.2.tgz"integrity sha512-lG7Xa+BmBNwpjmVUbmyKxdQJ3Q6whHjMjzQplOs5Z+Gj7mxPtWakGHqzMqNER68G67kmCX9qX57aRsW5V0VOng==+"@rollup/[email protected]":+ version "4.40.2"+ resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.2.tgz"+ integrity sha512-tD46wKHd+KJvsmije4bUskNuvWKFcTOIM9tZ/RrmIvcXnbi0YK/cKS9FzFtAm7Oxi2EhV5N2OpfFB348vSQRXA==+"@surma/rollup-plugin-off-main-thread@^2.2.3":version "2.2.3"resolved "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz"@@ -1204,6 +1226,11 @@ define-properties@^1.2.1:has-property-descriptors "^1.0.0"object-keys "^1.1.1"+detect-libc@^2.1.2:+ version "2.1.2"+ resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz"+ integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==+dunder-proto@^1.0.0, dunder-proto@^1.0.1:version "1.0.1"resolved "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz"@@ -2178,6 +2205,11 @@ semver@^6.3.1:resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==+semver@^7.7.3:+ version "7.7.4"+ resolved "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz"+ integrity sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==+serialize-javascript@^6.0.1:version "6.0.2"resolved "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz"@@ -2216,6 +2248,40 @@ set-proto@^1.0.0:es-errors "^1.3.0"es-object-atoms "^1.0.0"+sharp@^0.34.5:+ version "0.34.5"+ resolved "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz"+ integrity sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==+ dependencies:+ "@img/colour" "^1.0.0"+ detect-libc "^2.1.2"+ semver "^7.7.3"+ optionalDependencies:+ "@img/sharp-darwin-arm64" "0.34.5"+ "@img/sharp-darwin-x64" "0.34.5"+ "@img/sharp-libvips-darwin-arm64" "1.2.4"+ "@img/sharp-libvips-darwin-x64" "1.2.4"+ "@img/sharp-libvips-linux-arm" "1.2.4"+ "@img/sharp-libvips-linux-arm64" "1.2.4"+ "@img/sharp-libvips-linux-ppc64" "1.2.4"+ "@img/sharp-libvips-linux-riscv64" "1.2.4"+ "@img/sharp-libvips-linux-s390x" "1.2.4"+ "@img/sharp-libvips-linux-x64" "1.2.4"+ "@img/sharp-libvips-linuxmusl-arm64" "1.2.4"+ "@img/sharp-libvips-linuxmusl-x64" "1.2.4"+ "@img/sharp-linux-arm" "0.34.5"+ "@img/sharp-linux-arm64" "0.34.5"+ "@img/sharp-linux-ppc64" "0.34.5"+ "@img/sharp-linux-riscv64" "0.34.5"+ "@img/sharp-linux-s390x" "0.34.5"+ "@img/sharp-linux-x64" "0.34.5"+ "@img/sharp-linuxmusl-arm64" "0.34.5"+ "@img/sharp-linuxmusl-x64" "0.34.5"+ "@img/sharp-wasm32" "0.34.5"+ "@img/sharp-win32-arm64" "0.34.5"+ "@img/sharp-win32-ia32" "0.34.5"+ "@img/sharp-win32-x64" "0.34.5"+shebang-command@^2.0.0:version "2.0.0"resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz"