aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-10 12:24:18 +0100
committerDanilo M. <danix@danix.xyz>2026-11-10 12:24:18 +0100
commit5b5659cb830a6bf107dd0c9a0bb0f34045d6a8ce (patch)
treee0b4627a40b66af27f0c4510129835985bbb6f8e /AGENTS.md
parent1195ac569fdff7427fd1ac17c4c0176639ccc201 (diff)
downloaddeck-it-5b5659cb830a6bf107dd0c9a0bb0f34045d6a8ce.tar.gz
deck-it-5b5659cb830a6bf107dd0c9a0bb0f34045d6a8ce.zip
docs: the Assistant tab, and the spec follows the plan's decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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