Dictation in the chat (upstream #334, #353, 3b0e987)

MacDictation: on-device speech recognition when available; «Automatic» listens with up to
three recognizers in the user's languages (macOS languages, keyboard layouts, English) and
keeps the most confident transcript; a fixed language from the mic's right-click menu.
🎤 next to the chat input; sending while dictating takes the final words first.
Hardened runtime gets com.apple.security.device.audio-input; Info.plist gets the
microphone and speech-recognition usage strings (in Russian).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maksarsanjeev
2026-10-14 00:20:21 +03:00
parent 0199e9a7f0
commit 7c4e9abc46
5 changed files with 371 additions and 0 deletions
+2
View File
@@ -72,6 +72,8 @@ targets:
CFBundleShortVersionString: "0.1.0"
CFBundlePackageType: APPL
LSUIElement: YES
NSMicrophoneUsageDescription: "BroV слушает микрофон, когда ты диктуешь сообщение в чат."
NSSpeechRecognitionUsageDescription: "BroV превращает твой голос в текст сообщения в чате."
NSHighResolutionCapable: YES
NSSupportsAutomaticGraphicsSwitching: YES
NSAppleEventsUsageDescription: "BroV jumps to your terminal, sends mail and controls Music."