- Added validate_ip_and_apikey() decorator for endpoint protection - Implemented IP address validation with configurable allowed_ips list - Added API key authentication with header-based or bearer token support - Fixed endpoint function signatures to properly receive Request objects - Updated configuration structure and security documentation - Removed debug print statements before final commit
Hermes Service Web Application
Overview
Hermes Service is a web application that provides API access to Hermes Agent functionality. It runs in the Hermes Agent environment and exposes CLI capabilities through REST/WebSocket APIs.
Features
- Execute Hermes CLI commands via API
- Manage multiple Hermes service instances
- User and organization-based access control (using rbac module)
- Real-time communication via WebSocket
- Configuration management
Integration
This module integrates with:
- rbac: For user and permission management
- appbase: For system parameter management
- Hermes Agent: Core functionality execution
Directory Structure
hermes-service/: Python package with core logicwwwroot/: Frontend components (bricks-framework .ui files)models/: Database table definitionsjson/: CRUD operation definitionsinit/: Initialization data
Description
Languages
Python
96.4%
Shell
3.6%