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()