github / github/copilot-cli

/update rerunning the prompt given in interactive mode(-i flag)

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

描述

### Describe the bug

/update restarts the session but the prompt in interactive mode also gets run

### Affected version

1.0.12

### Steps to reproduce the behavior

1. start a session with -i
2. run /update when the cli discovers an update
3. the initial prompt gets re-run

### Expected behavior

prompt should not be rerun

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Start by reproducing the issue with an interactive session using `-i `, then run `/update` when an update is available. Trace the `/update` handling and interactive-session startup flow to find where the initial prompt is invoked again. Done means the session restarts without rerunning the initial prompt, with coverage for this sequence if the project has relevant CLI tests.

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

评估

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

把新 issue 发到你的邮箱

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