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
//
// Retired-cache cleanup, imported into the VitePWA-generated service worker via
// `workbox.importScripts` (see vite.config.js). Plain classic worker script (no
// imports) so importScripts can pull it in, same as push-sw.js.
//
// Workbox's cleanupOutdatedCaches only removes old PRECACHES. A runtime cache
// whose route is deleted from the config is never touched again: it just sits in
// the visitor's Cache Storage, counted against their quota, forever. Name a
// cache here in the same change that stops writing to it.
//
// app-assets hashed /assets/ chunks. The route was removed because the SW
// answering those fetches made Chrome discard every
// <link rel=modulepreload> for them; the HTTP cache already
// serves them (immutable, max-age=1y).
//
const RETIRED_CACHES = ['app-assets'];
self.addEventListener('activate', (event) => {
event.waitUntil(Promise.all(RETIRED_CACHES.map((name) => caches.delete(name))));
});