From c7a81953ce62d1ef4a757bfa2993308fde25a3b6 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 10 Nov 2026 11:51:12 +0100 Subject: docs: drop history from the tablet assistant design Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/specs/2026-11-10-assistant-design.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/superpowers/specs/2026-11-10-assistant-design.md b/docs/superpowers/specs/2026-11-10-assistant-design.md index 8f9cf24..2c26188 100644 --- a/docs/superpowers/specs/2026-11-10-assistant-design.md +++ b/docs/superpowers/specs/2026-11-10-assistant-design.md @@ -7,7 +7,7 @@ Date: 2026-11-10. Fills the module slot the original design deferred An **Assistant** tab on the tablet that is a full client of desktop-assistant: typed chat with streamed, formatted replies, voice -questions through the tablet's mic, history, model choice, and the canvas's +questions through the tablet's mic, model choice, and the canvas's Ask presets and Do ops applied to a file picked on the PC. The UI is built for a finger: icon buttons, no text buttons. @@ -16,7 +16,9 @@ for a finger: icon buttons, no text buttons. - Copying a code block to the PC's clipboard (it copies to the tablet's). - Server-sent events; the tab polls. - Any change to the canvas beyond the catalog and the preset prompt below. -- Deleting or searching history from the tablet. +- History (list, open, delete, search): easier on the PC. The tablet shows + the daemon's current conversation, so one opened in the canvas appears + there too. ## Parts @@ -43,7 +45,7 @@ for a finger: icon buttons, no text buttons. - **`deckit/modules/assistant.py`**, one daemon client: - a reader thread on `$XDG_RUNTIME_DIR/desktop-assistant.sock` (JSON lines) folds `hello`, `state`, `user`, `think`, `token`, `tool`, `done`, - `error`, `ctx`, `models`, `conversations`, `conversation` into one in-memory state; `state()` returns it; + `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 ipc call assistant catalog` at start and on each pick, so edits on keystone's presets page apply; @@ -69,7 +71,6 @@ The client sends text, ids and labels; never a path or a command. | --- | --- | --- | | `ask` | `text` | daemon `ask`, with `model` when one is wanted | | `stop`, `new` | — | the daemon commands | -| `list`, `open` | `id` (open) | history; answers land in state | | `models` | — | daemon `models` plus the router's inputs | | `model` | `id` | the chat's pick; must be in the last model list | | `voice` | raw WAV (upload) | writes `$XDG_RUNTIME_DIR/deck-it/voice.wav`, then `ask` with `text: ""`, `audio` and `model` | @@ -114,7 +115,7 @@ an `aria-label` and a `title`; no text buttons. Icons are the Nerd Font glyphs the canvas uses. - **Header:** model button (the model's name, the one text label, since it - is the value being chosen; a cloud glyph for cloud models), history, new. + is the value being chosen; a cloud glyph for cloud models), new. - **Action strip:** Ask presets, then Do ops, as icon tiles with the preset's own glyph and a short caption under it (presets are user-made, so the glyph alone cannot tell them apart). While picking, the strip is @@ -124,7 +125,7 @@ glyphs the canvas uses. icon once its fence closes. - **Input bar:** text field, then mic (toggle, with a running timer while recording), then send, which becomes stop while a reply streams. -- **Panels** (history, models) slide over the transcript and close on a +- **Model panel** slides over the transcript and close on a tap outside. ### Markdown safety -- cgit v1.2.3