Repository navigation
Description
Describe the bug
One background agent doing work that needs permission approval
Forgeround agent provides prompt to user with questions/text input.
If the permission prompt during the question box, once the user approves/denies the prompt, the previous question box is completely reset, forcing the user to select any options again and rewrite any text in text fields.
This is a UX nightmare, i got a 10 question prompt and was stuck waiting for the 15 minutes the background agent kept prompting med for basic terminal command permissions constantly, erasing anything i wrote. So my choices were, abort the background agent (which does not seem resumable) or wait.
Also awful that permission prompts constantly interrupt me writing. Claude Code solved this ages ago with a "wait" on permission prompts until you were paused writing text. Another UX that is awful.
Affected version
GitHub Copilot CLI 1.0.114.
Steps to reproduce the behavior
Setup background agent that needs permissions to run some commands
Get main session agent to ask user questions
While questions are being filled in, permission prompt should come.
Closing permission prompt, and the question prompt will be reset to initial state.
Expected behavior
Accepting a permission prompt will take me back to the question form, while preserveing anything i write or selected before the permission prompt appeared.
Additional context
No response
Activity