Browse Source

add permission primpt initial support

Noah Vogt 2 days ago
parent
commit
65d7f62ad8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      local-bin/copilot-notify

+ 4 - 0
local-bin/copilot-notify

@@ -64,6 +64,10 @@ start_interactive_monitor() {
                 ask_user_pending=0
             fi
             ;;
+        *"kind: permission_prompt"*)
+            notify_action_required "$win_addr"
+            ask_user_pending=0
+            ;;
         *"kind: session_idle"*)
             if [ "$busy" -eq 1 ]; then
                 notify_task_finished "$win_addr"