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.
This commit is contained in:
Willem van den Ende
2026-11-03 13:43:17 +00:00
parent b425df90cf
commit f2b09cb752
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -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)
+6
View File
@@ -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