fix: 提升 MCP/CLI 连接稳定性,新增心跳保活与智能重连#195
Open
vanselee wants to merge 1 commit into
Open
Conversation
vanselee
commented
Jun 12, 2026
- 新增 WebSocket 心跳机制(每 20s),防止 MV3 Service Worker 超时断开
- 优化重连策略:前 5 次快速轮询 + 指数退避
- 新增 MCP_RECONNECT 手动重连指令和连接状态扩展
- 新增 Chrome MV3 定期唤醒定时器(每 30s)
- 新增本地服务器自动检测,智能切换温热/冷却重连策略
- 延长默认连接超时至 45 秒
- 要求 minimum_chrome_version >= 120
- 新增 MCP Client 单元测试
- 新增 WebSocket 心跳机制(每 20s),防止 MV3 Service Worker 超时断开 - 优化重连策略:前 5 次快速轮询 + 指数退避 - 新增 MCP_RECONNECT 手动重连指令和连接状态扩展 - 新增 Chrome MV3 定期唤醒定时器(每 30s) - 新增本地服务器自动检测,智能切换温热/冷却重连策略 - 延长默认连接超时至 45 秒 - 要求 minimum_chrome_version >= 120 - 新增 MCP Client 单元测试
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.