Files
loki/scripts
g-butandClaude Sonnet 4.6 8958642289 fix(beacon): countdown and whisper model now read from settings file
Both were SSOT violations — PyQt respected ~/.config/agent-dashboard-settings.json
but the web beacon hardcoded its own values.

- beacon.py _web_stop: reads countdown_seconds from settings, passes as
  ?countdown=N query param when opening the Chrome app URL
- beacon page: reads ?countdown from window.location.search on load
  (lazy useState initializer, SSR-safe via typeof window guard)
- /api/beacon/transcribe: reads whisper_model from settings file before
  invoking transcribe.py, falls back to "base" if missing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 12:21:37 +02:00
..