Problem
When using --channels plugin:telegram@claude-plugins-official, Claude sometimes
prompts for permission approval (e.g., "Do you want to proceed?").
This approval screen only appears in the terminal — the user gets no notification
via Telegram, so the session silently hangs until they manually check the terminal.
Proposed Solution
Add a Telegram notification when Claude is waiting for user approval.
As a workaround, I wrote a wrapper script that monitors the terminal output
using script + strings (to strip ANSI codes) and sends a Telegram message
when it detects approval prompts:
- Watches the session log every 2 seconds
- Strips terminal escape codes using
strings
- Sends a Telegram alert with 30-second cooldown to avoid spam
Suggested Fix
Either:
- Add a hook in the channel plugin to emit a Telegram message when Claude is
waiting for approval
- Or document this limitation and provide an official wrapper solution
Problem
When using
--channels plugin:telegram@claude-plugins-official, Claude sometimesprompts for permission approval (e.g., "Do you want to proceed?").
This approval screen only appears in the terminal — the user gets no notification
via Telegram, so the session silently hangs until they manually check the terminal.
Proposed Solution
Add a Telegram notification when Claude is waiting for user approval.
As a workaround, I wrote a wrapper script that monitors the terminal output
using
script+strings(to strip ANSI codes) and sends a Telegram messagewhen it detects approval prompts:
stringsSuggested Fix
Either:
waiting for approval