o: add !a !d !b shortcuts in prompt for bypass management
!a or !approve - approve first pending bypass for this agent !d or !deny - deny first pending bypass for this agent !b or !bypass - list pending bypass requests for this agent
This commit is contained in:
parent
859bb4910f
commit
9fb150b6fe
|
|
@ -194,7 +194,7 @@ cmd_prompt() {
|
|||
echo "[$CTX_SESSION/$CTX_AGENT]"
|
||||
echo "Type . on a blank line to send, Ctrl+D to exit."
|
||||
echo "/ prefix runs ctl: /stop, /compact, /model X, /i X (type /help for all)"
|
||||
echo "!q exits the TUI."
|
||||
echo "! prefix: !a approve, !d deny, !b bypass, !q quit"
|
||||
echo ""
|
||||
|
||||
local buf="" line
|
||||
|
|
@ -234,6 +234,9 @@ cmd_prompt() {
|
|||
local bang="${line#!}"
|
||||
case "$bang" in
|
||||
q|quit) tmux kill-session -t "o-${CTX_SESSION}" 2>/dev/null; exit 0 ;;
|
||||
a|approve) cmd_approve ;;
|
||||
d|deny) cmd_deny ;;
|
||||
b|bypass) cmd_bypass ;;
|
||||
esac
|
||||
continue
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue