Add keyboard shortcuts for agent permission confirmation dialogs #37784
trashhalo
started this conversation in
LLMs and Zed Agent
Replies: 1 comment
-
The issue is I am coming from Claude code in terminal so it's totally keyboard based. Making users engage their mouse on such a common, can be 100s of permissions checks in a day is pretty rough |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, when an agent requests permission to use tools (like file edits), users must click buttons with the mouse to accept or reject. There's no dedicated keyboard shortcut to quickly approve these requests.
Current Behavior
Proposed Solution
Add keyboard shortcuts for agent permission dialogs:
Cmd+Y
(or similar) - Accept with "Allow Once"Cmd+Shift+Y
- Accept with "Allow Always"Escape
orCmd+N
- RejectUse Case
This would significantly improve the workflow when working with agents, especially during rapid iteration where multiple permission checks occur. Having to reach for the mouse or tab through UI elements interrupts the coding flow.
Implementation Notes
Generated by claude code no idea if this is accurate.
The permission UI is rendered in
crates/agent_ui/src/acp/thread_view.rs
around lines 2425-2456. The buttons callauthorize_tool_call
with the appropriate option.A new action like
agent::AcceptToolCall
could be added that automatically selects "Allow Once" when triggered via keyboard shortcut.Beta Was this translation helpful? Give feedback.
All reactions