github / github/copilot-cli

Copilot CLI confirmation card can't be dismissed

未关闭
#4,114 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:input-keyboard area:platform-windows area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

Copilot cli still says "Copilot needs information" after answering the question? It leaves the session mostly useless because you can't give it more instructions unless there are more questions and it will get back to the same bad state after you answer it. The only way out is to terminate the powershell session by clicking the 'x'(ctrl-c doesn't work either) This has been happening for a week for most of my copilot cli sessions and I have been updating to the new version but it still happens.

![Image](https://github.com/user-attachments/assets/5bb9d1ba-cdab-452e-b0d0-3d624804302a)

I'm using copilot cli through powershell on win11.

### Affected version

1.0.71 and possibly a few previous versions

### Steps to reproduce the behavior

1. Prompt a design question like "design a calculator app with me and brainstorm with me with only 1 question"
2. Select any option (I selected the first recommended one)
3. See the "Copilot needs information" card not being dismissed while the agent is generating result

![Image](https://github.com/user-attachments/assets/dec3b7d3-c5db-4716-8ba2-ad63a8b0ef84)

### Expected behavior

The question card would be dismissed and user can keep interacting with the agent through the same cli session_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

在 Windows 11 的 PowerShell 中使用 Copilot CLI 1.0.71,按照 design-question 步骤复现此问题并选择一个选项。从 CLI 入口点跟踪 confirmation-card 和 session 的交互;完成的标准是回答后卡片被关闭,并且用户可以在同一 session 中继续发送指令。

由索引模型根据 Issue 内容生成。

评估

技术栈
powershell, shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

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