groove-dev 0.27.65 → 0.27.66
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/node_modules/@groove-dev/cli/package.json +1 -1
- package/node_modules/@groove-dev/daemon/package.json +1 -1
- package/node_modules/@groove-dev/daemon/src/api.js +72 -29
- package/node_modules/@groove-dev/gui/dist/assets/{index-xZOvdpBT.js → index-BvvSZvQz.js} +22 -22
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/package.json +1 -1
- package/node_modules/@groove-dev/gui/src/stores/groove.js +4 -0
- package/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/daemon/package.json +1 -1
- package/packages/daemon/src/api.js +72 -29
- package/packages/gui/dist/assets/{index-xZOvdpBT.js → index-BvvSZvQz.js} +22 -22
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/package.json +1 -1
- package/packages/gui/src/stores/groove.js +4 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
8
8
|
<title>Groove GUI</title>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-BvvSZvQz.js"></script>
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/assets/vendor-C0HXlhrU.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/reactflow-BQPfi37R.js">
|
|
12
12
|
<link rel="modulepreload" crossorigin href="/assets/codemirror-BBL3i_JW.js">
|
|
@@ -734,6 +734,8 @@ export const useGrooveStore = create((set, get) => ({
|
|
|
734
734
|
nodeCount: wsActive.length,
|
|
735
735
|
avgLoad: wsActive.length > 0 ? wsActive.reduce((s, n) => s + (n.load || 0), 0) / wsActive.length : 0,
|
|
736
736
|
myLoad: wsOwn?.load ?? 0,
|
|
737
|
+
totalVramMb: wsNodes.reduce((s, n) => s + (n.vram_mb || 0), 0),
|
|
738
|
+
totalRamMb: wsNodes.reduce((s, n) => s + (n.ram_mb || 0), 0),
|
|
737
739
|
};
|
|
738
740
|
let wsSnapshots = [...get().networkSnapshots, wsSnap];
|
|
739
741
|
if (wsSnapshots.length > 100) wsSnapshots = wsSnapshots.slice(-100);
|
|
@@ -2181,6 +2183,8 @@ export const useGrooveStore = create((set, get) => ({
|
|
|
2181
2183
|
nodeCount: activeNodes.length,
|
|
2182
2184
|
avgLoad: activeNodes.length > 0 ? activeNodes.reduce((s, n) => s + (n.load || 0), 0) / activeNodes.length : 0,
|
|
2183
2185
|
myLoad: ownNode?.load ?? 0,
|
|
2186
|
+
totalVramMb: nodes.reduce((s, n) => s + (n.vram_mb || 0), 0),
|
|
2187
|
+
totalRamMb: nodes.reduce((s, n) => s + (n.ram_mb || 0), 0),
|
|
2184
2188
|
};
|
|
2185
2189
|
let snapshots = [...get().networkSnapshots, snap];
|
|
2186
2190
|
if (snapshots.length > 100) snapshots = snapshots.slice(-100);
|