From 896163d7961d86b4e023a50ce4f6e19a30006a3f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 13 Nov 2026 20:49:56 +0100 Subject: feat(vm): tablet tiles with screen, trends and a power button Each VM is a tile: its screen from virsh screenshot (JPEG through ffmpeg, every 5s while the tab shows), booting until sshd answers at the ssh -G host and port, CPU and RAM trends, and a big power button, tap for the gentle action and hold to force off. A tap on the tile opens a sheet with every action as an icon and the snapshots as a timeline with their age. hold.js is now the one press and hold, K1C's stop included, and vibrates the tablet when it fires; the Windows long-press buzzes too. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 22ce6f5..e7358e8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -74,7 +74,16 @@ Keep the server dependency-free apart from that one package. thread every 10s and after an action. A vm or snapshot name must be one the last state listed. `ssh` opens `ssh ` as a tab in the first `$XDG_RUNTIME_DIR/kitty-` that answers `kitty @` and focuses it, - else spawns kitty. Destructive buttons are press and hold. + else spawns kitty. `ready` is sshd answering at `ssh -G `'s host and + port (the agent IP when no alias), re-read every 2s for 5 min while a VM + boots. The tile's screen is `virsh screenshot` through ffmpeg at + `/api/vm/image/`, running VMs only. `vm.js`: a tile per VM (screen, + power: tap gentle, hold force; SSH; CPU/RAM trends from `dashboard.js`'s + `line`/`area`), a `` sheet with every action and + the snapshot timeline. Buttons are Nerd Font glyphs. +- `static/hold.js` is the one press and hold (K1C stop, VM buttons): it + vibrates the tablet when it fires; `buzz()` also marks the Windows + long-press. - `sbbuilder` has no tab, only a running slot. It reads `sbb-remote jobs --active` (sb-builder 0.13.1+); a running build's `progress` (done of total with dependencies, the package building, its ETA, the estimated end, -- cgit v1.2.3