mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 16:04:21 +00:00
feat(web): show active sandbox details in Box status popover
Display sandbox count and a detailed list of active sessions including session ID, image, backend, resources (CPU/memory), network mode, and last used time. Fetched from GET /api/v1/box/sessions in parallel. Includes i18n for all 8 supported languages.
This commit is contained in:
@@ -364,6 +364,20 @@ export interface ApiRespBoxStatus {
|
||||
session_ttl_sec?: number;
|
||||
}
|
||||
|
||||
export interface BoxSessionInfo {
|
||||
session_id: string;
|
||||
backend_name: string;
|
||||
image: string;
|
||||
network: string;
|
||||
host_path: string | null;
|
||||
host_path_mode: string;
|
||||
mount_path: string;
|
||||
cpus: number;
|
||||
memory_mb: number;
|
||||
created_at: string;
|
||||
last_used_at: string;
|
||||
}
|
||||
|
||||
export interface ApiRespAsyncTasks {
|
||||
tasks: AsyncTask[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user