feat(delegate-job): support role aliases mapping and run delegate job safely using isolated temp copy with signal cleanups

This commit is contained in:
2026-07-17 17:07:30 +09:00
parent 5a6cb91fb0
commit b45649de76
4 changed files with 196 additions and 21 deletions
+1 -1
View File
@@ -1192,7 +1192,7 @@ send_keys_safe() {
local cur_content
cur_content=$(_pane_capture "$sess")
# Hardened Submission Checks
if printf '%s\n' "$cur_content" | grep -Eq "● |Twisting|Thinking"; then
if printf '%s\n' "$cur_content" | grep -Eq "● |✽ |[A-Za-z]+ing…|[A-Za-z]+ing\.\.\.|esc to interrupt"; then
return 0
fi
if [ "$was_popup" = "0" ] && ! _pane_tail "$sess" 3 | grep -Fq "$marker" && [ "$cur_content" != "$pre_submit" ]; then