Skip to content

feat: add plugin-extensible Telegram callbacks - #82180

Closed
hampsterx wants to merge 1 commit into
NousResearch:mainfrom
hampsterx:feat/telegram-plugin-callbacks
Closed

feat: add plugin-extensible Telegram callbacks#82180
hampsterx wants to merge 1 commit into
NousResearch:mainfrom
hampsterx:feat/telegram-plugin-callbacks

Conversation

@hampsterx

Copy link
Copy Markdown

Summary

  • add namespaced Telegram callback registration to PluginContext
  • route authorized plugin callbacks without overriding built-in controls
  • provide dispatch_callback_text() for callback-to-agent session continuity
  • document the API and cover registration, authorization, failure isolation, and Telegram topic normalization

Verification

  • PYTHONPATH=. python3 -m pytest -o addopts='' tests/hermes_cli/test_plugins.py tests/gateway/test_telegram_approval_buttons.py -q (150 passed)
  • ruff check on all changed Python files
  • independent Codex review: PASS

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins platform/telegram Telegram bot adapter needs-decision Awaiting maintainer decision before any implementation sweeper:risk-security-boundary Sweeper risk: may affect sandboxing, auth, credentials, or sensitive data labels Aug 9, 2026
@hampsterx
hampsterx force-pushed the feat/telegram-plugin-callbacks branch from f46cd46 to f8cc67b Compare August 9, 2026 02:45
@hampsterx

Copy link
Copy Markdown
Author

Closing as a duplicate. I should have searched the existing issue/PR set before opening this.

Closest existing work:

This branch also includes a callback-to-normal-message helper for session continuity, but that incremental need is better discussed on the existing consolidation path rather than carried as another competing callback API. I am keeping the branch only for the local deployed plugin while upstream converges.

@hampsterx hampsterx closed this Aug 9, 2026
@hampsterx
hampsterx deleted the feat/telegram-plugin-callbacks branch August 9, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins needs-decision Awaiting maintainer decision before any implementation P3 Low — cosmetic, nice to have platform/telegram Telegram bot adapter sweeper:risk-security-boundary Sweeper risk: may affect sandboxing, auth, credentials, or sensitive data type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants