hermes-web-cli/wwwroot/service-detail.ui
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

41 lines
1.2 KiB
XML

{
"widgettype": "Page",
"options": {
"title": "Service Details"
},
"subwidgets": [
{
"widgettype": "Form",
"options": {
"data_source": "/api/hermes-web-cli/services/{service_id}",
"fields": [
{"name": "name", "type": "text", "label": "Service Name"},
{"name": "service_url", "type": "text", "label": "Service URL"},
{"name": "api_key", "type": "password", "label": "API Key (Optional)"},
{"name": "description", "type": "textarea", "label": "Description"}
],
"actions": ["save", "test_connection", "cancel"]
}
},
{
"widgettype": "Card",
"options": {
"title": "Active Sessions"
},
"subwidgets": [
{
"widgettype": "DataTable",
"options": {
"data_source": "/api/hermes-web-cli/sessions?service_id={service_id}",
"columns": [
{"field": "session_name", "header": "Session"},
{"field": "status", "header": "Status"},
{"field": "created_at", "header": "Created"}
],
"actions": ["open", "close"]
}
}
]
}
]
}