From f2b09cb7524d07d269f3340cc0cbee47750c5869 Mon Sep 17 00:00:00 2001 From: Willem van den Ende Date: Tue, 3 Nov 2026 13:43:17 +0000 Subject: [PATCH] fix(packages): declare whisper and websocket The imported Linux-side STT code was inert without these: - `websocket' is a hard Package-Requires of lisp/live-dictate.el and is what makes streaming dictation possible. - `whisper' gates the `use-package! whisper ...' block in config-linux.el, which also autoloads `live-dictate'. `doom sync' is required on both machines afterwards. On the mac the two packages get installed but stay unused, since the whisper/live-dictate block lives in config-linux.el. --- config-linux.el | 4 ++-- packages.el | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config-linux.el b/config-linux.el index d612cde..2eee02f 100644 --- a/config-linux.el +++ b/config-linux.el @@ -44,8 +44,8 @@ ;; `whisper' via packages.el, and point `live-dictate-server-url' at a ;; reachable backend. ;; -;; Note: `whisper' must also be declared in packages.el for these autoloads -;; to exist on a fresh install. +;; `whisper' and `websocket' (for live-dictate) are declared in packages.el, +;; so these autoloads exist on a fresh install. (add-load-path! "lisp") (autoload #'live-dictate "live-dictate" nil t) diff --git a/packages.el b/packages.el index 40ea90f..cc7bfa0 100644 --- a/packages.el +++ b/packages.el @@ -31,6 +31,12 @@ (package! mastodon) (package! pi-coding-agent :recipe (:host github :repo "dnouri/pi-coding-agent")) +;; speech-to-text: `whisper' is used by config-linux.el, and `websocket' is a +;; hard dependency of lisp/live-dictate.el -- it is what makes streaming +;; dictation possible. +(package! whisper + :recipe (:host github :repo "natrys/whisper.el")) +(package! websocket) ;; (package! gptel) ;; replace with 'llm' package ;; craft of emacs