diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-13 20:49:56 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-13 20:49:56 +0100 |
| commit | 896163d7961d86b4e023a50ce4f6e19a30006a3f (patch) | |
| tree | 9a2266a1120f8913616991d9350fa6667c248f0e /AGENTS.md | |
| parent | 69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4 (diff) | |
| download | deck-it-896163d7961d86b4e023a50ce4f6e19a30006a3f.tar.gz deck-it-896163d7961d86b4e023a50ce4f6e19a30006a3f.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 <vm>` as a tab in the first `$XDG_RUNTIME_DIR/kitty-<pid>` 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 <vm>`'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/<vm>`, 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 `<dialog closedby="any">` 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, |
