Dashboard: per-host disk usage (0.21.0)

The per-host resource bar gained a Disk stat (used / total). The agent now
reports disk_total/disk_used via shutil.disk_usage on its stacks dir (a host
bind-mount), alongside the existing cpu/mem/containers fields; the local host
uses the existing system info disk data.

- agent_app.py: _disk_info() + disk_total/disk_used in _system_info().
- Frontend: ResourceBar gained diskUsed/diskTotal (5-column grid); AgentSystem
  type gained disk_total/disk_used.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
menzelj
2026-06-08 13:31:18 +00:00
co-authored by Claude Opus 4.8
parent eb9ffd0b0d
commit d1c63a329b
6 changed files with 41 additions and 8 deletions
+2
View File
@@ -11,6 +11,8 @@ export interface AgentSystem {
cpu_cores: number;
mem_total: number;
mem_used: number;
disk_total: number;
disk_used: number;
containers_running: number;
containers_total: number;
}