github / github/copilot-cli

Allow to pause copilot work

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

描述

### Describe the feature or problem you'd like to solve

Sometimes thing go in wrong direction but there is no way to pause and give additional inf/instructions in such case.

### Proposed solution

Currently I can steer copilot during a session by entering some text and submit.

This works, but has some short comings:

1. if copilot wants to ask permissions the prompt window goes away while typing
2. Copilot is working and maybe doing other stuff and its hard to keep up as new text arrives in the meanwhile
3. If it is some lengthy task one is out of luck - example I need to fix an external build issue or install a certain tool version (java, maven, npm package, ...)

The other option is to completely cancel the operation what is also not good as then copilot has to keep up with what was previously done.

Instead, it would be good if copilot session could be paused (e.g. typing `/pause`) and it then waits, then I can install things, add directories or prepare a response and send it and then type `/resume` to let it continue.

### Example prompts or workflows

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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