@codex-ultra/cxu 0.2.12 → 0.2.17
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/LICENSE +2 -2
- package/README.md +86 -86
- package/dist/cli-doctor.d.ts +3 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/vendor/saVmTool.d.ts +130 -2
- package/package.json +68 -68
- package/server-bundle/index.js +556 -357
- package/web-dist/assets/{main-4g10184v.js → main-006rj47w.js} +610 -610
- package/web-dist/assets/main-f84g7djq.css +1 -0
- package/web-dist/icons/Augment_Code.svg +9 -9
- package/web-dist/icons/agy-color.svg +10 -10
- package/web-dist/icons/mini.svg +4 -0
- package/web-dist/icons/opencode.svg +4 -4
- package/web-dist/index.html +3 -3
- package/web-dist/install-prompt-listener.js +7 -7
- package/web-dist/sw.js +1 -1
- package/web-dist/assets/main-svenqv8f.css +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="none">
|
|
2
|
-
<style>
|
|
3
|
-
path { fill: #000000; }
|
|
4
|
-
@media (prefers-color-scheme: dark) {
|
|
5
|
-
path { fill: #ffffff; }
|
|
6
|
-
}
|
|
7
|
-
</style>
|
|
8
|
-
<path d="M78.844 464.762c-8.453 0-15.573-1.451-21.359-4.339-5.77-2.888-10.144-7.289-13.076-13.095-2.932-5.807-4.436-12.912-4.436-21.255v-86.028c0-10.605-2.125-18.321-6.329-23.135-4.234-4.798-11.742-7.334-22.507-7.579-3.35 0-6.034-1.253-8.066-3.804C1.008 303.005 0 300.087 0 296.832c0-3.53 1.008-6.448 3.071-8.725 2.048-2.277 4.762-3.53 8.066-3.774 10.765-.26 18.273-2.781 22.507-7.579 4.235-4.798 6.329-12.392 6.329-22.752v-86.028c0-12.637 3.35-22.249 10.005-28.804 6.654-6.555 16.287-9.856 28.866-9.856H181.5c3.862 0 7.042 1.146 9.617 3.408 2.559 2.277 3.862 5.195 3.862 8.694 0 3.301-1.086 6.128-3.257 8.542-2.172 2.414-5.057 3.622-8.671 3.622H87.732c-5.413 0-9.508 1.39-12.316 4.171-2.823 2.781-4.234 7.075-4.234 12.912v86.425c0 7.579-1.551 14.455-4.623 20.644-3.07 6.204-7.181 11.063-12.316 14.623-5.134 3.53-11.137 5.302-18.07 5.302v-1.528c6.933 0 12.936 1.773 18.07 5.303 5.135 3.529 9.245 8.404 12.316 14.623 3.072 6.188 4.623 13.064 4.623 20.643v86.808c0 5.837 1.411 10.115 4.234 12.911 2.823 2.812 6.934 4.172 12.316 4.172h95.318c3.583 0 6.468 1.207 8.671 3.606 2.202 2.414 3.257 5.257 3.257 8.542s-1.272 6.097-3.862 8.511c-2.575 2.414-5.771 3.606-9.617 3.606H78.844v-.092ZM330.501 464.768c-3.862 0-7.042-1.207-9.617-3.606-2.575-2.414-3.863-5.256-3.863-8.511 0-3.255 1.086-6.128 3.258-8.542 2.171-2.414 5.057-3.606 8.671-3.606h95.317c5.414 0 9.509-1.36 12.316-4.171 2.823-2.781 4.235-7.075 4.235-12.912v-86.808c0-7.579 1.551-14.455 4.622-20.643 3.071-6.204 7.182-11.063 12.316-14.623 5.134-3.53 11.137-5.303 18.071-5.303v1.528c-6.934 0-12.937-1.772-18.071-5.302-5.134-3.53-9.245-8.404-12.316-14.623-3.071-6.189-4.622-13.065-4.622-20.644v-86.425c0-5.807-1.412-10.1-4.235-12.912-2.823-2.781-6.933-4.171-12.316-4.171H328.95c-3.583 0-6.469-1.208-8.671-3.622-2.172-2.384-3.258-5.241-3.258-8.542 0-3.529 1.272-6.417 3.863-8.694 2.559-2.277 5.755-3.407 9.617-3.407h102.654c12.58 0 22.181 3.3 28.867 9.855 6.685 6.556 10.005 16.167 10.005 28.804v86.028c0 10.36 2.125 17.969 6.328 22.752 4.235 4.798 11.742 7.334 22.507 7.579 3.351.244 6.034 1.497 8.066 3.774 2.063 2.277 3.071 5.195 3.071 8.725 0 3.301-1.008 6.189-3.071 8.695-2.032 2.521-4.762 3.804-8.066 3.804-10.765.245-18.257 2.781-22.507 7.579-4.234 4.798-6.328 12.5-6.328 23.135v86.028c0 8.358-1.474 15.418-4.437 21.255-2.962 5.837-7.305 10.176-13.076 13.095-5.785 2.888-12.905 4.339-21.359 4.339H330.501v.092Z"/>
|
|
9
|
-
<path d="M356.885 329.738c18.691 0 33.846-14.929 33.846-33.342 0-18.412-15.155-33.341-33.846-33.341-18.691 0-33.846 14.929-33.846 33.341 0 18.413 15.155 33.342 33.846 33.342ZM167.305 329.738c18.691 0 33.846-14.929 33.846-33.342 0-18.412-15.155-33.341-33.846-33.341-18.691 0-33.846 14.929-33.846 33.341 0 18.413 15.155 33.342 33.846 33.342ZM244.477 32.846l-2.59 68.135c0 3.82-3.661 5.73-10.983 5.73-7.321 0-10.982-1.91-10.982-5.73-.651-16.976-1.178-30.148-1.613-39.484-.217-9.55-.434-16.35-.651-20.384-.217-4.034-.326-6.479-.326-7.32v-1.268c0-4.874 4.529-7.319 13.572-7.319 9.044 0 13.573 2.552 13.573 7.64Zm54.941 0-2.59 68.135c0 3.82-3.661 5.73-10.982 5.73-7.322 0-10.982-1.91-10.982-5.73-.652-16.976-1.179-30.148-1.613-39.484-.218-9.55-.435-16.35-.652-20.384-.217-4.034-.326-6.479-.326-7.32v-1.268c0-4.874 4.53-7.319 13.573-7.319s13.572 2.552 13.572 7.64Z"/>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="none">
|
|
2
|
+
<style>
|
|
3
|
+
path { fill: #000000; }
|
|
4
|
+
@media (prefers-color-scheme: dark) {
|
|
5
|
+
path { fill: #ffffff; }
|
|
6
|
+
}
|
|
7
|
+
</style>
|
|
8
|
+
<path d="M78.844 464.762c-8.453 0-15.573-1.451-21.359-4.339-5.77-2.888-10.144-7.289-13.076-13.095-2.932-5.807-4.436-12.912-4.436-21.255v-86.028c0-10.605-2.125-18.321-6.329-23.135-4.234-4.798-11.742-7.334-22.507-7.579-3.35 0-6.034-1.253-8.066-3.804C1.008 303.005 0 300.087 0 296.832c0-3.53 1.008-6.448 3.071-8.725 2.048-2.277 4.762-3.53 8.066-3.774 10.765-.26 18.273-2.781 22.507-7.579 4.235-4.798 6.329-12.392 6.329-22.752v-86.028c0-12.637 3.35-22.249 10.005-28.804 6.654-6.555 16.287-9.856 28.866-9.856H181.5c3.862 0 7.042 1.146 9.617 3.408 2.559 2.277 3.862 5.195 3.862 8.694 0 3.301-1.086 6.128-3.257 8.542-2.172 2.414-5.057 3.622-8.671 3.622H87.732c-5.413 0-9.508 1.39-12.316 4.171-2.823 2.781-4.234 7.075-4.234 12.912v86.425c0 7.579-1.551 14.455-4.623 20.644-3.07 6.204-7.181 11.063-12.316 14.623-5.134 3.53-11.137 5.302-18.07 5.302v-1.528c6.933 0 12.936 1.773 18.07 5.303 5.135 3.529 9.245 8.404 12.316 14.623 3.072 6.188 4.623 13.064 4.623 20.643v86.808c0 5.837 1.411 10.115 4.234 12.911 2.823 2.812 6.934 4.172 12.316 4.172h95.318c3.583 0 6.468 1.207 8.671 3.606 2.202 2.414 3.257 5.257 3.257 8.542s-1.272 6.097-3.862 8.511c-2.575 2.414-5.771 3.606-9.617 3.606H78.844v-.092ZM330.501 464.768c-3.862 0-7.042-1.207-9.617-3.606-2.575-2.414-3.863-5.256-3.863-8.511 0-3.255 1.086-6.128 3.258-8.542 2.171-2.414 5.057-3.606 8.671-3.606h95.317c5.414 0 9.509-1.36 12.316-4.171 2.823-2.781 4.235-7.075 4.235-12.912v-86.808c0-7.579 1.551-14.455 4.622-20.643 3.071-6.204 7.182-11.063 12.316-14.623 5.134-3.53 11.137-5.303 18.071-5.303v1.528c-6.934 0-12.937-1.772-18.071-5.302-5.134-3.53-9.245-8.404-12.316-14.623-3.071-6.189-4.622-13.065-4.622-20.644v-86.425c0-5.807-1.412-10.1-4.235-12.912-2.823-2.781-6.933-4.171-12.316-4.171H328.95c-3.583 0-6.469-1.208-8.671-3.622-2.172-2.384-3.258-5.241-3.258-8.542 0-3.529 1.272-6.417 3.863-8.694 2.559-2.277 5.755-3.407 9.617-3.407h102.654c12.58 0 22.181 3.3 28.867 9.855 6.685 6.556 10.005 16.167 10.005 28.804v86.028c0 10.36 2.125 17.969 6.328 22.752 4.235 4.798 11.742 7.334 22.507 7.579 3.351.244 6.034 1.497 8.066 3.774 2.063 2.277 3.071 5.195 3.071 8.725 0 3.301-1.008 6.189-3.071 8.695-2.032 2.521-4.762 3.804-8.066 3.804-10.765.245-18.257 2.781-22.507 7.579-4.234 4.798-6.328 12.5-6.328 23.135v86.028c0 8.358-1.474 15.418-4.437 21.255-2.962 5.837-7.305 10.176-13.076 13.095-5.785 2.888-12.905 4.339-21.359 4.339H330.501v.092Z"/>
|
|
9
|
+
<path d="M356.885 329.738c18.691 0 33.846-14.929 33.846-33.342 0-18.412-15.155-33.341-33.846-33.341-18.691 0-33.846 14.929-33.846 33.341 0 18.413 15.155 33.342 33.846 33.342ZM167.305 329.738c18.691 0 33.846-14.929 33.846-33.342 0-18.412-15.155-33.341-33.846-33.341-18.691 0-33.846 14.929-33.846 33.341 0 18.413 15.155 33.342 33.846 33.342ZM244.477 32.846l-2.59 68.135c0 3.82-3.661 5.73-10.983 5.73-7.321 0-10.982-1.91-10.982-5.73-.651-16.976-1.178-30.148-1.613-39.484-.217-9.55-.434-16.35-.651-20.384-.217-4.034-.326-6.479-.326-7.32v-1.268c0-4.874 4.529-7.319 13.572-7.319 9.044 0 13.573 2.552 13.573 7.64Zm54.941 0-2.59 68.135c0 3.82-3.661 5.73-10.982 5.73-7.322 0-10.982-1.91-10.982-5.73-.652-16.976-1.179-30.148-1.613-39.484-.218-9.55-.435-16.35-.652-20.384-.217-4.034-.326-6.479-.326-7.32v-1.268c0-4.874 4.53-7.319 13.573-7.319s13.572 2.552 13.572 7.64Z"/>
|
|
10
10
|
</svg>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<title>Antigravity CLI</title>
|
|
3
|
-
<defs>
|
|
4
|
-
<linearGradient id="agyGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
5
|
-
<stop offset="0%" stop-color="#1A73E8"/>
|
|
6
|
-
<stop offset="50%" stop-color="#8AB4F8"/>
|
|
7
|
-
<stop offset="100%" stop-color="#A142F4"/>
|
|
8
|
-
</linearGradient>
|
|
9
|
-
</defs>
|
|
10
|
-
<path d="M12 1C12 7.075 7.075 12 1 12C7.075 12 12 16.925 12 23C12 16.925 16.925 12 23 12C16.925 12 12 7.075 12 1Z" fill="url(#agyGrad)"/>
|
|
1
|
+
<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<title>Antigravity CLI</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="agyGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
5
|
+
<stop offset="0%" stop-color="#1A73E8"/>
|
|
6
|
+
<stop offset="50%" stop-color="#8AB4F8"/>
|
|
7
|
+
<stop offset="100%" stop-color="#A142F4"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
<path d="M12 1C12 7.075 7.075 12 1 12C7.075 12 12 16.925 12 23C12 16.925 16.925 12 23 12C16.925 12 12 7.075 12 1Z" fill="url(#agyGrad)"/>
|
|
11
11
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" fill="none">
|
|
2
|
-
<rect width="512" height="512" rx="64" fill="#131010"></rect>
|
|
3
|
-
<path d="M320 224V352H192V224H320Z" fill="#5A5858"></path>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M384 416H128V96H384V416ZM320 160H192V352H320V160Z" fill="#3B82F6"></path>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" fill="none">
|
|
2
|
+
<rect width="512" height="512" rx="64" fill="#131010"></rect>
|
|
3
|
+
<path d="M320 224V352H192V224H320Z" fill="#5A5858"></path>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M384 416H128V96H384V416ZM320 160H192V352H320V160Z" fill="#3B82F6"></path>
|
|
5
5
|
</svg>
|
package/web-dist/index.html
CHANGED
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
</style>
|
|
155
|
-
<meta name="codex-react-ui-build" content="
|
|
156
|
-
<link rel="stylesheet" href="/assets/main-
|
|
155
|
+
<meta name="codex-react-ui-build" content="mu6tngjy-e851kn" />
|
|
156
|
+
<link rel="stylesheet" href="/assets/main-f84g7djq.css" />
|
|
157
157
|
</head>
|
|
158
158
|
<body>
|
|
159
159
|
<div id="root">
|
|
@@ -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-006rj47w.js"></script>
|
|
173
173
|
</body>
|
|
174
174
|
</html>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Captures the PWA beforeinstallprompt event so the app can surface an install
|
|
2
|
-
// button later. Kept as an external script so the production Content-Security-
|
|
3
|
-
// Policy can use a strict `script-src 'self'` (no 'unsafe-inline'). In the desktop
|
|
4
|
-
// Electron renderer this event never fires; the file is a harmless no-op there.
|
|
5
|
-
window.addEventListener("beforeinstallprompt", function (event) {
|
|
6
|
-
window.__deferredPwaInstallPrompt = event;
|
|
7
|
-
});
|
|
1
|
+
// Captures the PWA beforeinstallprompt event so the app can surface an install
|
|
2
|
+
// button later. Kept as an external script so the production Content-Security-
|
|
3
|
+
// Policy can use a strict `script-src 'self'` (no 'unsafe-inline'). In the desktop
|
|
4
|
+
// Electron renderer this event never fires; the file is a harmless no-op there.
|
|
5
|
+
window.addEventListener("beforeinstallprompt", function (event) {
|
|
6
|
+
window.__deferredPwaInstallPrompt = event;
|
|
7
|
+
});
|
package/web-dist/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const CACHE_NAME="codex-ultra-pwa-
|
|
1
|
+
const CACHE_NAME="codex-ultra-pwa-mu6tngjy-e851kn",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())))});
|