aboutsummaryrefslogtreecommitdiffstats
path: root/deckit/modules
AgeCommit message (Collapse)AuthorFilesLines
2026-11-10feat(music): a volume slider with a mute toggle, icon buttonsDanilo M.1-2/+7
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.1-0/+12
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.1-1/+33
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.1-9/+9
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): the transcript as chat bubbles with avatarsDanilo M.1-0/+4
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): preview cards and keystone's workspace iconsDanilo M.1-3/+35
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-10fix(assistant): voice-only tab, tools in an overlay, silent clips droppedDanilo M.1-7/+1
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>
2026-11-10fix(assistant): final review fixesDanilo M.1-0/+2
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-10fix(assistant): review fixes: robust reader, op ownership, no stuck opsDanilo M.1-19/+52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): presets and ops on a file picked on the PCDanilo M.1-2/+100
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): daemon client with chat, model and voice actionsDanilo M.1-0/+114
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): fold daemon events into the tab's stateDanilo M.1-0/+106
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(tablet): battery and Wi-Fi card on the dashboardDanilo M.1-0/+108
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>
2026-11-10feat(obs): pause, Studio Mode, and working transition tilesDanilo M.1-6/+20
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>
2026-11-10feat(k1c): live camera stream instead of snapshotsDanilo M.1-9/+9
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>
2026-11-10fix(k1c): read the part fan from Creality's output_pin fan0Danilo M.1-2/+9
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>
2026-11-10feat: K1C printer tab and proper cards for switched-off sourcesDanilo M.1-0/+147
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>
2026-11-10feat: dashboard-only mode and keystone settings integrationDanilo M.1-39/+41
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>
2026-11-09chore: GPLv2-only license, docs and source headersDanilo M.7-0/+112
2026-11-09fix: window focus and close must call hl.dispatchDanilo M.1-1/+1
2026-11-09feat: window rows get app icons and a close/move menuDanilo M.1-1/+63
2026-11-09feat: Windows tab shows all workspaces and icon-only launchersDanilo M.1-2/+14
2026-11-09feat: long-press an OBS source to open its properties; fix server detectionDanilo M.1-1/+8
2026-11-09feat: opencode session spend and brand marks in the LLM cardDanilo M.1-2/+9
2026-11-09feat: LLM card shows current session models with section headersDanilo M.1-2/+22
2026-11-09feat: build VM card shows the real stats dashboardDanilo M.1-7/+11
2026-11-09feat: card headers, music art/seek, clearer build cardDanilo M.2-4/+17
2026-11-09fix: use OBS's stored password and explain auth failuresDanilo M.1-1/+14
2026-11-09fix: aggregate opencode rows from /api/summaryDanilo M.1-1/+19
2026-11-09feat: Intel xe GPU stats (temp, fan, VRAM)Danilo M.1-37/+58
2026-11-09fix: OBS idle timeout, payload validation, workspace listDanilo M.2-8/+20
2026-11-09feat: sb-builder status moduleDanilo M.1-0/+36
2026-11-09feat: llm usage panelDanilo M.1-7/+15
2026-11-09feat: llm-cost-dashboard relay moduleDanilo M.1-0/+46
2026-11-09feat: OBS stream-deck moduleDanilo M.1-0/+113
2026-11-09feat: windows moduleDanilo M.1-0/+92
2026-11-09feat: music moduleDanilo M.1-0/+49
2026-11-09feat: stats moduleDanilo M.2-0/+168