Add webhook notification support for user confirmation operations
Feature Request: Webhook Notifications for User Confirmation Operations
Problem
Currently, when Claude Code encounters operations that require user confirmation, users must remain in the interactive terminal session waiting for the prompt. This creates a poor user experience for long-running tasks or when users need to step away from their terminal.
Proposed Solution
Add configuration support for webhook notifications that can alert users when their confirmation is needed for operations such as:
- File modifications that require approval
- Potentially destructive operations
- Security-sensitive actions
- Large-scale changes
Suggested Implementation
- Add webhook configuration options (URL, authentication, payload format)
- Allow users to configure webhook endpoints in settings
- Send notifications when user confirmation is required
- Include relevant context in webhook payload (operation type, files affected, etc.)
- Provide a way for users to respond to confirmations remotely (optional)
Use Cases
- Users working on long-running tasks who need to step away
- Team environments where notifications can be sent to communication channels
- CI/CD integration scenarios
- Remote development workflows
Configuration Example
webhooks:
confirmation_required:
url: "https://api.example.com/claude-notifications"
headers:
Authorization: "Bearer token"
enabled: true
This would significantly improve the user experience by allowing asynchronous interaction with Claude Code operations.
🤖 Generated with Claude Code
This would be useful, for now I'm using tmux pipe-pane with interactive notifications to drop me back to the tmux pane where the confirmation dialog appeared. It works, but is limited to tmux.
+1