feat: add messaging gateway startup functionality

- Introduced a new function to check for configured messaging platform tokens and prompt the user to start the gateway.
- Updated the installation scripts to automatically start the gateway if messaging tokens are detected, enhancing user experience.
- Expanded the README to include instructions for starting the gateway, ensuring users are informed about the necessary steps for message handling.
This commit is contained in:
teknium1
2026-02-19 09:43:46 -08:00
parent 1c6846c4c2
commit 59cb0cecb2
3 changed files with 115 additions and 0 deletions

View File

@@ -85,6 +85,18 @@ All your settings are stored in `~/.hermes/` for easy access:
└── logs/ # Logs
```
### Messaging Platforms (Telegram, Discord, Slack)
If you configured a messaging bot token during setup, **start the gateway** so Hermes can receive and send messages:
```bash
hermes gateway # Run in foreground (see output)
hermes gateway install # Or install as a background service (Linux)
hermes gateway start # Start the background service
```
The installer will offer to do this automatically if it detects a bot token. See [Messaging Gateway](#messaging-gateway) below for full setup instructions.
### Managing Configuration
```bash