Skip to content

feat(remote-input): 自动刷新配对码并保留已连接会话 - #1449

Open
ciddwd wants to merge 2 commits into
Open-Less:betafrom
ciddwd:fix/remote-input-pairing-1348
Open

ciddwd wants to merge 2 commits into
Open-Less:betafrom
ciddwd:fix/remote-input-pairing-1348

Conversation

@ciddwd

@ciddwd ciddwd commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

摘要

Fixes #1348

远程输入原本面向同一局域网,已有 HTTPS、配对码校验和失败次数限制。原先的手动重置同时承担撤销授权的作用,换码后手机需要重新配对。现在把刷新配对码和撤销授权做成两个操作,让配对码可以自动换新,同时保留已连接的手机和正在处理的录音。

改动与兼容

  • 配对码每 10 分钟或成功配对一次后自动刷新。界面上的「刷新配对码」也采用相同行为,只更新下次配对用的码。
  • 手机配对后获得独立的重连凭证,在本次 OpenLess 运行期间有效,最长 24 小时。首次升级后,手机用当前配对码重新配对一次即可获取凭证。
  • 「撤销所有配对」保留主动断开设备的用途。撤销后,手机需要用新码重新配对。

测试

通过核心和 WebSocket 回归测试,覆盖配对码到期、单次使用、活跃录音继续接收音频、换码后仍能收到识别结果,以及重连和主动撤销。 Issue #1348

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-17T05:15:10.767474Z
We couldn’t complete this review. Comment @codex review to try again.
580b3e6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@H-Chris233 H-Chris233 added enhancement New feature or request P2 Medium priority Linux Linux-specific macOS macOS-specific Windows Windows-specific labels Nov 21, 2026 — with ChatGPT Codex Connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Linux Linux-specific macOS macOS-specific P2 Medium priority Windows Windows-specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[remote input] 配对码无法自动刷新

2 participants