From c4e3406c8241ada9b9d7069149f88ab55c3b5952 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 5 Oct 2026 12:50:37 +0200 Subject: feat(ai): state sweep for the AI stack Six TSV lines per sweep: llama and sd engines, four apps. llama's slot probe passes autoload=false, since a plain /slots?model= loads the model into VRAM. sd-server has no progress endpoint, so busy is its log having been written in the last 5s. Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/specs/2026-10-05-ai-module-design.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/superpowers') diff --git a/docs/superpowers/specs/2026-10-05-ai-module-design.md b/docs/superpowers/specs/2026-10-05-ai-module-design.md index cef2e88..b1f0f7e 100644 --- a/docs/superpowers/specs/2026-10-05-ai-module-design.md +++ b/docs/superpowers/specs/2026-10-05-ai-module-design.md @@ -20,7 +20,7 @@ Two kinds of thing are shown: | desktop-assistant | `assistant.sh status`, exit code | `assistant.sh start` | `assistant.sh stop` | | local-chat | `llamachat --ping`, exit code | `llamachat --daemon` | `llamachat --quit` | | imggen | `imggen status`, `daemon down` means stopped | `imggen start` | `imggen stop` | -| fanfictioner | `pgrep -u $USER -f` on the script path | none | kill its PID and its children by PID | +| fanfictioner | `pgrep -u $USER -f` on `python3 .../fanfictioner` | none | kill its PID and its children by PID | The module uses each project's existing control surface. No project gains a new script. imggen starts its default model (`sdxl`); there is no picker. @@ -68,8 +68,8 @@ All under `desktop/modules/ai/`, the shape of `modules/kdeconnect/`. A probe that fails reports its row as down or stopped; the script always exits 0 with all six lines. Every external command (`curl`, `pgrep`, the four controls, `stat`) is called by name so the test can stub it on PATH. - Paths to `assistant.sh` and the fanfictioner script default to - `~/Programming/GIT/...` and are overridable by environment variable, as + The path to `assistant.sh` defaults to + `~/Programming/GIT/...` and is overridable by environment variable, as imggen does with `IMGGEN_DIR`. - `AiModule.qml`: `name: "ai"`, a `Process` running the script every 3s while the tile exists, which is exactly while the drawer panel is loaded, -- cgit v1.2.3