feat(studio): drop 3D Poster Lab and ship Multi-Tenant Multi-Expert Brain OS, Live Playground & n8n Playbooks

This commit is contained in:
Amirul Islam Redwan71
2026-11-26 13:42:25 +06:00
parent 7c5bcd9ac7
commit 6a46c419f2
8 changed files with 1274 additions and 8031 deletions
+5 -11
View File
@@ -1,22 +1,16 @@
const CACHE_NAME = 'aura-studio-v9-cache';
const CACHE_NAME = 'aura-studio-v11-multi-expert-cache';
self.addEventListener('install', (e) => {
self.addEventListener('install', () => {
self.skipWaiting();
});
self.addEventListener('activate', (e) => {
e.waitUntil(
caches.keys().then((keys) => {
return Promise.all(
keys.map((key) => caches.delete(key))
);
}).then(() => self.clients.claim())
caches.keys().then((keys) => Promise.all(keys.map((key) => caches.delete(key)))).then(() => self.clients.claim())
);
});
self.addEventListener('fetch', (e) => {
// Always fetch fresh network first, fallback to cache only if completely offline
e.respondWith(
fetch(e.request).catch(() => caches.match(e.request))
);
if (e.request.method !== 'GET' || new URL(e.request.url).pathname.startsWith('/api/')) return;
e.respondWith(fetch(e.request).catch(() => caches.match(e.request)));
});