aboutsummaryrefslogtreecommitdiffstats
path: root/deckit/server.py
AgeCommit message (Collapse)AuthorFilesLines
2026-11-10feat(windows): preview cards and keystone's workspace iconsDanilo M.1-1/+12
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>
2026-11-10feat(assistant): a faint picture behind the Assistant tabDanilo M.1-0/+13
`[assistant] background` names an image (none by default); the server serves it at /api/bg behind the token, and the tab shows its subject from the right side, desaturated and faded out on every side so no edge shows: opacity .24 while the chat is empty, .07 during a conversation. Tuned on the 1280x800 tablet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat: the PC tells the tablet it is going to sleepDanilo M.1-1/+4
deckit/sleep.py holds an elogind delay inhibitor and watches PrepareForSleep with dbus-monitor. On a suspend the server marks its answers with X-Deckit-Sleep for 2 s, so the tablet's next poll shows "The PC is asleep" at once and drops its wake lock, then lets the inhibitor go. On resume it takes the inhibitor again. The 15 s silence fallback stays, worded "The PC is not answering", for a crash or a dropped tunnel. The inhibitor's command is `tail --pid=<server>` and dbus-monitor has a parent-death signal, so a killed server leaves no lock delaying every suspend (checked with kill -9: both gone within 2 s). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(assistant): final review fixesDanilo M.1-1/+4
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>
2026-11-10feat(server): serve the Nerd Font at /fonts/nerd.ttfDanilo M.1-0/+15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(server): upload actions take a raw body up to their own limitDanilo M.1-4/+7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix: window list flicker and icons missing from the icon themeDanilo M.1-6/+9
The Windows tab rebuilt every row once a second, and each rebuild walked every window icon through its fallback names again, so the rows blinked. It now re-renders only when the state changed. Icon lookup only searched the configured theme, so an app the theme lacks (pcmanfm-qt under candy-icons) lost its icon and showed its label. It now falls back to hicolor, as the icon theme spec does, in hicolor's size/category layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09chore: GPLv2-only license, docs and source headersDanilo M.1-0/+16
2026-11-09feat: launcher icons follow the icon theme Keystone setsDanilo M.1-3/+17
2026-11-09feat: launcher icons come from the configured icon themeDanilo M.1-0/+20
2026-11-09feat: card headers, music art/seek, clearer build cardDanilo M.1-1/+24
2026-11-09fix: OBS idle timeout, payload validation, workspace listDanilo M.1-2/+5
2026-11-09feat: OBS stream-deck moduleDanilo M.1-0/+1
2026-11-09feat: HTTP server with trust, auth, module routingDanilo M.1-0/+163