yumoqing 21a735548e feat: Initial implementation of hermes-web-cli with multi-service support
- Complete module following all four development specifications
- Multi-Hermes Service instance management for enterprise deployments
- Database tables: hermes_services, hermes_service_sessions
- CRUD operations for service and session management
- bricks-framework UI components: index.ui, service-detail.ui, chat.ui, settings.ui
- Support for enterprises to deploy their own hermes-service instances
- Unified interface to manage multiple service endpoints
- Security features: API key storage, HTTPS enforcement, connection testing
2026-04-21 13:33:42 +08:00

34 lines
868 B
XML

{
"widgettype": "Page",
"options": {
"title": "Hermes Chat"
},
"subwidgets": [
{
"widgettype": "Card",
"options": {
"title": "{service_name} - {session_name}"
},
"subwidgets": [
{
"widgettype": "ChatInterface",
"options": {
"message_source": "/api/hermes-web-cli/sessions/{session_id}/messages/stream",
"send_endpoint": "/api/hermes-web-cli/sessions/{session_id}/messages",
"placeholder": "Type your message..."
}
}
]
},
{
"widgettype": "Toolbar",
"options": {
"buttons": [
{"text": "New Session", "onclick": "createNewSession()"},
{"text": "Switch Service", "onclick": "switchService()"},
{"text": "Close Session", "onclick": "closeSession()"}
]
}
}
]
}