@amd-gaia/agent-ui 0.25.2-rc.3 → 0.25.2-rc.5
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/assets/AdvancedSettings-DPidhu3U.js +1 -0
- package/dist/assets/ConnectorsPane-DS9FXT3m.js +1 -0
- package/dist/assets/DocumentLibrary-DVlGD9Xf.js +4 -0
- package/dist/assets/FileBrowser-CS9EzeOJ.js +4 -0
- package/dist/assets/FileBrowser-Dil1lZJ4.css +1 -0
- package/dist/assets/MemoryDashboard-BTKVw8v3.js +1 -0
- package/dist/assets/MobileAccessModal-B9gps4g0.js +2 -0
- package/dist/assets/ScheduleManager-CDjV4HRe.js +2 -0
- package/dist/assets/{apiBase-BmPG2Rib.js → apiBase-CS6zLsJY.js} +1 -1
- package/dist/assets/index-BK59gm9q.css +1 -0
- package/dist/assets/index-BxxVmuPt.js +78 -0
- package/dist/assets/{message-square-DuVoNniw.js → message-square-CLnmengs.js} +1 -1
- package/dist/index.html +3 -3
- package/main.cjs +3 -0
- package/package.json +1 -1
- package/preload.cjs +19 -0
- package/services/auto-updater.cjs +409 -79
- package/services/backend-installer.cjs +43 -4
- package/services/folder-dialog.cjs +44 -0
- package/dist/assets/AdvancedSettings-CjFMBzrY.js +0 -1
- package/dist/assets/AdvancedSettings-D5VKpkPY.css +0 -1
- package/dist/assets/ConnectorsPane-C0mIy_8h.js +0 -1
- package/dist/assets/DocumentLibrary-BaLMM9_k.js +0 -4
- package/dist/assets/FileBrowser-D04I8Pvv.css +0 -1
- package/dist/assets/FileBrowser-DGmwRsbJ.js +0 -4
- package/dist/assets/MemoryDashboard-0_w56Tv9.js +0 -1
- package/dist/assets/MobileAccessModal-CvPI6iz2.js +0 -2
- package/dist/assets/ScheduleManager-DFFKqsC8.js +0 -2
- package/dist/assets/index-Bp5BAewB.js +0 -79
- package/dist/assets/index-DktitYpA.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as e}from"./apiBase-CS6zLsJY.js";var t={name:`message-square`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]};t.node;var n=e(t);export{n as t};
|
package/dist/index.html
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
<meta name="theme-color" content="#1A1917" />
|
|
9
9
|
<link rel="icon" type="image/png" href="./favicon.png" />
|
|
10
10
|
<title>GAIA Agent UI</title>
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-BxxVmuPt.js"></script>
|
|
12
12
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-XKyaHtl9.js">
|
|
13
|
-
<link rel="modulepreload" crossorigin href="./assets/apiBase-
|
|
14
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
13
|
+
<link rel="modulepreload" crossorigin href="./assets/apiBase-CS6zLsJY.js">
|
|
14
|
+
<link rel="stylesheet" crossorigin href="./assets/index-BK59gm9q.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
|
17
17
|
<div id="root"></div>
|
package/main.cjs
CHANGED
|
@@ -91,6 +91,7 @@ const installerProgressDialog = require("./services/backend-installer-progress-d
|
|
|
91
91
|
const autoUpdater = require("./services/auto-updater.cjs");
|
|
92
92
|
const agentSeeder = require("./services/agent-seeder.cjs");
|
|
93
93
|
const systemMetrics = require("./services/system-metrics.cjs");
|
|
94
|
+
const folderDialog = require("./services/folder-dialog.cjs");
|
|
94
95
|
const {
|
|
95
96
|
parseDeepLink,
|
|
96
97
|
extractDeepLinkFromArgv,
|
|
@@ -763,6 +764,8 @@ function initializeServices() {
|
|
|
763
764
|
// #2007: System metrics for the observability dashboard
|
|
764
765
|
systemMetrics.registerIpcHandlers();
|
|
765
766
|
|
|
767
|
+
folderDialog.registerIpcHandlers();
|
|
768
|
+
|
|
766
769
|
console.log("[main] Services initialized");
|
|
767
770
|
}
|
|
768
771
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amd-gaia/agent-ui",
|
|
3
|
-
"version": "0.25.2-rc.
|
|
3
|
+
"version": "0.25.2-rc.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"productName": "GAIA Agent UI",
|
|
6
6
|
"description": "Chat with the GAIA agent - local and private by default on AMD Ryzen AI, cloud models when you choose them",
|
package/preload.cjs
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
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)
|
|
18
|
+
* dialog:* — The OS folder picker
|
|
18
19
|
*/
|
|
19
20
|
|
|
20
21
|
const { contextBridge, ipcRenderer } = require("electron");
|
|
@@ -84,6 +85,11 @@ contextBridge.exposeInMainWorld("gaiaAPI", {
|
|
|
84
85
|
system: {
|
|
85
86
|
getMetrics: () => ipcRenderer.invoke("system:get-metrics"),
|
|
86
87
|
},
|
|
88
|
+
|
|
89
|
+
// ── OS folder picker; resolves the chosen path, or null on cancel ─────
|
|
90
|
+
dialog: {
|
|
91
|
+
pickFolder: (defaultPath) => ipcRenderer.invoke("dialog:pick-folder", defaultPath),
|
|
92
|
+
},
|
|
87
93
|
});
|
|
88
94
|
|
|
89
95
|
// ── Window frame ─────────────────────────────────────────────────────────
|
|
@@ -158,4 +164,17 @@ contextBridge.exposeInMainWorld("gaiaUpdater", {
|
|
|
158
164
|
* Resolves with the updated state.
|
|
159
165
|
*/
|
|
160
166
|
resumeUpdates: () => ipcRenderer.invoke("gaia:update:resume"),
|
|
167
|
+
|
|
168
|
+
/** Turn auto-update on or off (persisted; off by default). Resolves with the state. */
|
|
169
|
+
setAutoUpdate: (enabled) => ipcRenderer.invoke("gaia:update:set-auto-update", enabled),
|
|
170
|
+
|
|
171
|
+
/** Offer release candidates as updates (independent of auto-update). Resolves with the state. */
|
|
172
|
+
setIncludePrereleases: (enabled) =>
|
|
173
|
+
ipcRenderer.invoke("gaia:update:set-include-prereleases", enabled),
|
|
174
|
+
|
|
175
|
+
/** "Update now": download the offered update; the restart prompt follows. */
|
|
176
|
+
downloadUpdate: () => ipcRenderer.invoke("gaia:update:download"),
|
|
177
|
+
|
|
178
|
+
/** Restart into a downloaded update. */
|
|
179
|
+
restart: () => ipcRenderer.invoke("gaia:update:restart"),
|
|
161
180
|
});
|