github / github/copilot-cli

Allow users to "alt+tab" to agent-spawned shell sessions for interactive tool use

オープン
#3,001 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:agents area:tools
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

When the Copilot CLI spawns a shell process, I have no way to see or interact with that shell directly, in the event it decides to use one of my tools that functions as a terminal ui. Just today, copilot instructed me to use arrow keys, this is guidance that I cannot follow.

### Proposed solution

Add a mechanism for the user to switch to or "alt+tab" to a running agent spawned shell session.

Perhaps, a `/shell ` command that swaps focus to the live session, or a tab or split-pane view showing active shell sessions the agent has started.

### Example prompts or workflows

The agent is great at knowing what to run but sometimes the best tool for the job is interactive. Right now, the agent must either avoid interactive tools entirely or attempt to puppet them through a text proxy both are worse outcomes than just letting me take the wheel for 5 seconds.

Example workflows this enables:
1. "Find me the config file for X"
2. "Debug this test failure"
3. "Resolve these merge conflicts"
4. "Help me set up this project"
5. "Show me what's running on this port"

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by examining how the Copilot CLI spawns and tracks shell processes, then trace how interactive tool use is currently mediated. Compare the proposed /shell command with tab or split-pane session switching; done means a user can take control of a live agent-spawned shell and return to the agent safely.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli, developer-experience
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。