@amd-gaia/agent-ui 0.25.4-rc.3 → 0.25.4-rc.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/bin/gaia-ui.cjs +2 -23
- package/dist/assets/AdvancedSettings-3RM8Obyx.js +1 -0
- package/dist/assets/ConnectorsPane-C2ErbEHk.js +1 -0
- package/dist/assets/ConnectorsPane-CzLYXGMl.css +1 -0
- package/dist/assets/DocumentLibrary-BUUeUqKi.js +4 -0
- package/dist/assets/FileBrowser-BGVQQMFv.js +4 -0
- package/dist/assets/MemoryDashboard-DkvaokBj.js +1 -0
- package/dist/assets/MemoryDashboard-DwrWAXi6.css +1 -0
- package/dist/assets/MobileAccessModal-BkVDm3YG.css +1 -0
- package/dist/assets/MobileAccessModal-C8L7ZA2z.js +2 -0
- package/dist/assets/ScheduleManager-CjHJ4NbD.css +1 -0
- package/dist/assets/ScheduleManager-FRIPnQnw.js +1 -0
- package/dist/assets/api-By968363.js +4 -0
- package/dist/assets/apiBase-DSN0u9ls.js +3 -0
- package/dist/assets/index-8uiHNHOH.js +78 -0
- package/dist/assets/index-CNhwlnjv.css +1 -0
- package/dist/assets/{zap-BdhDcjhB.js → zap-B97NJZKh.js} +1 -1
- package/dist/icons/apple-touch-icon.png +0 -0
- package/dist/icons/icon-192.png +0 -0
- package/dist/icons/icon-512.png +0 -0
- package/dist/icons/icon-maskable-192.png +0 -0
- package/dist/icons/icon-maskable-512.png +0 -0
- package/dist/index.html +8 -3
- package/dist/manifest.json +16 -0
- package/dist/sw.js +49 -0
- package/main-safety-net.cjs +106 -8
- package/main.cjs +139 -159
- package/package.json +2 -1
- package/preload.cjs +19 -9
- package/services/auto-updater.cjs +780 -216
- package/services/backend-installer.cjs +349 -351
- package/services/engine-install.cjs +214 -0
- package/services/index-query.cjs +7 -1
- package/services/lock-holders.cjs +200 -0
- package/services/quit-guard.cjs +10 -3
- package/services/tray-manager.cjs +12 -7
- package/dist/assets/AdvancedSettings-CHxpG8nH.js +0 -1
- package/dist/assets/ConnectorsPane-CLQK0rsX.js +0 -1
- package/dist/assets/ConnectorsPane-Dzu2DRTc.css +0 -1
- package/dist/assets/DocumentLibrary-hSat3aHA.js +0 -4
- package/dist/assets/FileBrowser-BneKS6fe.js +0 -4
- package/dist/assets/MemoryDashboard-D5NugQoq.js +0 -1
- package/dist/assets/MemoryDashboard-Dt6zI60b.css +0 -1
- package/dist/assets/MobileAccessModal-Cl7eErMB.js +0 -2
- package/dist/assets/MobileAccessModal-DuVy9F1u.css +0 -1
- package/dist/assets/ScheduleManager-CkYWygZG.js +0 -2
- package/dist/assets/ScheduleManager-D5c4gVIt.css +0 -1
- package/dist/assets/apiBase-DRtaTd8u.js +0 -1
- package/dist/assets/index-BxdoiGm5.js +0 -78
- package/dist/assets/index-C9zLn8zo.css +0 -1
- package/services/backend-installer-progress-dialog.cjs +0 -510
package/preload.cjs
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* agent:* — Agent process management (T2)
|
|
12
12
|
* tray:* — Tray icon/config (T1)
|
|
13
13
|
* notification:* — Desktop notifications & permission prompts (T5)
|
|
14
|
-
* install:* —
|
|
14
|
+
* install:* — Backend install status, retry and log (Phase A)
|
|
15
15
|
* gaia:update:* — Auto-update status & manual check (Phase F)
|
|
16
16
|
* system:* — System metrics for the observability dashboard (#2007)
|
|
17
17
|
* power:* — Keep the PC awake while a chat turn runs (#5226)
|
|
@@ -105,19 +105,26 @@ contextBridge.exposeInMainWorld("gaiaWindow", {
|
|
|
105
105
|
setColors: (colors) => ipcRenderer.invoke("window:set-titlebar-colors", colors),
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
// ──
|
|
109
|
-
//
|
|
110
|
-
// pulling in the full gaiaAPI surface (and so it keeps working if an
|
|
111
|
-
// install dialog runs before the main window is ready).
|
|
108
|
+
// ── Backend install (Phase A) ───────────────────────────────────────────
|
|
109
|
+
// EngineInstallScreen runs with no backend, so this stands apart from gaiaAPI.
|
|
112
110
|
contextBridge.exposeInMainWorld("gaiaInstall", {
|
|
113
|
-
// Subscribe to
|
|
111
|
+
// Subscribe to status updates. Returns an unsubscribe function.
|
|
114
112
|
onProgress: (cb) => onEvent("install:progress", cb),
|
|
115
113
|
|
|
116
|
-
//
|
|
114
|
+
// The current status: { phase, stage, percent, message, error, logPath }.
|
|
117
115
|
status: () => ipcRenderer.invoke("install:status"),
|
|
118
116
|
|
|
119
|
-
//
|
|
120
|
-
|
|
117
|
+
// After a failure, install again. Resolves false when none is waiting.
|
|
118
|
+
retry: () => ipcRenderer.invoke("install:retry"),
|
|
119
|
+
|
|
120
|
+
// Goes on past a failed agent update; the next launch tries it again.
|
|
121
|
+
continueWithoutAgentUpdate: () => ipcRenderer.invoke("install:continue"),
|
|
122
|
+
|
|
123
|
+
// After a failed update, go back to the version before it; the app restarts into it.
|
|
124
|
+
revert: () => ipcRenderer.invoke("install:revert"),
|
|
125
|
+
|
|
126
|
+
// After a 'locked' failure held only by GAIA processes: ends those and installs again.
|
|
127
|
+
closeLockingPrograms: () => ipcRenderer.invoke("install:close-lockers"),
|
|
121
128
|
|
|
122
129
|
// Open the log file in the OS's default viewer.
|
|
123
130
|
openLogFile: () => ipcRenderer.invoke("install:open-log-file"),
|
|
@@ -159,6 +166,9 @@ contextBridge.exposeInMainWorld("gaiaUpdater", {
|
|
|
159
166
|
*/
|
|
160
167
|
installVersion: (tag) => ipcRenderer.invoke("gaia:update:install-version", tag),
|
|
161
168
|
|
|
169
|
+
/** Go back to the version before the last update, and pin it. */
|
|
170
|
+
revertUpdate: () => ipcRenderer.invoke("gaia:update:revert"),
|
|
171
|
+
|
|
162
172
|
/**
|
|
163
173
|
* Resume normal auto-updates — clears the version pin set by installVersion.
|
|
164
174
|
* Resolves with the updated state.
|