@codex-ultra/cxu 0.2.5 → 0.2.6
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/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/web-dist/index.html +1 -1
- package/web-dist/sw.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codex-ultra/cxu",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "codex-ultra workbench launcher: prebuilt server + web UI for every platform (cxu starts it all).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"web-tree-sitter": "0.25.10"
|
|
39
39
|
},
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@codex-ultra/cxu-win32-x64": "^0.2.
|
|
42
|
-
"@codex-ultra/cxu-linux-x64": "^0.2.
|
|
43
|
-
"@codex-ultra/cxu-linux-arm64": "^0.2.
|
|
44
|
-
"@codex-ultra/cxu-darwin-x64": "^0.2.
|
|
45
|
-
"@codex-ultra/cxu-darwin-arm64": "^0.2.
|
|
41
|
+
"@codex-ultra/cxu-win32-x64": "^0.2.6",
|
|
42
|
+
"@codex-ultra/cxu-linux-x64": "^0.2.6",
|
|
43
|
+
"@codex-ultra/cxu-linux-arm64": "^0.2.6",
|
|
44
|
+
"@codex-ultra/cxu-darwin-x64": "^0.2.6",
|
|
45
|
+
"@codex-ultra/cxu-darwin-arm64": "^0.2.6"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"esbuild": "^0.25.12",
|
package/web-dist/index.html
CHANGED
package/web-dist/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const CACHE_NAME="codex-ultra-pwa-
|
|
1
|
+
const CACHE_NAME="codex-ultra-pwa-mtzctfvb-7lbf7l",APP_SHELL=["/manifest.webmanifest","/icons/icon.svg"];self.addEventListener("install",e=>{e.waitUntil(caches.open(CACHE_NAME).then(t=>t.addAll(APP_SHELL)).then(()=>self.skipWaiting()))}),self.addEventListener("activate",e=>{e.waitUntil(caches.keys().then(t=>Promise.all(t.filter(n=>n!==CACHE_NAME).map(n=>caches.delete(n)))).then(()=>self.clients.claim()))}),self.addEventListener("fetch",e=>{const t=e.request;if(t.method!=="GET")return;const n=new URL(t.url);if(n.origin!==self.location.origin||n.pathname.startsWith("/api/")||n.pathname.startsWith("/ws"))return;if(t.mode==="navigate"||t.destination==="document"||(t.headers.get("accept")??"").includes("text/html")){e.respondWith(fetch(t).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}e.respondWith(fetch(t).then(i=>{if(i.ok&&i.type==="basic"){const a=i.clone();caches.open(CACHE_NAME).then(s=>s.put(t,a))}return i}).catch(()=>caches.match(t).then(i=>i??Response.error())))});
|