eca
eca copied to clipboard
Add waitingUserAction hook for the moment when the approval prompt appears
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Currently, hooks (preToolCall, postToolCall, etc.) are triggered only after the user approves the action. It would be useful to have a separate hook that fires at the moment the approval prompt appears — so it’s possible to display a custom notification.
Ok @zikajk helped and noticed claude run preToolCall before user approval so I think we can move the hook to do the same fixing this issue!
Done!