github / github/copilot-cli

Github Agent "Continue in Copilot CLI" does not resume cloud session it opens an empty session instead

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

描述

### Describe the bug

When I start an Agent session on GitHub.com and click **Continue in Copilot CLI**, the CLI command `copilot
--resume=` opens an empty/new session instead of the existing one.

Image

The session I just used on the web is not listed in `/resume` (only an older archived session appears), even though
I am using the same GitHub account.

### Affected version

GitHub Copilot CLI 1.0.17.

### Steps to reproduce the behavior

1. Start a Copilot session on GitHub.com and work in it for a while (~30 minutes).
2. Click **Continue in Copilot CLI** on the web session.
3. Run the provided command in terminal:
copilot --resume=e4128d2f-eb80-4113-8a29-0a61caecf8c8
4. In CLI, check `/resume`.
5. the target recent session is missing; CLI opens an empty/new session.

### Expected behavior

`copilot --resume=` should restore the exact web session context and that session should appear in
`/resume`

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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