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 摘要。