Mac: keep voice wake tester local-only

Why: Start Test is a local verification tool, but it was forwarding transcripts to the gateway/chat, which confused users and made tests look like real commands.

What: stop forwarding from VoiceWakeTester and clarify in docs that the tester does not send to the gateway.
This commit is contained in:
Xaden Ryan
2026-01-07 15:47:00 -07:00
committed by Peter Steinberger
parent 0f1a262ae1
commit 830613d9fa
2 changed files with 3 additions and 9 deletions

View File

@@ -208,11 +208,8 @@ final class VoiceWakeTester {
if let match, !match.command.isEmpty {
self.holdingAfterDetect = true
self.detectedText = match.command
self.logger.info("voice wake detected; forwarding (len=\(match.command.count))")
self.logger.info("voice wake detected (test) (len=\(match.command.count))")
await MainActor.run { AppStateStore.shared.triggerVoiceEars(ttl: nil) }
Task.detached {
await VoiceWakeForwarder.forward(transcript: match.command)
}
self.stop()
await MainActor.run {
AppStateStore.shared.stopVoiceEars()
@@ -424,11 +421,8 @@ final class VoiceWakeTester {
) else { return }
self.holdingAfterDetect = true
self.detectedText = match.command
self.logger.info("voice wake detected (silence); forwarding (len=\(match.command.count))")
self.logger.info("voice wake detected (test, silence) (len=\(match.command.count))")
await MainActor.run { AppStateStore.shared.triggerVoiceEars(ttl: nil) }
Task.detached {
await VoiceWakeForwarder.forward(transcript: match.command)
}
self.stop()
await MainActor.run {
AppStateStore.shared.stopVoiceEars()

View File

@@ -41,7 +41,7 @@ Hardening:
## User-facing settings
- **Voice Wake** toggle: enables wake-word runtime.
- **Hold Cmd+Fn to talk**: enables the push-to-talk monitor. Disabled on macOS < 26.
- Language & mic pickers, live level meter, trigger-word table, tester.
- Language & mic pickers, live level meter, trigger-word table, tester (local-only; does not forward).
- **Sounds**: chimes on trigger detect and on send; defaults to the macOS “Glass” system sound. You can pick any `NSSound`-loadable file (e.g. MP3/WAV/AIFF) for each event or choose **No Sound**.
## Forwarding behavior