6 Commits
Author SHA1 Message Date
zhou zhichao f39a68a795 修复远程录音息屏丢失并默认保持亮屏 (#1049) 2026-09-10 16:01:55 +08:00
zhou zhichao b72ec9671a 远程输入:补充首次信任前的根证书指纹核验 (#1048) 2026-09-10 16:01:29 +08:00
zhou zhichaoandChris233 882fac63f0 fix(remote-input): preserve phone trust across restarts and IP changes (#1037)
* fix(remote-input): preserve phone trust with a persistent local CA

* fix(remote-input): disclose LAN certificate MITM risk

---------

Co-authored-by: Chris233 <h-chris233@outlook.com>
2026-09-10 06:36:12 +08:00
a3fc7171d2 feat(llm): add OpenCode Zen polish provider, default deepseek-v4-flash (#1023)
* feat(llm): add OpenCode Zen polish provider, default deepseek-v4-flash

Dictation polish uses OpenAI-compatible chat/completions. For OpenCode Go, change the Base URL to /zen/go/v1.

* fix(macos): 避免 Fn 长按与功能键误触发听写 (#1008)

Auto 和 Toggle 模式只在 Fn 短按松开且未叠加功能层操作时触发听写;长按及亮度、音量等 systemDefined 事件留给 macOS。

保留显式 Hold 模式的按住说话语义,并跳过 Fn 短按释放后的冗余仲裁延迟。

Co-authored-by: Chris233 <h-chris233@outlook.com>

* fix(asr): 百炼 WebSocket 优先走 IPv4,避开本机 IPv6 黑洞 (#1036)

* fix(asr): 百炼 WebSocket 优先走 IPv4,避开本机 IPv6 黑洞

dashscope 的 AAAA 在部分 Windows 双栈网上 TCP 443 会挂死,connect_async 先试 IPv6 会卡满 5 秒超时,听写进不了 Listening。

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(asr): preserve websocket ports and retry handshake addresses

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Chris233 <h-chris233@outlook.com>

* fix(updater): Beta 构建默认跟随 Beta 渠道 (#1041)

* fix(updater): default beta builds to beta channel (#1034)

* fix(updater): persist channel switches atomically

* feat(llm): 支持渠道级 Chat Completions、Responses 和 Messages (#1042)

* feat(llm): add channel request formats and compatibility presets

* fix(llm): harden channel protocol handling

* feat(llm): integrate OpenCode Zen with shared request formats

---------

Co-authored-by: Mark <shawninjuly@gmail.com>
Co-authored-by: Chris233 <h-chris233@outlook.com>
Co-authored-by: 浩彬(^-^) <146098469+HKLHaoBin@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 20:54:01 +08:00
zhou zhichaoandChris233 fc9824eecc fix(remote-input): 开关已开时启动也要拉起局域网服务 (#1002)
* fix(remote-input): start the LAN server on launch when already enabled

Toggling the setting only refreshed the server on a prefs change. After restart the switch stayed on but port 8443 never bound, so the phone page could not open.

* fix(remote-input): unstick Windows startup and settings

On Windows, NIC enumeration and Tauri path APIs from the async runtime can stall the LAN server, and set_remote_locale's main-thread tray refresh deadlocks the settings page. Start the server on Ready and keep those calls off the UI thread.

* fix(remote-input): harden LAN discovery and startup lifecycle

* fix(remote-input): feed phone PCM into ASR instead of the PC mic

Remote dictation still opened the computer microphone and never assigned
the phone sink, so Safari audio was dropped. Arm a deferred bridge on
start and skip the local capture device for remote sessions.

* fix(remote-input): scope PCM cleanup to active session

* test(remote-input): import RMS helper

* fix(remote-input): clear idle PCM sink on cancel

---------

Co-authored-by: Chris233 <h-chris233@outlook.com>
2026-08-27 12:51:26 +08:00
zhou zhichaoandCursor 7800071087 fix(settings): remount RemoteInputSection on the General tab (#978)
1.3.14 split settings into tabs and left the existing panel unmounted. Desktop only, matching the PC HTTPS remote-input server.

Closes #977

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 14:20:02 +08:00