feat(telegram,discord): inline buttons for permission approval (#945)

Replace "Reply 'yes abcde' to allow" text instruction with native
inline buttons (Telegram InlineKeyboard, Discord ButtonBuilder).
One tap to approve/deny instead of typing a 5-char ID.

- Telegram: callback_query handler with allowFrom gate, edits message
  to show outcome and remove buttons after decision
- Discord: interactionCreate handler with allowFrom gate, updates
  interaction with outcome and clears components
- Text-reply path (PERMISSION_REPLY_RE) kept as fallback
- Bump both plugins to v0.0.3

🏠 Remote-Dev: homespace
This commit is contained in:
Daisy S. Hollman
2026-03-23 22:19:51 -07:00
committed by GitHub
parent 15268f03d2
commit b3a0714d7f
4 changed files with 82 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "telegram",
"description": "Telegram channel for Claude Code \u2014 messaging bridge with built-in access control. Manage pairing, allowlists, and policy via /telegram:access.",
"version": "0.0.2",
"version": "0.0.3",
"keywords": [
"telegram",
"messaging",