feat(client): project managed services to digital employee
This commit is contained in:
@@ -26,9 +26,35 @@ export interface DigitalEmployeeSessionSummary {
|
||||
}>;
|
||||
}
|
||||
|
||||
export interface DigitalEmployeeManagedService {
|
||||
serviceId: string;
|
||||
name: string;
|
||||
kind: "agent" | "mcp" | "desktop" | "network" | "file" | "gui" | "unknown";
|
||||
status: "running" | "stopped" | "degraded";
|
||||
statusLabel: string;
|
||||
running: boolean;
|
||||
error?: string | null;
|
||||
requiresHumanAction: boolean;
|
||||
dependentTasks: string[];
|
||||
restartCount: number;
|
||||
lastSeenAt: string;
|
||||
instance: {
|
||||
pid?: number;
|
||||
port?: number;
|
||||
engineType?: string | null;
|
||||
serverCount?: number;
|
||||
serverNames?: string[];
|
||||
};
|
||||
lease: {
|
||||
state: "active" | "stopped" | "degraded";
|
||||
updatedAt: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface DigitalEmployeeSnapshot {
|
||||
generatedAt: string;
|
||||
services: Record<string, DigitalEmployeeServiceStatus | null>;
|
||||
managedServices?: DigitalEmployeeManagedService[];
|
||||
sessions: DigitalEmployeeSessionSummary;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user