Feature hasn't been suggested before.
Describe the enhancement you want to request
Add TUI config for permission prompt behavior.
Related issue #19528 asks for disabling the extra Allow always confirmation. A broader config would also let users choose the default selected response and keep extra confirmations only for risky actions.
Proposed shape:
{
"permission_prompt": {
"default_response": "always",
"confirmation": {
"default": "never",
"permission": {
"bash": {
"rm *": "always",
"git push*": "always"
}
}
}
}
}
This keeps permission rules separate from prompt behavior:
permission still decides whether a tool is allowed, denied, or asks.
permission_prompt.default_response only controls which prompt response is selected by default.
permission_prompt.confirmation only controls whether a second confirmation dialog is shown after the user selects a response.
The default behavior should stay unchanged unless users opt into the new config.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Add TUI config for permission prompt behavior.
Related issue #19528 asks for disabling the extra
Allow alwaysconfirmation. A broader config would also let users choose the default selected response and keep extra confirmations only for risky actions.Proposed shape:
{ "permission_prompt": { "default_response": "always", "confirmation": { "default": "never", "permission": { "bash": { "rm *": "always", "git push*": "always" } } } } }This keeps permission rules separate from prompt behavior:
permissionstill decides whether a tool is allowed, denied, or asks.permission_prompt.default_responseonly controls which prompt response is selected by default.permission_prompt.confirmationonly controls whether a second confirmation dialog is shown after the user selects a response.The default behavior should stay unchanged unless users opt into the new config.