[P0-④] DEBUG cleanup + README / CHANGELOG typos
DEBUG cleanup (rolled into P0-① and P0-② already, formalised here):
- All 3 surviving `print(` calls live inside `#if DEBUG` blocks:
* OSGKeyboardApp.swift init (the 4 \ud83d\udd25 traces)
* ASRService on-device fallback warning
* KeyboardViewController.loadPersistedLocale masked-config dump
The 2 in AppGroup.swift + LLMClient.swift were already DEBUG-wrapped.
Docs:
- README.md: replace <OWNER> placeholder with hkgood (CI badge + clone URL);
reword the 'iOS 26 SpeechAnalyzer' copy as 'planned for the next release';
add a 'Note' line pointing at hkgood/OSGKeyboard.
- README.zh.md: same edits in Chinese — 'iOS 26+ 的 SpeechAnalyzer 计划下版接入'.
CHANGELOG (already fixed in P0-② commit): the old 'group.com.osgkeyboard.ios'
typo on the old line 18 is gone — it was rewritten into the new
'Known limitations' block, which only references 'group.com.osgkeyboard.shared'
in spirit.
xcodebuild iOS Simulator: SUCCEEDED
This commit is contained in:
+4
-4
@@ -19,14 +19,14 @@ OSGKeyboard 是商业语音输入工具的免费开源替代。它以 **iOS 自
|
||||
2. 自由说话
|
||||
3. 松开 —— AI 帮你整理成干净的文字,自动插入光标处
|
||||
|
||||
**音频始终在设备本地转写**(iOS 26+ 用 `SpeechAnalyzer`,iOS 18/19 用 `SFSpeechRecognizer`),**只有润色后的文本** 会发到你选择的云端 LLM。**音频永不离开你的手机。**
|
||||
**音频始终在设备本地转写**(iOS 18/19 用 `SFSpeechRecognizer`;iOS 26+ 的 `SpeechAnalyzer` 计划下版接入),**只有润色后的文本** 会发到你选择的云端 LLM。**音频永不离开你的手机。**
|
||||
|
||||
---
|
||||
|
||||
## 特性
|
||||
|
||||
- 🎙 **按住说话**,Typeless 风格的圆形麦克风按钮
|
||||
- 🧠 **端侧 ASR**(iOS 26 `SpeechAnalyzer` + `DictationTranscriber`;iOS 18 退回 `SFSpeechRecognizer`)
|
||||
- 🧠 **端侧 ASR**(iOS 18/19 `SFSpeechRecognizer`;iOS 26+ 的 `SpeechAnalyzer` + `DictationTranscriber` 计划下版接入)
|
||||
- ✍️ **AI 润色** —— 自动加结构、补标点、修正语法、可生成列表
|
||||
- 🔌 **自带 API 接入** —— 兼容任何 OpenAI 兼容协议端点(OpenAI / DeepSeek / Qwen DashScope / 自建服务器 ……)
|
||||
- 🔒 **隐私优先** —— 音频不离开设备;只有润色文本会发给你选择的 LLM
|
||||
@@ -40,7 +40,7 @@ OSGKeyboard 是商业语音输入工具的免费开源替代。它以 **iOS 自
|
||||
### 环境要求
|
||||
|
||||
- macOS + **Xcode 16+**(推荐 Xcode 26)
|
||||
- iPhone 运行 **iOS 18.0+**(iOS 26+ 体验最佳)
|
||||
- iPhone 运行 **iOS 18.0+**
|
||||
- [XcodeGen](https://github.com/yonaskolb/XcodeGen):`brew install xcodegen`
|
||||
- 一个 OpenAI 兼容 API Key([OpenAI](https://platform.openai.com/api-keys) / [DeepSeek](https://platform.deepseek.com/api_keys) / [Qwen DashScope](https://dashscope.console.aliyun.com/apiKey) 任一)
|
||||
|
||||
@@ -131,7 +131,7 @@ LLMProvider(
|
||||
|
||||
- iOS 沙盒:键盘扩展 ~60 MB 内存上限,必须开完全访问
|
||||
- 密码框与部分 `WKWebView` 输入框不可用(iOS 限制)
|
||||
- iOS 18 用 `SFSpeechRecognizer` 退化路径;iOS 26 的 `SpeechAnalyzer` 更快、支持语种更多
|
||||
- iOS 18/19 用 `SFSpeechRecognizer` 做端侧 ASR;iOS 26+ 的 `SpeechAnalyzer` 计划下版接入(更快、支持语种更多)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user