 adminandClaude Code
|
87915bf7e3
|
feat: editorApps 白名单 — Sublime/XStudio/VSCode 等 AX 不透编辑器可激活
影响:之前 Sublime Text(AX 树只有 window chrome)、XStudio console 插件
(AXUnknown)、VSCode(Electron,AX 残)长按一律进 skip 分支;现在按 bundle 白名单
走 "AX 不透明" 兜底,与 HexHub 同款 app 级激活。
改动:
- 新增 editorApps: Set<String>(Sublime 4/3、TextEdit、VSCode、Atom、CotEditor、XStudio)
- 长按分支新增一层 let role, let b = bundle, editorApps.contains(b) → startRec()
- 日志加 "allow: editor whitelist <bundle> role=<r> (fallback)"
Co-Authored-By: Claude Code <[email protected]>
|
2026-10-07 12:18:06 +08:00 |
|
 adminandClaude Code
|
63b41c9750
|
rename: voicetype → xtype (bundle id, paths, xop vault refs)
- bundle: com.xs.voicetype → com.xs.xtype;CFBundleName/Executable → XType
- 文件: src/voicetype.swift → src/xtype.swift;docs/voicetype/ → docs/xtype/
- 路径: /Applications/VoiceType.app → /Applications/XType.app;/tmp/voicetype.{log,build}
- 配置: ~/.voicetype-engine → ~/.xtype-engine
- 凭据 vault: xf_vt_{APPID,APISecret,APIKey} → xf_xt_*
- 文档: AGENTS.md / README.md / GOTCHAS.md 全量替换
- git remote: x/voicetype → x/xtype
影响 TCC:bundle id 变了,用户首次装需重新授三件套(麦/语音/辅助)。
用户操作:已 killall VoiceType + 删旧 .app + 迁 vault + remote set-url。
Co-Authored-By: Claude Code <[email protected]>
|
2026-10-07 11:01:09 +08:00 |
|
 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 |
|