Add dark workbench dashboard with host CPU/memory gauges.

Sample Windows CPU via Processor Utility so values match Task Manager, and expose host metrics on /v1/metrics/json for the workbench poll.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-04 23:20:29 +08:00
parent 8ded8eeb7d
commit 254c50a2c0
12 changed files with 1286 additions and 83 deletions

View file

@ -14,6 +14,10 @@ export default defineConfig({
// Keep Origin aligned with upstream for WS handshake through proxy.
rewriteWsOrigin: true,
},
"/metrics": {
target: "http://127.0.0.1:8890",
changeOrigin: true,
},
},
},
})