执行命令行任务后会话被直接终止,任务状态不明且 AI 误报“被用户打断”
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户4882
**客户端版本**: 0.1.44
---
## 现象
每次执行命令行任务后,当前会话都会被直接终止/中断,任务是否执行结束完全不可知;再次询问时,AI 回复“被用户打断了”,但用户实际上没有进行任何打断操作。该问题在 2026-08-12 客户端更新之后首次出现,严重影响日常使用。
## 复现步骤
1. 在会话中让 AI 执行一个命令行任务(例如写文件、运行脚本)。
2. 会话随即显示被终止/中断,没有任何任务完成或失败的状态反馈。
3. 再次询问“结果呢?”时,AI 回复“被用户打断了”。
## 期望行为
- 命令行任务正常执行,并明确显示完成/失败状态。
- 会话不应被意外终止。
- AI 不应误报“被用户打断”。
## 实际行为
- 命令行任务执行后会话直接终止,任务结果不可知。
- AI 误认为会话是被用户主动打断的。
## 复现频率
每次必现(只要执行命令行任务就会触发)。
## 已尝试
- 重启 Cindy 客户端:无效,问题依旧。
## 诊断摘要(脱敏)
- 现象与命令行任务执行强相关:任务一执行,会话即中断。
- 会话中断后无完成/失败反馈,后续追问被误判为“用户打断”。
- 客户端重启无法解决;客户端更新后首次出现。
---
**版本区域**: CN
**OS**: darwin arm64 (27.0.0)
**界面语言**: zh-CN
Contributor guide
Research direction
No source files or tests are named in the report. Start by reproducing a command-line task on client version 0.1.44, then trace command execution, session termination, and interruption-status handling. Done means the task reports success or failure, the session remains usable, and an unprompted stop is not reported as a user interruption.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100