Relay permission prompts to Discord channel for headless setups
Feature Request
When running Claude Code headlessly with --channels plugin:discord@claude-plugins-official, permission prompts block the session until someone physically accesses the terminal. There's no way to know the bot is stuck unless you check the tmux session.
Use Case
I'm running Claude Code on a headless Ubuntu server (Dell laptop repurposed as a server), connected via Discord. When a permission prompt appears (e.g., editing access.json or other plugin-level permissions), the bot goes silent on Discord with no indication that it's waiting for input.
Proposed Solution
Relay permission prompts to the Discord channel (or DM) so the user can approve/deny directly from Discord. This would make headless/server deployments much more practical.
Even with --dangerously-skip-permissions, plugin-level permissions still require interactive approval, which defeats the purpose of a headless setup.
Current Workaround
- SSH into the server and attach to the tmux session to manually approve prompts
- Pre-configure settings to minimize prompts
Environment
- Ubuntu Server (headless)
- Claude Code v2.1.81
- Discord channel plugin
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗