When resuming an old session the agent used in that old session is not selected
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
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
- create a session
- select agent
/agent x(agent name should show up in the bottom bar) - use the session
/clear/resumethe old session- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Copilot CLI with /agent, /clear, and /resume as described. Trace how resumed sessions restore their state and how the selected agent is shown in the bottom bar. Done means resuming the session automatically selects and displays the agent that was active when the session was saved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100