aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2026-11-16docs(spec): Xbox tabDanilo M.1-0/+123
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): one column, a running VM as tall as the tabDanilo M.3-7/+18
A single running VM is the whole tab, without the card look; with more they stack as tab-tall cards and the tab scrolls. Shut-off VMs are short cards below, without screen or trends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): tablet tiles with screen, trends and a power buttonDanilo M.10-152/+492
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>
2026-11-13feat(vm): a VMs tab for libvirt power, snapshots and sshDanilo M.8-3/+512
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>
2026-11-13docs(spec): VMs tabDanilo M.1-0/+50
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(dashboard): running modules as chips that open a panelDanilo M.5-31/+149
The running row of 118px cards took height from music and spending and cut its lines into marquees. It is now a row of chips (icon, value, progress fill) copied from each module's slot; a tap opens the full slot in a centred <dialog closedby="any">, which a tap outside closes without reaching what is under it, and a tap inside opens the tab. A module may export detail(state, el) for the panel. The build VM's shows the job command, start and elapsed time, CPU, memory and disk as meters, and the plan package by package: its result once finished (progress.results, sbb-remote 0.13.1), building, or waiting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(dim): close an open panel before a cover showsDanilo M.1-1/+5
A modal dialog is drawn in the top layer, over any z-index, so the dim clock and the asleep cover appeared under an open running-chip panel. Both covers now close every open dialog first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(tablet): clock fonts and sizes from keystone's Fonts pageDanilo M.9-35/+97
The dim cover's time and date fonts move out of [tablet] clock_font and clock_font_date into keystone's fonts.json: "family" deckit-clock and deckit-date, each served at /fonts/<key>, and the "override" sizes deckit:clock and deckit:date (else deck.css's 8rem and 1.6rem). The date can now have a font of its own. theme.css carries the rules, so a save on the Fonts page reaches an open tablet page within 5s, with no restart and no flags in the tablet state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(windows): no peek for a dialogDanilo M.5-5/+26
A transient dialog brought the Windows tab forward like any new window. Hyprland's clients JSON has no parent field, so a window counts as a dialog when it floats and its pid already has another window; peek() skips those. They are still listed in the grid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(tablet): a font of the PC's for the dim cover's clockDanilo M.7-3/+53
[tablet] clock_font names a font family installed on the PC; the server finds its file with fc-match and serves it at /fonts/clock, and the cover's clock uses it, the date too while clock_font_date is on (default). fc-match falls back to any font, so the route answers only when the returned family is the one named; otherwise the page font stays. The font file never enters the repo, so a personal-use font can be used on one's own tablet without redistributing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(music): covers for embedded art and videosDanilo M.3-3/+76
Haruna sends an embedded audio cover inline as a data:image URL, which the module dropped, and clears mpris:artUrl for every video on purpose so the task manager shows the live window. Serve both at /api/music/image/<key>: the data URL decoded, a local video as one ffmpeg frame (thumbnail filter, 480 px wide), made on first request and kept until the track changes. Only the current track's key answers, so the tablet names a key, never a path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(music): accept a fractional track lengthDanilo M.2-1/+12
Haruna reports mpris:length as a float (65816666.666666664), so int() raised and the whole state failed: the widget said nothing was playing while a video played. Parse length and position as floats. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(music): drop the last cover when nothing is playingDanilo M.1-0/+8
update() swapped in an <img> when the state had art but never swapped it back, so with no player left the widget kept the last track's cover. Put the placeholder back when the state has no art. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12fix(dashboard): stroke only the top of the chip graphsDanilo M.3-16/+36
The CPU, GPU and network graphs stroked their closed area path, so the outline also ran along the bottom edge and up the left side while the history filled. Each series is now a filled area and an open line through the samples, and only the line is stroked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(stats): show GPU usage on the dashboard chipDanilo M.3-23/+65
xe reports no busy percentage, but its DRM fdinfo carries per-engine cycle counters. The 2s fdinfo pass that sums VRAM now also sums drm-cycles-rcs/ccs per client, and gpu.util is the busier of render (games) and compute (local LLMs) between two passes; a sum could pass 100% with both running. The GPU chip now matches the CPU chip: usage on a trend, temperature on the small line. VRAM and fan move to keystone's performance page. Without usage the temperature keeps the big value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12fix(dashboard): scroll the spending card beside the running rowDanilo M.1-0/+3
With the running row shown, the spending card is too short for both programs and the second one was clipped. It now scrolls while the row is present. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(dashboard): show build progress in the build VM slotDanilo M.4-7/+29
The build VM slot showed a busy bar and the job kind. It now reads `sbb-remote jobs --active` (sb-builder 0.13.0), whose running build carries progress: the package being built on the first line, done of total (dependencies included, from the preview's plan) on the right, the op, the package's ETA, the estimated end and failures on the second line, and a bar that fills as packages finish. Other jobs keep the busy bar. Polling only active jobs also stops pulling the whole job history over ssh every 10s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(dashboard): show a clock and date on the dim coverDanilo M.3-3/+16
The cover that hides the dashboard while the tablet is dimmed was only a dark area; it now shows the time and date in the tablet's locale, so the dim tablet stays useful at a glance. The cover is darker (85%) so the clock stands out from the dashboard behind it, and it ticks only while shown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12fix(tablet): restore the backlight after a restart or shutdownDanilo M.4-8/+27
The server never ran the modules' stop: `deck-it stop` ends it with SIGTERM and nothing called stop_all, so a shutdown left the tablet dim. A SIGTERM handler now runs stop_all before exiting. The settings from before a dim lived only in memory, so a new server's undim had nothing to put back. They are now kept in ~/.cache/deck-it/dim, and a freshly loaded page asks for undim, since it is never dimmed itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(tablet): dim the backlight after an idle timeoutDanilo M.7-3/+98
After [tablet] dim_after seconds with no touch the page covers itself and the tablet module's dim action lowers the backlight to dim_brightness over adb, with auto brightness off meanwhile; an LCD's backlight is the drain, so a dark page alone saves little. The touch on the cover only calls undim, which restores both settings, as does the module's stop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(dashboard): rain into the battery chip while chargingDanilo M.2-0/+13
Streaks fall right to left across the empty part of the battery bar into the fill's edge while the tablet reports charging; still under prefers-reduced-motion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(dashboard): pin the dashboard column to the viewport widthDanilo M.1-1/+1
The .dash grid had no column template, so its one implicit auto column took the min-content width of everything inside it. A long nowrap music title (or any nowrap text) widened the whole dashboard past the viewport, pushing the spending card and chips off screen. minmax(0, 1fr) caps the column at the page width so the title ellipsizes instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(windows): skip special-workspace windows that have no idDanilo M.2-1/+16
Hyprland lists a window on a special workspace (e.g. special:dash) with no workspace "id". _state indexed it directly, so one such window raised KeyError on every poll and the Windows tab froze on its last list, with stale previews and a stale active highlight. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(dashboard): keep chip columns from growing with their textDanilo M.1-2/+2
A plain 1fr track has a min-content floor, so the nowrap CPU and GPU names and the network rates widened their columns past the viewport. minmax(0, ...) pins each chip to its share; network keeps a bit more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(sleep): run deck-it stop on a confirmed shutdownDanilo M.3-5/+26
After the tablet has been told, a PrepareForShutdown runs `deck-it stop` in its own session (it kills the server) so the tunnels, wayvnc and the headless output go cleanly before the inhibitor lets the shutdown on. Login brings everything back on the next boot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(sleep): tell the tablet when the PC shuts down or rebootsDanilo M.6-35/+63
The delay inhibitor now covers shutdown too, and dbus-monitor also watches PrepareForShutdown. X-Deckit-Sleep carries the reason ("asleep" or "shutting down") and the page shows "The PC is <reason>", dropping the wake lock as on suspend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(tabs): slide transition, OBS logo and a 3D-printer nozzle for K1CDanilo M.3-6/+21
A tab change slides the new tab in from the side it sits on in the bar (40px and a fade over 220ms, off under prefers-reduced-motion); #tab-body no longer scrolls sideways, so the slide never flashes a scrollbar. A tab can show a brand logo from static/logos instead of a glyph: OBS uses the OBS Studio logo (simple-icons). K1C's printer glyph becomes nf-md-printer_3d_nozzle; the Creality logo exists only as a wordmark, unreadable at tab size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(windows): a new window brings the Windows tab forwardDanilo M.6-2/+68
When a window id appears that the last poll did not list, the tablet shows the Windows tab for [windows] peek seconds (default 8, 0 off) and then goes back to the tab it was on. A touch on the page or a tab change meanwhile keeps it there; another new window restarts the timer. The hook is generic: a panel's peek(state) returns seconds, app.js does the switching. The first poll only learns what is open, and an error state keeps what it knew, so neither triggers it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(dashboard): pending updates in the system row, icons, opencode logoDanilo M.6-14/+60
The system row now ends with "N updates available", keystone's "to install" count from updatesctl ([dashboard] updates; empty hides it). stats re-reads it in a thread every 5 minutes, so the NFS reads behind it never stall the 1 s poll. The codename reads "-current" next to the OS name, so it no longer looks like part of the kernel. Kernel and uptime get tux and clock icons, the row is tighter, and its separators are a "|" in the first Hyprland border colour instead of an unreadable dot. The opencode spending card shows the opencode logo by its title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): replies type out, state and bouncing dots in the bubbleDanilo M.2-13/+76
The live reply was rebuilt from scratch every 0.5 s poll, so text landed in chunks. It is now kept and updated in place, and its text types out between polls, catching up with what has arrived in about 0.6 s. The thinking/transcribing/tool line moves from the bottom bar into the reply bubble, and three dots bounce in turn until the first words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10chore(config): list the tablet module, so keystone can switch it offDanilo M.1-0/+1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): centre the action icons by their measured inkDanilo M.2-3/+14
A fixed 1em box overshot the other way. Each glyph is measured with canvas measureText once the font is loaded, and shifted by half the gap between its drawn width and its advance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): action icons centred in their squaresDanilo M.2-3/+6
The Nerd Font glyphs draw past their advance, so centring the advance left them off to the right; each sits in a 1em box drawn from its left edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): review fixesDanilo M.6-22/+36
- The OBS slot has no one-tap stop: a tap opens the OBS tab, so a stray touch cannot end a recording. - Scrolling lines are measured once their slot is on screen, and every slot again when one comes or goes. - The lock watcher survives a missing pidof. - Trend gradients are in user space, so a flat line still paints. - Uptime under an hour shows minutes. - The shell no longer imports panel files for the modules the dashboard draws. - The spec matches the build VM and OBS slots and the error wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10docs: the fixed dashboard and the actions moduleDanilo M.2-6/+24
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): chip and spending classes clear of global rulesDanilo M.2-6/+6
The global .warn (yellow text) and .row (wrap, margin) rules reached into the dashboard; its chips use .hot and the one-line spending row .inline instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(dashboard): one fixed screen for the tabletDanilo M.14-692/+571
The Dashboard tab drops the draggable card grid for a fixed layout: a top band of system, Claude and tablet chips with trend and fill backgrounds, music and spending always on, a row of one to three busy modules (printer, build VM, OBS) that scroll long lines, and the action icons in Hyprland's rotating border. The stats, tablet and llm panels and the vendored Gridstack go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(actions): dashboard actions and the tablet following the lockDanilo M.2-0/+172
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(config): the dashboard's action listDanilo M.3-1/+19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10docs: dashboard redesign implementation planDanilo M.1-0/+1263
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10docs(spec): Hyprland's border colours in the dashboardDanilo M.1-1/+16
The border gradient colours the trend lines and progress bars, and rotates around the action icons; widgets get no borders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10docs: dashboard redesign specDanilo M.1-0/+179
One fixed screen for the tablet: a top band of system and usage chips, music and spending always on, a row of one to three busy modules, and icon actions; the tablet sleeps and wakes with the PC's lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(music): a volume slider with a mute toggle, icon buttonsDanilo M.4-15/+59
The Vol-, Mute and Vol+ buttons give way to a mute toggle (its icon shows the state) and a 0-100 slider that sets the default sink with wpctl as it moves. Previous, play/pause and next are Nerd Font glyphs instead of the tablet's Unicode symbols. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(stats): an OS row with logo, kernel and uptimeDanilo M.4-4/+39
The System card's small 'up Nh' line becomes a full-width tile: the distro's Nerd Font logo, NAME and VERSION_ID from /etc/os-release in large type, the codename and kernel release below, and the uptime large on the right. An unknown distro gets Tux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(stats): processor and card names, both network rates largeDanilo M.3-4/+52
The CPU tile is labelled with /proc/cpuinfo's model name, trimmed of core counts and trademarks; the GPU tile with lspci's marketing name for the xe card. The network tile shows download and upload side by side at the same size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(llm): desktop-assistant usage as Local AgentDanilo M.4-20/+28
The LLM usage card gets a third section, the desktop-assistant program from llm-cost-dashboard, with the same session and total stats as opencode. The per-program aggregation now takes the program. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): tools grouped by the kind of file they takeDanilo M.2-15/+33
Each section of the tools overlay lists its presets and ops under a label per kind (PDF, Text, Code, Images, Video, Archives, Several files, Any file); an item taking several kinds shows in each group. The tile rows get their own class, so the chat rows' style no longer reaches them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(server): read a refused POST body before answeringDanilo M.1-6/+18
A POST refused before its body was read (403, 401, 404, a wrong type or size) closed the socket on unread bytes; the kernel reset it and the client saw a broken pipe instead of the answer. test_upload_limits hit this about once in 40 runs (BrokenPipeError), and it slipped into the previous commit's suite run. _refuse reads up to 1 MiB of the body first; 0 failures in 300 runs of the affected tests after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): the transcript as chat bubbles with avatarsDanilo M.6-14/+77
Questions sit on the right in an accent bubble with the user's avatar (`[assistant] user_avatar`, served at /api/avatar); replies on the left in a surface bubble with the assistant's, a "…" bubble while a reply has no text yet. The assistant's avatar is the background picture itself, zoomed by CSS onto `[assistant] face` ([centre x, centre y, size] in its pixels), so nothing is cropped on the PC; the page loads the picture once for its real size. Unset, both are plain circles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(windows): a busy desktop gets an accent dot, not a filled tileDanilo M.2-1/+7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>