Commit 9e6cebc
fix: migrate to stackvox 0.3.x unified CLI; voice was silently broken on fresh installs
stackvox 0.3.x consolidated its CLI — there is no separate `stackvox-say`
console_script anymore; speech goes through `stackvox say <text>` as a
subcommand. notify.sh and Speaker.swift both still pointed at the old
binary, so on fresh installs (where only `stackvox` exists in the venv)
the existence guard bailed silently and voice never fired. install
looks healthy, daemon is running, models are downloaded, the manual
`stackvox speak` works — but hooks never speak.
Reported in #14 by @OMauriStkOne.
notify.sh
- STACKVOX_SAY removed; speak_notification now invokes "$STACKVOX" say
- voice_phrase_for gates on STACKVOX existence (was STACKVOX_SAY)
- nudge_debug() helper writes to stderr only when STACKNUDGE_DEBUG=true.
Logs the missing-binary and missing-daemon-socket cases that were
previously hidden by the silent bail. The "voice silently no-ops"
failure mode is now diagnosable by setting STACKNUDGE_DEBUG=true.
Speaker.swift
- Same migration on the Swift side (used by the menu bar's voice toggle
preview and the voice-cycle preview in Settings)
- Removed the now-redundant separate stackvox / stackvoxSay paths
Verified locally with stackvox 0.3.x in the venv: `stackvox say --voice
af_aoede ...` runs cleanly; notify.sh's voice path completes without
error when STACKNUDGE_VOICE=true.
Closes #14
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a037e27 commit 9e6cebc
2 files changed
Lines changed: 29 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
206 | | - | |
| 214 | + | |
| 215 | + | |
207 | 216 | | |
208 | 217 | | |
209 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
210 | 222 | | |
211 | | - | |
212 | 223 | | |
| 224 | + | |
213 | 225 | | |
214 | 226 | | |
215 | 227 | | |
216 | 228 | | |
217 | | - | |
| 229 | + | |
218 | 230 | | |
219 | 231 | | |
220 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | | - | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
| 15 | + | |
14 | 16 | | |
15 | | - | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
0 commit comments