aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs/2026-11-10-assistant-design.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-10 12:27:15 +0100
committerDanilo M. <danix@danix.xyz>2026-11-10 12:27:15 +0100
commitc8f5a1e68d3294d4e1c7be3c386f3cc538eeb7af (patch)
tree8c5826354c7828d88e3dfba1254b24a7439e5e10 /docs/superpowers/specs/2026-11-10-assistant-design.md
parent5b5659cb830a6bf107dd0c9a0bb0f34045d6a8ce (diff)
downloaddeck-it-c8f5a1e68d3294d4e1c7be3c386f3cc538eeb7af.tar.gz
deck-it-c8f5a1e68d3294d4e1c7be3c386f3cc538eeb7af.zip
fix(assistant): final review fixes
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>
Diffstat (limited to 'docs/superpowers/specs/2026-11-10-assistant-design.md')
-rw-r--r--docs/superpowers/specs/2026-11-10-assistant-design.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/superpowers/specs/2026-11-10-assistant-design.md b/docs/superpowers/specs/2026-11-10-assistant-design.md
index 1e22ef3..55c82eb 100644
--- a/docs/superpowers/specs/2026-11-10-assistant-design.md
+++ b/docs/superpowers/specs/2026-11-10-assistant-design.md
@@ -47,14 +47,14 @@ for a finger: icon buttons, no text buttons.
`error`, `ctx`, `models`, `conversation` into one in-memory state; `state()` returns it;
- reconnects every 5s while the daemon is down, as the OBS module does;
- reads the catalog with `qs -p <desktop> ipc call assistant catalog` at
- start and on each pick, so edits on keystone's presets page apply;
+ start, on each daemon (re)connect and on each pick, so edits on keystone's presets page apply;
- each local model's audio support comes with the daemon's `models`
event: desktop-assistant reports `inputs` (the router's
`architecture.input_modalities`) per local model.
- **`static/modules/assistant.js`**: the tab (`tab: "Assistant"`,
wrapper class `.assistant`), polling every 0.5s; the state is in memory,
so a poll costs the PC nothing.
-- **`static/vendor/marked/marked.min.js`**: Markdown rendering (MIT).
+- **`static/vendor/marked/marked.esm.js`**: Markdown rendering (MIT).
- **Server: upload hook.** POST bodies are capped at 4 KB of JSON. A
module may declare `uploads={"voice": 2_000_000}`: for that action the
server accepts `Content-Type: audio/wav` up to the limit and passes the