Self-hosted AI workspace.
Python
fix(ui): bust cache for collapsible subscription usage
Alexandre Teixeira46c8451a294d
diff --git a/static/app.js b/static/app.jsindex f5014f29e..8c04bfd47 100644--- a/static/app.js+++ b/static/app.js@@ -37,7 +37,7 @@ import { UI_VIS_DEFAULT_OFF, resolveVisibility } from './js/ui_visibility.js?v=2import tasksModule from './js/tasks.js?v=20260914taskmodel1';import calendarModule from './js/calendar.js?v=20260914emailsource11';import notesModule from './js/notes.js?v=20260911notesselectioncancel1';-import adminModule from './js/admin.js?v=20260921chatgptusage1';+import adminModule from './js/admin.js?v=20260921chatgptusage2';import settingsModule from './js/settings.js?v=20260912writingstyle3';// Eagerly bind unified minimize/restore behavior across all tool modals.import './js/modalManager.js';diff --git a/static/index.html b/static/index.htmlindex 86ef35843..1d117fe60 100644--- a/static/index.html+++ b/static/index.html@@ -246,8 +246,8 @@real request is discarded and the font fetched a second time. --><link rel="preload" as="font" type="font/woff2" crossorigin href="/static/fonts/FiraCode-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="/static/fonts/FiraCode-SemiBold.woff2">- <link rel="stylesheet" href="/static/style.css?v=20260921chatgptusage1">- <link rel="modulepreload" href="/static/app.js?v=20260916autoscroll1">+ <link rel="stylesheet" href="/static/style.css?v=20260921chatgptusage2">+ <link rel="modulepreload" href="/static/app.js?v=20260921chatgptusage2"><link rel="modulepreload" href="/static/js/chat.js?v=20260917toolttft1"><link rel="modulepreload" href="/static/js/ui.js?v=20260916largetoolscroll1"><link rel="modulepreload" href="/static/js/sessions.js">@@ -2631,7 +2631,7 @@<script type="module" src="/static/js/censor.js"></script><script type="module" src="/static/js/settings.js?v=20260912writingstyle3"></script><script type="module" src="/static/js/assistant.js?v=20260912firefoxjscleanup1"></script>-<script type="module" src="/static/app.js?v=20260916autoscroll1"></script> <!-- app.js must be LAST -->+<script type="module" src="/static/app.js?v=20260921chatgptusage2"></script> <!-- app.js must be LAST --><script type="module" src="/static/js/init.js?v=20260829chatstyle12"></script><script type="module" src="/static/js/a11y.js"></script><script nonce="{{CSP_NONCE}}">if('serviceWorker' in navigator){navigator.serviceWorker.register('/static/sw.js?v=20260916autoscroll1').catch(()=>{});}</script>diff --git a/static/sw.js b/static/sw.jsindex 89a5b1c89..97c35236c 100644--- a/static/sw.js+++ b/static/sw.js@@ -7,7 +7,7 @@// - Other static assets (images/fonts/libs): cache-first with bg refresh.// - API / non-GET: never cached.// Bump CACHE_NAME whenever the precache list or SW logic changes.-const CACHE_NAME = 'odysseus-v650-chatgpt-multi-account-usage';+const CACHE_NAME = 'odysseus-v651-chatgpt-usage-collapse';// KaTeX resolves these from its own stylesheet, so caching the CSS without them// gives offline math fallback glyphs instead of proper typesetting.@@ -39,8 +39,8 @@ const KATEX_FONTS = [// exact URL the browser requests, query string included.const PRECACHE = ['/',- '/static/style.css?v=20260921chatgptusage1',- '/static/app.js?v=20260916autoscroll1',+ '/static/style.css?v=20260921chatgptusage2',+ '/static/app.js?v=20260921chatgptusage2','/static/js/storage.js','/static/js/appConfig.js','/static/js/ui.js?v=20260916largetoolscroll1',@@ -75,7 +75,7 @@ const PRECACHE = ['/static/js/theme.js?v=20260911organsrain1','/static/js/censor.js','/static/js/settings.js?v=20260912writingstyle3',- '/static/js/admin.js?v=20260921chatgptusage1',+ '/static/js/admin.js?v=20260921chatgptusage2','/static/js/chatgptSubscriptionUsage.js','/static/js/init.js?v=20260829chatstyle12','/static/js/slashCommands.js?v=20260921chatgptusage1',