为「连接中断后自动继续」增加开关,或改为断连恢复后暂停待确认
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: oahc09
**客户端版本**: 0.1.58
---
## 使用场景
Agent 执行长时间任务(如编译验证、批量文件操作、多轮工具调用)期间,本机网络波动或断连,客户端在恢复后自动继续执行对话。
## 当前痛点
断连后的自动续跑缺少用户确认环节。如果中断前后用户的指令存在歧义(例如笼统的"继续"),自动续跑会让 Agent 按自己的推测解释并继续执行,可能执行超出用户真实意图的操作——尤其是不可逆或对外的动作(修改、提交、发送类操作),用户回到电脑前时中间过程已经发生,只能事后回溯。目前在设置中未找到控制该行为的选项,没有可用的替代方案。
## 诉求
增加对「连接中断后自动继续」行为的控制,至少满足其一:
1. 在设置中提供开关,允许用户关闭自动续跑;
2. 或改变默认行为:断连恢复后暂停本次回复,向用户展示中断点摘要,等用户确认后再继续。
## 建议方案
在客户端网络重试 / 会话续跑逻辑中增加可配置项;若实现暂停确认方案,可在恢复后插入一条系统提示(含中断位置与待执行动作摘要)由用户选择继续/终止。该行为具体从哪个版本开始存在:用户未知。
---
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN
Contributor guide
Research direction
No files or tests are named in the issue. Start by locating the client network retry and session-resume logic, then inspect how settings and interrupted conversations are handled; done means providing a way to disable automatic continuation or pausing after recovery for explicit confirmation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100