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:
+2
-2
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user