feat(asr): Apple Speech provider + ASR switcher tab
- 新增 AppleSpeechASRProvider:包装 SFSpeechRecognizer,on-device 优先, partial / final 走标准 ASRStreamingSession 协议,无需 API key - 新增 ASRProviderRegistry:M1 预设 volcengine / apple-speech - CredentialsVault 增加 activeASRProviderId / configuredASRProviderIds - DictationCoordinator.makeASRProvider 改为按 vault.activeASRProviderId 路由 - 新增 ASR Tab(chip 切换 + 主操作「保存」按钮);侧边栏导航新增 .asr - scripts/build-app.sh Info.plist 加入 NSSpeechRecognitionUsageDescription - Tests/OpenLessCoreTests 新增 ASRProviderRegistryTests
This commit is contained in:
1 parent
b59c578b55
commit
294e53745b
8 files changed
+802
-8
No files matched your search
@@ -72,6 +72,8 @@ cat > "${APP_DIR}/Contents/Info.plist" <<EOF
|
||||
<string>OpenLess 需要麦克风权限以录制您的语音并转写为文字。</string>
|
||||
<key>NSAppleEventsUsageDescription</key>
|
||||
<string>OpenLess 需要权限以将转写后的文字插入到您当前光标所在的输入框。</string>
|
||||
<key>NSSpeechRecognitionUsageDescription</key>
|
||||
<string>OpenLess 在你切换到本地 ASR 时使用 macOS 内置语音识别完成离线转写,音频不离开本机。</string>
|
||||
<key>SUFeedURL</key>
|
||||
<string>${SPARKLE_FEED_URL}</string>
|
||||
<key>SUPublicEDKey</key>
|
||||
|
||||
Reference in new issue
Block a user