github / github/copilot-cli

Request user confirmation for actions that interrupt the current flow

未關閉
#2,952 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

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

Prevent accidental interruption of the current flow

### Proposed solution

Requesting the user a confirmation before executing actions that can potentially interrupt the current work flow (i.e. quitting the CLI, canceling the clarifying questions form filing process, etc).

Users (like me) that are so used to some of the Copilot keyboard shortcuts doing something else in terminals (i.e. C-d to delete the next char) should benefit for it.

### Example prompts or workflows

The following example shows the scenario that made me file this issue after hitting the third "C-d loop" iteration in a row 😄:

1. The user issues a prompt in plan mode
2. Copilot asks clarifying questions and requires a form to be filled
3. While editing the form, the user intends to delete the next char of the current word and types C-d
4. Copilot dismisses the form
5. The user needs to issue another prompt asking Copilot to recover the form filing process
6. Goto step 2 and hope for the best 😄

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

該 issue 將 CLI 結束路徑和 clarifying-questions 表單流程確定為中斷點;首先追蹤這些操作如何由終端輸入觸發。在結束或放棄作用中工作前新增確認,並驗證意外的快速鍵不再丟棄目前的流程。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。