diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-13 20:34:47 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-13 20:34:47 +0100 |
| commit | 69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4 (patch) | |
| tree | b69bc4f6f8a092605cb2fac82328e340a5071ae2 /AGENTS.md | |
| parent | f9330aff36868b723fd6918686360ea8992b285e (diff) | |
| download | deck-it-69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4.tar.gz deck-it-69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4.zip | |
feat(vm): a VMs tab for libvirt power, snapshots and ssh
virsh domstats each poll for state, CPU and memory; managed save,
snapshots and the guest agent's IP in a thread every 10s. Actions are
the drawer's power set plus snapshot take/revert/delete, names checked
against the last state. SSH opens a tab in a running kitty over its
remote-control socket and focuses it, else spawns kitty. Destructive
buttons are press and hold.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -69,6 +69,12 @@ Keep the server dependency-free apart from that one package. is the emergency stop, a press-and-hold button on the tab. While the printer is off it backs off 10s between tries. The camera snapshot and the slicer thumbnail are loaded by the tablet straight from the printer. +- `vm` drives libvirt's default connection (qemu:///system) through `virsh`: + `domstats` each poll, `dominfo`/`snapshot-list`/agent `domifaddr` in a + 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. - `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, |
