aboutsummaryrefslogtreecommitdiffstats
path: root/deckit/modules
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 /deckit/modules
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 'deckit/modules')
-rw-r--r--deckit/modules/assistant.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/deckit/modules/assistant.py b/deckit/modules/assistant.py
index d535eb7..247caf4 100644
--- a/deckit/modules/assistant.py
+++ b/deckit/modules/assistant.py
@@ -170,6 +170,8 @@ def make(cfg: dict) -> Module:
conn["sock"] = s
with lock:
st.update(connected=True, error=None)
+ # Off-thread: qs may take seconds; retries a catalog that failed at start.
+ threading.Thread(target=load_catalog, daemon=True).start()
try:
send({"type": "models"})
for line in s.makefile("r", encoding="utf-8", errors="replace"):