@codex-ultra/cxu 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/postinstall.d.ts +1 -0
- package/dist/postinstall.js +1 -0
- package/dist/server-build.d.ts +19 -0
- package/package.json +4 -9
- package/server-bundle/index.js +4172 -0
- package/web-dist/assets/{main-8dx65g7q.js → main-4g10184v.js} +353 -353
- package/web-dist/index.html +2 -2
- package/web-dist/sw.js +1 -1
package/web-dist/index.html
CHANGED
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
</style>
|
|
155
|
-
<meta name="codex-react-ui-build" content="
|
|
155
|
+
<meta name="codex-react-ui-build" content="mu0gsfo9-md7lpr" />
|
|
156
156
|
<link rel="stylesheet" href="/assets/main-svenqv8f.css" />
|
|
157
157
|
</head>
|
|
158
158
|
<body>
|
|
@@ -169,6 +169,6 @@
|
|
|
169
169
|
</div>
|
|
170
170
|
</div>
|
|
171
171
|
<noscript>Codex requires JavaScript to run.</noscript>
|
|
172
|
-
<script type="module" src="/assets/main-
|
|
172
|
+
<script type="module" src="/assets/main-4g10184v.js"></script>
|
|
173
173
|
</body>
|
|
174
174
|
</html>
|
package/web-dist/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const CACHE_NAME="codex-ultra-pwa-
|
|
1
|
+
const CACHE_NAME="codex-ultra-pwa-mu0gsfo9-md7lpr",APP_SHELL=["/manifest.webmanifest","/icons/icon.svg"];self.addEventListener("install",t=>{t.waitUntil(caches.open(CACHE_NAME).then(e=>e.addAll(APP_SHELL)).then(()=>self.skipWaiting()))}),self.addEventListener("activate",t=>{t.waitUntil(caches.keys().then(e=>Promise.all(e.filter(n=>n!==CACHE_NAME).map(n=>caches.delete(n)))).then(()=>self.clients.claim()))}),self.addEventListener("fetch",t=>{const e=t.request;if(e.method!=="GET")return;const n=new URL(e.url);if(n.origin!==self.location.origin||n.pathname.startsWith("/api/")||n.pathname.startsWith("/ws"))return;if(e.mode==="navigate"||e.destination==="document"||(e.headers.get("accept")??"").includes("text/html")){t.respondWith(fetch(e).catch(()=>new Response('<!doctype html><meta charset="utf-8"><title>Codex UI offline</title><body>Codex UI is offline. Reconnect and refresh.</body>',{headers:{"Content-Type":"text/html; charset=utf-8"}})));return}t.respondWith(fetch(e).then(i=>{if(i.ok&&i.type==="basic"){const a=i.clone();caches.open(CACHE_NAME).then(s=>s.put(e,a))}return i}).catch(()=>caches.match(e).then(i=>i??Response.error())))});
|