aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs/2026-10-19-assistant-mic-design.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-19 11:36:00 +0200
committerDanilo M. <danix@danix.xyz>2026-10-19 11:36:00 +0200
commit2d51494f7aa574da3b054a8bbdcf2532ff32a71f (patch)
tree9fab3f2a50b69ba7fc15693e17734bec878bb1ae /docs/superpowers/specs/2026-10-19-assistant-mic-design.md
parentc1fc2001219eb9aa349439b3007b57e1ced25335 (diff)
downloadquickshell-2d51494f7aa574da3b054a8bbdcf2532ff32a71f.tar.gz
quickshell-2d51494f7aa574da3b054a8bbdcf2532ff32a71f.zip
assistant: grey out the mic when the model cannot hear
AssistantModule keeps each router model's input_modalities and exposes hears: the model loading, else the first not unloaded (the daemon's rule), reports audio. Unknown inputs or a router that is down count as yes; the daemon's error covers the rest. The model list is now read on every canvas open, not only when a preferred model is set, so hears is current when the card shows. Checked: the rule against the router's live /models (Gemma resident: on; Qwen resident or loading: off; router down: on). Not yet seen by eye after a desktop shell reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers/specs/2026-10-19-assistant-mic-design.md')
-rw-r--r--docs/superpowers/specs/2026-10-19-assistant-mic-design.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/superpowers/specs/2026-10-19-assistant-mic-design.md b/docs/superpowers/specs/2026-10-19-assistant-mic-design.md
index 118ab08..07959e5 100644
--- a/docs/superpowers/specs/2026-10-19-assistant-mic-design.md
+++ b/docs/superpowers/specs/2026-10-19-assistant-mic-design.md
@@ -70,10 +70,15 @@ events, which the canvas already shows.
## Not included
-A shortcut or a bind that opens the card recording, a level meter,
-hiding the mic when the loaded model has no audio input (the daemon's
-error says so after the recording), and editing the transcript before
-it is asked.
+A shortcut or a bind that opens the card recording, a level meter, and
+editing the transcript before it is asked.
+
+Added after the first version: the mic is disabled while the model in
+use reports no `audio` in `input_modalities`. `AssistantModule` keeps
+each router model's inputs and reads `/models` on every canvas open;
+the model in use is the one loading, else the first not unloaded (the
+daemon's rule). Unknown inputs or a router that is down leave it
+enabled, and the daemon's error covers the rest.
## Testing