diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -23,11 +23,15 @@ Keep the server dependency-free apart from that one package. mounts those panels and polls `/api/<module>`. The Dashboard tab is `static/dashboard.js`: one fixed screen with no drag, resize or fold. A top band of chips (stats, Claude usage from `llm`, tablet battery and Wi-Fi), - music and spending (`llm`) always on, a running row of one to three busy - modules, and the action icons. A panel that can be running exports - `busy(state)` and `slot(state, el)` (`k1c.js`, `sbbuilder.js`, `obs.js`); a - slot builds its markup once and then only sets text, so its scrolling lines - are not restarted. Hyprland's border colours (`--udt-border-1..3`) colour + music and spending (`llm`) always on, a running row of chips for one to + three busy modules, and the action icons. A panel that can be running + exports `busy(state)` and `slot(state, el)` (`k1c.js`, `sbbuilder.js`, + `obs.js`); a slot builds its markup once and then only sets text, so its + scrolling lines are not restarted. The slot, and an optional + `detail(state, el)` under it (`sbbuilder.js`: the job, the VM, the plan + package by package), is drawn into a centred `<dialog closedby="any">` a + tap on its chip opens (a tap outside closes it, a tap inside opens the + tab); the chip copies the slot's `.sic`, `.pct` and `.bar`. Hyprland's border colours (`--udt-border-1..3`) colour the trend lines and progress bars and rotate around the action icons. - `stats` also carries `updates`, keystone's "to install" count from `updatesctl` (`[dashboard] updates`, empty hides it), re-read in a thread @@ -66,7 +70,7 @@ Keep the server dependency-free apart from that one package. is off it backs off 10s between tries. The camera snapshot and the slicer thumbnail are loaded by the tablet straight from the printer. - `sbbuilder` has no tab, only a running slot. It reads `sbb-remote jobs - --active` (sb-builder 0.13.0+); a running build's `progress` (done of + --active` (sb-builder 0.13.1+); a running build's `progress` (done of total with dependencies, the package building, its ETA, the estimated end, failures) replaces the busy bar. - `tablet` reads the tablet's battery (`dumpsys battery`) and Wi-Fi (`cmd wifi |
