CommandCodeAI / CommandCodeAI/command-code
"Error: Connection Error" facing when Internet Connection goes out
还没有人认领这个 Issue。
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
描述
Imported from CommandCodeAI/command-code#3 — originally opened by @zainzafar90 on 2026-03-05T10:51:08Z
Expected Behavior
It should resume the session without any issues, like other agent terminals, so I think there's something that's not resolved as retries are happening
Actual Behavior
As soon as I disconnect the laptop from external screen, or close the lid while session is still on, or the connection with internet breaks, I see this error, even though it tries to reconnect but after 5 attempts it fails with this error
Command Code Version
0.17.9
Operating System
macOS
Terminal/IDE
VSCode
Shell
zsh
Additional context
No response
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 macOS 上使用 VSCode 和 zsh,通过在会话期间断开互联网或合上盖子,复现 Command Code 0.17.9 中的故障。跟踪会话重试和重新连接的处理;完成的标准是会话能够恢复,而不是在五次尝试后以“Error: Connection Error”结束。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vscode, zsh
- 领域
- cli, networking
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100