From 5b5659cb830a6bf107dd0c9a0bb0f34045d6a8ce Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 10 Nov 2026 12:24:18 +0100 Subject: docs: the Assistant tab, and the spec follows the plan's decisions Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 6817cdb..455eef6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -52,6 +52,16 @@ Keep the server dependency-free apart from that one package. - `tablet` reads the tablet's battery (`dumpsys battery`) and Wi-Fi (`cmd wifi status`, Android 11+) over adb, from the device whose reverse carries the dashboard socket; reads are cached 10s. +- `assistant` is a client of desktop-assistant's socket + (`$XDG_RUNTIME_DIR/desktop-assistant.sock`, JSON lines; every client sees + every event); a reader thread folds events into the state the tab polls + every 0.5s. Presets, ops and paths come from quickshell's + `qs -p <[assistant] shell> ipc call assistant catalog`. Files are picked + on the PC with qarma, never named by the tablet. Voice is a WAV upload + (`Module.uploads`, a raw body with its own size limit) written to the run + dir and asked with `audio`. The tab's icons are the Nerd Font the server + serves at `/fonts/nerd.ttf`; Markdown goes through `static/md.js` + (vendored `marked`, HTML escaped, images never fetched). - The page holds a Screen Wake Lock while visible, so the tablet never sleeps over the dashboard; nothing on the tablet's settings is changed. - Launchers are `[launch] apps`, desktop ids run with `gtk-launch`; label and @@ -71,7 +81,8 @@ Keep the server dependency-free apart from that one package. python3 -m unittest discover -s tests -`node --check` any changed JS file. The real hardware paths (wayvnc, adb, OBS, +`node --check` any changed JS file. The `tests/test_*.mjs` node checks run +inside the suite through `tests/test_js.py`. The real hardware paths (wayvnc, adb, OBS, the tablet) are manual. ## Repo facts -- cgit v1.2.3