| Age | Commit message (Collapse) | Author | Files | Lines |
|
A power button rebuilt mid-hold lost its pointerup, so letting go early
still turned the console off; hold.js now drops a hold whose button is
no longer in the page. status.xbox is written 0 on start, in case a
crash left it at 1. The "ago" texts move on each minute, and missing
storage names and achievement percentages no longer print null.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
- run() survives any exception from tick(); _http turns
http.client.HTTPException into OSError.
- Signing out or in again resets the slow-read clock, so the profile
is read at once instead of after 10 minutes.
- After stop() nothing sets status.xbox back to 1; its compare and
write is under a lock.
- api() uses a copy of the auth taken under the lock; command() maps
a missing auth to "not signed in".
- Action and sign-in errors carry Xbox Live's own message when the
HTTP error body has one.
- type_of caches only a 404; other errors retry on the next tick.
- Sign-in: start_login is locked, a poller only ends its own flow,
and a failed token save ends it as "failed".
- state() is loading only until the first presence read.
- Drop a stale placeholder comment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
[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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Each window is a card like the Alt+Tab switcher's: a preview in the
window's shape (grim -T on Hyprland's stableId, also for hidden
workspaces, refreshed every 5 s), the desktop top left, close top right,
the app icon bottom left, each on its own scrim, the title below. Tap
focuses, a long press opens the move menu at the press point (the grid
re-renders under a title that changes every second, so the card itself
may already be gone), and Chrome's image menu is suppressed.
Module.image serves module images at /api/<module>/image/<key>; windows
answers only for a window the last state listed. Workspace tiles, card
markers and the move menu use the icons from keystone's Workspaces.qml,
falling back to the number; the icon route also searches the theme's
places, preferences and categories folders, where two of them live.
The workspaces are centred.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The first voice question on the tablet was a 0.66 s silent clip: the
mic gave no feedback until the next poll, an extra tap made a near-empty
recording, and the model invented a question from the silence. The mic
now turns red on the tap itself, and a clip whose loudest sample is
under 1500 (room noise measured ~260, speech 15000+) is not sent.
Typing happens on the PC, so the text field, send button and the ask
action are gone; the bar is a large mic and a stop icon. The presets and
ops move into an overlay opened from the header, so the transcript gets
the screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Hidden main no longer shows over the offline card, Enter while busy no
longer stops a reply, autoscroll is tracked by a scroll listener so it
works while the tab is hidden, and the catalog is retried on each daemon
reconnect. Mic start is guarded against double taps and recorder
failures, a denied mic can be retried, a failed ask restores the text,
the model panel closes on any outside tap, and the font path is cached
only once found. Plus small CSS and spec corrections.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Reads `dumpsys battery` and `cmd wifi status` (Android 11+) over adb
from the device whose reverse carries the dashboard socket, so a switch
between USB and Wi-Fi is followed. Reads are cached for 10s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The transition tiles listed transition kinds (fade_transition), which
SetCurrentSceneTransition rejects and which never matched the current
one, so every tile looked inactive. Read GetSceneTransitionList instead.
Add a Pause/Resume button, shown while recording, and a Studio toggle.
With Studio Mode on, a scene tap cues it in Preview (dashed tile) and the
Transition button, shown only then, sends it to Program.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The camera was a snapshot reloaded on every poll. It is now the
webcam's MJPEG stream_url, which an <img> plays by itself at the
camera's own rate (15 fps on the K1C). The stream connects only while
the K1C tab is on screen and the page visible, and disconnects
otherwise, so a hidden tab does not keep the printer streaming. A
dropped stream hides the image and reconnects on the next poll. The
image is shown as soon as its source is set, since a never-ending
stream may never fire load.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Creality's K1C firmware drives the part cooling fan as `output_pin fan0`
and reports the standard `fan` object with speed null, so the tab showed
no fan speed. The standard object still wins when it has a value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
A K1C tab follows a Klipper printer through Moonraker ([k1c] url):
state, file, progress with elapsed, left and finish time, layer, the
slicer's model thumbnail, nozzle and bed with target and power, fan,
speed, position, filament, and the camera snapshot. It is read-only bar
one action, the emergency stop (M112), behind a press-and-hold button so
a stray touch on an always-on tablet cannot kill a print. Klipper being
down (after a stop) shows its message in a red banner.
The printer is often off, so a failed poll backs off 10s instead of
costing every tick a timeout. File metadata is fetched once per job; the
slicer's estimate covers the start of a print until the file-position
estimate settles. The tablet loads the camera and the thumbnail straight
from the printer, so both need it on the printer's LAN.
OBS, the build VM and LLM usage showed raw text when their source was
off ("OBS offline: [Errno 111] ..."). They now share static/offline.js:
a greyed app icon, what is off, what brings it back, and a pulsing
"checking" note, with the raw error in the tooltip. OBS hides its empty
blocks while off. The card is not rebuilt on every poll.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The second display is now optional: [display] enabled = false skips the
headless output, wayvnc, AVNC and the VNC tunnel, so the tablet runs the
dashboard alone. `deck-it env` reports it as EXTEND.
Keystone's new deck-it page (quickshell, desktop/modules/deckit) edits
the config and the autostart line, which needed:
- The user config is merged over the shipped config.toml key by key
within each table instead of replacing it whole, so the page writes a
sparse file and an unset key falls back to the default.
- `deck-it defaults` prints the shipped config as JSON for the page's
placeholders, so keystone never copies the defaults.
- `deck-it status` prints one JSON line (server, display, waiting,
tablet, extend) for the page's status line and restart check.
- [launch] is now `apps`, a list of desktop ids run with gtk-launch,
with name and icon read from the .desktop file, so the page can pick
launchers from the installed apps. The old command tables are gone;
the client still sends only an id, which must be listed and installed.
A launcher whose icon the theme lacks shows its name.
- [wifi] address gives the tablet's address in config. The last address
that worked is kept in ~/.config/deck-it/last-wifi: `stop` deletes the
runtime serial file, so a restart from the page used to wait forever.
- `stop` also ends a login's `wifi --wait`, matched by its own command
line only, so repeated restarts do not pile up waiters.
Also fixed: `deck-it env` fell through into the usage text, and the
usage text printed the license header since the header was added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|