github / github/copilot-cli

Copilot instructing me to navigate terminal ui of another powershell executable

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

描述

### Describe the bug

The agent told me to "use the arrow keys to navigate and press Enter to select a file". This is something that is impossible since I have no access to the spawned shell session. The agent should detect that it is asking me to interact with a terminal UI they cannot reach and avoid giving that guidance.

### Affected version

GitHub Copilot CLI 1.0.36

### Steps to reproduce the behavior

Requirements:

Install custom tools that copilot can actually use such as ripgrep, and tools that copilot cannot use (like fzf or ohmyposh)

Repro Steps:
1. Open Copilot CLI in a repo.
2. Ask to find YAML files mentioning X
3. The agent runs: rg -l -i "X" --glob "*.yml" | fzf in async mode.
4. The agent then tells me to "use arrow keys to navigate", but I have no access to the shell session and cannot do this.

### Expected behavior

The agent should detect when a spawned process is an interactive TUI and not prompt me to use arrow keys, navigate, or otherwise interact with a shell I cannot interact with

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

按照列出的步骤在 Copilot CLI 1.0.36 中复现该问题,尤其是异步执行的 `rg -l -i "X" --glob "*.yml" | fzf` 命令。跟踪 agent 如何接收并呈现所启动进程的输出。当它不再指示用户导航到或交互操作无法访问的终端 UI 时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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