diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-05 12:50:37 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-05 12:50:37 +0200 |
| commit | c4e3406c8241ada9b9d7069149f88ab55c3b5952 (patch) | |
| tree | ed89a14c83f6c9a858523b2abb66d37fe123ed46 /docs/superpowers/specs/2026-10-05-ai-module-design.md | |
| parent | 69f34da5a290b0f12b65242ae6ad21491d182a71 (diff) | |
| download | quickshell-c4e3406c8241ada9b9d7069149f88ab55c3b5952.tar.gz quickshell-c4e3406c8241ada9b9d7069149f88ab55c3b5952.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers/specs/2026-10-05-ai-module-design.md')
| -rw-r--r-- | docs/superpowers/specs/2026-10-05-ai-module-design.md | 6 |
1 files changed, 3 insertions, 3 deletions
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, |
