github / github/copilot-cli

When resuming an old session the agent used in that old session is not selected

オープン
#4,489 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:agents area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the bug

I was in a session where I started with a specific agent (i.e. /agent x). I then resumed that session the next day and I had to select the agent again manually.

This is kind of hard to see if you don't pay close enough attention to it.

I'm also a bit unsure how big the impact is since the agent would already be in the history.

Affected version

1.0.80

Steps to reproduce the behavior
  1. create a session
  2. select agent /agent x (agent name should show up in the bottom bar)
  3. use the session
  4. /clear
  5. /resume the old session
  6. agent name is not shown in the bottom bar
Expected behavior

Agent that was using in the the resumed session should again be selected automatically.

Additional context

No response

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、説明されているとおりに /agent/clear/resume を使って Copilot CLI で問題を再現します。再開されたセッションがどのように状態を復元するか、また選択された agent が下部バーにどのように表示されるかを追跡します。セッションを再開したときに、セッションの保存時にアクティブだった agent が自動的に選択され、表示されれば完了です。

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

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
58/100

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

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