aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md13
1 files changed, 12 insertions, 1 deletions
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