Enhance messaging gateway configuration and security features

- Added new environment variables for Telegram and Discord bot configurations, including `TELEGRAM_ALLOWED_USERS` and `DISCORD_ALLOWED_USERS`, to restrict bot access to specific users.
- Updated documentation in AGENTS.md and README.md to include detailed setup instructions for the messaging gateway, emphasizing the importance of user allowlists for security.
- Improved the CLI setup wizard to prompt for allowed user IDs during configuration, enhancing user guidance and security awareness.
- Refined the gateway run script to support user authorization checks, ensuring only allowed users can interact with the bot.
This commit is contained in:
teknium1 2026-02-03 10:46:23 -08:00
parent 3e634aa7e4
commit 17a5efb416
9 changed files with 397 additions and 38 deletions

View file

@ -139,9 +139,11 @@ TOOLSETS = {
# ==========================================================================
"hermes-telegram": {
"description": "Telegram bot toolset - web research, skills, cronjobs (no terminal/browser for security)",
"description": "Telegram bot toolset - full access for personal use (terminal has safety checks)",
"tools": [
# Web tools - safe for messaging
# Terminal - enabled with dangerous command approval system
"terminal",
# Web tools
"web_search", "web_extract",
# Vision - analyze images sent by users
"vision_analyze",