github / github/copilot-cli

Initial prompt by --interactive has been dropped after CLI started

未关闭
#4,766 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

area:input-keyboard
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Describe the bug

Initial prompt has been dropped after CLI started.
Image

Affected version

1.0.83

Steps to reproduce the behavior

run with copilot -i "Hello copilot cli"

Expected behavior

Once the CLI starts up, the “Hello copilot cli” prompt will appear.

Additional context
  • OS

Edition Windows 11 Enterprise
Version 25H2
Installed on ‎6/‎26/‎2025
OS build 26200.9106
Experience Windows Feature Experience Pack 1000.26100.334.0

  • Powershell Version: 10.0.26100.8875
  • Windows Terminal Version: 1.24.11911.0

log without sensitive infomations:
process-1788857044781-22576.log

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从处理 copilot -i 的 CLI 启动路径开始,并在报告的环境中使用 copilot -i "Hello copilot cli" 重现该问题。使用附加的进程日志,将启动行为与预期的初始提示进行比较。当 CLI 启动后显示所提供的提示时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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