github / github/copilot-cli

Should default to last session or ask if you want to resume last session

未关闭
#1,467 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

I needed to restart the computer. After restart, it doesn't appear to have the last session and I cannot tell between them easily because there are several from "2 min" ago and several from "2 days" ago. It would be most helpful to just resume back to where I was. In addition, perhaps it should checkpoint at that point to ensure it can resume properly.

### Affected version

GitHub Copilot CLI 0.0.410.

### Steps to reproduce the behavior

1. Have a long Github Copilot CLI session.
2. Restart the computer. (really just close the CLI)
3. Run Github Copilot again.

### Expected behavior

It should ask `Do you want to resume session {guid} {One line summary}?` when you restart, and Y should resume it.

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。