mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-17 01:46:07 +00:00
feat(web): show Box runtime status in plugin debug info popover
Add Box status section to the debug info popover on the plugin list page, displaying connection status, backend info, profile, active sessions, and recent error count. Fetched from GET /api/v1/box/status in parallel with plugin debug info. Includes i18n for all 8 supported languages.
This commit is contained in:
@@ -351,6 +351,19 @@ export interface ApiRespPluginSystemStatus {
|
||||
plugin_connector_error: string;
|
||||
}
|
||||
|
||||
export interface ApiRespBoxStatus {
|
||||
available: boolean;
|
||||
profile: string;
|
||||
recent_error_count: number;
|
||||
backend?: {
|
||||
name: string;
|
||||
available: boolean;
|
||||
};
|
||||
active_sessions?: number;
|
||||
managed_processes?: number;
|
||||
session_ttl_sec?: number;
|
||||
}
|
||||
|
||||
export interface ApiRespAsyncTasks {
|
||||
tasks: AsyncTask[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user