 adminandClaude Opus 5.5
|
6b88844d1b
|
fix: 点击太灵敏 — opaque app nudgeAX sleep 期间检测松手
`.press + 350ms` 进入激活分支时,AX-opaque app 会
nudgeAX(pid) + usleep(250ms)。阻塞期间用户可能已松手,
原代码 sleep 后继续推进到 .recording,导致"点击就出来"。
修法:usleep 后再查 buttonState,已松开 → .dead + cancel,
break 出 .press 分支,不再升级成录音。
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
2026-10-02 19:32:25 +08:00 |
|
 adminandClaude Opus 5.5
|
b380eaf252
|
voicetype: Apple 端侧 + LLM 异步精修,可选 xunfei/dual
新增 apple-llm 引擎(默认):Apple SFSpeechRecognizer → 贴原文 → LLM (~1s,
thinking=disabled) → 退格覆盖精修版。LLM 走 ~/ssw.ini [llm-api],无配置
静默回退 Apple 原文。
- 删 localClean(中文无空格,正则误伤'好啊'等正常词)
- pickEngine() 默认 apple-llm
- LLMCleaner 自动带 thinking: {type: 'disabled'} (GLM 7s+ → ~1s)
- build.sh 新增 apple / apple-llm 模式,默认 apple-llm
- README + AGENTS.md 同步更新
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
2026-10-02 19:23:47 +08:00 |
|