Describe the feature or problem you'd like to solve
I want to run terminal (shell) commands by default and only query the agent when needed.
Proposed solution
Create a new mode, Shell Mode, which runs terminal commands by default. Then I can use ! or /agent to access the agent when I need to.
Example prompts or workflows
If I try and run ls or git status it queries the agent wasting time and costing credits.
I would like to be able to:
- Press
shift+tab until I enter "Shell Mode"
- Shell mode assumes my text is a shell command by default
- To access agent features, I use
! (opposite of the default mode) or /agent
- To return to normal mode, I can use
shift+tab to toggle back to it.
This way the user has the ability to use copilot-cli as a shell first and an agent second rather than the other way around.
BONUS: Have copilot-cli automatically detect shell commands vs. agent queries and smartly choose the correct path
Additional context
No response
Describe the feature or problem you'd like to solve
I want to run terminal (shell) commands by default and only query the agent when needed.
Proposed solution
Create a new mode, Shell Mode, which runs terminal commands by default. Then I can use
!or/agentto access the agent when I need to.Example prompts or workflows
If I try and run
lsorgit statusit queries the agent wasting time and costing credits.I would like to be able to:
shift+tabuntil I enter "Shell Mode"!(opposite of the default mode) or/agentshift+tabto toggle back to it.This way the user has the ability to use copilot-cli as a shell first and an agent second rather than the other way around.
BONUS: Have copilot-cli automatically detect shell commands vs. agent queries and smartly choose the correct path
Additional context
No response